Readit News logoReadit News
dcminter commented on Why was Apache Kafka created?   bigdata.2minutestreaming.... · Posted by u/enether
cameronh90 · 7 hours ago
dcminter · 6 hours ago
Kafka does not use Spring.
dcminter commented on What services or apps did you see abroad and wonder: why don't we have them?    · Posted by u/ekusiadadus
iteria · 5 days ago
How does someone login via this system? I'm asking because it has the force of law. In that sense, I can't imagine that passwords alone would be enough.
dcminter · 19 hours ago
Typically the website displays a QR code which you scan with the BankID app - the app prompts you to authenticate and you use a fingerprint or a 6 digit pin code to confirm.

The app has a certificate set up so if some rando has the app and shoulder surfed your pin they would not be able to login.

Establishing the app certificate initially on your device requires interaction with your bank account - via an existing BankID setup or a bank issued OTC dongle.

It works extremely well and allows for a lot of "joined-up" thinking. For example I can log in to various online pharmacies and see and refresh the prescription from my doctor (and from the vet for my cat). The ubiquitous Swish cash transfer app is authenticated by BankID.

Downsides:

It can be a nuisance for those moving here; before you get your state ID ("personal number") you can't get BankID and it's borderline impossible to get a bank account!

The app has a single owner and uses pinned certs so it's virtually impossible to do BankID on anything except an Android or iOS device. No Pine Phone for you unless you want to carry a second device for BankID.

dcminter commented on AWS in 2025: Stuff you think you know that's now wrong   lastweekinaws.com/blog/aw... · Posted by u/keithly
crinkly · 3 days ago
I just stick CloudFront in front of those buckets. You don't need to expose the bucket at all then and can point it at a canonical hostname in your DNS.
dcminter · 3 days ago
Not always that simple - for example if you want to automatically load /foo/index.html when the browser requests /foo/ you'll need to either use the web serving feature of S3 (bucket can't be private) or set up some lambda at edge or similar fiddly shenanigans.
dcminter commented on AWS in 2025: Stuff you think you know that's now wrong   lastweekinaws.com/blog/aw... · Posted by u/keithly
awongh · 3 days ago
This is LLM as semantic search- so it's way way easier to start from the basic example code and google to confirm that it's correct than it is to read the docs from scratch and piece together the basic example code. Especially for things like configurations and permissions.
dcminter · 3 days ago
Sure, if you do that second part of verifying it. If you just get the LLM to spit it out then yolo it into production it is going to make you sad at some point.
dcminter commented on AWS in 2025: Stuff you think you know that's now wrong   lastweekinaws.com/blog/aw... · Posted by u/keithly
simianwords · 3 days ago
I agree but its about the extent. I'm willing to accept the risk of ocassionally making S3 public but getting things done much faster, much like I don't meticulously read documentation when I can get the answer from stackoverflow.

If you are comparing with stackoverflow then I guess we are on the same page - most people are fine with taking stuff from stackoverflow and it doesn't count as "brave".

dcminter · 3 days ago
I think anyone who just copies and pastes from SO is indeed "brave" for pretty much exactly the same reason.

> I'm willing to accept the risk of ocassionally making S3 public

This is definitely where we diverge. I'm generally working with stuff that legally cannot be exposed - with hefty compliance fines on the horizon if we fuck up.

dcminter commented on Epson MX-80 Fonts   mw.rat.bz/MX-80/... · Posted by u/m_walden
whyenot · 3 days ago
In the late 1970s, my dad purchased an S-100 bus computer from Thinker Toys for about $3,000 (would be close to $15,000 today after adjusting for inflation). It had a Z80 microprocessor and ran CP/M. As was true of many hobbyist computers from this era, it came with full source code (in beautifully documented assembly) both for CP/M and for the BIOS. This was important because if you wanted to add peripherals or make other modifications to your computer, you had to edit the source code and recompile the BIOS.

A few years later my dad decided to buy an Epson MX-80 for his computer. The daisy-wheel and the plotter at work (he worked at SRI) just didn't cut it, I guess? This required buying a serial card for the S-100. In order to get that printer to work, he had to first, wire up a cable because the data lines from the card were on different pins in the printer. I believe there was a version of the MX-80 that came with a serial port instead of a parallel port which made some things easier. I was recruited as his assistant. Then he had to modify and recompile the BIOS. Then he had to also make some changes to CP/M. This was a process of trial and error that lasted for weeks. I remember I was away at summer camp and he sent me a letter he printed out on that printer. He was so happy that he finally got it to work.

Anyways, this resurfaced that memory and I thought I might as well share it. I still have the printout he sent me somewhere.

dcminter · 3 days ago
Can I humbly suggest that you dig that letter out and get it framed? Random pieces of paper tend to go astray during moves and clear-outs; framed items less so.

Thanks for the nice anecdote.

dcminter commented on AWS in 2025: Stuff you think you know that's now wrong   lastweekinaws.com/blog/aw... · Posted by u/keithly
simianwords · 3 days ago
There’s nothing brave in this. It generally works the way it should and even if it doesn’t - you just go back to see what went wrong.

I take code from stack overflow all the time and there’s like a 90% chance it can work. What’s the difference here?

dcminter · 3 days ago
Well, the "accidentally making the S3 bucket public" scenario would be a good one. If you review carefully with full understanding of what e.g. all your policies are doing then great, no problem.

If you don't do that will you necessarily notice that you accidentally leaked customer data to the world?

The problem isn't the LLM it's assuming its output is correct just the same as assuming Stack Overflow answers are correct without verifying/understanding them.

dcminter commented on AWS in 2025: Stuff you think you know that's now wrong   lastweekinaws.com/blog/aw... · Posted by u/keithly
awongh · 3 days ago
This is exactly what I use LLMs for. To just read the docs for me and pull out the base level demo code that's buried in all the AWS documentation.

Once I have that I can also ask it for the custom tweaks I need.

dcminter · 3 days ago
This could not possibly go wrong...

You're braver than me if you're willing to trust the LLM here - fine if you're ready to properly review all the relevant docs once you have code in hand, but there are some very expensive risks otherwise.

dcminter commented on Why are anime catgirls blocking my access to the Linux kernel?   lock.cmpxchg8b.com/anubis... · Posted by u/taviso
debugnik · 3 days ago
> as AI scrapers bother implementing the PoW

That's what it's for, isn't it? Make crawling slower and more expensive. Shitty crawlers not being able to run the PoW efficiently or at all is just a plus. Although:

> which is trivial for them, as the post explains

Sadly the site's being hugged to death right now so I can't really tell if I'm missing part of your argument here.

> figure out that they can simply remove "Mozilla" from their user-agent

And flag themselves in the logs to get separately blocked or rate limited. Servers win if malicious bots identify themselves again, and forcing them to change the user agent does that.

dcminter · 3 days ago
> Sadly the site's being hugged to death right now

Luckily someone had already captured an archive snapshot: https://archive.ph/BSh1l

u/dcminter

KarmaCake day8704February 2, 2008
About
Stockholm based human - https://paperstack.com
View Original