Conversation
Notices
-
Embed this notice
:hacker_f::hacker_s::hacker_e:
:revolvertan: https://git.freespeechextremist.com/gitweb/?p=fse;a=commitdiff;h=4dc8e97715a0b9d7043fd776904193bb565e937a :ocelot:
Also I didn't wanna force-push again (I AM EDITING CODE IN PRODUCTION) so the documentation is in this commit: https://git.freespeechextremist.com/gitweb/?p=fse;a=commitdiff;h=7e1fc8031a548e829b07b61980120deff3239d21
Copyright assigned in the file to the Pleroma project; I think that's all they need to eventually incorporate it if they want to after it's useful to people besides me. I'd do a PR but I think they wouldn't want it without tests and I don't want to write tests (I don't want to write *any* more Elixir if I can avoid it, but I always think I'm no longer writing more Elixir and I somehow end up writing more Elixir; still better than having to touch Mastodon) plus no one actually has access to Revolver besides me so it is not super useful. The commit cherry-picks cleanly, but is not going to be super useful to anyone but me at present, I think. The only practical reasons to push this are for anyone curious how FSE currently handles uploads, plus AGPLv3 compliance.
Anyway, if anyone wants to read it, I have essentially no confidence in my ability to write Elixir. I have written a lot of bad Elixir for git-'er-done purposes but have not written a lot of "good" Elixir and this is an attempt at writing "good" Elixir and thus there are a lot of reasons that "good" is in quotes. There is some stuff that is unclear in the code, there are comments near those bits.
Also check the URL on the attachments: they're going straight there by means of the code linked to above. So the stupid 301-then-Revolver-does-a-reverse-media-proxy hack is over! (Except I have to keep it running that way to handle older posts, avatars, emchajos.) There are a couple of infelicities in the Revolver network code, but once those are fixed, uploads should get faster; at present, downloading is faster and uploading is faster than it *was* but some issues with my local net connection have made uploading slower than I had hoped it'd be (and also fucked up my ability to debug this shit for about an hour). But after that's done, it should be using the regular block propagation and things should be working great.
So, anyway, if you're on FSE and the uploads are acting weird or not acting weird enough or something, probably me know.
wewanttheairwaves.gif
Radical_Dreamers_ReveD'Ordinateur_OC_ReMix.mp3
- Phantasm likes this.
-
Embed this notice
Okay, that's one thing that needs to be fixed; I suddenly remembered that I punted on that. On the other hand, the part that I punted on is discarded so it shouldn't be like that, it should be reasonable. Lemme test this again:
mao.mp3
-
Embed this notice
Okay, it's because Pleroma (at least, this version) gets confused over special characters in filenames. Nevermind, the thing I punted on isn't relevant, everything works.
ytcracker--s.p.a.m.2.mp3
-
Embed this notice
Lemme make sure video works before I celebrate too much:
eating_ram.mp4
-
Embed this notice
This all seems to be working fine, I am pleased.
> uploading is faster than it *was*
Except that it is more complicated than that: the person doing the upload now has to wait for the ingestion to occur, whereas before it would happen on-demand, so there was no waiting. On the other hand, the amount of time from "upload initiated" to "first byte reaches first client" is lower (in terms of both wall-clock time and the actual amount of time required by the machine).
Gotta do some writing, gotta do some hacking on the network code, gotta stand up a new box (thanks, @graf) for FediList, also the Grafana dash for Revolver is back up: http://pbuhwjjhrzcvrghtfqlwqlgabuzc7jnkqv4swekxjvv7pgubd7jjoiqd.onion/public-dashboards/8643a3beee524385bd0ef6a304dbbd65?orgId=0&refresh=6s . If you have drugs, please bring them by; I have too much shit to do to ever sleep again.
-
Embed this notice
@p i was saying "hell yeah" all day today idk why (i was working with oracle database so maybe it fried the last two remaining brain cells, im not sure) so hell yeah to all of this, only drugs I have are prescription. want some ativan?
-
Embed this notice
@graf
> i was saying "hell yeah" all day today
Hell yeah.
> want some ativan?
I don't know what that one does. If it makes me never sleep again, that'd be ideal.
-
Embed this notice
@p oh I have THC infused instant chicken noodle soup. 10mg for the package, so you could get a decent buzz on
-
Embed this notice
@graf Ha, you'd see it once in the bowl and once on the wall. I don't get motion sickness, but the marijuanas do it almost immediately.
-
Embed this notice
@p the government of ontario's online weed store had some wild "edibles". for a while there you'd see the normal candies, brownies and cookies but if you went past a dozen or so pages you'd start to get into the fun stuff. instant soups, doritos style chips. they were infusing everything with thc. but it seems the website stopped selling them so maybe somebody had some less than desirable effects
-
Embed this notice
@graf
> weed doritos
Science has gone too far.
-
Embed this notice
@p "man these doritos taste great"
>ten bags later in emergency at the hospital
-
Embed this notice
@graf @p I mean the first bag doesn't count and then you get to the second, and the third. The fourth and fifth I think I opened with the blow torch and I just kept eating.