skysight-inc/HackerNews huggingface dataset:
Good catch. The traditional problem (from the era before T420) is waiting for the kernel to catch up with the new hardware, for any kinks to be shaken out.

At one point, there was a joke, if you wanted some new hardware to work with Linux, the easiest way was to buy two of them, and give one to Alan Cox or similar.

Then Linux became mainstream, and you had dynamics like Lenovo wanting Linux to work well at launch of a new ThinkPad.

I don't know how that's holding up, now that we're back to a large percentage of developers who are using Windows for development, and all that brings in. Which relieves some of the commercial motivation to honestly support open source, as well as eroding technical savvy about what's secure/sustainable/etc.

(I'm guessing most developers don't understand why there was commercial embrace of open systems, and then of open source. It's partly cost, but also outright abuse and counterproductive dynamics. In some sense, we're coasting, reaping many of the benefits of past battles that got out of abusive situations, while setting up the next generation for abuse. Only, the next generation might have it worse: tech will be vastly more ubiquitous, complex, and mandated -- and perhaps impossible to dig themselves out of.)
I don't know, any hardware that I've used any big distro on (ubuntu, pop, manjaro) just worked out of the box instantly for all of these. On battery especially for many laptops I found better battery life on Linux since I could manually choose to disable dGPU. My problems come when I need to run windows specific tools like Altium.
Do you really believe that if everybody turns vegetarian tomorrow cows will just stop existing? If so, India would like a word.
I think this is a different meme.

The TikTok trend is "people acting like badly programmed game characters", the wojak comic is "people who disagree with me aren't people".
The starting assumption is highly dubious: "Short lines of code require less brainpower to read than long ones."

I'm not going to nitpick the incredibly bullshitty term "brainpower" and what is less and if that's actually advantageous, but if you write short lines of code, you're going to write more lines, which requires "more brainpower" to understand. You don't simply "chunk" lines in memory. If that were true, you could just as easily chunk function calls.

That memory plays a role is fairly certain. There is a pretty hard finding from psycholinguistics: it's hard to understand nested structures. The sentence "the rat the cat the cook hit chased escaped" is much harder to understand than it's right-branching equivalent "the cook hit the cat that chased the rat that escaped". However, reading code is not the same as reading natural language.

If you want to know if what you wrote is understandable, try reading your code without falling to back to remembering why you wrote it. Try to read what you wrote. Wait a few days if your recollections get in the way.
Yea, hibernate/suspend issues are by far the biggest problem I have with Linux on laptops. Years of being in the mac ecosystem where you can just close the lid and it'll barely have lost battery over weeks of being idle spoiled me.

I essentially have to treat my linux laptop like a small desktop computer and just shut it down fully when I'm not using it and can't leave it plugged in to power or else it loses 5-10% battery per hour.
I dont know about books but I mostly learned from experimentation and https://docs.podman.io/en/latest/
Evaluating a commercial in-duct bipolar ionization device for pollutant removal
I prefer it to the MacOS mating call of "you didn't buy the right cable!"
What Is Going on in China?
Social media is full of theories and stories, but it’s almost impossible to find any confirmed information at all. Anyone knows what’s up?
My company has a tech stack consisting of all the latest and greatest devops/tooling/cloud services, and an old timer like me wonders if that could have been just implemented as one C++ binary running somewhere.
Hmmh? It's pretty well documented in Documentation/networking/bonding.txt in the Linux kernel source tree I thought. I needed our Linux boxes to do bonding somewhere in the 2011-2012 time frame. I don't recall much of a headache.

(edit: I misremembered the project/time frame)
I started my career as a full stack and I've been doing it so far well.

I like to design and think thoroughly about business logic and data layout and also how you host and architect the final running services/websites.

It seems that I just can't leave the software secret sauce being secret.
Is it because of their switch from a realtek chip to tempo? It's broken on Windows too ... https://community.frame.work/t/no-driver-for-tempo-audio-chi...

All platforms have issues, especially with uncommon hardware combinations. But if you buy any mainstream device odds of it working in linux are probably similar to the odds of it working in windows.

For older hardware the odds are much better that it will work out of the box in linux.
Whoops, I forgot! Yeah, no weird intercom noises, sadly.
But isn’t that basically “good enough” if you know you want Linux and can either afford the latest thinkpads or are okay with a slightly bulkier older Thinkpad?

Seems not worse than different from needing Apple hardware to use Apple software… (though in practice there is a significantly wider array of hardware that has very good support for the software)
Can you name a kernel with more robust hardware support?
Ethics is subjective.

Is it ethical to eat dogs? Some societies do, some don't.

Should we judge lions for eating meats? Perhaps convince them to move to a vegan diet?

What you are advocating is forcing your views on others, and that "price" should be the factor.

What if others don't want you do to do something, would you enjoy having it priced out of your reach?

Why do you "have to convince them" in the first place? wouldn't it be easier to do what makes you happy and keep your opinions to yourself and your like-minded friends?
Because Google is replacing the webRequest API with declarativeNetRequest. This new API has 2 benefits. The first is that it protects the privacy of users better. Extensions no longer get access to the full contents of a request. The second is that it ensures that poorly optimized web extensions can't slow down the performance of loading sites. Chrome is making this change to improve user privacy and improve performance.

uBlock Origin just needs to migrate to this new API. Despite the noise from people who just hate on big tech the only true difference as far as I know is that the browser will enforce a limit on the number of rules that can be added. This number exists to try and prevent bad performance from too many rules existing.
Unwarrented fear of an extremely low-probability bad outcome.
a̶b̶o̶u̶t̶.̶.̶.̶ ̶w̶h̶a̶t̶?̶

edit: Oh, something about an unconfirmed coup against Xi
That may be true for less capable editors, but IntelliJ (and therefore Rubymine for the cited code block) annotates the stream type variable when it can prove what it is: https://www.jetbrains.com/help/ruby/viewing-reference-inform... regrettably doesn't show an example of what I'm talking about

.map { | *String* key_value | key_value.partition... }

where String shows up in light grey text indicating that IJ knows `key_value` is a String
Totally fair, I understand. I'm an ex-employee that might return soon, so I was curious how things changed so much since I left.
> Linux on the laptop

> 11-year-old Thinkpad T420

This guy better be trolling.
The VAX was a 32-bit CPU with an mmu, the 286 was not. UNIX variants on the 286 had severe limitations (64k max program size). VMS was built for a much bigger machine than a 286.

The fab was also in-house.

"It is DEC's first single-chip microprocessor implementation of the VAX ISA and DEC's first self-fabricated microprocessor...

"The MicroVAX 78032 contains 125,000 transistors on an 8.7 by 8.6 mm (74.82 mm2) die that was fabricated in DEC's ZMOS process, a 3.0 µm NMOS logic process with two layers of aluminum interconnect."
Nope, will check that out now. Thanks :)
Nothing in the post or the videos indicate any facial recognition or any Machine Learning application. Why would he put the simple object detection overlays in the video at all as if that were relevant for anything other than creating the illusion of AI. I imagine he looked up some popular spots with public camera feeds, found posts with those coordinates and then manually matched the video from the image timestamp. The most impressive thing here is the artist realizing the idea of this would be provocative and garner attention.
No the general sentiment is that the interview process for software engineers suck but almost no one wants to take a chance trying to develop a new way to interview. It’s somewhat understandable though since devising a new process can’t be to people focused less you inherit too much bias from the interviewer, nor can they be boiled down to a objective metric or else people may fall into inflexible dogmatic practices that use metrics that don’t directly or accurately measure a candidates ability to perform the job applied for
CLove-Unit v2.3.0 is out Single-header unit-testing library for C/C++
New command-line api (useful for building IDE Plugins and Automations) and tests report formats (pretty printing, csv, json) and output (stdout or file).
They all work on mine. Maybe you've got a terrible laptop.
I'm not very good at making long titles fit the 80 character limit for HN. If you can think of a better title please email HN to get them to change it. The title of the paper is "Evaluating a commercially available in-duct bipolar ionization device for pollutant removal and potential byproduct formation".

These devices were sold to many schools. They don't appear to be very good.
You start with a (valid) complaint about misinformation, utter "Reality check", and then conclude with this which has never happened in the history of mankind?

> When a dictatorship with nukes attacks a country without a nuclear umbrella, if too much resistance is encountered, nukes will probably be used

I think you're just adding to the sea of misinformation.
I was hoping this would be about people acting out janky NPC animations in real life.
For the specific term “NPC” maybe, but the idea of “There is a main character and every one else is a machine” goes back much further - Kurt Vonnegut’s Breakfast of Champions (1973) tackles the idea in a particularly humorous way. (Not too much of a spoiler I hope, in classic Vonnegut fashion the bottom line is delivered up front and the rest book is about getting there)

Note: don’t be tempted by the audiobook! The real deal features illustrations by the author
This could be fixed with a little UI work in gnome. Eg. when running a RAM heavy program, if more than 80% of memory gets used, then whatever program is using most gets halted, it's window greyed out, and a popup saying "Your system memory is 80% full, and Google Chrome is using 65%. Would you like to kill Chrome or close some other applications to allow it to use more?"
Buddy, I'm not making an "argument". I'm explaining my thought process. If I can live my life in ways that are equivalent except one has less unnecessary killing, I'm going to pick that one. If that doesn't matter to you, that's fine by me.
It probably made more sense in the pre-web Internet, when not all domains were necessarily serving web traffic. Or had any obvious or standardized way of serving a "contact us" page.
The declarativeNetRequest was added which allows a similar capability without causing privacy or performance issues.
Addressing the Use of Electronic Air Cleaning Equipment in Buildings
At least you don't have to do a little dance after drinking a "verification can" of specially-chipped soda.
They have access to: Fellowship of the ring, the two towers, return of the king, appendices, and the hobbit.

They cannot even accidentally make a Tolkien-accurate story in the universe unless it’s directly depicted in one of the sources I listed above. My assumption here is that they chose to intentionally make a unique story to avoid a lawsuit. However, this is also the equivalent to rewriting the backstory for Jesus and telling Catholics to just give it a chance because the cinematography is so good.
This might have been the crucial point, where DEC missed the microcomputer boat. In early 1985, the only full 32-bit single-chip processor that was generally available was the Motorola 68020. The Intel 386 would come out later that year. DEC was focused on the high end though. Much of the R&D was going into high-end designs with rack-sized arrays of ECL logic for the processors in their VAX mainframes and vector supercomputers, which they never sold very many of. The later CMOS NVAX design, when process shrunk, ended up being faster than the $1 billion ECL VAX 9000 line not long after it was introduced.
City cultures are weird af.

Albuquerque NM has/had issues with older drivers (lots of retirees there and Santa Fe) who would refuse to use turn signals and would purposefully drive slow on the highways to slow the flow of traffic.

Police and highway patrol had to start issuing tickets and instituted minimum highway speeds.

Here in California, drivers all use their highbeams in the city. Police refuse to enforce it so it's become rampant.

Blinds me and sears my retinas thanks to my astigmatism. Like staring at the sun with those damned halogen lights.

When I was a young man with a new wife and child I applied with a local IT company to be a 'desktop expert' (they only knew business/IT solutions).

Part of the interview was driving around talking.

A person was pulling to a dog leg to turn, we were far from them and the other car had plenty of time/room to turn...since so were we. The owner- an older man, said 'I'm not going to signal because if I do, he will go first.'

Blew my mind someone could do that on purpose .

Moved back to California years later and it was endemic. People all over now do this and it infuriates me every time.

Or they see you waiting to turn and speed up until they see you give up on going, then slow to a crawl.

Contrast all of this with rural Texas and all of Washington where people wave, give right of way, always dim lights, move over for bikers, and are generally nicer, more respectful on the roads and in general.
Scammers are using fake CircleCI emails to convince GitHub users to sign into their accounts to accept the changed terms and privacy policy.
> PowerShell is a shell that uses pipelines like nix shells but it has everything as an object unlike nix shells. So you get to take advantage of that.

That was one of my favourite PWSH features when I was using it regularly. I’m a UNIX CLI-and-filter guy from way back and after using PWSH for a while I longed for the same power in bash (my shell for reasons of history, availability, and muscle memory, I’m unlikely to change).
This is just not true. The host serves data to a client which can do what it wants with it.

The client can interpret the data from the website however it wants regardless of the intention of the website.

A website, for example, can use tags that a client doesn’t comply with.

The client is and always has been opinionated. It does not and never has had to obey the websites intentions.
"What if only I am truly conscious" is not a new concept.

And as usual there is an xkcd for it: https://xkcd.com/610
The unedited title is "Open Letter to address the use of Electronic Air Cleaning Equipment in Buildings" which is a bit too long for the HN title field.
OOM killer is a pseudosolution to an artificially created problem.

https://lwn.net/Articles/104185/
I run Gnome based distros on Thinkpads and Dell XPSs and they are the breeze to setup and use.

Nvidia drivers are always a concern, apart from that in all ways superior to Windows OSs on these same laptops.

Personally i find myself more productive with my Linix workstation but the M1 Mac I use for official work is also quite good.
I get 15-20 hours of battery on my laptop running Debian, at say 30% brightness, with an open ssh connection or two over wifi. So, there are clearly circumstances where it is fine, though I'm quite sure there are cases where it isn't, too. Use the tools that work for you when they work for you.
Is this a new trend or just a new way of describing something that has always existed?

I remember when I was a teen we used to do stuff like this. When with friends we'd often do weird things in public just to see how people would react.

Also when I was in school there was a TV show here in the UK called Balls of Steel which did the similar things to "NPCs" that these kids are doing today on TikTok, https://www.youtube.com/watch?v=5A_X1gwnR7k
> It was not always thus. Back in the late 90s and early 00s, installing Linux on one's home computer was a rather terrifying affair, requiring a ton of abstruse tweaking using the command line.

For those not in Linux back then, here's some examples from that era:

https://www.neilvandyke.org/linux-thinkpad-560e/

https://www.neilvandyke.org/cheap-pc-2000/

https://www.neilvandyke.org/lab-linux-1999/
“If you don’t make it beautiful, it’s for sure doomed”: Arctic Code Vault
> "It doesn’t matter that you pay income taxes, what matters is that the employer isn’t paying payroll taxes, withholding income taxes, paying unemployment insurance etc."

I think we're talking past eachother here.

The employer, in this case, is you (a company you own). You're also the only employee (a private person employed by that same company you own).

If your company decides to pay you a salary, your company must also deduct taxes, social security, benefits, payroll taxes, income taxes, pension, etc.

Your company must ensure the terms of your employment are compliant with all laws and regulations.

Your client enters into a contractual agreement to buy a service from your company. They're not responsible for your company's compliance with local laws and regulations. Your company will be charging the client a certain rate (gross), which is usually worked backwards from the "net salary" you as an employee want to make.
When I taught public speaking, the most effective advice I gave was "practice speaking like Barak Obama".

Look up videos of Obamas major speeches to see how he talks. Write down 5 topics/questions you'd often speak about, stand in front of a mirror, and give a timed 30 second mini-speech in your best Obama impression (no funny voices). If you can, record them and show them to a friend for critiques, so you can track your progess.

A couple reasons this works:

(1) He speaks slowly and deliberately, which is (a) very compelling, as it projects confidence and thoughtfulness, (b) accessible, especially if you need to think about what you're saying, and (c) it slows down the conversation, encouraging full thoughts from others, rather than rapid, back-and-forth exchange.

(2) Most people discount the value of presence (posture, eye contact, facial expression) in verbal communication. Obama does it all really well, and in a way that's pretty linearly-improvable (i.e., they're still helpful even if you're mediocre, and keep helping as you get better).
Yes, running Linux on Windows hardware is often a recipe for misery, or at least dealing with obscure kernel parameters.

Which is why I've said and will say again: slapping Linux on Windows hardware is a mug's game. Buy it preinstalled, from a company that supports it. We actually have that option these days, and it's amazing.

Some days, I swear the smartest thing Apple ever did was prevent users from slapping OSX on commodity Windows hardware.
Your mileage clearly varies, but I found the transformed example much easier to understand. While I suspected it was parsing a query string from the initial code, having that stated explicitly in the variable removed the guessing. I think the main problem is he just didn't go far enough, there was still more to deconstruct.

I suppose the function to parse the query string could have been better, its name isn't very descriptive, and the method with which it parsed wasn't very obvious either (I'd expect to get back a dict or a list of key/value tuples, not a list of strings)

I know a lot of programmers are against comments, but I also think this is exactly the kind of code where a comment is handy..., the purpose of the [-3:] part wasn't obvious to me at all.
Yep, my 2 year old Ryzen laptop still doesn't have properly functioning sleep without tweaking kernel parameter, and that workaround got broken on 5.19 kernel release and I had to find out new parameter to tweak.

Linux worked perfectly on my old laptop from 2015 though.
My main issue with my current laptop is that the synopsis touchpads connect over i2c, and there has been a lot of ongoing work in the kernel that keeps requiring me to change my kernel config (PINCTRL_AMD needing to be selected for the 5.18 to 5.19 kernel update).

My last laptop (an AMD version of the HP Envy 13) was also rough at the beginning. A BIOS update updated the AMD GPU firmware or microcode or something and broke compatibility with the current kernel stable kernel at the time. Had to switch to an -rc kernel to get video to work.

Admittedly, my day job is basically Linux kernel development so I'm intimately familiar with most of this stuff. Not exactly your typical user.
You're probably using an old version of systemd without oomd. If you can wait a little, MGLRU will soon fix that in the kernel; no other software will need to be installed or updated.
This is so subjective. Some people do want to write such code as that is “cleaner” because it’s compact. Some wants to explain every single step because that’s “cleaner”. Some tries to do something in between and it’s somehow “cleaner”. But in the end, it’s mostly subjective.
Isn't the point of software to deliver something people want to use?
That's not quite what happened. Pebble was virtually dead and shopping around for an exit. Fitbit bought Pebble for its IP (i.e. patents) / soft acquihire. No one was going to be making the Pebble 3.
The annoying thing is that it's quite unpredictable. You can sometimes find information on the internet on which laptops Ubuntu is going to work on out of the box, but usually it's a gamble. Sometimes you notice something's not working a month after buying the laptop just because you never happened to try the feature before.
> CYA Notice: Like all worthwhile activities, messing around with laptop computers is not without risks. You could destroy your display by misconfiguring for the video chipset. You could accidentally corrupt your flash BIOS. You could encounter your potential soulmate in a cafe but then alienate him or her at a crucial flirtation stage by evangelizing Linux to an unhealthy degree. This page is provided without warranty.

Love this lol
I believe this is where I first learned about it: https://news.ycombinator.com/item?id=28838053
> Spending money hoping to bank on the occurrence of unexpected outcomes simply can't be justified.

I would have agreed a decade ago, but in the one year our house has been standing, it has endured two 100 year events (a heat wave and a rain/windstorm).

We overpaid about $1000 to go one size up on the (variable) heat pump / AC and $10-20k to oversize + harden the solar / battery.

It has been worth every penny at this point; the solar kept the fridge, freezer and AC happy in > 100F heat during a power outage. That's $500-1000 of food just for the one event, and outages are increasing in frequency. (Air conditioning was mostly unheard of in this area 20 years ago, since it didn't get hot enough to ever run it.)

My big concern is that we're already eating into the engineeeing tolerances for the wind rating on the house itself.

I do agree that you should consider what can be upgraded later, and put money towards things that are hard to change (insulation, wind ratings, etc.)