skysight-inc/HackerNews huggingface dataset:
Rule 1. You can't tell where a program is going to spend its time. Bottlenecks occur in surprising places, so don't try to second guess and put in a speed hack until you've proven that's where the bottleneck is.

Rule 2. Measure. Don't tune for speed until you've measured, and even then don't unless one part of the code overwhelms the rest.

Rule 3. Fancy algorithms are slow when n is small, and n is usually small. Fancy algorithms have big constants. Until you know that n is frequently going to be big, don't get fancy. (Even if n does get big, use Rule 2 first.)

Rule 4. Fancy algorithms are buggier than simple ones, and they're much harder to implement. Use simple algorithms as well as simple data structures.

Rule 5. Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming.
> that calculated the parity value on access, replacing the 9th ram chip with a very simple circuit and saving money.

> It would be hard to convince the whole industry not to make fake ECC ram, if ECC was mandatory.

Assuming you don't use memory-mapped IO, that's easy to fix. On startup, generate 4 random bits a,b,c,d. Parity bit is data line 4a+2b+c, with d?even:odd parity, data bit 4a+2b+c is on data line D8. ECC on 64/72 uses more random bits, but is otherwise similar, although for modern chipsets it would probably have to be scrambled in the northbridge or southbridge (or equivalent) rather than the CPU, to allow for DMA and such. Note that there's no gate delay involved here; the multiplexing can be done with pass transistors.
You're right. Maybe hyphenation would help here: "End-less methods"
You know I've long stopped caring about how popular a language is in the community.

As I get older the question I ask myself is do I honestly enjoy using it? If the answer is yes, then I put it in my programming toolbox and ignore the hype.
If you buy a system made with known linux compatible hardware you'll have zero problems. Just like a mac. Windows has the advantage that it gets first tier service and thus a greater chance with being stable with a broader swathe of hardware. OSX to me is much better than Windows because it doesn't get in your way. You want a new app download it and drop it in Applications. I don't know WTF windows does but some installs take forever; on Mac OSX and Linux install times are so much more reasonable and transparent. Obviously it matters WHAT you do with the OS, for some situations only Windows will have the software you need, and on those occasions I reluctantly use it. As far as stability on good hardware, for the average user, there's very little difference in the 3.
Tests also have the advantage of input automation. They have the disadvantage that you can't poke around at the environment once they're done (unless you drop into a debugger).
Is this built on top of libc or using Linux syscalls directly?
I had to look at the paper itself to figure this out, but - in this paper, they designate the binary (star + stellar remnant) together as M51-ULS-1, and the planet actually orbits the two members together (a so-called circumbinary planet [0]). The logic of the nomenclature system actually breaks down in such cases - here's a quote from the Wikipedia article on naming conventions [1] stating as much:

'According to Hessman et al., the implicit system for exoplanet names "utterly failed with the discovery of circumbinary planets", and they state that it is unhelpful. '

So, yeah, take that for what you will.

[0] https://en.wikipedia.org/wiki/Circumbinary_planet

[1] https://en.wikipedia.org/wiki/Exoplanet_naming_convention#Ci...
So is Safari, there's only really two engines now, Chrome (Edge, Safari, Opera, Brave, et al) and Firefox (Tor).
`Where` at least answers the question "does filter _keep_ the things matching the predicate or _remove_ the things matching the predicate" - my pet hate with the .NET naming is `SelectMany` over `flatmap`.
I was in the Philippines January-February 2020 when COVID-19 first appeared. People were clamoring for masks long before it was mandated. Their desire to wear masks voluntarily was likely more effective than any mandate. Their cases per 100k are maybe 1/8 what they are in the US

1. https://time.com/5887432/coronavirus-united-states-failure/
Deliciously Easy Keto Recipes
Consider moving to US, there are more opportunities here
I admit that out of the box Emacs is underwhelming. The popularity of Doom, Spacemacs and Prelude show that.

I actually had been working on a config for noobs. Which basically make it feel like Atom. I think having a choice between that or standard when you start Emacs could be a win.

I also agree that the mouse UX should be modernized. It's just bad, I mean, I barely use the mouse, but also the mouse UX is crippled so I don't want to use it.
I'm going to approach this as a pure social thing.

To me emacs fits in a way because it fits the kinda misfit/hacker mentality I had back when I started playing with computers/software.

I found emacs and linux as the coolest things in the world while everyone was thinking computers were somehow for unwanted geeks in a basement.

And honestly that did not feel me with a need to be cool, wanted or popular.

Instead I developed a sense that having to learn things the hard way, fail and continue until I got it right without regard to what others thought had a super high value.

And to me that's what emacs symbolizes, it doesn't need to be popular or cool and maybe it will die at some point but even if that would be unfortunate it will have been central to a generation of free thinking, intelligent programmers.

And now it's 2020 it's cool to be a programmer, and we're awash with learn to be a dev the easy way seminars and here's how you can deploy your app in 2 clicks...

And that's good but it doesn't mean emacs has to be that way.

I think it is way way easier instead to create a new editor with the same free software mentality. Maybe that's Theia under the Eclipse Foundation, maybe it's something else. But migrating emacs to a VSCode like popular idea is crazy, you just can't migrate all of that.

Full disclosure I worked on GDB (using emacs) and Theia (a vscode like editor) and used emacs for 15+ years mainly doing c/cpp and org mode.
In these proposals (which with the new CBDC furor going on are more common again), it would look a lot like China. The central bank would pick the "Agriculture Bank" or the "Industrial Bank", and hand over a set of deposits to enable loans. Hardly a model for success.
This looks like a blogspam, why do you think it is worthy of Show HN?
I wouldn’t write Java in an editor that wasn’t hosted in the JVM. The advantages are simply too great. On the other hand that’s a very Lispy attitude so Emacs still influences me. And Eclipse at least has tolerable Emacs style bindings available. Still it sucks how much more of a PITA it is to create an Eclipse plug-in than to just write a page or two of elisp.
Honestly as an intermediate programmer I just loved this screencast. I wish more people created screencasts like this
Bank of America could be a dangerous one with so much insolvency quickly coming.
About Libreture
I wouldn't call Ruby a high performance language, but your experience seems weird. Even four or five years ago I would consider Ruby one of the most painless languages for dealing with upgrades and new versions of things: install ruby with a version management tool, install your app from gemfile, run your tests, good to go. I regard it at one of the first languages to have effective tools for dealing with versioning and upgrades. I still find it easier to deal with than Python by a solid amount.
Ask HN: What are your favorite screencasts (Programming Related)
Bunnie Huang is really nice to work with.

I have been exchanging e-mail with him about having the T processor disable the IMU motion sensor in the U part (indeed, the whole U part) of the system during the time that sensitive keypad input is entered, as a security precaution, in case it is suborned. (The U hardware part is considered untrustworthy.) It looks like it can be done with no hardware changes.

It has clicky metal-dome buttons, so you probably also want to mask clicks by clicking the on-board speaker a lot, then, too. And, randomly fake-doppler-shifting the clicks to mask shifts from accelerations by the body, in case anything untrustworthy is listening.

On top of its actual value as a device and development platform, the whole project is a practical course in principles of security-in-depth.
An Introduction to LVM Concepts, Terminology, and Operations
Well it's a reaction to r/China which is completely taken over by anti-China posters
There's an excellent Fintech Beat podcast that covers the cons for a proposal like this in detail (centered around CBDC, but many of the arguments remain): https://pca.st/episode/e06c5ca7-df90-4fcf-86da-5ba2d5f0ead1
Telepath is a buzzy new social network trying to fix what’s broken on Twitter
> Districts are hugely internally diverse in income and funding spend.

In nearly all districts funding is allocated on a per student formula equally to schools.

> Budgets were ballooning but not being spent on hiring more teachers to teach. Class sizes are huge.

K-12 pupil teacher ratios have shrunk dramatically: https://nces.ed.gov/programs/digest/d09/tables/dt09_064.asp

In the 1970s, there were over 20 students per teacher in public schools. Today it’s under 15.

> Bottom half of households wage is stagnant over past 50 years.

Not true but I don’t want to get side-tracked on a separate issue, since we are talking about supposed “cuts” in public services. What got cut?
Rightward assignment looks gross.
A lot of it has to do with experience. Linux is definitely rougher around the edges than Windows and OSX, but it also allows you to be free to do what you want with the OS as a hacker or programmer. Also I don't like being tracked while I'm on my computer. OSX is much better than windows in that respect so I'll throw that out there for the record. Windows tends to be more opinionated and tries to bind you to it's work flow and update schedule. On linux you can have your system update everyday or once a year; not recommended but if you're airgapped it doesn't really matter. I choose freedom over walled gardens. I still play games on windows though, but that's the only reason :)
It is unfortunate that store workers have been murdered (like at grocery stores etc) over asking people to put on a mask or use curbside pickup.
> I wonder when people will finally understand that outside of mathematics, there is no "truth" and "falsehood".

Horsehockey.

Gravity exists--if you believe that isn't truth I have a cliff right over here for you to demonstrate. Let me get my camera out first.

Covid-19 exists--this isn't some made up thing that the world decided on to make "somebody" look bad.

What you are really saying is that in a modern society, there is rarely a proper punishment for believing in untrue things. THAT is almost certainly true.

Certainly in the past, we had certain "truths" that, if you didn't believe in them, you could die. (See: anti-vax and polio, scarlet fever, etc.)

> A much better approach than censorship is to create a channel "What Joe Rogan Got Wrong" and list all his supposedly falsehoods and explain the mountain of evidence against it. That of course takes effort. But yeah, the quick solution is rarely the best.

No, it's not up to society to counter mountains of bullshit as bullshit is infinite while truth is not. It is long past the time where we place some approbation on those who spew it.

This is not new:

"Besides, as the vilest Writer has his Readers, so the greatest Liar has his Believers; and it often happens, that if a Lie be believ’d only for an Hour, it has done its Work, and there is no farther occasion for it. Falsehood flies, and the Truth comes limping after it; so that when Men come to be undeceiv’d, it is too late; the Jest is over, and the Tale has had its Effect" -- Jonathan Swift circa 1710
> Nobody got scammed.

Not directly, but to a hypothetical criminal with millions of USD in illegally obtained currency investing into tokens, hyping said tokens (including, of course, giveaways) and then selling tokens on a peak could look quite compelling. I presume typically laundering loses money, but in this case it could even be possible to make a profit.
Great Inventions Can’t Be Improved and Their History
This is a valid point. Some salary bands are very wide. For my former employer, it was $140k to $245k. The mid-point is a good starting point, but it’s such a wide band it doesn’t give you much to anchor to.

And this is not just “HR told me this”. It’s the actual number in the compensation scheme visible to hiring managers.

And there is significant overlap between levels. The next level up is something like $170k to $260k.
Reminds me of http://harmful.cat-v.org/software/ruby/rails/is-a-ghetto . "The main Rails application that DHH created required restarting ~400 times/day. That’s a production application that can’t stay up for more than 4 minutes on average."

Not that Ruby = rails
Oh, so queues in modern Russia are 3 hours now? People still can't buy decent food and clothes? They still need to buy grain in US and Canada? I don't think so.
Why wouldn't you use Microsoft™ Edge(ium)™
As a vue developer I don't have issues with Firefox's javascript engine, maybe it's different for react? I develop on FF exclusively these days as I know that if it works here it'll likely be fine everywhere - except IE11 which is going the way of the dinosaur.

Though as if to invalidate what I just said, today's actually the first day where I found a bug in Chrome that every other browser got right. Flex reverse row was right aligning my div and every other browser properly left aligned it... I was pretty shocked.
The rise of Xi Jinping in China suggests that the memory of Mao's mistakes has long since faded, not just among the masses but also among the leadership. All the procedures and norms put into place to prevent another Mao from taking control have been systematically removed to give Xi Jinping greater power. I think the process started with Hu Jintao, who also held several key offices simultaneously, but the accumulation of power under Xi seems more transparent and deliberate and therefore more naive on the part of the leadership.
Contact tracing isn’t perfect

True, but it must be better than nothing at all, right?
I find it more productive, intuitive, and painless than the major scripting languages (PHP, JS, Python...), but it's definitely a bit different and less popular (given Python and JS are insanely popular).
Windows NT was -very- solid on good hardware. Would stay up for months with zero issues.
> It's entirely possible that there have been other technological civilizations over the past 13.7 or so billion years. That's a long time. As such, any civilization that stopped broadcasting in our direction, if they ever did so in the first place, any more than 100,000 or so years ago, would be completely undetectable to us -- ever.

But this is assuming radio signals are the only way we could detect a civilization, what about probes (von neuman or regular), dyson spheres etc. ?

> I guess the most accurate thing we can say would be that we haven't detected another technological civilization within 60 light years or so in the few places we've looked

The signals we received in the last 60 years come from the entire observable universe (it's how we define the observable universe), not just from a 60 ly radius. But the furthest the signal comes from the hardest it is to detect (or the strongest it would have to be to be detectable).

> It's interesting to speculate, but without enough data, speculation is all it is.

I certainly hope that everyone is aware that is pure speculation ;)
Windows Codename Whistler (beta codename for XP) actually contained a Watercolor theme that looked like a modernized version of the classic theme[0] that this seems to be based off of. That theme actually looked quite nice.

[0]: https://www.deviantart.com/rainingskies/art/Windows-Whistler...
There is obviously a structural problem with them owning the marketplace that they are competing in.

I think people believe there is no alternative. I always write on these types of cases that distributed protocols are an alternative. I just get buried with no explanation.
XP was the peak of desktop customizations. There were "theme packs", one of the most popular being a Vista Theme Pack.

The teen in me, with a Nokia 6600 besides the computer, was in awe when a single installation of Vista Theme Pack and rebooting a couple times meant that everything on my 40GB HDD Pentium computer was changed from the login screen to icons, wallpaper, fonts, shell, file copy boxes, disk space meter, desktop CPU-o-meter dials to a whole modern look.
To remind you of how much telemetry they're sending out about you to God knows who? :)
So now you are justifying FBI's actions of threatening someone's son to coerce a guilty plea? Coercion into pleading guilty is what we all should be complaining about but seems like people are totally okay with it as long as it's against their political opponents which is disgusting.

I really don't think you are actually aware of the facts in this case (probably because you haven't read anything outside what the main stream media reports). I don't have the time to educate you on all the facts of such a long case. If you are really interested and in good faith, watch this playlist:

https://www.youtube.com/playlist?list=PLSwm32hsWAtRdktdmBtZC...

This is just from today:

https://mobile.twitter.com/CBS_Herridge/status/1309646153152...
> I mean, that's only the latest few generations.

What do you mean by few? Apple releases new phones every single year and has for the past 12.

5 years means 5 generations.
Can we just use a variation of the double-slit experiment? Gravity waves modulate distance between two quantum-scale slits and that in turn changes the interference image, that can be captured at a relatively large distance to magnify the otherwise quantum-scale pattern.
> They said with Gmail, all the email would be free, and infinite, and forever.

Where? Gmail's initial publicity all focused around the fact that it provided 1 GB of storage, and would slowly grow over time. I don't remember them ever promising "infinite" storage.
Remember that "alternative" is not the same as "replacement". This is similar to the idea of "more than one way to do it" in computer languages. Users have freedom to choose. Here, one of the ways is without GUI, using UNIX. Only applies where the task does not inherently require graphics.
Oh I see. He meant “better for the employer”.

I read it as “better for the employee”.
The reserve ratio is currently zero percent.

https://www.federalreserve.gov/newsevents/pressreleases/mone...
It's reassuring to know that there's a significant portion of the population that will disobey any order just because it's an order.

Why is that reassuring? Every year we have cases of people refusing evacuation orders during fires or hurricanes and dying as a result. It would be fine if they are the only ones who died, but sometimes first responders die trying to save them.
Electron is shit though, the only good Electron app that doesn't completely drain my battery and hoard my cpu is vscode, EVERYTHING else is a steaming pile of shit, looking at you slack.

Flutter will be the interesting newcomer to the multi platform game, they've been working closely with the big OS teams to optimize performance on Mac, Linux and Windows and truly compete with native. So far I've only used it for mobile but the temptation is there and I'll eventually try it.
Windows XP SP3 was solid as hell. It was easy to change the theme, which I always did along with the brain dead "hide extensions and system files" and ridiculous swap file settings that guaranteed you'd always be resizing incessantly
It doesn't matter. The yardstick is: if a business is about profits, it's usually OK. If it's about valuation and exits - and all startups are - it's a scam: because why is it looking for those? Because they are absurdly inflated. Where is that money coming from? It's printed! That money is debt. It will be paid by future generation of Americans - well ofc it won't, the payment will come simply in form of the system crashing down, voiding almost all values of everything, including stocks, real estate, retirement money, and debt too... When it happens it's best of all to be as far away as possible - because all American life is built around that inflated money and with it gone, bottom will fall out of the good old U.S.
That's a court filing from Flynn's lawyer. Please watch these if you are really interested in learning about the case:

https://www.youtube.com/playlist?list=PLSwm32hsWAtRdktdmBtZC...

Here's CBS's Catherine Herridge going over the declassified interview of one of the FBI agents:

https://mobile.twitter.com/CBS_Herridge/status/1309646153152...

Here's WSJ reporting it now:

https://www.wsj.com/articles/the-fbis-bad-intelligence-11601...
Most Linux desktop environments disagree. :)
Are you aware of the very large number of desktop environments and window managers available on *nix systems?

“Skins” were popular in the windows ecosystem around XP, but it was far from the peak of customization.
The argument I was given by my mentor on this subject is:

If you allow candidates to negotiate, then the employees of equal caliber who don’t negotiate will earn less, and this will cause angst when (not if) they compare their comp bands.

Allow candidates to tweak their package by moving value around between the buckets for cash comp, equity, vacation, etc., but keep the total comp determined narrowly by your assessment of their level.

I don’t fully buy into this principle for startups (since leveling is really difficult without a large population to compare across) but I think this is a less cynical explanation for why a hiring manager might not negotiate at all. It’s a slippery slope.
Just out of curiosity, if a candidate asks what the salary range is for the position, do you tell them?
> The other 95% is a lot of hard work and self improvement.

That is not my experience. I see that as Magical Voluntarism.

It's also not true for the 99% of humans who are having to make do with a plundered commons [1].

[1] https://www.resilience.org/stories/2019-12-11/guy-standings-...
A lame question from someone who barely remembers college-level physics: isn't that "electromagnetic field" just waves in the spacetime metric-tensor?
But it happens, or it becomes "accepted", at a certain level of complexity. When you're down at the Ben Eater or Gigatron scale, you can prove with simple logic and timing diagrams that every possible machine state is correct.

Somewhere in the quest for higher speeds, RAM runs with timings and refresh intervals that allow rowhammer. And since nobody wants to take the speed hit of having memory that's actually correct, it just.... it's okay now?

Well, I disagree. I'd like to find out how to configure my memory controller to be rowhammer-proof, even if that means a refresh cycle after every single access cycle. And then we can build performance starting from that assumption that correctness is required.

As an old mentor once said, if you start out medium-speed but wrong, you'll get faster at doing it wrong. Start slow but right, and then you get faster at doing it right.
Also be skeptical (and avoid) about websites that won’t function unless JavaScript is enabled.
If I recall correctly GG&S says Japan annexed Hokaido because they needed more trees.