Details
-
Skillsjava, scala, spark, hadoop, javascript, vuejs, react, react native, php, laravel, redis, mysql, postgres
Joined devRant on 12/5/2018
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
-
I would have been paranoid as hell about that and triple-checked it 😂
-
@SortOfTested The funny thing is these variables aren't even used anywhere else!
-
@ethernetzero he'll probably think this is a genius design :)
-
Congrats on leaving for a FAANG.
How long have you been at your current company? -
@-pthread Yeah Java has multiple map implementations in its collections API. An array would work for this, though.
It's sad to see this kind of code. -
@crisz This was from a higher level SWE course where every student should know about exception handling. The course is currently talking about unit testing. Maybe he wrote it this way on purpose to show why bad code makes it harder to test?
Regardless, bad design. The month member is a string instead of an integer, yet everything that operates on month first converts it to an integer using this method. Silly. -
@Kaji WordPress yuck
-
*machine learning*
-
My work has jquery, prototype, scriptaculous, and angularjs 1.7... hahaha. Clearly they didn't think things out when adding all these dependencies.
The managers also rarely ever do code reviews - especially for frontend code - so I could probably add some stupid shit somewhere and nobody or hardly anybody would ever notice it. -
Why switching from intellij to vscode?
I've tried vscode but find myself missing the massive amounts of features and code insight of intellij. -
Do you apply this same reasoning/argument to Python?
I myself always use semicolons in JavaScript, but don't think it's necessarily bad to not use them as long as you're consistent. -
@wifi It makes sense that you can't change it to something of the same value.
But I agree that it should still save even if they're the same. Maybe they should change the check to only check the usernames of accounts other than the current user. -
@neriald I doubt constant text-to-speech processing would be feasible with mobile battery life constraints. While charging? Sure.
Now the question is, where is the evidence for this? Even if it is possible, that doesn't imply this actually happens as TobiSGD said. -
https://devrant.com/static/devrant/...
-
Check out https://regexr.com Has helped me immensely when trying to fiddle with regular expressions.
-
When we first started talking about processes and the terminology surrounding them in my operating systems class this semester, someone said they had a problem with the term "forking a [child] process" 🤣
-
@rusty-hacker We're talking about the claim that Google constantly streams voice data here. Nobody said everything Google does is moral.
-
I only use Vim for git commits
-
@rEaL-jAsE why all JetBrains software? lmao
-
@metamourge oh, I don't use android. But, sure, if you think they're actually constantly streaming voice data I'd be interested in seeing the evidence for this (network activity perhaps; I'm sure this would be a huge data hog).
-
@lxmcf Haha nice. How was the front end Java?
And how did the Java communicate with NodeJS/vice versa? http calls?
My work has a PHP/Java backend that communicates over a SOAP API, which is fairly ... interesting. The Java codebase is older but contains a lot of code of course. -
Component-scoped CSS in JS is where it's at
-
@metamourge I'd love to be a google employee! But not smart enough :D
-
"was written in Java that tied back to a JS backend"
but why -
Has it ever failed to restart?
-
I guess that's the nice thing about php's lifecycle model. No worries about a continually running process with compounding memory issues.
-
@xJvf what's funny is I actually found one of those on a custom blog CMS for my school. I notified them of it anonymously a while ago but they still haven't fixed it. I am able to change the text of any of their articles.
-
Single inheritance is a good thing.
-
Google isn't silently listening to us
-
Wat?