Email or username:

Password:

Forgot your password?
2,448 posts total
Eugen Rochko

I'm sorry but if you use Mastodon posts to train systems for filtering inappropriate content you will lose all eye contact, alcohol, US politics, and Star Wars discussions from your platform...

(This is from the paper "Mastodon Content Warnings: Inappropriate Contents in a Microblogging Platform" published by the University of Milan)

Show previous comments
Nate Cull

@Gargron but will they keep all the jorts posts

✨ starry night ✨

@Gargron and food! which is a significant part of our culture we can't afford to get censored!

passable

@Gargron as if harassers here are cw'ing their bullying and hate speech!

FiXato

@Gargron
hopefully I'll remember to look this up again when I've actually seen the last 2 films...

RiCK B-Dogg

@Gargron
You should ask her on a date, it's obvious how infatuated with her you are. :-D

Eugen Rochko

To be honest I don't know what is day and what is night anymore

Show previous comments
ortsvorsteher

@Gargron wenn die Sonne im Energiesparmodus über die leuchtet, ist es Nacht und du siehst den Mond. 😉

Eugen Rochko

Detected a high number of idle sign-ups with uniform usernames since yesterday, all with e-mail ending in 2nd.world. Website of 2nd.world looks like FastMail's design, links don't lead anywhere. Suspecting phishing site / spam farm. Suspending the accounts.

rodti

@Gargron Are you getting any of these random alphanumeric usernames that never confirm? I'm assuming the email addresses are farmed from leaks.

Eugen Rochko

Just realized joinmastodon.org is still featuring a screenshot of the advanced web layout, which is not the default anymore...

Show previous comments
Eugen Rochko

Turns out joinmastodon.org was somewhat broken for visitors of some locales and also the language of the picker didn't update with the language of the page. Fixed both

Belesh

@Gargron I lost my cellphone 2 weeks ago. I tried to log in on another device again but I have forgotten my password. But I didin't receive any e-mail to reset it.
I sent you an e-mail, I sent you a direct message and still there was no response. If you're not going to help me to give my account back, please just tell me so I give up on this.
Thanks.

Eugen Rochko

Personally? I think the nervous system was a mistake

Show previous comments
dafepingon

@Gargron That's a weird statement... And kinda creepy... How would you operate your body without the necesary "cables" that conducts electricity to all your muscles? It would be like some sort of big jelly with a head?

Eugen Rochko

I've had one wisdom tooth removed a few hours ago and I'm not feeling super well right now

Show previous comments
emmadavidson

@Gargron hope you get well soon. Ice packs help.

Marcus

@Gargron They gave me oxycodone I believe when I had my wisdom teeth pulled and I hated it. I couldn't figure out if it numbed the pain or just made me not care about it. I'd try to read something and three sentences in forget what I was reading. I stopped taking them.

Eugen Rochko

One guy on the enemy team in my Dota 2 match was named anime... Happy to report that anime is finally defeated

Ocean

@Gargron Wow Gargeon looks like I have to report, ban, unfollow, and delete u now

Dawid Josz

@Gargron but anime is good... when it’s good 🤔

Eugen Rochko

Seems like a good time to ask... Why is colonel pronounced like that. Who did that

Show previous comments
Marcus

@Gargron I always figured it was a slow progression of people saying it really fast and then just being too lazy to enunciate the Ls. Then again, maybe the pronunciation came first and when it came time to spell it, different grammatical rules existed so that, at the time, that spelling made sense.

ewhac

@Gargron
I find far more puzzling the British pronunciation of "Lieutenant."

Eugen Rochko

Anyone who is good at #Golang can you tell me what memory management crimes I am committing here?

https://github.com/tootsuite/gamo/blob/master/gamo.go

Show previous comments
Luke GB

@Gargron Does that... work? You're calling Close() on the ImageOps as soon as you alloc it in the sync.Pool: https://github.com/tootsuite/gamo/blob/master/gamo.go#L50

If you _must_ have Close() called on that (if the sync.Pool decides to bin it rather than adding it back to the pool), you might need to use runtime.SetFinalizer.

If you need to do more debugging, I'd suggest the handlers from net/http/pprof. Be careful with it - it registers them under /debug/pprof/ by default and you don't want those exposed on the internet.

@Gargron Does that... work? You're calling Close() on the ImageOps as soon as you alloc it in the sync.Pool: https://github.com/tootsuite/gamo/blob/master/gamo.go#L50

If you _must_ have Close() called on that (if the sync.Pool decides to bin it rather than adding it back to the pool), you might need to use runtime.SetFinalizer.

Schoentoon 🇳🇱🇨🇭

@Gargron Not seeing anything directly obviously wrong with it honestly. Ideally this line https://github.com/tootsuite/gamo/blob/master/gamo.go#L159 would receive an io.Reader rather than the complete image as a []byte but this seems like a limitiation of lilliput (and down there probably an opencv limitiation). Perhaps add some tests and run some profilers if you want to be really sure

Dominik Nakamura

@Gargron are you getting tons of requests at once?

From what I see your server doesn't have any limits on concurrent http handlers and you load load a lot of data, instantiate the decoder and so on. All that before you even get to the processing part.

I recommend you use a semaphore at the beginning of your handler or a http framework that can limit concurrent connections.

Let's say the pool can process 5 req/s but you get 15 http reqs/s. Then your memory fills up.

Eugen Rochko

I don't have a lot of experience in #Golang, can anyone who does take a look at this code and help me figure out why its memory usage goes up to 12 GB when exposed to traffic.

https://github.com/tootsuite/gamo/blob/master/gamo.go

I've used pprof to try and figure it out, seems like NewImageOps is staying allocated, but I'm not sure why. I sure call Close() on it...

Go Up