skysight-inc/HackerNews huggingface dataset:
This article is not great, it reads too much like scaremongering. But the underlying problem of PFOA/PFOS is real. The article fails to mention that most chemical companies have been phasing out these chemicals for several years.

There is a pretty good movie about this topic, Dark Waters. The movie is well informed, largely accurate, and more factual than this article. The main protagonist of the movie is actually Robert Billott, the author of this article.

https://en.wikipedia.org/wiki/Dark_Waters_(2019_film)
"Let’s Talk about Freddish" (1977) seems to be the original source for this advice, but it's surprisingly difficult to find a copy. All I can find are websites that re-reported what The Atlantic wrote.
My Macbook fans rev up to the max after starting the Docker VM. And battery life falls like water running downhill.

No, thanks - I shudder at the existential nightmare at being forced to do all development via Docker. Use Docker for deployment, exit the VM and get back to your work.
I don't think the argument is that it "has to have happened another time". The argument is that if it is possible to happen once, it's likely to have happened more than once, the "existence heuristic." It proves only that it might be worth looking, unless perhaps further research indicates that we on earth are not, in fact, intelligent life, and then the likelihood of intelligent life elsewhere in the universe falls off dramatically.
still had one as of a year and a half ago, for bringing in phone lines to a business. they'd converted it a year previous to be SIP over an IP link, though. meh. at that point it was only a tiny smidge better than twilio over business comcast, and was waaaay more of a hassle.
> Please note this is intended for people who don't care about desktop GUIs, and just want stdio and sockets [...]

Not to diminish the achievement at all, but a significant limitation to be noted (and not a very surprising limitation).

I also wonder about things like the sizeof(long). On 64-bit linux, this is 8, but on windows, it's 4. Well, "on windows"... maybe this throws all the APIs that make such assumptions, uh, out the window, (puts on sunglasses).
This sounds interesting! Where can I read more?
Name reminds me of the black hole film.
It doesn’t do any of that. Vertical farms and other indoor Ag works in places that already have a handicap. Like in deserts(Middle East), lack of arable land(Japan), harsh winters(New England/Canada).

To maximize the efficiency for indoor farming, you have to install these systems in the most arid or hostile locations where nothing has been grown before. For example, California or pacific north west doesn’t need this.

We can do better with crop rotation and crop diversity in most parts of the world where we grow food and it can be done in an environmentally friendly way.
My company does this too, for the same reason. (Not using Stripe though.)
I mean, at a certain point in development you do have an unborn baby.
Would a disassembler be more reliable than a decompiler you think? That could be a whole lot of code you'd be looking at in assembly language.
ah, that makes more sense i think... yes, i guess that is one way of accomplishing it, thanks ^^
::ffff:0:0/96 is for representing v4 addresses in v6 APIs. If you tell the kernel you want to send a packet to ::ffff:1.2.3.4, you're actually telling it you want to send a (v4!) packet to 1.2.3.4, you're just doing it using an AF_INET6 socket rather than an AF_INET one.

Since packets aren't APIs, you should never see ::ffff:0:0/96 in packets on the wire. A v6-only host can't use this prefix to send v4 packets to v4 hosts.

(What would the source address of those packets even be?)
Fire them and then give everyone a raise with their salary.
Wow, I was an enthusiastic Bugle listener years ago and it fell off my radar. Zaltzman and Oliver's comedic chemistry is nearly unmatched in podcasting. Going to listen now, thank you for mentioning it!
User interactions would be modeled as a stream of events. And your functions would take that stream of events and return the rendered video player as it should be based on the given events.

There's two way to do it. One that requires keeping the full history of events, and another which only requires keeping the next one (or next few) and the result of applying the last ones.

I'll start with full history. You'd have something like:

defn button-icon(click-events):
if is-even(count(click-events))
return paused
else
return play

With this, when the program starts, click-events has nothing in it, so when we call button-icon with it, it returns paused, if the user clicks the button, we call button-icon again and now there is one click event in click-events, so we return play. If user clicks again, there are now two click events and so we return paused, and so on.

There is still state in the running program, something is remembering all clicks to the button, but your UI logic is pure.

Ok, now this is inefficient and requires lots of memory. Basically every new user action we recompute everything from the program start, and remember all prior actions. That's why there's the second approach. Instead we will do:

defn button-icon(current-button click-event):
if click-event
if (current-button = paused)
return play
else
return paused
else
return current-button

Now the running program won't remember the list of all click events from the program start, instead it'll remember the last result from the last call to button-icon and it'll pass that last result to button-icon the next time the user takes an action. This can be bootstrapped recursively or using fold.
Chinese journalist who documented Wuhan coronavirus outbreak jailed for 4 years
Our society is not darwinian, if it was we would just let the sick and disabled die.
Yes. The author is also from the movie Dark Waters.

Yea: I have to agree. The 2016 NYT piece you linked is a better read. Thanks.
Ask HN: I typ in Bing: “fastest way to” – it autosuggests “suicide”, why?
I'm sorry for asking this as this topic is sensitive, but I feel worried by seeing this and need some perspective.

I haven't used Bing for a long time (or Windows for that matter). And I am too lazy to switch to Google or Duck Duck Go. So I sometimes use Bing.

I wanted to find the fastest way to make a pizza, but before I could type all that Bing autosuggested with "fastest way to suicide"

Am I the only one who finds this highly worrying? If I just think about Nudge Theory [1] from behavioral economics, then autosuggesting such matters seems like it could lead to more self harm.

I hope it's simply my own filter bubble, and that Bing's algorithms are simply suggesting it to me. But I doubt it.

[1] https://en.wikipedia.org/wiki/Nudge_theory
It is fantastic because it doesn’t make up a supernatural being or god. It stresses strong family values, compassion, creativity, self-help, reverence and kindness.
From what I understand about chicken and pig feed, soy meal is typically used, and it's from the part of the bean that humans don't use, since the oil is the key ingredient in so many foods consumed by people. Is cricket farming more efficient than soy farming? Seems like the economies of scale for soy are so much greater.
My three favorite HN readers are —

[1]: https://hckrnews.com/ "hckr news"

[2]: https://hackernewsletter.com/ "Hacker Newsletter"

[3]: https://news.ycombinator.com/front "HN’s daily front page"

They offer good ways to browse HN posts on slower cadence.
I think you are conflating livelihood with purpose.
> Just to be clear… I don't like Trump, and didn't vote for him. Being a conservative does NOT mean you're a Trump fan.

One problem is that the conservatives in national politics or state politics who are not Trump fans have to a large extent gone silent on any issues in which they disagree with Trump, at least publicly, for the last four years. That tends to give people the impression that being a conservative does mean you're a Trump fan.
Without specific numbers and calculating chance of life like ours to occur I don't see how you can confidently make such claims. It could very well be the case that even for a universe this large, it was a statistical anomaly for it to have life. Maybe out of 1000 similar universes only 1 would happen to have life. How can you tell the odds so confidently?

Maybe even out of 1,000,000,000 of similar universes only 1 would actually happen to have life. It's similar with planets. If you only know of 1 planet within 1B to have life, how can you tell the odds are not low enough to have 1 universe out of 1B to have life?

This could be an awesome example of survivorship bias to assume because there's life here, there must be life elsewhere in the universe too. We only have experience with a planet where there's life, so we are innately biased to think that it might be more frequent occurrence than it really is.
Personally, I'm nursing a thesis that the study of concurrency is fertile ground for a formalization of modular design. Where parallelism is the optimization of a software system by running parts of it simultaneously, concurrency has much more to do with the assumptions held by individual parts of the program, and how knowledge is communicated between them. Parallelism requires understanding these facets insofar as the assumptions need to be protected from foreign action -- or insfar as we try to reduce the need for those assumptions in the first place -- but I expect that concurrency goes much further.

Concurrent constraint programming is a nifty approach in this vein -- it builds on a logic programming foundation where knowledge only increases monotonically, and replaces get/set on registers with ask/tell on lattice-valued cells. LVars is a related (but much more recent) approach.

A different approach, "session types", works at the type system level. Both ends of a half-duplex (i.e. turn-taking) channel have compatible (dual) signatures, such that one side may send when the other side may receive. Not everything can be modeled with half-duplex communications, but the ideas are pretty useful to keep in mind.

I try to keep my software systems as functional as possible (where "functional" here means "no explicit state"). But there are always places where it makes sense to think in terms of state, and so I try to model that state monotonically whenever possible. At least subjectively, it's usually a lot simpler (and easier to follow) than unrestricted state.

(Note, of course, that local variables are local in the truest sense: other programmatic agents cannot make assumptions about them or change them. Short-lived, local state is as good as functional non-state in most cases.)
Frankly this "they do deserve it because it keeps them happier" reeks of sheer entitlement and disdain for personal property and boundaries. I have had terrible experiences in the past with neighbour cats. And if you don't think cats are aggressive you clearly haven't seen a caterwauling fight mess up the neighbourhood or scratch kids up badly.

Also, many people are allergic to cats. Some of them develop even serious health problems like anaphylaxis. Please restrict your cat strictly to your property.
I think we're talking about veggies here, no? I think at some point we'll have to turn to insects for our protein needs though.
Why won't HN offer dark mode?
We planned on being co-founders all along, but he came in slightly later after the legal was initially done -- then it took a while longer than I hoped to raise the seed due to COVID. He wouldn't appreciate me reneging on that, especially since he's been equally integral to the business as myself.
About 85% of the population of the UK wasn’t born yet when she became queen. 0.9% of the population of the UK is over 90 (https://www.ons.gov.uk/peoplepopulationandcommunity/populati...). If I interprete the data in https://www.ons.gov.uk/peoplepopulationandcommunity/birthsde... correctly, about ⅔ of those are over 94 (seems a bit high to me)
potatoes?
Loved the episodes with Jim Keller [0] and Brian Kernighan [1] as well. Lex really does a great show and has amazing guests.

[0]: https://www.youtube.com/watch?v=Nb2tebYAaOA

[1]: https://www.youtube.com/watch?v=O9upVbGSBFo
We’re Rebranding PrestoSQL as Trino
Good point! https://1mb.club/ has a compressed transfer size of 7.6 KB and https://10kbclub.com/ has a transferred size of 6.1 KB right now. I did a few quick tests and found that https://1mb.club/ can take about 50 more entries and https://10kbclub.com/ can take 10 more entries without exceeding 10 KB compressed transfer size with the current page layout.
You're kidding, right? The model 3 rivals competitors in price and will only drop in price and it's a perfectly serviceable car for most people. Well as long as you don't get it "loaded"
Show HN: Flurly now supports redirect URLs
> I haven't found anything specifically on the organization of software modules so as far as I know none exists.

Parnas (1971) is seminal on this topic. https://apps.dtic.mil/sti/pdfs/AD0773837.pdf
First, the blog post does cite "The End of Accounting" by Lev and Gu, which provides a pretty good academic dive into this topic and I'd recommend to anyone who likes this post: https://www.amazon.com/Accounting-Forward-Investors-Managers...

Second, in conversations with professional investors (firm with AUM >$1B), their analysts and portfolio managers have been making these kind of intangible asset adjustments for years, if not decades, now. That's the whole point of having professional investment analysts, especially at "value" firms; they wouldn't be able to generate alpha if they weren't trying different methods to identify opportunities. So all this "intangibles" chatter that's become popular in tech media isn't news to the investment community.

Third, the big question inspired by the book but not covered as much in this blog post is: If investors are already making valuation adjustments for intangible assets, and company's are having to estimate a lot of the accounting inputs anyway, then is it better to try and fix/update GAAP, or can we just reduce the regulatory paperwork burden for public companies and have investors demand the metrics for each company that they feel are relevant?

Fourth, this post is a good overview of the topic and something anyone in a business role at a tech company (and ideally eng/prod/design as well) should understand.
There's also my old dog http://hnapp.com, and Dan Grossman's http://www.hnreplies.com/ (I think it qualifies as "alternative UI")
Nice to see hackerweb on the list :)

A little self-promo here, I just released a new V2 of HackerWeb for iOS https://apps.apple.com/app/id1084209377 - it's still built with React Native, open-sourced https://github.com/cheeaun/hackerweb-native-2 with a really nice UI that I've designed, especially for comment threads.

It'll be free until end of the year. Cheers.
This is why most of the world distrusts China. It will take many generations and major reform to change that opinion, no matter how much money Beijing spend.
That’s a great story and I want to believe it; do you have a citation to back it up?
Cosmopolitan doesn't use the "red zone" because these binaries boot on bare metal and operating system code can't assume a red zone. GCC supports this. Otherwise the Linux Kernel wouldn't work, since it's compiled the same way. So invoking call from inline asm is perfectly safe. The only real issue is that the called function can't assume the stack is 16-byte aligned. But that's fine, since Cosmo only using asm(call) to call functions written in assembly.
I made https://www.read.hn/, for users of Instapaper. Clicking a link to a story opens it in Instapaper.

It's styled using my personal Instapaper theme, so reading HN feels like I'm on the same site whether I'm on the homepage or reading a story.

(Optimized for mobile, no tracking/analytics, very lightweight, and open source)
Fair enough and inspiring. However I am still wondering how to advocate changes in such a scale.

For example, Linux introduces some fixes for Y2038 problem during the past few years. I suppose the community of this C library should do something for those changes, right?
Oh, I didn't know someone made a film about this story! I'll have to give it a watch sometime. Maybe I can recommend it to people to raise awareness.

PFOA is very scary, but I'm also very concerned by some of the replacements[1] that DuPont is using now. What if they're just as dangerous?

Heck, we've know PFOS is dangerous for over a decade now, but we're still using it in industry and to fight fires.

[1] like https://en.wikipedia.org/wiki/GenX
Boss of the Beach: For 40 years, NYC’s lifeguards have been mired in controversy
No, because verification tools are made to verify that you don’t take an extension for granted. Compilers as far as I know are made to generate code for different extensions. The CPU also contains registers to check what extensions are present.

ARM is what it is because license holders are required to implement the whole ISA. RISC-V is kind of the opposite. You are required to assume extensions are optional.

And OS is supposed to trap instructions not implemented and jump to a software emulation of them.

I don’t know all the details. But the point is they are planning for this from the start and building their tools around this. That was never the case for ARM or x86. Hence it is premature to assume it will end up the same.
You can use stylus (Firefox: [1], Chrome: [2]) to set a userstyle for HN. I have mine set to a lovely zenburn dark. [3]

1: https://addons.mozilla.org/en-US/firefox/addon/styl-us/

2: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpe...

3: https://github.com/UserStyles/hacker-news-zenburn-dark
Ah, another of Jacobin's crusades against foreign investments.
that's hilarious.

Every regular user that I know of has multiple alts. usually 2-3 yes of varying levels of privacy /appropriateness and a few more throwaways for one time use.

I personally have 3 reddit accounts, and each serves a very specific use
This is plain delightful.
https://john-doe.neocities.org/ is a wonder site IMO. Amazing, didn't know that much was possible without JS. Seems very good for a personal site.
Is that how jets are designed?
Programming Arduino Uno (ATmega386P) in Assembly
Despite hi-tech advances, many Europeans wary of taking Covid shot
Trump, under pressure, signs $900 bn Covid relief bill
Have you looked at Presto [1]? I'm currently using it for just that reason. Our Elasticsearch instances contain only recent data, which eventually expires, but continuesto live in S3. Presto can search across both, and more.

1. https://prestodb.io/
I don’t recommend this strategy in practice though. It’s brittle and not all application state can even be represented as UI (what about your login cookie?).
If you like that story, I also enjoyed the rest of George the Poet's podcast, "Have you heard george's podcast?"

https://www.georgethepoet.com/podcast-library
Cosmopolitan would actually be a great fit for Python extensions, since manylinux1 requires RHEL5 support and Cosmopolitan is probably the only modern C library that still supports it (glibc these days needs rhel8+). Maybe someone will figure out a way to compile a single-file library that's simultaneously a .dylib / .dll / .so just like how Actually Portable Executable does for programs.
> How could they ever compete with a species that lays 10,000 eggs a year, dashing off after — or before — they hatch?

This one sounds easy: by eating those unprotected eggs!
From https://en.wikipedia.org/wiki/Scotchgard

PFOS has a half-life of ~5.4 years in people.
Raytracing won't simplify AAA real-time rendering
This is an interesting, and potentially compelling argument that WebAssembly binaries and runtime actually aren’t the future of compile-once-run-anywhere systems software: these support syscalls, sockets, and stdin/stdout —- all of which requires platform-specific glue code to achieve using WebAssembly and standard libc (or JS).
GAAPs get updated almost on a yearly basis. Intangibles is a huge topic both in terms of complexity and harmonization across jurisdictions, as well as day-1 impact on businesses.
I reproduced it to happen with just the animated glow behind the todo list. Zooming in and then out to this animation throws my 14.2 XS Max to the lock screen.

https://codepen.io/maybevain/pen/mdrpPEg
interesting, I will have to give it a look at one of these days ?

I heard about it but haven't played it. Looks like it was made from the same team as Ground Control, so this would be a tactics game (maybe a bit of a pedantic point to make though .. the 2 genres are closely related) ?

Indeed, it was not what I had in mind but removing the strategic layer would also serve as making these games more focused and hopefully less frantic.
Unless I'm misunderstanding you, you're not correct. You seem to be saying that the "cost of storage" numbers already include averaging the storage cost between storage and not storage, but I can't get anything like that to work our to reasonably plausible numbers. Check page 8 of the PDF of their very slightly fuller explanation: https://www.lazard.com/media/451418/lazards-levelized-cost-o...

The project is cheaper than wholesale arbitrage because they don't have to pay wholesale prices to charge the battery, inverters are used for multiple purposes, and most PV solar designs already throw away some electricity, so that's free.

Also on that page, doing some napkin math on the project lifetime MWh of 1,260,000, and the purchase price of $600-$1000/kWh is higher than most grid batteries deployed these days. These are very conservative numbers!

Lazard's numbers are difficult to compare to most actual storage payment contracts, because every one I've seen is structured around paying for capacity, in kW-months, rather than straight payments for every MWh of energy dumped on the grid. But the capacity payments end up working out to numbers that are on the low end of Lazard's cost estimates when translated.
The feature should be called "road rage assist". After honking the horn, it could bring the car to a stop. Then you get out and brawl. (it's not a full self-fighting car yet)
It applies to, by definition, people who do not live in the US. Anything other guilt-by-assosciation is an invalid and callous invention to avoid caring about a problem that doesn't affect you personally.
Yes, I am also fascinated by color perception. Number of rainbow colors varies by culture. The sun is perceived as red by Japanese, and yellow by western culture (true color is white)
This is a feature, not a bug. Sites should be made "interesting" with content rather than form, IMO.
Bigger nitpick: as per RFC 5952, canonically :: is ::. 0000:0000:0000:0000:0000:0000:0000:0000 is a valid way of writing the same address, but it's not the canonical way.
I did A Level Maths and I don’t recall any of it showing up when I did my degree at the University of Liverpool.
If it's built on user data, it's likely just showing historical phrases that Bing users have typed in the past. Whether this is because Bing users are prone to suicide, or because some people are intentionally skewing auto-suggestions, this does raise a general problem with making your AI models from user data. Microsoft presumably has to censor certain results from the auto-suggest, but even they probably do not have the resources to find ever single instance where something in appropriate shows up.
Dual Contouring Tutorial (2018)
Solution: don't display all entries, club rules, and membership info on the same page.
Sorry internal numbers at two FPGA companies who were benchmarking which hard-core to choose
From the BBC: https://www.bbc.co.uk/news/world-asia-china-55463241
I could give Indian universities too.