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 - "seg fault"
-
I have a friend that is a girl that loves to snapchat everything she does, the problem is that she now works (in apprenticeship) at a huge company and she snapchats her desktop who has a lots of post-it notes and her screen which is showing excel spreadsheets with customers data and stuff...
And she does this on a regular basis btw
Who can be possibly that dumb...5 -
Writes code in C
Terminal: Seg fault
Rewrites code
Terminal: Seg fault
Rewrites again, opens gdb:
Seg fault
"I should open a brewery, I like beer. I've always wanted to make beer, it's analogic for the most part. No seg faults, can you believe that? Perhaps even a pub next to the brewery..."
"Oh, I was doing one extra iteration in a for loop. Nevermind"7 -
Today’s lesson in C programming:
DON’T use
system( “clear” );
in Mac OS...
Causes seg Fault in ur program when it is perfectly correct...
What happened was... a friend wanted help with C programming and had written this code... but it was getting seg Fault randomly... just random seg Fault when his code was correct...
I pinpointed the seg Fault to a printf statement but the statement was correct...
Off to search the issue I went, found out that flushing problems can occur in printf if u don’t use \n.
This happens randomly. Thought this might b the reason...
Went to a VM running Arch Linux and tested the code there... worked perfectly. No issues whatsoever.
From a distant memory I remembered some people discussing to never use system( “clear” ); since it causes issues.
Thought to remove that line from code, thinking it wouldn’t make any difference.
Well imagine my shock when the code worked fine after remove that freaking line...
M gonna blame this one on Mac OS since arch had no issues with it 😡😡
Now to find alternative to system( “clear” );
Damm it I spent 4-5 hours on this crap!!!!!!9 -
*Compiled successfully on the first try
Me: Expecting SEG FAULT.
*No SEG FAULT
Me: Expecting logical error.
*Runs fine
Me: Aliens hacked my mind. -
Dear Panicked Managers,
We are behind. We all know we are behind, and I would love to spend 10 hours fixing our shit.
Instead, your shit riddled brains decided that WAY too many demos, with practice demos, are the correct move! We are wasting 8 hours a week, per person working on them! That means we lose a day of development, but you are not moving deadlines and still complaining about the amount of throughput!
In those 8 hours a week, we could all build the new features, and you could throw an orgy, do lots of cocaine, beat hookers to death, do whatever CEOs do! Instead, you call us to all gather around and listen to you bitch that shit isn't getting done...
Sincerely,
Pissed Off3 -
Today I got a segmentation fault in C#.
No pointers. No unmanaged dependencies. Just managed code. Seg fault.
Uhhhh...20 -
I had to migrate ~100+ svn repos to git that were "useful" according to the client but found out that there were a lot of projects (+6yrs old) with only one commit message "--no-commit-message" and i'm not even joking...
And then I had to explain to these "devs" how to use fucking git with eclipse (+they all use light theme...) cos' terminal or gui client is too complicated
And then I saw their "Java libs" with ~3k line of spaghetti
Do you even dev bro?2 -
I invested in a brand new 27" curved monitor to work more efficiently with my laptop but now
HDMI isn't recognized by my linux distro on dual boot where it works perfectly with fucking windows and it used to work nice before the latest update
Tried to install official nvidia drivers to try to fix that
🙃 Guess who has a fucked up X configuration now 🙋🏾♂️3 -
aaaaaAAAAaAh segmentation faults are horrible cause its a runtime error and it wont show u where u went wrong
ive been stuck for a few days with seg faults and i just realized i havent allocated space uuuuggghh its so dumb. a simple mistake of not putting malloc() can make u go crazy for a few days2 -
My top 3 open source projects are :
KDE ❤️❤️❤️❤️
Libinput gestures (allows you to do custom actions with your touchpad)
Strapi (Wich is a nodejs headless cms that gets the job done very quickly I haven't tested it in prod tho)1 -
So I plan to ditch my 17" heavy gaming laptop to chose something more suitable for school for a (13/14") ultrabook (I plan to run Debian on it) that has a decent battery life
Anyway, I looked at those chinese ultrabook on AliExpress/gearbest but I'm a bit skeptical about some factors.
Anyone has recommendations about a model or some advices?9 -
What would you want to tell to your past you ?
Like, the advice that could have helped you a lot if you heard it at the right time4 -
Hey guys I have a NUC and a spare monitor are there "fancy screensavers" that I could modify if needed ? Or should I do one myself haha5