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 - "underscore"
-
I don't know why @dfox , @trogus didn't want a username with underscore and I'm sure they must be having some valid reason for it. But how in fuck did this user have the guts to rate the app 1 star simply because it doesn't have a login with fb feature? I mean you can request for a feature but it's dumb of you to rate 1 star because it doesn't have a feature you want. This is true for any app not only devRant.
Source : One of the user reviews of devRant on the play store.54 -
Wait what's that? You don't use version control on Production servers?
You want me to do what?
You want me to rename every file I have to replace with an underscore and the date after the extension so it looks like this?
SHIT.JAR_01262019
You've got to be fucking kidding me right!?
No?
Oh the production server is down again?
Is it because we're not using the right Jar file?
Well shit, I wonder why that's happening...2 -
Grunt, gulp, bower, webpack, rollup, yarn, npm, requirejs, commonjs, browserify, brunch, rollup, parcel, fusebox, babel,
wrappers for bundlers, frameworks on frameworks, then for css, theres scss, sass, less, stylus, compass, and for templates, handlebars, mustache, nunjucks, underscore, ejs, pug, jade, and about five billion other word-salad tools, all with their own CLIs, each in some way building on npm, but with their own non-congruent little syntax, like no one realized they were reinventing the same problems introduced by domain specific languages, most happy to announce "configuration takes a little time, but it's worth it!"
No, it's not. Just stop people. Just stop. You're not doing anyone any favors by creating another lib, all you're doing is tooting your own horn and self promoting. Use what exists and stop creating more shit for new people to learn, to add to the giant clusterfuck that is the 2019 hotmess known as "web development."
You're not special. You're not important. You're lib or tool will be famous for 15 minutes and no one cares what you've made.
If you want to contribute to web development, do us all a favor and contribute to global sanity by kindly deleting your contribution and any plans to contribute new solutions to problems that have already been solved.18 -
The names in the story have been changed to protect not the innocent but the very very stupid. So I set up test accounts for each team member in the new test environment for our project building the new web interface for our SaaS product. Each username had an underscore in it like john_smith. I told everyone the news in the morning scrum and got 2 requests for help an hour later from people saying they could not log in with their username johnunderscoresmith.3
-
This is something that happened 2 years ago.
1st year at uni, comp sci.
Already got project to make some app for the univ that runs in android, along with the server
I thought, omg, this is awesome! First year and already got something to offer for the university 😅
(it's a new university, at the time I was the 2nd batch)
Team of 12, we know our stuffs, from the programming POV, at least, but we know nothing about dealing with client.
We got a decent pay, we got our computers upgraded for free, and we even got phones of different screen sizes to test out our apps on.
No user requirement, just 2-3 meetings. We were very naive back then.
2 weeks into development, Project manager issues requirement changes
we have a meeting again, discussing the important detail regarding the business model. Apparently even the univ side hadn't figure it out.
1 month in the development, the project manager left to middle east to pursue doctoral degree
we were left with "just do what you want, as long as it works"
Our projects are due to be done in 3 months. We had issues with the payment, we don't get paid until after everything's done. Yet the worse thing is, we complied.
Month 3, turns out we need to present our app to some other guy in the management who apparently owns all the money. He's pleased, but yet, issued some more changes. We didn't even know that we needed to make dashboard at that time.
The project was extended by one month. We did all the things required, but only got the payment for 3 months.
Couldn't really ask for the payment of the fourth month since apparently now the univ is having some 'financial issues'.
And above all: Our program weren't even tested, let alone being used, since they haven't even 'upgraded' the university such that people would need to use our program as previously planned.
Well, there's nothing to be done right now, but at least I've learned some REALLY valuable lesson:
1. User Requirement is a MUST! Have them sign it afterwards, and never do any work until then. This way, change of requirements could be rejected, or at least postponed
2. Code convention is a MUST! We have our code, in the end, written in English and Indonesian, which causes confusion. Furthermore, some settle to underscore when naming things, while other chooses camel case.
3. Don't give everyone write access to repository. Have them pull their own, and make PR later on. At least this way, they are forced to fix their changes when it doesn't meet the code convention.
4. Yell at EVERYONE who use cryptic git commit message. Some of my team uses JUST EMOTICONS for the commit message. At this point, even "fixes stuffs" sound better.
Well, that's for my rant. Thanks for reading through it. I wish some of you could actually benefit from it, especially if you're about to take on your first project.3 -
If your language supports private member variables
And it's not part of the language style guide
DONT START PRIVATE MEMBERS WITH AN UNDERSCORE.
Shit is ugly as fuck.17 -
A lot of the string operations in Python, because they are named like shit.
First you have startswith. No underscore. Just two words glued together. No case notation, nothing. So ugly and difficult to remember when Python isn't your only language.
And then there's tolower. Wait, no, it's actually just lower. If we're gonna stick with the shitty naming, can we at least keep the two-words, no underscore thing? No, I guess it's easier to save those two characters.
And isupper, the function to get supper from your iPhone.
Yeah, it's small. But aren't most of our gripes about languages tiny anyways.3 -
Time to make a deal with the devil
@theabbie since you love downloading the entire devRant db and writing little gimmicks, I have an idea for you.
Avatars are envcoded as URLs. Each part of an avatar is separated by an underscore. Shirt, pants, desk, whatever.
Make a bot or script or website or what-fucking-ever to query users with the same avatar as you. This would be:
- Same EXACT avatar (desk, pets, etc)
- Same body parts as you (face, skin color, hair, etc)
- Same body parts and clothing (everything that shows in the mini avatar next to comments, plus pants and shoes, I guess)
The doppelganger finder. Honestly I think it would be neat.
Would be even cooler if you could filter by active users (last post/comment within past 3 months)33 -
When you thought web browsers use too much memory, introducing a document scanning app that uses only 2,7 GB of ram.
Just a slight memory leak.5 -
Don't you fucking love spending 3 days debugging only to realise you had a fucking dash instead of an underscore... Yeah me too! .-.5
-
Oh my God I'm a failure. Been working on this booking system backend for two weeks, refactored some code, and now it doesn't work at all.
I've gone back through the entire thing, and I can't find the problem.
Open up indeed, start browsing for low-skill jobs. Maybe the carnies will have me back!
*Re-reads error message, adds missing underscore to function call.1 -
I hate people who put underscore at the beginning of private variables names in Typescript. And I don't care if they have their reasons, I just hate them.7
-
I wonder why code doesn't work
Look blankly at code for 1 hour
Notice I put underscore instead of dot.
Be mad at myself for making a function name yaml_load that I confused as yaml.load.
Get a cup of tea, kinda depressed but glad the issue is resolved.
Get glasses. -
That moment when you take the time to explain the idea of camelCase variable naming as opposed to the Underscores to this hot new girl at the the office and she comes back to you showing off her handy work and you notice how her very first variable is named camelToe
-
My laptop is screwed. The laptop's monitor doesn't light up at all. An external monitor works with heavy artifacts.6
-
I never understood why some developers _ before their Javascript variable or functions. Do they serve any purposes? Other they just make everything look bizarre12
-
I finally managed to install arch 😊 (in virtualbox).
I tried a few months ago on my actual computer but got the flashing underscore, and failed to find the cause. Ever since I've been meaning to try again but always didn't like the prospect of sitting there for ages just to end up with a complete mess. Luckily the tutorial seems a load clearer now (or maybe my understanding has improved) so it worked first time (second time if you count going back because I forgot to install a network manager).
Now I've just got to get a desktop environment, thinking of trying lxqt, and I forget about it for a while until I come back and realise everything's broken.3 -
This little underscore (actually the absence of whomst'd) was the source of a very frustrating bug.
I tried to debug the sources of a 3rd-party library to no avail, but all I had to do was to read the documentation for the 1001st time. 😤1 -
Bought my first VPS, because the shared plan we are using is shit.
Spent just half an hour trying to log in, because upon registration they encouraged a strong password with simbols and everything.
But in reality a root password can only contain letters, numbers, underscore and minus sign... The fuck is wrong with you? Reducing the entropy is one thing, but really fucking up the most essential part of a VPN setup?7 -
Another update for whoever cares about this text editor that no one cares:
The cursor (which is now a block instead of underscore like before) is now finally functional, but is quite flawed (e.g. If you type two lines with the first line is longer than the second, there's a chance that the cursor might jump to the end of the first line). There's also some text that greets you when you first open the editor, but it will be hidden when you start typing in Insert mode.7 -
Let me start this off by stating I'm a Java dev, and a noob with C++.
Thought it'd be cool to learn some OpenCL, since I want to do some maths stuff and why not learn something new.
So I sat down, installed Nvidia proprietary drivers, broke my x-org server, purged, reinstalled, rebooted and after a while I got stuff sorted out.
Then on to my IDE. I use CLion and it uses Cmake. C++ noob knows shit about Cmake, so struggle for two hours trying to figure out wtf is going on with the OpenCL libs and why they're only partially detected. Fml.
Finally, everything is configured and I'm set. I start working on a Hello World program using OpenCL. Finish it in 20 mins, all good. No output. Do some googling, check my program a million times. Nothing wrong here. Check the kernel, everything as in the tutorial.
I start checking error codes after a while reported by OpenCL (which I had no clue was a thing) and I get some code saying the program was not created properly (to run the kernel). No fucking clue what's up with that. Google around, find another tutorial, rewrite my code in case I'm using outdated code or something. Nothing.
Fast forward an hour, I find out that OpenCL has logs! So I grab some code from the website I found it on, and voila, I finally get some info on what's going on.
Get a load of this bs.
In the kernel file, so that OpenCL knows that it's a function to run, you have to put __kernel. But in all the places I read, it said to put it as _kernel.
Add the underscore, compile, run and everything is perfect.
Then I tried just putting 'kernel'. Also compiles and runs fine.
Two hours hours and my program was fixed by adding an underscore. IF ONLY C++ GAVE AN INDICATION OF WHAT BLEW UP INSTEAD OF SITTING BACK AND BEING LIKE "oh wow man feels bad, work some magic and try again" THEN THIS WOULD NOT HAVE TAKEN SO LONG.
Then again, it was OpenCL that was being shitty with its styling enforcement or whatever the hell the underscore business is. But screw it. C++ eats shit too for this. Sure, maybe Java babies you by giving you the exact error and position that the error took place at. But at least that way you don't waste hours of your life chasing invisible bugs 😠😠
I'm going to eat some food... Too much energy was consumed fighting the system... Then I'll get back to OpenCL because 😇 but that doesn't make it less bs.1 -
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 -
We work with multiple platforms, a legacy language and c#. This dev uses underscore between variables in c# and camel case in the legacy platform. The thing is the legacy system has used underscores since 1981 and I've never seen a readable example of c# using them between words.
I also told him I was working on learning to use patterns and how the process of software development should work by training. His response... Why would you want to do that?
He also copies and pastes code everywhere and pays no attention to scope.
And worst of all I'm his coverage when he is gone. If I have to debug one more sloppy bug I am going to face desk. -
Once I helped one of my friends writing a coding project for an interview for him.
We worked out a solution in C++. I showed him all the class hierarchies, how the flow worked and so on.
The day after he told me he re-wrote it in C# as he was more confident with it. Fair enough.
He changed most of the names using camel + underscore notation, sometimes starting with a capital letter, sometimes not!
But the best (or, rather, worst) was to convert the class hierarchy in a big class with all stuff in it, called "CMother". That got me. This class had a couple of static methods that took a lot (if not all) inputs that somehow coincided with the member variables of another class and did some work with them (like a constructor of that class would do).
Needless to say, he didn't got the job -
Today there was a question on the react native forum asking how to map an array..... ([].map(mapFunction))
1) it's the wrong place for the question
2) like 80% mentioned ramda, lodash, underscore :(7 -
I think I'm going to start calling underscores just "blank underlines".
alias underscore = "blank underline" (I haven't done bash in two weeks and I'm already forgetting)1 -
Maybe not the worst but the worst one I can remember for sure and it happened recently. I may or may not have spent 4 hours with another developer working out why my script didn't work.. to realise that I had swapped the underscore in a method name for a period. No wonder everything came back undefined when I was dotting into a method that didn't exist 🤦🏻♀️ my only highlight was that the more experienced dev was there with me and he also couldn't find it for all that time lmao. I did briefly contemplate calling my University and asking them to just take my diploma back, I don't deserve it lmfao2
-
Failed installing Arch Linux....tried installing it three times
But at every boot what I get is Black screen with the cursor (underscore) blinking on it
I followed their official installation guide
Do anyone know how to resolve this problem?12 -
Never thought an underscore could bug me till today. Took me three hours to find out if I removed the underscore the form field would be required. Thanks stupid formhandler
-
R
Dot can be used for variable name just like underscore. And to confuse, R has object oriented also2 -
OMG I want to throw my monitor out of my window right now!
Someone just went through my entire project and un-cuddled all of my braces, AND THEN STARTED ALL MY FUCKING VARIABLE NAMES WITH AN UNDERSCORE!!! Are you kidding me??? People actually do that??? That's literally worse than php's brilliant idea of starting every variable name with a dollar sign!
I can't even read my own code anymore...2 -
im having this subject in my academic syllabus - VHDL. the teacher was teaching its programming syntax and he didnt know the difference between a hyphen( - ) and an underscore( _ )2
-
Well fuck me, one week of sewrching for a bug, just to find oit that the search endpoint shits itself, when it sees an underscore in the query because fuck you. Local test system is not as retarded, so I never found out, until today
-
Is there a web browser for Linux that supports hw accelerated video decode?
(Intel graphics)
There are so many bug reports for this, but all seem to be "won't fix"/ api is unstable or some other problem
I want to watch youtube without it destroying my battery.
(I know I can load the stream into a video player like VLC and watch it there, but that is not very practical...)1 -
I am unable to understand the naming convention. I SUCK IN IT.. CAN'T I JUST NAME MY VARIABLE AND OTHER THINGS LIKE SIMPLY, WHY I HAVE TO USE UNDERSCORE AND ACCURATE NAME FOR IT.
I mean , my variable does tell what is it for then why I need to do that?5 -
TIL that Debian package names are not allowed to have underscores in their names. Toast my tomatoes. As if file name conventions, like discouraging colons, would not be enough, you just added another useless bit of entropy to all the clusterfuck information just because you established a naming scheme yourself where you delimited the versions and date with an underscore from the package name.2