skysight-inc/HackerNews huggingface dataset:
> 90% of everything is crap. In the case of chat, I think that's more like 99.9% of everything is crap.

Right but with 90% of everything crap you moved the 10% of good things into closed (for search results) system.

> If Twitter died tomorrow (not as unlikely as it was 6 months ago) then we'd still have a decent archive of the good tweets. All we'd lose is all the dross. The same is true for other platforms; the good stuff gets cross-posted and preserved.

Tweets are searchable and you can't archive.org discord chat easily. Terrible comparison and it is not same for other platforms.
> Dude is out for blood and Musk falls for it. It's going to be a very expensive tweet for Musk.

The fines aren't nowhere near high enough. If we were talking about GDPR-level fines (like 5% of yearly revenue for repeat or egregious offenders!), now that would have some teeth... but the reality is, he's just going to offload paying the fines onto Twitter, it won't even hit his personal bank account. Or it will end like Musk's SEC drama, with nothing more than a tap on the wrist and him completely ignoring the mandates (he was supposed to not tweet anything stock-related directly but run that through a supervisor, but IIRC never did so).

It's high time that executives and owners get held accountable with serious fines for violating labor laws - and not just ADA/HIPAA as may be the cause here, but also wage theft, OSHA violations (East Palestine says hi) or union-busting activities.
How many times in our lifetime seeing comments like this?

"Too simple of an app"
Desk sharing isn't a new concept. Hoteling is a thing, and has been for a long time. I think it makes perfect sense as a balance to support office, hybrid, and remote work.
Large cities, sure. But people in rural areas absolutely need a car to function.
Yeah there definitely would be attacks where they use long fake domains if the site decides to hide the domain once it gets past a certain point

e.g president.whitehouse.gov.us[hover to reveal the rest]

But if it's always fully displayed then it's not really an issue. People could make fake accounts anyway under the current system. If you can't tell @elonmusklet93902398098 isn't really elon musk then I don't know what you expect to fix that.

The important point of this feature is that you know tim.wang.com is really an employee of wang.com and not just a rando. You know he really comes from that address so you could follow all the wang subdomains and know only real wangers will be followed.
> In 2023, you shouldn’t be using nix-env or niv or shell.nix but rather just use Nix Flakes

I've found quite a few articles on alternatives to nix-shell in the flakes world, but I haven't found one for this usecase (which is also my main Nix usecase).

Particularly, how do I have a flakes equivalent for nix-shell that isn't pure? It is convenient to be able to run git, or SSH or whatever from my development shell, and those things shouldn't be in my project build setup.
Indeed it is, you’re right. Here is the spectrum the WHO publishes: https://www.ncbi.nlm.nih.gov/books/NBK574582/table/fm-ch1.ta...

Note that the idea of a single safe “threshold” limit is based on the best available research today showing that they haven’t measured adverse health effects below 5 μg/m³ average annual exposure. The spectrum here is a spread of increased mortality that can be attributed to pollution above that limit. There’s a different threshold for a single day exposure than for average exposure. Also note that the recommendation recently came down from the 2005 recommendation of 10 μg/m³ due to more research showing adverse health effects of pollution. There might not exist any so-called “safe” limit, and speculating wildly, we might expect their recommendation to drop again in the future.
What makes you think the people living in Greenland, and Lapland aren't doing anything with diesel engines or industry? Wikipedia says Greenland's main industries are "fish processing, and oil, gold, niobium, tantalite, uranium, iron, and diamond mining".
Do you think those things are good or bad?
>The lesson I've learned from his Twitter acquisition[...]and (2) he is sometimes willing to use that influence in ways that cause harm to his customers and the business (even to his own wealth), even in cases where his actions violate explicit contractual promises[...]

This is kind of an odd lesson for you to take honestly. Everything he has done with Twitter has not merely been completely legal, but in fact has underlined how Musk couldn't get out of law and contract. He made a very, very bad buy, and Twitter's owners were happy to take it and made out like bandits. He tried desperately to get out of it, and despite effectively unlimited funds for legal representation, he could not. He failed to take precautions upfront, made a deal, and he was held to it. After that Twitter became private (though since he financed the purchase in part vs buying with purely his own wealth there are still some other players involved). He has since tried to blow off various other contracts and such, and there is no sign he'll get away with that either. It's just that it takes time for the legal process to take out and it's only been months. Twitter is also in a vastly less regulated space then vehicles.

I think there are reasonable reasons to be concerned about Tesla, but

>but at any point he might decide to illegally void all warranties or triple the price of supercharging just for fun

this isn't one of them in the slightest.
I am hoping that we improve cities and towns so most people simply don't need to own a car. A cargo bike and the odd car-hire (like car2go) could replace car ownership for a lot of people, and make cities more pleasant.
This is starting to sound like a 10 year old trying to convince their parents to get them a dog.
And no one can put him in his place as we have a society that lets a singular asshole take over industry (space) or institution (Tesla, Twitter) and make it their personal play thing. It’s obvious to everyone now that these companies are strategically well positioned and succeed despite Elon’s social shortcomings which validates all of him. There is no means to say well you were an exceptional capitalist but also a dick head who made people feel like shit, so we are taking back the investments made.
To be fair a lot of these utility functions are easy to implement without the dependency.

And one can install only the individual lodash functionality that’s required. Personally I’d do this in the node/js ecosystem because everyone does it and why not? It’s battle tested.

I work primarily in Go so I’m used to writing my own utilities for many things. It isn’t that complicated and end of the day it’s just basic programming.
Does this scale? What if you have 10 other conditions?
His attitude can be summed up as:

He was massively bullied as a child, now it's his turn!
? This guy sold his company to twitter like 2 years ago and was a product leader
There is. And they are actually quite easy to make. I would suggest this approach to anyone worried about losing information.
Currently working on a project with some inexperienced developers where I was brought on to consult. Lots of shotgun parsing. Stringly-typed code everywhere.Even the dates and timestamps are pass around as strings, resulting in code to go back and forth between proper time types and strings all over the place.
You could make the same argument fir trade barriers, protectionism, subsidies, etc.

It also comes across as "two wrongs make a right"
This is a great looking project - we've been looking for tools similar to this to add an extra layer of validation to our codebase. Are you thinking about supporting Java in the future?
> You can use opaque types to encode constraints that the type system isn't able to express.

You just admitted in this sentence that the use of opaque types achieves nothing of value. Which was my point all along: why use them if they are useless? Just to feel smart because I pulled out an academia-flavored ninety-pound dictionary word to describe it?
Their revenue leaked badly and can't be patch.
urban dictionary is your friend
This is the way. The KeepassXC File is under your control, and you're able to make as many copies, as are necessary. 2fa is the right thing, but having the TOTP Codes on only a single device will get you in bad situations.
Having an extra billion dollars doesn't actually effect his life at all with his level of wealth. He's after the feeling of power at this point and is willing to lose/spend huge amounts of money for that feeling.
so the main usecase of this feature is to defeat the nice policeman/customs officer?

thanks! i always wondered
You have a multitude of things to measure in breathing air.
For each you can establish thresholds for safe levels through the scientific method with evidence.
Likely there is a transition area, but also regions with a very high likelihood of being unhealthy.

If any of these measures is "in the red", your air is unhealthy.

Why not?
Does there exist a regex engine I can try that uses derivatives and supports large Unicode classes and purports to be usable for others? :-)

It has been a long time since I read the "Regular-expression derivative re-examined" derivative paper. Mostly the only thing I remember at this point is that I came away thinking that it would be difficult to adapt in practice for large Unicode classes. But I don't remember the details.

It is honestly very difficult for me to translate your comment here into an actionable implementation strategy. But that's probably just my inexperience with derivatives talking.
Where has the least polluted air? Is there a map?
As with most things, even if there is no "magic point," you need to draw the line somewhere as accurately as you can, or you'll be trapped in pedantic bickering and inaction forever.
Didn't this all start by the employee in this case tweet in a public forum to his boss? So doesn't that mean the conversation is public by defintion?
For Expedia, it used to be the case that they made more from someone booking via an ad on the site than they did via direct purchases. Same model as Amazon Ads, really.
This is pretty much how my startup is running things, with the exception that we're using credstash for #1.
Make the web faster with Rust.
Forgetting to renew a domain is much harder than it used to be [1]. ICANN rules require 2 reminders prior to expiration and 2 notifications after expiration. They also require a 30 day minimum RGP (redemption grace period) where DNS doesn't resolve and you can still recover your domain.

If anything, I think having a domain tied to multiple services that break when the domain expires will help people notice so they can redeem within the grace period.

Impersonation via an expired domain might be an issue, but that's already a problem we have to deal with and I don't see how it could get significantly worse, especially since services could put up warnings when domains move between accounts.

1. https://www.icann.org/resources/pages/errp-2013-02-28-en
Entrust your AI key to a closed binary? Bot what could possibly go wrong?
> He got Musk saying he's terminated due to disability

Musk said he got terminated for not doing any work. If you're not doing your part because of your disability and get fired then is that discrimination? Because in that case wouldn't that mean that you're just stuck with dead weight you inherit from other people's hiring decisions? What about passing on a candidate who has a disability that prevents them from performing adequately? Genuine questions if anybody knows the law.
As with most environmental issues, the best thing anyone can do is getting political active and create changes that reduces air pollution. Problem created by people acting as a social group (i.e. densely populated cities, power plants, factories, highways and so on) do not really have solutions that individuals can easily apply.
The thing is that these types of tweets bring people to Twitter. They want to read the drama, and maybe even get their 2 cents in. Trump did it and Twitter boomed, now Elon is doing it and Twitter is (allegedly!) growing. Twitter loves drama. Well, people love easily digestible drama. And that's why I personally dislike Twitter as a social media.
I think it is purely a technology problem. Discord software is good and for text/voice chat nothing really compares to the ease of use, features and ecosystem around it.
There's some unwritten rule that management can't layoff more than ~10% of the people at a single time.

Honestly, it's such an strange mix of the Chersteton's fence and scream testing that I can't begin to understand the rationale.
This dude could be in the top 50 asshole employees worldwide, and Musk would still be in the wrong, maybe legally, definitely morally, for handling his firing the way he did.
The company I work for develops geophysics instruments and we lace the wire bundles in our equipment. The feedback I've heard is that it isn't great in terms of ergonomics for the technicians who do the lacing - repetitive strain injuries are a problem.
Until the Nix team is happy to even enable flakes by default in releases, I don't think it is reasonable to expect people to use them by default.
To be very clear, what modern LLMs can do is very, very impressive. Because they can seem so human, we start to anthropomorphize them and ascribe tendencies and behaviors, or even preferences, when those specific words belie what's actually happening to produce the output we see. I do it too.

But when you give a sufficiently advanced LLM a chessboard and ask it to checkmate black, and it does, it has not solved the problem of playing chess. It has solved the problem of giving you output that it thinks meets the conditions that satisfy your query the most closely of the potential outcomes it can produce. It is still an LLM.

I think that if you wanted an LLM to solve limitless arbitrary problems, you would need to represent all potentials in the weights, and that seems impossible. And even then, it's not actually solving the problems you ask, it's solving the problem of you asking.
> Dude is out for blood and Musk falls for it.

Unfortunately, that is not necessarily the case. I've known the experience of a few people experiencing disability over my time, and discrimination is so shockingly common that you learn to keep a record of everything just to survive in your job.
In his own words he took wage so he could pay more tax on Iceland where he is located.
Thanks for the correction, as for the motive, it was my thought until I dug into his tweet, he’s aware he’s terminated by 2/26 [1] but the post yesterday was too “nice” as in he typed those not to for anyone, but for court.

[1] https://twitter.com/iamharaldur/status/1629853233798696963
Oh, you mean the border where the seizures of fentanyl are at record level and almost of what comes in, comes through the ports of entry in trucks and not some random spot on the border on somebody's back just like you'd expect?
Importing single modules is so trivial and makes it tree shakeable. Is that really unacceptable?
Exactly. It's essentially a sandbox city builder with some highway optimisation thrown in. SimCities 4 was more fun because it was more challenging and felt more like a game, rather than a sandbox.

There are so many interesting gameplay things Skylines could do to be more fun for me like:

1. Subway optimization, e.g faster train cost more but people get to their destination faster, slower trains allow for shorter distances between stations.

2. Parking optimization, e.g. building with parking costs more (because more land has to be bought), but allows people to travel to the place in

3. Low vs high taxes, nanny state or pure capitalism? How would that affect the economy and people's satisfaction?
IDPro 2023 Skills, Programs, and Diversity Survey
This comment is not following HN guidelines, but:

I saw this and I was immediately sure that I could make this blow up exponentially. But then I got too lazy to think about exactly how, and instead waited for kind strangers on the Internet to provide a ready solution. Thank you :)

BTW, the concept is still cool.
One might say the same about any suboptimal human action. Even looking back at my own in-game performance yesterday, I can easily assemble a long "wtf were you thinking!!!???" list.

I'm honestly starting to wonder if we humans might be more imperfect than we let on. Stranger things have happened before!

Now...on to read some stories.
Tree-shaking doesn't help much when the tree-shaken implementation is so bloated.

Here's the one you referenced, lodash.chunk: https://unpkg.com/lodash.chunk – 140 lines after removing comments and whitespace.

That's pretty small compared to a lot of the lodash utilities. Try spot-checking a few on unpkg.

I prefer angus's `just` utilities: https://github.com/angus-c/just
Besides the layoffs which are clearly stock price attribued I could care less what Meta spends their money on and what fails. Technology is not so easy to always be successful in and sometimes the things you try fail. I don't think the failure of Metaverse is causing the layoff. Everything comes back to the stock price and the company is stale but at least they are trying to inovate somewhere. Layoffs are never good but we are all at the mercy of our corporate overlords
> And R&D, and testing the waters in other markets, is what causes true motivation.

There's a difference between legitimate R&D and pulling Tesla engineers to put out fires at Twitter. The latter is a blatant abuse of Tesla's resources and to be honest it's a miracle how Musk has not gotten under serious fire from at the very least the Tesla board or a lawsuit by shareholders.
It's not about facilities that don't need it (though I'd argue all facilities need it), it's about abusing specific details like the height of signage to extort money.(https://www.phoenixnewtimes.com/news/parking-lot-trolls-laws...)

If they actually cared about accessibility, they'd just tell the owner to fix it. Instead they sue them extracting thousands in settlements.
My wife has severe astma and when traveling this is something that worries me all the time. At home we have blue air machines and plants to filter the air, but astma attacks still happen (when she didn't use her medicines enough) when she travels from work to home on bad air quality days in Amsterdam. The astma medication is something that comes with a lot of trade-offs/health complications if you use it too much. Hope this will improve in future, but prevention would be even better.

I looked up the amount of people in the Netherlands that have health issues connected with air quality and it isn't negligible at all (1+ million on a 17,53 million population), but I don't understand why politically it doesn't get the attention it deserves.

Unfortunately I can't create this kind of machine (software eng, no hardware skills), but I think there is a very big market for portable masks with safe air to breath temporary when you are outside. Especially with all the research that has been done on how much air quality impacts your health.
How is "electricity production is not there yet for EV" a case for E-Fuels that require a factor of 4 or so of renewable electricity? How are most consumers going to pay >3EUR per liter? How does all that make sense given we have highly efficient EV?

I really don't get those "pro e-fuel arguments" if I'm supposed to forget that we're talking about luxury sports cars.
> As of Ventura you cannot bypass gatekeeper without a signature for a number of popular solutions. Electron being one of them.

You can do so the same way you always could. Perhaps you're mixing it up with ARM Macs requiring code to be signed by something? (it doesn't have to be by an Apple certificate). You can still run self-signed code on macOS even with Apple Silicon and the latest OS versions and there's no sign they'll ever change that. Our distribution tool Conveyor will self-sign apps for you out of the box and create a web page that tells users what to do [1], albeit we should make it less wordy.

> Apple developer license is apart of the app store

A Developer ID is separate from the app store, they're different certificate types. I distribute Mac software outside the store with one, no problem.

[1] example: https://downloads.hydraulic.dev/eton-sample/selfsigned/downl...
Even more so, he was one of the highest taxpayers in the nation because he decided to be paid in cash (taxed at 46%) instead of shares (capital gains, taxed at 22%), specifically so he'd be taxed more, as he considers that the country helped him a lot with his disability.
I live in an area that has harmful amounts on PM2.5 during the winter(80ug/m3+, double that a few days of the year).

You'll need an air filter, but not just any other one - it has to be oversized for the living space and spin up at a low threshold - air filters commonly only actually start when the measurements indicate more than 25ug/m3.

Also nice if it has an ionizer - my experience is that it generally increases effectiveness even though that's not exactly its purpose.

Aside from that it's important to seal all windows properly. Even a large filter won't do much against draft.
A guy who was at that very moment working at considerable personal risk to save the lives of 13 people.
He doesn't seem to mind breaking SEC regulations much. He may get punished, but that's afterwards.
I'm curious why? It's my understanding things like for loops are used for performance reasons, which makes sense: running .map().reduce().filter() involves creating three separate arrays which can be a drag if you're dealing with a large array. For loops don't have that issue (and more broadly a utility library like lodash surely ought to prioritize performance over code readability)
I remember that more than 10years ago, Ben&Jerry’s cost 5pounds.
Please don't do this in prod
Dumb question: what sort of hardware is used in AWS data centers and similar? How do they add seemingly unlimited resources to their data centers? Thx
I can't make my mind if the GP intended to be sarcastic, but if you read it in a serious tone, you are making a disservice for yourself.
> > sending a file to someone 5 feet away is still a challenge.

> Yeah, what the hell is with that?

Back in the early 2000s, we had IrDA which could easily transfer files from one device to another through OBEX. Not much later, we had the same OBEX but now on top of Bluetooth. We still have Bluetooth; it should be easy to send files between phones (and even computers) through OBEX. Last time I tried, however, it was a pain, failing more than half of the time. I gave up, and now use syncthing for that.
Muscular dystrophy's a hell of a thing, and I hope you never get it.
Thank you! We were actually thinking Java or PHP for the next one, so I guess it's a +1 on java :D
> (“a word is the natural unit of data used by a particular processor design”) Apparently on x86 the word size is 16 bits, even though the registers are 64 bits.

That's true for the the original x86 instruction set. IA-32 has 32 bit word size and x86-64 has... you guessed it 64.

16 and 32 bit registers are still retained for compatibility reasons (just look at the instruction set!).
That's a complicated way of saying Musk is a basic bully.
I swear every time I find answer on discourse it's near-always useless...
Why? Here is a model that would make sense: your body is capable of clearing x ug/day and anything over that causes inflammation. Well then stay below that level and it is
Binary coded decimal makes perfect sense if you're going to output the value to a succession of 7 segment displays (such as in a calculator). You would have to do that conversion in hardware anyway. A single repeated circuit mapping 4 bits to 7 segments gets you the rest of the way to readable output. Now that I think about it, its surprising ASCII wasn't designed around ease of translation to segmented display.
I'm curious why this was flagged and removed from the HN homepage.