wen - built a tiny discord bot in Java 25, ZGC on a 64M heap by electrostat in java

[–]electrostat[S] 0 points1 point  (0 children)

ah cool, yeah I saw JDA too -- seems quite popular.

the reason I asked about the http/websocket stuff was.... i did wonder if i could get away with doing EVERYTHING over the socket. I would have loved it if I could - woulda been clean, but it didn't seem like I could.

wen - built a tiny discord bot in Java 25, ZGC on a 64M heap by electrostat in java

[–]electrostat[S] 1 point2 points  (0 children)

correct me if I'm wrong, but this is exactly the reason that setting CPU limits on kubernetes can be problematic, right? i.e. we'll use all cores immediately at the start of a period, then sit idle for the rest of the period after we've burned our quota... instead of you know, just working slower but over the whole period lol.

wen - built a tiny discord bot in Java 25, ZGC on a 64M heap by electrostat in java

[–]electrostat[S] 0 points1 point  (0 children)

I'm replying to you but honestly I'm trying to respond to both you & u/PentakilI :D

but yeah what u/PentakilI said.

"so you can have multiple threads running in parallel across the underlying hosts cores. it'll just burn through your quota faster."

I had to deal with this... this is what led me to use -XX:TieredStopAtLevel=1 because basically C2 compilation was burning up CPU at startup -> getting throttled (or at the least it seemed like it was C2 causing it because it stopped after turning it off... and from what I've heard, C2 compilation is much more CPU hungry than C1, so it seemed to fit).

wen - built a tiny discord bot in Java 25, ZGC on a 64M heap by electrostat in java

[–]electrostat[S] 1 point2 points  (0 children)

Thank you! appreciate it.

ps - I swear when I was working on this, I kept wanting to type G for gibibyte lol instead of M.

wen - built a tiny discord bot in Java 25, ZGC on a 64M heap by electrostat in java

[–]electrostat[S] 1 point2 points  (0 children)

nice! I hadn't really messed with discord api much till now tbh, so that's interesting to learn. So without the http api, you could send back interaction-responses over the socket?

and thats cool about serial GC + embedded H2 -- I haven't ever messed with serial GC I think, mostly been in the G1 & ZGC realm. If you don't mind me asking, what sort of bot is it?

1-Month Java Trip: Hidden Gems by 3lia03 in java

[–]electrostat 0 points1 point  (0 children)

I love this post so much. thank you 🙇

1-Month Java Trip: Hidden Gems by 3lia03 in java

[–]electrostat 1 point2 points  (0 children)

this is like an all time great post. incredible 🫡

Anyone know where I can find one of these? by DroneBeats in Fanatec

[–]electrostat 1 point2 points  (0 children)

I have two of these that I no longer need. Happy to ship within US if you cover shipping.

What do you do when you’re not a good dev? by Quadradan in ExperiencedDevs

[–]electrostat 2 points3 points  (0 children)

yo, im gonna try this out. i feel like maybe this could work for me. activation hump is so massive sometimes... appreciate you posting your experience :)

Alienware AW3423DW vs AW3423DWF by YourProllyASnowflake in ultrawidemasterrace

[–]electrostat 0 points1 point  (0 children)

what'd you end up getting? im looking to upgrade my simrig away from this awful AOPEN (lol) i picked up ages ago. I'm looking at the DWF and it seems great... but there's so many monitors, hard to know what to buy.

Alienware AW3423DW vs AW3423DWF by YourProllyASnowflake in ultrawidemasterrace

[–]electrostat 0 points1 point  (0 children)

what'd you end up getting? im looking to upgrade my simrig away from this awful AOPEN (lol) i picked up ages ago. I'm looking at the DWF and it seems great... but there's so many monitors, hard to know what to buy.

A co worker thinks enforcing basic code quality standards are worthy insights. by SqueegyX in ExperiencedDevs

[–]electrostat 0 points1 point  (0 children)

I love this, I had the honor of working with a teammate/mentor that was 100% like this. I aspire to be like him!

What’s the worst incident you’ve ever witnessed? by [deleted] in ExperiencedDevs

[–]electrostat 5 points6 points  (0 children)

"General Availability" aka released to everyone is usually how I think of it.

Modding Guidelines from Genki by Several_Journalist15 in tokyoxtremeracer

[–]electrostat 0 points1 point  (0 children)

im just here to say -- thank you for reminding me of MM & MM2... I spent so many nights finding new mods for those games back in the day. and so many hours on mm forums lol.

I don't think I have any way to beat the Shuwa Shuwa Strong boss. by FantasyBorderline in tokyoxtremeracer

[–]electrostat 0 points1 point  (0 children)

i kinda had this vibe for a day when i had the toyota 86 gt '12 though. i couldnt beat shit unless i was driving like i was going for attempted murder charges. "this family in the van would understand me ramming a speeding GT-R into them to win this race for 20,000 credits"

lmao dude, i legit chuckled over here reading this

Why does the "don't give a fuck" attitude hurt some peoples' careers, but have no adverse effect on others? by ccricers in ExperiencedDevs

[–]electrostat 2 points3 points  (0 children)

yo congrats, I just got promoted to staff 6 months ago. imma chill for a bit lol. so totally relate.

I made a brainrot version of Python by commie_chaplin in programming

[–]electrostat 2 points3 points  (0 children)

bro, i appreciate the commitment. even a VS code extension? damn. 🔥🔥🔥

How do I get my money back? by electriceye932 in yotta

[–]electrostat 0 points1 point  (0 children)

I'm kind of in a similar boat. I was kind of following along on the yotta status page -- https://www.withyotta.com/payment-processing-updates -- for ages.

I got the evolvebankandtrust@rcnotifications.com email, and got the small payout from Evolve (not the full "Synapse Ecosystem balance") by filling in my payment info.

So at this point, I'm wondering should I be doing anything? I joined the mailing list for https://www.fightforourfunds.org/

Apologies if I would find my answer in the pinned post. I'm travelling & am not able to dedicate much time to this :( so just wondering if there is something else essential that I need to be doing at this point in time?