HNHacker News
TopNewBestAskShowJobs

dilippkumar

2,022 karma · joined June 2, 2015

Engineer living and working in San Fransisco, CA

dilip@katamari.io

submissionscomments
dilippkumar··on Ask HN: What is the best code base you ever worked on?
+1

I can not understate how much I agree with parent comment.

The opposite of move fast, build a shitty prototype and iterate is a deliberate problem solving approach undertaken by the highest caliber of engineers. The actual challenges to be addressed are effectively addressed right at the design stage.

The result is a thing of immense beauty and elegance.

I will forever be grateful for the opportunity I had to see this magnificent piece of engineering in action.

dilippkumar··on Supreme Court overturns 40-year-old "Chevron deference" doctrine
There’s a lot of negativity around this ruling here on HN.

As a not-lawyer, non expert, I welcome this ruling. The strongest argument I can make in favor of this come from the dissenting opinion by Justice Kagan:

> This Court has long understood Chevron deference to reflect what Congress would want, and so to be rooted in a presumption of legislative intent. Congress knows that it does not—in fact cannot—write perfectly complete regulatory statutes...

> It knows that those statutes will inevitably contain ambiguities that some other actor will have to resolve, and gaps that some other actor will have to fill. And it would usually prefer that actor to be the responsible agency, not a court...

In other words, Congress can not get its shit together, but someone still has to do the work of figuring out what rules we should all follow. Congress would much rather play politics and make speeches and theatrical high-drama hearing rather than doing the hard work of legislating laws.

It is obvious that Congress can not get all the details right. Neither can the regulatory body. The only advantage of delegating the work of rule-making to regulators is that the iteration times are faster.

Why are the iteration times faster? It has more to do with the Congress being a dysfunctional body.

When incompetence is rewarded by reduced work loads, incompetence is amplified.

Yes Congress can not get their shit together. But that’s way more visible to voters when their incompetence translates to visible inaction.

This is the way the system should work (in my opinion). Feels like a positive ruling to me.

dilippkumar··on Why does current flow the opposite way from the electrons?
I had ChatGPT-4o translate this to contemporary english

> We assume, as stated earlier, that electrical fire is a common element, equally shared among the three mentioned individuals before any operation with the tube begins. Person A, who stands on wax and rubs the tube, transfers the electrical fire from his body into the glass tube. Since his connection to the common stock is cut off by the wax, his body is not immediately replenished. Person B, also standing on wax, passes his knuckle near the tube and receives the electrical fire collected by the glass from A. B’s connection to the common stock is also cut off, so he retains the additional amount received. To person C, who is standing on the floor, both A and B appear electrified. C, having the normal amount of electrical fire, gets a spark when approaching B, who has an excess, and gives a spark to A, who has a deficit. If A and B touch, the spark between them is stronger because the difference in their electrical fire is greater. After they touch, there is no spark between either of them and C, as the electrical fire in all three is equalized. If they touch while being electrified, the equality is maintained, and the fire circulates continuously.

> This has led to new terms. We say B and similar bodies are positively electrified, and A is negatively electrified; or rather, B is electrified plus, and A minus. In our experiments, we electrify bodies as plus or minus as needed. These terms are used until philosophers provide better ones. To electrify plus or minus, it’s essential to know that the parts of the tube or sphere being rubbed attract the electrical fire from the rubbing object during friction. Once friction stops, these parts are ready to give the received fire to any body with less. Thus, the fire can be circulated, as Mr. Watson demonstrated, or accumulated or subtracted from any body, depending on the connection with the rubber or receiver, while cutting off communication with the common stock.

dilippkumar··on Ask HN: What are your personal red flags when you're interviewing at a company?
Back when in-person interviews were a thing, I’d use the opportunity to just look at the office space.

Specific red flag signals:

1. Dominated by Windows

2. Too many people in formals

3. Nobody wears badges (and other indicators of a lax security policy)

4. Old/worn out office furniture

5. Low resolution displays

6. Old laptops

7. No evidence of people collaborating or chatting at a microkitchen etc.

dilippkumar··on Possible exposure of Earth to dense interstellar medium 2-3M years ago
I thought Ford Prefect was responsible for this one.
dilippkumar··on CO2 helps viruses stay alive longer in the air
I don't have any equipment to calibrate it or measure it's calibration against. However, when I leave the windows open for extended periods of time, the CO2 levels hit levels that are within 50ppm of [0]. (I live in a different city from this station, with different population density, traffic patterns and all sorts of other micro-climate stuff that can contribute to a baseline difference. Additionally, CO2 levels swing by several hundred ppm when the air quality goes bad, and the ~50ppm range is insignificant in comparison)

It seems good enough for how I use it. I wouldn't conduct chemistry experiments using this as an instrument.

[0] https://gml.noaa.gov/ccgg/trends/monthly.html

dilippkumar··on CO2 helps viruses stay alive longer in the air
Tangential, but I've had this monitor[0] at home for about 2 years and I can recommend it.

I live in a place that's generally cold for a large part of the year, so I have all windows shut for most of the time. I've discovered that tracking CO_2 levels is a very good proxy for general air quality, and a good measure of both when to open windows and for how long to keep windows open.

For my apartment, I was surprised that the amount of time I needed to keep the windows open was 5x longer than what I initially assumed (I assumed 5 mins would be enough. Data shows that I need about 25 mins to get CO2 levels down to around 500ppm). I was also surprised to see how much more rapidly CO2 builds up when I have just 2 additional people at home.

[0] https://www.airthings.com/view-plus

dilippkumar··on Do literally anything
> Seems like a startup mentality to me.

Good insight :) I'll leave it at that.

Indeed, it started with the Eisenhower Matrix, but the problem for us was that everything is Urgent in some sense. Things that aren't urgent don't usually make it to the top of our list.

On the other hand, we needed a mechanism to track things that we couldn't actually make forward progress on, despite it being urgent. These are the "Not actionable" items - usually because they're blocked on something else.

The final point I'll make is that the most valuable part in this exercise is actually reaching consensus on what quadrant to put an item in. It's superb at getting alignment.

dilippkumar··on Pacing: the most important skill in startup engineering leadership
Just want to point out how nice it is to read justified text. It absolutely makes a huge difference.
dilippkumar··on Do literally anything
Over the past several months, we have converged on a set of slides that we fill out at the start of a week.

Slide 1: To do list.

Slide 2: <Fill items from the todo list into this 2x2 matrix>

    |                | Not important | Important now |
    |                | now           |               |
    |----------------|---------------|---------------|                 
    | Not actionable |               |               |
    | now            |               |               |
    |----------------|---------------|---------------|
    | Actionable now |               |               |
    |----------------|---------------|---------------|
Slide 3: We pick the most important of the important now/actionable now quadrant and break that down into action items.

Over time, this has proven to be incredibly powerful at focusing us on the things that matter while not losing track of how everything else are evolving.

dilippkumar··on Apple confirms it's breaking iPhone web apps in the EU on purpose
There have been several comments along the lines of: "Why should I trust apple and their security, but not that of a third-party web browser?"

I don't have an answer for you. But I want to recommend this talk from 7 years ago: https://www.youtube.com/watch?v=BLGFriOKz6U

That alone convinced me. Apple knows what it is doing when it comes to device security. Today, I trust them with my most sensitive data and sleep peacefully at night.

dilippkumar··on Ask HN: I am the software guy and marketing is hell for me
I can offer a reading list. Hope this helps.

1. The Mom test - Rob Fitzpatrick

2. Never eat alone - Keith Ferrazzi

3. The Tim Ferriss podcast - Episode #717 with Noah Kagan

4. Crossing the chasm - Geoffrey Moore

5. Competing Against Luck - Clayton M. Christensen

dilippkumar··on Ask HN: Does anyone care about OpenPOWER?
IBM is currently shipping Power10 while Raptor ships Power9 in the Talos II. If I understand correctly, they had issues getting to a fully open source firmware solution for a Talos III with a Power10 in it.

This actually made me hold off on spending $10k on a computer that's last-generation technology. I suspect I'm not alone - a lot of interest in OpenPOWER is probably waiting for Power11 and Talos III or whatever permutation that can ship a real product that isn't 5+ years old.

dilippkumar··on Netflix: Piracy is difficult to compete against and growing rapidly
It was already available on a public torrent and therefore this additional torrent on a public torrent site changes nothing.

Previously you weren't getting any revenue from torrents. Now you're monetizing a fraction of the population that likes to torrent but wants to not feel guilty about doing so.

dilippkumar··on Gödel, Escher, Bach is the most influential book in my life (2022)
> If you're waiting for either GEB or Ulysses to hurry up and get to the mother fucking point, you're going to be waiting a long time.

Ok, for us the lazy, what is mother fucking the point of GEB? A single HN karma point from me is on offer for the honest answers.

dilippkumar··on Netflix: Piracy is difficult to compete against and growing rapidly
I'll bite - people torrent because they have no other options. People will pay for content if they're able to access content after paying. So, here's my offer:

I will build a torrent streaming site where the torrent file costs some reasonable amount of $$ per download, for fully licensed content, with zero DMA protections.

If you have IP that you are willing to share on this torrent site, I will take 10% of revenue after subtracting costs, you get the remaining.

My email is on my HN profile. If you own IP and are interested in licensing it this way - shoot me a mail. I need a minimum amount of interest from IP holders before I put in any real work building this.

Your move, Hollywood.

dilippkumar··on Emergency-hired teachers without degrees as effective as licensed educators
This is extremely meme worthy material. Would you mind sharing the source?
dilippkumar··on John Lasseter drew the BSD daemon logo
I run OpenBSD on my laptop. I love it, but I would recommend that beginners read some warnings on the label.

First, you will not have bluetooth. Second, it is slow in ways that will matter. As in, you will feel it, but not be annoyed by it (Especially with a web browser). Third, KDE plasma support is a work in progress (read: most people do not get KDE plasma on an OpenBSD installation today, although it won't stay like this forever).

With these disclaimers out of the way, I can heartily encourage it. I love having an operating system that I can trust. Things work, things are well doccumented and things are very very clean.

dilippkumar··on Generalized K-Means Clustering
Not GP, but I understood their question as follows.

Assume you collect some kindergartners and top NBA players into a room and collect their heights. Now say you pass these to two hapless grad students and ask them to perform K-means clustering.

Suppose one of the grad students knew the composition of the people you measured and can guess these height should clump into 2 nice clusters. The other student who doesn't know the composition of the class - what should they guess K to be?

I understood the GP's comment to refer to the state of the second grad student. How useful is K-means clustering without knowing K in advance?

dilippkumar··on Pushing It Back
This doesn’t fit into the rest of the discussion above, but the Malazan series absolutely blew me away with a subplot (!!) about ancient hominids making epic sacrifices to allow modern humans to exist.

This is (a) set in a fantasy world (b) has zero bearing in any real archeological or anthropological evidence and (c) is meant to be entertaining fiction more than an investigation into how early hominids might have lived. And yes, there are lots of magic and dragons involved.

However, the creators of this world were field archaeologists and anthropologists and their instincts for telling stories spanning evolutionary time scales is absolutely unrivaled.

dilippkumar··on Ferret: A Multimodal Large Language Model
Some of the modalities in multimodal are non-linguistic. For example, image or video input. In those cases, is it still a language model?
dilippkumar··on Google is apparently struggling to contain an ongoing spam attack
+1 for Kagi.

But also, for the past few months, I’ve completely stopped searching the internet. ChatGPT-4 does the job way more effectively and I don’t see why I would go back to searching the internet (assuming the chatgpt experience doesn’t get nerfed in some way).

dilippkumar··on Granting pardon for the offense of simple possession of or use of marijuana
As an immigrant, this stood out to me:

> ... I, Joseph R. Biden Jr., do hereby grant a full, complete, and unconditional pardon to all current United States citizens and lawful permanent residents who ...

> ... This pardon does not apply to individuals who were non-citizens not lawfully present in the United States at the time of their offense.

In the first of the above, it specifically states that it applies to citizens and lawful permanent residents. In the second, it says it does not apply to people who didn't have valid immigration status.

So, what happens to someone who had a valid immigration status, but was not a lawful permanent resident? For example, someone on a student or a tourist visa?

Can anyone with legal expertise shed some light on how such things are usually resolved? My naive expectation would be that it still would only apply to citizens and lawful permanent residents. But then, why specifically call out that it doesn't apply to this specific group out of many other groups that aren't covered under "citizens or lawful permanent residents"?

dilippkumar··on Ask HN: How to figure out a good direction/goals for the year ahead?
At the end of 2015, I started writing down what I wanted to achieve in the upcoming year in a spreadsheet every December and began reviewing the previous year’s spreadsheets in 2016.

Over time, I’ve learned that my success rate at achieving big important items within one or two years is negligibly low, but over a 3-4 year span, it’s higher than what intuition would suggest.

The interesting consequence for me has been having to pick the big items carefully - if it’s going to happen over the next 4 years and by then it doesn’t matter as much, it’s not really worth it.

Thinking long term is really hard. I suck at predicting what I would want 5 years from now. I’ve resorted to using a heuristic of “Will this matter irrespective of when I can get there?” as a substitute.

For example, wanting to live closer to my parents and spending more time with them seems like a better pick than wanting to learn how to train an LLM from scratch.

dilippkumar··on FTC authorizes compulsory process for AI-related products and services
It doesn’t even have to be software.

This camera tracking a goldfish to pick stocks is AI by this definition:

https://youtu.be/USKD3vPD6ZA

Update: A coin toss meets this definition.

dilippkumar··on De-crufted Windows 11 coming to Europe soon
> Suppose you are buying a new laptop ... does anyone else feel sad that their operating system has effectively turned into some weird social media marketing tracking data harvesting hybrid of a thing?

I purchased a thinkpad without any operating system on it and installed openBSD. I would not recommend this to someone coming from Windows land, but once you’ve been around the linux side for a while, you should come check openBSD out. It’s really really nice.

dilippkumar··on Ask HN: Is (n)vim worth the trouble?
nvim is worth the investment if your answer to any of the following questions is yes:

1. Do you work on really large codebases every day?

2. Do you type as fast as you can think and frequently need to wait for the UI to catch up with what you just typed?

3. Do you have a large codebase sitting on a remote computer?

4. Do you have to ssh into random computers or embedded devices and quickly edit or modify something inside?

For me, the answer to all 4 questions is yes, I’ve been using neovim and vim before that for most of my career. I can strongly recommend it.

dilippkumar··on The Great Sphinx of Giza may have have started out as a natural formation
> and that therefore wink and nudge something something aliens.

You had me till this.

The conspiracy theorists actually make very good points. They’ve been vindicated by discoveries at Gobekli Tepi and others that basically demolish the strongest argument the Egyptologists had against a significantly older Sphinx - that no other megalithic structure had been found till then.

This is one of those situations where the conspiracy theorists make a far more convincing argument than mainstream, and entertainingly, all the recent discoveries in archeology have only strengthened the positions of the conspiracy theorists.

I would look at them again with fresh eyes. The younger dryas impact hypothesis looks especially convincing.

dilippkumar··on The Cloud Computer
As a long time follower from the first "On the metal" podcast and as someone who has been cheering for you silently from the sidelines - Congratulations!

You all have arrived. Wishing you decades of prosperity and good fortune.

dilippkumar··on Was Rust Worth It?
> After two decades of JavaScript and decent experience with Go, this is the most significant source of frustration and friction with Rust. It’s not an insurmountable problem, but you must always be ready to deal with the async monster when it rears its head. In other languages, async is almost invisible.

I am a former C and C++ programmer who lived calling into pthread almost every week for a decade. I use async rust everywhere now.

I don’t get the hate that async gets. In my opinion, everyone should be using async for everything. Including stuff that’s seemingly single threaded “simple” stuff.

← PreviousPage 2 of 15Next →