skysight-inc/HackerNews huggingface dataset:
I find this deeply worrying, but among the people I work with and my immediate circle of friends and acquaintances I am in the minority. In my experience, people just don't care that much (a fact which I find very, very sad and troubling). My partner for example who is an otherwise intelligent woman doesn't really care - her 12 year old son even less so. In fact, I'm pretty sure he will be part of the generation that will grow up to regard privacy as some sort of slightly weird, exotic commodity.

I grew up behind the Iron Curtain, and for a chunk of my life we lived with this sort of government intrusion - nay, we expected it. We expected letters from abroad to be opened and read, we expected telephone calls to be listened to and so on. Obviously, there was no judicial oversight. I remember we looked at the West with something akin to awe and longing: in the West, they don't read your mail, they don't snoop on your calls and sure as st they don't confiscate subversive magazines sent from abroad. It was like a fairy tale; in the West, they took your rights seriously.

30 years on, I look at the UK, my adopted home like a lover who fell out of love with the object of his desire. It turns out that when presented with the technical means to do so, the West is just as keen to eavesdrop and hoover up all your data: emails, phone calls, text messages, the lot.

Freedom and privacy are like a sausage comrades: you keep slicing at it until there's nothing left!
This is horrible! Everywhere the English is mixed with bad translations to Swedish! Who thought this was a good idea?
The essence of using Exponentiation by Squaring to calculate Fibonacci sequences in log(N) time is also covered in SICP exercise 1.19.

The elegance of the Haskell solution is that you only need to define a Monoid, and then you get exponentiation by squaring for free. This is a great example of abstraction done right.
It's unlikely (but not impossible) that a 24 year old developer has had much of the experience needed to be classed as properly senior.
> Just swipe left and right at the bottom of the screen (on the bar)— this lets you flip between apps in the order that they’re in the switcher. This means I very rarely actually enter the full multitasking switcher in normal use.

Did Apple make this a all or nothing thing or do some of these gestures also work on home button devices?
That headline reads more like a bug report than a press release.

"Here's a barge full of coal. Maybe you can fix it with that."
I dont understand the point you are making. Australia’s lockdown has been progressing and alleviating at the same rate as the rest of the world. Most countries are having a reprieve. Japan is going into lockdown lite and Australia’s economy was slowing pre covid anyway.
If your CS degree didn't make you a better programmer you should specifically be mad at your university more than about the distinction between CS and software engineering. A well-rounded CS degree will absolutely make you a better programmer, but it won't make you a good programmer. The only thing that can do that is doing actual programming.
IIRC GNOME removed support for snaps from gnome-software so this was the only way forward.
Why would you need a shower and different clothes for a short bicycle ride?

(disclaimer: am Dutch)
There's much more to server hardware than CPU power and efficiency, and it's difficult segment to enter because of the risk involved making large investments in unproven hardware. But despite that, it still seems like things are actually moving in that direction and ARM is starting to get a serious foothold in the server market now. For example consider Amazon's new Graviton2 CPU's [1], which according to AnandTech 'puts all x86 alternatives to shame' [sic] when it comes to the price per unit of compute time it provides. I think it's entirely likely that the server market will be flooded with ARM servers in the not too distant future.

[1] https://www.anandtech.com/show/15578/cloud-clash-amazon-grav...
Compare countries of similar population:

pop 10.7e6 https://covid.observer/gr/#daily

pop 10.7e6 https://covid.observer/cz/#daily

pop 10.3e6 https://covid.observer/se/#daily

pop 10.3e6 https://covid.observer/pt/#daily

pop 9.8e6 https://covid.observer/hu/#daily

pop 8.9e6 https://covid.observer/at/#daily

pop 8.6e6 https://covid.observer/ch/#daily

I want to point out the high absolute numbers of deaths, the deficient recovery, and that the curve shows no decline in Sweden.

I would be completely unsurprised that when this is over, an angry mob captures Tegnell and tears him limb from limb while alive.
Show HN: DB-SQL – an easy to use, webbased query tool for PSQL and MySQL DBs
It's great that you got so good results of it, say yes to free software. May it continue and may it improve. Perfect man.
Good article but James just sounds salty throughout the post
Yes, so does WebGL and with the same efficiency.

Partial hash inversion is an embarrassingly parallel problem: computing a hash from a random number is independent from the other random numbers you want to compute hashes for, also it is a computation bound problem and not memory bound. It means you can build a fairly efficient partial inverse finder by running many fragment shaders ("pixels") in parallel and only drawing the one that finds it. This is doable in WebGL today.

A key feature of WebGPU is compute shaders which sound like they can compute stuff so they would be better at hashing. But actually compute shaders give more flexibility which makes it possible to handle problems that are a bit less parallel, and they help optimize memory-bound programs (but don't help for computation bound programs). So compute shaders make it slightly less code to do a partial inverse finder, but do not make it dramatically more efficient.

So to answer your implicit point: no WebGPU won't unlock capabilities that will lead to a rise in ads mining Bitcoin. (though it could maybe help for Ethereum mining)
> completely inaccessible to a large chunk of the world's population.

You can say that about anything considered the “cheapest” in a group

- the cheapest new car
- the cheapest new laptop
- the cheapest new house

> When a device that most will spend $449 on is "cheap"

“cheapest” is not the same as “cheap”
Covid-19, High Stakes Poker and the Zero-Sum Game
LCH Color Picker
How to Build Reliable Search Highlighting
It depends on the target, really: consumer blog or professional blog? Value proposition and content seem very different to me... the former geared toward entertainment or synthesis, the latter toward information or analysis?
LexMundi, Microsoft and MoFo Launch AI Readiness Checklist
I agree. Luckily, sometimes the fix is easy. For example, I packaged my invoice PDF library[0] as a Docker container and simply created a small Elixir module that calls it.

[0] https://github.com/strzibny/invoice_printer
The Importance of Modern Web Performance Testing: Part 1
As an aside, a lovely (freely available) book on using generating functions to calculate closed form solutions to such problems by the late Herbert Wilf: https://www.math.upenn.edu/~wilf/DownldGF.html

One of the more enjoyable maths texts I've read.
Restaurants, gyms and other businesses battling insurers over coronavirus
God forbid any artist get recognition for painting beautiful pictures that are popular with the general public. Where would that end!?

Joking aside it's the same with architecture. Horrific demoralising modernist/post-modern abortions that are forced on the general public against their wishes, who, when they are asked, say they prefer traditional architecture.

Speculate away as to why this hideous crap is forced on us by metropolitan trendies.
> Amish people spend only a fifth as much as you do on health care, and their health is fine. What can we learn from them?

Given this opener, it seems bizarre that the article doesn't use the word "diet" even once. The comment there by "Scoop" seems right on.

Google tells me the USA is estimated to have around 300,000 obesity-related deaths per year. Apparently [0] obesity is around 10% as common in Amish communities as in the USA as a whole.

Aside: this is compared to around 35,000 gun-related deaths, around 40,000 traffic-related deaths, and around 50,000 opioid-overdose deaths. Presumably the Amish are spared these too.

[0] https://time.com/5159857/amish-people-stay-healthy-in-old-ag...
Thank you. Wow, they removed Python 2.7 huh? Had to clear out some packages to let that go through.
I guess it will break too many things, some of which may be out of control of Ubuntu.
It's still work in progress but snaps genuinely make packaging easier. There are rough edges, especially on the desktop, but those are all being worked on, in collaboration with flatpak actually.

It will take a while but in the future it will not be any worse at runtime and it will be much, much easier to package and run apps across releases and OSes
I could really do with a diagram to explain how all the parts fit together. gfx-rs, Vulkan, wgpu-rs, wgpu-native, browser WebGPU, gfx-hal, Vulkan Portability bindings.

Here's what i think:

1. Vulkan is an API for doing graphics which is modern and standard

2. Direct3D (part of DirectX, the names are sometimes used interchangeably), Metal, and OpenGL are APIs for doing graphics which are modern or standard

3. Vulkan, Direct3D, Metal, and OpenGL are all implemented by graphics card drivers and operating systems working together - this is pretty much the bottom of the software stack

4. gfx-hal (along with gfx-backend-*) is a Rust library which abstracts over Vulkan, Direct3D, Metal, and OpenGL; its API is similar to Vulkan, but not identical

5. The Vulkan portability bindings implement Vulkan (the "universally portable subset") on top of gfx-hal (to an extent - it seems like there are lots of little bits that can't be implemented for each backend)

6. WebGPU is an API for doing graphics which is modern, standard, and easier than Vulkan

7. WebGPU is (or soon will be) implemented directly by browers, on top of who knows what, Direct3D etc i suppose

8. wgpu-core is an implementation of (a Rust projection of) WebGPU on top of gfx-hal

9. wgpu-native is a C API on top of wgpu-core

10. wgpu-rs is a nice Rust API on top of WebGPU, which can (now!) use either a browser's WebGPU, or wgpu-native

gfx-rs is the name of the overall project.

I'm sticking to text mode.
"Top" measured how, and how much would you like to bet?
That's my point. It makes no sense to talk about "Africa".
JSON relations in GDPR records of processing activities JSON object
I am getting on a bit and its not that I think I know all there is to know, but I see so much new tech that seems like pointless unnecessary complexity. I reckon that more than 90% of apps could be done in a classical MVP, with a bit of JQuery and a well tuned database. Most new ideas are a rehash of something from decades ago. It gets rather tiring.
Official World Health Organization Covid-19 App
The nice 2x high-resolution display is generally significantly more expensive (just compare 4k and 5k displays at 27’’), so the advice isn’t wrong, it’s just not very practical.
There is nothing wrong with you, you just have no stake in propping up its value.

There was an artist in the '90's that did a short questionnaire asking people their preferences for certain types of art. The artist then created one painting representing what everyone wanted in a painting, it was a cabin in the woods. They also painted one representing what people didn't like, it was a geometric modern-style painting.
These relations are generated based on refs in JSON schemas with MOSP:
https://github.com/CASES-LU/MOSP
The tweet seems deleted, any workaround?
I’m running Firefox 75 on Ubuntu 18.04. Pretty standard usage.

Fieldset doesn’t allow inset box-shadows on Firefox, but you can fix that relatively easy:

fieldset {
position: relative;
}

fieldset::before {
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
box-shadow: inset -1px -1px #ffffff, inset 1px 1px #0a0a0a, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
}

Moz-Inner-Focus and the Radio/Options are also equally easily fixed:

::-moz-focus-inner {
border: 0;
}

input[type="radio"], input[type="checkbox"] {
visibility: hidden;
}
Medicine was much cheaper then, mostly because if you had any of the sicknesses that require 100 000 USD drugs now - you just died.

Part of it is patent law, part of it is dysfunctional American healthcare system that drives prices up, but big part of that is that medicine just got much better and much more inherently expansive.
>> What's interesting is they describe it working on forecasts (for wind and sun) instead of instantaneous renewable production. I wonder what the rationale for that was? Basing the algorithm on instantaneous information should be more accurate and thus give better savings

The article says they are “shifting the timing of our compute tasks”, so if they think that there will be cheap electricity later in the day (because it’s going to be especially windy or something) it would make sense for them to schedule some of their heavy compute tasks at that time, rather than right now.
We’re excited to announce that ElonMusk is doing an AMA this Friday at 1pm PT
Ask HN: Startup Idea – Income/expense smoothing for freelancers/SMBs?
We've been freelancers for a decent chunk of our lives, and have faced irregular income and resulting financial anxiety for the most part. We're now devising ways to make that income/expenses consistent and eject "stockpiling syndrome". We were hoping for some feedback from the freelance/SMB community about this, would this be of interest?
Eternally grateful for your responses, stay safe!
Your parent and grandparent comments were (imo, clever) word plays on C# / see sharp and back to _hear_ c# (instead of see sharp).

Edit: Point being--scientific accuracy not required. :)
Sweden chose (and is still choosing) option number 2.

Universities are closed, high schools are closed, elementary schools are half-empty, people that can work from home do so, a lot of employees have been furloughed, restaurants have switched to mostly take-out, bars are closed, large events are cancelled, grocery stores reserve hours in the morning for senior citizens, elder care homes don't accept visitors, travel is way down, and people generally self-isolate and self-quarantine. Field hospitals have been constructed, recently retired healthcare workers have been asked to come back to work, vodka producers have shifted to making hand sanitizer, and other companies have shifted to making PPEs, etc.

Yes, Sweden is one of the least locked down countries de jure, but it's de facto locked down pretty well. The actual difference between Sweden and other European countries is much smaller than you think.
That's pretty handy actually
I hate snap.

It makes my system less predictable, increases load times, makes UI stuff look ugly, obfuscates process monitoring, hogs memory, cannot deal with files in /tmp (and I happen to use /tmp a lot), makes if hard to do audio (like connecting a mic to Chromium)... I can go on.

But in 2019 versions of buntu it could still be removed:

https://github.com/cies/kubuntu-setup#remove-snap

I found a way to use Debian packages reliably on buntus with a trick that is shown here for Chromium:

https://github.com/cies/kubuntu-setup/tree/master/chrome

If this snap thing continues to invade the *buntus I will move away from them. For now I still like the combination of stable + up-to-date + familiar (Debian based), but --as others have said-- the snap thing goes against why I choose to use open source.
Sure, health care is even worse than any other field because of the high regulations and the health cost bubble in US.

But you can always just accumulate gold/silver/Bitcoin, the weakest points of the fiat system from the moderate salary that you have. It's still important though first to understand thoroughly what you're buying.
Just tried upgrading on WSL and I got an endless loop of

sleep: cannot read realtime clock: Invalid argument

Ctrl+C and then I get

$ sudo apt --fix-broken install
...
Setting up libc6:amd64 (2.31-0ubuntu9) ...
Checking for services that may need to be restarted...
Checking init scripts...
Nothing to restart.
sleep: cannot read realtime clock: Invalid argument
dpkg: error processing package libc6:amd64 (--configure):
installed libc6:amd64 package post-installation script subprocess returned error exit status 1

and I have no clue how to fix this. (Edit: Found a fix. [1]) For the life of me I don't get how people always say upgrades are so easy on Ubuntu. I practically never have a pain-free Ubuntu upgrade experience... never. And while this particular issue appears WSL-related, I'm not just talking about WSL. There's always some random things breaking in the middle.

Update: After fixing that and upgrading everything, now I get this nonsense:

The following packages have been kept back:
libpython3.8 libpython3.8-dev libpython3.8-minimal python3.8 python3.8-minimal

$ sudo apt-get install --upgrade python3.8
...
The following packages have unmet dependencies:
python3.8 : Depends: python3.8-minimal (= 3.8.2-1+bionic1) but 3.8.2-1ubuntu1 is to be installed
Depends: libpython3.8-stdlib (= 3.8.2-1+bionic1) but 3.8.2-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install libpython3.8-stdlib
...
The following packages have unmet dependencies:
libpython3.8-stdlib : Depends: libffi6 (>= 3.0.4) but it is not installable
Depends: libreadline7 (>= 7.0~beta) but it is not installable

[1] https://github.com/microsoft/WSL/issues/4898#issuecomment-61...
That quote is very true!
I'm afraid to update and check the different displays scaling.. It's going to be absurdly hard to setup in a non-terrible way again, I guess.
I guess you don't play videogames on your computer.
>Oil tankers carrying enough crude to satisfy 20 per cent of the world’s consumption are gathered off California’s coast with nowhere to go as fuel demand collapses.

What does that mean? 20% of the daily consumption? 20% of the yearly consumption?
I presume marvin is talking about a particular war when in progress, not the phenomenon of war in general.
I've switched to sway now and have that done manually like many other things to make them "just right". I just meant that the default Ubuntu desktop regressed on that from the Unity to GNOME switch. It was one of the things that I thought Unity had done particularly well within the constraints of what the software could do but very few people seem to know about it. I've explained how to get font scaling to dozens of people online to fix their issues. For most people it's just a much better solution than the much awaited fractional scaling.
I see monoids more and more everyday. A bit outside the topic but does anyone have a good introduction-level resource to learning monoids?
Be sure to click through to the Explore page since it's not immediately obvious.
USA has a problem with 3 scams - student debt, dumb lawsuits, and health insurance.

All 3 are connected and make healthcare absurdly expansive.
I enjoyed reading i3's landing page, thanks for linking.

So could you clarify for me, what's the relation between being a "tiling windows manager" and being light? Is it that for some technical reason one would expect tiling windows managers in general to be lighter than non-tiling? Or is it that orthogonally to the tiling aspect, i3 specifically aims to be light?
Personal Habits
Here are the measures of iPhone SE (4.7" screen) compared to iPhone XS (5.8" screen):

138.4 x 67.3 x 7.3 mm (5.45 x 2.65 x 0.29 in)

143.6 x 70.9 x 7.7 mm (5.65 x 2.79 x 0.30 in)

For half a cm extra in length I get 2.5 cm extra in screen size with the XS. I would have liked a smaller phone and if this were similar in size to the original SE, I might have switched, but the true size difference between this SE and a phone considered "much larger" is negligible (I own both).
> their output can be measured in other standardised ways nonetheless.

What are these standardised ways to measure developer output? I've never seen any, beyond "burndown charts" and "LOC", which I don't believe pass the sniff test.
Why? The iPad Pro is beating MacBook's in benchmarks all the time.
Show HN: Web collections to find informational content instead of searching
How's ML training on Intel integrated graphics? :)
I can't explain it really, I just have to. It's like trying to keep your eyes open when you are sneezing. I just have to.
Yeah you can just start typing your password, last time I tried Ubuntu, at least. Or press any key, and the prompt should appear. Even pressing ctrl could work. But any character-key should be the key, in my experience.
That's really cool, for all the spam/ads I have seen about Octopus I've never seen this before, and this is the first time I'm interested. (Ordinarily I'm only interested in price, viewing it as a straightforward commodity, and Octopus has never been appealing on that ground.)
Undoubtedly it was a species at risk!
So the only way to keep my data safe is to rent a VPN in a country that don't get along with the "n eyes" countries. Wanna guess how many options are left ?
I wish so much there were good cross-operating system sandboxing techniques. So mamy problems in things like video decoders (which are hard to write fast and safe) would be cured if I could easily pop them in a box with an input and output stream.

This type of stuff is of course in browsers, and they are doing great work in this area, it is just a shame it is hard for the rest of us to use.
> I just meant that the default Ubuntu desktop regressed on that from the Unity to GNOME switch.

I already felt like that with the switch from Gnome 2 to Unity. I switched to Mate as a result.
1. Vulkan, Direct3D, Metal, and OpenGL are all native 3D APIs on different platforms.

2. WebGPU is a new 3D API, designed to be used in browsers (but not limited to them) and implemented on top of one or more of the native APIs.

3. wgpu-native is Mozilla's implementation of WebGPU, built in Rust on top of gfx-hal, which is a Rust-specific abstraction on top of native APIs.

3. wgpu-rs is a convenience wrapper to make the API more Rust-like, which either uses wgpu-native directly, or when compiled for a browser, the browser's own WebGPU implementation.

4. Dawn is Google's implementation of WebGPU, in C++, which similarly can be used directly or through a browser.
On an unbounded chessboard it's not too difficult to represent the movement of a knight by a polynomial (or really a 2D convolution), but when your chessboard is bounded then the boundary effects become annoying. Maybe there is some way to mitigate those but I'm not aware of any.
+1 I am very much not the target audience (I don't really use build packs much), but I'm interested in the space (I am toying with the idea of running a PaaS) and it is very unclear to me why I would use this project instead of pack[0].

Currently I'm just defaulting to thinking that this is Cloud Foundry's attempt to enter the buildpack space, since standardization of the buildpack ecosystem (and adherence to set standards) lowers the bar of entry for them.

[0]: https://buildpacks.io/docs/install-pack/