Open Side Menu Go to the Top

11-07-2013 , 06:20 PM
Quote:
Originally Posted by clowntable
The companies I'm referencing usually don't have "managers". It's mostly a pool of devs and/or bizdev folks+a ceo/founders who are often not around all that much because they are travelling all over the place.
You typically get a dev assigned to keep an eye on you but it's pretty much always
1) Short grace period of getting everything up and running, figuring out how the product(s) work(s) from a customer and codebase POV
2) Talking to people, figuring out what you should work on (there may be some task set aside for you but often there isn't)
3) Write some (any) code and see how it fits in
4) Start to grab work from the agile grabbag (or PM tool or whathaveyou)

-> Self-sufficient from the getgo.
Sort of related to this, I was telling someone recently how we all have "managers" even though we're only a 10 person company and we've done that from almost the get go. I got the standard "That's ridiculous overhead!"

But I think its important to regularly talk to someone about:

1. How its going.
2. What you're working on (Is it interesting, Is it challenging, would you prefer to work on something else, etc.)
3. General problems, concerns, ideas, etc.

All of these are totally worth the 10-30 minutes every couple of weeks a standing meeting takes.
** 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 **
11-07-2013 , 06:41 PM
@Xhad,
I'm not a ruby expert but I tend to use lambdas. I see it as assigning a function as a value and that upon calling the thing that it's assigned to it will get evaluated at the time of calling.

That might be completely wrong but in the cases I've used it, it did work as expected. I use them in rails sometimes on scopes where I want to perform a query based on a time but the time needs to be executed at the time of executing the entire scope.

Btw this SO answer might be of interest:
http://stackoverflow.com/a/18388858/709091

It shows the alternative/shorter syntax of using lambdas if you're running a modern version of ruby.

Inline code for easier viewing:
Code:
Ruby < 1.9 
p = lambda {a+b+c}  
p = lambda {|a,b,c| a+b+c}

Ruby >= 1.9 
p = -> {a+b+c}  
p = -> a,b,c {a+b+c}
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 06:42 PM
Pro tip: In chrome, if you have the developer tools open (F12), right clicking on the refresh button gives you 3 options:

Soft reload
Hard reload
Empty Cache and Hard reload
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 06:50 PM
Well, if you guys care at all...This morning when I came in I was in the kitchen making coffee and the COO came in and we were bull****ting for a bit, he's a very approachable guy so I just came out and asked him "ya know I'm kind of unsure who I should be reporting to the next two days now that xxxx isn't here." He very nonchalantly said to just go right to the VP of Software Dev (another very approachable guy who eats lunch with us every day).

So into his office I went and then he had me sit with one dev for the morning, and another dev all afternoon. I basically just watched them work and they just described what they were doing as they were doing it. I learned a ton and it was way more enjoyable then clicking around on my own!

From talking to those two devs I think I just happened to start at an awkward time for a new hire w/r/t where they are at in the quarterly release process.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 07:51 PM
Quote:
Originally Posted by MrWooster
Pro tip: In chrome, if you have the developer tools open (F12), right clicking on the refresh button gives you 3 options:

Soft reload
Hard reload
Empty Cache and Hard reload
Someone tells me this every so often, I think its the best tip ever, and then some how I just forget about it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 08:06 PM
Quote:
Originally Posted by jjshabado
Someone tells me this every so often, I think its the best tip ever, and then some how I just forget about it.
Side effect of clearing your cache too much

(Sorry)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 09:08 PM
Well played!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 09:56 PM
Why the **** does lambda have to be "lispy"?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 10:19 PM
Quote:
Originally Posted by daveT
Why the **** does lambda have to be "lispy"?
The very name is a historical accident inherited from Lisp. The only reason to use it is inertia, so if it does nothing lambdas are expected to do in every other language that has them then I don't know why it's there.

EDIT: And to be fair I was calling .map, .reduce, .filter Lispy. ;P

EDIT2: I started to write up an explanation why this annoys me so much and I seriously broke a thousand words. But honestly, how is there no construct in this entire language that lets me do this:

Code:
f = #{some expression}
x = #{some other expression}

f(x)

Last edited by Xhad; 11-07-2013 at 10:26 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 11:03 PM
Quote:
Originally Posted by Grue
ugh I'm addicted to codewars for some reason.
This site sucks. I can't even get the allowance to enter.

Interesting to note that there is a meetup here in LA that is partly thrown by this group. I can't ever make it, unfortunately.

Quote:
Originally Posted by Shoe Lace
@Xhad,
Code:
Ruby < 1.9 
p = lambda {a+b+c}  
p = lambda {|a,b,c| a+b+c}

Ruby >= 1.9 
p = -> {a+b+c}  
p = -> a,b,c {a+b+c}
Lambda is simply an abstraction for an anonymous function. If you can evaluate this example as p(1, 2, 3) => 6, then that is a lambda in the "Lispy" sense.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 11:22 PM
You can't. p.call(1,2,3) is as close as it gets, and I guess later versions added the shortcut p.(1,2,3) (notice the dot) so you can squint and pretend it's a function, until you try to do anything with it except call it. And you can't pass it to Ruby's fake "higher-order functions" either.

(you're going to make me post that 1,000 words aren't you)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-07-2013 , 11:23 PM
Color me Python, then...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 02:05 AM
Quote:
Originally Posted by Xhad
(you're going to make me post that 1,000 words aren't you)
I do language bashing as a joke: even Lisp isn't sacred to me. I never found proselytizing and one-upmanship enlightening and honestly, I find it irritating more often than not.

All languages were born to solve some certain problem the creator had and it probably solves said problem very well. There is an inherent philosophy of any language, and I think there is much to be said about appreciation and understanding. Sure, every language has it warts, even young ones like Clojure. The fact that 90% of any language that isn't meant to be a Turing tar-pit is usable at all is an incredible feat. Saying "x looks weird" or behaves in a way you don't agree with on first blush serves no real purpose.

I think it was candybar who elucidated well on this one in a semi-debate I had with him before irt to F# and OCaml (I think those were the langauges).

I don't think Ruby was ever meant to have functional constructs. I think that the dot-notation holds well to its pure OO philosophy. I do prefer the call-dot more, since it is easy to miss the lone dot, but as someone who knows no Ruby, I guess I'm not used to reading it so it'd be very easy for me to miss. I can't speak for more experienced people.

I do have some issue with poor semantics, in particular defining "let" on global variables, but that doesn't hold much water if the language is well-thought out.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 04:01 AM
Quote:
Originally Posted by daveT
I don't think Ruby was ever meant to have functional constructs
you're wrong.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 10:19 AM
I'm looking for something that will let you use your browser but temporarily disable all url completion, history, current cache, etc.

Basically its what I want to use when I'm doing a public demo with my laptop. I don't want to clear my cache or anything but I'd prefer people don't see personal links I go to (like a 2+2 link entitled "Watch man have sex with female walrus").

I found a few things online but wondering if anyone has any good recommendations.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 10:25 AM
I use Chrome for primary browsing, if I need to what you describe I usually use Firefox and wipe everything on it first.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 11:15 AM
Portable edition firefox is great for this, can just unzip to different folders and they all stay contained within (like the good old days, hate appdata)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 12:11 PM
shabby,

i can't believe you don't know about incognito mode, so that must not do what you want?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 12:18 PM
For me incognito still gives address bar auto complete
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 12:28 PM
ah.

how about just a separate profile? i know firefox can do this and i think chrome can too.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 12:38 PM
Quote:
Originally Posted by tyler_cracker
ah.

how about just a separate profile? i know firefox can do this and i think chrome can too.
Ah, I think this is the answer I'm looking for. Creating a presentation user seems like it'll work well.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 02:00 PM
Quote:
Originally Posted by Gullanian
For me incognito still gives address bar auto complete
It will still give you autocomplete for bookmarks, but not browsing history.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 02:35 PM
I get autocomplete for browsing history. Or at least for URLs that I have manually typed in.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 03:01 PM
Quote:
Originally Posted by jjshabado
I'm looking for something that will let you use your browser but temporarily disable all url completion, history, current cache, etc.

Basically its what I want to use when I'm doing a public demo with my laptop. I don't want to clear my cache or anything but I'd prefer people don't see personal links I go to (like a 2+2 link entitled "Watch man have sex with female walrus").

I found a few things online but wondering if anyone has any good recommendations.
CTRL+SHIFT+P in Firefox?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
11-08-2013 , 03:12 PM
Quote:
Originally Posted by Gullanian
I use Chrome for primary browsing, if I need to what you describe I usually use Firefox and wipe everything on it first.
This.
** 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