Better HN
topnewbestaskshowjobs
Log inSign up

Lemmih

182 karma · joined Aug 6, 2013 (13y ago) · 25 submissions

[ my public key: https://keybase.io/lemmih; my proof: https://keybase.io/lemmih/sigs/bnNlK01vfBaZdFiUodkUugP8L1AzGFBtjpGu1ADVoP4 ]
Submissions

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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...

comment 5y ago · link · parent

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

comment 5y ago · link · parent

$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).

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

Good catch. Fixed in HEAD.

comment 6y ago · link · parent

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

comment 6y ago · link · parent

Where do you live?

comment 6y ago · link · parent

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

13.

Show HN: Reanimate – Write Declarative Animations with Haskell and SVG(reanimate.github.io ↗)

3 points · by Lemmih · 6y ago · discuss

14.

Voice Controlled Animations(reanimate.readthedocs.io ↗)

1 points · by Lemmih · 6y ago · discuss

comment 6y ago · link · parent

This is almost exactly how reanimate generates animations with Haskell: https://github.com/Lemmih/reanimate

Animations are frames over time and can be composed using 'seqA' and 'parA' combinators.

comment 6y ago · link · parent

I work for a bank. They also have an office in London but I like Singapore more.

comment 6y ago · link · parent

I have sponsors on Github and rake in a cool $2 per month. It's obviously less after taxes so I also have a day job.

https://github.com/sponsors/Lemmih

18.

Gentle: Combine audio and transcripts to get exact word timings and phonemes(lowerquality.com ↗)

2 points · by Lemmih · 6y ago · discuss

comment 6y ago · link · parent

Is it on github?

comment 6y ago · link · parent

I'm writing a 2D animation library inspired by 3b1b's manim. It's written in Haskell, fairly well documented, and is meant to be used together with external tools such as latex and blender. Design concepts with examples: https://reanimate.readthedocs.io/en/latest/glue_tut/

Source: https://github.com/Lemmih/reanimate

comment 9y ago · link · parent

Quite a few errors for Haskell. 'n <- return 3' is NOT a way to create a mutable reference. Silly things like that are scattered all around.

comment 11y ago · link · parent

Don't have a hoverboard but I do have an electric unicycle (they're usually made at the same factories). It's fast and I use it instead of my bicycle when it isn't raining.

comment 13y ago · link · parent

Those are the ingredients, not the formula. Without the formula, there's no way of knowing whether the amounts of vitamins and minerals actually make sense.

comment 13y ago · link · parent

Prototype formula: http://robrhinehart.com/?p=424

comment 13y ago · link · parent

I wanted to compare the ingredients and their amounts but I can't seem to find the formula for Ensure Complete. If you know where to find it, please post a link. If not, I guess that would be one reason why Soylent is preferable to Ensure Complete.