skysight-inc/HackerNews huggingface dataset:
You are confused.

There is lottery for the Diversity Visa program, but that is not the only path to permanent residency and there is no cap on the number of applications for permanent residency.

The H1-B has always used a lottery when there are more applications than visas. There is a cap on both visas granted and applications. There are three caps: Regular, C/S (treaty obligations with Chile and Singapore), and US Master's (US master's degrees or higher). The USCIS will publish a memo when enough applications are received, closing the application season (normally six months) until next year.

Applicants with a US master's degree (or higher) have two chances to receive an H1-B visa. A lottery is held to award the visas available to master's degree holders, and those not selected are entered in the regular lottery.
Think this must be the fretboard:

https://raw.githubusercontent.com/synestematic/bestia/master...
When is the right time to consult a tax lawyer for an average person that is paid quite a bit above average?
This is the most stupid thing I’ve ever read
Do you have a link to that mailing list post? Search engines are not turning anything up for me.
The part complaining about missing details in the error message seems weird. You get a pretty detailed error even without using `--explain`:

error[E0384]: cannot assign twice to immutable variable `x`
--> src/main.rs:4:5
|
3 | let x = 3;
| -
| |
| first assignment to `x`
| help: make this binding mutable: `mut x`
4 | x = 5;
| ^^^^^ cannot assign twice to immutable variable

error: aborting due to previous error; 2 warnings emitted

For more information about this error, try `rustc --explain E0384`.
breakfast: slice of rye bread with low-fat curd
1st snack: an apple
lunch: chicken breast + broccoli
2nd snack: an apple
dinner: chicken breast + broccoli

Of course I did sometimes eat something different. But having the default always readily available was paramount.

Btw broccoli is amazing - you cook it for exactly 3 and half minutes and you have half a kilo of warm healthy veggies that fills you for hours. I haven't found anything else that comes even close to broccoli "efficiency".
Well thank you for your suggestions, there are some really good ideas, I will do a research about the functionalities you mention and update the roadmap accordingly. Some things can be provided by third party integrations, I guess there is no need to re-invent the wheel.
Tesla Model 3 traffic light detection bug
DISCLAIMER: I did work on some Rust code (XML parser for Servo), but I'm not Rust dev by any stretch of imagination. I haven't touched it in months/years tbh.

My daily grind is Java. And I've seen enough idiots opening the plastic and licking the glow-in-the-dark knife in Java.
It always leads to fun and interesting problems.

By fun I mean "Get me out of this hell" and by interesting I mean "I obviously need more drugs to understand this code".

> Ah, so that's what happened to the Actix developer. What a welcoming community!

No. He realized his mistake and isolated himself.

Here is the approximate recollection of events regarding his work on Actix:

-------

Have a safe function that does the same thing as your garbled mess of unholy unsafe abomination.

Use unsafe.

Gotta go fast!

-------

People submit PR to fix your unsafe hell spawns.

Reject!

Gotta go fast.

-------

People call you out on it.

Delete all the code.

No code = fast.

-------

In the end, he had a change of heart set new maintainers and restored the project. Then went off to write code to benchmark in C.

All's well that ends well.
Hotjar is cool. You might look at https://www.luckyorange.com/, too. I'm using it for an upcoming project. I have a friend that works there, so I'm biased.
Corporations can be criminally charged. They are not abstractions, they are associations of people. You need to rethink your arbitrary definition of "abstraction".
The Muse (YC W12) Is Hiring an Email Marketing Coordinator
If they knew that every decade or so, they might temporarily be able to sell at 5x the normal price for 3 months, they’d likely run their outbound supply chain slightly less just-in-time.

Ironically, this might make things less likely to get to the point where the market price was 5x normal.
I believe you misunderstood my comment. Numbers who's origins are tainted by an illegal number can be illegal. Numbers who's origins do not have taint from an illegal number are not. It is not the number that is illegal, it is it's color. How it came into being, it's history, a permanent invisible mark that it carries with it, and transfers to whatever it touches.

You can't just dodge color by mutating the number via mathematical operations, color doesn't work like that. You can only get rid of the taint by using a fresh number without taint.
Startups do the same thing for their first few years. Some companies never drop this attitude. Tesla for example promises a ton of stuff like self driving, or just building proper cars where it doesn't rain inside [0], but they haven't delivered none of the two yet.

Like it or not, people like this kid run the world.

[0]: https://www.youtube.com/watch?v=D0EgvaKrfIs
Lobbying is actually not hard to stop at all. It msy be under our current structure, but its not hard to stop

Here are 3 rules that would stop lobbying overnight.

1- Make house of reps sole body to set tax law at federal lvl
2- tie reps in house to very specific, low pop counts. For ex, 1 rep district = 25,000. This would mean house would become gigantic.
3- randomize election outcomes. Swap winner of city treasurer with senate winner. Swap rep seat with state assemblyman. Every seat should have a high random chance of being swapped. If winner does not like position. We should even do this with presidency.

This solves federal level lobbying by taking (1) power into a (2) decentralized body and also (3) inserting downside for lobbyist.
Show HN: Subdomain Enumeration – Bug Bounty Hunting
I recommend Stephanie Kelton's "The Deficit Myth" for more background on MMT:

https://www.amazon.com/Deficit-Myth-Monetary-Peoples-Economy...
Or you just tax the end result (per country).

Ie, you buy through 1000 transactions, and you sell through 1500 transactions for a net total of +€5k within the country.

Tax that €5k, not the individual transactions.

Unless I'm missing something.
Association makes ramps to help people on wheelchairs out of Lego
If there were nothing else on the horizon it'd be better than nothing, for sure. And a cap-and-trade carbon tax would work wonders especially if the proceeds were used for market stimulus or something. It's just that we now have practical battery tech so we can jump straight to a battery storage + distributed solar infrastructure for everything and skip wasting an incredible amount of resources rebuilding a giant chunk of our existing infrastructure for only marginal gain.
Oh sorry, I’ve reposted it. Btw: https://wuesl.de/legorampen/
Lessons learned from our fail at FromYourCouch
Argo Rollouts – Canary Deployments Made Easy in Kubernetes
It's not disabled, but if you keep using it, but you get a scary warning from Google. If you do keep using it, it will be 0w3nd, and your data will be held ransom for bitcoin.

I guess it beats Android, where the same happens, only without the warning.
Special Episode – US Election Day 2020
I am not so sure. At the time I thought BeOS was a better purchase. I wonder what could have been if Apple had gone with Gasse instead of Jobs.
> const MAX_POINTS: u32 = 100_000; // wtf is this ugly numeric shit

Java has had this since Java7 and Go has had it since at least 1.13, so I'm not sure why he hasn't seen it based on his other experiences.
Ah, better than Leadpages for us. No renewal reminder email, no invoice email when charging it, just found out when doing quarterly reconciliation. Too late, too bad.
Cool. A few months ago there was a show HN about a React component for guitar visualization [1], and at least 5 other people jumped in with their similar tools in the comments.

Those were almost all web-based, with only one fairly limited, somewhat meh command line tool. It's nice to see a more general and extensive command line tool.

[1] https://news.ycombinator.com/item?id=23921478
That seems to fit my description, thanks!
Can you eat chicken + broccoli for the rest of your life? No you can't. But it teaches you to ditch all crap from your fridge and find good unprocessed stuff. Boy, who doesn't love a piece of steak with just grilled veggies, or a good roasted fish with just a nice salad? Why fill yourself with potatoes, rice, etc. if you can have good meat.

Is losing 15 kgrs in 3 months healthy? It's healthier than staying fat..
How to create videos with code using the Shotstack API
> that saved our clients hundreds of millions of dollars.

Could you elaborate, from your experience, what happened to these $$$? Do they sit in banks without being used or do they get get invested and recirculated in the economy?

Also, given that just about every function of the US govt has been privatised, what would the US govt spend this money on? Spend it on defence (and channel the money back to private defense entities)? Pay off trade deficit? I'm not aware of US budget break down on expenditure side so any pointer would be great.
Haha, also checked the repo and thought the same. We're using F# in prod (about 200K LOC) and it has been great so far.

We also use F# for two react front ends with fable (F# to JS compiler). More new alternatives for using F# in the browser (FsBolero/Blazer) via web-assembly or running it server side like Phoenix live view also exist.

One issue we had with Fabel is how .NET DateTimeOffsets are handled on the Client side.
Internet Download Manager on Windows is an amazing grabber, not just for YouTube, but all other videos and files and documents.
I really wish they would have gone for at least one full size HDMI port with the 400. There is room on the PCB for it.
Oh, I didn't mean to imply Carmack invented it - he himself is pretty clear that he didn't. I just meant that incremental improvements in efficiency like this can add up surprisingly fast, and that once the low hanging fruit are taken, they're well worth doing.
Attack: Sign up for email accounts at major providers, use the signing oracle to sign spam emails, submit to provider, domain's reputation becomes spammy.

The handling rules standardized by DMARC are to ignore failing SPF when there is a valid DKIM signature, even if the domain doesn't use DMARC. Google, in particular, ignored SPF failures on DKIM signed messages last I checked.
Perhaps not all open source projects make for great businesses.
What’s terrible about it? Who needs to import world class talent other than world class companies, working on world class problems?

Let’s take the narrative for the full ride, the mythical unparalleled skilled developer that only exists in these other mystical countries and absolutely could never be found locally, even with remote work within the US being validated. The god-like programmer that must be flown here immediately, for how else will this software be built?

Pay the unicorns, unicorn prices. What’s the issue?
Scary Outage Stories from CTOs
Here is my best effort, a sort of breathing Sierpinski triangle

https://tixy.land/?code=i%26x%26%28y*Math.sin%28t%29%29

You can have lots of fun mixing the bitwise ops with trig functions!
OK, so I didn't look at every trial (as I do have a job), but I examined two of the studies for pre-exposure (for which most of the studies appear to be about).

The first one I looked at Arleo, hasn't been published, which is pretty concerning given that any CV paper with any kind of insight is getting published right now.

The second (chosen by sample(1:31, 1) from the 31 papers) was this one: https://academic.oup.com/cid/advance-article/doi/10.1093/cid... which shows no significant effect of HCQ in a really large trial.

Note that this trial actually seems pretty well run as it's an RCT with a large sample size. I find it difficult to believe that if there's a non-significant result here then NCQ is effective in pre-exposure terms.

Additionally, there are standards for meta-analyses and systematic reviews, and the hcqmeta.com link doesn't mention them, which is very concerning (and lowers my prior that these results are correct).

Like actually, given that there's no search strategy for papers (making it impossible for anyone to check if they are actually including all papers, or just a biased sampling), I am gonna again reduce my prior on HCQ being correct.

Just as a final note, the likelihood of doctors not using the best available treatment during a global pandemic is incredibly low, and you do a disservice to medical professionals by suggesting that this is the case.
The swing states that will help predict the election outcome
If I'm not mistaken the power-input is via USB-C: does that imply the existence of a USB-C controller already?
Duterte’s vicious war against telecom operators
At a guess it wouldn't be the most valuable company in the world today.
Yeah - my first job (in 1988) was mostly travelling about installing new software and fixing problems with various breeds of Unix/Xenix systems. Remote access was pretty rare.
Show HN: Totallib is a collaborative note-taking tool for researchers
> That’s the naive and condescending advice that Nvidia gives on its This Person Does Not Exist website. Nevertheless, it’s good advice.

So which is it?
>I suspect the reason IBM was able to reconcile with Linux and even go all-in on it was that it complemented their lucrative very high end server and mainframe businesses.

Linux also gave IBM for the first time an OS that ran on all its hardware, from low-end x86 to POWER workstations to xSeries/iSeries minis to mainframes to supercomputer clusters, a goal it achieved with System/360 in the 1960s then soon had to abandon when the minicomputer and PC markets emerged.
NASA Design Analyst Explains Agency's Lunar Design Challenge with $25,000 Prize
Yeah but that demo was later re-created on the C64, arguably the C64 version is better. :-D
If you have tuned your production to use your capital equipment and manufacturing staff optimally, the next 10% of production is likely to cost you more not less than the last 10% you were making previously. You might need to run overtime. You might need to buy more capital equipment. You might need to light up or rent more warehouse/logistics space. You risk over-producing at a higher cost and hurting your future results.

The price signal helps cover those costs and risks, not just telling you to make more, but by making it plainly economical to spend the money to do so. Otherwise, “screw it; I’ll keep making at the tuned level rather than doing all this extra effort to make less margin-% and maybe less free cash flow.”
You can do this on SOME Chromebooks. It'd be great if you could do this on any Chromebook!

There's a whole pile of AC700 Chromebooks around, with no upgrade path as far as I know, at least if you don't want to be p4wn3d.
15 people per square kilometer (Norway) vs 34 people per square kilometer (continental us).
> we didn't shutdown our machines in the evenings or weekends and they'd happily carry on running without apps crashing for over a year, often without air conditioning.

I really don't understand this. Apart from the minor detail that modern (e.g. younger than a decade or so) PCs can go to stand-by mode and wake up within seconds at most, I've yet to come across commodity hard- and software that doesn't do the same.

The current up time of my machine is 4 days 13 hours, 20 minutes - because I ran some system updates last week. Without those, even my mediocre machine running all the software I use on a daily basis (IDEs, web browser, several terminals) just keeps running for weeks on end and never ever crashes.

Am I just lucky or is this "crashes and blue screens"-business just a persistent memory from the late 90s and early 2000s?
Pixel 5 teardown shows off the guts of Google’s latest flagship
I recall the early days, the docker registry API was designed in a way that made serving from S3 impossible.

It always boggled my mind, because it must have made hosting docker hub super expensive.

In hindsight, the registry should have had a better API, been more suited for third-party mirrors, etc. then docker might still own the central registry... Now it seems like eventually they won't even own that.
Bats Can Predict the Future
The point of that woman is simply: let the deficit go up ad infinitum (in USD value), it doesn't matter because as the central bank keeps printing money, the value of the deficit actually goes down (because the USD value goes down), so the value of the deficit is stable even if we don't perceive it to be this way.

Quite BS imo
I wanted to say "Presence of OpenJDK doesn't invalidate licensability of Oracle's JDK" but, not being a native English speaker has its downsides :)

IIRC OpenJDK had to change/reimplement some image processing algorithms from Kodak et. al but, I'm not sure whether Oracle is using older closed source libraries or OpenJDK's re-implementation in its version.
One of the big selling points of early cloud products (like GMail) was that specialist hardware outperformed local hardware. It just happened to be in the cloud. You got to store your data on a limitless specialized server platform instead of your little hard drive. The irony now is that a terabyte hard drive for a laptop costs very little. A lot of business devices have plenty of space that is completely unused. So we spend our lives downloading from SharePoint/OneDrive/Outlook etc.
Price controls is not regulating markets, is completely closing them. Putting out the fire, not harnessing it.

During Soviet times, everybody could afford toilet paper but nobody could buy it...
Hardware performance counter support (via rdpmc)
Notion powers literally 90% of my business productivity. We use it for todos, project management, kanban, wiki, writing, knowledge base, employee onboarding, and more.

I agree it's slow and the mobile apps are terrible. But I haven't found anything better yet.
Apologies, a SPV (special purpose vehicle) is effectively a single use VC fund that is created to purchase a single asset and is funded completely upfront. In comparison a standard VC fund targets the purchase of multiple assets and calls capital from investors as opportunities arise.
Obviuosly. No one is an island. I should have said "individualistic-leaning".
VAT is literally tax on revenue and it works fine. You tax the added value, so each company pays tax only on (sell_price - purchase_price).
"You're technically owned by an Irish company you invented to avoid taxes? Cool. The c-suite plus your accountants are going to prison for the next five years and we're seizing the X billion you actually owe plus a punitive fine."

Seems like this is a bit on the difficult to enforce side. Incidentally, profit is what is taxed, so the easy way to avoid tax is to simply not be profitable. Individuals pay tax on all of our income from interest and employment so this difference always feels somewhat unfair. The very laws that allow companies to avoid paying income tax are usually created as incentives: do this (HQ in Ireland), and in trade, you get to pay less in tax. The C suite and lawyers are usually guilty of meticulously obeying the law, which really makes the whole thing feel even more unfair. Reality is that the system is working as coded, but there are bugs in the code.
If I go the microservices route I usually implement a service-client library for any services I expect to be called internally often. This way service A which needs to communicate with service B can just pull service-client-B into the project and call its methods. Most verification/errorhandling/transport is abstracted away in the service-client library. This library usually also includes model/dto classes.

This approach only works well if most of your services are using the same language (and sometimes framework).
vi is everywhere, vim less so.

The *BSDs come with vi for example
AI godfather Geoff Hinton: “Deep learning is going to be able to do everything”
I was not, thank you for the link.

I've been running my key disclosures for over three years, Matthew Green's Tweet about it motivated me to write it up.
> Linux killed the Workstation vendors stone dead

I don't buy this entirely. I'd agree it ate into the market share, yes of course it did. And the blurring of commodity server and desktop hardware ate further.

What Linux didn't replace was accountability: there were plenty of shops which needed hardware vendor supplied and supported OS. It wasn't a technical decision, but a checkbox their customers demanded as some sort of due diligence checkbox. Then Redhat arrived on cheap hardware and ate into that share further, because they checked some of the boxes.

Sparc and Solaris was still technically superior for some things and still had all the throats to choke.

What changed for Sun was Oracle buying them: jacking prices; buying all the competitors to control them like Sleepycat, TimesTen, and MySQL; suing customers; suing security researchers; suing benchmarkers; and charging triple (not an exaggeration) to reinstate lapsed support contracts etc etc.

"We're a Sun Shop" was not longer the appeal it once was on the server, and of course nobody would need a desktop Sun with those downsides.
> If you’re interested, send us your application along with a link to your GitHub profile

At which address?
Yeah, communists had all the theoretical reasons their system was better than capitalism, still in the end, they were the ones starving.
Rather why not F#, which has all of that but with a fast compiler and is just a superset of OCaml
What if you send the email from a reputable managed email service? That way, they're responsible for managing the keys, and can probably be trusted not to sign anything fraudulently.

Cheaper than paying for a digital signing service, but I imagine it wouldn't hold up as well in court.
"Full manual control" is somewhat crippled in Mk II (it switches back to Auto every time I switch back cameras) as well as removing the ability to pin ISO down when making use of tap autoexposure (there is no option but to have both exposure length and ISO adjusted now). Manually adjusting exposure length also sometimes leads to it getting "stuck" on long values like 1/2 or 1/1 far longer than Mk I ever did. I get that they think their new Auto mode is better, but in general this was a bug-infested and unwelcome surprise update for my usage of the app (getting maximum quality raw images out of my phone mounted to a small tripod.) None of this would be an issue if I had any way of opting out of this generous "upgrade" I couldn't refuse. UI fit and finish has also degraded significantly from my subjective POV and the large potential scope of future feature updates make me pessimistically assume that the app will continue to fail to be particularly well tested. If the devs are still listening I'd gladly pay (again) just to have the MkI app back, if money is what they want.
it's literally impossible in my field. I own an SEO agency. Many of the tools I use simply don't work in any other browser than Chrome. it's also not in the realms of possibility to stop using Google Analytics, Adwords, and Google Search Console.
Trump vs. Biden: analysis of the conversation on Twitter
Any other "real world" software can be ugly and can be beautifully written in any language, including C (except ones where being cryptic is by design).

Basic C can be picked up in very short time. there is nothing to be frightened about. When I first laid my hands on C I wrote working software (keyboard driver for DOS) in a first day as a learning exercise. Not sure what other than incompetence as a programmers is causing your expensive PhDs "fright of their lifetime".