We’re implementing CI/CD in my current project… you know; Continuous Irritation / Continuous Disappointment…
Category Archives: Computers and Internet
Posts on computer science and the web, rants about OS:es, Window Managers, Platforms for almost publishing content on the web, and the like.
Volatile AtomicInteger
Volatile AtomicIntegers… what could possibly go wrong?
Only Idiots
If you design a program to be so easy even an idiot can use it… idiots will use it… and if you’re aggressive enough with that design choice, finally only idiots will be able to use it.
Miserable excuse for a User Interface
Simple test:
If you double click something in the user interface, the interface redraws and rearranges controls at the exact same moment causing your double click to end up on something else, then you know you’re dealing with a miserable excuse for a user interface… (Apple? Microsoft? If you’re interested… No? Why am I not surprised?)
Time estimate conundrum
When developers say a piece of work will take 2-4 hours what really happens is one of three things:
- It takes 2-4 hours to finish the job
- It takes 2-4 radians of hours (a.k.a hours times pi) to finish the job
- It takes 2-4 bitcoins to finish the job
Header image from Visualhunt
My first (and last?) attempt at security programming
My first, and probably last, attempt at security programming was back in the 80ies, on a Spectravideo. I remember spending some hours on the program, and I had an if-clause to check for a password, and if the password was wrong, obviously the program needed to be protected… so I deleted it from memory…
Some BASIC along the line of:
1820 IF password <> "******" THEN NEW
…of course, after some hours of programming I’d forgotten the password… and forgotten that I didn’t knew it so I typed in the wrong one and off my program went…
…did I save it to cassette before I tested it. Nope. Did I learn the cassette equivalent of the “ctrl-s”-reflex. Yup!
Does this in any way resemble modern security programming? In my experience? It is as if nothing has happened since the 80ies. In fact, I’m fairly certain there are systems out there that will format c: if you fail to type in the right password too many times.
Or like moron Azure DevOps. What happens if you try to view a page you don’t have access to? Yup, you get a 404 error (as in page does not exist, not a 403=you don’t have access). They’re even helpful enough to tell you so. You know, so no one will know that the page do in fact exist. If they don’t have access. How many people spend how many hours bug hunting that one? Do we bill Microsoft? Ah, no, they’re billing us, right…
format azuredevops:
It seems that if it’s about security and doing the wrong thing makes something explode and burn, some security manager somewhere will have mental, or not so mental, orgasms… But I guess usable security systems will be hacked because the users will be too comfortable using them… right…?
Character Encoding
Character encoding-dong the document is dead!
Photo credit: James Abley on Visualhunt.com / CC BY-NC-ND
A Go Fuck yourself User Fucker Function
“…and the customer support section has a… quote-unquote user contact function… or as we like to call it in the business: a go fuck yourself user fucker function. Needless to say, you will not be disturbed by your customers…”
“Good, we have neither the time nor the personnel for that shit! They should just buy the products and be happy… and have no problems!”
Zip it and Zip it
A: OMG! This XML-document is indented! It’s gonna take forever to send it!
B: Zip it and zip it!
@Test: Are you mocking me?
Total programmer nerd humor:
@Test: Are you mocking me?