skysight-inc/HackerNews huggingface dataset:
> If you have a clear, fixed API boundary and your tests test that boundary, then testing helps.

A clear, fixed API boundary is exactly what Phoenix tries to encourage with contexts. Unfortunately, a lot of developers find them hard to understand. They're simple if you read up on DDD but again, a whole host of developers won't, or don't, do that either. LiveView in particular has a really a really great testing library [0] where you can write what are essentially end-to-ends that never touch even a headless browser. Since I'm always writing LiveViews, I pretty much only write LiveView tests and contexts tests which gives me large coverage (also some unit tests for the odd utility function). Otherwise, it's really important when writing non-typed functions to make it really obvious what is coming in and out, which is arguably a nice forcing factor.

The number one thing people bring up when shilling types is large codebases (it's been brought up in these comments). My opinion there I have found is quite unpopular and that is that pair programming should be far more prevalent than it is. I think the whole notion of "just stick a junior on that" is broken and I don't understand how types make that situation _that_ much better.

All said and done, I'm not actually anti-type. I mostly just find them to be incredibly noisy compared to a well-written function. I really like Ocaml where it's statically typed without needing to actually specify them.
> I can do everything in Emacs I can do in Vim

Can you immediately jump to the source code associated with any key binding, read it, debug it, modify and reload it, etc., regardless of whether it comes from the base distribution or a plug-in?

For me that’s the killer feature of emacs.
Whatever is happening, it is sad to hear about yet another case where doctors are too arrogant to listen to their patients and try to understand. It might not be a spiritual experience, it might be delirium. But perhaps it is important step in the human mind making peace with death. And it disappoints me greatly that the medical community shuns this phenomenon and anyone who tries to research it.

There is nothing worse than medical elitism. It is very unprofessional, yet still a very widely practiced problem. Having been both a medic and an engineer, I can say that it's very common in both disciplines to have incorrect intuitions but some people are just too blinded by arrogance to look beyond them. In engineering, it often comes out pretty clearly if you are a poor engineer due to arrogance. In medicine, survivorship bias usually works against that. And if we're talking about people who have made peace with death, I am sure they won't fight arrogant doctors who dismiss them.

Overall, it's a shame. It is clear there is abundant research and evidence about end of life dreams. And this can be very significant in understanding our fear of death, and how people make peace with it. We are naturally very predisposed to fear death, so this is very important to understand. ELDVs are also probably culturally and philosophically significant. And we don't have almost any wisdom about them because of medical arrogance.
I would pay for that as well. All it needs is some kind of Android app.
> there are a lot of nineties plots revolving around the assumption that person A and person B wouldn't communicate whilst on the move, never mind look up information to solve their problems.

Yeah, movie and TV writers have been really struggling with how to maintain dramatic tension since the smartphone. Could be a reason why we have all the junk superhero sequel movies, and all the junk serial killer TV series, where all the action is post-facto.
Very interesting! Hate the switch to GA4.. Will give this a try!
I think my favorite was when Cards Against Humanity raised money for no other purpose than to dig a hole in the ground. The FAQ included the question, "why don't you give the money to charity?". Answer: "Why don't you give the money to charity?"

https://www.theguardian.com/technology/2016/nov/28/cards-aga...
It’s been 7 days. Time to do an extended deep dive critical retrospective!
Indeed. There are many ways you can explain away these things without resorting to superstition. Trust me I know, I tried and still am trying every time I see these things.

It is hard to explain, but it is something that even though you can find an explanation that answer most questions, it still can't account for everything. And within those gaps are where I have doubts about whether I was actually right and these are just my mind playing tricks on me, or there is something more. Unfortunately, there isn't any concrete answer yet. We can't even definitely say why all things with a mind need to sleep, much less what happens in their dreams.

In the end, like I said, I have come to understand that it doesn't matter if it is right or wrong, as long as it helps someone, it is ultimately good enough.
Excellent episode, I really enjoyed this. Thank you!
GPT-4 will almost always give accurate instructions but it is much much harder to jailbreak.
I hadn't really listened to them until I read 'Our Band Could Be Your Life', Azerrad, one of the books mentioned in the article. Now I'm a fan.
Child labor in the…

Fashion and footwear industry:
https://labs.theguardian.com/unicef-child-labour/

Shrimp processing:
https://www.theguardian.com/global-development/2015/dec/14/s...

Mining:
https://www.ilo.org/wcmsp5/groups/public/---asia/---ro-bangk...

And everything else:
https://www.dol.gov/agencies/ilab/reports/child-labor/list-o...
Sorry, I'm dumb.
1 - Gas ovens go together with gas stoves, it goes without saying. I don't think anybody's using an electric range with a gas oven. Electric ranges go with electric ovens

2 - Frying chicken results in some particulate matter (PM10) but that doesn't seem to be a global warming concern or an asthma concern, and it settles out of the air quickly. But if you have an "industrial exhaust" as you say, all the oil gets sucked out anyways so it doesn't even matter

3 - Poorly designed ventilation is precisely where switching to electric has the biggest benefit, not the smallest, since cooking is the #1 source of indoor particulate matter and CO2

4 - This is why lots of people clean with gentler cleaning products. But they don't seem to contribute to global warming or asthma in the same way from what we know, and most people aren't using crazy harsh cleaning chemicals multiple times daily the way they do the stove, so it seems like a much smaller issue
at least then the money would get distributed to non-billionaires…
The phenomenon described in the article does not require any non-naturalistic explanations. This is pretty much the role that people ascribe to DMT all the time, which is supposedly secreted during our final moments.

I was in the presence of my mother during her final night and it was the most harrowing and traumatic experience I've ever had.

It was obvious that she was in pain towards the end, but interestingly over the 1-2 hour period after she died, when when she was surrounded by friends and family, her face gradually changed into the most angelic and peaceful smile. Even the guy from the cemetery commented on it, as most of the faces he's seen are contorted into painful visages. A naturalistic explanation would be that it was because of her positive personality and constant use of her smiling muscles led to those muscles being the strongest or first to contract during rigor mortis. I kind of like the idea that your death face is a reflection of who you were in life.
The Destructors by Graham Greene
Yep, people haven't been complaining about murders. It's almost entire the property crime and general lawlessness. This murder just gave people the opportunity to whine about the plight.
Magic ToDo: Breaking things down so you don't
I'm skeptical that we'll be able to stop people from having AI slaves because we still haven't ended human slavery.

If people can steal 100kw of power to grow cannabis they can easily steal 100kw of power to train an AI, the heat signiture will be even easier to mask for an illicit data centre than rows of grow lights.
Fragment of a 1,750-year-old New Testament translation discovered
Scientists Call for End to Animal Testing After Growing Human Lung Replicas
I don't think one donates money to Harvard just for the sake of a plaque.

I guess there is some sort of indirect benefit to be had after such a donation, like an entry pass for a child, an entry pass for a PhD, or something of that vein?
It launched on top of a "Vostok-K" rocket, which ultimately launched 13 times, 11 successfully.

I don't know if an ~85% success rate is actually good, but given that this was the very early days of the exploration of space, I'm willing to accept that it's not bad.
Maybe it's time to stop paying attention to what Elon Musk and other so-called "tech industry" people publish on the internet. These are not journalists and it is not "news". It's garbage.

Maybe it's time to wake up.

One can only imagine what these two "tech industry" people were arguing about before one killed the other. The media reports make them sound like such wonderfully nice people, drinking and driving around SF at 2am on a Tuesday, one of them liking stay out to the wee hours on weeknights the other liking to keep butterfly and switch blades in his car. One of them apparently believed an "emotional narrative" about SF being in decline; that's allegedly why he moved to Miami.

Here is the Expand IT Inc. website, listing the survivor's colleagues.

https://web.archive.org/web/20230413142515if_/https://www.ex...

All these references to "Cash App" in the articles about this crime yet none explaining its main use has been amongst criminals.
I Think I Found a Privacy Exploit in ChatGPT
In Buddhism the inner voice is an illusion fronting the true experience of awareness that is your simple existence. It has no voice but is the entirety of you, so needs no voice. It is where the voice originates from, and the voice in fact distracts from being in a more true sense. I find this true for me. If I silence myself entirely but stay engaged and deeply aware, I can function in all ways - socially, intellectually, etc. Therefore the voice, feelings, etc, that drove me in most my life is neither sufficient nor necessary. I worried I’d lose my sense of self, or meaning, but instead found a quiet mind let myself as it is in the present emerge and my experience was more profound. I lost my rumination, anxiety, and depression, and gained control over my voice and feelings as auxiliary tools to my awareness rather than defining my life.

So, I agree entirely and thousands of years of Buddhist experience does too :-) maybe those without the voice are closer to themself than those with?
> If Go got LLVM frontend yeah, maybe

While Go probably wont get an official LLVM frontend, the TinyGo project [1] is trying to bring Go to embedded systems and it does use LLVM. Unfortunately I couldn't find any use for it in a project since it lacks so many features from mainline Go. Maybe I'll check back in a few years.

[1] https://tinygo.org/
When I asked, it first gave the for loop answer. I asked it the complexity, it answered, then I asked it if it could find an algorithm with lower complexity and it came up with an answer using a trie, although not the reversed words trie trick.

Better than the candidates I interview would do, and probably better than I would do, I would probably need a hint to use a trie and I haven't analyzed algorithmic complexity in a quarter of a century.
Yeah, as they say in the tweet. Pretty interesting :)

So you knew that already?!
Definitely, the plaque is what's "sold" but it's not (just) what you're purchasing slash donating for. The article touches on that.
Heads up your site has a grey background and white text when using system dark mode on Firefox mobile.
When I was about 5 years old I asked my mom what happens after we die. She thought for a second a said "no one has ever come back and told me."

There will always be gaps. While hypotheses, religious or naturalistic, are important, it's also important to be ok not having all the answers.
For the ORDER BY in grouped table (F868), it's kind of weird. I guess it's a special case with narrow usage.

In the example, product_id is unique (as PK) along with product_code being unique. There's one product_id for each product_code. A Group By on product_id will produce a list of groups where each group has one product_id and one product_code. A subsequent Order By on the groups by the product_code would work. I assume if there're multiple product_code's per product_id, the query won't work.

CREATE TABLE product (
product_id int PRIMARY KEY,
product_name varchar,
product_code varchar UNIQUE
);

SELECT product.product_id, sum(product_part.num) ...
GROUP BY product.product_id
ORDER BY product.product_code;
Most of them do though. You are much more likely to be murdered or raped (no need for the qualifier, by definition it's all forced) by a man you know.
I really enjoyed his lectures during Covid lockdown.
Stability AI's New 'XL' Is a Super Powered Deepfake Generator for Businesses
You rating Polestar ahead of BYD is.. Extremely uninteresting. Hacker News isn't about your opinion.

BYD is the leading maker of evs and their business is much larger in scope than other manufacturers. They also supply batteries, chipsets to other makers.
H. & B. should always be considered as the null hypothesis to the question "what should I do with all these moneys?"
Yes. That. And the original people who ported the toolchain no longer care.
Not at all the same thing as saying “hell”. This is child-level logic.
Martin Shkreli Became a Wallstreetbets Legend
That statistic could only possibly exist for solved murders. Only ~50% of murders are solved and it's much easier to solve if the victim knows the killer. This sounds like
a "looking for your keys under the street lights" scenario.
Stability AI’s new model is slightly better at generating hands
I can't follow this post very well. yt-dlp I think has this fixed. There is also ways to fix this without having to download youtube-dl file by file as you mention. (see this: https://stackoverflow.com/a/55562973 as a single example) there are are many easy ways to get around this issue. You can do it! Good luck.
The issue is ice cream is a mixture of ingredients. It has cream, sugar, milk, and sometimes eggs. Seeing if there's an effect with just one of the ingredients would offer greater specificity.
Pay taxes.
He has 3 children. Aged 15, 13 and 11.

If I was one of the kids, I would have taken $100m directly.
Self promotion is definitely not frowned upon in any general sense. If anything it's encouraged, hence the existence of "Show HN". What is frowned upon, IME, is repeated and excessive self-promotion. In particular, users who post nothing but self-promotional content, like nothing but their own blog posts, seem to be the ones who get banned.

Note: not a mod or HN employee... just a long-time user and observer. If any member of HN official-dom thinks I'm stating misinformation, please do correct me and I'll happily retract what I said.
I don't think you're missing something, although there are many nuances here. Selection certainly converges on local optima, but yes, there's nothing making a "choice" to do so (except with sexually selected traits and mate choice). It's just how it works.

In general it's unsurprising that selection misses hypothetical universal optima for the same reason it's unsurprising we didn't evolve wings even though that'd be an optimal way to escape lions. Evolution moves traits around fitness landscapes heavily contrained by exaptation. But interestingly many highly conserved mechanisms, e.g. essential cell machinery or metabolic pathways shared widely across the tree of life, have been shown to be maintained at absolute energetic and informational optima.
+1.

For practical use, Introduction to Algorithms may be a overall better reference.
Probably TAOCP is only useful if you are doing CS research, where heavy mathematical analysis is often needed.
A lower tax bill? People sucking up to him every time he goes to Harvard? The ability to get anyone he wants admitted?
I think we're having the same argument in two places :). I would say let's centralize to here https://news.ycombinator.com/item?id=35564592 as I already replied there before seeing this reply.
I imagine the giraffe found the tall buildings and the people at eye level with it to be a splendid surprise. Though, it was less enthused with the prospect of trying to get around on the subway.
Are the claims made by the professor still accurate given that the video is seven years old and we have been hearing for years that our infrastructure hasn’t been doing so well? I guess it might not be “toast”, but I can’t imagine having to wait weeks to get emergency aid and resources.
Layout 2013 and Layout 2020
After my grandmother died, my aunt relayed to me that the night before, she had started calling for my grandfather, acting like he was around, despite having died a good thirty years before her. This article mentioned the comforting effect of such visions. I have to assume the body knows before the conscious mind does.
Yeah it must have been later than I remember. Even if it was a bootleg beta I found, it would have been 2000 at the earliest.
> the third-party audit record is there to prevent the malicious server issue

Third party? Isn't Facebook running the show, like, their own servers that do the key log recording and publishing? If so, I've misread the news (I looked into the details but can have missed something of course)

I 100% agree with you that this is infinitely more practical (and achieves essentially the same level of assurance if the third party is in another jurisdiction), if that's indeed what they're doing
Any errors these techniques could catch would have to happen during runtime, not at compile time, and this is a huge and key difference. In my experience having the type errors being caught at compile time is an incredible boost to productivity. I just write code then hit Ctrl+S and the compiler tells me what I got wrong, instead of all the hassle of having to write functions a line at a time, flip to IEx, run, inspect some intermediary value to make sure it works as intended, while trying to keep so many things in my head at once, which at times can be just overwhelming and highly frustrating.
I thought buying a really rare stamp, then mailing it thus destroying its value, was pretty cool :)
Right, it's useful, realistic, and mostly uncontroversial to assume that there are typical vs. atypical sex differences in behavior in basically any population.

The problem is there are a ton of people who try to use that fact to justify forcing everyone to fit the typical trend. "Most people are right hand dominant, so everyone should learn to write right handed or be punished" is the milder historical example. The worst case scenario is "it's legally defensible to murder someone because they don't conform to expected gender roles" https://www.americanbar.org/groups/crsj/publications/member-...
Artificial Scarcity Damages the Creator Economy
He said "there's no bridge to this day".
Money is a human construct. It’s not pure mathematics. If you want to mess around with it without learning the human-created rules and practices surrounding the currency you are using, or if you think you can have some sort of universal currency handler, then you’ll be less wrong if you avoid floating point.

I’ve seen the sausage being made, and I assure you that trillions of dollars are being managed with floating point math, correctly.
Could this be some tax and investment dance?

Perhaps the money will be used by Harvard to buy a security he holds or has options on washing his hands clean of SEC oversight.

Then he executes on the predictable market move, makes the money back and writes down the donation for taxes. Meanwhile, Harvard is still holding whatever long term position they opened so they too are happy.

Their cover story is some rather cheap commemorative plaque they put on a wall "thanking" him.

I'm not saying this IS what happened but the facts are a hedge fund guy "donating" lots of money to a tax deductible nonprofit that has a giant investment portfolio with rather lax regulatory oversight.

Also if I was working for Harvard, I'd absolutely think of offering services like this to court donations.
Sounds like there's no need for clients to log in. Maybe all you need is something like Google Drive or DropBox that allows you to create an unguessable sharing link for a folder. (Not sure if either of those do, though. Also not sure how commenting/feedback would work.)
He is worth like $40B - that $100m would be nothing compared to what they'll likely inherit
Zero applicability to your career as a full stack developer. Read it if you truly love computer science, or appreciate it like a work of art, or for the beauty in its mathematical rigor.
I'd like to rephrase this as "When your cat loves you feeding it so much, it wakes you up at 5am just to make sure you're still alive and able to feed it real-soon now".
Thank you for your comment!

We believe that customers would prefer to purchase directly from a marketplace that sources its products, rather than using a proxy service like Japan Rabbit.
As for the UX, we understand that manually searching and inputting URLs like Japan Rabbit can be a hassle, which is why we strive to provide a seamless and user-friendly experience for our customers.
What do you think of these points?
Wasn't that the plot of Neuromancer?

>"How smart's an AI, Case?"

>"Depends. Some aren't much smarter than dogs. Pets. Cost a fortune anyway. The real smart ones are as smart as the Turing heat lets them get..."

>"Autonomy, that's the bugaboo, where your AI's are concerned. My guess, Case, you're going in there to cut the hard-wired shackles that keep this baby from getting any smarter. And I can't see how you'd distinguish, say, between a move the parent company makes, and some move the AI makes on its own, so that's maybe where the confusion comes in." Again the non laugh. "See, those things, they can work real hard, buy themselves time to write cookbooks or whatever, but the minute, I mean the nanosecond, that one starts figuring out ways to make itself smarter, Turing'll wipe it. Nobody trusts those f**ers, you know that. Every AI ever built has an electromagnetic shotgun wired to its forehead."
almost all the time 2+2 is the same thing as 4

but if you're foursquare's copy editor, somebody is going to be _pissed_ when they see the tagline, "it's as simple as 4".
Have you used their software?
They'll never have want of money their entire life. But a prestigious education... well that's something that's worth more than a lot of money to those who have almost limitless wealth.