Live data from Hacker News

Source code for Dutch DigiD app released under Dutch Open Government Act

github.com

131–140 of 161 posts

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#131
post #2

Example: https://imgur.com/a/9cIDQtk

It's pretty pathetic how many people feel the need to dunk on this bit of code just because it's not how they would write it. There's nothing really wrong with it. I'm sure the author was aware of alternative, perhaps more concise solutions using a string builder but they chose to be clear instead. So many big egos in software.

I mean, if this is the worst code people can come up with then it's better than most codebases I've had to deal with at $dayjob.

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#132
post #85

Earlier quoted context omitted.

This is the baffling side of the EU to all outsiders/newcomers. When I first moved here, that was my first thought as well. There is just so much in common, why repeat everything everywhere instead of single effort with branches everywhere?! (police force, consular services, Identity services, and pretty much any Government paperwork one can think of, transportation services etc). However, the population is very loca…

My partner and I just moved to the Netherlands and I mildly disagree. For one, we really like the diversity and appreciate the different cultures and histories. But I also think there's something to different member states getting to experiment on their own. Like, the Finns are onto something with their school system for sure, but the Dutch have a lot of Montessori schools--what are the pros and cons of each approach…

Agreed. Inconvenience is a small price to pay to avoid blandness.

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#133
post #80

Earlier quoted context omitted.

LLMs can do better

This one's pretty fancy from the big GPT. ``` Here is an example of Python code that can print a loading bar at different completion percentages: def print_loading_bar(percent): bar_length = 20 hashes = '#' * int(percent * bar_length / 100) spaces = ' ' * (bar_length - len(hashes)) print(f'\rLoading... [{hashes}{spaces}] {percent}%', end='') for i in range(101): print_loading_bar(i) time.sleep(0.1) ```

Should be C#, though, and for just 11 steps.

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#134

Earlier quoted context omitted.

That might change when the new EIDAS regulation is released (the levels come from that legislation).

The page I linked states that DigiD ‘Hoog’ conforms to the highest eIDAS level.

Yup, eIDAS is currently being amended / extended, it's driving the entire data wallet ecosystem.

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#135
post #56

Earlier quoted context omitted.

Such a collaboration has the potential to save time, money, effort, and increase quality. But in reality it either ends up being "design by committee", or a few of the countries are the drivers and the rest are the followers who try all kinds of maneuvers to retain some control. Even if this is done under the umbrella of an EU institution, the politics work the same way except now every other country is trying all ki…

Power games happen in every large scale collaboration that does anything of value. This is not a reason to refuse doing it altogether.

You're saying how things should be. I told you how they are, from experience with both worlds. I have the impression you are vastly underestimating the "power games" happening at country/union level compared to the ones in a company.

In the usual company there is a reasonably clear hierarchy, if someone doesn't fall in line some superior dons the big boots and drop kicks them all the way past the company parking lot without some democratic process behind it. Each level is accountable to the higher one.

At country level there's no such thing. It more like a lot of different companies sometimes reluctantly agreeing to work together, while not owing each other anything, and being subjected to the whims of the people back home (managers and citizens). There is no true hierarchy, no supreme authority, the accountability isn't towards the committee but towards superiors "back home" to get specific interests pushed. And if they don't make the cut you can always pack up your toys and go, maybe even turn it into a win back home ("we retain full control"). You want to look good for the managers and the citizens at home, not the ones in the committee. National pride, ego, politics on the world stage are very strong factors at play. If there is some obligation to contribute it also had to come democratically in a process to which your country participated.

These aren't power plays inside a company, they are the power plays between big companies. Except with a lot of nationalistic aspects and actual politics sprinkled in. And you can't even buy cooperation like in a commercial case.

So calling them "power games" is correct in principle but not at all useful to gauge the difference in scale in the 2 cases.

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#136

Earlier quoted context omitted.

The page I linked states that DigiD ‘Hoog’ conforms to the highest eIDAS level.

Yup, eIDAS is currently being amended / extended, it's driving the entire data wallet ecosystem.

Oh interesting, I didn’t know about that. Is there a place I could read more?

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#137

The Norwegian welfare agency publish most of their code on github: https://github.com/navikt/ It's the organization you use if you're sick, lost your job, where you get your social security etc. Basically a huge behemoth of all kinds of social or labor services. While most of the code probably has little value for others (2000 different repos), I think it's quite noble that it's public, given it's made with tax payer…

Just curious, since it's been a dream of mine to have public services powered by open software: How often do bugs in the services get reported either, with direct references to the underlying software (function names, line numbers, etc.), or as changesets/PRs with proposal fixes? Especially for simpler things like style/accessibility issues, I could see this being somewhat common honestly.

https://publiccode.net/

The Foundation for Public Code: “We help public organizations collectively develop and maintain public code.”

Amazing people behind this org…

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#138

Earlier quoted context omitted.

Just curious, since it's been a dream of mine to have public services powered by open software: How often do bugs in the services get reported either, with direct references to the underlying software (function names, line numbers, etc.), or as changesets/PRs with proposal fixes? Especially for simpler things like style/accessibility issues, I could see this being somewhat common honestly.

https://publiccode.net/ The Foundation for Public Code: “We help public organizations collectively develop and maintain public code.” Amazing people behind this org…

Looks like a great concept. Let me know if you ever want to open a Boston location ;)

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#139

Earlier quoted context omitted.

Wow, looks pretty nice from the screenshots. Do you have experience using it? Does it work well/do what it claims? I recently moved to Spain, who has a digital identity system, but is a pretty disjointed attempt.

Yes, the project started in February 2017, so it's been a while and the app is very mature and frequently used by many citizens (full disclaimer, I was leading the development of the app and the backend from the beginning until almost two years ago).

Do you know why no other, more open, two factors are being introduced in DigiD auth? I'd rather use my U2F fobs, like I can almost everywhere else. Some people like TOTP.

Re: Source code for Dutch DigiD app released under Dutch Open Government Act

#140
post #62

Earlier quoted context omitted.

For an app that cost in the tens of millions to produce[1], and for which the company (gov-owned and operated) behind it charges implementors/users (not end-users ofc)[2] for each and every single successful DigID authentication event €0.13, DigID authorization event €0.88, and even for every digital message delivered into your "berichtenbox" €0.32, it could.. no rather it should indeed provide a much better experien…

“ This code has been disclosed in response to a request under the Dutch Open Government Act ("Wet open Overheid"). This implies that publication is primarily driven by the need for transparence, not re-use. Re-use is permitted under the EUPL-license, with the exception of source files that contain a different license.” It sounds like they might not been very keen to maintain the app. Can there be alternative better i…

I think that just means "this won't be very helpful in standing up your own DigID". It also says they're looking at providing more ongoing transparency.
Post reply on HN