Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hakunin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
271.
▲
by
hakunin
2y ago
I think the post is making a poorly-worded switch to talking about fragmentation in backend node packages.
272.
▲
by
hakunin
2y ago
There's a bit of conflation between easy and simple here. Cloud is easy-ish, but it's not simple due to the proprietary abstractions you aren't meant to access. If things go wrong, you can't investigate past a certain po
273.
▲
by
hakunin
2y ago
Covid virus during pregnancy increases risk of bad outcomes dramatically, but a lot of patients have the wrong (reverse) idea, and therefore refuse the vaccine. Refusing the vaccine is probably a contributing factor. (Source: wife is OB).
274.
▲
Why Upgrade PostgreSQL
(why-upgrade.depesz.com)
1 points
by
hakunin
2y ago
|
0 comments
275.
▲
by
hakunin
2y ago
I've written up some rules that I've successfully applied in my teams. https://max.engineer/mindful-code-reviews
276.
▲
by
hakunin
2y ago
Couple of points on this. 1. A lot of problems arise from too few people working on too many things. If it's one-two devs and backlog is growing, the problem is not that you have no time to fix things, but that you're understaffed
277.
▲
by
hakunin
2y ago
The problem here is not that developers are too busy, but that code reviews are considered second class citizens to churning out new code. It's like saying "many devs are super busy working on feature A so they just write quick an
278.
▲
by
hakunin
2y ago
The worst use of analogy in my view is to use it not for improving understanding, but for morally loading the subject with the baggage from the analogy. When you say that data is like organs, you are morally loading all of our worst percept
279.
▲
by
hakunin
2y ago
I've been using History Book app[1] (only on Apple ecosystem). The search is starting to slow down at 25k pages, hoping it can hold up. [1]: https://apps.apple.com/us/app/history-book-browse-search/id1...
280.
▲
by
hakunin
2y ago
Did the repetition become obvious before or after you saw both implementations? It’s possible that if you dried it up right away, you would’ve abstracted the wrong thing, and it’s way more obvious only in hindsight.
281.
▲
by
hakunin
2y ago
Yes, but his law is descriptive, not prescriptive. Just because it tends to happen doesn't mean it should happen, or happens for good reasons.
282.
▲
by
hakunin
2y ago
This is good sometimes, other times it risks losing the audience. Extra info works better when they're ready (i.e. asked for it). This is why it's such a difficult balancing act. You don't want to preemptively answer question
283.
▲
by
hakunin
2y ago
One of the problems I often see is that when trying to explain one of the possible options, people don't understand it. When that happens, you try to explain it to them harder. Your explanation is then mistaken for pushing for that opt
284.
▲
by
hakunin
2y ago
Trying to solve a communication problem with more code and infra is often a mistake. This is something many engineers don't realize they're essentially doing. Some communication problems can be somewhat alleviated by processes and
285.
▲
by
hakunin
2y ago
I think not getting hung up on a method to solving a problem is a great message to remember. You should be open to switch to a different method if it solves the problem better. Type safety is just one such method. The actual problem is maki
286.
▲
by
hakunin
2y ago
I agree that if you make a very complex query in ActiveRecord, it could eat a lot of resources. That said, I would highly recommend going with raw queries for this sort of complexity, no matter the language. There are usually 2 kinds of que
287.
▲
by
hakunin
2y ago
A internal network boundary is probably worth it for heavy jobs, since you usually don't want it to interfere with serving web requests (no matter the tech). You probably already know what I would say to each of those examples. > Ra
288.
▲
by
hakunin
2y ago
You're saying that NodeJS monolith comes with no downsides compared to Rails at early stages. We disagree here. From my brief surveys, nodejs ecosystem comes with less security out of the box, less standardized project structures, fewe
289.
▲
by
hakunin
2y ago
I understand your general point, but these solutions are not niche. They cover almost everything needed in web dev. The niche problems are the ones that arise at scale, which is when a business typically has the resources to solve them. (Hi
290.
▲
by
hakunin
2y ago
Http clients have pipelining for parallel requests that doesn't require threads. Database calls in Rails 7 now have `load_async`. You can still have other services, outside of Rails. Would that cover it? P.S. I'm a huge fan of Eli
291.
▲
by
hakunin
2y ago
Just out of curiosity, what are you doing with a great concurrency story in a company you start in 2024?
292.
▲
by
hakunin
2y ago
One strong point for productivity/getting stuff done fast in real world: good REPL. It's not just Rails of course, but worth noting when comparing interpreted languages to compiled ones. Rails console is not only a great developme
293.
▲
by
hakunin
2y ago
There formed a subculture inside Ruby community, of people who love code that is as structured and declarative as possible, with an abstraction over anything that has a name, and a hierarchy of namespaces that map onto paths or grouping of
294.
▲
by
hakunin
3y ago
> I used to be a Rails developer, but I'd never start a new Rails project today. Frontend frameworks and serverless backends have made Rails obsolete. Feels like a bold conclusion to make based on a trend, when there are so many oth
295.
▲
by
hakunin
3y ago
I'm on Safari on MacOS with AdGuard and StopTheMadness. Nothing seems to have autoplayed.
296.
▲
by
hakunin
3y ago
I've been contemplating the issue in the headline, as pertains to my value. When I help somebody in 40 mins with something they've been stuck on for 3 months, my value is clear to everyone. When I work there the whole time, and no
297.
▲
by
hakunin
3y ago
Zed is a great contender for Ruby. I'm considering it, coming from Sublime Text, only needs a few small additions. Much better first impressions than VSCode.
298.
▲
John Oliver offers to pay Clarence Thomas $1M a year if he quits Supreme Court
(theguardian.com)
16 points
by
hakunin
3y ago
|
12 comments
299.
▲
by
hakunin
3y ago
I don't think this is quite right. I've done a survey a few months ago when deciding what to use for a new project (primarily comparing Ruby and Go). What I saw was many people rallying around the top useful libs out there. I also
300.
▲
by
hakunin
3y ago
I used to have fancy long config files full of default writes, but every MacOS update changes so many things that it’s borderline stressful to run the file ever again. Things break in weird ways. The config ends up only being useful for the
More ›