skysight-inc/HackerNews huggingface dataset:
> If you look at pure-kana (hiragana/katakana) texts aimed at grade schoolers and foreign language learners, there are spaces because without them there would be too much parsing ambiguity.

This cannot actually be true; the spoken sentences do not indicate word breaks, but grade schoolers (and toddlers) can parse them just fine.
The doctype is required for it to be a valid html5 document.
Things that act like apps also can’t be adequately prevented from compromising the general data privacy of the population. What this means is that it doesn’t matter very much whether your or I have mere preferences for something to have rich app-like functionality or not. Our wanting of it does not play a role unless it can be made verifiably secure and not abusive of user privacy rights. So far, general web applications cannot be made verifiably non-abusive of users’ data privacy, so we must only focus on websites as purely structured documents with no app-like capability.

I sure wish companies wouldn’t abuse data privacy so we could instead care about user preferences for app-like functionality, but we don’t yet live in a world like that.
How should LA urbanize? Look to Seoul
Launch HN: Leadgen.io (Mom's Basement S20) – A Lead Generation Marketplace
Hi HN,

I'm Hide, the maker of Leadgen.io. Let's be honest, applying to jobs is a crap shoot. Indeed, Monster, Simply Hired, I don't want to interface with a form field and get rejected through email 2 weeks after the fact, that experience sucks.

I love Linkedin but most of the content is just noise during the job search. After the inital ramping up to Linkedin content, most posts are just not that interesting or useful to me while I'm searching for a job.

Once in a while I'll stumble on a post where my connection's employer is actively hiring for roles. I've found that the conversion rate of connecting with employers through these posts is significantly higher than applying to just another job posting. We're all professionals after all so why should recruiters be the only ones to take advantage of the practice of cold-calling?

So I created Leadgen.io, the world's first Lead Generation Marketplace, which pulls leads from Linkedin (other sources coming soon) and provides a place for job seekers to find people that are hiring and connect with them through Linkedin.

Let's reset the job search industry by focusing on what really matters, human to human interaction.

New leads are generated every day!
Reminds me of a similar but completely unrelated phrase from the military: “slow is smooth, smooth is fast”
I’m pretty sympathetic to this, as my experience with Spring has been “it’s convenient when it works, but awful to deal with when it’s not working”.

However, I think to push this line of thought, it would help if we had examples of how to build significant applications without a framework. Ideally someone could provide a walkthrough of an app like that. Unfortunately I can’t volunteer myself: the last time I built without a framework, it was a mess.
I didn't understand all those words but that was a fun read none the less.
"Serology in NY has shown us that we have maybe 1/8 of the population with antibodies as of a few weeks ago,"

Perhaps 15% of NYC has been infected, but not the US as a whole. And the efficacy of the antibody tests has proven problematic.

And good like trying to control the rate at which you "exposed much more people to the virus." As we've seen, all it takes is a few superspreaders to blast your "controlled" exposure into an exponential growth rate.
Power Users Help and Hinder Open Bug Reporting (2010) [pdf]
Also don't miss out S-js and Surplus.js. They are helpful tools to build reactive tools without VDOM.
The wants of the recipients aren't represented in the marketplace of dickpics.
Considering the author seemed to cite Angular as a well supported framework, probably not that one.
>>intel have faster tech in their pocket waiting to be released.

Hmm. I think if Intel had a significant architecture enhancement waiting in the wings we would have seen it by now. They need it badly.

I just updated a 2013 quad core laptop with a late 2019 8 core laptop. Tasks that really use the cores are of course faster. Other than that, no substantial performance increase. 7 years and it is just incremental. Their process issues of late are horrific but there is not much happening architecturally either. Sad to see. They just seem a bit lost.
If 80% of Americans Wore Masks, Covid-19 Infections Would Plummet New Study Says
Bugcrowd LevelUp 0x06
I'm surprised it hasn't cured cancer...yet
> No one's saying it's not bad. At least I'm not. It's just a lot less bad than what we were told 3 months ago. Yet very few seem willing to admit that, because (I'm guessing) they think it might mean losing some amount of fear based leverage or control. Or don't want to give people false confidence to disregard rules. Or whatever the motivation.

“3 months ago” was February 8 so not sure what you think was being said at that point.

1.75-2 months ago, when social distancing measures actually began and the whole #FlattenTheCurve started, the White House announced that they had a model that with all the #FlattenTheCurve measures in place, they expected between 100,000 and 200,000 to die of the virus by August 1st. https://apnews.com/6ed70e9db88b80439a087fdad8238009

So far 75,000 have died, with two and a half months to go and over a 1,000 dying every day still. It seems like the original prediction of over 100K by august 1st with full preventative measures is well on the way to being hit.

What are you talking about when you say it’s less bad than what we were told 3 months ago? What do you think you were told?
My doctor believes it's safe, at least. I take 15000 IU on his advice (ramped up in 5000 IU increments until my bloodwork came back with acceptable levels).
I thought that "/" was absolute and "../../something/else" was relative.
From what I understand, the basis of the exploit is from Project Zero work[1]. Forbes also has a minimal write-up that might be easier to grok[1], but it's been long enough that I imagine you've gotten additional info already...

1: https://googleprojectzero.blogspot.com/2020/04/fuzzing-image...

2: https://www.forbes.com/sites/forbes-personal-shopper/2020/05...
there's a backup laminated paper badge for when the electronic badge runs out of stock, maybe it's that
what, opposed to ‘why’ or ‘how’
Defcon Red Team Village May'hem Virtual Summit
It doesn't offload their losses. It offloads their risk, since the Lime investment can't go below zero, but that's genuine and not just accounting (if Lime goes bankrupt, Uber is not on the hook for it). Buying and selling in stock is normal and legitimate, particularly in times like these where a valuation of Jump in terms of Lime shares is probably a lot more stable than a valuation of Jump in terms of cash.
Go 2 proposal: simplify error handling with "pass" or "return if"
Google and Facebook employees can work from home for the rest of the year
I've found recently that Makefiles are my best friend for this kind of thing, even if it's just wrapping existing commands with the right arguments and conventions for the project.

Being able to do a simple `make build`, instead of remembering all the right command syntax, repositories etc is so much nicer that having to trawl through a README in a couple of months time for how I was using this thing
Scooters were just as dubious as their robo-taxi business. Bird has basically no path to profitability, there is no obvious reason why Uber would be able to turn a profit with scooters either, especially since Uber never had a deep operations bench.
As someone who has relatively recently been assigned an increase in power, the angle presented in this article is worthwhile being aware of.

I'm naturally a bit of an anti-authoritarian, and don't like ordering people around, and so I can be a bit wishy-washy in assigning work. That's bad leadership / management however, and so I'm working on being more direct despite the inherent discomfort: Power requires commitment to a vision, or else it will be temporary (both the power and the vision), which will not lead to progress. Commitment to a vision requires a level of 'bulldoze the roadblocks' mentality, which comes with a certain level of denial of the realities and complexities associated with those roadblocks (which is often the foundation of my disdain for some figures of power). Get it done!

Any progress is better than none. Progress in the wrong direction at least provides education as to the correct direction.

I'm sure there are plenty of books written about this.
Twitch has been experiencing some feature bloat. The guy who thought of gifting subs should be made a millionaire. The guy who came up with channel points should find other work. The former increases value for both the streamer and Twitch, the latter is a simple distraction taking attention away from the stream content and only serves to increase page interactions.

I'm worried they're introducing changes to improve certain metrics and not caring that the changes are basically gaming the metrics.
This may surprise the normies, but dating stuff on twitch already exists and is extraordinarily popular, for very low production costs.

TV dating shows and reality TV involve many dozens of writers, camera/production people, ect, ect, ect

But this online psuedo-reality show content just involves a host and ~10 contestants in a zoom call. And these shows get a LOT of viewers for the cost. its 20k and above concurrent viewers.

So, with this kind of content, you have a very good cost to viewership ratio.
Hey! Thought I'd pop in and say hi!

This was a cool site, I remember it but didn't realize it was you who wrote it.
Is there a way to get warnings for HTML that looks valid with matching start and end tags but doesn't actually parse the way it is written? I get the impression that we end up needing to memorize those content categories even if we plan to only generate html with all the start and end tags.

For example, <p>A<p>B</p>C</p> looks like two nested <p> but it is parsed as 3<p> next to each other: <p>A</p><p>B</p>C<p></p>.
I've used Dvorak for the past few decades. As suggested by one of the other comments, it took about 2 weeks to learn well enough to get back to my normal speed (>80wpm).

It makes a massive difference in comfort. 5 minutes typing at full speed on QWERTY and my wrists start to hurt. (I really don't know how people do it.) On Dvorak, I can type all day at full speed with no pain at all. Surprisingly, the keyboard hardware itself doesn't seem to matter.

(Details: I mostly use a Mac, with caps lock mapped to control, NSRepeatCountBinding set to ^u, and -- obviously? -- I rarely touch the arrow keys.)
And we're not even close to the end of this. If the IFR holds up at what we're seeing, we already have another 50K deaths that will happen in the next few weeks.

Then the math gets really ugly. If herd immunity requires north of 60% to have been infected, that means 197M Americans. Of those 197M, roughly 5% will require hospitalization, and 1% will die. That equates to 10M hospitalizations and 1.9M deaths. Even being generous and lowering the IFR to .1%, means 190K deaths. Now this make be spread out over the next 7 months, but the butcher's bill will be paid. Hopefully we'll get a vaccine by then, or some therapeutic drugs, but I'm not optimistic.
You can use React like a library. You can even go without JSX, though nobody really does. React is also kind of odd because it includes a bunch of other stuff like hooks, even though most people bring their own state management to it. But it's definitely the least-framework-y of all the major frameworks.
> Two million Vietnamese civilians paid the ultimate price for America's geopolitical theorizing

It was a civil war, initiated by the North, in which mostly Vietnamese killed other Vietnamese. The Americans intervening was absolutely a shit-show (and of course colonial history), but for the central point of your rant to stand, you’d need to show fewer Vietnamese would have died without American intervention, and that’s not a simple given.

You should spend some time talking to American Vietnamese with families who were persecuted in the immediate aftermath of the war, or who were lucky enough to escape.
https://www.usnews.com/news/best-states/slideshows/these-are...

The fastest growing region in the United States is the South. Of the top 10 fastest growing states in 2019...only 2 of them voted blue in 2016. California is growing at its slowest rate in history:

https://www.latimes.com/local/lanow/la-me-ln-population-grow...

Yes, supply and demand drive prices, but if you artificially constrict supply like California does with absurdly restrictive zoning laws and inflexible housing policies that only act to protect inflationary ponzi scheme, then you get the present-day California real estate market bubble.
Show HN: Obfuscate any of your PHP code
Does this mean we won't get anymore nurse tiktok videos? That was money well spent.
Spyware inside Unity is trying to phone home to a website with an expired SSL
First and foremost, upon returning to this thread after a few hours, I’m stoked how many people I got to say the word “dong”. Anyway.

Nowadays it would probably be easier than ever to detect certain shapes? I don’t know, we have artificial intelligence that can detect all sorts of things, male genitalia probably that hard to detect.
I am willing to help

Contact me at HN AT Free dot TV
I hope no one thinks of meteor js.

I should have been more exact.

AngularJS uses two-way binding between scopes, while Vue enforces a one-way data flow between components. This makes the flow of data easier to reason about in non-trivial applications.
It's selectively opt-in I think.
my wife is a middle school teacher, a handful of her kids were taken by CPS. Kids who were already on the economic edge are paying a heavy price.
Good article. A while ago I worked a little with Angular and I thought to myself that probably 80% of it could easily be in a reusable library instead of tying it to the framework.

That way you could write a lightweight framework with a powerful library under it.
I didn't downvote you (can't even if I wanted to since you replied to me!), but the difference in outcomes is unlikely to be explained solely by differing strains, and there's no evidence at this time that the mutations have any biologically meaningful difference:

https://www.virology.ws/2020/05/07/there-is-one-and-only-one...
The biggest boost in productivity I've had in recent years is switching back to a statically typed language. TypeScript in my case. You can absolutely refactor and change course _so_ much quicker and with virtually no regressions at all. Just the other day we realized a feature I was building didn't handle an important case, and I had to really change the approach. Doing it in a JavaScript would have been dramatically harder.

The investment you have to make to really grok static typing is quite large. It took about 2 years for me to be really comfortable in TS. But you'll have to claw it out of my cold dead hands now.

Before switching to web dev, I used to work in Java, C#, C++, etc. But I've been away from static typing for about a decade now. I completely forgot how beneficial it is.
I use keepassxc. Has nice native desktop and Android apps. Also a Firefox browser extension available, though I have not tried it.
PHP 7.4 library that validates any Tax VAT numbers
It doesn't matter what I believe. For all you know, I could be a finite state machine. Or a similar automaton.
The way the fraud works from what I've read is the people who don't ever vote, including dead people, have their ballots made out for them and sent in by the fraudsters and they are none the wiser. A criminal inside the post office could take all those undeliverable mail in ballots mailed out to dead people and send them in himself. Forcing people to show up and show an ID to vote would prevent dead people from voting.
South Korea, Taiwan, China, Vietnam, and other countries all used Test, Trace, and Isolate to contain the virus with few cases and deaths.

You don’t actually need 300 million tests if you can stay on top of the virus, so I don’t think this is blatant lies like you’re talking about - in theory we’ve just spent 6 weeks locked down to reduce the number of active virus cases and now could transition to the test/trace/isolate approach we should have taken in February like the successful countries did.

That said I agree the opening seems to be coming too fast and no one I have seen is presenting a model where test/trace/isolate succeeds in the USA - due to political polarization there is no national plan for it. China took 87 days to lift the lockdown on Wuhan and we are going much faster than they did, while having had a much less strict lockdown in the first place.

It’s true that Redemisivir has not been scientifically proven to save lives yet, just to reduce the length of hospital stays (which means hospitals will have more capacity since each individual case stays in the hospital for a shorter time), but scientists think it may be able to reduce death rates if given earlier in the course of infection - clinical trials are still ongoing to see if this is true.
Yes.

(Source: Was involved in early planning for the rewrite and fixing the Back button was one of the primary goals.)
The Quadplay Fantasy Console
I expect many companies do that. They prioritize growth over costs (stock price over profitability).

Then they get to a certain inflection point on the growth curve and splurging for unpredictable capacity slowly is replaced with reasonable costs for the known capacity.
If you're trying to build an entire app, you are not building a library. An app uses libraries and frameworks to stitch them together. A library brings functions, and a framework brings connectivity and logical flows. An app without a framework is an app with a hidden framework. An app without libraries is an app with a hidden framework and monolithic, catch-all, single-purpose library.
A hodgepodge of (mostly proprietary) technologies.
Joe Manganiello’s Epic Dungeons and Dragons Campaign
Super cool. Thanks for sharing
This happened to me after I replaced my home's air conditioner. Which means, really, I am the LEAST likely person to sell an air conditioner to. Same thing after I bought a car. Nowadays I am always ad-blocking, but from what my wife tells me it's not gotten any better.
Shooter IIRC with Wahlberg. Love that old gunsmith in the Georgia forests.
I’m not sure I understand the argument. Surely you can’t conclude from the lack of flying cars that nothing will ever happen.
Working on it. Looks like a queue issue. Adding more workers. All kinds of fun this evening.

Edit: From our eng team:

"We're moving about 5000 events per second now. Definitely shrinking now, and memory usage is dropping too."

Should be good to go now. Sorry, but massive traffic right now.
> Last I checked no one is making you use something you don't want to.

I just checked, my boss is making me use slack, and nobody is writing a non-electron competitor to slack...
Have you tried React? It feels fairly library-esque to me. You can be useful in as little as two lines of code:

const elem = React.createElement('div', null, 'Hello World');

ReactDOM.render(elem, document.querySelector('body'));

It's 35.9kB gzipped, although "too big" is subjective. I may be unimaginative, but over my last 5 years or so with it, there isn't much I've wanted to change. As a library consumer, I don't personally mind if a VDOM is used or not, so long as performance is good enough not to ship a noticeably lagging UI to my users. Having experienced both React and Angular --one uses VDOM, the other not-- I haven't found this implementation detail to meaningfully impact performance, but I spent my time building straightforward CRUD apps.

I would consider sharing an example to Ari of something that's hard to do in React/Vue/Angular, and how it's made simple with AriJS. That might help elucidate where it shines, and the key problem being solved.
All code has bugs. - me (and everyone else)
Used to love Python. Now, unless it has type hints, not so much. Used to hate static types, or at least I thought I did. Really, I just hated C++ and Java. Go is Bae, trying to learn some rust.

Computers are rigid. The more rigid the lang you talk to them, the less you get bitten.

Untyped python, bash, javascript, just not worth it imho.
uBlock rules:

||supervisor.ext-twitch.tv/supervisor/v1/index.html$subdocument

www.twitch.tv##.tw-full-height.tw-flex.tw-align-items-center.community-points-summary
"some at risk people"

Let's quantify that. At risk encompasses people who are obese. That's roughly 30% of the population. It includes people with heart disease, and diabetes. Roughly 30% of the population suffers from that. Sure there's some overlap in these groups, so we'll call it an even 30%. That's over 100M Americans. Have some humanity.
Looks like a queue worker issue. From eng:
"We're moving about 5000 events per second now. Definitely shrinking now, and memory usage is dropping too."

Should be fixed.
There are at least a few foods besides meats
<meta name=viewport content="width=device-width, initial-scale=1">

The `, initial-scale=1` has been unnecessary for a few years now (sorry, not searching for the citation now, hopefully you can find it if you’re interested), so it’s slimmer to use this instead:

<meta name=viewport content="width=device-width">

If you drop the quotes, it’ll parse the same way (and parsing is well-defined in HTML now, so you can be confident all browsers will handle all parsing the same) but be nominally non-conformant. Up to you how much you care about non-conformance, but I avoid writing non-conformant documents, though I do regularly hand-write minimal HTML (omitting html/head/body, skipping unnecessary closing tags, unquoting attribute values, &c.)

----

<!DOCTYPE html>

I strongly recommend against omitting this, because removing it throws you into quirks mode.

Also I recommend spelling it `<!doctype html>`, because that will regularly save a byte or two in gzipping due to the much greater frequency of lowercase letters.

----

<meta charset=utf-8>

I strongly recommend keeping this; it’s a safe bet that your text editor is working in UTF-8, so specifying the charset thus ensures that if later on you insert some non-ASCII (e.g. pasting a quote that includes curly quotes) it will work properly.

You can also save one more byte by spelling this `<meta charset=utf8>`. There’s fun history around that in the encoding spec, where that used to not be a valid value, but based on observing people spelling it that way sometimes they added it. So it’s now valid, but particularly old browsers might not like it.

----

Using <pre> for line breaks? Please no. Just don’t do this. The side-effects are awful. Use <br> if line breaks is all you want.

----

> Both single-quotes and double-quotes are valid for tag parameters. This is useful for producing valid HTML output in programs without resorting to escaped double-quote.

I like to do minimal encoding. Within a quoted attribute value, the only characters that need to be escaped are & and the particular quote used, so for an attribute that includes a large blob of JSON I like to use single quotes, so that I only need to escape single quotes and ampersands:

<a data-json='{"department":"R&amp;D"}'>…</a>

This yields a smaller and more human-readable result, which is also nice.

----

> You don't need to close your tags.

Well, there are three cases to consider here:

1. Self-closing tags like <meta>, which don’t have a closing tag (so it’s actively wrong to include one).

2. Tags for which the end-tag is optional, depending on what follows it, e.g. <p> doesn’t need </p> if it’s followed by various elements such as another <p>.

3. Non-conformant documents where the well-defined parsing behaviour just happens to produce what you want, despite what you’ve written being probably nonsensical and something where a human wouldn’t be sure what you meant.