News for hackers. Stuff that matters.

madsohm

Re:Denmark Data Breach Exposes 8.8M People's Personal Data on Monday October 05, 2026 @07:55AM (#49963673)
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.

I think it's 8 Harry Potter and 3 Fantastic Beasts films.
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.

Re:Tony Hoare has died on Tuesday March 10, 2026 @11:58AM (#47325033)
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.
Re:Tony Hoare has died on Tuesday March 10, 2026 @11:53AM (#47324950)
They were never concurrent, they were communicating. https://en.wikipedia.org/wiki/Communicating_sequential_proce...
Re:Apple Introduces MacBook Neo on Wednesday March 04, 2026 @09:36AM (#47248000)
The DKK5499 is with VAT. If I enter a San Francisco zip code, it still only comes out to about USD654.
Re:Apple Introduces MacBook Neo on Wednesday March 04, 2026 @09:30AM (#47247872)
Ugh. Why is is so much more expensive in Denmark? Here it's DKK5499 for the 256 GB version. That's USD857.

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

Facebook's feed is nonfunctional. Only some people get notification, even though they have notification for all messages turned on. Only some get the newest posts in their main feed. Sometimes I do get notifications, but only long after an urgent message was posted.Has anybody successfully moved their local community off of Facebook groups?I'm thinking about neighbor conversations/events,...

( Read More... | 20 comments | 2 points | on HN )
Re:Show HN: Bash Screensavers on Tuesday October 28, 2025 @07:54AM (#45731642)
AI slop - or worse, somebody trying to hide something.
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
Re:Ask HN: Where do you reliably find worldwide remote jobs? on Wednesday April 09, 2025 @04:18AM (#43629987)
I find that a lot of their "fully remote" positions are only remote if you live in the US.
Re:Ask HN: Who wants to be hired? (April 2025) on Thursday April 03, 2025 @04:12AM (#43566467)
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: [email protected]

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.

Re:Ask HN: Who wants to be hired? (March 2025) on Monday March 03, 2025 @03:24PM (#43246257)

  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: [email protected]
Hello, I'm Mads. I have more than a decade experience with Ruby on Rails doing both frontend and backend.
Re:Standing Desk Might Be as Bad as Sitting All Day on Monday November 11, 2024 @04:27AM (#42105651)
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.

Re:Ask HN: Who wants to be hired? (October 2024) on Tuesday October 01, 2024 @12:59PM (#41711070)

  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.
Re:Ask HN: What apps have you created for your own use? on Wednesday December 13, 2023 @05:29AM (#38625315)
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.

Re:Ask HN: Who wants to be hired? (June 2023) on Thursday June 01, 2023 @02:17PM (#36155128)

  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: [email protected]
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.
Re: on Wednesday November 16, 2022 @02:40AM (#33620112)
Just learned about 'git absorb' couple of weeks ago and have used it every day since. Amazing tool.
Re:Almost monospaced: the perfect fonts for writing on Monday November 07, 2022 @02:32AM (#33502383)
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,
    ]
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.
Re:Abolish the PhD (2016) on Wednesday August 03, 2022 @06:56AM (#32330049)
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.
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.
Re:IQ Test Made by Mensa Norway on Tuesday May 03, 2022 @01:41PM (#31251142)
I got bored after maybe question 20 and got an IQ of 100 back.
Re:Ruby Fiber Scheduler on Monday February 28, 2022 @08:15AM (#30499459)
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.
Re:Ask HN: Who wants to be hired? (January 2022) on Monday January 03, 2022 @01:41PM (#29784503)

  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.

Re:How I spend less time on YouTube on Thursday December 09, 2021 @08:41AM (#29497188)
I find that the audio gets out of sync when playing faster than 2x. Have you also noticed that - and perhaps have a solution?
> 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.

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.
Re:Your code displays Japanese wrong on Thursday October 28, 2021 @02:55AM (#29023191)
The second character displays wrong for me when copying into VS code with Cascadia Code PL font.
Re:TikTok has reached 1B MAUs on Monday September 27, 2021 @11:43AM (#28672091)
How? I know exactly zero people who uses it. However, I do see TikTok videos on Instagram and Facebook all the time.

Older »