News for hackers. Stuff that matters.
Re:'Clean your desk': My Amazon interview experience by rescripting on Thursday December 08, 2016 @10:58AM (#13131103)
I have a confession to make. I cheat at my job. I cheat all day, every day.

I have this little book next to my desk I use to write down ideas and notes, and then I refer back to it later. Sometimes my boss is standing right there! I get such a rush.

I found this website called Stack Overflow that has so many answers to problems I run in to. Sometimes I'll just copy the code directly from the site, without typing it out again myself!

Sometimes I even just walk up to colleagues and straight up ask them for help with a problem. They just tell me things I can use in my job, out loud, in a busy office, and we still haven't been caught!

I know that my cheating gives me an unfair advantage in the job market. I know this cheating makes me an inferior programmer. And now I know I can never work at Amazon because I can't get past their super scrupulous interview process. Oh well, I guess I'll just try and get by, cheating my way though life.

Re:'Clean your desk': My Amazon interview experience by zdean on Thursday December 08, 2016 @11:16AM (#13131297)
Ken Robinson on collaboration in education:

"In the work world, collaboration and team work are essential to success; in school, it's called cheating."

More here https://www.youtube.com/watch?v=zDZFcDGpL4U

Re:'Clean your desk': My Amazon interview experience by threatofrain on Thursday December 08, 2016 @11:26AM (#13131409)
Well what a lot of children do in school is indeed cheating outside of collaboration. It's often one person who's already done doing the work of another without much bidirectional creative synthesis.

I would think that students who collaborate on schoolwork or studying are very institutionally fluent and aren't really at risk of the institution stepping over them and calling them cheaters.

I see the college cheating industry as a trade between wealthier cooler kids and the smarter disadvantaged kids, which I suppose is also life in most places, China or US.

Re:'Clean your desk': My Amazon interview experience by jmcdiesel on Thursday December 08, 2016 @11:52AM (#13131697)
Well, cheating is only to be expected in a system that puts a score/grade on the pedestal.

The point of school (American school, at least) isnt to learn, its to get a good grade. When the goal is a number, than 'cheating' is simply trying to achieve the goal.

If the goal was to actually learn, the "cheating" that you see in schools would become "collaboration" - much like in a workplace with quotas and ridiculous metrics, people will cheat the system - in a workplace who values output quality first, you end up with collaboration between employees to reach that goal...

The problem is - 90% of us went through the school indoctrination of "the grade is the goal" ... and carry a lot of that mentality out into the work force.. and at worse, many of them start companies and align their business goals for their employees with that same standard..

Re:'Clean your desk': My Amazon interview experience by stinkytaco on Thursday December 08, 2016 @01:32PM (#13132766)
Though I don't disagree with your argument that grades weigh to heavily in American education, I disagree that "collaboration" and "cheating" are the same. There are certain, rote skills you need to take away from school and on which you need to be evaluated individually. You must know how to read, do arithmetic and algebra, understand civics, geography, etc. The problem with encouraging collaboration over evaluation is that evaluation is still necessary to determine whether kids are learning what they need to learn.

I think we all remember that kid in school (or college) that joined a group and coasted to grade. I know those people where I work, too. They know little and contribute nothing. We do not serve them by letting them get out of school without the knowledge they need.

So I agree that grade-centric education is poor, but can also not reject either rote learning or evaluation as being an important goal.

Re:'Clean your desk': My Amazon interview experience by Y_Y on Thursday December 08, 2016 @02:01PM (#13133039)
The point of school (American school, at least) isnt to learn, its to get a good grade. When the goal is a number, than 'cheating' is simply trying to achieve the goal.

Aka Goodhart's Law[0].

[0] https://en.m.wikipedia.org/wiki/Goodhart's_law

Re:'Clean your desk': My Amazon interview experience by threatofrain on Thursday December 08, 2016 @12:16PM (#13131964)
The education system ought be multi-purposed. Some people want school to get them a job. Some people want school to give them a 'well rounded education' on matters like history, American civics, math, sports, sexual education, etc. Some businesses want schools to correctly identify and promote talent, for better hiring signals. Some people view school as a way for preparing for college, where a student might choose specialities.

These are all goals which are harmonious to societal health.

Re:'Clean your desk': My Amazon interview experience by greedo on Thursday December 08, 2016 @04:33PM (#13134500)
Burning my karma, but I can't resist; lots of students in my high school agreed that collaborating in sex ed was far more beneficial than studying solo.
Re:'Clean your desk': My Amazon interview experience by na85 on Thursday December 08, 2016 @07:24PM (#13135638)
I don't get it
Re:'Clean your desk': My Amazon interview experience by cellularmitosis on Friday December 09, 2016 @12:48AM (#13136935)
When he refers to "collaborating in sex ed", he isn't actually referring to studying, but rather to teenagers having sex. Similarly, "studying solo" refers to masturbation rather than actual studying.
Re:'Clean your desk': My Amazon interview experience by cholantesh on Friday December 09, 2016 @01:22AM (#13137056)
Having sex is better than masturbating.
Re:'Clean your desk': My Amazon interview experience by CRConrad on Friday December 09, 2016 @08:17AM (#13138556)
Really? He means intercourse is more fun than masturbation. HTH!
Re:'Clean your desk': My Amazon interview experience by digi_owl on Thursday December 08, 2016 @11:57AM (#13131752)
The education system boils down to attempting to certify that someone knows what they claim to know.

This so that said someone can be slotted into place in the company production line.

Re:'Clean your desk': My Amazon interview experience by jmcdiesel on Thursday December 08, 2016 @11:59AM (#13131770)
Yep. Education isnt the goal, menial job placement is. Its cynical, but also true, that an educated populous would grind America to a halt, because we're reliant on people doing a lot of menial jobs... and educated people dont do those jobs...
Re:'Clean your desk': My Amazon interview experience by admax88q on Thursday December 08, 2016 @01:57PM (#13133008)
> Education isnt the goal, menial job placement is.

I disagree. Plenty of times through school I heard complaints of "When will I need this in the real world!" and numerous comments online complaining about education (particularly arts and social science curricula in university) not preparing people for jobs.

Plenty of things I learned in primary school, high school and in my Engineering degree are not applicable to my day job but did make me a more educated person.

It's funny to witness the education system get simultaneously criticised for not preparing people for the workforce and also only preparing people for the workforce.

Re:'Clean your desk': My Amazon interview experience by TeMPOraL on Thursday December 08, 2016 @02:49PM (#13133571)
> Plenty of things I learned in primary school, high school and in my Engineering degree are not applicable to my day job but did make me a more educated person.

It doesn't matter. There must be something that can be taught to you and later used to grade you. Whether it's maths or arts or history of the good deeds of Comrade Stalin, it doesn't matter. What matters is the series of filters, at the end of which is entering the job market. Even the parents don't care what you're being taught - only that you are good at it, so that you can go to better higher-level schools, and get a better diploma at the end. Only few parents and teachers with ideals give a shit about the actual content of the education material...

As for job usefulness, 90% of stuff you'll have to learn on the job anyway.

Re:'Clean your desk': My Amazon interview experience by dhimes on Thursday December 08, 2016 @04:02PM (#13134273)
As for job usefulness, 90% of stuff you'll have to learn on the job anyway.

Of course. Education is about laying the foundation, giving you a bounty of contexts with which you can make faster associations and more quickly learn what you need for the job.

Re:'Clean your desk': My Amazon interview experience by jmcdiesel on Thursday December 08, 2016 @02:41PM (#13133477)
"Plenty of times through school I heard complaints of "When will I need this in the real world!" and numerous comments online complaining about education (particularly arts and social science curricula in university) not preparing people for jobs."

Both of these are correct - and they corroborate my point. The skills taught, they don't prepare you for a real world job - they teach you to stay in line, as few questions, and do what you're told. Thats what you need to be tought to work in a factory or plow a field... or stand behind a cash register.

They don't prepare you for "good" jobs... they prepare you for menial jobs. If everyone came out of high school with real knowledge and real skills, nobody would run the cash register at the gas station for minimum wage...

Re:'Clean your desk': My Amazon interview experience by na85 on Thursday December 08, 2016 @07:29PM (#13135656)
Not sure why you are being down voted. Perhaps people are just bitter at school.
Re:'Clean your desk': My Amazon interview experience by nol13 on Thursday December 08, 2016 @11:45AM (#13131616)
What a lot of adults do at work is also indeed cheating outside of collaboration.
Re:'Clean your desk': My Amazon interview experience by wfo on Thursday December 08, 2016 @01:57PM (#13133007)
"In school, taking credit for someone else's work that you had nothing to do with creating is unethical, not accepted, and punished severely. In the work world, it's called Tuesday."

--Anyone who's experienced it

Cheating and collaboration are not the same. If you've ever taken an advanced math/cs/STEM class you've collaborated often on problem sets, they are often too hard to do alone. But you shouldn't have cheated.

Re:'Clean your desk': My Amazon interview experience by shuntress on Thursday December 08, 2016 @11:27AM (#13131424)
Collaboration is great for learning something new as a group.

But how do you then assess whether each individual in the group learned that important concept, or if they just all agreed with the one (and only) student who actually learned/knew it?

Re:'Clean your desk': My Amazon interview experience by zdean on Thursday December 08, 2016 @11:48AM (#13131646)
It probably requires a shift in what we think of as assessment. Montessori has some ideas:

http://montessoriguide.org/assessment/

Seems to produce good results:

http://blogs.wsj.com/ideas-market/2011/04/05/the-montessori-...

Re:'Clean your desk': My Amazon interview experience by conanbatt on Thursday December 08, 2016 @12:25PM (#13132078)
What would be the point of assessing an isolated individual in a world of collaboration?

Its akin to evaluating how someone would do something in the middle of the jungle without tools or support. Sure, you will be able to know who does better in that setting, but what conclusion can you bring of that?

Re:'Clean your desk': My Amazon interview experience by mcguire on Thursday December 08, 2016 @12:34PM (#13132152)
It's gonna kinda suck to be the engineering team where nobody actually learned calculus.

Or the surgical team where everyone "collaborated" on basic anatomy.

Re:'Clean your desk': My Amazon interview experience by conanbatt on Monday December 12, 2016 @07:18PM (#13163381)
How would you know nobody learned calculus?

You are comparing people that dont know to people that know with that allegory. In a collaborative setting you would be able to see what people build, teach each other, and learn.

A team with 5 people that know 20% calculus can produce much better results than a team where 1 person knows 100%. And sometimes they wouldnt be able to produce a result at all.

Re:'Clean your desk': My Amazon interview experience by cellularmitosis on Friday December 09, 2016 @12:54AM (#13136968)
> but what conclusion can you bring of that

Welllll you could conclude that they are in a prime position to create a YouTube channel with 178 million views /s

https://www.youtube.com/channel/UCAL3JXZSzSm8AlZyD3nQdBA/abo...

Re:'Clean your desk': My Amazon interview experience by enraged_camel on Thursday December 08, 2016 @12:51PM (#13132318)
>>What would be the point of assessing an isolated individual in a world of collaboration?

Collaboration can only occur when each party has something meaningful to contribute.

Re:'Clean your desk': My Amazon interview experience by SilasX on Thursday December 08, 2016 @01:14PM (#13132569)
Yes, you're absolutely right, that someone's effectiveness -- in academia or otherwise -- depends on those around them.

But you still have to distinguish those who are not effective at all, contributing nothing, but who are still putting their name on the project.

To use the sibling example, there's a difference between a surgeon who draws on other specialists in the operation, vs someone that knows nothing about surgery.

Re:'Clean your desk': My Amazon interview experience by conanbatt on Monday December 12, 2016 @07:20PM (#13163390)
> But you still have to distinguish those who are not effective at all, contributing nothing, but who are still putting their name on the project.

You dont need an individual assessment to do that. The real work world is exemplary on that. People without degrees very often outrank and outperform people with degrees, either through curiosity or through other skills that make him a more important key member.

In real life if someone is regarded as unproductive by his co-workers is not re-tested individually for validation.

Re:'Clean your desk': My Amazon interview experience by Wonderdonkey on Thursday December 08, 2016 @01:36PM (#13132810)
Both collaborative assignments and assessments of those assignments are often poorly conceptualized in school.

Why, for example, do curriculum developers create (or choose to adopt from textbook publishers) scenarios where if one person fails, everybody in the group suffers? That's not why we collaborate. In fact, that's the opposite of why we collaborate. We don't do it to create multiple points of failure.

It's also a problem with the way we assess and the fact that we almost exclusively conduct summative assessments on these types of projects with high-stakes consequences rather than formative assessments that allow the experience to be used to foster understanding.

I'm a parent (and an education journalist). I see a lot of this. My daughter has had to do the entire work for several "collaborative" projects to maintain her GPA just because the other students wouldn't do the work or wouldn't do it well. That's a common complaint.

Two ideas for getting around that:

1. For the types of assignments where a small group produces a single outcome and shares responsibility for it, assess formatively. If the group does poorly, the teacher sits down with them and gives them supplemental instruction. And, in talking to the students, that teacher can also discover where the weaker students are and focus on them. That way you get assessment with zero high-stakes consequences, and you help advance learning rather than ending it with a letter grade.

2. Assign projects where each student has a job and is evaluated singularly for that job but is allowed to work collaboratively with other students (and the teacher) to complete it. There are all kinds of ways to encourage collaboration in those cases without resorting to punishing others for one person's failure in the end product of a collaborative assignment.

As others have said, there's also the question of assessment itself. Why assess for a grade or points or what have you? There's a movement to do away with grades and test scores. It's working fairly well, but it requires serious dedication from the teacher to ensure that students are learning. Large-scale, that's difficult. We don't have 4 million+ teachers who would be willing to do that extra work.

Re:'Clean your desk': My Amazon interview experience by admax88q on Thursday December 08, 2016 @02:11PM (#13133130)
In University for me at least, a lot of those collaborative projects allowed the students to distribute their grade amongst participants.

In my experience at least the weaker contributors to the groups success, even those that just coasted, were still very honest when asked to assess their contribution and the contribution of others.

Re:'Clean your desk': My Amazon interview experience by curried_haskell on Thursday December 08, 2016 @06:56PM (#13135502)
In my university we often had group projects and at the end of the project you scored your team members. If the entire team scored one member highly or poorly, their grade could be weighted higher or lower.
Re:'Clean your desk': My Amazon interview experience by npiazza83 on Thursday December 08, 2016 @11:54AM (#13131717)
Furthermore, how do we ascertain whether or not group work is just "outsourcing" for teachers and the students that learned the concept aren't simply k-12 unpaid TAs who find their role as "assistant professor" pretty tedious thus turning off the best and brightest from a lifetime of enriching educational experiences?
Re:'Clean your desk': My Amazon interview experience by thegayngler on Sunday December 11, 2016 @02:38AM (#13150046)
Actually you can learn a lot from teaching others or helping others learn the material. When you have to teach someone else something you learn what you don't actually know that well.
Re:'Clean your desk': My Amazon interview experience by 4h53n on Friday December 09, 2016 @09:18AM (#13138842)
I remember having a cheating rig at high school. We were 4-5 classmates, who would always sit close and hangout. Each of us would study the classes we best at. For example I really sucked at English and math, but was really good at physics and biology, one guy was good at English and another one at Turkish literature, another at history, another at Math. Overall high school was really easy for us. It's not like we didn't cheat at exams, we also helped each other before the exams. Teachers tried to separate the group several times but we were smart and doing well, so they chose to ignore at some point. All members went to uni, studied STEM.

Now, I'm well aware that studying things you can already do is not the best way but this was what happened.

Re:'Clean your desk': My Amazon interview experience by digi_owl on Thursday December 08, 2016 @12:10PM (#13131911)
Until you get slapped with a parent or copyright lawsuit...
Re:'Clean your desk': My Amazon interview experience by atdaemon on Sunday December 11, 2016 @02:03AM (#13149958)
Sir Kenneth Robinson! :-)
Re:'Clean your desk': My Amazon interview experience by wolfgang42 on Thursday December 08, 2016 @11:30AM (#13131446)
Similar to your little book, I have a personal wiki in a Git repository which basically functions for me as an external memory--if I find a solution to a problem that keeps coming up, or write a particularly useful snippet of code, I put it on the appropriate page so I can remember it again later. (When I say 'external memory' I really mean it--in addition to pages like Snippets:Bash I also have things like LifeSkills:SuitcasePackingList.)

Something that worries me is: what if I work for a company that decides that everything I've written on their time belongs to them? If I had all of this in my head there would be no question about it, but writing it down introduces questions of copyright. Should this ever happen it would basically be the equivalent of losing a chunk of my brain, which is a bit of an alarming prospect.

Re:'Clean your desk': My Amazon interview experience by Arandur on Thursday December 08, 2016 @11:54AM (#13131713)
I work for a company that decides that everything I've written belongs to them. Note that I did not include the phrase "on their time." I have to get explicit waivers for any project I want to work on on my own time. It is more than a little disconcerting. I'm pretty sure they technically claim ownership of this comment.
Re:'Clean your desk': My Amazon interview experience by cellularmitosis on Friday December 09, 2016 @01:14AM (#13137033)
Yes, draconian IP agreements suck!

What can you do about it (if you live outside of California)?

Your key weapon here is knowledge. Specifically, the fact that California Labor Code section 2870 exists.

"...shall not apply to an invention that the employee developed entirely on his or her own time..."

Here's what you should do to avoid draconian IP clauses:

* Print out a copy of 2870 and bring it with you when you go to sign your job offer http://webcache.googleusercontent.com/search?q=cache:3qLjxOo...

* Read your contract. If you don't see similar wording in their contract, hand them your copy of 2870 and ask it to be added to the contract.

* If they try to push back, calmly explain that every resident of California gets this "for free". If Google, Facebook, etc employees all get this, why shouldn't you?

* Be prepared to walk if they refuse.

But what if you're already in a job which has draconian IP clauses?

* Try bringing 2870 to the table the next time you are negotiating for a raise or promotion.

* If you are cheeky, go get a job offer from a competitor, and highlight the fact that they are willing to offer you 2870.

But the best thing you can do is to spread the word about 2870! If enough of us demand this, eventually it will be such a hassle (for employers outside of California) that no one will bother trying to trick their employees into draconian IP clauses.

I should give a hat-tip here to my former employer, uShip (Austin, TX). They include this clause by default for all devs, and I'll make sure I ask for 2870 at every future job.

Re:'Clean your desk': My Amazon interview experience by uiri on Thursday December 08, 2016 @12:35PM (#13132166)
Just because they make that claim does not make it true or even enforceable.

Generally anything you write on company time or using company equipment belongs to them though.

Re:'Clean your desk': My Amazon interview experience by cle on Thursday December 08, 2016 @02:44PM (#13133520)
You must have passed the Amazon interview.
Re:'Clean your desk': My Amazon interview experience by driverdan on Thursday December 08, 2016 @03:08PM (#13133799)
That is absurd. You should quit and find a new job. Never sign away your rights to create IP on your own time.
Re:'Clean your desk': My Amazon interview experience by dbg31415 on Thursday December 08, 2016 @01:13PM (#13132562)
Honest question... how would the company define "on their time"? You are (presumably) salaried, and it's not like we work in a 9-5 industry or can't do work at home. IP is important to them, how else could they structure the arrangement? These "we own your ideas while you work for us" clauses are common.
Re:'Clean your desk': My Amazon interview experience by karmajunkie on Thursday December 08, 2016 @06:54PM (#13135486)
Most contracts I see these days define it as work that could be reasonably seen as in their line of business, or using company equipment or resources (e.g. internet). I can't remember the last time I saw one that made a distinction based on clock time that wasn't also for a 1099 contractor. These days it seems it either goes "All your thoughts are belong to us" or "using our stuff in a market we sell to".
Re:'Clean your desk': My Amazon interview experience by wolfgang42 on Thursday December 08, 2016 @01:43PM (#13132887)
A reasonable definition of "on their time" for a salaried employee would be things they asked you to do for them. (Presumably they did not hire Arandur to write HN comments.)
Re:'Clean your desk': My Amazon interview experience by TeMPOraL on Thursday December 08, 2016 @02:53PM (#13133636)
Another IMO reasonable definitions:

- you used company equipment for that == it's ours

- you billed us for the time which you spent on doing that == it's ours

Re:'Clean your desk': My Amazon interview experience by robin_reala on Thursday December 08, 2016 @01:06PM (#13132511)
Did you not query that clause in the contract?
Re:'Clean your desk': My Amazon interview experience by barrkel on Thursday December 08, 2016 @04:01PM (#13134257)
In my first developer job out of college, I queried that clause, and they basically said the job was conditional on accepting the clause.
Re:'Clean your desk': My Amazon interview experience by Normal_gaussian on Thursday December 08, 2016 @04:11PM (#13134346)
And you took the job? Why?
Re:'Clean your desk': My Amazon interview experience by khedoros1 on Thursday December 08, 2016 @06:08PM (#13135171)
In my case, these are the justifications that I came up with (in no particular order):

1. I liked the people

2. The technology was interesting

3. I felt like I needed to break into the industry as a fresh grad

4. Every other company I'd interviewed with had a similar clause

5. The side projects that I work on are strictly non-commercial, for my own education, tend to be difficult to monetize legally, and have nothing to do with anything that my employer is interested in.

6. (found out later) My employer doesn't enforce its anti-competition clauses or try to take over IP that employees develop on the side.

I haven't regretted it in 8 years, although I'd imagine that a lot of the people on HN would be a lot more entrepreneurial than me.

Re:'Clean your desk': My Amazon interview experience by gknoy on Thursday December 08, 2016 @04:54PM (#13134640)
When looking for a job, one does not always feel in a position to turn down a job offer, especially when one does not already have a competing bid.
Re:'Clean your desk': My Amazon interview experience by mdtusz on Thursday December 08, 2016 @03:45PM (#13134121)
Can you share this repo? I really like that idea.
Re:'Clean your desk': My Amazon interview experience by Qwertystop on Thursday December 08, 2016 @04:05PM (#13134304)
I don't know about his example, but I'm using gojot[1] for that. Automatic encryption, entry management, and syncing if the repo is remote.

[1][https://gojot.schollz.com/]

Re:'Clean your desk': My Amazon interview experience by wolfgang42 on Thursday December 08, 2016 @04:19PM (#13134401)
I'd rather not share the actual repo, it's a mess and also has some semi-private stuff in it. At some point, I may go through and clean some of this up and publish it, but for the moment it really is an extension of my brain--imagine publishing a feed of your thoughts directly to the world (Twitter notwithstanding).

I can, however, give you an idea of how it works. There are many personal wiki programs out there; I settled on Zim[1] as it stores everything in plain-text files and supports a basic markup. On my phone I have the repo set up with Pocket Git[2], and I view it with Coastline[3] (which is just an arbitrary text editor; I don't mind reading the Zim syntax). The Git repository is stored on BitBucket[4] since they offer free private Git hosting, though I now have my own VPN and am considering moving the repo there. Syncing is done periodically (roughly once a month) by committing, merging, and pushing, usually with a few minor edit conflicts to the more popular pages.

Pages are organized into a very loose and fluid hierarchy; for the most part I put things someplace that seems reasonable and then periodically merge, split, and move pages when they grow too unwieldy. The major parts of the hierarchy are:

- Project:(Active/Complete/OnHold): major projects (anything from Barcamp2015Presentation[5] to NewCellphone to BetterWorld[6]) get a page, which collects a narrative about the progress of the project, a summary of the current state, and any relevant links or quotes; this page may have subpages as well.

- Entity:* collects links for anything related to someone or some company I've been involved with; mostly this is backreferences to projects I've worked on for them etc. For example, Entity:Person:JohnSmith could link to Project:Complete:JohnMidiController for a side project I did for a friend.

- Hardware:* collects everything hardware-related, for example Hardware:Computers:RaspberryPi has links to pinout diagrams and the like.

- Software:* collects software-related pages, with subsections for Software:Protocols, Software:Programs, and a smattering of loose pages.

- Snippets:* covers code snippets, such as Snippets:Bash, Snippets:Python, and so on.

This covers about 75%; the other 25% is somewhat less organized and consists of things like fiction ideas, links that don't fit anywhere else, the aforementioned LifeSkills namespace, and Miscellaneous:Quotes:FunnyPhrases ("you there, wear these groceries"[7], "Turns out I'd just existed inconveniently at you"[8]).

Hopefully this rather long post answers your questions, but let me know if there's anything more you'd like to know.

[1]: http://www.zim-wiki.org/

[2]: https://play.google.com/store/apps/details?id=com.aor.pocket...

[3]: https://play.google.com/store/apps/details?id=com.rumsunrise...

[4]: https://bitbucket.org/

[5]: http://www.linestarve.com/blog/post/A-Mad-Scientists-Guide-t...

[6]: A Grand (Semi-)Unified Plan for improving everything, encompassing BetterUserInterface to BetterGovernment to BetterEconomy.

[7]: http://www.wildelifecomic.com/comic/195#comment-2550773663

[8]: http://suburbanjungleclassic.com/?p=1207

Re:'Clean your desk': My Amazon interview experience by Raed667 on Thursday December 08, 2016 @11:01AM (#13131145)
Today I used "man" to check some parameters of a command. I felt such a rush knowing that I cheated the system.
Re:'Clean your desk': My Amazon interview experience by verandaguy on Thursday December 08, 2016 @11:16AM (#13131294)
I think I know what you mean. I had to run a few commands using the `--help` flag this morning to look up features that I wasn't sure they could do. It just feels so _dirty_.
Re:'Clean your desk': My Amazon interview experience by TeMPOraL on Thursday December 08, 2016 @02:55PM (#13133656)
At least we know now that we can't be counting on you in situations of dire need - like https://xkcd.com/1168/.
Re:'Clean your desk': My Amazon interview experience by fauria on Thursday December 08, 2016 @12:39PM (#13132190)
If you want to cheat a little more you can try tldr: https://github.com/tldr-pages/tldr/

It gives actual examples of commands, just like a cheatsheet does.

Re:'Clean your desk': My Amazon interview experience by nop80 on Thursday December 08, 2016 @07:51PM (#13135781)
This is great, thanks for the link!
Re:'Clean your desk': My Amazon interview experience by bovice on Thursday December 08, 2016 @02:14PM (#13133169)
whoa, never knew this existed. Thanks for sharing!
Re:'Clean your desk': My Amazon interview experience by bitwize on Thursday December 08, 2016 @02:40PM (#13133459)
Stick it to the, er, authorities!
Re:'Clean your desk': My Amazon interview experience by connor4312 on Thursday December 08, 2016 @11:11AM (#13131255)
> Sometimes I'll just copy the code directly from the site, without typing it out again myself!

I realize you're being facetious, but do check with your employer that this is OK! Code on StackOverflow is under a CC-SA license, it isn't public domain or even very permissibly licensed.

Re:'Clean your desk': My Amazon interview experience by gokhan on Thursday December 08, 2016 @11:38AM (#13131534)
I was like "can't be true" but it seems you're right:

http://meta.stackexchange.com/questions/12527/do-i-have-to-w...

The license [1] says that you are free to:

Share — copy and redistribute the material in any medium or format

Adapt — remix, transform, and build upon the material for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow the license terms.

Attribution — You must give appropriate credit...

ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

[1] https://creativecommons.org/licenses/by-sa/2.0/?

Re:'Clean your desk': My Amazon interview experience by daenney on Thursday December 08, 2016 @11:51AM (#13131691)
It's not entirely true:

> Starting Feb 1, 2016, all new code contributions to Stack Overflow and Stack Exchange will be covered by the MIT License.

Source: http://meta.stackexchange.com/questions/271080/the-mit-licen...

So, it depends. Code from before then is CC-SA, after it is MIT.

Re:'Clean your desk': My Amazon interview experience by computronus on Thursday December 08, 2016 @12:22PM (#13132035)
That post has an update at the top that the license change was delayed until March 1, 2016 and a link to a follow-up post: http://meta.stackexchange.com/questions/272956/a-new-code-li...

That follow-up post says that they're "going to delay the implementation", so I assume that today it's still all CC-SA. I haven't found any further information, but would love to know it, or be corrected on my assumption.

My company is struggling with the code license situation and I'm stuck with dealing with it for my project. Clear, up-to-date information about it would be fantastic.

Re:'Clean your desk': My Amazon interview experience by daenney on Friday December 09, 2016 @04:15AM (#13137623)
Oh nice catch, I missed that part. And I feel your pain. Starting a similar project here to inventory 3rd party code etc., it's going to be hard.
Re:'Clean your desk': My Amazon interview experience by nommm-nommm on Thursday December 08, 2016 @11:48AM (#13131641)
But usually, code on SO is kinda like the docs, they show you how to do something and is often more of a template than a complete solution (unless you asked the question). Its not like people are writing complex solutions and putting them on SO. I mean how are you going to copyright this? (taken from a SO post):

for (Map.Entry<String, Object> entry : map.entrySet()) { String key = entry.getKey(); Object value = entry.getValue(); }

Re:'Clean your desk': My Amazon interview experience by mherdeg on Thursday December 08, 2016 @11:58AM (#13131768)
Or, famously (in a case where people thought carefully about both copyright and patents):

  private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
    if (fromIndex > toIndex)
	    throw new IllegalArgumentException("fromIndex(" + fromIndex +
            ") > toIndex(" + toIndex+")");
    if (fromIndex < 0)
	    throw new ArrayIndexOutOfBoundsException(fromIndex);
    if (toIndex > arrayLen)
        throw new ArrayIndexOutOfBoundsException(toIndex);
  }
Re:'Clean your desk': My Amazon interview experience by Bartweiss on Thursday December 08, 2016 @12:08PM (#13131888)
This is one of the reasons I followed the Oracle v Google suit with such interest.

Below some minimum threshold of complexity, it seems like software ought to cross the idea/expression divide and become copyright-exempt, just as a mathematical formula does. In fact, the example you gave is something that could easily be recreated letter for letter without seeing the original post.

I'd be utterly shocked if that sort of "could have written it from scratch" code ever caused someone an IP problem.

Re:'Clean your desk': My Amazon interview experience by RandomOpinion on Thursday December 08, 2016 @02:04PM (#13133066)
>"I found this website called Stack Overflow that has so many answers to problems I run in to. Sometimes I'll just copy the code directly from the site, without typing it out again myself!

Sometimes I even just walk up to colleagues and straight up ask them for help with a problem. They just tell me things I can use in my job, out loud, in a busy office, and we still haven't been caught!"

I've lost count of the number of (thankfully former) co-workers whose only technical skills were searching Stack Overflow and asking their colleagues for help with a problem. The measure of a programmer is what they are able to do when there _is_ no answer to be had from SO or their colleagues.

Re:'Clean your desk': My Amazon interview experience by sh87 on Thursday December 08, 2016 @08:43PM (#13135995)
I don't think there is an accurate measure of programming skill. Experience, diversity, challenges faced, skillfully using solutions to past problems, effective communication, reaching out for help when needed (including StackOverflow) are qualities that I can think of from a programmer that I would pay to build my product. I work / have worked with co-workers that you are trying to point out but use of StackOverflow was not my measure.
Re:'Clean your desk': My Amazon interview experience by russgray on Thursday December 08, 2016 @02:11PM (#13133134)
Something not being on SO is normally my first indicator that I've stumbled upon something interesting. I consider it a good thing.
Re:'Clean your desk': My Amazon interview experience by toomuchtodo on Thursday December 08, 2016 @03:32PM (#13134007)
I hope you contribute the questions and answer to SO then! Rising tide lifts all boats!
Re:'Clean your desk': My Amazon interview experience by rocqua on Thursday December 08, 2016 @03:31PM (#13133998)
No, the measure of a programmer is the change in productivity a company suffers were the programmer to leave.
Re:'Clean your desk': My Amazon interview experience by nop80 on Thursday December 08, 2016 @07:57PM (#13135801)
Some programmers work on bespoke algorithms and would do well to listen to the relevant commentators in regards to best practice. Not to mention that trusting everything you are taught can severely stunt your ability - read people's experiences and results.
Re:'Clean your desk': My Amazon interview experience by pklausler on Thursday December 08, 2016 @11:43AM (#13131603)
I get that you're being facetious, but just to take you seriously for a moment: if the help that you're asking your coworkers for is something like "tell me again how pointers work in a linked list", there's a problem.
Re:'Clean your desk': My Amazon interview experience by daenney on Thursday December 08, 2016 @11:55AM (#13131720)
Why? Maybe they didn't understand it when that coworker explained it the first time around.
Re:'Clean your desk': My Amazon interview experience by qwertyuiop924 on Thursday December 08, 2016 @12:03PM (#13131830)
...Because if the coworker had to explain it the first time, you probably aren't qualified. Depending on the job, of course.
Re:'Clean your desk': My Amazon interview experience by squeaky-clean on Thursday December 08, 2016 @12:24PM (#13132060)
Hey, don't let too many people know this, but nowadays you often don't even need to copy/paste the code! For example, I have to parse Excel files a lot in my work. Did you know some dummies have already written and tested a bunch of code that does exactly that? And then they place it online in a format that's easy for me to download!

I really hope they don't realize that I'm using their code to cheat.

Re:'Clean your desk': My Amazon interview experience by iamben on Thursday December 08, 2016 @11:56AM (#13131745)
Reminds me of this post a while back... https://news.ycombinator.com/item?id=11700640

"Am I really a developer or just a good Googler?"

Re:'Clean your desk': My Amazon interview experience by ErrantX on Friday December 09, 2016 @02:55AM (#13137375)
We specifically have an interview question here which is: "How would you feel about asking for help, either from a colleague, friend or on the internet, to complete a work project?"

(pro tip; the correct answer is, "fine")

Re:'Clean your desk': My Amazon interview experience by newscracker on Thursday December 08, 2016 @11:21AM (#13131357)
> I found this website called Stack Overflow

You missed the part where a search engine shows you several links, including the ones from Stack Overflow.

Re:'Clean your desk': My Amazon interview experience by TeMPOraL on Thursday December 08, 2016 @02:57PM (#13133692)
GP might be cheating, but not that hard.
Re:'Clean your desk': My Amazon interview experience by clifanatic on Thursday December 08, 2016 @05:53PM (#13135063)
> shows you several links, including the ones from Stack Overflow.

And all of the stack overflow answers that were linked from the top of the google search are "Have you ever heard of Google, N00B?"

Re:'Clean your desk': My Amazon interview experience by berserkpi on Monday December 12, 2016 @12:48PM (#13160025)
I'm also a big time cheater. :)
Re:'Clean your desk': My Amazon interview experience by tzakrajs on Thursday December 08, 2016 @12:28PM (#13132096)
Welcome to the club! No shame to be had here. Freedom and responsibility.