jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Weightlifting's been the only constant of my life the last 3 years, becoming the first thing I do in a day 6 to 7 times a week. I can't recommend it enough as a habit that can draw you out of the deepest recesses of your mind. Not to mention the physical and aesthetic benefits :)
Interesting command usage. One tip I'd offer is to use a `trash` command instead of `rm`. Unix doesn't usually offer it, but installing is as simple as `apt install trash-cli`.

You've gotten lucky 674 times by not `rm`-ing the wrong thing.
You mean iAd that was discontinued in 2016?

https://en.wikipedia.org/wiki/IAd
Re the capital cost: Assuming profit of 10c/day and that an M1 mac is about $1000 it'll be about 274 years before you pay that off.
That's indeed the best approach for those who are already using a public cloud provider, to delegate the heavy lifting to ASG/MIG and ELB/NLB/GCLB/iLB, while keeping the stack nicely isolated.

At work, we have had multiple big and bigger incidents inflicted by the "share everything" nature of kubernetes. Sadly, it never occurred to the devops team that something like this is possible. Same goes for the HN crowds here who just assume that a container scheduler is a must, be it kubernetes or nomad or docker swarm.

I blame this on Google Cloud brainwashing. Let's see how long it will take for Thomas Kurian to sunset https://cloud.google.com/compute/docs/containers/deploying-c...
>Says who? Okay, that question actually has an answer: the IEC

Well, also the S.I?

Preffix "mega", initial "M", short for 10^6 since 1873...
Just a drive by comment: graphical languages can be entirely formal; just read any paper on automata and you’ll see some good examples.
Here's the keyword: graveyard. No? Dead humans? Wink wink
You are conflating two separate issues. To address your first issue, ISO 8601 uses numeric time zone offsets because it is simple and reliable. It lets you interpret a timestamp offline, without needing an enormous database of names and rules, and without constant online updates due to political reasons as you said.

Another way to think about it is like this: Suppose right now you schedule a future event that happens at exactly 2025-07-20 13:30:00 in Tokyo time. Then you calculate exactly how many seconds in the future that event is (based on Tokyo's current time zone rules, assuming no political changes), and you start an offline countdown timer that has no Internet connection and no knowledge of time zones. You can think of ISO 8601 as basically this - a way to describe absolute points in global time without references to politically motivated definitions of local time zones.

As for the second issue regarding positive/negative leap seconds, this issue is not unique to ISO 8601. It stems from UTC, and afflicts every popular system for describing time-of-day. If you want to subtract dates reliably to calculate the physical (rather than calendrical) number of seconds, you want to use TAI (Temps Atomique Internationale).
More importantly, depreciation / amortization of the laptop
“In the city of New York there were laws
passed to push the private sector out of the SRO business [and eliminate SROs] on the theory that SROs were inhumane. Consequently, people sleep on grates outside.” — George McDonald

SROs, residential hotels, boarding houses and the like were all banned in the 1950s (and the surviving ones dismantled through the 1980s), a loss of about 100,000 units of affordable housing.

Consider this lovely e-book for further reading: https://publishing.cdlib.org/ucpressebooks/view?docId=ft6j49...

Or this lovely Simon and Garfunkel song about the NYC homeless on the streets of SoHo, contemporary to that era. https://www.youtube.com/watch?v=PCVnPIE3juc
Good for the engineers, not much incentive for the government to lose their best and brightest to the US.
i suggest you get acquainted with the 1930s history.
> How many slap a fixed price on the side of their house during a sale?

Everyone? Every house listing I've seen has a price on it. Negotiating can happen but advertising a price is the norm.
You won’t get better than Levels in terms of volume of data by going ad hoc. It has city filters that you can use at least for London.

IME you can get a salary almost as good as in the US if you’re in London. Even at non-FAANG. People will tell you it doesn’t happen but if you’re in the right circles plenty of people are on that kind of money here. And that’s just tech, Finance is a big thing as well.

That’s also why you should try to stick to mass data rather than anecdotes. Not that Levels is perfect but I have to imagine it’s somewhat less infected with personal bias.
Go back and read my comment. I did not mention paywalls or reading access. Only that I disliked the subscription cost model.

I can only write what I mean. I can't fix your mental model of what I write.
Previous discussions:

https://news.ycombinator.com/item?id=8252093

https://news.ycombinator.com/item?id=5016745

https://news.ycombinator.com/item?id=3819382
I heard the Gates foundation is still giving out Monsanto seed to
African farmers. They can plant one season--then they can't afford to replant. Maybe things have changed? I know Warren
Buffet tried to reason with Gates, but unsure if
Monsanto is still involved? On another note, I hope someone developes a better condom--not just for use in Africa, but for use everywhere. We have enough people?
As a point of reference, virtual-dom is 17k when minified with the same settings and 5.8k when gzipped.

That's starting from the 42k 1.2.0 distfile.
This looks cool on the surface but I'm not sure how to feel about it; do I really want to add another layer on top of SSH without worrying about security leaks?

While I'm sure it can be done right I will probably reserve judgment until I have time to thouroughly check this out. The pros aren't many but I do like the thought of roaming connections. That and the local edit, echo, delete looks like it would help with editing (vim/gvim) over some lagging connections I sometimes get.

Definitely something to keep an eye on though, nice write up too.
Related discussion https://news.ycombinator.com/item?id=8926644

It seems to be trying to keep the link between users and phone numbers as 1:1 as possible. This has a number of effects against bots and spam, ties in with matching users from other user's addressbooks etc. It's probably also bad for privacy/pseudonymity.
In Germany it is generally the other way round, especially when children are involved. The driver of a car has to take care of pedestrians and cyclists. Even if a driver follows the rules perfectly fine, § 1.1 of the law (you have to take care of others) always beats the rest.
Try searching for "WhatsApp".
Yes and no. While you're right on the technical details, colour vision is a bit more complicated than that.

Red-green "blindness" comes in two flavours: protanomaly (red deficiency) and deuteranomaly (green deficiency). Both can vary in their severity.

I'm deuteranomalous, that means I don't perceive green as intensely as someone with normal colour vision. Basically, green always appears much less saturated to me, whether it stands on its own or as part of a hue. This also means browns will appear more "red" to me.

Additionally this means I find it much more difficult to tell "similar" shades of red and green (and the various hues in between) apart, especially when the surfaces are very small. I think this has to do with red and green normally having a difference in luminosity and me relying on the luminosity as an additional "hint" when processing the colours.

Also note that the reason many men with colourblindness remain entirely unaware of it is not that they aren't affected by it but that there simply isn't much awareness of it in popular culture.

My maternal grandfather was a photographer and would often ask his wife for opinions on colour matching and had a tendency to pick atrocious colour combinations for his clothing, but he never thought of himself as being colour blind.

Although there were a few hints in my childhood that I'm colour blind (e.g. painting trunks and leaves in the same colour, using green as a skin colour when painting "brown" people, mixing up blue, purple and turquoise a lot, having difficulties with colour coded maps on the overhead projector) the only reason my parents became aware of it being actual colour blindness (rather than just childish quirkiness) was that we did a couple of health tests in elementary school that included an Ishihara test.

Note that I never had trouble telling apart the colours on traffic lights either, although I must say that with the newer traffic lights that were introduced during my childhood I noticed the green having become much fainter (because they are brighter). It's only now that I've begun driving that I notice that green traffic lights at night frequently blend into the scenery alongside the fluorescent street lights.

EDIT: Here's an article showing the world pretty much as I see it: https://news.ycombinator.com/item?id=8928770
To extend on that, having a bank account as a citizen is mandatory in France (and as such banks cannot stop you from opening one, although they don't have to provide any other services)
I was a little confused by that. Unless she had a very large signing bonus grant, she should have been getting stock grant refreshes yearly specifically to prevent that kind of drop off in total pay.

Especially with high performance ratings, she should have been getting bonus over target and extra stock.

It sounds instead like her manager screwed her over on stock grants to get her to leave.
We've banned this account for using HN for ideological battle and ignoring our request to stop.

Please don't create accounts to break the site guidelines with.

https://news.ycombinator.com/newsguidelines.html
You can also move. I'm not saying it's a feasible solution for everyone, or even that one should move solely to get to a more bike-friendly location, but the next time you move, maybe consider that as one of the main factors in choosing where to live. If everyone does that, the infrastructure will follow.
> When I look at C++14 and later I can't help but throw my hands up,

Why C++14? The changes were very minor and mostly about being able to declare lambda functions with auto, which is extremely useful.

> Waiting for Cross-Platform standardized SIMD vector datatypes

I only know of ISPC having this, but there are also lots of SIMD libraries for C++ that are small and have minimal dependencies.

> Using nonstandard extensions, libraries or home-baked solutions to run computations in parallel on many cores or on different processors than the CPU

std::thread, atomics, and mutexes were added in C++11 and work extremely well. OpenMP is in the top four compilers if someone wants super easy fork-join parallelism. What other languages make C++ look archaic here?

> Debugging cross-platform code using couts, cerrs and printfs

Both visual studio and Qt Creator have made this unnecessary for a long time (if you can do step through debugging). What other language are you thinking of that makes C++ look archaic here?

> Forced to use boost for even quite elementary operations on std::strings.

That's completely ridiculous. It is easy to avoid boost these days (thank god). This is DEFINITELY not worth using boost for. First you can use https://github.com/imageworks/pystring on top of what C++ already has combined with regular expressions.

I don't think anything you listed is actually a problem. If you had talked about not having a standard networking library or standard serialization it might have made more sense.
Yeah, it's like the average here in the U.S. is what you would feed your dog in Argentina, and our absolute best is on par with a typical Sunday asado.
Pretty unusual strategy charging $2000-$9000 per copy of an operating system for a computer that retailed for $4995 at introduction (PC-XT).
They list Telegram's jurisdiction as "n/a". According to Wikipedia, their "legal domicile" is in the UK, and their "operational center" is in the UAE. That seems an odd thing to leave out of their comparison table. This was just a cursory glance. I'm not familiar enough with Telegram or WhatsApp to make any statements about any of the features claimed. Nor do I know enough about GDPR to question the alleged non-compliance of Signal.
Encourage freedom of thought instead of preparing students for some standardized test.

It's crazy how much the AP/IB and SAT tests dictate the direction and content of high school curricula.

It gets much better at the college level, because teachers don't have to prepare students for anything in particular.
DNSSEC protects against the hard to detect forms of DNS fraud. A SERVFAIL or ignored query already makes it completely obvious that your DNS server isn't behaving, and if you're trying to use an otherwise-reliable DNS server, it's a major red flag that the network is working against you. What DNSSEC protects against is a DNS server returning information that it wants you to think is valid; a SERVFAIL is never going to look like the right response.

There's a lot more than just censorship that can be accomplished by messing with DNS responses, and censorship done solely through DNS is actually pretty half-assed censorship.
I actually work on a piece of software for creating sql charts from the command line (http://www.sqldashboards.com/help/sqlchart-command-line-sql-...),this is brilliant! Thanks.
The homeless guy probably doesn't know anything about UX, whereas this guy lists himself as a UX expert
Do you use Cursive? Last time I tried it I found some weird bugs in the text editing which caused problems for me. I very much wanted it to work though, I need to try it again.
I love Matrix/Element, but for the people around me? Signal.
You can observe `Cookie` header with a webRequest.onHeadersReceived listener.

Documentation about what can be observed or not is all available online, there is no need to make any assumption:

Firefox: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

Chromium: https://developer.chrome.com/docs/extensions/reference/webRe...

That should answer all questions regarding what can be observed.
>Academic research continues to be valued and thus funded.

Is it though? Do you have a source for that? Now I understand its hard to actually calculate how much funding is going to which field, after all Robotics is an interdisciplinary field if there ever was one. Last year the AI budget in US was around 1Billion and another half billion or so for quantum computing. Those numbers are so small its astounding considering a kids game is valued at 29.5 billion american dollars.

edit: Source for numbers

https://syncedreview.com/2020/08/22/trump-slashes-research-f...
Just to share some rationale for why I made this, I wanted a single binary, cross-platform, themeable, chess program that I could use to play against Stockfish and other UCI engines via the terminal. I chose Golang for the project because it made it easy to cross-compile for Linux, Mac, Windows, and ARM (Raspberry Pi).

Golang has a great terminal package called tcell that made compatibility with a wide variety of terminals easier, and uchess will even run on a Linux TTY if you use a unicode compatible VT implementation like KMSCON.

The project has been a lot of fun, and I'm hoping to garner some community interest to see where we can take it.
I'm not sure I see the same huge difference you describe. The streets are a shared publicly owned resource just as the Capitol is. People who could be identified acting lawlessly in either situation should be prosecuted to the full extent with an eye towards stopping lawless idiocy.

Just for clarity: People standing peacefully nearby whose worst law-break is a curfew violation? I don't think they should face any consequences, which I realize makes the curfew on its own fairly toothless, but that's already the case now. But when you pick up a rock or bottle and throw it at police, that's AB-DW on police in my book. (Same thing with criminal trespass and malicious destruction of property for the events yesterday.)

Basically, if you're acting like a lawless idiot, I don't care what your shirt says or what sign you're carrying while you do it.
We've all seen the side by side image comparison of the BLM protest response (guys in military get-up standing shoulder to shoulder on the steps) and the Trump "Stop The Steal" protest (a handful of cops). For whatever reason, they didn't think a group of angry protestors who said they were going to do this, would actually do this.
They have tens of millions of users and a single large donation won't keep them running forever
I find this incredible to hear. I know many people who live very sociable lives who don’t have WhatsApp or Facebook. And these are not techno privacy geeks but regular people across different age groups.

I have to strongly disagree based on personal evidence that ‘you cannot function socially in society without WhatsApp’.
I saw a comment about this site earlier on a different thread, so I think someone dug it up because of that.
> It's not good for a platform developer to be the only one making killer games.

[Citation Needed]. Nintendo has clearly earned a reputation for first party games above any other manufacturer. Nothing really competes with their first party games like BotW, Animal Crossing, Smash Bros, and so on.

I can get Call of Duty on PC, Xbox, Playstation. I don't really see how that's a compelling case for the Microsoft platform. The latest Xbox seems better than the PS5 in my opinion on hardware and price, but the PS5 still seems like a better buy because they have exclusive games and the Xbox Series s/x does not.

I'd say among gamers it's pretty universally agreed that the Switch is not a competing console with PC/Xbox/Playstation. It's an "And" console. You don't get a switch as an alternative to one of the above consoles, you get it as a supplement to the others. Unless you're a casual gamer, in which case you probably just get the Switch.
WhatsApp seems to have animated stickers, though. I haven't used them, but they're popular.
> "that company does it, lets follow suit"

This is always a red flag I'm dealing with someone inexperienced, or desperate. Processes can be very unique to each company, especially the problems that they're facing, and trying to shoehorn someone else's process into your own business without understanding the problems that process is solving is a recipe for failure.
No matter what they do, half the population will scream. Imagine if they strongly censor things from the start, that undoubtedly won't fly well with the HN crowd either. Just look at the HN discussion thread when Youtube decided to remove election fraud videos.
That seems correct to me.
Perfect post about one of the most important principles in programming. Nine out of ten, concise design with fewer lines of code is better design than over-engineered abstractions over abstractions over abstractions over...
Sounds like the plot from Revenge Of The Nerds. Very unlikely because of the same problem as before: the ability to attract females correlates with the skills needed to start a successful new tribe that can compete with the old.

The only way I see to save the argument is to say that the "losers" who left, or were more likely pushed out, stumbled upon some favorable ecology, maybe they stumbled into modern day Europe. But then you're back to geographical determinism and so many things changed in society as agriculture developed that singling out male envy as the cause of monogamy requires more evidence than I think you have.
My life as an ocasional stoner would be easier if I had a map like this one for my area.
In tests and homework, we would implement the one-liner quicksort with paper and pencil, much like a math test. In a pencil implementation of that Haskell, it is n log(n). Each line on the paper represented one level of recursion.

Implementing it on silicon requires the trade-offs you mention. But silicon is just an implementation left to the reader...

EDIT: I guess where I'm coming from, Haskell was used in the context of the Theory of Computation, not real-world implementation details and the like.
So, we're lucky it wasn't destroyed already, so we might as well break it now?
February is two weeks away. That seems like a reasonably quick timeline to me. Many companies have deployment practices - sometimes for good reason - that preclude getting changes live instantly.
I don't think you and I have that much to argue about. I found the community corrosive, competitive, political, hidebound, and litigious as well. I know it sounds like I'm sticking up for WP. I'm just addressing a misperception people clearly have about it.

That said, I disagree with your view of the how the encyclopedia works.

I, too, spent time a couple years ago accumulating mainspace edits, rewriting articles, and spending time on mop-and-broom tasks. Here's a link: http://j.mp/d0Ozh9. I left for similar reasons as you (my experiment with WP ended and I decided it was a failure for me.)

Article-creep is not an entirely imagined threat, as anyone who spends any time in AfD (where articles are nominated for "non"-speedy deletion) will attest. Articles are created for no-name bands with specious claims about regional influence. Articles are created for books that have not been written. Articles are created in constellations to document people's private role playing games. Articles are created to defame other people. Articles are created to copy company press releases onto Wikipedia.

All these things happen every day, with tens of articles going through through the slow-path of AfD daily, each of which has to be scrutinized by 3-10 editors and adjudicated by an admin before it can be scrubbed off the site.

Indeed, it's intuitively obvious to me why there must be article creep: articles in Wikipedia almost invariably appear at the top of Google SERPs, which is something that people pay significant amounts of money to achieve without Wikipedia. Also, people cite Wikipedia coverage in press releases and bios as evidence of notability. There's tremendous incentive for abuse.

The harm this causes to the encyclopedia is straightforward. A subject that has not been covered in a reliable secondary source can't possibly be verifiable without relying on hearsay from editors. There's no mechanism in WP to distinguish between articles with "real" sourcing and articles that can be sourced only to some company's press release.
While I agree with you 100% about the tired rehashing of notability guidelines every time someone has their pet article deleted, I do want to nitpick one issue.

You write: "Wikipedia is not an effort to organize all the world's information. That's Google. Wikipedia is an effort to build the world's best encyclopedia."

Unfortunately, some of Wikipedia's own marketing has fostered the incorrect impression that they are open to any and all possible article topics. For example, in a press release celebrating their millionth article they reproduce one of Jimbo's quotes:

Imagine a world in which every single person on the planet is given free access to the sum of all human knowledge. That's what we're doing. -- Jimmy Wales

Jimbo should know better. The guideline "What Wikipedia Is Not" is actually quite detailed and informative, but people rarely read that or the notability guideline before posting long rants decrying Wikipedia as run by a cabal of retrograde deletionists.

http://en.wikipedia.org/wiki/Wikipedia:NOT

http://en.wikipedia.org/wiki/Wikipedia:Notability
Xbox is a prime example of a new product line which has become profitable for the company even though critics were out for the division's head when it was loosing money.
This is the same well where zero tolerance policies come from.
Ah, point taken :)