Hacker Newsnew | past | comments | ask | show | jobs | submit | Lemmih's commentslogin

The sources link is broken and some of the data is wrong (or maybe old). The site says the Danish life expectancy at birth is 79 years. CIA factbook (the supposed source) has the number as 81.45 years.


Really wish they would use https. Saying that it doesn't matter is disheartening.


Believe it or not "everyone must use https" is a pretty political push, based on favoring certain corporate entities who control all of the points in a network where https traffic gets decrypted, at the expense of other corporate entities who the first group doesn't like.

I think in most cases, sites which do not collect or handle personal information should support http, and optionally support https for those who have particular reasons to be concerned about being noticed viewing a website.

(Also, consider that many hosts still effectively charge money to encrypt your site. Usually by selling their own certs and refusing to support Let's Encrypt based renewals.)


> Believe it or not "everyone must use https" is a pretty political push, based on favoring certain corporate entities who control all of the points in a network where https traffic gets decrypted, at the expense of other corporate entities who the first group doesn't like.

It's really not. Ever had your ISP inject shit into your pages? https://www.infoworld.com/article/2925839/code-injection-new...


> It's really not. Ever had your ISP inject shit into your pages?

This. And all the other skulduggery that MITM attacks enable.

I'm kind of surprised that none of the powers-that-be ever pushed for an HTTPS mode that merely signs requests and responses rather than encrypting them, in an effort to undermine encryption advocates.


That's a good point. On the other hand, the transient nature of certs makes the hosting a lot more temporary-feeling/brittle - it may get better with time - I guess we'll see...


Loved your thesis. Will implement it in Haskell for use in hgeometry (https://hgeometry.org).


Great! Don't hesitate to contact me if you have any question or roadblock. I would be happy to give a link to your implementation in the readme of the C++ reference implementation.


No roadblocks but I did find something I didn't expect. Turns out that 'sinl(pi)' differs on Linux and macosx. I'm getting error-bounds that are slightly different.

Here's the PR for my Haskell implementation: https://github.com/noinia/hgeometry/pull/120

Here's the documentation: https://noinia.github.io/hgeometry/doc/hgeometry-combinatori...


$26.5 billion dollars in revenue, not profit. 2019 was a particularly good year with $3.599B in net profit. That is $10K per employee. 2020 was worse with $0.928B in net profit: $2.7K for each employee. There really isn't much wiggle-room for significantly higher salaries. And during good years, Starbucks tend to hire more employees rather than increasing salaries (employee count went from 277k in 2017 to 346k in 2019).


I have a bad habit of pressing shift with the same hand I use to hit a character. Eg. I'd hit Shift_L + T (both left hand) instead of Shift_R + T (hand hand for T, right hand for Shift_R). I wish that was an easy way to configure my shift keys to only modify keys on the opposite side of the keyboard. It's kinda possible through xmodmap but it's a PITA to set up.


I use a QMK keyboard, and wrote some code for the firmware that would enforce this in the keyboard itself. "Naughty" combinations like you listed would just NO_OP instead of emitting a scan code.

It was frustrating as hell. Which, I guess is the point at first. But I got tired of it faster than I learned to balance the key presses.

I wonder if just a small beep or other subtle signal would work? Allow the wrong combo, but give the typist some feedback.


Do you have a hosted version of that source code somewhere? I have been thinking about doing this with my own keyboard at some point.


Okay this is wild. I went looking to see if I could find the file, and came up empty. I don’t know what I did with it. Then I started wondering if I really did do this or if I had done it in autohotkey instead.

So then I searched to see if somebody else had created one, and found this[1]

I wrote that!

So there’s my file. I don’t know if I made any improvements to it since posting that, since I can’t find it anymore. Let me know if you encounter any bugs.

[1] https://www.reddit.com/r/olkb/comments/8mxpdp/qmk_code_to_en...


Use Autohotkey, it's not really a big thing, e.g.

<+t::return


I'm working on geometry algorithms and animations: https://hgeometry.org

Right now I'm tinkering with a sub-linear visibility algorithm, and boolean operators for polygons.


Presumably in 2d? You don't mention the dimension on the main page.


Mostly 2D but some of the algorithms also work in higher dimensions. The HGeometry library explicitly encodes dimensions in the types of objects.


This is awesome


Good catch. Fixed in HEAD.


I tried buying from the publisher but they demanded by phone number.


Where do you live?


I live in Hungary, the country where a new empty soccer stadium is built in every month.


How does this work? And is it more accurate than YouTube's automatic captions?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: