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.
HN user
urvader
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 ]
Great post! Today we just launched an European alternative to Claude Code - Berget Code- https://berget.ai/code
GTA VI is postponed again, release next year
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
I wrote this with an LLM but manually changed the README. Thanks for pointing this out, it is now updated.
Thanks for pointing this out, I updated the examples now to this syntax.
The bitcoin block chain should be on this list
This model will be one of the few open models where the training data is also open which makes it ideal for fine tuning.
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.
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.
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.
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).
(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.
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
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!
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)
Someone should file a PR with a git hash (and some form of proof) of the currently running app?
For us that lived through the BBS times during 80s and 90s, this was the standard trick to achieve gradients and more colors.
This works fine:
[...paragraph.matchAll(regex)].reduce((q,[kv, key, value]) => { q[key] = (q[key] ? q[key] + `,`: ``) + value return q }, {})
Just use match instead? Why use replace and hack into an array?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
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!
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.
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.
Stores that sell goods worth 700k in BTC?
It should be fairly easy to put together a Raspberry Pi as a stingray detector?
It’s called romantic versioning
Most smartphones shift phases on the left/right channels to make it sound better in headphones (simulating bigger room), this means you can combine the two channels (by connecting the positive wires or just wiggle a little in the headphone jack half way in) to extract the vocal track. Not as fancy as a CNN but I’m guessing it would be better to do something with the stereo information in preprocessing before training.
The irony that the article isn't available in the EU because of data/privacy laws that time.com obviously thinks is too restricted so they decided to block the EU.
Just use elasticsearch/kibana and you will save yourselves from lots of Azure costs. Find keywords and group by device and location. Simple as that.
Is this russia wanting to get hold of our data?
From their privacy policy:
”...you may provide us with digital data including, without limitation audio files, containing Personally Identifiable Information of the customers or users of your applications that may be disclosed, collected, or stored in connection with the use of our API. We use this data, which in most instances is less than all of the data we have received, to provide our services, to improve our services and for training purposes.