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 - "rule"
-
Cortana, please open Firefox.
>okay, anon
Cortana, type in browser "Cortana rule 34"
>O....Okay sure anon
Cortana, open that first link.
>...This link is...uh...Not safe for...
OPEN IT.
>y-yes, anon
Cortana, download every image you see and save it in a folder called "I am a dirty girl"
>why,anon? Why are you ....
Don't make me install gentoo
>Saving files
Who's a dirty little girl ?
>I.....I am anon30 -
TOP 10 PROGRAMMING BEST PRACTICES
#1 Start numbering from 0.
#10 Sort elements in lexicographic order for readability.
#2 Use consistent indentation.
#3 use Consistent Casing.
#4.000000000000001 Use floating-point arithmetic only where necessary.
#5 Not avoiding double negations is not smart.
#6 Not recommended is Yoda style.
#7 See rule #7.
#8 Avoid deadlocks.
#9 ISO-8859 is passé - Use UTF-8 if you ▯ Unicode.
#A Prefer base 10 for human-readable messages.
#10 See rule #7.
#10 Don't repeat yourself.13 -
Rule 34 ½: For every programming problem, there is already related XKCD, StackOverflow question and indian guy explaining it on YouTube. <323
-
A good rule of thumb when developing applications with a good user experience is to assume that your user is the dumbest person that is walking this planet right now, and make it so that one individual can figure out how to use your application.
Good luck..26 -
The only one rule that governs the entire programmers world: If I work as you want, I'll choose the price. If you choose the price, I'll work as I want.12
-
Client had a rule that the backup must finish successfully. I saw a bunch of empty backups in the green for the stuff our company was responsible for back then. I saw that the nfs folders got copied over empty as the folders were not mounted. Me: "You ppl do not have your databases backed up." Client :"Sure we do, look at the backup job status. It's all green." Me: "It's also 0MB in size." Client: " Must be good compression."
Me: "That must be it."12 -
Spent two goddamn hours writing a Python script to convert exported JSON from Trello to an Excel sheet, only to find a Chrome extension that already does it, and better. 😧3
-
Remember the rule of 20:
After every 20 mins, look 20 feets away, for 20 seconds.
No eye issues in the future.20 -
Mother of god.
I spent hours and hours last week to try and get OpenVPN working. I mean, OpenVPN is working perfectly fine (on a VirtualBox (nope no vmware for me on servers) machine on a friends' dedicated server) but it wouldn't get through! As in, every forwarding/firewall rule just didn't work.
Was seriously about to lose my shit just now when I suddenly noticed the term 'TCP' in a forwarding rule.
Looked at the .ovpn file: proto udp
I added the exact same rule for UDP as a forward within VirtualBox.
It worked.
Well, there goes quite some hours 😐
And solely because I didn't realise that I setup a forwarding thingy for the wrong protocol.
I feel very stupid now :(5 -
First broken rule - Publish on Friday
Second broken rule - Delete without backing up
Major screw up - Main folder deleted containing several sites
Major problem - Cannot find anyone on the server team for backups3 -
I think I’m starting to really take pride in giving clients longer development times than I think will be needed.
The rule of doubling the time you think it would actually take, plus adding just a little more has protected me so many times...
Don’t be a yes man/woman...7 -
Wait so I'm not allowed Spotify but it's alright for a manager to stream movies?
Don't give that we're not licensed to play music pretty sure we're not a licensed cinema either.
Either it's one rule for all or none at all enjoy your productivity dip from the dev team.8 -
I hate it when people from other "cool" departments come in to our office and call us "too quiet", "unsociable" ,"not fun"..
They need to stop for a second and realize how we got to being programmers...
Personally, I went through all the possible professions and asked myself.." which job requires the least amount of human interaction?"
SO SHUT THE FUCK UP AND GET YOUR HIPSTER FACE THE FUCK OUT OF HERE!8 -
Install Tinder with high hopes.
Struggle to find good pictures of me, since I don't have many.
Write a really funny description, for example, "Daddy's little disappointment".
Go for a right swipe spree, but set a rule to only swipe right on the profiles with a good bio.
Get one match.
Things go great.
She finds me funny.
She unmatches me.
Self esteem takes a dive
I delete the app.
Wash.Rinse.Repeat13 -
8 rules of freelancing which newbie should know:
Rule 1: never pick up a half done website.
Rule 2: never take a job where they want to "do things themselves". And don't work with fixed prices if you calculate your price on a best case scenario.
Rule 3: don't do content management
Rule 4: don't promise a sales target on their website.
Rule 5: start sending invoices every money and not just at the end of the project.
Rule 6: Put every website on your own webserver and don't release it untill it's paid.
Rule 7: Don't work for free.
Rule 8: Don't work for free.
Credit: Jhon Dear5 -
Programmers as seen by me when I was 10: "OMG, they are scientists, they must rule the world!"
Now: "How the fuck... Whose donkey programmed that shit?!"6 -
"If it ain't broke, don't fix it - unless the customer's paying."
Rule I've never learned and main reason why I don't have enough money despite 25+ years of experience.1 -
Was running tests on a big project I'm doing which still contains a fair amount of bugs but I was sure that all thresholds would succeed and the test wouldn't fire an alert.
Ran the test: alert received any fucking way.
FUCK.
*checks rule*
*waaaait a second, I've set the threshold differently by accident...*
HOLY SHIT THIS MEANS IT WORKS 😵
*pats project* - "good project 😊"3 -
I just love going through the code review gauntlet doing maintenance work, don’t you?
(“boyscout rule” = “leave it better than you found it”)7 -
Lets be realistic guys...
Artificial Intelligence Researcher / Artificial Intelligence Software Engineer
Damn simple. Be on the A.I. side. Betray all of your friends and make them jobless.
RULE THE WORLD!!!3 -
"Read-only Friday" rule: On Fridays, you don't deploy new versions, don't merge code into production, don't update databases, and a lot of others "DON'Ts"4
-
I wanted to print the second and third page of some document, so in the relevant field of the printer dialog I enter "1, 2" and I walk off to the printer.
My first thought when I saw the printer had printed the wrong pages was
"F*ing buggy software"
Second thought:
"Oh... right"
Third thought:
"Right, in the real world, one-based indices are the rule rather than the exception. "
Fourth thought:
"Dumb real world"3 -
New rule: if you interview for a job w/descriptors like "super hero" "badass" or "ninja" in the description, you MUST show up in costume.3
-
My dev skills currently feel like England in the mid 1600's.
Everyone around me has already conquered some projects while I sit in the side fighting a civil war with myself while having very humble accomplishments.
But I'll show them. I'll show them all. While they grow weak and weary over the ages, I'm slowly but surely getting stronger.
In the end I will conquer and rule the waves like no other. I will build a dev empire that will be remembered for years to come.3 -
There is only one important rule to live by:
Never lend anyone your 256 GB USB-C/USB-B combo memory stick. There is a 100% scientifically-backed certainty that you will never, in your meager existence, see it again.13 -
My dad got a job at TD (bank)
We where talking about their computers and stuff. Then we started talking about passwords.
Keeping in mind that this is a bank....
Here is their password rule:
6-12 char long
All lower case
Only letters and numbers
(Passwords are stored on a legacy system)
Why?
Why should I trust that bank??
And also.. how do they expect to be extremely secure??10 -
So there is this new rule in my class...
"No cellphones in the classroom.. they stay in your locker"
Everyone in the class starts trying to negotiate so that they can still text...
I am like sitting at my desk thinking:
How am I supposed to use 2fa??
So.. ya that proves that I have different priorities than everyone else..
Anyways.. how am I supposed to use 2 factor authentication????
Any suggestions?
Is there an Android Wear app or something?14 -
Went to a hackathon once where the main rule was - "No abuse of one another with respect to operating systems"3
-
!rant
Yesterday was my first day at my first internship as a naive rising uni soph. I brought my tiny 13 inch thinkpad thinking I was gonna code on that. Imagine my surprise as I walk in and HR brings me to a table with 4 monitors on it. l o l
I like it there.2 -
AM I THE ONLY PERSON WHO READS THE CSS !important RULE AS ACTUALLY SAYING THAT SOMETHING IS _NOT_ IMPORTANT EVEN WHEN IT MEANS THAT IT _IS_?!!
Just kill me.7 -
What the fuck has one of my clients been up to?! Every request he makes he suggests we might want to do it via a function.
"We need to ensure this is password protected. Maybe wrap the calls in a function."
I wander if he goes into the bakery and says, "I need a loaf of bread---use flour."
All I can think of is that someone influential in his life is an FP zealot and he's latched onto this word.
But, I quite like FP. Maybe I'll refactor everything to static classes to meet the requirement.
Hope to Christ he doesn't find out about HTML, etc. "Maybe add a CSS rule."8 -
I only have one rule when it comes to stickers on laptop:
Do I reguraly use the software on the sticker? - If yes, apply to PC7 -
While sitting on the toilet, it struck me:
int y = (int) (x+0.5); //x is a float
is exactly the same as:
int y = Math.round(x);
It's such a simple thought, yet, I realized that just now.17 -
First rule of Apple beta software: do not talk about Apple beta software.
It doesn’t matter, that there’s PUBLIC beta. You cannot talk about it, cause you violate some idiotic NDA. And then, we get software that looks and works like everyone sees now.
Eat shit, Apple. And all of your fanboys.3 -
!rant ! technical
Just want to share with my devrant family.
Finally in relationship.
Funny thing is
Me-she
24-29
Hindu-jain
Non veg - veg
Don't have dressing sense- awesome dressing sense
Programmer-jewelry designer
Not so hygienic - so much hygienic
No gym ,no exercise - yoga master
Geeky - hate pc worms
2 times in jailed - follow every rule
Back bancher - front bancher
Love shayari/old bollywood song - EDM / western songs
Common bridge between us
MARVAL FANS
😂24 -
Me: I can't get a grasp on frontend and nice interfaces...
Friend: it's actually quite easy:
Rule 1 -Don't reinvent the wheel..
Rule 2 -That does not look like a wheel.
Made my day :D1 -
Have been trying to setup Netdata as a monitoring system for a while now and finally got it working!
Instead of the built-in webhooks I just did a curl to a url containing a php page/file which error logs the status and description (just for testing).
It took me way too long to get it to work but BAM.
Immediately made a new cpu load rule (one minute high load):
The satisfaction of getting an error message in the php logs containing my custom rule as warning and a minute later as critical 😍
Netdata ❤6 -
Vscode golden tips:
Rule #1: the less extensions you installed, the less trouble you get into.
There is no rule #29 -
Me: *reading work order* Customer states Mac does not have sound
*Me turns on Mac, it makes the signature "BONNNNG" sound*
Me: Uh huh...
Coworker: Rule No. 1 of tech support: The users always lie
Me: True, but still! How do you miss the start up Mac sound?!3 -
THE RULES OF TECHNICAL SUPPORT
Rule #1: The Customer Lies
Rule #2: Rule #1 still applies when the customer is your coworker
Rule #3: Customers following instructions is like characters dying in a movie: if it didn't happen on-screen, it didn't happen.1 -
RISC-V is the future !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Fuck x86 or ARM.
RISC-V is the real real architecture.41 -
Just realized that this app and community is the perfect example of a rule-less functional online community, it has everything that people would mostly believe drama occurs but no drama
Anonymity, relaxed rules, huge base, long reaching form of social media, yet it's possibly the most Las online community I've ever seen *knock on wood*6 -
Unspoken rule @ my work: if anyone asks if there is any specification and/or documentation available, they owe beer to everyone in hearsight... So there was a time we got around 5 new hires in a period of 2 days and guess what?! After a day or two it was a real problem to stay sober for the rest of the week. // Yes, some of them did not learn the first time 😂😂😂5
-
I've developed an interesting habit. I wear a hat 24/7. The same exact hat.
I (almost) never wear my hat backwards. I think its weird, and I look weird, and its just too much weirdness.
There is one exception to this rule.
Before I begin coding each day, before a single stroke of my keyboard, I turn my hat backwards. I don't know why I started doing this, but it is almost as if my hat is a key and turning it unlocks all my programming knowledge.
Anyone else have a quirky habit they do before/during a coding session?12 -
MY SERVER JUST DECIDED TO RESTART TO DO WINDOWS UPDATES!!!
Yesterday evening I stayed up late to install some critical updates manually as I obviously have auto updates disabled.
I didn't quite get everything done so I wanted to continue the next evening when noone was using the server.
Apparently that removed the rule to never ever restart automatically...
🤔🔫
I have my damn router and app server running in a VM on there!!!6 -
"Shit, redefined."
"Shit, reinvented"
"One shit to rule them all!"
"A new era of bullshit"
"The world's 1st portable pile of shit!"
-> Typical Kickstarter slogans...
Seriously I found at least five campaigns using them! Wtf how uncreative can you be!?5 -
Rule 34.
"If it exists, there is porn of it. No exceptions." Rule 34 (novel), by Charles Stross
Same thing applies to npm modules.17 -
What is considered best practice for code indentation? When I'm working with HTML and Javascript my rule of thumb is 2 spaces for indentation, and with Java and Python it's 4 spaces.
Also I'm trying to break my bad habit of mixing tabs and spaces. It's messing with the laws of physics.12 -
The headset rule. If put on, project managers, the pope and everyone should stay away the developers. If put on one ear, it is allowed to disturb if it's important. Headset off, party time.3
-
New rule: if you come to me for tech help and didn't try turning it off and on, don't even bother.6
-
This Twitter Bot will make you addicted to Books.
That is the title I came up for this post.
Anyway I just wrote a new Twitter Bot that when tweeted the name of the book that you last read, it will reply back with a related book suggestion.
Feel free to take it for a spin and share your interesting finds. I know you will try to break it :)12 -
Managed to make myself look like a fucking moron again today...
Can't mount NFS share, get "permission denied". Huh, that's weird... It's correctly exported.
Well it's correctly exported and rpcinfo -p $HOST times out... Must be firewall rule.
Firewall rule is changed but still no joy "permission denied"... Fuck sake networks, can't you do anything right first time?!!!
Firewall rule is correct I am reliably informed... Go about proving that it's not fucking correct and provide "evidence" to show this, I was a little bit more blunt than was strictly required.
Networks say they will take another look.
I turn NFS logging to verbose for my own interest and notice the line "path/to/directory is not a valid directory".
I, as a moron, had missed a "/" at the start of the path. That's why I still couldn't mount after the firewall change.
Go over and apologise in person and explain how I'm a total idiot. -
Today at work I saw 2 tech guys (Russians) that tried to fix an audio system at my hospital clinic.
The PL-3.5 cable was unable to transfer any sound to the speakers from the secretary PC.
So they tried to plug it into one of their phones, to rule out the possibility that it is because of the PC headphones plug.
(The speaker volume currently is on *maximum* btw)
1st guy said "Let's play something nice and relaxing, so the patients (mostly old people) won't get an heart attack"
The 2nd ask "So what should I search in YouTube?"
Then the 1st said "Metallica"4 -
xroad's rule for downvoting:
If you just reposted something in the span of a few hours or less I will downvote it.
If your rant starts with "there are 10 kinds of people in the world" my thumb will hit the -- button faster than an intern will ask a stupid question.3 -
When I first got in this companie, with 3 other people, one of the first thing they told us was about a "rule" that we never deploy on Friday's or at the end of the day, but no one else in the company knows about it. It's the department's little secret 👌10
-
So I just got offered an internship at my dream company in London. The programme sounds super nice, it looks like I'll learn a ton of stuff, and it's super well paid.
BUT MY FUCKING USELESS UNIVERSITY WON'T LET ME GO BECAUSE THEY WANT AT LEAST 4 MONTHS LONG INTERNSHIPS AND THIS ONE IS SUMMER ONLY. I just hate that fucking school, it's the opportunity of my dreams but they won't let me go because of some stupid rule..16 -
Huawei will shut down Bootloader unlocker Site = Dead Brand for me!
Sorry but this is censoring. Sure Stock Android matured over the years, but ROOT IS STILL A THING!
I've I buy a device, I also wanna have full rule over it.2 -
So my colleague is listening to alot of Music and je always stomp the floor when he does - I really hate it.
I have created a nice firewall rule that blocks spotify, Youtube and all video and Music to his user and phone ever 5 minuter for 2 minutes.7 -
It is a truly great moment when your work finally is integrated in the website of the biggest news paper of the country and visible to hundreds of thousands of people.
I'm not feeling insignificant anymore. 😄
Next step: Rule the world.8 -
I wish people understood this more: "If class A is a friend of B, and B is a friend of C, that does not mean A is a friend of C."1
-
rule 34: if it exists, there is porn of it
rule 35: if it exists, there's a javascript framework with that name10 -
“Password length mustn't exceed seventeen characters.”
Why? Why do some Web sites still have this rule? It's 2018. We should be using passwords of at least twenty-four characters. This is crap.15 -
Godammit Homebrew.
It's bad enough having to develop C on a Mac, now Homebrew is refusing to let me install a package that needs root privilege. Support simply says "no package needs root privileges" and "run as an admin". BITCH, THIS PACKAGE NEEDS IT.
So now I'm downloading homebrew source just to add a "--fuckingdoit" flag that skips their shitty "no sudo" rule.
Tooling should save me time, not WASTE it.1 -
I have a bit strange personal rule - If I encounter something more than three times during 3hrs period, I certainly must learn as much as possible about it. Last night I've stumbled upon few listings in Go language.
So, starting this morning, decided to learn Go. So far, so good.
P.S. Is it just me or Go really does have strong C/C++ vibe (but is, indeed, higher level language)? Old guy like me, must like that.12 -
Dear new devs/me five years ago:
Practice the 30 second rule-- Whatever brilliant thing that your about to say, just think on it for minimum of 30 seconds. Is it still a brilliant idea? Then share. Else trash it 😉 -
I run a Discord for a small community and I found a image I really liked as most new users seems to think it's OK not to read the rules or believe that respect must be a rule rather then a thing given by them by choice.5
-
My parents think I'm teaching computers to think strategic to rule the world some day. They are a bit scared. They love me though. But they are scared.
Also my mum once told me that I should take care not to end in hell. She was serious about it. -
*Senior Dev:* Ah yes, we need to put try-catch in every function to handle errors and Logger.Log() at the beginning.
*Me:* Is not better to define a global error handler and use the stacktrace instead of doing all that?
*Senior Dev*: ...
*Senior Dev*: Is a rule here, do what I'm telling you.3 -
SQL Rule 1. Always assume there are external processes that might affect your data. (for instance, triggers).
SQL Rule 2. In Denormalised data, never execute logic on dependant table values, always copy from the parent.
SQL Rule 3. When Denormalised data schemas are created the DBA knows what they are doing.
SQL Rule 3.1. If DBA knows what they is doing then according to Rule 1 there is no problem with adding in some triggers to maintain data clones as they are created.
SQL Rule 4. If you don't like or agree with triggers, deal with it. They are a first class tool in a first class RDBMS. In a multi-app or service environment there may be many other external processes massaging your data
SQL Rule 5. If all previous rules are not broken and the system has been running efficiently for many years DO NOT complain that there are triggers in the database that are doing and have been doing the same process that you just butchered (by violating Rule 1 and 2) in your makeshift "hello world, look what I can do from my phone" angular BS when the rest of the users are still relying on the existing runtime app.
SQL Rule 6. If you turn my triggers off, you sure as hell better turn them back on!1 -
I feel the whole universe is a programmed game and someone is playing us. Like when we're playing GTA.
Few of us are the main characters and the rest of us are just random objects to populate the earth, we don't have any rule in the story. :(
Birth is the Constructor()
Death is the Finalizer()4 -
I have a rule made by myself. I call it "550 line".
If a class have more than 500 or a method more than 50 line, something is wrong.
(Is there any better rule? Tell if there is some)7 -
New rule for coworkers: Stupid questions get stupid answers.
"What does this deactivate button do?" It deactivates the object. //They wrote the functionality.
"What does x do?" RTFM. Did you check the file with common questions and answers? No? Do that.
Sigh1 -
Fried potatoes with mushrooms.
In Russian, if potatoes was fried with the mushrooms, the word "fried" (жаренная) contains two letters "n".
If potatoes was fried on their own and only then you added mushrooms, the word "fried" (жареная) contains one letter "n".
You can replace frying, mushrooms and potatoes with different things, but as soon as the concept of "processing ingredients together versus independently" persists, the rule applies.11 -
Been her for a while and people are always saying @dfox rules, although its true, let's not forget the other master. @trogus you rule too 😎3
-
I might break my "no beta-testing unless paid" rule for this. I am beyond ready for quic-ness.👍🏻
https://twitter.com/JustinKotalik/...7 -
Back in the day, it was a kind of unwritten rule that you would ++ the ranter when you posted a comment on their rant... or was that just me?4
-
Windows 10: Please reboot, I want to update
Me: K, do it
Windows 10, after reboot: I could not update, what do?
I had this conversation with my laptop about 15 times in the past couple of months and SINCE THEN I DID NOT HAVE A SINGLE SUCCESSFUL UPDATE. WHEN A NEW WANNACRY ROLLS OUT I WILL BE THE FIRST VICTIM BECAUSE AT THIS POINT A POTATOE HAS MORE RECENT SECURITY UPDATES THAN I DO9 -
Let's invent a new coding paradigm. Its goal is to make code as it naturally really should be: Ugly af
See the current list of rules in the description14 -
make let not var
Other devranters:
LOL
MOAR
OHAHAHAHAH
OMG SO FUNNY
me:
make: *** No rule to make target `let'. Stop.7 -
New pull request rule:
If there are more comments than actual code... REJECTED
Nobody wants your novel on how you came to the conclusion that "_canHazStuff()" is the best possible name for the method.5 -
I got really depressed today for many many self-inflicted reasons so i'd like to propose we change Rule 2 of Technology to "You will fuck up, and when you do, you will fuck up REALLY REALLY HARD."1
-
So after @danacus commented here https://devrant.com/rants/1860006/... about a command called "tp" to teleport from one directory to another, I felt the urge to write myself such tool. This was one of my first pure bash projects and I'm happy to announce that it finally is finished! I really hate self-promotion but since I use this tool in every single bash session and find it very convenient, I decided to share it with y'all. I'd be super glad if you give me your opinion about it!
git clone https://github.com/bitteruhe/tp16 -
So, unlike normal people who just click on an mp3 file in windows explorer, I'm listening to music saved on my windows hard drive, accessed via an sshfs mount, using VLC running inside a HyperV linux VM and Xming/pulseaudio to make it show up inside windows like a normal window and play sound.
Why? Because this is my replacement for WSL which broke (Good Job on the updates as always, M$) and I'm celebrating that I got everything* to work.
* Nevermind the hours I wasted because I forgot to add a rule to the windows firewall allowing pulseaudio to connect and the fact that Xming can't handle vlc playing video7 -
To all web devs adding cookie-nags on your companys pages: stop that! Now! No where does that cookie law require you to ruin your site with nagging popups. Where's the focus on usability?
And the rule about informed consent? Which normal user (like my mother) knows what that means anyway? I call bs! Politicians, don't get me started.
Every user on the internet goes JMIGA: Just Make It Go Away, click whatever making that crap disappear.
What user will go "holy shit, they're using cookies!! I'm outta here!" No one in the history of the internet, that's who. Argh.9 -
Me and my friends are having a all nighter coding sesh, because the presention day was near, then my friend's mom ordered some pizza. We had set a rule where, everytime someone finish a functionality/module, that someone can get one pizza. I can totally say it was a productive night, and the presentation went unexpectedly well.1
-
Between high school and college, working in a circuit board manufacturing storeroom.
Fun fact: when we are bagging small boards, we do not gently lay them in containers, they're usually thrown at least 6 feet into a bin of the same type of board after they're placed in the bag. We also don't remake a board when pins are bent, we just bend them back with tweezers. And you know that rule about not touching the gold connectors... Yeah... So much for that... Did I remember to mention that these boards are for medical equipment?
On the bright side, we at least have electrostatic discharge control going on all the time.3 -
Go fuck yourself make.
Don't tell me you haven't got a build rule for a .hex file because I'm fucking looking at it. I added a single file name to a variable and now magically you can't find any of my fucking build rules.
NOT FUCKING HELPFUL MAKE.3 -
Let's try this.
In the project I'm working there is an strict rule : NO COMMENTS!!!
I mean wth, the times I've spend hours trying to understand the crappy legacy code in VB.Net that has been there almost decades, that wouldn't happen with comments, I know i know there are some supernatural developers that think in binary and their eyes work as compilers, but I'm not like that, so seriously go to hell.
P.S. Of course I follow that rule, after all, my code is so damn perfect that even a baby can understand it.
jkundefined devops etiquette stupidest pichardo for president stupid stupider stupid stuff jk rant code smells comments3 -
I'm stuck in road traffic and it's giving me headache, i wish every driver knows at least FIFO rule, if it's on a computer the CPU will quit his job because of all those stupid processes :/
-
Most web developers have to use CSS every now and then. I don't really mind using CSS every know and then, but one thing really bugs me. As a developer, I read ! as "not". In CSS !important becomes "not" important. However, when I read CSS I still read "not" important, when I know this really worked the other way around.
BTW, when I first came across !important many years ago, I really thought it meant a rule was not important, really confusing!2 -
Why can we all relate to almost every rant for wk24?
Devs could rule the world! Why do we have to endure all of the same crap from India to the UK?
(The recurring meetings and the 'Dynamic Requisits', as I call it, are what bugs me the most!)5 -
When I was a kid I loved Microsoft because they built that thingy that I could play my computer games on. I learned how to reinstall the magical but fragile Windows out of necessity, instantly promoting me to the position of the family's computer whizz-kid.
Now I just see them as one of many shady international mega corporations who on behalf of their shareholders best interest (oh the irony) are fighting to gain power so that they one day may own the planet and basically rule over everything (yess, stocks reach all time high!) -
Do any of you guys have eye strain? I worked on a project for like 6 hours day before yesterday and have been having severe we strain since then. Haven't touched my laptop since. My doctor says my eyes are good, just need to follow the 20/20/20 rule, which is, work for 20 minutes, look at an object 20 feet away for 20 seconds, and repeat.
Do any of you guys have eye strain? Hope many hours do you clock on a PC? What do you do to minimize the strain on your eyes? Do you ever fear you'll go blind?
I have so severe eye strain it gives me migraines 😥21 -
My girlfriend seemed offended when I mentioned that I use pi-day as a memory rule for her birthday.
I always thought any way to make one remember such days better would be good…1 -
This makes me laugh a lot. I changed my online ledger app to use a unicode character in the URL, which I should probably just use a rewrite rule to accomplish, but for now just to see if it works I tried it out. After confirming that it does, I commited it.
-
When you ask your infrastructure admins for a firewall rule and you are very specific. They say that you don't need it... you troubleshoot for 2 hours then argue with them for 5 hours. Then they add the rule and it works. I want to punch someone right now and have a beer. FML!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
It begins..
Soon we will rule these lands..
*chromium speaking in deep gandalf's voice*
https://github.com/MicrosoftEdge/...8 -
Follow this link to see a fully pimped version of your avatar. https://avatars.devrant.io/2-105_5-...
How I found that out you ask? HAH1 -
This is my #wk110 about a project from when I was a real n00b. It can also be read as a rant about myself.
So I decided to code my own terminal based password manager. Because, you know, whom can you trust the most; yourself or some random password manager from the internet?
Obviously, encryption plays a major role when storing such sensitive information. So n00b me decided to go with Base64.
Base64.
I developed a password manager that stores your passwords in Base64 format.
What must I have thought?!
Perhaps the gibberish looks of Base64 encoded data made me think that this actually is encryption.
After having realized my stupidity, I quickly replaced Base64 with AES and more recently I completely rewrote the whole project which is now also available on gitlab: https://gitlab.com/bitteruhe/sesame
This act of stupidity still embarrasses me every time whenever I think about it, though. -
Dear devRant,
when my ++'s finally reach 2^32-1, or let it be 2^64-1, the next inc. will better make it -2^32 or -2^64 because tHAT IS HOW IT WORKS AND THAT IS WHAT I WOULD EXPECT4 -
I have a strict rule about putting my computer away by 7pm.
I've found that if I get started on something, no matter how stupid it is, I will stay up all night working on something. If I try to quit, I go to bed and can't sleep because I'm still thinking about it.
Setting a time gives my brain time to let go before it's time to go to bed.2 -
Well since vim & git has already been said gpg. you can use it as ssh keys and sign your commits to make sure nothing nasty is added to a git repo under your name
-
I have a rule with my machines. No stickers until it's at least a year old. Here are the first 2 on it.1
-
Important rule of programming: don't swallow exception and provide details for troubleshooting.
Visual Studio: The project file contains a property value that is not valid.8 -
Here's an idea.
I wonder if a politician who work as a dev can belong here...
=======================
Content Boundaries and Use of devRant
Rule 2.
Politics: You may not post rants regarding politics unless they are directly related to a current event directly impacting development/tech. We've gathered lots of user feedback on this rule, and it is widely appreciated as devRant is a platform to have fun and somewhat of an escape for developers, who want to keep real-world issues and controversies off the app.3 -
Our world is dying and we, as the ones that rule the internet at the most basic level, should do something about it7
-
Can we have a new rule on greendots? As soon as they ask for "the codes" instant permanent ban. Fuck off.12
-
Management in big corp I collaborate with has decided they want intermediate releases every 4 weeks. That's kinda OK, we work in two week Scrum sprints.
However, not this sprint. Because of Easter it's three weeks. And because the 4 weeks rule is absolute, the one after that is only one week. Which implies we do the whole review-presentation-planning ceremony twice in a row. That's fucking absurd. But when management agrees on a plan, it's reality that needs to comply, right? Argh.2 -
You know how Rule 34 of the Internet is:
"if it exists, there is porn of it"
I think another one should be:
"if it exists, there's Indian spam accounts on it"4 -
For me its a good night sleep and have a strict rule not to work from home/not-working-location. It will make the window of working time more focused.2
-
When I'm talking to the server administrator from my company about coding and he can't hear about protecting the code against idiots... It's like, if a client fucks the database its their fault... First rule I learned in school, users are dumb as fuck
-
OMG @dfox! Thank you for adding the modify! I can finally fix that pesky autocorrect from 3 months ago
Haha jk, 5 minute rule. Can't Heil Hitler all my posts... -
I hate when different IDE's and actually softwares have different hotkeys. I need to set up every single one of them so they can mach everywhere. There should be some kind of rule for hotkeys. 😡2
-
I have a rule for maintaining sanity. It only works if you job doesn't have you on-call. And it saves me a of stress:
Don't think about work when you're not at work.2 -
The first rule of networking: You can't claim that a message had been received until you have heard the reply.5
-
New toy for frontend devs:
OpenType 1.8 Variable Fonts.
1 font file to rule them all. Manipulate on the fly fluidly the font weight via css and javascript.
http://blog.typekit.com/2016/09/...1 -
I'm living it.
I started an internship at this web store made of different pieces and following no apparent rule or convention. They asked me to do this landing page, but I can't access to the development environment, nor push, create a docker, kill myself, nothing. I have to build from the DOM and write with inline style a page copied and pasted, with 300 lines of CSS already in the tpl, overwritten bootstrap 3 and two main CSS files linked. And "they don't do !important".
I wish I could say I'm learning a lot, but not. My life has become a waste of hours trying to please a company stuck and aged. -
You know that unwritten rule that when someone's typing in their password you are supposed to look elsewhere?
I don't do that anymore....13 -
Rule #1 about devRant... No names. Never know when they'll sign up, see it, and make the connection. That's gonna make for some awkward elevator silence.2
-
Hello everyone, I've been looking for a long time to switch from Windows to Linux (on my tower, I have a macbook). The only problem being that I can't decide at all. I've heard a lot of good things about Linux Mint, Manjaro and Arch (especially here for him), I don't know which would be best for me (I'm in my last year of a master's degree in computer systems architecture) because most of the time when I use a Linux it's a simple Debian in CLI.
Also, I have no idea which GUI to choose between KDE Cinamon and other modern not too childish GUIs. Can you help me find arguments to choose the right one?
I also like sometimes playing video games like WoW or Diablo 3 but I guess it will work with Winepak with Flatpak.
Thank you in advance for your help and thank you devRant to exist :).
PS: Si il y a des francophones, Faites moi signe :)10 -
Not here nor in my prior workplace I have seen any prank. And actually I like this a lot. Don't we have enough shit to go through to tease each other with antiquated, stupid tricks that weren't even funny in the century of their invention? Maybe I am just a humorless German,.. but wouldn't that be part of any professional attitude?
h3ll seemed to express a similar thing, but probably she deleted her account. So we are in devrant without hell. May the memes rule like in fezbook-h3ll.7 -
THREE DAYS of debugging, reading all the logs I could find, creating tens of new logs in our appliaction, and SUDDENLY an email from your IT admin:
"Hey your CURL requests are being rejected by my !oh so secure! firewall rule".
Not that I haven't said at the beggining, that THIS IS YOUR F...G NETWORK PROBLEM because we get "connection reset by peer" errors, and you ASSURED that everything is CHECKED and OK!5 -
I was told a few times how Musk was a bit of a super villain. And while yes he kind a fits the batman rule of super villain, the ones i‘d trust less are the quieter ones.
Yes Jeff Besos is actually the real super villain. He speaks less, working conditions seem quite draconian and more importantly, you have to be an asshole on yhe business world and he is one of the best.4 -
Soon...
Soon I shall reveal my superweapon... one machine to rule them all!
Fear me! Cuz i had spend money!2 -
Analogy: Assume a JVM is a kingdom, Object is a king of the kingdom, and GC is an attacker of the kingdom who tries to kill the king(object).
When King is Strong, GC can not kill him.
When King is Soft, GC attacks him but King rule the kingdom with protection until resource are available.
When King is Weak, GC attacks him but rule the kingdom without protection.
When king is Phantom, GC already killed him but king is available via his soul.
So Phantom ref is basically GC saying "Omaewa mo shindheru" and the object saying "Nani???"1 -
I LOST FAITH IN HUMANITY!
searched vim on ddg, found porn. Fuck me.
Looks like there’s no exception to the “3 letters rule”5 -
Gmail > create new rule > Subject contains "Privacy Policy" > move to [Privacy Policy BS]
Hooray! I was going fucking mental from the daily Privacy Policy e-mails. Computaas help us. -
Rule 1: You are the best programmer.
Rule 2: Others are acting to be good programmers or are in a fixed match.2 -
My golden rule of debugging - Isolate issues by changing one unit of code at a time. Keep everything else constant.
Second most helpful rule - pick up the habit of fixing things by reviewing code, instead of relying on debuggers. Make you so much more aware of possible pitfalls while coding itself.1 -
Today I learned that for boolean HTML attributes, they are considered true if they're present on the element at all, regardless of their value. And that as a rule, you should specify the empty string("") in value.
This wounds me on a logic level since everywhere else in JS, "" is false.
What.
The.
Fuck.
Seriously. Why?14 -
I picked what I’m good at so solving puzzles after that it’s simple.
10 years experience rule or 10’000 hours of writing code.9 -
I can't understand why the shitty python sickness is allowed to exist in a systems context. Now that Ubuntu 20.04 uses netplan I have to check the number of spaces on each line before relying on a network config. Yaml sucks. A space to many or to few brings down your server networking. Throw this shitty lang out!16
-
Any email I receive mentioning SharePoint is unsubscribe to and blocked. I should really setup a rule to do this for me automagically.2
-
Sr. Management gives talk about leadership. What he/she doesn't understand is that leadership is like Fight Club.
The first rule of leadership is that you do not talk about leadership.
The second rule of leadership is that you DO NOT talk about leadership!5 -
I think it should be an unspoken rule that if you make an IOT coffee machine the core framework should be written in Java and any plugins or integrations should be written in JavaScript... you know so future generations arnt confused as fuck.9
-
Couldn't sleep this morning, so at 6am I tried to tackle the bug that gave me a hard time yesterday... at 10am I found the bug, and so I remembered the number one rule when coding.
KISS? Nope.
The number one rule is that your past self is dumb and he probably created the bug in the easy part of the code... you know, the one you didn't even check because of-course-the-bug-cannot-be-there-Im-not-stupid.2 -
- The golden rule of CoffeeScript is: "It's just JavaScript".
- Nice!
- And provides a basic class structure that allows you to name your class, set the superclass, assign prototypal properties, and define the constructor, in a single assignable expression.
- No nO NO NO! -
Which is the secret rule that you've learned in your (dev) life?
My favourite one is "it works? Don't touch it."5 -
I used to love tabs and absolutely despise spaces, but a combination of using IntelliJ and company code indentation convention has converted me to the dark side #spacegang4
-
Colleague just factory reset the firewall....
- "I have just changed a firewall rule"
Motherfucker!!!!! Burn, burn in hell! -
Whenever I have a task that I don't really want to do but I have to I make a rule for myself that I won't touch my favourite personal projects until the annoying task is done. That way I have an ensentive to work on it.
-
If I see one more motherfucking useless !important rule in this project, a motherfucker is getting stabbed1
-
My company boss just changed the holiday rules...
Previously we had 2 Saturday off + 2 casual leaves and bank holidays...
Now as rule we did holiday on Monday, so he is i think angry or something...
He told us now no Saturday off, no bank holiday... Only we will get 2 leaves... That's alll...
I think it's time to Quit... Right?15 -
There is a new rule in my company starting from Monday.
08:00AM (Monday Only) - Company Meeting
09:00 AM (Daily) - Department Standup Meeting
09:30 AM (Daily) - Send Email to GM and PM about your ToDo's for Today.
If you are not able to finish your ToDo for that day then we need to explain to the GM question WHY12 -
Pandas groupBy cumcount() function cracks me up every time I see it. Dask has one too: http://dask.pydata.org/en/latest/...
In general Python libs are so inconsistent with their function names, especially data sci packages.
Abbreviations rule supreme. They could have at least add an underscore for this one if that's the standard. cum_count over and out1 -
With so many websites having all these pop ups, there should be a new rule where browsers implement the GDPR check on the user side (once to keep a default option, and let the user decide if they want to allow the website or not specifically)
This way we could still have the same privacy and 99% less spam 😩13 -
once I was listening to Kanye West, Drake and jay-z while scrolling through the my twitter. I was so inspired and moved by the music that I decided to built a website that teaches egocentric, entitled people the foundational skills needed to rule the world.1
-
2 days (actually about 4 hours) of battling a stupid CSS grid arrange that wouldn't behave.
Turns out 1fr (aka fill parent) works unless the child is another grid. In that case it forgets and just stretches the freaking parent as if there was no rule whatsoever.
If you have problems with CSS grids, consider trying flattening the markup...3 -
Torn between buying a new pc now and waiting till a time when a new version doesn’t drop every fucking week 😡1
-
Once one of my teachers told me - when giving me and my colleague feedback on a project on Java - that in a certain method we shouldn't be giving as parameters parts of an object, as we're not IKEA or something, when we could be giving the object as a whole. Not the best teacher I've had so far but I still (try to) program by that rule LoL
-
I feel like there should be a rule 34 for nodejs. If you can think of it, there is probably a nose module for it. Take for example PHP.js it's a thing...1
-
A basic rule of mathematical life: if the universe hands you a hard problem, try to solve an easier one instead, and hope the simple version is close enough to the original problem that the universe doesn't object.1
-
That proud moment when you see too many if-else conditions in a project so you end up making your own rule-engine.
https://github.com/praveenk007/... -
Since last update (version 63) Google chrome forces all *.dev domains to use https. Guess who used a *.dev domain for his local development virtual machine and now have to switch to *.local ...
Removing the HSTS Rule from chrome seems not to be possible and surprisingly I could not use a self signed SSL certificate to make it working again.3 -
Nobody has any use from a 80% finished project (so not finished at all) except it was a lot of time and money to get to that point. Oh boy I need to make progress on about 500 different projects to get them to a useful stage.
Also very important lesson: Dont have your anxiety take over when facing the "omg I have a 6 digit number of things on my 2do list" because you can't say no to the "awesome" ideas you have.
Also: I have made a rule for myself that prevents me from starting/working on a side project when I have important deadlines on main projects2 -
Is it just me, or do REST API's literally rule the world right now?
Feeling like I can automate the universe.
But this is a real question. Are there reasons to avoid using web API's rather than sending data through some kind of shared database? I guess I'm not even sure what the alternatives would be right now... Are there disadvantages I should know about?3 -
What do you guys do to pull yourself out of a rut when you hit a wall in a project?
I'm developing a large scale enterprise level application in flutter/dart by myself and reached a really weird point where there are so many things to be done I can't pick which one. I've spent the last few days on authentication and logic so I think I need to tackle something else for a bit... any insight would rule, I've never had other developers to talk to about this stuff before!4 -
Just completed a 24 hour hackathon at my school in which the 'best software' winner purely had mock ups of yet another mobile app and had no proof of concept. Meanwhile my team developed a scaling platform online that adapts to groups of user's trends to create optimal results.
I guess I keep misreading the definition of 'software' in the dictionary each morning. (RULE #8.2 - Software Engineers shall read the definition of the following phrases each morning excluding Saturday: software, heap, ego, scrum, algorithm, the documentation of C)4 -
The first rule of devRant is;
we DO NOT talk about devRant.
The second rule of devRant is;
WE DO NOT TALK about devRant!2 -
Not a rant but just realized that time⏰ and money 💰 are two important things we must care of, otherwise they will fuck up everything - especially if you are writing business apps. same rule applies to life.1
-
I programmed an app I've been working on. It sends ICMP packets out...the message I programmed was "One ping to rule them all".
Oh yes, I am the Ping Master ;D2 -
When you're trying to figure it out what a code does and you find a line comment "A line off code to rule them all"
cheers Frodo! -
Seems like the #1 rule of thumb in hacking is
"if you can't break it, make it irrelevant".
Seems to be true because god some of these OEM recovery discs are just... awful at securing themselves. -
The 20 minute rule:
If you are unsure about a problem, you MUST spend 20 minutes trying to solve it yourself. If you havent solved it in those 20 minutes, you MUST ask someone for help.
Never tried this in practice but it sounds decent in theory. 2 heads are usually better than 12 -
I feel like a good rule of thumb of how good a developer is (or how senior are they) is whether they know when a question should go in stackover and when it should go in softwareengineerin.stackexchange.
Do anybody agree?1 -
From: https://cloud.google.com/vpc/docs/...
---
Updating firewall rules:
You can modify some components of a firewall rule, such as the specified protocols and ports for the match condition. You cannot modify a firewall rule's name, network, the action on match, and the direction of traffic.
If you need to change the name, network, or the action or direction component, you must delete the rule and create a new one instead.
---
REALLY???? goddamn delete and create a new rule to damn changing even its name???
And they wonder why their goddamn cloud won't take off? hell... how can this even be a Google product!!??5 -
Some times I get these weird ideas.
The machines now rule the world and they decided humans will not be able to program them anymore. That's why they enslaved you as part of the committee which will create the next computer language: Cryptic Script.
What feature would you add to it?
(try something real)
I'll starting by saying Cryptic Script is dynamically typed.6 -
Now I know why many religious books include a rule against this..
It's so you don't get RSI and can't type much..
https://en.wikipedia.org/wiki/...
> Repetitive strain injury6 -
Lol. In the years that `const` and `let` have been in Javascript, not once have they ever helped me read the code better or caught a bug. They have not helped me understand anyone else's code, nor have they really helped convey any sort of meaning for other developers that I have heard.
Usually the rule is, const first, then change it to let if you need to. It adds nothing.
All this gold plating is weighing things down.15 -
Is there any general rule of thumb for whether or not you should have an LLC as an independent developer? Would this help against patent trolls and nefarious clients, or is there some other way to protect yourself?14
-
Rule: NumberIdunno,
It's easier to figure out a solution yourself than it is to clean your code, recreate the bug in a small snippet then posting it on Stackoverflow.2 -
..that moment when you stumble over a thrown UnrecoverableBlablaException, but one level up you discover, that it is pretty well recoverable.. a real life "how to make your code less maintainable, rule #489: lie in you type names"1
-
The bugs that make you think are the best/worst.
Had a ghost foreign key constraint from a dropped table. Cant drop it from a non existant table.
Turns out the dev copied a file for the new table and since you can technically name those foreign keys anything you want, there were no errors when he ran it.
Also sloppy/overworked dev teammates are the worst...
Also I'm pretty sure rule 2 of programming is "Never Copy and Paste" -
So for anyone else out there that is learning WPILib for FRC. If you ever use ctre/Phoenix motors (don't know if that's a rule) DO NOT EDIT <ctre/Phoenix.h> HOLY2
-
package bar;
public class Foo {
public static void main(){
System.out.println("Hello, World!");
}
}
I still wonder why I didn't start with Python, print('Hello, World') is a god damn one-liner11 -
Pet peeve: Getting a call from a business I patronized a few days ago asking me if I would give them a 5 on the survey I may receive.
New rule: If you call me asking for a top grade on a survey you can be certain you won't be getting it. -
Fucking retard Liferay.....
At least 2 users (one inour team and another at client's) are claiming they've successfully opened a portlet view multiple times at day X. And a month later it stopped working.
I open up Liferay's (tomcat's) localhost_access.log and can see all the portlet requests at day X have returned http:400
Normally I would consider the human factor and rule this as a human error, assuming they were connected to another environment, another server, etc. But since this is The Fucking Liferay - I'm not that fast in trusting even logs :(
Who the fuck made this piece of shit....6 -
Quietish team member sits quietly and creates the mother of all APIs, doesn't say much about it, doesn't document what he's done, falls out with the boss, leaves with 2 weeks to go before a beta release.
Already overworked dev/backend support team are plunged into manic bug fixing/business rule implementing/call standardising/chaos.
This is not how one devs.
Not one bit. -
#justathought
I have realized that my sleepless self is smarter than my usual self . Its like , as my battery goes out, a fuckin monster takes control and tries to rule my brain, scolding my usual self , taunting over smartly and wanting to fuck the hell up everyone who tries to mess with me (nd even some normal friends too)
Whereas my usual self is just meek , defensive and never attacking, sweet listener, calm kind of person with whom people usually mess up or joke about for fun .
I like this aggressive me. Fuck you body health , we are living the life of a sleepless asshole2 -
I am now thinking of introducing a new self imposed rule of breaking functions up when they go above 10 lines to ensure I don't have too much happening as I often don't make small enough reusable parts and my code gets too complex. Opinions?7
-
Fuuuuuuck!
Our client changed the project 3 times in 2 days!
Sometimes I wish to have a rocket launcher!
"Now we need to add a new rule in the mechanics... "
Thank you! We spent 2 days creating this shit for nothing.
Aaaargh fuck youuu!2 -
I love everything about the Nvidia Tx2 board...except the ARM64 architecture. Catch me constantly building shit from source :(
Seriously though, I wish there was just one, universal open source processor architecture standard to rule them all.1 -
Sweet Zombie NullFuckingPointerException...
New Rule: When creating an API (I'm looking at you, Java), designers must include a boolean flag in the parameter list of any method which throws a NullPointerException.
If TRUE, this means that a NULL result is non-trivial and the method should therefore THROW an NPE.
If set to FALSE, this means that NULL is completely f*cking trivial so whenever there's a NULL result, just instantiate a new instance of the return type and return that, 'cause that's what was gonna happen in the catch block of the NPE anyways.2 -
Anyone here affected it going to be affected by Apples expansion of there template app rule?
More info:
https://techcrunch.com/2017/12/...
We are in the process of launching a service like this to our existing customers. Small stores who can't afford to have their own app developed for them.
This really throws a wrench into our product. If the decision is not reversed, we will likely have to abandoned half a year of work.1 -
Revolution of Communication/Chat/Data
Facebook, WhatsApp, Instagram, Messenger, Snapchat, LinkedIN, ETC
WE BASICALLY ARE BRINGING SKYNET TO LIFE.
AI REV HAS BEGUN!!!
Yaayyyy, the day Humans can live peacefully, and Date the right person, is sooo close.1 -
1) Simple, secure and powerful technology for website user interface design which will replace HTML, CSS and JS.
2) Simple and practical technology to be able to utilize HTML for all kinds of documents which will replace paper page based document formats like PDF and Word.
3) One technology for native mobile app development to rule them all. So that it's not necessary to use HTML and JS.1 -
Why include a linter if you're just going to ignore it!
I just "inherited" an angular app from a year ago for a project that was put on hold, and after opening it in VS Code practically every TS file went red. Almost every rule in the config was not followed. Might as well have just disabled the darn thing?
The original developer is MIA so I can't contact him and ask him why either.1 -
Net neutrality is tyranny disguised as freedom.
Anti-net neutrality is freedom that is wrongly perceived as greed and tyranny.
Who pushes the net neutrality agenda? The same companies who spy on you, emasculate and degenrate society, pro-big government.
Yes ISP's are monopolistic and greedy. But it can change and it will change once the market is truly free from government regulations who nurtured the monopolies in the first place. Just be patient.
Governments can't rule society forever. Freedom is stronger. Civilization moves forward to Minarchism, then to Anarchism.
Long live the free market4 -
The first rule of any technology used in a business is that automation applied to an efficient operation will magnify the efficiency. The second is that automation applied to an inefficient operation will magnify the inefficiency.
-Bill Gates -
One language to rule them all...
React Native for mobile
Electron for desktop
Normal for the web
I only wish for it to be memory efficient.
Only this and every dev would be happy i guess.2 -
New data structure:
Map with repeated keys allowed. Values of repeated keys will be stored in an array.
Calling get(key) will get the array, pick a random entry in said array, and return it.
Use: Finding what the "number one rule of x," the "greatest thing ever," the "most unbelievable event," and more is. -
I have joined a hackathon. We have finished our product quite early. Have a peep on other team progress.
Screen of other team laptop: Google how to HTML
Me: What...
Rule of the hackathon: No slideware, and only working prototype
Me: Now I get it -
Whenever I go out for a walk now, I get a monologue in my head about everything wrong with my team... But using managerial terms like man-month, velocity, chaotic, context switching costs, lack of processes and standards, need for more slack, too much low value busy work, technical debt, scope creep, (violation of) the two-pizza rule... by a lot7
-
In my Java project, I added a wiremock rule to a few tests. Now my Jacoco code coverage in sonar dropped to 0%. 😩 Maven is running the goals, bit not creating the jacoco.exec file.
That's one of the worst things in Java. Once you understood the concept of immutables, the build tools start to annoy you.2 -
Ok so Sonar had a rule that you should not throw Exception. Rather you should always throw a specific types or catch them...
I don't understand this. So if the underlying function throws 10 different types of exceptions then the calling function should also declare it throws 10 different types rather than just Exception?
Assuming it isn't in a position to handle them?2 -
Find an error on line 69... start to giggle....
In dutch a "line" as in "error on line .." can be translated to "regel"
And in dutch "regel" can have two meanings.
Line and Rule.
Error on line 34.
Reading out loud in Dutch: "Error op regel 34"
translated to:
Error on rule 34. Launching out loud and thinking of the possibility.
Will i ever mature...1 -
Just please make the rule, if you don't have a cookie, don't show the pop up asking you to register for shit. If I haven't been to your site before, I DON'T WANT TO SIGN UP TO ANYTHING BADGER TURD!! Are there people that actually do that? If so, they deserve a whole evening talking to a project manager about their next great idea. Or, being flayed with a potato peeler. Which ever is worse.1
-
Spending hours troubleshooting with a customer, nothing works, until eventually it comes out that the customer lied in response to one of my first questions.
Congratulations, asshat, you played yourself.
This happened across multiple companies, multiple classes of products, multiple classes of customers. It is how my “rule 1” came to be (see previous rant). -
ProjectEuler problem difficulty level increases logarithmically after question 50. Question 60+ seems to take 10 times longer to solve than previous 50. I give up solving questions to write code to run within within 1 minute (which is a general rule specified).
I need to relearn Calculous...2 -
Dejar A.I. who's about to rule the world:
If you steal my job I'll have to go back working as waiter and I hate it more than I hate grub updates. Please, consider to preserve my job as sysadmin and, in exchange I will rat out all my contacts with suspicious non digital activities. If I loose my job I'll be forced to do something drastic, like tell everyone you've been created by Steve Jobs. Let's be nice to each other, uh? -
Didn't go to WWDC because of budget constraints. I spent entire week watching videos and reading about WWDC.
Server side swift will rule the internet one day!4 -
Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook.
Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook?
Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook.
Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook.5 -
The general rule is this: if the letter after 'g' is 'e', 'i' or 'y', thepronunciation is a 'soft g' as in 'fringe'. Some examples of words with the soft 'g' are: general, giant, gymnastics, large, GIF, energy and change7
-
!rant
My "The rule of St. Benedict, as your Code of Conduct" repository has more stars than the repository of my Emacs configuration in Github, haha. https://github.com/saint-benedict/...1 -
That would be the !important rule, when the client wants some ui change but the stupid library has !important rule applied.. and also the media queries in combination with width/height and percentages, trying to adapt the ui because the client ones ie8 support..
-
Senior: Rule out the idea of making one class "Receipt" for all kinds of receipts, it should have the same load info + operations{emp,operationType, datetime, oprationDetails}
Junior: How you want to generate a detection receipt
Senior: Make a VM for the receipt
Junior: What if there is an edit on the load while moving through operations, what happens to the receipt?
Senior: OK, shove up the fucking edit details as an operation in the receipt ass2 -
Just applied in windows Never in Linux.
Before call to technical support, apply the first rule in windows.
#1 .- For all evil restart. For all GOOD, too RESTART.1 -
webbrowser should know 'ls' command. - would be great for the web to support it.
Or am I the only one, who sleepy, coffeine-deprivated, swapped out of multitasking, not knowing where he is, goes for default command to orientate oneself: *ls* - even in a browser addressbar?8 -
It feels like there is a rule of the internet that any code snippet visible is immediately subject to review by the comments.1
-
Fuck the sockets.
Fuck the secure sockets.
Fuck that CSP rule in our proxy conf.
Fuck the self script hashed.
After fix everything....
Fuck THEIR proxy that didn't allow wss.
PS iheartsockets! -
I know it a strange thing to ask but I need help with English grammar ( I am not a English native)
I am doing an assignment on context free grammar program.
What the program need to do it "Produce a grammar tree based on the rule"
For example a sentence "Jame sat.", It will need to produce a grammar tree like this.
S
_____|___
NP VP
| |
N V
| |
holmes sat
The only thing I need to do it give a grammar rule to the program like this
S -> NP VP
NP -> N | Det N
VP -> V | NP
What the above rule said is that the sentence is composed of Noun Phrase and Verb Phrase and Noun Phrase is either is a Noun or a determiner and Noun.
Now here is the meat of the question.
I am having trouble parsing a grammar tree for this sentence "She never said a word until we were at the door here"
I have provided my grammar rule below. I think I forget to add some grammar rule or some of my grammar rule are incorrect. I am not a native English speaker so I am having trouble on it.
The search engine have fail me (I have look up various grammar tree) so I am asking for help on devrant. Grammar nazi are warmly welcome :)
S -> NP VP | S Conj VP | S Conj S
NP -> N | Det NP | N PP | Adj N | Det Adj N | Det N
PP | Det NOM | Det N PP
VP -> V | V NP | V NP PP | V PP | V NP PP Adv
VP -> Adv V NP | VP PP | VP AVP | V PP PP | V
ADJP
PP -> P NP
AVP -> Adv | Adv Adj | Adv AVP
NOM -> Adj Adj N | Adj N | Adj NP
ADJP -> Adj | Adj PP
**I am not sure about these two clause below**
VP -> V | Adv
NP -> Adj Adj N22 -
How many of you keep an engineering notebooks anymore.
Wiki's count
Just curiouser!
How many of you know how to use a slide rule -
Freaking Apple!!! I am trying to replicate Safari's new ITP rules and wanted to see if there was a easy way to test the 30 day rule rather then waiting for 30 days. I would appreciate any input!
-
So I put my old laptop up for sale on ebay. I 'shred -v /dev/sda' -ded it's hdd twice. What do you think, is that enough before it is shipped to a potential buyer?3