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

06-13-2014 , 01:29 AM
Quote:
Originally Posted by daveT
????

I just mentioned that we are exploiting her and I am divided about how to feel about this.

The gel comment being that I must be the spiky-haired boss now.
daveT and db girl sitting in a tree...

Spoiler:
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2014 , 01:39 AM
That was unexpected.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2014 , 02:09 AM
Ask her much shes enjoying the challenge and the learning process.

Ask her what support she neeeds

She if she wants to pussyout of the challenge or stick at it.

Then either reduce her workload or more importantly find a way to develope her skills even more. Then start paying her up when she starts overdelivering.

Also pics or gtfo.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2014 , 03:27 AM
Quote:
Originally Posted by TopPair2Pair
Ask her much shes enjoying the challenge and the learning process.
The only reason she hasn't left yet is because she is truly enjoying the job so far. I always try to protect my trainees from the really bad stuff and try to keep everything as interesting as possible at first, so when they do land in the trash, it isn't as shocking.

She's a special case because no one else has had her job, I created the position, and I chose to hire her.

Quote:
Ask her what support she needs
I definitely keep tabs on this subject, though she's the type who will want to do everything herself.

Quote:
She if she wants to pussy out of the challenge or stick at it.
If anything, she tends towards over-engineering. I always remind her of YAGNI and the fact that we aren't trying to build an enterprise system. Her answer, "Well, it might become one."

On her first day, she said something like: "You know, we have to think about what's going to happen when these tables start to get big..." and started talking about sharding and scaling.

Another conversation went something like "We should always use psuedokeys because that makes indexing faster." That idea got crushed in 3 seconds flat.

She's certainly up to any challenge I could give her. The more difficult things become, the more interested she becomes.

Quote:
Then either reduce her workload or more importantly find a way to develop her skills even more. Then start paying her up when she starts over-delivering.
I've stood back and acted as a support role in getting the design to represent the problems, loading data correctly, etc, so she can focus more on programming and developing that skill. I ended up showing her some of my personal projects to assure her that I'm not a total idiot. She sometimes asks me to write procedures, triggers, and views, though I think this is her challenging my position more than her needing my support.

I know I make her sound a difficult. I just find the anecdotes entertaining.

I think that this project is a touch above her abilities, which is great. Part of it is a result of making things a little harder on herself, I think.

I don't have any control over pay. She's already over-delivered, but that is her personal drive and desire to be appreciated. What happens to the money isn't my business. Of course, if asked, I'll give an opinion.

Quote:
Also pics or gtfo.
Are you sure? She's north of 200 lbs.

Last edited by daveT; 06-13-2014 at 03:29 AM. Reason: not fat, actually...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2014 , 05:03 AM
Pics of chicken thighs imo? And then ill gtfo... lol!!

She sounds like a good knowit all egg.

Harness and buckle up imo!!

A thank you card or a random cupcake always works well imo if u have no power to pay up if she delivering above pay grade.

Last edited by TopPair2Pair; 06-13-2014 at 05:16 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2014 , 03:01 PM
Anyone ever had a problem with an angularjs app not loading on IE9+?

Like my production app is working fine with chrome/firefox/safari, but is bricking on IE10/11 (on my friend's PC too).

I thought all this stuff was pretty well streamlined at this point? The error I'm getting is "TypeError Object doesn't support this action at Anonymous function"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2014 , 03:26 PM
https://docs.angularjs.org/guide/ie

Looks like you have to include some extra stuff and can't use some directives. IE is trash.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2014 , 04:20 PM
Quote:
Originally Posted by e i pi
https://docs.angularjs.org/guide/ie

Looks like you have to include some extra stuff and can't use some directives. IE is trash.
but it's ie11, not 8. So weird.

Agree with the trash part

edit: didn't realize it needed this stuff for every version... seems like that'd be a bigger deal since people do use like IE11

double edit: I don't have to do this for modern IE, I just have some weird crippling bug. I'm not supporting ie8 anyway

Last edited by Nchabazam; 06-13-2014 at 04:47 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2014 , 07:46 PM
Quote:
Originally Posted by daveT
Another conversation went something like "We should always use psuedokeys because that makes indexing faster." That idea got crushed in 3 seconds flat.
lol
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2014 , 09:58 PM
Quote:
Originally Posted by TopPair2Pair
Pics of chicken thighs imo? And then ill gtfo... lol!!
This needs to go the hacker news pronto!

Quote:
She sounds like a good knowit all egg.

Harness and buckle up imo!!
She is a know-it-all, and it is as obnoxious as you think.

Quote:
A thank you card or a random cupcake always works well imo if u have no power to pay up if she delivering above pay grade.
In before "and a diamond ring!"

Quote:
Originally Posted by n00b590
lol
By 3 seconds, I meant 3 days...

***

edit to add: One thing she is not used to dealing with is messy data, and the data we have is probably the most rotten messiest data you can ever conceive. Just beyond explicable. I've explained look-up-tables to her until I was blue in the face. She was horribly upset that she isn't able to create a clean and beautiful system. This is the biggest challenge for her so far, and yeah, the solutions are ugly, but then again, what to do?

Last edited by daveT; 06-13-2014 at 10:07 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-14-2014 , 01:24 PM
How do you write in a more "functional" style without writing functions that take like 5+ arguments? Is that a sign I'm doing something wrong?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-14-2014 , 02:09 PM
Quote:
Originally Posted by e i pi
How do you write in a more "functional" style without writing functions that take like 5+ arguments? Is that a sign I'm doing something wrong?
"It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures." —Alan Perlis

"If you have a procedure with 10 parameters, you probably missed some." —Alan Perlis

Have a piece of code you'd like to share?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 11:15 AM
re: Google Chrome browser

i assume that when I'm browsing with Chrome, that Google is tracking all of my page views so that it can serve me more targeted ads or something like that. does 'Incognito Mode' prevent that? do people browse in 'Incognito Mode' always?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 05:36 PM
Quote:
Originally Posted by daveT
Have a piece of code you'd like to share?
b b but it's not ready to be seen

Actually I refactored it down to taking only 3 arguments. Pretty good indicator you're violating the single responsibility principle when you have the word 'and' in your method names.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 05:51 PM
But I am still curious if this is a code smell or not, although I was able to get rid of it in my program,

Code:
#ruby

bigHash = functionA(bigHash, X)
bigHash = functionB(bigHash, Y)
bigHash = functionC(bigHash, Z)
it looks goofy to me
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 07:14 PM
No one can comment intelligently on that code without more context.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 07:55 PM
Quote:
Originally Posted by e i pi
b b but it's not ready to be seen

Actually I refactored it down to taking only 3 arguments. Pretty good indicator you're violating the single responsibility principle when you have the word 'and' in your method names.
I don't know why a calling functions in FP would have inherently different properties than calling functions in procedural or OO.

If you have this issue, you may want to consider using maps or lists as arguments. You may have other structural problems with the code.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 09:26 PM
potential silly question here:


working on a JAVA program GUI. I want to have all the text be the same color.

Initially I went with WHITE, but have since decided that I want to go with LIGHT_GRAY (or at least try out potential other colors)

essentially I have set the color like this:

yourLabel.setForeground(Color.WHITE);

for every single label I have (there are a lot).



so now, outside of going through every label and changing WHITE to LIGHT_GRAY, is there a way I can set a final variable textColor or something so I can only change one thing and have that change all the text colors?


I have tried googling but haven't had much success.


If you need to see code to understand you can find it here. thanks in advance!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 10:07 PM
Not sure if I understand what you want to do 100% but you probably want something like

public static final Color TEXT_COLOR = Color.LIGHT_GRAY; // or private

Then replace all Color.LIGHT_GRAY with TEXT_COLOR. Then you can change all the text by simply changing TEXT_COLOR in one place.
If you use Eclipse you can highlight Color.WHITE etc. and rightlick Refactor->Rename it to TEXT_COLOR (or ALT+SHIFT+R)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 10:22 PM
yes thats exactly what I was looking for, derp on me for not realizing it was that easy


ty so much sir
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 10:27 PM
So I just signed up for the pre-calc class online at the local JC. First time using mathlab.. so this must be what all the cool kids are using eh?

Anyways, I like this online format, professor opened up 2 weeks of HW/Quizzes and it's more of a self-pace, self-teach class, which I like.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 10:53 PM
Only used Xcos/Scilab. Always wanted to try Matlab (and Octave) but never got around to it
Strange attractors are fun.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-15-2014 , 11:44 PM
I actually learned Python solely to avoid MATLAB
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2014 , 12:34 AM
Quote:
Originally Posted by Barrin6
First time using mathlab.. so this must be what all the cool kids are using eh?
definitely not. i think the cool kids are using julia these days. and the meta-cool kids are using fortran.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2014 , 12:40 AM
Quote:
Originally Posted by Xhad
I actually learned Python solely to avoid MATLAB
I guess you should've learned Julia or Fortran instead.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m