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

12-14-2015 , 08:45 AM
Quote:
Originally Posted by Grue
Yeah dude you're a superstar. I thought I was proud of my 21 star jquery plugin.
When I think superstar, https://github.com/tj comes to mind.

To get stars you just need to spread the word about your projects to the right audience. Like if you wrote something for Rails, then post it in on /r/rails, blog about it, maybe even create a Youtube tutorial on using it. Once you have enough projects like this, people just organically find your stuff.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 10:06 AM
Anyone know where I can read about writing a search algorithm for a search bar and sql? I.e. I have products, a user searches for some, product name like %query% is pretty gross but I have no idea what else is done usually
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 10:18 AM
Quote:
Originally Posted by PJo336
Anyone know where I can read about writing a search algorithm for a search bar and sql? I.e. I have products, a user searches for some, product name like %query% is pretty gross but I have no idea what else is done usually
You don't have to write that algorithm. Full text search is how you describe this problem and databases like Postgres do it really well.

Skim this:
http://rachbelaid.com/postgres-full-...s-good-enough/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 12:11 PM
Quote:
Originally Posted by Shoe Lace
You don't have to write that algorithm. Full text search is how you describe this problem and databases like Postgres do it really well.



Skim this:

http://rachbelaid.com/postgres-full-...s-good-enough/

God bless you sir. This is perfecto
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 06:31 PM
Quote:
Originally Posted by kazana
Here's a few questions for you GitHubers out there (I obviously am not one.)

What is the point of having a GitHub profile other than having a showcase portfolio where you are probably reinventing the wheel with regards to methodologies used for web based applications?

In other words, for someone like me who develops backend systems and non-web software, should I consider getting a profile up there? And if so, why?

How is that better than, say, going to dev meetups locally?

Is your location a consideration (I'm based in Australia) in the decision whether to have a profile or not?

My main concern is that it does not seem worth the time to keep a profile in such a state that it stands out. It would take considerable time and effort to keep it updated. As an outsider, it sounds like keeping a blog, just with code being the center piece.
And, to be honest, I cannot see myself contributing anything that has not been done before. I am also fairly allergic to reinventing the wheel. That may or may not be a character flaw of mine.
Good place to store random stuff like dotfiles or my OS X tea timer script :P
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 07:20 PM
Quote:
Originally Posted by gaming_mouse
If you want a real IDE for ruby, use RubyMine. It will complete the ends of your ifs as well as just about anything else you can imagine.

Also, you should almost never have a reason to write an if block that contains an end like that if you're writing idiomatic ruby.
Can you clarify? No style guide I've ever seen has suggested that

Code:
if foo
  bar
  baz
end
is bad. Unless your argument is that this can be refactored to something like

Code:
bar_and_baz if foo
in which case I'd argue you'll still pretty often need to use the former style because of line length style guide considerations (especially when there is an else clause)

+1 to RubyMine though. I use RubyMine with the vim plugin and love it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 09:57 PM
Quote:
Originally Posted by blackize5
Can you clarify? No style guide I've ever seen has suggested that

Code:
if foo
  bar
  baz
end
is bad. Unless your argument is that this can be refactored to something like

Code:
bar_and_baz if foo
in which case I'd argue you'll still pretty often need to use the former style because of line length style guide considerations (especially when there is an else clause)

+1 to RubyMine though. I use RubyMine with the vim plugin and love it.
it wasn't a style comment in the sense of the ruby style guide.

if you are writing block level if else code, you are thinking procedurally, and you aren't using ruby to its full capacity, even though ruby supports that style of programming too.

concretely: use the ternary operator with short expressions, or use the post-expression if, as you did. but ofc methods with "or" and "and" in their names are a code smell too.

this rule forces you to aggressively name your concepts, even small ones. you'll think harder about what you're doing, and your code will be more readable, and have one level less indentation.

essentially, multiline, block style if else statements (aside from being physically ugly) are like junk drawers for cluttered thoughts. nesting them should be punishable by death.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 10:47 PM
Holy hell is AOC Day 7 hard to do in Rust.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 11:35 PM
In today's "lol recruiters" report, I received an unsolicited job posting from a recruiter for a large company in my area for my current position (lead dev). I responded (more or less verbatim):

"I'm only interested in leaving my current position if I were to receive an offer I couldn't refuse. Please respond with a number for yearly compensation that a top talent for this position would expect to receive."

and I get of course nothing. Is that really that unreasonable of a response?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 11:37 PM
sounds like they're trying to get rid of ya
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 11:41 PM
Meh. Why would they move forward with someone like that?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 11:57 PM
Because they want top talent?

Last edited by Grue; 12-14-2015 at 11:57 PM. Reason: and I could fool them into thinking thats me.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-14-2015 , 11:59 PM
Quote:
Originally Posted by Grue
Because they want top talent?
not that bad
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 12:04 AM
I think it is a perfectly valid question and getting no response is just a reflection of how terrible recruiting is in general.

He is the one receiving an unsolicited job posting that fits his description. That should easily be a top 3% response.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 12:08 AM
Quote:
Originally Posted by Larry Legend
I think it is a perfectly valid question and getting no response is just a reflection of how terrible recruiting is in general.

He is the one receiving an unsolicited job posting that fits his description. That should easily be a top 3% response.
if you're just having fun with them, sure. i can't imagine that response leading to a job offer, though, even if the company is looking.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 12:27 AM
It's a valid response in a general sense. But it's written in the completely wrong way. We're desperate to hire people but a response like that wouldn't get a response. We're not interested in hiring people with that type of attitude and continuing the discussion with someone like that is likely to not go well.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 12:40 AM
Quote:
Originally Posted by Grue
In today's "lol recruiters" report, I received an unsolicited job posting from a recruiter for a large company in my area for my current position (lead dev). I responded (more or less verbatim):

"I'm only interested in leaving my current position if I were to receive an offer I couldn't refuse. Please respond with a number for yearly compensation that a top talent for this position would expect to receive."

and I get of course nothing. Is that really that unreasonable of a response?
A good chunk of recruiters I've replied to haven't responded no matter what I say. I think a lot of them just shotgun blast to a million people then look up what you actually do if you reply.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 12:42 AM
Well ok that's fine I just don't see it as that aggressive after years of dealing with recruiter bull****. I phrase it "nicer" and I'll get the standard "well what are you making now and what do you want to make" crap.

But I guess you're right since I didn't get a response.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 12:42 AM
Quote:
Originally Posted by jjshabado
It's a valid response in a general sense. But it's written in the completely wrong way. We're desperate to hire people but a response like that wouldn't get a response. We're not interested in hiring people with that type of attitude and continuing the discussion with someone like that is likely to not go well.
The flip side of that is I've actually had the recruiter/hiring manager/startup founder seem miffed when I talk to them for a while, maybe a phone interview, then tell them I have a couple bonuses coming up and probably am not going anywhere until those kick in (unless they want to offer me Netflix money of course).

You can't really win in that spot. Either you sound arrogant up front, or they accuse you of wasting their time (which the startup founder did indirectly on his linkedin blog).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 12:55 AM
Quote:
Originally Posted by Grue
Well ok that's fine I just don't see it as that aggressive after years of dealing with recruiter bull****. I phrase it "nicer" and I'll get the standard "well what are you making now and what do you want to make" crap.

But I guess you're right since I didn't get a response.

Recruiters suck. But the way you treat them can reflect on you to the people paying the recruiter.

I look it at this way. If you're not interested, don't burn a bridge (regardless of how useless the bridge likely is) and just ignore the offer.

Or if you're even remotely interested play the game a bit. I'm fine with the spirit of what you said but don't make it just about money (like, at least ask about the position in one way or another) and lose the attitude a bit.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 12:58 AM
I went to the meetup. I was drunk as **** and still rather smashed right now (hooray 6th street!).

This one lady and I were talking about it. As soon as you say "data analysis" or "database," they scurry off. Why is that?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 02:43 AM
i mean i'm not a part of the job market but i don't see that as an unreasonable response to an unsolicited recruiter pitch. isn't there some kind of expectation of give and take?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 03:10 AM
Quote:
Originally Posted by gaming_mouse
it wasn't a style comment in the sense of the ruby style guide.

if you are writing block level if else code, you are thinking procedurally, and you aren't using ruby to its full capacity, even though ruby supports that style of programming too.

concretely: use the ternary operator with short expressions, or use the post-expression if, as you did. but ofc methods with "or" and "and" in their names are a code smell too.

this rule forces you to aggressively name your concepts, even small ones. you'll think harder about what you're doing, and your code will be more readable, and have one level less indentation.

essentially, multiline, block style if else statements (aside from being physically ugly) are like junk drawers for cluttered thoughts. nesting them should be punishable by death.
This seems like a stupid question but what are alternatives to thinking procedurally?

Are there any books you'd recommend that talk about these concepts further?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 06:34 AM
Quote:
Originally Posted by Grue
In today's "lol recruiters" report, I received an unsolicited job posting from a recruiter for a large company in my area for my current position (lead dev). I responded (more or less verbatim):

"I'm only interested in leaving my current position if I were to receive an offer I couldn't refuse. Please respond with a number for yearly compensation that a top talent for this position would expect to receive."

and I get of course nothing. Is that really that unreasonable of a response?
Well the recruiter won't bother with someone that indicates immediately that they are a long shot in changing jobs. However, I don't think your response is terrible and could be modified slightly and still get the same point across in a more positive manner. Discussing compensation early seems fine to me. Do you really want to keep talking to some recruiter wanting to lowball you?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-15-2015 , 10:11 AM
There was an entire website devoted to the garbage offers startup founders who only want "the best and the smartest" make. I can see it being really frustrating that this is the standard line of thinking in this day and age.

They make terrible offers. They can't do math as well as the people they want to hire and thus make fools of themselves when they try to give a percent of the company. They refuse to hire anyone for fear of not hiring the absolute best. They pay low and then wonder why their employees leave for vastly greener pastures.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m