Hannes Petri Profile
Hannes Petri

@hannespdev

Followers
135
Following
5K
Media
38
Statuses
1K

(Hands-On) Engineering Manager at @StravitoAB. JSON-RPC enthusiast. Any opinion presented here is my own.

Stockholm, Sweden
Joined February 2019
Don't wanna be here? Send us removal request.
@hannespdev
Hannes Petri
2 months
Curious about MyBatis.
1
0
0
@hannespdev
Hannes Petri
6 months
Let's say 90% of all human tasks can be automated with AI. That means that the remaining 10% will be the new bottleneck. Who's working on them?.
1
0
0
@hannespdev
Hannes Petri
9 months
This was built into XML. You had to do <values><value>1</value>. </values>, and if need arose, you'd just extend it to <value meta="true">1</value>.
0
0
0
@hannespdev
Hannes Petri
9 months
I almost always regret using arrays of scalars in JSON APIs. Even if you think you need [1, 2, 3], you'll eventually realise that you need something like. [. { "value": 1, "meta": true },. { "value": 2, "meta": false },. { "value": 3, "meta": true }.].
1
0
2
@hannespdev
Hannes Petri
10 months
A few decades ago, most applications were developed with standard UI toolkits. It's staggering to think about how much effort has gone into implementing basic behaviour (tooltips, tables, progress indicators etc) from scratch in countless web apps.
1
0
1
@hannespdev
Hannes Petri
10 months
I wonder if it'd be possible to create a utility that allows the same conditions to be use in both queries and with record in @JavaOOQ? Something along these lines
Tweet media one
0
0
0
@hannespdev
Hannes Petri
10 months
I'm not sure this is a defensible way to use Twitter if you have more than ten followers.
@BHolmesDev
Ben Holmes
10 months
I like throwing out my bold takes to see what I learn. TIL you can use `npm install --production` to skip dev deps in CI, docker, or serverless environments to reduce bundle size. That's a good reason! I retract my claim.
0
0
0
@hannespdev
Hannes Petri
10 months
I think it's amazing that automatic testing is surrounded by so much dogma, when the central question should always be: how much does this increase my confidence that the software does what it's supposed to, and continues to do so as the code evolves?.
0
0
0
@hannespdev
Hannes Petri
11 months
Could writing code be a much, much more responsive and collaborative process? Something that combines the real-time experience of co-editing the same file as somebody else and seeing the results immediately, with the thoroughness and CI boundaries of the usual Git workflows.
0
0
0
@hannespdev
Hannes Petri
11 months
RT @wesleytodd: I got a task to write the first version of an API for a new business use case. I asked how often the data would be updated….
0
53
0
@hannespdev
Hannes Petri
1 year
🤨
Tweet media one
0
0
0
@hannespdev
Hannes Petri
1 year
Does anybody have experience with gathering limitations, improvement areas, bugs, risks etc of a feature in a way that's not just a backlog of discrete issues?.
0
0
1
@hannespdev
Hannes Petri
1 year
RT @hannespdev: @simas_ch REST, with its human-friendly semantics, is great for APIs that expose a well-defined, relational domain. RPC is….
0
5
0
@hannespdev
Hannes Petri
1 year
I insist that this is a terminology issue. Not everything that responds to HTTP requests is an API. It's perfectly valid for a remote, real-time, parameterised web software component (not an API!) to return HTML.
@htmx_org
htmx.org / CEO of (Radical Faction) (same thing)
1 year
"why didn't something like htmx catch on years ago?". /r/webdev experts, years ago:
Tweet media one
0
0
3
@hannespdev
Hannes Petri
1 year
Has Devin stolen your job yet?.
0
0
0
@hannespdev
Hannes Petri
1 year
Something happened in an external service, and I simultaneously received a Slack notification, a push notification from the app on my phone and an email notification. Does it have to be that way? (It does, right?).
0
0
0
@hannespdev
Hannes Petri
1 year
Has anybody worked with a clean, tech debt-free, well thought out codebase with all the right abstractions, that _also_ has been able to adapt to continuously changing business needs? How? What's the trick?.
4
0
2
@hannespdev
Hannes Petri
1 year
RT @walkingriver: @GergelyOrosz Every highly functional, super effective project and team I’ve been involved with was run as an exception t….
0
5
0
@hannespdev
Hannes Petri
1 year
Roughly how much Jira hate is due to Jira being genuinely bad, and how much is due to improper configuration?.
0
0
1
@hannespdev
Hannes Petri
1 year
RT @tottinge: Effort feels like productivity. Working harder feels like getting more done. Rushing feels like producing. Struggling feels l….
0
32
0