skysight-inc/HackerNews huggingface dataset:
> it's not necessary to completely overthrow a government to extract concessions. a credible threat of widespread chaos and violence might tip the scales against a very unpopular policy.

And how often does that actually succeed? The American Civil War caused the South to lose out on slavery, at great cost to its economy; while The Troubles didn't induce the UK to give any concessions it wasn't already willing to give beforehand.

Most insurgencies ultimately fail in their aims, and this is already when we're talking about insurgencies against weak governments and civil societies where monopoly of force is close to nonexistent in the first place.
He's saying that such-and-such is politically unviable, but that's what we were all saying about business shutdowns, too.
What I was going to say. Yes little kids can learn to program, but I think 10 year old me and his shitty programs in Turbo Pascal aren't the standard we should be measuring professionals by.
Staffing Companies Owned by Investors Cut Doctor Pay and Now Want Bailout Money
This will be a good chance for state governments to show how well they function and coordinate absent federal guidance.

Maybe they will form their own federation to circumvent the current federations ineffectiveness.
https://www.bloomberg.com/news/articles/2020-04-09/governors...

That's at least one emergent non-California nation state coming to be. Maybe we could call it the Great States. Toronto can come too.
https://en.wikipedia.org/wiki/Great_Lakes_Megalopolis

Culturally; North Central, The North, Midland, St Louis Cooridor, Inland North, W. Pa.; make a nice package.
https://www.wbez.org/stories/_/9054d7a4-f876-4c53-8ce1-08ada...
I've been using jsonb columns in PostgreSQL recently and have used CouchDB extensively in the past. I find the builtin support for JSON superior in PostgreSQL. There are a lot of nice built in operators for querying and creating indexes is much more concise. I wouldn't call it a side feature at all.
That is the purpose of the Navy, just like all the rest of USA armed forces. They haven't won a war in my parents' lifetimes, but just think of all the trillions of dollars that have gone to armaments manufacturers!
Gliffy[1][2] is a web app for drawing diagrams and schematics of various kinds. You get a large library of shapes - most of UML, classic flowchart, some UI mockups, swimlanes, now also the root of a mindmap - and a few tools for connecting these shapes to each other; the connections are real connections, not lines, ie. they follow after the shape if you move it, and they know when they intersect and can render a "hop" where needed. You get a lot of freedom in styling the diagrams (change color, thickness, a curvature of lines and color, background, font, font size, etc. for boxes and text), and the UI is not that bad. It, however, seems to have some performance issues, because after a certain size the experience degrades and you need to reload the page every now and then.

I know and like pure-text diagramming solutions, but they don't work that well for diagrams designed to span multiple displays in width or height. Or put another way - my editor, as glorious as it is, is not designed for rapid zoom-in/zoom-out on various parts of an 80000x80000 rows/cols text file. I want to be able to work in an interactive environment, where I can rapidly switch between the overall outline view and the focused, detailed view of just a few nodes. Moreover, I need to able to embed (and preview if possible) different kinds of content, from syntax-highlighted text to images to videos, plus it should render natively in a browser (hence the SVG).

My use case for this is putting together a knowledge-base (think Wikipedia, just for my personal data), which would use direction, color, line thickness and kind (dotted, dashed, etc.) to bind related subjects and show the relations between them in 2 dimensions. Feature-wise Gliffy is close to what I have in mind, but it doesn't handle a scale big enough to be called a "knowledge-base" - "infographic" is the most it can produce.

[1] https://www.gliffy.com/

[2] https://raw.githubusercontent.com/piotrklibert/awesome-confi... (made with Gliffy)
Donald Knuth has the opposite view: he thinks recursion is more fundamental. Funnily, he uses an example much like yours.

> On the other hand, recursion is quite fundamental. It is not inherently a high-level concept, suitable only for grownups but not for children. Most people actually grew up with an implicit understanding of rudimentary recursion long before they understood iteration—that is, before they understood how to carry out a loop of instructions. Given a list of tasks to do, the simplest mode of operation is a recursive approach that charges blindly ahead: […]

> It's only after we've gained experience with such an almost mindless method that we acquire a more global view of the process:

> Do Jobs = Do each job on the list. (2)

> […]

> Do a_k for 1 ≤ k ≤ n. (5)

> All computer programmers have in fact progressed from stage (1) to these later stages rather early in our lives, because of an inner desire to “see through” the entire chain of consequences that result from primitive actions.

> Furthermore, once we reached these later stages, we entirely forgot that they were actually elaborations of the recursive procedure in (1). There was no point in narrowing our perspective to the simple-minded form. The vast majority of recursive situations that faced us as children fell into very simple patterns that could readily be “seen through” and understood as a unit. Thus we came to understand iteration as an elementary idea.

> It was only later, when faced with difficult problems whose recursive structure cannot be visualized in straightforward terms such as operations on arrays of elements, that we re-learned the importance of recursion. Therefore we now tend to regard recursion as a high-level concept, although it is really fundamental.

Possibly these views of his are influenced by his early background in programming in assembly/machine language, where it takes some sophistication to translate recursive ideas into code (maintaining a stack etc), but it's an interesting point of view worth some consideration. This is from his draft of TAOCP Chapter 8 ("Recursion"), and is preceded by the following paragraph:

> High-level languages for computing—which themselves are de ned recursively, because algebraic formulas are built up from algebraic formulas—allow programmers to pretend that recursion is real, that a computer is somehow manufactured from recursive components. But programs that invoke themselves are actually implemented by means of a stack structure behind the scenes. A good programmer is able to understand such algorithms by viewing them simultaneously at a high level and at the machine level, and at many levels in between, thereby perceiving what a real computer can actually do well.
I think it’s reasonable to protect retirement assets if means tested, yes.

It’d be an entirely different story if pensions hadn’t been gutted and everyone tossed to the wolves with 401ks over the last 40 years.

If you want to wipe out retirement assets and top it up with social security instead, again means tested, that’d be a reasonable approach. But you can’t tell folks their only option is 401ks and to be diligent savers, and then burn them to the ground out of moral hazard.

The goal is to wipe out investors to whom hundreds of millions of dollars means nothing to their quality of life.
Funny, if I had gotten a PhD in Chemistry back in the 80's I would have worked for a team that was building the precursors of these sort of materials. It was a fascinating research area but I did not want to go to school for 7 more years and punted instead.
Interesting although it seem as though Singapore's "TraceTogether" app was able to work successfully without any of these APIs no?

Tangentially related - Singapore plans to open source their app. There's a few details about how it works here:

https://www.theregister.co.uk/2020/03/26/singapore_tracetoge...

Also interesting to read some of the reviews of the app here:

https://play.google.com/store/apps/details?id=sg.gov.tech.bl...
CuPy is a drop in replacement for NumPy. Ask Numpy why they do that.
Here is the code for the queries: https://gitlab.com/ahachete/pgmongojoins/-/tree/master/post-... Feel free to send a MR improving it.
Presumably taking it off the wall, first?

I don't claim that e-ink has no use case, only that it's bad at displaying photographs. If you mean to argue otherwise, please do so with respect to statements I've made, rather than to ones I have not.
Support means that Apple has APIs for it.

https://developer.apple.com/documentation/appkit/nswindowdel...
In general I share your increasing uncertainty, but I think it is safe to say that understanding a program is made much more difficult once one has the possibility that a variable might be modified outside of the scope it is created for. The idiom of using mutable variables to track the current state of affairs in a loop is harmless up to the point where one or more is passed by mutable reference to a subroutine or impure function; at that point, it has, almost literally, fallen down a rabbit-hole wherein almost anything could happen.
Investing is inherently risky and prices ought to reflect a companies viability and performance. 401ks give a variety of options to reduce risk including money markets, bonds, and stocks in different sectors with diversification options
Recently during work on my cable line, I ran my whole house off of a T-Mobile hotspot on my S10. I was pleasantly surprised as browsing latency actually seemed to be less than cable, and I the FireTV was even able to stream video reasonably well.
> Consent is required and location data is not collected. The technology also won’t notify users who they came into contact with, or where that happened. The companies said they can’t see this data either, and noted that the whole system can be shut down when needed.

I feel reassured now. Everyone else fine with this?
Thinking big, if this works against covid: could it later be used to severely limit or eliminate diseases such as the common cold and the flu?

That would be an incredible win for humanity.
The intended connotation of ripgrep wasn't "RIP Grep" but that it rips through searches, i.e. it is fast. I can't find the comment where he said this but burntsushi can confirm.
From the update section of the original post:

> If you think you might be that first hop person then please get in contact with me at daniel.tillett@gmail.com
I would recommend looking at Mark Rober's channel[1]. He's a NASA engineer turned YouTuber and does (weekly?) live lessons teaching kids physics through experiments. It's really fun to watch (and his catalog of non-live videos are good for kids too).

(I have no connection to this person, I just love what he's doing)

[1]: https://www.youtube.com/channel/UCY1kMZp36IQSyNx_9h4mpCg
This project may be necessary to enable fair elections in the United States and other democratic countries through November. On the other hand if built improperly it could usher in a 1984-style future with gerrymandering, vote-rigging, and huge increases in surveillance based government suppression. When the government is granted emergency powers it almost never gives them back.

Please do not fuck this up.
Why not call strncpy or memcpy rather than exhibiting undefined behavior?
The Fed mustn't be a charity (or criminal) organization. No free lunch for anyone.

If you want to donate, do it yourself. Don't steal from others (by printing currency out of nothing).
Yes but the refresh rate of newsprint is terrible!
Now if only we didn't have to worry about Discord arbitrarily banning accounts for daring to use a third party client..
In an ideal world yes, you only manage one database but no such "jack of all trades" DB exists for the same reason the CAP theorem remains true.

If your Postgres JSON schema modified for new application requirements, the table is locked until existing data is copied into the new schema, requiring applications to be quiesced during schema migration.

Thats a key difference between the two and one area Mongo performs best in.
Is it, in fact, "well within our powers", or do you just believe it is? I don't, in general, believe "we could take this power away from government if we wanted to" is true without an existence proof.
What exactly nullptr is in C++?
It's a succinct and plausible set of positions held by the author, but I'm not sure this one holds up:

"The disruptions in face-to-face work will be a drag on economic efficiency, leading to slower growth in revenues, lower profit margins, and reduced cash flow."

Maybe I've been doing business remote/virtual for so long already that I see actual face-to-face as the economic inefficiency more often than not. Earlier, the author espouses the obvious benefits of being in person, but I think those have been outweighed by the trade-offs for many years already. What many will simply need to adapt to going forward is the type of communication differences required for successful remote/virtual/verbal interactions.

Quality listening skills and straight talk are more important than ever!
It's quite horrible if it becomes a standard API. What a gold mine it is for ad business to be able to tell which groups of people are together. It can be used to track 'idea spreading' as well.
Ask HN: How to start a lending business?
I'd like to start a company that allows people for an easy access to loans.

First scenario: One person in a family lost a job due to lockdown and his/her partner has a stable employment. The employer has a lot of capital and instead of giving people gym passes and other benefits, employer could use that money to give people interest-free loans.

There is no such thing in my country, but I'm not sure how to start. I have no knowable of the business and I'm a bit worried about regulations.

How to start?
I learned a lot of the techniques pioneered by Bernays in school. It was the basis of a lot of our public communication lessons. I'd always assumed these were just things that had been collectively figured out over time, I never realized there was one person essentially responsive for spreading that kind of manipulation.

I wonder what the world would be like if major corporations, governments and just about everybody trying to convince people of something hadn't latched onto his ideas and built modern society around them.
Thanks for feedback. Ya, there is a feature, we are testing right now, when user visits medium article, it can process it and give the result without even copy-pasting.
This is huge. A limiting factor has been iOS not being able to (on purpose, for privacy, and battery life) do BLE scanning (edit: or advertising, thanks Slartie) in the background. I imagine this will enable that for specific apps, and I have high confidence privacy will be well-implemented by Apple's involvement (edit: see tastroder's comment for technical docs). Having a single, well-designed spec for Bluetooth advertisement will prevent a world where there are different contact tracing apps, none of which can see each other. Doing this at the platform level will enable enough density of installs to make this effective at scale.
Nearly 800 million deaths? That's not going to happen, even if there was no mitigation.
One of my favorites:

There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies. — C.A.R. Hoare, The 1980 ACM Turing Award Lecture
This has a very serious potential to be misused to target an individual for nefarious purposes.
How would this contact tracing technology help with vote-rigging?
For how much I understand the need to lower the curve and reduce the R0 of the infection, I start to see also another argument.

We are basically pausing the life of younger people, indefinitely, to protect the elders.

Again, since the quarantine started in my area I exist twice to buy groceries and that's all. So I understand the need and the importance of it.

But should I really throw away on year of my life? Shouldn't we quarantine only the elders? Would your opinion change if you were living by yourself with your significant other locked up somewhere too far away to meet in two months?

And yes I am aware that also younger people died from the virus but the chance are so much smaller that I don't believe is fair to compare it.

The opportunity cost is so much different and nobody is addressing the issue.
So do I. So do the vast majority of people, I bet.
Haskell will accept you !

https://haskell-miso.org/
>widespread testing of the population

So you mandatory test everyone and determine that 28% of the population has been exposed to the virus. Now what?
If they had just closed their borders earlier could this have all been avoided? Seems like that would have been a lot cheaper.

Definitely border restrictions plus testing seems to be effective in keeping it out, see Taiwan.

Once you get enough local transmission going then it didn't matter anymore. Every western country reacted too slowly in this regard.
I'm extremely skeptical of any analysis that discusses political non-viability at this point. If you asked any commentator 2 months ago whether it was politically viable to issue general stay at home orders, or to give every American a bunch of free money, or to pass a multi-trillion dollar stimulus bill, they would have told you no.
If you're doing a scientific workload where you need to process all your vectors before moving on to the next part of the simulation, you're still better off multithreading your vectorized operations even with the throttling.
Could the cons be as incredible as the pros?
tbh that doesn't sound like a Redux-specific problem. That sounds like a general async / stale-references problem. If you've captured a value and try to use it later, then yeah, you're probably going not going to be using the latest version.
In my state (Ohio) at least, protest are starting to form on the legality and length of shutting down businesses. It's still only a handful of people but seems to be growing every day. There is a very slim chance the government can enact shut downs for long and still maintain authority
Y'all need hobbies
Ok so looks like the key to understand is flow diagram from ContactTracing-BluetoothSpecification.pdf page 6 scanning:
CFUserNotification "App would like to access time and duration of your %d contacts. Approve?"

What it looks like it's application framework based on system service I hope they won't start advertising ios bluetooth all the time and only allow application to do it. In that case application can be safely removed.

I am also concerned about cloud Diagnosis_Keys
Sounds like this will only be available for approved public organizations.

> First, in May, both companies will release APIs that enable interoperability between Android and iOS devices using apps from public health authorities. These official apps will be available for users to download via their respective app stores.
Wait what.. apple and google devices can ping over bluetooth? Clearly an apocalipse sign
As long as our political leaders are elected for ignoring science, society will face big problems that we rely on science to keep at bay.
Fair enough, but at any given company it's not the case that all the employees must lose their jobs. I worded that badly. Even so, the collapse is a signal that should not be ignored that the economy ought to be organised differently, basically some people should be doing other things than previously thought.
Re: PC/104: There’s actually a few different variations of it. The original one used an ISA bus, yes, but as new buses were developed, new “versions” of PC/104 were released:

* PC/104: ISA

* PC/104 Plus: ISA/PCI

* PCI/104: PCI

* PCI/104 Express: PCI/PCIe

* PCIe/104: PCIe
It's amazing how the unemployment rate gets treated as gospel in the media. I never see the actual jobless rate reported anywhere. Why is that?

The incentive for politicians to prop themselves up with the unemployment rate is clear. But why does the media never push back? Does "jobless" data - that is ACTUAL unemployment- not exist?
Young people die also when the health system is overloaded.
Url changed from https://daringfireball.net/linked/2020/04/10/klein-normalcy-..., which points to this.

Edit: and then merged into https://news.ycombinator.com/item?id=22832907, which was already going.
115-year-old Supreme Court opinion that could determine rights during a pandemic
Trump flip-flops within one briefing, let alone over a few days.

He'll be saying America's got the bestest, most wonderful, mass-testing that he helped invent and he'd always said mass testing was the way to go within a week or two and everything else is fake news.
I guess you could call APG-73 "modernish" radar. But it was first fielded in 1993. The oldest of US Hornets moved off it a couple years ago.
So if I've been working 40 years, have a strong 401k, and am doing fine now I should get my savings wiped out?

You're arguing all sides now. I didn't propose a policy that would greatly harm retirement savings, you did. You proposed protecting 401ks with government backing. I stated that doing so would be a boon to the top 20% at the expense of everyone else.
What's here under discussion is contrast ratio - not contrast between the image and its surroundings, but contrast between the lightest and darkest tones that can be represented within the image itself. Another term would be "dynamic range", if that helps; "contrast ratio" is how the concept is typically expressed in the context of raster displays, so that's what I've gone with here.

Under either name, it's a major figure of merit for quality of image reproduction, and my point is that e-ink, being worst at it of any raster display technology of which I'm aware, is thus a very poor choice for displaying images if quality of reproduction is a criterion.
Of course it’s potentially rife with abusive power. And we need to make sure that this is a very temporary thing (admittedly it’s hard to put the genie back in the bottle). That said, you can’t advertise to the dead. There’s a very real need here, and some governments are off doing this on their own anyway. I do believe that at least Apple and Google combined can come up with a solution that has some amount of privacy protection that a state actor would never bother with themselves.
This issue was addressed by the original UK policy that they about-faced on. Why? Because although it does not tend to kill young people, it does tend to put them in the hospital, and we cannot handle that many people in the hospital at once.
I am much happier Apple is in the mix here, versus say Google x Amazon. Will that be enough to reign in the privacy concerns though, who knows
I don't agree.

Telling people to write in kernel mode if they care about performance isn't realistic. For most people that would mean completely rewriting their code from scratch, foregoing high-level software stacks and languages, giving up on most databases, giving up on all manner of tools and techniques for high-velocity software development, giving up fault tolerance, dealing directly with fiddly hardware issues (when do I need a TLB shootdown?), etc.

Whereas disabling spectre mitigations is a one-line config change.

For use cases where local system security really doesn't matter (of which there are a lot, let's be honest), a one-line config change for a 25% (or whatever it is now) performance boost is a pretty damned good deal.