skysight-inc/HackerNews huggingface dataset:
I haven't read these 2 books, but would like the opinion of someone who did.

[1] C Interfaces and Implementations: Techniques for Creating Reusable Software by David Hanson - HN's tptacek seemed to rave about this book, that's how I heard of it. Wonder what he thinks of it in 2021.

[2] C Programming: A Modern Approach by K. N. King - this one seems to be loved by many. Seems to be more 'beginner-friendly' than the 1st one I guess.
Pug Pancake Anyone?
No idea what you are talking about and it is tit for tat.
I can only guess you are not in a STEM career. I am an electrical engineer. When I was 14, I did not know I would become one. I use math in my work every day. If Mr. Funacello (Norwood High) has not taught me Algebra I and II (had him twice) back in the day, I would not be an engineer now. Our kids need teachers like him.

Some people use science and math beyond your experience in "every day life". These are the people that created the steam engine, Apollo, the Internet and our Covid vaccines.

From the school board: "Let me be totally clear, we are talking about taking Algebra 1, Geometry, Algebra 2 – those three courses that we've known and loved ... and removing them from our high school mathematics program, replacing them with essential concepts for grade eight, nine, and 10."

Fewer of these poor children will be in STEM careers.

This is not to belittle whatever it is you do. All occupations are important. If I had it to do over again, I might be a plumber and start a business, skipping the student loan BS.
Wow.. Kinda looks like a repurposed submarine
The problem with banks isn't that they outright scam you, it's that they are mismanaged and are too eager to lend out money to borrowers who cannot pay their debts back.
The luxury fashion industry is roaring back everywhere but in Europe
Even accepting that everything counts as an attack, there can't be an ad attacking your attention when it doesn't exist on the page in the first place.
> Plastic is killing the planet.

No, it isn't. Plastic is only showing up in large quantities in areas where it shouldn't, and occasionally hurting some animals. Microplastics in particular may become a problem at some point, but then again, maybe they won't. We aren't sure. And either way, it's not causing problems just yet.

Greenhouse emissions are what's killing the planet. Manufacturing plastics is a part of that, but so is power generation, and thus all "purely digital" activity.

It's a point that people often confuse. Microplastics are bad, and emissions are bad, but they're bad for completely different reasons. Climate is what's an existential threat to civilization, and what we need to focus on right now. We can deal with microplastics later, if we survive that long.
I think they were standard even back in the day. My 2004 Mercedes had one since when I was moving and had boxes on the front passenger seat, it actually deactivated the airbag since I guess the weight was just in the "there's something but it's not a person -> possibly child seat" range.
"If a cataclysm on Earth ever makes inhabiting it even remotely as hard as making Mars habitable, then we've already lost."

Damn. That's disappointing. Here I was thinking that 4 billion years before the sun enters its red giant phase was plenty of time to get our shit together.

Guess I was wrong.

Or are you saying you have a plan to prevent stellar evolution?
> tab is mapped to the function that reformats the entire document according to the formatting rules I've configured.

Huh. you know...
As someone who tends to conceptualise code visually, I find it extremely helpful to sketch-out diagrams of the processes and organisation before getting anywhere near the keyboard -- drawing clarifies my thinking unlike anything else. As such, I find the top-down UML-first approach to be much more natural, but I seem to be in the minority on this.
Do you think most of the HN demographic is actually running big IDEs, containers and VMs at the same time? I'm personally a CS student and never had to run more than a few lightweight docker containers + maybe one running some kind of database + VS Code and that has been working fine on a laptop with 8GB and pop_os. Could imagine that a lot of other people on HN are also just generally interested in tech but not necessarily running things that require a lot of memory locally.
The main feature for me isn't the ARM, it is that the device is passively cooled and still very performant. If that isn't possible with x68, ARM might have a chance perhaps. But 99% of my time is still spend on that platform.

I just wish I could install Linux.... If MS and Apple just provide their locked down environments, it will never be more to me than a neat device and I would still crosscompile instead of binding myself to a manufacturer.
Okay, some calculations.

An object displacing 250kt of water (ie. size of Ever Given) has a potential of about 0.7MWh per 1m. Most coastal regions see tides above 2m and a lot much higher than that.

I say 1MWh extracted daily from from a dumb metal object the size of Ever Given (and potentially much more if you are in are with exceptional tides)?

I guess it would depend on how efficiently it can be built and the cost of additional infrastructure (though it would be less if you build it in form of a farm).

Remember, it can be used as energy storage, so if you have a large farm you can program it to automatically pull some of the containers deeper to provide power when at low tide.

Also efficiency of this can increase with the size of the tank as the amount of materials scales less than linearly.

I used Ever Given as an example, but this has been built to be seaworthy and pass Suez Canal. If you don't need to make it seaworthy and don't need to make it to pass through anything and can make it any shape you want you could probably design much larger structure.
What wipes in Star Wars teach us about the brain and also interface design
That means buying the DRM copies in the first place, further contributing to that system. Also it is a PITA.

Pretty much all e-paper readers are proprietary and track all reading too which is a second order problem.
If you purchase and download a movie you can copy it, back it up, and watch it whenever you want as many times as you want.

The lawsuit is about repeated downloads and streaming after the copyright owner has removed the movie for sale.
You would send the new id in NOTIFY when something inserts the new product.
E-book (15% discount): Protect your mental health from digital overload
Maybe it’s just not too often that people invest a few 1,000 unpaid hours in an open source project motivated by hate, I don’t know.

We’ll consider to find something more meaningful than love for the footer message.
DNS Tutorial for Absolute Beginners
"The books stopped working" is a fantastic writing prompt for a dystopian novel.
>>considering what exactly is the likelihood of hundreds of postmasters simultaneously becoming thieves overnight

I mean, I don't think anyone assumed they suddenly and inexplicably became thieves, just that the fancy new software finally caught people who have been scamming the post office for years. Obviously the software was completely wrong and it's criminal what happened to those people.
Flow to where?

Low tide only occurs twice a day.
Do you have chapter and verse for this? It doesn't sound right to me but I don't know for sure.
The keyboard has been fixed since 2019
Hahaha, here it's done by the police directly - and if you're in EU, it's several layers of police, some of which are not subordinate to your state. Way creepier.
Anyone have more technical detail on the software or the bugs therein?
I'm with you that

select pay from employees group by organisation

makes no sense, but that

select sum(pay) from employees group by organisation

would make more sense. However, it makes perfect sense to query columns which are being grouped by, something like:

select organisation, pay_date, sum(amount) from payslips group by organisation, pay_date

So I'm just suggesting that perhaps this could be be expressed on shorter form as the below if only implemented in some SQL dialect:

select *, sum(amount) from payslips group by organisation, pay_date

Is there any reason as to why that would not work? Maybe it makes no sense, but I have a hard time seeing why it wouldn't make sense.
Just donated $50 - after 2500 blitz games, that's only 2 cents a game.
I can think of no better compliment: Lichess is the site, the eternal game of chess deserves.
> A 5nm version of the AMD stuff should be reasonably close to the M1.

Reasonably close only counts in horseshoes and hand grenades. Until a 5nm version of the AMD stuff can run MacOS, there’s no point comparing the 2.

If the AMD stuff blows past the M1 (or the M-whatever), Apple’s marketing will turn on a dime.
Because approximately no one in the whole supply chain wants to be stuck with a part dated last year.

And product lines are speced 12 months in advance.

So you need precise demand prediction all the way along your supply chain for this to work.
Some people pasted whole books into the editor. In combination with more than 100 people using it concurrently, that’s not working that well. I limited the character count, it should be way more performant now.
I tried to argue once that longer needles were better for searching; but I didn't find any literature to back that up. And I suspect most searches are done with line endings being tracked, such that most have an implicit tiny needle they are tracking.
Apple has WAY more statistics about what kind of computers people buy and use.

I'm pretty sure they're not nickle & diming people with 8GB RAM M1 machines, someone somewhere has calculated that as being enough for most users.

HN hardly is the place to compare what is "min spec" :)

(As I'm writing this, my i7 MBP sounds like a jet taking off, CPU capped near 100%. Normal day at the office.)
American skiing for Hungary, delivers average perspective to Olympic halfpipe
Yeah, an automatic formatter and linter/language server handles the first 5 very smoothly. The 6th one (surrounding terms with word boundaries) is useful in many situations, but a lot of editors also support doing this natively; e.g. "Match Whole Word" in the VS Code search input fields.

I don't want to be too cynical about the article, since these are absolutely all good things to know due to their myriad uses in other circumstances. But if your intention is to apply these to code you're writing, as the article describes, I don't think any of them are practical if you're already using an IDE/IDE-lite. (It probably makes a lot more sense if the author is using a lighter editor like vim without a lot of plugins, though.)
Well, that solution is also perfectly applicable if we were to colonize a desert, or Antarctica, or the ocean floor. Still, all of those are easier than colonizing Mars even if we throw unprecedented amounts of resources at the problem.
"How does Tesla benefit it?"

Are you seriously questioning the benefits of electric cars in a discussion that started with an article saying "hey maybe we should stop dumping carbon into the atmosphere, it looks like doing that might kill us all" ???
Wave energy is one of those things that only works at the "ghetto contraption I built with crap I had lying around" scale.

Combine something that pumps, two check valves, some hose and creative plumbing (alternatively, replace creative plumbing with a lever and hydraulic cylinder) and you've got a really low pressure pump. From there it's just physics.

Doing this kind of thing at scale just doesn't work. Between expensive engineers, permitting, code, surveys, OSHA, etc. etc. etc. there's no scale at which you can do this where you more than break even generating eletricity. Electricity travels great so you're competing with all sorts of other sources. It just doesn't work.

But if all you want is to pump enough water into a tank so you can hose bird crap off your dock and you want to avoid digging a 300ft trench for a water line at the same time it works great.

If you need real power somewhere remote go solar/wind. If you need better uptime than that then add lead acid to the mix. But once you start breaking into mid-range power needs (think gravel pit mine running crushers or something) it's hard to beat diesel.
A Better Model for Stacked Pull Requests
Other pools, which you then empty on low-tide. That way you can start draining your main pool as soon as high-tide is reached - you don't need to wait for low-tide. With a set of pools you can keep draining 24 hours a day.
It's only "future" because Apple strongarms the whole market with their market position buying whole 5nm TSMC capacity
Explanation: [ -~] is matching the range of characters† from space (32) to tilde (126), which is the full range of printable ASCII characters. (0–31 are various control characters, and 127 is one last control character, ␡.)

† “Characters” is a deliberately vague term here. Different regular expression engines match different types of things, typically supporting one or two modes. The three most common things to match are bytes (the traditional default, normally encoding-unaware but potentially known to be ASCII or UTF-8), UTF-16 code units (JavaScript’s default, and UTF-16 was an all-round terrible idea that ruined Unicode for everyone else while achieving nothing useful), and Unicode scalar values (which is typically called “Unicode mode” and often enabled by a /u flag).
With the M1 in the latest iPad Pros I’m not even sure if Apple will keep the Ax line but instead to upgrade their low to high end with just Mx series processors .
Huh, I always had the opposite impression. The A students weren’t necessarily the brightest but we’re good at diligently following directions, whereas there may be a population among the C students who had the brains, but were off doing their own thing this their grades suffered.
ARM is not more efficient / faster because it’s “newer”.

People imply ARM is relatively new and thus could correct for the misdirection x86 has gone.

1978 is when x86 was introduced.

1985 is when ARM was introduced.

ARM isn’t that much newer than x86.

https://en.m.wikipedia.org/wiki/X86

https://en.m.wikipedia.org/wiki/ARM_architecture
No, I ran VSCode on Linux since day one.
> M2 for MacBook Pro 15 inches

16" will be the size, like in the current gen. External form factor about the same size as the old 15", but smaller bezels.

If they come up with a 16" M2 with 16GB+ of RAM they'll be out of stock for MONTHS, everyone I know will be upgrading from their pre-touchbar Macbooks.
Former me would agree with you, but I hit my breaking point when I saw Microsoft eBooks stop working, or shows I liked pulled from streaming services. There is no permanence no matter how much I pay when media has DRM.

I for one only pull dvds out of the box once ever.

It is easy enough to rip DVDs or Blu-rays to a NAS and use Kodi.

Sadly that option is becoming less and less possible as many shows become streaming platform exclusives.

Accept the monthly fees, tracking, and proprietary devices/apps or no entertainment for you.
I'm not so sure they all would have been better. Republican voters are wary of candidates who get into an establishment position and then abandon conservative policy--for all of Trump's personal ills, most of his voters were pretty happy with him from a policy standpoint. If you know that your party's nominee is going to be vilified by the media regardless, it does make some sense to pick one who's not going to waste time trying in vain to be likeable.
To be fair, because it is so easy to hand over access to crypto wallets vs a bank account (your bank will reverse fraudulent transactions) it would actually be possible to hand the robber a bait wallet with a small fraction of your net worth but enough to keep the robber happy.
This is sad. I haven't been here long enough but I can assume the Cold War is responsible. I had written a wall of text with anecdotes of how the US teaches their kids from young that anything commie related is bad. They don't question it, they just repeat. The West has this system of keep your populace ignorant and repeat lies in the media. I can only assume this is how Germans lived through the Nazi regime, heads in the sand. Good luck.
Actually the original idea that I based this on didn't mention pardons, but I thought that adding that element would make it more thought-provoking and put people off voting "Yes" in this hypothetical. Your comment suggests it has achieved both those goals.

Don't you think it's an interesting quirk for a legal system to allow both execution and posthumous pardons? If the point of a pardon is to end someone's punishment (even someone "completely guilty"), then shouldn't that necessitate that all punishments imposed by the justice system be impermanent, at least in principle?
Because it is not free, it is an unpaid lease.
I'm honestly surprised anyone complains about that split - it was introduced specifically so that BT wouldn't control the entire telecom infrastructure in this country, and OpenReach was formed to provide equal access to all operators - BT being only one of them. This is an extremely good solution to what used to be a massive inequality problem previously. So no, BT and Openreach aren't split for some bullshit reason, they were ordered by the court to split in order to protect consumer rights and increase competition, goals which were overwhelmingly achieved due to that split.

And yes, the negative side is that every time something goes wrong, BT really can't fix it any faster, it's all down to OpenReach to maintain the network. But on the other hand, it always goes through OpenReach, whether you are with TalkTalk, BT or Sky, so the entity responsible for maintaing the network isn't the entity selling you broadband for home.
You have to test new keyboard on M1 MBA/MBP
A growing problem of ‘deepfake geography’: How AI falsifies satellite images
A Random Gov.uk Page
This is probably one of the most ridiculous pieces I have seen. The reason people leave CA? “the imposition of its own net neutrality law”

I think the title was written to encourage reposts by people who did not get past first few paragraphs.
Personally I think Apple has completed its shift from a computer manufacturer to a processor manufacturer who serves two internal clients the software division and the consumer electronics division.
Surely that should be

/^[^@]+@[^@]+$/

?
Does anyone else, of a certain age, get a distinct 'Thunderbirds' vibe from this?
I think you're possibly confusing the Royal Mail with the Post Office, there. You're talking about the Royal Mail. This article is about the Post Office.
There are some youtubers that do this to "show off" their creations. [1] I have to admit, a Cummins in a Mustang is somewhat unique.

[1] - https://www.youtube.com/watch?v=pwK8tlR38u0
CD Projekt Red also sell Windows exclusive software (Witcher 3, Cyberpunk, etc.), which, one can argue, is also a form of DRM.
chess.com was founded in 2007. lichess started in 2010. So chess.com was already an established player.

The point is that creating a new chess site today would require to be better than lichess. If we look where Magnus Carlsen investment goes, they are all paid services (Play Magnus/chess24/chessable). He doesn't event try to compete with chess.com/lichess.
DevOps Software Developer vacancy
Once bitten, twice shy.

I considered that keyboard to be designed to fail. I'm not interested in gambling that another component won't fail the same way. It's easier to use products that have not demonstrated such designed failures.

The good news however is that due to this garbage tier engineering I've discovered that desktop Linux is more stable for me than post-Catalina OSX - I'd have probably never found this out otherwise.
Probably not in the beginning, but once you have a successful model going it's inevitable that the sociopaths/careerists invade and take over. It's unnatural and unstable for a company to believe in anything but accumulation.
Housing is part of the CPI https://www.bls.gov/cpi/factsheets/
Does it have practical applications tho? Last I read about it, I figured it was just neat. (On the other hand it pollutes the namespace as a "BMA" search term collision XD)
Ask HN: Is there a good example of a complex system?
I notice that I cannot explain people on internet discussion the idea of a complexity and a complex system. Somehow I often end up in a deadlock when trying to explain my understanding of (for example) society processes, the difficulties of tackling problems, because people tends to believe, that if a little more effort was done, then problems would go away.

Thinking about it, I'm trying to show people an example of something that couldn't be understood easily. Even worse: their inability to understand my example, to get an experience to feel themselves overwhelmed by a complexity, is a goal of mine. It feels like a self-defeating goal, it has a self-contradictory feeling.

So the question is: had you succeeded explaining people that there are things so complex, that their complexity couldn't be managed regardless of amount of resources one might put into management? If you had, how you did it? Is it even possible without spending few hours speaking passionately?
Increasing money supply without a commensurate increase in CPI is consistent with a rise in asset prices, especially speculative assets.

(Maybe this is what you're saying as well?)

If the Fed prints $1,200 for every adult making less than whatever it was, and prices of everyday goods and services don't go up, and instead those adults all turn around and spend their $1,200 on Gamestop and NFTs...

...it all kinda makes sense.

https://nymag.com/intelligencer/2021/04/nft-future-of-money....

Perhaps more explicitly: purely quantitative attempts to understand the economy (as with monetarist explanations) fail to account for the social component. Maybe people are bored 'cause of the pandemic, and as a result, they spent more of that $1,200 on gambling as a form of entertainment, instead of on restaurants or new clothing.

Animal spirits.
You can screw the automation up, but when you fix the error it's gone forever.
Compare this to having to do 5 manual steps every single time, potentially under stress. At some point you'll mess up. The errors in CI instead are systematic (like deciding on the wrong 5 manual steps).
A personal common favorite:

"(?:[^\\"]|\\.)*"
Giph – A minimal GIF recorder for Linux
Senior Software Developer Vacancy
Google is developing a price tracking feature for Chrome on Android
Mysteries
yes I'd like to know more details. This video shows a bit more: https://www.youtube.com/watch?v=9hN3dBpPu8Q

Bi-drectional? Looks like those adjusting flaps are to make it bi-directional yes, but maybe the angled legs mean it has a preferred flow direction (I'm guessing).

How power is transmitted back to shore? The video seems to show, in red, some good old "big fat cable" technology. It's described only as powering the Orkney Islands. I wonder if surplus energy there can be fed back to the mainland grid.

How it's anchored in place? Two massive mooring cables front and back. The main central cylinder floats, with the legs and rotors dipping down into the water (Maybe obvious, but not to me at first)
Even with nearly 300 sponsors our hourly rate is $8 before taxes and from what I know Marijn is doing just fine already. I think it’s in his and our interest to make our work financially sustainable too.

That said, we’re sponsoring other related open source projects, for example Y.js already.
> How do you make this mistake almost 1000 times over 14 years before someone suspects the system data may not be quite right?

It's very much a case of assumed infallibility of "scientific evidence," which in this case were computer records.

It's also very much a case of UK judges greatly, greatly disregarding the process, which fully reneges on their oath.

Country's legal system can't function if you have judges who can lightheadedly throw out the process out of the window 1000 times over 14 year.