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 - "memory"
-
How my C programs may as well be written:
#include<stdio.h>
int main() {
printf("Segmentation fault\n");
return 0;
}6 -
!rant
1980s - This thing can store entire programs !!
2017 - This thing can't even store my git ignore !
(Still remember when my dad used to bring games for me in these floppy disks from his office and my pc had a floppy reader XD)8 -
The time my Java EE technology stack disappointed me most was when I noticed some embarrassing OutOfMemoryError in the log of a server which was already in production. When I analyzed the garbage collector logs I got really scared seeing the heap usage was constantly increasing. After some days of debugging I discovered that the terrible memory leak was caused by a bug inside one of the Java EE core libraries (Jersey Client), while parsing a stupid XML response. The library was shipped with the application server, so it couldn't be replaced (unless installing a different server). I rewrote my code using the Restlet Client API and the memory leak disapperead. What a terrible week!2
-
Guys...
DevRant logged in automatically on my new phone. I don't know how I feel about this.
Or maybe I've already forgotten.
Help. I'm getting old and senile.10 -
When you create a bunch of objects in Java and it crashes because you're used to the memory usage of C's structs.3
-
> Bang head against issue for days
> Finally get help from lead
> Watch them bang their head against it on video for 40 minutes
> Watch them shake their head in disbelief at how difficult to follow and objectively wrong the existing code is
> Talk through approach to fixing it and patching in the new functionality
> Listen to a short recap
> Ask question, get answer
> Chat about next company meet
> Meeting adjourns
> Jot down implementation notes before I forget
> Remember answer to question, forget everything else
FFFFUUUUUUUUUUU 😭7 -
Long ago, like 5 years, I made an app for my EX GF in symbion to track her periods. Application predict the next date when your period will come based on her cycle.
How ever after 2 month of usage she told me that application was flashing that she is pregnant. She scared shit out of herself and made me sacred a hell as well.
Later i find out that the variable i used to store number of days between last period and current date was not capable of storing value more than 40, i don't know how, and triggers negative value to be shown.
Early days of my programming, Shit happens.8 -
Print 'Hello World' in ReactJS.
# Time - dies
# Memory - cries in silence
# C - gives an evil laugh7 -
Application has had a suspected memory leak for years. Tech team got developers THE EXACT CODE that caused it. Few months of testing go by, telling us they're resolving their memory leak problem (finally).
Today: yeah, we still need restarts because we don't know if this new deployment will fix our memory leak, we don't know what the problem is.
WHAT THE FUCK WERE YOU DOING IN THE LOWER REGIONS FOR THREE FUCKING MONTHS?!?!?! HAVING A FUCKING ORGY???????????????
My friends took the time to find your damn problem for you AND YOU'RE GOING TO TELL ME YOU DON'T KNOW WHAT THE PROBLEM IS???
It was in lower regions for 3 MONTHS and you don't know how it's impacting memory usage?!?!?! DO YOU WANT TO STILL HAVE A JOB? BECAUSE IF NOT, I CAN TAKE CARE OF THAT FOR YOU. YOU DON'T DESERVE YOUR FUCKING JOB IF YOU CAN'T FUCKING FIX THIS.
Every time your app crashes, even though I don't need to get your highest level boss on anymore for approval to restart your server, I'M GOING TO FUCKING CALL HIM AND MAKE HIM SEE THAT YOU'RE A FUCKING IDIOT. Eventually, he'll get so annoyed with me, your shit will be fixed. AND I WON'T HAVE TO DEAL WITH YOUR USELESS ASS ANYMORE.
(Rant directed at project manager more than dev. Don't know which is to blame, so blaming PM)28 -
People, please understand
1GB != 1024MB
1GB == 1000MB
1GiB != 1024MB
1GiB == 1024MiB
The MebiByte, GibiByte, KibiByte and others "biByte"s were defined at the end of XX century. How can be possible that people (I mean people which study/teach informatics, electronics or something similar) still don't know what is it?16 -
When valgrind (C Memory allocation error detection tool) aborts due to a memory allocation error...1
-
Just found an EPROM (Erasable Programmable ROM) from my dad's old stuff.
Yeah, there's a window for UV light, if you wish to erase your existing code/data!
Thought you people can relate.....11 -
The world of storage gonna change..
Yesterday, scientists successfully stored and retrieved back an entire OS, a movie and some other files from a DNA.
It is estimated that a single gram of DNA can store 215 million GB of data. ( Now the storage can be as small as invisible. )10 -
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
-
It is with a heavy heart that I said aufwiedersehen to my mom last night. She passed peacefully in her sleep, and is now resting in the fields and forests of heaven. She was born in 1932 in Hamburg, Germany, and at age 7 the world around her exploded into one of the most horrific wars that Europe or the world had seen up to that time. By the time it was over, she was thirteen, and had spent many of her formative years witnessing how low humanity can get in the treatement of fellow humans. She survived the post-war years, and came to the US in the late 1950's, and met my dad while in nursing school. She had four chidren, Tim, Chris, Tanya, and myself. She was a doting and caring mom, who dedicated herself to raising her children. She loved to cook, loved animals, especially dogs, and love human beings in general, and had a compassionate and kind heart. There is a small, empty space in the world that she filled, but heaven is a little brighter with her smile and her laughter. I miss you mom, but I know I will see you again some day. Aufwiedersehen, lieber Mutti! Wir sehen uns bald.15
-
Best strategy for getting unstuck for me is downloading more RAM so that I can open more chrome tabs3
-
How has development come to the point that 16GB of RAM is not enough to smoothly develop a simple website?
Where have we lost the way? 🤔 🙄43 -
am I only one who thinks that ≥6GB RAM for phones is just too much as most of the time the unused RAM gets wasted for no goddamn reason but the only one being that the companies want their product(s) to look more compelling in `spec sheets` and it's a competitive market so it ok for them to do so...25
-
Woohoo! I fixed a huge memory leak in our app! ... In one class.
Time for noise cancelling head phones, 80s hacker music, tons of caffeine, and more leak hunting. :)3 -
I found something really interesting depicted in the image.
It is because of memory alignment / padding.
I could explain it to you guys, but this url would do a far better job:
https://kalapos.net/Blog/ShowPost/...8 -
I hate it when you CTRL-Z half way, try to fix the problem from that point and realise you fucked up. Try CTRL-Zing more and realise you fucked up your chances to get to the point you wanted :). Every single time.6
-
Wow. I think I've got devrant fever.
I just browsed devrant. Closed devrant. Immediately saw devrant on my homescreen and thought, I need to check devrant. Then immediately after that I remember I just browsed devrant. *Sigh*.6 -
Programmers then:
No problem NASA mate, we can use these microcontrollers to bring men to the moon no problem!
Programmers now:
Help Stack Overflow, my program is kill.. isn't 90GB (looking at you Evolution) and 400GB of virtual memory (looking at you Gitea) for my app completely normal? I thought that unused memory was wasted memory!1!
(400GB in physical memory is something you only find in the most high-end servers btw)9 -
My brother is just like f*cked up program:
Fortnite > Movies > TV Series > Fortnite > Movies > TV Series > F...
Yes, infinite loop and memory leak at its' best.9 -
When you Valgrind your program for the first time for memory leaks and get "85000127 allocs, 85000127 deallocs, no memory leaks possible"4
-
My colleague often forgets to lock his computer when he’s away from it. I’ve told him countless times that he should lock it because of company privacy reasons. Yet he forgets. I’ve started to change his IDE font to Comic Sans lately, the team always gets a good laugh when it happens.
But it’s starting to get old, any ideas of what I can do? 😈19 -
Fucking Windows... If you don't have enough memory for everything youre supposed to do, then kill whatever you want, but not the fucking graphics driver.
What should I do then? Close something different? Fuckin Monkeys.2 -
Dev: Hi Guys, we've noticed on crashlytics that one of your screens has a small crash. Can you look?
Me: Ok we had a look, and it looks to us to be a memory leak issue on most of the other screens. Homepage, Search, Product page etc. all seem to have sizeable memory leaks. We have a few crashes on our screens saying iPhone 11's (which have 4gb of ram) are crashing with only 1% of ram left.
What we think is happening is that we have weak references to avoid circular dependencies. Our weak references are most likely the only things the system would be able to free up, resulting in our UI not being able to contact the controller, breaking everything. Because of the custom libraries you built that we have to use, we can't really catch this.
Theres not really a lot we can do. We are following apples recommendations to avoid circular dependencies and memory leaks. The instruments say our screens are behaving fine. I think you guys will have to fix the leaks. Sorry.
Dev 1: hhhmm, what if you create a circular dependency? Then the UI won't loose any of the data.
Dev 2: Have you tried looking at our analytics to understand how the user is getting to your screens?
=================================
I've been sitting here for 15 minutes trying to figure out how to respond before they come online. I am fucking horrified by those responses to "every one of your screens have memory leaks"2 -
Today I have discovered that my fingers have become so accustomed to writing the word "vertex", that I can no longer write "vector" on the first try...1
-
I'm not good with faces, at all.
I literally once forgot a dudes name and remembered after he got his laptop out from his bag and i saw his stickers.
I recognize people based on their stickers now...8 -
Achievement unlocked: malloc failed
😨
(The system wasn't out of memory, I was just an idiot and allocated size*sizeof(int) to an int**)
I'd like to thank myself for this delightful exercise in debugging, the GNU debugger, Julian Seward and the rest of the valgrind team for providing the necessary tools.
But most of all, I'd like that three hours of my life back 😩4 -
*Keyboard breaks*
*Calls Desktop Support*
Me: Hey, my keyboard is broken. I want to replace it.
*Support guy sends new keyboard*
*Calls support again*
Me: Hey, the shift key on the left side of the new keyboard is broken.
I don't know who came up with this keyboard design, but that person really wanted to see developers who write in camel case suffer while their muscle memory adapts.23 -
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.30 -
DigitalOcean's and Microsoft's Hacktoberfest done!
And my computer got so slow for some reason.
(Presses Ctrl + Shift + Esc)
Oh shit.4 -
Just commented on a rant
*Goes back to scrolling*
*Remembers that I forgot to ++ it*
*Runs to my comments to upvote the rant*
Happened to anyone else?8 -
Yes of course, my problem is not having enough memory to throw an exception of not enough memory ...5
-
- Let's write some code to check for memory leaks
- Oh shit, memory is leaking like crazy
- In fact the program crashes within 10 minutes
*Some hours of debugging and not finding the cause later*
- Starts thinking about the worse
- Hell yeah, the memory leak is caused by the code that checks for memory leaks. But fucking how
- Finds out the leak is caused by the implementation of the std C lib
- In the fucking printf() function
- Proceeds to cry5 -
God damn it lastpass, how the hell do you get a memory leak and an infinite loop in a fucking browser extension?! Using 7GB of RAM and all 8 cores @ 3,4GHz!!11
-
Just realized that a memory leak in a human is when you can't remember something, but a memory leak in a computer is when they can't forget something
-
Java dev here. I rewrote an app and replaced a system call to ssh with a modern jaxrs post for uploading a file and (new) some additional data.
I even used a stream.
1 hour in production, first client doesn't get his file. Log says OutOfMemoryError: heap.
Me: wtf? I already use streams.
Looking at the Jersey library. Docs say nothing. An issue from 2013 says: oh if you silly don't use the Apache httpclient addon, we disable chunking and buffer the whole body, because our tests fail with the jdk included http client otherwise.
Me: meh.
No warning in the logs. Thank you soooooo much! Who could have known?4 -
Well done, Google Chrome, you ate most of my 16 GB of RAM! >:v
P.D. I said "most of" because of the memory allocation table5 -
Windows 10 wants to ruin my life by consuming almost 70% of memory for itself from 4 gigs.
No application is running and still consuming that much of memory. Now I just hate the updates of windows 10 pro.
Any suggestions to get rid of this situation?30 -
So Android Studio + Ubuntu VM = 16GB RAM are not enough, but how about Android Studio INSIDE Ubuntu VM, that will teach that bitch to stick to 4GB RAM usage!2
-
Firefox Quantum! So fast, so great, amazing, the best.
..
..
Open with 2 tabs, Slack and YouTube homepage). Whats been rewritten exactly?5 -
When you thought web browsers use too much memory, introducing a document scanning app that uses only 2,7 GB of ram.
Just a slight memory leak.5 -
The advantage of programming in Android studio is that you can read a chapter of your favorite book, watch a series or do a little exercise... Thank you gradle2
-
11.1/11.4 GB of RAM is being eaten open on boot, even though I just rebooted. Almost half of my swap is in use too. WTF! Windows is no help in explaining it either...SO ANNOYING!16
-
I think someone puts roofies in my energy drink every morning, because recruiters contact me about positions I don't remember applying for.9
-
Linker crashed while building LLVM from source AT FUCKING 97% ARE YOU FUCKING KIDDING ME?
(Antergos , GCC 7)
The error was that it exhausted the memory. How the fuck does a system with 16GB RAM and a swapfile run out of memory while building something? Dayum.5 -
I want to share one very interesting incident -
Once upon a time, ( 9 yrs back ) I got my first PC. It had Windows XP.
After using it for 1.5 hours, I realised there are some files in C:
I said to myself, my hard disk capacity is 150GB but why some files exist in C:?
Within next 4 seconds, I issued a command to delete all files in C:
The rest you can predict :p1 -
I confess that I know how to manage memory on assembly language, but I never knew how to use the memory button of my Casio calculator :'v Should I be ashamed?7
-
So I'm making a file uploader for a buddy of mine and I got an error that I had never seen before. Suddenly I had C++ code and some other weird shite in my terminal. Turns our that I got a memory leak and the first thing that sprung to mind was "Fuck yes, I get to do some NCIS ass debugging".
Now the app worked fine for smaller files, like 5MB - 10MB files, but when I tried with some Linux ISO's it would produce the memory leak.
Well I opened the app with --inspect and set some breakpoints and after setting some breakpoints I found it. Now, for this app I needed to do some things if the user uploads an already existing file. Now to do that I decided to take the SHA string of the file and store it in a database. To do this I used fs.readFile aaaaaaaaaand this is where it went wrong. fs.readFile doesn't read the file as a stream.
Well when I found that, boy did I feel stupid :v5 -
!rant
Medium long story about POP!_OS
TL;DR : A true K.I.S.S. OS. Very well designed UI. In general suitable for everyone. Any distro-hoppers MUST try out. If your current OS is already heavily customized to your needs, DON'T bother with POP. (Read till the end if you are on toilet, nothing to lose)
Backstory : I am never a fanboy of anything although I am loyal to the tools I use daily. So OS is also something I picked and use to meet my needs except when I was a student. My first linux experience was about a decade ago with ubuntu. Have tried almost all kinds of light-weight and minimal distros after that (lubuntu, arch, mint, puppylinux, fedora, centos and others I forgot) during my student years.
I like all things minimal. ("Keep It Simple Stupid" is my email signature.) When I started working, Windows became the sole OS I use since it met my needs better than others. Except that one time when I tried Elementary. Although I found it a good OS, it didn't get installed as a dual-boot. I don't find Elementary minimal. It is one of well designed OSs but I still think it can be improved. (Plus I had this weird feeling that it is similar to Mac OS)
At the start of this year, Widows alone was not enough for my needs. Decided to look for a minimal linux distro. My old i7 ASUS has 8GB RAM and roughly 250GB free storage. So I am not that worried about hardware requirements. My main struggle is downloading stuffs. (Few of you guys must know by now the speed of my internet LOL.) Well, even if I had a good speed, I will still look for minimal distro as first priority. So I went with minimal ubuntu image and xubuntu environment. Although I do not like the UI design, it is acceptable. Through out the years, I have configured it to suit my needs and currently pretty happy with it.
Thoughts on POP!_OS : To me, it is literally like meeting a young girl who is perfect for my life. She has the perfect body, beautiful face, amazing appearance and good manners. And she is young, of course there is a lack of experience issue. But it can be taught and she has a very high chance to become a wonderful lady if she continues like this. Only crap is I already have someone and in a committed relationship. So I could not go any further than introduction. I do save her contact and will keep in touch with her online. You know? Things change. Things always change somehow.2 -
Latest Atom with Electron 1.6 seems to be pegging multiple CPUs and maxing out ram and swap. Looks like I should start trying different editors again. :(12
-
Here for you, just so you cant sleep this night:
while (true) {
new long;
cout<<"Deal with it, motherfucker ";
}7 -
When I did games dev in college, it’s fair to say that most of my class started off really stupid. Like, I met these people. We were all dumb.
Except this one guy. His name was Jordan. He was huge. He smelled bad. Everyone made fun of him, (I kept my distance in fear of being decimated because he was known for his temper).
But fuck, that guy knew how to model and code. In the time we had spent working out how to build a single model or write a working line of code, he’d been working on this full scale Skyrim-esque environment that just reminded me of Whiterun.
I wonder what he’s doing now. -
i'd rather burn a site to the ground to preserve it in its current state than let it devolve into a place for SJWs to basically outlaw everything because they're special snowflakes. It's about breaking video games, you don't need to say "well you can't use he/she/him/her pronouns ever, you can't acknowledge binary genders, you can't say the word 'retarded' even when referring to the dictionary definition of the word (synonym of regression), you can't send PMs at all because privacy is against God, you can't say/reference God or Christianity because #NotAllReligions"
just fuck off. We break Pokemon games, we don't plot to genocide the white race because all whites are cis racist Nazi cucks like you do goddammit
;-;15 -
One of my teachers in school always put red lines on whatever I wrote ....now in college Android studio reminds me a lot about her...
-
I got home from my day job today to work on a side client's project that is due tonight.
Realized I'd left my laptop with all my setup for the project at the office.2 -
!rant
Human memory is fascinating. It’s interesting to think about the events that helped shape you into what you are. And how sometimes those events are exchanges with people who probably never gave the moment a second thought, but fundamentally changed how you relate to others.
For example: In ninth grade, I became friends with a group of seniors. Spent every lunch period together, auditioned and landed a part in a play to hang out with them. We never hung out over the weekends, but my dad had died two years before and I didn’t hang with anyone on weekends.
Then at the end of the school year, I’d actually got my mum to buy me a school yearbook and was super excited to have my friends sign it. But when I asked them to, one of them furrowed their brow and said, “Amy, we’re not really friends...”
And I haven’t trusted friendships since.
Anyway, for anyone who needs to read this right now:6 -
Today I had an app throw an out of memory exception, while trying to throw an out of memory exception1
-
I know I'm writing the correct integration tests when each one I add uncovers a new bug.
Still, it would be nice if just one of them passed first time.1 -
Not really a rant and not very random. More like a very short story.
So I didn't write any rant regarding the whole Microsoft GitHub topic. I don't like to judge stuff quickly. I participated in few threads though.
Another thing is I also don't use GitHub very much apart from giving 🌟 to repos as a bookmark. Have one hobby project there. That's all. So I don't worry that much. I'm that selfish and self concerned. :3
I was first introduced to version control system by learning how to use tortoisesvn around 2008. We had a group project and one of the guys was an experienced and amazing programmer unlike the rest of us. He was doing commercial projects while we were at our 1st and 2nd year. Uni had svn repo server. He taught us about tortoisesvn. He also had Basecamp and taught us how to use it as well. So that's how I learned the benefits of using versioning tools and project management tools. On side note, our uni didn't teach any of those in detail :3
After that project, I was hooked to use versioning tools. So until school kicked me out, I was able to use their svn server. When I was on my own, I had to ask Google for help. I found a new world. There are still free svn services that I can use with certain limited functions. That's not the new world; I found people saying how git is better than svn in various ways. It was around 2010,2011.
At first I was a bit reluctant to touch git because of all the commands in terminal approach. But then I found that there is tortoisegit. I still thank tortoisesvn creator for that. I'm a sucker for GUI tools. So then I also have to pick which git servers to use. Hell yeah, self hosted gitlab is the way to go man. Well that's what the internet said. So I listened. I got it up and running after numerous trial and error. I used it briefly. Then I came back to my country on 2012-2013; the land of kilobytes per minute (yes not second, minute).
My country's internet was improved only after 2016. So from 2013 to 2016, I did my best not to rely on internet. I wasn't able to afford a server at my less than 10 people, 12ft*50ft office. So I had to find alternative to gitlab which preferably run on windows. Found bonobo and it was alright. It worked. Well had crazy moments here and there when the PC running Bonobo got virus and stuff. But we managed. We survived. Then finally multi national Telecom corporates came to our country.
We got cheaper and faster mobile data, broadband and fiber plans. Finally I can visit pornhub ... sorry github. Github is good. I like it. But that doesn't mean I should share my ugly mutated projects to the rest of the world. I could keep using Bonobo but it has risks. So I had to think for an alternative. I remembered that gitlab didn't have cloud hosting service when I checked them out in the past. So I just looked into Bitbucket and happy with their free plans of 5 users and unlimited private repos. I am very very cheap and broke.
That's why I said I don't really care that much about the whole M$GitHub topic at the beginning. However due to that topic, I have visited GitLab website again and found out they have cloud hosting now and their free plan is unlimited users and unlimited repos. So hell yeah. Sorry BB. I am gonna move to cheaper and wider land.
TL;DR : I am gonna move to GitLab because of their free plan.4 -
I was cleaning up my hard drive and deleted some old directories.
I was notified that my backup just started and wanted to look how far along it was.
However, instead of 'ls -l /mnt/DATA/Backup' my shitpile of muscle memory typed 'rm -rf /mnt/DATA/Backup'... That's when my harddrive suddenly had 750GB of free space and I decided that I probably need some sleep.
Before any of y'all wanna lecture me on off-site backups, funny thing: Today I implemented a new daily backup routine (praised be borg) and therefore deleted my somewhat chaotic Backups on my NAS "Because if shit hits the fan, I still have my local Backup"2 -
Wrote some documentation in a text-editor. Pressed cmd+option+l and wondered for a moment why it didn't properly formatted my document.3
-
The moment when you are looking at code for a good 20 mins woundering why it isn't working then you realise you havent ran the init function...
-
When I was in college I was working on a game in Java using Slick2D. My folks were away on holiday so I had the ability to drink in the house (I was over 18). I worked on this coursework piece whilst drinking.
The next morning I went into college with my work and found that it had a massive memory leak that was included by the work that I’d done whilst under the influence.
The issue was fixed (quite easily tbh) but everyone in my class reminded me for the rest of the year...5 -
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 -
Fucking your fucking module allocates fucking memory fucking deallocate the fucking memory in your fucking module.
Don't fucking bullshit me!11 -
!rant
I just stumbled upon a first game I ever programmed back in highschool. Oh the nostalgia and the urge to cringe. Apparently I thought programing a game in visual basic and leaving an enormus memory leak was a good idea. Well I guess you have to start somewhere.3 -
My boss just now: "In a 32 bit machine the memory limit is 1.6 GB. After that programs routinely crash."
What really happens IMO? He writes programs that crash when they reach 1.6 GB allocated and the architecture is 32 bit. But it's a limit of his software, not one of the OS.8 -
years back, before the dawn of dual core cpus. our rich friend of the group got 1024 megabytes, ONE WHOLE GIGABYTE, of RAM. and we were all like, "what are you gona use THAT for?"
today the answer is. uh, maybe browse the web? like a single page, from over a decade or 2 back?
also relevant
https://penny-arcade.com/comic/...1 -
After lot of efforts (connectivity and memory issues :p) finally got Devrant installed. Feeling excited.
<"Hello Devs"/>5 -
Is there any other software more fucking bloated than Skype? Fuck you Skype, for constantly freezing everytime I start chatting, making me take my precious hands off my precious keyboard and use the fucking...... __mouse__ to fucking click into the text box, THEN start chatting. EVERY FUCKING TIME. Whoever is working on that team, please get your head out of your ass and fix the laggy bullshit you've created. Thank you.2
-
!rant
Don't know if you guys have this kind of boxed up stuff inside like me. I have good friends, I have a good gf, I have great family and nice colleagues. But there are still so many things I don't share with them, especially the negative feelings I usually possess. Even here I don't share all the deep dark stuff.
As much as I wanna share my true identify and personal info here, the reason I'm restraining myself from doing so is this is the only place where I can say whatever really I wanna say in my mind. Except my blog but then my blog doesn't have any reader.5 -
Okay, friends. I have a challenge. Who can make the sneakiest memory leak example? I need to stump a class of students with something only valgrind can find and I'm having a hard time.5
-
!rant
I started learning to use Hadoop recently, and am running a VM with all I need installed on it (the HDF Sandbox to be exact). The VM wants 8GB to run and my laptop only has just that, except it also needs to run Windows at the same time...
At first I thought I was screwed, that I'd need a more capable computer to learn. I gave it a shot anyway, and told VirtualBox to give the VM 4GB, hoping the VM itself would use RAM swap to function. And it did!
What I didn't expect was Windows not slowing down even a bit. Turns out Windows can triple the computer's RAM with virtual memory that it keeps on disk.
So the bottom line is: my VM is using 4GB as if it was 8GB, and at the moment my Windows is using 8GB as if they were 14GB. All of this without breaking a sweat. The more you know!3 -
Trying to develop Java applications in Windows...
sed s/Java applications/anything/g
'sed' is not recognized as internal or external command, operable program or batch file
*sigh*3 -
Sooooo I learn c. Programmed antivirus project last night, and there is 13, 374 bytes of memory leak. (BTW the program crashes at return 0). *Rage and despair*4
-
You know a server is having a jolly'ol time when, while logging through the serial console, it lags... Then, a few seconds later, you get a message
[time.seconds] Out of memory: Kill process PID (login) score 0 or sacrifice child
[time.seconds] Killed process PID (login) total-vm:65400kB, anon-rss:488kB, file-rss:0kB
10/10, only way to bring the server back to life was by a hard-reset :|3 -
I keep a blogger for tech notes for programs and settings that were difficult problems or took up a lot of time to find the solution or so I can remember years later if I ever return to those programs. Just in case to save myself and others time. It's kind of like an adventurer's log: I've gone through these stretches of technological wilderness and here are my findings, should one day you happen upon them.3
-
Finally no more xcode at work :D
But now I have to work with React Native, still a better thing to work with than Ionic 1 + Angular .-.6 -
tfw 256MB isn't enough RAM to load a zImage from SD, decompress it elsewhere, then boot Linux on a 3DS. OOM panic when trying to init a null wlan driver.
so close yet so very fucking far2 -
Goes for a tea break and wanted to rant about something. Opens devrant:
Ranter1 posted a new rant
Ranter2 posted a new rant
...
Ranter5 posted a new rant
"Ooh let's go through these first."
15mins later
"Shit what was it that I wanted to rant about?"
...
...
...
...
Fuuuuuck!!! Nevermind4 -
When you're talking about how awful it is and they think you mean your desk
I have an HP stream
this thing is a McFucking™ potato (and it's HP so i can't even get inside and replace the stock parts for good ones without breaking it)9 -
Valgrind is awesome. Today I fixed a lot of memory leakage / overflow bugs thanks to it. An guess what? Now, everything works!
-
Most memorable co-worker was a daft idiot.
this was 10 years ago - I was working as a junior in my very first job, fresh out of uni, for a very small startup. It was me, and the 3 founders, for a very long time. Then this old (45, from my perspective then..) dev was hired.
This guy had no idea how to do the job. no common sense. the code confused him. the founders confused him. I was focusing on my work - and was unable to help him much with his. His only saving grace? He was a nice guy. Really nice.
But why was he so memorable, out of all the people I ever worked with? simple. He had a short term memory problem. Could not, even if he really tried, remember what he did yesterday.... when I asked him what his issue was, he decribed his life is like a car going in reverse in a heavy fog. "I can only see a short distance backwards, with no idea where I'm going".
Startup was sold to a big company. I became a teamlead/architect. He? someone decided he should be a PM. -
WOW! Firefox you are worse than Chrome! From 10GB used memory down to 3GB when you are closed :|
(had a VM taking some of the memory, closing it made memory go down to 10GB from 14GB used)9 -
Sometimes I feel like my brain has a really fast CPU. But the RAM frequency really bottlenecks the whole system.
Any suggestions to upgrade the RAM?2 -
A full 4 level page table on x86_64 is over around 687 GB in size. Allocating it fixed size obviously won't work...
So now when allocating virtual memory pages for an address space I sooner or later have to allocate one page to hold a new page table... which has to be referenced by the global page table for me to use... where there isn't any more space... which is exactly the reason we allocated a new page in the first place... so I'm fucked basically9 -
How do you organize your downloads folder?
Personally, I make a new folder with some name(altough the name actually being useful is rare) and just select all of my files and dump them there. Finding a file sucks so much though, I can never remember their names so I just look through the folders at the icons and hope I find the file I'm looking for. This mess that is my downloads folder led to looking 5 times in a folder to find a file.
My DOS VM is more organized than that...
Speaking of DOS managing memory in that is hell. I've never had memmaker detect 64MB of RAM, giving the VM 96MB of RAM made it detect 2 more MB or something.5 -
I have waitsted whole my day searching a bug with memory allocation in C++, and still don't know how to fix it! That moment, when coding took me far less time than searching that fucking bug... I feel that i missed anything, but all looks ok
I HATE C++ WITH IT'S FUCKING POINTERS!!!!!25 -
Nanotechnology is getting cheaper every day, but I do feel a bit stupid to buy a 16GB USB stick to be used as live USB for Ubuntu 😂3
-
Webcams and memory leaks..
Same model, 5 different part numbers..
One version causes memory leaks, one doesn't..
I wonder what the other 3 do !7 -
I have gotten so used to editing files in vim that I invariably type vim commands into editors which don't use them (which is pretty much every other one.)
I can't count the number of times I've sent ZZ or :q to a colleague in Slack or typed /word in an email or even D when I was trying to delete a line.
Then I spend time outside of vim and find myself using the cursor keys or mouse to move around.
Curse my slow code-switching brain and faster muscle memory! -
!rant
Just had a meeting with a client. Client is a local company but they hired a new guy and he is a foreigner. They made a website with us. Since it is a typical corporate website with few pages and just text and images as content, we used WordPress.
The new guy is familiar with squarespace and asked me my opinion on using SS. I don't really find any issue and it was my reply. He seemed surprised and asked me "Wouldn't it be like losing your business?"
I have never considered developing WordPress as my business. Programming is my interest and profession. But my main passion is to provide solutions to anyone in need. In fact, there were many occasions where I told to clients they shouldn't buy our services and recommend other services including competitors.
He probably thinks I'm a strange guy. -
http://zero-k.info
Oh look, a shiny new game, well, I think its based on code from an old game..
Many of these kind of games suffer from one specific issue, they crash during a long drawn out game.
And guess what, this one isn't any different !
> Spring: Fatal Error
> Failed to allocate memory
Game only appeared to be using some 6Gb, and I've 24Gb, so nice ECC memory too, just so my game doesn't get ruined by any cosmic particles..
So, does anyone code a game like this, which doesn't crash after you've spent hours building up your forces/etc..
Or do I have to write my own !7 -
https://amazon.com/dp/B06XFT7DF9/...
Bought this ram, why in bios it say 2400 mhz?
Did I fuk up somewhere?
Ryzen 7 3700
Tuf b550 plus12 -
!rant but story
Didn't participate in this week rant since the topic is not very relatable to me.
I rarely get truly inspired. There are people I envy. There are things I like. There are moments I go, oh awesome. That's about it.
I doubt myself that I have little bits of narcissist and sociopath traits. Maybe I am. 🤔2 -
Hello C++ / C programmers. I've noticed my professor putting the ASCII code of a character into an int instead of just using a char to store it. When he does this he's not doing math or anything with them, so is there any advantage to it? My TA mentioned something about memory alignment, but I'm not experienced enough to know how something being aligned differently in memory would help or hurt a program.5
-
I'm trying to investigate why chrome keeps crashing after i implemented web sockets to a web app.
I used windows perfmon to see the memory usage over night.
The usage between 17:30 and 01:50 is expected behaviour as this part of the app is a live data graph of the last 48 hours.
Now i have to find out why the app doubles in memory twice in a hour.2 -
!rant
Showing a php and dual-boot guy the anti-php and anti-window posts might be an intentional algorithm. We never know. 💀 -
When you keep receiving notifications from a app that you uninstalled because it's still loaded into memory.2
-
I've just noticed, the rest of the world says things like "your check is null and void," as if those two things are one and the same.
Meanwhile, to us devs, they couldn't be any more different! Something can't be both null AND void! 😅undefined void null function return values memory locations c declaring variables c++ coding pointers8 -
Me: there are a lot of memory leaks in my application i should do something
Inner me : teacher does know that, submit the project1 -
Yes I really wanted to 'rant'..
Tinder, the app that likes to fuck around and not do anything !
Then, it repeatedly asks if you want to login via Facebook, instead of automatically just doing it.
And asks if it can use your location..
And did you know, they use cookies, so please press 'x' to close this dialogue box..
"Do you want notifications about new matches or messages..."
Yes I fucking do you memory lacking application, I click on it every time, but you don't bloody remember do you !
It is like those games that say 'click here to remember password', then ask you for it again a few weeks later..
Wait, are we allowed to swear on here..
Note, for Windows 10 users, only MS Edge can reliably provide the location you set it to, other browsers I find do not..11 -
Ive been looking for a rant that mentionned being payed to review code for something like 50pounds an hour.
Can any one help me to either find the person/rant/company that offers this service?5 -
Thank you, company forced windows update! My 60 minutes reconfiguring rabbitmq and postgres were well invested instead of investigating the memory leak fucking hibernate causes.
I'm done. -
Linux.
Guys, I need some inspiration. How are you dealing with memory leaks, i. .e identifying which component of the system is leaking memory?
Regular method of dumping ps aux sorted by virtual memory usage is not working as all the processes are using the same amount of memory all the time. This is XEN dom0 memory leak, and I have no more ideas what to do.
Is it possible that guests could be eating the dom0 memory?15 -
The past couple of weeks I've been struggling with my laptop. It regularly ran out of memory and when that happens everything runs in a snail pace. I always thought 8GB would be enough for developing software, but I was terribly wrong.
So I ordered another 8GB and installed it yesterday. Later at work I looked at the ram usage and noticed that it was up to nearly 13GB!
I have no idea how I managed to get by with only 8 for so long. 🤔
FYI: I usually have 2 to 3 IDEs and a gazillion chrome tabs open 😅7 -
haha yes let's go from 512MB used by the Android kernel to 1.5GB used in 8 hours thx phonerant android fuck my phone memory leak no root to fix the issue i only have 2gb total that can be used5
-
My first cpp project takes 148GB ram. My mentor says it's okay till 50GB. God help me optimise this thing. I have started doubting everything. Int I = 0 also looks suspicious.9
-
Damn it, Visual Studio 2017! :( It crashed without reason and then upon restart ate up all my RAM. Killing all processes in Task Manager helped a little, but something was still using up a little too much of the CPU and RAM.3
-
I went to bed and before sleeping opened an app on my phone that controls the music on my PC.
At first glance it looked like something was different so my first thought was "Ooh, they updated the app" and then I remembered that no, I didn't. I'm a lazy sack of crap that didn't update that app in a while and I didn't even implement everything.
On the plus side, I did actually get the basics working so... :D -
Production goes down because there's a memory leak due to scale.
When you say it in one sentence, it sounds too easy. Being developers we know how it all goes. It starts with an alert ping, then one server instance goes down, then the next. First you start debugging from your code, then the application servers, then the web servers and by that time, you're already on the tips of your toes. Then you realize that the application and application servers have been gradually losing memory over a period of time. If the application is one that don't get re-deployed ever so often, the complexity grows faster. No anomaly / change detection monitor can detect a gradual decrease of memory over a period of months.2 -
Am I the only one who seems to have trust issues when saving code in my text editor? Whenever I want to save I press Ctrl+X+S like 5 times just to be sure.
NB: Ctrl+X+S is equivalent to Ctrl+S in Emacs/Spacemacs1 -
Why is it?
My RAM 8 GB
Chrome eats it all (Talking the pun in it)
My RAM 16 GB
Chrome eats it all
My RAM Infinity
Chrome wait here I come
Why does it eat so much?????20 -
Quick question...
Can you guys code without any reference?
I find very hard to memorize all the functions and etc...4 -
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 -
If i cant build my mind sized react prototype on a t2.small ec2 instance without running out of memory, somethings wrong. Builds need to be much more efficient.14
-
Fighting against a read-only-memory-write exception of a com object for two days. Feeling like Spartacus but without a result for now. Wanna only sit down and cry. 😢 by the way... Outdated machines with win7 and 2 gigs of ram 😨. This is my second I-hate-this-F*****g-world rant this month. I'm gonna really hate this world! 😬😈4
-
So to give you a feel for what evil, clusterfuck code it was in: this projects largest part was coded by a maniac, witty physicist confined in the factory for a month, intended as a 'provisional' solution of course it ran for years. The style was like C with a bit of classes.. and a big chunk of shared memory as a global mud of storage, communication and catastrophe. Optimistic or no locking of the memory between process barriers, arrays with self implemented boundary checks that would give you the zeroth element on failure and write an error log of which there were often dozens in the log. But if that sounds terrifying already, it is only baseline uneasyness which was largely surpassed by the shear mass of code, special units, undocumented madness. And I had like three month to write a simulator of the physical factory and sensors to feed that behemoth with the 'right' inputs. Still I don't know how I stood it through, but I resigned little time afterwards.
Well, lastly to the bug: there was some central map in that shared memory that hold like view of the central customer data. And somehow - maybe not that surprisingly giving the surrounding codebase - it sometimes got corrupted. Once in a month or two times a day. Tried to put in logging, more checks - but never really could pinpoint the problem... Till today I still get the haunting feeling of a luring memory corruption beneath my feet, if I get closer to the metal core of pure C.1 -
The problem with moving Docker containers from your decked-out dev machine to a VM on AWS when your boss has told you to keep costs down:
1. Start Micro instance, 1++ gig memory
2. Get Out of Memory error from app after 30 minutes
3. Goto 1 -
That feeling when typing "dev" in your browser address bar and hitting enter takes you to devRant instead of your usual developer website.1
-
Why somebody would think that allocate huge amount of objects in the static memory make any sense?? Why??? You need to allocate a bloody database context and all the allocation of your IOC containers and keep increasing!!!
-
Seriously, screw whoever at Apple decided to make my Mac not have upgrade-able RAM. Late 2015 8GB slow Mac is slow.15
-
just wondering: how much of your programming / development is based on your memory and how much do you use Google just for a reminder and how much do you ude Google for the entire code?2
-
Meditation. Or Awareness Meditation to be precise. It enables me to regain control over my mind, because I get distracted really fast. It really helps sorting things out, taking a step back and getting an overview where I actually am and if what I'm doing right now is actually relevant/has priority. I mostly find that it's not, so I have to return to the important stuff.
For those interested: meditation sounds weird, even obvious at first or you just don't get what's it all about. You actually have to practice meditation for a long time and study the concepts until you start to understand what all these phrases and talking means. Behind them lies great wisdom/huge amount of concepts which is easily underestimated. So don't be frustrated too much if you don't feel it working right away. Be assured I've been there too. Also don't start with meditations like 'just stop thinking or think nothing' because in my opinion this is highly complex shit and frustrating at first. Start with awareness or breathing meditations or even get an app to support your daily habit.1 -
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
-
What a mess ^^
From one moment to another unit-tests on my local machine stopped working.
There was a PHP fatal error, because of insufficient memory.
Actually, there was a ducking "unit"-test of a controller action "log".
This action returns the content of the projects log file...
Since this log file grew over the time, PHP tried to assert the response of the controller action which was sized about 400MB.
C'moooooon guys!
What were your thoughts behind this bullshit? ^^ -
I was recently reading about memory leaks and profiling and found a really excellent article for people new to c# or best practices. It's a great article and well worth the read if you're still learning.
https://michaelscodingspot.com/find...6 -
omg. do some people not have memory? do they not realize not everyone has the same skill level? internet speed or access?
from people being hypocrites and right out assholes or morons
people dogging on jokes
you can go to a profile and read recent comments - to see someone doing or bitching about something they then bitch about or do a day or few later/before. click their rants, "zomg why for do dis?" *scroll* "watch me do dis thing i bitch about"
and if you are going to complain to people about not being able to google - maybe trying googling a dictionary and look up the word "joke" that is in the tag. if you dont think it's funny, or it's overused, don't want to join in, or w/e, stfu and let others have fun ffs
are you an asshole? or just an idiot?1 -
Friend asked him if I could test his program.
I help him test his program and found a memory leak.
He investigated the issue...
After a few hours, he found out that his garbage collector had a memory leak :^)6 -
everyone has one function that they have to look up every time they use it. for me its str_replace() in php. i can never remember the order of the parameters...and ive been using it for almost 10 years....3
-
That realization that you have a memory leak that invalidates all of your previous performance testing1
-
When C devoper creates a memory leak standard practice valgrind time.
When a webdeveloper creates a memory leak is the day they start to learn javascript. -
sweaty_decision_meme.jpg
- Debugging some application locally (with debugger)
- 20-30 manual step-ins, tracking those values VERY closely
- debugger becomes a little sluggish
- move mouse to select a line to jump to
- cursor is lagging: all jumpy and everything
- CTRL+ALT+F1
- everything freezes.
sooo...either reboot the laptop and lose all the work, or wait for OOMK to kick in, which could be hours, depending on the level of memory starvation.13 -
Back in game dev final year, working on GameCube kits, I encountered a weird rendering bug: half the screen was junk.
I was following the professors work and was bewildered that mine was broken.
The order of the class (c++) was different...
I think there was a huge leak somewhere and the order of the class meant memory was leaking into VRAM. I never had the chance to bug hunt to the core of it... Took a while to realise it was that...
It opened my eyes to respect memory haha.2 -
Memory debugging iOS probably makes me more anxious and stressed out than anything. I have put 11
hours into attempting to figure out this crash, but still no progress. It's like I can feel management breathing down my neck to get it done asap. You ever get so stressed out while trying to figure something out at work?3 -
Customer: your app is not returning all the objects in my bucket
Support: check console log 500 server error, ssh into box check logs exhausted memory limit.
Sudo vim /etc/php.ini search memory limit
Update to a high number restart Apache sit back and think fuck did I set it to high will it blow up my server.
Only time will tell!!! Sorted out the issue until the next user with millions of objects in their buckets -
It seems I am developing a habit to always forget to test "fetch" code in a repository, found two unit tests having all insert/update/delete but not a single fetch function T_T
-
They tried to mark him, they even tried compacting him and his children, but this old generation instance is not going down without a fight. He’s in a big heap of trouble, and he’s running out of time. You better count your references, because this summer’s stop-the-world event will have you staying at work all night: Memory Leak: Production is in your code NOW
-
had a blast helping a pal install arch (and setting up the necessities, like i3-gaps, neofetch, wal, etc...). tonight was awesome.
PS: i can recite any basic arch install by memory now, EFI or BIOS, and i'm slightly better at navigating vim now5 -
Recently had an issue where we forgot to deploy some API updates on live when we pushed an app version live (we test on dev/staging)
Does anyone have any experience in mitigating this risk? Can't do a final test on live since that has permanent side-effects (e.g. Automated emails getting sent to other users)2 -
TL;DR When talking about caching, is it even worth considering try and br as memory efficient as possible?
Context:
I recently chatted with a developer who wanted to improve a frameworks memory usage. It's a framework creating discord bots, providing hooks to events such as message creation. He compared it too 2 other frameworks, where is ranked last with 240mb memory usage for a bot with around 10.5k users iirc. The best framework memory wise used around 120mb, all running on the same amount of users.
So he set out to reduce the memory consumption of that framework. He alone reduced the memory usage by quite some bit. Then he wanted to try out ttl for the cache or rather cache with expirations times, adding no overhead, besides checking every interval of there are so few records that should be deleted. (Somebody in the chat called that sort of cache a meme. Would be happy , if you coukd also explain why that is so😅).
Afterwards the memory usage droped down to 100mb after a Around 3-5 minutes.
The maintainer of the package won't merge his changes, because sone of them really introduce some stuff that might be troublesome later on, such as modifying the default argument for processes, something along these lines. Haven't looked at these changes.
So I'm asking myself whether it's worth saving that much memory. Because at the end of the day, it's cache. Imo cache can be as big as it wants to be, but should stay within borders and of course return memory of needed. Otherwise there should be no problem.
But maybe I just need other people point of view to consider. The other devs reasoning was simple because "it shouldn't consume that much memory", which doesn't really help, so I'm seeking you guys out😁 -
It's pain in the ass, when you finally managed to free enough memory to keep your android os up-to-date and just a few minutes after update restart getting a message that there is an os update, which needs another 200mb.
It's a never-ending torture..4 -
When you get an assignment by mail,
- you do those changes exactly as being asked, albeit one insignificant extra visual thing,
- you send back exactly what's changed (which is exactly what was being asked, but naming things as they are, clearer than I can ever explain changes),
- you go to the person that has assigned the very thing, explain it, he seems to get it,
...
Then.. a few hours later.. you get a reply via mail:
"Come explain what you're saying here, because I don't get it."
🤨 -
When was the last time you dealt with an evasive memory leak in JavaScript? How complicated was it and how long did it take to resolve?1
-
How someone can think that the best idea to store a vector of physical values, knowing perfectly in which unit measure it needs to be provided for the back end to work, is to couple a vector of strings with the units, is beyond me.
-
Ok this will be silly guys, but this is my last hope, please help me. I am looking for a website "framework" but I can't remember the name. It is commercial, its website is all white using some black slab/serif fonts and it has a side navigation, the purpose of the framework is to easily create websites with full page scroll. it has multiple layouts, really similar to webslides or the slides framework from the guys at designmodo. If you know it or you are the developer behind it, please write link/name in comments thank you in advance!!
-
I have a personal opinion and correct me if I'm wrong
Why does a programmer need to learn behind the scenes stuff (memory allocation).
I know it helps to understand the concepts better.
Why would I learn how the engine of a car works in order to drive a car ?.
And the only task is required from you to drive a car.
And literally you can code without knowing any of these stuff and since companies only need clean and efficient code.
Will it be really helpful to enhance your coding skills if you know behind the scenes stuff ?7 -
Hi Everyone,
I am working as a jr front end developer and wanted to study more about performance profiling in Chrome and finding memory leaks using Dev tools. I searched online for a while and not able to find a nice place to start with, can anyone help me out with a resource from where I can start the debugging performance using Chrome Dev tools.
It would be very helpful. -
My own bad memory and tendencies toward neatness.
Memory: I comment things I'm sure I will forget why I did what I did
Neatness: My code looks nice! :) -
Recently joined new Android app (product) based project & got source code of existing prod app version.
Product source code must be easy to understand so that it could be supported for long term. In contrast to that, existing source structure is much difficult to understand.
Package structure is flat only 3 packages ui, service, utils. No module based grouped classes.
No memory release is done. So on each screen launch new memory leaks keep going on & on.
Too much duplication of code. Some lazy developer in the past had not even made wrappers to avoid direct usage of core classes like Shared Preference etc. So at each place same 4-5 lines were written.
Too much if-else ladders (4-5 blocks) & unnecessary repetitions of outer if condition in inner if condition. It looks like the owner of this nested if block implementation has trust issues, like that person thought computer 'forgets' about outer if when inside inner if.
Too much misuse of broadcast receiver to track activities' state in the era of activity, apપ life cycle related Android library.
Sometimes I think why people waste soooo... much efforts in the wrong direction & why can't just use library?!!
These things are found without even deep diving into the code, I don't know how much horrific things may come out of the closet.
This same app is being used by many companies in many different fields like banking, finance, insurance, govt. agencies etc.
Sometimes I surprise how this source passed review & reached the production.1 -
My MacBook Pro crucial memory RAM died after 4 years of using.
Any brand suggestions compatible with Mac ?7 -
Topic: Linux (Ubuntu) on eMMC drives.
Long story short: https://youtu.be/VvmROT8LEsM
I'm pretty new to linux and my primary computer is running on windows, but I wanted Linux back again (Had it once for a short time) so I decided that my Win10 Laptop (Acer Aspire 1) has to be sacrificed to satisfy my needs.
Unfortunately it has an eMMC drive so I did a little research and found out that a lot of people had issues with them, but YouTube spit out that poorly made, but we'll explained video.
If someone else isn't sure about Linux running on eMMCs watch the video and follow the instructions.
Btw I'm using the latest Ubuntu Budgie atm.
Wish you a wonderful weekend!
Kinky -
Look, C++, I love you and all, but I don't want to reboot my computer every time I mess something up.1
-
Teaching coworkers performance tuning, we have the memory enough that you don't need to write to disk... Really the data isn't Even a MB....
-
I need to monitor the off heap memory of a spark on yarn application (executors, mostly) running in Java. Any tool/method that someone could suggest?
-
So many years of web dev and I still google the "jQuery $" function every time...
(function (window, $, undefined) {
}(window, jQuery));4 -
"Well GPU main memory is L2. CPU main memory is L3. Which is why GPUs are so much faster." - cs major in my college.
Someone please confirm if this is a common opinion.2 -
It fucking infuriates me when any iOS app presents the previous view controller instead of dismissing it when going back.
Please don't mess with my ram. -
Writing the general memory allocator for my hobby os. It's kludgy, but it works.
I add a single for-loop that executes well after that.
The frame allocator can't initialize.
fml -
Today I found out that memory =/= disk space...
I always referred to disk space as memory. Here's how a casual chat with my friend would be like:
Friend: Hey, you should get this game!
Me: How big is it? 50GB? I Don have enough memory on my laptop for that. -
Spend like 3 weeks in mem-checking with valgrind and ASAN, because there seemed to be some leaks. So painful and scary. You loose all confidence in your software, the checking tool, your own sanity.
Some spurious result prevailed, could only move it around. Boss could not reproduce the problem on his machine; Ubuntu 18 with GCC 7, mine was Debian 9 with GCC 6, so I tried older Ubuntu with GCC 5. Also no problem.
Fuck it, I'm switching to clang.