1115
top 50 comments
sorted by: hot top controversial new old
[-] mogoh@lemmy.ml 79 points 2 weeks ago

You can use a JavaScript to assembly converter so you get the same pain on your personal projects.

[-] kautau@lemmy.world 22 points 2 weeks ago

Tell me more, I’ve almost achieved webasm

[-] AeonFelis@lemmy.world 15 points 2 weeks ago

Wouldn't that just be a JavaScript compiler?

load more comments (1 replies)
[-] chellomere@lemmy.world 6 points 2 weeks ago

Is there a 6502 backend?

[-] Dirk@lemmy.ml 78 points 2 weeks ago

The difference is: One you do for fun and one you're told to do for money.

[-] AlolanYoda@mander.xyz 64 points 2 weeks ago

Amazing how you can work 8 hours without it ever stopping being 1 am. Human beings really are amazing when they are motivated

Motivation: AKA, Chronic Insomnia.

[-] Dirk@lemmy.ml 11 points 2 weeks ago

Sometimes programming is my zone.

[-] Deceptichum@kbin.social 8 points 2 weeks ago

Nah, being engrossed in something you’re enjoying can consume time like nothing.

Same as the “just one more” turn phenomenon with games.

load more comments (1 replies)
[-] Rednax@lemmy.world 56 points 2 weeks ago

But I love coding at work?!

The problem is that every living entity in a 10 kilometer radius around me, seems to be hellbent on getting me to do anything but coding. Refining work estimates, fixing badge access rights, fixing a driver issue, telling people that you cannot do 1000 things at the same time, teaching the new developer how shit (doesn't) works, mangling Jenkins into a functional state again, explaning that thing I did a year ago but is only now used (it was very high prio a year ago), writing documentation that noboby ever reads, progress meetings, specialty group meetings, knowledge sharing meetings, company wide meetings, etc.

[-] Freesoftwareenjoyer@lemmy.world 10 points 2 weeks ago

You can always write code for Free Software projects in your free time and contribute to a good cause.

[-] pineapple_santa@feddit.de 4 points 2 weeks ago

Just say no. Decline meeting requests. Set your own priorities. It’s not like they can fire the guy who operates the CI and apparently the physical security systems as well while still writing code for high priority projects.

load more comments (3 replies)
[-] ExLisper@linux.community 26 points 2 weeks ago

Yep, programming is fun but working as a programmer not so much. For me writing software is a creative activity. It's fun to come up with problems and find solutions for them. In my personal projects I decide what problem I want to solve, choose the technology I think will be fun to solve it in and then come up with a solution I like.

At work you are usually handed a problem you don't care about (we're decommissioning X, you don't have to know why, just change everything to use Y), the solution is described in detail by someone else and you just have to turn it into some code using 5-10 years old stack.

Fortunately at my current job I mostly do projects without much technical oversight (proof-of-concept type project) so I can choose how I want to do then. I dislike the company culture but I know that moving somewhere else would mean going back to boring coding agian.

[-] Flipper@feddit.de 6 points 2 weeks ago

Where I work there is a hardware test, where the voltage needs to be changed on the power supply like 8 times. Currently it's done by hand.

I gave that to a student with the description that I want that automated, let production show you how the test is done. If you have other ideas how to improve it, just do it.

This was 8 working days ago for the student. She still hasn't started, because she wants an exact description what needs to be done. If you want me to write down how exactly everything needs to be done, I might just write it myself in python and be done with it.

[-] PM_ME_VINTAGE_30S@lemmy.sdf.org 21 points 2 weeks ago

What are you doing in assembly?

[-] herrvogel@lemmy.world 66 points 2 weeks ago

Manually optimizing the code I wrote in C, so that it runs noticeably slower and has all sorts of stupid bugs that weren't there before. All in a good night's work.

[-] Coreidan@lemmy.world 7 points 2 weeks ago

That doesn’t sound like optimization.

[-] Freesoftwareenjoyer@lemmy.world 17 points 2 weeks ago

No worries, he can optimize it later.

[-] TheGreenGolem@lemmy.dbzer0.com 13 points 2 weeks ago

Put a refactor ticket in the backlog. We'll get to it eventually, right?

[-] Freesoftwareenjoyer@lemmy.world 13 points 2 weeks ago

// TODO: fix this code

[-] herrvogel@lemmy.world 9 points 2 weeks ago

To you, maybe.

[-] Hellstormy@lemmy.world 5 points 2 weeks ago

It's just reverse optimizing!

[-] marcos@lemmy.world 6 points 2 weeks ago

Well, I guess it's either writing a device driver or that.

And the device driver will always end-up with most code in C or Rust.

[-] ikidd@lemmy.world 40 points 2 weeks ago
[-] guiguinofake@sh.itjust.works 7 points 2 weeks ago

Pretending I was born 40 years earlier

[-] jol@discuss.tchncs.de 6 points 2 weeks ago

Assembling.

load more comments (1 replies)
[-] Gork@lemm.ee 18 points 2 weeks ago

At least with your assembly code it'll go brrrrrrrt because of how fast it'll be.

[-] noddy@beehaw.org 24 points 2 weeks ago

It will go brrrrrrrt¤gdføTJwrgt65&<)5½$¥[[¥½{2ahgfh Segmentation fault (core dumped)

[-] 30p87@feddit.de 10 points 2 weeks ago

If you know that you do. What you probably do not. A proper C/C++ compiler (gcc) will almost always produce better/more optimized ASM than a human ever could.

[-] qaz@lemmy.world 10 points 2 weeks ago

Assuming it actually works

[-] Hellstormy@lemmy.world 9 points 2 weeks ago

I always have problems with assembly. Especially after being at Ikea.

load more comments (1 replies)
[-] Orygin@sh.itjust.works 5 points 2 weeks ago

My assembly code only goes brt :(

[-] UnRelatedBurner@sh.itjust.works 7 points 2 weeks ago

it reaches 't' from 'b' with a lot less iterations of 'r'. It seems to me that you have a more optimized version. :)

load more comments (1 replies)
[-] SuperSpruce@lemmy.zip 11 points 2 weeks ago

Why is this literally the opposite for me?

I have a class where I write in Assembly but instead I'm working on my personal HTML/CSS/JS project.

[-] meliaesc@lemmy.world 39 points 2 weeks ago* (last edited 2 weeks ago)

It's not the language that matters, it's the obligation vs passion.

[-] intrepid@lemmy.ca 5 points 2 weeks ago* (last edited 2 weeks ago)

The result is still the same, isn't it? (in language you like vs in language you're forced to use)

load more comments (2 replies)
[-] Commiunism@lemmy.wtf 10 points 2 weeks ago

Wonder if that's the "alienation of labor" thing Marx was talking about

[-] aubertlone@lemmy.world 7 points 2 weeks ago

The funny thing is, both of these are JavaScript for me.

I mean I guess TypeScript if I'm doing coding for work.

[-] InputZero@lemmy.ml 6 points 2 weeks ago

My first job right out of college I was writing assembly for some epically old industrial equipment. That shit runs on its own language that was only ever used on that piece of equipment. Usually x86 but with some wacky modifications. There's no compiler for that, just a manual the size of a textbook and a million chicken scratch notes in it that's half covered in grease. I'm so glad I don't do that anymore.

[-] jaybone@lemmy.world 6 points 2 weeks ago

That sounds like a nightmare.

[-] jol@discuss.tchncs.de 3 points 2 weeks ago

Same. I participate on web game jams for fun.

[-] Comradesexual@lemmygrad.ml 6 points 2 weeks ago

Unpaid "breaks" aren't breaks. They should be illegal.

[-] lorty@lemmygrad.ml 4 points 2 weeks ago

I love coding at work, unfortunately 90% of what I do is not coding.

[-] xilliah@beehaw.org 4 points 2 weeks ago

I like my coding job as long as I have the space to do what I need to do. Without that I just get stressed out and way less productive. The older I get the better I am at setting boundaries and finding the right kind of jobs.

load more comments
view more: next ›
this post was submitted on 12 Feb 2024
1115 points (99.0% liked)

Programmer Humor

29919 readers
1295 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS