HNHacker News
TopNewBestAskShowJobs

urvader

679 karma · joined November 28, 2013

meet.hn/city/se-Stockholm

Socials: - github.com/irony

---

[ my public key: https://keybase.io/irony; my proof: https://keybase.io/irony/sigs/elgi4arJRc3AVP0OxBa0gw1RKNbJf_NdAYvjmBwulW8 ]

submissionscomments
urvader··on We open source our CO₂ emissions – and so should you
Maybe we should create an RFC for it?
urvader··on Major ICQ security hole (1998)
> Mirabilis / AOL really needs to fix this problem.
urvader··on Claude partial outage
Berget Code is running normal https://berget.ai/code
urvader··on Show HN: ThoughtDAG – An editable context graph for LLM conversations
What about cache? When you change the context the prefill stage will be much slower?
urvader··on Annoying and alarming things about OpenCode
About the caching things. This is a flaw in the backend, not in the Frontend. If the backend is only relying on prefix cache you need to look for more fine grained cache solutions like HiCache or Lmcache. If your backend discards the whole cache because of one date is changed, you really can’t blame it on the Frontend. It is an implementation detail that you push to the wrong side.
urvader··on I moved my digital stack to Europe
Great post! Today we just launched an European alternative to Claude Code - Berget Code- https://berget.ai/code
urvader··on Show HN: Gemini Pro 3 imagines the HN front page 10 years from now
GTA VI is postponed again, release next year
urvader··on Working pipe operator today in pure JavaScript
I'm not sure this is at all a good idea but thanks to the great discussion here at Hacker News - it is now up on npm:

npm i aspipes

urvader··on Working pipe operator today in pure JavaScript
I wrote this with an LLM but manually changed the README. Thanks for pointing this out, it is now updated.
urvader··on Working pipe operator today in pure JavaScript
Thanks for pointing this out, I updated the examples now to this syntax.
urvader··on Slow
The bitcoin block chain should be on this list
urvader··on ETH Zurich and EPFL to release a LLM developed on public infrastructure
This model will be one of the few open models where the training data is also open which makes it ideal for fine tuning.
urvader··on Stockholm parents built their own school app, then the city called the cops
Thanks!

Well we have already made the source code open and free and also encouraged the city to release an app with our source code as base. They weren’t interested in that. They would rather license the app, support and maintenance to us. We have quoted a fixed sum per month for that service and we plan to use that money to reimburse everyone sending PR:s we merge.

urvader··on Stockholm parents built their own school app, then the city called the cops
The law is not specific at all in regards to the format of the document. So to talk about an “API legally” has no meaning. In a private scenario it makes sense but what we are talking about here is public documents which are sent through an API. The city has responsibility to only send information I have (as a parent) legally right to see. How I parse it and present it is up to me as citizen (through an app or save it as json and upload to an excel file or such)

One implication of this project could be that government agencies in Sweden can not have private API:s.

To use more proprietary methods (private api:s) will have no effect on the constitutional law. You still have received a public document as a citizen.

urvader··on Stockholm parents built their own school app, then the city called the cops
If you encrypt it, you have to, at some point, also send the keys to the user. The key has the same legal protection as the rest of the document so encrypting the data has no implication on the legal discussion.
urvader··on Stockholm parents built their own school app, then the city called the cops
No, the app has no communication to us, we don’t even have a server. This means that from a legal standpoint we aren’t publishing any information. We only help our users to present their own data in a better format (than json).
urvader··on Stockholm parents built their own school app, then the city called the cops
(I am Christian Landgren, cofounder of the project)

You are right, the city believes they have ownership of the data, mainly because they fail to understand that they aren’t showing data in an app, but rather publishing data in an API. In Swedish law, once you have released data from a government, the receiver have the right to do whatever they want with the that data (as long as it isn’t violating any other laws).

The city in this case is responsible to check that the data is safe to share publicly and once they have- the data is not theirs. This is regulated in the constitutional law regulating free speech which goes back to year 1766.

This means that they can’t really apply the same logic as a private company can when publishing data in their api. A private company can still keep license over what can be done with the data they publish. A city can not do that because of these constitutional laws.

urvader··on The Stockholm City war against open source continues
I am one of the programming parents, please help us get the word out to Wired, TechCrunch etc this ridiculous request can not be accepted. We have to put pressure on politicians to stop this now.

Fork our repos: https://GitHub.org/kolplattformen/

Connect me to journalists: https://twitter.com/landgren

urvader··on In Stockholm there's currently an IT battle underway
Thanks! Yes, we are investigating our legal options.

We just recently filed an appeal regarding getting access to the API documentation.

We have gotten a lot of PR in Sweden from the major news papers and tech press. So I think the pressure is building but if it is one thing Swedes are worried about is the appearance internationally. So help us getting this story to Wired, TechCrunch etc - that will make them crazy. We still live on the front page of Newsweek from 2000 - the capital of Internet. That might be true for the tech scene but definitely not the public sector.

We would rather concentrate our limited time and resources on making the product better instead of this crap but we have an amazing community that are helping us with both legal advice, artwork, communication, UX etc so we will continue the fight and will keep you updated here in Hacker News.

Thanks for all support so far!

urvader··on In Stockholm there's currently an IT battle underway
We did. We have a regex to catch all variants of spellings. But since our code is open they can easily select another variant. We could load our script dynamically but have chosen not to of security reasons. (And transparency).

(I’m the founder of this initiative)

urvader··on Ask HN: How do we know Signal or Telegram don't store our data on their servers?
Someone should file a PR with a git hash (and some form of proof) of the currently running app?
urvader··on imgcat: higher resolution
For us that lived through the BBS times during 80s and 90s, this was the standard trick to achieve gradients and more colors.
urvader··on JavaScript: Search and Don’t Replace (2008)
This works fine:

[...paragraph.matchAll(regex)].reduce((q,[kv, key, value]) => { q[key] = (q[key] ? q[key] + `,`: ``) + value return q }, {})

https://pastebin.com/yb5QBCm6

urvader··on JavaScript: Search and Don’t Replace (2008)
Just use match instead? Why use replace and hack into an array?

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

urvader··on Show HN: 33 line React
Look at Pureact (I’m the author) and make a pull request with your diff code to make the whole thing without any dependencies? Would be supercool!
urvader··on Show HN: 33 line React
I made a similar implementation as the article describes in 60 LOC which also includes a lite versions redux and hooks. (Uses Snabbdom for diff and update of real dom)

https://github.com/irony/pureact

Demo: https://mandatkollen.se which is built in Pureact.

urvader··on Sweden gives employees unpaid time off to be entrepreneurs (2019)
There are private health insurances here too. If the public system would be so bad as you describe it everyone would use the private ones but very few do.
urvader··on Cost of a 51% attack for different cryptocurrencies?
Stores that sell goods worth 700k in BTC?
urvader··on The StingRay Is Why the 4th Amendment Was Written (2017)
It should be fairly easy to put together a Raspberry Pi as a stingray detector?
urvader··on Why we’re switching to calendar versioning
It’s called romantic versioning
Page 1 of 2Next →