skysight-inc/HackerNews huggingface dataset:
Don't forget Part 2: https://haydenjames.io/linux-performance-almost-always-add-s...

zram is cool, and I've noticed Fedora uses it out of the box. Much better than regular swap space on a disk.

https://wiki.archlinux.org/title/Improving_performance#zram_...

Interestingly, my 64GB desktop has 50GB available between free and caches, yet has 95MB of swap space used (out of 8GB zram). How can I tell which process is swapped out? Probably something which I haven't ever needed since I've booted the PC.
If they really believed this they’d make it so any photo with any face must be approved before being shown by those in the photograph.

This is an intractable problem and just exists as another lever to arbitrarily punish people.
Yes, that seemed a disaster ready to happen, especially as it was already loaded. He must be very confident of his release system.
I don’t know. I had an unflattering photo of myself posted without permission once, and the guy tagged my handle that I use for business rather than the other account. It was good that the guy took it down when I asked. But he could have declined and it would have been a problem for me but not so much for him. This sort of thing happens more than you would think and is not hypothetical.
College students in declining mental, physical health one year into Covid-19
That sounds like too much input. Remember that Copilot is based on GPT-3, so its input size is limited to 2048 tokens.

I think it's more simple to assume that "get_*_input" is a common name for a function that reads input from a stream and so that this kind of string is common in Copilot's training data. Again, remember: GPT-3. That's a large language model trained on a copy of the entire internet (the CommonCrawl dataset) and then fine-tuned on all of github. Given the abundance of examples of code on the internet, plus github, most short progams that anyone is likely to write in a popular language like Python are already in there somewhere, in some form.

The form is an interesting question which is hard to answer because we can't easily look inside Copilot's model (and it's a vast model to boot). The results are surprising perhaps, although the way Copilot works reminds of program schemas (or "schemata" if you prefer). That's a common technique in program synthesis where a program template is used to generate programs with different varaible or function names etc. So my best guess is that Copilot's model is like a very big database of program schemas. That, as an aside.

Anyway I don't think it has to peek at other open files etc. Most of the time that would not be very useful to it.
Works on Styx for Android.
> have you ever met someone who mixes left and right up?

There's no right, there's only left and the other left.
"When people say "Bitcoin is scam" they mean the way it's used, not the tech itself."

It just comes across as "those people have no idea what they are talking about".

Honestly I don't care that much about people using BTC for scams. I care about the tech.

I find it difficult when people say "BTC will be worth xxxxxxxx$ soon". That kind of statement may be scammy, or at least speculative. But that is different from the tech.
How about a per website switch?
Google is an extension of American soft power. They're about as neutral as Huawei.
People forget that in the “previously on The Sopranos” recap for that episode they include a scene where Tony’s on a boat and somebody asks him what he thinks happens when you die. “Nothin’, everything goes black” he says.

Everybody who watched that episode saw that, everybody saw Obvious Hitman creeping around in the background, “Don’t Stop Believing” is perfect because you have to be in complete denial to think that ending was ambiguous.
> to say that Rust isn't as fast as C in this case

That's not what the quoted statement is doing.
> it takes longer to learn the basics of Rust compared to C++.

Does it really? For example I'd think that initialization of objects is a topic that should be in "basics", yet initialization of objects in C++ seems disproportionately complex compared to Rust (at least to me).
Skin can ‘sniff’ certain aromas that help it heal faster
TIL. Do you have any links that go into more detail about these differences?
Exactly. At first I thought it was just a thing in the U.S. movies, but when I had to work with american people (I'm european) that was a shock: they're like in the TV series, grandiloquent and enthusiast and ready to applaud at each boss's speech.
Personally I enjoy it, it adds fun in the workplace, but you have to not take it seriously otherwise it messes your expectations, just as you said.
It's been the same when working with other cultures, like indian or asian people; you have to adjust and not take everything at face value.
Are you aware that the CEO owns about 90% of all Ubiquiti shares?
So what's a good alternative to Ubiquiti hardware? Is there some guides/community for standard x86_64/arm64 computers and PCIe cards to be used as professional-grade routers and wifi access point at a low price range? Turris Omnia looks pretty cool but it's really too expensive for non-profits.

Is OpenWRT or OPNSense the way to go? Or is there some more generic web dashboard you can run on any GNU/Linux or BSD system?
Important point! Twitter should implement a reporting function where people can report harassment, bullying and doxxing.
Java: Creating Terabyte Sized Queues with Low-Latency
In theory, that could be true. It could even be that China is doing due diligence and trying to avoid tarnishing a reputation of an individual before enough evidence is collected: he's probably lost the support even if everything that happened was deemed "consensual" (not sure if you've read the original message from Peng, but there was a description of an encounter where his wife was in a room next door: I can't imagine that being considered commendable in any way).

But they would probably mention that because this has become such a hot topic: "investigations into Peng's accusations are ongoing" should not be such a hard thing to mutter out.

But even if they did do something proper yet invisible, the obvious pressure on Peng to withdraw her claims and act as if nothing happened are alarming. As is the attempt to rewrite history of the case. They did not even make her say something like "I was under duress/drunk/whatever" or "somebody else stole my phone and wrote that": there is obviously some respect for her public stature, but the main concern is with "health of the nation". By making it all a lie.
I mean, this is importantly true as a generalisation, but, it's worth knowing modern compilers know about idioms.

If you show a modern compiler the typical idiomatic blob of code for counting the set bits in a word in a language like C, the compiler goes "Oh, popcount I know this" and when targeting modern CPUs it emits a single instruction, the popcount instruction for that CPU.

In APL idiom recognition was essential to making even a halfway decent compiler. It's easy, and idiomatic, to write APL which would be tremendously wasteful if implemented naively, while recognising common idioms could remove lots of that waste without needing the level of sophistication modern compilers have during optimisation.

Because the compiler knows about idioms you should not try to optimise your programs by writing non-idiomatic code until you've determined you have a performance problem and the non-idiomatic code is identified as a way to fix it. Otherwise it may be that the compiler improves and now your code is not only harder to maintain it also has worse performance than the idiomatic solution.
If I understand it correctly, mostly the smartest kids from public schools get admitted to a university. On the other hand kids from private schools don't have to be that smart as their schools gave them significantly better opportunity to attend universities.

Looks like to me that the public school kids get admitted their schools despite.
That's ridiculous, a prolific thief is still just a thief.
>Masks (the N95 kind not the loose dentist kind), gel, distancing, double Pfizer shots. Still got COVID with severe symptoms not even 4th month in after the second shot.

Ouch. Anecdotes like this really scare me. I also have friends with double Pfizer shots who got the COVID and had strong symptoms.

Maybe Pfizer should go back to the drawing board though.

Though I assume, without the vaccine they would have probably ended up in the hospital. Glad I got my 3rd dose now.
I guess this is self-inflicted. Most companies pay shit so people milk them out for experience/achievements to then jump ship to the next one.

Maybe if you give zero incentive for your people to jump ship they'd be more likely to stay and actually care about the company's long-term?
Nope: RF shielding has nothing to do with having a ground reference.
Ask HN: How do you build your personal start page?
By personal start page, I mean a custom-made web page that you would set as the home page in your browser and use it as the starting point of doing things in the browser.

I'm considering building something with Next.js or Gatsby that I can self-host, but I'd love suggestions of the most customizable tools that would allow me to quickly integrate data "widgets" from diverse sources like Nextcloud, Fastmail, RSS readers (Inoreader, maybe), CalDAV, bank accounts, etc.
I think it makes sense for the project to be powered by human energy.

I guess you could power the motor by an alternator+crank :)
> I think Google is trying to protect itself from lawsuits

That is unlikely. Google breaks many privacy-related laws across the globe and deals with billions of euros of fines regularly. They have an unlimited wallet and couldn't care less about spending a few billions to extend their dominance over the Internet.
Altering Emotions in Video Footage with AI
I know about the usual "deflation scares" by economists and governments. I think they are a bit overblown, though. They seem to assume people spend money just for fun. But people also spend money because they need things. If you are hungry, you have to go out and buy food. It doesn't matter that your 1$ may be worth 10$ tomorrow, if you need an Apple now or you will starve. So I think people would still be spending, and things would even out after a while. I don't believe we need those centralized banks manipulating prices to keep some inflation rate so that people keep spending.

I also don't think Bitcoin will just keep doubling every year forever.

But all that is besides the point.

As for "people discarding the economic value of Bitcoin", clearly right now it has value, so those people are wrong. Whether it will still have value next year is another question. But right now, you can sell 1 Bitcoin for 56000$, so it provably has value.
I've had payments blocked with PayPal, why do I need Block for that?
Since we have not had in person conferences or tech meet ups for 2 years it will be interesting to see all the tweets about them in the future not having any of the usual photographs of the crowd, people in the corridors on laptops and participants in sessions, at social events.

I wonder what other behaviours we have forgotten that used to occur? No photos of people in a pub, at a cafe, on vacation. This might make Twitter a less appealing place for the average person.

Imagine if Facebook did this.
Ask HN: When is it acceptable to kill innocent beings?
Some rats were nesting in my partners car (under the hood). After relocating them, cleaning, and spending several hundred repairing the car, they have since moved to my car. Same deal. Reflexively we purchased rat baits, and are now seeing the fruits of our purchase.

Now I doubt whether the simple act of a being trying to find safe shelter should result in the brutal death of that rat and it’s friends/family. A car is merely a possession, and yet in response I have painfully killed many innocent beings.

I feel I’ve overreacted. Does anybody have any thoughts regarding taking life to protect mere possessions?
Who cares if the company is called Google or Alphabet? Consumers know the website is google.com. People they want to hire know enough that the company is Alphabet even if consumers don't.

I think these new names are silly (even after 6 years of hearing "Alphabet"). It's obvious Meta and Block chose these names to lean into where they want to go. A big reason I think a rename is a good thing is just talking about the company. Does "Facebook" refer to the app, the company, or something that affects Instagram, Oculus, WhatsApp? You can use internal code names, but that still is difficult for investors or new hires to discuss the company. I think this is more of the reason for the name changes instead of their brands imploding.
Because —and this serves as a reply to the sibling comment too— GPT-3 is just a relatively simple construct pumped full of data and compute. After training it is relatively static, and while output might appear novel in some cases I think it is far more likely that GPT-3 is not more imaginative than most people suspect, but that people are less imaginative than most people expect.

I’m not knocking your work, it certainly may be the first (or near enough to) instance that techniques are applied in the way that they are; but in my understanding and opinion, the very fact that Copilot can output code that seems novel and groundbreaking suggests the opposite. Occam’s razor.
Open-Plan Offices Are Now the Dumbest Management Fad of All Time (2018)
It's actually really nice the way the author commented it. It's a cool insight into their mental process. I've never coded in Assembly and I can't normally follow it. But reading these comments I can understand how the author is surgically managing registers and operating off a complete mental map of what's there, the same way a coder would with, say, a very large database they have a complete mental model of.

All I mean is that I appreciate the author making their thought process accessible. It certainly looks like virtuosity, but I'm not competent enough to judge.
As a non-native speaker, the difference between "citing" and "per" would have me confused. The HN title is much more explicit.
Sometimes there is room to also hire non-senior folk or the job posting for it is still missing. You can always find it a try.
Is there any way to find things transparently on the 'open web' without using Google? Is there a real alternative?
I don't know about your country, but in Spain we have those stats each day from the ministry of health. Turns out that the efficacy is still pretty high, around ~80% for infection. There was also a report with rates of hospitalization between vaccinated and non-vaccinated (I can't find it right now, I'll try again later) and it's a pretty clear difference, 6-14 times (depending on the age) more hospitalizations for unvaccinated persons per capita.
I think if you’re using it as an example of bad behavior a decade later, it would have been okay to directly address the behavior at the time:

“Wow, that would be really toxic behavior if we were coworkers. I think we should end this interview here.”
A curated list of questionable installation instructions
How Leisure Time Became Work
That's commendable, I love it.

As other commenters said, I'd absolutely love to break my back working on improving the status quo [through free open source] but I am not paid for it. Like damn, I couldn't even convince some colleagues to use `just` as opposed to `make` and the migration path is trivial for most normal development cases (not talking about old Linux libraries or the kernel, of course). Takes literally 15 minutes, once, to rewrite your task file and you're done and you can write much less and have your stuff done predictably. But no, "I don't want to learn a new tool". Coming from a 25-year old. <facepalm>

If I can't even do the above, while clearly demonstrating the benefits to productivity and less mistakes due to the hundreds of footguns of the legacy technology... then what hope do we even have to, say, finally start working on a completely new shell without the limitations of the current ones? What hope do we have to finally fix the entire X.org / Wayland mess on Linux and have a unified ecosystem?

Practically zero. Because apparently there are people who would defend any idiosyncratic technology with their fists, it turns out.

I'd go on a limb and say that 95% of the best of the best programmers out there are trapped in lucrative jobs where they have almost zero creative freedom. I hate it as well but we have to ensure our own survival first, and that's a constant grind in this civilization. Hence you can spend your ENTIRE career dreaming of doing something else and never actually do it. Hold that thought for a moment, it's a very good reality check.

Initiatives like in the OP give me hope that at least some generous people would take a look and say "hey, that makes it easier for me to donate / fund efforts"... but I am not holding my breath. Our current society does not optimize for any of this.

Finally, the biggest problem is discoverability. I and many others (to be clear, I am not putting myself in the group of "the best of the best of the programmers" but I am a guy who gets crap done nonetheless) simply are too tired and jaded to go participate in weekend hackathons or any R&D events (if such even exist?) so they end up being full of young inexperienced people whose net worth to the R&D arena is close to zero. :(

Is there even a solution? IMO not until the incentives change, dramatically so. Or you become a millionaire somehow and then all your burnout magically disappears and you ambitiously became a benevolent dictator of several such efforts until you're satisfied the entire thing is a less shaky house of cards. But that doesn't sound like a probable scenario: most people, when they eventually make it, are way too psychologically tired to then actually start doing everything else they wanted in the profession before. They prefer to lie on beaches and boy, do I understand them perfectly.

<saddened rant ends here>
> you are not allowed to take a photo of people without permission, even in public

I'm curious how this is expected to work in practice. Is there a clear definition of "a photo of people"? Taking a close-up portrait of a random stranger in public would be one extreme (and I guess most people would agree it should require permission). Presumably a photo of my kids and their friends having fun at the park is still clearly "a photo of people", and therefore also requires permission.

But if I take a photo of a street scene in Berlin, do I have to get permission from every passer-by who happens to appear? How about a landscape photo where I only realise later, on reviewing the picture, that there were a couple of hikers on a distant hill? To my mind, that's not "a photo of people", yet there are people in the photo.

Somewhere between the extremes, it seems to me there's an awfully wide grey area.
Can you elaborate on how Firecracker is changing the situation?

My claim is that it isn't possible to build services on top of GCE/EC2 that compete with 1st party cloud offerings in important ways.

The problems with nested virtualization are mostly in silicon and to some extent in kvm. Firecracker doesn't really have much to do with it as the VMM isn't the problem.

You could use Firecracker to build your own GCE/EC2 competitor on bare metal, but that solves a different problem.
You didn't "engage" with it the right way.
Given that most CPUs are or can run in little-endian mode these days, why are so many new protocols and file formats using big-endian for storing numbers, like record lengths etc?
I really like Snowden's recommended Faraday cage for phones or other devices of similar size: two drink-shaker cups[1].

Drink shakers are cheap and widely available. The average hotel room in any medium/large hotel chain probably includes a shaker as a standard item as part of the minibar. The simple two-cup style (as seen in [1]) is preferred over the fancier "strainer top" style because you can press the two cups together; this should cause the inner cup to slightly cut into and/or deform the outer cup along the circle where they join together. The seal between the cups should work sort of like the knife-edge seals used in vacuum chambers.

A metal box or conductive bag is only a Faraday cage if it is fully closed/sealed. Any imperfection in the seal or hole[2] might allow the radio signal to leak out. Most improvised items (freezer, random metal box, etc) have poor seals. Making a high quality cage that actually block a modern phone can be done without much trouble, but the drink shaker method is the only method I know of that will do the job using widely available (free) or very cheap ($10-ish?) parts.

[1] https://ae01.alicdn.com/kf/HLB1yRyhXZTxK1Rjy0Fgq6yovpXaZ/Win...

[2] Holes of sufficient size. How big are the waves you are trying to block?
Posting from a throwaway account to avoid any backlash.

I know early, early Facebook employees, like from when the company was just a handful of people. A lot of these people are incredible impressive, capable, creative, risk-tolerant, etc... it's actually intimidating and I don't want to make it sound like I'm at their level at all. Also, we don't keep up anymore - and they haven't worked there in ages - but I back then, I knew them well enough to have insight into the "ethos" of Facebook.

What I don't think the people see is how much making something "cool" is literally the essence of Facebook's DNA. Maybe not in the managers, directors, the employees, etc... but at the top, with Zuck, it is 100% the case. Unfortunately, Facebook has become incredibly uncool, as Zuck has tried to impress the grownups, while being way too confident in his ability to continue replicating early Facebook's coolness.

For example, I kind of think Zuck was really jealous of Instagram, and this really poisoned their partnership. The same goes for WhatsApp. He doesn't like platforms with different ethos' to outshine his mid-2000's baby. A consequence of this, and this is purely speculative by the way, is that there is a certain willingness to destroy these platforms in the pursuit of user engagement.

Like, what doesn't exist in this ethos is thoughtfulness towards what makes each platform special. All that matters is that room full of his friends, and the shared excitement of building one of the first of a new generation of billion dollar companies. It seems that this ethos is basically of accepting others - and obviously Instagram and WhatsApp are super different in terms of their design.

So just bear this in mind. Every time you see news about Facebook/Instagram/WhatsApp, it should always be understood through this lens. That "building cool stuff" (that's vague, I know but it's really the most concise way to articulate it), I.e. Facebook's absolute core, is gone, it will never come back, and you can expect proportionate reaction from its founder, who wields an outsized influence over the company, due to their corporate structure.
depends on where you live probably, and how accessible things are on the internet for you...including how easy it is to make payments on the internet for you. Torrents are a blessing otherwise.
That's really cool :) and makes perfect sense.

I can see what you mean about it scratching an itch. Definitely piqued my interest!

(Varying "citation needed" didn't quite convey genuine curiosity the way I thought it would.)
That's really great. Is it open source by any chance?
I suspect Excel et al. are the absolutely perfect topic to target people at the intersection of 'affluent' and 'overwhelmed'.
Tesla quietly launches an electric ATV for kids
The better question is how much pressure does it put on other organisations when it comes to bowing to China? Or any other rich, not-so-democratic country like Saudi or Qatar, or...

Because now the WTA, by no means a small sports organisation, did what the IOC, FIFA, NBA, film studios,... didn't have the courage to do. And these orgs now don't have any excuse of doing nothing about those human rights abuses.