@joelanman
Honestly, I'm not sure I would've gotten this one on the first image if I hadn't seen your message. This movie is one that I've thought was the answer on multiple previous occasions.
> The most obvious difference between anchor and absolute positioning is that you don’t have to nest your anchor target element into the child tree of the anchor element (i.e., the element with position:relative). On the contrary, you can place your anchor target element anywhere in the DOM.
running a web service that sends emails, do you have to send plain text as well as html emails? If so, whats a good strategy to keep them in sync, content wise? #webdev
@joelanman Probably only one person ever is actually going to read the plain text, and that person is used to getting messed up emails. Something like running strip_tags (or your language's equivalent) on the HTML mail would do.
(An "I read all my emails in plain text using mutt" person may turn up here, but they do not exist in most real email lists.)
@joelanman Octopus recently notified us that we’re paying more than we need to for electricity and gas, and automatically reduced our direct debit. Wish that was more common.
A lot of people are finding LLMs more useful than Google search.
I think a huge part of that is that Google and web in general has massively deteriorated in terms of finding clear, concise answers. Even if you can find it, it's covered in ads, cookie popups and so on.
But LLMs will inevitably follow the same path - investors want their returns. And the complete non transparency of LLMs will make it even worse this time around. Is that really the best answer or is it sponsored?
@joelanman Programmatically, I've had success with Ollama+Mixtral. It is easy to run locally given enough VRAM, and worked great for categorization tasks, anti spam, and search indexing – it understands any language, jargon & slang, and picks up even subtle context-dependent clues that a bayes classifier never would.
Being able to run pretty advanced models locally makes me optimistic that it can be used as merely a tool, rather than being yet another VC-funded surveillance trap.
@joelanman SEO consultants basically wrecked the system with some recently decisions by Google execs to speed along this decline. Recently I found ChatGPT 4.o has included links to external resources which I normally have not seen. If LLMs were to screen out bad actors which throw up a ton of ads and pop-ups it could be a welcome alternative to Google.
I still think ChatGPT and others should be paying some kind of royalty to the services like Stackoverflow and others which were used to train their models in addition to linking to them.
Another db question! I'm using migration files whenever I make a change to the db. When I'm doing dev, whats a good source of truth for the current structure of the tables (column names, types and so on)? I could app switch to my db admin app but I'd prefer a quick way to reference inside VS Code #sql
Aah, ok. That makes sense. If you use any of the paid JetBrains IDEs, they have great DB functionality built in. In Eclipse you can install SquirrelSQL in the IDE for free, and there's the plugins for VS Code that you've got.
I have a database question - say you have an items table and a messages table, and messages can refer to items. If someone needs to delete an item, you can't because of the foreign reference in messages.
I know you could 'soft delete' - set a status column to deleted, but what if you really need to delete, for example because the content is illegal or the user has a legal right to delete it?