skysight-inc/HackerNews huggingface dataset:
Out of curiosity, may I ask what desktop environment you run? For me, that is the weakest part of the Linux experience.
Laws surrounding capital spend for campaigning mostly.

https://www.electoralcommission.org.uk/who-we-are-and-what-w...

Most of the money used to pay Cambridge Analytica came from Aaron Banks, who got it from... "somewhere".
Weird synthetic proteins could let us build new kinds of life
A incredible read.
Except if you are ayende.com/blog
>> George W. Bush personally riding in on a pegasus

Wtf? People who believe this stuff should have no say on elections
Show CO2
Kontena Lens dashboard for Kubernetes adds improved auth flow to GKE and EKS
Yet I still quite regularly refer to our Shorter Oxford (3 - 4k A4 pages). Usually after failing to get a correct or adequate answer online. It gives far more definitions, etymology and usage than any and every online resource. For dictionaries, the internet has no depth, just a barely scratched surface. Somewhat equivalent to a simplified school or pocket dictionary - at best.

I've probably spent as much time down paper encyclopedia rabbit holes as Wikipedia. Both have their pluses which can't be easily replicated in the other. Same for dictionaries.

Something that came up in a recent discussion on Encarta: I have a century old encyclopedia set - the fact it is not constantly updated makes it a fascinating piece of history. Sometimes with better - manual - shortcut ways of calculating that I never heard of in my schooling, and a glimpse of skills that have declined. Reading about steam engines while they were still cutting edge, etc. I've learnt all sorts of little bits of history none of the many history books I read and Wikipedia time I've spent have ever got near.

Having a snapshot is as useful, but differently useful, to having an always updated resource.
> Nobody expects to learn much about a person by their name.

This is wrong. If I tell you that I just hired a mathematician, a farmhand, and a nurse, you could probably guess which person was which when I introduce you to Vladimir, Jebbediah, and Sofia.

Names are a reflection of culture, and certain cultures tend towards certain professions. No politically-correct dreams will change that unless we instill a universal monoculture throughout the world. I'm sure that Disney and Coca Cola would love that, but most people would probably prefer to protect their heritage and culture.
The old coin-operated public phones in Ireland (and probably the UK) - the ones with the A and B buttons - were hackable in this way for local calls. I haven't found much on-line about how they worked, but here is a youtube video - https://www.youtube.com/watch?v=SS-tEun2XMc

Although this style of phone was from the 50s or 60s, they remained in use for decades in private settings like schools, hospitals, hotels, pubs and the like right into the 90s.

I never paid for a local call from our high school phone by using this tapping technique. But thinking about it now, I suspect the calls weren't "free" - it just meant that the contents of the cash box was not enough to cover the bill the school received every month.
> 2. Wikipedia articles (...) pale in comparison to an actual encyclopedia. (...) This is easy to see on pages for cities and countries (...)

I'm not claiming Wikipedia is perfect (they are not claiming this themselves) but in contrast most of the small cities worldwide are not even entitled to get an entry in "actual encyclopedia".
Rootless Docker at least supports vpnkit, which is an alternative memory safe implementation written in OCaml.
> I'm pretty sure that would be my problem if I tried to move (back to) Linux. A lot of the HN crowd is (understandably!) focused on development, and the chances are your favorite dev environment is going to be good-or-better on Linux as it is on the Mac.

Those of us into graphics programming, UI/UX are better served with macOS/Windows tooling, development enviroments and SDKs.

That is what triggered my move back into those platforms.
To Stop Transformers from Exploding, Make Their Tanks Flexible
Can a Hot Drink Cool You Down? [video]
The goal is to get more beef and less leather.
Being a developer does not equate with UNIX.

Plenty of us are developers in other platforms.
I had the same issue. The solution I settled on (and have been very happy with) has been a Mac Mini as a polished front end/web browsing machine, and then a Threadripper workstation running Ubuntu that I ssh into and do all dev work on. The pleasure of OS X without being so limited by Apple’s hardware options (and extreme markup).
The Greek ισο "iso" does mean "equal". I do not know if that influenced the naming of the organization, though.

You see this word in many English roots, such as isotropic, isometric, isomer, etc.
Interesting quote. I shall forward it to my boss (we are a software publisher).
So because some mining conferences you were at had female speakers, every conference must have? I again think you didn’t really understand the point being made as you did not counter argue it very much at all.
Introduction to Data-Driven Documents. The Basics of D3.js
Does every discussion of Christianity have to mention the Spanish inquisition and the Crusades? Does every discussion of Islam have to mention suicide bombers? Does every discussion of America have to mention Guantanamo bay?

You can't reduce broad groupings down to the few evil things people may have done in the groups name.

And then there's
"that is the foundation of America and is the system most proven to provide the most benefit to people without discrimination or coercion"

Are you aware of the history of slavery in the US? Of segregation? Or are you "mentally stepping over" that?
Works fine in reader mode but yeah it's totally unreadable on mobile.
Vue vs. React vs. Angular
It is not reversible because you’re ereasing information. If you want to have a reversible addition you are not allowed to destroy the information.

The same happens if you apply the standard AND operator to two bits because the output is only one bit, therefore it is impossible to figure out the two input bits. To have a reversible AND operator you can define it like this: f(x1, x2, b) = (x1, x2, b XOR (x1 AND x2)). E.g: f(1,1,0) = (1,1,1).
From this output you can get back to the input. This way you can implement a NOT gate as well, and all others gates. At the end you can implement addition using bits and your summation becomes reversible :)
You can see that with this definition we are not ereasing any information, hence it becomes reversible.
Maybe I am a bit grumpy because it is Monday morning, but I don't think that question makes much sense because it is too broad. There isn't a universal single book that everyone will enjoy.

It depends what the person like : rather a novel or an essay, something easy to read or hard to grasp but ultimately satisfying, something to read on the beach or in a quiet library, something soothing or terrifying...

Since this person does not read, arguably you don't have the answer, but at least you should provide a list of broad interests. And also likely the recommendation won't be for an 8 or a 50 years old.

It is a bit like asking, what is the single piece of technology you should know. Well, it depends..
Speaking as a fellow Finn, yes the cost of gas/diesel for those who drive a lot (= everyone living outside of bicycle/running range from work) is insane. I don't understand why the negative attitude towards electric in Finland when it is astoundingly expensive to drive with ICEs. We have a fully working inexpensive charging network spanning all inter-city roads and city centers. If you do a little bit of homework FREE charging can be found.

Currently drive a plugin which has allowed me to drive with electric only to and from work and will absolutely never buy a ICE again, it is just too expensive to drive them here.
I Will Speed Up Your Slow Speed Wordpress Website with Gtmetrix
Seconding this, the Mini has really reduced my periodic urges to upgrade my 2013 MBP.
Thanks, that's the real best one. I tried to find it with HN's search engine but failed because I forgot about the weird TLD.
Glad to see Sprout-related work going on Keith + Sadjad! I remember being amazed by sprout a few years ago.
PHP CE Conference 2019 cancelled after no female speaker found
For some strange reason being a developer seems to only mean doing UNIX GUI-less for some people.
I've had a few Macs - and my 2013 MacBook Air is still going very strong, but my 1yo MacBook Pro's keyboard has been replaced already, which is a serious issue, to the point where I doubt my next laptop will be a Mac again for that alone.

Other than that though, I think you might just have been unlucky. In professional env, I've seen bad units with pretty much every brand out-there. It shouldn't happen, but it does. In my experience, Apple will replace these without much fuzz, but their service, certainly towards businesses, is a far cry from that of for example Dell.

The Touch Bar complaint is just you not investing enough time with the system to get to know it. You can disable siri, and completely customise the touch bar.
Scanned the paper and looks like they're using keys that are < 256-bit hence the vulnerability. Also I think the encryption keys which were found vulnerable are separate from the transaction signing keys
The EU is not Europe and Europe is not the EU
How the brain works for non-native speakers.... "Bart" for me will always bring Bart Simpson in mind first, because the first Bart I got to 'know' is from thr Simpsons, and my brain has is bound together those two points.

The same applies for the word "Dyson". I may have lunch with a Bob Dyson, but the word "Dyson" will always bring Star Trek and Dyson sphere in mind :)
I know of a man with over 50 children. I'm friendly with his neighbour, who has almost 40. 50 is a number that a human can still care for and love each one individually.

NB: Yes, I know that the Wikipedia list of "people with many children" makes 50 look like a record-breaking number. That list is Western-centric. Though 50 is a huge number of children even by Arab standards, it is not unheard of.
Actual price of electricity is negligible, around 4-6 cent/kWh. There is really very little wiggle room here. The rest is tax and electricity transfer.

You can choose to buy your electricity from anyone but you have to pay the local monopoly for the transfer. Electric transfer/infrastructure has been sold abroad by our very forward thinking smart politicians and thus that money is never seen again.

Both cost double that of electricity or more. So the total is around 13-17c/kWh.
Smart metering saves only a few cents per kWh.
These two rates have been going up really fast and will lead to a solar/wind revolution in short order.
Oberon used a tiling window manager, never found it that great experience.

The other stuff that the OS featured was great and still missing on UNIX clones.
> Why does #cores matter?

If you're benchmarking 4kB IOs, then the system call and interrupt handling overhead means you can't keep a high-end NVMe SSD 100% busy with only a single CPU core issuing requests one at a time. The time it takes to move 4kB across a PCIe link is absolutely trivial compared to post-Spectre/Meltdown context switch times. A program performing random IO to a mmapped file will never stress the SSD as much as a program that submits batches of several IO requests using a low-overhead asynchronous IO API.

> so why does a disk queue of say 20 actually make things any faster over a disk queue of just 2?

Because unlike almost all hard drives, SSDs can actually work on more than one outstanding request at a time. Consumer SSDs use controllers with four or eight independent NAND flash memory channels. Enterprise SSD controllers are 8-32 channels. And there's some amount of parallelism available between NAND flash dies attached to the same channel, and between planes on an individual die. Also, for writes, SSDs will commonly buffer commands to be combined and issued with fewer actual NAND program operations.
Well Lenovo is already selling the AMD based laptop for business users and they are quite a thing
"Iatrogenics" is a handy metaphor to capture the sentiment above.

https://en.wikipedia.org/wiki/Iatrogenesis
Copyright takedowns, probably.
Some top talent now telling recruiters ‘no’ over fears of escalating protests
The oddest part was that FFC recommendations didn’t include “limit the size of your broadcast domain”.

Large flat L2 are a classic time bomb, with their builders proudly exclaiming “look ma, no hands!” until they painfully get reminded of their mistake :)
Wow, I hope the marginal benefit to most of the population (ie those who are not very vitamin deficient) taking them is not less than the harm caused by people with undiagnosed tumors taking them willy-nilly.
> a way they can collect up the rocks to sell

FYI, yes you can sell pumice, it has uses:

e.g. https://www.amazon.com/s?k=pumice
This is the reason why people who don't respect coding as a discipline end up producing terrible code.

In my professional life I've run into a lot of people who will say "the idea is already there, it just needs to be coded up".

They will then come across common coding issues like keeping things in version control, adding tests, network config, and language specific things. They decide they don't have time for this particular rabbit hole, because of course they already know what they want.

The good people will over time end up investigating everything, even if it doesn't seem relevant to your LOB application. And they produce much better code because of it.
In the Nordic electricity market the hourly kWh price is negotiated one day in advance, i.e. I can check today what will be the kWh price for each hour tomorrow. I've chosen a pricing model market price + fixed margin, so in theory it gives me lot of room for optimizing the bill via home automation etc.

Typically the night time rate is much lower, but the price of energy itself is only 1/3rd of the whole bill, the grid company taking another 1/3 and the rest is for taxes, so that smoothes out the price difference.

I'm planning to install solar panels in the near future. The payback time is 7-15 years depending on the amount of DIY work.
North American versus European distribution systems (2011)
That is basically Clayton Christensen whole shtick (may even be his quote). He published a rather influential book 20 years ago (The Innovator's Dilemma) that popularized that idea. It's an interesting read, even if not everything has aged equally well.
Botzilla Challenge
The first product I worked on after university was the theorem probing toolkit for the SPARK Ada statically analysable language. This is used to prove the absence of runtime exceptions.

I really enjoy using Prolog, but the number of cases where I would choose to use it is pretty limited.
The new Chevy Bolt gained 21 miles of range thanks to a battery chemistry tweak
This looks great, thanks. Definitely gonna give it a read.
New Section “Bicycles” on Yarchive
>Testing

> Unfortunately, there are no automated tests available.

> You may run QEMU -net user linked with your development version.

Not trying to shame anyone here, but I do think that this would be a good entry point for anyone trying to help this project out. Hell, this might be a fun little target for property testing or other kinds of generative testing
JPSX: Fast and efficient PlayStation emulator written entirely in Java
Removing the word "help" from the title dramatically changes it.
But then the article and its citation is plain wrong. 256 bit keys(3 of them) are cited multiple times

""This is a mystery," the French researcher said. "The only possible explanation we can think of is that the designers thought this would compensate for the too small key sizes of the primes involved. But 3 primes of 256 bits are really not the same as one prime of 768 bits."

However, a public key of a length of 1024 bits may not be enough, according to Gaudry, who believes officials should use one of at least 2048 bits instead."
Show HN: McDonalds' outlets in the US represented by Burger emojis
From a modern package manager perspective, C++ is almost as archaic as C.
Do they destroy information? Last I checked they don't: https://physics.stackexchange.com/questions/29175/why-is-inf...

Maybe there is some recent development I am not aware of an Susskind is wrong though.

More:

- https://physics.stackexchange.com/questions/450326/why-is-th...
Is this the key?
https://github.com/moscow-technologies/blockchain-voting/blo...
Just open the docs. Seriously, first link in Google/DDG/Bing on topic of "<any c string routine> safety" will explain it to you. I am self-taught and I can see it.

Seriously, just looking at function arguments shows you, there is a problem under the hood. Reading docs also will point out.

It is open-source, read and learn from Git, Linux code and so on. If you do not have experience is sysdev or high security, just don't contribute there.

This is like saying, construction engineering is gatekeeping beginners, because you have to work for few years before you can start your own project.
This should be flagged.

Why do people let crazy ideas like this get media time?

"Giant Hamburger Headed Towards Reef Could Replenish It".

Like the thing about robot fish saving the reef, or a garbage collecting boat clearing the plastic from the oceans.

May as well be writing about how aliens will be coming to save The Reef.

It enables climate change deniers.
Designing progress of the high-expectation customer
I'm not sure about "technical expertise", as most of the stuff you learn while doing this is highly specific, but perhaps the real expertise is having the toolset and determination to do this at all. To keep taking screws out of the system and removing the covers until you find out where the system makes a particular decision. Fortunately in this case you can go to the source; if you can't, or as a first attempt, strace will usually tell you where a particular program gets its information from. Harder to use here as you'd need to setup the login process itself with strace and there's privilege boundary considerations.

One observation I would make is how many layers of "plugin architecture" have been added here. Probably the original SysV login program just printed /etc/motd. Now we have PAM, and pam_motd itself also runs a bunch of tiny plugins, some of which also refer across to systemd.

I should probably write up some of my own deep-dive debugging stories, if I can still remember enough detail. The "why does structured exception handling sometimes not work on Windows CE" was a particularly time consuming one which involved disassembling bits of Windows kernel.
Ok right wing evangelist with 0 arguments.
iOS Engineer, Los Angeles
And this is why many people like me stick to Mac. Yes there's a solution for it on Linux, but no I don't want to look for it, maintain it, and at some point when a new 'best solution' is available keep up to date with all that...
Feedback on My D2C Startup
Pronunciations for hexadecimal numbers (1968)
Hi HN,

I am new to the community, but recently launched my first business: OTTO Copenhagen - A high-end digital eyewear brand selling direct to consumers.

Currently, we are only operating in Denmark, but with time would like to expand the brand.

Our USP’s are following:
- Danish design
- Premium quality (Handmade in Italy)
- Transparent pricing (first price transparent eyewear brand)
- Flat and fair pricing. The price is always the same: no matter frame or prescription lenses (all indexes) 1.300 DKK. In general, we are 71-83% cheaper than the opticians in Denmark for same quality.

I would love to hear your feedback on our brand and especially on our website and what we could improve further. The website and brand has only been live for more than a week.
Also in that screenshot is a video from the UKF Dubstep channel.

23.4M views. Is that the number of views now or the number of views ten years ago?
Senior Android Engineer, Los Angeles
That's where pair programming can shine: when I see a junior who need help, I'll ask if they don't mind me coming around and helping. Just asking the right questions and guiding them to find a solution to their problem usually do the trick. And it helps me see the pain points of our code, documentation and specs.
Are you paid by the hour?
> I would want that function to be multiple smaller functions with docstrings and such [...]

I have tried that style in the past, and have reverted to writing longer functions with intermittent comments.
I now consider "single caller functions" a smell.

If logic is serial (do A, then B, then C) it's fine to have serial code:

main() {
... A ...

... B ...

... C ...
}

The issue with splitting out the intermediate steps into functions is, that the serial flow is broken.
Instead of the logic now looks something like

A(...){ ... }
C(...){ ... }
main() {
A(...)
... B ...
C(...)
}

Where B might have been a tiny task, that is not worth splitting out.
In effect:

- The ordering of the logic is broken.

- Passing arguments can be a pain, if a lot of pieces are touched.

And what have you gained? Not sure there are many upsides besides debatable aesthetics of avoiding inline code comments.
Apple Contractors Allegedly Listened to 1,000 Siri Recordings a Day – Each
Apple now is the biggest company in the world. IBM has faded away. Nobody predicted that - it was all about the unshakable dominance of IBM.
The reef is a lost cause. Corals won't survive global warming. Even if we manage to limit warming to 1.5° a large fraction will die. Currently we're on a 4°+ course.
> Actual price of electricity is negligible, around 4-6 cent/kWh. There is really very little wiggle room here.

That's the average energy price, and what typically pay if you have fixed pricing per kWh, but there is lot of variance hourly/seasonally. Sometimes in the night time the price of energy can be almost nothing (e.g. hydro power reverses overfilling), but of course you still have to pay for grid company + taxes. To take advantage of that, you need a "market price" plan with your energy company. E.g. I try to store the cheap night-time energy into water boiler + floor heating.

An electric car is very good match for cheap nigh-time energy, as you typically charge overnight.