HNHacker News
TopNewBestAskShowJobs

girafffe_i

92 karma · joined March 6, 2021

submissionscomments
girafffe_i··on Claude Fable 5
There’s no way around it? Can’t you obfuscate as generic data and use keys to map to the real data?
girafffe_i··on Idempotency is easy until the second request is different
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.

girafffe_i··on I Love Hex Arch/DDD – How to Enforce with Python/Flask?
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.

girafffe_i··on New highest prime 2^136,279,841 − 1 discovered on 2024/10/12
Found with GIMPs
girafffe_i··on You've just inherited a legacy C++ codebase, now what?
Lol no one reads, just RIIR.
girafffe_i··on You've just inherited a legacy C++ codebase, now what?
I heard about Rust recently.
girafffe_i··on You've just inherited a legacy C++ codebase, now what?
Rewrite it in Rust.
girafffe_i··on Africa is building a Great Green Wall to prevent expansion of the Sahara
Lol
girafffe_i··on Africa is building a Great Green Wall to prevent expansion of the Sahara
Or utilize metric tonnes of cheap labor.
girafffe_i··on How to Study (2023)
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)

girafffe_i··on Fake app masquerading as password manager LastPass just pulled from App Store
I first thought this post was a slight saying the real app was "masquerading as a password manager"
girafffe_i··on Is it insider trading if I bought Boeing puts while inside the wrecked airplane?
No, it's not material knowledge, it's just that you accessed public information first.
girafffe_i··on Deep cloning objects in JavaScript
Agreed
girafffe_i··on Upvotes needs to run Jetbrains queries across multiple databases
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...

girafffe_i··on New York will plant trees using new tech to maximize foliage impact
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
girafffe_i··on .NET Blazor
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.

girafffe_i··on EV Sales Now Equal 17% of World Auto Sales
Does 10c/mi account for replacing the battery every 150k miles?
girafffe_i··on Paste without formatting on macOS
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.

girafffe_i··on One sleepless night can rapidly reverse depression for several days in mice
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.

girafffe_i··on The costs of microservices (2020)
Microliths
girafffe_i··on NASA just sent a software update to a spacecraft 12B miles away
Lol
girafffe_i··on The Million Dollar Homepage
Woah, didn't know he's also the co-founder of Calm https://x.com/tewy
girafffe_i··on VCMI: Open-Source Engine for Heroes of Might and Magic III
This is great news.
girafffe_i··on The rule says, “No vehicles in the park”
You aren't challenging your assumption of "in"

How far does the airspace extend?

girafffe_i··on List one task, do it, cross it out
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.

girafffe_i··on Carmakers like VW are bringing back buttons because drivers loathe touch screens
Replace your keyboard with a touch screen keyboard and report back.
girafffe_i··on Carmakers like VW are bringing back buttons because drivers loathe touch screens
BlackBerry was working on actuators under the touch screen to provide haptics, since kiosks and car screens aren't as dynamic as phones, these are good first candidates.

Plus it makes driving more accessible to people with impaired vision.

girafffe_i··on Alien Supercivilizations Absent from 100k Nearby Galaxies (2015)
Are we stuck in creativity jail? Like that analogy of us waiting for flying cars, but we already have them and they are called planes, they just aren't how we kept picturing them. What are they looking for when they look for Dyson spheres? Just intermittent flashes?

I shared a lab with an instructor at my university who made photovoltaics that absorbed the non visible spectrum but allowed visible light to pass through.

I'm sure these are thought of already but I don't know how/if they are looking for all of these

* Absence of a star (fully engrossed in a Dyson structure) -- this seems like how a black hole.would be identified by circling bodies around nothing

* A visible star, but it has some part of its em spectrum clipped because it's totally encased by a sphere that only absorbs a portion of the em spectrum

* The Dyson sphere is large enough to encase many galaxies (including us)

* there's Dyson sphere s but they don't rotate so we don't see any sharp change in luminosity

* There's a binary star, but one is a Dyson sphere and appears as a planetary body

girafffe_i··on Pizza rolls and the meaning of midcentury food
It took me until a couple years ago to notice Chef "Boy-ar-dee" was a phonetization of an Italian surname like "Boiardi"
girafffe_i··on PyCharm 2023.1
This is an unfortunate "scared pandering" path especially as visual studio has moved over to macos and Linux. Microsoft can afford to put these out VSCode and VS for free.
Page 1 of 3Next →