Submit

Back to the channels

#primate

  1. blue hi phaleth
  2. phaleth hi blue
  3. phaleth rust safety https://ladybird.org/posts/adopting-rust/
  4. nevet Ladybird adopts Rust, with help from AI - Ladybird
  5. phaleth LGTM https://github.com/LadybirdBrowser/ladybird/pull/8104
  6. nevet LibJS: Add Rust implementation of lexer, parser, AST, and bytecode generator by awesomekling · Pull Request #8104 · LadybirdBrowser/ladybird
  7. phaleth look at that number of lines of added code, these people love complexity so much
  8. bot <discord:blue> Ugh rust
  9. bot <discord:blue> Rust and AI, just the right combination
  10. phaleth yeah, seriously, what a way to bust the project
  11. blue 100%
  12. blue another one bites the dust
  13. blue we're the only ones left to save the planet, phaleth
  14. phaleth currently, I've got enough to learn about how to setup the infra, not gonna do any coding any time soon
  15. blue you're not supposed to do much coding for now
  16. phaleth also makes no sense if clankers can just spit out 30k LoC
  17. blue ya
  18. phaleth btw, I'm trying to learn golang even when I'm not sure I will be able to use golang anywhere
  19. phaleth golang is like a gateway to C
  20. bot <discord:josephbottinger> I'd prefer zig to go, personally; go is useful but it's sort of like what you'd get if you redsigned PHP from the ground up with basic competence in your backpocket instead of whatever PHP had going for it
  21. blue +1
  22. bot <discord:josephbottinger> (And if you're wondering, yes I did get 250 extra points for the combo slam.)
  23. blue lol
  24. * dreamreal grins as a test
  25. dreamreal blue: "we" BTW was Claude and I :D
  26. blue dreamreal: you're truly challening the 'they' narrative! :P
  27. blue challenging*
  28. blue dreamreal: if all goes well, json operators are coming to the ORM in 0.37
  29. blue I still need to consider exactly *which* operators; but querying within a JSON field in a typesafe way could be a dream
  30. blue dreamreal: https://github.com/primate-run/primate/commit/c776338588be2f4ac46285b08c6f3338723bf29c
  31. nevet pema/orm/db: add support for JSON types and JSON columns · primate-run/primate@c776338
  32. blue this uses TEXT for SQLite, JSONB for postgres, JSON for mysql/mariadb, and embedded documents for Mongo
  33. blue it also adds `p.json()` to pema, with the ability to pass a bespoke schema into it: `p.json({ foo: p.string })`. this info can then be used to make typesafe querying within json columns
  34. bot <discord:josephbottinger> This is a test
  35. bot <discord:josephbottinger> * josephbottinger reacted with :😂:
  36. blue WOOHOO!
  37. dreamreal blue: ^^^
  38. dreamreal add a reaction, please, now
  39. dreamreal to THAT message
  40. blue oki, holf on
  41. blue hold*
  42. bot <discord:blue> * blue reacted with :👍:
  43. blue THIS IS SO COOL
  44. dreamreal okay, that's actually broken
  45. dreamreal but it's working in concept
  46. dreamreal damn it
  47. blue but wait: do we need to tell the username twice?
  48. dreamreal no I guess not but this is the first deployment of the feature, we expect to have to tune it
  49. dreamreal for NOW we can live with it until I can fix it
  50. bot <discord:blue> * blue reacted with :👍:
  51. blue (unreacted, react)
  52. blue reacted*
  53. dreamreal haha
  54. dreamreal oooo that's RIGHT
  55. blue interesting: I'm reacting to other messages... but it's not showing up
  56. dreamreal Interesting
  57. blue is it locked on this one message now?
  58. dreamreal right, it's not SUPPOSED to do anything once a message is "aged"
  59. bot <discord:josephbottinger> hmm
  60. bot <discord:josephbottinger> * josephbottinger reacted with :😂:
  61. blue see?
  62. dreamreal oh, it's ALSO not supposed to cross the streams
  63. blue or maybe it's only possible to react to 'pure' discord messages?
  64. blue HA, knew it!
  65. dreamreal reading to an IRC message via discord is not a good idea
  66. dreamreal that's 100% a design intention
  67. blue I mean, from discord's POV, it's just another message, one that nevet sent
  68. blue is it worth making the distinction here?
  69. dreamreal yeah, but nevet doesn't see its own bridged messages
  70. dreamreal so capturing them would be *difficult*
  71. blue ooh, RIGHT.
  72. blue I think I'd be ok for now with this being a discord-first feature
  73. blue the bridge's main function is to see irc messages, and now it also replicates a discord-inner functionality
  74. blue it might surprise some users that it doesn't 'work' for relayed messages.. but I think it's ok for now
  75. dreamreal yeah, it's not supposed to be a matrix equivalent. Matrix can do it because matrix exceeds the message types.

Search posts