skysight-inc/HackerNews huggingface dataset:
> ... all trapped in the green card promise making 1/3 of what they could be making somewhere else.

Your colleagues need to find a lawyer, then.

Visa holders don't need to stay employed in the same company to obtain a green card. And if they really are underpaid compared to other coworkers, that's a clear case of visa fraud against the employer.
Looking forward to reading this. My “favorite” database benchmarking bugaboo is unrealistic random data distribution in the test set, typically by relying on the uniform results you’ll get out of the default random() function in your favorite language library.

Application data is almost never uniformly random. As a result, you’ll miss the real-world effects of a wide range of system behavior: CPU branch prediction, data compression, adaptive query optimization, …
Even airpods with apple devices get no better than 100ms latency, with some (Apple device to Apple device!) combinations easily going over 200ms. It's nigh unusable for anything other than listening to music or recorded video.
Yocto has made great progress into fully reproducible builds too, just fyi..
A nation supports the people who agree to the social contract upon which the nation is founded, citizenship be damned.

Citizenship in the US is a profoundly broken system with a horrendous and racist past, and using it to decide who deserves the benefit of the social contract and who doesn’t is actively buying into the nationalistic and false idea that Americans are superior just because they were born somewhere and foreigners weren’t.

You wouldn’t argue that black slaves weren’t worthy of US protection and services until the 14th Amendment was passed, would you? You wouldn’t pretend like the US granting and then revoking citizenship from Mexican settlers repeatedly in the 19th and 20th century was acceptable, would you? Was the Chinese Exclusion Act acceptable?

A foreign life is worth exactly the same as an American life, and the difference is completely arbitrary.
Which is why this thread seems surreal, if it were about cost cutting they wouldn't bring people to the US in the first place
Once we reach level 4 or 5 of replies I think it's not really worth pursuing so I'll just give my take on this one and leave it there. That's probably a case where principles/values or whatever you want to call it differ too much for anything to come out of it.

People were allowed and welcome to immigrate because there was a gigantic country to fill. Now this policy makes no sense so rules have changed. It's just common sense. The way a country was built/populated doesn't need to persist forever and should adapt to whatever works best at a given time.

Otherwise let's push the logic: mostly white people immigrated at the beginning, should we stick to this? It makes no sense.

It's not about "deserving". It's about the common good of the population. I believe in helping people who are already here better their life instead of relocating someone.

One could argue that having access to good jobs is part of the nebulous "social services" you mention.

As a side note, it's interesting how the interest of the immigrant seems to always be superficially taken into consideration. Immigrants don't all want to move. I would bet a lot of them would much prefer to have a better life where they are to begin with.
Nodejs is inherently asynchronous and the JavaScript developers bragged during its peak years how it was faster than Java for webservers despite only using one core because a classic JEE servlet container launches a new thread per request. Even if you don't count this as "context switch" and go for a thread pool you are deluding yourself because a thread pool is applying the principles of async with the caveat that tasks you send to the thread pool are not allowed to create tasks of their own.

There is a reason why so many developers have chosen to do application level scheduling: No operating system has exposed viable async primitives to build this on the OS level. OS threads suck so everyone reinvents the wheel. See Java's "virtual threads", Go's goroutines, Erlang's processes, NodeJS async.

You don't seem to be aware what a context switch on an application level is. It is often as simple as a function call. There is no way that returning to the OS, running a generic scheduler that is supposed to deal with any possible application workload that needs to store all the registers and possibly flush the TLB if the OS makes the mistake of executing a different process first and then restore all the registers can be faster than simply calling the next function in the same address space.

Developers of these systems brag about how you can have millions of tasks active at the same time without breaking any sweat.
actually if they do it one by one it's just better.
When you embed Google Fonts on your website, the IPs of your visitors, the URLs of the pages they visited, and the User-Agent of their browser is sent to Google.
Now they say[1] they don't use this information for profiling and targeted advertising, but they very much /can/.

Given Google's business model, I personally don't have a reason to trust them with my visitor's data, no matter what they do with it. Self-hosting the required fonts is a 2-minute job anyway.

1: https://developers.google.com/fonts/faq/privacy
Then how would a company replace low performers?
Your premise is flawed. If I create a new nation and my nations social contact is one norm: no outsiders, then you can't simply be a national by agreeing to the contract.

In practice, nations prioritize their own citizens, in the same way you will prioritize your family. Do you abandon taking care of your family because it would be "more fair," to take care of someone on the other side of the planet?

Your countrymen should have aligned values, cultures, goals, missions, etc that prioritizes them. That's the fabric of society.
Bluetooth ususally works pretty reliably for me these days. However, if you connect a larger number of bluetooth devices (headphones, mouse, keyboard, trackpad, etc.) it can become a bit flaky.

Since you don't move keyboards like a mouse or headphones, it helps reduce the number of peripheries connected to your computer, which in turn helps with bluetooth connectivity issues if you have a lot of devices connected.

Oh, and it's one fewer thing to charge.
Ha, I still use that as my “backup” keyboard at work. Came with the 21” iMac my parents bought in 2010. Sometimes you just need a break from the key travel of a mechanical.
This is not true in fact or in practice.

For example, a compiler can assume that a variable sized shift is in range, then use value range propagation to eliminate tests, which can be very confusing if you expect the shift to be implicitly & 63.
The Age of Interoperable AI
Even if you decline Contact syncing but otherwise use Carplay?
I have the luxury of toying with tech because the business around it is relatively successful. Engineering deep-dives are a lagging indicator of success (your own or your employer's) and almost never a leading one. All those "we did X/Y/Z with cutting-edge stuff" blog posts are overwhelmingly written by people who don't need to worry about bringing in money to pay for the time spent on that stuff.

Choose the tech stack that allows you to rapidly experiment in building something other people will give you money to use. That means choosing DX and iteration speed over runtime speed. That means using whatever gives you the most joy, so you're incentivized to build more often. That means something high-level so you don't waste time re-building components your customers don't care about, so you spend fewer hours on invisible, undifferentiated, but complex and time-consuming stuff.

If you're most effective with JS, Node is fine. Bun is fine. Deno is fine (for greenfield). One is super stable, battle-tested, and has 10x more contributors and 100x more libraries than the other two (most of them are trash). This maturity gap may not matter at all or may break your startup if you must re-implement something complex or continuously spend hours understanding and battling your runtime with minimal information on the web from others who encountered the same problem before. The same goes for your prod infrastructure, mobile app architecture, business ops, infosec, etc. Choose boring technology https://boringtechnology.club
They probably have a separate "all-points bulletin" process for urgent cases.
My then 7-year-old used to crush me and my wife at Set. I suspect part of the reason is because I thought about it too hard. :P The all-different sets are the mind-benders for me, I don’t see them easily and have to spend time enumerating combinations. He would generally beat us at Spot-It! too.
I don’t live in an expensive area but the general move towards $15/hr minimum has either caused or been a really strong indicative symptom of something like a collapse in the value of wages. A lot of people doubled their wages nearly overnight here, while myself making $25 did not see a raise at all.

I was an account manager at a MSP making $25 and I remember seeing a sign for a rural bar “line cook wanted $25/hour”. Tried to use that as a bargaining chip to show him how bad it was and he told me to go work at the bar if I wanted the same money for less work. No, I’d like to be gain experience and be treated like a professional, please.

Point being, $50K ain’t shit. Even in rural areas.
Edit: I see your point now. Still, I don't know if there is some specific idiom that the current version of the compiler may optimise better. :)
for the past few months, I've been working on a little side project of mine, a collection of 300+ Elementor template kits for pretty much every type of website, the kits themselves are developed by third parties, and since we bought the licenses for these kits (I and a couple of friends used to run a small wordpresss design agency) we do have the permission to repost them as long as we attribute the original creators. so for those in here using Elementor, this might be a nice little resource for you. enjoy!
Wow. I guess I am out of touch.
What this article characterizes is frivolous bullshit.
False comparison. New Hampshire is ethnically, politically and geographically American, and has been since before the revolution (that would be more like fighting for the Donbas). The Crimea would be more like if Russia took over one of America’s outlying dependencies like Puerto Rico. In fact Russia did that in 1959 with Cuba, and ultimately the US had to back down and cede it to the Soviets to avoid nuclear war.
Batteries go bad.
Lag
They seem flaky.

Same for mouse
And this is happily said by Internet slacktivists to try and hold themselves in a higher esteem to others while still polluting AND giving corporations free ability to frack and spill oil everywhere. Truly a guiltless individual.
Is that a question or a request? If a question, the answer is no, because it's someone's website, they can do what they want. If a request, the author of the article is not in this thread and cannot provide a citation.
Deciding what constitutes "misinformation" is highly subjective and can lead to censorship of diverse opinions. A government empowered to regulate speech based on content risks suppressing valid dissenting voices. While misinformation can be dangerous, attempting to police speech can lead to unintended consequences and threaten democratic principles. Instead, a better approach is to provide accurate information, promote critical thinking, and foster open debate. Maintaining individual freedom for everyone across the country is more important than the lives of a few people who choose to follow misinformation.
Naive question: does the Logitech MX Keys keyboard count as mechanical?

Because it's wireless only; the USB connection is only for charging.

I'd love to have a keyboard with exactly the same feel and key caps, but with wired connectivity.
You just go into the app and click "Create card". Within seconds it will show you the number, expiration date and security code. And you can name it.

Then you use it like a normal card, so on the retailers it will be just like you use a physical card.

For example, I wouldn't have one card per purchase for Amazon, but one virtual card for Amazon that I would switch every few purchaces or something like that.

I haven't had any issues with this and have been doing it for a few years now.
I don't know if it's still the case, but a few years ago if your bluetooth headset had a microphone, it switched from 'A2DP' to 'HSP' which has trash audio quality.

And it would happen almost invisibly - there was no indication in the OS of what was going on.

Maybe it's better now?
On a less jokey tone, it’s really not a stretch to imagine someone like a Texas AG filing subpoenas demanding cell providers, cars with data services, etc. identify customers in their state who stopped near clinics in adjacent free states. I’m actually a little surprised that hadn’t already happened.
I think you'd at least get a reasonable worst-case behavior by working with (cryptographically secure) random data, no?

I agree you wouldn't see many optimizations that likely would take effect in the real world.

But worst-case scenarios are helpful to know too.
What is being searched here? The fourth amendment only applies to your property and possessions.
You're now blatantly strawmaning. Nobody is talking about the value of a life or people being superior to others. We're discussing employment policies.
Booking.com doesn't handle the reservations themselves, just facilitates you interacting with the hotel's reservation system. Booking.com probably plugs into the Central Reservation System for the hotel at some point whether it be at the chain level, the hotel level, or through something like the GDS (Global Distribution System). When booking.com starts a transaction it first asks for availability from the hotel, presents that availability to the user, then the user chooses if they want to accept any of the availability.

Once the user chooses the reservation it's blocked off directly in the Central Reservation System at the hotel so it can't be double booked. If the rooms fill up between the availability being presented and the user deciding the CRS won't accept the reservation then booking.com then has to handle that use case with the user.

So Booking.com itself probably doesn't really have any "floating" reservations where the user is told it's booked and the hotel doesn't know about it. It's all pretty much done in real-time.
Yeah I still just say FAANG. To me it means whatever the big tech companies are with much higher compensation than what I'm getting.
Everyone is buying up H100's (and A100's if they can't find H100's). Sure, in 18 month people may lose interest in buying H100's but then there will already be the next Nvidia model everyone wants to buy to get ahead of the competition in terms of compute capabilities.
America’s Semiconductor Boom Faces a Challenge: Not Enough Workers
>or Musk himself has much bigger interests and does favors.

I don't want another moron like Trump, Musk needs to stick to cars and rockets.
PHP was not great in the early days, same goes for Javascript, but they made web we use today, I'm not going to use today's standard on yesterday's realities. Both have moved on and are much better off now.

Comparing to PHP, modern frontend is the true mess still though, there was never a simple to use SPA frontend in existence, they're all complicated, over-engineered and changing too fast to me, and now they are even adding what PHP was good at(SSR), frontend is the problem and getting even worse to me. The backend, be it PHP-laravel, Ruby-rails or python-django, even node-express are an already solved problem, the frontend framework folks adding SSR into frontend frameworks are simply insane to me.

NOTE I'm not against SSR, what I dislike is that they add SSR directly into an already over-complicated SPA framework, which will kill itself under its own weight soon.
Why would they be wireless? For a device that stays in one position on my desk all the time that's utterly pointless. There are only downsides - having to charge it, signal issues, potentially lower security.
They fought kicking and screaming to not have to bring a medicare for all vote to the floor. If they wanted it, you'd expect the opposite, but that never happens.
Battle of the AIs: rival tech teams clash over who painted Raphael in UK gallery
Will do once I’ve investigated more. Tried bun yesterday evening and just saw this thread this morning while heading to the lake :)
Thank you for your awesome work on nuxt 3, by the way!
I have a bluetooth keyboard and I usually use the cabled option. Bluetooth is definitely handy sometimes, but generally cabled is better. Bluetooth has a lag when it's been dormant and you start typing.
A few that come to mind:

1. Public health agencies originally stated that N95 respirators don’t work and require special fit training. This guidance vanished the moment respirators stopped being in short supply.

2. The public was repeatedly told the virus was not thought to be transmissible by airborne particles, even though there was evidence that it was. Similarly, well after fomite transmission had been ruled out, health agencies continued to preach hand-washing and surface disinfection.

3. Concerns that the vaccines might have serious side effects were blasted as anti-science lunacy. Later, the vaccines were proved to cause serious side effects in some people.

4. Any discussion of the lab leak theory was treated as radioactive.

I could go on.

What’s bothersome about these examples isn’t that the science was imperfect or evolving. It’s that the public were lied to, and were also told they should not dare question Science (with a capital S). When I read that scientific journals censor entire avenues of inquiry because the implications are undesirable, I wonder if real science even exists in politically sensitive fields.
Has anyone figured out yet how to get a Bluetooth keyboard to autoconnect on boot with Linux?
You don't need to selectively breed humans -- you can just feed them the optimal human diet (100% animal-based). This would prevent 90% of chronic disease and also end all human farting.
one of my favorite hacks, which started as a joke, is using LD PRELOAD to generate audio from memory allocation and read calls.

https://github.com/gordol/ld_preload-sounds

this started out as like 10-20 lines of terrible code originally, and a few people sent merge requests to improve it
Because they can serve them shit-sandwiches in other metrics and the H1B has no recourse.

"Work over the weekend or your employment will be terminated and you will have to be deported."
Agreed, the threats were going too far. But those are clearly being dealt with, and not in any way indicative of a free speech crisis such as what was referenced to in the parent comment.
Both/and and repairable. I want wireless because of my portable setup, and wired so the thing still works when the battery dies and when Bluetooth doesn't work (e.g. the bios screen).

Ideally it should also use an easy to replace battery.

I've used the Nuphy F1 in my setup for this. It isn't ergonomic but satisfied the wired and wireless desire: https://www.reddit.com/r/ErgoMobileComputers/comments/vzs8mm...

A similar device is the apple magic Trackpad - it works in both wired & wireless which has been helpful when using on test devices and my use case with a portable tablet.
> (ADHD means I forever forget there's a cord attached to my head.)

That explains it I guess. Most of us don't have ADHD so it isn't a problem for us
Paaaing hardware to VMs is the "killer app" for VFIO, but VMs (e.g. QEMU) are just normal userspace processes. In other words, VFIO can delegate control of a device to any userspace process, but it's most commonly used for VMs.

DPDK [1] is an example of a non-VM VFIO user.

[1] https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html
Ask HN: Will Google delete inactive gmail accounts that forward email?
Google is doing their "deleting inactive account" thing.

I have some old gmail accounts that forward email to my main account. I don't login to the old ones, but I read the mail that comes through.

Does anyone know if they'll count those old ones as inactive and delete them?
"Microplastic" describes a small pellet of plastic less than 5 mm in length. It doesn't refer to any specific type of chemical used to create plastic.

If the question is whether or not lego bricks generate microplastics, the answer is no, not really. Microplastics are mostly a problem when they wind up in the water supply, either from plastic fibers in clothes that are being washed, or plastic microbeads in shampoo that gets rinsed down the drain, or in plastic trash that has wound up in a river or ocean and is deteriorating into smaller particles.
If you’re shifting right, the behaviour ought to be

Unsigned: should produce a zero

Signed: should sign extend the leftmost bit, so it will either be 0 or -1

Shifting left should result in a 0.
Wired is always more reliable and lower latency than wireless. And not having to deal with batteries is great.

There are some applications where wireless is so much more convenient that it overcomes those trade offs, but a keyboard isn’t one of them.
During mirroring recently I noticed a new pypi package with such a long name that it caused "file name too long" errors on artifactory and with bandersnatch saving to local risk. In this case the code handled the situation correctly (if python throwing an error con be considered correct handling) but it could well have been an exploit mechanism.

Anything touching the internet where user provided content will be consumed should be hardened and preferably sandboxed in some way, stuck in an unprivileged DMZ, and monitored.

As for the pypi modules themselves, a web of trust system might actually work. For scientific packages especially. There's always the risk of an author getting their machine compromised and someone pushing an update with either a subtle bug which can pass unnoticed or a loud and quickly detected attack. Making a change in account 2FA tokens visible would be a great start, as would integrating signing keys.

(The long file name in this case was the digits of pi.)
M'NAMANA

Solves all your issues and comes with a catchy theme tune.

https://www.youtube.com/watch?v=QTXyXuqfBLA&t=2
What frequency ranges does it start to become an issue? Cheap controllers can be on in the hundreds of MHz now.
Also enjoyed your blog post on similar issues: https://explosion.ai/blog/against-llm-maximalism

Excited to see how curated transformers works as an alternative to hf!
I'm hoping we use this as an opportunity to move past the whole idea, because this isn't the last time that list will change. It's a badly named variable. Just say which companies you mean, or say "leading tech companies" or "big tech" if you absolutely have to.
That magic material that keeps CO2 levels steady may well be called peat moss. Wetlands are much more effective at carbon sequestration than forests and, worldwide, we've lost 85 percent of our wetlands since the 1700s.

Though I agree that we are also poisoning our planet and should stop it. <-- expect another histrionic pile on by people who think climate change will definitely kill us all but want to dismiss concerns about how toxic our world is.
If this wasn't their bread and butter and not an example they picked themselves, it would indeed not be fair... But they chose this example specifically and said this is how you get state of the art performance with Mojo, so...
That’s exactly what is being discussed, even if you don’t realize what it is you’re saying.

Americans are not more deserving of jobs than foreigners, Americans are not better than foreigners.
I don't care for wireless keyboards, personally, but the idea of a pair of dongles that could make any USB HID device wireless sounds like it would be a fun project to build. I don't know if there would be a market for such a silly thing.