skysight-inc/HackerNews huggingface dataset:
Couple more tips for those who /really/ want to slim down their html:

- opening <a> tags close the previous <a> tag... but without an href they do nothing. Use them as if they were closing <a>s to save on slashes

- <select>...<select> is completely equivalent in html to <select>...</select>. Save more slashes this way

- formatting elements won't be closed automatically, they rear their head again like so many hydras until your burn the wounds with end tags. But! there's a way around this: consider '<div><b><b><b><b></div></b></b></b>X'; that's funny... why isn't the X bold? it turns out that only three identical (down to attributes) formatting tags are remembered. Use this to your advantage when nesting identical formatting tags inside themselves.

- since we're saving on slashes: <table> (while in a row, ie <tr><table>) closes the last table, and opens a new one. You might think: "I don't want to start another table so soon!" fear not! the browser will move anything you put in a table, above the start of the table, right up until you start putting cells in it. This also avoids having to open the table later, you can start <tr>ing right away.

- you saved characters by dropping the doctype... but was it worth it? only with a valid doctype declaration will you <p> tags be closed automatically when you open tables. Just 4 closing </p> tags will make you wish you included that doctype. still think it's worth it?
CyberBunker
You do realize that other people have already thought about these concerns, right? And have taken specific action to address them?

Many of these are a problem with in-person voting as well. None of us actually see our ballots getting added to the global total, so in theory somebody could just throw out the votes they don't like. Somebody could easily impersonate voters. Somebody could go vote in multiple places. Somebody could just threaten people with a gun and say they'll shoot them if they don't vote the right way.

But in practice these are not a big problem. That's partly because election officials and election nerds are not dummies. And it's partly because that all is illegal, and shifting vote totals enough to win an election with the safeguards in place is at best very difficult.
okay, quasi-html
Just write whatever you want. I cite the following rule:

Given enough time, the best code will inevitably be perceived as crap. – Ravenstine's Law
This actually produces the DOM equivalent to <div> <p> </p><h1> </h1><h2> </h2></div>.

Many of the rules for unclosed tags are more there so that browsers can agree on what to do with garbage first, and for you to rely on only incidentally! They defer to historical practice before common sense!

In order to predict this reliably, you essentially need to have the list of content categories[1] memorized (or look them up). Not all of them are ... necessarily intuitive.

[1]: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Cont...
>If you'd like to make the case that this is worse, feel free to make it.

Better or worse depends on what your goals are. It's "better" if your goal is making it easier to vote. It's "worse" if your goal is making it harder to cheat. My point is that it is easier to cheat undetectably the more indirection you introduce into the process.
That was good. I still use the Joel Test to evaluate companies.
What should the cops have done? Let him run amok, possibly injuring others?

They used a stun gun, not a gun.

If the cops had let the strong, mentally confused guy go on doing whatever he wanted, it could have ended badly in any of a million other ways. Lose/lose
Whenever I onboard to a new codebase, or try to learn more about an open-source project, I typically create personal notes that outline the structure and high-level “markers” that I want to remember and easily reference later.

Unfortunately those notes are disconnected from the codebase itself, and therefore, not as immersive/rich as I wanted them to be. So I created a tool that allows me to annotate codebases with my own walkthroughs/breadcrumbs/ToCs and then play them back at any time, directly within my editor. This workflow has provided a pretty nice productivity boost for me thus far, and has the benefit of enabling me to share these walkthroughs with others as well: https://github.com/vsls-contrib/codetour.
thanks for pointing this out... I'll have the devs/design team take a look. Ironically, we just switched from an expensive licensed font to the free Rubik, so I guess we get what we pay for
https://www.unifiedpatents.com/insights/2018/9/28/q3-2018-pa...

> High Tech companies, both large entities and SMEs, face a disproportionate number of NPE-related threats as compared to other sectors.

https://portal.unifiedpatents.com/ptab/annual-report?year=20...

I suppose, to be fair, if you are an NPE asserting a claim over what is legitimately your invention, are you a troll?

Perhaps, since NPE enforcement is basically a game of threats and legal costs, you don’t see what is actually happening?

Opinions vary.

My position is quite simple: if you are an NPE, you’re a troll.

Use it, or lose it.
There are an infinite number of confounding variables in biological systems. Ergo, there are an infinite number of reasons to dismiss any particular study.

OP's suggestions are tightly scoped and proceed from a basis, but there is a point where you're dismissing concrete evidence on the basis of supposition.
What exactly does this mean? Is it typical to assume that "a nice font" is going to break on Windows 7?
Why are people even hiring specifically for such a niche subset? These are not huge complex systems, anyone can become familiar with GraphQL in days.
It's fair to say that NYC was stretched to the limit, and certainly stretched farther than anyone would want, but it is hard to make a claim that hospitals were overwhelmed anywhere like predicted. New York hospitalizations peaked at 18,825[0], while Cuomo predicted they would need 30,000 additional ventilators. The expanded bed capacity in New York reached 90,000 at Cuomo's command[0]. There is no known case of an american not receiving a ventilator if needed [1][2].

And, remember disease models did not just predict unmitigated spread. They absolutely incorporated percentages of social distancing into their models. The original imperial college study predicted that a high income county with around 50% social contact reduction would still exceed hospital capacity by 700%.

Cuomo's New York model that predicted 30,000 additional ventilators absolutely incorporated lockdown measures, if they didn't they have some serious explaining to do.

Of course I still agree a lockdown was needed, and agree the lockdown did about as well as it could. But is there any reason to not revisit data and determine if we could do better?

[0] https://www.newsweek.com/new-york-coronavirus-hospitalizatio...
[1] https://www.usatoday.com/story/news/2020/04/13/coronavirus-p...
[2] https://www.realclearpolitics.com/video/2020/04/14/dfc_ceo_t...
There is a place for both.
I like fzf for command history search. Ctrl-r, then fuzzy search the command, arrow up and down. Nirvana
I'm not so sure.

Say we want to build a CNN that accepts batches of images of different size without having to resize and/or pad them to the same size. Or say we want to build a convolutional layer in which kernels need not be rectangular and of the same shape and size but can be of different shapes and sizes (e.g., circular kernels that vary in size as we move away from the center of attention). Or say we want to remove connections with low weights (as proposed in this paper) and randomly add new connections between arbitrary individual neurons in different layers between backprop updates.

These are just a few examples off the top of my head of things that in principle would be easy to code in any modern high-level language (e.g., Python, Swift) but look very hard to get to run efficiently using today's software + hardware infrastructure (PyTorch/TensorFlow + GPUs/TPUs).
Yep! Love this one!
Learn how to touch type.

I've worked with many programmers who don't know how to touch type. Anyone who uses a keyboard for more than an hour a day should learn to. It only takes about 2 weeks to learn all the keys, but it's a skill that'll save you thousands of hours throughout your entire career.

It completely baffles me that some developers haven't learned this basic skill. I've heard the argument that thinking is more important than typing. I counter that by saying if you learn to touch type, then it's easier to get into "flow" and your resistance to writing code drops pretty quickly.
wait, for which tags does this apply? because won't

<p>one<p>two<p>three<p>four

create four <p> elements nested together? does this only work with <a> tags?

your third point about the triple-identical (reminds me about TCP ACK and Re-transmit haha) is pretty nuts though
Fran rocks.
If that’s how you want to look at it, everything responds to gravity. But, that’s not what people mean when they say space is filled.
I don't think the comparison is trying to describe the Vietnam War's impact in terms of body count, but instead to describe the pandemic's impact in terms of an enormous societal issue, which IMHO it is. People have a hard time with large numbers (remember Stalin saying one death is a tragedy, 1 million is a statistic). So having markers to help with comparison is normal.
Suz is a great streamer as well: https://twitch.tv/noopkat
> The difference is that I have to read a bunch of documentation to understand the bean mapper, but I already know how to write java.

I think this is spot-on, and sums up one of my points in a way that's a bit closer to the heart of the issue. However:

> At the end of the day, library vs framework boils down to imperative vs declarative.

I don't think this is true at all. There's a correlation, maybe. Particularly in languages like Java that don't have great support for declarative stuff themselves, frameworks like Spring have served as a kind of workaround for that shortcoming. But if anything I would say pure functions lend themselves even more to library-thinking than imperative code does.
step through debugger
i haven't tested it, but MDN says:

"The end tag may be omitted if the <p> element is immediately followed by an <address>, <article>, <aside>, <blockquote>, <div>, <dl>, <fieldset>, <footer>, <form>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <header>, <hr>, <menu>, <nav>, <ol>, <pre>, <section>, <table>, <ul> or another <p> element"

(i.e. the things that aren't valid children for a <p>, iirc)

so i believe your example would end up parsing as

<div>
<p></p>
<h1></h1>
<h2></h2>
</div>

and not as

<div>
<p>
<h1>
<h2></h2>
</h1>
</p>
</div>

(i'm not sure how exactly the <h1>/<h2> would behave - an <h1> can't have an <h2> child, but they don't have self-closing rules. it's probably in the spec somewhere)
There is the small matter that deniers make the claim that government lockdowns are forcing people to stay home, not work, etc. When the data tends to show people were starting to shelter in place well before governments took action.

https://fivethirtyeight.com/features/americans-didnt-wait-fo...
This is really interesting. What key bindings do you use consistently? I wish the vim worked the same way. I'd love to use vim nav and modes for any text in any app.
The majority of Americans across the board support the lock down, and continue to support going slowly with relaxing restrictions. Only a small, yet well-funded minority want things relaxed ASAP.
I revisit my generalized monoidal FizzBuzz implementation on occasion. It's hard not to given it's elegance and beauty. :)
https://gist.github.com/lgastako/d4fa392cbe85cbfae7dfa5e18c1...
James Damore and three others end Google suit
I was about to ask how you got your own aka.ms link, then I saw you are a product manager at Microsoft, so that shouldn't have been too difficult :-)
Confused, why couldn't you just drop it off in the mail? You don't have to drop it off at the polling place right?
Both are sub-goals, with the primary goal being that the outcome reflect the democratic will of the people. For example, if we turn up the "impossible to cheat" knob high enough that, say, only 10% of people bother to vote, then that's definitely worse.

Anybody who wants to argue against vote-by-mail needs to make the case that the overall outcome is worse, not just that vote-by-mail has some flaws that are different that the ones in-person voting has.
Another helpful meta tag is

<meta charset=utf-8>

Without this, your document may be interpreted using an implementation-defined ASCII-like encoding (e.g., windows-1252 for English-speaking locales) if served without a Content-Type.
This is an awesome accomplishment. I remember seeing this work when it first came online years back — pretty mind-blowing, especially some of the transitions between [dimensions] in his flagship game.
No. In a healthy society, when the people in charge fail, they are demoted or shunned depending on how badly they did. For example, should Judith Miller still have her job at the NYT after cheerleading the march to war in Iraq based on fake evidence? Obviously not. People that perform well and are correct should have the top seats.

It helps to compare the harsh treatment of the average worker to the soft humanized treatment reserved for the bosses and war criminals.
Totally. As I tell people, it's neither a query language, nor particularly graph-oriented. I describe it instead as a toolkit for writing custom domain-specific languages for your services.
One option is using XML with complicated enough XML Schema. Good editors like Intellij Idea support editing such an XML and provide good autocompletion, on-the-fly validation. XML libraries would parse that XML into tree and validate it against schema without any additional effort.

While XML certainly deserves some blame, the amount of tooling around it is unmatched.
I knew Chuck Woolery was responsible for society’s ills.
Are you sure you drew the correct lesson from the incident? There were a ton of rumors, witnesses, statistical evidence, and so forth. It sure didn't make it sound like undetected vote fraud could be common.
Have you ever seen a walled garden without a gate?

You need gatekeepers, else the deer eat all your roses.
US Coronavirus Update
Growth rates are dependent upon testing, which is inadequate. And what little testing has been done by AZ shows a very large growth rate[1]. And the graph of growth rates by the AZ governor makes the same mistake in excluding the last 4-7 days of the graph's range. It's nonsense.

[1]https://www.nytimes.com/interactive/2020/us/arizona-coronavi...
To be fair, the thing he started with was totally unreadable and fits on a business card and the thing he ended up with was readable, but didn't fit. It isn't apples-to-apples.
Until recently it required a stamp, and I was too cheap to put $1.20 in postage on it (it was heavy so it cost extra).

Also I wanted the sticker, and the only way to get that was to drop it off at a polling place.
The 2000 US Presidential election was decided on a handful of Florida votes, so elections do get decided on a few dozen votes.
React is an immensely popular library. You can't really expect that some random DSL would receive similar amount of attention.
Homonyms is correct. "Dies" applied to a process means something completely different from "dies" applied to a person. They're two different words with the same pronunciation.
At this point Twitch is starting to become part of Big Content, and Big Content doesn't care about what you think is good for society, Big Content cares about what gets clicks and views.

Twitch already has emerging dating shows and panel / discussion shows, political debates, and even pseudo live-therapy. These shows aren't created top down by Twitch, they are simply programs users are creating.

These things are drawing growing numbers of viewers and so Twitch is wisely funding them.

Twitch itself was an off-spring created when Justin.TV noticed the popularity of video game streams on their platform so they spun out Twitch. Today Twitch is the entirety.

It wouldn't be incredibly surprising if something similar happened to Twitch as happened to Justin.TV, who knows.

I think it shows incredible foresight that they are able to ride these waves rather than fight them.
My parents put up grandma with Dementia in PA for about $50k a year in nice place. Are you drawing figures from movie star nursing homes in LA or something? Do you think the average American just puts a bullet in their head after 70? The household income in this country is about $60k a year. Your math is ludicrous.
Yes, I only use this now. I used postman for a while, but I remember last time I tried it, it was way too complex, had to create projects or accounts (or something like that) to make a simple request.

I now only use this VSCode extension, I have some .http files saved in my project with requests I do often. If I am trying an API online, I just copy-paste their cURL examples and run them, it's useful because on Windows there is no cURL cmd preinstalled. It's also nice that you get code highlighting by default in VSCode for the .http files.
You probably want the front month WTI and possibly Brent futures price.

USO has unpredictable drift due to contract rolling and often trades at a significant premium/discount to NAV.
N generations have lived there and died reasonably old and healthy, including N-1 generations born there.

I am not an early adapter.
PruneGAN
I've been a vote-by-mail voter in California since 2002. Perhaps you're describing a particular county? The only difference in my county from the Colorado system is that only a subset of elections are all vote-by-mail. And our next election, now, is one of them.
That was supposed to be a joke!? I don't think Hans Reiser got that it was a joke either.
I doubt it landed well in the early 2000s either
if there is so such thing as immunity then waiting for the vaccine is pointless no? ...so what is the lockdown for again?
This is an old wives’ tale. Most recent research indicates that moderate sun exposure without sunscreen (and without burning) is protective against many forms of cancer, including melanoma.

Furthermore, oral vitamin D supplementation is not proven to have the same benefits as endogenous D production, possibly indicating that the sun/skin interaction is doing something a little more complex than we currently understand.

I still supplement, of course. We’re all allowed a bit of magical thinking.
> That is fine for traumatic injuries (earthquakes, fires, war etc) but less than useful for control of infectious disease.

Military hospitals (including ship-based hospitals) have been planning and preparing to deal with biological warfare (i.e., communicable diseases) for many, many decades, and even before that they were well acquainted with communicable diseases. It was not uncommon in the past for communicable diseases to kill more soldiers than died in actual combat.

That is one reason the U.S. Public Health Service is a uniformed service -- so their personnel could operate in war zones without the risk of being shot as spies if they were captured.
Interesting development in this space this week for WiTricity (the company) is that China is standardizing nationally on magnetic resonance technology for wireless vehicle charging based on WiTricity’s designs and standards work. I’m sure this was an exciting week for my former colleagues there, and congratulations are certainly in order for them.

https://www.greencarcongress.com/2020/05/20200508-witricity....

There are academic connections between the group at Stanford publishing this work and the group at MIT that founded WiTricity.
I agree.

However, I program for Apple devices, so my libraries are called "Frameworks."

I'd say that we should call them "Modules," instead. That probably covers all the bases.
The takeaway they've gotten from reality TV is that it made a lot of money
I expect him to video conference, not fly 150,000 miles/take 250 flights a year—nor fly his jet from one LA airport to another LA airport to shorten his chauffeured ride home. I expect him to buy carbon offset credits. I expect him to not publicly trash public transportation. I expect him to not donate to climate change denying politicians, and I expect him to not sell emissions credits to polluting automakers, delaying their transition to ZEVs, and sneakily undoing all of the environments benefits from buying a Tesla car. I expect the Tesla paint shop from repeatedly violating California emissions regulations. I expect Musk to not spread coronavirus disinformation over Twitter. I expect him to not expose his workers to undue risk by violating Alemeda County’s restrictions on non-essential businesses.
Another big advantage is that you don't have to open a new console or application. You just do CTRL+N to open a new file and ALT+CTR+R to send the request. So you can do CTRL+N, write google.com, ALT+CTR+R and you can see the source-code of google.com in a VSCode file.

Having the request in a file means you can easily change it, save it or version it.
IMO magic is the result of one of three things

1. Developer does not have enough imagination to create necessary abstractions without resorting to magic.

2. Developer does not like commonly accepted approach to solving things in that particular language.

3. The language is objectively not expressive enough and magic is necessary.

IMO everyone thinks that it's 3-rd point, but it usually is #1 or #2.
code-server: self-hosted Visual Studio Code Server
This isn't exactly true. If you tell them you don't want housekeeping service, they insist on having a staff member check inside your room at least once every 24 hours. If you're OK with having your room made up, they weren't searching rooms. I had no problems at DEFCON because I like having my room cleaned.
And remap spacebar to Caps Lock. And make two finger scroll move through time instead of space. And--
It's the same crowd that believes that the economy would have just been fine if we had treated this like we do the flu; ignoring that 2M dead Americans has a funny effect on the economy.
Making up a phrase to give a language a label based a vague notion of popularity is pretty nonsensical. If people start using it, is it no longer an 'esolang'?
I always emphasize to my family that we shut down the whole country, the outbreak was relatively well contained to a few areas, and it has still almost certainly already killed more than 100,000 people and may well kill over 200,000.

Given our extreme response, the high death toll should be more shocking to people.
I see haha. I guess that's why some counties mail the sticker lol. Interestingly I seem to recall hearing if your stamps are too low they'll just charge the county instead of discarding the mail (though it'd be nice to verify somehow). I can only imagine the time and/or gas you spent on it was worth more than $1.20 but at least I can understand the sentiment now =P thanks!
Desktop, for Facebook. I've tried to avoid installing their phone apps for privacy reasons.
those poor kids graduating in a recession and those 30 million unemployed Americans would disagree
Speak for yourself. I've been feeling pretty empty lately.
Are they ‘what?’ or ‘wat?’ comments? Maybe that’s the difference?
Show HN: Snagd – Reserve a spot and “flatten the crowd peaks” at parks
Using a touchscreen in a car is like dating an attractive person with a flaw.

Come over here and we can date and do things. I'll always be fresh and attractive. I keep up with the latest fasions. You will have many options, and I can add more. But you have to come over here. You have to do things my way. And I'll never meet you half way.

The decision to put in a touchscreen comes from above by fiat (latin for "let it be done"). Cost savings, simplicity, elegance. attractive.

But it could be so much better if you were met half way.