skysight-inc/HackerNews huggingface dataset:
There is no claim about the US government in the parent comment, so this is entirely beside the point.
> A big drawback of many commercial applications is their being non-free software, for which reason they cannot embed R.

There, fixed that for you...
I used Mithril recently in a small project and it's quite awesome.

I didn't miss any of React's features plus it includes a router and an http client in less than 10kB gzipped. Heck, my whole application weighted something like 38kB. Not the JS bundle, everything.

The other greatest thing about Mithril is that there is no reactive state per se. Your state are just vanilla objects and vars and then you tell Mithril to redraw the whole thing. It sounds wasteful but it's quite fast and the developer experience becomes a joy.

Mithril is like a sharp sushi chef knife. Since it leaves all the application architecture to you you better know what you're doing otherwise you will cut yourself pretty badly.
A new 'The Office' comedy for the covid-19 era?
I worked with a major automotive company that was upgrading its head units to be more user friendly. Their #1 customer request at the time was to have it use Google Maps, so they tried to negotiate a discount with Google. I can't share the discount amount, but it was laughably small and the company would have been shelling out millions of dollars a month to Google for the integration. Needless to say, they stuck with a different mapping provider.
> If you think it's unfair, don't use it.

This is tired “advice” and does nothing to help developers, who have little control over what their users use.
Also likely a reference to the fact that you drive through Newhalem on the way over the pass, which is a company town owned by Seattle City Light for hyrdo operations.
I live in the next town over from Twisp and see Lynx and her crews out in the mountains and in town once in a while. The town I live in, Winthrop, has a Western theme and I always wonder if the summer tourists might think they're just part of the Western act.
Everything you say is true. I started making web pages 20 years ago. When I got a real job doing it in the mid-2000s, it was at the height of the push for semantic markup. Over the years I've come to think it is overwrought.

First, I think they could have repurposed the old tags. <i> can stand for "important," with a default style of italic, and <b> could mean "bold" in the sense of "strong" or "outstanding", https://www.etymonline.com/word/bold, with a default style of boldface type. You can still restyle them to your heart's content.

Second, italic doesn't always mean emphatic. Like I said, it is also a formal convention for: titles (books, movies, magazines), ships, foreign words, legal cases, etc. (Only of large works. For articles and other small works, you quote them. So for example, The New York Times should be in italics, but any particular article, like "Chiefs Win Superbowl", should be in quotes.)

Third, the tags are longer, especially <strong> instead of <b>. It's noisy. A quibble, you might say. But so is this whole topic. And there is a line where coding goes from fun to tedious.

Fourth, an asterisk looks stronger than an underscore anyway:

*this*

calls out more than

_this_

So you could say underscores are emphasis and asterisks are stronger emphasis, even with just one on each side.
Really tiny proportion of the population make 200k in the US.
And if the do, those are in in the expensive cities like NYC or SF and similar.
Accidentally Turing-Complete (2019)
Author here - I did put a warning in guys :-)

Lots of the code looks pretty code-golfy - I promise I don't do stuff like this at work, neither should you

Happy to s/g/grid/ - writing the whole exercise felt a bit golfy TBH.
Not being able to recover revenue from wealthy people who can afford to bend or break the tax code is a problem. The IRS can effectively make money for the federal government simply by auditing the rich (I seem to remember that the marginal dollar spent on enforcement returned six dollars in revenue), but they don't because politics.
Yeah but what looks better on your CV?

“Developed and researched a novel algorithm to reliably send messages under intense load”

Or

“Tried 5 off the shelf solutions, picked 1 that seemed okay, and moved on with my life”

That’s why we keep reinventing the wheel. Also it’s fun and we all think we’re the smartest.
Everyone has complete control over what they do with their own lives. People should focus more on that, and spend less time writing long winded articles about what other people do. Worrying about what other people do is the path to insanity. Just my 2 cents.
You're right in theory but demonstrably wrong in reality. Just look at the failure rate of launch platforms in the last 30 years. If I remember correctly, launch failures accounted for less than half of mission failures and a significant number of those weren't explosions but burn rate problems that ended up in the wrong orbit.

Rockets aren't mass manufactured and their fabrication is barely automated. Nobody except SpaceX keeps their tooling online long enough to have correlating failures except for actual design issues which are fixed in later launches. The correlated failure comes from the actual mission hardware but launch schedules are so spread out that a second mission has plenty of time to fix issues discovered in the first attempt.

If rockets, which are made one at a time and launch maybe a few times a year, had correlating failures like you said, no insurance company would cover launches.
<in my country>

Also in mine, but it's not a global thing.
In the age of big tech where there no more than a handful of legitimate competitors in a lot of areas this just isn't practical
That's really interesting that the biped physics were originally intended for Terranova. I played that game a lot in 1996, and stole some ideas for levels from it for another game. Looking Glass was a great studio.
As a hiring manager, I know which one I'd rather see on a resume. Though I understand why an individual would choose the former.
anyone have thoughts on this?

"Optimization, again. TCP is implemented in the kernel and, in part, in the network card. When using TCP we can make one call to the kernel to hand it a large buffer of data and say “segment and package this as you see fit”. When using UDP, because we have to do that segmenting and packaging ourselves, we hand each packet individually the kernel. Each call to the kernel is expensive and the overhead becomes very significant, especially in Go. The kernel’s TCP stack is also highly optimized for performance while the kernel’s UDP stack is typically not."

https://forum.syncthing.net/t/connections-over-udp/9382
Oh God, that was brutal. I wonder if Canada is still open?

The "problem that has no name" is, IMO, very real: I spent some time living in Lynnwood WA, just north of Seattle, for a job and it was "unrivaled in its monotony and depressing blandness" despite being quite nice in many ways. It was just so empty.

Christopher Alexander has done a fantastic job of putting forth a solution (Pattern Language; Nature of Order) and his main site is actually called "Living Neighborhoods". https://www.livingneighborhoods.org/ht-0/bln-exp.htm

What to do about the rest of it I have no idea.
Damnit, now I know I’ve been inside reading bad news too long. I just told my wife this pun that I failed to get, and she is literally rolling on the floor laughing at me.
This is probably one reason:

https://krausest.github.io/js-framework-benchmark/current.ht...
Maybe they cared about the employees but were criminally inept, it's possible. But, if they're that incapable how'd they get to be a CEO?

Occam's ghost is whispering "sociopath" to me.
The Oregon Trail (video game) on Archive.org (1990)
Using m or h as VDOM constructors are mithril/hyperscript-isms, I guess that's not obvious if you not worked with those or similar libraries, sorry!
>I think the answer to this is basically that the further you go back, the harder the comparisons become

That's clearly true although I suspect it's rather non-linear depending upon the metric you're trying to compare.

Healthcare is certainly one big thing that money can only buy to some degree over time. Go back to the early twentieth century and a very wealthy person can largely be as comfortable as today. The fact that they don't have kitchen appliances, TV, and so forth doesn't really matter a lot. But they can't get polio vaccine or many medical treatments that are pretty routine today.
If you have stucco, then the stucco repair can exceed 10k on its own.
Ask HN: Has the COVID-19 crisis made you abandon a personal project or path?
Hello all,

For the past three years, I've been working full time as an independent AI researcher, focused on an alternative neural network architecture. My efforts ate through my savings and culminated in securing a Vising Researcher position at a prestigious university in California, which I'm proud of given that I only hold a bachelor's thus far. While trying to secure a high paying scholarship and the required US visa, the COVID-19 crisis hits.

Now, even though I retain supreme confidence in its potential, my work does not seem timely or prudent; it's unclear when the school, funding agency, and embassy will resume service; and I also need money to replenish my coffers. I want to contribute more directly to the virus-borne crisis that is affecting us all. Feeling useless sucks.

How many of you are in the same boat? Have you had to abandon a project or a path for financial reasons or to work on the crisis? How have you managed or what new work are you pursuing?

I'm struggling with the massive context switch, both emotionally and with my day to day routine and work output. I'm sure many others, especially HN readers, are having similar challenges. Maybe some solidarity will help!
Ethernet does not drop packets for me. I guess that people who're using WAN don't care much about network quality, otherwise they wouldn't use it in the first place.
I don't see what s-expressions have to do with this concept. It should be just as doable and nice in JS...
As a 33 line implementation "just for fun" exercise, no need to guess: this was not meant to be actual React in fewer lines of code =)
You’re right — it’s also worth reflecting on the fact that tuberculosis killed 1.5 million people in 2018 [1].

[1]: https://www.who.int/news-room/fact-sheets/detail/tuberculosi...
> Everyone has complete control over what they do with their own lives.

No, as I just mentioned.
what constitutes remodeling? Changing the entire layout of the house?

because from my experience, nearly all houses in my country have the same kind of layout. Having lived in both pre and post ww2 housing. The major differences seem to be:

- new, post ww2 houses have larger kitchens
- old, pre ww2 houses seem to have a smaller living room and a "front room" (with load bearing walls in between). Modern houses have these rooms combined into a larger, single living room.
- the bathroom in post world war 2 houses are considerably larger.

Also, what is the deal with many american houses having multiple bathrooms with showers/baths in them?
I think I’d personally rather die than go through that but that’s just me.
> The reason we don't build out of stone/brick, besides cost of construction, is that they're terrible insulators. So your heating or AC bill is going to go absolutely through the roof.

The very opposite. A thin layer of plywood is a terrible insulator. Bricks are very good.
Well my tenant is one person who beat the system! Never has to work, period.
Standard Notes. Simple, encrypted, open source, and has nice consistent apps on every platform.

https://standardnotes.org/
That was probably because it freed up a lot of capital of old people. The people inheriting money would spend it and hence a natural cause for an economic boom.

The Spanish flu would have taken both Donald Trump and Joe Bidden.
Re the Clojure comparison, it's not much of a consolation as the function binding problem doesn't exist there.
Intellectual property is more debatable, but investing and leaving wealth to your descendants seem like obviously good things to me.

I suppose that just goes to show we all have our own different tablets of values...
There have been studies of this from previous pandemics. Together with studies from the Great Recession / financial collapse the gist is there's definitely going to be an increase in mental health problems of all those sorts -- substance use, suicide, etc.

The interesting thing is that in previous situations deaths attributable to these things was offset by a decrease in deaths due to automobile accidents, workplace stress-related incidents, etc. That doesn't make it ok at all, and it's possible this time around is worse socioeconomically so things aren't offset. But it might not show up in overall trends if you just looked at general disability or death.
For bookmarks I use a wiki:

https://github.com/nikitavoloboev/knowledge

For snippets I use wiki too although a different one:

https://github.com/nikitavoloboev/code
That's one approach, however it's hard to just exclude oneself out of the one of the two large mobile phone application stores, through which apps must be installed and sold (at least if you're going to make a living as an app developer.) Monopolies and duopolies have disproportionate power.

Even if mostly ineffective, there's some value in protesting a corporations inconsiderate actions. At the very least, it reveals a potential market opportunity for an eventual competitor (as hard as it'd be for anyone else to unseat Apple and Google at this point.)
Denise Long Rife
Oh right, I totally forgot about MATE. My knowledge of GNOME accessibility is only second-hand.
Chariot racing was big for a long time in the classical world. The Nika Riots of Justinian were sparked during a race. The Blues and Greens were almost psuedo religions in Constantinople, giving out food and healthcare in some cases.

https://en.wikipedia.org/wiki/Nika_riots
I agree with the OP. I was interested to see how it looks, but I'm not going to install to determine that. If a tool doesn't show examples, it's usually because the examples would dissuade people from using it.
We all hate new syntax that we feel isn't "samey" enough to what we already know. That doesn't mean it's gross, it just means you learned something about your own preconceptions of what you thought JS was supposed to look and feel like.

Thankfully, most of the time we learn that's just us, and move past that. Arrow functions have been around for nearly five years now: they're fine. You learn that they're just part of JS, and you see them everywhere in modern code, just with normal indentation and sensible white spacing to keep them perfectly readable (because minification will solve the "the code as written is too verbose" part of the dev cycle).

The important thing is what they do: bind declaration context as execution context, so `this` keeps meaning the same thing, which drastically simplifies a lot code.

In this case, there is simply no reason to use arrow functions at all, because we don't need to preserve the declaration context (there is no `this` that needs to be preserved), so if this were real code you'd probably use a normal function, and your comment should probably be "why not this?"

function makeCell(value, i, j) {
function onclick() {
playMove(value, i, j);
}

return build('button.cell', { onclick }, value);
}

Or even, "actually, why not this?"

/**
* ...
*/
function clickCell(evt) {
const t = evt.target,
d = t.dataset;

playMove(t.textContent, d.i, d.j);
}

/**
* ...
*/
function makeCell(value, i, j) {
const e = build('button.cell', value);

e.setData({ i, j });
e.click(clickCell);

return e;
}

To which the answer of course is "this isn't production code, arrow functions are fine. I mean come on, it's just a fun little JS exercise, stop trying to turn fun into work".
Diigo has been my go-to ever since delicio.us folded. You can add any number of tags to each link, and the tags are easily searchable. The interface is not cluttered by enormous graphics, so you can view a large number of items on each page. The browser plugin and mobile app are also rock solid.

Whenever I want to save a article for reading, I add the tag "readqueue", and next time I want to read something interesting, I just search for that tag. When I finish the article, I change the tag to "readDONEqueue". I also have a "watchqueue" for videos.

I use it so much that I even signed up for the paid plan - it's been incredibly useful and has saved me from bookmark hell these past five years.
In some countries, top income tax rates are low (for example HK 16%, Russia 13%), and you get a decent level of public services (cheap universal healthcare, good public transport).

In some countries, taxes are high, and you get good public services and a comprehensive social safety net (most of Europe).

The US is exceptional in having high taxes and mediocre (at best) public services (plus a huge army and health care for the elderly - at least something).
I don't understand your point.

The quote you're referring to, regarding 95% CIs, in context specifically applies to comparing surgical masks vs. N95 respirators, not mask vs. no-mask. In other words, surgical masks are not shown to be worse than N95 respirators.

That's in complete agreement with the point 2 that you're apparently trying to refute.
yep, I figured that out by reading the actual article instead of straight jumping to the source and my edit was too slow. I'm sorry ;-)
It's not an alternative to the economy grinding to a halt, because microbes (including COVID-19) transmit efficiently through other means, as well as from touching copper surfaces that have had microbes deposited on them within a few minutes as opposed to several hours (which is most handles and many surfaces in most busy public places). Still a worthwhile consideration, but handwashing instructions guidelines are probably more useful than assuming the slow-acting antimicrobial properties of certain surfaces will relieve us of the need.
Consider adding something like this for jsx (200 lines):
https://github.com/wisercoder/uibuilder

Router (500 lines): https://github.com/Rajeev-K/mvc-router
It’s not really a one time payment though. Unemployment checks will be a much larger injection than the checks.
And this "significant chunk" of the population assuredly would not include one's Armenian relative who immigrated to America. As stated in the article, most Armenians are likely home-owners due to the collapse of the USSR, so it's irrelevant that renting is prevalent globally.

Again, I agree the author shouldn't have said "almost all" Americans, but it's still a silly nitpick in context to the rest of the article. Rent/Mortgage is just a slice of the pie of costs that one may have to pay in decentralized America.
What features does it have over DBeaver?
I use a folder with markdown notes & syncthing to sync them between my devices. I also run a cron job on my phone to regularly push them up to a private GitHub repo for online access.

Android - markor

PC - vscode / typora

Online - GitHub's editor & markdown viewer
I also use Google keep and google reminders when I need a reminder. Mainly because of the Google calendar integration which is great.
We had more important stuff going on like an impeachment, Democrat primaries and the Super Bowl. And our vaunted journalists were busy crushing rumors that the virus would spread beyond China, or be worse than the flu. Thanks to those compelling news pieces on xenophobia and how travel bans don’t work, how masks don’t work, how we should eat out in Chinatown to combat trump’s white nationalist agenda (pbs I’m looking at you) thanks to the media and their focus on how masks don’t work and how travel bans don’t work, thanks to all that we squandered the chance we had. We were too busy morning Kobe Bryant cause that’s what nbc told us was important.
And frankly, it might be a rare example of a social policy where "revolutionaries enact a coup to overturn it" needs to be explicitly considered and risk weighted.
I use flat files written in Markdown for various notes. On my Mac I use Ulysses for editing, on my Android phone it's Markor.

For bookmarks and long term URL storage there is my open source tool LinkAce: https://www.linkace.org/
I built this tool because there were no tool that I actually liked.
I'm guessing she felt like the the course she took would get it raised in the media sooner. Probably benefiting others, sooner.
If you want to read their articles so bad, what stops you from paying for NYT?
I'm the same. I often favourite posts I find noteworthy, useful or I want to revisit later.
It's a pity you can't favourite with a single click from the list view (e.g. front page) or for comments from the thread view. I think, especially for comments, the favourite feature is hard to discover and inconvenient to use. Wish it would be easier so more people would use it because skimming through other peoples favourites is also an entertaining pasttime.
> If I made div.bar and then changed it to div.foo.bar, properties of .foo could override properties of .bar because it looks like it would end up with classList [“bar”, “foo”] instead of [“foo”, “bar”]? Maybe?

What properties are you talking about here? Despite the name, classes are really an unordered set, the order of classes on the element should not matter: when CSS gets applied, properties are prioritised based on the most specific rule, then the latest rule. That is the prioritisation of CSS properties should depend entirely on the CSS and not in any way on the order of the class attribute / className property.
You'd rather die than spend a week or two sedated on a ventilator? I don't feel the same.
"Solid" sounds like a big waste of money to me.

It's my experience that our American housing/apartment market is obsessed with pictures and numbers. Square footage. Dazzling photos. Checklists of amenities.

And this has been the source of much misery for me. For years I have hunted for somewhere to live with even a modicum of soundproofing. I've tried older duplex buildings with deep basements that are now illegal for fire escape reasons, higher end apartments, standalone houses, ...

Nobody advertises based on "soundproofing", with one exception that was ultimately a lie. Nobody advertises based on air system quality.

It's like we have completely forgotten that we have any senses other than sight.
prefer asciidoc because its a well defined standard and is just as simple to use as markdown.

and yes - tables are much nicer in asciidoc
Literally literally, or just lol?
Except that on hardware that's so worshipped and recommended to everyone here in HN you cannot do that at all: on iOS devices, presumably the future of computing, you cannot build a product doesn't pay tax to Apple and isn't approved by their censors.
I've been saying this for years.

If reactive data and data binding were solved at the browser level we'd save so many kBs and CPU cycles.
This is not exactly correct.

I recently had to cut (for reasons) an mp4 video somebody sent me over Whatsapp.

After fighting with ffmpeg for a day - they hey word here is "keys" - because there were issues with the video: Sound would start at point but video didn't, or the first part before the first key in it of the video was re encoded and the quality was crap I finally resorted to using Handbrake, that did the job I needed.

Just get any short video somebody sent you and try do use this script, and you'll see what I'm talking about.
I would be pretty surprised if Apple let Spotify do this, even if the latter were willing. They're direct competitors to Apple's hopeful cash cow Music service.
I feel more and more that newspapers should avoid all kinds of figurative language and express all in the most functional plain language.