News for hackers. Stuff that matters.
Re:I interviewed at six top companies in Silicon Valley in s... by acpetrov on Friday January 18, 2019 @06:50PM (#18944237)
I just graduated, so I'm not dealing with constant internship interviews anymore, but at the time I absolutely hated it.

My frustration isn't exactly like yours (my time is probably a lot less valuable). I feel that the questions are all geared at puzzle solvers.

If you're a puzzle solver, you love answers. You love digging into the details. You love finding out the basic components of a system. I think these are the people who excel in academics.

Almost every other intern I met once I got to the bay area was a puzzle solver. They were also competitive and had amazing grades. And these people LOVED algo questions. Over lunch, they could go through half a dozen questions.

I slipped through the cracks I guess. I'm bored by puzzles, have awful grades (and in a worse program), and not so competitive. What I do enjoy, however, is building up. I like modeling and being about to think at greater and greater levels of abstraction to solve problems that aren't puzzles, but instead open ended questions.

Anyway, I think both of these types of people have a place is software, and only one is given attention

Re:I interviewed at six top companies in Silicon Valley in s... by turtlecloud on Friday January 18, 2019 @10:35PM (#18945165)
I agree with you. The puzzle solver ABSOLUTELY hate it if you somehow say that the question is flawed. Ie if you think outside the box and render their hypothetical situation flawed. It’s as if they didn’t spend enough time to realize that they are missing the forest for the trees.
Re:I interviewed at six top companies in Silicon Valley in s... by gdy on Saturday January 19, 2019 @05:24PM (#18949585)
"It’s as if they didn’t spend enough time to realize that they are missing the forest for the trees."

In their eyes, they have given you a problem involving a tree from the graph theory and you are insisting on an "out of the box" solution involving woodpeckers.

Let me elaborate.

Usually hypothetical situation is just a way to talk about an abstract problem.

It's easier to visualize and to talk about an egg falling and breaking (or not) than abstract measurements.

Now what you call 'thinking outside the box' is just attacking the irrelevant details of an imaginary situation which is there purely for convinience and can be replaced with another hypothetical situation corresponding to the same abstract problem.

Re:I interviewed at six top companies in Silicon Valley in s... by Drdrdrq on Saturday January 19, 2019 @04:36AM (#18946174)
To be fair, almost everyone hates it when you show them they are wrong. Especially in the setting where they are supposed to be judging you, remember? And even in normal settings it pays to think about how some critique will be received by the other side. It's a slippery slope in the interview... For me it would raise red flags if the flaw was pointed out in an inappropriate manner. After all, this is the person who would be involved in code reviews where sensitivity to other people's feelings (and egos) is very important.
Re:I interviewed at six top companies in Silicon Valley in s... by Matumio on Saturday January 19, 2019 @08:54AM (#18947044)
> they are supposed to be judging you, remember?

It's actually supposed to be mutual judgement. But I agree: be respectful if you decide to drop a remark about the relevance of the question. There are enough reasons to treat people with respect even if you can afford to turn them down.

Re:I interviewed at six top companies in Silicon Valley in s... by Drdrdrq on Saturday January 19, 2019 @10:17AM (#18947431)
> It's actually supposed to be mutual judgement.

Agreed, I was being sarcastic.

Re:I interviewed at six top companies in Silicon Valley in s... by audience_mem on Saturday January 19, 2019 @11:52AM (#18947863)
It didn't come across as sarcastic to me, btw
Re:I interviewed at six top companies in Silicon Valley in s... by flatline on Friday January 18, 2019 @10:43PM (#18945198)
I like solving puzzles. I like algorithms. Every once in a while I even get to use them at my job! Solving these kinds of things is at most 5-10% of a developer’s job, and that’s probably a stretch in reality. The number of times I’ve seen things like dynamic programming come up in a real world application are vanishingly small, and rarely will you need to roll your own implementation rather than using a third party library. Even if you’re working on a library like that, considerations of good software design principles, infrastructure and the like will consume a large portion of your time.
Re:I interviewed at six top companies in Silicon Valley in s... by holdenc on Friday January 18, 2019 @07:57PM (#18944553)
I am like you. For me, the solution has been build something and show it off. Building a great and useful app rarely requires Herculean feats of logic and puzzle solving.
Re:I interviewed at six top companies in Silicon Valley in s... by nailer on Friday January 18, 2019 @09:40PM (#18944979)
Years ago I was rejected by Google for a permanent position, then a year later employed at a much better rate as a contractor in the same building I'd interviewed in. I'd built a relatively cool app (full stack, from Linux to Tornado to JavaScript to UX), like Secret or YikYak (but a few years before either).

The people in Creative Lab were impressed with the ride range of knowledge I had, the SRE guys who rejected me got stuck into me for mixing up some VMware terminology.

Re:I interviewed at six top companies in Silicon Valley in s... by widforss on Saturday January 19, 2019 @07:51AM (#18946778)
My current problem is that I built an app and showed of to some gov agencies, and now that demo app is solving their business problems.
Re:I interviewed at six top companies in Silicon Valley in s... by bg24 on Saturday January 19, 2019 @01:01AM (#18945585)
>> "What I do enjoy, however, is building up. I like modeling and being about to think at greater and greater levels of abstraction to solve problems that aren't puzzles, but instead open ended questions."

In my opinion, you will do well if you focus on building your own business sooner or later.

Re:I interviewed at six top companies in Silicon Valley in s... by solipsism on Saturday January 19, 2019 @01:12AM (#18945604)
What an odd thing to suggest. Owning a business isn't for everyone. Not by a long shot.
Re:I interviewed at six top companies in Silicon Valley in s... by krisoft on Saturday January 19, 2019 @02:08AM (#18945755)
No, it is not. But grand parent comment was giving this advice based on the quoted specifics and not for everyone.
Re:I interviewed at six top companies in Silicon Valley in s... by graphenus on Saturday January 19, 2019 @03:47AM (#18946040)
And most importantly, the commenter gave one's suggestion based on representiveness, which are not facts. The rest follows from here.
Re:I interviewed at six top companies in Silicon Valley in s... by GrzegorzWidla on Saturday January 26, 2019 @03:38PM (#19008325)
But building something from scratch, even if non-profit, is the easiest way to get a job you really want. And at the same time you can find out that you like doing actual business and smoothly transition. It's a win-win IMO.
Re:I interviewed at six top companies in Silicon Valley in s... by jsmeaton on Friday January 18, 2019 @07:34PM (#18944436)
Honestly, it sounds like you may be geared more towards software architecture rather than software development. If you like the sound of the bigger picture more than the details, it might be something you could look into.
Re:I interviewed at six top companies in Silicon Valley in s... by opportune on Friday January 18, 2019 @07:58PM (#18944554)
Is it possible to even get into software architecture without pretty significant experience? From my experience in the workplace anybody making purely architectural decisions without having to implement them is a team lead or higher in the organizational architecture.
Re:I interviewed at six top companies in Silicon Valley in s... by phrh8 on Friday January 18, 2019 @10:22PM (#18945122)
Not sure it would happen that way out of choice, but the role can get unexpectedly thrust upon someone, experienced or not (Think startups, desperate to make ends meet with a handful of inexperienced engineers...or even at medium sized companies, remember back when Google had "20% projects"?). At startups especially though: they don't have money to go out of their way to hire an overpriced "experienced software architect"...

It goes something like: "Hey, new Engineer, I need you to work on experimental feature X". - Then the engineer builds system Y to provide feature X, probably poorly architected and not scalable, not expecting it to go anywhere. Some months later, app containing feature X gets distributed to thousands of users, or goes viral and hits millions of users.

Congratulations, like it or not, you have now become the lead architect of the now-widely-deployed "experimental" system Y, and you are going to either crash and burn or become a damn good software architect by maintaining it out of sheer necessity. Later, you find yourself putting "Lead Software Designer" on your resume, having earned that role and title.

A lot of successful software was originally designed "by mistake" and grows far, far greater than its original purpose. And in contrast, you get the well-designed software that was properly architected, but never goes anywhere because it never saw the light of a successful deployment at scale.

Re:I interviewed at six top companies in Silicon Valley in s... by bmiller2 on Saturday January 19, 2019 @01:05AM (#18945596)
I think you’ve accurately described the vast, vast majority of production code that’s hasn’t been through a second wave of engineers/management and rewritten. If it works, and requirements aren’t changing, then your MVP has become the gold standard
Re:I interviewed at six top companies in Silicon Valley in s... by Aeolun on Friday January 18, 2019 @08:48PM (#18944758)
It’s the best way to get into it anyway. Making architectural decisions without experience implementing them sounds like a recipe for disaster to me.
Re:I interviewed at six top companies in Silicon Valley in s... by notyourwork on Friday January 18, 2019 @08:06PM (#18944585)
Which makes sense right? Same reason a military general doesn’t start as a general. Architecture takes experience in the weeds to give a breadth you can leverage as you reason through architecture. Architecture isn’t aslways black and white decision making based on some specs which is where experience can help a ton.
Re:I interviewed at six top companies in Silicon Valley in s... by Aeolun on Friday January 18, 2019 @08:50PM (#18944763)
Generals often start out as lieutenants though (e.g. officer academy drops you in on a higher rank).
Re:I interviewed at six top companies in Silicon Valley in s... by skh on Friday January 18, 2019 @10:57PM (#18945238)
In the U.S. military this is not true. People graduating from OCS, ROTC, or one of the academies start off at O-1 (2nd Lieutenant).
Re:I interviewed at six top companies in Silicon Valley in s... by learc83 on Friday January 18, 2019 @11:52PM (#18945398)
What's your disagreement? 1st Lieutenant vs 2nd Lieutenant? Lieutenant is commonly used to refer to both.

Or are you saying that you start of at O-1 and not a higher paygrade? If that's the case, the OP was pointing out that you start off outranking enlisted service members, not that you start out above O-1.

Re:I interviewed at six top companies in Silicon Valley in s... by skh on Saturday January 19, 2019 @11:52AM (#18947860)
Well, I misread the comment I responded to. I thought they said that academy graduates don’t start off at lieutenant and start off at a higher rate.
Re:I interviewed at six top companies in Silicon Valley in s... by jsmeaton on Friday January 18, 2019 @09:43PM (#18944991)
No I wouldn’t think so. But knowing about a role and angling towards it early if that sounds more interesting is hopefully helpful information.
Re:I interviewed at six top companies in Silicon Valley in s... by sjg007 on Friday January 18, 2019 @09:08PM (#18944845)
Yes it is possible.
Re:I interviewed at six top companies in Silicon Valley in s... by nicoburns on Friday January 18, 2019 @11:00PM (#18945248)
I like roles where I get to do both! I've found that a lot of problems come from these being different roles, and the developers not really understanding or buying into the vision of the architects (who might be able to see the big picture, but can often make decisions that make no sense due to being removed from the details of the existing implementation).

Of course in really large companies I suppose having these as a seperate role is a necessary evil. But I still think there should be much more collaboration and interaction between people in these different roles than I generally see.

[dead]
Re:I interviewed at six top companies in Silicon Valley in s... by sn41 on Friday January 18, 2019 @09:12PM (#18944864)
Not really, not at all. Software architecture is a lot about wisdom - how to anticipate future changes. Often user interfaces need to be carefully and gently designed so that the user has no surprises. Diligence from the user should not be assumed, the user interface must emphasize tricky parts and make choices less onerous, etc. Scalability is preferrably achieved by simple code + hardware/vms rather than overoptimized code which depends on "irreplaceable" programmers - what if they fall sick, or leave the company? etc. I think all of this is experience accrued over many years, and with facing many failures.

I have found that the data structures that you need are often simple trees and hashes. Database design is probably more important. I often shake my head at students doing hours of dynamic programming to crack interviews. In the past year, how many problems in your company have you solved through dynamic programming? I suspect, not many.

Re:I interviewed at six top companies in Silicon Valley in s... by scarface74 on Friday January 18, 2019 @08:09PM (#18944600)
In the real world software architecture is rarely about “data structures”. Software architecture is about teasing out the needs of the customer - whether that be internal or external - and knowing how to design systems that are maintainable, scalable, fault tolerant, etc.
Re:I interviewed at six top companies in Silicon Valley in s... by SamReidHughes on Friday January 18, 2019 @08:18PM (#18944632)
Scalable, fault tolerant systems is a distributed systems problem, which is a harder form of data structures problem.
Re:I interviewed at six top companies in Silicon Valley in s... by scarface74 on Friday January 18, 2019 @08:20PM (#18944640)
Yes but unless you are actually working on creating the system that other people implement, you are just using work made by others. You don’t need to know the ins and outs of various gossip protocols.
Re:I interviewed at six top companies in Silicon Valley in s... by rapind on Friday January 18, 2019 @08:44PM (#18944738)
Potentially two things here:

1) Gathering requirements.

2) Turning those requirements into data structures.

I think a lot of companies will separate those into different roles, but I strongly believe that's a costly mistake in most situations. There's a feedback loop. Requirements inform your data structures, but your data structures help you contextualize (not pollute) your requirements. If you're working with an existing system, you also want to understand current structures in order to guide requirements. By guide, I don't mean to ignore pain, but if you're building a system to support multiple clients / users, then the real trick is to figure out how to do that in a cost-effective and elegant way.

When these roles are separated, and the requirements are gathered without knowledge of the structures, I believe you're setting yourself for failure in the long term (spaghetti code / everyone gets something different).

Getting these to gel is the puzzle I'm personally passionate about. I don't mind what I would call the math side of programming / code puzzles, but it simply doesn't give me the endorphin rush that building a system that elegantly ties things together does. The best is when you're working towards that or have achieved that and inspiration for further possibilities, improvements, efficiencies start popping up.

I'm not sure how you test for this as part of the hiring process, at least not efficiently. I do think we get better at this with experience, but I doubt it's exclusive to seasoned developers.

Re:I interviewed at six top companies in Silicon Valley in s... by scarface74 on Friday January 18, 2019 @09:01PM (#18944819)
But still “data structures” in the context of most businesses are more Domain Driven Design “Domain Contexts”, “Aggregate Roots”, type structures than any type of complicated CS type data structures.
Re:I interviewed at six top companies in Silicon Valley in s... by nailer on Friday January 18, 2019 @09:44PM (#18944998)
Parent was discussing not being interested in algo design, rather than not knowing data structures.
Re:I interviewed at six top companies in Silicon Valley in s... by theoh on Friday January 18, 2019 @08:42PM (#18944726)
That depends on what is meant by software architecture. If you mean the structuring of a system to achieve good or (particularly) consistent worst-case performance, maybe you are right. But if architecture is used to mean the design of a system to satisfy users (and present a clean, extensible, meaningful interface) then it's really a conceptual job that has more to do with design skills than optimized algorithms.
Re:I interviewed at six top companies in Silicon Valley in s... by SamReidHughes on Friday January 18, 2019 @09:08PM (#18944847)
Being able to make a clean interface, as in a clean API, or useful one, is a data structures/algorithms problem and often a distributed systems problem. Many API's are technically impossible to use correctly. For example they might not let you do two things atomically that need to be. Or they might suffer enormously because they don't version their information properly, resulting in client/server disagreements over the nature of reality that are impossible to avoid. Or you get components that are impossible to interrupt cleanly or shut down safely.

It's not the same thing as some piddly twenty minute problem -- it's harder, requires some experience, and it has the same kind of aptitude. Consider it a rule that people that can't handle data structures problems are going to create systems architecture problems.

Re:I interviewed at six top companies in Silicon Valley in s... by pseudalopex on Saturday January 19, 2019 @12:09AM (#18945448)
In my experience, architecture requires broad but not deep knowledge of data structures and algorithms. The best architects have both, but even very good architects struggle to remember algorithmic tricks on the spot and write detailed code without tools or references. People who can do that easily are often the last to think of things like fault tolerance.
Re:I interviewed at six top companies in Silicon Valley in s... by SamReidHughes on Saturday January 19, 2019 @12:51AM (#18945557)
You don't have to be some string algorithms weenie, but the kind of people who "absolutely hated" algorithms problems in my experience, some of it personal and some of it vicarious, are bad at making architectural decisions with far-reaching consequences. It's overlapping subject matter which uses the same kind of aptitude. It's not that to be good at architectural decision-making you need to be prepped for an emergency Google Code Jam.
Re:I interviewed at six top companies in Silicon Valley in s... by pseudalopex on Sunday January 20, 2019 @08:29PM (#18956840)
A more charitable interpretation is that they absolutely hated "constant internship interviews".

In my experience, algorithm interviews aren't even very good at measuring aptitude for algorithms. Recent study and aptitude for the format have too much influence. Asking candidates about architecture has been much better at predicting their aptitude for architecture.

Re:I interviewed at six top companies in Silicon Valley in s... by SamReidHughes on Tuesday January 22, 2019 @01:09AM (#18966320)
I don't necessarily disagree with that -- what kicked off my reply was the statement, "Honestly, it sounds like you may be geared more towards software architecture rather than software development." (And, you know, rereading that sentence removes any doubt I had about the correctness of my initial response.)

If you can rigorously ask architecture questions, and don't let people get away with hand-waving, that sounds fine. I've been asked good architecture questions and I've been badly asked bad architecture questions too, so... it depends on the question, and how you ask.

Re:I interviewed at six top companies in Silicon Valley in s... by theoh on Friday January 18, 2019 @09:50PM (#18945022)
Designing something on an architectural level really isn't always a data structures and algorithms problem. Take the web, for example. REST isn't complicated, but it does the job and it opened up more possibilities than any other invention since timesharing.

As other commenters have noted, choosing an architecture for a system may have more to do with vision, common sense, and even imagination. And the web is such a great example of this, maybe the classic example. As you probably know, it's possible to write a webserver without having a clue about fancy data structures or algorithms. It's the imaginative composition of pre-existing features that creates the architecture.

Another example would be the extensibility of Emacs through elisp. Consider the notion of hooks which essentially allow utility functions to be customized by the user. It's a purely architectural concept.

Or the Unix philosophy: small utilities that read and write text, linked by pipes. Really no algorithmic complexity to it at all.

It feels problematic to me that you are saying to someone that they "need to stay far, far away" from some aspect of computing. It's a kind of gatekeeping. Sure, an outfit like NASA needs to make sure that they don't have amateurs writing their systems software. But in the industry more broadly, people have to be given permission to pursue whatever interests them. It's important, for diversity and the invention of new applications, that "differently able" coders aren't told, by intimidating stereotypical computer science types, that they don't have the aptitude to architect a useful system, or that it's "a rule" that people with their skills will just create problems.

Vision and a perspective that differs from the norm are a lot rarer and potentially more valuable than the ability to apply software engineering principles. Architecture, in the broadest sense, is precisely the area where these "outside the box" contributions are likely to be valuable. Consider the invention of the Wiki. It came out of the pattern language world, it was a hugely beneficial innovation, and it has almost zero data structures/algorithms complexity behind it.

I'd even argue that the examples of pitfalls that you list are more clerical matters of systems programming than cases where architectural design principles are lacking.

(And even the professionals who can reliably grind out working code for large systems can get the architecture spectacularly wrong, as the case of the X window system: http://web.archive.org/web/20170920104011/https://minnie.tuh... )

Re:I interviewed at six top companies in Silicon Valley in s... by minderasure on Saturday January 19, 2019 @11:58AM (#18947881)
>t feels problematic to me that you are saying to someone that they "need to stay far, far away" from some aspect of computing. It's a kind of gatekeeping. Sure, an outfit like NASA needs to make sure that they don't have amateurs writing their systems software. But in the industry more broadly, people have to be given permission to pursue whatever interests them. It's important, for diversity and the invention of new applications, that "differently able" coders aren't told, by intimidating stereotypical computer science types, that they don't have the aptitude to architect a useful system, or that it's "a rule" that people with their skills will just create problems.

I really needed to hear this thanks.

Re:I interviewed at six top companies in Silicon Valley in s... by SamReidHughes on Saturday January 19, 2019 @12:34PM (#18948076)
Calling an idea problematic is a tell that he's not really concerned by matters like whether it's correct or not.

Web servers and clients, for example, are a case where I've seen bad architecting cause months of damage. An Emacs function hook or advice system, likewise, requires care in terms of when the hook is called, and what the rules for their scoping are. It's a bad software architect that thinks they can just slap callbacks on something.

Re:I interviewed at six top companies in Silicon Valley in s... by vpmpaul on Sunday January 20, 2019 @11:59AM (#18953999)
The puzzle solver obsession in SV has always confused me. Seems to me that you would only need a handful of those type of personalities at any software company. The majority of the work is just shoveling so to speak.

I'm no expert but I know a logistics company that has the 30 workers 1 puzzle guy setup. He maybe writes 20 lines of code a week but its on stuff other people cant figure out. However if he was the only type there literally nothing would ever get done.

Re:I interviewed at six top companies in Silicon Valley in s... by calf on Saturday January 19, 2019 @02:43AM (#18945866)
You're better suited for research which is about working long term on open problems.
Re:I interviewed at six top companies in Silicon Valley in s... by nitrogen on Saturday January 19, 2019 @02:55AM (#18945900)
I think the opposite would be true; research might benefit from puzzle solving, and software engineering is precisely the discipline of building up and reasoning about layers of abstraction and components of a system.
Re:I interviewed at six top companies in Silicon Valley in s... by LanceH on Saturday January 19, 2019 @03:35AM (#18946000)
Research is a grind when it's not about writing grant proposals and then it's a different grind.