skysight-inc/HackerNews huggingface dataset:
Also, even when io_uring does copying in kernelspace, I wonder if it'd be more practical for it to use AVX instructions than from within a read syscall.

As I understand it, userspace<->kernel transitions are lighter-weight than full context switches between processes. As discussed here: not saving/restoring the SIMD registers. (I think a bunch of other ways, too, like not replacing all the memory mappings.)

There are also a bunch of pure-kernel processes (I don't know the terminology) shown on ps in square brackets, like [kthreadd], [rcu_gp], [rcu_par_gp], etc. I think a full context switch happens on entry/exit to one of these, just as between two different userspace processes. If the io_uring work always happens within one of these (does it?), the SIMD registers are already being saved/restored, and it'd be safe for it to use an avx_memcpy variant without paying any additional cost.
I spend $15 on shoes and they last a year and a half, even though I'm a runner. That's about $100 for 10 years.
The "tearing problem" your video files have vs the professional is actually just the overscan area, see https://en.wikipedia.org/wiki/Overscan#Analog_to_digital_res...

Simply put, the entirety of 1 "frame" has more data than required, but a CRT TV would hide those "error margins" behind the borders. Your digital capture however has grabbed all the available data, and the pro would have done the same, but they would have then cropped it down to the desired area/resolution. You can see this when you compare the videos side by side, as the baby is "longer" in the pro version.
is that the one where "AI" told them to just turn off unused cloud instances?
Agreed. But don't expect the people on Hacker News, who don't "believe" in intellectual property, to get this right.

A better title would be: "Tom Lehrer publishes his songs and lyrics online and states that they can be freely used."
I've been known to write egregiously long comments, emails, articles, but good good is this article overly long. I was really ready to blow it off when I realized -- the author is putting her money where her mouth is. She's built a very useful platform that helps connect real people with real job opportunities.

Okay. In that case, I can forgive the "cardinal sin" of bad writing. Here's the problem with hiring: organizations. Hiring practices reflect organizational ladders and career progressions. Where you see flaws in the latter, of course it will backpropagate into the former. The problem with a "platonic ideal" for how engineering hiring should work is that it requires a "platonic ideal" for how a company should work. And what is that?

How do you avoid politics as you scale up a company? Sure, engineering skills are fungibly valuable, that much is evidenced by the market. But engineering career output, and promotional success -- that part is very circumstantial and specific to the company. And I would argue hiring is part of that process -- hiring is getting promoted from candidate to employee. Every company does it differently. And the dynamics are not platonic but tribal. There's no way around that but to find the tribe you want to be a part of and accept it's a little irrational.

I remember wishing and hoping when I was younger for a platonic ideal for engineering hiring and engineering organizations that never came. I grew to understand that the warfield of political economy that the business existed inside of (including and especially non-technical and executive personnel) had so much of a major impact on what engineering even means that to conceive of its retraction or engineering in isolation was a little naive and unrealistic. Is it cynical for me to say that? Is it bad for me to say that?
it might be worth considering why you thank that.

members of government are normal people. you shouldn't consider it a favor from them to lower themselves to "normal" standards.

this is a political advertisement.
Good catch! It looks like the New York case does indeed have some relevance as well considering the code explicitly allows state's attorneys general to file suit using this statute. Because it did not proceed to the higher courts(that I know of) it is not of great significance, but still noteworthy.
The risk analysis here, is that all the LEO stuff is US. So the same reasoning which took EU to galileo takes the EU to "what about LEO" but as an individual, in OZ, I shrug: none of this service comes from Australian owned satellites and I stand at risk of service disruption irrespective of who operates.

The eventual wider public ownership of satcomms, worldwide consortia, is a continuing story. Every nation state owns the vertical slice of air above its borders, they all have to talk about what happens in RF and satcomms orbiting through.
Is there no chance for little snitch to block app store? I just have a demo ver of little snitch and will buy it for blocking all apple service. I always connect the internet through my phone outdoors. The bandwidth is limiting...
Here are two anecdotes from my life which oughta make you think about public schools.

1) I was born in USSR, in what is now Ukraine. I finished 5th grade there, in 1992. I skipped 4th grade, because of system conversion to 11-year system. I went to average public school and was a B (4) student. I moved to the U.S. and went to 6th grade in an average middle school. I coasted through 6th, 7th, and 8th grades on what I learned in my first four years of schooling. Only in high school did I see anything new math-wise.

2) In high school, I developed nearsightedness, I got a computer when I moved to U.S. In 10th grade, I started needing glasses, and I got behind in Physics class because I couldn't see the board. Eventually, my parents found out I needed glasses, and I got glasses. But I was about 3 months behind in Physics. So my dad sat down with me, after a day of work, and tutored me in Physics for probably an hour a night. Within 1-2 weeks, I was fully caught up on 3 months of "Magnet" high school physics.

Whenever you try to scale something up to millions, quality almost inevitably drops significantly.

Imagine the difference between a child getting the full 6 hours a day of public school versus just 2 hours a day of focused tutoring? The difference would be night and day.
Maybe not exactly what you're looking for but:

https://www.gun.eco/
> recruiters spend roughly 15 hours a hire, and engineers spend about 40.

15 hours can save you 15% on someone else’s salary.

I feel used....
Sorry I didn't capture that. I bet the NT gets better service outcomes than either WA or east coast, sooner (because more focussed)
Thank you both.

My maths is weak. Very weak. I tried using Khan Academy but because I don't have a use for the knowledge as a DevOps engineer it fades quickly.
Check out the new Global Impact Visa. It's a really unique visa for startup founders who get into an incubator-like programme. You don't need any money yourself (just the ability to attract investment) and it lets you spend lots of time outside the country but still get permanent residency in 30 months.
https://www.newzealandnow.govt.nz/investing-in-nz/visas/glob...
What would you, as a user, gain from the site being https? Do you ever share confidential data with the site?
Not a developer but I guess most HTML5 game developers are focusing on itch.io etc platforms for money. Apparently, Html5 game can't compete with native games on your mobile phones and should be only count for a very tiny part of ecosystem.
I like the (pseudo-?)code snippet in the article:

simd8 classify(simd8 input, simd8 previous_input) {
auto prev1 = input.prev<1>(previous_input);
auto byte_1_high = prev1.shift_right <4>().lookup_16(table1);
auto byte_1_low = (prev1 & 0x0F).lookup_16(table2);
auto byte_2_high = input.shift_right <4>().lookup_16(table3);
return (byte_1_high & byte_1_low & byte_2_high);
}

Is this coming from an existing library? If not, would it be generally possible to write something like this rather than dealing with some garbage like _mm_storeu_si128.
> Once you develop the ability to iterate your way to greatness, or at least to have a fighting chance of doing so, you're much more willing to crank out dodgy Version 1.0s and see what you (and your allies) can turn them into.

Yeah...but the other side of that depends on what the definition of “dodgy” is.

For example, say we have a server-based app. If the DB schema is badly-designed (usually overcomplicated), then we are truly pooched, as we’ll start to figure that out after we have a few thousand users.

If the DB design is OK, even if it is primitive and simple, then we can have naive, problematic code, yet plenty of room to grow.

I’ve learned to design for the unknown. It’s really paid off, for me, but YMMV.
> With home videos, about 90% of the footage is boring, 8% is entertaining, and 2% is amazing.

There is some great tech out there to help cut through the first 90%, I think. I've done a couple projects using Amazon Rekognition (and Google's equivalent) to:

- automatically detect scene changes (cuts in the video)

- annotate the video with a transcription, and

- perform facial detection and image classification

With Rekognition alone; it's entirely possible to give it a 1 hour home movie, and code up how you'd like your computer to generate a highlight reel for you. "Show me everyone's face at least once, prefer smiling faces. If there's a gap of >4 seconds without dialogue, cut it down to 4 seconds."
Apple fanboys will always ignore the facts... why would you want apps to bypass a firewall that you install... Apple need to fix their OS either way
> How important is your pedigree in getting a (good) tech job?

Working at a well-known company can definitely help open doors. It proves that you’ve already completed their challenging interview process and it’s also assumed that you picked up some good engineering practices while working there.

However, pedigree alone won’t get you jobs at most places. You still have to go through the interview so they can see how you perform on a level playing field.

As much as online comments hate the coding challenge interview problems, they’re actually a great thing for people without impressive career pedigrees. It’s the only way you’re going to get to compete on a somewhat level playing field next to the kid who went to an Ivy League and landed all the right internships due to their parents’ connections.

Generally speaking, it’s the people who have jobs at well known companies who want to get rid of coding challenges and go back to hiring based on pedigree, mostly because it benefits them greatly and reduces their competition. In reality, anyone talented enough to work at top companies doesn’t have to study much for coding interviews. This idea that coding interviews are somehow filtering out brilliant engineers and selecting for less qualified people is largely a myth. The reality is that engineers just don’t like being challenged on the spot and would rather employers just trust their resume. That is, if they already have a good resume. The juniors love coding challenges because it’s a way to prove your skills without relying on pedigree or university or family connections.
That's a good point. I know in the case of Rust in particular there are other invariants, like that each 32-bit code point is guaranteed to have a valid value. (The compiler knows this and may use unset bits to stash enum state or something like that.) But maybe in other languages without such strict validity guarantees, it's less of a big deal?
It varies massively based on the tech stack. I have seen both simple Spring Boot and Quarkus apps take in excess of 10 seconds to start up in JVM mode. However, Quarkus compiled to native binary with GraalVM starts consistently under a second (in the ~500ms range). This is still brutal compared to running it on a vanilla MacBook which usually takes less than 20ms.
Ask HN: How to find code reviewers for new FOSS projects?
I'm publishing my first rust library. It needs reviewing by an experienced rustacean. How can I find that person?

How can I find reviewers for FOSS projects in other languages, like golang & python?
Google does filter out invalid clicks on the advertiser side as well.

https://support.google.com/google-ads/answer/2549113

Edit: spelling
6 hours on site for engineering interview is nuts.
Gold plating is a bit of a misnomer. Capital investment made in transmission was assured a rate of return above CPI. It was a gold class, form of spending money to earn future revenue under regulation. They didn't invest in the parts which we need now, in the light of shifts in transmission models from Coal and Gas, to both inter-state dependencies on trunks, and the in-local-distribution network storage and generation. They chose to invest in the assets they had, which were not the ones we need to invest in, to cope with variable load in wind and solar, and distributed generation in the home.

Demand management, variable load, need for Syncons and storage and need for more resiliency in the inter-state connections and the "rhombus of regret" are where money needs to go.

the gold plating was not made there. And in any case, its rent-seeking behaviour: its not a good model.

(this is highly subjective opinion btw. A good economist to read on this is John Quiggin, and a good alternative engergy advocate is Giles Parkinson, reneweconomy. They are also partisan, but knowledgeable.)
The question is how many other negative reviews they already censored. Maybe it’s none, but how can we know that?
Yup, it's a classic paradox in information theory and telecommunication theory about entropy and power/energy flows. Do you want to save energy or privacy? Which is stronger hypothesis P=NP? The continuum hypothesis? The fact that physics can't fundamentally integrate relativity or quantum field theory? The ergodic hypothesis? In the spirit of both physics, CS, and math, we are valued by the trust networks who we trust and inform. The failure to integrate means in physical terms we can still create new huge blobs of semantic meaningful value and save energy at the same time by using free distributed cloud v-compute spacetime. You can theorize from any cloud provider Amazon MS Google if they shared info they legally shouldn't have inferred for data privacy reasons. Reason over complexity classes.

Personally I live near Washington DC, so with a government change, I will have to reassess what side of the issue ethically I should be reasoning in. Save energy? Encourage monopoly? Join government? Join big tech? Seek rents from big tech? I'm just meditating and creating deferred decision trees for myself postmarked for myself using the "well known" schwartz–zippel lemma and noether's theorem so i have self-determination.
If anything for large models I thought the idea is everything is a saddle point. Your link looks at a relatively small dense network.
Great idea! Does this do any caching of the pages, or does it fetch it on every time there is a request?

I think Next.js do something similar where the incrementally refresh the pages, but keep a version cached on the edge for better speed which seems like another great addition.

Good luck with this one @_hhff
I'm no expert at this whatsoever but from what I've gleaned looking around, a good heuristic is that removing hot air is way better than pushing cold air in.

As a kind of hand-waivy argument, I think of the difference between averaging cool air with how hot it gets ("pushing" air in) vs. removing and replacing with ambient temperature air. In the case of 'pushing' air in, the average of something like 40deg F with 300deg F is 170deg F. Even if ambient is 70deg F, by replacing air with ambient, that's a 2x better cooling, not to mention the energy saving from just using a fan compared with cooling with an air conditioner or some other equipment.
"You have to trust Apple", it's said. But I suspect that if you actually knew how much your Apple devices were phoning home to Cupertino, you wouldn't trust Apple anymore. Using Little Snitch (the kernel extension) was a real eye opener for me. Especially when I allowed Little Snitch to block all Apple processes (by disabling the built-in iCloud Services and macOS Services rule groups).

This may be a good time to remind folks of my blog post where I explain how Catalina phones home when you run unsigned executables, including shell scripts! In the article I mentioned that you can prevent this with Little Snitch. But that was the LS kext. Is it even possible anymore?
https://lapcatsoftware.com/articles/catalina-executables.htm...

Let me just quote one comment from the HN discussion of that article: https://news.ycombinator.com/item?id=23278253
"Making this about speed is burying the lede. From a privacy and user-freedom perspective, it's horrifying. Don't think so? Apple now theoretically has a centralized database of every Mac user who's ever used youtube-dl. Or Tor. Or TrueCrypt."

It's all too easy to dismiss the privacy violations that we're not aware of. Out of sight, out of mind.
Sound Work in Outer Space (2005)
DFJ put in $500,000. At their scale, that's chump change. They can safely invest that much money even in companies that are unlikely to succeed. And IIUC, Theranos wasn't a fraud at that point—there was still genuine hope that their product would work.

pg, and others pushing back against the Theranos-as-an-indictment-of-Silicon-Valley-venture-capital narrative, are talking about the firms that invested much larger sums after Elizabeth Holmes had gotten a lot of good press and become a hot commodity (and, in most cases, after she'd started engaging in fraud, unbeknownst to most). Those firms lost their shirts in a way that DFJ didn't.
This is true, but they would all prefer the real version to the illusion, and as an entrepreneur, you know if it's all smoke and mirrors or not, so it doesn't really matter if the investor believes in you or not, as long as they earnestly support you.
Eric Hale is the first Black man named Texas Teacher of the Year
From the start I had a suspicion that they might be playing tricks with the image, so I tried to discount color (either the lack of, or sepia tones) and low resolution (I assumed that high resolution cannot be faked), and go by the clothing style as much as possible, and other items in the image (signs, use of horses). This made the large crowd at the Washington monument difficult to place.
The article debunks the claim Valve is planning to come to NZ.
> "The right way to deal with new ideas is to treat them as a challenge to your imagination — not just to have lower standards, but to switch polarity entirely, from listing the reasons an idea won't work to trying to think of ways it could."

OK nothing happens without optimism and work and cynically excluding everything will leave you with nowhere to go, but the solution to that can't be optimistically including everything. If you want to lose lots of money, look at the penny stock market and think of all the ways those companies could become massive instead of looking for reasons they won't. Think of all the reasons alterntive cancer treatments could work, all the reasons UFOs could exist, all the reasons giving money to the local mega-church could be a good idea.

It's way to easy for most of us to convince ourselves of the happy path of a bunch of nonsense, and it's cynicism which keeps us away from the worst excesses of woo and hype and being conned or abused.

It's easy to think of reasons online grocery delivery "could work" during COVID19 in 2020, but if you were doing that in 1999 and investing in Webvan you'd have lost everything. Webvan "could work" and you could have thought of many reasons why, and you would have lost all your money. The people thinking why it couldn't work saved their bacon. Boo.com online fashion in 1999, the people thinking why it couldn't work saved their money and time and effort, even though online clothes shopping totally could work and does today.

Or that thinking of reasons why you could learn painting is irrelevant if you don't want to spend your time painting. You may as well rule it out first instead of challenging yourself all the ways you could become good at it and fit it into your life.
I concur, I think this is when Google really jumped the shark. That said I believe it would be relatively easy to break up the company 1) office/mail/maps service as a pay to play 2) cloud service 3) search service. Obviously 1 would have to go to a rival ad platform or freemium to pay the bills, maybe also keep the "non search" ads platform. 2) and 3) should be able to pay for themselves 3) with related ads to the search.
Probably because governors are no longer deliberately putting COVID patients into nursing homes. This is why NY and NJ have 3 times (!) the death rate of Italy.
Discipline for its own sake is certainly wasteful.

What grieves me is lack of inquisitive ness and communitcation. If we're not deepening our understanding of how things work, and working together, then things get wobbly.

True story: delimited text data ingest file. Guy wrote a C language file to hack the upper byte off the characters, and then write them back to disk. At a glance we think "C! This was a performance thing." Except laboriously writing each character after hacking it in twain and discarding the upper byte isn't a performance hack. It's a "didn't RTFM on the python open() command and try the encoding argument, so we did a C hack" move. Encoding="utf-16" worked great.

I'd take a victory lap, except for every time I'm clever, there are two where I look an ass.

Discipline may not scale, but teamwork and inquisitiveness paper over a multitude of shortcomings.
> but am afraid that he will miss out on all the social aspects

Biggest boogeyman ever.

Just make sure he has a few kids he can maitain contact with an be sociable in clubs or in the neighborhood

All the "social aspects" you get from school is basically a bunch of kids you have no controll over, having a disproportionate effect on the moral and emotional growth, or stunting, of your child. And then add all the trauma burntout teachers can generate...
What are you referring to? The bulk of the article is about hospitals having more experience and standardizing protocols. Then they mention masks and social distancing as possibly reducing the viral load. They never mention "flattening the curve", but one of the last things they mention is keeping hospitals under capacity.
Is there any 3rd party auditing what your business or your company is doing? I don't think that's the way business works in the USA unless you have a contract with a company that they can audit your services/products/etc. That's between two companies and not a public service.
Many engineering fields are ones were being studious and knowledgeable can give you a solid career. Software development has a lot more upside potential for the flexibly creative and the lucky.
The solution that you're looking for is SXG (Signed HTTP Exchanges)
With the massive caveat that I don't have a first principles understanding of any of this: I don't thing any individual load in your oven takes both legs and the neutral to do work. They're all either 120v or 208v single phase.

Aside: a lot of motors can run on either 240v single phase or 208v single phase (or, presumably, anything in between?). Take a look at Grainger or McMaster-Carr.
That is exactly what happens if you use VPN clients.

The machine is basically frozen at login until some timeout hits.
factually incorrect
I realize that this is likely to be less illuminating than you would hope, but the Retool founders were relentlessly focused on getting their first users, building quickly, and getting to profitability as if their lives depended on it. Witnessing them go from 0-10K MRR was to witness someone walking through walls.

To give a perspective on how much of an outlier this team is, my recollection is they got to ~1M ARR very quickly and with just the 2 cofounders and one employee. That is rare.
Those companies my must have ex employees by now. And no one has spilled the beans?