Hacker Newsnew | past | comments | ask | show | jobs | submit | brap's commentslogin

How do you enforce the use of validation library with eslint?

I really like the “functional core, imperative shell” approach, I try to use it whenever I can. I wish more non-FP languages had a way to mark a function as pure (and have this statically enforced).

Agreed. "Prefer pure functions, push side effects to the boundary (functional core, imperative)" is at the top of my CLAUDE.md these days.

+1. OP is clearly not read for the Agentic Era

I have decided to draw an arbitrary line at mammals, just because you gotta put a line somewhere and move on with your life. Mammals shouldn’t be mistreated, for almost any reason.

Sometimes the whole animal kingdom, sometimes all living organisms, depending on context. Like, I would rather not harm a mosquito, but if it’s in my house I will feel no remorse for killing it.

LLMs, or any other artificial “life”, I simply do not and will not care about, even though I accept that to some extent my entire consciousness can be simulated neuron by neuron in a large enough computer. Fuck that guy, tbh.


At least you’re honest, I prefer that to people making up BS justifications for things.

What about being alive and suffering just a little bit?

Mostly ok.

Does what it says on the tin.


I get what you’re saying, and you’re right, however I can also see where they’re coming from:

Empirically, agents (especially the coding CLIs) seem to be doing so much better with files, even if the tooling around them is less than ideal.

With other custom tools they instantly lose 50 IQ points, if they even bother using the tools in the first place.


Sorry, this still makes no sense. LLMs don't care about files. The way most codings systems work is that they simply provide the whole file to the LLM rather than a subset of it. That's just a choice in how you implemented your RAG search system and database. In this case the "record" is big, a file. No doubt that works for code, but it's nonsensical outside that.

E.g. for wikipedia the logical unit would likely be an article. For a book, maybe it's a chapter, or maybe it's a paragraph. You need to design the system around your content and feed the LLM an appropriate logically related set of data.


>LLMs don't care about files.

Oh but they do. These CLI agents are trained and specifically tuned to work with the filesystem. It’s not about the content or how it’s actually stored, it’s about the familiar access patterns.

I can’t begin to tell you how many times I’ve seen a coding agent figure out it can get some data directly from the filesystem instead of a dedicated, optimized tool it was specifically instructed to use for this purpose.

You basically can’t stop these things from messing with files, it’s in their DNA. You block one shell command, they’ll find another. Either revoke shell access completely or play whackamole. You cannot believe how badly they want to work with files.


> LLMs don't care about files

They do. I highly suggest not try to derive LLMs' behaviors (in your mind) from first principles, but actually use them.


Yeah, some of the uplift people are anecdotally seeing from “just using the filesystem” is, imo, on account of how difficult it is to take a principled approach to pre-chunking when implementing other approaches.

They've been RLHF'd to the nth degree around working with *nix tools and filesystems, in practice.

They do care about files. They also care about how you express yourself, your tone, all sorts of seemingly unimportant details.

I couldn’t put this into words so thank you for that

I hate how agreeable these things are. When I need it to review something I wrote I have to explicitly pretend that I’m the reviewer and not the author. Results change dramatically.

Wegovy/Ozempic didn’t do anything for me for months. Then my doc put me on Tirzepatide+Phentermine combo and I forgot what being hungry even feels like.


Do you have to remind yourself to consume things like proteins, etc to prevent muscle loss?


I couldn't hit my macros on tirzepatide - couldn't get enough protein without feeling sick to my stomach. One of the reasons I swapped to reta.

(though as a general note for anyone reading, just getting enough protein isn't enough - you need muscle stimulus too. Getting enough protein will help reduce the amount lost but if you really want to stop it, you gotta do resistance training)


How long have you been on Phentermine? For me it stopped working after only a couple weeks.


Doesn’t something like Wix take care of all of this?


Yes. It’s also idiot-proof enough that I sent a tech illiterate estate agent friend there with instructions to ask ChatGPT if he had any questions. He was up and running, with property listings, three days later.

Honestly, this is a solved problem - the actual problem, if you talk to folks who maintain only a FB page, is that they don’t want to pay.


It's not that they don't want to pay, but they don't want to pay outrageously. Squarespace, etc. are stupid expensive for most websites. $5/mo is the limit for a lot of businesses, especially when they can't tell if having a website will even improve their traffic over just having a social media page.

The administration and billing side can also be confusing for a lot of non-technical business owners.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: