Better HN
topnewbestaskshowjobs
Log inSign up

andruby

5,519 karma · joined Dec 4, 2013 (12y ago) · 1,352 submissions

contact me at andrew [at] bedesign [dot] be
Submissions

comment 6y ago · link · parent

this is my go-to comparison of different compression algorithms [0]

TL;DR zstd is faster, smaller and has a wider range than gzip. For maximum compression, plzip seems to be the best.

[0] https://community.centminmod.com/threads/round-4-compression...

comment 6y ago · link · parent

Very cool!

> binsort <dir> | tar -T- --no-recursion -czf out.tar.gz

> Binsorting the distribution of abiword 2.8.6 (44029103 bytes in 3391 files) on a quadcore CPU takes approx. 12s, and produces a tar.gz more than 14% smaller than without processing.

14% is an amazing improvement.

comment 6y ago · link · parent

I know how you can get a high quality, normal speed sunset every day of the year, for free!

You don’t even need a VR headset.

comment 6y ago · link · parent

The tool was firebug. It was a big difference when browsers didn’t offer built in tools.

comment 6y ago · link · parent

I was watching Troy Hunt's weekly update[0] where he reveals he's open-sourcing Have I Been Pwned (HIBP). He also talks about the failed M&A process:

   We get all the way with an organisation who we thought was a very good fit.
   [...] which due to confidentiality reasons I have to describe as "a change in
   business operating model" happened that killed the whole [deal], in February.
Mozilla would have been a perfect fit for HIBP. Could it be that the failed M&A partner was in fact Mozilla, who are now revealing their "change in business operating model" (ie: focus on commercial products)?

This comment from 5 months ago has the same idea [1].

[0] https://youtu.be/2-wgY3Fqfos?t=2160

[1] https://news.ycombinator.com/item?id=22471374

comment 6y ago · link · parent

Many European countries implement that baseline quality of life at the country/government level.

What you are hinting at has a name, and it's called socialism.

Some people in those European countries do complain about high taxes. But in general, as a country, most are happy with our "social safety net" which includes universal healthcare, "almost free" education system (including University), reasonable minimal wages and "liveable" unemployment benefits.

Socialism seem like a dirty word in the US. It isn't one where I'm from (Belgium).

comment 6y ago · link · parent

Yes, and Troy mentions this in the comments of the blogpost.

He's open-sourcing it so the community can help him manage the project, which I think is a fair request/hope.

908.

Apple Emails Reveal Internal Debate on Right to Repair(ifixit.com ↗)

4 points · by andruby · 6y ago · discuss

comment 6y ago · link · parent

He's 89!?

Well, he does look good for his age.

comment 6y ago · link · parent

Piezo-electric? But then you need to cool the other side even more..

comment 6y ago · link · parent

I run a hosted version on https://freegeoip.whoisbot.io but it looks like MaxMind changed their database url so it stopped working

comment 6y ago · link · parent

How does that work? Do I understand correctly that you connect the first led to a esp32 (+3V, onewire, GND) and then connect +12V and GND to the second led?

I wonder why it wouldn’t work if you connect +12V on the first led?

913.

After 7 years, Lego releases a new Mindstorms kit(pcmag.com ↗)

26 points · by andruby · 6y ago · 4 comments

comment 6y ago · link · parent

Would we call that "intuition"?

comment 6y ago · link · parent

Here’s what they mean by inclusivity. Right now the large majority of authors/editors on wikipedia are caucasian men from richer western countries. This causes an inherit bias in wikipedia’s content. Wikimedia rightly would like the authors to be an unbiased representative sample of society if it wants to be a representative encyclopedia (do se still use that word?)

I visited wikimedia’s HQ almost a decade ago. Back then they were trying to solve this problem by making the editor more approachable.

comment 6y ago · link · parent

That would mean anyone who has enough money can buy the land that people live on just to harass them.

It’s an interesting idea, and I like it in principal, but I also like living in my house on my land knowing that I need to give permission before someone can buy it.

comment 6y ago · link · parent

IANAL

In other countries, you can't "just let someone go". In Belgium there are CAO's [0], which loosely translates to: Collective Employment Agreements. Basically all employment agreements for a whole industry are more or less standardised. On one side there are the employers (of different companies) and the other side are the workers, which are represented by union leaders (perhaps also political representatives).

These agreements includes a lot of rules on how employment can be terminated. One example could be that an employer is only allowed to fire an employee for underperformance after given the employee 3 written reports over a period of 3 months and working on a plan to improve their performance. Only after that fails to produce results are you allowed to fire the employee. And you need to keep the documentation as it could be reviewed in court if the employee decides to fight it. (That doesn't happen often).

For this reason, often the employer will try to get the employee to quit. Or at least come to a mutual agreement to terminate the employment.

In Belgium, it's very hard to fire employees, and I think this is the same for several other European countries.

As a result, I haven't heard of many EU companies firing employees during these rough times. At least, not as often as US companies with "at-will employment".

The flip-side is that large companies will often have a glut of employees that aren't productive, but can't be fired.

[0] https://en.wikipedia.org/wiki/Collective_agreement

comment 6y ago · link · parent

Sending your kids to school all the way up including university costs about ~€10K per kid in Europe. How much would it cost in the US? ~$150K? I think that would make up another large chunk of price difference.

And: it’s available for every parent. Not just those in nice tech jobs.

comment 6y ago · link · parent

Why are they touting "GCM encryption" without explaining what that means? Do they mean "Galois/Counter Mode" [0]? If so, _why_ is that better than the encryption they were using before?

[0] https://en.wikipedia.org/wiki/Galois/Counter_Mode

comment 6y ago · link · parent

You say it won't come down, but that's because the US is in it's own ballgame. In most other advanced western country healthcare "only" accounts for 7~11% of GDP.

The chart on [0] is incredible. I also shows how much that percentage has grown over the last 45 years.

[0] https://en.wikipedia.org/wiki/List_of_countries_by_total_hea... [1] Source data OECD: https://stats.oecd.org/Index.aspx?DataSetCode=SHA

comment 6y ago · link · parent

Hi Chris. I built a demo with LiveView a year ago and am very happy to see all the improvements.

One thing I didn't understand from the video is how the :post_updated callback worked. It prepends the updated post to the list of posts. How come that doesn't lead to the same post being double in the list?

comment 6y ago · link · parent

I make a habit of driving my car at least once every month to combat this.

comment 6y ago · link · parent

> I'm a software developer, which translates to being somehow smart

* citation needed (I'm also a software dev)

On topic: I did actually study economics, but that doesn't help much in answering your question. As often: it's very hard to predict. Probably the current price of the future contracts are artificially low because it's more expensive to take delivery. So they are much more affected than the real prices. the real prices will fluctuate, but probably less than the future prices.

Prices could stay low, but there's a higher probability that they'll return closer to the mean after the calamities and short-term effects subside.

comment 6y ago · link · parent

Belgium has this specifically for our country [0]. It has a 4 week lag, but they've started to include interim data in the weekly updates by the national bureau for epidemics. The last weekly update included the "excess deaths" compared to previous years: [1]

   Week      Monday        Observed  Expected    %         Deaths
                           Deaths    Deaths      Excess    Per 100K
   
   2020-W11  09/03/2020    2,220     2,302       -3.6      19.4
   2020-W12  16/03/2020    2,531     2,275       11.3      22.1
   2020-W13  23/03/2020    3,116     2,249       38.5      27.3
In other words: in the last week of March, we had 38.5% more deaths than usual. Or 7 extra deaths per 100K inhabitants. That's terrifying.

Side note: Belgium is one of the only countries that includes deaths in carehomes and at home. The deaths in carehomes is almost half of all covid-19 deaths here.

[0] https://epistat.wiv-isp.be/momo/

[1] https://epidemio.wiv-isp.be/ID/Documents/Covid19/COVID-19_Da... (NL or FR only, sorry)

comment 6y ago · link · parent

I remember those days. Learned a lot by doing stage 0 gentoo installs.

comment 6y ago · link · parent

60k deaths in the US on a population of 330M, guess how much that would mean for the world? 7700M/330M * 60K = 1.4M.

OP is absolutely right.

Countries with lower standard of healthcare than the US will have a higher death rate.

comment 6y ago · link · parent

What is the limit for Covid-19 deaths? We don't know yet if we'll get a working vaccine or if immunity from antibodies lasts long enough. What we have at the moment are educated guesses. If Covid-19 becomes endemic, it could be a death cause that is always present like influenza.

This might be a bit morbid, but every death cause has a limit, the whole population..

comment 6y ago · link · parent

If you're selling a B2B product for <$1K, you'll probably need the customer to come to you instead of you reaching out to them. This could be through strong marketing and branding.

I only have experience with >$1K B2B which implied outbound sales (company contacts potential customers).

comment 6y ago · link · parent

At least Regan was able to admit that he was wrong (even if he didn’t admit he was lying). I wonder if Trump has ever admitted to being wrong.

comment 6y ago · link · parent

That used to be the case, but it's not anymore. Postgresql has logical replication built-in since Postgresql 10 (released 2017-10-05). It's really simple to run these days and the docs are great [0]

[0] https://www.postgresql.org/docs/12/logical-replication.html

1
303132
46