Conversation
Notices
-
pistolero (p@fsebugoutzone.org)'s status on Monday, 10-Mar-2025 15:04:20 JST pistolero
:mycomputer: unexpected reserved word: end
:elliomanic: [fixes]
:mycomputer: Compiling 543 files (.ex)
:win3_clock:
:mycomputer: unexpected reserved word: end
:elliotmanic2: [bash bash]
:mycomputer: Compiling 543 files (.ex)
:win3_clock:
:mycomputer: unexpected reserved word: end
:elliotfurious:-
pistolero (p@fsebugoutzone.org)'s status on Monday, 10-Mar-2025 15:04:17 JST pistolero
@dsm @ins0mniak This bit I was writing was an uploader. I probably could have just done a "call external program" uploader and then have it just do the Revolver upload. (In fact, I could have just used Revolver; there's a "just store this blob from stdin" invocation and now that there is a "and use a different Revolver instance as the backing store" option, it's kind of trivial to use like that.) That would probably also have been easier to debug. (I have written the Elixir and successfully compiled it; I have not yet attempted to use it, so I haven't debugged it. That's going to occur shortly; if I'm lucky, it'll just work on the first try, but the likely case is uploads on FSE are going to be busted for an hour or two.) † top dog :pedomustdie: likes this. -
pistolero (p@fsebugoutzone.org)'s status on Monday, 10-Mar-2025 15:04:18 JST pistolero
@ins0mniak I cannot write a module for Pleroma in Go. -
w0rm (dsm@clew.lol)'s status on Monday, 10-Mar-2025 15:04:18 JST w0rm
You can stub out via mrf to Go. † top dog :pedomustdie: likes this. -
ins0mniak (ins0mniak@mikoshidata.cloud)'s status on Monday, 10-Mar-2025 15:04:19 JST ins0mniak
@p -
pistolero (p@fsebugoutzone.org)'s status on Monday, 10-Mar-2025 15:06:15 JST pistolero
@dsm @ins0mniak At any rate, it wouldn't work as an MRF. It's going to go in here: https://git.freespeechextremist.com/gitweb/?p=fse;a=tree;f=lib/pleroma/uploaders;h=2760e1e76ee12d666ebccec87e411a5e8994ec2b;hb=HEAD † top dog :pedomustdie: likes this. -
† top dog :pedomustdie: (dcc@annihilation.social)'s status on Monday, 10-Mar-2025 15:06:53 JST † top dog :pedomustdie:
@p @dsm @ins0mniak I need to make mine not upload duplicate files -
ins0mniak (ins0mniak@mikoshidata.cloud)'s status on Monday, 10-Mar-2025 15:07:17 JST ins0mniak
@p Kinda jealous.
Like, I can break something sooner or later.but like the other day I was trying to set something up and...it wasn't fluid.
Gap in my knowledge of things.
but then you realize what you don't know...† top dog :pedomustdie: likes this. -
pistolero (p@fsebugoutzone.org)'s status on Monday, 10-Mar-2025 15:07:18 JST pistolero
@ins0mniak :bwk: said that it's twice as hard to debug something as to write it in the first place, so if you write it as cleverly as possible, by definition, you're only half as smart as you need to be to debug it. -
pistolero (p@fsebugoutzone.org)'s status on Monday, 10-Mar-2025 15:07:19 JST pistolero
@ins0mniak Code is beautiful until reality starts to intrude. -
ins0mniak (ins0mniak@mikoshidata.cloud)'s status on Monday, 10-Mar-2025 15:07:19 JST ins0mniak
@p Yeah true.
Im trying to work on developing thing s more than breaking them
Way harder -
ins0mniak (ins0mniak@mikoshidata.cloud)'s status on Monday, 10-Mar-2025 15:07:20 JST ins0mniak
@p unacceptable
not for you...but just in general -
pistolero (p@fsebugoutzone.org)'s status on Monday, 10-Mar-2025 15:08:26 JST pistolero
:win3_clock::win3_clock::win3_clock::win3_clock::win3_clock::win3_clock:
:elliotmad: The syntax for `with` is terrible.
:win3_clock::win3_clock::win3_clock::win3_clock::win3_clock::win3_clock:
:elliotthinking: I should shove `time` check to see how long it actually takes to build.
:win3_clock::win3_clock::win3_clock::win3_clock::win3_clock::win3_clock:
:mycomputer: 30 seconds to tell you that you forgot a close paren, but indirectly by telling you that the compiler didn't expect to see an `end` there.
:elliotmanic2: ...
:win3_clock::win3_clock::win3_clock::win3_clock::win3_clock::win3_clock:
:mycomputer: Compiling lib/pleroma/web/router.ex (it's taking more than 10s)
:elliotdead: no shit
:win3_clock::win3_clock::win3_clock::win3_clock::win3_clock::win3_clock:
:mycomputer: Okay it compiled.
:elliotmanic:
It still doesn't *work* because I am making some changes to Revolver to avoid having to write more Elixir, unless someone that doesn't hate Elixir wants to go read the code that does the multipart and then tell me how to shove that in. I'm going to just test in prod so uploads are gonna break on FSE for a little while, but they should be much faster by the time everything is fixed and working correctly.
idonotcareforelixir.png† top dog :pedomustdie: likes this. -
pistolero (p@fsebugoutzone.org)'s status on Monday, 10-Mar-2025 16:34:55 JST pistolero
@phnt @ins0mniak
> Despite me generally liking it
This is a mistake. There are some nice parts, sure, but the nice parts of Elixir are all present in Erlang, making Elixir strictly worse than Erlang.† top dog :pedomustdie: likes this. -
Phantasm (phnt@fluffytail.org)'s status on Monday, 10-Mar-2025 16:34:56 JST Phantasm
@ins0mniak @p Makes sense, Elixir isn't a language I would call fun. Despite me generally liking it and its syntax, it's not the right tool in most cases. -
Phantasm (phnt@fluffytail.org)'s status on Monday, 10-Mar-2025 16:34:57 JST Phantasm
@p The way I dealt with that is by taking the hard to swallow soydev pill and configuring neovim-lsp for Elixir support with elixir-ls. It makes my laptop liftoff from the desk, but at least it works most of the time. Probably useless info to you, I know. -
ins0mniak (ins0mniak@mikoshidata.cloud)'s status on Monday, 10-Mar-2025 16:34:57 JST ins0mniak
@phnt @p I have a couple of elixir programming books that I haven't touched yet.
hackrf is more fun so you know.... -
pistolero (p@fsebugoutzone.org)'s status on Monday, 10-Mar-2025 16:34:58 JST pistolero
@phnt I don't have the option of using a different language, since Pleroma is written in Elixir already. -
Phantasm (phnt@fluffytail.org)'s status on Monday, 10-Mar-2025 16:34:59 JST Phantasm
@p Ahhh, bash like compile errors, I love those.
Missing a closing paren somewhere in the file?
Reached EOF while looking for ) at line 568. There you go.
-