skysight-inc/HackerNews huggingface dataset:
> Using Linux day-to-day with the latest distros is nothing but a joy. Everything just works out of the box.

This has not been my experience whatsoever using Linux as my daily driver for the past decade, unfortunately.
Show HN: Built a VFD clock driven by an ESP32
My program was pure research, so I'd say that decision point lines up pretty well with the "1 year of research in, are you looking good?"

Though it seems weird to me to be in classes and labs without it being associated with it's own academic achievement (did that qualify as a certificate of any sort?)
Spotify song radio.

If you are really passionate about music, I can see the argument for real ownership. Censorship and fragmentation in streaming services will only increase. But for casual listening, nothing beats the convenience of streaming services, and for me, music doesn't always need to be archival, it's ok just to experience it in passing
If you look at expected years of life lost - and the average person is ~30 - you could multiply the numbers by ~47.

~47 x 5,000 = 235k years of life (extra).

In the US in 2020 the average age of death from Covid was ~77 [1]. People ~77 are expected to life ~10.2 years [2]. In 2020, there were ~350k Covid deaths [3]. But (very crudely) 3.5M years of life lost.

This small group of 11,000 people (3%) made up 7% of years of life lost.

By 2021, the average age of Covid death was ~67 - so the average person was losing ~17 years of life [1]. This is because that extra ~5,000 deaths has so much weight.

[1] https://www.google.com/amp/s/www.wvpublic.org/health-science...

[2] https://www.ssa.gov/oact/STATS/table4c6.html

[3] https://www.cdc.gov/mmwr/volumes/70/wr/mm7014e1.htm
Can I have the exact query and the links to the clones?
Well clearly they didn’t even seem to expect this code to be in use in 2022!
I wouldn't say I'm a power user but Zotero is amazing. It loads my university citation style no hassle, has a browser plugin which works pretty good.

Ive never managed to get the Zim-Wiki plugin to work though.

All in all an excellent piece of software.
There's a bit of a "draw the rest of the owl" thing going on here. If you have the experience to confidently eliminate the likely approaches that don't work, then you must know quite a bit about those approaches and their applications.

And in particular, I'm not sure I can agree on eliminating recursion in the anagrams problem. He just says

> Recursion – No way to apply recursion to the problem.

but...there is? One plausible approach, I sort each of the strings and put them in a trie. A fancy sounding thing, but really just a data structure which allows me to rephrase "someString in myTrie" as the recursive "someString is null || (head(someString) in myTrie.keys && rest(someString) in myTrie[someString])". I'm not arguing that this is better than a hash table, though I think it probably is on some workloads - just that it's not possible to rule this out and solve the problem by pure process of elimination.
Countries with a GDP per capita of $5,000-$10,000 typically do have good medical care in private, but most of the population is excluded because of cost. If we give the doctors ML tools to increase bandwidth, then that should help the situation by increasing supply. Suppose we could 10x the bandwidth for routine scans. The cost should go down in private, public health capacity will go up, and overall more people should be able to access it.
All of the clone sites you linked are dead links now.
Probably safe to say you aren't having to rate limit over a thousand endpoints from a single spot, so the linear scan sounds like a non issue. That said, I'd hesitate to get to fancy in client rate limiting. Sounds like an area that will hide bugs that are stupid hard to deal with.
Other definitions put it at 42K deaths in 2020 with 2021 expected to be even worse, but you're right that 45k is a slight overestimate.

[1] https://www.vox.com/22675358/us-car-deaths-year-traffic-covi...
"This is the only intelligent response to explain why overall mortality is 2X higher in the vaxxed group."

It does not really need an explanation.

We already have conclusive data of the power of vaccines.

" The problem is it still completely destroys the idea that unvaccinated are the ones who should be restricted from society."

No it doesn't.

COVID spreads quickly among the young and old.

There is no way to systmatically just keep the vulnerable in a bubble. We can reduce their interactivity, but if COVID is widespread, that won't protect them or anyone.

Vaccines reduce spread significantly, which is why we want everyone to get them.

If you want to drive in the winter, in Canada you need to 1) have insurance 2) pass a test and 3) have winter tires 4) have your car up to a bunch of standards.

And you cannot drink and drive.

Those curtailments of your civil liberties exist because you can screw up other people's lives.
From 2016. It's nice to have the option between the slides[0], 22m of audio[1] and whitepaper[2]

[0]: https://www.usenix.org/system/files/conference/osdi16/osdi16...
[1]: https://2459d6dc103cb5933875-c0245c5c937c5dedcca3f1764ecc9b2...
[2]: https://www.usenix.org/system/files/conference/osdi16/osdi16...
It seems awfully optimistic to believe the NAV systems would ever be fixed.
It is amazing how far you can go with:

1. Look it up in the hash table,
2. Look it up in the literature
This is really sloppy code. This should have been caught in a code review very easily.

Maybe this code is dozens of years old and no one thought it would be in production but there should have been a test case for this at the very least.

Meanwhile I was denied a job at Microsoft out of college almost 30 years ago because I didn’t remember how to divide coins properly to find the fake coin.
Yes, Zotero can do full-text search of PDFs, webpages, and text files. It can also sync the full-text index separately so that you can do full-text searches without keeping the files on every device.

(Disclosure: Zotero dev)
I agree with your answer on the rate limiter, but I think it depends on whether the spec is for rolling or fixed one-minute windows. The question is ambiguous, but the sample answer implies that we want to track rolling windows.

If that's the case, an improvement on the answer is to use a ring buffer instead of a linked list, which allocates a fixed set of memory up front (slower to initialize) but then is allocation-free on each invocation.
You're getting down voted because you comment seems uninformed. AFAIK Zotero is available on every OS that Firefox runs on, for example. Also you talk professional publishing, what does that exactly mean? Zotero is a reference manager, so largely aimed at academic writing (because they tend to be the ones who cité and use references the most). I would be surprised if any other setting has more stakeholders, scientific articles often have lots of coauthors, from different groups and I can sayas an academic keeping track of thousands of papers by grepping through PDFs is not really feasible.

So maybe your use case does not match what a reference manager is for, but you also have not brought any informed criticism.
Especially when you are in devfs you should not assume anything at all! Close in devfs is just a function pointer which is overridden by each of the myriad device drivers that expose files in /dev. Your close() could be the final one which lets the driver perform some cleanup. It might decide to borrow your thread to do it. Maybe some device was about to be ejected/disabled but could not previously because you were holding an FD to it.

The same goes for /proc and /sys which are very similar to /dev in that they represent various entry points into the kernel.
There's a surprising number of near-earth objects that might (almost) hit earth anyway, that really only need a nudge. And if you're not in a huge hurry, you can use high ISP electric powered rockets. And since you're in the inner solar system, solar power isn't very expensive either.

IRL you can use brain-power to avoid using muscle-power!

On the other hand, in-universe, they've got brute-force Epstein drives. For them this is Tuesday.
Patterns to Ace Any Coding Interview Question
> In my experience, interviewers will rarely tell you the runtime of the optimal solution.

I agree. As an interviewer, I genuinely want each candidate to do well and I think that, on balance, setting a specific complexity goal is likely to do more harm that good.

For a strong candidate, it could limit their opportunity to shine by narrowing down the solution space and discouraging them from exploring tradeoffs (e.g. runtime vs memory).

For a weaker candidate, it could mean no solution at all instead of a suboptimal solution. I generally choose my problems such that they admit multiple solutions of varying degrees of efficiency/sophistication. It is generally not a hard requirement that a candidate find the optimal solution in order for me to score the interview favourably.
Maybe there is a lot of anti-Google lies in this comment section.

I could not reproduce their problems when I googled the same string.
It certainly _promises_ to be private like DDG does, but AFAIK none of them have been audited.
This absolutely meshes with my own experience. After years of software development, I find there's a very different sort of reward associated with building out my own fibre network. Once a cable is up on the poles and spliced in, it's a physical real world object that works and makes the customer happy. It's not like software that's never finished with so much internal state that is invisible and constantly needs improvement.
I don't know why any large country would invade instead of just slowly, secretly buying the smaller country and it's power over a decade or two. Take China and Taiwan, or this situation in Ukraine. Even a heavy handed economic hostile takeover would be ignored by the other world powers because no individual politician wants to be responsible for starting the fighting. Eventually you own everything, you've moved a ton of citizens in, you've bought all the politicians with puppet corporations. Then they vote to join your wonderful nation.
That you managed to trick a celebrity?
This seems like what-about-ism.

You could look these numbers up easily on the CDCs death data, and then you could formulate a coherent thought.

Instead, it seems like you're just trying to derail the conversation with as little effort as possible.
Let's consider an axis across books that are terse (maybe not even a book but an article, summary or list) and books that are more verbose (stories, examples, exercises).

Allow a second axis for quality, and only consider the best. If you think a book is padded or leaves out important details, then ignore it for our comparison.

Shorter and longer books are no better or worse (in this comparison, we removed that component above). So what are they?

The right length for a book is between the reader and the topic. It's not inherent to the topic or about the author and the topic. It's between the reader and the topic.

Longer books have a lower density of insights, and take up more time, but there's more to latch onto. This is essential if you need it and a waste if you don't.

Imagine a 50 year old football coach looking to learn from a new perspective. He could read incredibly dense coaching advice and it would land well. He has a whole career to relate to the book. He can come up with examples proving or disproving claims. He's well served by the short book.

Imagine a 20 year old who wants to become a football coach. He has a little experience, having assisted another coach one summer. Advice that is too dense may slip past him. There's not as much experience to latch onto*. He'd be better served by a longer book. More stories, examples and exercises.

You can expand or contract a book on your own to match your needs. If you were going add some exercises to the end of this chapter, what would they be? Do them if it seems valuable. What's a story that would illustrate this example? Skim the book to make it shorter. Start a reading group to make it longer.

The best authors help you with this. How To Solve It has a two-page summary of the whole book. That summary can be reduced down to just four steps. You get three levels to match.

* On the other hand, younger people seem better at learning things without reference. Older people have more experience, but seem to need that experience. I think this is why learning entirely new things generally gets harder as people get older.
Thought this had to do with memory addressing/pointer size, not data types.
I'm doing research on self-reproducing (SRP) systems.

The idea is that each SRP unit makes 2 copies of itself and then moves off to perform another task, such as finding raw materials.

By this "power of 2" you get exponential growth.

At the mechanical level, 3D printing and robots allow self-construction.

At the biological level, plants like sunflowers can take up things like zinc, copper, and radioactive elements. (https://pubmed.ncbi.nlm.nih.gov/22567714/)
If we can figure out how this is done perhaps we can find a genetic basis. If so, we could engineer ants that would naturally mine materials.

If nothing else, at least we can cover Mars in paperclips :-) (https://en.wikipedia.org/wiki/Instrumental_convergence)

In any case, I'm happy to see that NASA is interesting in terraforming Mars. Maybe my research will find it to be a practical application.
This kids is exactly why nobody maintains out-of-tree kernel drivers.
> It's unfortunately a lot of survivor bias

In this case, isn't that the selection criteria rather than an interfering bias?
This might get you OK marks on the "problem solving" portion of a coding interview. But a programming interview will also look for signals of other skills -- did you communicate your approach? Really good candidates will verbally communicate their solution before writing code. The best often write out how a particular data structure changes with some iteration.

If you're a senior engineer, a coding interview should include some demonstration of correctness. Maybe you write one primitive test harness for a positive test case and add comments or empty methods enumerating a few other test cases.
I'd say cycle time is also important anyway: we spend a lot of time building the Linux kernel in various forms. The savings across the board in manhours waiting for compilation, or for git bisect, are not insubstantial.

I wonder what the memory savings for compilation look like? Because that's also potentially more workers in automated testing farms for the same cost.
You missed the point, which is that Thiel is the “libertarian” OP referred to, not the Austrian which many people incorrectly assumed.

Thiel can also be a libertarian who registers and votes Republicans in our two-party system. Libertarianism, whatever you think of it, is more of a political philosophy than a political party, and Republicanism is definitely more of a political party than a political philosophy.
Bitcoin doesn't solve the inflation problem. Nothing can solve the inflation problem in real terms because the real world is decaying.

Also if the Cantillon effect exists, then it applies to every single dollar spent inside the economy, not just to "printed money". E.g. if there is a mechanism that sucks out "printed money" to the top, then there is also a mechanism that sucks out not "printed money" to the top. If you understand that, then the "printed money" exists to replenish money at the bottom of the economy where it inevitably gets sucked back to the top.

Hint: Positive interest rates redistribute wealth upwards.
It often still is a good idea to have an approach for a possible second step for when the first step or steps are established. A lot of ifs and sometimes countries entirely skip kinds of technology like the landline phones in Africa and go to mobile phones directly since it was easier to establish. Maybe not-so-wealthy countries will see an entirely different kind of health care in 10 years than we know it now.
Is this the tech influencers' version of "I switched my frontend from React to Vue"?

Also, the author has even written an article titled "Don't Believe Self-Reported Data"[0]. In light of some of the other comments about the data not quite stacking up, perhaps he should take his own advice.

[0]: https://guzey.com/statistics/dont-believe-self-reported-data...
Sepulveda Blvd in Los Angeles, according to google, used to be pronounced Sep-uhl-vee-dah. I can pronounce Sepulveda like a local, I cannot pronounce Los Angeles like one. But I call SF "frisco" just to annoy everyone in the state.
+1, got me thinking about this one Elon quote that's roughly about how we're trained in school to solve the problem given to us, even if it's not a valuable problem to solve. Can save a lot more time and complexity by realizing the 'problem' isn't really a problem than any solution.
> you can rely on the presence and longevity of APIs

That can be moot. Arguably, I can run more Windows games on Linux using Wine than on actual Windows, especially the older those games are.

Optimizations or work on drivers done by outside developers isn't unusual for Linux too. In fact something like Cyberpunk 2077 became playable on Linux without CDPR getting involved, except for them providing the game to Mesa and Wine developers before the release. And they even added a whole Vulkan extension to make it more playable without CDPR lifting a finger.

Overall I'd say Windows offers no advantages besides being more entrenched among gaming developers for historic reasons.

If Linux would have provided the same market size as Windows, developers would work with it no matter OS specific idiosyncrasies, same as they do with Windows now.
Launching entire processes to do small operations is an antipattern. Whether a program is 1k or 10k can’t make that much difference if the minimum process spawn time is counted in hundreds of milliseconds?
Yes, I know, it’s about the philosophy of unnecessary waste and not actually about the first kb, a philosophy I can certainly support.

But still, launching a 1MB program and then launching threads from it takes a fraction of the time per thread. The 1MB process start time is quickly amortized.

I know as he mentions there are situations where small processes are launched hundreds of times, but these days I think of it as a disappearing antipattern. Consider how in the past it was common with compilers to use one process to compile one source file and exit. Or how a web server would serve one request and then exit. There is a reason that went out of fashion.

So the only time I’d reach for actually making a tiny executable out of performance concerns would be if I couldnt use a fatter binary and I knew the tool (for whatever reason) had to be invoked a lot, and it wasn’t under my control.
Yeah, it's hard to imagine spending 2 straight years untangling the Gordian Knot even this far. What an amazing feat by Ingo.
I'm not sure if Consumer Reports has ever formally reviewed moving services, though I admit I haven't been looking for this category specifically. CR's website currently doesn't have any reviews for moving services, not even with a disclaimer that the category is no longer being tested (like they do for some categories, such as steam irons: https://www.consumerreports.org/cro/steam-irons.htm).

CR's freelance writers have written general advice articles on moving services, like https://www.consumerreports.org/moving/how-to-choose-a-relia..., which might be useful to some readers but certainly aren't very deep. These articles aren't the same as CR's actual reviews, which have scores and detailed ratings for each product metric.
> Google search results are terrible lately.

Just lately? I've had the feeling Google search results have been terrible for years now.

Someone should really build a better search engine, and preferably one that gives the user more control.

Although frankly it's baffling that Google hasn't implemented some sort of up/downvoting on search results. That sounds like exactly the sort of thing they would love.
It definitely is not completely unbiased, but the reason it works at all is the people who are trying to be honest, not the shills.
I already claimed my attention back. I did this by removing stupid media companies from my life. I did this by learning about "The Propaganda Multiplier". The Guardian is part of "The Propaganda Multiplier". The Guardian is a media company controlled by cut-throat oligarchs. It does not have independent journalists who investigate corrupt politicians deeply. It only has sellouts promoting corporate interests while keeping predators in power.
Pickle Juice.

You're welcome
And hope the current data is correct!
Such elegance! And with not a single byte of state, either!
Agreed.

What I'd actually ask as a candidate is what to optimize for. Are we looking at an N of 100 and a simple solution will do, or are we looking at an N of a million? Maybe memory is the constraint.

Atleast show the candidate that you're thinking pragmatically. The goal in the real world isn't to write the "fastest" algorithm, it's to write the most appropriate one.
There are almost no private clinics in Canada
There's a specific reason I didn't mention priority queues in the post. In most cases, anything you can do with a heap you can do with a binary tree instead! A binary tree has O(log(n)) insert and deletion which is the same as a traditional heap. The only advantage a traditional heap has is you can construct a heap in O(n) time whereas a binary tree takes O(nlog(n)) time.

Of course there are even more niche data structures like a Fibonacci heap which have O(1) insertion, but you will have to get extremely unlucky to get asked about a Fibonacci heap in an interview.
Answer, if you want to make money is play Google's game. Go get some VC funding to buy ads. Google with put the ads on their front page which will boost your search results. Eventually you'll figure out you dont even need a good product, you win with a mediocre product and a lot of SEO/ad spend.

Break Google up. Course that will never happen as politicians like the power Google has over the internet in the hands of a US company.
The North magnetic pole has never in living memory been especially close to the actual pole. At that time it was on land, as it is now. So, you can't drive over the North magnetic pole in a submarine, though there have been periods when you could.

At and near the pole, the direction is mostly "down".

Recently a Boeing 747 flying over the North Pole had all four engines die in the same moment. You may guess things were pretty tense in the cockpit for a while. After it glided below 10,000 ft altitude, they managed to fire them up again. There was a particular combination of pressure, temperature, humidity, and history the designers had thought would never happen.

The engine manufacturer figured out what had happened and reprogrammed the engines (on all 747s) so it would not happen again.
One metric I started to use is the amount of stuff on a webpage blocked by ublock adblocker. The higher the number displayed by the unlock icon, the worse I expect the content to be.
Maybe some of the tribalism is due to fighting over limited resources but I don't think it can solely be blamed in a society of plenty like the United States and other places.

I don't believe the overview effect is made up. Simply doing nothing and letting it continue seems like a shit option. Anything that attempts to give people better context to unite instead of divide seems worth while to me.
Single injection I don't remember the mg sorry, but I'll go back and ask later this week. Dr. Vu only charges about $100 for each shot. Others do charge WAY more. But I don't think any licensed real USA doctor with legal access to K is letting people self admin it.

When I asked about muscle vs vein he said a lot of K is lost in the process and not absorbed by the body, but enough is that it still works fine.