Floating points in computers and the associated math is pretty complicated. Thereโs a reason why many languages have different float and int types.
19.05.2025 00:25 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0@yoseph.tech.bsky.social
Software engineer. Sailor. Father. I sometimes write on my personal blog: Yoseph.tech
Floating points in computers and the associated math is pretty complicated. Thereโs a reason why many languages have different float and int types.
19.05.2025 00:25 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0But once you do get to that point, using tests to validate your design is essential. I found if a system is hard to test, the system is poorly implemented. And once you get going, TDD should be easy to use.
26.04.2025 13:11 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0I agree with your sentiment, but Iโd like to also point out that TDD is great when you know exactly what youโre building and what the interfaces will be. Sometimes, especially in the early days of a project, thatโs not feasible and youโve got to tinker with a few different abstractions b4 committing
26.04.2025 13:10 โ ๐ 0 ๐ 0 ๐ฌ 2 ๐ 0Well i guess im officially a speaker at @kcdc.bsky.social this year! Im excited to give talks alongside some really great speakers and engineers. Canโt wait to get down to KCDC.
Itโll also be my first time in Kansas City, and Iโm really looking forward to trying some of that BBQ.
You hit the nail on the head. This is especially bad with internal systems teams and operational teams.
And itโs funny, you ask the engineers and theyโre always like โthis system as thorns but it works and people are happyโ but then you ask stakeholders, and they say โno, I hate itโ
AI search tools that sumarize websites need to be heavily regulated. Theyโre bad for both consumers and theyโre bad for publishers. They steal content and traffic from publishers, de-incentivizing them to publish content, while also opaquely injecting their opinions on consumers.
22.04.2025 19:34 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0The irony here is that Cleveland cliffs wants (or wanted to) acquire U.S. steel, which was supported by Trump because the alternative was a Japanese steel maker acquiring them. Now trumps policies threaten American steel manufacturers.
22.04.2025 14:37 โ ๐ 8 ๐ 0 ๐ฌ 1 ๐ 0No problem! I love CDK, so Iโll almost always recommend it! I started using it with lambdas, and no I use it for everything.
19.04.2025 00:12 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0And itโs got bundling functionality in it, so it will push your code to lambda with no fuss. It even has `node` and `Python` constructs that will do the whole bundling by reading requirements and package info files. Itโs really neat.
18.04.2025 23:35 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0CDK!! Itโs actively maintained by AWS, supports all of AWSโs service and you can define your infra using your language of choice probably (supports typescript, java, python, go and a few others I canโt remember).
18.04.2025 23:34 โ ๐ 4 ๐ 0 ๐ฌ 1 ๐ 0Honestly, IME, your DDB schema shouldnโt be so big and complex that youโd benefit from an ORM. I think the moment I start thinking of using an ORM with DDB, I either re-evalutate how I designed my tables, or I just go to SQL.
15.04.2025 12:32 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Iโve never encountered a react native app that I didnโt want to immediately burn to the ground, and that includes projects I abandoned for 3 weeks.
15.04.2025 12:13 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0There used to be a typescript ORM for for DDB maintained by AWS. It worked pretty well, and used decorators to model the schema.
Last I checked, they dropped support for it when they moved to AWSSDK V2.
But either way, Iโve found there isnโt really a need for an DDB ORM with TS
Well, โby WSJ Staffโ also does scare the bejeesus out of me. If theyโre mad at Trump, things truly are bad.
09.04.2025 11:33 โ ๐ 5 ๐ 0 ๐ฌ 1 ๐ 0= WSJ Dollar Confidence Crisis Is Here, Deutsche Bank Warns By WSJ Staff The broad selloff in U.S. stocks and bonds, and the continuing decline in the dollar, represents a "simultaneous collapse in the price of all U.S. assets," analysts at Deutsche Bank said Wednesday. They warned that "unchartered territory" lies ahead. โข Markets are dedollarizing, they said, citing the lack of evidence that investors are hoarding dollar liquidity- a dynamic that in previous market routs fueled Treasury and U.S. dollar rallies but this time is leading to declines in the prices of both. โข The administration is encouraging the Treasury selloff, they said, in a bid to bring down U.S. asset valuations-a decision they said now is exposing the fact that "reducing bilateral trade imbalances is functionally equivalent to lowering demand for U.S. assets as well." โข A financial war with China could lie ahead, they conclude, contending that "there is little room now left for an escalation on the trade front" and that "there can be no winner to such a war."
Every damned word of this 4-graf brief, except โBy WSJ Staff,โ should scare the bejeesus out of you this morning.
www.wsj.com/livecoverage...
Just remember this tariff war didnโt need to be started, itโs all stupid and now youโve got a gorilla banging its chest with no off ramp.
09.04.2025 11:30 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0As the economic news keeps coming out over the coming weeks keep one thing in mind: this is the fault of one man and didnโt need to happen.
06.04.2025 23:36 โ ๐ 48949 ๐ 10133 ๐ฌ 2716 ๐ 625It's interesting how many developers, when I talk about coupling and cohesion, assume I'm talking about object-oriented architecture.
Almost as interesting as how many devs seem to believe coupling and cohesion only have an impact on OO code.
Asking forโฆa friend
28.03.2025 14:14 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Where does approval land?
28.03.2025 14:14 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0I liken high coupling in system designs to Type 2 diabetes.
It's estimated half a million people in the UK have it, but don't realise that's what's causing their symptoms (I used to be one of them).
I see a *lot* of orgs who experience symptoms of bad modular design, but don't realise the cause.
Soon, they may even let you throw political undesirables!
21.03.2025 02:39 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0So much for the bastion of free speech that musk said heโd make Twitter: www.yahoo.com/news/dropkic...
18.03.2025 16:03 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0Man, seeing americans all around, esp. liberals not knowing what to do beyond voting is just so depressing. Their empire is dying, the new global dynamic is moving on without them, people are starting to disappear and their only hope of opposition just voted for what is essentially an enabling act.
16.03.2025 09:02 โ ๐ 1332 ๐ 201 ๐ฌ 50 ๐ 27If you let the executive deport people to a foreign gulag just by pronouncing the word โterrorism,โ then expect to be called a โterroristโ soon yourself.
17.03.2025 03:21 โ ๐ 36375 ๐ 10966 ๐ฌ 553 ๐ 421Itโs not a burning Cybertruck. Itโs a Roman candle.
17.03.2025 01:25 โ ๐ 7852 ๐ 829 ๐ฌ 127 ๐ 30Iโve built a couple of compilers in go, and tbh I really like it. The ergonomics of go make it really nice to do parallel things like parsing the tree while youโre performing Lexing.
11.03.2025 20:04 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0When I was in highschool, I took my then girlfriend to that Applebees on a double date. We didnโt bring enough for tip, just enough to cover the bill. The waiter followed us to ask why we didnโt tip in the middle of the restaurant. I havenโt been back there since.
11.03.2025 20:01 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0When asked if there is going to be a recession this year, Trump responded "I hate to predict things like that," and that Americans should expect to feel pain for a little bit. I love feeling pain in my retirement accounts!
#trumprecession #arewewinningyet