skysight-inc/HackerNews huggingface dataset:
I spent a while rewriting a tiny bit of some useful Ruby in Rust and integrating it via Wasmer, and I definitely think my time expenditure is better classified as "fun thing to do" than "magic fix".

https://ossna2023.sched.com/event/1K55z/exotic-runtime-targe...

https://www.youtube.com/watch?v=EsAuJmHYWgI

My goal was to determine: how will I use Wasm as a Rubyist? Spoiler: I did not intend to use Rust, but embedding Ruby in a Wasm and running it from within Ruby proved to be a fool's exercise. I have a feeling that some of the claims I made in this talk about there being "no theoretical benefit" to running Ruby in Wasm in Ruby will quickly be proven incorrect. But I'm not expecting it to be faster.

If it's ever faster, that will be filed under "surprising results"

Michael Yuan who obviously knows a lot more about Wasm than I do addressed this in his talk as well, but not from the perspective of a JIT necessarily, although I guess you could consider local machine compile target optimization on the target machine at runtime as a type of "just in time optimization" it's not really (it's just the regular ahead-of-time type of optimization, but not fumbled and the majority of benefits immediately getting lost in such a way as it usually is...)

https://www.youtube.com/watch?v=kOvoBEg4-N4

The spoiler from that talk (for me anyway) was finding out that you do see surprising results sometimes, and sometimes it's due to a pathological case that (a) happens all the time, and (b) does not have a readily obvious solution in the form the problem regularly takes. Like linux distros shipping generic binaries "target-optimized" for the lowest common denominator on any given particular architecture dist target, because the binaries they ship obviously have to run anywhere.

(Recap of the conversation we had off-stage after the Q&A ended: We don't know when we say "x86-64" what modern opcode targets that means we really have available, so we have to ship a binary with only the oldest opcodes that are guaranteed to be available on any similar chip that we intend to support. Web Assembly uses a compiler on the target machine, cranelift, to translate from a platform independent binary to a platform-specific one. Running the compiler takes a while, but we can do it ahead of time. Will we come out ahead in the end?)

All of this stuff is certainly very fun to reason about :D
I'm pretty sure it doesn't. That looks exactly like the single threaded code for the good julia versions.
very few privileged people can really just quit
Yeah there’s also non-H1B people getting severely underpaid too, and those comps are used to justify it.
Why? OP mentioned a number of reasons why they don’t believe it to be true
To be equivalent FB would need to be taking the photos themselves and then selling the data. I really can’t think of a good online equivalent. Google street view would be close except they blur peoples faces.
I wouldn't consider searching through PACER "spying".
True. I setup a woocommerce site for someone 3 years ago, still makes around $1000 a month (pretty good for a small biz in India) and I just helped them downgrade from a $10 digitalocean VPS to a $3 cpanel hosting.
It’s a big catch-22 kind of problem. “Politics is downstream from culture” but right now politics is being weaponized against culture.
Being the odd one out also makes you a target for things like PIP quotas. It's very disturbing to watch, especially as managers try to justify it with phony evidence to save their own.
There is clearly a lot of smoke around the president’s son receiving millions of dollars from Ukraine and China (why would he get that money?) yet all the news is about the orange man. Shouldn’t we be just as concerned about Ukraine collusion considering there’s an actual war we are funding there, and the Russian collusion was totally debunked? We live in clown world.
I wonder if the dealership connected mine. I have a lease so anyone could have test-driven the car and hit "accept"
Literally 100% of my immediate family married someone they met online. 75% of us, including myself, are still married to said online date.
In what way are the criminal charges against Trump "show trials"?

All of the charges against Trump are going through the normal court process, backed by substantial evidence (including recordings of Trump himself admitting many of the key facts in several cases)
I am in the situation myself currently
Empowered a generation to get stuff done.
14 year old script kiddies can also write a bash script and take over millions of vehicles from a home internet connection and make the crash

its been proven before: https://en.wikipedia.org/wiki/Chrysler#Chrysler_Uconnect

and will be proven again

just like with all tech don't buy anything made after 1990. corporations now see your vehicle as a smart phone that just gets a stream of alpha quality software piled onto it and updated whenever they are told of their mistakes
It's in that place where I put that thing that time.
Happens all the time
I believe companies should be forced to pay H1B visa employees the top rate that they have for that job position (actual top rate paid to citizens and green card holders). If the theory is that they're desperate for these skills because people here don't have them, then companies should be more than willing to pay a premium to get those people they so desperately need.
So are you saying that you didn't see a salary difference between PHP roles and C# or Java roles? I've said before that I think modern PHP + tools can be very productive but smart/good developers will find that CV/Salary pressures steers them away from PHP.
H1B is a lemon market for those signing up just the same as those surrendering their passports and ending up a working prisoner. Each might luck out, but they're more likely to get exploited and regret their decision. And it gets worse every year.

H1B might not meet the legal definition of modern slavery even though many are trapped just as effectively by the system but everyone in evolved with employing them is morally compromised just the same.
Yes, Lotus Freelance. Also IBM Storyboard.

Not sure which of those had vector graphics in the same style as modern PowerPoint (Storyboard was bitmapped), and whether old PowerPoint already had vector graphics.
Some people refuse to consider any evidence because they believe that “free market” capitalism is inherently good and correct.
Until someone suggests to me otherwise, I'm going to keep saying the following:

By default, third-party password managers are stupid. Before - two people had the secret, now three of them do, one of whom is a juicy central target that has the secrets.

I'm aware that this is an extreme oversimplification of e.g. hashes and whatnot, but it seems true enough for laypeople such that it's better advice than most, especially for individual and personal accounts.
Because both political parties have donors that benefit from H1Bs and it's beyond just tech companies. Even the angry orange man has his hotels applying for H1B visas. Fucking hotels.
For now I'll add a mention that the slurs are lined out. And I'll consider changing the texts back.
In fairness, the worst case implication is that nationals with a cushy salary are less motivated than poorly paid foreigners who need to maintain their job to maintain their visa and position in the immigration process. That doesn’t seem particularly offensive to me, a decently paid national.
If this was 4 years ago I would say “fair enough” but now Go 1.21 ? This claim is no longer Valid, just like saying CGO is slow, just because one language uses LLVM or GCC doesn’t mean they have state of the compiler
I assume calling out specific topics like users'sex life is a CYA move. They could very well be storing any and all audio in the car, at which point they could store info on anything said.
That is not true. Prevailing wage also depends on the where you work. https://flag.dol.gov/programs/prevailingwages
Editorialized headline. The number 3 should be left in.

Regardless of whether you think the bill is good or not, we really have to get over this editorialized headline’s way of talking about votes.

“Republicans” writ large jeopardized the bill. Three of them broke from their party to pass it.
So someone like Baicells?
Decentralize.

Break up social media into far smaller segments with the segments required to provide api for competing services and for users to download their data.

Also, the data should be obscure to the company Facebook account should only be able to encrypted junk. My friends, then are given decryption keys.

Of course, there needs to be through data auditing requirements for any large store of data, just like we mandate external audits of any large publicly traded company
I don’t think it’s so cut and dry. Anecdotally, the Republican base is pretty skeptical of drug companies after COVID.

It’s been a weird change to watch. For most of my life it’s been my left wing and / or hippie friends who were super skeptical of the drug industry. Today, it’s a tossup between them and my right wing friends as to who is more anti big-pharma.
As long as they’re able to switch job and can leave the states (if they want to) I don’t think that the “slavery” word applies at all.

And I’m saying this because there are places like Dubai where you very often get your passport taken on arrival, can’t leave the state and can’t really go work somewhere else. There is a lot more to say, but that qualifies as “modern slavery”.
In this context, they are not talking about GC but the compiler
The tax system will continue to get more and more complex.

It's great news for Intuit.
I really don’t think this is unreasonable given the tradeoff at the border.
I think you missed my main point: That people are different.

I have not doubted that there are people who like the more rigid structure which the current maintainers push for. I actually mentioned that.

But the success of PHP comes from the people who like PHP the way it was. Empowering them to write their own web projects with the least amount of code and bloat.
Sounds pretty reasonable. These people voluntarily signed up for more scrutiny in exchange simplified screenings at the airport. Monitoring law enforcement databases daily to see if they are still eligible seems like something that they should be doing.
Comparing salaries for tech workers in the EU vs H1B in the US does not make a lot of sense.

Cost of living, taxation, rents, electricity/gas bills and welfare are completely different.
Won't someone think of the overconfident and dangerous idiots who think they are race drivers
Yea the market rate definitely has shenanigans. And I almost wonder if the "response" to a made up ad with low ball number is used to declare it's a valid market rate.

Case in point, when I graduated 15 years ago. There was a big H1B software farm (Accenture maybe?) That randomly emailed. 2 year contract job, $30k/year out of NYC.

Yea....not a reasonable salary even 15 years ago lmao
or perhaps offer both versions.
Thank you for this library.
When it's in the privacy policy: "don't care, they're not actually doing it"

When they're actually doing it: "don't care, it was in the privacy policy, of course they do it"

I think it's good to resist at every step.
The first amendment doesn’t define a corporation as a person endowed by their creator with certain inalienable rights.
It happens in the UK too. For example a friend of mine was taken advantage of by the boss who was not hesitant at all to remind her that her existence in the country depended on his approval; so she had to do long hours with unreasonable tasks for little pay.
I always have a healthy dose of skepticism when it comes to conspiracy stuff like this, but it's not like they weren't busted before.

Apple and Google were caught red handed for their secret anti-poaching agreement (With the Jobs/Schmidt emails leaked to prove it). All these CEOs are in the same social circles, it's not a big reach to think they chat with each other behind the scenes about things like RTO, Layoffs, etc.
Considering the censorship is heavily tilted towards one ideology, what incentive does the opposing ideology have to stop this? It worked perfectly fine with no political capital loss in 2020 and 2022 midterms. In fact, most people within that ideology agree with the tech giants and want more censorship.
Yeah I agree “slavery” doesn’t apply here, I’m just disputing how free to leave H1B workers are.
Yeah it's absolutely demoralizing and made me leave some teams. Have very little faith in performance reviews and role guidelines
Maybe the article that created this thread?
Big N companies are all evil
https://archive.is/aYGth
It's still cruel and dehumanising.
Asteroid behaving unexpectedly after NASA's deliberate Dart crash
There are a lot of people here on earth. We can tackle climate change and comet impact risks at the same time.

It would be pretty sweet if by learning to deflect asteroids, we also find a way to collect valuable resources from them: move small amounts of material into orbits that come close to earth.
Since it hasn't been mentioned yet, I'll point out that the article is about how hardware processors react to assembly level shifts with greater than register size. Unless you are programming directly in assembly, the most important take-home from the article is probably the "Bonus chatter" at the end: shifts equal to or greater than register size are undefined in C and C++.

How the CPU would handle the theoretical assembly instruction is usually of little importance when demons are flying out of your nose. Here's Regehr on some of the standard ways to protect yourself from a malicious or overzealous compiler when you need to have a function that does variable sized rotations: https://blog.regehr.org/archives/1063
Sounds impractical to me. In fact every company I've worked for is flooded with non-Americans. It would be tough to find a company that only hires Americans.

I think a better solution is to end H-1B. Nobody is forcing people to come here.
This really has changed how I read Hacker News. Most of the time I just read the title but these summaries are significantly better at getting an overview of the article.

On another note, I also made something similar but for cybersecurity news. It’s called Notify-Cyber, you can check it out here: https://notifycyber.com/
It took me until around 1998 before it felt "right" for me to finally switch from my beloved Amiga 3000 to PCs running either Win95 or NT4, and even then some specific use cases (like trying to work on the command line) felt entirely medieval compared to the Amiga. At least the games were better on PC though.
I can. Selling your customer is vile for any amount of money.
Absolutely. And I would go even further and say that many of the people we hire from overseas aren't even that good. They're just cheap labor and that's what makes them attractive.
40 Democrats and 3 Republicans voted to treat adults like adults. That's the headline.
By ads do you mean the declared sponsored links? They don't bother me personally as my adblocker removes them.
Discussed 3 days ago: https://news.ycombinator.com/item?id=37399745
Next time you have a presentation to write, try using LaTeX with the Beamer module instead of a WYSIWYG editor. I wouldn't ever go back, myself.
There are stats you can find if you look for it. Something like 5-10% was made up of actual engineers. Large majority was sales, marketing, HR, product and design, recruiting, and finance. I've only seen stats for Google but assume it was similar at most other companies with the exception of Twitter.
It probably could but it would require adjusting the prompt. You’d have to override the generate_prompt function and tell it that you’re using a variant of SQL and describe the differences.
Interesting VMware Homelab Kits for 2023
pdf opinion: https://www.ca5.uscourts.gov/opinions/pub/23/23-30445-CV0.pd...
It was thought it might be - but it turned out not to work as such, too twisty.
It’s definitely not modern slavery in the literal sense, because indeed it’s fully legal for them to leave or quit as they wish, but neither is it fully true to say that they are free to do so.

If an H-1B worker does quit their job, or even if they get fired, they have a very tight deadline under the immigration laws to depart the country. This applies regardless of what financial obligations they may have as a renter or homeowner and regardless of the situation of the rest of their family.

And if after their job ends they rush out of the country to meet the immigration deadline, any lingering ties to the US will make it harder for them to convince CBP to let them re-enter on visitor status, so the departure may in some circumstances be either temporarily or permanently one-way as well as rushed.

The severity of this disruption forces many H-1B workers to meekly put up with a lot more abuse and mistreatment at work than must US citizens, LPRs, and those lucky few categories of nonimmigrants whose work authorizations are not tied to their employment. Agreed, it’s not slavery, but it’s not full freedom either.

A more humane approach would be what Canada does: holders of Canadian employer-specific work permits who quit or lose their job are legally allowed to remain in Canada until their current work permit expires, although not to work for a different Canadian employer without first receiving a new permit. They can rely on this predictability of legal status in the country when signing leases, planning their children’s education, and other matters. And it often gives them far more time than the tight US deadline if they want to find a new employer who agrees to sponsor a subsequent work permit for them.
Not everyone hates driving, and public transportation only works better in high density areas. Retrofitting cars with electric motors isn't better for the environment, it's just destroying pieces of history. (If you're going to retrofit, use alternative combustible fuels).

Obsolete doesn't mean, "I don't like it so it should be gone".
I still do a "virtual" version of this with GoodNotes on an iPad and Zoom.

It feels better than using Powerpoint.
Non-American here.

Do H1B workers need to live in the US to work, or they can work remotely from their country?
Google redraws the borders on maps depending on who’s looking (2020)
Especially knowing that if this is a collision course extinction event type thing, only Bruce Willis and a few others get the initial phone call.
A technique to facilitate the robotic manipulation of crumpled cloths
The trends I’ve seen in the industry are to hire lots of H1b’s who just churn out questionable code, then hire sharp people to fix that code. Rinse and repeat. Soon the H1b’s will be replaced by AI, this might be the last batch, probably using them to fine tune the AI. Unfortunate.
There are no flags in yes(1) ergo there's no need for "flag parsing". yes(1) takes one optional string as input, and that's exactly what argv provides. I'm not sure what you think "flag parsing" is bringing to the table here, but checking the array of command line parameters and accessing an element is pretty far from a hack.

If it's more comfortable you can also declare argv as an array of character arrays e.g. char *[], but that won't change the line count.
gcc-go, gollvm there’s actually no difference in comparison to the go compiler, heck in some cases gcc-go perform worse, Go internals are built with a different mindset and architecture there’re certain features that’s can perform worse than just hard coded assembly
> As I understand it, you want to create a constexpr string so it can be passed to a char*. The issue is this requires heap allocation (for large enough strings, based on the compiler implementation).

There's a few reasons. Avoiding the heap allocation is one, yep. There just shouldn't be a difference between a compile time string and a runtime string. As a programmer I don't want to have to deal with "which flavor of string am I dealing with".

The issue with passing to a c API (I used fopen, but think of any c library - zlib/gzip, openssl, sqlite) is that the string needs to be null terminated, and string view doesn't guarantee null termination.

int foo(std::string_view view) {
return strlen(view.data());
}

std::string str("hello world");
foo(str):
std::string_view view = str;
foo(view);
view.remove_suffix(6); // now view is just "hello" with no null termination
foo(view); // this is wrong.

The problem isn't _specifically_ constexpr std::string in this case, it's that the tools that you use to generalise working with runtime strings, char buffers, and views aren't fit for purpose.
Not a 404 for me.
But dhh didn’t say that. He said that very few programmers, not all, don’t like having their opinions changed in typing. He didn’t say they don’t like it when it happens on their own, they don’t like it when others try to do it. At least that what dhh says. Not saying I agree.

You can’t just read something, change it’s meaning and then argue against it.
Sorry, I guess, the title doesn't highlight what I am looking for. I am looking for the easiest way to set up a kubernetes cluster on premise. Is there a solution for it? Without using kubeadm and messing with the network.
Some folks mentioned not messing around with kube on-prem. I agree with that, as long as there is another solution that would allow me to easily deploy apps without touching ubuntu and the apps could be resilient and scalable in future with a click of a button. Are there such non-kube solutions?
Will any actions that result from this also affect use of pepper spray, or just voluntary consumption?
As far as I know, it was PBS that quit, not the hosts.
In general, I think it's best to avoid stereotypes like this, unless they aren't just stereotypes but a statistic. And even then, interpreting a statistic can often be tricky.
Oh the horrors of stopping dangerous driving
Aaron Swartz: searching through pacer gave him a bunch of grief.
I abhor any system that results in second hand citizens, such as the H1B program. It suppresses the general welfare, in service of capital. If I were able to, I'd give everyone in the program an immediate option for citizenship, and then cancel it.

We clearly need to reform our immigration system.
So almost 10 years after modules were added to the spec, a few years after they've been available in most browsers, the past 6 months have been largely fine to use them for _new_ projects.

That doesn't paint a great picture.
Mild is subjective. Truth isn't determined by a majority.

Tyranny is on a dimmer switch.
I think it opens a very small can of worms. It is uncontroversial that founders and execution count more than ideas and originality in a VC setting. This is perhaps cynical, but welcome to the competition.
Drafts AI
Drafts is an AI SEO engine that helps your grow your websites organic traffic. Upload a list of target keywords and get hundreds of detailed articles written in seconds. Publish instantly on Webflow, Shopify, Wordpress, Ghost or to your custom blog with our webhook.
social elite developed around commanding long-distance trade, and the tree trafficking played into that social prominence narrative IMO. Think of "common people" without travel, "uneducated" people without a common (Latin) vocabulary for botany, and "poor" people without the Wealth of Nations to execute and broadcast their unnatural accomplishments, and the social status of the people who do have all of those aspects in public view. The reason for the quotes is that there is more than one form of wealth, more knowledge than Latin and ways to know the local ecosystems that do not involve crossing continents.. but the point is..

At every step, unwise or excessive displays of trade power, with exotic animals, plants and possessions, were used and wielded for relative social status, along with actual utility.

I imagine that the Australian Gum tree fits into that pattern.