There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Toes , in How I date

Finally I feel motivated.

WalrusDragonOnABike , in How big is your desk?

If your desk is only 3/4ths of a chain long, how will you fit more than one computer?

dutchkimble ,

That’s the whole advantage of block chain. You can add more lego blocks to your desk and keep the chain going.

Kedly , in Old timers know

I am currently updating a minecraft server soooooo

AVincentInSpace ,

if your hosting provider 1) is not yourself and 2) requires you to use anything like filezilla, get a new hosting provider

shikogo ,

Why?

AVincentInSpace ,

Unless you’re using Linode or something other general purpose VPS which you have installed a Minecraft server onto, having to use anything other than a WebUI to exchange files with the server really strikes me as sketchy. A dedicated can’t-run-anything-else Minecraft hosting provider even giving random users SSH access is sketchy enough but requiring you to use it to update the game… that level of not having an IT guy is just a security nightmare waiting to happen.

Guessing by your comment that you’ve actually rented a general purpose Linux VPS and not gotten suckered into Honest Pete’s Discount CreeperHost. In that case, carry on.

shikogo ,

The last time I’ve rented a Minecraft server was probably over 10 years ago, and as far as I can tell, at the time having to upload stuff through ftp was normal.

Although reading this thread has also taught me that I know nothing about how deployment works and I need to catch up on that.

Kedly ,

Tbf I think BisectHost now lets me just upload normally, but I’m so used to using Filezilla I’m doing so out of habit.

AVincentInSpace ,

That’s fair actually. I was more worried about Minecraft hosts that allow you to upload your own game executable (which I sincerely hope don’t exist)

Norgur , in Such a pain in the sas
@Norgur@fedia.io avatar

I'd rather troubleshoot for days than try to reboot or check cables.

whotookkarl , in I Will Fucking Piledrive You if You mention AI Again
@whotookkarl@lemmy.world avatar

As someone who conferenced some basic ML research in early 2000s and then left academia for a boring/stable software engineering gig in a non IT org to escape the hype bubble only to end up having to talk to people about ML/AI frequently this article speaks to me.

notabot , in Let me pull this out of my ass

It looks like AssDB uses a weird SQL syntax? Is it worth upgrading to, I hear it’s great at pulling information out of unstructured and even imaginary data sources?

cows_are_underrated , in Not everything can be done in constant time, that's O(k)

Oh my god, that’s inefficient as hell.

it_depends_man , in Nobel Prize to Be Awarded to Forum User From 9 Years Ago With Same Niche Problem

Your joke, but as a short video by joel haver: www.youtube.com/watch?v=hnUpTyKSjag

foobaz ,

Joel is amazing. Love his stuff.

uid0gid0 , in What the heck is a god dang cloud?

Yeah what is up with that? It’s nice to know where things are but whatever happened to /usr/local

xenoclast ,

Lack of windows support

eran_morad , in What the heck is a god dang cloud?

I feel this.

Reddfugee42 , in What the heck is a god dang cloud?

Same for fucking iOS

flerp , in Life is hard

bool theEnd;

anton , in Programming as a hobby means I can do whatever I want!

Instead of


<span style="color:#323232;">if let Some(a_) = a{
</span><span style="color:#323232;">    ()
</span><span style="color:#323232;">} else if let Some(b_)=b{
</span><span style="color:#323232;">    ()
</span><span style="color:#323232;">} else {
</span><span style="color:#323232;">    dostuff 
</span><span style="color:#323232;">}
</span>

you could just use


<span style="color:#323232;">if a.isNone()&&b.isNone(){
</span><span style="color:#323232;">    dostuff
</span><span style="color:#323232;">}
</span>

Also if you don’t use the value in a match just use _

jimitsoni18 ,

Also you can use enums insteas of string literals

Thelie OP ,

I’m not sure how I would go about this in an elegant way since I’m matching the string I get from a message…

jimitsoni18 ,

If the message used enums for actions/procedures like SPAM_MEMES, then using enums would be more performant

Thelie OP ,

I think you’d be happy to know that I’ve gone for a bit of an overkill and used Pest to parse the commands, which automagically gets me an enum to match against in this position.

The sad part is, I haven’t gotten the Media upload to work, so the project is on ice for a little while…

Thelie OP ,

That’s a good point, thanks. Maybe I’ll go without the if entirely, the (janky) code is still very much in flux ;)

Turbo , in Roses are red, violets are blue, everyone is using IPv6, why aren't you?

Because I can remember an IPv4 address and not a V6 address!

At least they could have added an extra octet to v4 instead of making it garbyremoved looking

technom ,

You are not expected to remember a v6 address - or even v4 for that matter. They are designed for machines. DNS is designed for humans.

Turbo ,

This is a good (and fair) point.

However they still look ugly and scary and intimidating :)

Fijxu , in Roses are red, violets are blue, everyone is using IPv6, why aren't you?

I wish my ISP had ipv6 support to be honest

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines