HNHacker News
TopNewBestAskShowJobs

ordinaryperson

2,156 karma · joined December 13, 2016

submissionscomments
ordinaryperson··on Chrome 72 Beta: Public class fields, user activation and more
Classes don't really exist in JS. They're (mostly) syntactic sugar for OOP programmers. e.g. https://stackoverflow.com/questions/36419713/are-es6-classes...
ordinaryperson··on Google Shut Out Privacy and Security Teams from Secret China Project
I don't understand why all this outrage is directed at Google but Microsoft gets a free pass.

I'm in China at the moment and if I search Bing.com for "Tiananmen Square massacre" all I get are results about Xi Jinping celebrating martyrs and nothing about what happened.

If you want to be outraged by Google's actions, OK, but it seems selective to me. Microsoft and Google can't be the only ones who do this, either.

ordinaryperson··on Google Workers Fume Over Executives’ Payouts After Sexual Misconduct Claims
The issue is with how the NYT framed it. The headline says, "Google Workers Fume..." which implies a plurality or majority when we have no idea what a collective of 85,000 think.

A more accurate headline would be something like, "Alphabet CEO Confronted about Sexual Harassment Policy" instead of characterizing "Google Workers" as if they were one, single-minded Borg-like entity.

ordinaryperson··on Google Workers Fume Over Executives’ Payouts After Sexual Misconduct Claims
Let's say you know the feelings of 100 coworkers on this issue. That's still 100/85000 employees, or 0.1%. Not exactly a representative sample size.

Now, it's entirely possible 60% of the employees actually are outraged, but we have no way of knowing outside a survey.

Hence the NYT is cherry-picking an opinion based on anecdotal data (that just so happens to positively reflect on their earlier coverage), when it's also entirely possible that 80% of Googlers don't really care.

The headline and story imply the NYT has a firm handle on how the bulk of 85,000 people think, which is not the case.

ordinaryperson··on The Google+ project and exec team
No question (assuming the author represented the conversation accurately).

But you need to deal with jerks. There's lots of them out there, often in management positions.

He says this made him "very depressed" and working there was "completely and utterly ruined" -- an on over-reaction. Toxic leadership is bad but you shouldn't let it control you to this extent.

ordinaryperson··on The Google+ project and exec team
Could be. But just as a counter-example, here's a Glassdoor review from just 9 days ago that describes Red Hat as a "bloated company with an abusive culture": https://www.glassdoor.com/Reviews/Employee-Review-Red-Hat-RV...

Even if Red Hat is amazing for you it might not be for other people. No company is immune to human nature.

Again I feel for the author. Sounds like "Greg" was jerk. But it's not cosmic injustice, it's more a feature of humans working in collectives, IMHO.

ordinaryperson··on The Google+ project and exec team
To summarize some of his major complaints:

1) He accepted a salary (115K) lowered than what he thought was fair

2) Design occurred in silos, there was no unity or cohesion

3) His 2nd manager was "political" and "in love with bureaucracy"

4) An exec on a rival team tried to quash his idea

5) Managers often just wanted to slap their name on his work

6) He worked all night to satisfy an angry coworker the night his grandmother died, while coworker partied then rescheduled mtg

For No 1: if you don't think a salary is fair, don't accept it.

Nos 2-5: these happen at almost every medium-large sized company I've ever worked at. If you know a place that isn't political, bureaucratic, siloed and filled with rivals and petty managers, let me know so I can give you my resume.

For No. 6, if you feel a deadline or meeting time is unfair, say so. If you have a sick family member, say so.

He sent this email to his boss:

> "Greg, I had to work most of the night because of Jim, and he canceled our meeting because he was partying with our competitors. In my book, this is totally unacceptable. What am I supposed to do?"

It's never a good idea to send this. It's not going to help you, even if you're in the right. Canceling a meeting is not a gross injustice and if an employee parties afterhours that's his or her business.

I sympathize with the author. Sounds like a good dude. But you have to try to roll with the punches, no workplace will be perfect, I promise you.

ordinaryperson··on Ask HN: Cheap places to live with a good intellectual atmosphere?
Also, Chicago is highly racially segregated. http://www.chicagomag.com/city-life/March-2017/Why-Is-Chicag...
ordinaryperson··on How Twitter poisoned politics
Was there a time when politics wasn't full of poison? By the end Thomas Jefferson hated George Washington so much he refused to attend his funeral.

And that's just 242-year history of America, you can go back to Rome, Greece or Ancient Egypt and see thousands of years of vitriol inside any large human collective.

Modern tools could do a better job, sure. Twitter, FB, YouTube and the rest could use some kind of reputation systems, which at least provide a gradient of user interaction instead of just blacklisting.

But politics have never been pure, it's a myth. Don't blame communication platforms (although again, they can do better), blame the humans that use them.

ordinaryperson··on John Dvorak: “Yesterday I was fired from PC Magazine”
About 12 years ago I was working for a PC Magazine competitor when they cut the Managing Editor loose, a man who'd worked there 20+ years and was in his late 50s.

I ran into him in the bathroom, tears in his eyes, asking me what he was going to do now? That this is how they reward decades of loyalty?

Ironically that magazine, dedicated to predicting future technology trends, would go down the toilet some years later because they didn't see technology trends like Google and internet advertising coming.

Companies have no loyalty folks...neither should you.

ordinaryperson··on Why we needed Redux in the past, and don’t any more
I see GraphQL queries at work and some of them are almost 100 lines long because we're asking for/receiving almost all of the available data fields.

So what would be a 1 line request in REST format is now 100x longer and complex and why? It's an internal service so we weren't worried about reducing bandwidth costs (the problem FB was presumably trying to solve). I assume it was adopted because it's sexy and/or the developer wanted an excuse to use it.

I also wonder about the performance benefits if your data is in a SQL db...if you're running a no-SQL db then you can specify only the fields you want but I'm guessing a SQL db is likely to lock and read the entire row/record, even if it's only returning a subset of values.

If you're building a big, public-facing API or if people will only want a small subset of available data fields exposed by the API, GraphQL makes sense, but I feel like devs are swapping out easier-to-implement and use REST APIs just because GraphQL sounds cool.

ordinaryperson··on Breaking bad news
This applies to almost every situation where you have to break bad news, like being a manager or a parent.

When you want to provide negative performance feedback at work, be direct and professional, Don't bury it in a "compliment sandwich" ('You're doing a great job, except when you're not, but don't worry').

It's a hard skill to master (unless you're a non-feeling sociopath) because it means accepting that you will (possibly) be disliked, maybe even hated.

Same for children. They are going to hate you (at least temporarily) for criticism or punishment, but if you try to be fair, fact-based and direct hopefully they will appreciate it down the road when they have more context.

ordinaryperson··on What to say when recruiters ask you to name the first number
This would be helpful if it were 1994 and there was lots of what economists call asymmetric information, but now you can price-check a company's offer in seconds.

Besides, companies can also easily see what the going rate is and normalize their budgets accordingly. I recently went through the job search process and almost all companies offered similar rates.

If you're north of 100K (and I assume most experienced software engineers are) realistically 10-20K more will not make a significant impact on your quality of life. We're talking an extra $500-1K a month. Nice, but doesn't exactly catapult you into the 1%.

As long as your salary is in a competitive range it's more important to focus on finding the right fit of industry, company, people and projects. Wouldn't over-weight salary negotiations, especially in a day where both employers and job-seekers can quickly ascertain market rates.

ordinaryperson··on Software development requires servant leaders
Obsessing over any rule pattern, whether it's Agile, Lean, Waterfall, etc., is, of course, stupid.

Those patterns are designed to help groups work together more efficiently, not lord over them like the gods of Olympus.

Assuming you've already explained your frustration to your manager, might be time to seek a new opportunity...

ordinaryperson··on Software development requires servant leaders
There's no one-size-fits-all management style. Evil megalomaniacs can also have success.

It's good to have humility, but that's true for individual contributors, not just leaders.

As you point out, if a leader is too humble, at especially at Big Corp Inc, products can end up designed by committee, an ugly Mr. Potato Head that everyone hates.

It'd be nice if success required 1-3 specific personality traits but they can't be correlated exactly. But this kind of "If you do/have X, you will succeed" articles will probably always be popular.

ordinaryperson··on Software development requires servant leaders
The Roman emperor was known as "princeps civitatis" aka "first citizen".

The language obviously implied the emperor was just the first among equals, although more a political framing than actual attitude held by emperors.

ordinaryperson··on Engineering whiteboard interviews: yay or nay?
But being a slow worker is going to be revealed during a whiteboard coding test?

All small programs are maintainable, no interview process will tell you if a developer can deliver large, complex programs that are clean, modularized and easy to maintain because there's no time to do something of the requisite size.

It's true there are experienced devs who suck, but that doesn't mean whiteboard coding is the process that filters them out.

ordinaryperson··on Engineering whiteboard interviews: yay or nay?
Exactly.

During my recent job search I was asked many questions I didn't know the secret algorithm to, but if those companies had given me the problem ahead of time and allowed me to research it -- just like what happens in real life -- I could have coded solutions to all of them.

And if you're worried about people just plagiarizing existing solutions, have them talk through it, as you say. Should be fairly clear if they understand each line or not.

ordinaryperson··on Engineering whiteboard interviews: yay or nay?
> They are better at capturing thought process, high level understanding, system architecting ability, and a candidate's communication skills.

If that were the case, ask me about a past problem and my solution and to defend it, not the proper way to invert a b-tree.

ordinaryperson··on Engineering whiteboard interviews: yay or nay?
> People who do well in these roles typically have a brain that works in a certain way.

You know this how? Intuition?

People have all different kinds of backgrounds and brains.

ordinaryperson··on Engineering whiteboard interviews: yay or nay?
Right?

Ask me about past projects. Want GitHub examples? Fine. But whiteboard coding some non-real-world problem?

I get that companies need some sort of filter, but whiteboard coding is not the answer, IMHO.

ordinaryperson··on Engineering whiteboard interviews: yay or nay?
This would be a good method if your goal is to hire a carbon copy of yourself.

First, your definition of "interesting problem" probably includes a lot of personal biases. What you find interesting probably touches stuff you've had experience with, but just because you've done work on say, customized implementations of binary search, doesn't mean it's a good baseline for all developers everywhere. Maybe they've worked on different domains or solved different problems and can't relate to questions you personally find "interesting".

It'd be much fairer to select a boring question that involves standard stuff that everyone has to face at some point in their careers, like string manipulation. And even then, it just involve normal transformations ('look for and remove special characters') and not wacky, HackerRank-style rules ('no two bs after cs but before as').

ordinaryperson··on Engineering whiteboard interviews: yay or nay?
Having just been through this process (landed a new job after a 2-month search), the worst part about whiteboard coding is how humiliated you feel if you don't get it right or don't know where to start. Is it really necessary to do that to candidates?

I've been doing this for 15+ years professionally, have a master's in CS and I struggled to answer many questions. Just stood there blinking like a goldfish.

If companies really wanted to simulate programming work, you'd give me 10-30 minutes to Google the problem because THAT'S HOW IT WORKS IN REAL LIFE. Which is how it should be; rarely are you solving a new problem, usually other people have faced it before, it's probably far more efficient to start with a known working solution and iterate from there.

Look, of course there things you should know. Data structures, algorithm basics, some complexity theory, etc. But asking me to output numbers in a matrix in a spiral fashion does not translate into real-world ability.

I find the more important developer skills are people skills and project management skills. How well do you work with others? How do you resolve conflicts? What's your methodology for grouping work-- Jira tickets, sprints, etc?

But almost none of the interviewers seemed to care. They wanted to know what exotic technology skills I had, not that I could work with project managers and marketers effectively.

Take-home projects are more time-consuming but the least unfair, whereas whiteboard coding is the shortest but most unfair.

I blame Google for this curse. I hope the next time I go looking for a job this process has changed.

ordinaryperson··on Tesla Second Quarter 2018 Update
https://www.bloomberg.com/news/features/2018-07-26/she-launc...
ordinaryperson··on Ask HN: Got a CS degree, but I’m unable to be programmer. What can I do?
Can't agree with this enough.

Over 15 years professional experience here, master's degree in CS, and I often struggle with whiteboarding. Looking for a new job now and some of the questions I've been asked:

1. Overlapping maximal interval sets (https://www.geeksforgeeks.org/find-the-point-where-maximum-i...)

2. Print a matrix in a spiral form (https://www.geeksforgeeks.org/print-a-given-matrix-in-spiral...)

3. Implement setInterval using setTimeout (recursion)

4. Shorten a string of repeated letters (dddbbbaa) into numerical format (3d3b2a). also write function to reverse this process

5. Given this JSON input, write an API in NodeJS

6. Write an algorithm to convert decimals to Roman numerals (https://www.geeksforgeeks.org/converting-decimal-number-lyin...)

7. Convert from prefix to postfix notation (https://www.geeksforgeeks.org/prefix-postfix-conversion/)

I could go on and on. So stupid. How does answering any of these on the fly signal ability as a programmer?

The take-home tests are the least offensive to me, because at least they simulate what it's like to work on a real project (somewhat).

The HackerRank.com tests aren't any better than live whiteboarding -- why can't I look stuff up (they disable copying and pasting)? Are you not allowed to look stuff up at a real job?

All these stupid questions implicitly assume the same thing: the most important developer skill is memorizing a large corpus of algorithms to obscure problems.

Trust me, it's not.

It'll probably take one of the FANG companies to start de-emphasizing this nonsense before everyone else stops mimicking them.

ordinaryperson··on What travel insurance really means
Once I filed for travel insurance after my travel plans to Patagonia were delayed by a blizzard.

Getting there required 3 separate flights and 2-hr cab ride in the middle of nowhere Chile, which cost like $200.

After Kafkaesque paperwork my claim was initially denied. They said I didn't have my boarding pass from the 3rd flight (first 2 legs were Air Canada, easy to reproduce, but the third was some small, domestic Chilean airline with a barely-there website and a Spanish-only hotline).

Who saves a boarding pass at the start of a 2-week hiking trip through the Patagonian wilderness? Why is that third flight stub necessary, since I'm asking to be reimbursed for the cab ride when I got there (which I have documented proof for)?

I had to arrange for a conference call with a Spanish translator and the insurer (srsly), and eventually they paid up. But how many people go that far? It felt like the plot of "The Rainmaker".

The only other time I had to use travel insurance was when I lost my brand new iPod while changing planes in Seoul, South Korea. Even though the insurance covered "lost or stolen" they claimed they couldn't reimburse me because I hadn't filed a police report with the South Korean airport police (it was the middle of the night, I don't speak Korean and I didn't realize it was gone until later). And why do I need to have a police report if it was lost?

So I can definitely sympathize with how unscrupulous these travel insurance rackets are. That being said, I don't think asking him to fly home was that unreasonable. How are they supposed to validate the care he's getting there? He just going to dictate his care and hand over a massive bill from Singapore?

But usually this involves taking them to court and getting a settlement.

ordinaryperson··on Unlike most millennials, Norway's are rich
Venezuela has almost totally collapsed under Chavez-Maduro's "socialism".

Russia is a kleptocracy of Putin and his inner circles of billionaires.

The US economy has seen a fairly significant boost from shale gas and fracking.

Better counter-examples than those 3 would be Saudi Arabia and (to a lesser extent) Nigeria. And yes, as those 2 demonstrate it's not that simple, it's easy to fall prey to "the resource curse" aka "Dutch disease": https://en.wikipedia.org/wiki/Dutch_disease

Norway has been wiser in its approach.

ordinaryperson··on The Entire History of Steel
This is totally off. Everyone knows steel comes from giants who stole it from stole it from Crom: https://www.youtube.com/watch?v=MKMG-FdCGtM

[downvoters: relax, it's a joke. Get out and watch a movie once in a while]

ordinaryperson··on What do Stanford CS PhD students think of their PhD program? [pdf]
This is exactly what I wanted to know, thanks.

As someone with a CS master's I almost wish there was an alternate PhD path where you didn't have to do research, like a Masters++ program. There were many classes I never got to take for my degree, like in category theory or AI or distributed databases.

Some of the PhDs in this thread have said they tried $BigTechCo and found it boring, but to me that just means you were working at the wrong company or on the wrong project.

I feel like my master's equipped me to be able to read and study theoretical computer science at a high level, that the PhD program would be a strain on me and my family without much reward.

Although I do daydream about being independently wealthy and getting a master's in mathematics just for fun

ordinaryperson··on AT&T’s Troubling Plan to Change HBO
If it were just a matter of buying ready-made TV, anybody could do it.

Showrunners come to them with raw ideas and the first step is to filter out most of the bad ones. Then there's writing, casting, budgeting, filming, editing, marketing...you make it sound like HBO is a bunch of cardboard cutouts and they just order up completed shows from Amazon.

My point is AT&T has done practically zero creative or truly innovative in the last 20-25 years, it's comical to listen to a career AT&T suit lecture HBO staffers (who excel in a field far more difficult than his) about how they need to work harder.

← PreviousPage 6 of 11Next →