Better HN
topnewbestaskshowjobs
Log inSign up

mrinterweb

2,175 karma · joined Jan 21, 2009 (17y ago) · 789 submissions

Submissions

comment 1y ago · link · parent

I often provide mermaid diagrams in my promt. Mermaid seems to be a good common markup to communicate relationships between humans and LLMs.

comment 1y ago · link · parent

Knowing that your content is unlikely to be seen by many humans, and is mainly just feeding an AI is pretty discouraging. AI is great at detecting patterns, if content creations is discouraged, and more AI content is generated, AI content is likely to become so homogeneous that the internet becomes more of an echo chamber (than it already is).

comment 1y ago · link · parent

Scaling concerns can be a legitimate reason for a microservice, but I think those scaling concerns should be proven and not assumed before a new microservice is born.

I also hate the agreement of maybe one day we might... as a justification for a new microservice. The number of times that premature optimization didn't pay off is far less than I've seen it come to be.

Microservice should be an exception, not the preferred architectural design pattern.

Sometimes I cynically think system architects like them because they make their diagrams look more important.

comment 1y ago · link · parent

For your example, rails apps handle this case by default with job queues that are managed by the deployment separately. There is a way to force the job queue to process in the same process as your web server, but that's not the way most should be running prod rails apps. There usually isn't anxiety associated with rails app deploys, in my experience.

comment 1y ago · link · parent

One of the reasons microservice architecture originally became popular was to break apart monolithic applications. In many cases, I bet a big driver was a lack of separation of concerns, and a more modular design was desired. There are many ways to put up walls in software to help make software more modular and self-contained. Rails engines are a good way to make more a rails app more modular. The number of times I've seen microservices created for the purpose of modularity (not scaling concerns), and the complexity that has brought has really soured me on microservices.

comment 1y ago · link · parent

The rails doesn't scale trope is pretty old at this point and has largely been discredited. Don't believe me, take a look at Shopify or Github.

comment 1y ago · link · parent

Around that same time, microservice architecture was the new hot. Rails apps tend to be monolithic. Now that many people have realized that microservice architecture is often not worth the complexity costs, monolithic apps are back in fashion, and people are rediscovering how great rails is.

comment 1y ago · link · parent

I had a good background in C++ programming before switching to ruby. At first, I was terrified of the lack of strict typing, but after using it for a while, I realized my concern wasn't that warranted. For me it is about the tradeoff of dealing with types vs productivity. Sure I occasionally get bit by a random "method not defined for nil" error, but it is usually very easy to fix, and I don't run into the issue very often. With ruby, and especially rails, it is about the productivity gains. I can simply accomplish much more in less time and fewer lines of code than I would in other languages/frameworks. Not only am I writing fewer lines of code (usually), the language is very expressive without being overly cryptic. The code is more readable, and to me that results in better maintainability. The strong community and ecosystem emphasis that is put on testing, also leads to more resilient and much more maintainable code.

comment 1y ago · link · parent

Anyone who's invested in real estate doesn't want home prices to go down, but it seems a necessity considering how affordability has been decreasing. I would think a buyer market can only sustain so much. If a recession is caused by tariffs, AI taking jobs, war, etc; the real estate market seems to be in a precarious enough position to be affected.

comment 1y ago · link · parent

Looking at the graphs of US home prices to buyer income, it would seem something has to give (the value of homes or the value of the dollar). With how leveraged Fannie and Freddie are, the value of their assets would fall considerably if there is a significant disruption in the real estate market.

comment 1y ago · link · parent

The spirit of this reminds me back to earlier days of the internet. I know a lot of people bemoaned Flash sites for weird navigation, and other issues. Not saying the Flash criticism wasn't warranted, but I did appreciate the creativity some people put into making their site unique. Too much of the internet feel homogeneous now, and with AI generated content, that is only going to get worse. I appreciate the portions of the internet that don't want to conform.

comment 1y ago · link · parent

Meta comment about this thread: there is a lot of just use "x", use "y", use "z", use ... comments. Kind of proves the point of the top level comment.

I feel the same way when installing some python library. There's a bunch of ways to manage dependencies that I wish was more standardized.

comment 1y ago · link · parent

If you don't want so many comments, have you tried asking the AI for fewer comments. Seems like something a little prompt engineering could solve.

comment 1y ago · link · parent

Personally, I find ruby one of the most readable languages because of the language and its DSLs. To be fair, the DSLs are very readable, but the lines can blur between what is ruby and what is a DSL.

comment 1y ago · link · parent

Two locks smiths told me that only the dealership can program a fob for a 2021 Toyota Sienna.

comment 1y ago · link · parent

I have a 2021 Toyota that I lost one of two key fobs. Toyota has a strict policy that only Toyota dealerships can program key fobs for their newer cars, so buying a key fob replacement from a 3rd party was not an option. Total out of pocket expense for getting new key fob, programming that key fob to the car, and making sure the other fob still worked; cost about $550. I feel that is an absurd amount of money to spend because of a lost fob. I appreciate people looking into and exposing weaknesses of car fobs because it might expose ways to circumvent the monopolistic costs associated with replacements. Wish there was a way to retrofit my car to use Ultra Wide Bandwidth as a key.

comment 1y ago · link · parent

I don't understand the appeal of investing in leaning and adapting your workflow to use an AI tool that is so tightly coupled to a single LLM provider, when there are other great AI tools available that are not locked to a single LLM provider. I would guess aider is the closest thing to claude code, but you can use pretty much any LLM.

The LLM field is moving so fast that what is the leading frontier model today, may not be the same tomorrow.

Pricing is another important consideration. https://aider.chat/docs/leaderboards/

comment 1y ago · link · parent

One thing that's not very clear from the documentation is what the application of this may be. I see that it parses ERB and or HTML into an AST. Is this intended to enable improved HTML and ERB linters and language servers? This seems like a tool that other development tools will benefit from.

I realize this is new, but as tools start using herb, it would nice to link to those tools from the herb website and or github readme.

comment 1y ago · link · parent

I would prefer if less plurals were used. Every word in my puzzle ended with an 's' as a plural.

comment 1y ago · link · parent

There were a few things off about the benchmarks so I made a pull request with some updates. The 12x claim is WAY off. https://github.com/KonnorRogers/view-layer-benchmarks/pull/2...

comment 1y ago · link · parent

Adjusting temperature is something I often forget. I think Gemini can range between 0.0 <-> 2.0 (1.0 default). Lowering the temp should get more consistent/deterministic results.

comment 1y ago · link · parent

I've seen manager calendars, and their days are packed with meetings. Expecting them to do in depth code reviews, pairing, is unrealistic.

I think eng managers should rely on their ICs to inform them of what is going on, and the manager should be the advocate for IC dev needs. Devs should be able to tell their manager what the pain points engineering is experiencing and the manager should advocate on behalf of their team.

comment 1y ago · link · parent

Remember people getting sued insane amounts of money per-song they torrented. If we applied that precedent to Meta, Meta would need to declare bankruptcy. https://www.cbsnews.com/news/file-sharing-mom-fined-19-milli...

comment 1y ago · link · parent

Ben Sheldon, I really appreciate how you wrote this article. It feels like it was written in a very direct way that is more easily consumable for people who's attention tends to drift on long-form articles. I feel like you covered a complex topic succinctly, and I appreciate that. Helped me get a better understanding of thread contention. Thanks.

comment 1y ago · link · parent

When all the boxes were 100% I really was hoping to see that animation of Kier tell me I did a good job and then fly away. https://www.youtube.com/watch?v=U6EUG22elbs

comment 1y ago · link · parent

Don't forget about the Singleton module ("include Singleton"). This one trips me up in terms of what is being referred to as a "singleton". This is more of an singleton class instance where there can only be only one class instance per-class. https://ruby-doc.org/3.4.1/stdlibs/singleton/Singleton.html

comment 1y ago · link · parent

Thank you for the alternative to X. I feel somehow complicit in supporting someone likely aligned with something unspeakable any time I click an X link.

comment 1y ago · link · parent

The vast majority of NVDA's value is based on the assumption they are the only game in town that can do AI. I'm still waiting for a competing tech to disrupt them further:

* Intel, AMD, etc. could start making competitive GPUs that push the price down

* A new ASIC chip specifically designed for LLMs

* A new training or LLM runtime algorithm that uses the CPU

* Quantum chip that can train or run a LLM

If Nvidia lost its AI dominance, where would its stock be?

comment 1y ago · link · parent

The vast majority of Nvidia's current value is tied to their dominance in AI hardware. That value could be threatened if LLMs could be trained and or ran efficiently using a CPU or a quantum chip. I don't understand enough about the capabilities of quantum computing to know if running or training a LLM would be possible using a quantum chip, but if it becomes possible, NVDA stock is unlikely to fair well (unless they are making the new chip).

comment 1y ago · link · parent

I noticed my mouth had been hanging agape for a while while reading this. This is huge news. I feel like Pebble is the smartwatch that got it right the first time. So many smartwatches try to replace the phone instead of being an extension of the phone. Pebble seemed to better understand what is important than most smartwatches by being the extension of the phone, a focus on battery life and always on displays.
1
567
27