MurphyA/hacker-news huggingface dataset:
by 8bitsrule | 2025-05-26 01:38:56+00:00
They should then be posted in all government agencies as well. Including that especially easiest-to-understand, hardest to live one, 'Thou shalt not kill.'

To avoid the appearance of mere authority, the payoffs for obeying them should be listed as well. For one example: when you get to the gate, will you get due process?
by mekoka | 2025-05-26 01:38:57+00:00
> I would hesitate now to recommend any path into it except the top-school CS degree route. Sure, there will be exceptions, but you will have a vastly easier time if you follow that path.

And how is this useful to someone who can't get into these top schools because life is happening? Also, your outlook seems very unrealistic to me.

This is software development we're talking about, not medicine, not mechanical engineering. To be a top tier software developer, you need access to a decent computer and good resources to learn. The two boxes have never been easier to check. Add to that the excellent guidance of curricula like OSSU, TeachYourselfCS, and others like them, if you have the mind for it and a bit of discipline, your skills will be as sharp as any top school graduate's. "Self-taught" today isn't the same game as what it was 20 years ago. You can make yourself incredibly valuable on your own.

Now, getting a degree in CS and teaching yourself CS are different goals. The first is a pursuit of recognition for a skill that you may or may not have, and along the way, perhaps you've obtained a truly valuable education for which you're also grateful. The latter is a self-directed pure pursuit of knowledge, understanding, and skill. Regardless of your path, these are the real gems companies are after, and if you truly have them, you will NOT be invisible in this domain. They're rare commodities in the real world, regardless of how you get there.

Getting hired in software has always been about showing that you can build software. There's no danger of this changing. Sure, it may mean different things to different companies, but that's always what it's been about. Some want people that can crack algo problems, some want hackers, some want makers with a portfolio, some want tech wizards that understand the stack up and down. No matter, you can opt in to any of the above outside of academia and make a space for yourself.
by mortenjorck | 2025-05-26 01:39:03+00:00
Wait, Airbnb itself stopped using (and presumably maintaining) Lottie? What are they using now?

I’m trying to find any kind of news or blog post about this and I’m coming up empty-handed.

Edit: it looks like you were referring to Lava, which is a video format, not a vector animation format. Airbnb is using Lava micro-videos now in some places where they previously used Lottie animations, but Lava appears to be more a modern approach to animated GIFs rather than Lottie’s modern approach to Flash.

https://medium.com/@waldobear002/airbnbs-new-lava-icon-forma...
by zetalyrae | 2025-05-26 01:39:45+00:00
The title of the post here ("Choose tools that make you happy") is wrong.

I wrote "You can choose tools that make you happy" to mean "you have permission to use tech just because it makes you happy or triggers your curiosity", so that people don't waste their time coming up with false technical reasons why their technology choices are rational. It is not a command that you should choose tools entirely or mainly for affective reasons.
by hayst4ck | 2025-05-26 01:40:26+00:00
If you construct an object once, then what is the difference between that and a singleton?

The answer is scope. Singletons exist explicitly for the purpose of violating scoping for the convenience of not having to thread that dependency through constructors.

https://testing.googleblog.com/2008/08/root-cause-of-singlet...
by gyomu | 2025-05-26 01:40:57+00:00
The most disappointing thing about Jony as a designer is how nouveau-riche he is.

Since he left Apple, he’s been designing for Ferrari, King Charles, $2500 jackets, etc.

It feels quite at odds with Jobs’ original visions of products that were beautifully designed, but still remained generally affordable for students, teachers, small business owners, and Mr/Mrs Everybody in general.

Of all his tendencies that Jobs supposedly kept in check, I think that’s the most underdiscussed one. I guess the writing was on the wall with the $10k gold Apple Watch.
by marifjeren | 2025-05-26 01:41:39+00:00
Love JWTs but I wish there was a better standard for conveying detailed and compact authorization information, for systems requiring enforcement of complex authorization rules.

We experimented once with trying to put permissions on a JWT (more complex than your popular scopes) but that makes them grow quickly. And we experimented with putting role information on JWTs but that results in re-centralization of logic.

Maybe conveying complex authorization info via a single object that gets passed around repeatedly is fundamentally a flawed idea, but if I had an identity standards wishlist that would be near the top.
by zetalyrae | 2025-05-26 01:42:07+00:00
> The author's call is that we acknowledge this subjective side.

I think that acknowledging the subjective side is a necessary step to making more rational choices. If you don't know your motivations, you will be a motivated reasoner.

When you can add "I like this tech because it helps me build an identity I aspire to" as an item in the pros column, you realize you no longer have to.
by timschmidt | 2025-05-26 01:42:15+00:00
> As I said the first time, there's a sense in which such a woman can be infertile and it is NOT the sense your parent commenter means.

I understand you feel that way. Perhaps you are just a person who is experiencing dissatisfaction.

The research seems clear and sensible to me. And wholly relevant to OP. You may want to mail your criticism to the authors.
by timewizard | 2025-05-26 01:42:22+00:00
> Mandatory pensions are not a vacation sponsored by the government but a way to provide for those who can't provide for themselves.

Then why is it based on earnings? And why can't I opt out of this death pledge?

> Your health is probably not going to be as good

Ah, the old, "your life will suck anyways" play.

> you should have known for most of your adult life

That you are a slave to the state, until you cannot work anymore, and then you will be discarded brutally.

Hard to figure out why the younger generation doesn't want to buy into this.
by K0balt | 2025-05-26 01:42:27+00:00
Animals definitely parse human language, some to a significant extent.

Like an airplane taking off, things that seem like “emergent behavior” and hard lines of human vs animal behavior are really matters of degree that, like the airplane, we don’t notice until it actually takes flight… then we think there is a clean line between flying and not flying, but there isn’t. The airplane is gradually becoming weightless until it breaks contact with the ground, and animals use and understand language, but we only notice when it seems human.
by bitwize | 2025-05-26 01:42:50+00:00
Nine times out of ten, popular thing is going to be objectively better than obscure thing, because it's much easier to find people who know, and tools that work with, popular thing. All other things being equal, the person who launches a startup based on Go or JavaScript is going to have an easier time than the person who launches one based on Common Lisp or Haskell -- unless they do all the coding themself.

If you have some objective, measurable reason for choosing obscure thing over popular thing, by all means -- tell us why. But show receipts. Actual numbers and measurements.

Otherwise, it's all vibes.
by AnimalMuppet | 2025-05-26 01:42:58+00:00
I'm sorry that that has been your experience. (Or maybe I shouldn't be sorry - FAANGs pay pretty well.) But what you say surprises me, for two reasons.

First, FAANGs get far more resumes than they have openings. Demanding a degree seems like an easy, lazy way to eliminate some. I'm kind of surprised that they don't take it. (I mean, they shouldn't take it, but I'm still kind of surprised.)

Second, many engineering organizations that are not FAANGs are trying to model their hiring on FAANG approaches. So I'm surprised that, if FAANGs would hire you, others won't - especially after you have experience at a FAANG.
by lmm | 2025-05-26 01:44:52+00:00
> People just don't feel content and happy to have children in dense cities.

Correlation is not causation. People happily raised children in dense cities for centuries. It was only when the postwar regime of making new housing illegal took hold, and housing prices inevitably spiralled out of control, that they stopped.

> Young people are forced into unaffordable cities, where they often live in cramped shoebox-sized apartments. While beautiful spacious traditional homes are decaying just 2 hours away by car.

Those old houses look great in instagram photos but they're not very fun to actually live in. Young people are rightly prioritising places that are good to live instead of the boomer square feet fetish.

> Put a stop to densification of larger cities, and tax (or cap-and-trade) the office space in dense areas.

Killing the most economically productive parts of the country is not going to magically make other parts more productive, it's just going to destroy the whole country's economy.

The causes of the population decline are a) women marrying later, or not marrying at all, because they have the option of a career and prefer that b) families that want to give their children a good future having few children, mainly because of the cost of education. Those are the things you need to address if you want to change it.
by timewizard | 2025-05-26 01:45:09+00:00
> Pension is a Ponzi scheme.

It's most appropriately a shared investment scheme. Your pension money should not sit idle while you are building it. That money can earn a percentage in many ways and dividend reinvestment makes the fund grow massively.

> Retirement depends on having young workers.

Profits do. Retirement is going to happen regardless of how many young workers there are.
by analog31 | 2025-05-26 01:45:13+00:00
It would also involve support for science research and reasonable immigration, plus widespread acceptance for moderately higher consumer prices. People should have a real conversation about what it means to make clothing in the US instead of in Bangladesh (just for example). While the "zero sum game" is generally considered to be a sign of ignorance when discussing economics, in the short term the number of available workers is a zero sum game, and unemployment is relatively low right now.
by bluGill | 2025-05-26 01:46:47+00:00
many of those costs are optional. You don't have to put your kids in dance, karate, soccor, ... However many do, and all those things add up in costs.

Speaking as a parent, there are plenty of options, some are really expesnive, and some cheap. You can choose which to pay for.

note that the things I listed above are fun, but won't get yoru children into a great college and thus won't ensure a better life for them and yoru grandkids. Choose wisely where to spend your money.
by prawn | 2025-05-26 01:47:50+00:00
It's a mystery and mysteries can be exciting. You can become invested in that without thinking you'd buy it. Have they hit on something? Is it probably underwhelming? But what if it's not. They have credibility. But do they?

I remember the Segway hype. A lot of it was intriguing because they had comments from heavyweights who in theory know how to assess a major product. But, yes, we know how that played out.
by jmye | 2025-05-26 01:48:09+00:00
Why should you have the right to disrupt a company meeting? Do I have the unmitigated right to come into your sprint planning and scream at you? Does no one have the right to choose not to associate with you if you make yourself unpleasant to be around, or do we all just have to suffer the biggest fool, always and all the time?

Why is your, or this engineer’s speech, more worth protecting than mine, my boss’s, or Nadella’s?

So tired of this nonsense. I don’t want to hear about your shitty politics at work. If you don’t like what your company is doing, quit and do something else.
by timewizard | 2025-05-26 01:48:35+00:00
> "every man for himself" 401(k) thing

It allows you to do that. In most cases there are various life index funds that operate the way a traditional pension scheme would and is likely the default option in any employer plan.

You can additionally add your own money outside of your paycheck and you can use the money inside of the fund to make your own investments. You are also allowed to take personal loans against your own 401k. Which is a generally overlooked benefit of the system. You pay interest on the loan but it just goes back into your 401k itself. You pay interest to yourself.

The great thing with a 401k is it's not industry dependent. If your employer or industry goes out of business you still have a lot of options to move your retirement to a new employer or use some of the funds to bridge yourself to a new line of work.

I used to hate it but now that I've used it I quite like it.
by Sniffnoy | 2025-05-26 01:48:52+00:00
Oh right, silly me. Wow, my own vocabulary deserted me there, huh?

Yeah I think generally "sextic" is the highest you see before people stop doing that, and that one's somewhat uncommon I'd say. ("Quintic" is actually fairly common, contrary to what I said earlier, oops.) The fact that seventh-degree would be "septic" might be one reason stop with the words at that point!
by lvturner | 2025-05-26 01:48:54+00:00
>> The same could be said about copyrights/patents (another point argued over the years). If you get rid of these protections for everyone, the only people that will end up on top are the large companies with lots of resources that can just take your ideas and not compensate you.

But isn't that exactly what we have now with the existing patents and copyrights implementation?

Maybe some people are getting some money, but I know if Amazon (random example company name) violate copyright or a patent of mine, I don't have the resources to take them to court over it much less win.
by jwr | 2025-05-26 01:49:04+00:00
I agree with "choose tools that make you happy", I disagree with the implied premise that all "obscure" (not very popular would be a better description) tools have value purely because they make me happy.

I have used (and continue using) many tools and solutions that are not popular. Some of them make me happy, some do not. All of them bring practical advantages.

Not every good tool will become popular, and many popular tools are not good.
by cperciva | 2025-05-26 01:49:06+00:00
AM is good for instructions because its broadcast nature allows everyone to hear everyone, but arguably coordinates-over-voice-over-AM is dangerously error-prone. My sense is that the ideal system might look something like "AM with a digital side band" where ATC can press buttons to transmit data (e.g. authorized altitudes and vectors) to a plane but metadata is still carried over AM.

A lot of fatalities have been avoided thanks to a pilot overhearing ATC giving takeoff or landing clearance to another plane, but quite a few incidents could also have been avoided if plane cockpits had a big red light "authorized to enter runway" which could only be turned on by ATC. In an industry which is designed around so many redundant systems, it's rather astonishing that an error in a single communication channel can lead to disaster.
by DamnInteresting | 2025-05-26 01:49:48+00:00
I've been trying to put the finishing touches on my daily word game Omiword (https://www.omiword.com/), but I've been waylaid by Stripe because they decided that a simple daily word game is a "restricted business," and they shut down my account.[1]

Now I need to figure out an alternate payment handler, or just give up on my modest monetization plan where players can pay a small one-time fee to unlock all of the archived puzzles. It was never going to make a fortune, but it would have been nice to offset some of the hosting expenses.

Don't use Stripe. They shit on you just because they can.

[1] https://news.ycombinator.com/item?id=44075038
by methou | 2025-05-26 01:50:40+00:00
JWTs are just too fat, and JS users often forgets encoding is not encryption.

I've seen some news site trackers send JWT in url/header to some 3rd party tracker. Content is no surprise, my full name, and email address, violates its own privacy policy.

Otherwise it's very open and handy, from inspecting a jwt token I can learn a lot about the architectural design of many sites.
by abound | 2025-05-26 01:50:46+00:00
I feel the same way, but to defend GP, if you're dealing with unknown JSON, the experience of deserializing `any` (or `map[string]any` if you know the top-level entity is an object) can be extremely tedious.

For things like structured API requests/responses, Go's struct tags are basically exactly how I want my JSON ser/de to look.
by beeflet | 2025-05-26 01:51:10+00:00
>There's a ledger, right?

There is tech for private transactions, but the cryptography is more complex. It's used in cryptocurrencies like zcash or monero. You can also trade between different cryptocurrencies without trusting an intermediary, using "atomic swaps". So if you seize cryptocurrency you think will be tainted, you have a small window to swap it for private (and thus fungible) currency.

https://cointelegraph.com/news/zachxbt-330m-btc-heist-xmr-su...

This business is booming!
by hdjrudni | 2025-05-26 01:51:34+00:00
Every time I want to use a JWT, it seems like it's the suboptimal choice, so I've never found a genuine use case for them.

Most recently, I wanted to implement 2FA w/ TOTP. I figure I'll use 1 cookie for the session, and another cookie as a TOTP bypass. If the user doesn't have a 2FA bypass cookie, then they have to complete the 2FA challenge. Great, so user submits username & password like normal, if they pass but don't have the bypass cookie the server sends back a JWT with 10 minute expiry. They have to send back the JWT along with OTP to complete the login.

I figure this is OK, but not optimal. Worst case, hacker does not submit any username/password but attempts to forge the JWT along with OTP. User ID is in clear text in the JWT, but the key only exists on the server so it's very difficult to crack. Nevertheless, clients have unlimited attempts because JWT is stateless and they can keep extending the expiry or set it to far future as desired. Still, 256 bits, not likely they'll ever succeed, but I should probably be alerted to what's going on.

Alternative? Create a 2FA challenge key that's unique after every successful username/password combo. User submits challenge key along with OTP. Same 256 bit security, but unique for each login attempt instead of using global HMAC key. Also, now it's very easy to limit attempts to ~3 and I have a record of any such hacking attempt. Seems strictly better. Storage is not really a concern because worse case I can still prune all keys older than 10 minutes. Downside I guess is I still have to hit my DB, but it's a very efficient query and I can always move to a key-value store if it becomes a bottleneck.

I don't know, what's the use-case? Server-server interaction? Then they still need to share a key to validate the JWT. And probably all but the user-facing server doesn't need to be exposed to public internet anyway so why the hoopla adding JWT? I haven't looked into it much because I don't believe in this microservice architecture either, but if I were to go down that road I'd probably try gRPC/protobufs and still not bother with JWT.
by nikkwong | 2025-05-26 01:51:35+00:00
This comment must be parody. Certainly you can't be serious. In the off chance hat you are, obviously, I must state. Crimes happen as a result of incentive structures. If there were a huge aftermarket for stolen iPhones, iPhone thefts would increase (something that Apple obviously realizes and combats).

Because of crypto, the incentive to kidnap people with crypto wealth has surfaced as a real problem. These are kidnappings that, obviously, wouldn't exist if the crypto hadn't existed at all.

My larger point is; although crypto has made some people quite wealthy, it's mostly disenfranchised a larger part of the broader society. It's essentially been a wealth transfer from stupid people to opportunistic people. Has wealth been created? I'd argue that although some has been generated, it's a pittance in comparison to the amount of press crypto gets, and the amount of wealth that has been unfairly distributed from the stupid to the opportunistic.
by gnabgib | 2025-05-26 01:51:35+00:00
Doesn't even mention the original article Push Ifs Up and Fors Down from 2023 (662 points, 295 comments) https://news.ycombinator.com/item?id=38282950

Or the recent repeat (568 points, 9 days ago, 197 comments) https://news.ycombinator.com/item?id=44013157
by bitwize | 2025-05-26 01:51:44+00:00
I keep using Emacs because without it I do feel like a William Gibson protagonist -- "trying to reach the console that wasn't there" (or M-x or Lisp repl in my case).

Emacs works the way I work, the way I need an editor to work. I recognize that it's a very personal thing and doesn't readily generalize, but it's a bit condescending to imply that all these personal choices are to forge some pretentious cosplay identity. Some of them are just a simple matter of: human need get work done, human brain work best this way, use tools that best support way brain works to get work done.
by netbioserror | 2025-05-26 01:52:14+00:00
Why stability? If the stable state is not working, flip it. The stable order is facing popular resistance for a reason. Everyone who benefited from the stable state will feel pain and complain, and they'll correct their strategic stances for the newer unstable order: Onshored supply chains, better inventories than just-in-time, less reliance on inflation assets and more on production assets. Even those feeling the pain can see why, but the only ones blind to it are those ideologically staked to the old order, which was not working. Those people don't deserve to be stakeholders anymore, and if they're knocked off their perches, all the better. Renewal will happen.

If it won't persist because democracy will flip it around schizophrenically, then you're just speaking ill of democracy at that point. Can't have that.
by JimDabell | 2025-05-26 01:53:15+00:00
Confabulation is a good term for the majority of what is currently termed AI hallucinations, but there is still a good proportion that is accurately called hallucination.

For instance, if you give AI a photo and ask it to describe in detail what it seems, it will often report things that aren’t there. That’s not confabulation, that’s hallucination. But if you ask a general knowledge question with no additional context and it responds with something untrue, then that would be confabulation, I agree.