« first day (1858 days earlier)      last day (3126 days later) » 

user41796
5:00 PM
is that through a pull request?
 
user41796
<--- Does only TFS for a reason...
 
No, just a pull. (apparently there's a difference).
Or a sync.
I can't push my commit because there are conflicts, I can't get their changes because there are conflicts, and I can't do a revert because I have uncommitted changes.
Usually I get a link to some place that shows me the merge conflicts, but I'm not getting that this time.
 
user114359
Commit = send changes to your local repo
Push = send changes in your local repo to the remote
Pull = someone grabs your changes from remote into their master repo that you cloned to begin with
 
Oh, OK.
 
user114359
You will probably need to sync the changes from the remote that someone else owns into your repo first
 
user114359
5:03 PM
git can be confusing this way because there are extra repos sitting around that don't exist in most corporate environments
 
I guess I have some new changes after the commit. But I don't know where all those are.
My cohort says he does merges manually, outside of the environment, using a diff tool. I told him that did not appeal to me at all.
 
user114359
If your changes are simple enough (e.g. adding new files) it might be easier to blow away your repos, re-clone, and start over. If your dev environment can make a patch easily (Eclipse can, for example) it is a little tedious but pretty simple
 
user41796
@RobertHarvey That should be a last resort option
 
user114359
I definitely prefer to use an IDE for this most of the time. Sometimes I do use WinMerge because it can handle directory merges fairly efficiently
 
@Snowman I think that's what I'll do.
 
user114359
5:06 PM
For example, if you have 5,000 files scattered in hundreds of directories
 
The Git/TFS workflow seems terrible. Perhaps I just don't understand it.
The build workflow is equally bad.
 
user41796
@RobertHarvey It's not the first combination I would have thunk up
 
You said "TFS only." Did you really mean TFS/VSS?
Because my understanding is that TFS doesn't actually have a source code provider native.
You have to specify one.
 
user41796
@RobertHarvey That's not my understanding of it, but I didn't do our install
 
user41796
I think we started with TFS 2010 which evolved from VSS, but is a separate product
 
5:15 PM
I think we're going to need a meeting to discuss the workflow. Because my philosophy is "push early, push often." My teammate wants me to wait until a feature is done. Both of us are just pushing the pain to the other person.
 
user114359
@RobertHarvey that's the beauty of git, though. You can do both, and both are appropriate. Commit often to local, squash into single features for pull requests.
 
user114359
46
Q: Why squash git commits for pull requests?

hamstarWhy does every serious Github repo I do pull requests for want me to squash my commits into a single commit? I thought the git log was there so you could inspect all your history and see exactly what changes happened where, but squashing it pulls it out of the history and lumps it all into one c...

 
user114359
The accepted answer explains the process very well.
 
More command line stuff. You'd think Microsoft would have figured all of this out in the UI. Maybe they have, and I just don't understand it yet, but I get the distinct impression that this whole GIT in TFS thing is very new.
Thanks for that, BTW.
 
@Hosch250: This one probably... programmers.stackexchange.com . No? — displayName 19 secs ago
 
user114359
5:26 PM
I don't know anything about TFS or MS SCM/build processes in general. I am only speaking to the git workflow
 
@subhash: My theory is that its' a subtle form of age discrimination. Companies ask questions like that in interviews because they know that the ones most likely to answer them correctly are the ones that just got out of uni. — Robert Harvey ♦ 6 secs ago
 
user114359
> However I feel no problem because of this in software development in web and android because we hardly use data structure there.
 
user114359
The question is flawed to begin with
 
user114359
Every program uses data structures. At the very least, there are stack frames.
 
user114359
The process space itself is a data structure
 
5:30 PM
The kinds of interview questions I'm talking about are the ones like "how do you calculate the width of a binary tree?" Something you'd never have to do in a real job.
or "How do you reverse a string in O(1) time?"
Like this: (╯°□°)╯︵ ┻━┻
 
@RobertHarvey you turn into Kirby and stand on your head?
 
user114359
I never did like the programming puzzles to weed people out. Better to give a simple problem and ask for a design, maybe some high-level code
 
@Snowman I like both implementation and high level - just give them an hour to write some code for some random thing and see what they come up with - that they can actually code. Then talk high level stuff. But yeah, those trivia Qs are blech.
Though what do I know, I can't pass any of those so..
 
@RobertHarvey Oh, you mean Google interview questions?
 
user114359
there is also the good old fashioned fizz-buzz. Quite simple, yet very effective at weeding out candidates.
 
5:35 PM
@ThomasOwens Anything lifted from Geeksforgeeks.
or Hackerrank.
And yes, Google interview questions qualify.
(Not the "how many jelly beans can you put in a bus" variety).
 
@MichaelT I get no people if I search voters/week
 
@Snowman recently we interviewed a senior with 20 years of experience, when asked by prepared statements are important he didn't mention SQL injection, then when pressed on "security reasons" a little more he thought then said "Oh yeah! Cross site scripting attacks!"
facepalm
 
user114359
@JimmyHoffa 20 years of experience doing what? Probably not programming.
 
user114359
@enderland you probably need to wait for midnight UTC
 
user41796
@JimmyHoffa My first thought would have been because of performance / optimization routines
 
5:38 PM
@Snowman Java. His resume read great... everything from junior up through senior, architect, and CTO. Last couple years as senior. He was ex-sun.
 
@JimmyHoffa Bleh.
 
@GlenH7 it was in reference to java where "prepared statement" means what we call in ADO.NET a Command
 
not the same as stored procedure - just the ODBC command
 
user114359
PreparedStatement may improve performance. It also allows parameter binding, which practically eliminates all SQL injection attacks.
 
user41796
5:40 PM
java is tripping me up today. Clearly I need more coffee
 
@Snowman yeah - which is the main reason. I mean, performance wise it's not expensive to create one I would figure no? So recreating them may not be a big deal. Either way, not knowing commands are a necessity over string concatenation because SQL injection is just...
Though I don't know Java, preparedstatements may be very expensive
 
@JimmyHoffa never happened to me in 20 years, not a big deal
 
user114359
@JimmyHoffa technically it is an interface, the details are driver-specific. Generally they are no slower than regular statements, and typically faster if reused. However, I have heard that many modern drivers use the same implementation under the covers for Statement, CallableStatement, and PreparedStatement.
 
in any event. Point is, it's surprising how easily lots of people are tripped up even when they apparently have long successful careers..
 
181
A: Why is "final" not allowed in Java 8 interface methods?

Brian GoetzThis question is, to some degree, related to What is the reason why “synchronized” is not allowed in Java 8 interface methods? The key thing to understand about default methods is that the primary design goal is interface evolution, not "turn interfaces into (mediocre) traits". While there's so...

 
user41796
5:42 PM
There's a lot of subject matter out there to trip over
 
user41796
Depends upon what his background was in
 
user41796
flipside, how did he do on the other questions you had?
 
user55340
@gnat did you see the type system state table?
 
So I'm probably going to accept the offer either today or tomorrow @GlenH7 @enderland
 
user41796
@durron597 They already got back to you with the additional questions you had?
 
5:50 PM
@GlenH7 yep, just got off the phone
 
@GlenH7 wowed him with a "too awesome to talk about" project :D
wooooo!
 
user114359
Wow, some people are determined to keep spelling errors in their posts: programmers.stackexchange.com/posts/299058/revisions
 
that's awesome :D though it might mean you don't live spend time here during the day...
 
user41796
@enderland I saw that bit earlier, but that was team B. I thought there was another block of Q's to deal with too
 
@Snowman maybe squashed Dan's edit?
 
5:51 PM
I'm trying to think about two things now: 1) should I give notice immediately, or after they complete their background check
 
user114359
@enderland maybe, but the site gives a warning when that happens.
 
if you have any reason to wonder about the background check... wait
 
user41796
@Snowman Let the war begin
 
user41796
@durron597 always after
 
user114359
Certainly plausible given a user of his rep level cannot edit tags inline.
 
user41796
5:52 PM
Even if you're 99.9% certain it will be just fine; always after
 
2) When is the best time to give notice to do due diligence on 2 weeks?
 
user41796
> Mort, it's Friday, we should talk.
 
@GlenH7 you also removed his non-rollback edit :P
 
Always on a friday?
 
user41796
@enderland pffft You should edit that back in. :-)
 
user114359
5:52 PM
 
user41796
@durron597 No, not necessarily
 
user41796
Depends upon how you think your boss is going to react
 
@GlenH7 he got it
 
user41796
and uber boss
 
Well we have that staff meeting tomorrow
 
user41796
5:53 PM
If you think they're going to be pissy, give notice on Friday and give the weekend to cool off
 
user41796
OTW, any time during the week is okay
 
I haven't accepted the offer yet, but the last roadblock is me reading the NDA / Noncompete
 
user41796
Highly unlikely they'll march you out the door immediately, but take all your personal stuff home nightly
 
as soon as I do that, I will accept unless there's stuff in there I really don't like.
 
user114359
I gave my notice two Thursdays ago, my last day is Wednesday. I didn't care, I just wanted the bigger paycheck ASAP.
 
user41796
5:55 PM
I'd wait for the check(s) to clear too. On the very off chance something crops up, you're not holding the liability bag. ie. you're not out of an offer and out of a job.
 
@Snowman I didn't even know you were looking, lol
 
user114359
@durron597 I haven't said much about it. I actually wasn't really looking, but an opportunity presented itself and I accepted
 
we get paid monthly here, I already got my semptember paycheck
 
@durron597 you sure it's your september paycheck? and not your august one?
 
user41796
@enderland a month in arrears would be quite a bit
 
user41796
5:57 PM
Worst I've ever heard of is 2 weeks in arrears
 
@GlenH7 well, it seems weird to pay someone a month in advance too...
 
user41796
I know of a few places that pay monthly. Still in arrears, but only by a week or so.
 
It doesn't say. I got paid on 9/30
 
@GlenH7 my wife at the university gets paid in arrears monthly - at the end of the month
 
user41796
Pay period could also be the last week of Aug + 3 weeks of Sept and then pays one week in arrears
 
user41796
5:59 PM
@enderland Lovely university life, right?
 
user41796
"Hey, you're on subsistence anyway, why don't we pay you a full month late?"
 
@GlenH7 We get paid bimonthly, though the paystub shows the pay period it is for (I think? I haven't looked at one in a while)
> Period Begin - End
2015.09.16 - 2015.09.30
from my sept30 paycheck, guess we're also paid in arrears
 
user41796
I would think paystubs would have to show the pay period on it.
 
Give notice first thing in the morning, or last thing at EOD?
 
user41796
@durron597 Depends
 
6:02 PM
@MichaelT yeah I saw it, compile time type check and DFA in what looks like a routine builder makes great food for thought
 
@GlenH7 on?
 
user41796
At previous gig, my manager skipped out of town on business / vacation which he hadn't announced. Took me a day or two to figure that out and I was running into the 2 week window. So I grabbed a moment with my uber boss the moment I could
 
user41796
Really depends upon how you think they're going to react
 
user41796
and if you need to buy them time to process or not
 
user41796
My uber boss was disappointed, but didn't freak out over it. Very level headed guy
 
user41796
6:04 PM
my old boss, I probably would have told EOD since he tended to over-react and then return back to normal with a little bit of time
 
@durron597 on workplace we get people who have all sorts of reactions to notice. Sometimes it's "ok, we'll help you collect your stuff and leave right now" all the way to "ok we're going to get as much work from you (knowledge transfer? pffft MORE WORK) as possible" - it's entirely dependent on the people
 
user55340
Hmm. From a bit over a month ago:
 
user55340
@MichaelT I wouldn't be surprised if SE team folks get yet another periodic notice at "recently troublesome" questions, guess we better keep an eye on these. Robert - just in case if you get such a notice, consider taking a look or better yet, dropping a line into respective meta discussion before making moves: Recent Trouble With Popularitygnat Aug 17 at 5:32
 
lol, I want to know that story
 
user41796
@durron597 It'll have to be another day when I'm not behind on a project. Sorry
 
user55340
6:05 PM
@gnat I'll do a blog post about it in the near future.
 
Sure, lol
BTW they have a strict no moonlighting policy
which should not be a surprise
I'm trying to decide if I care
18 month non compete
 
user41796
@durron597 Field, domain, city, state, ???
 
user41796
Or not specific
 
user55340
Non compete is one of those "can likely ignore" if not a core business.
 
user41796
6:09 PM
and / or what's the likelihood of them enforcing?
 
user55340
If you go from App Store @ Amazon to App Store @ Google, that's an issue - if the state doesn't forbid non compete.
 
lol, there's also a section that says "i acknowledge that amazon's products and reach are massive, and i agree that these non compete restrictions are reasonable anyway
 
user55340
But App Store @ Amazon to A/B testing at Google would be stretched.
 
user114359
Most states forbid non-competes and most moonlighting and IP assignment clauses are unenforceable.
 
user55340
Moonlighting is unenforceable, but they can still fire you.
 
6:13 PM
heh, if I use an "Invention" during my time at amazon, I transfer an irrecovable, royalty free license to amazon forever
 
user114359
Of course, most states are at-will employment as well.
 
user114359
@durron597 Good luck on them enforcing that. They are HQ'd in WA, right? I think that is one of the more worker-friendly states.
 
user41796
@durron597 standard mega-corp IP agreement
 
user55340
Inventions clauses are fairly common. That one seems reasonable (compared to claiming it)
 
That's the "prior invention" paragraph
the "invention during" is claimed, unless i did it entirely on my free time
 
user114359
6:14 PM
The IP Assignment I signed for my new job is fairly limited both by corporate policy and state law. It is actually fairly reasonable.
 
user41796
Oh, that's the CYA for them
 
user55340
They probably got burned with that before.
 
user41796
You have a fabulous library that you've created and incorporate into their products. You then leave. Guess what, you can't fork them over on the way out by trying to rescind the license to your fabulous library.
 
user55340
Here, use this code. (After leaving the company) btw, it's patented. Please pay royalties.
 
user114359
It sounds reasonable to me that if I use company resources to build something, it belongs to the company. If I use personal resources, it belongs to me.
 
user55340
6:16 PM
If you want to invent, be in the public sector.
 
@MichaelT actually, Robert could have missed this comment. Soon after posting it I realised that this way is unreliable and additionally flagged one of "recent troublesome popular" questions for mod attention, asking them to check with SE team, to avoid possible... oscillation. I can't see if mods do anything but my flag was marked handled, making me guess that something was probably done at their side
 
I know myself, the only thing that really scares me about agreements like this is the non compete
"I want to get a job, I'm not trying to screw anybody but no one will hire me because I can't work in my domain and I'm not qualified in any other domain"
 
user41796
@durron597 It still ends up being restricted to domain
 
user41796
Michael's app store example is an apt one.
 
> Non-Competition. During employment and for 18 months after the Separation Date, Employee will not,

directly or indirectly, whether on Employee’s own behalf or on behalf of any other entity (for example,

as an employee, agent, partner, or consultant), engage in or support the development, manufacture,

marketing, or sale of any product or service that competes or is intended to compete with any product or

service sold, offered, or otherwise provided by Amazon (or intended to be sold, offered, or otherwise
 
user41796
6:20 PM
If you worked on an app store, you could later go work on Azure without an issue
 
user55340
Or if you go Amazon to eBay. Or other big online econmerce focused in not CA or WA.
 
user41796
Note the last sentence, that's the restrictive clause that protects you
 
If I work on Amazon ads, and then I quit to go work on Nook core (not Nook ads), would that count?
 
user41796
Shouldn't violate the non-compete, no
 
user55340
that isn't competition.
 
6:22 PM
Yeah, so it's the last sentence
 
user55340
Amazon ads to google ads, that would be a problem.
 
it's not "compete with anything that amazon does" it's "compete with anything that amazon does THAT I WORKED ON."
 
user41796
@durron597 Exactly. Otherwise, how could anyone who worked for IBM work for another tech company?
 
user55340
Correct.
 
right
 
user41796
6:23 PM
You name the line of biz, and IBM's got it.
 
user55340
And it also tends to be "core business".
 
okay, i gotta go back to the office
thanks guys
 
user41796
yw.
 
user55340
Netapp customer support to EMC customer support is not competing.
 
@GlenH7 highly; they've been enforcing them all over.
 
6:24 PM
@GlenH7 this is how the healthcare industry is basically - a friend of mine worked for Epic and basically the non-compete killed domain knowledge...
 
user41796
EMC has customer support?! :-D
 
user55340
Unless you are implementing inventions that Netapp had at the competitor.
 
user41796
@JimmyHoffa For rank and file?
 
user55340
@GlenH7 heh. I know a number of people who were laid off after me who did that transition.
 
@gnat Thanks.
 
6:25 PM
@GlenH7 yep
@GlenH7 amazon's a fan of the set-an-example approach
 
user55340
The non-compete cannot comprise one's ability to get a job. At least in worker friendly states.
 
user41796
And was it comparable roles?
 
user55340
Wisconsin isn't exactly worker friendly.
 
@GlenH7 until recent criticism - amazon made the warehouse workers sign a non-compete.
 
user114359
non-competes only make sense for positions that are exposed to trade secrets or other highly confidential information. Example: an office drone at Intel should not have to sign one, but the head CPU architect should.
 
6:43 PM
> (Employee worked on or supported), or (about which Employee obtained) or (received Confidential Information).
doesn't have to be something you touched, if you heard they wanted or might work on something in the future - even in rumor, and end up working in a similar industry, that would qualify. Basically any information you learned while there on anything they do - if you compete in any of those things...
 
user55340
I would be half tempted to say that Amazon likely considers their warehouse and logistics to be core business.
 
user55340
A warehouse worker could gain workflow and layout knowledge that could be transferred to Walmart or the like.
 
@MichaelT true enough
 
user55340
Arguably both are logistics companies that sell things too.
 
Amazon in particular is a logistics company though
 
user55340
6:48 PM
Walmart is too.
 
user55340
They have a large enough fleet to have R&D for designing new semis.
 
Both have such huge volumes that small changes (maybe 1 penny per mile) add up to huge dollar amounts
 
user55340
That sounds like a logistics problem.
 
Realistically everything is a logistics problem of some sort
 
user41796
6:55 PM
Walmart does a lot of crazy stuff simply due to their size. They're able to dictate how technology is developed in order to better suit their needs. The move an incredible amount of data around regarding their retail sales.
 
> Logistically everything is a realistic problem of some sort
 
so meta
 
user55340
They pioneered a bit of rfid inventory tracking too.
 
user55340
Ever see their careers adverts?
 
user55340
Hmm. Not advertising currently. Had some neat pictures of tech R&D area.
 
7:00 PM
Yeah I remember seeing something like that too
 
Heh.
12147
Q: Why is processing a sorted array faster than an unsorted array?

GManNickGHere is a piece of C++ code that seems very peculiar. For some strange reason, sorting the data miraculously makes the code almost six times faster. #include <algorithm> #include <ctime> #include <iostream> int main() { // Generate data const unsigned arraySize = 32768; int data[arr...

> This question has an open bounty worth +50 reputation from Vaikesh ending in 7 days.

Looking for an answer drawing from credible and/or official sources.
 
that's slightly puzzling
 
I guess the highest-voted answer in Stack Overflow history is not good enough for him.
 
to be fair bounty canned reasons are horrible
 
what would an official source even be? the answer provides pretty thorough technical evidence that this is exactly what's happening
 
user55340
7:07 PM
New user putting a bounty on the highest scoring answer as a "that's neat" or "this is worth +50 rep more"
 
user55340
If feeling charitable refund the bounty.
 
I'm inclined to do that. Though it's a bit more hands-on than I'm comfortable with.
 
7:23 PM
agh i'm agonizing on whether to wait for background check to clear before giving notice
 
user55340
Don't give notice until offer is in hand.
3
 
user41796
@RobertHarvey There are quite a few bounties on other answers. Could well be that they chose the wrong bounty reason and merely wanted to thank someone.
 
user41796
@durron597 Don't agonize. Wait.
 
user55340
While unlikely there are those stories of "unofficial offer, tell boss what you think of them, offer recinded for some reason, oops)
 
user41796
The winning hand for this round of poker is about to be dealt. Don't tip your cards until the winning card is dealt.
 
7:26 PM
@GlenH7 I have a one on one quarter eval tomorrow that I really don't want to lie my way through
sigh
 
user41796
@durron597 What's the biggest pot you ever played for?
 
user41796
It's just like that - you gotta bluff your way through.
 
user41796
Act as if nothing is different until it really is different. Noting that it's okay to be non-committal during the review
 
I tried to bluff my way through a $3000 pot once
I actually quit NLHE after that hand and switch to Limit.
 
@durron597 You're not lying. Do you have an offer in your hand right now? If you don't, then you don't have an offer. Unless you're prepared to quit without an offer, then your current job is your only job.
 
7:28 PM
@ThomasOwens I have an offer pending background check
 
@durron597 That's not an offer.
 
user41796
@durron597 The cynic (including me) says that's not an offer (yet)
 
Not a real offer. They said that about this job, and I kept looking. A few days later it turned into a real offer.
 
user41796
If you're asked later on why you didn't mention it, it's a very simple answer "Not everything was locked down at that point."
 
Or, y'now: "It wasn't an actual offer, only a statement of verbal intent."
 
7:31 PM
okay
ugh tomorrow is going to suck, i know you're all correct, but I still hate it.
plus I have a doctor's appointment on Oct 21, which means that if I don't give notice by tomorrow then I'll have to take an extra long lunch on a day during my last two weeks
 
Tomorrow is a great day. You know you (probably) have something waiting in the wings while you go through the motions.
 
user55340
Should have seen last day lunch durations at employer^^^.
 
yeah but I actually want to do right by these guys.
 
Then you do your job, as usual, until the real offer comes.
 
user41796
@durron597 I'm trying to find the right quotes from Pulp Fiction to the effect of "be cool"
 
user55340
7:34 PM
We had to ask permission to take a lunch longer than 1h. Had a line at team leads desk six deep to ask permission.
 
Ugh, I hate working for people like that.
 
user55340
(This went on for four Fridays in a row as each week someone else left)
 
lol
"OK THIS POLICY IS HORRIBLE THANKS FOR POINTING IT OUT GUYS"
 
user55340
@RobertHarvey was from on high. Team lead just had to enter the time sheet adjustment.
 
user41796
:24526543 I was thinking more of the one during the robbery at the cafe
 
7:36 PM
Sorry about that. Didn't realize the preview image had subtitles.
 
yeah that was a pretty good NSFW subtitles :P
 
> So pretty please, with sugar on top. Clean the f*cking car.
 
user55340
Really freaked him out when two people dressed extra well asked for a 3h lunch rather than two hour.
 
user55340
(They had interviews after lunch)
 
I'm voting to close this question as off-topic because it is a request for personal off-site assistance from someone. StackOverflow a Q&A site for programmers. — Jakar 29 secs ago
 
7:38 PM
Who is routinely taking 2 hour lunches, and why?
 
user55340
Going away lunch = might be longer than 1h
 
going away lunches
 
user55340
Four people were leaving, one each week for four weeks.
 
user55340
Third week, two more had interviews after lunch.
 
user55340
0
A: To Robert Cartaino, who reopens broad questions

Shog9Something came up in the comments on Robert's answer that I'd like to address... But why should it remain open? Curation of existing content for questions that are off topic, primarily opinion, or too broad is most easily done when the question is closed. -- MichaelT Closure doesn't ...

 
7:44 PM
0
Q: How to design an interface or sync mechanism between database and filesystem?

YogeschI would like to use the filesystem, instead of the database, to store large files. This raises the obvious question: how should I design an interface or a sync mechanism for keeping the database aligned with the content stored on the filesystem? I am writing what I know/have thought of so far. ...

is this scoped well enough yet?
 
I agree with everything you've written here, except that I come to a different conclusion: Locking questions should be much easier, SO-wide. Let's see if I can find an MSE question on the subject, ah yes, some troll wrote this one: We should have a question status similar to locking that non mods can set on posts This way, we can actually preserve questions like the one above in a form that makes it very clear they're not acceptable, and cannot be easily reopened OR deleted. — durron597 34 secs ago
 
user55340
7:57 PM
(As the whiteboard goes quiet and moves to post comments)
 
user114359
@MichaelT I think the issue here is we are continued to be haunted by the NPR specter. Not many sites have the history that this one days (to be fair, the big three have their own set of problems, just different).
 
@Snowman yeah. I think so too, reading Shog's post that's the vibe I get... :\
 
user55340
Hint: math is building their own nightmare down the road too.
 
Like, I read those meta posts and wonder what they would think if they went through that one meta post of all the recent questions and looked at each question - would they still want to edit/reopen eveyrthing?
 

« first day (1858 days earlier)      last day (3126 days later) »