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 - "just in case"
-
Had three servers running in prod. For extra security all of them were encrypted (hdd encryption) just in case.
"mate, servers need a quick reboot, that alright?"
Me: yeah sure!
"oh hey they're encrypted, what's the password?"
Uhm.....
😐
😓
😨
😵😨😮😧😫
😲😶😭
Yeah, i also forgot to turn on the backup process...17 -
In case you ever want to hack into a computer with 14 lines of code only. This algorithm is just genius.25
-
Wrote the code
Ctrl+s
Ctrl+s again just in case
The page doesnt work
Ctrl+s again cause maybe it missed it on the first few tries14 -
Found this code back in jQuery 1.9.1. Checked again, and t is still here in jQuery 3.1.0. Suppose it is just in case the values of true and false ever change 😃11
-
Hey everyone - I just wanted to update our Android users on the push notification crash that has been occurring.
The good news is the issue should be fixed in the update I just pushed out (should be available in the Google Play Store within a few hours). We apologize for the crashes and thank everyone for their patience.
I'm still looking in to what actually happened here. Our GCM library hasn't been updated in a while and all of a sudden a specific case started failing. I'll continue to look in to how that seemingly happened with no changes in the app. Some other users of the library started experiencing the same issue.26 -
JUST IN: Client wants to give me 25 character, mixed case password over the phone because the internet is UNSAFE13
-
I'm sick of how much abuse PHP gets from other programming communities. PHP written well, using PHP 7 is comparatively quick. yes it has its quirks, just like JavaScript, but just because you can do stuff in multiple ways, and the language has a few inconsistencies doesn't make it a bad language. The recursive flag in bash applications changes case inconsistently (I.e. zip and cp) but that doesn't get bashed (lol) half as much....
I think I need to finish my coffee this morning29 -
Just went skydiving. Realized I probably should have left behind all my clients' site admin passwords in case my chute didn't open. Turns out I'm still alive so no harm done.8
-
Lazy habit#1: Always Ctrl+C more than twice just in case the bugger fails to copy to the damn clipboard !!9
-
It's not that I hate PHP, I just hate the lack of consistency in standard function naming and parameter order, nonsensical attribute access, nearly-meaningless comparison operators, reference handling, case (in)sensitivities, and more!
I mean, look at these functions:
strtoupper(...)
bin2hex(...)
strtolower(...)
And look at THESE FUNCTIONS:
array_search($needle, $haystack)
strpos($haystack, $needle)
array_filter($array, $callable)
array_map($callback, $array)
array_walk($array, $callable)
And let me jUST USE SOME ATTRIBUTES:
$object->attr = "No dollar sign...";
Class::$attr = "GOD WHY";
HOW ABOUT SOME COMPARISONS:
(NULL == 0) // true
(NULL < -1) // ALSO true
Functions AREN'T CASE SENSITIVE (at least variables are).
Wanna dereference? TOO BAD, YOU'LL HAVE TO GET OUT THE TNT.
Alright, yeah, I hate PHP.18 -
!=Rant
Does any one else presses cmd+c / ctr+c multiple times just in case the first one did not work?!?12 -
I've recently red a blog post stating 'Google leaves x Million Android devices vulnerable to a new Exploit'
I don't really sympathize with Google, but it's simply the wrong message... It should be more like FUCK VENDORS, WHO WON'T SUPPLY UPDATES TO DEVICES OLDER THAN 1.5 YEARS
Seriously, it's them who make you stuck on outdated OS versions... Just imagine you could only install Windows Vista on your 2014 Lenovo ThinkPad, because it's considered outdated...
FUCK VENDORS (again, just in case)8 -
Found this in a legacy codebase at work. Can't imagine what the coder was thinking. "Just in case"?5
-
Just found this website for Regular Expressions:
https://regex101.com/
In-case anyone struggles like I do10 -
Ah very good, it seems Windows has taken the liberty of putting a link to Edge on my desktop again. Just in case I had accidentally removed it or something.10
-
I think in my case its a monitoring system I'm still writing which does already work (just far from done).
I got this as a crazy idea while thinking that it would be impossible to make and then thought fuck it and I wrote it.
Written in php, and as long as you can write a module for it, you can pretty much make it monitor anything you'd like.
I'm using it to monitor a few websites and servers I run :)5 -
Windows 10 source code apparently leaked!
The main.c file is short tho and unchanged since 95(it's just run in parallel) so I'mma just paste it here:
void WinMain(int nCmdArgs){
static int userDisgust = 5; //he/she booted up Win10 so 5 to begin with
Time time = Time.time;
while(!crashed){
Time time2 = Time.time;
if(time + 3600 < time2){
ApplyUpdate();
sleep(500000); //users can stretch, have a tea and overall be healthier, happier and better part of society
if(restartNecessary){
Restart();
}
Restart(); // just in case
}
SendUserData();
SendMoreUserData();
for(int i = 1; i < 99+1; i++){
RunUserApps();
UninstallUnnecessaryApps(); // keeps blacklist of apps that John and I don't like
AnnoyUser(); // added a function that slows the computer down significantly and reduces lifespan of the hardware so it's not just a short term gain
if(shouldRepeat){
//break; -- this caused some issue in one special case and we don't know why so we'll just omit it and add a fancy button elsewhere
}
userDisgust++;
}
if(userDisgust >= 2147483647) { //mission finished
Crash();
crashed = true;
}
}
String error = Windows.GetFullErrorMessage();
error.cat(Windows.GetRegistersDump());
error.cat(Windows.GetErrorCode());
error.cat(Windows.GetStackTrace());
error.erase(); // so that it doesn't occupy any space and allows the error to be resolved more quickly, release major optimization Update
BSOD(_T("We're sorry :/"));
}6 -
Our client is so stupid that they are currently paying for 9 devs to sit on their asses doing basically nothing just so they can guarantee that said devs will be available just in case they need something changed at the last minute.6
-
Just wrote a brute-force attack simulation in c. Going to run it on actual hardware, with an 8-character limit, including alphabet (Upper and lower case), 0-9 and a few special characters and see if it gets done tonight ;)
I'll see you all in about 360 trillion operations.11 -
// Just in case
if ($scope.currentPlatform === 'android') {
$scope.enableDatePicker = true;
} else {
$scope.enableDatePicker = true;
}5 -
Let's portray Stallman as a malevolent criminal, dying on the creepiest hill, shall we? Apparently there's even people that make statements such as "if you defend RMS, you're just as terrible as he is".
Do you have any idea what you're talking about? Do you have any idea what the case even is?
Richard Stallman has a controversial opinion about a rape case committed by someone else. Gee, what a shocker, people have opinions. Does that make Stallman a criminal himself?
Oh but he's representing open source software. That's why he can't be there.
Oh yeah. Shunning him (and erroneously so) as another Reiser is gonna make open source look so good, isn't it.
"I disapprove of what you say, but I will defend to the death your right to say it."
- Evelyn Beatrice Hall, writer of Voltaire
People are entitled to any opinion they may have. Just because you disagree with it (and in this case I do too!) does not mean that it can be used to criminalize someone and to ruin their career. That is just wrong.25 -
Finally found a way to keep track of my ever expanding studies and how to prioritize them as relevant > how interested I'm > how urgent it is (as in it'd be a game changer if I had this skill right now).
It's called a ternary diagram (just in case you wondered)12 -
-> everyone at the company uses git
-> asked to change some stuff
-> boss says "don't remove the old code, just comment it in case we need it in the future"
-> ...
-> ???3 -
Recruiter: Hi practiseSafeHex, you were speaking to one of my colleagues recently and I know at the time you said you weren't interested in interviewing with us. I just wanted to check is that still the case?
Me: Yes I haven't changed my mind since last week. You still have awful things on your glassdoor page for my country, and its still a role / area i'm not interested in. Please read my responses and please fuck off2 -
Reviewing bosses code and had these two if statements with no logic between
if (someVar) {
if (someVar) { // double check someVar is true just in case
}
}7 -
In a UAT meeting with representatives of our project partners,
The account executive, who set up the project, said to my PM in front of everyone just before the test started: "I hope your system won't fail, because everyone here will be watching"
My PM: "No it won't. But in that case, I believe it's your fault for setting an unrealistic deadline without consulting us, the development team, first"
All the representatives, being also developers from multiple companies, proceeded to stare at her with disgust.2 -
Am I the only one ?
15+ years in c# / .net dev and I still google "c# string compare ignore case" each time. Its just fucking faster than to remember exact syntax of the "StringComparison.OrdinalIgnoreCase"9 -
Case 1 - You sold the coins. And price continue to increase
Case. - Even when the coin reached it peak, you just hold the coins, because you learned something from Case 1. Eventually coin collapse.
And this continues in loop6 -
Haven’t read many of this weeks rants but in my case I talk to shitloads of people through Signal.
Sometimes I meet friends and family in person, in case of friends it’s mostly updating each other on life while having a few beers.
I’ve got to say that I don’t see my best friends that much anymore but we compromise for that one by going to hard style/rawstyle festivals. Although I’m the most Fanatic one, at least one of the guys also loves rawstyle and the other one just tags along since he isn’t much of a fan but he just loves the atmosphere/energy there 😁
I don’t see family a lot but we’ve got a group Signal to stay in touch as well.
Talking about festivals, anyone going to Dreamfields Saturday?2 -
I have my laptop for almost two years now. I've never dropped it once, even though I carry it a lot. So I decided to buy a plastic case this Monday. Just in case.
It's Saturday and I dropped it 3 times already. Shit. --> Never buy a case for your laptop.
/**
* It did it's job though.
* No damage on the device,
* just on the case
*/8 -
This counts as a rant. I'm annoyed with myself.
I shouldn't be allowed access to npm. I just published the shittest package ever just to make a joke.
In case you want to laugh at my shit joke:
https://github.com/bashleigh/...22 -
Boasting you know programming just because you watched some programming videos doesn't help in any of the case, I learned this the hard way because I tried to show off in front a girl and turned out, she knew more and better. This was when I was 14, very bad memory14
-
WTF is this bullshit?!! I set an alarm on my phone for 9:00 and 9:15 just in case... The alarms went off at 10:00 and 10:15, now I am an hour late for work. Just how does that even work?!!! Yeah, time changes but you don't change the fucking alarm Huawei! FFS... I really don't look forward to explaining this...
Also.. devRant on mobile seems to be broken? :( @dfox14 -
My son just flooded my apartment for the third time. Why a rant here, you would ask? Because he filled the place with water because I can't get my head out of my code, or, in this case, of a debugging session chasing a Crashlytics issue. It is an old apartment, and a previous tenant "fixed" a drainpipe on the bathroom so well that if you take a long bath, it just collapses and starts pouring water all over the place from a mesh strainer. I sent the kid to take a bath, thinking "I'll just take a look to this issue and then take him out in a few minutes". An hour and a half later...2
-
Professor: You may use all the offline material on your computer while taking the exam
Me: Downloads 50 stack overflow and tutorials point pages as PDF just in case I get an error I can't solve or forget basic syntax
At least we don't have to do it on paper...
I hate the thought of getting stuck on something that would require 5 seconds of Googling to solve during an exam :/10 -
I just read the rant: "I use base64 to encrypt my passwords". Found it hilarious!
But I can't believe the amount of people taking it seriously in the comments section! I see just one of these possible explanations.
A) They want to show off
B) They are unable to detect sarcasm
C) They have mastered trolling and I'm stupid
In case it's C, wouldn't this rant be considered as reverse trolling? 😎5 -
Dear coworker,
We have a very nice SASS setup so WHY THE FUCK ARE YOU POLLUTING OUR HTML WITH INLINE STYLES!?!?!? It's not like it's even necessary to use inline in this case, I can achieve the same thing by just moving your styling to the scss files. So I ask again, WHY THE FUCK???
Sincerely,
A mildly pissed person who hates front-end dev work3 -
People are incredibly rude and ill mannered.
New company stories.
Whenever I am in office and having a conversation with a person, someone randomly appears (like those annoying pop-ups on websites) and interrupts the conversation and starts with their own.
I don't understand why people don't wait for the conversation to be over, or ask for permission (in case it is urgent).
Such behaviour derails the entire thought process and breaks the rhythm.
It's just beyond me. How difficult it can be!!!17 -
On my way home, just noticed, that the display in the train, is only sorting the connections in the trainstation by time, but not by date. (SBB in Switzerland, in case you're wondering)5
-
Just in case you guys run out of ideas for your side projects, black mirror will always be there for inspiration.6
-
Windows update fails with error 0x1235
Me in Technet: Hey, ms, i got this error. How do i fix it?
MS: Install the Troubleshooting for Windows Update and follow the instructions. Before that, create a system restore just in case. Also, if the problem persists, go to your boot menu -> troubleshooting options and follow the instructions.
Hope it helps.
Found it helpful? Yes No
Other random people: just rename $WINDOWS ~BT to anything or delete it. Then continue the process.
.
.
I followed the random people advice and worked.
Fuck MS.1 -
Client stores all user accounts in a publicly accessible google spreadsheet in case the user forgets their login. It includes user name, plain text password, and just in case, the hashed password....6
-
I progressively became more right over the course of 30 years. At the point where I was contextually right more often than not, I determined that to be "good." Then I kept getting better, just in case.9
-
WELL GEE, IF I KNEW WHAT MY ACCOUNT USERNAME WAS, I WOULD JUST SIGN IN YOU ASSHOLE. -.-
On top of that, they use these fucking anchent capchas that are fucking case sensitive and annoying as hell..
In their defence, I was trying to automate their website (one of those get paid to click sites) in an atempt to get some money, but still!6 -
Let me tell you the story of how a feature request no one asked for got put in an early grave:
PM walks into weekly meeting with a single use case that one user called in about, despite never having this issue during the past year and a half that our app has been in production. PM's boss (genuinely one of the best people i have ever worked with) happens to sit in this particular meeting for no reason other than he felt like he should once in a while.
PM brings up use case and wants to devote 3 weeks' development time and another 3 weeks to test RIGHT NOW while other projects are already in motion. PM's boss speaks up with this: "Listen if this guy is really this upset, we can just tell him to build his own service. All the other end users have no problems with this, so it's not worth spending the resources on, i don't think."
And that is how i went from "this is bullshit" to "i love you" in the span of 20 minutes.2 -
my boss sent us an email saying that we have to send him a summary of our work everyday and how much time we invested on the job because sometimes we work at home and he won't know if we really worked.
--------today-------
me: *sleeps for 4 hrs*
me: *configures apache in amazon linux real quick*
me: i worked for 4 hours blah blah and i fixed the apache configurations blah and i coded in js and php for the datatables thing blah blah *sends email*
boss: nice work! have a great weekend.
now thats how you do it when u procrastinate a lot!9 -
When older devs must keep all obsolete code in comments, "Just in case". No amount of begging can change their mind. Source control is a thing now in 2016, maybe you should read up on it.. 😑2
-
The Nintendo Switch store still sucks, the games are all still priced above 40 dllrs and pretty meh still
Just in case anyone was wondering.10 -
Just realised I can guess your main programming language by whether your nickname is in lower/camel case 🤔26
-
Debugging an assertion for hours that keeps failing on 19 == 20 , and you just cannot figure out why it returns 20, until you realize that it in fact returns 19 and the constant in the test case that you screwed up at the start reads 20.7
-
Bought a series on Amazon, "Normal People". Trailer was English, my profile is set to Germany/English, but when I started the film, it was the German dubbing audio, with no option to switch to English. Could be worse, as I am a native German, but often 80% of the original atmosphere of anything gets lots by translation and German studio speakers.
Just in case staff at Amazon wonder why I rarely watch nor buy anything from them, this is one of the reasons. Of course they wouldn't, I'm just one in a million customers, but fuck them anyway.5 -
Today on "How the Fuck is Python a Real Language?": Lambda functions and other dumb Python syntax.
Lambda functions are generally passed as callbacks, e.g. "myFunc(a, b, lambda c, d: c + d)". Note that the comma between c and d is somehow on a completely different level than the comma between a and b, even though they're both within the same brackets, because instead of using something like, say, universally agreed-upon grouping symbols to visually group the lambda function arguments together, Python groups them using a reserved keyword on one end, and two little dots on the other end. Like yeah, that's easy to notice among 10 other variable and argument names. But Python couldn't really do any better, because "myFunc(a, b, (c, d): c + d)" would be even less readable and prone to typos given how fucked up Python's use of brackets already is.
And while I'm on the topic of dumb Python syntax, let's look at the switch, um, match statements. For a long time, people behind Python argued that a bunch of elif statements with the same fucking conditions (e.g. x == 1, x == 2, x == 3, ...) are more readable than a standard switch statement, but then in Python 3.10 (released only 1 year ago), they finally came to their senses and added match and case keywords to implement pattern matching. Except they managed to fuck up yet again; instead of a normal "default:" statement, the default statement is denoted by "case _:". Because somehow, everywhere else in the code _ behaves as a normal variable name, but in match statement it instead means "ignore the value in this place". For example, "match myVar:" and "case [first, *rest]:" will behave exactly like "[first, *rest] = myVar" as long as myVar is a list with one or more elements, but "case [_, *rest]:" won't assign the first element from the list to anything, even though "[_, *rest] = myVar" will assign it to _. Because fuck consistency, that's why.
And why the fuck is there no fallthrough? Wouldn't it make perfect sense to write
case ('rgb', r, g, b):
case ('argb', _, r, g, b):
case ('rgba', r, g, b, _):
case ('bgr', b, g, r):
case ('abgr', _, b, g, r):
case ('bgra', b, g, r, _):
and then, you know, handle r, g, and b values in the same fucking block of code? Pretty sure that would be more readable than having to write "handeRGB(r, g, b)" 6 fucking times depending on the input format. Oh, and never mind that Python already has a "break" keyword.
Speaking of the "break" keyword, if you try to use it outside of a loop, you get an error "'break' outside loop". However, there's also the "continue" keyword, and if you try to use it outside of a loop, you get an error "'continue' not properly in loop". Why the fuck are there two completely different error messages for that? Does it mean there exists some weird improper syntax to use "continue" inside of a loop? Or is it just another inconsistent Python bullshit where until Python 3.8 you couldn't use "continue" inside the "finally:" block (but you could always use "break", even though it does essentially the same thing, just branching to a different point).19 -
Have a function that takes parameters and then performs a switch statement to determine what function to call next with those same parameters. One of those parameters is a Union type.
During CR, my reviewer said they’d like if instead of returning the function per case, I instead assigned a handler to the value of the function per case and then returned that handler at the end of the switch. Simple change, right? Only snafu, I’m casting one of the parameters on a per-case basis.
Somehow, through no fucking change of my own, TypeScript in its wisdom has decided that the type of that value by the time I call the next function is a fucking Intersection.
WHY THE FUCK DO YOU THINK IT’S AN INTERSECTION?! I’m fucking casting it per case! I’m ensuring it’s the right type for the next function called on a per case basis!
…. And that, my friends, is how I wasted a day with a stupid refactor that was ultimately just scrapped because no one could figure out how to make it work.
Goddamn fucking TypeScript. I3 -
"Hey boss, could you look over this reply to this support case before I send it? I just want to clarify a couple of things first."
"I haven't got the time to look over support case replies - you need to be proactive in deciding what's right, and then just sending them on."
"Ok, no worries."
5 minutes later...
"What the hell have you written on this support case? This isn't correct at all. Now they're going to be really confused. You've completely contradicted what I told them yesterday on the phone."2 -
Colleague: No the logic is stored in post_2.php but before you edit it make sure you make a post_2.bk.php just in case we need to revert the change.
Me: ....k4 -
my dad's excavating some land so he can build a house, and he found a HDD buried out in the middle of fucking nowhere (50+ miles from nearest town in the middle of 10-house "village") -- no case, no wrap, just the drive. It works, but when we read it it was zeroed save for a few bad sectors that didn't take. It also makes a horrible cricket-like noise (https://picosong.com/w8qYn but much louder in reality, shitty phone mic) and it worries me.12
-
Just noticed my boss turned a nice and beautiful polymorphic code into a fucking hard to maintain switch case that now this mother fucker here has to maintain just because he probably thought it was too hard to understand.
I bet he finds it hard to fuck his wife in any way other than the one she needs to wear a strap on and tear his ass apart...2 -
When you get a laptop that comes with freeDOS?
Link, just in case: http://ebuyer.com/786174-hp-255-g5-...
Yeah, it's a bit long. Sorry.18 -
People delivering flowers to the office, guy walks in with a massive set in a huge case, delivery guy says:
Either he is setting the bar really high, or he's in trouble. Here I am, at my desk, just being the only single person in my office. Writing a SQL proc for the same report I have been working on for the last month. Happy single awareness day everyone.3 -
Found the dragon book, second edition, a pretty famous compiler book at the following url:
http://informatik.uni-bremen.de/agb...
Just in case anyone is interested in it. It kinda trips me out that for 1000+ pages its only 4.somethingmb and apparently it comes from the University of Bremen, it was on the top Google results.
I think its clean, not a security expert, so if someone that is more skilled in it that I am wants to go ahead and check it out let me know11 -
So the juniors finished a feature and it's okay, it passed all tests.
Now I'm cleaning their code and... I opened up a whole file with trash code that is either repetitive, or not even used. I decided to save it in case it breaks one of the features but... nope, everything seems to be running perfectly with just half of the code they wrote.4 -
i'm wondering how long it will take until marketeers/recruiters/"ad-people" will find this sacred place and ruin it for everyone...
i hope there is a "ban this asshole" button in the backend for...you know....just in case...5 -
microsoft fucking teams.
why don't you just work like you should, huh??
every fucking day it seems to be the case, that you, you ugly little retarded fuckshit, are the fucking reason that my headset disconnects from its usb dongle and needs to be re-paired.
slack works like a charm, but you..?!
in-fucking-credible.9 -
Fulfillment company: the order you put in our system is wrong, the hours we needed to correct this will be charged to you (Red: or rather my employer)
Me: *Checks logs and our server - finds out the order was made in their own webform/webapp*
Me: hey how come I can put in values in your webform that should not pass sanity checks, thats weird (in this case it was a product w/ a quantity of 0)
Fulfillment company: we don't do sanity checks or validation, we just find out when shit crashes and burns, nothing weird about that
Me: WTF1 -
In case you need this link again, we’ll send out the PowerPoint, which has the QR code you can scan. WTF. Can’t you just put the damn link in the PowerPoint ?7
-
I created this Pet lost and found app (only available in my country for now) , written in Flutter (client side), elixir (backend), MySql (dB).
Just a small project for a charity organizations.
Just in case the gif is not moving https://youtu.be/oO5Q7xS7rOQ3 -
"Hey, remember when we said we didn't need any of that data, and it was totally okay to design the app without any expectation of needing it, and that it would actually put us behind to add even hooks 'just in case' like you begged? Well, turns out we need it. And we need it right now."
...
"Oh, and this is totally not our fault because you should have just gone ahead and done the thing we told you not to do anyway, on your own time."1 -
There is this general idea that people have that when programmers are able to run their code in their first attempt, without any error, they think of ourselves as geniuses. But i think that is the case only when you are starting to code. If a programmer with enough experience runs his/her code in their first attempt without any issues, he/she just says their thanks and moves on, because they know that the code can sense cockiness and if they get too carried away now they'll have to pay the price in future.3
-
!rant
I just bought a personal license for a Jetbrains product, in this case Rider.
Jetbrains is one of those companies that I'm so happy with that I'm willing to actually spend money on a product of theirs.
So thanks for existing <32 -
Can we agree, a lot of people tend to pick the wrong one for the job at hand.
And just in case devRant does it's magic on the image....
Full image
https://storage.googleapis.com/gweb...12 -
Boss : we need you for a voice conference at 7AM tomorrow in case of technical questions
Me : Sure thing
I work from home so will most probably still be in just underwear1 -
Halfway through typing my password and I know I've gotten it wrong, but keep going to the end just in case it magically works.3
-
Git for Windows just dropped me in vim to edit my commit message and I genuinely had to Google how to save and exit...
I guessed right, but I had to check just in case 😐1 -
So somehow paid version of my app is available somewhere for free (old version of the app though). People are downloading it, and will obviously see the invalid license message. There is an option in that case to mail the developer just in case there was something wrong with the license checking, and guess what? Those people are mailing to me about invalid license. 😂😂😂😂3
-
First time I was screaming out of anger while looking at code.
I'm doing a group project in my university.
We are developing a indoor navigation Android app.
And a team mate of mine just merged this…
/*Method for help-feature.
Sets all the TouchEvents that are at least 400 ms long. This is made for all the relevant buttons or editTexts, which are seen on the mapView.
The case for mapView is needed because otherwise the other buttons, etc. wont work properly.*/
public void setButtonsForHelpDialog(){
View v = mapView;
switch (v.getId()) {
case R.id.mapview:
mapView.setOnTouchListener(…);
case R.id.buttonUp:
buttonOn.setOnTouchListener(…);
case R.id.buttonDown:
buttonDown.setOnTouchListener(…);
…
case R.id.description:
description.setOnTouchListener(…);
}}
The code is really aligned like this - no breaks. And it's even worse. There are if statements like if("constantly false var" == true). Which is highlighted by Android Studio.
This is done in a own class. The views are set via public member variables of this new class. The constant vars were added in the actual class holding the buttons and also stuff like this useless method
public void getDoStuff() {
doStuff()
}
And I could continue like this.
I never saw code this bad…
I can't even find words for it :/4 -
Just had my year 1 review.
They love what I've done so far, exceeded every expectation. But the salary will be looked at 6 months from now. It's already awful enough at work.
About time to look for something new in case they take the piss out of me in 6 months.4 -
On my system Android Studio sucks half of my RAM. Come on guys, even sharks are not that hungry for blood.
If in the worst case you had Chrome running in bg, the system will just kill itself. -
Still have work to do on this one, but just in case I f*** up the shading, here’s the work in progress. Took me literally five attempts to get the whole quote done. Kept running out of space or writing the wrong word. *shakes fist*6
-
A colleague just committed his username and password in git. When I kindly informed him, he told me that there are a lot of things on whiteboards around the office that should not be there. Oh, if that's the case, committing your credentials to git is fine.
We all make mistakes. But your response to them is everything.1 -
PhD saga:
The applications have closed and yours truly shall await the results, which could come anytime in January or February.
And so I wait. I hate this limbo since there is nothing for me to do to impact the outcome. What's worse is that I am absolutely unmotivated to do anything else. Since this project is literally my dream, and despite how I'm trying to mentally prepare myself in case I don't get in, there's just something in my brain that goes like "nah. I just want this shiney thing. Just this and nothing else". So I don't even know what to do with myself.
*Sigh*5 -
Chat apps. What's the idea? Those are basically tools of violence. They give you a possibility to in real-time stop someones work and start demanding service. Now. Immediately.
Usually people send you first email and then they after 10 seconds chat "did you see my email?? read it! serve it! please me!" Usually it's just a small request to document something, review someone else's document. Do it ASAP. If you were coding something, then drop it and do someones job for them instead.
You got a request for me to create some verification case list? Put it into my backlog. I might start doing that in week or two. Or month. In case there's nothing else more important. Since I know that you are working with something that you think is the whole universe, but trust me, I got my own problems already.
But hey, if I don't reply to your chat in a minute, please feel free to walk behind me and start explaining your life. No need to wait even for me to get my headphones off. "Oh you are in conf call? Well, this is just a quick thing blaa blaa..."1 -
Unpopular opinion: unit tests are often overrated.
Although a well written test suite is almost essential in some parts of the application (I.E. business logic) I cringe when I see hundreds or thousands of line which “mocks” everything to test a micro service which just does CRUD operations on a database, in cases like that unit tests are just a waste of time because almost every operation involves a mock which may not behave like the real database and often needs to be rewritten when the code undergoes a huge refactoring. In these case a integration test suite is faster to write and way more helpful.9 -
What the fuck! Just witnesed this at university. The guy in question is in the same cs course as me. Using edge, okay. But searching for a picture on google (a icon in that case), copy it to memory, open powerpoint, paste it, manipulate the color aellsettings to make it gray and then save it from powerpoint? That's not how you fucking do it! Fucker!6
-
Accidentally dropped my Pixel 3 this morning, which I bought just a week ago. 😭 And now there's a visible crack on the back of the lower-left corner. 😭 Thought that was the only one until I inspected my phone again and noticed a long, fine crack along the back... 😭😭😭
Man, whatever happened to the days when it was PHONES that smashed walls and floors instead??
And in case you're wondering, yes I have bought a case for it--still waiting for it to arrive...7 -
Common misconception is that low efficiency technologies (react native, in this case) are completely useless. That is not true at all. Im building a smart home, and yes i want a mobile app, but 90% is just requests to endpoints, so its way simpler to just copy paste some buttons inside a js file than do it properly with native. Would i use it in prod? Fuck no. Would i hack together a bunch of buttons? Fuck yes.8
-
Error? Hmm, I better try to re-run it a couple hundred more times before I try to fix it.. Just in case it magically works again.
-
Just came across this gem. What's wrong with it??
Yes, the threat of SQL injection here is a legit response, but in this particular case that's not the answer I'm looking for.
Hint: This method gets called a lot!15 -
Today, I looked at my company’s job description of my own profile.
Shit is full of buzzwords.
Wonder if that’s the case everywhere. Gives me some confidence to just apply to jobs without worrying about ticking all the points in the descriptions.
(For those wondering whether I did not see the description while applying for my current job.. actually, I saw it but didn’t take it too seriously because I just wanted to get a dev job.)3 -
Just in case anyone has missed it: VSauce is probably one of the best channels on youtube. Just so that no one misses out4
-
So ... I'm just watching an anime (Musaigen no Phantom World) ... and this scene isn't related to the main plot. This is the intro of the third episode - the intros of the first two episodes were about the "phantoms", "illusions" ... :)
It starts with a blue screen and the little fairy (it's a phantom btw) said: "When the PC goes crazy, you panic quickly."
In the screenshot he says: "It is important to back up your data somewhere in case of an emergency."
A second screenshot is added in the comments.8 -
Just in case nobody mentioned it:
Humble Bundle : Machine Learning
https://humblebundle.com/books/...
and
Humble Bundle : UI UX
https://humblebundle.com/books/...6 -
Developers who think complex code is good.
"Oh, lookie here, I can swizzle methods and inject dependencies in the runtime!"
"Although we have no valid use case, let's use dependency injection and follow the commandory stateor patterns because I watched a video."
Just because you learn something new that looks cool does not make it practical, you tosser.1 -
So I just changed the same LoC in my library to find out that same LoC had no problem...
The fucking test case is written wrong
wtf1 -
I don't know about you, but I have Stack Exchange's app installed in my phone just in case. I never use it, but it's there for an emergency (I don't know what kind of emergency, to be honest, but you never know...)1
-
Okay so my ticket got rejected because the on screen texts are not in the correct case (upper/lower). Totally fair because nowhere in the spec are those texts defined. As a developer I am also responsible for what "makes sense" for the user.
I'm just gonna say this next time I ask for a raise. -
I have a Mac at work right now, and if/when it putters out, I would be fine with another, but not if it's the touch bar variety. In that case, I'll ask for a surface or a latitude(the options the company offers to the MacBook) and just hijack Linux onto it. I won't even ask if I can, because I'm sure the answer will be no.7
-
Just got an email from a client asking if it was possible to block Pokemon GO on their premises.
Now, I know the answer to this. But just in case... would that even be possible?7 -
Why do some developers cut corners and add 20 extra fields just in case the customer wants to add extra data? What happens when the customer needs 21 fields. Just spend slightly more time and implement a custom field system that can extend to any amount of data it's not that difficult and you won't have to add a new field every time a customer needs more then you expected.3
-
Sysadmin gives me 32GB RAM for my workstation. Fucking Windows decides to create a 30 GB pagefile just in case the 32GB RAM are not enough. So my systems SSD is getting peppered with rubbish. Thank you Microsoft...4
-
I have two contributions so far in my first hacktoberfest. I have created a readme and updated a .gitignore to ignore VSCode’s .vscode file, just in case anyone else who wanted to contribute that uses VSCode doesn’t have to worry about the .vscode file3
-
Just in case any other devranters are in China, here is this morning's updated chart if you have wechat you can follow this account, stay safe and wash your hands5
-
Well so after some fiddeling around, I managed to release a first preversion of my versatile Machine learning library for C++: https://github.com/Wittmaxi/...
I'd be more than happy to see people start using my Lib lol
In case you have ANY feedback, just open an issue ;) (feedback includes code review lol)2 -
I put up an alias called
coolness = ls - R /
Just to be sure that I will be able to impress anyone quickly enough in case I will be working in a public place
XD1 -
I think people get *way* too annoyed if someone tags their post here with the wrong tag, even with completely new users
Seriously, who cares if you see a few jokes in your rant feed? I know some of the jokes are bad, and in that case just scroll past them, even downvote it if you have to, maybe remind them to post it in the right tag even, but it annoys me seeing posts here about people being as annoyed as they are about wrong tags7 -
Updated firefox.
fireFtp broken -> all my ftp accounts in limbo now.
Just in case there was no Quantum rant today... -
Create a copy of a huge method, I mean a complete fucking copy of a huge method, to change one small piece just because the behavior needs to be different in his specific case. Then, when the method is called, put an "if is my case, call my fucking copy".
Maintenance? What's that?1 -
Almost 2 years working at this small IT company that has 7 developers and I just had my first small-talk conversation with the lead senior developer that was not related to work.
Maybe I'm in the minority, but I like to be able to chat to my colleagues instead of just saying "Good morning" and "See you tomorrow" and discussing my tasks. In any case, I'll go get a coffee and get back to coding.1 -
That feeling when you find a library in GitHub that does everything you need but you see it hasn't been updated in more than two years... Just in case I answered a few issues, I hope I helped someone2
-
I always love getting yelled at by a client about a feature that they “use everyday” and critical to their business is just not working. Go back and look... it appears that it broke a while ago (in this case a couple months).
It’s my fault, but I do start to question other blanket statements they make. -
I miss the old Version Control, copy pasting project folders with every single update, hiding them in different locations just in case some get deleted, then actually trying to find the latest one..... Good old days
Felt like them text RPG games with lots of endings1 -
Ever heard of this custom ROM called Unleash-OS ?
Well if you've not, you're doing really well in your life. If you're happy, you can scroll away right now.
And in case you want to test strength of your happiness.
Just see here :
https://github.com/Unleash-OS/...
If you still are happy, you're pretty damn happy person. If you're not well I'm sorry, it'll just take you 10 minutes to recover.
The reason why I ranted about this is that I want everyone to be sane and NEVER do some shit like this.
Peace !1 -
I actually forced myself to write documentation for my current project. So I have spend hours writing guides and stitching together guides I've found all around the web 😐 On the other hand, now I'll be capable of re-setting up the server in about 30 to 45 minutes 🙃3
-
rant, !dev...
NEVER BUY ANYTHING THAT COST MORE THEN $5 FROM ALIEXPRESS....
I CANCELLED AN ORDER LIKE 1HR AFTER I PLACED IT, 3 DAYS AGO... I JUST GOT NOTIFIED THE ORDER IS NOW SHIPPED....
ALSO SEEMS MOST THINGS ON THERE A CHINESE RIPOFFS... BEING MARKETED AS QUALITY GOODS....
Oh and their customer support is really sketchy... they said they'll try to get me a refund... But as I was taking to her, I also placed a dispute on my credit card "just in case"6 -
When youre about to go on a 1 week vacation and you start to move all your projects to your FTP server as if theres no tomorrow, just in case you need them on your old ass laptop youre bringing.
Also bringing books. Some small, some thicc1 -
I was curious about the geographical distribution of Top Tech Jobs (i.e. how many FAANG jobs are in Europe, where they are mostly focused, etc)... So I came up with a draft (prototype) of the Tech Jobs Radar:
https://jobs-radar.com/
I'm sharing it here just in case someone else is curious about analyzing such data7 -
!rant
Hi, i just finished developing a web page, and i wanted to ask you as in this case users what do you think about it, is it user friendly , any security breaches found or something?
Here is the link:
http://propika.com/13 -
So, from now on, I'll be working 8h/day as an employee to earn enough money to live and another 5-6h/day just to pay older debts.
Knowing that my debts could be paid in case of my death, I don't really see the point of living like shit for the next 12 months.1 -
worst mistake? plausible
I just chose _system_ as my username, I got a feeling it will be a prime target in a case of database intrusion :/ -
Just use proper variable name and class architecture and header file and viola you don't need documentation.
In the worst case to understand class heirchy use the graphviz of doxygen and you are done.7 -
This is incredibly interesting. How the frikkin-frik did the WiFi and Bluetooth die on my Raspberry Pi 3. Yes, I realize they work in tandem but how does something like this just die after just sitting around and performing light duty tasks for just a few months.
Reinstalled Rasbpain 2 times, nothing. USB WiFi dingle works great.
Not really a rant but I wonder how shit like this happens.
The Pi is in a case away from my cats, in a temperature controlled environment and adorned with the official power adapter.
Things that make you go hmmmmmmm. -
Okay, maybe I'm unlucky, but I find macOS to be extremely buggy and inconsistent across the board compared to Windows.
The "it just works" slogan hasn't been true in my case.
Like, there's always some dumb issue hindering me.
For example, I can't seem to resize a window by its edge on my second screen in macOS. It just doesn't work.
Of course, Windows isn't perfect, but it works without a hitch in my case.
Finally, the memory swapping issues that lead to lag.
On a typical day, I have two instances of IntelliJ running, Android Studio or XCode, and two Edge + Mozilla, and Docker. 32GB should be able to handle this smoothly. This works fine on my 32GB Windows workstation.
On my 32GB M2 MacBook Pro however, I have to constantly close some programs because of lag.
Not to mention, memory fills up really quickly. I essentially turn on the MacBook and 18 GB are in use. WTF!9 -
Grumpy old git warning.
What's with this fad of calling everything a "hack"?! Not just in the dev world (though articles like "the 5 greatest Python hacks that will save you time!" grind my gears too.) But no, we've also got "gardening hacks", "life hacks", "recipe hacks"...
Dude, they're just "gardening tips". They're just "useful suggestions". Or in the case of "recipe hacks", THEY'RE JUST BLOODY RECIPES.
Eurgh.9 -
Today I discovered that Haskell can be compiled to js. This is both wonderful and disturbing: having the strengths of Haskell feels right and encouraging, but having to transpile it to js feels unnaturally dirty.
Still, I'm not sure I can apply this at my job in any future, but I might have just the case in the brewing.7 -
...
We are using a shitty language and a even more shitty IDE at our company for our software.
I'm quite new to this, so I don't know all sorta stuff.
Was writing an addition to a convertion from an old system to a new one.
Needed to "Map" Strings to IDs, so I used a switch case to determine the needed IDs.
Because that fuckin horseshit has no realtime errors (just at compile time...) I didn't realize that there is no such thing as strings in switch case in this language.
So I wrote this whole fuckin shit and when I compiled I got massive list of errors.
So I had to redo that shit with If, Else If... And that motherfucker just crashed on me...
HOLY SHIT...7 -
Repeat/repost:
Unfortunately I do not own a drop of what is conventionally known as confidence or ego. It applies to everything; work, skills, relationships, friendships, you name it. I can estimate my chances of succeeding, and sometimes be pretend-delulu for a purpose (you gotta admit, sometimes showmanship is the biggest asset) but I don't understand confidence. In my opinion, it's just a gross overestimation of one's chances.
So this project/paper thing, I feel like I'm blind and running in the forest. I am not counting on my boss, nor am I counting on anyone in the dept to give me clarity or decent feedback. ("Cutting edge" research issues. Not anybody's fault.)
And I guess, in the worst case scenario the paper will be rejected, which would be a setback but not a full failure.
... Actually, that's not the worst case. The worst case would be someone running a peer review and finding that I made a tiny mistake and all my results are bullshit. 🤦
... Anxiety is eating me alive rn. 🤢4 -
Let me check Slack
Just before I go to bed
Just in case — OH NO
It’s not what you think
It isn’t like I broke prod
… request makes me cringe.3 -
Taking a 2 week long vacation to celebrate the festivities with parent and family after a year.
Boss wants me to carry my laptop, "..just in case".3 -
Virgin Powerbeats™ pro:
- can’t even fit into your pocket, you have to buy special iPants™ with bigger pockets, that would be $1499, thank you
- have buttons so finicky and annoying that you’re really better off with a touch area
- silicone tips deteriorate and are prone to stay inside your ears. Uh oh, anyone but certified iOtholaryngologists™ aren’t authorized to remove them or else they would be put to Apple Jail™. The removal would be $499 per ear, thank you
- you have to be a PhD topologist to figure out how to put them back into their case
- uh oh, one bud just randomly stopped working because of a design flaw in our case, that’s User Error™, would you like to pay for a replacement with your Apple Card™?
- a feel of greasy deteriorating clamshell
Chad Jabra Elite
- a feel of a brass zippo, magnets are just perfect
- firm, real buttons. Improve then just one level and you got the feel of IBM Model M
- you press a button and you hear whatever mics are picking, no need to ever pull them out
- most comfortable buds I’ve ever tried
- small case fits into pockets of my tight booty shorts just fine
- waterproof
- sounds better than anything Noble Audio have ever done
Beats suck i guess 🤷6 -
I swear the God I'm considering getting a rabied dog just to bite your balls off in case I ever see you in the streets..
- guys X are running load tests on env A
- load tests complete
- analysis of test results is being done
- slow response times are obsered
- someone asks whether X guys took a thread dump for further analysis
- a guy from team X (Mr. Xx) replies: "Will take the Thread Dump now."
- 10 minutes later uploads the whole fucking 2GB log file to Slack
- Xx replies: "I do not see anything wrong in the dump"
A fucking retard... Shove that useless dump up your ass and THEN tell me there's nothing wrong with it! Why the FUCK do you think that's the case? Moron1 -
I usually just block every possible entry point of errors instead of handling them directly with try-catch or on-error callbacks. Is that a good practice?
In case you ask, yes, i am that lazy.3 -
!Rant
Hello community!
I have a some Questions for you
I want to "Convert" my Prebuild PC into a Normal case...
My currency build has
A GTX 1060
An M.2 SSD (Idk the Brand)
A 2TB Hard Drive
A Intel Core I7 6700 (non K)
16 GB SO-DIMM DDR4 RAM.
And I Just want to put everything into an standard case (Idk which one Right now)
And also want to Upgrade my CPU to a I7 7700K
So I need,
A MoBo,
A PSU,
Case,
Cooler,
And new RAM
(Budget around 500-800CHF)
(Its low but I think its manageable)
Thank you for your suggestions in your comments!9 -
I am still confused why people treat testing as secondary position? Tester are paid less and they hire lower quality engineers. I think testing is as important as any other phase of development, like design or implementation. . . and yeah we do testing of our own code. The only thing I can do in my case is to see that people who change my code may not break basic functionalities. And again about edge cases, try to handle some other left to be seen in production( those which I could not think of due to lack of time) I take care not to leave edge case but sometime cannot do it. I just hope people realise the worth of testing.1
-
So my in-ears just disappeared from within the fucking case. Like wtf? My case is in my pocket, but the headphones aren't there. What???5
-
How, how can I be sooooo bad sometimes.
I just discovered “Alias” feature of C#.
Let’s say you have 2 enums with the same name (Let’s say MyAwsomeEnum) in 2 different namespaces.
In this case I was always full qualifying the name.
I was today years old when I discovered “using MyAwsomeEnum = <Fully qualified name>” in the using section.
Edit : Even worse. It's like 3d example in official doc
https://docs.microsoft.com/en-us/...
/facepalm on my self6 -
OK guys the time has come for my home PC to finally become 100% pure Linux (No dual booting).
But I will need to keep a backup of my windows installation (Just so i don't have to download everything over in case i return to the demon that is windows).
What is a good image capturing program?
Was going to use ghost because of past experience but just want to hear some alternatives!6 -
A year ago i made a binary which very quickly checks all stuff we normally check on customers PCs manually via a few WMI queries.
It worked well on 3 dev machines, so i went to my department lead, told him to execute it and the fucking thing just spews WMI errors left and right.
Even though it showed us that some very low level stuff in his Windows installation was broken it was just embarrassing as hell.
Shortly after I had all checks fitted with a secondary method in case WMI fails.5 -
I can't come to terms with people's terrible reasonings.
You read a news about something. Let's assume it has to do with a sensitive topic, like race, gender, culture, religion, something polarizing, that makes you pick 1 of 2 sides.
So what do some people do? They ask themselves "ok what group do I adhere? How do I label myself?".
Then they ask "what do other people in said group/label think about the matter?", sometimes it's people in the media, friends,
sometimes people even create a mental construct of a stereotypical person of said group, a hypothetical one, and use the opinion of said construct as representative.
And final step is a knee jerk reaction of "I believe that too!!!!!!".
Obviously, all of this can't bring no one closer to the theorical truth or the least flawed conclusion.
What does? Case by case basis.
You judge every case as if every case was its own thing.
But why does some people have a hard time doing that? Just general ignorance maybe?
Maybe this tends to occur in families where parents don't teach their kids to challenge their beliefs, or teach them that doing so could result in lack of parental acceptance.
People also have peer pressure, the need to belong and feel accepted. That means sharing the same points of view with close people and considering the opposite taboo.
There's also the very ignorant people that have conspiracies for lunch.
In any case, I feel some people don't even fucking try to be neutral.4 -
TeamLeader : "Come two seconds"
TL : "I'd like you to check that out when you do that"
Me: "But it's your job to do this"
TL: "Yeah, but I'd like you to just check in case I forgot"
THEN DO YOUR FKING TASK PROPERLY WHATS THE POINT IF YOU FORGOT AND I DO IT
Edit my english sucks1 -
Do you think that program with keyboard & mouse is faster than using a laptop keyboard & touchpad?
At least in my case having no BlockNum and bad distribution of navigation keys, plus the need to use the [Fn] hotkey:
[Shiftl] + [Fn] + [Home|End], just imagine when you have to do [Ctrl] + [Shift] + [Fn] + [Home|End].
Mouse is faster and more accurate than touchpad6 -
Debugging a task, that's sending emails to too many customers.
Supervisor: "Never mind, just test in production, there is a dry run flag for the tasks."
Just in case I test locally...
Flags tried:
--dryrun="TRUE" => Error, failed to send mail.
--dryrun=TRUE => Error, failed to send mail.
--dryrun="true" => Not trying to send mail.
If it's THIS PICKY a little more documentation would be nice.
And by a little more I mean: more than the task base class in a giant php monstrosity without phpdocs expecting its code to be self-documenting. -
I just found a 4-level nested switch case in our code base.
and the best part .. they are all empty!! -
Personally I like to use very obscene phrases as passwords, just in case some saves it in text.
When they read the "dump file" maybe they will be like well we will not be fucking with this one, that person is just sick.1 -
Typical insurance company BS approach.
Listening to xmas music, Spotify ad kicks in about 'just being "hacked"':
Buy our cyber security insurance product to quickly recover and retain liquidity in case of a cyber security beach.
Not a single word about preventing the incidents in the first place...
Lucky to work in a place that doesn't skimp on IT.5 -
Blindly copy pasted and executed commands from tutorial.
Just because it was faster to reformat sd card in the worst case ( raspberry pi ) than figure out what each one did.3 -
Used to be anime, but now I just have a tendency to hoard files (usually movies/shows)...just in case streaming services go down.
-
Just got out of a meeting in which the client was suffering from the classic case of not knowing how their business works. Ugh, now I gotta figure it out for them.1
-
In case anyone wonders why I am PC over mac, I just had a macbook pro crash on me under a load my HP POS I bought 3 years ago for $750 calls Tuesday.20
-
What the fuck?
I can't understand people who are using ad blocking extensions in their browsers... Why don't you just use hosts file ad blocking or DNS service that filters ad provider hosts?
In this case you will have much faster working browser won't you?9 -
Monitoring goes does in one of our server racks, one I had just been working in (other side of the building). Hmm, odd. Oh wait its back online again. Better go take a quick peek to see whats up, just in case. Walks over to rack. Everything seems fine. Walks back to desk. About 15sec later. Fqdn.plsfckof is offline again. -_-
-
I wanna have a very funny email account so I can actually use it for job applications I'd likely be rejected from. Just in case I ever have one.
Something like mycockwarpstimespace@gmail.com, or something even more bizarre.
What's your best shot?9 -
This is git.
You code whatever, add the files, commit and push.
Just keep doing at repeatedly.
Until your push is rejected, in which case you delete the local folder and re-clone the whole thing.
#howOneLearnsGit -
How to be an ignorant a**hole 101. Go to a meeting room. Pump up your meeting volume. Leave the door open so the whole floor can hear your meeting and you can diminish everyone's focus time. In case anyone closes the door, just open it again.2
-
Just in case I didn't remember when I started working from home, I have a quick way to look it up.1
-
Holy shit. Its been like 3 hours to get this motherfucking PC boot from the pen.
Cant get the boot device menu, and Ive tried all the F keys and changed the boot drive.
The mainboard is an asus p5ql pro in case someone knows how to help.
I just want to install w10 on my ssd... fuuuuuuuck.1 -
USB sounds to be a backup project just in case USA fails!!!😤😤
.....but at the same time I think that USB is a bee which comes from America🙊🙊 -
A lecturer just told a class of final year developers approx 50 people that commenting our code should be banned and we shouldn't write comments within our code in case we cause confusion2
-
Spot a mistake in the code.. Should i:
1. live with it and continue to build on top of it.. Do a special validation just for this special case.. Which is a quick solution
2. or rebuild that component.. But have to rewrite the 4 controllers that is using that component.. Which is a long solution
The daily dilemma of taking over someone elses project.. 。・゜・(ノД`)・゜・。4 -
Having a method that is only called at one place is ok, if you want to tidy your code (except that that hope is long lost in this project). But if that method usually returns an array, except if it's an empty array, then it returns null, but at the only call location you handle that null case specifically to act just like it would if you just had returned that empty array in the first place, then I ask myself: Why separate that?2
-
One of the biggest IT magazines in Germany just posted an article with the caption: "What is coming up with Android O and will it fix the update drama?"
Are u fcking kidding me?! Android is not the problem in that case and no new version will fix a problem, that is related to upcoming versions of android, which are distributed by external providers, that are fcking independent from google... Wtf..6 -
It is ok to fail and commit mistakes, that's part of the game, specially for beginner devs. Just avoid failing alone, the most you can!
I mean:
- Ask people to review your code before pushing to the source repository.
- If you are not sure how to do, ask.
- Never work in production environments without supervision. Pair with someone.
- Have a desk mate for rubberducking (https://en.wikipedia.org/wiki/...) and blame it in case you need -
I just realized this is the dumbest marketing stunt McDonald's can come up with
https://thrillist.com/news/nation/...
The card is actually a phone case with your name etched into it.
1. How do I use it if I'm ordering online?
2. Why is the prize meant to encourage mobile ordering a physical card to use in stores?
3. So every time the winner takes out their phone, s/he is just asking to get mugged or have it stolen?3 -
I have a nice desk, but my dogs insist that I work sitting on the floor with them. Just in case y’all were wondering who the bitch is in my house. It’s me.1
-
Fuck Facebook!
Disabling apps without warnings or anything which means no customer login. This is a huge pain since the solution doesn't have any way to login to the same account with another credential.
"Oh did you use that? Now you can't. And the only way to do anything is to submit a form to 'appeal' the case which we'll just reject without any notifications or emails"
Normally I won't rant like this or use that much swearing.. but in this case:
Fuck you, Facebook. Fuck. You.7 -
How do you test unreachable code or part that is considered an edge case?
For example I catch exceptions in case IO failed and data was not written on database, but that only happens if hardware failure, or no disk space left, how do I mimic that?
I also have unreachable code for example, in one layer I fetch data (lets call it function x) and always return success result unless item not found I throw KeyNotFound exception. But in the calling function I handle the case of Status == Failed
Just in-case in the future I change function x and start returning failed status, so my logic already written but never reachable14 -
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 -
Outlook web
Empty white page, 1 line of text:
"The custom module does not recognize this error"
Refresh, all good. Exit, enter again in an hour:
"The custom module does not recognize this error"
Then why the hell is there a custom module for errors for fuck's sake? Microsoft, just let the error pass through in that case, so we can read it.
Some self-disrespecting dev wrote that with a gun to their temple.
P.S. Don't ask why I use Outlook web1 -
Finishing my software to predict ice-hoceky results... so I would finally have a portfolio to show for, just in case I decide to drop off of academia one day 😥1
-
Just in case anyone here knows someone stupid enough to believe that all the major companies aren't listening to you ALL THE TIME.
https://youtube.com/watch/...
TLDW: Dude doesn't own a dog, sees no dog ads on Google. Closes the browser and talks about dogs for a minute. Then multiple pages advertise dog toys to him.3 -
Concatenation of strings in a loop (in C#). Seriously. It's just so easy and unless you are doing something memory intensive or awful (in which case I am sorry) it really doesn't do much harm if any.
-
Just got an email from Apple about their announcement yesterday. Just in case you have been living under a rock or something...
-
Had to take my Raspberry Pi 3 out of this case I printed, because the thing was getting way to hot for PLA plastic, and that was just running IDLE or VNC! A much cooler B+ and a Pi 2 reside in there now!5
-
Just found out that something like this would actually work in Java:
int a = 2;
switch(a) {
case 1:
int b = 1;
break;
case 2:
b = 2;
}
I know about the variable scoping part, but that doesn't means if the language allows this kind of shitty code you should use it.. Fuck took me 15 mins to resolve the merge conflicts. As during merge the 1st case was partially removed. And the code was filled with these kinds of logic. This could have been done in a minute without the shitty code..4 -
Probably not worst but back when I was in graduate school I used '=' instead of '.equals()' for a string, by mistake. My professor was so pissed and taunted in front of whole class about how dumb people are here without taking any names(btw I didn't realize that guy was me until later) and gave me a low score
I told her later it really doesn't matter if I used either because '=' worked just fine in my case. She was a little more pissed after knowing that I wasn't wrong. 😜6 -
I wasted all of yesterday trying to create a business object in staging which can't be created with the admin panel instead of modifying an existing one to fit the case I was testing, because i forgot that this is staging and just assumed that existing objects are not to be touched.
Flu Brainfog sucks.1 -
Dahhhhh. A few times a day, seemingly at random, one of the fans in my PC starts making a horrendous noise.
This would be mildly annoying, but fine if I could actually just isolate where the noise was coming from. But whenever I go to move the bloody thing and pop off the side case, it stops again 😬
Don't really fancy replacing all the fans one by one just in case they're the issue...9 -
One day (maybe) I will understand how the "bestest IDE in the world" (cit.) can consume over 10Gb of memory just... for being open while not editing any file or anything.
Just in case you're wondering I'm talking about VsCode and yes I know it's not an IDE just in case you want to point out :-) It's just I see more and more people referring to it as it was one.11 -
Redoing my website this night. Let's see how far I will get. I might post random updates just in case anyone is interested.5
-
!rant
Maybe a usefull function for the fellow developers here, in case you need default Avatars for your users. "UI-Avatars". Just 'discovered' this beautiful API today and it really is easy and helpful! :D It even has a PHP package if you would like to generate them yourself.. This is not an ad or anything, it's just a usefull API, like 'placehold.it' etc that could be useful for anyone out there! -
A user didn’t remember creating an account and didn’t understand why they received an “account created” email. Best case: this person just forgot. Worst case: someone impersonated them.
I look up this person’s order history and see only one order in the database. The account was created right after the order. Order was for $10k. I’m thinking, oh shit was there a fraudulent payment?!
I dig deeper and see it’s actually for a membership renewal. And our records are showing a birthdate for 1937. Now I’m thinking, ok I have a high roller who is very old. So I have to be REALLY careful about my response to this person.
I manage to reproduce the scenario and…it’s totally user error. The person just forgot they created an account. I’m letting customer service handle the correspondence for this. Sorry CS. -
I force myself to start and in preparation I've made sure to have at least one case of beer in the fridge.
Then just try to stay on the infamous Balmer peak until I fall asleep or run out of beer 😅5 -
Does anybody else feel a little sad when reading rants or negative comments concerning frameworks you've used a lot or maybe even more in case you're still using them?
In my particular case I just read some comments tackling Angular - and I do not want to say, that those comments aren't justified. We're currently living in a more than ever fast-paced front end framework world and Angular is simply not state of the art anymore.
So I do not want to start a "what's the best framework" discussion here, that's not my intention.
This is more about the feeling you get when you've built a lot of stuff using a framework, maybe you have still projects running on this framework or even contributed.
Either you do not have the time to switch to another framework yet or you're even still somehow satisfied with the way they're working.
However - reading all this negative stuff about such a framework is sometimes not that easy.
..or am I just some kind of strange, sentimental developer guy? ;D10 -
Is it just me, or do other developers also leave a backdoor in the code in case the client doesn't pay?8
-
After all this time I’m still confused, why was Cambridge Analytica such a huge deal? I feel like a lot of people knew this in years prior, that Facebook/Google were scraping user data and activities to use for personal profiles and hence more directed as placement. Stuff like Ghostery, Privacy Badger, Disconnect, Ad Nauseum (rip it’s Chrome plug-in) etc. all focused on not allowing these same trackers to get information, so not like this case just magically busted the doors wide open screaming that all those websites you visited are now in Facebook’s database and no one knew.
I just can’t quite understand why everyone got up in arms after this.1 -
Maybe I'm just being (overly) stupid with my vacation-brain in full effect, but when I console.log() an object in Edge, most of the properties are showing up as (...), which I then have to click to reveal the actual value. I don't recall this being the case before (I'm like 99.999999% sure it never was like this before)... is anyone aware of a recent change that causes this and maybe a setting or something that makes it show the value automatically? Thanks!4
-
Did you know you should always take an extra pair of pants golfing? Just in case you get a hole in one.
-
you guys ever seen a webservice returning view elements for the front end to interpret and generate views using a switch
switch(data.type)
{
case password:
// generate password field with returned value
...
}
is this really some new practice in back end / front end design ? it just frustrates me so much. web service should be returning data only. i can't maintain this code it's too much crap.2 -
Probably my room is where I’m most comfy programming because it’s the place I’m most comfortable in general.
I have a weird unhealthy attachment to my room. When I have to leave to go to a friends and some family’s over night or sumn I am really uncomfortable the entire time until I get back.
I know I’m literally playing into the stereotypical nerd, but what you don’t understand is I am the stereotypical nerd.
You could easily say I just get a really bad case of Home Sickness and I guess that is the case but idk why it’s as bad as it is.
And the honorable mention for programming spots was when I was in high school at my big desk I had for 2 years straight. Damn I loved that spot3 -
Just in case anyone didn't know this, there is a dark mode for the web version of devrant. Just click the 3 dots on the top right and click settings. Just watching out of those of you who didn't know 😉1
-
"Can you build a fully customizable slider system in the CMS?"
"Sure."
"Great, booked an hour in for you - surely it's just a case of copy paste from something else, right?"
😟2 -
Just askin:
If you have a method which returns a value from an array. What do you prefer in a case when the item is not found?
A)Throw an exception
B)return null
C)return a special value like a null object or some primitive type edge value like Integer.MIN_VALUE14 -
Am I the only one that thinks Linq's .Any() and .All() methods are more appropriately named for the use case they cater to, as opposed to their JS counterparts .some() and .every() ?
.some() doesn't justify the fact that it returns true if *atleast* one item in the collection matches the predicate. Should've been named something like .atleastOne() or something else.
Moreover, there isn't any harm to just use the same method names as in Linq ¯\_(ツ)_/¯4 -
That moment when "client developer" tell you how to do this and that but in fact you know that their solution is not a good solution. In the worst case scenario, they just don't take you justification.1
-
Hey fellas, I have a question about Windows and Linux.
I love Ubuntu on my Laptop and since gaming is no prio at this time I'd like to install Linux on my Rig.
I want to install Linux on a separate drive and unplug my Windows drive so Linux can boot alone without selection at Bootmanager.
However, I'd like the possibility that Bootmanager will let me choose if I plug the Windows drive back in (just in case I'm really in need of Windows).
Is it possible?3 -
My colleague, while debugging a bug:
If (var == 3)
{
printf("colleague name var=%d",var);
//existing piece of code
}
I asked why are you printing the variable value here.
He: "just in case"
He is 3 months more experienced and got promoted last December. Mine is delayed. I met my PM.
PM: You aren't this, You aren't that...
What I heard:
*You aren't licking my boots*1 -
I wish devRant had some cache thingy for comments,posts that has been visited or even post in timeline so it didn't make new request to load the post that has been already in timeline rather show the post when I click on it and load the comments separately. Same case with opening anything on notification ideally it should show the post without making request to the server and load comments or whatever in background. Or just download the whole content of the notification when it arrives2
-
Considering what must be told and making the meeting as short as possible
Unless you just wanna talk with someone and maybe drink something, in that case, just meet with no expectation -
So I just saw an ad on Twitter about a project launched by IBM and the Linux foundation that aims to recruit developers to create programs that would help in case of natural disasters.
Do you think it can really make a difference or that it's just a marketing move from IBM?
Here's the link if you're interested :
https://developer.ibm.com/callforco...3 -
Just to clarify my previous rant:
In this case, refactoring meant changing class, method and variable names -
The first code i ever wrote was a case statement in Visual Basic. I didnt really know what I was doing, just looking at the code that was already there and figuring out how to extend it to include more cases. I was about 17 at that point. I didnt properly start learning until I did Java in my first year of University.
-
What's everyone second source of income?
Curious on how you started and money per month of average for it. Feel I should start working towards it in case of layoffs or just need of extra money.
Is freelancing on upwork worth it?13 -
So, about the devRant meetup(see previous rants), I didn't really hear anything about tomorrow, so just in case, I'm continuing with my proposal, it seemed more people were up for Sunday then Friday, so post the time you are free at on Sunday, along with your time zone(or UTC/GMT for privacy)30
-
That day when I destroyed the hard drive of my mother's PC when I was 12 years old. (The drive wasn't properly screwed in the case, and so after a few repositions of the case, it would one day start up sounding like a jet engine and after that scary sound: silence.
My mother took it relatively well, mostly because she saw how I was beating myself up over it. I was so mad at myself as I knew better! I knew how to create a backup strategy, I'm theory. I never really put in into practice though.
She had no backups of course. No way of regaining her data.
Now she does. And now she regularly calls me to initialize a backup of her current data on her external drive. (And every few months I sync her data over to my place on a data storage just in case she loses both her PC and external drive in a fire.) -
So I became a team leader ("promotion").
One of the team is a senior by title, but fuck he is just a refactoring machine. Seeks for architecture design in fucking everything. Even in fucking tests instead of just writing them he is inventing convoluted architectures and systems...
Fuuuuuuck - just write the fucking tests, no one gives a shit if you have a fucking factory in the test case! -
I work at a school. I saw a kid walking in my building whistling pumped up kicks the other day. Felt a lil bit uneasy to tell ye the truth. Said good morning to him and nodded in approaval to the song. Just to be on his good side in case he goes batshit crazy. Still uneasy.
-
My college is doing a "practice run" of conducting all classes online because just in case they have to shut down the school eventually, they want to be sure that everything works. So I'll be taking classes from home this week. See how that goes, I guess...
-
I can't delete stuff!
I am currently sorting through my harddrive(s) and realized I have over 800 gigabytes of raw audio and video from four of our theatre productions lying around. The films have long been edited and there is no use for the source material anymore.
But just in case, I'm keeping it. You never know... -
Just in case, Windows 10 use your PC as an update server. You can disable it by going in Parameter>Update>Advanced
-
fallacy of a "good child". m:mom/dad s:son/daughter , o: outcome.
counter : 1
m : Son, can you do this thing x for me?
s : yes sure
o : son is good
counter : 2
m : Son, can you do this thing x for me?
s : yes sure, give me 5 mins
after 5 mins...
--case 1 : m is still waiting, s comes and does the work
---o : son is bad since son let m wait
--case 2 : m did half of x and says "just teach me how this part is done, and i will do it on my own". s teaches
---o : son is bad since son didnot do the task
--case 3 : m does the whole x work
---o : son is bad since son did not do the task
counter 3
m : Son, can you do this thing x for me?
case 1)s : why can't you do it yourself? i taught you last time?
--- o : son is bad
case 2) yes give me 5 mins
---o : same as cases of counter 2, i.e all are bad
counter : misc
m : why didn't you do x for me beforehand? why do i need to tell you everytime?
case 1 s : woah! when did you say to do it each day?
--- o1 : son is bad since he cross questioned
case 2 s : oh am sorry, i forgot
--- o2 : son is bad as he intentionally forgets
----
am i not seeing enough politics in the office each day to handle another black tag on me? i sometimes delay a task assigned to me, sometimes want other to just understand and do it on their own. but why does it always end up making me a bad offspring?1 -
Objective-C syntax is more readable than Swift.
The verbose naming conversations feel natural in Objective-C, but in Swift they look rather nasty to me.
Also Swift syntax feels inconsistent in many parts of the language, which forces you to memorize when you can and when you can't use a certain feature (i.e where, case).
Am I the only one that thinks Objective-C looks a lot cleaner than Swift code?
Note: This is an opinion, not trying to start a war. Just curious if I'm alone on this.9 -
Why is it that most people that reply to feedback/support forms of just about any web site in general are complete dimwits? If they are people, that is. In that case, congratulations! You've just passed the inverted Turing test!2
-
Reason we don't use tabs children. I just saw (and am going to have to reformat):
switch (var)
{
case 1:
DoAThing ();
DoAnotherThing();
break;
case 2:
DoADifferentThing ();
DoAnotherDifferentThing();
break;
}
It looks mostly okay in LabCVI, meh in VS 2010, and absolutely shitty in Understand (where the above example came from).4 -
Has anyone been in the situation when you order something on company's expenses, got your expenses manager approved, get the reimbursement in your account. And the item you ordered got refunded because of some delivery problems?
Will any company can find out of I have pocketed the money, in this case I haven't. I just bought same item from local shop but my manager is unaware if whole thing except he approved my expenses.
Should I drop a mail to my manager regarding this? It's been 1 week already.10 -
Just spent about 2 days to silence a warning in a test case instead of fixing the issue behind the warning :/
Feeling guilty2 -
During the last two weeks I have come to realize that I dislike holidays. Or maybe I don't, maybe it's just now that almost everyone is forced to use their holidays at the same time... anyway, I just know some junior has made a hot spaghetti mess that needs a'fixin and I don't look fwd to attending to those issues when I get back to the office... worst case the buggy spaghetti poo is already in prod1
-
People hate on Python a lot. I just used the Python ternary operator for the first time. I found it easier to read than the C++ ternary operator:
0 if i==0 else 2 if i==segmentMax-1 else 1
vs
i==0 ? 0 : i==segmentMax-1 ? 2 : 1
I think Python did a good job in this case.18 -
Last week I finally deleted my Twitter account. DevRant has succeeded where Twitter deeply failed me: in providing good laughs, a friendly community, a less popularity-biased algo, and interesting content. I kept it for promotion just in case I'd ever get around to publishing a blog regularly, but even if I eventually do, I no longer give a **** about Twitter.2
-
Any guys in Italy, China South Korea etc. Is it as bad as the media potrays it? My country just had its first confirmed case. Any advise on how to go about it, what to stock etc?9
-
!rant
In case you're struggling to learn something new, read this article to feel better. Else just read it anyway to feel better.
https://khanacademy.org/talks-and-i...
always keep learning ;) -
I guess it's a well known classic stress-relief game, but just in case somebody doesn't know it and need it:
https://crazygames.com/game/...
I still play it from time to time2 -
I’m in the process of doing interviews and company A seems to like me - however company B just booked an interview for me. If company A calls me back for a job offer, what’s a reasonable time frame to give them my final answer?
Just in case, I want to keep my options open for company B depending on their offer.1 -
It irks me dearly when people look up to me and then copy me. I feel like they're doing it just because I'm doing it and they like it, but whether it's actually something good for them doesn't really matter. Kind of like using a coding paradigm because it's "cool", but it actually makes the code in your case hard to follow, inefficient and suboptimal.
I'm talking about life in general, but in coding as well.
Does this irk you guys as well?1 -
Is it just me or is it annoyingly finnicky to get an android device connected to Linux? I want to transfer files but its not getting mounted (unlike all my other devices like USB sticks/HDDs). And yes mtp is turned on on my device. How do you guys do that? Any convenient way? In this case I would actually appreciate a non CLI method5
-
Wanacry didn't touch me yet, my gaming machine is on Windows, I disabled the update service, I haven't restarted it for 2 months now...
Now doing an update, just in case
My laptop is dual booted with antergos, my work files are all on onedrive, so if something happened to my laptop it wouldn't be the worst
Still disabling the update service after the update :P13 -
There is no perfect library for you
Recently I tried to update a very old hobby project by adding new features, but sadly in my case these features depended big on an external library, and because of how this library handle their things I just can't make it work for my use case cuz again how the library works, at the end I removed the library and installed anther one that solved my case
Now I will make clear that I'm not blaming anyone here, not even me, devs that creates free libraries created the library for their use case in the first place and then thanks also to contributors (library users) that library became good for the common use cases, it just time that will tell if the library will keep with the updates and not breaking things
So we should be very thankful for the devs that creates free open source projects that tries to make the devs life easier -
In the first place I dont do it that often in private projects because the estimation is always wrong.
At work i just think about best and worst case scenario and the average time it could take. If the the worst case scenario is really time intensive and there are a lot of factors that could go wrong in contrast to the best case, I significantly increase the estimated time for the task. Otherwise its 1/6 best case; 1/6 worst case; 4/6 average time2 -
Just in case there is a member of Squirrel POS Dev. team here... I hope you suffer from a slow and terrible death.
-
A young new dev was working on his first ticket, about a bug during parsing of an uploaded excel file. Our issue was that if the file contained an empty line, all remaining rows were ignored. So the task included extending our tests to cover this case. After 2 weeks (!), his merge request comes in. His idea (without ever asking for help) was to parse the whole file (in some cases huge) in the production code a second time, just to count the rows (!!) and save the count in a public static int field, which was verified in his new test.2
-
It might sound very weird, but after having used Kotlin/Android, RN, and Cordova, to me it feels like Cordova is the fastest when it comes to quickly building a mobile (Android in my case) app that works. It's maybe just because I used RN a couple years ago, but integrating native code with RN was a huge pain compared to how it worked in Cordova.2
-
> picking parts for best possible piecemeal upgrade/sidegrade price with parts made after 2011
> need CPU, mobo, RAM, case
> Ryzen 5 2600, 16? No, 32GB DDR4 of just whatever speed...
> wait, what do you mean new motherboards are $300? Wait.
> Wait, no, how is the one Ryzen motherboard under $100 a shit B450M on sale? The fuck are these prices?
TIL motherboards are volatile as fuck on price. In fact, mobos are less stable in value than most crypto.
Jesus fuck.
(The one B450M i saw is actually now $140-some and a nice X570 is currently $120. Why does the price of these fuckers change *daily?*)
as for case none under $100 are good so i picked some random mostly-mesh ATX mid case over my preferred ATX full case and i'm just gonna pray i can find some fan config that works because at this point i'm done with this shit fuck this, a bottom-barrel mobo, low-tier cpu and a decent case shouldn't be $400 or more12 -
I asked a team member about a simple update for a customer's country/state code and he started saying we should build an event handler and publish and event and I'm like "woah woah... this is before they're engaged."
Thankfully he said, in that case, my original idea of just handling the update is correct. Phew ... that could have been way more complicated than it needed to be.1 -
The most fuckin irritating thing when code is terminated due to timeout of just 4 test cases out of 14 in this case 😥af...but never give up 😎2
-
Just started to get the hang of python (PyQt6). Surprisingly I couldn't find a switch-case syntax. I then saw some blogs with using match-case. Added the code but my ide showed errors: Python version 3.9 does not support match statements. Wtf! Then in S/O there are so many stuff about a "council".HUH?!?2
-
How do case insensitive searches work?
Usually if I needed case insensitivity, I'd probably just store all the keys in lowercase and for searches convert whatever is typed to lowercase.
But what about Google. Can't convert everything to lower.
And if need to check the lower and upper case of each letter, like in a Tree, you would need to go down 2^N paths?20 -
Sooo, today someone who is not my manager or anywhere in the hierarchy leading to me threatened me and told me that I need to prove either one of 2 software solutions providers they're working with to be at fault about an issue or "I will be at risk"... I just kept it to myself and took my things and left.
I didn't want to inform my boss cuz he just took a vacation today and he'd probably break the consulting contract with them.
What would you do in such case?4 -
People making features that has not been asked for and not going to be used, just in case we need it in future.
In this case making a new message queue for deleted audio and putting messages on said queue for every time we delete audio. Not enough with we don't have any uses for it. We also have to pay money for these messages in azure.
Build stuff when you need it. Not when you think you might need it... -
So I just made a deal. I am selling my Galaxy S5 16gb + 16gb mem stick, which is in excellent condition along, with the original flip case and a Spigen slim armor case and a protective screen, for 150€.
I'm replacing it with a Galaxy S6 32gb with a slim case and protective glass along with new headphones and also in excellent condition, for 200€.
For 50€ as true cost to go from S5 to S6, I think it's a pretty decent bargain people and also a nice upgrade. What do you people think? -
Disclaimer: I haven't done much research.
Do you have any good course / tutorial / guide to using Web Sockets with PHP or Node? I'm looking forward to knowing about the matter but I'm just asking here before just in case someone has a good / recommended resource.7 -
Solo Arena Tier List
The most terrible misfortune was versus a steal deck, where the AI not just got 2 assaults in with its 2 flunkies ready, yet 6, really killing me in 1 turn. It was basically impossible for me to eliminate the animals the turn previously (I attempted), and none of my predictions set off. Call it misfortune, or perhaps I had a terrible deck. In any case, isn't solo field waay to troublesome? On the other hand, should the prizes be polished?3 -
Just in case people weren’t aware you can get all syncfusions controls and reporting/data stuff for free under the same terms as the VS community license (ie you can sell anything you make) here https://syncfusion.com/products/...
-
so.. i'm in a call right now and one participant just dropped the info, that it seems to be the case, that someone just switched the elastic/elasticsearch-php repository on github to private - or worse, deleted it.
does anyone has any information about this?2 -
Need to prepare so many stackbliz angular demos just in case some senior review my changes. It's such a fucking pain to talk to this particular individual.
-
Python working non-deterministic on VSCode? That just happened ... somehow, wtf??
Getting a list from a method and comparing its last element with an int value. Always worked before like a charm, didn't change a thing. All of a sudden TypeError, cannot run anymore? Restart VSCode, run again, still not running ... ?? Retry and print the element, in case I've surprisingly actually been an idiot all along ... nope, value looks in print as expected. Continue execution, suddenly condition works again. WTF just happened??? Caching, python extension bug, anything like that to blame?1 -
Sorta just had a realization but wanted to confirm if that's how it works.
@Bean adds the object to global objects collection?
And @AutoWired in a object returned in like @Bean ClassA classA() { return new ClassA(); }
Gets the instance from these global collections?
In which case Spring is just a way to use global variables/singletons... Isn't that like bad?14