skysight-inc/HackerNews huggingface dataset:
Related:

Things You Should Never Do, Part I - https://news.ycombinator.com/item?id=31122975 - April 2022 (7 comments)

It’s harder to read code than to write it - https://news.ycombinator.com/item?id=31117277 - April 2022 (2 comments)

Things You Should Never Do (2000) - https://news.ycombinator.com/item?id=23725867 - July 2020 (83 comments)

Things You Should Never Do, Part I (2000) - https://news.ycombinator.com/item?id=6327021 - Sept 2013 (154 comments)

Things You Should Never Do, Part I - https://news.ycombinator.com/item?id=3624830 - Feb 2012 (40 comments)

Things You Should Never Do [2000] - https://news.ycombinator.com/item?id=3449953 - Jan 2012 (2 comments)

Things You Should Never Do, Part I - https://news.ycombinator.com/item?id=608431 - May 2009 (40 comments)
Around the turn of the millennium, I had a Logitech keyboard which featured a scroll wheel (and dedicated keys for media control, search and other stuff). I don't recall the model, but you might get lucky on eBay with a bit of searching.

[EDIT: After a bit of research, I found the model: Logitech Internet Navigator Keyboard]
Being wrong and being biased are different. Here the model is clearly wrong, and Google will presumably fix it. It’s not like Google wants to show people black & asian Nazis.
There's an implicit claim here that it's easier to buy a cheap big used vehicle than a cheap small used one. That doesn't seem true, as even now at the height of SUV popularity, most new cars are not SUVs. A significant majority of used cars should therefore be small cars, no?
In French it's "na-na na-na nère"
If it doesn't have the 10-key, then at least put the top number keys in the standard typewriter position. This keyboard has the number keys shifted to the left a bit by about a quarter key width, which will cause errors for touch typists that also touch-type the number keys.
Prebiotically plausible chemoselective pantetheine synthesis in water
Related ongoing thread:

Ask HN: Did you encounter any leap year bugs today? - https://news.ycombinator.com/item?id=39554539 - Feb 2024 (85 comments)
I am gald that in excel, deleting a day from March 1st automatically gives Feb 29 or 28 depending on the year in formula. Before that, I struggled a lot to find last day of month by tracking if its a leap year or not, and keeping an array of months & number of days. Now I simply add 1 to month, and from resulting daye I subtract 1 day. The Date value of that gives me 31 or 30 or 29 or 28.
AMD RX 7900 GRE Review, Nvidia Blackwell [video]
Is it just me that's a bit disappointed with the rate of change of desktop linux? Particularly the UI side of things? I feel like desktop linux is way behind Mac and even Windows in so many ways. Would love to see modern stripped back kde/gnome alternative: less kitchen sink applications, minimalist power user friendly design sense, 1st class tiling window management, keyboard friendly workflow etc.
My Citizen ana-digi-temp from 1985 works perfectly fine and shows Feb 29.... though it thinks it is 1996!
Scheduling is an issue when talent is already committed to other projects.
I’ve also been thinking about this problem for a while. The push model and account portability are definitely the most important dimensions of this issue.

Can’t we just solve this problem with IPFS? And something like DHT tables for protocol-level awareness of state changes?

Your client app would just be responsible for pushing and pinning content to IPFS, scanning state tables for interesting updates, and then sending you push notifications.

Really simple to take your IPFS key with you can switch to a new app.
The screening technique is straightforward and not surprising: They have to filter a few people from possibly hundreds of resumes. They need a way to narrow it down rapidly, even if imperfectly. They don't want to invest time in your resume if even you don't think you qualify.

There's a false negative problem, as in all interviews: interviewing well is a different skill than engineering bottle caps. Still, confident, talented people who are on their toes and accustomed to pressure may respond convincingly. So will con artists and the self-deluding types like megalomaniacs, so there's also a false positive problem ...
Ask HN: What broke on 29th due to a leap day?
Hey,

I was wondering who got today a lesson that is taught every 4 years.

Today my company's timesheet web app was broken and I don't think it is a coincidence.

I also remember when I was in a mobile app project with a nice scrolling calendar in times around iPhone 4. Our manual tester saw that something strange is happening around February. We couldn't understand why it was so junky around a specific date. After a too long day of debugging I learned my lesson while moving everything to Objective C date/time API.
> you pay for the way to Manhattan , eg Holland Tunnel, Midtown Tunnel, GW Bridge, then the extra toll

I believe tolls credit to the charge. So you’re only paying the congestion charge inclusive of any tolls.
People have long scratched their heads trying to understand how life ever got going after the formation of Earth billions of years ago. Now, chemists have partly unlocked the recipe by creating a complex compound essential to all life — in a lab.

https://www.msn.com/en-us/news/technology/ar-BB1j6MH4
Speaking of weird French varieties, the Foreign Legion developed its own idioms and accent, from the wide variety of languages of its soldiers. I don’t have a handy Wiki link, but there are several examples on YouTube.

[edit] having worked there, seeing “Shadock” being used for “Personnel du Commissariat à l'énergie atomique et aux énergies alternatives” really made my day. Now I know how to call former colleagues!
Yes, yes, dm.de

Thanks for the comment :)
This is really cool!

Also the cool thing about using <input type="checkbox"> is that updating the checked status of each input doesn't cause reflow (as far as I can tell according to: https://gist.github.com/paulirish/5d52fb081b3570c81e3a). And using JS to check/uncheck an input doesn't update the DOM. If you inspect the DOM of https://www.bryanbraun.com/checkboxland/ you see absolutely nothing changing as all of the animations are running. That helps keep things speedy.
Then I guess we have to question why those .01% of transactions need human intervention at all. It seem like .01% of requests to Google Search don't need human interaction, why does money, now that it's mostly just an entry in a database somewhere (or on its way to be)? If it's a matter of approvals, then those should be codified in rules that can be expressed in code. That may be difficult for laws, the general refrain being 'laws aren't code', but money transfer is just a list of rules, transactions, settlement dates and so on.
> Is Stripe revealing this address to customers?

One needs to assume that policies can always change. I don't know if they are revealing the addresses today, but once they have them, they may well start revealing them next month.

Or they may have a data breach that just leaks everything.
technological progress to that extent is touching ethical issues.. what are we supposed to do if our existence don't depend on us learning / collaborating ?
Been using it for 4 or 5 years now.
I really enjoyed the first Dune movie by Villenueve and decided to read Dune for the first time in anticipation the second movie.

Reading the book, I was surprised by the focus on mysticism and Islamic references, which were only a minor background element in the first movie. I do think the religious elements add depth to the story beyond the typical SciFi space opera and is a likely a strong contributing factor to Dune's enduring cultural impact. It's unfortunate the movies shied away from those references despite the potential consternation it may have stirred up.

For those that have recently read the book, this article by Harris Durrani on the probable influence of muslim theological development on Frank Herbert's Dune world is engrossing.

https://reactormag.com/the-muslimness-of-dune-a-close-readin...
Yup, all our rolling-year calculations failed because you can't have 29 Feb 2023!
Even if it were just ornament, it still should have been included. Ornament is aesthetics, it's beautiful. Their reasoning is bullshit.

The director omitted those things not as an artistic decision, but because of his and his group's modern political dogmas.
New Iron Ore Line Derailment: Cannot Rule Out Sabotage
Usually it's not that bad. But those times when a 12 slot charging spot is almost filled by 4 or 5 vehicles is so frustrating.
Still no GPU support. They are nowhere near a MVP.
Bipartite buffers are amazing and criminally underused. For those looking for C and C++ implementations you can check out my libraries: lfbb and lockfee: https://github.com/DNedic/lfbb, https://github.com/DNedic/lockfree (although lockfree contains more data structures as well)
Liquid-Phase Selective Oxidation of Methane to Methane Oxygenates
>Did Herbert have a plan for this combo, or was he just making up some future backstory?

It has been a very long time since I read all the novels so I can't recall all the details. It is a major plot point in book 5 "Heretics of Dune" zensunni leads to the alliance between the Bene Gesserit and the Tleilaxian's. The Tleilaxu follow a strict interpretation of the religion in secret and during a meeting between the faction leaders one of the reverend mothers is able to deduce this from their speech patterns and manipulate them into an alliance which has some ramifications.

Considering the Tleilaxu aren't introduced until book 2 (I think) I assume it was planned out ahead of time by Herbert.
A Positive Gamedev Subreddit
I’m a happy Gnome user.
Those are the two it is limited to, which should dissapoint any NDP voter becuase the resolution that was passed at the convention was universal coverage or no cooperation and Jagmeet just ignored that to prop up the corrupt liberals.
> Since you seem to be very good at c++, can you point to a "significantly higher quality" c++ projects please?

Not the parent commenter, but there are quite a few very high-quality C++ projects out there.

- LLVM

- KDE projects

- CMake

- Node.js

- OpenJDK
Yes, it feels like all the greats of our industry have mostly faded into the background. Sad.
>I think their impact on code history is negligible in the case of every legacy system I've worked on. The code history just isn't there.

Not sure if I agree here or not - whilst yes, the history isn't there, if it's a small enough team you'll have a good guess at who wrote it.

Definitely found I've learnt the style of colleages so know who to ask just from the code outline.
In a lower reply of mine, I still have to ask why this is the case. If it's that big of a thing, then there should be rules defined to catch things. We have exception handlers for code and steps that go awry, why not the same for money, so the rest of the money flow can keep going, and only the weird things need to be checked out (and further rules then be refined).
There is quadratic circuits used in Zero Knowledge Proofs, and there is shamir secret sharing, which uses arbitrary degree polynomials.

In general though, cryptography will use polynomials over finite fields. That is very different from these fractals which work on infinite sets that require infinite precision.
Gusto paycheck didn't come in until a lot later than usual... thought this might have been my last day on the job for a little bit, didn't help that my manager and I's one on one was my first meeting of the day heh.
I got shocked in the bathtub so you don't have to
Compact is kinda frustrating, for years I used a full size board and finally swapped to a 60%. Even though you can remap keys, it's pretty annoying compared to my last setup.
Wow! Impressive! At first I thought it was just pretty cool. And then I saw you're doing it on a NES game. Bravo.
Great advice. Almost all of it applies to any programming language.
IMVHO:

- all distributed solutions show too much overhead to perform well for casual users, some (now abandoned) like ZeroNet was performant enough for some personal blog hosting, but barely and still no "indexing" solution stable enough;

- classic decentralized social like Usenet seems to be abandoned by most people (except for commercial piracy) so well, most people do not really care enough to take this root if they do not feel something at hand immediately...

Long story short: we "just" need IPv6 with a global per host AND a "family" domain name (with all relevant subdomains) per home, a homeserver (like common domestic "routers", just a bit more open/powerful in hw terms) and that's do the base to rebuild "the internet" with a connected desktop model where we no not need third parties or a VPS to traverse NAT, where we do not have to deal with strange long IDs instead of something like phone.bill.myfriendfamily.tld to make an IP2IP audio/video call and so on.

All other approaches ESPECIALLY those who try to mimic big platforms will fails.
>In Andrea's implementation of the lock-free ring-buffer, spsc-bip-buffer, some of the orderings are relaxed for performance. This has the downside that it can introduce subtle concurrency bugs that may only show up on some platform (ARM, for example): to be a bit more confident that everything's still fine, Andrea's has continous integation tests both on x86 and ARM.

It might be worth testing/forking the library to test on Loom (https://github.com/tokio-rs/loom), which can model atomic orderings and check for concurrency errors to some degree (though I last used it years ago). TSAN might be able to check for ordering errors in visited execution traces (though I haven't tried using it in the past).
In primary school they banned marbles because they would cause conflict. They also banned other things (cards? I forget) for the same reason.

How on earth will children learn to deal with and solve conflicts if conflict is banned??
A better way of framing this is that the vast majority of people care about themselves and their health.

There's about the same number if not slightly more regular smokers.
That used to be normal in the US, nowadays most pumps are automated.

You can fill up 24/7, even if the store is closed.
No, the person you're responding to was correct. Facebook has over 2 billion daily active users [1], and DAU refers to unique users who used the product in a day [2].

1: https://www.statista.com/statistics/346167/facebook-global-d...

2: https://www.innertrends.com/blog/active-users-measuring-busi...
But it would be more romantic. I was struck by how much a lot of English people really want to feel like Vikings. French people tent to be looked down upon, or considered as weird eccentrics. Some people really don’t want to realise how close the English and French cultures are in actual truth.
Have you tried navigating the website using a web proxy (Charles, Burp Suite, or similar tool) to intercept the HTTP request(s) in order to replay them yourself multiple times to see if the latency is consistent? It’d be interesting to discover that the delay is fabricated using the front-end code or if the back-end server is really the problem. I don’t use Facebook but I asked a friend just now and the response time for the notifications panel to appear is between 500ms-2000ms, which is relatively fast for web interactions.
You ever been to a fast food place in the U.S? They have ketchup dispensers.
Were you born on the day after Feb 28 or the day before Mar 1? ;)
Okay, just create an iOS application.
The proposed rule would add a 100% tariff to Chinese cars built in Mexico. Would totally break Trump's USMCA, but...
> GPT-Generated Unified Format

GG is Georgi Gerganov
What happens in a situation like this? Does the staff issue physical keys? Do the doors even have manual locks? Do the staff walk every body to their room?
I always thought it was easier to read code than to write it.
I was responding to the claim about the Samsung Watch not showing the right date, I unfortunately have never owned the older kinds of "smartwatches" :)
Meh. I rewrilote our backend in about 3 month, and in the end of rewriting another service. All good so far!

Sometimes stuff is broken so badly you better start over
Nvidia GeForce RTX 5090 could be up to 70% faster than the 4090
> So what do I recommend? Well, the good old git submodules and compiling from source approach.=

It is strange that the author complains so much about automating BOMs, package versioning, dependency sources, etc, and then proceeds to suggest git submodules as superior to package managers.

The author needs to try vcpkg before making these criticisms; almost all of these are straightforwardly satisfied with vcpkg, barring a few sharp edges (updating dependencies is a little harder than with git submodules, but that's IMO a feature and not a bug—dependencies are built in individual sandboxes which are then installed to a specified directory. vcpkg can set internal repositories as the registry instead of the official one, thus maintaining the 'vendored in' aspect. vcpkg can chainload toolchains to compile everything with a fixed set of flags, and allows users to specify per-port customisations.

These are useful abstractions and it's why package managers are so popular, rather than having everyone deal with veritable bedsheets' worth of strings containing compile flags, macros, warnings, etc.
If anything I think it would go in the opposite direction, freeing people to do things on their own time, and not the banks'. Available when when people need them to be, not when the institutions want to be, but that would require effort on their part and maybe cost them a few basis points in profit.
Well actually seems like Allen Newell, Cliff Shaw, and Herbert A. Simon need to enter the chat

> Information Processing Language was the first AI language, from 1955 or 1956, and already included many of the concepts, such as list-processing and recursion, which came to be used in Lisp.

https://en.wikipedia.org/wiki/Lisp_(programming_language)#Hi...
This is more like a modern day Daniel Webster trying to rationalize spelling by fixing auto correct. There'd be a million instances we'd laugh at - what is this "jail" business - some we'd think were reasonable but eventually we'd just go along with them all because why not?

The idea of asking for an image a Confederate battalion and getting a Benetton ad is a joke to most people but there's some minority who won't get what's funny about it. The longer this keeps up the fewer people will get the joke.

If you ever see pictures of how people in the middle ages drew things in the classical age you can get a feel for - they just drew pictures of everyone as if they were contemporaneous.

The question in my mind is if abusing the truth like this is a greater harm then the benefit that comes from winning this political argument. It's like something out of 1984 I know but ... what if it is _really_ is a good thing?

I feel like it's something out of fiction you know? Like The Ones Who Walk Away from Omelas - you can have a perfect society that just depend about telling this one set of lies. Or ... there was some other sci-fi story where it turned out that the previous generation had committed genocide and then covered it up by a sort of consensus of silence and shame.

Realistically it's a fool's way around whatever problems we have. I can't any good comes out of telling yourself a lie. Plus it will and would never work. But still. You have to wonder...
Used Enlightenment as daily driver for about 3 years. Overall it was nice, but I eventually gave up on it after trying to configure things outside the typical GUI-based options. The config documentation [0] takes too much time to understand. Eventually moved to AwesomeWM on X11, then to KDE, then to Gnome / Wayland.

[0] http://www.enlightenment.org/docs/start
I'm an American and the best I could answer for that is "on the baseball field." I know it is a baseball position. Many other countries play baseball too. (Looked it up, oh I remember now, but wouldn't have been able to answer on demand.)

Wikipedia tells me "baseball is considered the most popular sport in parts of Central and South America, the Caribbean, and East Asia, particularly in Japan, South Korea, and Taiwan. "

I don't think there is such a shibboleth with both good precision and recall. American culture is exported around the world, but also is no longer a monoculture with only 3 broadcast networks. Any shibboleth that is ubiquitous enough in the US will be exported globally. Any part of US culture that is not global probably isn't as universal in the US.

Even basic US civics (which would be known by more educated people globally) is far from universal: Only 77% of Americans can link the first amendment to freedom of speech and only 83% can name even one of the three branches of the federal government. And that's of the population of Americans who agree to take a university run political knowledge survey (https://www.annenbergpublicpolicycenter.org/political-commun...)
I’ve driven in the US and the UK (among other countries) and haven’t paid before filling up in either. Is this a result of paying with cash or other non-card methods, as pumps in the US seem to require inserting the card first probably as an authorisation?

I also don’t drive that much these days so may be misremembering things. The only issue I had with payments was in a station in a small town in Italy which refused to accept most foreign cards (ant least based on other people around me also struggling) and was the automated no-human type of station so there wasn’t an easy solution.
Even if you had the answer to that question, I think it should not soothe your atheism/creationism concerns. The bigger question would still remain on why anything exists at all.
> but money transfer is just a list of rules, transactions, settlement dates and so on.

Never worked with financial transactions but I have a feeling what you said qualifies as 'famous last words'.
What, not Conway's game of life made out of checkboxes?
Paul was trying to avoid the Jihad too. It was a fairly major plot point.
This is why -365 days can be better than -1y.
This is another reason why you should track important information in comments alongside the code instead of trusting VCS to preserve it in logs/commit messages, and to reject weird code missing comments from being merged.

Not saying that fixes decades of cruft because you shouldn't change files without good reason and non-white space formatting is not a good reason, but I'm mentioning it because I've seen people naively belief bullshit like "code is self explanatory" and "the reason is in the commit message"

Just comment your code folks, this becomes less of a problem
nothing's stopping you swapping your share certificates with some random guy in a dark alley for cash/candy/... at 3am on a Saturday

if you want to do it on NASDAQ/NYSE/... then those businesses have decided they only want to operate certain hours

> Imagine not being able to send E-mail on Easter because nobody at your ISP was there to push bits around

emails stuck in a transfer queue somewhere is not exactly a rare occurrence
> I don't think society needs public, or at least public by default, social media. This is even more true now in the age of LLMs and mass data harvesting.
Depends on your definition of “social media.” Is a message board / forum considered social media? Because while they can be problematic, they’re still extremely useful. It would be interesting to think about decentralized Reddit and why lemmy is going nowhere.
No problem; my home is my office.
I clicked thru to the article specifically to see if he had conway's game of life.
Moving bank/festive holidays, first Monday of the year(, first work day of the year not Monday if that's NYD and bank holiday), lunar occasions.

'subtract a year' is imprecise and has many meanings, if what you want is 'same day, same month, previous year' then say that and do that, that's conceptually `date.year -= 1` not `date -= 1 year`, and will have this bug.