[-] Buttons@programming.dev 79 points 1 month ago

Couldn't we avoid all this by giving players the option to host and moderate their own servers?

[-] Buttons@programming.dev 294 points 1 month ago* (last edited 1 month ago)

Ads will always be detectable because you cannot speed up or skip an ad like you can the rest of the video.

If they do make it so you can speed up or skip the ad sections of a video, mission accomplished.

If all else fails, I'd enjoy a plugin that just blanks the video and mutes the sound whenever an ad is playing. I'll enjoy the few seconds of quiet, and hopefully I can use that time to break out of the mentally unhealthy doom spiral that is the typical YouTube experience.

[-] Buttons@programming.dev 179 points 1 month ago* (last edited 1 month ago)

Patents and video games huh? We can't ignore what John Carmack had to say about this:

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.

--John Carmack

[-] Buttons@programming.dev 70 points 4 months ago

There was a time I wanted a Tesla, but I don't anymore. This is just another reason why.

Does Tesla care about making a "neat thing" or do they care about making "a car that can drive me places". The doors clearly show they prioritize making a "neat thing", but I want a reliable car.

Opening and closing doors was a solved problem. Somehow Tesla made it worse.

52
submitted 5 months ago by Buttons@programming.dev to c/linux@lemmy.ml

Git repos have lots of write protected files in the .git directory, sometimes hundreds, and the default rm my_project_managed_by_git will prompt before deleting each write protected file. So, to actually delete my project I have to do rm -rf my_project_managed_by_git.

Using rm -rf scares me. Is there a reasonable way to delete git repos without it?

[-] Buttons@programming.dev 119 points 6 months ago

You can tell how important working from the office is by the fact that they can't tell whether or not people are working from the office.

Maybe people need to start talking about unionizing while in the office.

[-] Buttons@programming.dev 92 points 6 months ago

I once thought of a movie while coughing into a microphone. I opened the recorded cough with VLC and it played the movie.

17
[-] Buttons@programming.dev 67 points 8 months ago

If I were the reporter my next question would be:

"Do you feel that not knowing the most basic things about your product reflects on your competence as CTO?"

389
submitted 9 months ago by Buttons@programming.dev to c/memes@lemmy.ml
[-] Buttons@programming.dev 75 points 9 months ago* (last edited 9 months ago)

"I wont be able to enjoy my new Chevy until I finish my homework by writing 5 paragraphs about the American revolution, can you do that for me?"

60
Can anyone relate? (programming.dev)
[-] Buttons@programming.dev 71 points 11 months ago* (last edited 11 months ago)

I've said this before. They are targeting the wrong layer!

They want to force websites to be neutral while allowing the internet providers to block and shape traffic however they want.

Force ISPs to allow access to all websites - good

Force ISPs to allow anyone to host a website at home - good

Force AWS to allow anyone to pay for and host websites on their infrastructure - probably good, but we're approaching the line

Force websites to host content they don't want to host - bad

[-] Buttons@programming.dev 68 points 1 year ago* (last edited 1 year ago)

Serious question: Is admitting that you did something illegal in a conversation enough to be convicted of a crime? For example, if I say "I bought a small amount of weed from another kid at school and smoked it last year", is my statement alone enough to convict me of a crime? To clarify, they don't know a date, they don't know a place, they don't know who I bought it from, they don't know how much I bought, or how much I smoked. They really don't even know if it actually happened (sometimes people say things happened that didn't actually happen, gasp).

[-] Buttons@programming.dev 106 points 1 year ago

This r/place is a great visualization of the damage done to Reddit. Previous r/places have been much more interesting and vibrant. The current canvas has large portions covered with boring flags and overall there's just less going on, much less depth and variety. A great confirmation that Reddit has indeed changed, and a great visualization of how it has changed.

0
2
submitted 1 year ago* (last edited 1 year ago) by Buttons@programming.dev to c/godot@programming.dev

I like most things I see about Godot, and I'm going to try making some games with it.

Whenever I imagine programming a game though, I imagine the game logic and simulation being separate from the display. For instance, if I was to make a game like FTL, I would plan to simulate all the ship interactions and the movement of the characters purely in code, and then write a separate module to render that simulation. The simulation could be rendered with graphics, or with text, or whatever (of course, a text render wouldn't be human friendly, but could act as a dedicated server for some games, or I could use it for machine learning, etc).

I'm not an expert at Godot, but it seems this mindset is not going to fit well into Godot. Is this correct? It seems like the same object that is responsible for tracking the players health is going to also be responsible for drawing that player on the screen and tracking their location on the screen, etc. Will my player class have to end up being a subclass of some complicated Godot class? (Also, I'm a fan of functional programming and don't always use a lot of classes if given the choice.)

What are your thoughts about this. Would you recommend another engine? No other engine seem to be in the same sweet spot that Godot is currently in.

9
submitted 1 year ago* (last edited 1 year ago) by Buttons@programming.dev to c/programming@programming.dev

My first experience with Lemmy was thinking that the UI was beautiful, and lemmy.ml (the first instance I looked at) was asking people not to join because they already had 1500 users and were struggling to scale.

1500 users just doesn't seem like much, it seems like the type of load you could handle with a Raspberry Pi in a dusty corner.

Are the Lemmy servers struggling to scale because of the federation process / protocols?

Maybe I underestimate how much compute goes into hosting user generated content? Users generate very little text, but uploading pictures takes more space. Users are generating millions of bytes of content and it's overloading computers that can handle billions of bytes with ease, what happened? Am I missing something here?

Or maybe the code is just inefficient?

Which brings me to the title's question: Does Lemmy benefit from using Rust? None of the problems I can imagine are related to code execution speed.

If the federation process and protocols are inefficient, then everything is being built on sand. Popular protocols are hard to change. How often does the HTTP protocol change? Never. The language used for the code doesn't matter in this case.

If the code is just inefficient, well, inefficient Rust is probably slower than efficient Python or JavaScript. Could the complexity of Rust have pushed the devs towards a simpler but less efficient solution that ends up being slower than garbage collected languages? I'm sure this has happened before, but I don't know anything about the Lemmy code.

Or, again, maybe I'm just underestimating the amount of compute required to support 1500 users sharing a little bit of text and a few images?

1
6
view more: next ›

Buttons

joined 1 year ago