HNHacker News
TopNewBestAskShowJobs

dmlittle

600 karma · joined November 16, 2014

submissionscomments
dmlittle··on Ask HN: Should GitHub downtimes impact considering Golang for a new project?
`go mod vendor` is the solution

https://go.dev/ref/mod#go-mod-vendor

dmlittle··on Job application asked for my SAT scores
I couldn't find a version of this video on YouTube without commentary. The reading comprehension level in the US is completely unacceptable.

https://www.youtube.com/watch?v=4FdGIRBUds4

dmlittle··on Adaptive PDFs
Yes, although that's not new. The amount of different exploits and RCE I've seen in the past decade from just "opening" an PDF is mind blowing. Not sure if it's slowed down but around 8 years ago ghostcript would patch a couple of RCE from PDF processing every few months.
dmlittle··on Higher usage limits for Claude and a compute deal with SpaceX
It's worth noting that GPUs have a much higher failure rate than traditional CPUs. Over 10x the failure rate due thermal stress. The amount of heat generated is very different. You can't really replace a GPU in a satellite (at least today?) which would place most of these satellites as space debris in a ~5 year horizon.
dmlittle··on K8s with 1M nodes
It's been a while since I've checked this but a few years ago we tried to limit test kine on a large-ish cluster and it performed pretty poorly. It's fine for small clusters but the way they have to implement the watch semantics makes it perform poorly (at least this was the case a few years ago).
dmlittle··on K8s with 1M nodes
The node failure rate is much higher than that. On a 1M node cluster of cloud-managed instances (AWS, GCP, Azure, etc.) you'd likely see failures a few times a month, if not more.
dmlittle··on DaisyUI: Tailwind CSS Components
It depends on how much effort you put into it vs. just using any of the base templates/components that Tailwind Plus (previously Tailwind UI) has to offer.

If you look at their Showcase section[1], you can't tell it's using TailwindCSS for most of them (imo).

[1] https://tailwindcss.com/showcase

dmlittle··on Ask HN: Bitcoin mining as an alternative to ad revenue
Jeremy Rubin built a proof-of-concept for this over a decade ago for a hackathon and ended up being sued by the state of New Jersey. This blog post[0] has a good summary of the events.

[0] https://ethanzuckerman.com/2015/05/28/the-death-of-tidbit-an...

dmlittle··on SpaceX's Fram2 returns from first-of-its-kind mission around Earth's poles
Just an (uneducated) guess here, I don't believe capsules carry the necessary amount of fuel that it would take to accomplish this.
dmlittle··on Every UUID Dot Com
It depend on the UUID version you're using. Version 4 (Random) will always have that value be 4 as per RFC 9562. So 99999999-9999-9999-9999-999999999999 is a valid UUID but not a valid UUID v4. If you wanted to be pedantic the website should have been named https://everyuuidv4.com/

https://datatracker.ietf.org/doc/html/rfc9562

dmlittle··on How Uber tests payments in production
> C) Only one staging env per customer. Want to check what a new setting will do? Every developer is getting that setting turned on.

Stripe Sandboxes[1] aim to solve this problem!

(Disclaimer: I work for Stripe but not on this feature)

[1] https://docs.stripe.com/sandboxes

dmlittle··on Starlark Language
There's some explicit differences with Python[1]. My understanding is that Starlark was specifically created for Bazel so if I had to guess it's to enforce the immutability of values between contexts.

[1] https://bazel.build/rules/language#differences_with_python

dmlittle··on Free MIT Course: Performance Engineering of Software Systems
Thank you for TA'ing the class! I took it in 2015 and TAs really made the class for myself and most of my friends.

Is the end of semester Leisserchess competition still going? I believe I heard that the year you TA'd it (might have been a year before or after) a group finally compiled an opening playbook and beat everyone in the class

dmlittle··on Dive: A tool for exploring a Docker image, layer contents and more
I believe the original Kubernetes proof of concept was written in Java
dmlittle··on Ask HN: Heroku alternatives in 2023 without Pay-as-you-go scheme
fly.io is another popular one
dmlittle··on System Initiative: Second Wave DevOps
How do you go from "25,000 requests per second" (25krps) to "one request every 3 seconds"?
dmlittle··on Show HN: I was frustrated with pricing of PagerDuty et al., so made one myself
It might be plan dependent(?) but everything you’re describing is configurable on your PagerDuty profile. I have it configured to send me a notification immediately followed by a call if I don’t acknowledge it within a minute (yes, this is aggressive but I’m in a high urgency, quick response time SLA rotation)
dmlittle··on FDIC – SVB FAQ
Right. I meant to say there are groups capitalizing on the situation
dmlittle··on FDIC – SVB FAQ
> Shocked that no VC or group of them haven't stood up a short term bridge loan facility since it was them who triggered the chain reaction that took the bank down.

Several groups are. They're offering anywhere between 60 to 80 cents on the dollar for the uninsured amounts. https://www.reuters.com/business/finance/hedge-funds-offerin...

dmlittle··on KWOK: Kubernetes WithOut Kubelet
(Disclaimer: I haven't looked too much into this tool other than a cursory glance)

It seems this tool isn't meant mostly for testing how different components behave under different scenarios and/or load. This is probably particularly helpful for custom controllers or operators. What happens to your controller if it's constantly reconciling 100k pods? What about 5k nodes? Something else? If this tool makes creating a "loaded" cluster easy, it's definitely handy. Would have saved me some time doing something similar a few months ago.

dmlittle··on Ask HN: What is tech debt to you?
For what it’s worth sometimes it’s worth abandoning old legacy context in a rewrite if the new solution drastically reduces operational complexity. For example, it’s cheaper/better to retrain everyone on the new solution than it is to continue to onboard new folks to the legacy one. This is not always the case, but sometime it is as the parent comment mentions.
dmlittle··on GraphQL is a hot smoking pile of garbage
> GraphQL forces you to write business logic on the client

Even if you have traditional REST endpoints, you still have to potentially orchestrate their usage client-side.

dmlittle··on Scaling Kubernetes to Thousands of CRDs
Depending on the size of your cluster, scaling out the apiservers is not necessarily cheap as the watch caches need to be initialized which puts load on etcd. Generally speaking, it's probably better to scale the apiservers vertically rather than horizontally.
dmlittle··on Ask HN: Why hasn't Mark Zuckerberg banned Apple products?
Adobe removing support for their products in Apple products would have just created a void that someone else would have filled.
dmlittle··on Kubernetes for Developers Who Know How to Develop
The same reason frontend and backend teams exist. At a certain point it makes sense to have centralized teams focus on specific verticals than requiring everyone to learn/know about everything. As with any tools, there are right and wrong ways of using it and using the wrong tool for the job can sometimes be more painful than not using it at all.
dmlittle··on Algorithms by Jeff Erickson (2019)
Despite its name CLRS goes WAY beyond an introduction
dmlittle··on Ask HN: Is job hopping as bad as they say?
I was given the chance to vet my future manager once. I was presented with a candidate that had been in 11 different companies over the course of 8 years. We passed on them as soon as I pointed this out.

Job hopping a few times is not a bad thing by itself but the reason why you’re doing so might be. In my case I didn’t want to hire a new manager only to repeat the process again in 6 months (their track record suggested they’d do it again). There’s also a _huge_ difference between having 8 years of experience and 8 first year experiences. As pointed out by GP the hard and complicated things/decisions come after a while in the job and you’ve onboarded and gotten context.

dmlittle··on Monitoring tiny web services
AWS S3 does the opposite when querying objects that don't exist. If you don't have s3:ListObjects permissions on the bucket you'll get a 403 error (you can't differentiate between the object not existing vs. you don't have access to it).

I think either approach is valid as long as you're consistent. You can make a case for either 404 or 403 when you don't have enough permissions. In GitHub's case you can argue that it's a 404 because the resource does indeed not exist through your auth context. In AWS' case you can argue that a 403 makes sense because you don't have permission to know the answer to your query.

dmlittle··on Show HN: Responsecodes.xyz
If you have any requests I'm happy to try to to implement them!
dmlittle··on Show HN: Responsecodes.xyz
I'm not really looking at it from a cost savings perspective since the operational cost is so low that even an hour of work covers paying for multiple years of it running. It really boils down to what different platforms I want to try out but you're right that Cloudflare Workers is another one to consider.
Page 1 of 12Next →