this post was submitted on 04 Dec 2023
94 points (98.0% liked)

pics

24313 readers
444 users here now

Rules:

1.. Please mark original photos with [OC] in the title if you're the photographer

2..Pictures containing a politician from any country or planet are prohibited, this is a community voted on rule.

3.. Image must be a photograph, no AI or digital art.

4.. No NSFW/Cosplay/Spam/Trolling images.

5.. Be civil. No racism or bigotry.

Photo of the Week Rule(s):

1.. On Fridays, the most upvoted original, marked [OC], photo posted between Friday and Thursday will be the next week's banner and featured photo.

2.. The weekly photos will be saved for an end of the year run off.

Weeks 2023

Instance-wide rules always apply. https://mastodon.world/about

founded 2 years ago
MODERATORS
 

I'm gonna level with you guys. I made a view tracker for my website in PHP and I'm chasing a really obscure bug where it wipes out all the accumulated views but it's like one of those 1 in 5000 chance bugs so now I'm just uploading this here to try and accumulate some views so it might happen while I'm looking at it... Sorry; enjoy the picture

you are viewing a single comment's thread
view the rest of the comments
[–] drkt@feddit.dk 3 points 2 years ago (1 children)

Because now I have to compile rust and cross-compiling from Windows to Linux is a mess I don't wanna deal with. I don't want to spin up a whole container just to compile for Linux.

At any rate, the problem is solved and I'm just optimizing it for speed now, which is entirely disk IO so I'm converting it to using an in-memory DB and then it'll be fast enough to handle a thousand times more traffic than I've ever gotten.

I'm not a programmer, I'm just a photographer who doesn't wanna deal with chunky gallery systems.

[–] SorteKanin@feddit.dk 2 points 2 years ago

Because now I have to compile rust and cross-compiling from Windows to Linux is a mess I don’t wanna deal with. I don’t want to spin up a whole container just to compile for Linux.

That's fair, though honestly cross-compiling Rust isn't that hard. You could also just use Windows Subsystem for Linux to compile for Linux. But totally fair using whatever works for you of course.