HNHacker News
TopNewBestAskShowJobs

digitallogic

737 karma · joined July 7, 2009

submissionscomments
digitallogic··on Explaining to business people why building software is still hard
> You have enough budget for only the first floor, but you have a big family, and you know you’ll want a second one in a couple of years. > Adding the infrastructure to support a 2nd floor is MUCH cheaper right now than it will be when you actually want that 2nd floor.

The problem with this thinking is it requires certainty about the future. It's much cheaper right now IF AND ONLY IF you end up needing the thing. If you don't need it, then you've threw time and money down the drain.

Where I think this analogy weakens is you probably have far more certainty of whether or not you want a big family then you do on whether or not a new product line will see major adoption.

digitallogic··on Any Human Ever – One life, drawn at random from all who have ever lived
> LIFE EXPECTANCY AT BIRTH

Given the huge infant mortality rates until very recently in human history, this is often pretty misleading. Life expectancy at say, 2yo, is far greater.

digitallogic··on Hacking IKEA Furniture
> it is unlikely to survive several moves

I have several pieces that have survived 3-4 moves. The trick is when assembling, use wood glue with any dowels. On their own, these dowels only have friction to hold them in place, and over time, the surface of the area where they are inserted compresses, reducing friction. Hence you get that typical side to side sway. The glue mitigates this problem.

digitallogic··on Nvidia agrees to acquire Hugging Face for $13B
> from a technological standpoint, don't appear to have much IP that cannot be easily replicated.

They have network effects and strong brand recognition, both of which are hard to replicate.

digitallogic··on I like 'em thick: an apology to my English teachers
There's a lot of great things about this piece, but I'm kind of stuck on the "Hieronymus Bosch Butt Music". Listened to it a bunch of times now. https://www.youtube.com/watch?v=OnrICy3Bc2U

Maybe that's the point?

digitallogic··on Being ambitious and being a dad
> having kids may make one less ambitious

Can't say this resonates with me. Though being a dad has wildly changed what I'm ambitious about.

digitallogic··on Hello, me. It's been a while
ITT: a lot of undiagnosed ADHD
digitallogic··on Don't rewrite your CLI for agents
Some big findings:

> JSON retries generated 7x to 14x more output tokens than the args path.

But!

> On PowerShell, the cost gap between args and JSON was 9x. On Bash, it collapsed to 1.5x.

The conclusion of the post is "cli args are better than JSON", but the argument for why only holds up on Windows. This post says more about Powershell than anything else.

digitallogic··on Is AI ruining our skills? Early results are in – and they're not good
I have the same experience, but there's another dimension I want to throw out: breadth versus depth.

I've wildly increased my breadth of learning. If I'm ever curious about anything, even a passing thought, I can scratch that itch in a way I never could before.

But am I going deep? Acquiring new skills? Eh... I usually go far enough to unblock myself and/or settle a curiosity. I don't think that's good or bad, but it does present a certain set of tradeoffs that are different than going deep.

digitallogic··on Programmers will document for Claude, but not for each other
Document for other developers: you put in the work for someone else to get what they want.

Documenting for Claude: you put in the work to get what you want.

Seems pretty straightforward.

digitallogic··on The Last Technical Interview
This kind of thinking is why a lot of market place startups fail.

You have two parties engaging with each other in a subpar way, and your solution is to make things better for one party (hiring side) and significantly worse for the other (candidates). Trying to convince candidates that this is good for them, won't make it so. Eg:

> Every stamp that you hand out, pass or fail, leaves a candidate richer than they showed up. This attracts strong candidates to you, because even your rejections are worth something to them.

Candidates don't want stamps. They want stable work.

digitallogic··on I Spent My Sabbatical Building a Power Meter for Sledgehammers
Very much on the same page as far as the holy grail! Would love if I had all that data (and it was actionable).

As for the Stryd... take this all with a grain of salt because I only have a consumer level understanding but: You can establish your FTP, but then the issue is setting zones from there. My understanding is that the big thing with establishing them is having an accurate estimation of LT1 and LT2 lactate thresholds. Most zone calculators are approximating that, but those calculators are based on a large body of data comparing lactate levels to cycling power in a controlled environment (a lab). That large body of data doesn’t exist for running power, and I recall reading that the little bit that does indicates that formulas for cycling power’s impact on L1/L2 thresholds don’t line up with running power. It’s also been maybe 4 or 5 years since I was engaged with this so the science may have improved!

Watch wise, when I used it, I have a Garmin Fenix, and it had options to show watts/zones/etc. You can even plug in zone based workouts just like you can with cycling power. I did find it a bit of a pain to monitor on a watch vs a bike computer, but not too big of a deal.

digitallogic··on I Spent My Sabbatical Building a Power Meter for Sledgehammers
This is pretty cool! Your note about cycling power meters changing the way you perceive effort matches my experience as well. One other bit from my experience: I'm a runner and a cyclist, and I've always lusted after having cycling style data and prescribed workouts for my running. When Stryd launched I was all in, but... all it gave me was power numbers. It didn't have the tribal knowledge that came with my cycling power meter. Eg - lots of online content about zones, free and paid workouts / plans to target different goals (eg sprinting vs long endurance). It almost seems like any discussion of serious training on a bike comes back to watts.

But with the Stryd, all I got was power numbers, and the option to signup for a monthly paid subscription with some training plans that were pretty bare bones. It seems like running power meters just haven't been adopted widely enough for that critical mass of information to emerge. My realization from this is the data is useless without the tribal knowledge of how to use it. So my Stryd sits in a drawer somewhere, and I'm back to running by heart rate.

digitallogic··on Launch HN: Palus Finance (YC W26): Better yields on idle cash for startups, SMBs
> 1-2% on millions of dollars is significant but it's not nearly as impactful as finding Product-Market-Fit in your actual business.

You've got really significant, broader lesson here for startups at this stage.

digitallogic··on Assigning Open Problems in Class
I had an advanced algorithms professor who was brilliant but not always put together. Eg - he didn't always dress himself correctly. Think, two different shoes or a button shirt mis-buttoned so there was an extra hole at the top.

He came in one day and wrote this problem on the board, and asked if anyone could solve it in O(n log n). No one did, he seemed really disappointed. The TA came in afterwards, and someone asked why we were going over this specific problem. Would it be on the final? The TA said "You professor gave you this problem because he went to a conference recently, and this was announced to great fanfare as a new unsolved problem. For the last two weeks, he's been asking anyone who will listen if they can solve this problem."

digitallogic··on Launch HN: Warrant (YC S21) – Authorization and access control as a service
> Teams typically implement their earliest version of an access control system with a home-grown solution or an open source library. Many implement role-based access control, often with roles, attributes, and authorization logic hard coded and/or tightly coupled with their business logic.

Here's the thing, teams do this for a reason. Each one of these checks takes all of 2 minutes to add. And the next one takes 2 mins to add, and so forth. Until it's a total mess. But, as someone who been through this cycle multiple times, that's exactly what I would do again in the future. Because, on day zero, if my options are "the 2 minute solution" or "spend hours/days/weeks? evaluating a vendor for a problem I won't have for years"... well, the choice seems pretty clear there.

> As a product grows in usage and complexity, this is no longer enough. But the thing is... while it's not enough... I can add to it. Far more easily than I can to refactor everything to support a vendor provided system. And I know it'll be a big ball of mud, but at just about every decision point along the way I'm better off not switching. And every time I add something to my system, it's that much harder to adopt yours.

It feels like there's a circular dependency here. The easiest time to adopt your product (day zero) is also when I'm least likely to get value out of it. Solve that for me, and I'm very interested in your product.

digitallogic··on Del.icio.us
Kind of amazed that my 15 year old account still works.
digitallogic··on Google Photos will lock some new features behind a paywall
Paying Google Music user here. It's not a panacea.
digitallogic··on HashiCorp Boundary
>> * I assume you aren't shelling out :)...

>>

> We in fact are.

Words can not express the joy I feel in reading this. Thanks so much for the responses!

digitallogic··on HashiCorp Boundary
> Customer clusters are created/managed by programmatically running Terraform

I have soooo many questions about best practices doing this. I run a service that needs to dynamically provision AWS resources, and lacking a clear path to do this programmatically, I shell out to Terraform.

* I assume you aren't shelling out :). Do you have any additional helper libraries on top of the Terraform code base to make it more of a a programmatically consumable API, as apposed to an end user application?

* Are you still pointing at a directory with resources defined in HCL, or are the resources defined programmatically?

* What are you using for state storage?

* What is the execution environment for the programmatic Terraform process? Since Terraform uses external processes for plugins, I've hit some issues with resource constraints around the max number of process sysctl's in containerized environment where I have multiple Terraform processes running in the same container.

edit: formatting

digitallogic··on Some thoughts on JSON vs. S-expressions (2012)
> Maybe this could be fixed in a json extension which allows words to be read as strings of themselves but if you extend json you lose any interoperability.

I worked on a product that did this for its storage file syntax, and the issue around interoperability was a huge drag. Both on us, and also on our customers. By nature of the product the customers often wanted to generate the files themselves, but generally didn't because they lacked tools to do so.

digitallogic··on Hidden costs of constantly shipping new things
Interesting! I especially enjoyed the insight into the evolution of the company. Though with this insight I have slightly different conclusions than the author:

1. A bias to ship and a bias to ship new things are not one and the same. A lot of the problems, such as a failure to iterate on existing products/feature, sound very much a product of the later, not the former. If anything, the issue "Insufficient Iteration" is probably not correctable without a bias to shipping.

2. A bias to ship and a bias to ship things that impact your customers are not one and the same. There is a note about an early shift to micro-services. I can't speak to this organization, but, generally speaking, spending time on internal engineering work to the detriment obvious missing features is a common issue with early stage companies.

3. A bias to ship and a bias to ship to the right customers. Specifically in regard to the high value, high demand customers.

4. A bias to ship and... idk what to call this? "The product specs were well thought through, sometimes crafted for months." TBH, the problem with this one feels like a lack of a bias to ship.

As described, I think the real culprit was a lack of or poor prioritization. FWIW, I suspect the author and I may actually be in violent agreement as I did find my self nodding with most of his lessons learned. Though I'd be careful about letting too much hindsight bleed in (eg - do situations that'd be improved by more decision documentation justify the effort of documenting all product decisions, especially in the early phase when the product is rapidly evolving)?

digitallogic··on Fastcore: A library that extends Python with new features
> I try to minimize it as much as possible, even when it hurts productivity. Long term maintainability is more important to me.

I don't think this needs to be an either/or choice in these situations. You can have both if you make the make the conscious decision to not fight your tools. Yes, sometimes you have to be more verbose in one language than another, but the productivity hit in that case always pales in comparison to the hours, days, and in some cases I've seen, weeks, lost by someone fighting their language/tools.

My favorite example of this was a developer given a 2 week feature implementation that ballooned to two months. They had minimal experience C++, and they didn't like its looping syntax. Rather than accept that frustration and write the code in a syntax they disliked, they instead spent weeks writing a "re-usable library that abstracts away looping semantics".

digitallogic··on AWS Controllers for Kubernetes
Also, not all AWS follow the same deletion semantics. Example: S3 buckets. The report as being deleted somewhat quickly, but their name may not be available again for hour or so.

In this case the delete will appear to succeed, but the recreation, if done with the same name, may fail.

digitallogic··on A deep dive into the official Docker image for Python
Whoa boy, is it ever, but maybe not for the reason you're thinking. ie it isn't caused by people typing `apt-get install python`.

There are many packages that have Python as a dependency these days. For example, on my Ubuntu system:

> ~$ apt-cache rdepends python|wc -l

> 4649

I think the best illustration of how this can happen is installing postgres libraries needed to build the psycopg2 PG client. If you know to install `libpq-dev` then you're great. But if you do something that on the surface feels totally reasonable, like installing the `postgresql-client` package... guess what? You just installed another Python interpreter.

edit: formatting

digitallogic··on The dual PhD problem of today’s startups
> Today’s startups have a biologist talking about wet labs on one side and an AI specialist waxing on about GPT-3 on the other, or a cryptography expert negotiating their point of view with a securities attorney. There is constant and serious translation required between these domains, translation that (I would argue mostly) prevents the fusion these fields need in order for new startups to be built.

Is that all that different from a software engineer with little customer facing experience teaming up with a non-technical cofounder who does?

digitallogic··on Developer won’t get hit by a bus, they’ll get hired by Netflix
Keep in mind that an organization that doesn't appreciate their top performs (hence them leaving) is also more likely to not take advantage of their limited time left when they give notice.

And a grace period that isn't taken advantage of is functionally equivalent to your employee being hit by a bus.

digitallogic··on The world should think better about catastrophic and existential risks
You don't need to worry about a meteor taking out us-east-1 because us-east-1 will take itself out several times over before a meteor ever shows up.
digitallogic··on Remote work has its perks, until you want a promotion
> Promotions, raises, influence, etc., are no issue for remote workers in the former kind of company but certainly can be in the latter.

FWIW, remote first companies are not automatically immune to these dynamics. A few examples of how they can still emerge:

* A group of folks that all live in the same city informally decided to start working from the same co-working space. A clique emerges.

* The CTO frequently travels to SF to talk to customers, regularly has lunch with a local employee who later gets promoted over better performing peers.

* Same but while the CEO goes to talk to investors.

* Same but the whole leadership team meets in the same airline hub city twice a quarter because it's easiest for everyone to get to. Employees in said airline hub city have better outcomes.

* You live on one coast, and your supervisor lives on another. People in the same timezone as your supervisor get more virtual face time.

There are definitely more opportunities for this dynamic when some people are remote and some are in a shared office. But I'd be wary of any organization that tells you this can't happen to them just because they're remote-first.

These dynamics can emerge in many ways, and if an organization doesn't realize/acknowledge this, there's a decent that they could fall prey to it, or may already be in progress.

edit: formatting

digitallogic··on Show HN: SQL Police Department – Learn SQL while solving crimes
Pretty cool! One piece of feedback: > An illegal site's servers were siezed in a recent operation. Please submit all users number of posts' details. Please make sure there are no duplicates.

There's no declaration of what attribute should be used for considering distinct users. After guessing it gave a hint to the effect of "there are duplicate Given Name values". This is rather counter intuitive since many people share a given name.

Page 1 of 5Next →