skysight-inc/HackerNews huggingface dataset:
You've answered your own question.

"why can't the same thing be said of human intelligence"

"if we knew more about neuroscience..."

So that's why we can't say the same thing.

Fwiw, my take is that whatever the brain does, its a machine of some sort but possibly not even a turing machine. Many disagree but noone can prove me wrong. Yet at least.
That's not very productive.
I don't feel like that at all. I don't use it that much but I feel proficient when developing on wp.
Yeah, well, it's been that way for me for many years now through many machines of varying brands. These Dell machines are just the most recent, and I was shocked at how effortless the whole install process went this time around compared to way back when I first started using Linux. It really was a huge hassle back in the "olden days" of early Linux… Nowadays it's proven pretty "plug and play" all the way around every single time I've installed a new Linux rig.
https://www.bls.gov/ooh/computer-and-information-technology/...

The number of "jobs" added doesn't quite double, but if we think of it as "for every 4 that retire, five take their place" it would definitely feel like what you're saying.
I've had no problems with Nvidia drivers. Running an RTX 3090, doing inferences on stable diffusion and can also fire up steam and play elden ring online

Though, you do need to know how to use a computer to set things up properly.
> Be on the right side of history on this one, folks.

this is a clear indicator you are a "lost cause" social justice warrior type.
Equating slavery and eating meats.. OMG.

Have you considered taking an African safari and encouraging lions to stop eating meats?

Why do people like you use "be on the right side of history" and other catch buzzword type sayings?
It's an analogy. There's also an opportunity cost to a vote, insofar as casting a vote for A means you can not cast a vote for B. You also have a fixed amount of votes, 1.

> If you are poor you are not in a position where you have a choice, you have to buy the cheapest items that you need to survive

This is a really dull and tedious way of looking at things. Poor people make choices based on preference all of the time. Especially because food in the US is dirt cheap in historical terms. Sure you aren't buying organic grass fed meat, but you can pick from a wide range of cheap foods. Are your choices more limited, sure, but you still have choices.
I foolishly bought a Nest and three Nest Protects back when Nest were promising to implement HomeKit. Then Google bought them and they just stopped mentioning it.

Google continuously doing this means I’ll probably never pay for one of their services.
> Linux starts trashing

You mean intensive use of swap memory? You could turn off swap and get OOM errors instead if you like a snappy system, but I don't know if it's fair to criticize an OS for running out of memory. It's the user fault for using software that demands more resources than the equipment has, or for not expanding the RAM when it's clearly needed.
What is easier to read:

a) 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1

b) 20

If all the code in your project was written like a), how would you feel? Does it make your job easier or harder?

I'll tell you how most people feel when they read code that looks like a):

- The author didn't care about other maintainers.

- The author is selfish and does not have empathy for others.

- The author ruined my fucking day.

- Team members are competing by sabotaging each other's productivity.

- If I clean this, by the time I am done, the author would have pushed 10 more commits that look exactly like this and eventually become my boss.

- The author is wasting everyone's time.

- The author is forcing others to volunteer to clean up after them.

- Why does management tolerate code following the a) style? A simple intervention would make it go away and my job would be so much better.

- It's sad that everyone is too busy looking at Jira and nobody cares about the actual fucking product.

- This is slowing everyone down and I have stuff to do.

- The code is error prone, one day I'll break it.

- Why should I contribute quality code if low quality is acceptable?

As you can see, it objectively fucking sucks. It's draining, demoralizing to read, it's frustrating, it wastes people's time, it gives people the perception that nobody fucking cares and the code is everyone's toilet with no trip lever.

And while it's "superficial", it's the surface that all engineers interact with. If I spread superglue over the surface of your kitchen counter and every dish and utensil in your kitchen every day around lunch time, that problem will also be "superficial", but it will ruin your life.

So, the conclusion is: Just fucking write clean code. Shitty code ruins the morale of people who care, who are the people that want to build great things not the ones cashing a paycheck and resting and vesting.

You are not a full-time architect, you are not in business development/marketing/finance or whatever, you are in the fucking engineering department. Your contribution to the business are your deliverables. The "superficial" stuff you talk about is your job. Do it.

"Ah ah ah, you didn't say the magic word!! ah ah ah!" Don't be the fucking Dennis Nedry of the team. Format your code, make it readable by your team and your future self.

Do you want everyone to love you? Write code like this:

https://norvig.com/spell-correct.html
You should look into enabling Wayland, which PopOS! disables by default. That should give you silky-smooth 60fps desktop transitions like MacOS, as well as 1:1 trackpad gestures. Happy hacking!
I guess if I’m being pedantic, sugar isn’t technically the same as carbs, but from a health perspective carbs aren’t much better. I’ll give you that. No one is going to be using using this stuff for a keto diet :)
Marge: I'm sure your insurance will cover the house.

Maude: Uh, well, no. Neddy doesn't believe in insurance. He considers it a form of gambling.
Get a laptop that is sold with Linux. Don't expect Linux to work with literally everything. Drivers.

If you get a modern xps or thinkpad it'll work just fine. But your mom's acer laptop she got from Costco. Maybe not :P
Ah, reality. As defined by somebody so unable to function in it that he can't make it 24 hours here without getting 3 flagged/dead comments and a negative karma score.

But thank you for the comment. It's nice to know that the people opposed to crazy things like human rights are this dysfunctional. You give me hope for the future.
It doesn’t need to work as well as current management, just well enough to be cheaper.

Perhaps not even that, factoring in loyalty.
PCMCIA was an ISA bus on a card. PC-Card was PCI on a card. Then came Express Card, and no prize for guessing what the bus used there was.

Express Card made the mistake of offering multiple form factors which made it harder for laptop manufacturers to support.
> Almost all gun violence is international warfare.

Unlikely. Less than 100K die in war annually, but that isn't only from gun violence. Most gun-related deaths in the US are not from petty crime or gangs. In 2020, 45,222 people died from gun-related injuries in the U.S., according to the CDC. And more have been killed by a gun in the US since 1968 than in all US wars combined.[1] It would be more accurate (yet still inaccurate) to say most gun violence occurs in the US.[2] 67% of gun owners report defense as the reason for gun ownership, yet there is no evidence that guns are protective, and those living in a home with a gun have a greater chance of being killed by a gun than otherwise.[3]

[1] https://www.nbcnews.com/storyline/las-vegas-shooting/more-am...

[2] https://www.bbc.com/news/world-us-canada-41488081

[3] https://www.theguardian.com/us-news/2022/apr/07/guns-handgun...
Not with liberal use of `unsafe` it can't.
> you still work for them, so with enough "nos" they'll just fire you or assign you to projects which don't matter

They'd have to replace you with someone else similarly certified.
Perhaps if you leave the defaults alone this is correct. Even defaults aside sleep and hibernate don't work well. Don't even get me started on secure boot.

I've used Linux for over a decade so I am used to turning off random things I don't need, changing defaults, hardening my setup,etc... and it is more unpleasant than ever before. There is less debuggability( if that's a word) and it really does take a while to get things operational.

For example on my debian laptop, I have secure boot and apparmor working. A lot of things broke when I removed software I don't need that is running by default which meant a lot of googling and searching for help but it all works now, I mean, to be fair I only struggled for one whole weekend only on it, which is an improvement, but, regardless of the DE I have to wait for at least 5 minutes after login staring at the wallpaper. I just accepted my fate now. Nothing in X11/xsession logs, dmesg, journalctl, lxdm logs, I have tried everything short of stracing random processes or attaching gdb.

I mean, for personal use it beats windows and isn't locked down and unfriendly like macos.
Windows for starters. Also the title claims that things work well not that linux is the best.
What Is FPGA Hardware Emulation?
How to get linux on your laptop without any issue: buy a good laptop from a reputable vendor that comes with linux out-of-the-box.

Buying a laptop that came with windows and installing linux is not the way we should do it these days.
> OS that has actual hardware support.

Give me 5' with such an OS and I will find at least 20 things which are broken.
Seems like a form of virtual eugenics, a sensorship or the body in a way that's oppressively homogenizing. I feel like this is part of why zuck leverages cartoons to market metaverse for corporate settings, or why all the retail-safe anodyne pop muzak is full or autotune and flawless software-based overproduction. Not to be overly dramatic but imagine you are enraged but all anyone can see is a tranquil smile and your words replaced by positive endorsement; you have no mouth and you must scream

On the plus side I can see this being used to self-anonymize by individuals who want to protect themselves from facial recognition or other forms of id from undesirable parties, but that's more of a coping tactic for a society that fails to incorporate any honest ethical QC into product development to begin with.
I assume you live in Europe? Honestly seems like a fair approach to gdpr laws. A local city news station in the US that doesn't care about European visitors can either just ignore gdpr entirely and piss off Europeans or block them from visiting and piss off Europeans.
It’s definitely not new. When I was a kid it was Trigger Happy TV, Jackass or CKY. How you could write a panicky article like this with a straight face I don’t know.
Reminded me of 'Object Calisthenics' by Jeff Bay. Basically an exercise for a toy project where you adhere to 9 rules:

1. Only One Level Of Indentation PerMethod

2. Don’t Use The ELSE Keyword

3. Wrap All Primitives And Strings

4. First Class Collections

5. One Dot Per Line

6. Don’t Abbreviate

7. Keep All Entities Small

8. No Classes With More Than Two InstanceVariables

9. No Getters/Setters/Properties

https://williamdurand.fr/2013/06/03/object-calisthenics/
Snippet-Driven Development
Ask HN: Why are older processors slower at the same frequency?
I am a software engineer so I am pretty knowledgeable in the topic of computers in general, but this specific question continues to bother me. Why does a processor from 2015 at 2.5GHz run slower than a processor from 2022 at 2.5GHz? What should I look at specifically? Is the difference reported somewhere?

In general: how can I tell when I need to replace my processor with a new one (without needing to manually compare the new and old one...)?

I think looking at the GHz and number of cores is not enough anymore.
It's not just energy. You're responding to someone talking about how many things we buy and how much plastic we waste in general. Westerners need to learn that growth for the sake of growth is the ideology of a cancer cell.

Even EVs are illustrating the problem. Rather than make transit efficient we're going to greenwash individual cars. Remind me where those EV batteries come from? Who cares about the externalities of lithium mining — just put multiple EVs in every home, widen the highways, add some interpasses. For people who don't have cars today (most of the world) will we be providing EVs as well?

At some point it will be too late and people will experience a rapid decline in quality of life (it's already happening if you look at lifespan) with no recourse. Easier to be in denial about that than to, say, not eat meat every single day. Or not have same-day and two-day free delivery in a country where 80% of product transportation is done by truck.

It would be nice to have a silver bullet, but the reality is people will have to make adjustments willingly or have it done for them by the biosphere. The Earth is going to be just fine. Whether or not we will remains TBD.
It was even easier for me to find work at smaller companies the older I got. There were always companies that really needed someone who could help them mature their processes, who they could put out in front of customers, who knew how to work with sales, who they could send off-site and talk to their customers tech departments (B2B) etc.

It got to the point where my “interviews” were more just sitting down with directors/CTOs and talking like adults about how I would help them solve their real world business problems. I haven’t done a coding interview in over a decade even though I have been hands on all that time - across five jobs
That forum thread you linked does not say microphone drivers are broken on Windows. The first reply sounds on point.

I'll add that all laptops produce noise on the headphone jack as the audio amplifier is preemptively switched on and off. Only difference is that it's normally just barely audible. I'm gonna take a wild guess and say they just choose a crappy IC.
Crisis == opportunity ツ

TFA missed the point of splitting complex expressions into separate lines: naming the single-use vars clearly makes the whole calculation easy to follow. In the example given, nothing about the one-line `map split over split of split` tells a reader that it's parsing a query string – just splitting it in two and naming the temp var `query_params` makes it clear.

Although `last_3_query_params` would be more precise, and something that explains why TF you'd want that would be better... ツ
Two days ago a friend found Spotify installed on hers Windows 10 laptop, pushed by Microsoft, even on the taskbar. That's insane. Windows 10 will be my last Windows ever.
That has been my experience too. Even then if you get a next generation thinkpad that is slightly newer than what has been "blessed" by the community, there is a good chance that a lot of essential hardware won't work. Fortunately, in the case of Lenovo they do actively track issues with hardware and issue new bios versions that fix compatibility but even having to install new firmware when you are using Linux can cause major headaches and worries.
That’s nice, but it just highlights that the coding style isn’t sufficiently intelligible by itself. We can’t and shouldn’t rely on a static analyzer to be active to make code intelligible everywhere code is displayed (pull requests, diffs, ...).

Doing so favors writing code over reading code, which is generally the wrong bias. Editor support is appropriate and useful to help writing readable code, but it’s bad for editor support to become a prerequisite for existing code to be comprehensible.
People say this, but I think you probably aren't clear on what the Citizens United decision meant. It boiled down to overturning a law that prevented groups of people from spending more than a certain dollar value on anything that could be considered campaigning. The law was so broad that it was used against a Michael Moore documentary, and was obviously unconstitutional.

Also the idea that you can just reliably buy congresspeople by spending money on ads is a farce.
> A PE is a license, a credential approved by the state, not a certification given by a company

And state, that is behind in everything related to technology, is going to be the arbiter of the 'best practices' in a field that progresses faster than what even the top universities of the world can cope up with...

So basically this would force software into a profession lagging from ~100 years behind like other engineering fields...
Only tangentially related but I've tried using GPT-3 as a replacement/alternative to Google (Search) when looking for information on non-current events.

Google is incentivized to show me more pages that have ads on them rather than pages where I might find an answer and stop searching. Every click in Google is one unit of their product that I've manufactured and drop-shipped directly to their customer, so of course that leads to search results being the carrot on the stick that produces more search queries (ad impressions). When Google does show me a page in this year 2022, it was likely written by an AI writer anyway. They've just "added value" to the page by putting in ads and affiliate links.

Using GPT-3 feels like a shortcut that gets me past all of that garbage, and straight to the questionably factual text I'm looking for.
You don't need AI when you have GPS location, the time the picture was taken and recordings of the surveillance cameras in the area
Surface Pro 2017 trip report:

Basic laptop functionality works. Battery life is poor compared to when running Windows. Pen and touch required some finicking to get working. No writing apps as good as OneNote. All the ones I tried have enough input latency to make the experience unpleasant.

That was a ~2021 Ubuntu. I was unable to reach the desktop in Mint. Kali couldn't interface with the network chip.
Of course it's bad. Is that a serious question?
The NPC meme resonates because it's true that a lot of people respond to keywords with the same phrases. And they update The Current Thing in unison. Once you see that, you can't unsee it.
Yes my first reaction was that the VAX would have been a much better architecture but Intel's manufacturing lead meant that it could churn out 286s (and of course 386s in 1985) at much lower cost.

Interesting to compare them both with the ARM1 which was 32 bit (no MMU) but only used 25k transistors on a 3 µm process - and which was more powerful than VAX 11/780. So both powerful and cheap to make.
- Integer promotion -- Nope, you need to explicitly cast; integer _literals_ get their type inferred, though.

- Implicit casts

It has the following coercions:

+ Subtyping, which is based on lifetimes, not inheritance -- e.g. I can use a global array somewhere an array with a shorter lifetime is required

+ unique references to shared references, unique references to mut pointers, shared references to const pointers, mut pointers to const pointers

&mut ---> &
| |
v v
*mut ---> *const

+ "deref coercion" -- basically, if you have a smart pointer (e.g. a reference counting one), you can get a reference out of it

+ "unsizing coercions" -- if you have some pointer type that points to e.g. an array of known size, and you want to change it to a (bounds-checked!) pointer to an array of unknown size (a slice, in Rust parlance), that coercion occurs

+ function types to function pointer types

+ the ! type to any other type -- there are no values of the ! type, so this is sound (it's the type that e.g. exit() returns)

- loop keywords -- it's just for and while, not even do-while

- switch -- It has real ML-style pattern-matching, with extra goodies for pattern-matching on arrays more easily. This doesn't have the fallthrough problems of C, and is more expressive to boot.

- enum -- Again, the real ML-style design. Typesafe, and _far_ more expressive.

- _Generic -- Another ML-family design :) This time via traits, which are similar to typeclasses in languages that have those instead. Think, "interfaces, but don't require a vtable (unless the programmer requests one)"

- typeof -- Nope, though there's (ML-family-style again!) type inference, so the cases where it'd be necessary in e.g. C macros just aren't a problem.

- No explicit number of bits -- the builtin types are u8, i32, f64, etc. -- the only ambiguously-sized integers are isize/usize, which I believe are specified to be the same size as size_t; I don't know that there's a pointer-sized integer type for platforms with larger pointers than size_t's (e.g. ARM Morello and other CHERI CPUs)

Which language(s) do you like more for writing this kind of systems program?
For the past 20 years I have been only using Thinkpad from the T and the X series. The only one with an issue was I think the X220 with the SD card reader not being stable. All the other ones are working perfectly well. My current one is a T480.

But I always take some time to look if somebody succeed in installing Linux on the laptop I want to buy before. If it means I need to wait an extra 6 months, then I wait a bit.
Yeah, quite a coincidence!

According to my git history it took me 2,5 weeks to release this project.
That's not even the best one any more. Some other systems hit -30C.
What? No it isn't! You didn't parse that correctly.

The query params were never in the lambda to begin with. Python function calls have strict (not lazy) semantics, i.e. "applicative order", i.e. both expressions passed as arguments to map() are evaluated before the map body gets them as parameters, thus the query params would only be evaluated once, even when inlined as they were originally.

Same with the lambda definition: it's evaluated only once. It's just the lambda body that gets reevaluated each loop, and only evaluated for the first time on the first loop.
Ubuntu: Except for Bluetooth and audio, and sometimes it forgets there's a wired Ethernet port I have to down/up the interface with `ip`.

BT is a trainwreck.
Engineers would benefit from talking to designers more often. The rule of 5 +/- 2 has been around in UX design forever. When you write code for others you're designing a human interface for solving a problem.
> It's worse than that: once we start refilling it we bring back all of the demand that releasing oil from the SPR kicked into the future.

Translating this into HNese, your argument suggests that disk drive caching shouldn't work. The answer is you can fill your reserves at a much lower rate than you empty them, taking advantage of many small windows.
Ooh I’ll try Fedora. Thanks!

Does it handle switching the dedicated GPU on and off when needed? Any tips on how to set up? Mine stays on and kills battery in about 90 minutes. I tried the switching and it would always just crash.
The ground heat pumps are not used in the opposite direction, it doesn't cool down water to the floor but it flows water at 10-15C into your floor. According to the installers I've talked to here in Belgium, all the ground heat pumps devices are capable of doing that.

While this might not be needed in Sweden, it's more interesting further south. I live in Belgium and we had a long heatwave this summer and they predict more of those in the coming years. So cheap efficient cooling might turn out useful here (even if nobody had AC systems 20 years ago)
Actual performance is based on two things: clock speed, and how much useful work the CPU design can do per clock step. improvements in the former have kind of stopped, so now most of the improvements happen in various aspects of the latter.

The best comparison is and has always been benchmark results.