programming.dev

mastefetri, to memes in not this again

Jesus is chilling with his friends, some call them disciples, but that’s not really fair. They were the only ones who believed in him when times were rough, and he treasures that. They’re having a few beers, a few laughs, enjoying life.

Suddenly a voice calls out though space and time “Jesus, take the wheel” and an eldritch spell summons Jesus to a metal coffin, hurtling down a river made of stone at speeds which shouldn’t even be possible. Jesus can’t even believe what is happening. What the fuck, he screams as he desperately spins the wheel in his hands and flips over into a ditch.

Nightwind, to programmer_humor in Programming: The Horror Game

Knew a programmer that was near blind who only used magnifier on maximum zoom with his IDE. One of the best programmers I met, but his screen looked very much like that. Don’t know how he did it.

2deck,
@2deck@lemmy.world avatar

Programming happens in the mind. Whats on the screen is a pale and lifeless polaroid devoid of the moving, complex soul of real code.

Nightwind,

Well put, however I find code formatting itself has a shape, texture and smell. How the programmer weaves the patterns of formatting tells a lot about his mind and style.

2deck,
@2deck@lemmy.world avatar

Agreed; or their mind and style style.

Auto formatting is often too rigid for me and gets in the way of context driving the style.

fibojoly,

That feels like that scene in Amadeus, when Mozart dictates his music to Salieri.

fibojoly,

Albino? There was an albino in my IT and the poor dude would literally be like 4 inches from the screen at all times. I guess that must be pretty close to his experience, yeah.

locuester,

Yeah, I worked with an albino like that who used a handheld magnifying glass. It actually inspired me to write a magnifier application for windows (which didn’t have one at the time, this was in 2006). That then led me to write little windows apps every day for a month, which got a lot of attention.

Looboer, to programmer_humor in Manager: This task only takes 30 minutes. Why did it take you the whole day?

Just use What The Commit.

You can also create a git alias:

git config --global alias.yolo ‘!git add -A && git commit -m “$(curl --silent --fail whatthecommit.com/index.txt)”’

Now you can just type ‘git yolo’ to create a commit!

MajorHavoc,

Well that’s about half my commit messages that are going to be nonsense on weekends projects, now. Thank you!

ikidd,
@ikidd@lemmy.world avatar

Full send.

Olgratin_Magmatoe,

“Make Sure You Are Square With Your God Before Trying To Merge This”

jungle, (edited )

Thanks for that, I’ve been laughing like a little kid:

“hoo boy”

“lol”

“Become a programmer, they said. It’ll be fun, they said.”

I can feel those so well! :')

hypnotic_nerd,
@hypnotic_nerd@programming.dev avatar

Well such an informative reply! Thanks mate 👍

Blackout, (edited ) to memes in Appreciate all the content though
@Blackout@kbin.social avatar

He puts in 15 hours a day but I'm sure he's paid well.
moola

ummthatguy,
@ummthatguy@startrek.website avatar
AngryCommieKender,

What’s that from?

ummthatguy,
@ummthatguy@startrek.website avatar

Star Trek: Strange New Worlds. Well worth your time.

ULS, (edited )

Foreign karma pressure farm. …run by both Biden and Trump. It’s all the same bed that’s slept in.

prof, to programmer_humor in Infinite Loop
@prof@infosec.pub avatar

Recently switched jobs from maintaining a 15 year old Windows Forms .NET Framework legacy codebase.

At the new job we stick to Clean Architecture, use unit and integration tests, have a code generation tool, actually make nice use of generics and use dependency injection. Also agile processes, automatic build tools, whatever. The difference is night and day and I’m so glad my ex boss fired me because I told him he’s an asshole and his codebase is shit.

LeafOnTheWind,

My first job out of college I have been able to see a steady improvement in the codebase. A little while ago I had to go back to an old tag and was horrified with what it used to be and impressed how much it improved.

hypnotoad__, to memes in Appreciate all the content though
@hypnotoad__@lemmy.ml avatar

I dig the healthy discussion and desire to actuality have conversations.

JDubbleu, (edited )

100%. This isn’t a dig at all. I just noticed how often I’ve seen their comments and now I can’t not notice it.

A_Very_Big_Fan,

For me it’s Squid and that one guy with the Buc-ee’s pfp

hypnotoad__,
@hypnotoad__@lemmy.ml avatar

Hah I feel ya!

Hack3900, to programmer_humor in GTA 5 Java Coffee shop

The void function seems to return an int

infinitepcg,

I wonder how often someone walks in and tells them about the mistake. Do the baristas have a standard response?

aniki,

“Sorry, I only write vegan react…and python.”

KingJalopy,
@KingJalopy@lemm.ee avatar

It’s a video game so I’m guessing they do have a standard response

SzethFriendOfNimi,
@SzethFriendOfNimi@lemmy.world avatar

Yes, but maybe there’s some magic going on so that the lack of a type assigns some value that results in void?

gsfraley, (edited )

Oof, and there’s only ten lines of code, too. And they look very purposefully written out.

lichtmetzger, (edited ) to memes in Because customers don't need to easily filter away some stuff from their searches

Aliexpress search is just the worst in that regard. “Hey I want to buy microchip X123457” - “Sure, here are some other totally different chips and a few iPhone cases for you”.

Without site:aliexpress.com and search engines I would never find anything on there.

ICastFist,
@ICastFist@programming.dev avatar

Not to mention that it changes the actual results if you decide to use any of its shitty filters or even order by price. Like, if your search result had 4 pages and you order by price, suddenly it’s now 2 pages. My bet is shady assholery to fuck with sellers that aren’t paying enough, much like Amazon

jaybone, to memes in Reddit be like

Lol is this actually what’s going on over there now?

Is spez reading from the Musk playbook?

Will it be called xeddit.com next?

spiderman,

I thought twitter reverted that decision.

i_ben_fine,

Twitter seems to randomly choose which users can be viewed without an account.

porksoda,

They aren’t fully auth-gating the comments yet. You can view the first 5-8 top-level comments and 2-3 comments deep on each parent. Overall, I find myself spending probably 1/5 of the time on a thread that I used to.

EDIT - This is on the mobile browser view.

Hyperz,
@Hyperz@lemmy.world avatar

Overall, I find myself spending probably 1/5 of the time on a thread that I used to.

Same here. And when I do go there I don’t engage with it at all anymore. No posting comments, no posting threads, no up or down voting anything. On mobile I don’t use the site at all anymore since Boost for Lemmy got released. Fuck em.

lhamil64,

Occasionally I’ll go to a subreddit on mobile browser and half the time I can’t view it due to mature content. If I really care then I’ll go to old.reddit but often I’ll just back out.

perviouslyiner,

there’s a firefox extension which converts all links to old.

TWeaK, to memes in Reddit be like

old reddit still works. For now.

sooper_dooper_roofer,

this is one of those things like VLC media player, or even just hard drives: it’s hard to believe it still exists

it will 100% be removed within the next 5 years.

freebread,

5 years? Honestly, I give old reddit maybe 1 year left.

valek879,

I just bought 4 hard drives. They are the most cutest effective way of storing data for most people. I’m pretty sure tape is more expensive, if it’s not there are other issues like sequentially written data. Anyway, this is a dumb example and I don’t expect old reddit to last.

frezik,

I have a little theory that the hard drive market will collapse fast once SSDs become 2x the price per GB. My reasoning is that a lot of these setups for large data storage are using four drives on RAID10. With SSDs, those can become just two drives on RAID1 for the sake of redundancy; the speed advantage of adding RAID0 to the mix will be inconsequential. So they can cost twice as much when you’re buying half as many.

We’re not that far away from this point.

valek879,

Actually I would assume that most people with 3 or more drives are running some form of RAID 5.

With 4 drives and this structure I receive the capacity of 3 drives. The final drive is called the “parity” drive which keeps some kind of copy of the information on it. If one drive fails then I can replace it with a new drive and rebuild the data from parity. This is a long process that requires the data off the parity drive and the other two drives. But you can do this with any disk, from any other three disks.

It’s really cool. Sure there are speed benefits but the real kicker is the size of the pool. With current tech I can fairly reasonably get four 18TB drives SSD’s have a long way to go before they affordably reach that kind of capacity.

TacoNissan,

Awwww cute lil hard drives 🥺🥰

jivandabeast,

How is it hard to believe VLC or hard drives still exist? HDDs remain the most cost effective way to store large amounts of data and VLC is a widly popular open source media player that is often the default media player on linux systems

seitanic,
@seitanic@lemmy.sdf.org avatar

HDDs are only still around because SSDs are so expensive.

jivandabeast,

Exactly, ssds are expensive. Hence why it is not hard to believe that hard drives are still popular

Shinji_Ikari, to programmer_humor in GitHub Desktop or Git CLI?
@Shinji_Ikari@hexbear.net avatar

I really never understood why one would need a GUI for git except for visualizing branches.

I feel like I’m crazy seeing so many people using clicky buttons for tracking files. I need like 4 commands for 95% of what I do and the rest you look up.

You’re already programming! Just learn the tool!

And now there’s a github CLI tool? I hate to beat a dead horse but Microsoft pushing their extended version of an open source tool/protocol is literally the second step of their mantra.

idiocracy,

knowing how to program doesn’t mean u need to do things the hard way.

heck the whole point of programming is to make things easier and faster.

popcar2,

FWIW not everyone using source control is a programmer. I’ve seen artists in game dev using GUI tools to pull new changes and push their assets.

Shinji_Ikari,
@Shinji_Ikari@hexbear.net avatar

That’s fair, there’s plenty of uses for source control.

I was speaking from a programming context though, as this is a programming community.

hubobes,

Maybe not a GUI but using a TUI (lazygit) I am certain that I can do everything faster than you could ever do using the CLI. Tbf if a GUI Tool had the same shortcuts it would also be faster.

sloppy_diffuser,

I use LazyGit on the CLI for a “GUI-like” experience. I find it helps me make smaller more meaningful commits. If I’m working on a feature that enhances or fixes other modules in my repo to support, its trivial when done to make multiple clean commits out of the one feature that isolates the changes in functionality to individual commits instead of one medium commit.

On a large enough repo (e.g., monorepo), its a pain to do using git commands.

coloredgrayscale,

Checking the diff before commit, solve merge conflicts

Also if it’s well integrated into the IDE it feels less like using a separate tool. For 95% of what I do the ide/gui feels better (fetch, pull, push, commit, checkout, merge). Usually just 2-4 clicks and no need to type the branch name (ticket number and then some)

For Reflog, reset I use the terminal.

If I had to start github desktop or another seperate gui I would use the terminal that’s integrated into the IDE.

OpenPassageways,

I primarily use GitHub CLI to interact with the GitHub API, not Git. I don’t really see it as an extension of the Git CLI, which I use much more frequently. Everything you can do with it can also be done through their REST API.

I use it for things that aren’t really git features, like:

Syncing repository admin, pull request, and branch control settings across multiple repositories

Checking the status of self-hosted actions runners

Creating pull requests, auto-approving them

Shinji_Ikari,
@Shinji_Ikari@hexbear.net avatar

Thanks for the explanation, that does sound useful.

firelizzard,
@firelizzard@programming.dev avatar

Do you use the command line for everything? Do you edit with vim, view diffs with git diff, browse the web with links or lynx?

GUIs are useful tools. I’m happy with VSCode’s git integration. It’s just what I need for basic stuff like staging files and committing. I use the CLI whenever I want to do something like rebasing because I can type that command faster than I can figure out the GUI, but it would be stupid to artificially force myself to use the CLI for everything because of some kind of principal.

Shinji_Ikari,
@Shinji_Ikari@hexbear.net avatar

Yeah I actually just prefer the command line, I’ve never had to force myself to use it. I even tried using VSC for a bit recently but i couldn’t get myself to like it. I just use nvim with some plugins in a tmux session now and its productive as hell.

Of course I don’t browse the web with the command line. For merging branches, I always merge main into the working branch first, check conflict files, and go through the file finding the diffs and resolving them. I’ve used merge tools before that were sorta nice but I had my own issues with them.

Maybe it’s the type of programming I do. I don’t do any web stuff, so file count is down. For larger code bases I keep a non editor terminal up and will grep -re for word/phrase searching, find to look for specific files, etc. I’ll occasionally use an IDE, typically eclipse based because embedded, but I don’t find myself missing the features they add.

firelizzard,
@firelizzard@programming.dev avatar

Of course I don’t browse the web with the command line.

That’s my point. Browsing the web with a command line tool is obnoxious - you use a GUI for tasks that you find easier/more pleasant to do with a GUI. The difference is where that line is. When I’m reviewing what work I’ve done and checking through my code for debugging statements and other cruft I don’t want to push, I prefer to have a nice tree view of my change set where I can click on an item, see what I’ve changed, select lines and stage them, select other lines and revert them, etc. I could do all of that with command line tools (though not that many have mouse support) but I already know how to do exactly what I want with VSC so why would I use anything else?

You’re already programming! Just learn the tool!

If someone is incapable of learning the tool, that’s an issue if they’re a developer. But your statement implies that everyone should use the CLI for everything. My point is that it’s a matter of preference. The CLI is not superior and GUIs aren’t superior. They’re both just tools and if you can get your job done quickly and efficiently, that’s all that should matter.

ClamDrinker, to programmer_humor in Fitbit Clock Face

Finally. A human readable format. And pretty too.

Dkarma,

Jesus I hope this is a joke. I hate json 🙄

damnfinecoffee,

yeah for real, let’s see an xml one instead

gornius,

Ah yes, perfect data format, where markup takes more space than the actual data.

curiousaur,

Would you prefer Yaml?

OsrsNeedsF2P, to programmer_humor in Release notes of an open source app. Someone is pretty mad at Canonical for Snap

Canonical could have done a lot better with the explanation message here. The idea is to push apps towards XDG compliance and the use of things like Portals.

That said, unlike Wayland, portals really aren’t there yet from a UX perspective, especially for an app that is heavy on file transfers.I prefer what Flathub does where it puts a nice green checker beside your app for XDG compliance - it’s an encouragement, but not an enforcement.

lung, to programmer_humor in ifn't
@lung@lemmy.world avatar

ifn’t(!valid) halp?

Deconceptualist,

I believe that resolves the same as

ain’t!(!untrue)

RagingHungryPanda,

ain’t (nothin)

atomicorange, to memes in 6÷2(1+2)

Great write up! The answer is use parentheses or fractions and stop wasting everyone’s time 😅

wischi,

That’s actually a great way of putting it 🤣

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 23450184 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 174

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6307840 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 32