Open Side Menu Go to the Top

07-30-2018 , 11:32 PM
I'm gonna be a mentor at this LA node school thing on Saturday: https://nodeschool.io/los-angeles/

Anyone else itt in LA want to come check it out?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
07-30-2018 , 11:43 PM
Quote:
Originally Posted by jmakin
He’s an idiot. I don’t even hate java.
My bad, it just seemed that way you made this lengthy post:

Quote:
Originally Posted by jmakin
after years of being a java devotee, that I think java sucks ass.
...
When something goes wrong in java, who ****ing knows.
...
And then there's all the weird java trickery involved to do things that may seem pretty easy - yea right, try sorting a HashMap by its values.
...
Then I learn hashmaps actually ****ing suck. ConcurrentModificationExceptions whenever you try to modify an object that you're iterating through in a for:each loop is ****ing annoying and I had forgotten about that. HashMap<E> hm = new HashMap<E>(other hashmap) straight up doesn't work sometimes.

My actual breaking point is that there is NO ****ING TUPLE in java. Like that would've simplified the problem so much. Every single other language has it or some super easy way to recreate it - but no, I have to declare my own subclass and implement comparator to get it to work with my program, or include a separate file. Either that or use SimpleEntry in a super strange way that was definitely not intended.

Just such a ****ing pain in the ass. It does some things really well - it's probably always my go to language for any problem involving parsing, because java streams are just so good and Scanner is a truly amazing library. But everything that goes along with it just made me rage hard today, having to learn so many stupid things the hard way wasted me about 3 hours I really could've used working on other stuff. It creates SOOOO many objects and uses so much space to do the simplest things, it's insane.
----------------------------------------------

Quote:
Originally Posted by jmakin
The code example he posted was something I wrote in like 5 mins for a school assignment as an example.
Using a hash shold've automatic in your problem. Don't even need 5 minutes. But interesting how you were brought to your knees in 5 minutes:

Quote:
Originally Posted by jmakin
This Frequency Counter program really brought me to my knees.
----------------------------------------------

Quote:
Originally Posted by jmakin
Using it as an example of me being a “bad dev” or whatever is just absolutely laughable to me.
Well, considering you majored in CS, applied for a software engineering position but was made a PM, says something, no? You even admitted that you weren't a good dev. But when someone else says it, you get all offended?

----------------------------------------------

Quote:
Originally Posted by jmakin
I had this bizarre impression of him as some senior linux C dev or something but then he posted his age
The examples of bad code/design I posted were written by devs with 10+ years more experience than me. Experience is CS isn't measured in years. Another bad dev assumption.

----------------------------------------------

Quote:
Originally Posted by jmakin
and I realized he’s just an inexperienced, opinionated, big headed dev that likes to loftily talk about concepts he doesn’t completely understand.
Look in the mirror.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-30-2018 , 11:44 PM
Oh man, I know next to nothing about Node (or really web dev in general), but would have loved to check it out and say hi. Unfortunately heading back to MN for a week for family stuff and will be gone.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-30-2018 , 11:46 PM
Quote:
Originally Posted by :::grimReaper:::

----------------------------------------------
The examples of bad code/design I posted were written by devs with 10+ years more experience than me. Experience is CS isn't measured in years. Another bad dev assumption.

----------------------------------------------
Holy ****, soooo much this. Half my time the last couple years was spent explaining super simple (at least imo) things to Technologists and Senior Technologists.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 12:23 AM
kato we should hang PM me if you're down, I work downtown.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 12:51 AM


Lol good luck with that. I would never want to do the **** OPS people deal with.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 06:55 AM
Quote:
Originally Posted by suzzer99
You work on embedded systems right? I always assumed performance trumps everything in that world.
Without getting too detailed, thread design to make optimal use of processor time is where effeciency is emphasized. Compiler optimizations for execution speed is relied upon heavily to improve execution times. Considering the type of problems that occur with race conditions and rogue pointers, straightforward code is very often the desired choice.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 07:09 AM
Quote:
Originally Posted by suzzer99
I think that's a little harsh. If nothing else he spawned some interesting conversation.
grim comes off a bit harsh but he did help create a fairly interesting discussion.

ofc, theres no reason to take some throwaway code from jmakin and attack him for it. thats just bs.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 09:47 AM
Quote:
Originally Posted by :::grimReaper:::
You're missing the context. Is it more readable than the efficient/correct/common-sense solution (i.e. the one that uses a hash and doesn't do donky array list remove() and get() etc)?
A hash will always be more efficient and likely more readable. Using a hash vs array, you're likely to remove at least one level of code nesting as well which is one of my big indicators of code smell.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 09:58 AM
Lol and it was a code snippet for a ****ing code golf problem so of course it’s gonna be wonky. If his only complaint about it is that I used an arraylist instead of a hashmap - LOL.

For that particular problem, which I had to code in at least 25 different styles, there were plenty of hashmap implementations. Some of them had problems due to it being a tremendous PITA sorting by values - which is what the problem required. In general if your problem requires you needing to sort something by values it makes less sense to use a hashmap in general and use an array. It’s definitely much messier using a map.

But again, this was a hw assignment (for code golf nonetheless) not production code. But surely a super stable genius like grim can understand this distinction and isnt grasping at straws here.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 10:46 AM
Jmakin, why don't you actually try to learn something instead defending your ****ty code? You act like your 12 years old.

Like I said, not open to improvement or criticism.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 10:58 AM
Quote:
Originally Posted by :::grimReaper:::
Jmakin, why don't you actually try to learn something instead defending your ****ty code? You act like your 12 years old.

Like I said, not open to improvement or criticism.
I usually try to avoid this kind of thing, but I feel like someone should tell you that your entire contribution to this conversation (not just with jmakin, but also with suzzer, e.g. "180k and can't do find_first_repeat in O(n)") is enormously and unnecessarily dickish. You are definitely not in a good position to criticize anyone else for acting immaturely. Speaking of traits that make for good devs, not being an ******* is definitely pretty high on my list. This is all just my opinion of course, you can take it for however little you think it's worth.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 11:46 AM
Quote:
Originally Posted by well named
I usually try to avoid this kind of thing, but I feel like someone should tell you that your entire contribution to this conversation (not just with jmakin, but also with suzzer, e.g. "180k and can't do find_first_repeat in O(n)") is enormously and unnecessarily dickish. You are definitely not in a good position to criticize anyone else for acting immaturely. Speaking of traits that make for good devs, not being an ******* is definitely pretty high on my list. This is all just my opinion of course, you can take it for however little you think it's worth.
I'm not a dev whatsoever, so idk **** about any of that stuff, but I do agree that he seems unnecessarily dickish all the time. It seems pervasive on this site in general. And web discussions in general. I just don't ****ing get it. It's like being online makes everyone mean and angry. People are just so much meaner than they are irl, like they have a license to forego all human decency. I personally find it quite sad.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 01:51 PM
You guys are being too sensitive.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 01:52 PM
Generally this thread avoids that tone, which keeps it lively and doesn't run people off imo. Hopefully we can steer it back in that direction.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 04:28 PM
Lol I'm meeting tomorrow with a guy named D1ck F1ckl1ng about a job (replace the ones with i's obviously - don't really need this showing up on searches). For some reason his emails keep going to my junk mail folder. Can't imagine why.

My buddy introduced us with the Subject: Dick <> Matt. Yeah that's going straight to the spam folder. Glad I noticed it!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 04:30 PM
Quote:
Originally Posted by OmgGlutten!
You guys are being too sensitive.
Exactly.

You don't get to troll and not expect a response from me. Then jmakin starts playing the victim like a little baby. What a joke.

Anyway, moving on.

We should have a separate thread for golf problems. Ideally 1-2 week and short (5-20 lines of python).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 05:04 PM
Quote:
Originally Posted by :::grimReaper:::
Exactly.

You don't get to troll and not expect a response from me. Then jmakin starts playing the victim like a little baby. What a joke.

Anyway, moving on.

We should have a separate thread for golf problems. Ideally 1-2 week and short (5-20 lines of python).
Can you hack it in Python to jam it all on one line or will it complain about the lack of whitespace?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 05:07 PM
I've been meaning to start using python more so I would try to contribute!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-31-2018 , 05:40 PM
Quote:
Originally Posted by Craggoo
Can you hack it in Python to jam it all on one line or will it complain about the lack of whitespace?
You can combine lines with semicolons but obviously you'll be stuck with a single indent level. I was a little surprised by this:

Code:
if False: print 'a'; print 'b'
It does't print anything which seems to imply it's the same as
Code:
if False: 
    print 'a'
    print 'b'
But I thought it would be

Code:
if False: 
    print 'a'
print 'b'
i.e. with print 'b' at the outter level, always getting run.

I don't think you can do if/else on the same line, and nesting ifs will probably get weird if it works at all
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 12:06 AM
Quote:
Originally Posted by :::grimReaper:::
Exactly.
I don't care about the tone per se so my take is a bit different from others' but I do think it's problematic that you feel this way about other programmers and it's probably having a negative impact on your career even if you don't express this at work. Software development is a deep profession with lots of different ways to excel and lots of different types who add value in different ways. Even great people do stupid things - some of my colleagues are world-class at what they do, but it's not uncommon to find terrible code they've written years ago. If you've never written terrible code or never made terrible mistakes, the chance is that you haven't written that much code and not many people are using your software or looking your code.

I've said this before and this is what's challenging about hiring but there are so many things that you could make a plausible argument that everyone should know in order to be a great programmer. You could easiy get like 30-50% of all great programmers to agree that it's completely implausible for someone not to know X and be a great programmer. Yet, if you come up with a set of all such things, you will inevitably find that virtually no one knows everything in that set. You have to know enough of those things, but it's impossible to nail down what you need to know in order to be a great programmer.

So people do what people do - they self-servingly decide that what they do know is something important that every great programmer must know and everything they don't know is unimportant since clearly they are getting by fine without it. People don't know what they don't know and it's impossible to appreciate the importance of what they don't know. The less you know, the more you will tend to judge others by the few things you happen to know. This leads to a black-and-white view of the world where everyone who doesn't know X is a terrible programmer.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 01:38 AM
Candybar, this has been a long discussion, what is exactly is the context of your post? I did clarify if front-end devs hardly write non-trivial algorithms, then understanding code efficiency and how to write good algorithms may not be critical as it would seem. Next, the poor code/design written by senior devs is fair game for criticism. They're expected not to write the type of code I shared or write db schemas as the ones I described. That's the job. But I didn't share those stories as complaint toward coworkers, I shared them to illustrate how working code is not sufficient for it to be considered "good" code. Below is what wrote, to which suzzer asked for examples.

Quote:
Originally Posted by :::grimReaper:::
Of course it is. Just because your code works, doesn't mean it's good (eww). Good code can be defined by many things, but efficiency, readability and flow are certainly a few of those properties. If it's one or two function that was written inefficiently, no big deal, but I would puke if the entire code base was riddled O(n^2) or O(n^3) in areas where code can be written a magnitude faster. Those are the type of devs that I want to keep far away from my code base. If you're not disgusted by this scenario, then you're probably a bad dev.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 08:57 AM
I think it's industry standard for a developer to view any code he hasn't personally written as bad.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 01:20 PM
That's bull****. As long as code has 2-space tabs and doesn't put opening curly braces on the next line, I can be very objective about it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 01:23 PM
I have a round 2 that was going to be a take home assignment. Yay, I finally get some time to think things through and show my mad skillz.

BUT then it turned into this:

Quote:
I spoke to Tom from [Media Corp] and he let me know their architect was recommending a slightly different approach than a coding challenge. He wanted to schedule you on Thursday for a second round skype meeting for about 1 hr with him. He will give him you the test of 5 questions, and let you share your screen… that way he can be there for any questions you may have in regards to the questions asked.
Ugh. Apparently they're also going to send the "test" (recruiter's words probably) 30 minutes ahead of time. That's almost worse.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m