skysight-inc/HackerNews huggingface dataset:
Just trial and error mostly, and digging through example code. And learning to google. I always thought everyone just knew how to look for solutions to their problems online, but when observing others learning to code I realized this is not the case. It takes practice to know how to word what you're searching for.

But to go on a bit of a tangential rant about doing it "on our own":

I don't think many people do it on their own _really_. Most people eventually get to a point where their code is out in the world for feedback. Whether it is something they're getting reviews on at their job, or a personal GitHub account, or their blog.

I learned enough to hack stuff together through trial and error in a little bubble to start with, but then I started blogging and getting involved in the community of a framework I'd been using. I would post questions and try to contribute answers, and all of that expanded my knowledge (even answering a question usually involves learning).

Later, as a junior programmer, I was on a team that had a _very picky_ teammate. He'd point out every nitpick he could in code reviews. Things that might not necessarily "matter" in practice in _that_ particular scenario, but that were just not as efficient or well implemented as they could be. I put "matter" in quotes because my mindset is now: of course it matters. Knowing what tradeoffs I'm making and not getting complacent with quality always matters, as I learned from these reviews.

And when reviewing my code he always asked "Why" questions. Why did I chose to use this data type vs that one? Would a hashset be better here? Why did I go with a LINQ method? What iterations are involved in this, and why do we need it? Why is there a null check here, why would this ever be null (a harder question than one might think considering we were working in a huge, old, proprietary codebase)?

Every code review was a bunch of questions and improvements, and it was extremely useful. I learned to predict the kinds of questions he'd ask me and look for answers in advance, often finding better approaches in the process. And when he asked "Why" in the next review, I'd get to explain exactly why, and how other options were subpar in this case.

I'd credit him with a very big chunk of my development as a programmer: mostly learning about the importance of why I'm doing something this way vs another way, digging into internals, deciding if the performance tradeoffs of my approach are worth it (and _knowing_ the performance tradeoffs), and paying attention to details.

I'm technically what people refer to as "self taught", but I definitely didn't do it on my own.
> True, Monero doesn't have smart contract support...

This is way more central to why people aren't building on it than you seem to give credit to: people simply can't build on it... I mean, even Bitcoin is programmable (which is how people have been able to build stuff like Lightning and bridges to contract side chains like rsk). Not being programmable--which sadly is kind of a trade-off for their core premise of being "actually private" (not that I am saying that is insurmountable, but it hasn't been solved yet)--means you don't see an ecosystem built on it and thereby no software dependent on it and thereby no "investment" in the platform is really possible. What makes the smart contract platforms potentially interesting is that actually DO SOMETHING problem might be willing to pay for: provide a trustless transactional data store on which you can build other more complex behaviors.
> Looks neat, kinda reminds me of a cross between QBASIC and Turbo BASIC.

I was going just to look at the comments and probably neglect to click through to the actual language, but it's hard for me to imagine a recommendation that would tweak my nostalgia better than this. (Anyone remember the heady days of entering games like SNAKE.BAS into QBasic by manually transcribing a magazine print-out?) Thanks!
Can anyone ELI5 the difference between dependent types and what Rust calls const generics and what C++ calls non-type template parameters? If I have a type that is templates/generic on an integer value, e.g. ‘MyType<3>’ is that a dependent type?
Is there a symbology primer for the lay reader who finds the Type Theory table at the bottom a trifle dense?
This is also a point against online ordering cars - if I can walk into a car dealership, inspect and test drive the car before committing to buying it, that helps everyone - I can have peace of mind, dealership or manufacturer can fix identified defects before putting the car out again and the process works - manufacturer has incentives to ship as perfect a product as they can considering the dealer is putting their money on the line, Dealers can address minor defects in the pre delivery inspection etc.

None of that is possible with Tesla's model - they basically have to get a car looking thing out the door as fast as they can, there's no dealership to cross check and the customer is left with the pieces or the option of waiting in the hope that next one will be better.
The other day one of the commenters under a post wanted to spend $20 per month to host a static website to handle HN traffic, I just LOL’d. I tried to be good and explain why it was so unnecessary but nah they would rather bring a canon to a water gun fight.
Not voice but a one handed solution:

Twiddler
I was using the trans issue as an example. It is harder to come together when we start from completely different starting points.
You can set the bucket as allPrivate, then use the API to generate a presigned url for the file that you need.
NJ power plant uses reclaimed water for cooling instead of seawater (2006)
I might be wrong but I believe if the NFT metadata links to a protocol like IPFS and the NFT contract does not allow the metadata URL to be updated, it is not possible for the link or linked content to be altered.
They get paid the big bucks to make it worse in the way that benefits the owner
Monero isn't listed in lots of the most popular exchanges because, since it actually works and has a utility beyond speculation, regulators have threatened exchanges with retribution. See [0] in which Brian Armstrong (Coinbase CEO) does express passing interest in listing it.

If HN people are still interested in acquiring it, the most secure fiat onramp is through localmonero.co [1]. It's listed on some centralized exchanges [2] if you're ok with the really invasive checks they will run you through, and on some Dex's if you already have crypto [3].

[0] https://decrypt.co/36731/heres-why-coinbase-still-hasnt-list....

[1] https://localmonero.co/

[2] https://www.kraken.com

[3] Haveno, but not sure how production-ready it is. Probably others.
It looks like there was another eruption in a volcano north east of there the day before?
Lack of agreement; "smearing" is completely normal for answering "What time is it?", and completely wrong for applications requiring precise time.
Is a gas powered heater a source of nitrogen dioxide?
Everyone uses them. The only real difference is the medium. Hand written, electronic or your on-board biological memory system (not recommended).
Oh yeah I've taken this with the fridge not currently cooling.

However my fridge is less than 50W.. I don't have a huge one like they do in the states (we call those "American refridgerators" here and they're a luxury). It's on about one third of the time (half the time in summer) so it adds about 25W of baseline load.

I actually find it a bit too much. I'd be happier if I could bring it down to 100W. But it's hard to do so. All those little wall warts add up and I just love my home automation. I have 5 1gbit switches alone (8-ports), 3 WiFi APs and then of course all the smart gizmos.
Yes, some people make a hobby out of the lists themselves. That's probably not a good idea. The solution is not "stop making lists."
This was done long ago. I forget the name, but there was a browser that only rendered the text parts. It was useful on slow modems or text-only screens.
The 20mp 4/3 sensors have noticeable advantages in dynamic range and high-ISO noise compared to the 16mp sensors. It's not just more pixels. A new ~23mp sensor with further performance improvements should show up this year in the Panasonic GH6 and an unnamed camera from the company formerly known as Olympus, though it's not clear if or when it will make it to more pocket-friendly models.
GM issues 2012 Chevy Sonic recall for missing brake pads

The new brake pad recall for the 2012 Chevrolet Sonic affects 4,296 vehicles sold in the United States while another 577 were sold in Canada, with all of the vehicles included in this recall built between June 2nd, 2011 and November 21st, 2011 at GM’s Orion Township Assembly Plant just north of Detroit. On these recalled 2012 Sonic hatchbacks and sedans, General Motors believes that the vehicle could be missing either an inner or outer brake pad on the front end.

Https://www.torquenews.com/106/gm-issues-2012-chevy-sonic-recall-missing-brake-pads
I wan't meaning to imply each manufacturer releases a new camera per year. It's sort of a leap frogging of each vendor releasing something better than the other vendor's previous release.
The simpler explanation is nobody was using firewalls when it was invented.
Throughout most of the 90's, many people had unfiltered IPv4 at their desktops. I had dedicated internet at home: no firewall... at work, same thing.
That's a pretty over the top reading.
Interesting. How has your experience with BOINC been so far.
Blockchain denialism is the new remote work denialism
Everyone is quoting 30%.

For the majority of apps it's 15%.

That commission is not a payment processing fee, it's very clearly a platform commission as has been common in the industry for 30-40 years at this point.

All this (and the similar rulings elsewhere) seem to confirm is that

* A developer can use their own preferred payment processor

* A developer still has to pay the platform commission

Finally, no one in their right mind should think that even if there was a reduction in commission that prices would decrease. We already have direct evidence: Both Google and Apple dropped platform commission to 15% for the vast majority of apps and there was no reduction in app prices. Additionally it is common sense: app devs already know that you will pay X for an app, if they get an arbitrary reduction in expenses through any mechanism why would they reduce their prices? This is the same flaw present in trickle-down economics. The price for anything is determined by what the market will bare, not the cost of production - this is as true for an app, as it is for an NFT, as it is for a banana.
This sounds like a federated fail2ban which is actually a fantastic idea.

I have mentioned this before, but my experience with "hackers" has been that attacks are coordinated from thousands of compromised machines.

My solution thus far has been to leave the ssh port and ban any IP that tries to authenticate (leaving the option of

Likewise, a few rules to catch automated sql-injection scanners and the like, has really cut down on the noise.
Try bitcointalk.
> The main mystery is why it started as late as it did, and not 100,000 years earlier.

Well, there were no humans in the americas 100,000 years ago, for a start.
Yes, and for these extra steps the money I earn is realistically not in danger of losing 20% of value overnight, can't be lost because the harddrive that held my password-safe got corrupted, the transactions are done instantaneously instead of whenever some miner feels like including them in his block, and the amount of energy required to process the payment, is probably not much more than I currently use to write and send this post.

I am okay with that.
Possibly making Sherman[1] into a function that gets applied annually at the Fortune 500 level?

[1] https://en.m.wikipedia.org/wiki/Sherman_Antitrust_Act_of_189...
> I find Haskell a joy to use, and I cringe at having to use languages like Java and Go, which are a minefield of error-prone programming patterns (like using products instead of sums to represent "result or error"). Generally speaking, my Haskell code is shorter, less buggy, and more reusable than my Go code, so I'm not sure what you mean by "cumbersome".

I just want you to realize that you are in the extreme minority here, but just from a common-sense POV, if I'm prototyping a project, looking for product-market fit, the last thing I want to care about is that my typeability is recursively enumerable or what-have-you. I just want to build something quickly without much hoopla (hence the massive popularity of very weakly-typed languages like JS and Python).

FWIW, I think that generics are a mistake in Go, but I was just trying to counter the point that language designers don't think long and hard about type-theoretic features. I think the main issue with generics, wasn't so much an inept "we don't know how to do this," but rather "is this worth the code complexity?" and "is this worth the added compile times?" -- both of which were main selling points of Go.
They will refund the drive cost when you mail it back.
Totally, which is probably how we got here. But native apps have gotten very popular, and on every platform I'm aware of they have to launch out to a full browser view in order to authorize against anything.
The value of nativeness combined with a totally neutral execution environment is that money can be directly controlled by software, with no practical human override. Suddenly the cost and risk of transactions goes down, as I don’t need to worry about whether I will get paid, or whether the intermediary actually handling the money will arbitrarily decide to freeze my account.

Obviously this is a double edged sword; having no human override is actually a very bad thing for many things. You can code in human overrides of course, but they are transparent to all parties. When you make a bank transfer or a PayPal transaction, it’s 100% opaque. The terms are not truly binding and it can be reverted or altered for any or no reason.

I’m not arguing this is the reason for valuations currently, but I find it pretty surprising how many people can’t or won’t understand the value of a neutral execution environment for financial transactions. It is not something that exists elsewhere.
Why would deaths increase exponentially over a period of years? That would not be expected and was not occurring even before vaccines.

The point I'm making here is that the data is contradictory, which means there is a need to investigate. Trials didn't show any impact on hospitalization or death (because it's so rare, they were too small to get significance). That means the data on them is confounded. For example, in the UK the data shows that pregnancy makes you more likely to be admitted to ICU with COVID but less likely to die. A biological effect? No, of course not. Rather, hospital staff have a lot of discretion on who they send to ICU or not, and they prefer to spend resources on women who are pregnant.
Not having to reestablish the connection is a nice thing, but 20 round trips is still 20 round trips. Lots of opportunity for delay there.
I often wonder if we simply constructed math the wrong way around.

People tend to mentally construct the natural numbers from set theory, wholes from naturals, rationals from wholes, reals from rationals and so on.

But what if there is some universe (in the math sense), which is actually complete and decidable, it's just that the moment you take discrete subsets of it, you also remove the connections that make it consistent or complete.

The very act of formalising mathematical concepts into words and paper is a quantisation step after all, because both are symbols.
Maybe there are proofs that can be inuitioned about (assuming brains are continuuous in some sense) but neither verbalised nor formalised.
Gotta pay the upline.
It's for avoiding syntax issues, when you import multiple self-invoking functions.

Here is a stackoverflow that explains it https://stackoverflow.com/a/7365214/4690715
In the same vein it bugs me when physicists “explain” the interior of black holes. Until we have a quantum theory of gravity we really don’t know what’s inside a black hole.
Speculation drives innovation in every economy.

The privacy play is a supercycle aspect of crypto worth checking into every 4 or 5 years.

State level actions are hindered because even the state knows they can only make a move once before the anti fragility of crypto kicks in. Crypto becomes more resilient under pressure because there is no financial incentive to improve these kinds of boring technologies, and so the pressure galvanizes people to develop the boring thing they already knew needed to be done.

So you are not inaccurate, but it will come.

Check out SECRET network, its hide smart contract states which effectively means token privacy. They have a trustless enough bridge to and from Monero, and bridges to the broader defi ecosystem.
Parasites are a comorbidity of Covid-19. Ivermectin is an anti-parasitic. You'll slightly improve your chances against Covid-19 by treating the parasites with Ivermectin so your body doesn't have to fight those, too. Parasites are endemic in Brazil in the South where Itajaí is located and Ivermectin is in heavy usage pre-pandemic as a result.

We already knew this. This doesn't apply outside areas with endemic parasites. It doesn't apply here in the US.
I just meant that Jacobins did not start the revolution, moderate constitutional monarchists (and the mob in Paris) did. Of course things went out of hands and by 1794 most of the original leaders from 1789: Duc d'Orléans, Lafayette, Mirabeau, Sieyès, Necker etc. were all out of power, dead or in exile. All of them were considered to liberals when the Estates-General were initially convened however compared to the Jacobins they might as well had been ultra-conservatives.

The Bolsheviks publicly called for whatever was popular at the time and what they thought would allow them to get into power. In 1918 they basically copied the entire Socialist Revolutionary programme (ending the war and distributing all land to the peasants without compensation to previous landowners and giving controls of the factories to their workers) and promised to end the war which basically guaranteed that most soldiers and ordinary people would not oppose them (they never had mass public support prior to the October revolution, at best a plurality in Major cities and approximately 0% in the countryside). However after they ousted the socialist government they proceeded with a policy of collectivization and centralization instead.

"aren't really calling for more than what we'd view as actual democracy"

No, the Bolsheviks lost the first democratic elections in Russian history, decided they don't like the results and dispersed Russian Constituent Assembly 13 hours after it convened. Unlike most other socialists in Russia at the time Bolsheviks were totally anti democratic from the outset, which is why they were so effective at gaining and holding power. While other socialist or liberal parties were organizing peaceful public protests, strikes or walkouts expecting that the masses would rally around them the bolsheviks simply sent in their troops.
EBV VCA IgG antibodies remain present for the rest of your life, as your immune system maintains certain antibody levels to keep the virus in check (it's a delicate host-virus balance).

EBV VCA IgM indicates a primary EBV infection and these antibodies remain for a few months, until seroconversion happens. They might not necessarily be present immediately. During the primary infection, the virus is in active lytic replication which can accurately be shown by an EBV PCR test.

Once the virus establishes latency, EBV PCR will be negative. It may occasionally become positive when EBV reactivates, but it may also reactivate in other compartments i.e. it infects more than just B-cells and the standard PCR test wouldn't show that. There are more antibodies involved and the whole thing is more complex than just the lytic and latent cycles.. the immune system is very complex.
I just checked: https://youtu.be/-KNXvqmqNr0?t=30

To be honest, what I hear is a whistling sound, not metal on metal – that kind of sound that instantly sends shivers down your spine.
I wrote that comment after the plastic buckles on my messenger bag just broke. Perfectly fine, hardly used, but it just broke because it was ten years old. Plastic sucks.
I would highly recommend this Johnny Harris video: https://www.youtube.com/watch?v=v0V_zkng4go . It does a great job of summarizing all the (too many!) points in the debate from a neutral standpoint--including enthusiasm. It's so neutral, that it actually leaves you feeling a little lost at the end :P Which I think is the state of the debate, unfortunately. But it'll probably get you closer to answers than I will--I'm afraid I don't have any.
> If I was Elon, I would seriously question whoever at Tesla had said so. And by that, I mean, literally just fire them, because, damn, how can one be so ignorant when it comes something so crucial to safety?

Elon is first one to blame for it. Sloppy quality and disregard for safety issues that creates comes all the way down from Elon. This problem is deeply rooted in the organization, that’s only optimizing for growth, at all costs. It’s well known Silicon Valley playbook. But it’s not that great when you apply it to the cars, not some random app.
Curious if rising interest rates put an end to the party.

Had an interesting debate with a friend yesterday, he thinks the money laundering value is so high the NFT market will never collapse; I opined that the appetite for any single get-rich-quick scheme is bounded by the number of peers one has who lose out; and that personal experience of that kind is weighted higher than the irrational exuberance; at that when the bit flips and the latter begins to be viewed through a soured lens of failing to Get Rich, things decay quickly, and the next fad takes hold.

At which point the "market" for NFTs implodes as can fully be anticipated, because while the money laundering would love it not to, it needs noise and chaos to get away with its own targeted grift.

Reminded, I need to order more popcorn. Gonna be a great show.
> Would it be so bad to write a Turing complete static check function?

I think most type systems are, in fact, Turing complete (there's a fun proof somewhere that TypeScript is, for example). And most typed languages (Go, C++, Java, TypeScript) have pretty mature static type-checkers, unless I'm misunderstanding your ask.
Levels of Hype
He tried handing punters a playing card

Dunno why the author had to denigrate the diners like that.
It's not a matter of being cool. It's a matter of going next-level with "no comment."

Tesla has some bad PR, the press can't get anything out of Tesla so the story is dead out the door, and Telsa's PR team comes up with some stupid stunt to get social media trending on the stunt...problem solved. "Oh, you see that thing about Tesla?" is about their cars blinking their headlights to Christmas music, and not, say, the feds ramping up their investigation into Teslas slamming into roadside emergency vehicles.

Standard corporate "disaster management" is essentially "hide everyone, don't say a fucking word, wait to get out of the news cycle."