Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

joelanman, to indiegames
@joelanman@hachyderm.io avatar

Started Animal Well last night, very cool! A bit Celeste a bit Escape Goat, very beautiful

joelanman, to random
@joelanman@hachyderm.io avatar

would be nice if Slack didn't like, break the law. Seems a low bar

djh,
@djh@chaos.social avatar

@joelanman got it, so it's more about the data rights for once they have trained a LLM on all my company's messages for example

joelanman,
@joelanman@hachyderm.io avatar

@djh Both, you can't even use personal data for another purpose unless you get consent

joelanman, to random
@joelanman@hachyderm.io avatar

Ha ha pretty proud of this one

Framed
🎥 🟩 ⬛ ⬛ ⬛ ⬛ ⬛
https://framed.wtf

cwilcox808,
@cwilcox808@c.im avatar

@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.

joelanman,
@joelanman@hachyderm.io avatar

@cwilcox808 ha, how did my message help?

joelanman, to CSS
@joelanman@hachyderm.io avatar

> 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.

https://blog.logrocket.com/use-css-anchor-positioning

joelanman, to programming
@joelanman@hachyderm.io avatar

missing from native Node - write a file and create any necessary folders in the path

fs.writeFileSync('a/b/c.txt','hello', {recursive:true})  

joelanman,
@joelanman@hachyderm.io avatar

@jscholes ah you're right! I was sure it threw an error but recursive: true doesnt, thanks!

joelanman,
@joelanman@hachyderm.io avatar

you can do this, thanks @jscholes

const filepath = 'a/b'  
fs.mkdirSync(filepath, { recursive: true })  
fs.writeFileSync(filepath + '/c.txt', 'hello')  
joelanman, to webdev
@joelanman@hachyderm.io avatar

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?

tomw,
@tomw@mastodon.social avatar

@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,
@joelanman@hachyderm.io avatar

@tomw I thought you were being weirdly rude until I remembered mutt is a client

joelanman, to random
@joelanman@hachyderm.io avatar

Join my campaign for readed. What kind of language has the same word for future and past tense?

joelanman, to random
@joelanman@hachyderm.io avatar

are there any subscription services that proactively let you know you're not using it much and you could downgrade or cancel?

benjamineskola,
@benjamineskola@hachyderm.io avatar

@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.

stephenpa,
@stephenpa@mastodon.social avatar

@joelanman Slack used to do this back in the day (don’t know if they still do or not?)

joelanman, to random
@joelanman@hachyderm.io avatar

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?

kornel,
@kornel@mastodon.social avatar

@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.

brennansv,
@brennansv@sfba.social avatar

@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.

joelanman, to indiegames
@joelanman@hachyderm.io avatar

Wildermyth is on sale again, very nice fantasy XCOM with a focus on dynamic story telling
https://store.steampowered.com/app/763890/Wildermyth/

grogpod,
@grogpod@mastodon.gamedev.place avatar

@joelanman Great game with a very interesting new DLC mode coming in a few days too.

joelanman,
@joelanman@hachyderm.io avatar

@grogpod oh I didn't know, thanks!

joelanman, to random
@joelanman@hachyderm.io avatar

huh I didnt know Ben Kingsley was born Krishna Pandit Bhanji

https://en.wikipedia.org/wiki/Ben_Kingsley

joelanman, to ai
@joelanman@hachyderm.io avatar
joelanman, to random
@joelanman@hachyderm.io avatar

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

NathanClayton,
@NathanClayton@mastodon.social avatar

@joelanman

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.

Happy coding!

joelanman,
@joelanman@hachyderm.io avatar

@NathanClayton cheers!

joelanman, to random
@joelanman@hachyderm.io avatar

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?

#sql

jonty,
@jonty@chaos.social avatar

@joelanman ...that was not a clear constraint ;)

If the item is deleted should it be deleted from all messages, or just one?

joelanman,
@joelanman@hachyderm.io avatar

@jonty From all, I think the soft delete and replacing the content should work, otherwise the message just disappears with no explanation

joelanman, to random
@joelanman@hachyderm.io avatar

really don't like how many files want to be in the root folder of a project. What about a folder for them? config or project or something

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • lostlight
  • All magazines