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 - "(╯°□°)╯︵(\ .o.)\"
-
Client : Now mail me the project "directly". Don't send it in files. I donno how to open files!!
Me : Directly? o-O43 -
Me: *enters password on phone (long PIN)*
Person next to me is looking at my phone WHILE I enter my password, and as I look at him, he doesn't even turn away and even has the nerve to say:
"Wow, why do you have such a long password!"
Μy answer: "Because of security reasons."
What I actually wanted to say:
"Because of pieces of SHIT like you who can't keep their eyes to themselves, even when PASSWORDS are involved, you FUCK! Guess why everytime I enter a password in public, I have to dim my screen and turn my screen sideways? Because of fuckheads like you, not knowing shit about privacy and security! Fuck you!"7 -
All my works...
G G. O O O. N. N. E E E
G. G. O. O. NN. N. E
G. O. O. N. N. N. E E E
G. G G. O. O. N. N N. E
G. G. O. O. N. NN. E
G G. O O. N. N. E E E E13 -
Pessimist: a O(2^n) algorithm's performance decreases exponentially as input increases.
Optimist: a O(2^n) algorithm's performance increases exponentially as input decreases.2 -
. _ _ _ /\/|
/ \ _
| [ 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 -
Other people when they read SO:
________________
( Significant other )
————————— o
º
º
Me when I read SO:
_______________
( Stack overflow )
———————— o
º
º9 -
Google I/O: And now web add a new language to Android...
Me: Golang, golang, golang...
I/O: Kotlin!!!!!!!
Me: What?????? Another language?!?!12 -
Devrant::Mathematicians, unite!
I found a new way to calculate running average.
Old:
a(o, n, i) = (o(i - 1) + n) / i
New:
a(o, n, i) = o + (n - o) / i
a: New average function
o: Old average
n: Element to add to average
i: New number of elements16 -
!rant
Boss: You can't start coding without understanding the phrase P. O. O. P.
Me: P. O. O. P.?
Boss: Is a carefully organized code
People
Order
Our
Programs2 -
Now I get it, I did before, but this helps.
https://github.com/corkami/docs/...
I still don’t know how to go from my function to O however.4 -
I am watching a video from Google I/O when they said "Ok Google", and my phone turned on (though saying "Your voice was not recognized")2
-
devRant, got a code challenge for you.
Manager calls at 18:00...
Write an algorithm that gives the optimum result!
I'll go first with my O(1) solution:
Don't answer.
I'd be interested to see whoever can beat the big O of my solution!!!!!
#moreclownwellnessthirstythursdays19 -
Today I spent ten minutes because I didn't see the difference between 'cmp' and 'cpm'
Do I have a slight case of dyslexia? :O
It must be so difficult to be a dyslexic programmer :O18 -
I made a simple HTML site for watching Google I/O live without all the ads that third party websites try to stuff up your face. It also has the official countdown from the event website 👌 (The countdown will disappear as soon as it runs out)
Check it out at adless-io.firebaseapp.com3 -
Me before wathing Google I/O: *normal happy life*
Me (in a paranoid voice) after watching it: The are everywhere, they listen to every word, every sillable everything! They are onto us, they strive for world domination. I gotta hide somewhere!2 -
Mummy! They wrote a book about me! ="Ojoke/meme configuration coonfig configurable customization settings coonfiger mods configure mod setting customos7
-
Me: *watching Google i/o 2018*
Me (thinking to myself): wow that looks useful! I'll probably use that use after 5 years at work -
I have written one answer on stackoverflow that got more than 100 upvotes \o/
It's about downloading google fonts and it's not even on par with the other answers. /o\ -
After class: Dr, it's pronounced as JAY-sun not J S O N.
Next class: So students, today we will work on passing a J S O N object.13 -
And there you go...\(◎o◎)/rant linkedin amarite joke/meme algorithms what? what the fuck datastructures wtf? linkedin linkedin is shit3
-
What a day to wake up to the win10 update asking you to confirm yet again that you don't want to send all your data to them, I guess it's time for O&O ShutUp again..4
-
In Android O RAM statistics got moved to developer settings.
So this means you are a Dev if you know what ram is??6 -
Android O. Curse for dark theme guys 😢. Not to mention half the apps on my phone crash right now.
P.S. I hate these new backward compatible emojis too.9 -
Google is amazingly good at using tech to solve problems we did not even know we have...
I mean.. How did we even survive til this day w/o google making restaurant reservation or barbershop calls..? We are cavemen bcz we still do it all ourselves... So inefficient..
/s4 -
Teacher asks the class:
"How do you become a good developer?"
All the students starts talking about algorithms, problem solving or working in a team.
He nods and starts writing on the board. w w w. g o o g l e . c o m
He then leaves the classroom.
So here I am years later, a master googler and a expert stack overflower.4 -
Copying a javascript anonymous function (Yes, the whole function) 11 times with only one parameter changing
I'm currently cleaning it up...
O H B O Y F U N D A Y S I N C O M M I N G...3 -
(in a meeting between o&m team and business partners to assign priorities to various tasks)
I.T.: So what priority would you put this new task?
Business : it's our 1.
I.T.: ok, and this other one?
B: it's a 1.
I.T.: ... -
When you realize that "O&O ShutUp10" (AntiSpy tool for Windows) creator company is a Gold Microsoft Partner
-
RFC for 700 HTTP Status Codes
https://github.com/joho/7XX-rfc
o 703 - Explosion
o 728 - It works in my timezone
o 732 - Fucking Unic💩de
o 791 - The Internet shut down due to copyright restrictions
o 797 - This is the last page of the Internet. Go back3 -
When you loose 15 minutes looking at why "padding: O;" isn't working... it's time for bed.
...
Yes that's the letter 'O' instead of a number '0'.8 -
android studio 2.2 released in Google I/O 2016 keynote a lots of features like multi layout window and drag and drop layout design and 3x speed in AVD1
-
Pirate speak one-liner
text.replace(/[bcdfghjklmnpqrstvzx]/ig, letter => `${letter}o${letter.toLowerCase()}`)4 -
if(obj == value) {
stuff;
}
Is for boys,
Arrays.asList(obj).filter(o -> o == value).forEach(o -> stuff);
Is for men1 -
Oh BASIC night, the LEDs are brightly glinting;
It is the night of the dear GOSUB’s birth!
Long lay the world in sin and error printing,
Till you appeared and the RAM felt its worth.
Shiver of fear, line numbers do inspire,
For yonder breaks a mostly harmless GOTO.
Fall on your bits, O hear the Visual voices!
O BASIC divine, O BASIC where GOTO was born!
O BASIC, O Holy BASIC, O BASIC, you’re mine!
Some want to say, “GOTO is harmful always,”
But what of them, in their post-modern world.
We PRINT the truth, in the line-numbered goodness,
But Dijkstra appeared, and the faith, it was lost.
A thrill of hope, when .NET BASIC announces,
But Visual BASIC, what kind of thing are you?
Fall on your GUI, O see the old line numbers!
Behold BASICA, O BASIC when DOS was born!
O numbers, O lines, spaghetti divine!
Source: http://changelog.complete.org/archi...2 -
Do you all look for code complexity O(n) while coding? Or you make sure that your code runs and never look back what's happening ?
Because as per code review no one looks for code complexity and that's so sad11 -
devRant is sooo cool. My new
Word-O-Matic physical keyboard word processor setup will increase my rant efficiency. Used velcro to fasten the phone and keyboard on a portfolio notebook! Way faster than virtual keyboard. -
!rant;
Just started a new react-native project :O Someone has build an app to help app builders build apps :O
You start the node process, scan a QR code and BOOM app is on your phone...7 -
When a data scientist thinks that if his algorithm is o(n) then it's really o(n) and it doesn't matter that he placed synchronized everywhere , connected to the db multiple time with huge in memory ops inside the transaction , wrote a file and downloaded something with http client . After all it's o(n) right mister I'm a scientist genius ?!?!?1
-
When your PC stuck and tell no I/O device detected....and next thing it suggest to install I/O drivers...
Oh I see this machine can't even work on Ethernet.... -
myCheckbox.isChecked = myboolean--> weirds bugs
myCheckbox.isChecked = myboolean ? true : false --> All weirds bugs fixed
\o/ Thank's Visual Studio for spending time \o/4 -
For those of you that had to answer a lot of "whats the Big O of ..." questions to get a job, how often did you need to use Big O analysis to actually do the work?3
-
Here is a personal project I've been working on lately. It's not public, but just wanted to share. It's a custom chatbot I created using a LAMP stack. Its built on top of a framework called Program-O to handle the knowledgebase storage and processing along with some basic NLP. I added the web speech api functionality myself so it supports recognition as well as speech synthesis. Anyways, pretty proud of this one.7
-
!rant
At the moment, Google I/O 2018 by Google Developers Group Philippines (gdgphilippines)
#gdgph #io18 #io18manila3 -
TIL:
How to become root w/o having to provide a password:
unshare -rm
no go ahead and bind-mount your own /etc/hosts (or any other file/directory) w/o affecting the rest of the system!1 -
Just enrolled my Nexus 5x in the Android O beta.
I am very impressed so far with the differences between N and O -
A: Do you know Big O?
B: Yea I know Big O. Who doesn't know Big O?
A: So what's the Big O of X?
B: It's ....
A: Oh what about Y?
B: Oh that has a bigger Big O.
A: Hm... how about this one?
B: That's a really big Big O. Why not use mine?
A: Ooh that looks impressive, very small. So which Big O should we use?
B: Well there's a constant trade off, even though small is good, in this case I think the bigger one works better.4 -
for the first time ever.
I watched 'The Boys' S3E1
one dude says 'I want U inside me'
and nother dude shrinks to ant size and
dude literally goes inside the penis. LIKE O-O
should I continue :|7 -
I hate how the Java File I/O api works.....
I was developing a little noSQL database in java, just for fun.
The basic was: every entry was a json object, separated by \n.
Every entry started with the length in bytes, so i could perform a easy read of the entry with a inputstream, followed by the entry its self..
The problem?
If i had a big file with more than like 50000 entries, to alter a entry with acceptable perfomance, i had to read every entry for matching with search, than using RandomAccessFile to mark the old entry as deleted and adding the modified one at the end.
The same for delete, it was only possible to mark the entry as deleted, so the read/alter would just not read it by reading the length(which i wrote earlier) and than use inputstream.skip with the length.
To actually delete not needed entries, i created a new file and than reading the old one and writing at the same time to the new one, with skipping the not needed entries and at the end rename the new file to the old and re creating all the streams.
Why cant i just replace a specific part of the file? WTF JAVA2 -
World Draw. Google I/O 2018joke/meme google io 2018 google draw googled io18 google worlddraw google assistant google io io 18 world draw
-
Clickers at Google I/O 2017undefined io17 just awkward nope natural pauses so natural it's unnatural did someone even test this?
-
That feeling when you are writing code and can't figure out anyway to make it better than O(n^2) and then suddenly you figure out how to do it waaaay better in O(1) :')
-
This is new to me .-.
I just noticed I don't have internet permission in my flutter app Android manifest, yet I'm able to fetch data from an API, how is this possible?5 -
Ah, the end of a very long work day, a beatiful time for me to click"update and shutdown" instead of "shutdown" on my laptop and being to scared to close the lid because I don't want to meet the thorn of God for ignoring the ancient wisdom of "Do not turn off your computer"
-
1) IList doesn't have an AddRange.
2) WPF bindings must be ObservableCollections
3) Comboxes using Event Notification on PropertyChange are originally developed by some dope at Microsoft who still doesn't comprehend Big-O
4) LINQ can only do so much...
It's Christmas. My gift from Santa is trying to get through an end of year crunch on a project that is made entirely out of hot sweaty year old garbage, and the garbage collector is a halfwit who comes seemingly only when they want to, regardless of when I call Dispose().
It's 12:26pm here. That means it's time for bourbon and a good bit of "F*** this, I'm done for the day."7 -
**in police station**
Officer: What happened?
My friend : He punched me, sir! This man has broken my jaw!
O : Why did you punched your friend?
Me : He asked about my love life sir.
O : So?
Me : that's a kitbag question.
O : wha-?
Me :1 -
Looks like I'll be attending Google I/O this year.
Have you attended Google I/O? Please share your experiences, tips and what to expect other than what's in the agenda.
Hope the corona won't fuck up everything.1 -
zzazzdzz/fools2019 starts tomorrow.
too bad i have
s c h o o l
(join us if you wanna learn GBz80ASM and partake in challenges every year. also plugging glitchcity.info here too because our member does it and we collab on it)3 -
2nd round,
For those of you who don't know .... I'm making a tattoo... I know nothing about cryptography, you guys have to validate how strong my messages are(this one should be weak as well).
hidden message:
'\\O=_HATGwUfEdhZX]uPO=?HATGwUfEdhZX]uLRL=O=rvOUmGHAq]ubLTGwUfEdhZXsVub=PO=rvOUmGHA`]ubTGwUfEdhZXsVu@O=rvOUmGHAq]PO=rvOUmGHA`]ubTGwUfEdhZXsqRTGwUfEdhZXsqbTGwUfEdhZXsq@TGwUfEdhZXu\\'5 -
I'm a big fan of indo western fusion music.. This is one track you must hear.. Worth it, I promise
Sweet Child O' Mine - NESCAFÉ Basement, Season II by Viper's Choice #np on #SoundCloud
https://soundcloud.com/viperschoice...1 -
Eat, sleep, rave, repeat.
Eat, sleep, rave, repeat.
Eat, sleep, rave, repeat.
Eat, sleep, rave, repeat.
Oomf, oomf, oomf, oomf, oomf, oomf, oomf, oom-oom, oomf, oomf, oomf, oomf, oomf, oomf, oomf, oom-oom
Clap, tchh, clap, tchh-clap, tchh-clap, tch-claclaclaclap!
Pay, your bills, pay, your bills, pay, your bills, pay, your bills
Ha-have, kids, ha-have, kids, ha-have, kids, ha-have, kids. Cla, cla-cla-cla-clap! O-obey, o-o-o-obey, o-obey, obey, o-obey, bey, bey, beyyyy..
And rrrrrepeaaaat, aaaafterrrrrr, meeeeeee: I am ffffffffffffffffffreeeeeeeee...
Tekno musik. Tekno musik. Tekno music. Tekno music.
lawl:
https://youtube.com/watch/...4 -
Monolithic (compiled to native executable) 20MB application for internal purposes only (in-house developed hence source is available) is bad/unacceptable but Docker container (based on public image) of 800+ MB is good?! O tempora, o mores!
-
After whitehat jr.
Indian parents be like :
“Sharmaji ka beta O(n) me solve kiyah , tuh O(n2) mai kyun?“12 -
Redo the leetcode from yesterday
https://leetcode.com/problems/...
other people's answer: https://leetcode.com/problems/...-time-O(1)-space
I converted the java solution to javascript. -
programming:
cc hello_world.c -o hello world
object-oriented programming:
cc -c hello_world.c -o hello_world.o
cc hello_world.o -o hello world
some weird shit:
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}4 -
Anyone got some good links to introduce Big-O notation? I’m getting my head around it but still feel I’m missing the basics!4
-
Agree or disagree?
In algo terms ELK is like going from O(n^3) to O(ln(n))
I actually just said that to my boss.... after finishing running my version of analyzing the issue...5