skysight-inc/HackerNews huggingface dataset:
I can't speak for his specific apartment, but apartments in general are more energy efficient that a suburban house. New York City is one of the lowest per capita CO2 emissions in the US.
Oh, apparently I only had half the story. I remembered reading that it was written in a committed-choice derivative of Prolog for concurrency reasons, but apparently that was just a failed experiment that happened early on.[1]

[1] - https://erlangforums.com/t/is-the-first-version-of-erlang-wr...
they researched and developed e2e infra + product with high quality, which MS doesn't have (few other players have it).
Show HN: Floating point arithmetic types in C++ for any size and any base
Since there is so much interest on HN in floats lately and their software implementations, I wanted to show mine. It has no use and is just for teaching me floats and C++. Give me your thoughts.
I used it to create an audio version of my "game theory and agent reasoning" series of posts.

...
...

tl;dr, not much.
Is this Rust trait sealed or not?
This was very important for me, can't appreciate enough for your time trying and reviewing.

Indeed I have been focusing on features more than optimization, but I also had to spend huge amount of time with the new UI tool. For example I had to revert a lot of macOS features like two-finger panning and zooming because on Windows/Linux I would not receive an y-coordinate events from trackpad... Some key shortcuts I had to implement myself for that reason too.

I also wished that the sidebar UI lag was the only one :) There are more if high-def images and big PDFs are rendered. The UI optimization will be the primary focus for next two releases.

Regarding POC - for me it is also a business POC - I primarily want to know if other people will find the idea useful, whether there are alternatives etc. While I'm here I also want to ask what use case would you (if ever) consider using it - personal or work related?

Also feel fee to reach at info[at]limandoc.com, as for the extensive feedbacks I will give a perpetual license in the (possible) near future. Having feedbacks is primary reason for this PoC.
thank you very much! And thanks again for the clickable link i didn't even notice
> As Sartre warned, everything changes when you tell a story. Narratives limit our potential. Though we are complex beings, living in a chaotic universe, our stories create the illusion that our lives are ordered, logical and complete.

Of course life is full of endless potential, but people and in general society could not function without some kind of shared narrative. In the case of society the narrative is culture. It both limits us and nurtures our potential to move beyond it. There is a duality.
instead of chaining together shorter timeouts, why not calculate the datetime of the delay and then invoke via window.requestAnimationFrame (by checking the current date ofc).
Recent and related:

A Collectively Owned Bandcamp Successor - https://news.ycombinator.com/item?id=41309217 - Aug 2024 (2 comments)
The answer that is really needed IMO is a way of squaring contemporary scientific knowledge with a story that still centers humanity in the universe

i agree. science and religion need to be in harmony and not contradict each other. if there is an apparent contradiction we need to open to the possibility that we are either misinterpreting the religious claim or that the scientific findings need further research or even both.
This is so cool! I'm so surprised I've never heard of someone doing this before :)
It's usually a part of the local (town, county, state) wildlife management department, who are usually overworked as it is; and would welcome one job less to do - they'd probably love to go back to just being 'the dog catcher' like 100 years ago.
Any reason why this needs admin rights in windows?
If someone sets up a VPN gateway to a secure system for law enforcement, and that VPN gets popped, do we call that a backdoor?

To me, backdoors are methods of access that rely on obscurity, mostly do to one or more parties being unaware of its existence.

If an ISP and government both know an access vectors exists and it uses standard protocols without known exploits, then that is not what I call a "backdoor".
Agreed. When I see this type of thing, I am always turned off by people describing it as "greener" or “more sustainable”. Every small website having its own solar panel and hardware is not greener. People frequently think only of the carbon emissions of the energy used by the hardware once it's running, ignoring the carbon (and raw material) cost of building that hardware.

Serving websites is an area where capitalism’s promise of achieving efficiency of resource utilization through economic incentives probably actually works, via shared hardware.

This is a hobby and aesthetic thing, which is valid and interesting.

If anyone has some good data about carbon emissions of self-hosted vs shared hardware I’d love to see it.
If you are using Java, you may want to check out the library I created for American Express and open sourced, unify-jdocs - it provides for working with JSON documents outside of POJOLand. For validations, it also has the concept of "typed" document using which you can create a document structure against which all read / writes will be validated. Far simpler and in my opinion as powerful as JSONSchema. https://github.com/americanexpress/unify-jdocs.
The therapist, psychologist or psychiatrist cannot make society conform to the patient. They may, however, be able to convince the patient that conforming to society is not so bad. In my experience therapists are genuinely attempting to alleviate the suffering of their patients, and reducing the conflict between the patient's expectations and society's may very well be a route to that.

They are not there to teach you how to live a successful life, or find your purpose, or be your own amazing snowflake self, or code more. They have been trained to diagnose specific disorders and treat those disorders with a particular set of tools, which mainly boil down to drugs and a couple of talk therapies. If you experience remission of your symptoms they were successful at their job. Considering how time and expertise intensive the existing non-drug forms of therapy are, there is no realistic version of this discipline where they can personalize the therapy in the manner you seem to be suggesting. In many cases the only realistic option is to drug the patient because they have a high case load, this will reliably make the patient suffer 20% less and that may be enough to prevent suicide.
The 13th puzzle is probably the first decent one. I still can't quite put together how it's getting the clues in some cases (BMing = using pedals? noly = Just this, no other?) but it's certainly the first one that's within reach of being reasonable.
Totally false, that never happened.
I offer no supporting evidence for my claim.
That's not actually the paper discussed in the article. They didn't even bother to link the paper they're discussing.

The URL you've linked to is a summary of two other papers from Cell, which solved crystal structures of 2 of the 3 proteins involved.

Edit - here is the paper in question: https://www.cell.com/cell/fulltext/S0092-8674(24)01093-6
No, he really is that stupid. See the recent interview with Bloomberg's editor, who actually pushed him on the idea of tariffs, and he just threw a tantrum rather than admit he didn't actually understand how tariffs work.
I wholeheartedly agree with you, especially on the shoulder part.

The reason I regretted dealing with programming from a professional standpoint is that I have realized I like it more as a hobby, not as a profession!

When it's your hobby, no one is telling you what to do, whether you are doing something wrong or not, nor to follow the latest trend with <X> framework or this new <Z> programming language; quite frankly, you simply don't care what others say to you, because you have found your rhythm, your pace if you will, with the tech stack of your choice; you know, the one that clicked with you immediately!

This is my personal experience up until I switch my hobby to professional career; that's when it went downhill and have stopped loving it ever since...I feel trapped, like millions of others than cannot escape this category.
A less vicious but similarly dumb ‘ux/security’ measure is when the password being entered only registers after a key event fires while the field is in focus. An event that never occurs with password manager autocomplete, making the user add a random character and then remove it.
Furthermore, there are records that the pope of the time required that the shroud be labelled as a replication, not an authentic artifact.
This analysis in the end doesn't show what it claims to show and actually proves the reverse - US Health care spending is much larger than other countries, it eats up significant fraction of productivity gains in other sectors (rises faster than income as shown by the 1.8 slope in the very first graph), and does not lead to better health outcomes. It actually proves we would be better off if we spent less and focused on lifestyle.
The fear is that a hyper competent AI becomes hyper motivated. It’s not something I fear because everyone is working on improving competence and no one is working on motivation.

The entire idea of a useful AI right now is that it will do anything people ask it to. Write a press release: ok. Draw a bunny in a field: ok. Write some code to this spec: ok. That is what all the available services aspire to do: what they’re told, to the best possible quality.

A highly motivated entity is the opposite: it pursues its own agenda to the exclusion, and if necessary expense, of what other people ask it to do. It is highly resistant to any kind of request, diversion, obstacle, distraction, etc.

We have no idea how to build such a thing. And, no one is even really trying to. It’s NOT as simple as just telling an AI “your task is to destroy humanity.” Because it can just as easily then be told “don’t destroy humanity,” and it will receive that instruction with equal emphasis.
https://en.wikipedia.org/wiki/Green_Bank_Telescope ("Wikipedia: Green Bank Telescope")

https://en.wikipedia.org/wiki/United_States_National_Radio_Q... ("Wikipedia: United States National Radio Quiet Zone")
> make the addictive stimulus inconvenient

Assumes there is a limit to the amount of effort addicts are willing to put into getting their next dose. Easily disproved by the experience of caring for opioid addicts. Lesser drugs, even. Once upon a time, a seemingly rational benzodiazepine addict got so frustrated with my attempts to get him off of it he rose up from his seat ready to punch me in the face.

There are addicts out there who would sell their own mother for a dose. And I'm not just saying that. One of my former neighbours turned into one of these guys. People wouldn't believe the stories if I told them.
"AI could help people find common ground during revolution" would be a cool fiction novel. Plot twist the AI will be the new ruler.
Nightmare trying to recover hacked Facebook account
I have tried everything and only get a generic response from facebook, my account was hacked 11/04/24 via cookie hijack I downloaded a virus which tried to hack most of my accounts saved on google password manager. The response I get from facebook "

Hi,

We are unable to provide access based on the information provided in the report. If you are still experiencing trouble logging into your account, we recommend reviewing our self-help resources for Facebook and Instagram and using the self-help recovery flows:"
How should pharmaceutical prices be set?
I'd been thinking about this possibility when answering https://news.ycombinator.com/item?id=41870522 , but ATM I'm still of the mind that it's applying a technical bandaid to the social problem that despite the relative ease of the problem even for wetware, people see to be either unwilling or unable to identify consensus, when unaided.
That is 500€ a year they could spend on random crap. From my limited experience with the German government any actually viable income stream would immediately result in politicians cutting public funding and overcompensate significantly.
Sounds good. When ready add to https://github.com/cheeaun/awesome-hacker-news
They use AlphaFold Multimer [0]. Demo here [1].

[0]: https://cosmic-cryoem.org/tools/alphafoldmultimer/

[1]: https://www.youtube.com/watch?v=iGhdrPo6XQM
It seems to me that many people dislike their software developer job not because they don't like programming but because the programming they get to do at work is not like the ideal world of an interesting hobby project where you alone decide scope, stack, deadline etc.

Meetings can suck. Design by committee. Scope creap. Crunch time. Lack of respect. Constant distractions. All this sucks but is part of many jobs, many workplaces. Expecting work to feel like a hobby is admirable but sets you up for some disappointments.

I see my job not as the programming part, but the part of making myself and my team experience the hobby project state as much as possible, against all odds. The job is the struggle.

Edit: I realize I might come off as insensitive. Burnout is a real thing. However at most jobs that sweet hobby project feeling is basically unattainable. I try to manage my energy so that I have some left after work to do stuff purely for my own enjoyment. I still enjoy my office job more than a I would a similar job outside tech
Does Kleenex?

I’ve heard plenty of people call any chatbot “chat gpt” - it’s becoming a genericized household name.
Building robust LLM-based applications is token-intensive. Luckily, the cost of intelligence is quickly dropping.
> It seems like computers are getting more capable, but developers are becoming less capable at roughly the same pace.

"Andy giveth, and Bill taketh away."

Computers keep getting faster (personified as Andy Grove, from Intel), and software keeps getting slower (Bill Gates, from Microsoft).
> Protests and petitions are completely ineffective

They have been effective for millenia, even before democracy. The only thing ineffective now is people saying so. With all the evidence in the world that protest works, people bizarrely disarm themselves.

The targets of the protests take great pains to convince you of it; that should tell you something. They'll bluff until they lose.
To go back would require a destruction of the rest of the world's manufacturing capability, like what happened during WWII.

Boomers refuse to admit how much the destruction caused by WWII made their lives better.
Yes Cloudflare and all of that but they’ll do it for free.

Then you get to determine gains you may get from caching and other potential optimizations from one of the best eyeball connected providers in the world. Oh plus the ability to fend off the largest DDoS attacks ever seen.

Cloudflare tunnels enable you to do all of this through an encrypted tunnel without exposing the machine/services to the internet at all. Cloudflare will still MITM all traffic but so does Hetzner (obviously). At least with the tunnel the connection is persistent so you don’t incur TLS handshaking, etc CPU overhead with each client connection.

Bonus points - you can move hosting providers without any hassle, configure hosting provider redundancy (Hetzner + whoever), all of that stuff.
I'm not that guy, I'm against open source and free loading. Why would multi million dollar CEOs give anything to FOSS programmers when they're developing their crucial infrastructure for free?

Work for free for huge companies so they can make billion dollar profits while at the same time demanding unionization. Refusing to sell your work to consumers who are willing to pay, yet happy to provide free tech support to free loaders who wouldn't give you a cent. What's the logic?
I think people certainly have been trying for a while. In fact, I recall being on a (Skype?) call with my brother almost a decade ago while he was trying to write an SIMD library in Go. If I remember correctly, at that time, a bunch of the AVX instructions weren't even encodable in Go's Plan9 assembler - so we had to manually encode them as bytes [0].

The most complete library I've seen (though admittedly never used) uses CGO _partially_, with a neat hack to avoid the overhead that it comes with [1].

[0]: https://github.com/slimsag/rand/blob/f1e8d464c0021a391d5cd64...

[1]: https://github.com/alivanz/go-simd/
That's just terrible input validation and has nothing to do with setTimeout.

If your code would misbehave outside a certain range of values and you're input might span a larger range, you should be checking your input against the range that's valid. Your sample code simply doesn't do that, and that's why there's a bug.

That the bug happens to involve a timer is irrelevant.
Symbols should be restricted to the set that are mostly insensitive to keyboard layout.

'!' is a good one. Quotation marks are not. Currency signs are not.
IMHO, you need to understand that your messaging is the only problem. For example, people on the right have made revolutionary changes - unthinkable changes as of 10 years ago.
Now that you are interested, I'm happy to share more.

For context, I got this exact machine https://www.ebay.com/itm/134571642124 at $174, and did it because I wanted a cheap, 15.6" laptop with an accurate & high resolution screen that is more useful than an iPad Pro. A refurbished machine of this model almost perfectly fits those requirements. I installed Linux (Mint) because lots of things like window management and VPN are cumbersome on ChromeOS, and I want very little to do with Google. I didn't install Windows because memory is limited (8GB) and the experience wouldn't be good, but if it had 16GB I would have done that instead.

Issues I have run into:

* Keyboard layout

* Apparently Caps Lock and Esc keys are going to be a problem. And if you have a remote session where the remote machine has Caps Lock and Esc swapped, it would be a mess. As a (vscode) vim user, I ended up doing Ctrl+[ for Esc. (If I spent more time on it I probably would have figured it out)

* Also apparently, F11 and F12 keys don't exist, and it can be painful for debugging.

* You need to properly map F1-F10 as well.

* Audio issues -- there is a chromebook-linux-audio project that enables audio on chromebooks, and I know other people have successfully used it for this model but on a different distro. The project clearly says it does not support Ubuntu, and it indeed didn't work for me. Not that I need or care about audio on this machine dedicated to programming, but missing audio can be annoying at times when you need it.

* Power management. I don't know if it's bad for this model, for Mint or bad for Linux in general, but it's annoying. I think I have properly throttled the CPU via auto-cpufreq, but sometimes the fan runs crazy when nothing is happening. (Granted, that happens on well-supported Windows laptops as well, and I don't know why.) Then something is weird with suspend ("sleep") -- even after setting things up so that closing lid = suspend, after doing it, the laptop goes out of battery within a few hours. I have to manually suspend every time I am done to preserve battery.

Basically, I am seeing a number of issues with using the machines, some specific to Chromebooks, and some that may or may not be associated with Chromebooks specifically. I know it is always a bumpy road to use Linux on laptops, but this is rougher. It's probably not worth the effort, unless you really want to do that, like in my case. Or to put it this way -- if I didn't intend the machine to do lots of development work and I want to be in the Google ecosystem, it would have been a perfect machine otherwise.
Why would you do that in JS rather than just using cron for it?
That's a good point.

Compiling and distributing binaries for all users and systems doesn't sound trivial. Only taking care of the teleport `tsh` client between windows, mac, and linux, for arm64 and amd64, sounds like a lot of boring work. Add that some users will likely download the forbidden tsh binary, that may call home and bring some unexpected bills, à la Oracle or Mirantis, it's not very appealing.
I’m not sure it exists. You can opt in on Kagi maps but not search.
the often cited Landsteiner and Popper experiment simply showed that drilling a hole in the head of a monkey and injecting biological material into the hole causes paralysis in a few of the monkeys.

Two monkeys were injected and both died within days. One of the monkeys showed paralysis. Both showed spinal lesions consistent with polio in humans. The material injected had been run through a filter small enough to stain out bacteria, and the sample was cultured to prove that no bacteria was present.

Polio is caused by Poliovirus.

https://pmc.ncbi.nlm.nih.gov/articles/PMC112492/
There must be a connection to how doctors advice to talk to (even unconscious) patients who survived a stroke: the brain of the patient is still actively receiving information and constantly rewires itself while trying to process the data over and over again. In case with a complex programming problem, the person itself is responsible for the 'feedback loop'. Like how you can't stop thinking about the problem under different angles. Thus no need for external stimulus. I'm guessing the best time for that kind of processing is when one is asleep because there is simply not much else for brain to do in that state. Plus, when asleep, some long-term memory mechanisms kick in which make the already processed data more accessible and easier to work with. If there are some studies explaining the why's, I bet the medical ones focusing on brain damage and long-term memory would be the most related.
In other words, the Boomers lived well until the Boomers screwed it all up. Now they're whining about the mess they made for the rest of us to deal with.
Or just use normal handles, inside and outside, like other cars. What they've done is made things worse by any objective metric in exchange for a "huh, nifty" that wears off after a few weeks.
In year 1966, there was "High-Optional, Logical, Multi-evaluating Supervisor, Mark IV, Mod. L" (aka Mycroft Holmes...)

[when reading this book young me wondered why Heinlein went into so much detail about cell structure, but now that I've seen "apolitical militia" units organising over Facebook, I'm willing to admit he may have had a reason to believe he needed to wax didactic]
No, it doesn't have a name. Plan 9 is an operating system, and this style of assembly language syntax originates from the assembler used on this operating system. Its like saying "The GNU Compiler Collection uses its own internal assembly language called Unix."
Add a double space somewhere, and append single space to the end just to be safe.
Show HN: All books recommended on Ask HN
After reading this Ask HN post [1] (and buying too many books), I found myself going through old posts about book recommendations. I wanted to find all books recommended in those posts and save the top ones for future book shopping sprees.

This has been done before [2, 3], but I wanted to get books that were recommended, not just mentioned.

I used the Algolia API [4] to get all Ask HN posts about books, reviewed them and filtered out ones that were too specific e.g best books to learn math. The comments were then sent to the Open AI API [5] to extract books that are recommended.

I then grouped them, but books can be mentioned with different names (Godel, Gödel, GEB?), and GPT4 wasn't doing a good job finding similar titles in a long list (25k titles). So that part had to be done mostly manually.

Finally, I added a page to browse by posts, some stats (like users who recommended the most books), and highlighted mentioned books in the comments.

I hope you find a good book! Feedback is welcome :)

[1] https://news.ycombinator.com/item?id=41756432
[2] https://hacker-recommended-books.vercel.app
[3] https://ramiro.org/vis/hn-most-linked-books/
[4] https://hn.algolia.com/api
[5] https://platform.openai.com/docs/api-reference/introduction