Migueldeicaza, (edited )
@Migueldeicaza@mastodon.social avatar

Me: opens Xcode

Me: “ok nerds, watch and learn”

Me: chat.OpenAI.com

“How do I remove duplicate rows from a table where the id matches in swift using the c SQLite api”

Arcticulate,
@Arcticulate@toot.community avatar

@Migueldeicaza If it helps, there’s this project which makes SQLite ”swifty”: https://github.com/stephencelis/SQLite.swift

Unless you want to avoid a third-party library for it.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@Arcticulate it turns out to be too big for the process I need it on. I am running with almost no ram

Arcticulate,
@Arcticulate@toot.community avatar

@Migueldeicaza Oh, interesting. Yeah, I guess there are good reasons why C is popular in memory-constrained situations … as long as memory leaks are avoided, of course, hehe.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@Arcticulate I am still using swift, but not larger libraries

javier,
@javier@col.social avatar

@Migueldeicaza I like the typo “.con”.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@javier oops

hggs,

@Migueldeicaza unfortunate (or funny, depending on point of view) autocorrect TLD change.

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