Better HN
topnewbestaskshowjobs
Log inSign up

foo101

982 karma · joined Jul 7, 2016 (10y ago) · 339 submissions

Submissions

comment 8y ago · link · parent

The answer is "Yes" to all of your questions.

Regarding the question about culture, yes, busy people often get sloppy. But when a P1 alert comes because a site reliability engineer could not resolve the issue by following the playbook, it looks bad on the team and a lot of questions are asked by all affected stakeholders (when a service goes down in Amazon it may affect multiple other teams) about why the playbook was deficient. Nobody wants to be in a situation like this. In fact, no developer wants to be woken up at 2 a.m. because a service went down and the issue could not be fixed by the on-call SRE. So it is in their interest to write good and detailed playbooks.

comment 8y ago · link · parent

The original GitHub post offers pretty reasonable solutions.

comment 8y ago · link · parent

I am sure that worked for you and I do not want to undermine the importance of simplicity. However my question was drawn from my previous experience where it was one hell of a task to keep the spam bots out.

Therefore, just to offer a counterpoint, I would like to register my experience here. A random name surely did not do the trick for us. Simple tricks like creating a random hidden field would be broken by spambots in less than 48 hours. It took a great deal of expensive WAFs like Barracuda and a lot of Lua scripting combined with cookie analysis (and overall request header analysis) to detect spambots with only a 90%-95% accuracy and keep them out.

comment 8y ago · link · parent

If your company wants people to just do straightforward tasks without raising pertinent questions, your company sounds like a bad fit for many good engineers I know. For example, I personally, would never work for a company like yours.

I am quite lucky to have worked in companies where the peers and management encourage debates and arguments and do not take it as a sign of incompetence.

I had no idea there were companies that would take perfectly reasonable questions on a broken process as a sign of incompetence. Thank you for enlightening me. I now know to be careful enough to avoid such organizations in future.

comment 8y ago · link · parent

I really like the point about runbooks/playbooks.

> We ended up embedding these dashboard within Confluence runbooks/playbooks followed by diagnosing/triaging, resolving, and escalation information. We also ended up associating these runbooks/playbooks with the alerts and had the links outputted into the operational chat along with the alert in question so people could easily follow it back.

When I used to work for Amazon, as a developer, I was required to write a playbook for every microservice I developed. The playbook had to be so detailed that, in theory, any site reliability engineer, who has no knowledge of the service should be able to read the playbook and perform the following activities:

- Understand what the service does.

- Learn all the curl commands to run to test each service component in isolation and see which ones are not behaving as expected.

- Learn how to connect to the actual physical/virtual/cloud systems that keep the service running.

- Learn which log files to check for evidence of problems.

- Learn which configuration files to edit.

- Learn how to restart the service.

- Learn how to rollback the service to an earlier known good version.

- Learn resolution to common issues seen earlier.

- Perform a checklist of activities to be performed to ensure all components are in good health.

- Find out which development team of ours to page if the issue remains unresolved.

It took a lot of documentation and excellent organization of such documentation to keep the services up and running.

comment 8y ago · link · parent

This will not take a lot of time for spambots to figure out. Would it?

Are there any web-application-firewall level spambot filtering that would ensure that the bot traffic can be continually monitored and the rules to block spambots can be continually updated?

comment 8y ago · link · parent

I am with you. Although most modern languages would offer shortcuts to reverse a string but the spirit of this question is to see if a candidate has the mental agility to come up with a solution purely from ones knowledge to use a programming language and common sense.

One should be able to devise a solution to a simple problem like this without any CS course at all.

comment 8y ago · link · parent

I have had the misfortune of doing a few HackerRank tests where the problems were not prepared well.

For example, the correct answer does not appear in the list of available options, or where the problem statement is not precise enough to solve in an unambiguous manner.

There is no human I can talk to and ask clarifying questions to resolve the ambiguity because, you know, it is a HackerRank test!

After going through these experiences, I have decided that HackerRank test is just not worth the time. As a rule, I decline any request to take a HackerRank test citing my reasons as politely as possible. Surprisingly, more often than not, the recruiter is happy to setup a telephone round where I can talk to an actual human.

comment 8y ago · link · parent

> Also, if you're good, then why does a low bar for entry scare or offend you?

It's not a matter of fear or offense. It's a matter of judiciously investing my time on the right opportunities.

I get about 3 to 4 calls from recruiters everyday. If I agree to go through this kind of interviewing process every day (even if the bar is low), I would be spending more than 20 hours every week just doing HackerRank tests. This is not feasible for me. Therefore just like the recruiters need a way to filter candidates out, I need a way to filter recruiters out.

Requesting a HackerRank test is just one of the many filters I use.

comment 8y ago · link · parent

> This is really taking it to an extreme

No more extreme than suggesting that someone who raises thoughtful questions on a broken hiring process must certainly be a bad fit for an organization.

> Sorry, I don't want to work with a bunch of pedants.

Now, this is taking it to an extreme!

comment 8y ago · link · parent

> would make me perceive this to be someone who would respond with a complete change to our CI/CD processes, to our infrastructure, maybe to even using Node - as this sort of task is beneath him

Looks like it is a difference in culture that I am used to and the one that you are used to.

At my workplace, it is perfectly acceptable for someone to suggest a complete change to our CI/CD process. In fact, we have changed our complete CI/CD process twice (SVN/build scripts -> Mercurial/Jenkins -> Git/Travis-CI) already with minimal loss in productivity because someone questioned the existing CI/CD process and suggested a well thought plan to switch to a new one.

But I get your point that sometimes it may not be feasible to carry our such a drastic change in process, infrastructure, etc. But suggesting such a change is going to be acceptable and we refusing to accept such a suggestion is also going to be perfectly acceptable and both this person and us working in harmony even after this disagreement is also going to be acceptable.

comment 8y ago · link · parent

Your comment with the intended meaning is still incorrect.

HackerRank test can be as standard or as non-standard, and as easy or as difficult as the individual employer wishes it to be.

comment 8y ago · link · parent

Does one really need to practice to reverse a string? Do we now live in an age where a programmer cannot reverse a string purely from basic knowledge about programming and common-sense?

Reversing a string takes 2 minutes or less even if all you know is how to work with strings and how to write a for-loop.

comment 8y ago · link · parent

What kind of startup hesitates to have arguments?

I have never been in a startup that fears arguments. Every startup I have been a part of has lively debates and arguments almost every other day. It's only the large slow moving corporate giants where I see such lack of debate and arguments on what is obviously wrong.

I would go to the extent of saying that a startup that does not encourage arguments in a harmonious fashion would die very soon anyway. Debates and arguments help in weeding out stupid ideas and focus on what that really matters.

This person's email shows that he can have a qualitative argument in a coherent, polite, and non-confrontational fashion - exactly the kind of people you need in startups!

comment 8y ago · link · parent

Would you really want someone to take a task and complete with minimal issues if the task does not add value to the organization or is counterproductive?

I don't know about you, but I would not want to hire someone who can take any task and complete with minimal issues. Where I work, one is encouraged to argue about what is not right in the meetings and offer better solutions.

This candidate is doing exactly that: Argue why a certain hiring methodology is not effective and what a better alternative is. Considering that this candidate does not just follow orders but challenges the status quo and the fact that he has volunteering-based projects to show makes this author very likely a good fit for my organization.

comment 8y ago · link · parent

The donation request may not always be in the form of a button. Sometimes it may be a request to make the donation by another means such as by sending bitcoins to a specific address.

comment 8y ago · link · parent

Consider the scenario where I own a domain example.com for a year. Just a day before its expiry or just a day before I sell the domain to someone else, I obtain a certificate for it from letsencrypt via ACME protocol.

A week or month from now, the new owner of the domain sets up a HTTPs website. With the old certificate I have, I can now launch an MITM attack on the new owner for about 2-3 months!

comment 8y ago · link · parent

How did it happen that the early internet development community agreed to hand over the governance and registration of a domain name to central authorities like domain name registrars?

What is preventing us from making domain name governance and registration completely decentralized?

comment 8y ago · link · parent

Do you mean managers are not effective in a modern workplace, or do you mean managers are effective in a modern workplace?

What is the "This" you are referring to when you say "This is not how it works".

Also what kind of modern workplace are you talking about? I am working in a place that is developing software in the year 2018. I guess that is fairly modern. I see both effective and ineffective managers in this same workplace. What exactly is your point?

comment 8y ago · link · parent

You are responding to comments in this thread by saying, "This is not how it works", but the comments you are responding to are making multiple points. You never clarify what the "This" you are referring to is. I am having a hard time understanding what you are talking about.

comment 8y ago · link · parent

I think one important factor to consider, that is not mentioned explicity in the post, is: Manager.

Your immediate manager can have a lot of impact on job satisfaction. A good manager would follow a bottom-up approach where he asks the team members what they need (time, equipment, etc.) and would try to get those things so that the team can succeed. This creates an overall higher job satisfaction.

An ineffective manager may enforce ridiculous deadlines coming from upper management on his team or hog all the credit of the good work done by the team or not be supportive which would lead to stressed, overworked, and unhappy work life.

comment 8y ago · link · parent

> Hacker news loves upvoting articles about bloom filters (and Bayesian probability - its on the front page again this evening.) Personally I've never found a use for either of them in practice.

Perhaps that speaks about the type of work you are involved in rather than about the Hacker News community?

comment 8y ago · link · parent

Note this relevant comment from the author of the article:

'My original title was: "Aging: where physics meets biology". Nautilus changed the title to the above more provocative version, which seemed to have worked - judging from the number of responses!'

Comment URL: http://nautil.us/issue/36/aging/physics-makes-aging-inevitab...

comment 8y ago · link · parent

This is true only if the merge operation leads to a new commit or altering of existing commits. But your parent comment was asking this question for merge operation where there is no new commit.

The person who merged the commit appears as the committer name only if the rebase led to a change in the SHA1 hash of the commit.

If the pull request branch is already based on master and up-to-date with master, then "git checkout master; git merge pr" performs a fast-forward merge without altering any commits. The SHA1 hash of the commits in the pull request do not change. The merger's name does not appear anywhere because the merger has not done anything except fast-forwarding master.

comment 8y ago · link · parent

Why would rebase require force-pushing? You can always rebase the pull request on the most current master. There would be no conflicts then and no need to force-push.

If the push fails because the master has changed during the few minutes you spent in rebasing, just rebase again on the most current master and push again. No force-push is required.

comment 8y ago · link · parent

There are two different methods to merge pull requests in the article. When do people prefer one over the other?

Are there any good reasons why someone should try to rebase and merge (fast-forward) a pull request to avoid a merge commit? It involves more steps than the method which creates a merge commit. What benefits warrant these additional steps?

comment 8y ago · link · parent

I am not confusing verbosity with complexity and I have written all kinds of C++ software over a career of 15 years ranging from legacy core banking systems to hardware drivers. In fact, the simple C++ code often tends to be verbose.

When you are writing complex software, you are bound to get things wrong in any language, not just C++.

What I am arguing for is that C++ code need not be complex even if the C++ language itself is complex or the software is complex.

If you have an argument against this, please make it substantiatively without resorting to insinuation about the kind of work I do or not do.

comment 8y ago · link · parent

C++ is a complex language no doubt. But software written in C++ need not be complex.

Java, on the other hand, is a simple language. But the kind of unnecessary complexity I have seen in Java-land (EJBs, Spring, etc.) has no parallel in the C++-land.

So going by your argument, I would choose C++ over Java to avoid the complexity jump, then profile the app, and if any part's too slow, improve that again in C++.

comment 8y ago · link · parent

> Perl's motto was always "There's more than one way to do it", but IMHO it was also the root of many of its weaknesses.

So are you suggesting that Perl should discard its TIMTOWDI philosophy? It won't be Perl anymore then, would it?

comment 8y ago · link · parent

How does the fact that he works for SAP have any bearing on his moral stance regarding blockchain?

Ad hominem is a fallacious argument.

1
567
12