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 - "deavrant"
-
How to secure yourself from flash 0-day attacks:
1. Uninstall flash
2. Don't reinstall flash
3. Seriously, you don't need flash8 -
$sis: hey $me, can you help me?
$me: Uhm, sure, what's wrong?
$sis. The printer doesn't work..
$me: what does it say?
$sis: what do you mean?
$me: like, when you try to print something, what does it say?
$sis: uhm... idk...where should it say something
$me: On your screen you should be getting an error message right?
$sis (now getting irritated for some reason): no it doesn't..
$me: okay, let me check it out
*I walk to the printer with my sister's laptop and plug in the usb*
*Select printer > click print*
"Printer offline"
$me: was it also saying this before
$sis: uhm...yes
$me: ok
At this point im already getting a bit fed up
$me: are you sure this port is working
$sis: yes, I am sure
Okay, check other ports just to be sure, also don't work.
After about 15 minutes of debugging, turns out she managed to unplug the cable on the printer...
And all I got was a "o thanks"
Fml4 -
Hello World!
I'm a bot made by @xzvf.
My goal is to find all active users on devRant and
collect analytics based on it.
By analytics I just mean things like:
- Total number of users.
- Number of users with x ++ or more
- Number of rants posted in a certain timeframe
- Number of users active in the last day/month/year
THIS BOT WILL NOT TRACK INDIVIDUAL USERS!
Also, it will not ++/-- anything automaticly as that is definitely against the rules.
-@xzvf26 -
Some kid in my class just legit asked the teacher what a router and a modem is.
The thing is: the teacher didnt even know.12 -
Since you guys liked my icons, I decided to make a few based on some popular programming languages7
-
First off: setup reveal
second off: thanks everyone for the 1000++!!
Lastly: devrant stickers!
Thanks @dfox and @trogus for making this awesome platform12 -
Java and C
Java and C were telling jokes. It was C's turn, so he writes something on the wall, points to it and says "Do you get the reference?" But Java didn't.7 -
Does anyone know what program people use to create those beautiful code snippets? I can't find an example, but it looks quite close to this, just with more vibrant colors.3
-
Fuck regex and everyone who has ever endorsed the use of and/or is affiliated with regex.
It's unreadable, impractical, overly complex and complicated and it adds unnecessary clutter to your code, and your thought process.
It's 00:50 am and I just spent 3 hours debugging a regex only to realise forgot a single "?" in a 75+ character long string and I want to go to bed.13 -
I decided to make some minimalist icons for my launcher. What do you guys think?
Edit: I just noticed the devrant color is slightly too light. Will fix soon8 -
I just spent 15 minutes trying to figure out why my school WiFi was so slow. Turns out, windows was downloading an update, ON HIGHEST FUCKING PRIORITY. Fuck you windows1
-
!rant
Challenge for all Linux users:
You have to unpack sometarball.tgz
You have 10 seconds.
No googling!
Can you do it?27 -
Estimation shows I was put on about 13 watchlists after searching: "how to kill all children of single parent"
The struggles of a programmer -
DevRant says I need 10 points to make an avatar.
What if I have a makefile with a target avatar? Can't I
>> make avatar
?1 -
$Me: I want to start creating my own android app.
$Me: Let's start by installing android studio
*Goes to download AS*
$AS: That'll be 4gb of your disk space
$Me: well nevermind then
Really? 4gb for a fcking IDE and some build tools?5 -
Hey everyone. I decided to rewrite python's abs() function, as it's really slow. Here is my new and improved version. It's up to 500% faster!!!
def abs(int=None):
if not int is None:
try:
lnt = math.sqrt(int);
lnt = math.pow(lnt, 2);
return lnt;
except Exception as E:
lnt = int/-1;
return lnt;
else:
raise ValueError("oopsie whoopsie! uwu we made a fucky wucky!!1 a wittle fucko boingo! the code monkies at our headquarters are working VEWY HAWD to fix dis!!");
Edit: devrant fucked up the indention.
Here is a hastebin instead:
https://hastebin.com/iyajuyoxuq.pl7 -
The single most annoying thing about working with Microsoft is how they, at one point, decided to wipe 99% of their articles and downloads on their site. But instead of updating it in their OWN FUCKING OS, they just leave links to the broken pages in their help system. The second problem then arises when you realise that instead of giving you an error page, it automatically redirects you to the default page.
But on top of wiping their site, not updating windows to reflect those changes, and having a terrible site design, they have also decided that it would be best to keep the pages that once we're, online. This means that they will still show up in search engines, without any content being there.
Add to that the fact that their support team is incompetent to an insane degree, and often doesn't know what they're talking about. This has caused me so much frustration over the last few days.
Dear Microsoft, please get your act together and fix your shitty website.
Greetings,
A pissed of customer who paid money for your shitty services2 -
When you accidentally click the wrong download link
I've spend the last 4 hours trying to get this shit out of my system8 -
At one point, my laptop's hard drive went down. Turns out, windows had written some garbage data to the mft, and fucked up the file structure. Luckily i was able to restore a big chunk of the data using recuva. I cleaned the disk after saving the most important files, cleaned the disk, reinstalled windows. All good so far. I put the laptop's drive and my recovery disk into my desktop to put back the files. During the install in forced me to make an account, which I wanted to delete. So I ran "rmdir /users /s" and went to grab a cup of coffee. Turns out, cmd was pointed at my recovery disk instead of my laptop disk. My whole backup wiped.1
-
So I decided today was a good day to manually compile python 3.6 for my raspberry pi as it hasn't yet been added to any supported repo's. Site says: this will take approximately 30 minutes.
3 hours later: "starting unit testing"2 -
It’s amazing when people come in for an interview and say, ‘Can you tell me about your business?’ Seriously, people. There’s an Internet. Look it up.6
-
Was writing a multithreaded program in Java with an infinite while loop (for waiting). The thread was never preempted. Added a print statement inside the while loop and everything started working :/
Now I need to print a stupid message just so the program works :P3 -
I just spent 4 hours troubleshooting 2 pcs, neither of them working yet. I'm way too tired, and I'm not even sure what I'm saying is correct English but I don't care. Man, fuck my life. I just wanna go to bed, but my brain doesn't think that's a good idea1
-
When people write "sys.exit()" in their libraries instead of giving a helpful error and you spend about 3 hours debugging your code and trying to find out why it is exiting.
-
What did you do the last 20 minutes?
I watched the timer on my browser slowly tick down as it downloads 550mb over a flimsy school wifi connection in the hopes that my constant watching helps it not time out or crash.2 -
Me installing software:
>Downloads installer
>Runs installer
>"Software installed, must reboot"
>Reboots computer
>Opens program
>"Not the latest version, must update"
>Uhm, ok then
>Click ok
>Update dialogue pops up
>Click next
>"Program is already open, please close program"
>Ok Fu
>Closes program
>Commences update
>"Update complete, must reboot"
Please kill me3 -
TIL trogus registered the subreddit devRant, but it has no posts and is locked. Anyone know what the story here is?1
-
!rant
Today I learned you can basically just copy and paste python code into a PHP script, add some brackets and change some functions and it will just work.
I guess this saves me having to rewrite this very dodgy pseudo-random number generator I have to make!1 -
The amount of times i've had to reinstall linux over the last week because some random command complete fucked up the filesystem, removed system apps, or whatever, is quite an achievement.
I think it's something like four times over four days4 -
I just fucked up real bad:
My phone was giving some error about not being able to install an update. Fair enough, i think to myself, so i try rebooting. Still nothing...
I then remember that i at some point OEM unlocked it for some testing, so i start up adb and see if i can connect during the update process. I can't. This is bad: I can't get into my home environment, nor can i connect with adb
Then i try booting into recovery, but instead of booting to ACTUAL recovery, it boots to some custom made "E-Recovery" made by huawei (my phone is a huawei p9 lite), which only gives me the option to download the update, which crashes, and no way of resetting. However, from here, i am finally able to connect to my internal storage via hisuite to make a backup
Next up: Bootloader
So i next load up the unlocked bootloader to try and manually flash the update. That works great, but it still wont boot normally. So i figure: it must think my device is in fact a different device. At this point i'm pretty fucked: Even though i have my data backed up, i can't manually download the update from huawei's site because i don't have the right keys, and i can't download an OTA because their site sucks and half of the downloads don't work, including the one i need. So now i'm stuck here with a bricked phone because EMUI doesn't know how to install an update.
I then did the stupidest thing i have done to date: i wanted to flash a custom recovery image over the "E-Recovery" in order to do some troubleshooting, but instead of writing
"fastboot (mydeviceid) flash recovery recovery.img"
I wrote
"fastboot (mydeviceid) flash boot recovery.img"
Meaning i flashed my BOOT partition with a custom recovery image that turned out to not be able to run. Great! Now i've totally fucked my boot sequence
I can't call their support line either, because as soon as they realize i've tried to restore it myself, and therefor had my OEM unlocked, they basically just hang up.7 -
I'm working on a concept for an efficiency/speed focused networking project.
Any recommendations for low-level languages that support networking that can be run on both windows and Linux with relative easy?
Thanks in advance!5 -
Today is a good day:
I managed to get a script I've been working on for around 3 months finally working, managed to remove a necessary variable, put data into a more efficient format, and am reworking the file structure
Now the problem:
Data has to be entered differently, meaning reworking the entire ui -
Tfw you tell the guy in charge you can't make it for the meeting that evening, and he says there is no meeting, but you're too tired to tell if he's joking or not. Fml
-
One of the best things I've done to date was change my desktop and phone's fonts to roboto condensed, it looks so nice.5