skysight-inc/HackerNews huggingface dataset:
Is that well defined for

foo(0x12345678, -1)

? I think that, in modern C

-1 % 32 == -1

(% computes the remainder, not the modulo) it would try to compute

x << -1

and AFAIK that’s undefined behavior.

Even if it is well-defined, it possibly is not what you want.

If you were to call

foo(0x12345678, 32)

I think the most logical result would be zero, but the code you give returns 0x12345678.
Nix seems to advertise itself as something to do reproducible builds with, which is damn nice.

But what's the extra effort if your hw vendor doesn't support it? The examples on their homepage look more like cloud computing not embedded.
Development and Deployment of Direct Air Capture of CO2
"They couldn't write it so boldly without risk of litigation unless that actually was the case," lol. Lmao even.
I don't think even ChatGPT would have done a worse job of explaining this

> So Google aren't against automated scanning of anything and everything, it's the potential of mis-classification that they're concerned about.

They can live with a half-assed solution that only benefits then, but if it means they have to do more work and assume liability then suddenly it's not so great
Or like... if the actual _company_ that claims it "needs that worker from outside the U.S. so so so much" actually took the risk on instead of foisting it on the poor employee (and by extension, the entire labor market). My 2-step process for fixing the H1-B system.

1. H1Bs are _auctioned_ instead of raffled. You really need that H1B? Prove it - pay for it.
2. Sponsoring companies are responsible for cost of living for that employee for the entire duration of their H1B. That obligation can be transferred to another company.

3. (Bonus) After reaching a certain threshold of "taxes paid to the U.S." (maybe 300k or something) H1B holders _automatically_ get their green cards. No questions asked. If you can take that much of their money, they can be citizens.
Supposedly EU data is stored in a Netherlands DC but it may still violate the law.

For sure the Tesla recording while parked feature is illegal. I dont know why nothing is done about it. Probably just slow moving government. Especially now in Switzerland with the new privacy law. Private survalance of public grounds is illegal. Survalance of private property requires posting a clear sign of such including data retention, where data is stores and contact information.
Ok, so now my next question: is LEGO dishwasher safe?
It is not.

Visa holder wages are publicly available. People in this thread are making stuff up to support their views.
Subaru; I posed as an internal developer and contacted a few of their software groups inquiring about their internal utilities. The systems they use now were not in place until the 2017 model year.
Or one is cracked and the others are easy to figure out. Because these types of algorithms tend to feel complicated, but are not as you still have to remember it.
It doesn't sound like that's the aim of the bill, nor is it likely that ceasing to prosecute mushroom users will help the opioid addicts in any way. Those are unrelated issues. Although arguably a psilocybin mushroom trip might help a few folks who're on the wrong path but haven't completely given up yet. Psychedelic trips are often extremely introspective experiences and can help people rethink their habits, including addiction:

https://www.nature.com/articles/s41598-022-08085-4
Calling it slavery isn't to say that the situation is on par with Uyghur camps or Indian laborers in the middle east etc. Just like "I'm dying from this heat" doesn't actually say that the heat is so severe as to kill you the way it can in some parts of the world.

The point is that the system creates a similar sense of entrapment as slavery. The fact that it isn't literal slavery doesn't make it not an exploitative practice worth fixing.
> old enough to have made presentations with transparent sheets on an overhead projector

I’m in my early thirties and we sometimes used transparent sheets on overhead projector too when I was in school. Although in our case we made the sheets with the computer (Microsoft Word, Paint, etc) and they gave us transparent sheets that we put in the printer. I remember that the ink on the transparent sheets would smudge if we touched it, which sometimes accidentally happened when we handled our transparent sheets.

Even in high school I sometimes saw teachers use overhead projection with transparent sheets.

One of my math teachers in high school brought a special device with him one day. This one https://www.calculatorsource.com/ti-89titanium-vs.html (or some other model by TI). It’s an external screen that you connect to a TI graphing calculator and then put it on top of the glass plate of an overhead projector so that you can project what the calculator is showing for everyone to see :)
Death Toll Jumps Above 1k from Strong Quake in Morocco
I wear mine while working out, walking the dog and doing general chores. Love love love wireless. Cord always got in the way.
There was quite the profusion of office productivity software at one point, some of which had approaches that I preferred (at least for some purposes) to those that ended up being enshrined in the Microsoft suite.

One of the things I like about Google Workplace is it ended up stripping out a lot of the sort of cruft that Microsoft added over the years and ended up with components that are more streamlined for my generally fairly simple needs.
Maybe we should take their word for it, then? It's hard to imagine what enforcement even looks like, at their scale.
You have this backwards: the visa is required only to live in the US for the purposes of working. If you aren't living in the US, you can work as much as you like for a US company, provided they and you comply with laws in your country. Typically this requires them to set up a subsidiary in your country, or contract with a local company that you become an employee of.
I love my ErgoDox EZ. But I’ve purchased a Dygma Defy in part because I want wireless. It would be so nice to have wireless power built in to my desk so the keyboard could make us of it. But I agree with all the points in the article. Except I still want wireless. If only batteries were still removable like the good ol days…
There is nothing at all special about a US worker.

Welcome to the world, where people who aren’t from or in the US also need to feed their families, and have just as much a right to do so as Americans do.
Neat keyboard. Going through the marketing materials on this site I noticed what appears to be a coffee shop example. I’ve started seeing this type of thing in coffee shops recently along with laptop stands and once even a full monitor setup. This strikes me as incredibly bizarre in what is often an actual restaurant. I have very clicks keys at my desk but that’s in a private office with no one in earshot.
> Here is an attempt at ethical, non-sexual haikus for and against Kubernetes
It does, but in most cases how can you prove that the car record and send such information to the OEM and others? Most new cars offer some kind of audio interfaces, so they NORMALLY listen to you, some also have various "security features" to monitor driver attention that demand video. Can you prove in a closed source system that such information does not goes beyond the car itself?
Most states and countries punish criminals with fines, jail or death depending on the crime
Approx. a billion times more risk from wherever you've been keeping the bricks, what else they've touched etc. rather than the plastic itself.

I assume you're from the US? What is it that seems to promote such food safety fear over there? It's really noticeable in 3D printing and food preservation communities/recipes.
> Appeals Court Rules White House Overstepped First Amendment on Social Media

No, the appeals court did not. This headline is inaccurate.

It found that the Administration likely did so in a narrower set of cases than the trial court had, in upholding in part and striking down in part a preliminary injunction placed by the trial court (likelihood of success on the merits is one of several considerations in issuing a preliminary injunction, but it is distinct from an actual ruling on the merits.)

Trial and an actual decision on the merits will happen later.
No, it's completely serious. I seriously find it amusing.

It's just not anything that merits some giant pile-on of pushback from HN that makes it sound like I'm some extremely famous and influential environmental activist who just pulled a William Shatner and laughed in the face of my core audience on SNL and told them to "get lives" and "worry about something more important."

To me, this is like "Woah, dude. HN is histrionic here. Wow."
Don't hesitate.

Let's have lively debate over this issue.
In this case, I think the rule is still good. "3 Republicans" is a baity title imo. It would have been better reworded, possibly just to "California's magic mushroom bill", or not submitted if it's only about the 3 Republicans, the politics angle doesn't accomplish much.
One less thing which needs constant charging. Low battery also results in a state where you think everything is working and blame your typing until you realize not every command is received.

Also:

- less waste / power

- cheaper

- higher security

- compability
Human rights are really important to me, and it was quite shocking to see what are supposed to be inalienable rights violated for something that’s much less than catastrophic.
Government likely violated First Amendment in vaccine misinformation campaign
HN companies have a history of breaking labor laws - I have noticed several times that posts hiring in NYC for example do not include salary ranges, which is required by law.

It is not surprising.
I'll pass - Hacker News comments are not dissertations. The C code ran faster on my machine. YMMV.
Comtrya: Configuration Management for Localhost
I worked an a site that did lots of ach transactions.

We had so many support tickets and errors from people making errors with entering routing and account numbers. Like 20% of all new payees enters bounced back or went to the wrong place. This worked out because new payees were rare since people typically pay the same people over and over.

I think HR does the cancelled check thing because the risk of error is so great and consequential. If people’s paycheck fails, that’s bad.

Walking people through cutting and pasting is harder than “give me a check.”
I would like involuntary labeling for:

1. When the device manufacturer will discontinue support.

2. Up front disclosure of subscription fees if required to make the device work.

3. Software or hardware locks that prevent the user from modifying the device's firmware.
Why Does Duke Have So Few Low-Income Students?
I used to use wireless keyboard/mouse. I switched back to wired for both. Charging them became annoying and wireless offered no effective benefit.
Opposite for me. After using QC35 4 years ago (now I have QC45 which is the same) every other headphone feels like crap.
FAA Approves Beyond Visual Line of Sight Operations for 3 UAS Firms
I find it interesting that H1B implies Indian or Chinese workers. As a South African I don't know why you don't hire more English speakers that would be H1Bs. I myself have tried to get an H1B and so far the door has been closed.

It's been easier for me to move to a European country where I had to learn another language.
It's built from another separate project called swarm-kit. So if it comes to that where it is abandoned, the forks would be out in the wild soon enough.

I see more risk of docker engine as a whole pulling some terraform/elastic search licensing someday as investors get desperate to cash out.
Which brand and model?
The "low paid H-1Bs" making 2x more than people complaining those guys are in slavery has to be somewhat funny at least.

You've got to be better off than the person described as being enslaved.
You are literally not describing any type of medical shock whatsoever. https://en.wikipedia.org/wiki/Shock_(circulatory)

I do not doubt that yours is a real condition, but it is not called "shock" in medical terminology, so please stop calling it that.
This whole article feels very shallow to me. All wireless mechanical keyboards I know of can also work in wired mode, so it negates his entire argument which seems to be longevity...

Just to be clear I'm not arguing for wireless keyboards, just that it feels very forced and they should just say "wireless doesn't fit our vision".
Unpaywalled: https://archive.ph/hZowM

Also youtube has the full-length video (tho not yet the new edition ref'd in the post)
I think the degree to which there’s an expectation of privacy is a bit of a distraction from the core issue: Facebook is not claiming that you have any sort of legal agreement with them simply by appearing in your friend’s photo. They’re still going to use it to construct shadow profiles, of course, but if it somehow came up in court they’d say it was your friend’s responsibility to secure rights. It’s not great but what these manufacturers are doing seems to be even worse than Facebook, which is somewhat impressive.
You throw a lot of half baked assertions on this thread but it doesn't seem to go anywhere.

Who should a nation put first then?

I dont see the connection between how citizenship is acquired (AFAIK each nation is free to set the rules/laws that they think is fair) and if citizens should get special treatment or not.

If citizens can't get "special" treatment over non resident in their own country what's the point of countries?

How people become residents and what "rights" they have die to this status is part of the "social contract".
The only wireless keyboard I have is the one for controlling the media computer from the couch. For everything else, portability is not a benefit, and wireless connection are just another failure mode.
I haven't had much opportunity to work with Docker Swarm, but the one time I did, we hit certificate expiration and other issues constantly, and it was not always obvious what was going on. It soured my perception of it a bit, but like I said I hadn't had much prior experience with it, so it might have been on me.
But only after verbalizing that they won’t “read all of that to you”
Threads are for doing your own work in parallel. Async is for waiting on others to do their work in parallel.

Your own work would be some CPU-intensive operations you can logically divide and conquer.

Others' work would be waiting for file I/O from the OS, waiting for a DB result set following a query, waiting for a gRPC response, etc.

Conceptually quite distinct, and there are demonstrated advantages and drawbacks to each. Right tool for right job and all that.
Why not both, like the Keychron Pro keyboards? You can connect the USB cable, which always works, or use it wirelessly when you want it (or need it).

Furthermore, wouldn't replaceable batteries also fix the durability issue?
With Postmarks, social bookmarking is back – this time built on the Fediverse
Will the Rains Extinguish Burning Man?
I love the idea of wireless, but in practice I always find myself reverting back to wired after a while (for keyboard and mouse, headphones is a different story).

The pain of seeing wires is not as bad as the pain of having the battery run out every once in a while, just when you need it, and having to plug it to charge.

Maybe once batteries last for months instead of weeks I'll change my mind.
Don't worry, soon an army of LLM-based tax lawyers will eat their lunch.
I'm happy to receive everyone's feedback! I've implemented some easy improvements. I think it has become a bit simpler.
The dropdown list UI was hard to see everything, so I changed it to a selection style. I've improved the filter for the code snippets, so it should feel more game-like now.
Lego itself has almost the same page

https://www.lego.com/en-us/sustainability/product-safety/mat...
As a PHP developer of 10+ years, large frameworks like Laravel and Symfony still bewilder me. I really have no idea why 99% of people would ever want to use them.

They add a layer of complexity over the top of PHP such that instead of learning how to write PHP, you need to learn how to write the framework.

Let's take an example right from Laravel's homepage:

Authenticating users is as simple as adding an authentication middleware to your Laravel route definition:

Route::get('/profile', ProfileController::class)
->middleware('auth');

Once the user is authenticated, you can access the authenticated user via the Auth facade:

use Illuminate\Support\Facades\Auth;

// Get the currently authenticated user...
$user = Auth::user();

As a developer, looking at that code tells me nothing. WTF is the "auth" middleware? Where is it configured? What's it doing?

Then we come to `Illuminate\Support\Facades\Auth` - another meaningless string with a seemingly arbitrary name. WTF is "Illuminate" and why is it in my code? Why do I need it to authenticate users?

So I have to go and learn all of this crap before I even begin to understand what the code is doing. And for every other thing I want to do with the framework I need to look up how to do it "the Laravel way".
> So does your understanding of the first amendment allow about passing a photo of a child being raped?

No... You know it doesn't and you also know that this kind of speech is nothing like the speech that was directly prevented here by the government, so let's stop playing games.
Depends on your definition of a good password.

The experience of one victim mentioned suggests it's economical to crack at least 50 bit entropy passwords for at most a $3.5 mil payout.

50 bits isn't great, but it's not terrible either.
Ask HN: Frequent Cloudflare Captcha/Blocking on various websites?
Most of the websites that are protected with cloudflare are harder to access these days. Sometime they just put me in an infinite loop of JS challenges, or directly blocks the access and doesn't even show the JS/captcha challenges at all. Cloudflare-wrap also doesn't help.

It's quite annoying. Anyone else having similar issues?
It looks like a report on quantity of instances (sites, frameworks, packaged setups) but doesn't go into other metrics like traffic load, users, PnL or other money-metrics. Say the top 100 websites were all to use PHP, that would be a very different story than none of the top 100 websites using PHP, but neither is reported. We have some "we are in the top 500" and "we have billions of page views", but not much else.

That said, how good or bad a language is might not be quantified or qualified to a point where all audiences are happy. How it's used vs how it's structured, where it's used vs. how much money it's making can all mean different things to different people. If you look at it from an academic (CS) perspective it might not matter how much money it makes if it lacks some scientific nuances. But the same works the other way around as well; it doesn't matter how cool COBOL, FORTRAN or lisp is if you can't run your massive eCommerce web app with it (there is a joke in here somewhere).
Never understood wireless keyboards and mice. Checking the battery level would drive me crazy, and you’re next to a power source anyway!
Thankfully, the standard has seen fit to specify what exactly "undefined" means so you're not left to arbitrarily interpret only the bare word "undefined" in some sort of "layman" way.
This technique sounds great but has some challenges.

Firstly, companies change logos, change names, force password resets or your password will leak in a breach. How does this system accommodate those scenarios?

Also, once a few of your passwords are in data breaches, anyone who wants to target you can derive your admittedly less complex formula.

It is not out of the question that there already is or will be technology to compare multiple passwords from the same person from different leaks and derive the formula.
Depends on the plastic, it's just the same question (for plastics anyway) as what temperature does it deform at. So if a thermoplastic just needs to be stable up to at least 70°C or whatever max temp. you're going to run it at.
Since you’re in embedded Linux, I’d suggest some of the bootlin learning material. Something like an i2c or spi driver might be good.

QEMU is nice for learning because you can more easily debug kernel code with gdb.
I've found it much nicer to use a dongled device than a bluetooth device.

With bluetooth, it's super easy to have some combination of devices where something doesn't work. (e.g. with a macbook, leave the bluetooth on & put the laptop away in your bag. Hours later, try and turn on your bluetooth headset, then wonder why the headset won't connect to anything).

Though, I think peripherals should be able to be used with a wired cable.
The original article is even more misleading. I would expect that it was written by someone with zero knowledge of US immigration policies.
I've got a Moonlander, which I love. But I really do wish it was wireless, the cable the joins the two halves in particular gets in the way and makes it painful to use the space between the halves for a notebook.

I'm kinda hoping that someone will figure out how to jury rig a ESP32 into one of these boards, so it's possible to add wireless capabilities using a screwdriver and a soldering iron. Even better would be is ZSA provided headers (even unpopulated headers) on the boards so that you could strap a co-processor like an ESP32 to it, without having the mess too much with the PCB.

I imagine, with some work and custom firmware, it would be possible to get the power consumption to Logitech levels of efficiency. One AA in each side lasting a year, that would be ideal.
The problem, as you can see in the story we’re commenting under, is that often requests from the government can imply (either intentionally or not) the threat of retaliation or force.

The government spends a lot of time making requests of private companies, of other governments, and of individuals. But they have a duty to avoid crossing the line and applying unfair pressure to coerce the response they want.
But is it?

The opinion NYT is reporting on is clear that the censorship in question went beyond Covid: "Their content touched on a host of divisive topics like the COVID-19 lab-leak theory, pandemic lockdowns, vaccine side-effects, election fraud, and the Hunter Biden laptop story" ... "Individual Plaintiffs seek to express views—and have been censored for their
views—on topics well beyond COVID-19, including allegations of election fraud and the Hunter Biden laptop story."

Yet the NYT only mentions covid and the discourse on HN-- which at the moment is substantially making excuses for the administration on the basis of "but covid!"-- is worse off for it.
I love the program. You are now accusing me of fraud and being a crook when you clearly don't know the first thing about the system that you yourself took advantage of. Good luck with that attitude.
>what do you base this ad hominem on?

Look at OP's original post. Why would one consider a change at all when everything that one needs is already in the OS? I mean... it could perhaps be a preference. Shocking right?

Anyhow, I wouldn't convince any company to use windows environment unless necessary as you mentioned. However not all software are web servers and there are plenty of reason, not extraordinaryly, requiring a windows environment.