Better HN
topnewbestaskshowjobs
Log inSign up

hakunin

2,515 karma · joined Mar 4, 2010 (16y ago) · 549 submissions

https://max.engineer, mastodon:ruby.social/@maxim, x.com/hakunin, bsky.app/profile/max.engineer

meet.hn/city/43.1009031,-75.2326641/City-of-Utica

---

Submissions

comment 1y ago · link · parent

Solution: update to Sequoia 15.6 (which comes with Safari 18.6) and it works.

comment 1y ago · link · parent

Weird, it's installed but it won't let me enable it in Safari. The "enable" checkbox is inactive. Safari 18.5 on MacOS Sequoia 15.5. Restarting the browser, and reinstalling the extension has no effect.

comment 1y ago · link · parent

My entire (decades) career I worked primarily in small start up teams, and even when people didn't see eye to eye, they always maintained these kinds of basic practices. I think a lot of disagreement on these expectations is rooted in the size and "tight-knit"ness of your team.

comment 1y ago · link · parent

I can think of reasons for this (e.g. storing date/time as it was originally represented 100, 1000 years ago in a historical context vs storing live time for present-day time calculations vs storing non-timezone time for, say, operating hours relative to subject's location), so this statement alone doesn't show fault.

comment 1y ago · link · parent

Good old cucumber. I remember a discussion over coffee with someone who swore by it back in the day (~2010). They forced customers to sit down and write these things together side by side. Kind of cringe in retrospect. Wonder what happened to them.

Business people don't really care about this stuff. Over the years I realize more and more that we engineers are naive in thinking that business side is concerned with edge cases and race conditions.

Just to give an analogy software people might get better, if you come to a lawyer because, say, you want to buy a house, you are not going to sit down with them and say "given I want to buy a house, when the seller hides water damage costing over $2000, I get to walk away from the deal". You just hope the lawyer is good and will protect you from various edge cases. You have a lot more to deal with than just closing paperwork. You probably are thinking about renovating, moving, getting inspection, etc.

Businesses are just like that with engineering. They don't want to sit down and meticulously analyze every possible edge case. They have other things to do. Especially when stakes are not that high. Most of these errors can probably be resolved with a phone call and a database edit.

I think this is probably for the best. A good engineer will make sure you're standing on a solid ground, and ask the right questions at the right time. They wouldn't need this amount of hand holding. Leave business time to focus on making deals, connections, organizing the whole operation to move forward, etc. Let them give you vague requirements, and crystallize them yourself. It's way better than a micro-managing business that thinks they know exactly how everything should be.

P.S. Also, I'm not sure why everyone is so hung up on regex = bad, it's not like switching to an AST-based language would've made anything better here. Regex is fine imo, just the entire concept isn't.

comment 1y ago · link · parent

This can apply to anything. Why care about how well a shovel is built if all you care about is a hole in the ground. Why care about the quality of the hole in the ground if all you need is laying foundation that can hold a house… Why care about a neat kitchen, if all you care about is a cooked dish. At every layer there are multiple sets of end users. Code is used by programmers and businesses as the source of truth and automation. Just like shovels are used by people who dig with them, not just customers who need holes.

If your point is nobody will ever need to read the code, there's a reason why truly self-driving cars aren't happening yet. We will need human intervention as a failsafe, probably for a while. And humans have been known to care deeply about way lesser things than reducing friction for handling a failure contingency.

comment 1y ago · link · parent

It's not about solving puzzles for us, craft-focused developers. It's about caring about the clarity of our writing, for the same reason a writer wouldn't want an AI agent writing their book.

comment 1y ago · link · parent

Sounds very interesting, and at first I thought maybe you're an outlier, but the more I read people mention "solving puzzles", the more I notice a more fundamental difference in enjoying programming. For me it's not solving puzzles, but rather finding elegant/eloquent expression of something complex (feel like I'm more of a writer than an engineer). That's what makes me tick: clear code that can itself serve as a primary source of knowledge of how a business functions. If I work with an AI agent, I become an editor rather than a writer — a very different job.

comment 1y ago · link · parent

I guess there are some who would've enjoyed coding, but circumstances pulled them away from it. The word "intimacy" comes to mind. If you lose intimate relationship with code writing (or never gain one), you will be more okay with AI.

Perhaps I'm trying to point out that sometimes you lose it accidentally, while still instinctively thinking that you enjoy writing code.

comment 1y ago · link · parent

You're probably right, but this dividing line only became prominent now that AI coding agents polarized the community across it. This in itself is interesting to me.

comment 1y ago · link · parent

I love experiences folks shared in response to this. Makes me realize that there are many significant factors that influence how people see programming. My own experience for most years has been a combination of the joy of clear/convincing writing with the joy of a high level ergonomic language (Ruby) to express the code. In Ruby and its frameworks, you almost never write boilerplate, so everything is the interesting part. And the surest way to have good understanding of the code is to type it out. (That's why most books ask you to manually type the example code). Figured I'd share my experience too.

comment 1y ago · link · parent

Couple of questions: the most senior people in your personal network — are they hands-on _lately_? And are they ~>25y experience? If it's a no to either, I took those into account.

comment 1y ago · link · parent

We are in a similar length of experience, but weirdly as I got older, it's the opposite for me: I got more particular about clarity, readability, especially in the context of handling edge cases. The 10% of situations that require 90% of effort. My new hobby is a codebase that can read as a business rulebook.

comment 1y ago · link · parent

I was going to include "people who use verbose programming languages/environments" :), but perhaps it's more of a likelihood scale across all groups. The more verbose the language, the more drawn to AI you will be.

comment 1y ago · link · parent

That's what I mean by product-building vs programming (3rd group).

comment 1y ago · link · parent

I haven't seen many folks who actually hands-on programmed this long willingly and grown to hate it. Instead one is usually trying to become something else (CTO, executive, etc) but due to financial difficulties, struggle to make connections and promote themselves, had to keep writing code. Are you sure this wasn't more of your case? That said, I haven't programmed for 35 years yet (approaching 30 in my case), so I don't know how I might feel when I get there.

comment 1y ago · link · parent

I've been noticing the pattern among the kind of people who like/dislike AI/agentic coding:

1) people who haven't programmed in a while for whatever reason (became executives, took a break from the industry, etc)

2) people who started programming in the last 15 or so years, which also corresponds with the time when programming became a desirable career for money/lifestyle/prestige (chosen out of not knowing what they want, rather than knowing)

3) people who never cared for programming itself, more into product-building

To make the distinction clear, here are example groups unlikely to like AI dev:

1) people who programmed for ~25 years (to this day)

2) people who genuinely enjoy the process of programming (regardless of when they started)

I'm not sure if I'm correct in this observation, and I'm not impugning anyone in the first groups.

comment 1y ago · link · parent

100% agree, esp. on the soundtrack. I thought I was going crazy when in Witcher 3's Skellige island it started playing the soundtrack from HOMM4. (See Track 14 here: https://youtu.be/F9sG0r_9f4M?t=4400).

comment 1y ago · link · parent

> Personally - if I really want to be fast and efficient I'm not picking Ruby anyways (or python for that matter - but at least python has the huge ecosystem for the LLM/AI space right now

"Fast and efficient" can mean almost anything. You can be fast and efficient in Ruby at handling thousands of concurrent llm chats (or other IO-bound work), as per the article. You can also be fast and efficient at CPU-bound work (it's possible to enjoy Ruby while keeping in mind how it will translate into C). You probably cannot be fast and efficient at micro-managing memory allocations in Ruby. If you're ok to brush ruby aside over a vague generalization, maybe you just don't see its appeal in the first place, which is fair, but that makes the other reasons you provide kind of moot.

comment 1y ago · link · parent

Gotta give credit for wonderfully clear writing. You can tell a person understands what they're saying by how well they express it. Reads smooth, and makes me see the author's mental model.

As far as substance: I love ruby libraries that allow you to simply "insert any ruby code". Many libraries tell you to call specific declarative functions, but I think Ruby shines at letting you use Ruby, instead of some limited subset of it. Examples of not-great approaches (imo) are libraries that try to take over how you write code, and give you a special declarative syntax for runtime type checking, building services out of lambdas, composing functions. Ruby's async is an example of "just insert any ruby in here". You can build runtime type checking the same way — allow people to check the value with any ruby code they like. Essentially, I agree with author's sentiment, and wish more people appreciated the beauty of this approach.

comment 1y ago · link · parent

I don't honestly know why most people do code reviews, because it's often presented as some kind of "quick sanity check" or "plz approve". Here's why we do code reviews where I get to lead the practice:

1. Collaborate asynchronously on architectural approach: (simplify, avoid wheel reinvention)

2. Ask "why" questions, document answers in commits and/or comments to increase understanding

3. Share knowledge

4. Bonus: find issues/errors

There are other benefits, like building rapport, getting some recognition for especially great code.

To me code reviews are supposed to be a calm process that takes time, not a hurdle to quickly kick out of the way. Many disagree with me however, but I'm not sure what the alternative is.

Edit: people tend to say reviews are for "bug finding" and "verifying requirements". I think that's at best a bonus side effect, that's too much to ask a person merely reading the code. In my case, code reviews don't go beyond reading the code (albeit deeply, carefully). We do however have QA that is more suited for verifying overall functionality.

comment 1y ago · link · parent

To be fair to the people on HN, it wasn't them who made Elon partisan. It was Elon himself.

comment 1y ago · link · parent

Wasn't Rails the first major OSS to move to Github when Github first appeared? IIRC it's the other way around: everyone started using MIT because Rails did.

Edit: Here's the initial commit in 2004, with MIT License already in there, way before Github launched in 2008 — https://github.com/rails/rails/commit/db045dbbf60b53dbe013ef...

comment 1y ago · link · parent

I am aware of this ruling, and disagree with it. My comment was making a broader point: There's a mistaken notion that a lawyer can advise you to do something that they think courts might find illegal later, "and that's how we'll find out whether we can do it." That's illegal both, for a lawyer to advise, and for anyone to follow. A president is supposed to collaborate with the other branches to find constitutional solutions to problems, not deliberately attempt to overwhelm them with edge cases. But yeah, the ruling on criminal immunity feels horrific to me.

comment 1y ago · link · parent

I think this often gets confused. Voting a president in doesn't give them a blank mandate to do whatever they want, such as break the law. And knowingly doing things that might not get approved by courts, but veiling it in a "novel legal theory" disguise is still breaking the law. Just because slow and thorough processes need to take place to adjudicate these actions doesn't mean that these actions aren't worth adjudicating. So while voting is important, keeping the voted-in president accountable is important too.

comment 1y ago · link · parent

I'm not far from you, and also trying to find a solution to a similar problem, albeit long time from college. Started a local meetup here, but it hasn't quite taken off. My area has very few people doing what I do, and I work remotely. School friends are all over the country at this point, and connections have been fading. Maybe it's something about upstate NY. Either way, added you on LinkedIn.

237.

Show HN: TinyMCP – Write MCP tools in Ruby and serve them(github.com ↗)

4 points · by hakunin · 1y ago · discuss

comment 1y ago · link · parent

In 2010 I built a small HTPC[1] in an Antec ISK300-150[2]. Started out with 500GB HDD + 8GB RAM, then replaced with 2TB SSD, then added another 4TB SSD and another 8GB of RAM recently. Started out TV-connected, but for years now it's been running Ubuntu headlessly in my basement, hosting containers, automations, TimeMachines, etc. Not sure if you'd call it a homelab. Wonder what do people do with their multi-PC racks that can't be done with one small machine like this? (besides running LLMs of course)

[1]: https://notes.max.engineer/htpc-hardware-specs

[2]: https://www.antec.com/product/case/isk300-150

239.

Getting Answers from a Big PDF with RubyLLM(max.engineer ↗)

2 points · by hakunin · 1y ago · discuss

comment 1y ago · link · parent

Agree with that too. I like watching people debate, and oftentimes it feels like magic when someone can thoughtfully counter a hard hit. It stings being on the receiving end of it, but the confidence grows when you counter a few of those. It also teaches you to debate yourself, which makes future work easier to defend. I guess I'm just saying that after a while this can become a calm/enjoyable hobby. Like giving talks in front of an audience for some people (something I haven't been able to push myself into.)
1
789
19