skysight-inc/HackerNews huggingface dataset:
yes, at scale this turns the database into the bottleneck. this is not strictly a downside though, as it means you can centralize ownership of your database to one team of experts who can handle optimization, capacity planning, sharding, multi-tenancy, security, monitoring, etc for everyone. most product teams do not and should not need people with that expertise, so if you have multiple products or services running into scalability issues this approach can be a far more cost effective way of solving them than having each product or service handle these issues independently.

while they do not use the term "data-oriented architecture", many of the largest web companies use what is effectively this approach and have teams dedicated to building and maintaining a shared data layer. some examples:

google - spanner

youtube - vitess, migrated to spanner

facebook - tao

uber - schemaless

dropbox - edgestore

twitter - manhattan

linkedin - espresso

notably absent is amazon. amazon has taken the full blown microservices approach where anyone can do whatever they want. worth noting is that amazon is in a very sad place when it comes to data warehousing and analyzing data across teams/products/etc. while the shared database approach is strictly intended for OLTP use cases and explicitly not meant for OLAP use cases, having a common interface to all data and something approaching a data model makes it extremely easy to replicate all your data out into a data warehouse or data lake or whatever you want to call your system for your OLAP workloads. with the 'every service has its own database' model, each team has to be responsible for replicating their data to analytics systems, and that is usually not super high on their priority list relative to product features. this problem is magnified when people from a different team want to consume data from that team's product/service but the team producing the data has no incentive to make it available. in large organizations (including amazon) this is a huge issue for teams who mostly do analysis, reporting, marketing, and other activities where they primarily consume data produced by others.
I'm not a ruby developer but the actual problem seems to be the default file encoding.

There is a detailed blog post[1] about it, adding a lot more to understanding what's happening. More than a blog post about how a diary entry as a commit message made somebody feel.

[1]: http://graysoftinc.com/character-encodings/ruby-19s-three-de...
When this happens to me, it always feels like I'm about to fall forward. The best I can describe it is as the feeling that I just took a step forward but instead of my foot finding the ground, the surface I was walking on ended (as if I stepped off a ledge or something).
Not only can happen, this is often what happens by default.

You go to a doctor, then the doctor and the insurance have several months of ping pong during which you get about half a ream of "This is not a bill" documents that show a different set of things with different dollar amounts every other cycle, and then eventually you get an actual bill for the largest amount.

If it's wrong, you can spend another year fighting them to fix the billing codes.

It's a total shit show.
This is a minor inconvenience for things like reddit, but the trend has also arrived at the webportal for my bank ("upgraded" to some sort of React thing, meaning it now takes 10x longer to load) and my cell provider (site no longer works in Firefox as of last month; error message: "check that you're connected to the internet!").
I think many countries could benefit from home testing.

The US is perhaps just easier to trial this technology for the Gates foundation, for whatever reason.

Perhaps the plan is to trial/roll this out elsewhere if it succeeds.
If you’re looking for a more practical algorithm: this problem can be formulated as a shortest path problem on the graph whose vertices are (n, fret, finger, string) tuples. A simple dynamic programming solution is to fill out a distance table whose entry distance[n, fret, finger, string] is the optimal cost of the prefix of the melody ending at note n, which can be computed as 0 if n = 1, or in terms of the entries for note n − 1 if n ≥ 2.
If you're referring to the impact on astronomy, I'm not sure it will be so bad. These ones that are visible have not yet moved up into their working orbit, and most of them will be coated with an ultra black coating in the future, and they are small, about the size of an office chair. Furthermore their orientation can be changed on demand to adjust their albedo for astronomy experiments. They are self deorbiting at their end of life. They are only visible because of the low orbit and during the few minutes when they are lit up by sunlight shortly after dusk. A few minutes after that, they pass out of the sun's illumination and blink out. And whatever negative effects you seem to think there are (not sure what, the astronomy was just a guess), there are also positives balancing that out. Imagine having cheap internet everywhere.

>And still no say in it.

The FCC and the ITU have a say.

>I hope China decides to shoot them all down

That is a less than stellar idea because of the randomly oriented harmful space debris it would create.
What “greater good” are you talking about? You think people just love Bill gates so they want to live in a dystopia for him? Is the “greater good” Bill Gates’ bank accounts that keep getting bigger every day, despite his perpetual generosity?
Then you dont have a sustainable business model.

Why should I subsidize your failed model ?
Er... they're suggesting that we brand sociopaths and basically ends it at that. I'll pass on a world where having a bad day could lead to enforced disfigurement.
If SPAs are the dark ages then what do you call the IE6/7 jQuery days?
Well, I completely disagree. Compared to developing sites 15-20 years ago, I think it's a walk in the park now. I feel like I can achieve far more with less code, the tools are more powerful, the code is easier to read, and there is much more consistency across browsers.

Did you want to make a box with rounded corners?

We can do that now... <div style="border-radius: 5px; border: 2px solid black;"></div>

It's intuitive and easy to understand. Try that 20 years ago. You're designing that in Photoshop, slicing up images for each corner, placing them into countless HTML table cells, messing around with all the table and cell heights, widths, paddings, margins, and borders, and struggling to get IE to render it correctly. That could have easily been an hour of work, and it would have resulted in a mess of images and inflexible code. Now, it's one line of code and 10 seconds of work. Did you want to fade the color of the border to red when the user hovers over the box? We can do that with two lines of CSS now. Good luck trying to achieve that in the past.

What do you mean thousands of lines for a responsive/mobile CSS layout, and no simple HTML?

https://www.w3schools.com/html/tryit.asp?filename=tryhtml_re...

There, it's a site with a header, footer, navigation, three columns, and it's responsive. 36 lines of CSS and 36 lines of HTML. Add 5-10 lines of CSS to reset spacing at the beginning, and that could literally be an entire responsive website.
You're not thinking clearly here. Home disease tests in the form of a thermometer are very common; the "next steps" you describe simply don't happen outside of pandemic situations, even though there's no technological or legal reason they couldn't.
I think an SPA can be much more user-friendly than a traditional series of server-rendered pages.

Email is a great example of this - GMail, at launch, had much better UX than existing server-rendered applications like Hotmail.

You can find bad UX everywhere - in SPAs and server-rendered interfaces alike - but there’s nothing implicit to SPAs that reduces usability.
Covid-19 Fatalities Dashboard
It happens all the time here; it's ridiculous.

At my company's last benefits meeting (where they go over the yearly changes to our insurance coverage) a coworker described a situation where they had a surgery at an in network (accepted by our insurance) hospital, with in network surgeons and nurses, but was assigned an out of network anesthesiologist without his knowledge, and later got a giant bill for it (well over $1000, IIRC).

Even when a person tries to follow all the rules, they find a way to screw you.
That reminds me of the opening to The Great Gatsby...

In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since.

"Whenever you feel like criticizing any one," he told me, "just remember that all the people in this world haven't had the advantages that you've had."
Exactly, so while the authors are ringing alarms about the particles from a health POV, they might be a irrelevant to that threat, but a major threat to certain ecosystems, or nothing at all.

Certainly bears good investigation, but far too soon for conclusions (an I'm usually biased towards acting based on Precautionary Principle, but this just seems far too indirect to even make assumptions, let alone conclusions).
I worry but I don't accept reddit's panicky "70% will be infected + 4% death rate = 150 million deaths"

I even think the 500k death in the US is too much

https://www.businessinsider.com/presentation-us-hospitals-pr...

>Lawler's estimates include:

>4.8 million hospitalizations associated with the novel coronavirus

>96 million cases overall in the US

>480,000 deaths

Once again I'm not downplaying it but I think we will be closer to the 1957-59 asian flu which had 70k deaths in the US and 2 million global BUT maybe that's even too much https://en.wikipedia.org/wiki/Influenza_A_virus_subtype_H2N2
Are you not able to use their C++ compiler to get modern features? My understanding is that C++ is a superset and that a C++ compiler is also usually a C compiler. Is this view incorrect for modern implementations?
Yandex is definitely the superior reverse image search, but I find that it isn't very good at finding the original source of an image.

It's results are often inundated with sites that clone/mirror/archive original content sites, yet somehow fails to include the original source
The game is also on the bbc, for anyone feeling nostalgic for the BBC Micro game. I spent many frustrated hours dying in that game as a child.

https://www.bbc.co.uk/programmes/articles/1g84m0sXpnNCv84GpN...
1a) I wasn't involved in the initial decision to switch, but gather it came down to expense and some unsupported perforce-related tooling.

1b) Absolutely! The switch from p4 could've been smoother, but git and access to the associated ecosystem is far ahead of Perforce for everything except storing binaries. We've been abusing p4 by storing electronics CAD files and similar, and do need to put some effort in to a new solution there. For source code, git (and the ecosystem of modern tooling it gives access to) is a huge improvement over p4.

A particular improvement has to do with network latency. Working from halfway around the world, I notice that p4 operations involving many files are very much slower than the similar git operations.

2a) I wasn't involved, but the particular project mentioned above had moved within the depot at some point, so guess the conversion tool that was used to move it couldn't manage that move. I intend to rebuild the older history in git, then see how viable it is to use git-replace to stick it on the beginning of what we have now.

2b) Yes. However, nontechnical concerns dominated conversation by far - to the detriment of the technical concerns.
Late Xeon Phis had 16GB of HBM around the die. It could either complement or mirror main memory.
Stopping the world economy will kill many millions more people than COVID-19 could dream of
There is absolutely not tons of data, the CDC and FDA have been trying to manipulate the infection figures by preventing people from being tested. Have a look at this thread from a former FDA commissioner, which was posted on Feb 2(!) https://twitter.com/ScottGottliebMD/status/12240422206653071...

It took another month for things to seriously change after that was posted. South Korea, a nation of 50 million people, has tested 150,000. The US figure is hard to track but it's at around 2,000 right now. There are almost certainly thousands of people in the US who are infected but have not been tested.
They're probably incentivized towards erring in favor of false positive results (in order to avoid liabilities) thereby contributing to the panic element around this virus.
Twitter's redesign is one of the most performant SPA's I've seen in a while. It's really smooth and nicely designed too. A lot better than their previous webapp.
Korea is doing drive-through testing with results available in three days. [1] That the US is still at the level of doing testing in a private and haphazard fashion is effectively criminal and seems likely to have a serious impact fairly soon. The US had a difficult time even testing all the workers at the nursing home in Washington where 11 people died.[2]

[1] https://news.sky.com/story/coronavirus-south-korea-uses-driv...

[2] https://www.nytimes.com/2020/03/07/us/coronavirus-nursing-ho...
The DOA in this article is not the same data orientation the game industry talks about. This article has nothing to do with storing your data in arrays for tight looping.
Note that GP _isn't_ criticizing the home testing, or the fact that Gates is distributing home tests in the US.
Most people's basic principles aren't particularly related to how rich Bill Gates is.
Cache can already be made directly addressable (cache-as-ram mode). But outside of some niche solutions that's mostly done during boot due to the limitations of that mode and cache being too valuable.
Does that take into account cargo space?
Kiwi has rebranded itself from Skypicker. It's a flight (now other modes of transport) search engine.
Hate to break it to you, but nearly all governments are led by idiots who don't know anything and don't care to know. Becoming a non-idiot is hard, time consuming work that's incompatible with politics needed to get elected into a public office.

At least our executive branch had enough common sense to ban flights from China on Jan 31st (and was panned by the "free press" and Democrats in congress for it at the time). Had they not, we'd be dealing with tens of thousands of infections and thousands of deaths by now, as exemplified by Italy.
> Python is not the best choice here but little can beat go's scp deploy

Java is pretty damn close to that if you take the route of building a shaded jar (and embedding jetty if you need a web server). You need to install the JVM on the target server but that's all.

> Tell that to every library that relied on java EE being shipped with the JDK. A lot of the reason to use Java was these libraries that are, if you're lucky, in maintenance mode.

I don't think I ever saw a library like that? There's a huge, high-quality ecosystem of open-source Java libraries and I've never heard of any of them being reliant on Java EE.

> This project was greenfield but the problem domain is plagued by legacy constraints (all the way back to mainframes). "Rebuild from scratch" in a nicer, newer language would take years compared to a runway measured in months, so you do the math.

Sure, but you can't say this project is an example of when Python is a good technology choice if really the main reason you were using Python was because of legacy constraints.
Write an book and self-publish it on Amazon KDP, give it away for free for three days so it has a chance to climb the amazon algorithm ladder.

It can be anything: fiction (romance/thriller/novellas) or nonfiction: how to books on the skills you already have.
I would run a couple standalone couple hepa aircleaners as well.
Low oil prices makes it harder to compete for other energy sources.
I chuckled when the papa johns peeps were freaking out about having to pay for medical care for employees - what was the statement? 'If I have to pay for medical care I will need to raise the price of pizza by 10 cents for every pie!

I chuckled and thought to myself, I would gladly pay an extra 50 cents per pizza to know that the people there have a doctor and access to advice and treatment. I would buy there instead of the roma pizza down the street if the other place did not have health benefits.

But, it takes more than that. It take having paid days off too. It does little good for a doctor to tell you you are contagious and need rest for 5 days if you can't afford to miss one (much less half of one to go to the doc)

The best drugs for cough aren't hardly available any more anyway (the war on opiates has become a war on doctors and pharmacists and they sick).

When it costs $22 an hour to live here where I am at, and food people are making $10 an hour - I don't know why anyone is surprised that most people making our food, day caring the kids and other important functions are not healthy, and using these services is risky.

Of course many people using these services have little options too.
On the other hand, this idea is the fastest way to level up your "tech tree" in one specialization.
Made in Italy attracted a lot more Chinese to Italy than Made in Germany.
There's no excuse for not reading, comprehending, and remembering the Emergency Airworthiness Directive. Put another way, would you be comfortable flying with a pilot who did not pay attention to EADs? I wouldn't.

Furthermore, the LA crew on the flight immediately preceding the LA crash experienced the same problem, and simply restored trim and turned off the stab trim system, and landed safely. They had no knowledge of MCAS. No extraordinary feat of airmanship was required. No lightning reactions were necessary. They simply remembered what the cutoff switches were for, as they were supposed to.
I don’t understand for the life of me why any American (I am one) thinks that the status quo where your insurance is tied to your job isn’t insane.
elected representatives aren't perfectly rational robots that take in each of their constituents' inputs into a fancy weighted matrix and produce a vote accordingly and without concern for anything else. in fact, a big issue is that upon assuming office one's priorities can (and often do) immediately shift so far as to essentially ignore whatever was promised while campaigning - there aren't exactly contracts or anything. it's not uncommon to just blatantly lie about what you'll (not) do then do it, especially if maintaining/increasing power level is on your list.

a better analogy would be something like: your options are ordering one of a few dubious multi-year long supplies of food [politicians] from a couple of entrenched vendors [parties], without any real assurances of what's under the covers [promises, etc.], and with a hefty dose of marketing and falsehoods surrounding all of them [us vs. them, tribal stuff]. or trying to do it all yourself [run for office yourself], which is a huge undertaking and draws ire/counter efforts from all the established players.
I was thinking about this recently a lot as in my experience the difference in the API is often a major source of overhead (not necessary complexity).

- I think a major problem is in the difference between the way you can layout thinks in the storage layer and your application.

- Another is where to evaluate correctness (e.g. in service checks + DB-system constraints, etc.).

- Another major think is that different actions/taks take different slices of the same data. One area where dynamic typed languages can have a clear benefit.

- Different actions/tasks in the same system work better with different representations.

---

What I currently think is helpful is to:

- learn from Entity-Component Systems (from Games) for slicing data of the same entity. (but can lead to problems with consistency across slices, transactions can help if doable).

- I would love to have a DB which can somehow do algebraic data types/sum types/tagged union/rust enum (all different words for roughly the same concept).

- Be very strict about preventing coupling of internal state, mixup of service responsibilities in logic/endpoint _and_ mixup of this responsibilities in data. Which e.g. means that e.g. you avoid any FK between schemas owned by different services, even through it often seems usefull at the beginning.

- Have a _system wide_ schema for all entities split up into small slices which if combined together from the entity and only use that schemas in the system no service specific schemas.

- Specify this schema somewhere, preferably generate data types and similar from it, preferably have some opt-in strict schema validation (enabled during part of testing).

- Use events for communication, use the schemas from above here, too.

- Have a well defined way to represent "patch"/"update" queries, I have run to often into the problem with JSON of "reseting/deleting" a values vs. just not changing it (null value vs. field not given) and/or nested optionality.
Same question, and I wonder why much do they cost too.
> At the other end is the Middle Eastern countries. Monarchs and despots have largely enriched themselves and their families at the expense of their country and their people.

Iran nationalized their oil industry, and they got a CIA-backed coup for their troubles.
I would feel a lot more comfortable if the USA had a testing setup like South Korea (where they have performed something like 500 times as many tests per capita as the USA, and then done aggressive isolation and contact tracing for positive cases).

If it were up to me the federal government and state and local governments would be closing schools, closing nursing homes to visitors, canceling church services and sporting events, figuring out how to make transportation less risky, closing restaurants and bars to customers and drafting those workers to make deliverable prepared meals instead, recruiting childless people aged 15–40 into temporary (paid) public service jobs, doing everything possible to guarantee sufficient supply of protective equipment, taking every roadblock out from researching antiviral drugs for treating positive cases, etc.

Governments should be figuring out how to guarantee anyone with untested minor colds to stay home from work without losing pay until they can be tested; figuring out how to temporarily relieve rent, loan payments, and taxes for people quarantined or with jobs in temporarily affected industries; preparing to distribute food, medicine, and other items to patients in quarantine or isolated at home, and so on.

With a robust public response it should be possible to dramatically slow this virus without completely collapsing the economy. The fallout (not just illness/death but also economic impact) from all the cases hitting at once within a few weeks is going to be much more worse.

I’m not sure exactly what the best responses would be, I’m just spitballing here. But it seems to me we should have been thinking and talking about possible extreme measures for the past 6 weeks instead of collectively twiddling our thumbs and going on with our ordinary lives.
I had this a couple of times when having a nap. I call it the cracking of the sun.
Or unpredictable oil prices making oil burning energy more risky.
Renewables compete against the long-term oil price, not the spot price. If the Saudi are offering long-term cheap oil I haven't noticed.
Do you like (sweetened) birch? Why or why not?
The Wild Wild West!!?
I remember doing jquery/ajax calling an API and while it was easy to churn out spaghetti or long js file code, it was still easier to read and pick up a few years later.
It was an explicit condition of the contract. Not sure if it is legal though.
I think that the argument “it never works like that” should be coupled with at least one data point.

I don’t think it’s helpful to dismiss other commenters based upon simply your opinion, and not a set of facts we can all inspect together.
While I’ve never heard this before, I did have a rather unfortunate chemically-induced experience that viscerally explored this idea in more detail.. :-)