[-] Buttons@programming.dev 70 points 1 week 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.

51
submitted 3 weeks 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 1 month 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 2 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.

16
[-] Buttons@programming.dev 67 points 3 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?"

388
submitted 4 months ago by Buttons@programming.dev to c/memes@lemmy.ml
[-] Buttons@programming.dev 75 points 5 months ago* (last edited 5 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?"

62
Can anyone relate? (programming.dev)
[-] Buttons@programming.dev 66 points 6 months ago

The Colorado lower court also found it was an insurrection, but that an insurrection didn't disqualify a person from running for President (because of some very specific wording in the constitution).

So both sides in the case appealed and now here we are.

[-] Buttons@programming.dev 72 points 7 months ago* (last edited 7 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 55 points 9 months ago* (last edited 9 months ago)

I want to make a short film / animation where aliens are approaching earth, the only thing we know about the aliens is that they plan to destroy all life and replace it with their own twisted creation. A few minutes of typical story follows, heroes assemble, go to fight, etc. The heroes lose and the ending scene shows that the aliens have succeeded and replaced all the diverse life on Earth with a perfectly manicured lawn that covers the entire planet. A biological wasteland.

[-] Buttons@programming.dev 65 points 9 months ago* (last edited 9 months ago)

True democracy would be filling at least one branch of government with randomly selected citizens. Career politicians are psychopaths and don't represent us.

[-] Buttons@programming.dev 68 points 11 months ago* (last edited 11 months 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 114 points 11 months 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.

1

I cannot reply to the following comment. I have tried a dozen times over the last couple hours. Anyone else able to?

https://programming.dev/comment/185004

7
11
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.

178
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?

15
85
9
view more: next ›

Buttons

joined 1 year ago