skysight-inc/HackerNews huggingface dataset:
Code quality is highly subjective though and often what some might consider as "high quality" also comes with a cost to performance.

Fortunately the linked book provides a simple way to decide when something needs to be optimized under "Understanding High Performance" [0]

--

Before we can create high-performance code, we must understand what high performance is. The objective (not always attained) in creating high-performance software is to make the software able to carry out its appointed tasks so rapidly that it responds instantaneously, as far as the user is concerned. In other words, high-performance code should ideally run so fast that any further improvement in the code would be pointless.

Notice that the above definition most emphatically does not say anything about making the software as fast as possible. It also does not say anything about using assembly language, or an optimizing compiler, or, for that matter, a compiler at all. It also doesn’t say anything about how the code was designed and written. What it does say is that high-performance code shouldn’t get in the user’s way—and that’s all.

--

(emphasis mine)

[0] https://www.jagregory.com/abrash-black-book/#understanding-h...
Or, instead of banning anything, we could try convincing a very small number of countries to use landfills instead of just chucking it in a river.

90% of plastic polluting our oceans comes from just 10 rivers:

https://www.weforum.org/agenda/2018/06/90-of-plastic-polluti...
It should be titled :

"The State of VR Games on Linux : SteamVR only."

I don't know about others, but the main reason why I moved to Linux is to get away from the spyware, DRM, closed source Windows which has reached for me the breaking point with Windows 8/10.

So I'm not really interested to play games on Linux, if it's only to be forced to, yet again, use closed source, potentially DRM and spyware-riddled software.

Even Valve got worse in this aspect, as, unlike for their earlier games, you seem to be forced to run Steam just to run Alyx.

(Also I'm pissed that I now can't seem to be able to install Oculus Rift CV1's software on Windows 7 any more despite it having been sold as compatible with it for several years (and with Linux support having been promised in the still not materialized future !). Yes, I know, Facebook, but this was before the Cambridge Analytica scandal, though I still should have known better.)

Sure, OpenXR : Monado and Arcan sound promising, but will they attract video game developers ?

Vulkan seemed extremely promising too, but without Xbox support, it currently seems to go the way of OS/2, with no game developers directly targeting it (without even bothering with DirectX), and it being mostly used as a compatibility layer in the Steam/Proton stack.
It seems obvious not to connect a power plant to the internet but there have also been of attacks against "air gapped" systems: https://www.reuters.com/article/cybersecurity-powerplants-id...

Edit. There is also a more in depth Scientific American article. Search for "Hacking the Lights Out".
Those numbers seem way too low!
Not really. It's still extremely easy to trip over things like iterator invalidation or using moved objects.
Taplytics (YC W14) Is Hiring for Software Engs (FT and Co-Op) & Sales
I found some revelation about how this happens on a climate change forum. The very same people who accept climate change is real will argue that new Covid-19 strains are "fake science". I do not understand they will accept one and not the other.
Apple doesn’t support macOS downgrades on their hardware, because macOS updates often incorporate firmware updates, and there’s no guarantee of backwards compatibility in those either.

This almost never comes up, because they typically don’t need to break things, but I can absolutely envision them performing microcode updates that make the CPU incompatible with previous releases.

They owe nothing to anyone regarding these instructions, and they will act accordingly. That’s what unsupported means here: not the PC or Android meanings where everyone has to kludge it in, but the Apple meaning where they will release without warning an OS point release version 15.2.7 that shatters an entire ecosystem built on unsupported APIs.

These instructions are just unsupported APIs in Silicon. Use them at your peril.
Ahhhh that makes much more sense, thank you for clarifying.
>What are you proposing as an alternative?

Testing the vaccine and the new approaches properly. The average age of COVID deaths is around 82 years (at least in Germany), so I'd say many of these people would have died in the next few months anyway.

Also COVID is not the only cause of death and act in panic might cause more deaths than not acting at all. With a lethality of around 0.4% and the average age of death, COVID is no reason to hurry a vaccine that might have abysmal side effects. You could maybe argue that the spanish flu was (at that time), but COVID is really several orders of magnitude less lethal and also not with as prevalent and severe side effects as the measles (especially among the young and otherwise healthy).

We learned nothing of the Pandemrix fiasco.
When I had it, yes. There were dead spots all over Berlin.
As both an IC and Manager, I've now been on a lot of teams using monoliths and teams using microservices, and I would always choose microservices going forward.

Let's be straight, both have pros and cons, but I value the following pros of microservices a lot more than any of the cons:

- Enforces separations that are important for:
- Maximum parallelization of work.
- Scalability of each service. Never share database.
- Reusability of the service from other services.

The trick is to learn how to cut microservices though. Establish an interface that it exposes, like GraphQL or RPC. Don't try to split too fine-grained, but find a balance that works for you.

I promise you, when it comes to scalability, you'll be glad you don't have to scale one massive database just because one part of your application is seeing more activity.

This also allows you to pivot quicker to a different database suddenly, or a different programming language, if requirements change. E.g. Node.js -> Rust if your service is found to be on the hotpath of everything, and you need correctness and performance.

I fundamentally view the difference the same way I would choose Rust over Clojure:

- Monoliths: Rely on discipline of the team to do it right (like Clojure won't catch your dynamic mistakes)
- Microservices: The most important parts you need are built-in and enforced by the concept itself (like the Rust compiler guides you towards the correct approach).
As I said, I could buy it presenting itself as an action roguelike, but not as a "pure" roguelike.

Terms have a meaning, and if we dilute them we will have the literally situation again,in which it's used instead of figuratively.
DMOZ - the Open Directory Project.

It stopped in 2017 (I think) but there is an archive at https://dmoz-odp.org/ which is frozen content but otherwise working.
I built a quiz that loads when Google Analytics is loading (I've spent a lot of time waiting) https://chrome.google.com/webstore/detail/buffer-buddy/ehngg... Added a payment system to buy more trivia but no one used it and the Google Chrome payments system is about to be decommissioned. Plan on making all content free but barely bothered lol
Loved that they tried to fix it with a "Circle of Empathy".
The only thing worse than big companies controlling social networks is governments controlling them.
Depression: +Recognizing+the+Physical+Symptoms+|+Health+Lines
> I get that they're solving hard problem, but I don't like it.

this is why the world is such a sad place
Probably indeed, but that's still capacity their existing partners could make good use of. Which is why I think it's a little weird. Obviously this is something that wasn't just taken out of someones arse, but it does raise questions for me.
You should read it as “... admit to masturbating...”
https://developers.google.com/web/fundamentals/native-hardwa...

Looks like you tap a phone number on a web page and it opens the dialer app
i learned to my displeasure that thick manuals are sometimes distributed with products as USB sticks these days, i immediately thought of this when i opened up an inverter box and saw a USB stick sitting there
Let me just say this: if that actually exists, it isn't the first time, by far, Apple has pulled off that trick (or others, like Intel for that matter)
ten years ago I was writing UIs in Qt, given that comment in ten years I'm confident I'll still be writing UIs in Qt
Spaced repetition is not the same as cramming, and spaced repetition (if applied correctly) leads to long-term memory formation.

It's not perfect for every type of information, and there are some aspects of memory (most notably contextual memory) which can make it less effective than one might like. But it definitely is more useful than just for exam cramming...
Going from 0 to $20k revenue in 3 months- exact figures from Newsletter OS
> Consider that we Linux users are a tiny slice of the desktop market. Let us be optimistic and say that we are 2% of desktop users (although in Steam it fluctuates around 0.86%). VR users in Steam are around 1.9% according to the latest hardware surveys, and those are gamers, they are not representative of the desktop users, but nevertheless let’s suppose that 2% of desktop users have some kind of VR device. If the proportions hold, Linux VR users would be 2 percent of 2 percent, or 0.04% of PC users, or 4 people in 10,000, and scattered all around the world. That tiny market would not even be a consideration for any sane investor.

This math assumes that being a VR enthusiast and an (even occasional) Linux user are independent. On the opposite, I would guess that there's a lot of overlap between the two ! (Also with things like being a gadget-loving 'geek', still owning a desktop PC, &c.)

P.S.: "Scattered around the world" is not an issue for software, and maybe even not for hardware, as the overwhelming majority of the users able to afford desktop 6DoF VR are going to be either in North America or Europe.
Super cool tho. Do you open source this app ??
A Chinese guy I knew was studying for the TOEFL test and was memorizing all kinds of medical terms I'd never heard about, and yet, when he said goodbye he'd also say "I go first". At that time I had no idea why he did it, but as I learned more Mandarin it became clear that he just translated the phrase 我先走 (lit. I first go) which is very common when parting ways.

Point being, many study for tests but can't speak English.
Spaced repetition is not the same as short-term memorisation. In fact I'd argue that you haven't fully memorised something with an SRS until the interval between reviews is at least a month or two -- which isn't really "short term" especially when you consider that school terms are also on the order of a few months.
Didn't know it supports KVM as well. I though it only supports ptrace, as that's how it was advertised. This is cool!
I don’t understand what the statement of this theorem is. I can’t come up with a simple argument in my head for why there can never be enough information, but I’m not really sure how to think about it and I didn’t try very hard.
It's not that easy. Adding cores is not just changing "const int CORE_COUNT" somewhere in a VHDL file. Scaling up cores without hitting communication or other bottlenecks is a difficult engineering problem that has taken a lot of effort from Intel and AMD.
Trumper (Twitter Alternative)
I'm not sure if they meant that. Pretty sure that is standard and also works in os's where the link from the browser will be forwarded to the os, which directs to the default dialer application of the os.

and it's probably a html living standard.
Double Double Division Algorithm
I don't think you'll benefit from switching either way, but in my opinion you'll benefit from learning Postgres when you have the time / start a new project.
You don't recall Parler doing that either, because they didn't.

Now if you compare apples with apples, can you recall people using Google to research how to do bad things? Sure. Plenty of people who went to prison after police found they'd been searching for stuff like "how to hide a body" or bomb making instructions.
So is this basically saying that a grammatically incorrect, but factually correct translation is better than a grammatically perfect, but factually incorrect (as the source text was not understood) translation?
Yeah, I find this a huge problem especially with junior devs (by which I mean those within the first five or so years of their career. When you have people calling themselves senior devs after six months the job title has become meaningless). Until you've been around long enough to understand how large code bases (in general, not the one you're working on!) evolve over time and why common trade offs are made you're not going to be able to grok the weaknesses of an existing code base quickly.
Start off by being humble and asking why certain things have been implemented in the way they have, there is usually a reason. Sometimes it's even a good one!
In cases like that it would be up to me as the fascinated viewer to dig in to those idioms. It would be helped with a translator’s notes of course, but I would expect it to take a little extra time and effort to watch a show like that.

At the end in your example, I feel like I would have a deeper understanding of kimchi as it relates to Korean speakers, how “green onion kimchi” is different, and why that means someone is dead tired.

Then, next time it comes up I would understand it a little better due to slightly different context.

To me, that all feels like a win
Unfortunately OCR is in my experience not as smooth as within Evernote or Google Keep. When I take a picture using the OneNote app on Android, OCR never works. You have to use the separate Office Lens App to upload an image and move it to the correct place in your note later. Also: I've got quite a few old PDF docs containing scans of contracts as images. Google or Evernote enablefull text search everywhere, OneNote cannot search for text in these PDFs files
.
Chrome is making this play to limit the functionality in browsers such as Vivaldi, Brave, etc.

maybe its good after all to have a different service that provides a private store ( in dropbox etc) for bookmarks.

Dropbox (and others) can take care of the syncing.
I recall a relevant piece of history where the Intel 286 didn't have the ability to drop from the new protected mode back to real mode without a full system reset. A team at IBM eventually figured out that with a well crafted dance of instructions this could be achieved by taking advantage of specific quirks within the chip.

By the time the 386 was released, this method was so common that Intel had to preserve these quirks to maintain compatibility with existing software. Apple may find themselves in a similar situation if they're not careful.
To the downvoter : What, you really think that my title is NOT more accurate ? Have you even RTFA ?!?
We're also currently trialling Bluetooth add-on transceivers to the cone functionality to make crossing even easier.

One of the problems of the cones is that once the cone turns you often need to reposition yourself in the centre of the entry to the crossing before setting off (in order not to stray into traffic or bump into barriers).

With the prototype Bluetooth beacon your device can receive the signal when it is safe to cross whilst you're stood in the centre of the entry.
The excitement about NoSQL at Google seems to have stopped with the introduction of Spanner, at least.
It's not something to be taught. For majority of devs an average working day is too short to do everything they theoretically should. So they make choices based on feedback/motivation which rarely favors writing good docs over writing more code. On top of that many good devs are simply unable to write comprehensible documentation because its very different kind of skills, or just because English is not their native.
"The United States has always been a free country"

(for white people)
Why is webflow better for that use case? Genuinely interested, have avoided using it until now.
Yes, it's sort of a hacking competitipn where you have to read out a "flag" which can then be submitted aa solution.

https://en.wikipedia.org/wiki/Wargame_%28hacking%29?wprov=sf... (mentioned in 2nd paragraph)
NoSQL, I always understand it as Not Only SQL.
At our place we use MongoDB (Main store), SQL, Big Query, Redis, ElasticSearch, then we also store data in S3 that we don't want to query or have the cost of storing in the DB.

Pick the right DB for your requirements. Management of them isn't that hard as they're hosted solutions, we've only got to deal with the cost of when a version is EOL, so upgrades or when certain queries will no longer work.
Interesting read. I have always felt very uncomfortable with lectures where the lecturer stands in the front and everybody listens. In my experience this setup is beneficial for about 10 minutes. After that almost all is forgotten, especially when the lecturer is speeding through a huge topic, because he needs to "get through it", sparing no time for the critical nuances.

The best learning experiences I've ever made were with the "digital gardening" method explained in the article. Especially the process of writing down what I'm trying to understand and putting it in my own words is hugely beneficial. That old trick of Feynman's where you take a topic you don't understand and explain it to someone – be it a person, your personal wiki or just a text note – really works wonders. And revisiting a note and changing it a bit also seems to reflect how we remember things: Not regurgitating them, but reliving them.

Apart from that I found the process of creating my own personal wiki highly rewarding and can only recommend it to others (if you have the time). It's an absolute joy to use something you've made and explain the creation of it to yourself using it.

In my case I've also made the wiki in such a way that I can add exercises to notes and then do spaced repetition on those (which was also a blast to implement). The exercises themselves can be functions so that things get mixed up from time to time. I don't often do the exercises, but the process of creating them adds another layer of understanding from my experience.

Edit: Continuation...

But this is just me getting excited over the personalized wiki I've created.

The article importantly mentions that "there is no one-size-fits-all app" to best understand something, so it takes some time and experimenting to figure out what works best for you (heck, I think I went through at least 5 iterations of note-making systems before I settled on this one for about two years now). And since we're on HN, I think everybody here has the skills to make their own.

I really wish schools would add a dedicated, mandatory subject about learning to learn. It would have saved me a lot of time I wasted back in Uni and afterwards just trying to figure out how to quell this urge to retain information.
First-Class Modules – Real World OCaml
It isn’t even a permission thing. If you are just trying to query some data you don’t accidentally replace “select” with “delete”. The author is trying too hard to put sql in a bad light. Any syntax I have seen to query nosql databases looks clumsy to me as well. Sql I am familiar with, so I am probably biased, but they both have they pros and cons.
I wonder why people conflate notes with recall. The root is probably that note taking is introduced in school for things you have to recall in exams later. For me the point is that I do not have to train the recalling because I can search my notes instead.
Is "I go first" a correct translation? If so, why is it used? As an excuse that you have to leave earlier than the person you have been with? Or to avoid that uncomfortable situation where both parties aren't sure if it is time to leave, and are just standing around awkwardly?
The lockdown is not a consequence of COVID. The fact that (especially) young people were affected means you need to compare the lethality of these younger groups and that one is below 0.1% (under the age of 60 in Sweden).

Is it still worth the risk then for these groups?
That seems pretty typical for a paper published in Nature. I thought it was meant to be good but basically every paper to do with disease or biology I've read in Nature over the past 12 months has been like this: it looks superficially scientific and when read carefully it just falls apart. They've also been suppressing critical commentary sent to them. The Flaxman paper was atrocious and they sat on a formal response that was sent to them about it for like 6 months.
Inspired by:

- https://news.ycombinator.com/item?id=25800983
CRA includes all tooling it needs and makes sure there is a clear and smooth update path.
The $1T dollar ML model (transcript)
Is it possible to HTML DOM apps in Qt? Is there any blog/book/video that you'd recommend a Qt noob?
Not an ORM and no integration with typescript. But yeh it’s a cool library that I’ve used a lot. I’m not sure how maintained it is though these days.
In true HN spirit, anyone here using home made hacker tools while "working from home"?
Why not simply use shared memory?

https://stackoverflow.com/questions/2389353/do-pthread-mutex...
I once built a mind map with a “MUSH” interface (text-based, where you traverse the map “on ground level” as a character).
You avoid information overload by showing the synopsis as you “enter” a node, then you could say `e[xamine] here` to view the whole text.

Traversal is quicker than you’d think, and it would likely work well on mobile devices.

It was years ago, but I still think about making that in to something “real”.
Pretty telling for the “look SQL is so easy!” example to have a bug.. :)

As mentioned in a sibling comment, Kusto Query Language^1 is potentially more readable here:

> SELECT player_name, COUNT(*) as num_hits FROM baseball_players WHERE result='base_hit' GROUP BY 1;

baseball_players

| where result=‘base_hit’

| summarize num_hits = count() by player_name

| project player_name, num_hits

1: yes this is msft specific, yes I work at msft, no not on that team. Just a happy user. The point is the overall pipeline concept more than msft’s specific implementation. https://docs.microsoft.com/en-us/azure/data-explorer/kusto/q...
> similar to vue and/or react, wish these two had their render cycles as separate packages

Not sure if it’s exactly what you’re looking for, but Vue 3 separates its core into independent modules that you can use outside of Vue if you want to.
Comparing Apple’s M1 matmul performance – AMX2 vs. NEON – nod.ai
Apple just breaks such Software.
Here I am again. Stop using JSX and start embracing Javascript's template strings. They're awesome!

https://github.com/developit/htm
https://bestnewyearresolutionideas.gr8.com/
https://bestnewyearresolutionideas.gr8.com/
For most people email is private enough. I think nowadays the smtp to smtp communication is encrypted (mostly?) but it used to be in plain text.
Using this in combination with F# would make it pretty straightforward to build reliable embedded devices.
Credible Hacker
No doubt RAPID CREDIT REPAIRS is and will continue to be the best credit repair company there is. Hey guys I’m john walker I had a totally messed up report with hard enquires, utility bills and loan, due to this fact I was unable to get a mortgage. I had to search online for solutions and boom I saw some reviews about RAPID CREDIT and decided to give them a try, to my greatest surprise they fixed my report in just 5 working days now my credit score sky rocketed from 534 to a whooping 805 trust me when I say reaching them is no waste of time or resources. Contact them on (Rapidcreditrepairs@gmail.com or text them +1 415 754 7204) for fast and reliable credit repairs.
Twitter’s Decentralized Future
Design league-of-legends back end: system design interview