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 - "gc"
-
Will the bug in my code please stand up?
I repeat
Will the bug in my code please stand up?
I think we have a problem here.
*music intensifies*11 -
!rant
I was in a hostel in my high school days.. I was studying commerce back then. Hostel days were the first time I ever used Wi-Fi. But it sucked big time. I'm barely got 5-10Kbps. It was mainly due to overcrowding and download accelerators.
So, I decided to do something about it. After doing some research, I discovered NetCut. And it did help me for my purposes to some extent. But it wasn't enough. I soon discovered that my floor shared the bandwidth with another floor in the hostel, and the only way I could get the 1Mbps was to go to that floor and use NetCut. That was riskier and I was lazy enough to convince myself look for a better solution rather than go to that floor every time I wanted to download something.
My hostel used Netgear's routers back then. I decided to find some way to get into those. I tried the default "admin" and "password", but my hostel's network admin knew better than that. I didn't give up. After searching all night (literally) about how to get into that router, I stumbled upon a blog that gave a brief info about "telnetenable" utility which could be used to access the router from command line. At that time, I knew nothing about telnet or command line. In the beginning I just couldn't get it to work. Then I figured I had to enable telnet from Windows settings. I did that and got a step further. I was now able to get into the router's shell by using default superuser login. But I didn’t know how to get the web access credentials from there. After googling some and a bit of trial and error, I got comfortable using cd, ls and cat commands. I hoped that some file in the router would have the web access credentials stored in cleartext. I spent the next hour just using cat to read every file. Luckily, I stumbled upon NVRAM which is used to store all config details of router. I went through all the output from cat (it was a lot of output) and discovered http_user and http_passwd. I tried that in the web interface and when it worked, my happiness knew no bounds. I literally ran across the floor screaming and shouting.
I knew nothing about hiding my tracks and soon my hostel’s admin found out I was tampering with the router's settings. But I was more than happy to share my discovery with him.
This experience planted a seed inside me and I went on to become the admin next year and eventually switch careers.
So that’s the story of how I met bash.
Thanks for reading!10 -
I accidentally sent my password to slack channel!!
I have deleted it and changed my password of course, but it still doesn't make the embarrassment go away. Especially because my password is something ridiculous like :
Materialisticbitch88$$$
Some people have already seen it!!
RIP my reputation.
:/18 -
Wtf Microsoft...
Found out the hard way that copying a line of code from Teams chat will sometimes convert the spaces into unrecognized ASCII char.
Spent a few hours yesterday to fix the bad chars.
🤡👍16 -
. _ _ _ /\/|
/ \ _
| [ o]-[ o] l l
\ ¬ / l l
////////// l l
/ \ \ / l_l
/ \ \ _ _ _ _ l
/ \ _ _|_ |- -| \ /\
| ===== |_ |
D E V E L O P E R
A T
N I G H T4 -
Yo.
His palms are sweaty
Knees weak arms are heavy
Bugs littering his code already
Cold spaghetti 🍝
He’s nervous but on the surface he looks calm and ready to git push
(Hit a blank with thinking of code-related lyrics, anyone got ideas?)16 -
OMFG!! I just discover a fucking bug in a library used by thousand of people in scientific community!! 🤩🎉
Started when my program outputting strange result. I was in a huge fight with my supervisor about one of the function from the library. My hunch was telling me that this function is the source of the problem, but he insisted that no such bugs could exist in the library that has been used by thousands of people.
I couldn't reproduce the bug so I just stayed silent at that time,
But now, I finally got the bug showing. Yeah I am gonna shove it to his face next week.✊
I will also let the people who maintain the library know.
Feels so good being able to be a contributor PR to this famous library 😎
The downside is now I can't use this function, I have to implement by own function.5 -
Guidance counselor at school: so what field do you want to go into?
Me: computer science
GC: what does that entail?
Me: programming
GC: that's like super repetitive, right? You're a smart kid don't do that
In my head: no you mf dingle-dong. That's the job that will take your job away from you in the next 5 years
Ffs, why do people think coding and entering data into Excel are the same things?6 -
If I changed girlfriends as often as I changed JavaScript libraries, I'd still be looking for a girlfriend.
Cuz I try and avoid using JavaScript.7 -
POSTMORTEM
"4096 bit ~ 96 hours is what he said.
IDK why, but when he took the challenge, he posted that it'd take 36 hours"
As @cbsa wrote, and nitwhiz wrote "but the statement was that op's i3 did it in 11 hours. So there must be a result already, which can be verified?"
I added time because I was in the middle of a port involving ArbFloat so I could get arbitrary precision. I had a crude desmos graph doing projections on what I'd already factored in order to get an idea of how long it'd take to do larger
bit lengths
@p100sch speculated on the walked back time, and overstating the rig capabilities. Instead I spent a lot of time trying to get it 'just-so'.
Worse, because I had to resort to "Decimal" in python (and am currently experimenting with the same in Julia), both of which are immutable types, the GC was taking > 25% of the cpu time.
Performancewise, the numbers I cited in the actual thread, as of this time:
largest product factored was 32bit, 1855526741 * 2163967087, took 1116.111s in python.
Julia build used a slightly different method, & managed to factor a 27 bit number, 103147223 * 88789957 in 20.9s,
but this wasn't typical.
What surprised me was the variability. One bit length could take 100s or a couple thousand seconds even, and a product that was 1-2 bits longer could return a result in under a minute, sometimes in seconds.
This started cropping up, ironically, right after I posted the thread, whats a man to do?
So I started trying a bunch of things, some of which worked. Shameless as I am, I accepted the challenge. Things weren't perfect but it was going well enough. At that point I hadn't slept in 30~ hours so when I thought I had it I let it run and went to bed. 5 AM comes, I check the program. Still calculating, and way overshot. Fuuuuuuccc...
So here we are now and it's say to safe the worlds not gonna burn if I explain it seeing as it doesn't work, or at least only some of the time.
Others people, much smarter than me, mentioned it may be a means of finding more secure pairs, and maybe so, I'm not familiar enough to know.
For everyone that followed, commented, those who contributed, even the doubters who kept a sanity check on this without whom this would have been an even bigger embarassement, and the people with their pins and tactical dots, thanks.
So here it is.
A few assumptions first.
Assuming p = the product,
a = some prime,
b = another prime,
and r = a/b (where a is smaller than b)
w = 1/sqrt(p)
(also experimented with w = 1/sqrt(p)*2 but I kept overshooting my a very small margin)
x = a/p
y = b/p
1. for every two numbers, there is a ratio (r) that you can search for among the decimals, starting at 1.0, counting down. You can use this to find the original factors e.x. p*r=n, p/n=m (assuming the product has only two factors), instead of having to do a sieve.
2. You don't need the first number you find to be the precise value of a factor (we're doing floating point math), a large subset of decimal values for the value of a or b will naturally 'fall' into the value of a (or b) + some fractional number, which is lost. Some of you will object, "But if thats wrong, your result will be wrong!" but hear me out.
3. You round for the first factor 'found', and from there, you take the result and do p/a to get b. If 'a' is actually a factor of p, then mod(b, 1) == 0, and then naturally, a*b SHOULD equal p.
If not, you throw out both numbers, rinse and repeat.
Now I knew this this could be faster. Realized the finer the representation, the less important the fractional digits further right in the number were, it was just a matter of how much precision I could AFFORD to lose and still get an accurate result for r*p=a.
Fast forward, lot of experimentation, was hitting a lot of worst case time complexities, where the most significant digits had a bunch of zeroes in front of them so starting at 1.0 was a no go in many situations. Started looking and realized
I didn't NEED the ratio of a/b, I just needed the ratio of a to p.
Intuitively it made sense, but starting at 1.0 was blowing up the calculation time, and this made it so much worse.
I realized if I could start at r=1/sqrt(p) instead, and that because of certain properties, the fractional result of this, r, would ALWAYS be 1. close to one of the factors fractional value of n/p, and 2. it looked like it was guaranteed that r=1/sqrt(p) would ALWAYS be less than at least one of the primes, putting a bound on worst case.
The final result in executable pseudo code (python lol) looks something like the above variables plus
while w >= 0.0:
if (p / round(w*p)) % 1 == 0:
x = round(w*p)
y = p / round(w*p)
if x*y == p:
print("factors found!")
print(x)
print(y)
break
w = w + i
Still working but if anyone sees obvious problems I'd LOVE to hear about it.38 -
The number of tabs opened in the browser is directly proportional to the completely of the problem! :p9
-
that's quite accurate :) ofc there are exceptions (looking at you two naughty bois, metaspace and off-heap allocations!), but it's true for the most of it :)5
-
What is this ?
U call this wireless security??
Anyway what is the best way of securing hotspots in the airports , hotels , ... ?10 -
!rant.
Here's some useful git tricks. Use with care and remember to be careful to only rewrite history when noones looking.
- git rebase: powerful history rewriting. Combine commits, delete commits, reorder commits, etc.
- git reflog: unfuck yourself. Move back to where you were even if where you were was destroyed by rebasing or deleting. Git never deletes commits that you've seen within at least the last 50 HEAD changes, and not at all until a GC happens, so you can save yourself quite often.
- git cherry-pick: steal a commit into another branch. Useful for pulling things out of larger changesets.
- git worktree: checkout a different branch into a different folder using the same git repository.
- git fetch: get latest commits and origin HEADs without impacting local braches.
- git push --force-with-lease: force push without overwriting other's changes5 -
I want to print this pic out in enormous size and qty, hang them in many classrooms to show my female friends that it's normal to wear cute skirt and cute shoes while wringing cables on your shoulders.
😏12 -
My wife is complaining that am spending too much time on devRant. I just told her, am coming here only when windows is updating :p ;)1
-
Successful startup message on my friends discord bot:
Yo
His palms are sweaty, knees weak, arms are heavy
There's vomit on his sweater already, mom's spaghetti.
Bot Ready.
😂
https://github.com/nbd9/PastaBot -
To all those people that have Git alliases like:
"gc" = "git clone" or "ga" = "git add"
What do you do with all that extra saved time?15 -
import datetime
age=19
while not dead:
today=datetime.datetime.today()
if today.day == 1 and today.month == 4:
age+=1
print("🎉")11 -
Me thinking that getting a job in tech is easier than getting a non-tech job because we are "in demand".5
-
I don't know why quiting vim is such a challenge for new users.
While Quit starts with q , so q is very logical for quiting 😬4 -
That awkward moment when you made some changes in your code and hope that it will fail so that you can confirm your theory/suspicion.
Otherwise you'll have no idea what's going on.
: /3 -
Prof: "Hey, you can take a look at the source code that we used last year in this research paper"
Me :(surprise because other papers usually don't share source code), "Okay"
A few weeks later:
Me: "Prof, if you use method A instead of method B, you can get better performance by 20%. Here's the link"
Prof:"The source link that you mentioned is for another instrument, not GPU"
Me:"Yeah, but I tested in on GPU and I found it is also applied in my device"
Prof:"That's interesting."
-----------------------------------------------------
This is why folks, sharing the source code that you used in scientific papers is important.8 -
Me 2 days ago :
"I have applied to so many places, and did lots of interview for my internship. Still no result so far. Maybe I need to take some odd jobs to cover my bills while I improve my coding skills. Rent and food need to be paid, you know.
But I will keep applying to at least 40 companies before I change my strategy"
Me today :
"OMFG, they offered me a position despite my very bad interview!!"
🤩
So whoever is still looking for a job out there, don't give up man... We are in this together.👍👍3 -
Connect a pen drive, format it successfully. Connect to a new machine to copy data and see the data exists.
Crap! which drive did I formatted :(1 -
I spent an entire week debugging my JS Gameboy emulator an year ago.
(The "C" register was read-only for some reason)
Turns out I typed "с" (cyrillic) instead of "c".4 -
Found out other team's project result about performance for uni assignment. It's that Matlab is the fastest, followed by python and C++ is the slowest.
They are gonna get roasted during presentation (by many people in the audience including me).
This is gonna be fun.
/*devilish grin*/22 -
Can i train myself to think like a computer?
Means I wont to the best thing i can do in each second without even thinking ! Just like what a computer does13 -
If I do it in python : Finish in one day!
If I do it in C++ :
1 week for installation and configuration
3 days for coding
Another 1 day for troubleshooting...
But I will still prefer do it in C++.5 -
Friend: why do I get this error help
[I check the logs]
Me: uh,its a OOM, did you allocate enough memory for GC?
Friend: wait hold on
[changes a method]
[works]
Friend: I shouldn't use this experimental method
Me: Cool man blog it2 -
Skills required for ML :
Math skills:
|====================|
Programming skills :
|===|
Skills required for ML with GPU:
Math skills:
|====================|
Programming skills :
|====================|
/*contemplating career choice*/
: /3 -
Previously, I rant in twitter but none of my followers understand them.
So now I am gonna switch here.
Please bear with me. (^.^)d1 -
I attended a 2-days scientific conference last week which lasted from 9 AM-7 PM.
I submit my travel expenses today and the university adm got guts to tell me that
I should commute 6 hours everyday to that place instead of staying in a hotel.
Please people, I contribute making our research and name renown to the public. I don't even get paid doing that (did it for the sake of experience).
The least you can do is to support the accomodation. The penny pinching you did in the name of cost saving is embarrasing.
I didn't like every hour spent working in the uni, yet people still ask me why I won't continue to PhD.
No offence to all PhDs out there. It's just that my practical and money-oriented ass couldn't
stand all the free work I have to do if I do that.
I'd rather work in a supermarket, at least I'm getting paid of what I'm worth.
😕7 -
I'm a noob so I was dumb enough to google 'Eyeballs' in case it's a kind of tools that I don't known yet.
😕3 -
Wanted to kick off my causine from the network (he keeps downloading and eats all the traffic) with my kali.
Guess what?
I forgot to bring my wifi adapter and my kali was installed on vm which means no chance to send deauth packets!
Allright! Maybe next time 😬 -
Every project ever :
Initial plan :
||===================|| 100 %
Actual submission
||==|| 13%
- Not enough money!
- Not enough people!
- Not enough time!
- Not enough resources!
- Hardware not supported
- Software not supported
- My team are useless
- God didn't like it. :/1 -
Our marketing just change the blacklist/whitelist terms to blocklist/allowlist to make it more "neutral" following change in github "master branch" to "main branch"
When will this end, people ?
:/11 -
S̠̪͓͓͐̑̑ͥȉ͎̦̬̱̤̣ͯ̆ͩ̃̌n̦̙̙̦͉̟̟͋ͬ̉ͫ̍̈́̚c͓̰͚͚̆̎ͦͫe ̹ͨ̚ͅt̠̟̦͍͕̑̾ͬͬ͒ͦͅǒ̪̩̑m͍̖̭o̝̬͚̦̥̺r͌̋ṙ̒̐̄ò͙͓ͭw ͩ̔̿̎ͤ̋ͮi̼̭̦ͥͣ͒s̪̰̃̂ ̲̰̮̣̮̌ͭͬ͆̔H͉̳a̠̲̟̹͓̰͎͐͆ͥ̓͋̍̎llo̱̺͖̲͑̒̿ͨw̜͓̟̺̹̹ḙ̭̳̬͇̻ê͖̼̮ͥ́n͉̺͑̽,̫̲ͪ̅ ̫̲͓̟̳̋͊̇̆̈̓ͅľ̠̰̅et̠̩̟̦͉̦͕͐̓ͦ͌ͩͥ̓s̱̓ p͔͚͈͎̰͓̘ra̰̘̥̗̲̯͓n͎̪̠̗͎̬k̈ͬ̊͛̉̅̚ ȏ̻͇̫̰̞ͣ̌̄̌uͤͭ͑ͯr͉̗ͅ ͊̊ñ͙̯͈͑͑o̗̙̍ͤn-͚̘͎̣͑͊͑̇̔ͅtͨ̽̿͑̇̚ḙ̱̾ͭc͍h ̯͖̓ͯf͓̗̥͔̥̬̎͒ͤ́͒ͯr͍͙̋̋ȉ̤en̥̻̦̥d̟̜̟ͬͩ̈́s͍͕̦̭̣͉̿̔̇ͯͥͬ ̲͛w̞̽i̥͕̙̹ͅt͖̠͕̒̍̈́h͉ ͊͐ẗ̒́̄̍͊h̗̜͔ͅi̖̟̫ͪͨ͊͊́ͅͅs ͚̩̟̐ͦͩ̔ͅz̰̫̦̹͖̙ͅḁ̗̬̪̪̰̋̐̂̈́̑͆l͂̓͐̈́g͖ŏ͓̘̳̝̩͍̯͆̈̎̈̍̚ ̫̞͕̺̣̌ͬ͛͋̿t̤̰͍̼̘͖͈́̇̄̂ͭͬͮe̘͖̠̠̓̊ͤ̅x͉͙͎͈ͩ̂̉͂t͙̞̣̖͖̀̎̽ͮ̇.͎̣̤6
-
Enough is enough! I can't do it anymore!
...
alias pm='python manage.py'
alias ga='git add .'
alias gc='git commit -a'
alias gi='git init && touch .gitignore && printf ".idea \n venv \n node_modules \n out \n *.iml \n *.log \n build \n target" > .gitignore'
alias gp='git push'
alias gps='git push --set-upstream origin master'
alias gr='git remote add origin'
...
Much better :D12 -
Why are people complaining about debugging?
Oooh it’s so hard.
It’s so boring.
Can someone do this for me?
I honestly enjoy debugging and you should too..
if it’s not your code, you’ll get to understand the code better than the actual author. You’ll notice design improvements and that some of the code is not even needed. YOU LEARN!
If it’s your own code (I especially enjoy debugging my own code): it forces you to look at the problem from a different perspective. It makes you aware of potential other bugs your current solution might cause. Again, it makes you aware of flaws in the design. YOU LEARN!
And in either case, if it’s a tricky case, you’ll most likely stop debugging at some point, refactor the shit out of some 50-100 line methods and modulize it because the original code was undebuggable (<- made up a new word there) and continue debugging after that.
So many things I know, I know only because I spend days, sometimes even weeks debugging a piece code to find the fucking problem.
My main language is java and i wouldn’t have believed anyone who told me there’s a memory leak in my code. I mean, it’s java, right? We refactored the code and everything worked fine again. But I debugged the old version anyway and found bugs in Java (java 6.xx I believe?) which made me aware of the fact that languages have flaws as well.. GC has its flaws as well. So does docker and any other software..
Stop complaining, get on your ass and debug the shit out of your bugs instead of just writing it in a different way and being glad that it fixed the issue..
My opinion.3 -
Expectation: I'm going to spend today debugging my app
Reality: adds 10 new features, 30 got commits and some Easter eggs. No bugs fixed. -
The guy I work with was pissed because I asked him the status of his task during the daily meeting.
He doesn't want me to embarrass him because he hasn't finished this task. He said not to push him further as he will do it soon.
Dude, the point of having a daily meeting is to give updates of all pending tasks. it's been one week, you're procrastinating on this task is delaying the progress of my task.
Mind you, this guy has a PhD but he can't even understand a simple project management like this.
Hehehe this whole team is clown world 🤪🤡8 -
So i was working on ruby gem that wraps the libarchive C library which can be used to read and write archives of many different formats.
I was stuck for few days with a segfault and for the life of me, i couldn't find the problem.
So, i took a break and went to visit my grandparent, grandpa saw me so zoned out. So he was like, whats happening? I was like, "Frakinn program, keeps crashing".
He looked at me and said, "Garbage in Garbage out, Computers don't make mistakes" and went back to finish his game.
Then it him me the FRAKINN Ruby Garbage collector is freeing in-use objects and suddenly everything make sense.
Thank you grandpa :D3 -
My non-programmer friend (a mechanical engineer) has better pay doing what she loves.
I have lower pay, clocking more hours, and stress, doing a subject that I don't like.
Should I change profession?
: /10 -
If anything taught me that garbage collectors aren't the one true answer for memory management then it's got to be modded minecraft
It takes around 10-20 seconds only to disconnect from a game and go back to the main menu.
You also get memory leaks, which result in several second long freezes when the GC kicks in, that happen every 15 seconds.1 -
I was trying to understand the source code of aircrack-ng which is written in C today.
Suddenly I saw sth strange !
WTF !! what is #ifdef ??? I've never seen that before !
So I told myself : hey ! You have to download a complete C programming course!
so I did , but when I skimmed through the titles , again:
WTF ! I know all of them! So why the fuck I could not fully understand the code ? Where can I find anything I missed ?
So... I'm asking U :)14 -
I was wondering all day:
Can machine learning really teach a machine how to think?
I mean in a real unexpected situation that even a human may be confused , how a trained bot would react?17 -
Me : "I need to stop geeking out about security because I have exams and need to write a report"
Me 2 hours later : "Ooooo.. what's this cool article about?Let's check it out 😎"2 -
OKAY
WHO THE FUCK DESIGNED THIS STUPID ANDROID EMULATOR.
ALL I WANT TO DO IS LISTEN TO MY MUSIC WHILE PROGRAMMING
BUT NOOOOOOO
WHENEVER THE FUCKING EMULATOR IS OPEN THE QUALITY OF THE MUSIC IN MY BLUETOOTH HEADPHONES GOES TO aBsOluTe SHIT.
CMON GUYS. GET YOUR HEADPHONES OUT OF YOUR ASS AND TEST YOUR FUCKING SOFTWARE12 -
Bind learning c++ chapter 3
Fuck whoever says that java is easier than c++. If i populate memory i can just fucking clean it out. I have access to the literal fucking stack my code runs on. I can integrate assembly. I can fucking make my program run in -3 seconds for fucks sake, this is so much easier than java where i have to fuck around with scopes to nudge the gc to start cleaning up and i need a separate engine to access jasm code.9 -
This guy told me that I was unprofessional because I called him reckless.
He thought that reckless is unprofessional word?!
Are you fucking kidding me?! 🤬
I was just pointing out his recklessness of wanting to delete files in our shared platform without permission from the owners.
These files may be important and he only gave us 1h to back it up. He's the one being unprofessional.🤪
Anyhow, this is not the first time I have had a fight with him, and certainly won't be the last.7 -
So... as a follow-up to my previous rant (https://www.devrant.io/rants/899731)
I happened across this today and started giggling internally.
Enjoy1 -
How many programmers does it take to screw in a lightbulb?
It doesn't matter. Its a hardware problem not a software problem...1 -
Some programmer forget to put ; at the end of their commands,
My problem is that i forget not to put ; while coding in python :/4 -
Me working in High Performance Computing :
CPU/GPU in full throttle ... go brrrr...
Me working on an app:
Should put sleep() in the while loop so as not to overwork the CPU
😑😑2 -
Have u ever thought 24h is not enough?
I wish i 48h or even more but wishing won't change anything :(8 -
In the worls of coding what matters is the algo and it's optimization
Any recommandation for proving my skills?
👑
Thank a LOT. 😊4 -
Rust, because if we can eliminate all security issues because of buffer overflows or other memory-related problems without a GC and still be as fast as with C, that would be pretty dope for everyone.1
-
Here's how I describe my workplace:
- a mid dev that will stay mid forever
- a senior but with junior skill
- a mid but actually a junior
- a verbose dev, people having rough time trying to understand her because her explanation is always blown up
- a PM without enough technical skill
- a dev with personality like a moody teenager
- a contractor but acting like a customer
Did I miss anything? 🤔3 -
Unpopular opinion:
- It's not a guarantee that someone who gets into tech because he/she likes gaming will be a good dev
- It's not a guarantee that someone who gets into tech because he/she likes money will be a bad dev.3 -
My mom (a single mother who had to feed 4 kids) feed me, let me stay in her house (at least until I was 21) and let me use the motorcycle.
Instead of running away and giving up her children to child institution (because that's probably what I will do being a selfish person that I am)
If that's not support, I don't know what that is anymore.
It might not be much but at least it gave me the time to grew up and be independent to pursue my dream of working in IT.
Her strength and toughness facing the hard life is also the main inspiration for me to keep going, to prove that I can do whatever I want if I put enough effort on it.1 -
Those of you who like "The Imitation Game", you probably want to check out "Hidden Figures" (2016). It's on Netflix now.
About a team of female African-American mathematicians who wanted to "break the glass ceiling" in NASA.
- Dorothy : conquered the (recently acquired) IBM frameworks using Fortran and taught her team to program it
- Mary : appealed to court to be allowed to study in a all-white school to get her qualification to be an aerospace engineer
- Katherine : her skills in analytical geometry enabled her to be the first female African-American in the Space Task Group in calculating the momentous capsule launch into orbit
My lazy ass just can't fathom how someone who deals with so much math and pressure can still smile to their family after work. My grumpiness nature will surely turn me into a monster.
And now I know what "human computers" means.5 -
Last year, my current manager promised me a significant salary increase if I transferred to his team. He said that's because his department has bigger budget. So I did.
Today I received a notification for a 5% salary increase. 😂
I am a dummy for trusting him. 🤡
There's a reason why a lot of my former colleagues are no longer in the company.
Never fully trust your company folks!3 -
Other people : save money to buy car, house, etc...
Me : save money to pay for this f*cking degree where 80% of what they taught will be useless after graduation.
: /4 -
Every engineer in my company seems to be passionate about the industry we're in.
For example:
If we're in a medical industry, they're excited about being able to help sick people with the medical devices that we program. They're excited about the news/progress in the medical communities. They have something more motivating beyond creating tech tools.
For me, it's just a job with a paycheck. I don't drink their kool aid. I'm occasionally excited if I managed to create new things with new software tools.
I am often jealous with them, because they seem to be already working in their dream job, instead of having cold dead eyes like mine.12 -
I have only been working with this open-source tool for 2 weeks, but already found 2 bugs. The maintainer is also nice enough answering questions quickly in the forum and submitting the issues for me.
It's nice to be able to contribute something to the open-source community. Yay for me! 💯
Too bad that next week, I will transfer to another project and stop working with this tool.3 -
My code be like:
Call the method cronk...
WROOOONG MEEETTTTTTTHHHOOOOOOOOOOOOOODDDDDDDDDDD!!!
*climbs out of alligator pit*
Why do we even have that method -
Watched an action hack movie
Then designed a scenario to sniff around a bank and get the encrypted key and finally extract the key and omg!
I've broke into the bank !!!
But seriously, is it worth trying?
I'm not going to do any thing stupid like even taking a dollar , but is it just the way I thought it is?
Will anything unexpected happen?16 -
If I have the same privileges (time, money, connections, environments, energy etc) that they have, I will surely achieve 3x more.
I am not trying to find an excuse, that's the reality. I already achieved way more than most people with the same background. I should be proud of myself, and other people who think otherwise can go fuck themselves.
༼ つ ◕_◕ ༽つ3 -
How can I make my manager understand that performance should not be measured by how many tickets we have resolved?
If the ticket is an easy one then sure 1-2 days is enough, but for some complicated shit or dealing with models that I have never touched before, I am gonna need several days just to understand the requirement.
For some fucked up reason, our story point is in hours, instead of days. So when we say 24 hours, then it's only 3 days.
Another fucked up reason is that my colleagues doesn't seem to mind. I am the most vocal one objecting when got assigned too many tickets. They just joke around and seem to accept it.
FYI, I am just 6 months in and bouncing between 3 projects.
Am I just too lazy or slow?
In my previous company, the devs seemed to be pretty chill, and the project manager only complained when an issue has been dragging on for weeks.5 -
Because of high gas price, the government decided to lower our tax.
For me it translates to additional EUR 11/month ☹.
This is after deductions of thousands of euros each months (tax and social contribution) from my hard-earned salary. How come nobody is complaining about this?
During my yearly review, I told my manager that I expect to see significant salary increase next year (the inflation is 9% duh!).
She told me that I can expect to get 20% increase after 3-4 years. ☹
Now I know why a lot of people are leaving. How can you expect your employer to stay put if you're constantly paying them under market rate?! I have to keep switching jobs every 4-5 years to get a decent pay, right? Yet society expect me to settle down and have a stable job.
And then, how come a PM earn significantly more than a regular dev? Even the job interview is much easier. But I like the technical part too much to switch to people management.
By no means, I am starving right now working as a dev. I am happy that I even have a job, but somehow I felt like what I do is pointless just being a wage slave, and felt demotivated in a lot of ways.
P.S.: I am writing this now in front of my work computer. I have to catch up some work to do otherwise I won't have time to do it during the weekdays 😔
Pray for me guys I can get better job within next year.8 -
FUCKING HELL!
I just shutdown my computer after deciding to leave the unfinished feature that I started a couple hours ago for tomorrow.
Not 5 fucking minuets later I had found a solution in my head but now don’t want to spend the time to turn my computer on to fix it. Ugh1 -
The whole dev community.
Those who have dedicated time and energy to share solutions, tricks, bug-solving ideas, codes that I can steal; teach me patiently even though I am slow, cheer me up when I am down because I'm stuck debugging for hours, brighten me up with programming jokes when I am sad.
Those who have allowed me to earn good money in the field that I really enjoy.
Yeah, including you 😘 -
A developer said to me: developers may hurry to finish the project before deadline that they might miss many security bugs specially in the updates. That a creative hacker will later take his time and exploit them.
Is it correct ?3 -
garbage collectors' lifestyle matters!
Ever eyeballed the abyss of your memory leaks? Shit, garbage collectors deserve a raise.
Unsung heroes, janitorialing thru that VM like a dung beetle, silently fucking up your perf so you can do that delicious spaghetti. Indiana-jonesing the fuck out of that memory trash can and euthanizing all that disgusting heap of pointers hanging, dangling, like... well, like garbage.
At the very least they're deterministic, unlike that Markov chain we all had the displeasure of fucking up. Amen? Amen! 🙌🏻
You gotta wonder, though, what goes through their nuggin. Do they reminisce about the potential of that half-ass-written class? Do they weep for the elegance of a forgotten function bottlenecking their job? Nah, probably just counting down the nanoseconds till their next full GC cycle. Aaah, like cold beer in Saturday barbecue.
So next time your program miraculously avoids a memory error, take a moment, put your hands up in the air and say a prayer to your garbage collector.
Silently covering for your fuckups2 -
Annual inflation rate = 9.2%.
My annual salary increase = 5.5% (from my meager salary as junior)
Thanks management 🤡👍6 -
Project deadline = 7 days
Day 0: start coding
Day 1: few bugs and crashes
Day 2: fixed those bugs project is 30% done
Day 3: ok I have time... sleep
Day 4: sleep
Day 5: sleep
Day 6: 48h coding to finish the project on time.4 -
Friends were having great and fun time last night partying after (also) last week partying.
And now someone's having friends over for dinner in the shared kitchen.
While here I am hours staring at my screen trying to break the algorithm.
: /
______________________________
Me : Enough with coding! I need social life!
5 min later :
*Checking devrant and reddit/programminghumor2 -
Me: Can you write the exact code one more time but in C language this time, so we can see it?
Other: But why, what's the problem?
Me: I don't know, maybe is garbage collector which collected all your code because IT LOOKS LIKE TRASHHHHH :@:@:@:@2 -
Intend to help a friend to find out what's wrong with a software installation in his laptop today...
But forgot that his Windows installed in Chinese version... how am I supposed to help.... (; _ ;)
I can't read Chinese... can't even find how to open Control Panel...
_________________________________
My native language is not English, but I always have all my techies set up in English.6 -
I am in the mood for anything at 11 PM-5 AM.
Cleaning the house, studying, coding ...
Juices of ideas, energy and focus are just overflowing.
Too bad that I have to follow "normal people" schedule which starts at 9 AM.
:/4 -
Can someone tell me how a mid level developer with a PhD from EU country is unable to work independently, conduct investigation by himself without too much hand-holding?
Is he too allergic to use google search?
Or is it me that have too much expectation? He's been in our team for 3 months, he should be able to search docs/procedure/files by himself now. Is it me that are too workaholic nerdy and he's just a normal person?
🤔
Thankfully he's the nicest person in our team, but I am getting fed up having to answer his questions many times.12 -
Working at least 12 hr a day is in my daily routine.
Each minute must have an exact purpose and should not be wasted
(That is just a theory and does not mean that I actually manage to do it everyday) -
Me everytime before our daily meeting:
"Breath in Breath out ...
I am not gonna pick a fight with anyone today ..."4 -
Friends/Seniors : "Hey, you should take these courses. They are easy and you can get easily an A!"
Who the fuck decide what optional courses to take based on if it's easy or not?!
Students take them because :
a. They are interested in the subjects
b. Knowledge/skills after attending the courses will be beneficial for future career.
I put my money more on option b though, i.e I'd rather get C's in courses that I found it useful, than getting A's in useless courses.
(Btw, my avg grade is just a little above Cs)
If my sole purpose was just to get straight A's, I would enroll in liberal art courses instead of this stressing half-CS course we're in.
You're a joke to yourself, that's why I don't hang out with you.3 -
The reason why I like to code alone in the dark is so that people cannot see my dumb mistakes such as 'forgetting to hit run after compile and wasting 10 min wondering why my code didn't show on the console'.
: /1 -
I've only been here for 1 month for my new position in Ops, and I already miss software development!
All I do everyday is just typing commands on the terminal.
If I am feeling fancy, I may create a script or two (that's the closest thing I have to writing code).
I hope I can get more interesting thing to do in the future. If not I can't see myself doing this in long term. It's OK for occasional tasks or added responsibility but I don't want to do it as my main job.11 -
For context, I've been working for a couple years now with Rust, and, I have to say, the experience has been astoundingly pleasant. The language is both incredibly productive and meets each of my use cases and stipulations regarding speed, safety, and complexity. That said, I've come to beg the question, "what is the point of functional languages like Haskell?" To me, what seems attractive about Haskell is the inherent thread safety, and the added syntactic niceties of code written in the language. However, one must keep in mind, my experience with Haskell has been pretty limited, simply due to the massive learning curve that the language presents. Such a "learning curve" brings me to my central point: these days with languages like Rust which bring together the best from functional and imperative worlds, it seems like functional languages are becoming increasingly irrelevant. Let's face it: no sane person will choose to learn a functional language as their first language, outside of academia and mathematics, and OOP/OOP-like languages remain dominant in the space. So, why then, is Haskell any different? What benefit do languages like Haskell pose in the modern CS space that thread-safe, non-GC languages don't already provide?2
-
I always wonder why the IT guys seem to be short tempered when dealing with dev related issues.
Now I understand...
For a few days I have to help my colleague setting up his new project and dear Lord...
I thought I have enough patience because I am a woman...
This guy is very very junior, I couldn't get any input/ideas from him when debugging
Dear god, help us because I am the only one with enough experience in this project.11 -
I 'm working with python 3:
Was about to make my app print a text letter by letter (same as somebody's typing the text) and read it at the same time.
I wrote a method for typing and works fine but cannot find a solution for the tts and make them run at the same time.
Can U halp me please ?
Thanks in advance 😊2 -
I've been a dedicated Golang programmer for a few years now.
But lately I learned rust, and now even the thought of garbage collection makes me davastated :(1 -
I just bought my laptop last year.
But I already crash it several times due to my horrendous C++ programs.
Lifespan is greatly reduced.
/*Please bear with me, sweety!
At least, until graduation!*/
: /5 -
My first time doing a pair-programming for uni assignment.
My partner is actually smart (a Mechanical Engineering guy), except when it comes to programming :
1. Don't know how to spell FALSE
2. Don't know how to create array in Matlab
3. Poor variable naming
4. Redundant code everywhere
5. Not using tabs
6. Stealing my idea and spit it again in my face after claiming it as his idea
7. Mansplaining every line of his code like I am a stupid person who never sees a computer before.
He said he has an experience in Matlab, wants to specialize in Robotics and taking several ML classes. What did they teach anyway in class to produce a shitty programmer like him?
Thankfully despite his being an arrogant shitty guy, he still manage to get our code to works.
That's good because if not, then I will happily push his head under water while slowly watching him drown.
🤨6 -
I've caught cold yesterday and I've slept for more than 6hr today :/
Going to sleep agsin just wanted to tell it to someone -
Interviewer said that passing technical interview means that 90% of the time I will get the offer.
In the final interview with management, I can't answer some questions because I didn't study. Isn't final interview should just about getting to know each other like hobby, interest, talking about company products?
They gave me some puzzle to solve :(
After that, they wait another 1 week just to tell me I don't pass. Why the fuck they wait 1 week just to tell me that? They should just tell me 1 day after!
I still have other job openings right now, but the job searching has been very depressing.
I will give it like 1 more month. But if I can't get any leads, I will just give it up. Maybe tech is not the right job for me.
I will just go back to my old job in non-tech. It's not exactly my dream job, but at least they don't treat me like shit like this.9 -
Spent 3 weeks working on an issue (raised by dev A) by following the suggested solution stated in the issue.
Pushed a PR and got told by dev B that it's not the correct solution.
Dude, I am just an intern here and following whatever they told me to do. If you have a problem with the solution, please discuss it with dev A.
Now I may have to let go of the issue completely because it turns out to be much more complicated, not for someone with intern level skill.
FML, I guess this won't be the last time I had this right?7 -
Android, the development side.
First it was cool to put stuff together and then i wanted to actually use the phone hardware and realized that the api is terrible and abstracted away in the worst way possible.
Like every java dev would make something like new Camera().photo("penis.jpg") and let the gc take care of the rest but nooooooooo you need persisted objects and datastreams and special permission checks.4 -
What I want to write :
//TODO : Parallelized this sh*t ???
What I actually write :
//TODO : Parallelized this part later if possible (i.e after checking if overhead doesn't cost too much)
Sigh.. I want to add more of my personality in my code.
: /2 -
I was wondering !
As a computer geek I would like to know everything from mathematics to programming , robotics and machine learning but as I go , new technologies appear and it's
just like an endless while loop!
I don't mean I wanna stop learning new things but just looking for a more effitient way for doing this!
Any idea about this?1 -
mini rant
So I finally started toying around C#.
As much as I tried to avoid it, as much as I wanted, well, sometimes there is need. I was laying it off and laying it off...
There are some things that well.. aren't my taste but whatever.
But come on why the fuck I cannot delete explicitly?
What do you mean "just assign it to null and GC will eventually kill off that instance"
No, I want that fucker to die here and right now. Like in good ol' C++.23 -
I'm just frustrated. I wanted a simple, statically-typed language that doesn't get in your way and offers GC. I can't find anything "just perfect".
- Go: enforces a style on you, nono.
- Rust: ownership system. I love it, but it's too low level for what I want.
- Scala: seems to have a bunch of useless and bug-prone features.
- Java: I hate how you have to declare and catch exceptions. Good practice, yes, but the code gets bloated with try-catch statements.
- C and C++: Too low level, no GC.
- C#: maybe? idk
I want to make a back-end for an app but I want it to be easy and fast. I need something with a gentle learning curve, not keep fighting the language. I'm between Java and Rust. Java's easier to use. Rust is rust <3, but it's hard, I haven't learned it properly and I just keep fighting the fucking compiler.39 -
WHAT COCKSUCKING LUNATICS DECIDED TO MAKE A PDF ONLY ABLE TO DOWNLOAD WITH JAVASCRIPT.
I CANT DOWNLOAD YOUR FUCKING PDFS TO SIGN BY TONIGHT BECAUSE ALL I HAVE IS MY IPad. WHICH DOESNT FUCKING HAVE JAVASCRIPT
THERE IS A TIME AND A PLACE TO USE JAVASCRIPT AND THIS IS NOT ONE OF THEM. GO CASTRATE YOURSELF WITH A RUSTY KNIFE5 -
Haha ! Can't balive i fanally broke this chain and joined a group for statistics final project !
It was soooo difficult but i did it 😎2 -
Hey, just joining devrant and find it so much funnier than
https://reddit.com/r/...
Reddit is a funny site but I find it more and more boring..1 -
...This algo can predict new thermoelectric material discoveries years in advance...
Me to all material scientists : "Work harder or we'll replace you with AI".
https://techxplore.com/news/...
P.S : I also need to work harder as I barely know the surface of Linear Regression.1 -
Analogy: Assume a JVM is a kingdom, Object is a king of the kingdom, and GC is an attacker of the kingdom who tries to kill the king(object).
When King is Strong, GC can not kill him.
When King is Soft, GC attacks him but King rule the kingdom with protection until resource are available.
When King is Weak, GC attacks him but rule the kingdom without protection.
When king is Phantom, GC already killed him but king is available via his soul.
So Phantom ref is basically GC saying "Omaewa mo shindheru" and the object saying "Nani???"1 -
In several occasions I run rm -rf * in the wrong folder (or wrong server!!).
No big deal so far, but I had to spent more time to redo my work since Linux has no fucking recycle bin like Win!
So I created this helper function to give my brain a few seconds to think before my finger hit Enter.
delete_all_files()
{
echo "WARNING:Delete all files? Type fluffycat to proceed"
read x
if [ "$x" = "fluffycat" ]
then
echo "Deleting all files..."
rm -rf *
fi
}
alias myrm=delete_all_files
Hehehe... I am a genius 😎18 -
I am not a US citizen or an expert in law, so my questions are:
- Do you think this RESTRICT act that will potentially ban VPN use will be passed?
- Is the restriction only applied to those who use Tiktok or general use?
- Corporates also use some kind of internal VPN, is this included in the ban?
- How much dumber the gov is trying to be?
https://beincrypto.com/vpn-users-ri...7 -
I was working on a simple notebook project in java (console app)
But I think I need a little help :
When user wants to edit a note , he should write the note all over again!
How can insert the current note in console(like user input) so that the user can iterate and modify the text ?
Thanks3 -
I hate python.
Who thought that creating a language that doesn't provide any backwards compatibility whatsoever without a way of managing versions is a good idea?20 -
I was searching for an optimized daily timetable which includes programming , learning new stuff , etc.
It would be great if you share your daily routine with me so I can maximize my performance.
Thanks 👍10 -
I was having a discussion with my Spv because I am stuck at my project, when suddenly he said :
"Hey, you seem to enjoy this subject!"
And I was just standing there speechless..
🤨
Excuse you...
I spent so much time than required in the contract because I'm getting paid and more importantly because I can put this experience in my portfolio.
Not because I enjoy this job.
I'd rather work on my personal project, preparing for job interview or playing with my cats if I have another choice.
He is a nice guy and has helped me a lot, but in the end it's all about the money.
Or maybe because I have a hard time trusting people these days.
I can't wait to start job hunting next month so that I can say goodbye to this job.1 -
Q: "What's your most hated programming language?"
Me: "Lisp"
**Maniacal laughter from the interviewer**3 -
I am not a PHP dev but this back end error message when accessing /notif looks weird.
Is this a security bug?7 -
I found a budget salary for dev with 4-5 YOE in 2011 in my company, digging through internal old docs.
Assuming 2% increase per year, the 2023 budget salary is now EUR 15k more than what average dev get in my company.
I remember that someone mentioned similar thing in other socmed where he found through internal docs, salary for his position 10 years ago and now are the same, totally neglecting inflation.
On the other hand house/property values has doubled within 10 years.
How can we pressure companies to give us appropriate salary?
When I ask for increase, they will just say no because it's the market rate, but the market rate sucks.5 -
The later I Stay up, the more wrappers appear next to my computer in the morning...
Funny how that works....1 -
Why do SAMBA network drives have to suck this much? Yeah I understand that compiling to a network drive is probably a bad idea just for performance reasons alone but can't you at least not fuck with my git repo?
$ git gc
Enumerating objects: 330, done.
Counting objects: 100% (330/330), done.
Delta compression using up to 24 threads
Compressing objects: 100% (165/165), done.
Writing objects: 100% (330/330), done.
Total 330 (delta 177), reused 281 (delta 151), pack-reused 0
error: unable to open .git/objects/7e: Not a directory
error: unable to open .git/objects/7e: Not a directory
fatal: unable to mark recent objects
fatal: failed to run prune
$ git gc
error: unable to open .git/objects/00: Not a directory
fatal: unable to add recent objects
fatal: failed to run repack
$ git gc
Enumerating objects: 330, done.
Counting objects: 100% (330/330), done.
Delta compression using up to 24 threads
Compressing objects: 100% (139/139), done.
Writing objects: 100% (330/330), done.
Total 330 (delta 177), reused 330 (delta 177), pack-reused 0
Removing duplicate objects: 100% (256/256), done.
error: unable to open .git/objects/05: Not a directory
error: unable to open .git/objects/05: Not a directory7 -
So my current PC is named the tesseract for its power and squareish case shape.
I just had a thought that if I ever seriously upgrade it or build a new PC, I should name it Thanos...2 -
How many job applications did you send to get your first full-time job?
My friend applied for 200 jobs before he got one. I am in my 30s now, but my motivation has almost run out.
The future seems bleak.16 -
Pissed af at my idiot teammates for dragging down my project grades. But I believe this won't be the last time as there are more idiots out there.
I need the credits to graduate .. sigh...
: /3 -
After trying 4 different versions of installation, applying patch, digging through obscure sites, down the rabbit hole, finally
ERROR at 97%
(; _ ;)
Back-up plan : Forget everything... buy land somewhere in the in the mountain and be a farmer.1 -
Spot what's wrong with this command!
It took me 10 minutes scratching head to find it out. This is why we still need to use our brain when copy paste-ing code.
😕11 -
from Windows host->run Ubuntu container A
-> from Ubuntu container A, run Ubuntu container B
-> from Ubuntu container B, run Ubuntu container C
-> from Ubuntu container C, run Ubuntu container D
-> ....
Recursion-mode ON16 -
This phising email I just received in my yahoo account almost got me fooled with the very convincing email design, but thankfully the culprit didn't smart enough to spoof his email address.
Ohh and they attach a suspicious pdf file too despite the message didn't say anything about attachment.
Apparently the spam detector in yahoo is not very good as this one was received in my main inbox.2 -
In my PR :
Senior dev A : "You should change the format according to <link to coding standard>"
Me : "But it doesn't mention anywhere about that format. <senior dev who wrote the standard> also agrees with me. Other reviewers also already approved."
Senior dev A : **proceed to give me an example from a file that's not even in the PR scope**
Me : "I cannot find that file in my PR"
Senior dev A : **give me another example example from my PR**
Me : "Okay I missed that, I am gonna fix it, but other files are already using consistent format. I have already merged changes for 500 files using this format, and I still have 400 files to go.
Do you really want me to revert the changes from 500 files?" :/
Senior dev A : "I don't want to be your enemy, I just want to make our codebase better"
Me : **Mad because he took this personally.**
**I don't want to be your enemy either. I also care about the codebase. I just want to finish this ticket ASAP instead of implementing your cosmetic changes that's not even in the standard so that I can work on another ticket that will have more impact to the company**
Senior dev A : "Ok, I will approve it, just add some whitespaces"
Me : 🤦♀️
I sometimes think that some senior dev just want to flex when they're reviewing PR.
They just want to let people know they wield the power.9 -
I am so bored with my job in Devops, I only need a few dirty scripts to run everything...
So much so that I started to search for C++ jobs (going back to my previous background), even though I hate C++.
At least it's going to be more mentally stimulating, they also tend to be paid higher than Devops.5 -
I'm not proud of this, but I'm not sure there's a better way of doing this.
Context: texture sheets are massive, so I wanted them to be gced when possible. Problem is, during init, the gc kept collecting the sheets, which added a full 5-10 seconds to load times.
This ensures that the sheets stay in memory until everything is initialized.15 -
!dev
Still haven't got a schedule for my master thesis defense after 2 months. The normal deadline is 1 month.
My professor is ignoring my follow up emails, even after the head of the program urging him to finish the review.
I feel discriminated as this didn't happen to other students that worked under him before.
I am job searching now, what if a job offer came but I still couldn't get a graduation certificate because of my delayed defense.
Will the university willing to compensate for the time loss not being able to work?
Maybe I should start finding out how to hire a lawyer in case I have to sue the uni.
😡3 -
android development is shitty af, it will make you super zombie computer nerd that sit on his chair for fking several hours just to find the where the fk is null pointer exception is coming from not only this but for all kind of errors,logcat looks like someone just hacking nasa, you know what im the one who is shitty af i would have opt web dev instead of android dev , this retarded studio and emulator takes too much time to just load a simple fking thing & if i make some change in it i've to install that application again ,it's so pathetic and horse shit thing i've ever encountered , kotlin is fun it's actually great language most of the features are so helpful in it,but the google codelabs,it's all documentation , adding dependencies whole concepts are trash imo, why can't we install the dependencies using terminal what's problem in that ,but no they chose the hard way for no fuking reason, i've successfully wasted a year learning this shitty tech stack, hopefully this NY i will choose different stack , will work till ass off .gonna build some cool projects and will eventually try for internships and all. done with android dev, idk how senior dev's are alive in this field6
-
we want you to be
- full stack developer (you do everything front end, back end)
- dev ops/SRE (you can sort out the deployment CI/CD pipeline, cloud platform services AWS/GC/Azure whatever)
- architect (you can design the software as well)
all in 1, you gotta be multiple roles/departments
good luck getting this experience on the job (hell in a startup is not for everybody and certainly not for me)
also why the fuck companies who aren’t startups ask for this idk
not sure if i missed any roles/competencies so far , don’t forget you need like >=3 years of experience possibly in every field for entry roles and more for anything higher than that9 -
Friend : Have you take a look at this part? We will discuss it this Friday.
What I want to say :
"Don't underestimate my ability to procrastinate, sleep on my problem, run away from my responsibilities, and don't give a sh*t about everything."
What I actually said:
"Of course but I will look at it again thoroughly."
_______________________
Maybe my frustration and depression are not showing enough on my face.
: /1 -
I usually like PHP, because it is easy to use, but FUCK! Can you just let me free the fucking memory by myself? Setting variable to null doesn't work, unset doesn't work either. I am still getting fucking memory exhausted error.
There is literally no data stored anywhere, because I unset every fucking thing.
gc_collect_cycles() doesn't work either, probably because this crap thinks there is a reference for this variable somewhere.12 -
My master thesis is in ramble.
What I thought to be an achievable task in the beginning turns out to be very challenging.
My skill is not up to it.
The assistant prof I worked with is also not very helpful. I thought he's already familiar with the lib I will work with, turns out he's not so I have to study it by myself.
Me : **Asking question A**
Him : **Explaining B, C, D that's not really related to A. My question went unanswered.
Him giving me explanation on things that I already knew**
Me : "How about this code? Can we please focus on the code?!"
Him : **Finally explains the code so I can move forward a little**
Apparently I have to grow fangs and horns to scare people to give me what I want. :/
He and my prof are not in sync about how to solve the task.
They told me that even though I was behind my deadline (30% progress at 50% time), I still have some time before the deadline of the thesis.
The truth is, if I no longer believe that I can solve it, even if they gave me a time extension, it's going to be useless.
My motivation of finishing it is fading away. It's not a subject that I enjoy, the people I work with are not helpful.
I have been in depression for 2 months, and it's taking a toll on my health.
I am seriously considering dropping it and just let go of my master degree. There are many people who can work in IT even though they don't have proper formal education eh?5 -
my old game had this flow every time a client places an object:
Client A creates a new generic object, and attaches texture paths (yep, global paths are allowed), and... lua code as strings to it.
Client A sends the entire object list to the server
Server receives it, replaces it's own object list
Server copies the entire object list and sends it to all clients
Client A and Client B both receive the object list and replace their versions.
All clients see that the object contains some code as strings
They compile and store it, and then run every frame. UNSANDBOXED.
any client could make all other ones execute any code and i was proud of my idea! -
for (size_t day=0; day < Inf; day++){
printf("I hate you Windows, I am switching to
Linux!");
pause (4hours);
printf("I love you Windows (=^..^=) ");
}2 -
Have you interacted with other devs with same level of experience and wondering about the big skill gap between you and them?
Wondering if you are actually a walking genius for having a lot more knowledge/understanding or if they are just plainly dumb and lazy.
🤷♀️9 -
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 -
I am just beating around the bush since I started this project, hoping that one day I got lucky and found the shiny solution.
/*sigh*/1 -
When you put bread in the toaster then start programming and forget about it.
*finds it 6 hours later*
Ooh! Free food! -
I overheard this mid level dev discussing a new task with a senior dev. They're discussing compile error in cmake. I realized that the mid level dev asked so many basic stuff that are easily google-able. Mind you, our codebase is cmake based, how come she didn't know even the basics and yet survive in our company for years?
I felt bad for the senior dev, as I knew he's busy with his work. He couldn't do his job because he had to do hand-holding with this dev.
My biggest mistake is often trying to solve things by myself which will take hours instead of just asking a senior. But asking other dev for every little things are also annoying. Why can't you just google shit up or RTFM?1 -
I was sad this morning, because my thesis supervisor being an asshole that I seriously considering to just drop out..
Then I checked my bank statement and salary of 2 months has been deposited today.
Who needs that fucking degree when I earn more than you?
Who's the joke now?! 🤜🤡🤡
I am going to give them a middle finger tomorrow.😉5 -
Having a vacation in Italy ATM. Walking around Naples, hoping to see beautiful things, but.. So far the only thought spinning in my head is
while(location.contains("Naples"))
System.gc();
Jesus, how can people live in a dump like this. A full GC is loooong overdue!20 -
My department just installed a new high performance GPU, so :
1. Good bye, my old laptop GPU!
2. Let's play around and break the shiny thing! 😎
(more likely I will be the one who break down due to frustration though 😬)1 -
how to propose your nerd gf here we go...
"you may look attractive like frontend but you need my support like backend and together we can become full stack developer we can create beautiful projects6 -
A classmate I haven't seen in 2 years popped up in my Linkedin.
I looked up her profile and it seems like she now works at SWE in okayish company after an internship in a prestigious company.
This throws me a little bit (I am jealous obviously). We've worked in the same uni project before, she's okay when it comes to theoretical courses but a bit behind when it comes to anything related to computer. I would never think of her working as SWE as she did better in traditional engineering (think Civil Eng, Mechanical Eng etc, Aerospace Eng.).
And yet I heard a lot of people online complaining about difficulty of finding graduate/junior position. If a person like her can find something, surely someone with pure CS background should find something easier. But then again, job hunting is 50% pure luck. I have concern on the quality of work that she will produce, but maybe I underestimate her a lot? 🤔6 -
Does anybody here knows an opening for retail job/cleaning services?
I am so fed up with this sh*t I'm working right now.
: / -
Hey!! I have made an app for curbing smartphone addiction, In this app, I am just asking user to set timer for an app, and then my app will remind them to stop using those apps! I am also showing weekly/daily usage statistics. So, what should I name my app?2
-
"We can't install the latest Win 10 features and security improvement on your PC due to low disk space."
Time to clear up.
Should I delete my hands and feet too?
: /6 -
!rant Just letting it out !
From my childhood days I never used to make it a habit to remember our house address as we used to change it often.
My father was the eldest in our family and he took care of his siblings. One younger brother got a nice job and was financially sound to own a house, and we were still a joint family for some time. After a year or so my father was insulted and he moved out in a fit of rage and for ~20 years we have hopped around from one place to another.
This week I will be moving in to my new house along with my parents. Hope I will remember this address forever. -
Garbage collection incentivizes shit and cuckold programmers. Change my mind.
Reason is basically, it's easy to design a bad architecture, potential bugs are just delayed and waiting to happen later. There are still resources like databases, whose management is more or less like memory that you never learn to do properly because of GC15 -
So our software clubs discord bot went rogue and deleted a metric ass ton of messages
This is what I get for testing in production. Fml1 -
Ryan Dahl working on Deno is one of the current interesting projects that I have been following.
Initially, the dude was trying to use Golang and is currently migrating to cpp and rust since Golang is a gc language. Nothing wrong with that really. I am just excited to see what this man comes up, and Typescript as the main language? Fuck yeah.
This shit js gonna be bomb af. Happy to see him talk to openly about his flaws when building Node, which was still a massive success and a true game changer for a lot of people(me included) and I believe that Deno will repeat this. It already has 24k stars on Github and tracking the repo has become very interesting! I just wish i had the cpp/rust knowledge needed to help out with it.3 -
We started a group chat few years ago to help newbie developers be upto current industry standards.
So we have this guy who's been in the gc since God knows when but still likes PHP and WordPress.
I feel like we have failed.10 -
Question for all the security/privacy nerds here. What is your opinion of the social network called Minds that pays you for your information basically.
(This is a very brief probably inaccurate summary but yeah, it’s basically reverse Facebook)1 -
It's been a few months I became a freelancer, the cool thing is I still have no sleep but this time it's not for deadlines! ... XD
It's for ...
You complete the rant !2 -
I think the Golang serialization API is utter garbage.
By convention it usually looks like this,
MarshalFormat() ([]byte,error)
UnmarshalFormat([]byte) error
This means that all serialization and deserialization is done on, heap allocated, in memory buffers ( technically also mmaped files, but thats not cross platform).
As the Go GC is ruthlessly optimized for minimum latency, this can potentially cause memory leaks in long running applications.
I think we need a new serialization API that looks more like
SerializeFormat(io.Writer) error
DeserializeFormat(io.Reader) error3 -
WE: javaagent-based monitoring, as seen in this screenshot <attached>, is reporting full old-gen, full young-gen, full one of the survivors and a sky-rocketing full GC right before the service outage.
WE: container monitoring in this screenshot <attached> shows that the application peaked its memory very suddenly to MAX values and platoed on that. Then container monitoring is blank, suggesting a complete outage of a few minutes. After that monitoring starts again with memory usage reported at low levels and immediatelly spiking back to MAX again, suggesting the container crashed and had been respawned by an orchestrator. This repeats a few times throughout the day.
they: I did not find any evidence of application running out of memory. Maybe our monitoring is not working correctly?
we: *considering updating our resumes* -
Join a coding boot camp and cramming myself for technical interview instead of this almost useless master degree.1
-
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 -
Got a new idea in mind...by the time idea reaches pen and paper and computer ( I hear a voice back of my head...."Is that what you were think of, think of something NEW it's already implemented!")
-
If you have messy and disgusting desk, messy and disgusting car, pretty sure your code is messy and disgusting as well.
Sincerely,
Your team who is fed up with maintaining your shitty code6 -
How do you tell a senior that I don't want to be buddy-buddy with him outside of work?
He keeps trying to befriended me, inviting me to his house along with his friends. I don't think he's romantically interested in me, he's married, he's just too extroverted, has huge social circle.
Being a chronically introvert, I just want to go home and sleep after work. It's enough having him breathing down my neck for 5 days/week, don't want to see his messages during the weekend.
I have to keep the relationship cordial and polite though as my job satisfaction depends on that.6 -
Ok, can someone explain to me why the old-Unix overlords decided to use -v in 'grep -v' as flag to invert the result.
It's not fucking intuitive.
Other normal utils will use -v as abbreviation of --verbose or --volume ...
I spent some time digging around this particular script scratching my heads why it's not working.
🤔3 -
Why are you so slow Kaggle...
(((preparing kernel)))
(((committing)))
I have tons of data to analyze with multiple methods...
sigh...1 -
Ok... Can someone explain me this?
Happen a few weeks ago.
My pc would crach on any 3D program or game.
Did some tests, was the graphic card.
Send it to repair (amd, Asus made)
Placed my old Nvidia, installed drivers all good.
My new card came, nothing repaired, nothing found, passed all stress tests.
Placed the card back ok, no OS.
Bios detects both ssds but don't start (windows 10.... Ya tryed Linux but doesn't work for my main past time in pc, Arma 3).
Loaded the USB with the windows instalation, used command line drive C is completely empty but has 160gb used.
Ended ip formating.
GC works perfectly.
So... Wtf happen?8 -
This is the first time I have a bad PM and it's much worse than having a pain in the ass colleague dev. A bad dev will mess his/work project and maybe slow down 1-2 other devs.
But a bad PM will doom the whole project, wasting lots of time of the devs working under him/her. Costing much more company's money.
PM:This task should be ready by next week.
Me : This task will require X weeks time for developing and delivery
PM: What?! That's too long, it's a simple one, should be done in a few days.
Me: **explaining the challenges, limitation, env set up, testing etc. Also because I am a junior so may take more time than experienced dev**
PM: **insist that this is important blah blah**
Me: Understand your points but X days is just too little, I don't want you to blame me for missing the deadline. Either we get a reasonable deadline or you can get more experienced dev to do it faster.
**Knowing well that I have the most experience in this task and other devs are busy with their own tasks**
In the end I have to escalate this argument to more senior manager because both of us won't budge. Not only she agreed to extend the deadline she also assigned a senior dev to help me when I am stuck.
His other mistakes I noticed during my time working under him:
- not consulting senior dev for the approach to the task (thus we have to change the design twice).
- assigning tasks to people without sufficient background (a java dev is being assigned a python task, it's doable but it's going to be faster if we assign to someone with more python experience right?)
I understand that our company is short-staffed, but I begin to wonder if the stress the devs endure is because of that or because of his incompetence.
Next time, I am going to specifically ask not to work under him again.2 -
I was a bit confused when my supervisor told me to use Windows VM through Vagrant for testing environment. AFAIK each VM should be treated as a single machine, so it requires a Win license.
There are several criterias for us to be able to use Win WM legally.
One of them is Qualified Multitenant Hoster (QMTH) Program from MS, it authorizes qualified 3rd-party hosting service providers to host customers’ Win VM. Other option is to check if we have on-premise dedicated use rights.
I don't know if we fulfill any of the criteria. I don't want to cause any trouble so I am not gonna ask my supervisor about it.4 -
Difference between security threat and programming bug ?
Found a cool paper about format string attacks which mentioned buffer Overflow is a security threat while format string is a programming bug.
Had no idea what that really meant.
Tnx1 -
Is it just me that would prefer to work with Senior Engineers rather than mid level engineers?
Some mid level engineers are just pain in the ass. This one guy insist on getting perfection in all of the requirements. The problem is that if you work with software/lib for so long, you realize that most if not all software are buggy or have limitations.You can't expect everything to be perfect. Sometimes something just works/don't work and nobody knows why. Need lots of shortcuts/hacks just to make it work. I would say that 80% completion is good enough, especially since we're running out of time and manpower.
I noticed that Senior Engineers tend to be less strict. If it works then it's good enough, if we found some bugs later then we'll fix it. I like this practicality so we can tackle more important issues at hand.
I hope that I don't have to work in the same project with this guy again.2 -
New project consists of 3 libraries with bunch of dependencies each.
Installation script not working, so here I am combing through the haystack fixing the error messages.
I hate installing stuffs with their dependency nightmares... I just want to start developing, man...😩 -
Does the Go GC move heap-objects?
I found some articles that say it does, but in the sync package, there is the copyChecker type, which could only work if the GC never moves memory.6 -
In those learning days the universal solution to all systems issues -
'restart and see if that fixes' -
in 2023, swift still doesn't have a tracing GC, and they are still using reference counting to decide when to deallocate an instance, surprise! what's even worse is closures are everywhere and the default way to define a closure make it possible to keep a reference to variables in the parent scope.8
-
Any Elasticsearch gurus here? I have a box with too many young gen GCs (one per 2 or 3 seconds), and irregular, very long old gen GCs (One per several hours, taking around a minute and freeing about 2/3's of the old gen space) -- I was thinking changing the new gen ratio from 2/3 to something like 3/4 or 4/5.
However, after reading an elastic article about settings to never touch... I'm no longer so sure...
Only other option I was considering is going from CMS to G1GC to cut back on the old gen GC time... A minute long downtime for Elastic is rather problematic.
Any thoughts? The box is rather old - running Elastic 5.6 with 20 GBs of heap, 207 shards and 306k docs.2 -
My Snowflake Tor extension is automatically off every time I start Chrome. I have to turn it off and on for it to activate.
Works perfectly fine on Firefox though.
😕 -
Changes with Java 14 are:
Records is available (preview), a new class java.lang.Record. The java.lang package is implicitly imported on demand, that is, import java.lang.*
The G1 garbage collector now supports NUMA-aware memory allocations.
The ZGC (Z Garbage Collector) is now available as an experimental feature on macOS and Windows.
Improvements to Parallel GC.
The following methods related to thread suspension in java.lang.Thread and java.lang.ThreadGroup have been terminally deprecated in this release.5 -
https://m.facebook.com/story.php/...
WATCH NOW THANK LATER. (It’s rubber duck related)
Sorry about the Facebook video4