skysight-inc/HackerNews huggingface dataset:
I'm not familiar with Keycloak. I glanced at their docs briefly, and it looks like Keycloak manages your users for you?

WorkOS only handles SSO, so all of our users are still stored in our own database. This is one of the big reasons we went with WorkOS as opposed to something like Auth0 or AWS Cognito.
It's the other way around: bulk mail is incredibly cheap to sort, route, and transport, and it's that which subsidizes your hand-addressed letters.

The USPS literally has a service "deliver this flyer to every residential mailbox in this ZIP". It's cheaper per-item than a letter, yes, but the margins on "stuff a bunch of identical objects into N boxes" are much higher than "figure out which of N boxes this 1 unique mailpiece goes to".
> the two are diametrically opposed

Your (1) is effective advertising that works, and your (2) is ineffective advertising that is a waste of money.

It is perfectly OK to know that both exist, and to argue against both.
Yep, I agree that's a key point. It's easy to confuse big picture language with "nothing concrete" but a lot had to happen behind the scenes before this ever went to press. I'm personally optimistic because of this under-appreciated factor among many others.
Well, this Western States Pact is a result of lack of leadership at the White House and federal level. They feel the US government is not doing enough, so they took the matter into their own hands.
Care to put a timestamp on that?
Stay at home is doing enormous economic damage, which indirectly will cause more deaths through decimated budgets of social and health programs. Especially in CA where high progressive taxation amplifies the impact of recessions.

So there's a lot of pressure to reopen but no political cover to do so. I think the entire point of this pact is to provide that cover.
Exactly, this seems like an friendly handshake agreement to cooperate with an official name and press release.

OTOH, pacts like the popular vote compact signed by some states in the past few years is almost certainly unconstitutional.
Haha was wondering if I could try to make sense of it... couldn't, saw your post, decided to take another look at the origin.

For anyone interested it sums all integers from 1 to 1000. Written as a benchmark for different languages.

Maybe the terminator was running a benchmark in those scenes :P
Also, travelers from Italy and Spain have been able to enter quite freely.
Regardless of how sad a situation this reflects, I regard it at least as a positive sign of some resilience of our federal structure.

Criticize the state/federal model though you might for how it sometimes dilutes the ability to get things done in a unified way, at least in times of national or federal-level dysfunction, the people who can step in locally to provide some guidance and coordination are able to do so, and not actually be stymied or prevented from doing so by some authoritarian framework.

Imagine instead if we lived in a country with more organized / powerful central control, but was both authoritative and incompetent. We would be really fucked.
I'm curious: Was that the law before the pandemic? If so, couldn't the pandemic be a good reason to campaign to change the law so Oregonians can pump their own gas?
What kind of response to this are you hoping for?
Sorry, I wasn't as clear as I should've been. I updated the comment to clarify. It's not that I don't want to pay bills electronically. It's that my bank won't let me. So I assume the only other option is some kind of third party, similar to paypal, if that even exists for this kind of thing.
Sure there is. The Western States Pact is the plan B.
Naive question: how is this better than each of these states doing its own thing (even if those things end up looking similar)? What does California gain by teaming up with WA and OR, for example?
Shelter at home is very different from controlling interstate travel. I agree on the latter point.
This. When I figured out you could edit the directory listing like a file and then have Emacs apply those edits I felt like I had acquired superpowers.

Actually I generally feel like I have superpowers when I use Emacs. The feeling was stronger than usual that day.
"Hosted on AWS" is gonna backfire on you. This basically opens you up to people misusing it to drive traffic costs for you and you end up paying a lot of money for it.

Better to find a host where you're not paying for traffic and you can have a dedicated host.
> If only we had some sort of united group of all the States, where the response could be coordinated and centralized for maximum effectiveness.

We do! It's called the United States government. I'll be letting the president know you're interested in him taking over and using his own ideas, instead of this one you seem to be particularly fond of.

Or, if that idea is slightly terrifying for you, perhaps it's a better idea that the states are handling this themselves. Your state conglomeration thing can always decide to use the National Guard to prevent outside travelers.
I presume it's an observation, not advice. That often those who are called exceptional have some skeletons in their closest. That there are more statues of Jefferson Davis than Harriet Tubman.
It's amazing the lengths people go to reduce things into two dimensions.

popular and quality product vs cheap junk and snake oil (and presumable unpopular)

An honest person would note all possible combinations in their simplified model of businesses seeking advertising

1. popular products with bad quality

2. popular products with good quality

3. unpopular (or unknown) products with good quality

4. unpopular products with bad quality

And of course the real world is more complex than this.

your analysis is bad and wrong.
They should do a shared healthcare system as well. The future is states working together on their own thing, while letting chudland sink further into poverty.
Honest question: did Trump have the legal authority to shutdown the states even if he wanted to? I thought this decision was always up to the governors themselves, and that the federal government didn't have any authority to ask for a shut down within each state.
I hope so, man, for our country's sake. Every day we're together is a second chance at making things right.
Well when our federal government basically screws the pooch it's up to individual states to work together to limit the spread. And since most of the state governments seem to not really care about the health of their citizens, it makes sense that there would be small groups of states that do. Honestly I assumed that if the outbreak got really bad the PNW would eventually secede from the union because the federal government wasn't providing much aid. But this is a lot better than that.
When pumping your own gas, you touch a pump handle and card reader that have been handled by hundreds of other people in the last few hours. Is that any better?
> very few players (on the supply and demand side) have the scale and ability to properly do incrementality testing.

https://support.google.com/google-ads/answer/6394265

Actually Google is preparing it as a product, so I would guess the result was generally positive? FB also has a similar product as well.
COBOL was unstructured. Not like (say) C or Pascal.

Modern languages are structured. Older languages like COBOL or BASIC, being unstructured, lead to what used to be called 'spaghetti code'.

https://en.wikipedia.org/wiki/Spaghetti_code

Unstructured code was deprecated in the 70s and 80s after the famous 'GOTO considered harmful' paper by Dijkstra.

https://homepages.cwi.nl/~storm/teaching/reader/Dijkstra68.p...

COBOL's other 'drawback' was its verbose code. I use 'drawback' in quotes because I always found that its verbose nature meant you could pick up a COBOL program that you hadn't looked at for six months and immediately know what was going on.

example:

ADD WORK-HOURS TO OVERTIME-HOURS GIVING TOTAL-WEEK-HOURS.

rather than

z = a + b;

Although, because of my COBOL experiences, I tend to do something like this:

total_hours = work_hours + overtime_hours;

which is more wordy than normal C but more terse than COBOL.
a 6502 backend for LLVM has been attempted a couple times[1][2], but the fact that the 6502 only has three registers imposes severe limitations w.r.t. LLVM's calling conventions.

[1] https://github.com/c64scene-ar/llvm-6502

[2] https://github.com/beholdnec/llvm-m6502
Definitely. I already added the option for the room creator to limit who can change the video. Will keep the education use-case in mind for future things like this! Thanks for the feedback
Analyzing GCP Egress Volume and Cost with BigQuery and Grafana
Spoken like a cityfolk.

In the more rural parts, mail is very important. Cutting it down to 1/week is terrible.
Is it? They're each deciding, independently, to handle their electors in a certain fashion. They each have the right to independently change that decision, without any penalty for doing so. It's not a binding agreement with another state in any fashion.
Many organizations have terminal servers which are already internet-exposed, so this is relevant in the sense that it gives you a DDoS mitigation plan while not making those people more exposed than they already were.

That said, they should have more clearly linked this to Access which lets you put a login requirement in front of those tunnels:

https://developers.cloudflare.com/access/ssh/
I wrote a small thing with gtk and zig a while ago, it feels like magic to just import a C header and have it work, and the experience is generally very good, especially for such a young language, and any problems i had figuring things out, I found the community very friendly in helping me.
Yes, I agree with everything you just said. I took "Managing the flow of bodies" as a facetious comment implying the path we're on meant catastrophic death, which is why I attempted to clarify.
Instead of "mini-country", I would call just call it a group of united states.
`qmv`, `imv`, `qcp`, `icp`, and friends from the `renameutils` package come in handy. I use `qmv -f do ...`
with `EDITOR=vim` quite a bit.
Except that in a federal system like the United States each individual state government can mount a real response like we've done in Washington where the epidemiological curve has flattened significantly in the past 3 or 4 weeks versus where it was heading before we began social distancing.
> National Guard drills, deployments, and contingency planning

That seems pretty far-fetched.

Much more likely (and welcome) would be a sort of "legal coup", where the states that still have functioning governments band together in the task of reshaping the federal government through voting and legislative power.

We're certainly approaching a breaking point in the dysfunction of the federal government and its inability to do its job and serve a society; something has got to give. But I still think any kind of civil war scenario remains far, far out of the question.
I was just talking to someone yesterday about impaired vasodilation as a possible explanation for why people are dying at such high rates on ventilators. I'm hopeful that we will soon have some better treatments in place that will make this infection less deadly and thus less of a boogeyman.
I drove through oregon a while back for the eclipse for the first time ever. I'd already filled my tank a quarter of the way by the time the attendant came out and yelled at me. I was so confused.
>I had a USPS package delivered signature required. They just left it in the mailbox.

What did the signature show up as? Was there no signature? Did the postman sign himself?
Because a reliable communications network is a public good, and cutting off millions of poor Americans from critical services is a despicable way of remediating whatever vague injustices the USPS is perceived to be committing against taxpayers.
Shipping next week in Riot "stable" already? Does that mean that also device verification will be functional by then? That would be fantastic (and also pretty impressive, given that it is unfortunately still entirely non-functional in the develop branch right now)!
From article 1, section 10 of the U.S. Constitution:

"No State shall, without the Consent of Congress, lay any Duty of Tonnage, keep Troops, or Ships of War in time of Peace, enter into any Agreement or Compact with another State, or with a foreign Power, or engage in War, unless actually invaded, or in such imminent Danger as will not admit of delay."

This scares me a bit. This agreement seems innocuous at first, but the constitution expressly forbids these (and all) kinds of agreements between states for a reason. A small pact like this today could tomorrow become leverage for secessionism or otherwise a power struggle with the federal government.
A lot of BBC BASIC programs, doing real work (e.g. Mandelbrot drawing etc.), should have a shot at 10GHz. Games are slower because they are hammering hardware registers external to the JIT (sound, graphics, keyboard polling, timing, etc.)

My laptop is an ancient 5th gen i5 with 2 keys having fallen off, so games are down in the 2GHz - 3GHz range for me. (Perhaps the missing keys make all the difference.)
"until pins stop wiggling"?
None. Ideally someone would investigate the history of advertising and why it has become the multi-hundred billion dollar industry that it is. Ideally someone would investigate with curiosity: why do these businesses spend so much money on advertising? What benefits do they get from it? Given that it's such a significant industry, what would the economy look like in a world without advertising? They might also ask themselves with some degree of introspection, if they have ever been persuaded to purchase a product or service on account of some ad and been satisfied with said purchase.
Is it, though? Run your states the way you want to. Maybe your comrades in Texas prefer a running economy to lives. This is a good thing that you can make that choice.
I carefully avoid WebGL, because it's an over-the-top fingerprinting risk, even for different VMs on the same host.

So I'll never see this. And indeed, nobody who cares about privacy should ever risk it. But so it goes.

Edit: I'm not making this up. I actually tested. Multiple Debian family VMs on a given host have the same WebGL fingerprint. As do multiple Windows 7 VMs, multiple CentOS VMs, multiple MacOS VMs, etc.

But each group has a different WebGL fingerprint. And the same Debian VM has different WebGL fingerprints on different hosts. So I'm guessing that reflects the combination of physical graphics hardware and virtual graphics system.

That's a huge gotcha for people who compartmentalize in multiple VMs.

If someone cares to explain why that's not an issue, I'd love to see it.
Landfill costs are close to negligible.

Tax subsidies for renewables, at least in the US, are small compared to the levelized cost difference with nuclear.

If you look at Lazard's levelized cost of energy report, where wind is far cheaper than nuclear, they assume a 20 year lifespan for wind turbines. This is not unreasonable.
One very cool feature of Zig is that it supports calling async/await from any function [1], not just async functions, which avoids the famous function coloring problem altogether.

[1] https://ziglang.org/#Concurrency-via-Async-Functions
Yes, it was withheld for several days for Michigan:

https://www.metrotimes.com/news-hits/archives/2020/03/28/aft...
States make pacts all the time, without federal congressional oversight.

https://en.wikipedia.org/wiki/Interstate_compact

In Virgina v Tennessee, in 1893, the Supreme Court allows states to make compacts in all matters reserved to the states and the enforcement of which does not encumber federal rights.

And for the most part, at the consent of Congress, states keep armies and air forces (and many keep navies) as guaranteed by the second amendment.
This is completely unsurprising. Ticketmaster's entire business model seems to be monopolizing ticket sales and then gouging the consumer, so one last stick in the eye from them seems in character.
Smartphones are essential. $1000 smartphones are luxuries.
There's no such thing as "competitive rates" to a lot of the rural USA because nobody else is required to go there, so nobody does. Instead, they let the taxpayer fund those package deliveries while Bezos is swimming in money like Scrooge McDuck. You don't have to carry water for him just because he owns WaPo.

And to add insult to an injury, the mandatory service such as first class mail is priced below competitive and cemented that way by law. It's as though certain people in US Congress want the USPS to be insolvent, and ultimately nationalized / tax funded.
Maybe so, but please don't use HN for ideological battle. It's predictable and tedious and off topic.

https://news.ycombinator.com/newsguidelines.html
It's still too easy to steal
Sorry for being naïve: What is handshake-dns useful for-- is it like dnscrypt? Is it mainstream enough to matter yet?
by "sleight of hand" of are implying Conway isn't being honest ? I think he was entirely sincere.
You can use disposable gloves and you aren't interacting directly with someone who may do something like cough on you.

I would say "Definitely yes."
You have no idea how crazy you sound as a European lol, the most straightforward way to put it is you're using an anonymous account on a website to dunk on someone in the comments section for implying they may care about avoiding infection during a pandemic
Show HN: React hook to set and get refs dynamically
> We need to see a decline in the rate of spread of the virus before large-scale reopening, and we will be working in coordination to identify the best metrics to guide this.

What's the end game here?

If you slow the spread, and then reopen, it'll spread again. Nothing will have changed, you'll just have delayed it a bit.
Or a restaurant with a smoking section. Right next to the non-smoking section.
Oregon has already lifted the restriction on pumping your own gas, for exactly this reason.
In 2000, I was working on a large Solaris x86 system. It was a daily struggle to get and keep anything at all working. I needed a VNC server to hold state across laptop crashes, sleeps, wifi glitches, etc. I chose FreeBSD because I just needed one thing in my work life that actually worked. I loved it then, and I'd choose it again today.
Christopher Schmitt has passed away
I'm a position trader, I don't really look at timestamps of Level II data. I only have to understand the fundamentals of any market I invest in. Day traders and scalpers/algo are the ones you want to talk to about timestamps.
I doubt they're going to support adblocking as a first class citizen.
> Legally, is this possible in the US?

What in the US is legal has changed radically in the last three years.
Yes, multiple times. No harm in asking again though - newer businesses launch all the time, people who didn't want to share before might want to share now etc. Everyone learns and benefits.
> Your state conglomeration thing can always decide to use the National Guard to prevent outside travelers.

The National Guard serves a dual role. Most of the time, it’s under the control of individual states, with the state governor acting as commander in chief. However, the president can activate the National Guard and place it under federal control. When this occurs, guard units are used to supplement the regular Army, bolstering its forces with additional combat units. [1]

1. https://science.howstuffworks.com/national-guard.htm
Oblique Questions
Yeah, the hope is to ship in stable later this week. Verification should be working in develop as right now, if cross-signing is enabled (although it had a few regressions last week) - if not, please file bugs...
That law hasn't changed because it's essentially a jobs program. They did retcon equal access for the disabled / elderly in there, but the ADA covers it well enough for every other state.
Not hundreds of thousands, the Sierras are about 23,000 square miles, but the point still stands. The Sierras are massive and the majority of it is desolate. I spend about 10-20 days each year (for over 15 years now) exploring these areas and have barely made a dent in covering them.

Even if you just consider Yosemite National Park, the main valley where you mostly see overcrowding, is a relatively small portion of the park. Most of the Sierras are inaccessible to your average weekend camper. Having a few of these hotspots with high tourist activity, in my mind, is a good tradeoff to preserving the vast majority of the Sierra's.

I think if we made it even less accessible to your average Joe, we wouldn't have as much support for preserving these places.

If you really want to see untouched nature, there are many places in the Sierra's where you can drive for hours without seeing another car or hike for days without seeing any trace of humans.
Yours is obviously just an analogy and I'm not making claims as far as the underlying argument, but we did used to have smoking and non-smoking sections in restaurants, airplanes, etc. Clearly that was reasonable enough to people to be the way things were done for a few decades. Sometimes an 80% solution that seems almost comically flawed ends up being useful.
The idea of secession is a horrific nightmare that no one should wish for.

There are conceivable ways that things can be fixed - constitutional convention.
Very kind of Skynet to include the English-language comments in the binary in case somebody needs to step through it in a debugger.
The article title is going to get people to summary judge without reading.

The actual article is a nice exploration of prioritizing unit tests based on context-driven testing principles: the decision-making around how to concentrate tests on your codebase in areas that need it, while not getting hung up on dogmatically creating them for areas that are already stable enough.
It's interesting how the ideas of the Smalltalk and Lisp systems of the 70s and 80s get reintroduced over time, but they're never fully embraced, even though some of their features make it into the mainstream. Emacs would be an exception. Makes you wonder where Smalltalk-inspired systems would be today if they had the kind of support popular languages have received. Imagine Smalltalk receiving the kind of attention Java, Python or Javascript have the past 20 years.
`prename` is a thing; much more ergonomic than the solution in the article:

$ prename '$_=lc; s/jpeg/jpg/' IMG0001.jpeg
### IMG0001.jpeg → img0001.jpg

This is probably the most reimplemented program I use, seven times last time I counted.
So what are the issues with the Federal Government response? I often hear people criticize it, without any concrete examples
I think of this in two parts:

1) Computing is cheap, human time is not.

2) Competition in established industries is fierce (finance, real estate, education, construction, etc)

--
To the extent possible, I'd:

a) time out bad queries

b) add more hardware where feasible

--
For the "wiping out data" part, I think:

1) Mark things as "removed", delete when {GDPR,CCPA,etc} requires it

2) The UIs designed can/should have human processes in mind -- that is, things like multiple people involved (async) on what to do with a piece of data (flag it, mark it removed, send it for approval, etc) -- what a lot of companies are calling "workflows" and "workflow management platforms" these days.

3) Backup/restore should be used only as a last resort (DR and the like)

4) Versioning like Google Sheets of the UI is paramount and integration with CI/CD systems is crucial to having the cake (allowing people to create the tools they want) while also eating it too (making sure IT doesn't drive the above-mentioned dune buggy off a cliff in protest)
You're hiding behind a keyboard, you would never be this unpleasant in person.

I repeat: you're being a jerk. Log off
It is an "establishment of the executive branch of the Government of the United States" specifically authorized by the United States constitution, and (if you ignore its transition from the USPOD) predates America.