skysight-inc/HackerNews huggingface dataset:
This whole thing exists on a normalized/de-normalized spectrum. The problem is that both ends have pros/cons.

On the normalized side, you have the benefit of single-point-of-touch and enforcement of a standard implementation. This can make code maintenance easier if used in the correct places. It can make code maintenance a living nightmare if you try to normalize too many contexts into one method. If you find yourself 10 layers deep in a conditional statement trying to determine specific context, you may be better off with some degree of de-normalization (duplication).

On the de-normalized side, you have the benefit of specific, scoped implementations. Models and logic pertain more specifically to a particular domain or function. This can make reasoning with complex logic much easier as you are able to deal with specific business processes in isolation. You will likely see fewer conditionals in de-normalized codesites. Obvious downsides are that if you need to fix a bug with some piece of logic and 100 different features implement that separately, you can wind up with a nasty code maintenance session.

I find that a careful combination of both of these ideas results in the most ideal application. Stateless common code abstractions which cross-cut stateful, feature-specific code abstractions seems to be the Goldilocks for our most complicated software.
The explosive physics of pooping penguins: they can shoot poo over four feet
Reminds me of the cute banana, apple, pineapple math challenge that is actually an elliptic curve.

https://www.quora.com/How-do-you-find-the-positive-integer-s...
Did you find more info on rvzs? The progress report makes it sound like rvz compresses random data, but that's plainly not true. I'd love to understand what "garbage data" actually is. It must actually have lots of pattern, rather than being random data.
It is on wikipedia ...
Unless we are willing to go to war - there are no viable ways to prevent China from doing whatever they feel like in the territory they control. Even the tiny Iran and Cuba survived decades of sanctions

There is one recent-ish historical exception: the SA Apartheid regime was brought down by the West without any land invasion.

But invasion is no guarantee either; the Indian caste system, which makes apartheid look like Sunday school, survived the British occupation.
I don't know about Linux Kernel, but in 99% of projects, 99% of commit messages are write-only.
One thing to note with benchmarks like this, they are the norm, but they measure the time to validate a document and do not reflect much of the real word where we reify the JSON back to native data structures. Few benchmarks get that far , I suspect much of it is that the setup is tedious.
You mean by repeatedly praising Xi?

https://www.reuters.com/article/us-trump-china/trump-praises...

Or by getting the US out of the TPP, which was meant to reduce China's influence on that part of the world?

Or by asking him to help him get re-elected?
They cost a lot of time and money to maintain, that's why you can buy a lot of them in Europe, in various state of damage.
Rob Pike discusses similar points in this section of his talk on Go Proverbs
https://www.youtube.com/watch?v=PAAkCSZUG1c&t=9m28s.
Where is the line? Is it okay to use human stem cells for experimentation? Is it okay to grow whole organs for replacement? Is it okay to grow muscles, ears, skin, eyes, bones...? Why is not okay to grow them all at once? I don't see any difference. All of this literally is "decephalized humans", just with more modification/specialization and a simpler process.

We're even growing brain tissue that exhibits actual human-like brain waves for experimentation - how is that okay with you!?
Twitch Will Never Lose
https://www.victimsofcommunism.org/voc-news/2020/2/18/rising...
I couldn't find it in your profile :(
The world won't hit climate goals unless energy innovation rapidly accelerated
Laptop Battery Insights
CppCon When a Microsecond Is an Eternity:High Performance Trading Systems in C++
Another holocaust is being committed right in front of everyone. What will the world do now? Sit back and keep taking advantage of the benefits of cheap Chinese labour? Isn't it time to wake up and cut this barbaric behavior if we're going to claim we moved past what happened in WWII?
Not sure if it's possible for default apps (I don't have a Mac right now), but can't you just open a Get Item dialog, drag & drop an alternative icon onto the icon displayed in the dialog to replace it? (& click the icon, press delete to restore)
With speech suppressed, and a population trained to avoid unflattering expression, how do you suppose the group of elites behind the closed doors of their ivory tower are able to collect public opinion in order to take it into account?
Evolution might promote civility in a similar way to peacock feathers through sexual selection. Civility implies that you have enough wealth and power to spare on luxuries even in a world of brutal competition. This allows you to attract more mates/immigrants which ultimately offsets the additional cost.
> Currently, governing decisions are made behind closed doors by a group of elites that carefully deliberate their choices after taking public opinion into account.

How do you know how carefully choices are deliberated and how much public opinion is taken into account if decisions are being made behind closed doors?
I always love when technical accomplishments like this show how insanely effective lone people can be when they throw themselves at a task with a heart full of love for the subject.

Commercial environments would have called these ideas unfeasible before the first line of code was written.
Have you thinker about why there is not toilet paper in public restrooms?

Turns out there is multitude issues, but at the core: the country is still poor. There simply isn't enough fund to support the Western style public facility.

And TBH, public rest room improvement has nothing to do with democracy anyway. In US, there isn't the public rest room in the same definition as China anyway...
What distinction do you mean to make between freelancing and consulting? Those terms usually describe the same thing.

http://typicalprogrammer.com/how-to-start-freelancing-and-ge...
Yeah, the rule of three is misleading: having a name for three lines of code that do “one thing” is almost always a win and nothing prevents a future developer from either inlining that function, if it was a bad idea, or duplicating and modifying the function.
So what was the $1200 to every American, and Unemployment base-lined to the point that people were making MORE with unemployment compensation than what they made at their normal job?
China desperately needs more babies.

China desperately needs more female babies to be precise. The one-child policy coupled with certain cultural quirks resulted in 50-60M "excess" men, who will never find a partner, and unhealthy competition for the rest.
> "for almost all human beings on this planet, the goal of life continues to revolve around gaining wealth, recognition and power."

The opposite could be true as well: the goal of a minority is to gain wealth, recognition and power and in doing so they hurt everyone else around them.
If you are open to trying out a functional programming style, I would recommend Phoenix(Elixir). Also Liveview is amazing when you want to create interactive frontends without using react/vue.
Even that wouldn't mean nearly all opposition media vanishing from the Internet in the span of few weeks.
Thanks for all your effort! I haven't tinkered with mealmaster files in ages but you've given me a reason to dig through my old CDs to find my archives. Unlike zip files of old code or software, recipes are likely just as useful today as they were 10 or 20 years ago.

One thing I noticed when working with Sqlite3 recently is that they've implemented full text searching.

https://www.sqlite.org/fts3.html

I found the implementation simple to employ and incredibly fast and powerful. Perhaps it could be a helpful tool in a generic search? Just an idea!
On Firefox, I get SEC_ERROR_OCSP_UNAUTHORIZED_REQUEST, so there may be a problem with CloudFlare's OCSP server (?!?). But this is because I manually set security.ocsp.require = true in about:config. When I reset that to false, the page opens fine.
Honestly Django is still fine. It works, and if it lets you build products which work properly, and reliably, why not use it?
I am describing how things are; you are describing how you want them to be.
Yes...basically, switch on aeroplane mode, then enter the app. You’ll bypass the PIN screen. Enter a conversation, then switch off aeroplane mode. Entering and exiting the app will no longer force you to set a PIN...unless you leave the app while on the conversation list screen.

While you can just repeat the steps above if that happens, to avoid the annoyance, always leave the app in a conversation.

Note: I’ve only tested this on iOS. Hopefully it also works on Android...
> The correct figure to look at is wholesale price, which is often below $.03/kWh in US power markets, and lower at off peak times when one would make hydrogen.

Again, the estimates shared in the study are made with the assumption that electricity used for hydrogen production is free. This is why I am left with the impression that you think the energy used for electrolysis amounts to a large portion of the cost of hydrogen storage. Because you seem to be fixated on the cost of electricity, even though hydrogen storage is still incredibly expensive even if electricity is 100% free.

No, hydrogen does not have low cost of energy storage. Average estimates place the cost at $1,400 per KWh per year for average estimates and $800 per KWh per year for optimistic estimates. And for the third time, just to make sure that this fact gets across, these estimates are made with the assumption that the electricity supplied to generate hydrogen is at zero cost from surplus renewable generation.

This cost needs to be recovered from people drawing the stored energy. If all this energy is being drawn in one day of the year, it's going to cost $1,400 or $800 per kilowatt hour depending of whether you use the average or optimistic estimates. If you draw the energy on 10 days out of the year then it's going to cost $140 or $80 per KWh. How does this make it more suitable for long term storage? It doesn't. Even if the cost were spread out over the entirety of the year it would cost anywhere from 60 to 120 times as much as the wholesale price of $0.03 per KWh. If this energy is only going to be draw on for part of the year this cost increase is going to be even larger because the same cost of storage needs to be recuperated from a shorter period of sales.

It's the most suitable solution for long term storage by virtue of the fact that it's one of the only mechanisms we have for long term storage with our current technology. It's nowhere near cost effective. The costs are the total opposite of "so damn low".
You are missing TPU and spot/preemptible pricing, which need to be considered when we are talking about training cost. The big one to me is the ability to consistently train on V100s with spot pricing, which was not possible a couple of years ago (there wasn't enough spare capacity). Also, the improvement in cloud bandwidth for DL-type instances has helped distributed training a lot.
But that viewpoint is plainly at odds with the actual beliefs of the founding fathers who owned slaves, right? That is clearly a reinterpretation of the words that didn't match what the founding fathers meant by them.

(Even if you discount those like Washington who owned slaves and felt bad about it, plenty owned slaves and thought slavery was a good and important thing and put their names to those words.)

Is it enough to believe internally that you are vindicating what America's founding principles really were in order to be able to criticize the actual beliefs of the founding fathers without "cancelling America"?
https://en.wikipedia.org/wiki/Genocide_Convention

From the Wiki article, the UN definition of Genocide is met if...

...any of the following acts committed with intent to destroy, in whole or in part, a national, ethnical, racial or religious group, as such:

(a) Killing members of the group;
(b) Causing serious bodily or mental harm to members of the group;
(c) Deliberately inflicting on the group conditions of life calculated to bring about its physical destruction in whole or in part;
(d) Imposing measures intended to prevent births within the group;
(e) Forcibly transferring children of the group to another group.
— Convention on the Prevention and Punishment of the Crime of Genocide, Article 2[5]

I'm not a fan of China, but the UN bar for genocide is so low that it's essentially meaningless.

The word itself means gene-killing.

Whether china is actually trying to wipe out or is being oppressive isn't clear when the UN definition is used.
Gig Workers Are Here to Stay. It’s Time to Give Them Benefits
I don't really know if those hardware breakthroughs that the article refers to already reflects in Cloud GPU performance, but software reflects nonetheless. So even though pricing has fluctuated marginally since 2018, it is just plain faster to train a neural network today because of software advances, from what I understood.
My fault, my original comment should’ve been more clear. Your citation is better by the way.
Obvious counter example would be Yemen, where he’s been fully behind Saudi Arabia continuing their genocide of a Muslim population.
The "flat design" we've had for the past decade really is flat design, but the dubbing of what preceded it as "skeuomorphism" was a misnomer, in most cases.

In theory, an old "save" icon would look like a floppy disk (or perhaps a picture of a red tape-recorder "button") whereas a modern, flat "save" icon would be the word "SAVE".

In practice, if a button is labelled "SAVE", but in beautifully shaded and embossed typography, it too is "skeuomorphic", while some ugly disk-drive symbol, in the flat style of highway sign, is acceptably "flat".

A decade ago, most popular software did not abuse skeuomorphism. It was primarily great masses of iPhone crap apps, and four or five, widely talked-about, Scott Forstall iOS projects.

Like others in this thread are saying, I don't care much whether the software I use is "fun", but I do want it to be beautiful and intuitive. "Flat design" has been bad in that regard, and primarily as a reaction to a minority of apps looked like toasters or radios.
Whoa, cool, will check this out. Thanks!
Reminds me of this discussion: https://news.ycombinator.com/item?id=12120752 (John Carmack on inlined code).
I don't have any experience in art history or design, but judging by the photos in your article, you seem to be conjecturing that in 5-10 years, everything is going to look like a Wes Anderson film. :)
Secret Fungi in Everyday Life
If you are into this kind of machines, there is a nice auction sale in a few days: https://www.classicdriver.com/en/auction/dorotheum-sammlung-... => most of those cars are really surprising, even though I've already seen some in real life at car events, it's engineering optimised and minimised!
I don't think its the professionals one needs to worry about.
What happened after that ? What turned the wave in favour of nVidia ? I was there (as a player) but I don't have clear memories.
The code example followed was in the simdjson basics.md. The example in the error handling example left off the realloc_if_needed argument which does default to true. I have updated the tests to be explicit that third argument is set for clarity.

As for the path in simdjson being non-optimum and having to copy bytes, that should be expected if the string is to be modified. The buf argument type is a const after all so it should not be modified. In any case, glangdale's code is clean and solid so I doubt his code is anything but optimized and the examples correct.
That is sad. That also highlights the dangers of tying your site/blog to an specific, private vendor.
I will admit it was not the best comparison.

But having these books does feel quite scary, that a foreign language (even though you understand it well) is imposed on you by a hostile government.
How was China picking fight on "Aus, Japan, Phillipines, India, Indonesia"

Philippines and Indonesia are the target of picking fight on the islands at South China Sea.

I have no idea China is initiating fight with India Australia or Japan.
I am 100% on Thiel's side for destroying Gawker. It was and is trash, and Thiel performed a public service.
U.S. Coronavirus Cases Are Rising Sharply, but Deaths Are Still Down
Population decline is more of economic reasons.
Are there benchmarks with simdjson getting the JSON reified into native data structures outside the parser?
Germany's navy was never going to be more than Wilhelm's pet project because Germany's main threats were land based France and Russia. Britain joined because of honor over protecting Belgian neutrality, which shocked Germany diplomats who thought Britain would never fight over something with so little material gain for it.
Saturday comics: a weekly mailing list of programming comics
One of the reasons duplication is used badly is that it is one of the easiest abstractions to recognize.

One of the ways I've seen DRY go horribly wrong involves reusable code units evolving into shared dependencies that often interdepend in complex ways. Unfortunately, the problems of such a system are observed much later than the original code duplication and fewer people have the experience to see it coming.
Ask HN: Simple Linux Machine
Is there an SBC that just works and works well with the Linux kernel?

I’m looking for something low in price ($100-$200) with mainline kernel support. I hope for stable and accelerated X11 with video and sound playback. I’d like to be able to drag windows around at full frame rate.

Architecture doesn’t matter.

I’ve been trying really hard to get Pine64’s RockPro64 to work as a nice little dev / office-work machine. It just doesn’t seem to be working out. Manjaro (Arch) Linux on multi core ARM, even at 1080p on a ARM’s Mali T860 GPU, is just not smooth at all.
Thank you :)

This link does seem like a good place to start, thank you much.
That article provides pretty strong evidence that DTC ads, overall, are bad for patients:

58 percent [of physicians surveyed] agreed strongly that DTC ads make the drugs seem better than they really are.

Physicians thought the ads did not convey information about risks and benefits equally well. Seventy-eight percent of physicians believe their patients understand the possible benefits of the drug very well or somewhat, compared to 40 percent who believe their patients understand the possible risks, and 65 percent believe DTC ads confuse patients about the relative risks and benefits of prescription drugs. In addition, about 75 percent of physicians surveyed believed that DTC ads cause patients to think that the drug works better than it does, and many physicians felt some pressure to prescribe something when patients mentioned DTC ads.

Eight percent of physicians said they felt very pressured to prescribe the specific brand-name drug when asked.

Doctors believe that patients understand that they need to consult a health care professional about appropriate treatment. Eighty-two percent responded either "very well" or "somewhat" when asked whether they believe that their patients understand that only a doctor can decide whether a drug is right for them.

Note the last point means that 18% of the doctors believed that their patients thought they knew better than the doctor about whether or not a drug is right for them.

The few positive aspects, about patients being better informed about drug therapies that might help them, could be solved by making the monthly journal info I described available online. People go to Google and type in their symptoms and/or the name of their disease if they know it, and end up on sites like drugs.com and webmd.com. If Google were indexing the journal I described, and those other sites pulled from it too (publishing license should allow that, as it would be publicly funded), then patients would see all of the good information about the drugs, without the advertising bias.
Coca-Cola, the company that intimidates, kidnaps, tortures and murders union leaders in South America. The company that over-exploits and destroys natural resources in India. The company that routinely does business with dictators and avoids taxes and sanctions.

That's the virtuous company putting pressure on Facebook to tackle "hate speech" during election year in the US. i.e. stop opponents of the far-left.
In Java, when I hit a bad abstraction, I hit the inline shortcut (command-alt-n) and then evaluate the resulting code with git diff. Other languages may be more manual, but, at worst, you just use ripgrep or similar to find all the relevant use sites and then manually expand the abstraction: this is only really a problem it the function is used hundreds of time: but, in that case, you can always duplicate the abstraction and rename.
Nan Madol – Capital of the Saudeleur Dynasty
The actions of literally almost every group of elites and high-level government officials in the last 100 years?

Are you not exposed to this behavior/news somehow?
CV, VR, and AR
Of course the US will use questionable sources when it comes to slandering China or any other countries it deems a threat...
A similar thing has existed for the Quran for some years now

http://corpus.quran.com/wordbyword.jsp?chapter=1&verse=1#(1:...
Busy work for people who really shouldn't be in tech is what UI design has become.

We had great UI, then tech branched out and we need to redo every UI continuously so the marketing people (who mostly also don't belong in tech) can boast of new and improved this and that. It's all so tiresome.
Checking out a library book specifically is almost certainly non-essential. But I'm sure there are lots of people who are being forced to leave their houses for various reasons (including earning money to eat) who really do have this level of concern about getting infected.
19-year-old beaten at MetroLink platform while nearby security guards stood by
> This is what I wrote in 2016, if Steve Jobs still ran Apple: https://magarshak.com/blog/?p=234

You may want to install a spam filter on that comment section, or just disable it.
Ok, but achieving Moore's law has required combining an enormous number of conceptually distinct technical insights. Both training costs and transistor density seem like well-defined single parameters that incorporate many small complicated effects.
They were also the only ones charging yearly fee to add CarPlay client to their infotainment.