Tarn Barford

11.5K posts

Tarn Barford

Tarn Barford

@tarnacious

Dad 👶👱‍♂️, engineer👨‍💻⚒, fixed wheel cyclist 🚲, Australian 🌞🍻 immigrant in Germany 🌦🍺. My partner @HannahNeumeyer 😘 does good work for society 👏.

Berlin, Germany Inscrit le Temmuz 2007
314 Abonnements401 Abonnés
Tarn Barford
Tarn Barford@tarnacious·
@alexbunardzic They can be in some situations, but it's not common. Why do you think it's not more common?
English
0
0
0
35
Attention Alchemist
Attention Alchemist@alexbunardzic·
Is there a reason why software engineers cannot be sued for malpractice?
English
9
0
4
1.7K
JLarky
JLarky@JLarky·
Irrational fear of rebasing has put the whole industry back for at least 10 years. I blame GitHub and the fact that no one at GitHub understood how rebasing works and it somehow became the most popular code platform
Theo - t3.gg@theo

git rebase

English
99
94
1.6K
518.6K
Midwest Dev 🇺🇸🇮🇪🇱🇧🇩🇪
@tarnacious @biomance @JLarky Yes except with git rebase you have to work out the details of each individual commit conflict rather than work out the conflicts in one fell swoop (like with git merge main). The commit history of my branch doesn’t matter if I’m going to squash commit to main
English
1
0
0
94
Tarn Barford
Tarn Barford@tarnacious·
@DCLocalDesign @biomance @JLarky It might not be a waste of time if anyone ever needs needs to understand/revert the changes. It's not fun finding the commit that caused an issue and the commit message is twenty commit messages concatenated by a squash.
English
1
0
1
87
Midwest Dev 🇺🇸🇮🇪🇱🇧🇩🇪
@biomance @JLarky Truth. Tag releases. When merging you can usually squash commits anyway. Rebasing is a waste of time vs merging main in today. Everyone squashes commits on merge anyway, so it all ends up the same when PRs are merged.
English
1
0
3
289
Sam Lambert
Sam Lambert@samlambert·
@jarredsumner Correct. Some people do their benchmarking from localhost which is even more disingenuous.
English
1
0
1
750
Sam Lambert
Sam Lambert@samlambert·
People are out here benchmarking with `SELECT * FROM test LIMIT 1` and acting like they proved something.
English
9
1
73
15.1K
Tarn Barford
Tarn Barford@tarnacious·
@jeanlapintade @ctjlewis You receive the headers of the response first, after negotiating TLS and a HTTP protocol. In HTTP/1.1 the headers might specify an encoding like chunked for the body. In HTTP/2 the body is sent in one of more subsequent frames. The fetch API exposes the body as a ReadableStream.
English
0
0
1
61
Marc 📸🇫🇷
Marc 📸🇫🇷@jeanlapintade·
@ctjlewis @wesleytodd Why do you have to await for the json though? The response is sent you should just be able to read from it directly
English
1
0
0
54
Wes
Wes@wesleytodd·
This will forever bother me: await (await fetch(url)).json() Nearly zero of my use cases are best with fetch so I hardly ever use it, so I hope someone tells me "there is a better way".
English
70
6
296
126K
Tarn Barford
Tarn Barford@tarnacious·
@moyix Many shells support the fc command which opens the previous command your default editor and runs the modified command.
English
0
0
2
154
Brendan Dolan-Gavitt
Brendan Dolan-Gavitt@moyix·
Is there a terminal/shell extension that does syntax highlighting for command lines? I confess I sometimes have trouble spotting the missing paren or quote in a command like this
Brendan Dolan-Gavitt tweet media
English
46
5
159
36.1K
Tarn Barford
Tarn Barford@tarnacious·
@andrealaforgia @optiks @allenholub This isn't helpful. You used "we" too and in your anecdote from more than two decades ago, years before git was even released, you don't specify the important thing you released.
English
0
0
0
32
Allen Holub. https://linkedIn.com/in/allenholub
Here's my core "Agile" process: (1) Talk to user customers and figure out the most important thing I can build in a few days max. (2) Build it (talking to users as I do and deploying frequently). (3) Repeat. That's it. Everything else is noise.
English
26
85
440
40.7K
Tarn Barford
Tarn Barford@tarnacious·
Apparently it's possible to brute force with the public record of a transaction made with the wallet and a couple of days processing on a standard gaming PC.
English
0
0
0
69
Tarn Barford
Tarn Barford@tarnacious·
I was expecting it to be some impressive hack exploiting the Mersenne Twister PRNG by somehow finding enough values in the sequence reduce the keyspace a bit.
English
1
0
1
92
Tarn Barford
Tarn Barford@tarnacious·
This is so wild, the bx tool generates 24 word mnemonic pass phrases intended to be used for bitcoin wallets but it generates at most 2^32 unique phrases. milksad.info
English
1
0
1
158
Tarn Barford
Tarn Barford@tarnacious·
@optiks Hey. I'll be in Melbourne in January and I'd love to catch up with you and others from those Alt.NET days.
English
0
0
1
112
MC 🌎🦉🌹🚴
MC 🌎🦉🌹🚴@optiks·
@tarnacious Hey, I didn’t realise it was you that replied! I still remember pairing with you on the money kata at ALT.NET Melb! Hope you’re well.
English
1
0
0
36
David Fowler
David Fowler@davidfowl·
.NET 8's dependency injection container will support "keyed services". A long-requested feature that has finally landed. This is useful when type alone isn't enough to determine the right implementation. #dotnet
David Fowler tweet media
English
84
272
1.5K
202.9K
Tarn Barford
Tarn Barford@tarnacious·
@optiks Yeah, that's true it's not just C#/.NET. Now you mention it, I have done some work on a project using Spring Boot which uses DI for everything.
English
1
0
1
111
MC 🌎🦉🌹🚴
MC 🌎🦉🌹🚴@optiks·
@tarnacious Yes, DI is very common - not just in C#/.NET either. It has a purpose and many benefits, but like anything, there are trade-offs too.
English
1
0
0
28
Tarn Barford
Tarn Barford@tarnacious·
@optiks I'm quite happy I haven't had to deal with a dependency injection framework in probably a decade. Is this still quite common in C# projects?
English
1
0
0
86
MC 🌎🦉🌹🚴
MC 🌎🦉🌹🚴@optiks·
@davidfowl Yay! This is awesome. When do we get child containers? I had use .GetAutofacRoot() this week for the first time 😬
English
1
0
0
203
Tarn Barford
Tarn Barford@tarnacious·
@kellabyte Not a security expert, but I still do. Some systems, like Elasticsearch, also make it harder not to use TLS. Keen to see the other replies.
English
0
0
2
347
Kelly Sommers
Kelly Sommers@kellabyte·
Security folks, if your services and machines are communicating over Tailscale do you still configure SSL on Postgres or other infrastructure ports and double encrypt? Am I understanding this right?
English
4
0
9
7.8K
Tarn Barford
Tarn Barford@tarnacious·
Noooo, the six-lobe or the hexagon are the good ones. Philips and slotted are designed to limit the torque you can apply 😭
ShitpostGateway@ShitpostGate

English
0
0
1
172