Better HN
topnewbestaskshowjobs
Log inSign up

gregdoesit

7,877 karma · joined Dec 23, 2015 (10y ago) · 481 submissions

I write The Pragmatic Engineer newsletter. Author of The Software Engineer’s Guidebook. Previously Uber, Skyscanner, Skype/Microsoft. More at pragmaticengineer.com
Submissions

451.

Keep your mobile phone out of your pocket, warns recent infertility study(thejc.com ↗)

1 points · by gregdoesit · 10y ago · discuss

comment 10y ago · link · parent

Doing the job and getting the job are two very different things.

To get a lot of job, you often have to jump hoops like simple or more complex algorithmical problems. Like it or not, that's just how it is.

If you don't prepare then you will do poor, regardless on how well you do on your job. So just spend a couple of weeks preparing. Complete puzzles in Cracking the Coding Interview, solve easy TopCoder challenges, start working on Project Euler as a few ideas - there are much more resources to help you out there.

You want that job? Be prepared for that interview.

453.

How Flint traded safe drinking water for a cost cutting plan that didn't work(theguardian.com ↗)

2 points · by gregdoesit · 10y ago · discuss

comment 10y ago · link · parent

This case was very well covered at the time. Top 3 things I've learned from this story:

1. If you sell do your company, never do it for all-stock (or at least almost never)

2. Have a plan B in case the company who aquired you goes bankrupt - the very next day.

3. No one will care about your company as much as you do. So don't outsource important parts of the process such as: reading all the paperwork and checking references of the acquirer.

455.

US military finds F-35 software is a buggy mess(theregister.co.uk ↗)

133 points · by gregdoesit · 10y ago · 142 comments

comment 10y ago · link · parent

Pluralsight author here. Udemy have had lots of piracy issues in the past - for example, paid courses from authors on sites like Pluralsight have been illegally copied and sold.

Just a few weeks ago Pluralsight circulated an email on Udemy telling us, Pluralsight authors, that the two companies have met as Udemy has acknowledged the piracy problem and pledged to take down any flagged courses much faster in the future.

I don't know if there is a relation to that action and this takedown until an ID check, but there might be. Also, if you think about why they took it down immediately until you verify your ID: if someone flags this video and it is indeed a copyright infrigment, Udemy could be sued for not acting immediately.

I do empathise that takedowns without notice are painful when you're not the author - however as an outsider I am glad that Udemy on the other hand is starting to take piracy of courses more seriously.

comment 10y ago · link · parent

You're right: it doesn't work when hovering over "self". I am just used to other IDEs handling all cases, self variables included.

Yes, agreement on some Swift love needed from the refactor tool team.

comment 10y ago · link · parent

Fair point. The quote was my from the author, but my interpretation, apologies for the confusion. I've updated my comment to remove the misleading quotes.

comment 10y ago · link · parent

You would hope so. Unfortunately not if you are running swift as of XCode 7.2, the latest public release. For Objective C it works.

comment 10y ago · link · parent

This article does a great job explaining the several not really documented steps of finding memory leaks using XCode.

I do wish the XCode developers would have implemented a more intuitive UI to do the same - e.g. taking inspiration from Chrome Developer Tools, or Visual Studio.

<rant> Actually, I would just be happy if XCode had the debugging features that Visual Studio 2005 (10 years ago) had. Like inspecting variables values with mouse over on breakpoints. Or when right clicking "refactor" in XCode on a method name, being able to refactor Swift code. 1 year after the release of Swift the error dialog "XCode can only refactor Objective C code" appears - so much for supporting the Apple's own language. </rant>

Anyway, article bookmarked - because even after reading this, there's no way I would remember all the steps needed to debug those memory leaks!

comment 10y ago · link · parent

The thing that strikes me is how much shorter a Swift style guide is, compared to an Objective C one. E.g. https://github.com/raywenderlich/objective-c-style-guide

This fact tells a lot about the langage. The language is pretty strict as to what it allows to write and reduces the need of a style guide to specifying best practices.

comment 10y ago · link · parent

This aquisition is not a great exit for UStream, that was valued at $150M in 2010, but an exit none the less. I doubt the founders or employees would see as much of the $130M as they would have hoped, due to a massive $62M VC investment being in place... but still likely a much better outcome then if the company would have had to slowly wind down. (The investment structure of UStream is a bit complicated, but this article summarizes well why the amount is likely very close to this number https://gigaom.com/2011/12/09/ustream-softbank-funding-colla...).

In 2011 the company rebooted itself to a B2B direction - see http://www.businessinsider.com/this-once-red-hot-startup-had.... This direction has only been a modest success. For a bootstrapped company it would have been completely fine to go on like that indefinitely, but for a VC investment heavy one, this - or any other - sale must have been in the making since the hopes of an IPO have clearly disappeared.

One thing the article doesn't mention is that this aquisition makes a lot of sense for IBM. They get access to a lot of businesses who host their internal video streaming on UStream, like Facebook (company update videos all running on it). Also the main UStream engineering office is in Budapest, Hungary, where there is a large IBM office as well, so that will make integration smoother.

UStream employees who joined to disrupt the startup consumer video space a couple years back - welcome to IBM. I hope you've gotten some handsome payouts or golden handcuffs - and congratulations.

463.

A great developer can come from anywhere(manton.org ↗)

3 points · by gregdoesit · 10y ago · discuss

comment 10y ago · link · parent

I was waiting on this to appear on Hacker News. I take to Twitter to complain whenever a service is down. Now that Twitter is down... I guess all that is left is this HN thread.

comment 10y ago · link · parent

This article is full of incorrect data: Etsy and Groupon are already public. Instagram, Whatsapp acquired by Facebook, Yammer by Microsoft.

The industry definition of a unicorn: a non public company, that took less then 10 years to have a market value of over $1B. Which is why - ironically - the company I work at, Skyscanner is never listed as a unicorn on any of these lists. This is because it took them 11 years to reach the >$1B valuation mark.

Disappointed with the quality of this Venturebeat article.

comment 10y ago · link · parent

I think it was denial that messaging itself would be more inportant then video calling.

Skype got massive because of video (and audio) calls. That was our main differentiator, and what helped us grow. P2P really excelled there.

Messaging was built as almost an afterthought and supporting feature, piggybacking on whatever infrastructure we already had in place.

And of course it didn't help that there was no one person or team in charge of the user experience who would call out that we have far inferior messaging experience then... any of our competitors, really.

Even when we did - and aquired GroupMe to do something about it - we then still had the false sense of security and not needing to hurry, because user numbers were still growing upwards. And when they slowed down, it was too late.

comment 10y ago · link · parent

We did acquire GroupMe with the same thinking: take that startup with a good group messaging product and integrate them into Skype.

Except this never happened, GroupMe is still a standalone app and pretty much a standalone team. I am not sure why we didn't or could't integrate them, the Microsoft aquisition of Skype, and the subsequent integrating with Lync (and the birth of Skype for Business) probably had higher priority.

comment 10y ago · link · parent

Of course we used it as our main communication tool. With each other and within the company.

The problem? We had it running 24/7 on work laptops and phones so the messaging issue was less obvious. The typical user started Skype on their desktop, and killed it after a video call. They also killed it from running in the background on their phone because it killed the battery. We just keep charging the phone.

And as we saw issues come up with Skype for our usage patterns, we did focus on those. Did you know that originally the limit of a group size was 300, a random constraint someone added in, and got hardcoded in all the apps? That size was basically chosen because we were pretty sure the largest company Skype group would not grow beyond it. Well, it did a couple years in and we spent more time and effort trying to solve this then a lot of the other stuff. I mean people could not get in to the Tallin office social chat channel and were missing the gossip!

Eating your own dogfood is a good thing - but it also leads to overusing your product and being less critical with it over time.

Also, on top of this the fact that our user base kept growing despite these flaws did give us a false sense of security.

comment 10y ago · link · parent

Exactly. In hindsight we should have just built a separate messaging layer with a server backend like everyone else was doing.

However Skype had no history of running servers. Just keeping the login servers up and running (a handful of them) was enough of a challenge.

Plus when the company's success and revenue was driven by the P2P team and they said the same layer will work for messages... there was no one strong enough to argue.

And when it was obvious that Skype messaging was sub par, the company just went in denial. "We aren't really competing with Whatsapp, because they don't do video" got us another year or two of not doing too much about the root cause.

It was after the Microsoft aquisition when some MS architects told the engineers upfront that p2p and realtime messaging - forget about it.

comment 10y ago · link · parent

Yes, there are still traces of the p2p code. Most of messaging has been migrated to server based back ends, but there are still some hybrid solutions in place.

Funny thing the company DNA, P2P is still haunting Skype.

comment 10y ago · link · parent

The problem was the avalibity when the sender was offline. You send a message from your iPhone to your friend who has an Android. Your friend doesn't have reception, and after sending the message you kill Skype b/c of the battery drain (otherwise it is being part of the p2p network).

Your friend now gets reception and will get your message... between a minute and a couple of hours. Most likely when you turn your phone back on, as the p2p network was not designed to store and propagate offline messages.

Meanwhile someone at Whatsapp built a key value pair on a server and if you had reception, you got the messages immediately and reliably. Oh, yeah, because the read and unread message states in Skype also propagated via the p2p network and also got took a while to arrive...

comment 10y ago · link · parent

From my experience the same (often random) reason that makes a company succeeds, then becomes their DNA, and finally can make them fail.

I saw this happen with Skype where I worked a couple of years. The company succeeded because of P2P: we grew with little infrastructure to reach 200M+ people. P2P became our DNA, rooted deep within (almost) every core component.

Then came the new wave of mobile messaging apps. We reacted... with a P2P messaging solution. It was obvious this wasn't working - you sent a message to someone from Skype for iPhone, and they got it... sometime.

We knew to have a chance against Whatsapp and other messaging apps we needed server based messaging, so we built it.

It took 3 years. Yes, it took this long to get rid of the P2P code from just the messaging components from the 20+ Skype products - we had 1,000+ engineers and 50+ internal teams by the end which significantly slowed things down. When we were done and popped the champagne - no one really cared.

And yes, the source code is still full of P2P references and workarounds to this date.

comment 10y ago · link · parent

I worked at Mivrosoft when Tony Bates - curent GoPro CEO - was Head of the Skype divison there. After the Microsoft aquisition, and Steve Balmer announced stepping down, Satya Nadella, Stephen Elop and Tony Bates were the front runners for the Microsoft CEO seat.

When it turned out Satya got the CEO seat, rumours of Tony joining GoPro immediately surfaced - and turned out to be true.

I am pretty sure GoPro execs were hoping Tony Bates would make GoPro the mainstream success that Skype was. He did... except Skype was never profitable - but it was also not publicly traded, so this wasn't apparent, and never really an issue.

I do wonder if GoPro would have done better to appoint any other CEO, but personally I never even noticed any change of direction before or after Tony Bates being the CEO, despite the massive hiring spree that followed. Mind you, the same happened at Skype after the Microsoft aquisition - except Microsoft easily footed the bill.

In the light of things I do think GoPro did make the mistake of hiring an overly ambitious CEO, who hired too fast and too soon, without the financial results following.

comment 10y ago · link · parent

"Perhaps someone with millions of dollars could give more of their money to organizations fighting poverty rather than investing in a premium coffee subscription service."

I do look up to Paul Graham and don't like to see him attacked unrightfully. However reading the several responses made me ask as well: why does someone like PG just accept economic inequality, and blog about it, instead of using some of his visiblity to reduce it, however little this might be.

I don't like economic inequality which is why I do a small bit of my own - loans on Kiva and volunteering every now and then. I'm just a software engineer and this is what I decided to do based on my belief and my available resources. Bill Gates has more of the means and he is also using some of his resources to reduce poverty, and thus economic inequality. There are many other people who care about it, and do something, and even more who just don't care and don't do anything about it.

We know PG also cares about economic inequality, as this is his second blog post. It only is fair to ask: what is he doing to help reduce it? If he shared some of this, it would make his post much more credible.

comment 10y ago · link · parent

Too bad the bulk of the article is behind a paywall.

One of my friends who got offers from Palantir turned it down, as she wasn't convinced that the stock that was part of the pacakge would be worth anything, while the recruiter insisted it was worth as much as her Facebook offer's stock.

In light of this she made the right choice.

comment 10y ago · link · parent

I would put stay healthy and invest in your health (chair, standing desk, exercise, food) as the #1 for any programmer for next year, and the years after. It's all too easy for us to forget about the long lasting effects of sitting in front of a computer that are hard to later undo.

comment 10y ago · link · parent

How much money does the App Store make for Apple? And how much would web based apps make?

It's not a technical problem, it's a business model.

1
1314151617