jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Some years ago I would have thought all this would be really cool. But who are they kidding? What sort of people will be able to keep this whole language in their head.

C++ books were thick bricks already 20 years ago, and students struggled hard to learn it. Now the language is like 3x as complex. Students are going to need a separate bag just for their C++ material.

Sure you can write in a subset of C++ that is easy to get. But when did that ever work? Who has worked in a company and seen people able to stick to a minimal C++ subset?

No, people get tempted and they start using all the new stuff. Short term it is a real gain. But once you hire junior developer who has to read this code, they suddenly have 3x as many concepts to learn and understand.

I predict a serious recruitment problem with C++ down the road. Old timers today will start using all the new features. When management start trying to add new team members they start realizing that it is really hard to get quality C++ developers.

Anyway who tries Go, Rust, Swift, Nim, D or some other moder/semi modern language are going to ask themselves why on Earth they would want to torture themselves with C++.
> Her suspension for talking about supporting a union was overturned, but not her later firing for the Facebook post.

Where does it say that? The article doesn't mention a firing at all.

> Nobody admitted any wrongdoing and there was no monetary compensation.

There usually is monetary compensation in settlements like this, they just don't disclose it.
Sorry, but that’s smoke not steam. My pots don’t make that sound when boiling water. I’ve heard other “pots” in pipes that sound exactly like that though.
I used to live in Europe, and a bicycle was my primary mode of transport. That was when I was a single man with no children. However, I can't see how I could possibly use a bicycle for really any transport at all today.

Advocates of cycling, I would be genuinely interested in how you would logistically achieve a typical weekend day in my life, which might consist of:

- Transporting myself, my wife, my daughter, my dog, and (say) 3 large bags full of the stuff that they require from my house at the rural/suburban boundary to the part of town where the hardware stores are - about 25km away, with about 600m elevation change.

- At those hardware and big box stores, I'll need to buy (say) 300L of sand (bagged) for the sandpit, a new powertool, a bag full of clothes, and a new bed for the dog.

- We then need to have some breakfast at a cafe, and transport the whole lot home.

- We have to do all of this in the rain or in the very high winds that my city is famous for.

- Total time to achieve all of this has to fit between my daughter's naps, so we have about two and a half hours all up.

Some version of this is my life almost every weekend.

Now, I would genuinely like to hear how I could achieve anything approaching this using a bicycle. I'm not being facetious - I don't know how it would be possible at all - but cycling advocates seem determined to assume that I somehow can, so I'd love to know how.
These options are literally the only way for me to even get new recommendations. YouTube "helpfully" fills my recommendations with videos I've already watched, videos from channels I'm already subscribed to and watched, its own "mix" playlists of songs I listen to, and totally random "topics" it thinks I'm interested in. I have to "Don't recommend" every channel I subscribe to and "Not interested" every video I click on but don't watch fully, or they completely fill several pages of recommendations.

I don't know what happened or when, but it's impossible to discover new content there anymore.
It's fine if they just figure out how to cure sickle cell anemia. Great even.

No one will force people in areas where malaria is endemic to have sickle cell anemia treated, and a treatment for sickle cell anemia won't slow down treatment/eradication of malaria.
A sad day indeed, Runnaroo was a great search engine.
I saw a recent example of true snake oil on an HBO series called "The Knick" about the Knickerbocker Hospital in NYC 1900s. In that plot line a company had put together a potion that didn't harm you, but didn't do anything it claimed to. They approached the famous surgeon played by Clive Owen and ask him to front the product, just slap his name on it, boom instant hit.

Well Dr. John W. Thackery had too much pride to be associated with that and refused the money.

Cut to modern day version, I'm a computer programmer and I write code to correctly place humans from video feeds into various buckets based on the RGB colors I scan from bitmap image 2d arrays... and I say it places them into buckets like "possible upset" and "very much in flow state" or "bored, brain not engaged." And then sell this program/SAAS product to companies and they get value from these buckets... how is that still true snake oil?
OPNsense has recently upgraded to a new major version. To save aggravation, if you are not in a hurry, I would wait until minor version of 21.7.x

https://opnsense.org/about/road-map/
Modifying ourselves leads into the messy territory of bodily autonomy and consent. You can see this pretty well in the anti-COVID-vaccine crew. I feel like it'd be much more popular to modify mosquitos than apply some modification to humans.

Not to mention the ethical (regarding equity) concerns: disease from mosquitoes affects poverty-stricken areas the most, yet the people with the most access to these bodily modifications or procedures are going to be from wealthy countries.
In the 90s my country was plagued by out of control inflation. In a desperate attempt to control it, the government just froze everybody's bank accounts. Nearly everyone was left without money. Imagine logging into the bank and discovering that all your money had been confiscated. Some people saw it coming and cashed out beforehand, and suddenly became wealthy after everyone else's money was wiped out.

I don't trust governments and I don't trust banks. I want an economy that's completely independent of them.
> Did you RTFA?

Please don't do this here. The sibling commenters have all provided nice examples of how to reply respectfully.

From the site guidelines: Please don't insinuate that someone hasn't read an article. "Did you even read the article? It mentions that" can be shortened to "The article mentions that."

https://news.ycombinator.com/newsguidelines.html
One issue might be that, going by history, there is likely a tipping point where those not in the 1% use force to redistribute. That's got nothing to do with whether the wealth was accrued lawfully.
Yep, exactly.

Stuxnet was sophisticated.

The Sony hack likely wasn't. Though it was done by a persistent and patient group of attackers.
Quite old now, but to me the go-to reference is still Brian Mirtich's Ph.D. thesis, "Impulse-based Dynamic Simulation of Rigid Body Systems": https://xkanim.googlecode.com/svn/trunk/mirtichThesis.pdf
Biology isn't a perspective. Well, not yet anyway. We haven't gone that idiotic as a society so far.
No, the review was the non-P version which is the slower model.
Most people who are wealthy have wealthy parents. It is overwhelmingly the most common way to become wealthy. Virtually nobody makes it to "the top" solely through hard work. Wealthy people always extol the virtues of hard work, but the truth is that there is no amount of hard work will necessarily make you successful. There are too many people waiting with outstretched hands to take advantage of you, or feet waiting to trip you — mostly to assure that you don't threaten their success in this negative-sum game.

http://www.monbiot.com/2011/11/07/the-self-attribution-falla...
Eventually, we may need redistribution of wealth, voluntary or not, because people need at least enough food and shelter, and some path to self-sufficiency, if possible.

And this is why at some level, a person is no longer entitled to additional wealth (even if it's earned honestly and fairly).

We know from history that when a small group of people control the vast majority of wealth, it creates an unstable system. So in order to maintain a stable government and economy, there must be some limits on wealth.

(and progressive taxes are one of the ways we control wealth, and prevent this instability.)
> It wasn't that long away that we were reading stories about how food delivery services were providing restaurants an opportunity to keep their doors open during COVID lockdown.

Can you link to some stories? I didn't see any in my bubble.
Note that every stage you have described has been called "security". Security is inherently a multi-perspective endeavour, and the word gets abused by powerful entities looking to preserve their own security, likely at the expense of your own (eg the TSA). I do agree that end users receive benefits from Apple's security, but to insist that explains the whole story is hopelessly ignorant.
I bet your ass that at least half of the developers reading HN don’t have caching of JS fully figured out such that when the JS changes server-side and immediately needs reloading on the client side that it does then and there instead of on the next request, the next page refresh, or never because they’ve f’d it up.

With server-fed, event-driven pages, you could potentially force refresh.
If you buy the concept of bitcoin as digital gold, which is what I hear out of most analysts in traditional spaces, this isn't problematic.
I hear often "units test... beautiful code" and well, I agree that code can start off that way but how does this style of development/train of thought work in the long term? Are there any examples of agile software that is over 5 years old? How about 10?
yea this is closer to what i'm talking about, thanks
That's assuming hacker knows the salt, which is not always the case.
These are the biggest AHA! moments that stuck out for me

1. Understanding recursion in C
2. Understanding lazy evaluation in Scheme
3. Figuring out how to implement lazy evaluation in C

A lot of superficial differences between languages melted away after that. Definitely a "level up" feeling as a developer.
You are correct: 2^10 - 2^5 != 2^(10-5); which is what he is doing by subtracting the entropy.
The article is lamenting the fact that He did not use a password manager. Why does that constitute defiling?
Meditation didn't "click" for me for a long time because it wasn't ... aggressive enough.

A friend taught me this: Sit or lie still. Burn your body with a white-hot fire, starting at your toes. Incinerate yourself. Visualize intense fire with a child's pure unfettered imagination. Let that fire burn your body slowly, creeping up inch by inch with its quiet impersonal anger. When your body has burnt up, the fire quiets down and the weightless ash blows away. Then you open your eyes.

This worked for me - I felt it! - and opened up meditation for me. I have since had very good success with the Headspace app, for instance.

Another important thought for me was "Meditation is watching your thoughts go by like the bubbles in a glass of champagne."

Overall, in a nutshell, what meditation has done for me is: There is more of what should be. There is less of what shouldn't be.
I still don't understand why I'd use the command line for git at least. Using a visual tool like Sourcetree I can easily see my staged/unchanged changes, the outstanding commits to pull/push of all my branches at a glance without typing anything.

I can easily fetch/pull/push/merge and switch between branches with a click, which is much faster than typing git commands and branch names. I can back merge/rebase changes basically do anything way faster than someone typing in a ton of text to do the same thing.

Plus I can get the same situational awareness across all my repos by just clicking through some tabs. No directory change commands or any further git commands to see the state of things. I feel like I have a better situation awareness, am much faster, and haven't had to type a git command in a long time. I work on a team of many developers who use the CLI and I still don't understand the appeal.
I do from time to time, and do not feel idiotic doing so...
> How exactly, command by command, would nix solve the same problems?

This might be problematic, because to understand these commands, you would have to understand Nix. It's not just a tool that replaces your existing tool, it's a total workflow change, and without understanding what's happening under the hood, you can't really appreciate how much it makes your life easier. I could show you a `nix-build -A deploy.somemachine`, but without understanding why it's called like that, and what exactly it does, and how I build most of that myself using nixpkgs tooling, you wouldn't really 'get' it, because you probably wouldn't understand how is that better than doing an `ansible-playbook -i foo.yml`, and I wouldn't be able to explain without explaining Nix/nixpkgs from scratch.

Nix, compared to other DevOps tools, is alien technology, and requires unlearning a lot of things, learning a whole new language and ecosystem, beginning to think in terms of that ecosystem and general programmability and functional programming, and then building on top of this to solve your problems. Nix doesn't immediately bring solutions to your problems, it brings you a new way of thinking about these problems and solving them in ways you didn't even consider before.

I know this is all handwavy, and that is unfortunate, but in my opinion unavoidable when dealing with radically different tooling. From my experience, the current 'classic' devops tooling (Docker, Terraform, ...) has reached a local maximum of usability. Getting out of that maximum requires a vastly different approach, and thus requires a much longer learning experience than what most people are used to. If you keep switching to different tools that behave how you expected them to, you're really just using the same thing as before, but with a different syntax.
Animal agriculture produces more carbon waste than the entire transportation sector. "Regenerative" animal agriculture is a myth, as fields can only sequester a small percent of the carbon emissions produced by ruminants, and they eventually reach a saturation point where they stop sequestering any.

Additionally, factory farms are pretty much the only option to make animal products available anywhere close to the quantity required. Community farms have significantly lower output at a higher cost, and therefore animal products prices would presumably skyrocket.

There are plenty of delicious and easily available vegan recipes that require 0 veggie burgers, if you're interested in reducing your carbon footprint.

Obviously your actions are up to you, but community farms like you suggest just aren't feasible at scale.
It's important to note that (1) the report uses a very liberal definition of food waste, that is, it includes inedible portions of foods such as pits, rinds and bones and (2) it does not account for the destination, so if you compost the peels of an apple or feed them to your chickens, that too is food waste, as another commenter mentioned.

FWIW, at a first glance, I think the report [1] looks well-executed and talks about a lot of quite subtle aspects of food waste, e.g. it breaks everything down by sector and by where in the supply chain waste occurs, and it acknowledges cultural aspects to food waste such as whether we consider bones or skins to be edible or inedible. It's just that its main goal is to provide indicators of how well different countries fare in reducing food waste and for that purpose the absolute numbers matter much less than how much the indicator changes over time.

The absolute number could never be zero anyway, because you'd need a perfect just-in-time supply chain, refrigeration that never breaks down, predictable crop yields that don't vary too much from year to year, we'd have to eat at restaurants that have machines for zero-trim prep and high turnover so consumption is stable, and so on... all of which would be incredibly costly in other ways, so it doesn't make sense to focus on the raw stats, except as an intellectual exercise. It's similar to the numbers you sometimes see about the environmental impact of Portland cement production, which of course is huge, but that's simply because of the huge quantities that are produced given how important it is to modern construction.

As a result, though, the report does not translate well to newspaper headlines that want to present just one (preferably shocking) number. Admittedly, the 8-10% comes straight from the executive summary itself, so there's that...

[1] https://www.unep.org/resources/report/unep-food-waste-index-...
Bread typically becomes "stale" (texture change due to internal moisture redistribution) before it spoils (usually by mold growth). Stale bread is still edible, and there are recipes that prefer it over fresh bread, e.g. bread pudding and bread sauce. It does not have to be fed to chickens to avoid wasting it.

And wheat can be converted to pasta, which can be stored for years, and can be easily made edible by brief cooking. You can reduce wastage of wheat to negligible levels, and chicken farming has non-zero overhead, so it seems unlikely that the chickens are an efficiency win if you take reasonable care.
Systems that use SHA1(k || m), or any other Merkle-Darmgaard hash in H(k || m), are trivially broken in 20 lines of Ruby code.

There are attacks against SHA1 that make SHA1(m || k) unsafe, which is a point I think Nate is really trying to get across here.

You might have the terms in that construction backwards, but I'm not going to dig through OASIS standards for more than the 5 minutes I just spent trying, because very few real-world systems use WS-Security.
Try here: https://support.twitter.com/forms/general
I find it difficult to relate to negative comments (for easy access to information) in this thread.

A story that might be interesting: We live in Arizona. Last year two old guys (really old, about my age :-) got out of their pickup truck and walked over to me while I was gassing up our car and asked for directions to some obscure little town. After asking why they were travelling (they were on the way to some distant relative's house for a party) I pulled out my droid phone and used the voice interface to Google Now to ask for driving directions; we also got a warning about a road closure. Neither of these guys had ever owned a computer so they asked the obvious questions of how much would a similar phone cost and where to get one. I would bet that they had a smart phone within days. +1 for easy access to information.
That's assuming DST is natural, which I can assure is not the case in large parts of the world. It's a business/GDP-centric measure and nothing else.
Hey Ben, thanks for submitting this!

This is Jon from Pimoroni - we just launched Flotilla today.

We've been working on Flotilla for just over a year - the vision is to provide an electronics experimentation system that scales with ability and has as few restrictions as possible.

The hardware in the video is a little out of date but pretty representative of our final design. The main change is we've swapped to round/thinner cabling to make it easier to route them around in your projects.

The Dock maintains the state of the system receiving updates from sensors and issuing commands to connected devices. It then sanitises the data and discards duplicates before passing it via USB serial to the host Raspberry Pi.

If anyone has any questions I'll hang around to answer them best I can!
I don't have perfect vision, so these sort of glows kick in automatically, especially when I'm tired. I't problematic enough to make me switch to a lower contrast theme when I work at night. It would make sense to apply an effect like that only if it were _increasing_ legibility.

Take a look at this a demo pic: http://cl.ly/image/1i0x2X3W3G0x

Notice the rare case where the drop-shadow helps increase the contrast between foreground and background. You'll get props for doing that any time you pull it off.
Be careful. There is no difference between a relief well and a regular well.

What do you do if your relief well blows?

Maybe if you drill two simultaneously, making sure they stay in sync. But the relief well needs to intersect with the regular one, so that might not actually be possible.

> and here's hoping no major hurricanes this summer.

Oh no. Quite the opposite! A hurricane would be the best thing possible. It would clean the entire area like nothing else can.
Digital voice recorder, dragon transcription at work; you can do a lot of thinking out loud in 90 minutes.
Either you do it correctly (as in list manipulation, in place) or do it pythonically. That code is somewhere in between.

The pythonic version would be s.replace(c, '')
And why we need to kill them:

- They, quite naturally, invest based on their personality. This leads to more startups that match a few specific people.

Making something that people want is impossible to know before hand. There are more Farmville users than Twitter users. No one in their right mind could have possibly guessed that Farmville would be so successful. And by having just a few people deciding what people will like just means fewer big hits.

What we need is something like this:

http://me-vc.com
My first thoughts are that removing the downloadable version will work out well by getting rid of the "Tyranny of Choice" and thus helping with conversions.

Has anyone else tried this approach?
Will write it up on my website soon. See link in profile.
The Moth podcasts are usually really good.

http://www.themoth.org/podcast
As long as you're not dealing with a TLD with a wildcard (like .ws) you should be able to just check for NXDOMAIN status on your NS queries.
I guess I take it a bit differently -- the stuff he's usually responding to is from "respected industry commentators" like Rob Enderle or Paul Thurrott and, well, the record kinda speaks for itself. Mainstream coverage tends to pretty consistently publish a lot of things which are flat-out not true (e.g., the oft-repeated claim that iPods can only play music purchased from the iTunes store). And, for better or worse, that's what Gruber is typically harping on.
I've found these to be pretty good:

Mises @ itunes u (austrian economics)
http://itunesu.mises.org/

The teaching company:
http://www.teach12.com/teach12.aspx?ai=16281
My $2700 Cintiq is 7 years old and works dandy, but Wacom will not be making Maverick drivers -- ever. So I won't be upgrading ever. My TV is 10 years old and working. We have a 15 year old TV in the office. My 2001 ibook is going strong and my six year could use it -- but it can't even be updated to the new wireless networking protocols, and linux abandoned the G3.
While I don't have any macs still running Snow Leopard, it has a special place in my heart because it can still install Warcraft 3 as well as play many older Mac games pre-Intel.
Cmd z?