Details
Joined devRant on 10/21/2024
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Hello, any assembly developers here ? It's so hard, even for a simple adder ! I spent half day yesterday to code this :
```6502 assembly
; Header
.setcpu "65C02"
.smart on
.autoimport on
.debuginfo off
.import _printf
.import pushax
.export _main
.segment "RODATA"
msg:
.byte $54,$68,$65,$20,$72,$65,$73,$75,$6C,$74,$20,$69,$73,$3A,$20,$25 ; The result is: %
.byte $64,$0A,$00 ; d
.segment "CODE"
.segment "CODE"
.proc _main: near
lda #32
sta num1
lda #32
sta num2
; Perform the addition
lda num1
clc
adc num2
sta resn
; Print
lda #<(msg)
ldx #>(msg)
jsr pushax
ldx #$00
lda resn
jsr pushax
ldy #$04
jsr _printf
; End of program
rts
.endproc
.segment "BSS"
num1: .res 1 ; Reserve a byte for the first number
num2: .res 1
resn: .res 1
; Build and run:
; cl65 -t sim65c02 -o adder.prg adder.asm
; sim65 adder.prg
; Expected output:
; The result is: 64
```
Emulate it with sim65. Guys it's hard !12 -
Nobody loves me enough to show me more concrete examples of places there is nothing to be apprehensive of6
-
My manager is complaining I'm committing broken, incomplete stuff.
Before my manager was complaining I didn't commit enough.
My manager is an asshole.10 -
New guy gets a task: "Add a thing to the thing". One liner. Simple enough.
Commits code written by chatGPT to an unrelated branch, proudly screenshots the resulting screen and posts to work chat - "My first task!! What is next?"
I don't think I want to work in this field anymore.6 -
Was over at some friends last night. Their 3 year old was playing with a toy that I 3D printed for her first birthday.
Good feeling, day made9 -
The third most significant world altering scenario after ww3 and climate catastrophe is deglobalization, with countries closing their borders and moving production inland. I analyzed everything, and France seems to be the best place to live if it happens. Here’s why:
- It’s a democracy with strong culture of political opposition
- Strong economy
- It produces its own military equipment: Leclerc tanks, Dassault Rafale/Mirage 2000 fighter jets (and others), Mistral battle ships
- It has a very strong army, including the infamous foreign legion
- It can make its own passenger jets
- It produces a lot of food — enough to sustain itself many times over
- Great climate diversity
- Sea
- Nuclear energy. When gas/oil-exporting states like russia and middle eastern countries stop exporting, nuclear energy will make all the difference in the world.
Every other country that can compete in those categories fail miserably in one of them:
- Germany is a good all-rounder as well, but is too dependent on importing fossil fuels
- USA has the strongest economy and military, but it’s very divided
- China has a lot of resources, including production and nuclear energy, but it’s a dictatorship
- Russia is a dictatorship too, and a disfunctional one. It’s bad at food production too
- Nordic states are way too cold, and they get too few sunny days — keeping your body healthy might be a challenge. Also, no growing food there
Am I missing something?39 -
I never thought I'd rant about this. But here I am.
I am making too much money. That's my issue.
(For any Indians here, I am making 48 LPA take-home salary freelancing this year)
But this is costing me my daily life now. I am literally glued to the screen from 9 AM to 12 midnight every day. I do mean everyday, 7 days a week.
It's already March. I never even felt Jan and Feb passing me by. But yeah, I had to air this out. My chest feels lighter now.2 -
400 years ago some racist pricks decide to build the CBD at the edge of the fucking continent. Now I must sit in traffic11
-
On the day of my birthday, both Skype and Boris Spassky, the chess grandmaster world champion, died. Our metamodernist timeline is so fucking weird2
-
Saw someone complaining not enough dev rants.
I have a coworker who's a good friend. Got him this job. He has good output, smart kid, but our coding styles clash.
I believe in DevEx (since we write internal tools). He sees it as premature optimization.
Example:
He won't validate data from input we don't control because "it shouldn't change that much".
Results:
He codes fast, but delivers shit that breaks in production and others (me) have to fix.
It's frustrating.4 -
So uh, I haven't been here in a while.
Are there actual rants about dev topics anywhere or is it all schizoposting, AI and politics..?7 -
I'm looking for a decent ai model that can do image detection, classification, whatever so I can organize the GBs of memes I've collected. I want to do this all locally if possible.6
-
today, my whore ex blonde gf wants me to fuck her, but also my new hot brunette gf wants me to fuck her, so I'll have to be prepared and fuck 2 bitches in 1 day. gonna be a tough day but I'll keep you updated how it went! ping me7
-
Trying to figure out how to link this to dev...
If you like my Javascript posts you are awesome.
If you don't like my Javascript posts you are welcome.8 -
The most unrealistic deadline I got was the project must complete within 16 hours.
Setting: Freelance
Did I accept this? No
Client budget: 10 usd
What is the project? A iOS app which is the a combination of all LLM into one, like a clone of Poe. The API key must use my own because client refused to pay. I negotiate about the project, explain to him why this project, deadline and the budget is not aligned He said " Now everything can be done by using AI, why are yoh cheating me, i will report you" ( I was like report what?) I rejected the gig, then day's later my email junk folder is occupied with racist content and insulting me.
So yea. This is the whole story. This project is doable, just a wrapper. I don't mind if client will pay for all the API , the pay and dealings is logical.37 -
Turned 31 three days ago.
My **dad** was convinced that I was turning 30 instead lmao.
I had to do the math for him, he was questioning the fabric of reality for a second. Like baba 2025 sub 1994 eq 31, ok.
so anyway age--;14 -
Every company seems to have one team lead who is super cool because he calls his name after Warhammer 40K. He is also the one who never turns on webcam during meetings and never smiles and he always so serious and cynical.
-
Angular is a pile of dog shit.
Making web dev unbearable and harder since 2010 (or 2016 if you ignore AngularJS).
Fuck you, Miško Hevery5 -
I wanted to do electronic music since I was a teenager. But the first time I did something was in LMMS. I just learned how to do the software, and did some sort of shitty techno. It was kinda weird tbh. The software is still quite rudimentary and there was a lot of stuff I couldn't do. It's basically based on FL Studio. A friend of mine showed me, he was doing something more like mental tribe tekno.
Anyway one day in a tent town full of weird german people in Portugal (where I tried surf for the first time), some dude showed me Ableton. I liked the grid view.
So I took bitwig (an ableton clone), and with the right script and one of those 8x8 pad launchpad, you could record and loop things easy. So now I need this feature. I wish lmms had it and I'm planning to implement it someday, but in the meanwhile, I'm using bitwig.
But noway I'm paying 200 euros everyyear. So I downloaded a crack. The crack is in flatpak.
But it doesn't have good synth. Zynaddsubfx is the synth I was using in lmms and it's pretty decent, with the right preset it can generate out-of-this-world sounds. But the issue is that it needs some library.
Not that big on the linking part of binary code, but asaik usually, the vst (so a .so or a .dll) is linked to libraries directly. But no, not here, because flatpak is sandboxing the /usr/lib directory. So even though I installed the right library from the AUR (arch repos), it couldn't see it.
So I was stuck. I couldn't use the synth, which blocked me in my artistic energy. It was bad after I lost my laptop but I'm trying to get back into it. And I found myself limited by the samples to be honest, I want to compose stuff and sample that instead. Maybe sample some music directly (now that I can use IA to separate tracks in a song that's way easier). But I was stuck, I couldn't have the synth I wanted in my DAW.
But then I found the solution. It's very simple. Guess what it is.4 -
Update on my shitty manager.
He's been in HR training and leaving me the fuck alone. So it's a win so far.7