News for hackers. Stuff that matters.

Lemmih

Re:If it were my home on Sunday January 30, 2022 @07:14AM (#30136451)
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.
Re:The Dunyazad Digital Library on Sunday May 23, 2021 @11:52AM (#27255911)
Really wish they would use https. Saying that it doesn't matter is disheartening.
Re:NSan: a floating-point numerical sanitizer on Wednesday February 24, 2021 @07:26AM (#26249162)
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...

Re:NSan: a floating-point numerical sanitizer on Sunday February 21, 2021 @01:06AM (#26211222)
Loved your thesis. Will implement it in Haskell for use in hgeometry (https://hgeometry.org).
Re:The Full Automation Fallacy on Sunday February 07, 2021 @08:58AM (#26055049)
$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.
Re:Ask HN: What are you working on? on Thursday January 14, 2021 @10:01PM (#25786473)
Mostly 2D but some of the algorithms also work in higher dimensions. The HGeometry library explicitly encodes dimensions in the types of objects.
Re:Ask HN: What are you working on? on Thursday January 14, 2021 @06:56PM (#25784884)
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.

Re:Manim: Animation engine for explanatory math videos on Friday October 30, 2020 @08:20AM (#24941451)
Good catch. Fixed in HEAD.
Re:Master of Magic on Saturday October 24, 2020 @02:24AM (#24877361)
I tried buying from the publisher but they demanded by phone number.
Where do you live?
Re:Show HN: MP3 to Text on Tuesday August 18, 2020 @11:41AM (#24200014)
How does this work? And is it more accurate than YouTube's automatic captions?
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.

I work for a bank. They also have an office in London but I like Singapore more.
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

Re:Ask HN: What interesting problems are you working on? on Wednesday January 29, 2020 @06:58AM (#22179580)
Is it on github?
Re:Ask HN: What interesting problems are you working on? on Wednesday January 29, 2020 @01:42AM (#22178072)
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

Re:Hyperpolyglot on Wednesday December 28, 2016 @10:49AM (#13271207)
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.
Re:How to Make Millions of Hoverboards Almost Overnight on Saturday November 28, 2015 @05:24AM (#10640684)
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.
Re:Soylent now accepting Bitcoin for preorders on Wednesday August 07, 2013 @01:56AM (#6171135)
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.
Re:Soylent now accepting Bitcoin for preorders on Wednesday August 07, 2013 @01:54AM (#6171121)
Re:Soylent now accepting Bitcoin for preorders on Tuesday August 06, 2013 @05:57PM (#6169486)
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.