HNHacker News
TopNewBestAskShowJobs

madsohm

123 karma · joined October 17, 2014

submissionscomments
madsohm··on The secret Thinkpad powerbutton code to bring dead laptops back to life (2007)
At least IKEA Trådfri is just "Power cycle 6 times".
madsohm··on Some useful regular expressions for programmers
The only way you should ever "validate" an email address with a regex is like this: /@/
madsohm··on IKEA to discontinue its annual catalog, ending a 70-year run
In Denmark it's even worse than sucky shipping. Here we pay to collect our purchased items ourselves. So it's the items price plus ~$6 to collect it.
madsohm··on Luigi Model found in Mario 64 source code
Please tell us more. Why are the assets not simply deleted when the developers realize it's not needed, especially on a N64 cartridge to save space?
madsohm··on Ask HN: Did you take any fresh MOOCs as of 2020?
I am currently doing CS193p [0] (Developing Apps for iOS) from Stanford.

[0] https://cs193p.sites.stanford.edu/

madsohm··on Ask HN: Career and life advice for a 30yo
My team probably did 10-12 tickets per sprint and at least one of those were always technical debt related in some way.
madsohm··on Ask HN: Career and life advice for a 30yo
At my previous company we did Scrum with a capital S. We did planning poker, daily stand-ups (where we actually stood up), bi-weekly retrospectives and so on. However, we (the engineers) had also made it clear to management that we needed time slots for technical debt, which of course we got. It was a pleasure to work in a so oiled machinery.

So while we were still chasing features, we also had a say in when to do technical debt and could plan it out in a similar manner to new features.

madsohm··on My blog is now generated by Google Docs
I run my wishlist from a Google Sheets document. It's a bit annoying that you can't have gaps in rows in the spreadsheet, since fetching as JSON will only return up until the first gap.
madsohm··on Ask HN: Great fiction books that have had a positive impact on your life?
I read it for my bookclub together with a bunch of physicists. While I thought it was quite entertaining (but not more than that) they were all dismayed because of the amount of technobabble. Also, not to spoil it, but the title is wrong. It's a four body problem.
madsohm··on Tesseract.js: Pure JavaScript OCR for 100 Languages
Nice project! Tried it with a screenshot from an eBook. Unfortunately the Os became Qs and the Is became |s.
madsohm··on Transputer
If you're interested in more academic Transputers take a look at the CPA (Communicating Process Architectures) conferences [0]. Just last year it featured two papers on Transputers.

[0] http://wotug.cs.unlv.edu/conference.php?id=46

madsohm··on Dagen H: the day Sweden switched from driving on the left to the right (2018)
The (2018) in the title makes it seem like this happened just last year. The article describing it is from last year. Dagen H was in 1968.
madsohm··on Show HN: Chart.xkcd – Xkcd-styled chart library
I never could this to work, when I was doing research papers.
madsohm··on Visualize team email network with new MIT tool
Autoplaying background music. Why?
madsohm··on Ask HN: One-person SaaS apps that are profitable?
I read the pricing as "1500 webhook requests per minute" instead of the (I assume) correct "1500 per month".
madsohm··on R16: A New Transputer Design for FPGAs (2005) [pdf]
The conference webpage is here: http://wotug.cs.unlv.edu/

A colleague of mine submitted a paper on Transputers on FPGAs last year: http://wotug.cs.unlv.edu/generate-program.php?id=46#paper381

madsohm··on PaperTTY – Python module to render a TTY on e-ink
Herman Roebbers talked about this [1] at a conference earlier this year, together with the fact that the displays and what drives them have to be interconnected and low power.

[1] https://ulpc.nl/wp-content/uploads/2018/03/Herman-Roebbers.p...

madsohm··on How to Monetize a Blog: Advice from a Blog That Makes Money
This is what I see the most of online with regards to blogs making money as well. Blogs about how to make money on blogs. No actual content anymore. It's a bit sad, that the internet has only gone as far as classified at the back of magazines.
madsohm··on Actix: a small, pragmatic, and fast Rust web framework
Have you tried to create a more complex web page and have the web frameworks render that as well? Sometimes being the fastest at the most trivial request isn't enough, if it can't handle complex request fast as well.

Also, do you have a list of speeds for the frameworks you've tested?

madsohm··on An O(N) Sorting Algorithm: Machine Learning Sorting
Also, they end up with a O(N*M) algorithm. They claim M is small, but it needs to be strictly smaller than logN if they want to be better than O(NlogN). A terabyte is 10^12. Thus log(N) is 12. They have 100 hidden neurons which is their M. So their algorithm isn't asymptotically faster, unless they go in N>10^100 with that amount of hidden neurons.
madsohm··on How I review code
I've been doing a lot of Haskell on Codewars.com recently. This is exactly what I see. I write up a long solution, that uses the basics like pattern matching, heads of lists and such. The solution that has the most "Best practise" up-votes are usually something involving importing control.monad and other similar stuff.
madsohm··on Dear SaaS vendors
If your SaaS already have an export option for the configuration, it shouldn't be that hard to versionize it as well. You could intercept all database calls that change the configuration and just save a copy of the current one. This can be done in many ORMs already.
madsohm··on Google’s Project Fi now caps data bills at $60
They have a clause in the fine print, that says that you have to be in your home country at least once a month, in order to use this service. I thought it was great for me staying abroad for 6 months, but I could only use it for a little more than the first.
madsohm··on Can (a ==1 && a== 2 && a==3) ever evaluate to true?
It's a nice talk, but does he have to swear so much?
madsohm··on Redesigning the smartphone dial pad
Dialing by voice? Surely the future is not dialing at all?

I can't remember the last time I used a phone number for anything. Contacting friends is mostly done via social media. Talking on the phone is done via voice or video via same social media. Contacting companies? Via e-mail or their own webpage with some kind of chat support.

I only have a phone number, so that people without smart phones (my grandmother) can contact me.

madsohm··on Show HN: Emoji Homepage: Find your Emoji – fast and simple
Searching 'cry' find the 'joy' emoji, but not the 'joy cat' emoji. Also, I feel that searching for 'droplet', should find all the emojis, that have a droplet in it ('joy', 'cry', 'sleep', and so on)
madsohm··on Chrome/macOS users in The Netherlands cannot visit google.com or google.nl
Google.dk works fine from my newly updated Chrome on macOS.
madsohm··on Pythran: a Python to C++ compiler with a focus on scientific computing
We do something similar with Bohrium[1]. Bohrium intercepts your NumPy calls and compile a kernel for either CPU, Multicore CPU, or GPU and run that instead. It will also fuse together all NumPy calls until one has a side-effect, that the run-time needs.

We are currently building smart filters into it as well, so that we can do byte-code optimizations.

[1] https://github.com/bh107/bohrium

madsohm··on Ruby gaining a safe navigation operator: '.?'
I don't have that on my keyboard, only ¿.
madsohm··on Amazon joins in on killing Flash, stops accepting Flash ads
The "flashisdead" page requires Flash, but I guess that's the joke?
← PreviousPage 2 of 2