Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

08-09-2016 , 06:22 PM
Quote:
Originally Posted by KatoKrazy
I don't really do a lot of coding in my spare time, and my employer (and specifically my non-disclosure agreement) certainly wouldn't let me show you code from work.

If you want to see how they write code, perhaps you should assign them some sort of task to complete in between a first and second interview or something?



Wat? Isn't that basically what a resume is? I mean, I would probably get a little more specific about the skills I have and how they were applied in previous roles, but what exactly is it you are looking for in a resume?
Again its just culture stuff that will never change but it just makes sense to me to do everything possible to show you can do the job and they don't at all. Not going to keep ranting on this though.

As far as the resume thing though - India resumes are literally just their name, education, list of supposed skills (bullet points) and then where they worked and what the company did, not what the applicant's did there or what they worked on or even the product, just the general what field the company was in basically. I guess its some prestige thing? I have no idea what these companies are or care. I've gotten 4 page resumes of page after page of stints that is 100% meaningless to me. Weird.

And disagree re: look at code I've had several interviews in the last few months that literally was an hour of talking about my current side project (full stack JS react redux websocket app).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-09-2016 , 06:42 PM
What's so bad about using underscore? I get not wanting unnecessary dependencies, but if it's already part of the codebase, what's the issue?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-09-2016 , 09:20 PM
Quote:
Originally Posted by suzzer99
He said that was his first code ever. So he must have inherited the variable name.

I agree with you that native JS is better than underscore. But I wouldn't hold it against some developer like they're incompetent for using underscore. Maybe they've been working with underscore since before there was much browser support.

If anything I was impressed they know how to use map at all. Most of our offshore devs would just use a for loop and populate a new array. I'd be overjoyed if I saw one using .map or _.map
I could list a bunch of reasons why this is certainly not the case. You like typing Object.hasOwnProperty a lot? fan of the typeof operator? etc
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-09-2016 , 10:45 PM
Quote:
Originally Posted by Grue
And disagree re: look at code I've had several interviews in the last few months that literally was an hour of talking about my current side project (full stack JS react redux websocket app).
That's interesting. I never once discussed my code or projects with an interviewer. The times it was even mentioned by the interviewer unsolicited is so rare that I can recite each time, starting and ending with "I looked at the source and didn't understand any of it." <- Clojure.

Not that I've never brought up my own stuff or used it as examples of applied concepts, but always move on quickly. They never knew what project I was talking about. idk.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-09-2016 , 10:46 PM
Quote:
Originally Posted by blackize5
What's so bad about using underscore? I get not wanting unnecessary dependencies, but if it's already part of the codebase, what's the issue?
see my earlier comment, sure it's defensible in some cases.

it's just that it's probably symptomatic of either 1) coding without thinking ("this is a case for map, hence i use underscore" rather than "there's no need for underscore, built in map works fine and looks better") or 2) not knowing your language well ("normal arrays have a map method!?!)

also, since i discovered ramda, i like to hate on underscore with smug superiority -- it's one of the best features of the library!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-09-2016 , 11:05 PM
Quote:
Originally Posted by blackize5
What's so bad about using underscore? I get not wanting unnecessary dependencies, but if it's already part of the codebase, what's the issue?
nothings wrong with underscore but _.map _.filter _.reduce is pointless/slow for anything not supporting IE8.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-09-2016 , 11:17 PM
On devs from India, I just have to state that I mostly see code I would consider high quality when I think about it. Being of Indian descent isn't something I even consider really. Seems wrong to make broad generalizations based on ethnicity.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-09-2016 , 11:20 PM
A quick scan of our node code shows we're using lodash mostly for cloneDeep, isEmpty and each (which should be replaced by forEach). A few scattered includes, omit, sortBy, merge.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-09-2016 , 11:22 PM
Quote:
Originally Posted by adios
On devs from India, I just have to state that I mostly see code I would consider high quality when I think about it. Being of Indian descent isn't something I even consider really. Seems wrong to make broad generalizations based on ethnicity.
Not sure what everyone else is talking about but I'm talking about offshore/onshore devs through our "offshore partner". I'm not remotely making any broad generalizations about devs of Indian descent. I work with quite a few regular employees of Indian descent who are very good devs.

Don't get me started on the Hawaiians though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-09-2016 , 11:29 PM
Quote:
Originally Posted by adios
On devs from India, I just have to state that I mostly see code I would consider high quality when I think about it. Being of Indian descent isn't something I even consider really. Seems wrong to make broad generalizations based on ethnicity.
i've had poor experiences. but i don't infer anything about ethnicity based on that. instead, you have a ton people in a poor country where remote software engineering represents a good economic opportunity. so you have a lot of people getting jobs in that field who otherwise wouldn't, and who don't necessarily like it, and don't put much effort into it. it's not dissimilar to the "become a software developer and get rich" promise offered by code bootcamps in this country -- and i have the same stereotypes about those. ofc in both cases i'm always open minded to be proven wrong by a particular person.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2016 , 01:15 AM
Quote:
Originally Posted by gaming_mouse
also, since i discovered ramda, i like to hate on underscore with smug superiority -- it's one of the best features of the library!
Which one, feature of no underscore or smugness?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2016 , 06:46 AM
Quote:
Originally Posted by suzzer99
Not sure what everyone else is talking about but I'm talking about offshore/onshore devs through our "offshore partner". I'm not remotely making any broad generalizations about devs of Indian descent. I work with quite a few regular employees of Indian descent who are very good devs.

Don't get me started on the Hawaiians though.
My comments apply to offshore, H1B, green card, and US citizens. Perhaps your company was just looking to get by on the cheap. We have some contractors on H1Bs that do absolutely excellent work. I never thought about it that much until the topic was brought up here. I started thinking about it and I just haven't had the same experience. Maybe ut is just the problem domains that I am involved in. Language/communication can be a problem for sure. I am sure there are plenty of poor developers too.

Quote:
Originally Posted by gaming_mouse
i've had poor experiences. but i don't infer anything about ethnicity based on that. instead, you have a ton people in a poor country where remote software engineering represents a good economic opportunity. so you have a lot of people getting jobs in that field who otherwise wouldn't, and who don't necessarily like it, and don't put much effort into it. it's not dissimilar to the "become a software developer and get rich" promise offered by code bootcamps in this country -- and i have the same stereotypes about those. ofc in both cases i'm always open minded to be proven wrong by a particular person.
Ok but a lot of people are actually quite talented too with similar backgrounds. This seems more about trying to get by on the cheap more than anything else but maybe it is the different problem domains, embedded vs. web development. Web development seems more abstract, more varied, more ways to actually develop a solution. Not sure.

Last edited by adios; 08-10-2016 at 06:55 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2016 , 12:03 PM
Our offshore partner can produce competent Java devs pretty easily, but struggles with good JS devs and really struggles with good CSS devs. We basically have to train the latter 2 from the ground up.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2016 , 12:30 PM
Quote:
Originally Posted by suzzer99
Our offshore partner can produce competent Java devs pretty easily, but struggles with good JS devs and really struggles with good CSS devs. We basically have to train the latter 2 from the ground up.
it's truly amazing how hard it is to get good at CSS/html, given that it's just a formatting / layout language. it's a testament to how poorly designed it is.

i remember one of the inventors of CSS did an AMA on hackernews, some professor from some Scandinavian university. everyone is just going along, thanking him, complimenting him. and i'm thinking, "wtf? you should be getting tried for a crime." everyone rages about how the wallstreet bankers got off scott free after the mortgage crises. the amount of developer hours wasted because of the bad design of CSS has to be at least in the hundreds of millions, and much more likely billions. even after adjusting a big portion of the blame onto the browser vendors for the inconsistent implementations.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2016 , 04:40 PM
It's amazing how many blank looks I get from frontenders when I say that.

What's the first thing every competent web programmer does when he encounters CSS? Writes a super-css language that compiles to CSS. CSS sucks so hard.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2016 , 05:17 PM
Quote:
Originally Posted by RustyBrooks
It's amazing how many blank looks I get from frontenders when I say that.
reminds me of

Quote:
Originally Posted by DFW
There are these two young fish swimming along, and they happen to meet an older fish swimming the other way, who nods at them and says, "Morning, boys, how's the water?" And the two young fish swim on for a bit, and then eventually one of them looks over at the other and goes, "What the hell is water?"
Quote:
What's the first thing every competent web programmer does when he encounters CSS? Writes a super-css language that compiles to CSS. CSS sucks so hard.
are you thinking of casey muratori's blog? awesome and hilarious
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-11-2016 , 02:02 AM
Yeah so much of CSS is just ground-up awful. Back when I started web programming like a decade ago there were these "omg look what you can do with pure CSS!" sites and everyone was talking up CSS. The reality back then was that CSS was so bad that tables-based design was the correct business choice. All the talking up of CSS was developers with Stockholm Syndrome trying to convince themselves that the hours they spent learning awful hacks and arcane tricks to do basic things with CSS wasn't wasted time.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-11-2016 , 02:36 AM
DHTML FTW!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-11-2016 , 06:36 AM
Quote:
Originally Posted by bex989
Which one, feature of no underscore or smugness?
http://ramdajs.com/0.21.0/index.html

maybe a bit of both?

I stopped reading here: we're not porting over all of the Clojure functions

j/k
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-11-2016 , 01:05 PM
Well the startup I negotiated at $85/hour just offered me full time at about 80% of my current salary (which is at the top of the market) + 2% of the company. They beauty is I don't have to quit the day job and they know day job meetings might have to come first.

Lol - 2 "full time" jobs here we come.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-11-2016 , 01:55 PM
Quote:
Originally Posted by suzzer99
New proposed standard at my company:



I dunno guys, let's not rush into things.
Amazing. Hard to imagine but I'm sure there's some PCs in Africa or south America still running Netscape in Windows 95
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-11-2016 , 01:55 PM
I feel like I could write a daily WTF article about the project I've taken over at my new job. People like to bitch about mongo, but I like it fine. However, the way it's being used here is just crazy.

The site is in django. They use some django modules to manage users, such as allauthor, django-avatar, the lastseen module, etc.

But they also have a user object in mongo that has all the custom-to-our-site stuff. Among other things this has atrocities such as... if you "subscribe" to another user, then it opens the mongo document, appends his user id to a list in the doc, and saves it.

Then if you create an object, let's call it a comment, it puts your user id and your *username* in the comment - because looking up the usernames individually for each comment would be expensive. This means if you change your username, you have to update every mongo object you've touched, because it'll have your old user name in it.

Add on to this a broken post-save hook that had this
if instance.username is not user.username:
... do a big long ****ing thing that updates username in all those objects

Except "is not" is not like !=, it wants them to be the same *object* not the same value. So it ran this every time.

Therefore, every time you log into the site, it updates your last-logged-in field, which triggers it to update everything you've ever created, to replace your username.

I found out about this because a user complained it took 60 seconds to *log in* to the site. I looked in newrelic and yeah, holy ****, it was doing hundreds of database writes and what not.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-11-2016 , 02:02 PM
lol thats pretty funny. I like Mongo but the relational model seems to keep ppl slightly more on the correct design path. Were using Mongo but in a lot more relational manner. Although the nested docs are nice, updating them can be annoying
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-11-2016 , 02:08 PM
A startup I talked to a few years ago which was MEAN stack, ripped out all their mongo and replaced it with postgres. The lack of schemas and a way to enforce referential integrity was the deal-breaker. He said it was just getting too hard to manage. He said he could use mongoose with node, but there were/could be non-node clients accessing mongo as well.

Last edited by suzzer99; 08-11-2016 at 02:18 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-11-2016 , 02:09 PM
Transactions and unique constraints would solve a lot of random bugs weve had. Its supposed to be easy to just mock stuff up quickly without a schema but the library were using for scala pretty much enforces a hard coded schema anyways so its not really all that flexible
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m