skysight-inc/HackerNews huggingface dataset:
The one I cooked up was used to test some kind of game solver, so a 'large set' and it happily beat std::unordered_map, was a tiny bit slower than a Google hash map implementation.

But I do believe in edge cases, I'm sure there are some pathological edge cases (that don't usually matter, but deserve consideration).

I'm interested to know what 'way more features' are for hash maps/sets, because AFAIK C++ just supports the basic features you'd expect of the abstract data structure of a "map" with the algorithmic guarantees you'd expect from a hashmap.

And nothing I did was aimed at 'specific hardware' other than it vaguely benefitted from memory locality / avoiding thrashing the cache.
Companies have policies for software security. Industries have regulations.
> management loves [overly complex solutions], because it creates "work" for the sake of it, but it doesn't add any real business value.

Don't managers understand that development is a constrained resource? They have to choose which projects move forward, where people are assigned, and increasingly, which outsourced service to use because they don't have enough in-house resources to turn to.

My cynical view of the move to complexity is management (or their C-level superiors) are often sold on new platforms or "standards" that require it.
> There, exception-handling code is scattered pervasively throughout the system, and much of it cannot be executed in any practical test process.

Systematically testing that software is crash-proof isn’t exactly easier though.

Regarding exceptions, one technique, if you can hook the throw sites, is to increment a counter anytime a throwing condition could occur, and in the tests indiscriminately throw an exception when the counter reaches N, and repeat that for N=1…MAX.
Python has pre-emptive threading too! The GIL makes it all but useless for CPU-bound tasks, but it works fine for IO. Keep your health-check tasks in a non-IO thread and communicate with queues.
Making technology decisions based on what others are doing is not engineering, it's lazy. Solutions should be analyzed and determined based on the problem not out of FOMO.
> price mechanisms alone probably still means we will use almost all fossil fuel that is in proven reserves

Unlikely. Exploration and production is capital intensive because there are minimum scales many projects require to be profitable, e.g. pipelines.

High prices amid falling volumes can obscure the production destruction inherent to infrastructure first ceasing to be developed and then being actively shut down. Whale oil prices went up amidst depletion and decommissioning [1].

[1] https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.38...
Definitely. The videos from the locker room are amazing. https://twitter.com/AnaheimDucks/status/1520238634539962368
On one hand I find it a fascinating result, but I also think Figure 1 shows how low the bar is on research on "embeddings", that is, the model thinks a mouse is smaller than an ant, an alligator is bigger than an elephant, etc.

If this was the performance of a human or a database or any other kind of system people would say "go back to the drawing board and try again".

There was a time that I messed around with glove and word2vec and scikit-learn and made a large number of graphs similar to the one above, I never "published" anything because it was all pretty sketchy.

I note that paper was submitted to arXiv in 2018, it got finally published in 2021 which is likely a sign it struggled in peer review.
Anything made by Atlassian
Not really. I want to understand why the language is interesting. For instance, even though I know nothing about Lisp, I can guess that it supports booleans, integers, and floats. Tuples and complex numbers are kind of interesting. But then it goes on to strings and concatenation, which I already assumed were possible in Lisp.
Ask HN: I’ve reached the crossroad – advice needed
I’ve been a member of this site since 2016. I’ve always been fascinated with technology, computers, and coding, since I was a kid. I grew up and live in Los Angeles, playing classical piano, songwriting, composing, and majored in music business.

I’ve managed a construction company, and I’ve been running my recording studio for the last 15+ years since graduating from college. I’ve produced numerous major label hip-hop artists from the Wu-Tang Clan, to Rick Ross, to Nas. I’ve finally reached a crossroad. The industry isn’t as stable as it once was, and I’m looking to transition my career.

I’m 37M, newly married with no kids (yet) and ready for some change. I’ve read HN daily for the last 5 years and I’m looking for advice as I’ve read so many articles here and comments upon comments of yours that have encouraged me to take the leap. Throughout my professional music career, and since I was a kid learning piano, I always built my own PCs, set up Linux servers for fun, coded websites and tinkered away. The joy has always been there.

I’ve finally decided to ask you all here at HN what path I should take if you were in my shoes. Currently I’ve been looking at Google Certifications (UX/UI, Data Analyst, Project Manager) Is that a route that would be suggested, or perhaps a different one? I hope this post isn’t too long, and I’m an open book.

I really appreciate any advice here as I am looking to reach the next phase of growth, development, and challenges in my life. I’m capable, determined, and very excited about this.
Thank you to each and every one of you.
I like the NOYB tag. It is time that we spiced up our vocabulary
around privacy and its abuse. In British parlance being a "nosey
parker" or "busybody" is a polite term. "None of your business"
carries a nice tone of reproof to surveillance creeps. Mainly because
they literally profit from (make a business of) snooping. NOYB feels
properly assertive and formal enough without being rude. That said, I
don't feel much need to refrain from being rude to snoops and creeps
since they're already engaged in unacceptable anti-social, behaviour.
How Oslo Learned to Fight Climate Change
> The worse part has been debugging, which you touch upon. Native calls, simple call stacks, easy error logging. All gone.

> Moving everything into hard to debug http calls has been a disastrous productivity sink.

There are a lot of good things coming out of the latest big experiments but this has been a major blow. I have worked on software where the intended debugging approach was to write some code, manually push it out to a shared dev environment, read CloudWatch logs for debugging. It is by far the worst way to debug code that I have ever seen. Things that would take me minutes to debug in a normal setup can take hours or days. Projects like LocalStack aim to improve this a little bit but it's completely counter to the ethos of many "cloud-first" developers.
I love the idea of physical libraries establishing federated social media offerings, leveraging protocols like ActivityPub (to ensure interop)! To be sure, there would be challenges, and the model would not be ideal for all types of social media users...but I really like the opportunities that this approach can provide.
The argument that with deflationary currency nobody will spend is ridiculous. Everybody still needs to spend to buy whatever they need for daily life. Money will still be spent into the economy. The difference between moderate inflation and moderate deflation is what people do with their excess money. With inflation people will buy stuff just because stuff holds its value and money doesn't. With deflation people save their excess. The higher the inflation/deflation level the more pronounced the behavior of spending/saving.

People having savings is a sign of a healthy economy. With savings there are more people that have an opportunity to invest. Investment provides real growth.
Most promotions I've seen are when someone has a huge amount of tribal knowledge about some system and the company cannot afford to have them leave. So they get promoted. This is even within FAANG, where this narrative about impact or 10x developers is common. Not saying promotions dont happen for those reasons, just that huge systems that few people understand lead to promotions for those who do understand them
Mailu - a mail server as a set of Docker images.
The author has ideological assumptions that he doesn't even think to question, which undermines his whole analysis.

> With our hyper-individualistic culture, how can we possibly hope to achieve what greater civilizations couldn't?

What if our civilization is the greater one exactly because it is hyper-individualistic?
Access to the dollar is a real problem. Stablecoins help resolve that.

I am not a crypto stan but it has at least one usage.

e: Sorry, forgot it was verboten to say anything contrary to the "crypto has no uses whatsoever" line.
Thank you for building this for the frontend.
The reaction of stock and bond markets is something approaching 100% more important than Bitcoin in changing government policy.
- Raspberry pi controlled kiln

- Retropi

- Openwrt router with dns ad blocking
- Plex

- Radarr

- Sonarr
It's not just the direct cleanup costs - the number goes up extremely hard if you also attempt to account for externalized costs that are rarely grouped together:

- loss of life and the economic productivity of people who died early (not just the liquidators, but also everyone who got radiation damage!)

- loss of sellability of goods - to this day, Bavarian shroom collectors and hunters have to check fungi or wild animals for radiation, and in particularly bad years up to 70% of wild pigs have to be discarded due to irradiation [1]. That's an economic loss for the hunters and for all subsequent economic activities (butchers, restaurants).

- healthcare cost associated with dealing with the fallout - cancers are the most expensive illnesses known to mankind

- loss of quality of life in those who were displaced by the Chernobyl and Fukushima disasters, additionally also the cost of relocating and the loss of opportunities, social networks etc. caused by the relocating

- loss of economic potential that could have been realized in the area around Chernobyl, had it not been contaminated

[1] https://www.welt.de/wissenschaft/article230648425/35-Jahre-n...
The April update's focus on the word "genocide" is odd, given that systematic mass killing is actually happening in Ukraine.
Tabs are so much better than old school sheet music for guitar (drum sheet music I don't mind), maybe some people want to figure out their own fretting but I'm fine being spoon fed (even being a finger style weirdo).
Read the RFC I linked. It handles all the characters.
My point is that your metaphor about "not [being] allowed to use memory unsafe languages" to build a car is completely backwards -- safety-critical embedded systems use C to avoid the abstractions introduced by higher-level languages.
There are elements where sound has deteriorated, functionally, from what used to be common practice. (this is of interest to me as it's 9/10ths of my day job)

Handled properly, modern digital audio is easily capable of containing the magic sounds of particular classic time periods: not just the 80s, if you really work at it you can get late 70s represented properly, even without using period recording equipment. But you cannot mess around, you have to do it a particular way.

People aren't significantly different from the 70s or the 60s or the 80s, as far as music creation goes. But the common practices are wildly different, and technology had a forcing effect causing the sounds of a decade (or time period) to take on a consistent quality based on the available tools and distribution media. That's all. You know it's not just 70s and 80s: there's electronic genres where the 90s fill a similar nostalgia role, and coincidentally have an obvious, distinct sound that is not heard today, and can to large effect be recalled through determinedly sticking to the period tools…
It seems like most websites use your email address as the username, which makes this more difficult. You could use + addressing, which makes it unique, but doesn't really make it private... really need hidemyemail or something similar!

I do wish this was easy and automated.
It doesn’t have to be Roman concrete. English concretes made with, e.g., Portland cement, predates Sway tower by a hundred years.

Obviously, the only version of this claim that could be true is that Sway Tower was the first building in England built exclusively of unreinforced concrete. (There were uncountable buildings built by using unreinforced concrete and stone, e.g., the third Eddystone Lighthouse completed in 1759.) But I’d still find it very surprising that people built structures in England from reinforced concrete for decades without anyone trying to do it without the reinforcement. (“The first home built using reinforced concrete was a servant’s cottage constructed in England by William B. Wilkinson in 1854.”)
> They use a different vocabulary but these groups are collapse-aware as well.

They are not remotely "collapse-aware", the slogan "Make America Great Again!" tells you this. The are many books written about the relationship between nihilism and the rise of fascism. This was Nietzsche's prediction 200 years ago.

These are people that feel the effects of collapse but refuse to acknowledge it. The only difference between these groups and people talking about denying what's happening and fighting against climate change is that the latter group has not been hit with material despair yet. Once they do we'll see an increasing emergence of fascism from this group (we already to do some extent, but it will get worse quickly).

I recommend Nolan Gertz "Nihilism" for a quick overview of the subject.
Backblaze Drive Stats for Q1 2022
I used to manage engineers at another large tech company and this was a big problem. There was nowhere near enough big projects to get everyone the evidence they needed for promotions.

As a result we ended up doing two things a lot:

1) over-engineering a feature that should be simple into something with architectural significance (e.g. a new set of services that could have just been a feature in an existing service)

2) de-prioritizing important things that were small in order to ensure everyone had a big project every quarter.

We ended up having to hire contractors to work on the small stuff because it was piling up and causing problems.
These domains eventually get "blacklisted" by signup forms if they're popular enough unfortunately
The formal GDP per capita is $3800. You have to be loony toons to believe that comes anywhere near the entire value of what happens inside the country, both for activity that simply isn't recorded and taxed and for activity that is explicitly illegal such as drug and gang activity.

El Salvador is mostly an informal economy.
Syncthing. Amazing tool. I keep media and documents syncted between two computers and a Pi home server. I want to add an "untrusted" VPS to the mix, but haven't done it yet. The only weak link is my iPhone. Luckily, one of the computer's in the mix is a Mac, and it keeps things synced via iCloud.

icloudpd. Pulls photos from iCloud onto the Pi and Syncthing takes care of it from there.

Prometheus/Grafana. Monitor indoor air quality with nice dashboards. I have other ideas I'd like to dashboard, but never get around to doing it.

Pi-hole.
Moving from a native app to an Electron-based one has a definitive impact on usability. Calling it a tech stack choice is a bit dismissive.

They used to have a kick-ass Mac app. That appealed to a considerable amount of their users. Then they ditched the native app for Electron, and those same users were disappointed.
Never got around to getting a physical button, but I got a few dozen NFC tags from amazon a while back. They are quite unobtrusive so it's no bother to just quickly tap the phone.
Archived: https://archive.ph/vvsl6
When I had birds that's precisely what they did. Birds typically like to be in the highest comfortable place in a room for instinctual reasons. In my apartments at the time, that meant the tops of virtually any open doors. (They also liked company so they'd generally follow me from room to room and sit on top of doors along the way.) You really don't want ceiling fans...

So, yeah. I made sure there was generally something on the floor below them. But the sides of the doors would need to be cleaned fairly regularly. I had cockatiels, and you couldn't "potty train" them.

Birds also like to chew things sometimes, so you needed to keep a close eye on them or realize your damage deposit was going to take a hit later.
I just picked this back up last week for similar reasons. I have so much going on in my life right now that I wanted something to read where I already know the story well and can allow parts of my brain to "defrag" while still enjoying a book.
What's this box going to do?
> As the price of Bitcoin increases, more people are attracted to it, which then drives its price even higher - creating a self-reinforcing upward spiral that is unsustainable and will eventually collapse.
You could say this about housing and the stock market as well, and I don’t think those are scams. This is just price discovery. Also, the price of bitcoin has “collapsed” several times in its history, much like the stock market.
My first thought was, "Why would I need SDR to read temperature/humidity from sensors", then I realized these are more like wireless weather stations.

Out of curiosity: why did you decide to purchase ready solutions instead of rolling your own using ESP32 for a fraction of the price?
> A hash table that compares hashes instead of keys, doesn't support deletion, doesn't distribute keys evenly etc.

I agree, that implementation is definitely flawed. Probably the author do not consider that important a proper hashtable.

> looks like the immature and arrogant opinion of someone completely unaware of his ignorance.

This is what I'm referring to when I say "harsh" criticism. Maybe he is wrong, but I think there are better ways of saying it: "Hey, maybe a proper hashtable is not that easy.. have you consider [insert here improvement proposal]?"
I started my first Elixir role at ScriptDrop last September. We coordinate prescription deliveries with partners like Rite-Aid, Kroger, Uber, and USPS via our Web portals and API integrations. Our platform’s front-end is mostly Phoenix server-rendered HTML with sprinkles of jQuery/native DOM.

I’ve noticed quite a few healthcare startups using Elixir (and also others using Ruby/Rails and Python/Django). For someone long interested in the healthcare space, this is a welcome change from PHP/Java/.NET that have been used by some of the more entrenched players.

Location-wise, aside from SF/NYC, a lot of Elixir shops are springing up in “hipster” areas like Columbus (where I live), Austin, Denver, and Utah.
> I’ve been dreaming lately of a tor-like network that’s based loosely on the idea of tailnets. Rather than blockchain bullshit, you’d have a direct ring of trust with friends, and then you could set up access policies to forward packets for people you don’t trust, but who know someone you do trust.

Might want to check out Yggdrasil. It lets you can create a real mesh routed, E2E encrypted network. You can keep your network private, or connect it to the greater network and route others. There's no ring-of-trust (I can't imagine that as a viable solution at scale). But the config file has an AllowedPublicKeys section if you want to specify who can route through your node.

https://github.com/yggdrasil-network/yggdrasil-go
About the battery usage: what I can’t explain is that there’s a lot of background energy usage on iOS when Tailscale is running even when it’s not connected.

If this was about heart beating, I would expect that to only happen when the client is connected.

Also, in the battery stats, the background usage is there and tailscale is listed, but with - % of battery usage.

However, when I force quit tailscale, all of the background energy usage goes away.
I think Tim Berner-Lee's SOLID project intends to - at least conceptually - provide the needs that you cited: https://solidproject.org/about

Maybe the implementation layer details might differ, but it does seem similar to me...which i should add that i like this approach.
A lot of people get pushed into contracting because it's the only option. I 100% agree with this.

But it's the only option because leadership makes it that way. And saying it's not going to happen is a good way to make sure it never does. Airplanes ain't gunna fly, you can't never land a rocket standing up, and there's no way you can fit a mobile phone in something smaller than a brief case.

I'm not saying it's easy but if you think it's a problem, you can work to change it. I personally think it's a problem, and now that I'm a Manager I'm doing what I can to try to change. Will I be successful? Maybe not perfectly but already the company is better than it was.
TurboTax to pay customers $141m after steering them away from free services
> There’s enough “Poles and Hungarians bad” narratives going around without us having to add fuel to the fire.

I mean, you did vote in Orbán, a demonstrably terrible human being, for many years running. It’s hardly a better look for the citizens of Hungary if that wasn’t due to disenfranchisement.
These guys appear to be pretty decent, but it's difficult to verify

https://rawganique.com/
A Guide to WebRTC with Flutter
Perl was the first language I used professionally and I used it almost exclusively for years. I don't understand all the negative comments about its use of sigils, I find them useful and I never got the impression that they made the code less readable but maybe that's because I was never taught the gospel of computer science :)
I also appreciate the extended backwards compatibility. I still occasionally run decade-old code and it's still doing its job which means that writing code in perl was time well invested.
I’m deeply saddened that they chose MySQL as their hill to die on. I understand why, but boring technology doesn’t have to corrupt your data silently by default.

As for better links, I’m sure the concept of “choose boring technology” evangelises and explains the broader point that your article makes: https://boringtechnology.club/
Huh, that's a pretty great idea/workflow! I'm still figuring out HA's scripting. I find the JSON based DSL to be pretty awkward so far, so I haven't experimented with it much.
TurboTax in $141M Pact over Claim of Duping Taxpayers
OK, this is a fun game. I think your counterattack assumes I'm picking these million weights uniformly randomly among the 175 billion. I modify my original answer: s/a million/half the weights in a deterministic subset of 2 million weights/

Select the deterministic subset by just hashing some identifier for each weight.

For any reasonable number of copies, there's a pretty unique subset between all your copies sharing a large amount of bits flipped in the same direction among this subset.
Were strict hierarchies really that bad?

It seems that just about anything else devolves into an ontological mess of Byzantine proportions. At one stage in my career I was reporting to 4 different bosses in this weird interleaved hypercube topology. I spent most of my time giving status updates
More than the millionth, I'm sure. If you know your input doesn't have commas (for example, because you generated it) and the code is throwaway, then splitting on comma is fine.

But, yeah, I prefer tab delimited, since "no commas" is painful, and data that contains quotes leads to scenarios where the crappy CSV I generated can't be parsed by RFC 4180 parsers.