skysight-inc/HackerNews huggingface dataset:
> 100MB of doubles encoded as JSON.

That sounds like a very bad use case for JSON. I would be surprised if your program wasn't more efficient with an ad-hoc binary format for that piece of data.
Zakharious Tours
Zakharious Tours ist spezialisiert auf Deutsche Ausflüge in Ägypten. Unser Ziel ist es ihnen perfekte und professionelle Ausflüge zu bieten in kleinen Gruppen oder privat.
As discussed elsewhere, simdjson is comfortable with the notion that JSON files might be of different sizes, but does rather better if you can pad the buffers that it reads data into. This is required to avoid the small but real risk that it reads over a page boundary in its SIMD loops.

The test is not realistic. Measuring performance on small cases is a legitimate use case, of course, but using the same data every time means that both ojc and simdjson will train the branch predictor almost perfectly on any modern architecture. This will help either parser during its "branchy" code, which is all of ojc and a significant portion of simdjson (despite all our yelling about how great SIMD is, once we have tokens, we go to a fairly traditional state machine).

On a tiny message, startup costs are probably more significant. Fixing buffer alignment, -O3, and working with larger messages I would not be shocked to see a factor of 20x. There's nothing wrong with ojc but it is a typical parsing strategy that isn't all that different from the other 'normal' JSON parsing libraries that we evaluate (RapidJSON, sajson, dropbox, fastjson, gason, ultrajson, jsmn, cJSON, and JSON for Modern C++).

It's not clear to me why you were so convinced that your library, by extension, would run 10-25x faster than all these other libraries. With the exception of RapidJSON and sajson - which have some performance tricks to go faster - most of these libraries read input in the same way.
> It's the lingua franca of data transfer.

Fortunately, this is really only true at the application level. Space/line delimited byte strings and binary formats are used frequently at lower levels.
And in Mexico uses cane sugar.
Poor Man's Cluster
We're trying to measure aerodynamic drag, thing is there are huge vertical forces (weight of rider pressing down on pedal) and relatively small horizontal forces (due to drag). So if we don't know the angle accurately, we can't separate out the components - make sense?
thanks for your super awesome reply! :)
Voting rights are absolute. If Alice has lost her ability to vote, it doesn't help her to learn that lots of people who look like her or live near her have turned out this year. Maybe she doesn't share her neighbors' politics. (If we even believe this "minorities vote more" proposition for which you've provided no evidence.) It is a fact (click through the links provided above) that lots of voters have been kicked off the rolls in minority-majority communities. That would suppress votes, even if everyone who remained on the rolls voted.

So go demand that ineligible voters be removed from the rolls in white communities. That's not an unreasonable request.

First, that is absolutely an unreasonable request. We lead busy lives; when are we going to improve law enforcement in e.g. Kansas? Second, here you've given up the game entirely. Since a universal concern for vote fraud would also include a concern for vote fraud in one's own community, which concern you admit you don't have, your goal is thus not to curb fraud but rather to suppress votes in communities other than your own. You've now agreed with every accusation I've made. QED.
Justice system is probably going down the pan anyway. Judges and jurors will be harassed by online mobs.
You're not wrong, but "doesn't notice the taste of lead" != "fine with being fed lead".

Edit: better analogy than arsenic.
Not so. Emacsen run server-client. Instantaneous.
Name?
Does it use skia?
Why and when would ECS help for building 2D GUIs?
This advice just _feels_ very wrong. After thinking about it and seeing the other comments, some remarks:

1) It's fine to go back and duplicate code after you correct the abstraction. But it should be the _first_ phase in doing a larger pass to refactor code to fit the current business requirements. If you forgo the _second_ step, which should be to search for suitable abstractions again, you are absolutely guaranteed to be left with shit code that breaks in this situation, but not that other one, and no one knows why. I would absolutely only duplicate code as the prequel to deduplicating it again with updated abstractions.

2) If you do any of this without thorough unit tests you're insane. Keep the wrongly-abstracted code unless you have time to thoroughly fix the mess you will have made when you duplicate code again and introduce bugs (you're human, after all).

2a) If you are going to do this and there are no unit tests, create those unit tests before you touch the code initially (before the duplication).

3) Some of the comments saying you should wait until you implement something two or three times before creating an abstraction seem like comp sci 101 rules of thumb. It's way too simplistic a rule, way too general. Prematurely abstracted (haha!). The type of project and the type of company/industry will tell you what the right tradeoff is.

That is all.
If you ask nicely and don't pretick the yes or no box I have a hard time believing <1% would opt-in.

This is just excuses. Usage statistics could be tied to downloads or public source code analysis. No need for tracking.
Long term care insurance is mostly a harebrained financial innovation that doesn’t work financially.
In my mind a key part of what makes a university a university is that the faculty are the ultimate authority. Thats's the whole point of tenure. The administration is supposed to exist to handle details needed to facilitate the work of the faculty. That unionization of faculty (especially senior faculty) has apparently become necessary really speaks to the massive amount of administrative creep that has taken place, and the perversion of these institutions from academic centers into businesses. It still isn't too late for professors to reclaim their rightful authority, but many of them are too ground down, overworked, or willing to be just another employee at another big organization without understanding their broader responsibilities to education in general.
This shouldn’t be dismissed out of hand. Absence of evidence is not evidence of absence.

The parent comment may be referring to the growing number of “long haulers” who have “recovered” yet seem to be suffering from chronic symptoms. [1]

This may be anecdotal, but it’s a growing number of people and worth taking seriously. This is a novel virus, after all.

1: https://www.theatlantic.com/health/archive/2020/06/covid-19-...
There's no need to go to war with a country if you can plant the seeds of a toxic mindset, and then watch them tear themselves apart instead.
I am trying to build a humanoid with bunch of servos. Back in 2017, I bought 205 servos from a closeout sale.

Currently, I am trying to hook them together and come up with basic APIs to control them. Next is printing a 3D model.
This is more up-to-date, and includes more models of Pi’s and SD cards. It was linked in your post, but the post is now out-of-date relative to my link below.

https://pidramble.com/wiki/benchmarks/microsd-cards
The Cortex-A53 is really weak. I wouldn't want to run an office suite on that either. Oh, and the Pi 3 was VERY limited by RAM.

"most office people, students, and so on" pretty much always do browse lots of modern websites, at the same time as running an office suite, audio player, and more stuff.

The A72 is really the "minimum viable CPU core" for desktop usage. Anything with less single-core performance is absolute hell and suffering.
Show HN: Getting fit in virtual reality with open source and Godot
"The worst thing Jesus did was saying you didn't have to wash your hands before eating, which have probably killed millions of innocent people due to diseases and infections."

This is really deep insight into cause and effect.

When we think 'Jesus, History, Spirituality, Theology, Sociology' .... the thing that really should come to mind is the hand-washing, you know, and the millions dead.

Inadvertently of course!

I never thought to consider that Gandhi, by asking a nation to expend their resources on making 'homespun' clothing instead of wearing that which was very cheaply made on textile machines, was inadvertently causing mass poverty. Probably millions dead. So tragic. Now that's the thing we need to remember when thinking about this guy.
This is best described as a fitness rhythm game closely losely a circle gym or a calisthenics workout.

During the last months, and due to the need to find a way to motivate myself to exercise more while staying at home, I developed my hand tracking fitness experiment for the Oculus Quest into a relatively feature complete (at least for a v1.0) workout game with exercises for the core, legs and arms and custom song support.

For PC VR it supports VIVE trackers or otherwise "simply" strapping the controllers to the wrists

It is developed with the Godot engine which has come quite a long way since the VR support has been introduced.

Kudos to the Godot developers and especially Holger Dammertz for his relentless work on the Godot Oculus Mobile plugin

The game is opensource (although the code is still a mess) and also free on Steam or Sidequest

The best part of writing this was and is the feedback of others who are using it and getting a health benefit out of it.
I think you need an entity capable of doing the bad things, if only to stand up to others who do, but I'm not convinced there is some conservation of badness that prohibits the net amount of it from decreasing over time.
> tested on a Raspberry Pi model 3 B+:

No it wasn't.
The DeskMini series has two M.2 slots AND two 2.5” slots in a tiny enclosure. Here’s mine:

Noctua NH-L9A-AM4, 37mm Premium Low-profile CPU Cooler for AMD AM4 (Brown) £36.17 incl. VAT https://www.amazon.co.uk/Noctua-NH-L9A-AM4-Premium-Low-profi...

ASRock USB 2.0 Header to 2 x USB 2.0 Cable for DeskMini Series Chassis £10.93 Incl. VAT https://www.amazon.co.uk/ASRock-Cable-Deskmini-Mini-Stx-Chas...

AMD Ryzen 5 3400G Processor (4C/8T, 6MB cache, 4.2GHz Max Boost) with Radeon™ RX Vega 11 Graphics £139.99 incl. VAT https://www.amazon.co.uk/dp/B07SXNDKNM/?tag=pcp0f-21

Sabrent 1TB Rocket NVMe PCIe M.2 2280 Internal SSD High Performance Solid State Drive (SB-ROCKET-1TB) £109.99 incl. VAT https://www.amazon.co.uk/dp/B07LGF54XR/?tag=pcp0f-21&th=1

ASRock DeskMini A300 Mini PC Barebone for Socket AM4 £146.94 incl. VAT https://www.amazon.co.uk/dp/B07P9GL1LN/?tag=pcp0f-21

ASRock Wi-Fi Kit for DeskMini Series Chassis, includes 2 x Antennas £29.42 incl. VAT https://www.amazon.co.uk/ASRock-Wi-Fi-DeskMini-Chassis-Anten...

2 x ADATA AD4S2666316G19-S 16GB DDR4 2666 MHz Memory Module - Memory Modules (16GB, 1x 16GB, DDR4, 2666MHz, 260-pin SO-DIMM) 2 x £73.12 incl. VAT https://www.amazon.co.uk/ADATA-AD4S2666316G19-S-16GB-Memory-...

Price a few months ago - £619.68

Note that you don’t need the noctua fan but the provided fan that comes with the case is a bit whiny.
We humans just can't help ourselves, but to invent mental shortcuts. Making a judgment "is this really a good abstraction or am I just mindlessly deduplicating code" is context-dependent, nuanced and requires some mental effort - much more work than "do I have it repeating 2 or 3 times already" which is mindless and mechanical.
I don't disagree and have seen the same thing.

However, I've also noticed in those cases that it's very hard to get people to agree on what the problem actually is. One person's incorrect over-abstraction is another person's incompletely-DRYed-up code.
I would speculate that DDG caches its results and then fuzzy-matches them with other search queries (maybe fuzzier and fuzzier based on load). So if you enter a similar query, you may get a previously-cached list of hits, which may or may not be as relevant as if your query was actually run. This is just speculation though
You give an example of requesting sources. I think wouldn't mind having more of that in twitter debates.

I see how this could be a time waster, but I see the benefits too and I'd say that more often than not we forget about checking sources.

Also, in a debate (which is usually longer and more focused than discussions elsewhere online), both sides can use this tactic. In this case the person with better sources seems more likely to win. Again, this looks OK-ish to me.
That's how US destroyed USSR.
Couldn’t they just tell you tomorrow’s stock prices? Or a future sports score.
I (and my team) always run an interactive rebase before opening PR. This gives us a chance to reorder, squash and cleanup individual “work in progress” commits into a logical set of atomic, meaningful commits, without turning the entire PR into a single commit.
If people want to understand this phenomenon better, there is no better reference I could recommend than Rory Miller's Meditations on Violence[1] - specifically what he calls the "group monkey dance"[2].

The simplified explanation is this: the target of the attack by the group is no longer a person, but merely a target. Group members demonstrate their loyalty to the group by gradually escalating the violence they do to the target.

___

1. http://amazon.com/dp/1594391181

2. https://ymaa.com/articles/violence-dynamics
One of Everything: The Breakthrough Listen Exotica Catalog
> People think Chinese don’t have a religion, but they actually do and the God is China itself.

There's a word for this: nationalism.
Is C Api changes stable? Last time I checked there was some breaking changes
Are you trying to reinvent 4chan?
I agree that the central scientific question is whether harmony is a metaphor or mechanism, e.g., for psychological constructs like Cognitive Dissonance. My guess is that harmony is so pervasive that it ceases to have original meaning -- like in the manner that every atom is a harmonic oscillator or how brainwaves are based on an "octave" structure (e.g., Beta is double Alpha, Gamma is double Beta, etc). However, this question of metaphor or mechanism should be resolvable with science, eh?

However, I disagree that harmony is primarily a western phenomena. It is a central feature to Confucianism and Daoism. It also plays a major role in Native American philosophy.
> With great power comes great responsibility.

Words to live by while online. Most fail.
99.9% of people aren't in that financial position. It's a completely out of touch scenario.
Harassment is bad, but judges and jurors already face harassment from offline mobs, including many within living memory who actively wanted to murder them. The system's generally robust against that kind of thing.
Thank you! I hope the person who takes you up on your offer documents the new installation. I really appreciated reading about your process.
You are assuming that the code is a moving target. Not every software project behaves that way. Sometimes, the software gets done as is.
I'm trying to run jobs on a timer when the jobs are on a cluster and I don't know which server the job is assigned to.

It's essentially a problem of distributed timers and distributed transactions.

(If anyone has any resources on how similar problems have been solved in the past, I'd appreciate it.)
I give newegg my goodwill and business anyway because their website makes it easy to find what I want, and the prices are competitive. They've earned it.
> (1) it's one of the best-known and beefiest privacy statutes (HIPAA)

HIPPA protects you from gossiping staff, everything else is fantasy thinking.

When my wife miscarried and was hospitalized from an ectopic pregnancy, sufficient PII was available through various channels for enfamil to send a “Welcome Baby” biz via fedex on the would-be due date.
This was my first thought. Terraform modules can accomplish all of this.
> we want to be able to email the NOC at whoever is sending the abusive traffic, so they can go investigate

If you block their traffic with HTTP 429 Too Many Requests, they can email you instead.
Can you help me understand how USSR collapses because of “toxic mindset”?
Or, vice versa.
Your post reminds me of my experience with webdevelopment. In the beginning it was all fun for me I helped many different clients with there websites and I enjoyed it a lot nevertheless it where simple Wordpress websites with custum themes. But the joy of learning wile doing helpt me to keep motivated. When I knew most things and could type more and more css and html without Googling (ducking) I lost my motivation more and more. After 2.5 year I had made about 15k next to studying IT at university and that was nice but all I did was moving pixels around on screens. So I desided that i was done with the dirty hacks the working with multiple developers over 1 ftp server and the moving around of pixels. So I made the design to stop using Wordpress and to quit for 1 full year to focus on game development.

So yes there is some truth in your message. Yes it is more difficult to start something but it is not impossible. I still have many connections with people who have very small website and are still earning there living from it from websites like torrentfreak to small local dutch news papers. The way they earn money has just changed.

The advice I got out of the past years is do something you enjoy. As long as you enjoy it the money and the project/website ideas will come to you.
The potential danger of suboptimal antibody responses in Covid-19
That is a very, very important point; well put.

The "of course it sucks: changing requirements!" boogeyman means one of two things: "the code was written to do the wrong thing because requirements changed/weren't communicated" or "the code was hard to change when it needed to do a new thing".

Figuring out which of those two is in play is very important.
> In general, the victim of a struggle session was forced to admit various crimes before a crowd of people who would verbally and physically abuse the victim until he or she confessed. Struggle sessions were often held at the workplace of the accused, but they were sometimes conducted in sports stadiums where large crowds would gather if the target was well-known.

https://en.wikipedia.org/wiki/Struggle_session
I think the dismissal here of the Jon Ronson piece is unwarranted, and if anyone here hasn't heard about it I'd definitely read that in preference to this post. I find it much more interesting when there are grey areas and nuance in the story rather than completely innocent people being blindsided. (And after hearing her story in full I'd argue that there the woman who told the stupid joke is effectively innocent too, if rather naive). There's a series of BBC podcasts with abridged versions of the stories in his book here: https://www.bbc.co.uk/programmes/p07hj31g
I sort of think the opposite; the tools available now are much better and you can often design something to fit within the free tiers of various cloud operators and still scale to 100k users, and in personal experience small projects can get a good amount of use(rs) compared to the time to make them. Most projects don't though, and projects I've put a lot of time can just be ignored, so I tend to stick to just what I enjoy, and everything else is a plus. The centralization to towards facebook/twitter/youtube for discovered is a shame though.
The internet mob doesn't need any help from the justice system beyond maybe a little swatting. The rest just works by threatening friends, family, employer and the rest of a victims social circle. That usually suffices to destroy a person's life thoroughly.
The risk is so incredibly low thought, especially since most of these students will be under 30! There is something important about in-person classes you don't really get online and I'd hate to be forced to be online only.

We've lost a whole year, to a virus that is nowhere near as deadly as anyone thought it'd be, and it will likely die, or we'll reach herd immunity, long before any virus can be safely manufactured.

I feel like a lot of this is fear, hysteria and an completely inability for humans to properly assess risk, mixed with just a plethora of bad and conflicting information.
What are the references used in this study? Have any of them been retracted? How many are from the Henry Ford Hospital itself?

https://retractionwatch.com/2020/04/06/hydroxychlorine-covid...
Hyperlinks are, like most things, a two-edged sword.

If you allow hyperlinks, any Gish galloper could also use that to link to enormous texts of gallops with even more misinformation and half-truths.
> The Constitution you took an oath to defend includes a mechanism for altering it, which is why we no longer have chattel slavery, why women can vote, why we vote for senators, why we have a federal income tax, and why we have presidential term limits, all of which contravene consensus principles among the founders.

Sure. If people want to amend the Constitution to get rid of the second amendment, have at it. I’m not talking about attempts to amend the Constitution or argue in favor of such amendments.

But you don’t have to amend the constitution to whittle the second amendment (or any other constitutional principle) down to nothing as a matter of practice. (Look how we’ve created a fourth branch of government, the largest of them all, without ever amending their constitution.) And if you can’t reference “here’s what the people who wrote this thought ‘the right to bear arms’ meant and why it’s important,” than you enable whittling it down to nothing.

> because to survive, it has to establish that "fuck the beliefs of these old dead white guys" is a uniquely disruptive idea, when in fact it's an idea we've had over and over again throughout our history.

It’s always been a terrible idea, and it scares me every time it mutates into a new and terrible form. Civilized countries don’t work this way. You routinely hear ad hominem attacks on federalism whenever it gets in the way of some attempt to impose nationwide rules. But we’re hardly the only federal republic. Somehow, Canada and Germany manage to take federalism seriously. They don’t give it lip service, they give it due weight. And they manage to govern while accommodating federalism concerns instead constantly re-litigating such a foundational concept.
It's a site that gives references to where it got the data. And it's more than a calculator -- it's an optimizer, that gives the most economical mix of generation and storage to supply a constant power output, using real weather data. Those optimization results show that hydrogen beats batteries for long term storage.

> And this isn't the actual cost of hydrogen storage, only the capital cost of constructing a storage container.

Of course. If you had been reading what I wrote, you would know I know that. The total cost in the model is obtained by adding the energy related cost and the power related cost (as well as the cost of the input energy). And no, the cavern is not already built for you, it's produced by solution mining of an existing salt formation.

Follow the NREL link if you want data that's not behind a paywall. Their numbers are even lower.

But anyway, the basic point I've been making is extremely elementary, and it's remarkable and more than a little appalling that you are unable to understand it. You need to step back and stop embarrassing yourself.
This sounds so interesting! Do you have a blog I could follow the project?

On that same concept I was recently thinking pvc pipes might be a cheap way to build robots. It’s cheap, somewhat light, and seems strong enough for many tasks.

Any thoughts on how to connect pvc pipes up to servos?

Also will your robot need feet?
I was talking specifically about harmony in a musical context as being very western.