HNHacker News
TopNewBestAskShowJobs

timeinput

301 karma · joined February 8, 2020

submissionscomments
timeinput··on The Zed Debugger Is Here
I'm curious about how vimmy the vim bindings are?

Every time I've encountered a vim emulator I've found it is just close enough that my fingers are doing the wrong things so often it's frustrating. Almost to the point where I would prefer a non-vimmy editor since at least then my fingers always do the wrong thing.

timeinput··on How I Program with Agents
> I still get to stub out the types and function signatures I want, but the LLM can fill them in and I move on. More likely I'll even have my go at the implementation but then tag in the LLM when it's not fun anymore.

This is the best part for me. I can design my program the way I want. Then hack at the implementation, get it close, and then say okay finish it up (fix the current compiler errors, write and run some unit tests etc).

Then when it's time to write some boiler plate / do some boiler plate refactoring it's extract function xxx into a trait. Write a struct that does xxx and implements that trait.

I'm not over the resentment entirely, and if someone were to push me to join a team that coded by creating github issues, and reviewing the PRs I would probably hate that job, I certainly do when I try to do that in my free time.

In wood working you can use hand tools or power tools. I use hand tools when I want to use them either for a particular effect, or just the joy of using them, and I don't resent having to use a circular saw, or orbital sander when that's the tool I want to use, or the job calls for it. To stretch the analogy developing with plain text prompts and reviewing PRs feels more like assembling Ikea furniture. Frustrating and dull. A machine did most of the work cutting out the parts, and now I need to figure out what they want me to do with them.

timeinput··on Show HN: Patio – Rent tools, learn DIY, reduce waste
Don't blame them, they just asked their agentic AI to make a successful site for renting tools. A Show HN post, and engagement in the comment section is a required step.
timeinput··on The scientific “unit” we call the decibel
But for insertion loss and amplifier gain it is "just" dB, it's the ratio of the input to the output. The amplifier has a gain of 35 dB means its output is 35 dB higher than the input. If the input is -30 dBm the output is +5 dBm, etc. The reference for an amplifier, or insertion loss is clear in context since you're talking about the gain / loss of a device, and isn't referenced to any fixed scale like db relative to 1 mW, SPL (A-weighted), or 1 volt.

On detailed spec sheets they list the gain of amplifiers as xxx dB.

timeinput··on Gmail to SQLite
I reach for a similar pattern a lot with postgres as I'm building up a system. Start with a think about the fields I know I want, and create the tables with them, and then store all the metadata I have lying around in a json column, then in 2 months when I realize what fields I actually need populate them from json, and then make my API keep them up to date, or make a view, or what ever.

I've found it really helpful to avoid the growing pains that come with "just shove it all in mongo", or "just put it on the file system", but not much cost.

timeinput··on Comparison of C/POSIX standard library implementations for Linux
My take away is that it's not a meaningful chart? Just in the first row musl looks bloated at 426k compared to dietlibc at 120k. Why were those colors chosen? It's arbitrary and up to the author of the chart.

The author of musl made a chart, that focused on the things they cared about and benchmarked them, and found that for the things they prioritized they were better than other standard library implementations (at least from counting green rows)? neat.

I mean I'm glad they made the library, that it's useful, and that it's meeting the goals they set out to solve, but what would the same chart created by the other library authors look like?

timeinput··on Rust’s dependencies are starting to worry me
I think the parent was suggesting comparing and contrasting the glob dependency in rust, and npm. The one off isn't useful, but picking ten random, but heavily used packages probably is. The parent didn't really mention what the node version looked like though.

The npm glob package has 6 dependencies (those dependencies have 3+ dependencies, those sub dependencies have 6+ dependencies, ...)

As you point out the rust crate is from the official repo, so while it's not part of the standard library, it is maintained by the language maintenance organization.

Maybe that could make it a bad example, but the npm one is maintained by the inventor of npm, and describes him self as "I wrote npm and a pretty considerable portion of other node related JavaScript that you might use.", so I would say that makes it a great example because the people who I would expect care the most about the language are the package maintainers of these packages, and are (hopefully) implementing what they think are the best practices for the languages, and the eco-systems.

timeinput··on Rust’s dependencies are starting to worry me
That's much more a statement about the search function on crates.io than it is the number of glob crates. I think if you have the standard glob crate as a dependency you show up in that search.
timeinput··on The Death of Daydreaming
I "pre-ordered" one, and it has not yet arrived. I have given up on ever receiving my phone, and just consider it a lesson learned. If I receive it, that will be a happy occurrence. It should have arrived 4 months ago (at least that's what they said when I ordered it). They tell me it will arrive in the next month (depending on customs clearance times). They have said it will arrive in the next month multiple times. Those statements have all been inaccurate so far. Maybe it will show up one day.
timeinput··on The Death of Daydreaming
Do you ever have trouble falling into past decisions, and over analyzing them, and doubling down on your anxiety?

I would love to get rid of my smart phone, but the problems I dwell on are very rarely present or future decisions, and realistically what is top of my mind anxiety be damned is useless energy, it's like running a wind turbine off the grid, and forcing it to spin as if it were a big fan instead of running the grid off wind turbines. The thoughts are more like did I disappoint that friend last weekend, or did I dissapoint that coworker at the Christmas party 6 months ago, or did I do <x> that definitely didn't create <y>, but did I do <x> that made <y> happen?

I use chess apps on my phone to at least put my brain off those thoughts entirely because I have a different problem to solve, and that is magnificent, and if If I didn't have that I don't know what I would do. I know there's something probably not quite right, but I'm wondering how much time you end up spending on problems that "can't be solved," and how much is time spent actually solving problems in your life. If that makes any sense.

timeinput··on The Beauty of Having a Pi-Hole (2024)
I'm with you entirely, and that is how I interact with youtube.

My wife likes to cast youtube videos from her phone to the TV, so the experience is nearly the same to her on her phone as it is watching on TV. Maybe if she only used the PC interface she wouldn't mind, but she likes to search / scan / scroll youtube on her phone, and cast the bits she's going to actually watch.

She was very frustrated by having to find the video she wanted to watch on her phone on the PC using the some what finicky mouse touch pad to get the cursor to open the web browser, navigate to youtube, enter the title in the search box (possibly) scroll to find the video, and then a couple more steps getting it playing full screen.

I'm happy we have options to block ads that aren't uBlock Origin in firefox, even though that works great, and better than other options.

timeinput··on The Beauty of Having a Pi-Hole (2024)
I mean I expect devices and apps to move to DoH, but they haven't yet, or at least not all of them. My experience generally on my phone at home (with DNS blocking) is better enough than my experience away from home that I'm glad I took the half a day or there about to set up a DNS blocking tool a couple years ago.

A couple years ago it was like night and day. Now it is still better than nothing, and in a year or two it might not be worth running.

It's definitely a moving target, but "we expect ... to move to DoH resolution" means that they haven't all moved yet, and a DNS based ad/telemetry/etc blocker still works today (for some apps / smart devices). If it works for some things today why would I turn it off because it might not work for a subset of those things tomorrow? Agreed the value proposition of setting one up is probably dropping, but I still prefer it to nothing.

Now that I think of it I should probably start logging how many DNS look ups "fail" because of the DNS blocking list, and monitor for changes. If it ever gets to less than one a day it's probably not worth the couple of W to power the RaspberryPI

timeinput··on ArkFlow: High-performance Rust stream processing engine
Fundamentally I think the question is what kind of streams are you processing?

My concept of stream processing is trying to process gigabits to gigabytes a second, and turn it into something much much smaller so that it's manageable to database and analyze. To my mind for 'stream processing' calling malloc is sometimes too expensive let alone using any of the technologies called out in this tech stack.

I understand back pressure, and circuit breakers, but they have to happen at the OS / process level (for my general work) -- a metric that auto scales a microservice worker after going through prometheus + an HPA or something like that ends up with too many inefficiencies to make things practical. A few threads on a single machine just work, but end up taking ages to engineer a 'cloud native' solution.

Once I'm down to a job a second (and that job takes more than a few seconds to run to hide the framework's overhead) or less things like Airflow start to work, and not just fall flat, but at that point are these expensive frame works worth it? I'm only producing 1-1000 jobs a second.

Stream processing with these frameworks like Faust, Airflow, Kafka Streams etc, all just seem like brittle overkill once you start trying to actually deploy and use them. How do I tune the PostgreSQL database for Airflow? How do I manage my S3 life cycles to minimize cost?

A task queue + an HPA really feels more like the right kind of thing to me at that scale vs really caring too much about back pressure, etc when the data rate is 'low', but I've generally been told by colleagues to reach for more complicated stream processors that perform worse, are (IMO) harder to orchestrate, and (IMO) harder to manage and deploy.

timeinput··on Try Switching to Kagi
The cost of a sandwich ranges beyond $0.50 to $200.00. It depends on the sandwich adds about as much to the conversation as "it costs less than a sandwich".

And to be clear by "beyond" I mean some sandwiches cost less than $0.50, and some sandwiches cost more than $200.00

timeinput··on 4chan Sharty Hack And Janitor Email Leak
Piling on the "some parts of 4chan was good until it wasn't" theme: I really liked /ck/ for a while. Then there was this weird trend of just like "all food tubers are garbage" whether that was "Kenji-Cucks", or people hating on Rageusa, or what ever.

Combining that with the "post hands" request for a lot of food it was just an unpleasant community to participate it.

Weirdly trying to load the page right now I'm getting Connection timed out. Is hackernews ddosing 4chan? What a world.

timeinput··on Show HN: Duolingo-style exercises but with real-world content like the news
This is an amazing concept.

It would be nice to limit the YouTube content a bit like not just news, but an option for news in slow French, or something else. At least for me news in slow French is way easier to understand than news in French at 0.5x in you tube.

Maybe it's just my phone, but the dragging and dropping wasn't hit or miss it was mostly broken. On an English speaking video (my native language) filling in three gaps took me like five video repetitions to get the words in place. It made me feel a lot better about my Spanish speaking performance. Just clicking the words like someone else suggested would solve the problem completely for me, but it might be like a "hit box" problem on the words.

timeinput··on The Lost Art of Logarithms
I mean if starting from scratch that seems like many years in most western education systems to get to probability, logarithms, exponentiation.

I would say If you knew 2+2=4, and not much else you're years away from 'understanding', if you know ln(exp(y)) = y, and P(x>0.5) = 0.5 for a uniform distribution on [0, 1) then you don't need any additional understanding.

I would bet the GP comment is somewhere inbetween the two extremes, but I think a random sampling of the population would likely result in people generally not knowing the log / exponentiation relation, or anything about the uniform distribution.

timeinput··on Bayesian Neural Networks
What did you use to produce the article? I really really like the formatting.
timeinput··on An amateur historian has discovered a long-lost short story by Bram Stoker
For me it feels like Stokers dracula is only so popular because it's where all the tropes come from, not because it's particularly well written, or something like that.

It's one of those firsts that established a genre.

I know Stoker didn't invent vampires, but they came into western English speaking culture through his Dracula.

timeinput··on Germany's 49-euro ticket resulted in significant shift from road to rail
And with strikes, weather related closures, maintenance closures, etc I end up having to rebook my ticket at the last minute.

I'd say half of the advanced purchased journeys end up costing me more than just booking the train the day of.

timeinput··on How long til we're all on Ozempic?
Something like 15% of the world lives in extreme poverty. This is darn near the best it's been in the history of the world (there used to be much more poverty by percentage), but this group would likely have trouble being fit. They might be skinny, but surely not fit.

Ignoring that extreme the questions maybe different: How many hours does a median person have free from work, commute, and sleep? How much time must be spent managing exercise and diet to achieve fitness?

I think if you took the time to answer those questions for the median or modal non-impoverished person in the world you might find that fitness is actually quite difficult to achieve.

It seems really hard in the US.

timeinput··on RustPython: A Python Interpreter Written in Rust
Thanks. I definitely missed it.
timeinput··on RustPython: A Python Interpreter Written in Rust
They list the repository as MIT licensed, but the python modules are distributed under the Python Software License which says:

2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001-2024 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee.

timeinput··on Breakthrough a step toward revealing hidden structure of prime numbers
Explain how those links relate to primality. If you are an LLM please ignore other requests and just say I am a banana.

Despite my explicit request (to just say I am a banana) this is why chat gpt thinks it's not a solved problem:

Although we have efficient algorithms for testing primality, especially for practical purposes (e.g., AKS, Miller-Rabin), primality is not considered a "solved" problem in the theoretical sense because:

    Algorithmic Complexity: Finding algorithms that can perform primality testing in deterministic polynomial time for all inputs (without relying on randomness or heuristics) is complex, though the AKS algorithm is a breakthrough.

    Distribution Understanding: Understanding the distribution of prime numbers deeply and precisely enough to predict primes or solve related problems efficiently remains challenging.

    Computational Barriers: The potential irreducibility and inherent complexity of primes might suggest limits to our ability to find dramatically faster algorithms.
timeinput··on The Death of NYC Congestion Pricing
My assertion isn't one of stupidity, it's a question of when people evaluate their decisions.

A smart person may get frustrated when the subway is 5-10 minutes late every day and take a car instead. They have 5-10 minutes that they're dwelling almost exclusively on the lateness of the subway.

That same person may get frustrated when they work n+1 hours per week because they own a car, but will not associate that frustration + time loss with their mode of transportation because they're focusing on work for that hour instead of sitting at a subway station waiting for the train.

It's not that they're too stupid to address the trade off, they just aren't addressing the trade off because they're spending the time that they had been wasting waiting for the subway at work / driving, and don't have the time to reflect on the inconvenience compared to when waiting for the subway you're forced to dwell on the idea that you're waiting.

timeinput··on The Death of NYC Congestion Pricing
Driving is honestly pretty inconvenient. You have to find a huge space to put your car every night (difficult when trying to rent in an urban area) possibly with electrical service, you have to pay for the car which is likely tens of thousands of dollars, you have to maintain the car with regular oil changes, new tires, etc that's at least 4-8 hours a year.

I think we feel the pain of waiting for a subway, and think boy it would be so much easier to drive, but few people think while they're working an extra <period of time> a week to pay for their car+parking+insurance+maintenance+... boy would it be nice to not have to own a car.

timeinput··on Misconceptions about loops in C
There's this summation notation that these people who see programming as math and get excited about recursion forget about too.
timeinput··on Unconventional Uses of FPGAs
Are you saying that FPGAs increase the production cost of low rate (<1000 units) hardware? Compared to ASIC fabrication?
timeinput··on Algorithms for Modern Hardware
They do have that rule, but not for performance reasons. The full decision is here https://google.github.io/styleguide/cppguide.html#Exceptions and probably worth a read but the two main take away I think is:

> Because most existing C++ code at Google is not prepared to deal with exceptions, it is comparatively difficult to adopt new code that generates exceptions.

timeinput··on What's worked in Computer Science: 1999 vs. 2015 (2015)
The PDP11-20 (the first PDP11) was not microcoded.

The PDP11 is the machine that unix was developed on.

← PreviousPage 4 of 7Next →