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
Search - "pointer"
-
School time, programming class:
Girl: Hey, Can you help me?
Me: Sure, what's up?
G: I have an error but I don't know why
M: *looks at error stack trace* You're missing a semicolon in line 133 *puts comma, run... 27 more errors* Well, you have more issues up there, why don't you try to fix them?
G: Oh, Ok, thanks
-- 1 hour later --
G: Hey, can you come? I already fixed the other issues but I still have one I can't fix
M: *checks code, same mistake I fixed, missing semicolon, same line* Why did you erase the semicolon?
G: Oh, because if I erase it, I only have 1 error, but if I leave it, I have 27 so....
M: *turn around, walk away*19 -
Normal devRant user:
- Look, the algo it's awesome, it matches similar content posts, it's so funny!
Meanwhile at devRant Headquarters:
trogus: When are you telling them?
dfox: Ignorance is bliss, my friend
trogus: Well, at least we know the random number generator it's not coded by Sony though, otherwise they would suspect10 -
Teaching a friend C:
"Thanks for giving me all the... ahem. Pointers."
Waits 2 Minutes
"But like seriously what is a pointer again?"8 -
At our first programming course at uni (it was in C), a student asks in class:
Student: what is a pointer?
Teacher: i don't know, i only know Java.
How the hell did the poor guy end up teaching C then?!6 -
If you want to improve, be with people that are already better than you.
That's what I do, and so far so good.8 -
Internship has taught me that as long as you know one good language then you can do anything in other language with a little bit help from online.
Unless it's c++.
c++ has pointer.
That means you're fucked.
That also means you're in for a lot of fun.9 -
Do you have a spare usb phone cable?
I have but I'm using it to charge my phone
Do you have a spare laser pointer for my presentation?
Sorry, I don't
Do you have a spare mouse?
No :)
Sometimes things become a little weird
Do you have a spare keyboard?
No sorry. :/
Do you have a spare monitor?
:/
Do you have a spare computer?
what?
Do you have a spare mac?
>:(
Do you have two spare computers and one printer for each? Would be nice for the conference that we are going to hold tomorrow if someone need to print.
What's wrong with you people. I'm just a developer, not a fucking warehouse9 -
One of the morons said today that we should use C because you don't need to "apply logic" in Python. Everything is automated in python. Fucking morons............
It doesn't ends here. One of the "9 pointers gang" student raised an objection. I was happy untill he said that there is no boolean datatype in C. I literally shouted "Shut up, morons. There is a whole fucking library dedicated to it." in a class of 60 students.
Don't know how I survived 3 years here. And more importantly, don't know how will I survive my next year.
P.S.: the 9 pointer guy who raised the objection, once asked me whether chrome is developed and maintained by Google?15 -
<rant data-type="corny">
My Gf of 3 years left me for some douche. Thus said, she "removed" her feelings before kissing him. WTF! I didn't know feeling came like dependencies...
</rant>9 -
CHILD: But how can Santa deliver toys to every little boy and girl on his list in one night?
MEH: (laughs) It's quite simple. The items on Santa's list are called blocks, and each block in his "blockchain" typically contains a hash pointer, a timestamp, and transaction data...6 -
if you were code, you wouldn't compile
I wouldn't catch you if you were the last exception in my code
your brain is so tiny, indexing it would make no significant performance gain
you are so embarrassing, I can only go out with you in SSL
if you were a pointer I'd move to java2 -
What is a pointer?
A descriptive and ELI5 answer found on Reddit:
You have a house.
When you’re outside, and you want to go home, you don’t make another house right where you are, because it’s too big for you to carry around or take apart.
So you carry a piece of paper or store on your phone the address of your house. Now you always know exactly how to find your house so that you can go home.
The piece of paper or your phone is a variable.
The variable contains an address (a reference) to your house.
You can make a copy of this piece of paper and hand it out to your friends when you invite them over, instead of building each friend a copy of your house.
You can have an address book filled with pages, where each page is an address (i.e., an array of pointers). Each page you turn (each index you increment) goes to the directly next address-containing variable.
Now if you cut the address book in half along its height, and then attach the lower half behind the upper half, then you have a book with smaller pages but more pages.
You can store phone numbers in this, and even if it’s the same total size, you have double the number of pages and double the number of phone numbers (if you store one number on each page).
Now, since the pointers to home-addresses are different from pointers to phone-numbers, turning the page in an address book (increment pointer by 1) moves forward by one address.
But turning the page in the phone book (incrementing pointer by 1) leads you to the next phone number, even if you technically turned only “half a page”.
That’s how pointer arithmetic works.
Source: https://reddit.com/r/...8 -
Should I ever design a programming language, I'll aim for the golden middle course and let arrays start at 0.5.7
-
When you introduce your girlfriend to your Best friend and after some time they start dating each other and you are unaware of the situation but after sometime you get to know about their relationship , now you're really pissed and want to take revenge, then you remember that the girl's parents are strict af and you know that they won't tolerate that their daughter is in relationship
so, you tell her parents about her and
they decide to send her to a different school located in another city
The End
tl;dr
When two pointers are pointing to a same memory location then if any one of them deallocates the memory, the other pointer becomes a dangling pointer
:v6 -
LEARN THE FUCKING WORDS!
I know that English isn't the native language of my country, but for fucks sake, if I'm telling you the right way to say/write it, remember it!
It's called ROM not ROOM
It's called Mod not Mood
Am I good with Custom ROM's? Yeah
Am I good with Custom Rooms? No, I'm not a fucking interior designer
Am I enjoying Moto Mods? Of course
Am I enjoying Moto Moods? Vruum Vruum bitch.16 -
Applying to a school for CS major, and they can't even fix their website to not have a null pointer exception...
Do I really want to go here?13 -
A fly landed on my screen. I spend the last hour to try and train it to follow my mouse pointer xD1
-
So im here with this lovely girl on my chest and all i can think of is why i got a Null Pointer exception and why in the fudge im lying here with this woman instead of fixing that.
Oh, maybe its because i spend 27 hours of the available 24 hours in a freakin day writing code whilst struggling to give her attention. She deserves this moment. She's my best Fragment...Friend, she's my best Friend.10 -
Once upon a time as a developer for Palm handhelds I wrote an application in C which had to print via a Bluetooth printer.
When connected by wire everything was perfect, switching to BT it kept crashing for weeks without me finding the source of the problem.
Then came the day of my companies summer party. I've been the last guy to sit in front of the PC, investigating my problem, when at about 9 PM my boss came and told me, I should grab something to eat. So I went down, drank three beer and got back to work.
At about 9:45 PM the damn wrong * was replaced by the correct & and everything was fine.
PointerIssuesSolvedByBeer++; -
Google Duplex: "Hi! Uhm.. I'd like to make a dinner reservation for 3."
Restaurant: "Sure! What time would you like?"
Google Duplex: "It's, uhh.. for tomorrow May the 11th at NULL POINTER EXCEPTION."
Restaurant: "Internal Exception: Invalid parameter not satisfying: time"
Btw, hi devRant, this is my first post!!4 -
Class: And this is how you do a Hello World program in C.
Exam: Explain where this pointer of a pointer of a pointer of a pointer is pointing1 -
FUCK! agshdklgdahgisdahl;k!
I just spent 45 FUCKING MINUTES debugging try to figure out WHY THE HELL a function that is supposed to return either a pointer to a valid object OR ZERO if a valid object is not found, was RETURNING FUCKING EIGHT!
Then I saw it... I typed:
nodeList[index];
instead of:
return nodeList[index];
It took me looking at a stack trace and a disassembly of the function to realize this.
Can't wait for this three-day weekend...18 -
// LEARN TO READ, FOR FUCKS SAKE
I've been working with a teacher developing a web application for some business that rents stuff.
Long story short, he's so damn incompetent! I mean, for fucks sake, he sent me this picture asking me "what to do"... dude, just fucking read, it says that the VM will capture input and to escape just press right control!!!
I can't believe this guy is a CompSci Engineer...15 -
YOU FUCKING PIECE OF SHIT!
I have nothing against teaching and showing someone starting in this field how to do things but FOR FUCKS SAKE, PUT INTEREST IN IT, I WON'T DO YOUR FUCKING JOB, I HAVE MY JOB, YO DO YOURS.
Jesus...fucking Christ, these kind of people always get on my nerves.2 -
FOR FUCKS SAKE, CLEAN YOUR KEYBOARD!
Today we had some presentations on a class, I was near the projector, so I volunteered to control the presentation flow.
Fast forward three teams, arrives this guy, lets his laptop and and I open it... SMELLS, FUCKING SMELLS BAD. Add to that grease and dirt all over the keyboard... I just pressed the right arrow key with the bare tip of my finger...
It's not that hard to keep your workstation clean. Most of all, odourless.4 -
You fucking son of a bitch!
First you make me do a project in two fucking months, and that's a fucking job-load for only one dev to deliver a SPA with payments and whatsoever.
Then you pushed me to accelerate deployment date and there I am, getting tired and using time I don't have.
But oh no, you prick, that wasn't enough, you had to do just one thing. YOU HAD TO DO ONE FUCKING THING!
What's that? Oh, sorry, I thought I overheard that you wanted to accept online payments but YOU'RE NOT FUCKING SIGNED UP, YOUR BUSSINESS IS NOT LEGAL UNTIL YOU REGISTER IT.
Motherfucker, I can't do anything, you better fucking register your bussiness if you want this to work the way it's supposed to do. -
TL;DR — Never ever use work chat to gossip about work. NEVER.
—
Just some minutes ago, my boss asked a mate to move aside from his computer and began checking out some docs.
By the tone he used, I assumed something was wrong, I stood from my workplace and went to grab something from the kitchen. Came back and he was looking through a thread in slack between a mate and another work mate.
I thought he was going to send something to himself but then he asked me if I could help printing out the screen. Took a quick look and they were talking shit about him.
Now, it'll be an awkward silence until I go home and those two stay to argue about that thread.
Sheez.9 -
YOU FUCKING COCKSUCKERS!
Are you fucking serious? How it is possible that you, being a fucking teacher in a PRIVATE UNI, AREN'T ABLE TO FUCKING DEPLOY A .NET CORE WEB PAGE EVEN THOUGH I FUCKING WROTE YOU A PDF, LINKED TO MS DOCUMENTATION AND EVEN WENT TO TELL YOU HOW TO DO IT?
You fucking prick, and now you argue to your superiors that we aren't doing our job as expected... seriously? ARE YOU FUCKING STUPID SERIOUS?
I hope you choke on the turkey this christmas, you ignorant incompetent cheap slut... ha, you're not even cheap, because parents are paying THE SCHOOL to provide them with "supposed" better infrastructure, education than a public one, BUT YOU COME TO TELL ME I MUST CODE YOUR ANCIENT PAGE IN FUCKING ASPX WITH DOCUMENTATION DATED 4 YEARS AGO?
Yeez... seriously dude, level up or GTFO.12 -
Yahoo, Kotlin is the first class language for android. So no more fucking Java codes. No more 100 lines for basic configurations. No more null pointer exceptions.
Only beautiful code and fun.14 -
Fucking Edge. I fixed a "bug" and now the bug-pointer tells me a line with only a comment causes a problem. Yea. Genius browser.
It's an "UNKNOWN" error btw, great debugging!8 -
Hahahahahahahahahha I'm not going to do anymore of your "quick" projects that result in shit pay and drain me out. I got actual fulfilling projects I enjoy working on hahahahah not again "friend". The audacity of this guy to ask me to handle a big project alone while he sits on his ass and gets a 50% cut. He should have paid attention in school if he wanted to be a programmer. All he does is lie to clients that he can code yet runs to me to do all the work. Hahahah let's see how he gets out of this one. Not gonna help you today "friend".5
-
* Calls themselves "Software Engineer"
* Doesn't know what a thread is.
I swear these coding boot camps are churning out code monkeys whose real skill is building shitty React apps.
I believe a CS degree is necessary if you want to work on something more than CRUD applications.
Nothing against devs without degrees, but at least make an effort because my head will explode next time I have to explain to someone what a thread is and why it's a very bad idea to run blocking code on the main thread.26 -
Sister of a friend of mine fucked up her Mac, her Dad, they called me to fix it.
Partition table is wrecked and her thesis is there, no backup.
Been working since yesterday, got to recover it. Recovered files.
Dad applies pressure, because she's leaving out of town today, I do my best but fucking SSD won't work, it says it's healthy but damn Mac says IO error, Disk Utility says exit code 8... oh, and her dad thinks it's easy, that Ive been delaying things and so on...
fuuuuuucking hell, I hate you10 -
Trying to understand how I coded a hangman game (my first program ever, in C) is actually a puzzle far more complex and interesting than the game itself1
-
Uh-oh shit went wrong with umpteen thousand jobs in a pointer heavy, multi-threaded application in raw C. Fuck, some pointer gone wild?!
30 minutes later, after trying to find out how many jobs it takes to start failing. Noticed that it's about the default settings. Wait what? That's where the realloc'ing should kick in, check that.
Aahhhh. Maybe I shouldn't zero the whole buffer after realloc, just the new part. D'uh! -
I got a Job!
I was talking with my boss after my first week and a half of working. I tell him that I enjoy having an office and whatsoever, because that way work stays in work.
My boss tells me "Yeah, you have to do something else besides working, do something else with your life"
Damn, that's one conscious boss tbh. So happy to be working there, but you know, everyday the imposter syndrome kicks in...it sucks.2 -
MY OPENCV SIDEPROJECT WORKS!!
Now I can chill in bed and control the computer with a laser pointer :)8 -
Professor wants to copy code on his laptop (with beamer)
-selects code
-moves mouse-pointer to top left
-clicks on 'file'
-clicks on 'copy'
-moves cursor to desired destination
-moves mouse-pointer to top left
-clicks on 'file'
-clicks on 'paste'
Man why do have to show us how shitty your trackpad is and bother us with 5min of copying, when you could use Ctrl+C and Ctrl+V?5 -
An intern who tries not to show that he doesn't know shit has been asked for fun:
"What's the difference between a pointer and a thread?"
He answered: "I don't know, I am not experienced enough in oriented object programming".
Seriously. Bullshiting has gone too far.3 -
The intern: FUUUUCK, WHY ISN'T MY CODE WORKING?
Me: Lemme check real quick... ok, that's a null pointer exception.
The intern: Again? Man, I'm growing desperate. How do I stop making these errors?
My dumb ass with my 4 years coding experience, who encountered a nullpointerexception literally 5 minutes earlier: """"°-°""""11 -
!rant
I've been doing wrong these last year, so I decided to step up my game, implementing on my work cycle:
+ Testing
+ CI
It feels fucking great. If you're not doing it, it's time.1 -
I would love to see those that say:
Unused RAM is wasted RAM
There you go, used every fucking possible bit to a point mouse pointer doesn't fucking move.
Fucking hate when people say that, and don't be funny and throw a comment about those 300MB are wasted .. blah blah blah.... Yaaaa fuck off.24 -
We were in a c class learning about pointers, the teacher was doing small stars on the board to explain the basics of them.
After a short while we all understood, or so we taught.
Someone asked about double pointers, so the teacher put 2 stars on the board to explain. THEN THE IDIOT OF THE CLASS GOES AND BLOODY ASKS IF WE COULD REPLACE THE 2 STARS BY A BIG ONE.
I MEAN OF COURSE JUST PUT A STAR EMOJI TO MAKE A DOUBLE POINTER.
The legend still lives on as he got kicked for an unknown reason🤔.3 -
Sleep rant time!
As per usual, I got home late and tired, but wanted to keep on with learning to use Electron for a personal project. I setup everything, created the project and began to tinker with it.
One issue, the script I made was not loading, I spent like 30 minutes wondering why, reading docs (it was 12:40AM). When I was about to give in, I opened the index.html file and guess what? I IMPORTED THE SCRIPT AS A FUCKING STYLESHEET.
I laughed like 2 minutes, then shut the lid of my laptop and went to sleep and thought "Oh, so silly"3 -
I spent 4 hours finding a good way to instanciate golang structures. Came up with a function that returned a value or pointer and I just kept reusing the nomenclature for an entire project. Then my buddy looks over and goes, "Ethan, you're a f****** idiot", and shows me the standard nomenclature. Now I have to refactor my entire project. FML.
(Edit: typo)13 -
You always see fail2ban message:
There has been n failed attempts"
But... Have you ever thought about how many successful logins have been?2 -
This compiles and works in C++:
int arr[10];
5[arr] = 42;
cout << 5[arr] << endl;
I know why it works technically. Its just pointer math. But I have to ask "Why?" Of all that is unholy, WHY?!11 -
tired of my tor browser not letting me do my job (still configuring settings, but it's taking too long and i'm getting tired of it), and chrome doesn't show my mouse pointer (which works everywhere else on my machine).
Time to go back to firefox. downloading nightly this time, though. thoughts on it? any default settings I should change for security or to make it better in general?11 -
I feel like a piece of shit because I don't want to help my "friend" who has been faking being a web developer for years. He now has a real project he must develop that actually requires writing code (It's a serious project that requires real Javascript skills) and he's basically fucked.
He usually would hop on the web and download a template, edit it and get paid. But then again I don't want to help him because he always comes to me and I do all the work and save his ass while he does nothing.
I'm in a rock and a hard place right now because I'm also a dev and I actually have a lot of work to do, unlike his lazy ass.5 -
Found this little gem in the AMD64 reference manual:
"When PCIDs are enabled the system software can store 12-bit PCIDs in CR3 for different address spaces. Subsequently, when system software switches address spaces (**by writing the page table base pointer in CR3[62:12]**), the processor **may use TLB mappings previously stored for that address space and PCID**".
later:
"Updates to the CR3 register cause the entire TLB to be invalidated except for global pages."
So let me get this straight: PCIDs allow you to reuse TLB entries (instead of flushing the entire TLB) when writing a new address space to CR3 but writing to CR3 always flushes the entire TLB anyways
Just why 🤦♂️7 -
Coding lessons 101, it shouldn't be that fucking hard to understand what a pointer is but that's where we currently stand12
-
I just had another shitty idea, yall know cards against humanity. I wanna make a hearthstone-yugioh-CAH -esque game where the cards are all dev-related. Like say [c++] {onSummon: 'shuffle 2 pointer cards into your deck'}. Ill probs start a collab here, dunno, if ya steal my idea then dont be a bitch about it and say so in the comments.3
-
No. Just no. The null pointer exception didn't come from my DB, it came from your Java code, so go away and fix it.2
-
I'm migrating data from an old software to a new one I wrote.
Old database it's in Access (yeah, fuck). When I opened one table, the VM hung up and I opened the task manager on MADE
What.The.Fuck.Are.You.Doing?8 -
Empty your memory,
with a free(),
like a pointer.
If you cast a pointer to an integer,
it becomes the integer.
If you cast a pointer to a struct,
it becomes the struct.
The pointer can crash and can overflow.
Be a pointer my friend.1 -
!rant !!question !!rantNow
Stackoverflow and the internets has failed me, so I thought maybe someone here could throw a pointer 🤞
Has anyone managed to get a hackintosh working in VirtualBox 5 with a decent screen resolution beyond 1024x768?
I’ve tried the usual vboxmanager ways of setting the gopMode and customRes but the damn thing won’t budge.
I’m starting to think VMWare may be the way to go for this thing😪2 -
What's your favorite IDE to use and why?
I saw a little IntelliJ hate on another rant, but so far it has been pretty useful for me, I only need 1 IDE for Java/PHP/HTML/Python/JS/SQL
Pic unrelated, just for attention and the LOL's19 -
I have been on Reddit...
I have been lurking in ProgrammerHumor...
I am not proud of these things...
I got called a "Big Shot" because I didn't think the concept of pointers in C/C++ was ever particularly hard.
If I remember right. I learned in high school how pointers worked when they explained how arrays worked in Pascal. When I taught myself C it didn't ever seem like it was a difficult thing to understand.
Is the concept of pointers really that hard to understand for devs?17 -
Yeaaahhh that moment when the program flawlessly crunches through ten thousands of files, only limited by the slowish HDD! :-)
In full multi-threading, tons of dynamic buffer resizing, pointer shit left and right, also two star programming, and everything written in raw C!14 -
!RANT
my friend who never smoke or drink or relationship to much career oriended.working in multinational company. recently south african petrol company gave offer letter to him.
he was ill from few days.(completed his engineering in civil with 9.1 pointer last year.)
somekind of syndrome found in him. due to which he will not able to walk in 2 years.
he share this information with me. asking me tips,"how to inform my mom dad? I don't wan to face them. I can't do anything for them."
life is fucking unfair with some peoples.1 -
LOL that's why I love C!
The function pointer cast for strcmp because qsort expects a compare function with two const void * pointers instead of two const char * pointers, that's just beautiful.
Not to mention the hack to abuse strcmp on a struct - which just works because the first struct member is a string and the rest just gets swapped with memcpy as opaque data.
I guess that wouldn't pass a code review at work. :-)6 -
Almost all my family think I'm free tech support.
My dad knows what I do and he's proud because I finished uni (he didn't), he sometimes asks for help (he repairs electronic stuff) and I try as hard as possible to be useful (it's fun!). He knows that (most of the time) I'm working when I'm in my laptop, so he doesn't bother me, he kindly asks if he needs help with something.
My brother's studying the same I did, he's doing fine. I think better than me when I started.
My sister knows that I can repair her phone/laptop but she asks me to do it whenever I have free time and how she can avoid to "damage" it again.
My friends think I'm awesome, but I'm in constant stress (thanks imposter syndrome!).
My dog, he just barks and smiles whenever I'm around and he thinks I'm awesome, so I have that going on for me, which is nice.
🐶3 -
A half answer on SO gives me a pointer to a possible solution. Using that pointer, I actually find an answer and it's quite involved. So to help others with the same question, I edit the answer to complete it with the additional steps. No edits to the answer involved, just a few additional steps.
😡 The answer author comments that they appreciate the info, but they reject my edit so their answer isn't changed!
What a douchebag.2 -
!rant
In the office, sometimes we order food for lunch.
Me: *goes outside the office to make the call*
*Coding partner arrives while I'm on phone*
Me: *realize that I forgot to ask him if he wanted food* Hey dude, do you want to order something?
Him: *thinks* Nah, I'm fine, I brought my own lunch
Another Guy: That's good because we already called!
Me: Yeah, but it doesn't matter, I can call and tell them "Order++"
Him: Nah dude, tell him "++order", because maybe he'll bring the orders then go back and realize that he missed one
<<<<
I don't know, it was funny for me 🤷♂️1 -
I am working on an open source game project, and the most common way to draw things is using a class named ManagedSurface. The class is otherwise awesome, but it has a method called getBasePtr(x, y), which gives you a pointer to the requested coordinates. Fair enough (this is C++ without STL by the way).
But WHY THE HELL CAN I REQUEST ANY POINTER THAT I WANT, EVEN IF IT'S OUTSIDE THE SURFACE? Other cointainers have sanity checks, asserts and such, and the surface KEEPS TRACK OF IT'S WIDTH AND HEIGHT.
WAS IT SO FUCKING HARD TO ADD assert(x <= w); assert(y <= h);???
I spent 3 days on valgrind trying to find a heap corruption that manifested at random points in the code.
FUUUUCK!
On the bright side, I learned how to use valgrind (which is awesomely awesome).4 -
Me: Fuck there's a null pointer exception here... What was trying to happen here
*Read comments*
*It's written in binary... dafuq why though*
*looks up what it says*
*Reads output*
"Sorry bud, if you couldn't figure this out... then no one can" -
FUCK YOU DIGITAL OCEAN!
I know, I fucked up because I lost my backup codes, but tell me, WHY THE FUCK CAN'T YOU ANSWER AN EMAIL THAT IVE BEEN SENDING SINCE THREE WEEKS AGO?
You motherfuckers12 -
// Tired as fuck adventures, yay
I was once coding and researching for a school project, it was around 1AM (yeah, I'm a pussy that needs to sleep at 12AM, otherwise I'm useless all the day long) and a friend was with me, he was doing another stuff.
Suddenly, out of the blue, he asks me "Hey, how much is 12 multiplied by 430?", so I say "Let me check", press Win+R, type "notepad", enter, write operation and wait looking at the screen.
"why this does not work?" I thought for some seconds until I realized I fucking typed in notepad and not in the calculator.
Just laughed my ass off and went straight to sleep. Until today, my friend thinks I'm deranged.1 -
"Change it so nobody notices you copied"
I think Kotlin logo was first, other icon it's just a random FB page/Website that IDGAF3 -
Recently covered pointers in class. I know how to use them/Have an understanding of what they do, but why would I need to use a pointer in the first place? What problem would need to be solved through the use of pointers?15
-
Some weeks ago I read a rant about someone saying that it's superior uses Word for webpages.
This is sick, it's a fucking word document, with an embedded picture.
http://www.cne.gov.co3 -
I used to work with a teacher in my last uni year.
The job consisted on doing a kinda-like management system for a business. It all began kinda "right", we agreed upon a price for 6 months of my work (a very lowball price, but it was just right because I was learning stuff that we were going to be using).
Fast-forward first six months, all I do is code frontend, mockup screens and whatsoever because this "business" hadn't give us proper requirements (Yeah, I told him to ask for them, but nothing came through).
So I was like well, I'll keep working in this project because I really want to finish it. Sidenote: I was doing all the "hard work", he didn't know how to code, and he calls himself a teacher... wtf).
Months go by, and a year goes round, in between these months, he spoke to me, that he wanted me that we kept working together, that we could renegotiate the payment (I asked him to give me my payment once the job was done). I agreed, but my uni residence period was coming along and I got an oportunity to go abroad to another country.
So there I was, in the need of money to buy my passport, plane tickets and other stuff, so I asked him for the payment.
Needs to be noted, that the last 6 months work was me doing tutorials on how to fucking use Linux, how to use PostgreSQL, how to fucking use CSS! He told me he would pay me extra for it.
The day came, and I received my payment... the exact amount we talked a year ago, I was like "Seriously dude?", but well, I needed the money and I didn't have time to argue, so we talked a little bit about me helping him and I told him "As long as I have time, I'll help, but remember that I'm going abroad to work for a small startup, so maybe I'll be up to my head with work" he agreed, we nod and then I left.
First week abroad came in and I was doing a shit-ton of stuff, then his first message comes around "Hey, I need more tutorials! ASAP! Before 6PM"
What.The.Fuck. I told you, son of a bitch, that I wouldn't be able to do them until weekend.. and it was monday!
So I ignored it, weeks went throught and my "angry mood" was fading away so I said to myself "Well, it's time to pick up that stuff again", I open Slack and I find a week old message with a document attached, it was a "letter", I just skimmed by it and read some keywords "deceptioned... failed me.."
Sure dude? Was I the failure? Becase, as far as I remember, you were the fucktard that didn't know how to fucking install a VM!
A week went by, and then randomly a friend of mine talks to me through Facebook:
E: Hey, how are you?
M: I'm fine, what's up?
E: What did you do to TEACHER?
M: Nothing, <explains all situation>
E: Well, It seems weird, that's why I wanted to talk with you, I believe in you, because I know you well, but TEACHER it's thrashing shit about you with all his students on all of his classes
M: Seriously?
E: Yeah, he's saying that you are a failure, irresponsible, that you scammed him
That moment, I for sure, lost all moral responsibility with him and thought to myself "He can go fuck himself with my master branch on his ass"
So when I got back to my country, I had to go around in school, avoiding him, not because I was ashamed nor anything by the way, just because I knew that If i ever had the disgrace to meet him face to face, my fists would be deep into his nose before he could say "Hey".
Moral of the story:
If you overheard that a teacher has a bad rep, not by one, nor two, but more than +100 people, maybe it's true.
Good thing my friends and others know me well and I didn't have repercutions on my social status, I'm just the guy that "fucked up TEACHER because I had the right and way to do it"4 -
Well,
I have hit a new low...
If u don’t know, I love C language... have been using it for a while now...
But today, my brain is under a meltdown... I can’t freaking write a simple pointer based program....
WHAT THE HELL!!!!!!!
College is killing me ☹️☹️😭😭2 -
Rewriting the entire codebase anytime I learn that I was doing something wrong.
Rewriting entire functions whenever I see that my coworker coded bullshit on the fly.
In a nutshell, I should stop trying to rewrite everything!2 -
!rant
This is a major part of my workflow, and I wanted people to see it. So I went an inch-deep on quicktime screen recording and ffmpeg flags to produce this low-quality gif.
I pop open the alfred text window with cmd-space, and have it set to use DDG as my default search provider fallback. In this way, I'm able to execute bang-searches without having to load any urls, or even move the pointer.
What kinds of productivity/workflow tricks do you use?14 -
Rant rant = new Rant();
rant.type = Rant.REVELATION;
rant.content = "
Being depressed with recent stuff about my ex, I've been going out a lot more than I use to, thus engaging in conversation with people I've never talked to before, and it made me realize something. Maybe it's because the world it's more connected nowadays, but I think it's more about our career (be it CS Engineer, Software Dev, Web-Dev, etc...) and correct me if I'm wrong but I think we are the kind of people that knows about everything (maybe not everything, but know basic stuff that can't be considered general knowledge) because that's what we do, we spend our days updating ourselves, growing in knowledge.
What's my point? That, thanks to this ability, we can work, cooperate or even socialize in a rather easy way. For example, I learned bit of color theory and design principles for a school project. Fast forward some months, I meet this girl that had a degree in Digital Design and I could talk to her about her field, and even knew things she forgot.
I don't know, for me, it's amazing how we can shape shift and mold to the situation, easier than any other career.
Am I wrong or missing something? Let me know
";
rant.publish();5 -
C++ type fuxor we found by accident in our code. I am not upset about allowing 2 different types to have the same type name. I am upset that the compiler thinks they are the same type and allows pointer assignment. I didn't know you could fool the compiler this way. I suppose this might be useful if the types are in sync. But damn, this is kinda fucked.13
-
Uninitialized pointer is not the same as NULL pointer !
Uninitialized pointer is not the same as NULL pointer !
Uninitialized pointer is not the same as NULL pointer !
Uninitialized pointer is not the same as NULL pointer !5 -
Imagine the horror of learning C programming with manual memory management, pointer arithmetic and without your cool utility libraries after programming for 2 years in Python just becoz it's in the fukin syllabus!!13
-
YOU DENSE MOTHERFUCKER!
If anyone read my last rant, I talked about how I wanted to buy a new phone with a subscription line, but they didn't allow me because "the system says you already have one and you're over due with the payments"
FUCKING MORONS, I don't know who coded the system but I will find you and bury your head in your own shit!
They use people's RFC (Mexican Tax ID number) to create an "account" and allow buying a phone. The ID it's composed by:
NNNNYYMMDDXXX
Where N are letters from our name, then they use our birthdate's year, month and day, finally they generate three unique characters to avoid ID clashes.
Well, this stupid fucker who coded the system thought it was OKAY TO STORE ALL BUT THE CHARACTERS THAT MAKE THE ID UNIQUE.
Fucking fucker...what were you thinking?2 -
rant = Rant.STORY_TIME
<<<Story
This is still something funny me and my friends often remember.
There was once upon a time we were young and stupid, playing on the internet with fake credit card numbers, sometimes we had luck and the orders passed.
We were on the living room, checking who could put an order for a coffee machine, while another friend of mine was talking about the deep web and what he found there.
Suddenly, someone knocks really hard on the door... We went silent...
Me: "Who's there?"
Voice: Federal Police, open up!
Me: *shiiiit*
I went blank, close my laptop as fast as possible, I thought of throwing it away through the window. My friends panicked, I had my laptop upside down, opening the lid to remove the HDD.
One of my friends stood up and went to the door, looked through the eyehole.
Friend: *whispering* The eyehole's covered!
We quickly stood up and looked at each other, like we were acknowledging our wrong doing and getting ready to face the consequences.
I took a deep breath and put the key in the door to open it. Sudden heavy knock again. I jumped and yelled "I'm on it, wait a minute!".
Slowly I opened the door... And there they were, another two of my friends.
F1: hey...what, what happened? Why are you so scared.
They stepped in while we told them what we were doing and they laughed their asses off.
We were shit scared, and those two were laughing.
Story;
So, nowadays, I don't even think about doing that kind of stuff again and I'm hoping to make a Master's degree in security...or electronics, whatever happens first. -
!dev
I'm a hobbyist photographer but lately I've been getting offers to work on major gigs. Apparently people have started liking my photography.
However, just like some programmers are hardliners when it comes to particular stacks, the camera world is riddled with brand loyalists that can't accept that anything other than their camera gear is better. You have Canon/Nikon users who can't wrap their minds around the fact that Sony is making better cameras for the price.
I ask a question about what lens people recommend and a flame war starts about why X camera is better than Y camera.
Guess what, it ultimately comes down to the skill of the photographer and not the camera. All I wanted was a lens recommendation for a particular style of shooting.
Thing is, all modern cameras are more than capable of doing their jobs.8 -
Pro tip: how to reply to more than one person
1) click reply
2) close the reply by pressing the x button in the upper left hand corner.
3) click reply button of another person. Their name should now be added
4) Reference a Null Pointer
5) Profit?14 -
!rant
I was coding some simple themes for a management system I'm currently working on my job, then I remembered about @Alice and I thought to myself "Fuck it, why not?" and added a subtle pink theme3 -
Sometimes when I'm telling my boss how to do something on his computer or I am watching him explaining something to me and he seems like a fucking lost infant that never used a fucking computer in his life I just wanna say loud and firmly:
"What the fuck man? Can't you fucking just click this shit already? Your fucking mouse pointer is on it already, click this motherfucker for once!"6 -
Things that I "shouldn't" put in the code:
cout << "Starting bitcoin harvester..."
cout << "Contacting IP 95.24.69.42..."
cout << "Passing control to remote IP"
Also, my boss wanted me to merge to master. I want to tell him my difficulties:
"Had issues with fluix inhibitor for the linker. Had to stretch the void pointer vector to fit the elongated float system. This helped with the binary pretranscompiler moderator in the remote modem configurator. Now everything is working fine."6 -
+ Have a decent work in another country
+ Married (not kids yet)
+ Get my PhD in something
Future me, if you succeed, you owe me a fucking lot! Otherwise, well, fuck past me!4 -
TL;DR - Mining coins to solve captchas
I was puzzled when I clicked to download something and this little captcha thingy appeared. I clicked, as usual, to solve it, but was amazed to look just a progess bar going and going... then I saw a little legend that says "what's this?", click and this is the link
https://coinhive.com/info/...
Practically, you're mining Monero instead of watching ads and solving regular captchas...
What are your thoughts on this?4 -
CrowdStrike came down to an untended, uncaught Null pointer that could have been caught with basic code review and testing before push. That is all. https://x.com/Perpetualmaniac/...9
-
Null Pointer Exception
Null Pointer Exception,
you're in a class of your own.
I will try and catch you,
each instance you're thrown.
Null objects expel you,
because you are vile.
I dread that I'll c you,
when I attempt to compile.
Like the grim reaper,
you destroy lines of code.
And so to you,
I dedicate this ode.
You have no remorse
for those who won't test.
As a result,
I need to confess.
From time to time,
when there's no time waste.
I must rely
on cut and on paste.
Although we're acquainted,
I really must mention.
You're not my friend,
Null Pointer Exception. -
¡rant|rant
Nice to do some refactoring of the whole data access layer of our core logistics software, let me tell an story.
The project is around 80k lines of code, with a lot of integrations with an ERP system and an sql database.
The ERP system is old, shitty api for it also, only static methods through an wrapper to an c++ library
imagine an order table.
To access an order, you would first need to open the database by calling Api.Open(...file paths) (yes, it's an fucking flat file type database)
Now the database is open, now you would open the orders table with method Api.Table(int tableId) and in return you would get an integer value, the pointer.
Now for the actual order. first you need to search for it by setting the search parameter to the column ID of the order number while checking all calls for some BS error code
Api.SetInt(int pointer, int column, int query Value)
Then call the find method.
Api.Find(int pointer)
Then to top this shitcake of an api of: if it doesn't find your shit it will use the "close enough" method of search.
And now to read a singe string 😑
First you will look in the outdated and incorrect documentation given to you from the devil himself and look for the column ID to find the length of the column.
Then you create a string variable with ALL FUCKING SPACES.
Now you call the Api.GetStr(int pointer, int column, ref string emptyString, int length)
Now you have passed your poor string to the api's demon orgy by reference.
Then some more BS error code checking.
Now you have read an string value 😀
Now keep in mind to repeat these steps for all 300+ columns in the order table.
News from the creators: SQL server? yes, sql is good so everything will be better?
Now imagine the poor developers that got tasked to convert this shitcake to use a MS SQL server, that they did.
Now I can honestly say that I found the best SQL server benchmark tool. This sucker creams out just above ~105K sql statements per second on peak and ~15K per second for 1.5 second to read an order. 1.5 second to read less than 4 fucking kilobytes!
Right at that moment I released that our software would grind to an fucking halt before even thinking about starting it. And that me & myself and I would be tasked to fix it.
4 months later and two weeks until functional beta, here I am. We created our own api with the SQL server 😀
And the outcome of all this...
Fixes bugs older than a year, Forces rewriting part of code base. Forces removal of dirty fixes. allows proper unit and integration testing and even database testing with snapshot feature.
The whole ERP system could be replaced with ~10 lines of code (provided same relational structure) on the application while adding it to our own API library.
Best part is probably the performance improvements 😀. Up to 4500 times faster and 60 times less memory usage also with only managed memory.3 -
I HATE YOU STREAMING SERVICES! FUCK YOU!
Here's the setup:
I work in a rather small office, where we are like 7 people (including me). Now, there's one person in charge of putting music through speakers (obviously, not everyone enjoys the same kind of music)
Well, we have a hell of a small bandwidth (1.5MBPS tops), now, add to that that every single fucker here uses "Spotify" and it's streaming their music...
WHY!!!!
Good side: I have my earphones and ~30GB of my music on my phone, so it's not an issue for me, also, I'm kinda audiophile, so Spotify quality sucks.
Bad side: I can't even fucking load Google because those fuckers are eating the bandwidth.5 -
So today's the day the child leaves the babysitter.
Today's the fucking day that I learn why the fuck everybody says date's are a fucking headache. Or was it yesterday? I don't know.
Fucking dates, timezones, time calculations...5 -
For a long time I was of the opinion that pointer variables in C/C++ should have the asterisk immediately after the type name (e.g. int* foo).
Eventually I became convinced that it makes more sense to have it before the variable (e.g. int *foo).
Now I find routines that return pointers look weird, e.g.: void *allocate_something() so I am considering adopting the original style I used.
The only advantage of having the asterisk before the variable name I am aware of is that it is easier to remember to add an asterisk if you define more than one pointer on that line.
Anyone else find it hard to settle on code style guidelines for their own personal projects?12 -
So just read up that some companies based in china were able to attack Google back in 2009, all cause IE had a dangling pointer issue.
*Sarcastic claps* -
@apple since I can't move Xcode's instruction pointer without crashing Xcode or my app, I have to use a global with 'if' statements to have optional debugging logic.
if( ! gAppleFuckTards) {
... do optional code stuff
}
and then change the value of gAppleFuckTards with the debugger to execute the code.. but WAIT
Xcode purports to be able to change values via debugger but really cannot... can't change gAppleFuckTards to false in the debugger. But that kinda makes sense as it is an empirical truth.
Thwarted by the cosmos again!2 -
> Be me
> Programming for an embedded system
> It's not interruptable
> Got ISR Fault (Interrupt Service Register)
> WTF
> Breakpoints are useless
> WTF
> Comment out some lines
> Turns out it goes ISRF Infinite Loop because of the multi dimensional array of strings
> WTF
> Use pointer intead of defining actual size
> Works
> WTF
WTF?1 -
Every time a Segmentation fault is occuring because of a forgotten "return" or "break" I lose one week of life. Almost out of life right here.3
-
! rant
I started to learn Matlab today. After I learnt that arrays starting with 1 in the Matlab, I started to think about why using 0 based arrays was made popular in the first place and I realized that C arrays actually just pointers and first element of the array is just a location pointed by array name. There is no need to add number to reach to the first element. After googling it, I saw that my assumption is true. Finding it all myself made me a little bit of proud 😀😀😀 Also, this expanded my horizon 🗻🗻🗻2 -
The borrower
Dart: Can I borrow your let?
JavaScript: Fuck off!
Dart: Please spare me your var then... You don't seem to need it anymore.
JavaScript: I said fuck off weirdo!
Dart: Can I borrow your var?
C#: 🧐... Kotlin. Is that you again?
Dart: No, I'm Dart.
C#: That what?
Dart: Haha, Just Dart.
C#: So, you need my var?
Dart: Yes, and also your String.
C#: Just that.
Dart: and your int, your bool, double and List
C#: Just that.
Dart: All your types... Maybe.
C#: 🚍☎️🗃️💺📺🛏️🎻🔦 🧤 Here you go.
Dart: Thanks💃
Dart: Can I borrow your pointer?
C: 👴 Huhh?
Dart: Your pointer. Yes that pointing stuff.
C: Borrow what?
Dart: Your pointer.
C: Poin...
Dart: Pointer!
C: Ponita
Dart: 🏃...
C: Here is my Pony bear... Hellooo. You there?1 -
Does anyone knows about OLAP cubes, Rollups and whatsoever?
I'm wondering if this query it's overcomplicated...
Just trying to achieve a sum of amounts by month on a year lapse6 -
I think somewhere i read a quote from Gary Kasparov on his view on Chess.
He said that after certain point of mastering it, it becomes too much mental pain.
I think the same can be said about programming.
Devs really enjoy it, but sometimes, damn that Null pointer exception.rant programming semicolon ; java log devs errors python arrayoutofindex null pointer exception joke1 -
c++ has a little bit of a learning curve, I think.
Used smart pointers everywhere in my code because I heard that's what we gotta do nowadays.
When learning about shared vs unique vs weak, I disregarded weak pointers because I didn't really understand them.
"That sounds like something for liberal pansies", I said to myself, then continued on with my STRONG shared and unique pointers.
Now my app leaks memory like a MOTHERFUCKER, if you can believe that.
So now I need to go back and manage my object lifetime with more intent instead of just making everything a shared pointer. Fuckin circular references. Fuckin reaping what I fuckin sow. God damn.9 -
Rant
Wtf are you taking man?
You’re supposed to be an experienced engineer but what the fuck are you doing leaking null pointer exceptions everywhere you go?
Just 1 more month. Good thing my manager isn’t renewing your contract.
Fuck!!!! -
Teacher asks me to join him for a web app development.
First stages, I have to dig deep into a framework I don't know (He doesn't know it too, and I know that learning is the only way to step through)
Month goes by, began developing some mock-ups, he says he didn't like it, sends me a website made in fucking Wix. Seriously?
Fast forward another month, tonight I'm coding some stuff, he stills doesn't know how to fucking use Yii. fml4 -
By Thor (not the god, the dragon), Belial and Thor (the god, this time)...
Just got the sources for the software that runs on the SDR for my project. I think I just found the mother of all legacy code:
The whole behaviour is described in a single, 4000 lines C file. Most of the code is in a giant switch with cases selected from an enumeration with names that don't match their function. All varnames are overly long, yet hopelessly unhelpful. And why three fuck would you use pointer[0].data instead of (*pointer).data or pointer->data like a sane person would !? pointer isn't even an array, so why would you use []?1 -
Since day 1, I've been eager in learning everything dev-related in English, and as it, I've focused on thinking, writing, shitting and eating english for a basis.
Now, where I work, I say, our country native language it's Spanish, but I feel bad whenever they tell me I must write everything in Spanish (code included). Maybe I'm overreacting or something.
So, here's my question for you, devs, when you're working on a coding-related project, should it be on English or not?3 -
I wish I were a super hero who's special powers were development related. Like being able to change a person's pointer to point to null or being able to cast a Queue as a Stack so I can go first.
-
It's true what they say.
You don't mess with hot glue without burning yourself.
It would be funny if I didn't have my pointer fingers burned up lol.4 -
Somehow I wrote some code that ended up comparing a string type object against a pointer of an unrelated class. There are NO functions to convert that class to any kind of string representation. Let alone ones that would allow that to happen in C++.
WhyTF did the compiler not pick up on this?5 -
Learning institutions move so slow. Kotlin and Swift are nowhere to be found in this mobile applications course.8
-
Because of my personal life my career life is failing.My Girlfriend getting married to a "null pointer" by next month and I can't concentrate on any of my stuff. I have started a startup recently I am scared of losing it.2
-
Some gamers: *Gaming sucks now*
Also, those gamers: *Plays only FPS games*
Like dude, there are so many genres with amazing games that you would have a new game to play every day if you wanted. But oh no, I only play COD and Fortnite and because they suck, every other game in existence must also suck.
Stop playing the same damn games then, maybe you will enjoy gaming once more.
Also, I feel like people complain about FPS games because they expect to win every single match, which is impossible. You will meet sweats and tryhards. That's the reality of any multiplayer game.5 -
Every assignment is done by reference in JavaScript... like why? Lemme use a pointer when I need it.
ES2016 looks so much like Java, I swear nobody will notice if they added pointers... and over 9000 more confusing features.12 -
I was just messing around with flags in Chrome for Android and...well, unlocked the new version (or didn't know if it updated without me noticing)
I dig the layout4 -
C/C++ is so fucking unreadable. Who had the cancer idea to use abbreviations for EVERYTHING?? If a word is longer than 3 chars you can be sure those psychologically unstable devs will use a shortcut.
Pointer ==> ptr
test_and_set ==> fucking t_a_s
rollback ==> rb
I don't want to play a shitty word guessing game for every fucking function in your horribly documented api.3 -
!dev
fuck call of duty and activision. I finally had time to play with my friends when suddenly I had to download a 56 GB update. Why the fuck does every update have to be big? Then after that monstrous update, if you want to play multiplayer, you still need an additional 22 GB for a multiplayer pack which you already have. This has to be the most clueless company out there. I should have uninstalled this game a long time ago.11 -
I feel like saying "I know C#" (or Java or other similar languages) to mean that you know it as a language as opposed to more of a framework is ridiculous. We should say what programming language level we know (high, mid, low...) since the difference between say C# and Java is pretty much the same as the difference between say WinForms and WPF. Depending on which two languages and which two frameworks you choose it can be a much bigger difference between the frameworks than the languages.
In a CV I'd like to say "I know x-level languages with experience in [actual programming language + frameworks]" instead of saying I know C# and then recruiters and HR people and such assume I don't know Java at all, but know MVC, WebForms and whatever else even though I might specialise in something else and would take me pretty much the same to get proficient in Java as it would take me to get proficient in that framework or something that's technically C#.
It just makes so much more sense to me. As a dev you're supposed to know the principles, the syntax should be secondary. A pointer is a pointer regardless of it's marked with a * or IntPtr or just a value in a register with no special marking that it's a pointer...
Can we, as devs, come up with something like this?2 -
Just found this in a C lib:
struct Model
{
char* name;
};
struct ModelA
{
char* name;
int value;
...
};
ModelA* ma=...
...
Model* m=(Model*)ma; //!!?
is it legal?7 -
I'm (rarely) in the mood of coding (on a weekend!, that's weird for me).
Anyone can suggest a small idea? I'm planning on doing it with flutter, so let's keep it simple.
If I manage to get some progress, I'll keep you updated and post the repo link -
!rant
Recently I bought a Moto Z2 Play, and it really it's an amazing phone, it includes the battery mod, and given than with my average usage, it lasts for me for day and a half, I'm more than happy :D3 -
Does anyone have problems with Android instant run?
Fucking hell, I spent one hour yesterday debugging an error, until I noticed that the code in the APK wasn't updated, because it was sending an error of a non-existent line.
Sometimes it works okay, but damn...2 -
Making a function pointer in C and typedef-ing it.
Done wrong. Every single time.
Look up in the internet.
Copy a typdef-d function pointer.
It works.
Check it's syntax.
THE SAME FCKIN SYNTAX AS DONE FIRST!
And that's why I hate function pointers.2 -
So I have never done 'real' development on anything bar my current game engine Virgil, however found myself referring to C documentation for GLib and SDL2 rather than valadoc documentation.
Decided fuck it, I'm already converting everything to Vala's pointer syntax so I can have manual memory control, implementing stb_image and contemplating reworking SDL2_image into raw C so I'm not depending on extra libraries... Why do all this when I can just learn C and have more control.
Everything was going well and decided to buy the C programming language book, already knew about pointers and structs but ohhhhhhhhhhhhhhhhhhhh boi was I not ready for malloc .-.7 -
Story time!
I was with some friends, one a CS student and the other one's a mechanical engineer student with coding like a hobby.
I was listening to a song from which the band released the stems (individual tracks) of a song, and this dude made an anime version of it.
Me: Oh God, this is awesome
Mech: how did he do that?
Me: What? The song?
Mech: Yeah, how did he split the voice and everything, is the music like an Ajax request and he queried for the voice
Me and my other friend lock eyes and began to laugh so fucking hard.
Me: that's not how it works, why did you though that?
Mech: I don't know -
how to identify the authentic recurssion post:
check out the tags: recurssion xy
check the number of comments it should be 2^x
those who break it go get urself fucked by a dereferenced pointer1 -
How I approach pointer arithmetic:
Code something that seems ok, compile, and just keep fucking with it until gcc doesn't give any more errors.1 -
Functional Programming Class, an assignment it's that we should develop a calculator, creating our own basic functions (addition implementation with a half-adder and string manipulation).
Teacher tolds us that it has to be coded in Haskell and for the GUI we can use whatever we want, then this fucktard comes around and speaks like he knows everything
Him: Oh, yeah we will use IntelliJ to link the Haskell code with a GUI, because IntelliJ supports Haskell
Me: But IntelliJ it's a(damn) IDE, you still need to code the GUI.
Him: But IntelliJ supports Haskell, we will use it to build the GUI.
Me: Yet what you're trying to say it's that you will use Java to create the GUI and call from there Haskell, and that you will use IntelloJ forms to create the UI
Him: No, no, we're not using Java, we will use IntelliJ, are you dumb? Don't you know what's IntelliJ for?
*Fucking facepalm*
I don't know but at this point I'm not feeling proud that THIS kind of retards are going to graduate in this year...3 -
I have had it with this motherflipping NullPointerExceptions, on my motherflipping method. Catch you tomorrow Exception, you will not have the better of my sanity today.
-
Being a programmer it is not easy.
.
.
.
.
.
.
.
.
.
.
Because you always have null pointer expression!!4 -
!rant
I love to work on my machine, and being it
my work-horse for school and side-projects, I have a neat dualboot of Windows 10 and (driver-related) Ubuntu Mate.
Ditched Mate because screen tearing, got Cinnamon, but I have to say, that W10 UI appeals a lot for me, so... what kind of Windows is this?4 -
Looking for the correct download button is like defusing a bomb.
Click the wrong one and *BOOM*
Hello Ads!
(For those who're still struggling with this. Hover your pointer on the download button and check if the url it leads to is legit.)2 -
Oh god, structure alignement, why you do this... You might be interested if you do C/C++ but haven't tried passing structures as binary to other programs.
Just started working recently with a lib that's only a DLL and a header file that doesn't compile. So using python I was able to use the DLL and redefined all of the structures using ctypes, and the nice thing is: it works.
But I spent the whole afternoon debugging why the data in my structures was incoherent. After much cussing, I figured out that the DLL was compiled with 2 bytes packing...
Packing refers to how structures don't just have all the data placed next to each other in a buffer. Instead, the standard way a compiler will allocate memory for a structure is to ensure that for each field of the structure, the offset between the pointer to the structure and the one to the field in that structure is a multiple of either the size of the field, or the size of the processor's words. That means that typically, you'll find that in a structure containing a char and a long, allocated at pointer p, the double will be starting at p+4 instead of the p+1 you might assume.
With most compilers, on most architectures, you still have the option to force an other alignment for your structures. Well that was the case here, with a single pragma hidden in a sea of ifdefs... Man that took some time to debug...2 -
🐞 I get buggy behavior in Microsoft Edge browser.
The mouse text selection pointer is white.. on white background, so it is invisible.
What the hell, Edge??7 -
!rant
Went to a hackathon this weekend. We didn't win, but at least I can say I enjoyed working with the guys and we finished the prototype on time.
So, if you have never been in a hackathon, you should go, it's an awesome experience and even though if you don't win, you'll end up learning a lot. -
Today i faced a "bug" which caused an element not to trigger a Bootstrap 3 accordion by klicking on it. Only on iOS/iPhone - Desktop and Android worked fine.
The actual problem was that almost the same structure worked fine on another website...
took me about 3 hours to figure out that the element which was supposed to trigger the accordion needs the css property 'cursor: pointer;'.
why the hell does a touch device, which got no coursor, need this property?!3 -
NULL and '/0' are two different things. NULL is a null pointer. '/0' is a null byte. C handles those two differently enough to introduce some interesting issues. Helped a friend debug his code, execvp() was freaking out because he had tried to terminate his argv array with a null byte instead of a null pointer. As far as the system was concerned, that doesn't mean anything more than "oh look there's no string here." Big big difference.3
-
Why? Why?
Of you, you were the last I've expected such failure and misery...
Not once, not twice, but I have you a chance so many fucking times...
I won't deny it, we've been through good times, done so may things together, and I admit that I'd never be able to work without you.... this codependence is just too damn fixated...
But, I think I should part ways with you, I'll visit sometimes, not just to have fun, but mostly because of work matter.
Sorry Linux, you've failed me, I'm leaving you for Windows.3 -
Next time someone asks me to go get something that's heavy, I'll smile, go there and return with a pointer to that thing. After all, we have to practice these programming concepts in everyday life 🚶♂️🚶♂️
-
One of my biggest pet peeves with C++ are the number of ways to do things that, I personally, don't think their should be. Is that int* really an int pointer? Or is it an int array? Int vector? I am really regretting the refactoring approach I took.
-
I give up. I am having trouble understanding Go lang *, & stuff.
attached code does print what fmt.Println has, but the function calling: FindByID is throwing invalid memory address or nil pointer when it attempts to use the result of the code.
Can someone please explain where I'm wrong?
Error log blames the line of "if" condition even though fmt does print its output to console16 -
Fucking gdb with your stupid commands, showing me the memory allocation, shos me the data you stupid piece of shit, what is the value pointed by the pointer.
*Segmentation fault**core dumped*
Oh gdb! How much I missed you. Please don't ever leave me okay? -
Note: I have deleted my previous version of this question as I found it lacking crucial information and therefore being prone to misunderstandings.
Question : In C/C++ you can position the keyword 'const' either left or right of the left-most type specifier. Which variant do you prefer?
I ask that because I'd like to hear your opinion. Although I have been working with C over three decades now, I only learned this a couple of years ago. After some experimentation I decided for myself, that I like the placement to the right more. Although the positioning to the left is taught in literally every book and course, the original placement suits me better.
One reason, of many, is the listing of many member variables in structs or classes. To have them nicely aligned, I always had to put 'const' either on the previous line or put in extra indention to everything non-const. That was quite irritating sometimes.
Another, and my main reason is, that when reading from right to left, the rhs variant just makes more sense than the lhs variant. Reading from left to right almost never makes much sense without straining your eyes. But that is, of course, highly subjective.
This is even more so if you have pointers. The 'const' keyword modifies the type identifier(s) to the left. So if the 'const' is (anywhere) left of the '*', the data is const. If the 'const' is right of the '*', the pointer address itself is const. The same applies to references.
Examples, read right-to-left:
int* const i; // i is a const pointer to int data
int const* i; // i is a pointer to const int data
int const* const obj; // i is a const pointer to const int data
The "classical" or "taught" way, that is found almost everywhere would read, still right-to-left:
int* const i; // i is a const pointer to int data
const int* i; // i is a pointer to int data const
const int* const obj; // i is a const pointer to int data const
Not only that the second "lhs" form reads worse, it also looks worse. In my opinion, the first "rhs" variant makes it simpler to quickly determine that we are dealing with three ints, while on the second "lhs" variant, one has to first get past the 'const' keywords.
I know that this is not only a matter of taste, but of course of agreement, too. You can not just go and switch the 'const' placement in long standing projects. That would surely piss of a lot of people. Or even cost you your job.
But I like to know what you people think and why.
Thanks a lot in advance!5 -
My brother proudly told me how he scanned 150 pictures and made a mouse-pointer macro to photoshop light and crop the pictures.
Didn't have it in my hear to tell him I have digital copies of all those images. -
One of the guys were tasked to implement a button with a functionality.
When I clicked the button, I got an error. Asked the guy why, and he said that fixing the functionality was not part of the task. What? So basically he just put a nice little button that does nothing? And our team lead just approved his merge request?!
I can't comprehend this logic at all.
Another story, I overheard a different guy debugging a pointer array (C++) with a senior. I couldn't keep my face straight when he seems to struggle to dereference a pointer and iterating through an array. He can't do that and he calls himself a mid-level engineer?!
The more I stay in this company, the more I realize that many people in my teams are clowns.4 -
Just moved my computer up to my new office... just to find that I'm suddenly having a driver issue (I think) that wasn't there before.
Basically my audio and mouse pointer hang for 1/10 of a second every few seconds.
The bad news is, it seems to disappear when I disable my wifi card, which I kinda need for my internet.. and I already have the latest drivers.8 -
In the first one, the group would just not get to agree at something, they'd spend hours talking about an approach.
First times, I was like "Hey, why don't we do this?", they began to argue and half an hour later, they agreed to whatever I said in the first place (they didn't acknowledge what I said and they tell me they came with the solution and that I didn't say anything)
Fucking shit, if only they listened in the first time. -
Working with a pointer-linked graph. With pointers referencing pointers referencing pointers referencing pointers ref....
*explodes*
it's not (only) bad code, its my life now.1 -
Thanks for your email and any other information you have a great time and consideration of this email in the end the game and the rest of my life and death and resurrection I am not able and willing I am not a good time and I have to be able to do the same time and effort and I am going through my resume to the inbox to be in a career change it back on track with you to see the profile photo album and a couple weeks...
When you just click through the autocomplete...4 -
I acknowledge that I didn't know how to program until I was in 5th semester at my second try on data structures.
God! The best teacher I have ever had, and if it wasn't for her, I wouldn't have learned what I know!
From that point onwards, it was just reading books they way that kept me up.
I know you're not here, but thanks Ms. Juanita 😁 -
As if the day could not be worst.
I've a delay with an app for a school project, my stomach hurts like hell, I'm sleepy, my phone's SD card fucked up.
At least I still have some soda left, though2 -
What in the holy hell is a pointer to function and function pointer.I guess they have a purpose, I hate their existence. It's solely because it is complicated13
-
Hmm,
The first one was eons ago. I was coding in Pascal and discovered System interruptions. The “Ahaha” was when I realized it’s easy to store CPU state and invoke whatever the fuck I want on any memory pointer. I loved my 2 silly animations running side by side on 80286.
Most recent : Finally understanding how “Expression” works in C# and how it can be combined into a Lambda and compiler does the whole heavy lifting on types compatibility and more.1 -
Recoding the malloc is a mess. It seems to be a very good exercise and it is. But you know there are so much mystical issues that happens when you're working with memory.
I just figured out that I got 90% of my free function calls by the "ls" command that was in reality a bad pointer following my own verifications.
So, I don't know why because I just make a normal vérification so except if the "ls" was developer with the ass... -
Some compilers give an error message on forgotten type casting. From that it shows good typing style casting. So you also avoid clerical errors that can lead to the program crash in the worst case. With some types it is also necessary to perform type casting comma on others Types, however, do this automatically for the compiler.
In short:Type casting is used to prevent mistakes.
An example of such an error would be:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
int * ptr = malloc (10*sizeof (int))+1;
free(ptr-1);
return 0;
}
By default, one tries to access the second element of the requested memory. However, this is not possible, since pointer calculation (+,-) does not work for a void pointer.
The improved example would be:
int * ptr = ((int *) malloc (10*sizeof (int)))+1;
Here, typecasting is done beforehand and this turns the void pointer into its int pointer and pointer calculation can be applied. Note: If instead of error "no output" is displayed on the sololearn C compiler try another compiler.1 -
I was volunteering outside my country through an association that sends you to startups that are related to your studies.
It was a three month stay, and my first time out of the country, so it was exciting and scary.
On my last month, I checked LinkedIn (it's been months since I logged in) and I had a message from a week ago, by some dude with a startup of webdev and marketing located in my home country and home city.
I replied saying that I usually don't log into LI and that I was interested in the job, sent my CV. Days went by and I had no answer back and I was like "Damn, why me? I really wanted the job". Last week of my trip I got a message back from him, telling that he was interested and that it would be awesome to talk when I got back to my city.
When I arrived, a week went by before he called me and confirm the first interview. When I went to the interview, we talked about the job, what was needed and that he didn't have to test me because he was confident on what we've talked previously that I was competent enough.
Needless to say, it's been a month and two weeks since I began and I couldn't be happier, it's not the bad ass company anyone would like to work for, but they have an awesome team, they are comprehensible and it's growing fast. -
Why do people put the asterisk in pointer types right before the name, thus having it separated from the type? This doesn't really make sense to me, since in this case it isn't a runtime operator but a part of the type definition.2
-
Cleaning up code warnings in a 3rd party piece of software and found a function that was returning a pointer to a local variable, who wrote this piece of shit?!1
-
((Human)me).initialize(new Activity().setActivity(new Project((AndroidApp)devrant_clone, new ProgrammingLanguage ("java"))));
Brace yourself java null pointer exception is already on its way. -
Maybe changing the name of the this pointer to "m" will encourage people to start using it and stop prefixing field names with m_ 🤔
-
Why the flying fuck does a resultset get returned with the pointer going to BEFORE the first fucking entry? And why does the error say "no data available"????
I saw the stinking values in the debugger, you fat cunt, don't tell me there is nothing there.
But hey, at least now my boss doesn't have any expectations whatsoever. I sure am dense motherfucker.1 -
mfw when clang decides my NSDictionary changed its type somehow to the same type as my block pointer thingy and now I can’t assign to it3
-
Java's such a bitch, it won't house pointers but throw a NullPointerException at even the most insignificant lines possible.1
-
What hurts you the most?
1. Breakup
2. IDE with White Background
3. HTTPS://DUCKDUCKGO.COM (Caps Url)
4. Download failed at 99%
5. NULL Pointer Exception
🤔🤔🤔29 -
I manage to create a circle of pointer in C during the implementation of a custom version of huffman. Spent hours trying to understand why my stack was exploding (recursive fctn) .
-
More linux driver woes:
Driver is passed a file position and byte count when asked to read from a device. Sounds easy, right? FUCK no.
For reads, driver is passed struct `filp` with field `f_pos`, a direct pointer to the same struct field, int `count` as a number of bytes to read, and `buf` to return those bytes with. Problem is, requesting, say, 256 bytes from location 10000000h will give the driver `filp->f_pos = 0`, `f_pos = 256`, and `count = 0`. I don't know how to fix this and there's NO help for this shit. None whatsoever.
This shit, right here, is why Linux drivers suck ass.4 -
Feel dirty writing in c. How do people even deal with unsafe pointer type casting/memory allocation/free? The codebase is plagued with memory leaks and there is no test.
I will just pretend I can't read c code and play dumb when shit happens13 -
This was a project for school, we had to simulate an app that traced bus routes over a map.
All the teams but mine do it in Java (desktop app), we took another approach and did it on Android with the Maps API.
I had fun coding a parser, this parser job was to read a file and load the bus routes and draw them on the map.
It was structured like:
NAME
COLOR
<lat, long>
<lat, long>
The fun part was coding and telling my teammates "chill out, it will work", so we finished, built and run and... done! First code working smooth AF.
I know it's a simple parser and a simple app, but it was a nice feeling not having to debug the app.1 -
I fucking hate the black matte finish!
I mean, it's nice and elegant, but for things that will be used, it sucks, they get this ugly glossy wear that makes them look dirty.
Do you guys have a laptop with this issue? Does it annoys you?6 -
Some guy:
- one hundred thirty seven is twenty one
- twenty one is nine
- nine is four
- and four is the magical number
Me: *shouts* Lies! CAFEBABE it's the magical number11 -
section .data
msg: db "ASM, Love Or Hate?",10
msglen: equ $-msg
GLOBAL _start
_start:
mov rdx, [msg]
mov rdi, msglen
call print_stdout
mov rax, 0x3c
mov rdi, 0
syscall
print_stdout:
mov rax, SYS_WRITE
mov rdi, STDOUT
syscall
ret5 -
VESA is driving me crazy.
I'm trying to set my video mode via VESA functions which works, the QEMU window size changes, ton of more space.
Problem now however is that I have no idea where in the name of god the goddamn framebuffer starts.
Apparently it's address is located withing the mode info block which I have successfully queried and stored in ES:DI.
Problem now is getting this info block into my 32-bit kernel.
I tried smacking it on the stack which only produces hot garbage.
Essentially it goes like this
[...make sure pointer to block is stored within ES:DI...]
mov ebx, [ES:DI]
[Switch to 32 bit mode, ebx is not erased by doing so]
;Set up stack
mov ebp, 0x90000
mov esp, ebp
call kernel_main
jmp $
kernel_main takes this pointer as an argument, hence why I've pushed it onto stack:
main(uint32_t *ptr);
When I try accessing it however by doing the following:
vbe_mode_info_block* info_block = (vbe_mode_info_block)ptr;
And then try accessing the in the member 'framebuffer' using 'info_block->framebuffer' it's giving me hot garbage.
I'm probably doing something obvious wrong.
Frustrating.
I'm gonna try passing ES and DI seperately and converting them to a real mode address by doing addr = (ES*0x10)+DI;
MAYBE MAYBE MAYBE2 -
rant == needHelp(c++/Qt)
Ok, so I want to pass a pointer to my main class like
CSprite2D::CSprite2D(int number, Ui::MainWindow *i = 0) //gets the number of total sprites from MainWindow
{
number_sprite = number;
ui = i;
QTreeWidgetItem *item = new QTreeWidgetItem;
item->setText(0, "Node 2D " + number_sprite);
ui->treeWidget_2->items.append(item);
}
But I get an error (blablabla doesn't have a class type)
I know, some people hate it, when others use devRant as StackoverFlow, but I can't get any good results off SO, as I always get downvoted for some minor stuff3 -
One of the truth no one wants to say because what can not be can not be.... but...
Maven is fuck... bullshit... failure by design.
For each project I need an own settings.xml. Always something not working. The same artifactory password 10 times there. Null pointer exceptions all over the place. Basics like versioning not really solved.
In all my years with Ant I never had so much problems than with Maven.
This settings.xml is really a design failure. Crap.1 -
I'm all spooked out. I just added complicated JS code in a massive block, doing something complicated, using syntax that I wasn't sure about.
Load the page, smugly expecting like 200 errors. None.
Alright...
Run everything... it works.
WTF.
It's all balanced out though, because then python started freaking out with the wackiest motherfucker of an error I've ever seen. (A pointer to a function magically turning into None) -
Postman freaking sucks now. It's bloated and can't easily do what's it's supposed to do without hassle. You have to login first, then it will inexplicably lose all your previous API requests.
I guess the company has forgotten who their base customers are.6 -
Why the pointer of member function so special.
trying make a non-template class that like std::function but simpler:
1. wrap static function pointer.
2. wrap class member function pointer and the class object pointer.
3. WITHOUT ALLOCATE MEMORY.
I can't store member function pointer because the size is undefined?! -
Let's just say that I hate configuration of any kind.
AWS IAM, Cloudfront... it all makes me want to end it all.
Why can't this stuff just work?4 -
You know what really grinds my fucking gears?
When I increment my pointer beyond the memory the operating system allocated it.
Who are you to define how much memory my pointer is allocated? You fucking bigot!1 -
!rant
Should I buy a mechanical keyboard? I've tried some basic Dell and so far they feel "sluggish", I can type faster on my laptop keyboard because I feel like "gliding between keys as I stroke"
Maybe I should try better ones?9 -
!rant
I work currently on a little startup and something that bothers me it's that even though I've been telling them I'm a Backend developer, they want me doing Frontend.
So, I beg to you, fellows, any recommendations on books or tutorials to learn CSS good practices, design, scrolling animations and whatsoever?4 -
A device that makes women understand that we cannot focus on them all the fucking time, therefore, making them understand that if we can't does not mean we don't care...3
-
in a moment of enlightenment, I realized what problem Cow (copy-on-write smart pointer) actually solves.
Time to touch every file I guess4 -
How can a function cause a null pointer exception at runtime when it compiles perfectly and you haven't put it in use yet? Wtf.
-
!rant
Totally forgot my stickers were on their way. My father just told me he received a letter.
Thanks @dfox and...sorry, forgot the usertag 😥
Thanks for the stickers, as soon as I get home I'll share a pic here and on fb -
Tried installing Arch the whole day... Always crashing at the booting sequence due to nouveau failure. "Pointer to TDMS table invalid" and "Pointer to flat panel table invalid"... Can't even login into the shell.
Fuck this shit... Has anyone tried Devuan? -
The way the responsive design says that Google has a "Guide for Existing"
God, I need one of those!2 -
Suddenly loosing control over what pointer points at what pointer points at what pointer AAAHHHHH. (And that feeling when your application doesn't crash after a php full of retries)1
-
I need to tell you the story of my MOAB (Mother of all bugs).
I need to write some stuff in C (which i am fairly used to) and have a function that allocates memory for a Matrix on the heap. The matrix has a rows and columns property and an associated data array, so it looks like this
struct Matrix{
uint8_t rows;
uint8_t columns;
uint8_t data[];
}
I allocate rows*columns + 2 bytes of memory for it.
I also have a function to zero it out which does something like this
for(int i=0; i < rows*columns;i++){
data[i]=0;}
Let‘s come to the problem:
On my Mac the whole stuff works and passes all tests. We tried the code on a Linux machine and suddenly the code crashed in various places, sometimes a realloc got an invalid pointer, sometimes free got an invalid pointer and basically the code crashed at arbitrary points randomly.
I was confused af because did i really make THAT many errors?
I found out that all errors occured when testing my matrices so i looked more into it and observed it through the debugger.
Eventually i came to the function that zeroes out my matrix and it went unusually high and wondered if my matrix really was that big.
Then i saw it
The matrix wasn‘t initialised yet
It had arbitrary data that was previously in the heap.
It zeroed out a huge chunk of the heap space.
It literally wrote a zero to a shitload of addresses which invalidated many pointer.
You can imagine my facepalm2 -
Connecting local test server with live db for testing purposes. Needs 10 min to start up because much data is preloaded.
Checked against 0 instead of null in code. Big fat null pointer error greets. Another 10 mins lost. -
Why the fuck is it not possible to pass a pointer to a multidimensional array in C++? Like who the fuck though a pointer to a pointer to an array was an elegant solution? I still can’t get my head around how to access the fucking array!!! And this is for a project too that solves poisons equation using the finite difference method none of which was EVER explained!!! Does anyone have a clue about this??????
-
Thank you, .NET Framework, for keeping your GC from destroying my DynamicMethod instance after I've accessed its function pointer!
Unlike another runtime that caused me to waste my weekend hunting a memory corruption bug in a managed language because of a minimal behavioral difference...
/tableflip -
Built the most generic file importer.
So a customer had his SAP system giving us some 5 million barcodes in a csv which we needed to parse. But as there could be different file types and I thought the handling would always include the same steps I made them configurable through function pointers. - Did not want to make it as spooky as the rest of the code base where the function pointers were buried deep in some shared memory configs, which might even change at run time, but rather I statically used the member functions of my class. Just to poke fun on the ugly C++ syntax of member function pointers. I still shudder at the thought some poor soul now has to maintain that code.
(For the actual parsing I actually used a one liner in awk which was churning through the records in one minute which was faster than the SAP guys seemed to be accustomed to.) -
!rant but it's a history
Last months I've been working on an investigation for an assignment on my uni. I required to collect specific data, so I coded an app to aid me on that. Time goes by and one day my mobile development teacher calls me (I used the app for my investigation and as final project on another subject) and tells me if I want to go into a contest with my app, "Why not?" I thought.
I asked some friends to join me because the contest required a team of 3 members minimum. In two days I had to justify the development of my app, how I would make money with it and other stuff.
I swear, this app was just a by-product, and I know you're hoping to hear a win story... We got second place, but hell it feels good to think that some sleepless nights coding along could give back so much.
Moral of the story: Never give up any chance.2 -
Am learning python programming; any pointer to exercises, challenges or projects i can use for practice.4
-
Why the fuck would Google promote Jetpack Compose as a stable toolset when it doesn't even support a basic feature such as a scrollbar.
A. Fucking. Scrollbar.
LazyColumn can't even come close to being as powerful as Recyclerview.
Here's an idea, before launching something and touting it as something usable, and encouraging people to drop the old, battle tested tool for the new shiny one, how about you make sure the new doesn't lack features present in the old one?
Seems logical, right?
Methinks somebody was just looking for a promotion because, clearly, Jetpack Compose is a half-baked product.
Now, developers will have to suffer because project managers will read about the new framework and ask devs to use it, then wonder why the app is suffering.2 -
!rant
Is anyone familiar with Shadowrun? I'd like to ask if they "feel" like devRant it's the real-life equivalent to the Shadowland BBS.
I do, and it feels good.2 -
I want to emulate a dial input because skeuomorphism is cool. I thought it would be nice to freeze the mouse pointer while a dial is clicked so it doesn't wander off to the void while the user watches the dial value. Do you think this is a good idea? Also, is there any gui toolkit that allows this?4
-
Learn enough math to solve the problem Chat GPT (and two university math professors) have been unable to solve :(
The hardware is ready, the software is ready, and the only missing piece is to align a laser pointer with a Lambert's conformal conic projected map... I thought Chat GPT would be able to at least provide me with the necessary formulæ, but not...6 -
...However, tough love is given where tough love is due. It would be great if one, using the mouse, could close several tabs sequentially without moving the pointer. Currently it's tedious due to the differently sized tabs.
-
Intelligent Development class (yeah, that's how it's titled), teacher leaves us as first task to develop our own Database, because later we will make it a fuzzy database.
She gave us three days. Three (counting me) in the team. I began working on Interfaces (Java development) and so on, using GitHub for VCS and documenting each method.
This assholes didn't even ask what was missing or what should they do. One day before date, I told them "Hey, I think I can nail the underlying file management tonight, so, work on the language parser, please"
Stood awake until 1 A.M., waiting for their reply, but there wasn't any.
Next day, I'm the only one of the team and I tried to decline the presentation of my work, but a friend encouraged me, because it was my work and I worked hard.
Presentation went better than expected.
After the class, I have another with one of my team members, he asks "How did you do?", "Us? You meant me, because the other prick didn't go".
And that's all, not another single question nor explaining why did he didn't answered the DM's I sent.
Fuck those guys, fucking team of shit, I hate it when you can't pick your team, but I guess that's just a common place for all of us here, isn't it?3 -
I was never good copying in exams, so that seemed fine for me because what I get is what I know.
But now I'm not good in copy-pasting work from others... fuuuuck, these dudes are like "copy these, modify it, we want a working frontend mockup in 1 hour"
I fucking told you I'm a backend guy!!! NOT FRONTEND!1 -
Anyone experiencing a sudden lag of their logitech unifying ?
When mouse pointer lag it get me on the nerves, and can"t find any solution yet.
Plz help, i switched for a wired mouse for now.
I saw that it may be to do with usb power management. Drivers ?
Any ideas ?4 -
I don't know what's happening. In passing a char pointer to a function. I'm having issue, so I'm printf'ing the address pointed to by the pointer. Right after I assign it, it contains the right address, but the printf on the next line has it containing a different address. Another printf shows another different value, but all the following printfs show that third value. They're all consecutive printfs with nothing happening in between in the program, and the char* starts it's life as an array. All compiler optimizations are disabled. I don't know what's happening, it's just randomly changing. 😭2
-
Just realized a member function pointer can be a template parameter as non-type, gonna try to use it do no dynamic memory allocation trick with std::function.
-
you know. a little pointer as to what it is I'm supposed to be doing to move on with life would be nice.
government work. happens. then it ends and this time period goes belly up.
private work. happens. then it ends and this goes belly up.
why are people so keen on making everything go in a circle and what am I supposed to do be unemployed ?7 -
!rant
Never done a "full-fledged" Android app, but I had to, for school.
It works (by now), now I can sleep3 -
ioctl with FIONREAD as request
it returns size of bytes ready to read, but to store that size it requires pointer to int passed in va_args
when i want to malloc a memory using that size i need variable of type size_t which is 8 bytes on 64-bit system
why do this types mismatch? if ioctl returns size with FIONREAD request it should accept pointer to size_t variable in va_args -
There is no something more frustrating than that when you write a long code in java, and you click the debug button and that happens:
Null Pointer Exception -
!rant
Does ayone knows of a
+ Good
+ Open Source
+ Free
Data test generator tool?
I'm on my first work with a development that will go to production, and I'd like to test performance, UI and all of that with random generated data. I know about dbSchema but it's trial pulls me back -
Does anyone of Europe know about studying abroad?
I want to study my master degree out of my country, and I'm currently searching for opportunities or whatsoever.
Any info it's well appreciated9 -
Yesterday's was fucking stupid.
It all begins with a fucking online clothes shop that "cancelled" my order from a week ago because "PayPal detected strange account movements". I logged into my PP Account and no notice or whatsoever of that.
Then they tell me I'll have to wait around for ~30 days to get my money back. Are you fucking damn serious? First you delay my fucking order a week then you cancel it without contacting me to "reassure" I put the order and then you say that I'll have my money back on 30 days? Fuck you.
Thereafter, I was going to buy a new phone, which two weeks ago I already went to request a quotation and they told me I was ready to go with paying 50% off.
Well... fuck me, because I went yesterday and they told me that I couldn't get the phone becase "The system says you already have three lines with our company, and all of those have money due" What? Fucking shit, I went two weeks ago and everything was fine, and now this? I don't even have an account in that stupid company and now they tell me I have three with late payments?
FUCKING HELL!!
As if everything wasn't going bad already, I went off and said I'll come back today to see "if the system has been corrected", so I went to grab a burger at McDonalds that's on my way back home.
I make my order and the cashier is like "Hurr durr.. The card terminal doesn't work, do you have cash? If not, don't worry I can cancel the order and switch to the other station so i can charge you"
ARE YOU FUCKING SERIOUS? I mean, come on dude! If you know that the shitty card terminal doesn't work and the station that it's fully functional it's literally three fucking steps next to you, WHY THE FUCKING FLYING FUCK ARE YOU USING THE WRONG ONE?
Then I wait for my order, that I saw they prepared and was ready like in 5 minutes, but the guy went and stood looking at the void. Then he realizes and begins to pick my food and set it up. He puts it on a tray and stands there, I stand there looking at him.
"My order was to go" I said... then he's like "Oh, yeah" and begins to pack.
Dude... the order is in the fucking screen, I said the cashier that It was to go... jesus.
Then I tell him "Can you put some sweet mustard packages?"
"Yeah" he says... but I looked away. When I arrived home, I opened the bag and... FUCKING HELL, NORMAL MUSTARD.
I told him twice, even said "please" and "thank you", but hell no, he had ONE JOB, and he didn't do it.
Seriously guys, stop this fucking mess, somebody call `kill` -
FUCKING SHIT, I HATE THIS
Does anyone have problems with axios?
I've been trying to make this work for at least 1 hour. If I use Postman, it works alright, but using axios messes it up.
Practically what happens it's that Django does not picks the foreign keys, it loads all the fields except those two.
I've been like fucking crazy trying to understand what's going on but to no avail... I want to die, it's friday and this stupid thing is delaying me more than it should3 -
!Rant
Planning on upgrading my laptop. Budget it's ~1000USD, any suggestions?
I'd prefer something with >=FHD screen, it's hard to code on my 1366x768 resolution (non glossy also)12 -
For progress and success all you have to do is be the right person in the... holy shit, I missed it! Damn lag!
-
!rant
I'm just a beginner with CSS, nodejs, sass and whatsoever. Also I really enjoy writing my docs with Markdown, so I decided to make an effort and create a project that aims to create an easy-to-use and easy-to-apply Markdown themes, that can be customized.
I know that this may be horrible code, but If someone can point me in a good direction, I'd be glad to learn and apply it.
https://github.com/apexJCL/...1 -
Any tinker's here?
I'm in no way one, but I have to start with something, and recently I've buy a Moto Z2 Play, that has this little and nice interface that allows "Moto Mods", practically are modules that you "snap on/off" and add functionality to your phone.
Does anyone here have tried the MDK? do you think this is promising or just another trend to get lost in the way? -
!rant
Does someone hates having to look down at the terminal to keep writing?
I don't know if there's a way to keep the text at a certain height, to avoid head movement (sadly, I can't elevate my monitor) -
!rant
For years, I've been putting myself back whenever I got an idea to do something, because "what would people think?"
But, you know, there's only one life (unless you believe in reincarnation, that's fine), and I'll do whatever the fuck i want (that's legal and doesn't breaks moral/ethics, to each their own)
So...I just got an idea, decided to put it down and publish it.
It sucks? Maybe, but I don't care, it's done and out, I'd rather want to live being seen as a fool than die hiding myself.
https://youtu.be/gF3O6a0MSa8joke/meme !rant issues shitposting this shitposting it's not of good quality nah who am i kidding quality shitposting not funny