Better HN
topnewbestaskshowjobs
Log inSign up

girafffe_i

92 karma · joined Mar 6, 2021 (5y ago) · 81 submissions

Submissions

comment 5mo ago · link · parent

There’s no way around it? Can’t you obfuscate as generic data and use keys to map to the real data?

comment 6mo ago · link · parent

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.

comment 1y ago · link · parent

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.

4.

I Love Hex Arch/DDD – How to Enforce with Python/Flask?(herbertograca.com ↗)

2 points · by girafffe_i · 1y ago · 2 comments

comment 2y ago · link · parent

Found with GIMPs

6.

New highest prime 2^136,279,841 − 1 discovered on 2024/10/12(en.wikipedia.org ↗)

2 points · by girafffe_i · 2y ago · 2 comments

comment 2y ago · link · parent

Lol no one reads, just RIIR.

comment 2y ago · link · parent

I heard about Rust recently.

comment 2y ago · link · parent

Rewrite it in Rust.

comment 2y ago · link · parent

Lol

comment 2y ago · link · parent

Or utilize metric tonnes of cheap labor.

12.

Africa is building a Great Green Wall to prevent expansion of the Sahara(youtube.com ↗)

129 points · by girafffe_i · 2y ago · 68 comments

comment 2y ago · link · parent

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)

comment 2y ago · link · parent

I first thought this post was a slight saying the real app was "masquerading as a password manager"

comment 2y ago · link · parent

No, it's not material knowledge, it's just that you accessed public information first.

comment 2y ago · link · parent

Agreed

comment 2y ago · link · parent

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...

18.

Upvotes needs to run Jetbrains queries across multiple databases(youtrack.jetbrains.com ↗)

1 points · by girafffe_i · 2y ago · 1 comment

comment 2y ago · link · parent

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Does 10c/mi account for replacing the battery every 150k miles?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Microliths

comment 3y ago · link · parent

Lol

comment 3y ago · link · parent

Woah, didn't know he's also the co-founder of Calm https://x.com/tewy

comment 3y ago · link · parent

This is great news.
123