
Thomas Raehalme
382 posts

Thomas Raehalme
@raehalme
I enjoy my hot cup of Java in the clouds. Currently working as the CTO at Admicom Plc. Views expressed here are purely my own, not anybody else’s.
Jyväskylä, Finland Katılım Kasım 2009
367 Takip Edilen100 Takipçiler

@JavaDataPro @sivalabs Instead of String, why not use java.math.BigInteger as the type in Java, and only serialize it as string?
English

@sivalabs If your number has more than 16 digits, JSON or JavaScript will represent it as a floating-point number (double), and you may lose precision.
To preserve the exact value, you should send it as a string:
@JsonProperty("bigNumber")
private String bigNumber = "792574275907102180";
English

TIL: JSON Number Precision Loss
From Spring Boot API I am returning a field value 792574275907102180, but in the JSON response its value is being shown as 792574275907102200. Why?
chatgpt.com/share/694f4ae3…
English

@johnrushx You are wrong, most doctors use it everyday in ultrasound, ct scans, research, ekgs, hospital data, presentations and more
English

@HSVSphere @FallenOne58035 In any project there is always room to improve. But it doesn’t mean that the people’s “improvements” would actually make the project any better. They might, but it’s definitely not a certainty.
English

@FallenOne58035 No, my point is there is room to improve and people are pushing for that. I use Linux full time and I want it to improve.
English

@ducmite @Indy259 @ras_twit2K @parkerworth I understand the inconvenience but I bet most of the people don’t read their receipts and understand how high the tax rate is.
Displaying tax-free prices and adding taxes at checkout provides a clear perspective on the tax rate.
English

@raehalme @Indy259 @ras_twit2K @parkerworth For example food is taxed lower, 14%.
I much rather see the final price than estimate on the price tag. I don’t need to know what tax-% bracket each item in my cart belongs to.

English

@Indy259 @ras_twit2K @parkerworth That would be extra activity you need to do.
I understand the inconvenience with tax free price tags, but it makes the amount of taxes you pay much more explicit.
But we can agree to disagree on this one 😉
English

@raehalme @ras_twit2K @parkerworth I've yet to see a benefit of a price tag that does not show what you pay at the checkout.
The "you see the tax" argument is debunked (you see that on the receipt).
English

@Indy259 @ras_twit2K @parkerworth Sure, you see the tax on the receipt both in Europe and in the US.
But we’re talking about price tags. In Europe it’s the price you pay. In the US you get to add taxes, tip and whatnot.
English

@raehalme @ras_twit2K @parkerworth You see the tax cost on the reciept in Europe.
Do you see the tax cost on the price tag?
English

@Indy259 @ras_twit2K @parkerworth In Europe you explicitly see what you must pay. You don’t see the tax cost.
I’m pretty certain that most Finns, for example, with 25,5% VAT do not realize how big part of the price tag is the taxes.
Because if this reason I favor the American price tags.
English

@ras_twit2K @parkerworth It's on the price tag?
You explicitly see the tax cost on your receipt here in Europe.
At least I know how much comes out of my pocket for the €20 basket of goods I have.
How much will the basket of goods with a tag price of $20 cost you?
English
Thomas Raehalme retweetledi

@analyticsaurabh @frankcdale @kyleplacy @clairevo Or cannot verify whether the output is good or not. Even with a good prompt the first response might not be what you really (should) want.
English

@frankcdale @kyleplacy @clairevo AI gen code takes a lot of wrong turns.
One need experience to guide it to right task.
Put another way, most don’t know what they should be asking for.
English

Not enough CTOs are talking about how they are practically putting AI codgen and agents into their existing large teams of SWEs: tools, training, and culture.
Here’s a few things we’re doing:
- ripping down everyone’s egos about what can and can’t be done by whom (ai or human)
- allocating budget to experiments
- getting legal, infosec, and ops simplified and aligned early
- focused slack channel to share wins, fails, and asks
- 1 motivated sponsor per tool
- use it or lose it access
- calling on peers for use cases and learning
- ai transparency (no one pretends they’re not using a tool to do work)
What’s working:
- ChatGPT in non tech functions
- v0 for prototyping
- cursor in pockets
- copilot in pockets
- chatPRD for engineers
What’s not
- 8 million rogue meeting note takers
- think we’re underusing perplexity
- no formal l&d
- only a few pushing novel thinking
- minimal automations & agent work
English

This! 💯There’s usually no need to actually see the password. Just copy it to be pasted to a password field.
Simon Martinelli@simas_ch
Hey @Apple, I like the Passwords app but why do you show the password if I click on it? A click should just copy it. Directly showing the password is a security issue. Especially if you need the password during a presentation.
English

@colablizzard @GergelyOrosz @Pragmatic_Eng To get the boost in productivity you must be competent enough to understand and evaluate the output, whether it does what’s asked for or doesn’t.
English

@GergelyOrosz @Pragmatic_Eng + and when it came to me for debugging, I straight away opened Postgres Doc and read two pages and the solution was literally in their example (one line) vs the AI generated mess.
English

A very unexpected finding as I am going through responses to the software engineering AI tooling survey (to be published in @Pragmatic_Eng:)
The overwhelming majority calling LLM coding tools “overhyped” do not use them!
(As in they are devs, but refuse to use them.)
English

@copyjosh @tri_rizeki @housecor That would be confusing as you could add all such parameters to the same URL. Maybe instead you could specify parameters action and id, then there would be no confusion.
English

@tri_rizeki @housecor Not really any different? could have separate parameters to listen for, ie editUserId= and viewUserId=, and ?addUser=true
English

Scenario: A modal for editing a user.
Modal URL: ?editUserId=1&openEditUserModal=true
Problem: The openEditUserModal param is needless.
Solution: Derive. If editUserId is in the URL, open the modal. If editUserId isn't in the URL, close the modal.
Benefits:
✅ Eliminates needless state
✅ Avoids a potential params out-of-sync issue. If openEditUserModal is true, but editUserId is missing, that's a bug.
Summary: Avoid redundant state. Derive.
English
Thomas Raehalme retweetledi

finally ready to announce that my git zine, “How Git Works", is coming out in ONE WEEK! on May 31!
it also comes with this (free!) cheat sheet which you can download and print out here: wizardzines.com/git-cheat-shee…

English

@simas_ch @royvanrijn Agreed, but you can still argue whether the blade part is up or down 😂
English

@WoundedEdgeboy @Jonathan_Blow To be fair, I still teach Java today, with all the OOP things… because you kind of have to know if you want to claim to be college educated.
I just don’t push it as a cult.
Longueuil, Québec 🇨🇦 English

It is hard to overstate how strong the push for object-oriented programming was. It even bled out into other fields like education (look up "learning objects"). You had to organize your programming projects into hierarchical classes and you would be ridiculed if you did not. Java and C# are a reflection of this era. It took 25 years for the obsession to die down. Basically, the gurus had to be given time to retire.
Object-oriented programming can work… but there are serious pitfalls that will make your projects harder to maintain and optimize. Deep inheritance is almost always a disaster.
The lesson is: don’t blindly embrace the latest things even if everyone is. Masses will lead you astray. Be critical.
David Chapman@Meaningness
The older you get, the harder to resist saying "I told you so." When OO programming came in, it made no sense to me, and I've never used it. Everyone said I was too old to understand. Thirty years later, everyone's snapping out of it and wondering wtf they'd been thinking.
Longueuil, Québec 🇨🇦 English

@sevenseacat @adamhjk @joshprice And even if you were ops-y enough you probably have better things to do than managing your CI/CD workers.
English

@adamhjk @joshprice It’s a very different beast - GitHub Actions is great for someone like me that is not particularly ops-y. I don’t want to have to manage clusters of agents and workers and etc. I want to write a yaml file and watch my builds get run.
English
Thomas Raehalme retweetledi

* People ask LLMs to write code
* LLMs recommend imports that don't actually exist
* Attackers work out what these imports' names are, and create & upload them with malicious payloads
* People using LLM-written code then auto-add malware themselves
vulcan.io/blog/ai-halluc…
English









