Better HN
topnewbestaskshowjobs
Log inSign up

madsohm

123 karma · joined Oct 17, 2014 (12y ago) · 63 submissions

Submissions

comment 1mo ago · link · parent

I see this as a good thing. It means that we'll (hopefully) get stricter security revolving around using these numbers. It'll no longer be enough just to yap out a 10 digit number to "verify" you are who you say you are. We already have a (albeit heavily critiqued) national 2FA system in place (MitID).

We'll have to start treating the CPR number as just a username, instead of a password. It should never have been "secret" in the first place.

comment 2mo ago · link · parent

I think it's 8 Harry Potter and 3 Fantastic Beasts films.

comment 7mo ago · link · parent

This bell would be illegal in Denmark, where our laws clearly state that you are only allowed one signal giving device and that any signal giving devices attached to vehicles (including bikes) can only produce one constant sound.

How this would be enforced is a different topic.

comment 8mo ago · link · parent

I wrote both my master thesis and PhD on Hoare's Communicating Sequential Processes. I really enjoyed it's simplicity, expandability, and was always amazed that it inspired and influenced language constructs in Go, Erlang, occam and the likes.

comment 8mo ago · link · parent

They were never concurrent, they were communicating. https://en.wikipedia.org/wiki/Communicating_sequential_proce...

comment 8mo ago · link · parent

The DKK5499 is with VAT. If I enter a San Francisco zip code, it still only comes out to about USD654.

comment 8mo ago · link · parent

Ugh. Why is is so much more expensive in Denmark? Here it's DKK5499 for the 256 GB version. That's USD857.

8.

Ask HN: Has anybody moved their local community off of Facebook groups?

23 points · by madsohm · 9mo ago · 20 comments

comment 1y ago · link · parent

AI slop - or worse, somebody trying to hide something.

comment 1y ago · link · parent

Since using `def` to create a method returns a symbol with the method name, you can do something like this too:

  memoize def expensive_calculation(arg)
    @calculation_count += 1
    arg * 2
  end, ttl: 10, max_size: 2

  memoize def nil_returning_method
    @calculation_count += 1
    nil
  end

comment 1y ago · link · parent

I find that a lot of their "fully remote" positions are only remote if you live in the US.

comment 1y ago · link · parent

Location: Tølløse, Denmark

Remote: Yes

Willing to relocate: No

Technologies: Ruby on Rails, React, Tailwind, PostgreSQL, MySQL, TypeScript, Elasticsearch, Kafka, and more

CV: https://ohmbrix.dk/cv.pdf

Email: mads.ohm@gmail.com

Senior engineer with more than 10 years of experience with Ruby on Rails. I'm currently looking for a full-time contract, but am open to part-time for the right company.

comment 1y ago · link · parent

  Location: Denmark
  Remote: Yes, exclusively
  Willing to relocate: No
  Technologies: Ruby, Rails, Hotwire, Stimulus, Tailwind, React, JavaScript, TypeScript, PostgreSQL
  Résumé/CV: https://linkedin.com/in/madsohm/
  Email: mads.ohm@gmail.com
Hello, I'm Mads. I have more than a decade experience with Ruby on Rails doing both frontend and backend.

comment 2y ago · link · parent

I was always told that the best position is always the next position.

It's like the Monty Hall problem, switching is always the better solution.

comment 2y ago · link · parent

  Location: Denmark
  Remote: Yes
  Willing to relocate: No
  Technologies: Ruby, Rails, React, Tailwind, Typescript, Javascript, MySQL, 
  PostgreSQL, Elasticsearch, GraphQL
  Résumé/CV: https://linkedin.com/in/madsohm
  Email: mads.ohm at gmail dot com
I hold a PhD in computer science. I have more than 10 years of experience with Ruby and Ruby on Rails. I've helped build and scale frontends, backends, and APIs in general. I'm ready for whatever you throw at me - and can easily learn new technologies and languages, if needed.

comment 2y ago · link · parent

I did the same for both of our kids. For the first, I created a web app where you could +1 or -1 on all legal names. I even used the Web Speech API to read aloud the names, if you clicked them.

For the second kid, I created an iOS app using React Native (https://i.imgur.com/aaTqXAY_d.webp?maxwidth=760&fidelity=gra...) where you could swipe names Tinder-style.

We didn't use the apps to find _the_ names, but to get a narrowed down list we could pick from. The projects were fun and educational.

comment 3y ago · link · parent

  Location: Denmark
  Remote: Exclusively
  Willing to relocate: No
  Technologies: Ruby, Rails, React, TypeScript, Elasticsearch
  Résumé/CV: https://mads.ohmbrix.dk/files/cv.pdf
  Email: mads.ohm@gmail.com
PhD in computer science. More than a decade experience with full-stack development using Ruby on Rails. Ex-Elastic, ex-Shopify. Looking for senior/staff engineer positions.

comment 4y ago · link · parent

Just learned about 'git absorb' couple of weeks ago and have used it every day since. Amazing tool.

comment 4y ago · link · parent

Many languages also support a comma after the last item, meaning you can still have one line diffs and have a sane reading structure:

    [
      item1,
      item2,
      item3,
      item4,
    ]

comment 4y ago · link · parent

In Denmark we use 24h, but we call them by their 12h equivalent, e.g. "15:15" is "a quarter past three". However, you could also say: "It's now 21 30" to signify half past nine. Or some people would say: "It's half 10". Okay, having 24h clocks don't make it easier it seems.

comment 4y ago · link · parent

Do note that, specifically in Denmark, you can do a 4+4, where you do a 4 year bachelor/master and a 4 year PhD, instead of the regular 3 year bachelor, 2 year master and then 3 year PhD. Here you'd have to apply for the PhD well before entering the university, or at least whist doing the bachelor studies.

comment 4y ago · link · parent

I've donated plasma a couple of times. The machine they use to separate the plasma from your blood cells will give you your blood back. They mix in a non-coagulating agent. This can give a tingeling feeling in your lips, that is best alleviated by eating chocolate or drinking chocolate milk.

comment 4y ago · link · parent

I got bored after maybe question 20 and got an IQ of 100 back.

comment 4y ago · link · parent

As part of my PhD I created a CSP implementation in Ruby: https://github.com/omegahm/emit Here I also created a Fiber scheduler, as well as CSP channels and processes.

comment 4y ago · link · parent

  Location: Denmark
  Remote: Yes, only remote
  Willing to relocate: No
  Technologies: Ruby, Ruby on Rails, React, PostgreSQL
  CV: https://mads.ohmbrix.dk/files/cv.pdf
  Email: REMOVED
EDIT: Hi everybody. I have already gotten so many emails with job opportunties. I am so grateful for this community! Thanks a million.

--

Hi HN. I'm Mads.

I did my PhD working on Bohrium (https://github.com/bh107/bohrium). Bohrium is a framework that sits on top NumPy and intercepts all calls. When you have a side-effect in your Python code, Bohrium will take over and JIT-compile an OpenCL kernel, so your NumPy can run on your GPU. This is all done automatically, so all you need to change is `import numpy as np` to `import bohrium as np`. For Bohrium I also created a Ruby frontend, so you can use custom `BhArray` to JIT-compile OpenCL kernels from Ruby code, run when you have a side-effect. Besides that I also created a CSP (Communicating Sequential Processes) gem for Ruby called Emit (https://github.com/omegahm/emit) This outperformed the current Python implementation in speed.

After my PhD I've been working as full stack developer multiple places, where I've mostly been using Ruby for backend and React for frontend. My latest position was a Tech Lead position where I was in charge of a small team of four developers.

comment 4y ago · link · parent

I find that the audio gets out of sync when playing faster than 2x. Have you also noticed that - and perhaps have a solution?

comment 4y ago · link · parent

> I can’t think of any reason to directly access the DB from a plugin or theme.

Because it's PHP and it's easy.

comment 5y ago · link · parent

I did the same for my girlfriend and I and preloaded it with all approved Danish names (42,000 in total) that we could then swipe through. I made it as a private web app, so that I didn't need to consider authentication.

comment 5y ago · link · parent

The second character displays wrong for me when copying into VS code with Cascadia Code PL font.

comment 5y ago · link · parent

How? I know exactly zero people who uses it. However, I do see TikTok videos on Instagram and Facebook all the time.
123