HNHacker News
TopNewBestAskShowJobs

Timpy

2,184 karma · joined June 4, 2018

submissionscomments
Timpy··on Turning my hobby into a business made me hate it
I read a comment on hacker news that I cannot find now, but it resonated deeply with me. Don't try to answer the question "what do you want to be?", answer the question "what do you want to do?"

I answered the wrong question, I said "I want to be a musician". And what I did was teach music I didn't care for, perform music I didn't care for, work for people and gigs I didn't care for, made a salary I didn't care for. I had high skills and expertise that wasn't being used; I was never paid for playing one of Bach's lute suites, I made a lot of money off of really simple wedding music.

What do I want to do? Play music that I'm passionate about. Make enough money to not be uncomfortable. Work in a field where expertise and knowledge is useful on a regular basis. I'm very happy now to pick up gigs for free because I like the gig. And as a side gig, I'm a full time programmer.

Timpy··on Unexpected downsides of UUID keys in PostgreSQL
Wow I really love that idea. Next time I get stuck on a fix tinkering with my setup I'm going to check this out.
Timpy··on Unexpected downsides of UUID keys in PostgreSQL
For me, the visual noise is a downside for UUIDs. A lot of time investigating data issues means glancing at query results and deciding if something looks unexpected. I just can't parse a UUID with my eyes that quick. I've come up against this at my current job a little too often and I'm cursing the decision to switch to UUIDs. I know, it's a balancing act of competing concerns. But for us moving to UUIDs was future proofing for a problem that never arose, and the senior dev who made us switch left the company a few years ago. I just don't like the dev experience of UUIDs in a world where you do have to get hands (and eyes) on the data all the time.
Timpy··on Major Reddit communities will go dark to protest threat to third-party apps
Thank you, this is the first explanation I've heard that clicked with me.
Timpy··on Major Reddit communities will go dark to protest threat to third-party apps
If I understand this correctly, these third party apps are drawing tons of ad money away from Reddit while at the same time increasing their hosting costs and dev costs for maintaining the API, right? How is this not a win-win for Reddit? They lower the traffic that was costing them money. I know it's user-hostile and that's the crux of the complaints, but it seems a little naive that these communities are basically boycotting and asking "keeping wasting a lot of money so we can hang out here for free". Am I missing something?
Timpy··on How much of AI's recent success is due to the Forer Effect?
I had the same experience, I was worried and now that I've used the tools I sleep easier. But I still worry that these tools will improve dramatically and quickly. Somebody tell me I don't have to worry, please.
Timpy··on The Prime Video microservices to monolith story
I agree that "easy to debug" is subjective. But it's insanity to act like that doesn't mean that some architectures are objectively easier to debug than others. How can splitting something up into different services and introducing network calls make it easier? You're not reducing complexity at all. It makes debugging harder.
Timpy··on New C features in GCC 13
Isn't auto already a keyword for specifying scope? I know it's never used and kind of redundant, but something like `auto x = foo(y);` is a terrible direction for C. Type being abundantly clear at all times is a huge feature.
Timpy··on So you've installed `fzf` – now what?
> For Alt+C, are peoples’ file and directory layouts such a mess that they need to search entire directory trees to find what they’re looking for?

Have you ever joined a new project? Usually they're both messy and you don't know where anything is.

Besides, even now with plenty of familiarity in my current legacy code base I can use fzf to type filenames or directories without typing the full path.

Ctrl+R is great for those repeat commands in your shell history that you want to use right now but don't want to add to your .bashrc, like repeatedly running a script with some arguments. I think the value of searching your history is self evident.

Timpy··on Leaving China
I'm not sure how that's relevant, a quick look on Wikipedia and they are number 1 in Asia in terms of democracy index, number 10 worldwide.

https://en.wikipedia.org/wiki/Democracy_Index

Timpy··on Bing: “I will not harm you unless you harm me first”
I don't have reason to believe this is more than just an algorithm that can create convincing AI text. It's still unsettling though, and maybe we should train a Chat GPT that isn't allowed to read Asimov or anything existential. Just strip out all the Sci-fi and Russian literature and try again.
Timpy··on The “Build Your Own Redis” Book Is Completed
I saw this "Build Your Own Text Editor"[0] on HN a month or two ago, everyone was raving about it so I went through it and it really was fantastic. The learning experience was unparalleled. I'm a believer in the idea of "Build Your Own..." guides now, I hope this Redis guide is just as good as the kilo text editor. I'm definitely bookmarking this for a deep dive when the time is right. Any other top notch "Build Your Own" recommendations would be highly appreciated.

[0] https://viewsourcecode.org/snaptoken/kilo/

Timpy··on Show HN: A simple world flags game, my first web dev project as a beginner
I'm on a Macbook/Firefox with my resolution scaled up a bit and I didn't realize the answers were being displayed at all until I zoomed the page to 80%. Scrolling does not work. I did about 20 of them wondering when a results page would appear. Very fun and addicting project.
Timpy··on Ask HN: What is your favorite Tech Podcasts these days?
I listened to quite a bit of Darknet Diaries back in 2018 but he had a few episodes that were such complete misses for me that I hopped off the train. The episode about trying to get to the top of Apple's podcast charts wore my patience, but a few episodes later the content was padded out with getting up to date on some Youtuber drama or something? I figured it was just hard to keep finding content for this niche. Should I give it another chance? There's 100+ more episodes now than the lats time I looked.
Timpy··on ChatGPT: How many letters has the string “djsjcnnrjfkalcr”?
I know this one, the last letter is the non printing character '\0'. I just spent December crash coursing my way through C.
Timpy··on Alpha. Bravo. Cyrillic
Chinese pinyin isn't meant to be read as an alphabet though, it's just a different set of information that isn't explicitly available in the ideogram. At least as a foreign language learner, it's not possible to reliably identify initial, final, and tone from the Hanzi alone (although certain patterns do emerge).

Transliterating Kazakhstani Cyrillic to a Latin alphabet won't change the underlying information available in the characters, it will only change the way the characters are being presented. No detail lost.

That being said, I am wistful of the change.

Timpy··on JSON Hero: Enhanced JSON structure visualization
I get a lot of useful information from reading raw URLs, the exact thing they're advertising here is the thing I hate most about Jira. I even wrote a chrome extension that prevents Jira from loading smart links because I hate it so much. I can't imagine ever wanting a YouTube video preview while I'm skimming JSON data.
Timpy··on The positive effect of walking on creative thinking (2014) [pdf]
I'm in a similar boat, I find even a 10 minute walk with no phone in my pocket can help the things I've been studying coalesce into understanding.
Timpy··on Egg whites can be transformed into a material capable of filtering microplastics
I'm really confused by this, I tried finding some videos online but it looks like they're all just mixing egg whites into their wine. How do you get the egg out of the wine?
Timpy··on Bashing new myths about digital nomads
I'm abroad right now working remotely, I've had nothing but extremely positive interactions with the culture here and it's about as distant as two cultures can get. The crusades are over, I can't say I've met a ton of other digital nomads but I never got the impression anyone is going around destroying communities they're visiting. Learning more about and experiencing other cultures has deeply enriched my life, I do my best to be a good guest in the country and a lot of people seem interested in learning more about life where I'm from too. I know my argument is anecdotal here, but at least anecdotes are better than your wild and unfounded speculation.
Timpy··on Gmail 2FA causes the homeless to permanently lose access 3 times a year
I thought I got everything moved over to an authenticator app before leaving home but I forgot one, I got a "check your phone for verification SMS" earlier today. My American SIM could get the text but my foreign sim was giving my laptop internet access. Big pain in the ass.
Timpy··on Build your fanbase using the K-pop method
As I was reading the article I was thinking the same thing. This is just the most recently evolved version, now including things like social media and online communities. It was still an interesting analysis to read. I wonder how the numbers compare for the biggest boybands of 2002, 2012, and 2022.
Timpy··on US Government plans to develop AI that can unmask anonymous writers
Isn't that how communication works? Understanding your audience and "appealing" to them does improve comprehension for them.
Timpy··on Character.ai
I guess that would be Artificial Artificial Intelligence then?
Timpy··on ButtFish – Transmit Morse Code of chess moves to your butt
I don't think this needs to be a programming problem. If you have a team of coconspirators watching the game live from another location you can manually turn the vibrator on and off remotely. It's not like Sockfish where the player had to relay game state before getting the next move. You don't even need to use Stockfish, you could use any game engine.
Timpy··on Learning Is Remembering
Curiosity got to me and I finally tried the GitHub Copilot free trial. My conclusion is that it's good for that stuff I would have googled, like "I can't remember, how do I get the date again?" or "Is it array.count() or count(array)?" Instead of typing it in Google I just type it in a comment. It's like having google in the IDE.
Timpy··on TLDR explains what a piece of code does
Fortunately for me, at my current job I don't see a lot of code that makes me say "what the hell is this even trying to do?" The most useful comments are the ones explaining limitations and why this implementation was chosen, or business rules that wouldn't be apparent in the code.
Timpy··on I’m a productive programmer with a memory of a fruit fly
I have been using post-it notes and a pen on my desk lately and it feels like virtual ram for my brain. Instead of holding X variables in my head I can hold X+5 or whatever fits on the post-it note. The ephemeral nature and small footprint makes it easy to scratch out brain-exstension-only notes without being tempted to start making a reference document like I would in a notebook. The note is extremely valuable to me for its lifetime, and a day later I'll glance at it, say "I have no idea what this means," and toss it.
Timpy··on SQLite: Past, Present, and Future
Isn't that what a parameterized query does? It separates the sql logic from the inputs so it can cache the query and then it accepts inputs separately. Safer and more optimal at the same time, the engine doesn't have to re-optimize the same query again for the life of the connection. If my understanding is wrong somebody please correct me, it's kind of hard to get good information on what's going on under the hood with these things.
Timpy··on BlueJ – A Lightweight Java IDE
I learned on Java and I really feel like it slowed me down in some fundamentals of programming logic. Books were raving about garbage collection, JVM, "everything is an object"; I had no idea what any of that meant or why it would make Java "superior". Boilerplate like `public static void main(String[] args)` got me into the habit of ignoring things I didn't understand. The netbeans IDE was doing a lot of great quality-of-life stuff like handling imports for me and as a consequence I had a very poor understanding of how any of that worked. When you don't know how to write a for-loop yet things like accessor methods, pointers, or encapsulation are going to go way over your head.
← PreviousPage 2 of 14Next →