News for hackers. Stuff that matters.

girafffe_i

Re:Claude Fable 5 on Wednesday June 10, 2026 @12:33AM (#48471464)
There’s no way around it? Can’t you obfuscate as generic data and use keys to map to the real data?
I think you could condense this to a test plan (serious). I think if you come up with the cases in order these are solves problems and yes it’s part of your concurrency control, idempotency is part in parcel of distributed systems, otherwise you’re in your monolith with a wondrous central ACID interface.

I would argue sequencing is part of the hard part of idempotency, your business context would decide “when” to apply sequencing is good enough (recall monopoly “bank error collect $$$”).

Set and setting is also relevant, most places don’t deal with money or disastrous concurrency scenarios.

Now if you want to argue for a paradigm shift for why we shouldn’t be here to begin with and offer a way to get back to scalable centralized db system we’re all hears.

Re:I Love Hex Arch/DDD – How to Enforce with Python/Flask? on Tuesday February 04, 2025 @01:52PM (#42936855)
Anyone have experience implementing DDD and Hex architecture with Python enterprise services?

I fell in love the abstraction patterns that Hex architecture and DDD provide, especially when upgrading a framework that only affected one layer (REST), or when any outside contract changes you only need to change the adapter or port interface layer since everything depends on Core but core depends on nothing.

I love the payoff and risk mitigation of using strong static typed languages for enterprise code and architecture but I recently took over a large Python Flask app. We need to start abstracting layers to replace a 3rd party service with a new one. For hex architecture to work I need to use dependency injection which looks like the main Flask app.py seems the place to wire those up but I don't think it can be enforced without strong PR controls and standards.

Found with GIMPs
Re:You've just inherited a legacy C++ codebase, now what? on Thursday February 29, 2024 @10:05PM (#39558098)
Lol no one reads, just RIIR.
Re:You've just inherited a legacy C++ codebase, now what? on Thursday February 29, 2024 @09:49PM (#39557991)
I heard about Rust recently.
Re:You've just inherited a legacy C++ codebase, now what? on Thursday February 29, 2024 @09:48PM (#39557983)
Rewrite it in Rust.
Or utilize metric tonnes of cheap labor.
Re:How to Study (2023) on Saturday February 10, 2024 @04:29PM (#39330397)
A lot of this is covered and contributes by Adam Grant's "Hidden Potential"

Learned that different learning styles was bunk (visual vs auditory). Also, experts are the worst teachers, they are far removed from being in your shoes and do not provide the empathy or the correct scaffolding to start newcomers down the path of understanding a topic.

The biggest success for pedagogy impact is study groups, and tutoring while or immediately after learning something (the accountability of needing to teach someone bumps.your motivation to understand the nuances, plus the act of teaching helps you remember)

I first thought this post was a slight saying the real app was "masquerading as a password manager"
No, it's not material knowledge, it's just that you accessed public information first.
Re:Deep Cloning Objects in JavaScript, the Modern Way on Friday December 22, 2023 @05:56AM (#38732998)
Agreed
Jetbrains' database tool is excellent, but is missing the ability to run a query across multiple databases (or shards). Please upvote if this could be useful to you.

https://youtrack.jetbrains.com/issue/DBE-10653?replyTo=27-86...

I've also genuinely wondered if using white trash bags would have a measurable impact. Hopefully that's all going away with their "large bins" and make room for foliage
Re:.NET Blazor on Tuesday November 21, 2023 @10:59AM (#38365421)
I miss SSR JSPs. I worked on a b2b2c marketplace, the caching and performance of SSR for routine pages was a godsend. We also used a "widget" architecture pattern with reusable components.

We then hired a front end architect who replaced all widgets with react components, changed our checkout to full CSR React, our latency raised for all users, we lost 5% conversion on checkouts that never recovered, then the next step was to build a React service to help render the React, and moved CSR React to SSR React service.

We now have 2 teams to support this. I get there are a list of other tradeoffs but I really miss JSPs.

Re:EV Sales Now Equal 17% of World Auto Sales on Wednesday November 08, 2023 @08:48AM (#38190241)
Does 10c/mi account for replacing the battery every 150k miles?
Re:Always paste without formatting on macOS on Monday November 06, 2023 @08:08AM (#38162096)
Doesn't cmd + shift + v do this everywhere and across different OS?

But while we're at, "smart quotes" should be nuked, or at least default to off.

I used to love Mondays, I would work hard during the week studying and working, then Friday I would stay up until sunrise with friends drinking or gaming. I kept this up while working in the corporate world and thought "this is what people mean by feeling refreshed"

It wasn't until I met someone who bent me to be on her schedule, early to bed early to rise on the weekends, where I started feeling depressed by the end of the week, getting Sunday scaries, and having late onset insomnia.

Complete anecdata, but I'm going to start practicing this again on Fridays to see what happens.

Re:The Costs of Microservices on Thursday November 02, 2023 @04:24AM (#38110469)
Microliths
Lol
Re:The Million Dollar Homepage on Sunday October 15, 2023 @10:58PM (#37895492)
Woah, didn't know he's also the co-founder of Calm https://x.com/tewy
Re:VCMI: Open-Source Engine for Heroes of Might and Magic III on Wednesday September 20, 2023 @04:23PM (#37589662)
This is great news.
Re:The rule says, “No vehicles in the park” on Friday June 23, 2023 @09:14PM (#36454424)
You aren't challenging your assumption of "in"

How far does the airspace extend?

Re:List one task, do it, cross it out on Saturday June 10, 2023 @05:45PM (#36275469)
This rang true at a very deep level. Thanks for linking.

I just put this into similar words for the first time this week. It's the ambiguous priority that kills my productivity. It's debilitating and overwhelming. "Just do one thing. Any thing." Is something that I've been focusing on, even though I have had past feedback about prioritizing the wrong things, it's better than nothing.

Re:PyCharm 2023.1 on Friday March 31, 2023 @09:10AM (#35386598)
Jetbrains IDEs are an industry standard, and has a quantified ROI on time saved.

First thing to think about: Pycharm is an IDE, VSCode is an editor. You're going to bloat VSCode to get anywhere near the functionality of Pycharm.

I believe jetbrains products have made me a better developer as it should provide more context and intellisense to give you guidance away from code smells and bad practices, without becoming a crutch (moreso for statically typed languages).

Also, very fond of the keybindings on macos as they mirror chrome, os, and electron applications.

Older »