HNHacker News
TopNewBestAskShowJobs

doctorsher

252 karma · joined January 27, 2016

Software engineer in computer networking space.
submissionscomments
doctorsher··on Reddit Hits 1B Views per Month 1 Year After Launching Native Video Player
I'm actually baffled at how bad reddit's native video player is. For a core part of the browsing experience, it is truly an embarrassment.

Here are the behaviors that I deal with on a regular basis:

(i) On mobile, I simply cannot view a native reddit video in landscape. When I turn my phone to landscape, it plays ~3 seconds of the video and then pauses. I hit the play button to continue, and it plays ~3 seconds of the video then pauses. Repeat ad infinitum. To clarify, this is not a buffering issue, as the video always plays when I hit the play button again.

(ii) On my mobile and laptop, their video buffering experiences holes in the buffer. It will be buffering, and after a certain point a gap is created between two buffered sections of video. When the video player reaches this gap, it is legitimately not buffered and stops playing.

(iii) Moving forward with the previous scenario, once it reaches this hole in the buffered video and stops playing, the playback stalls. I can sit there for minutes and it will not continue. I have to drag the slider backwards a few seconds, which will restart the playback/buffering process and then it works fine.

doctorsher··on Operating Systems: Three Easy Pieces
I love this book so much. It is a treasure. You can tell from the text the Remzi and Andrea are natural educators, and their sense of humor makes you want to read more.

Years ago when I used this book, I was blown away by the clarity and concision of their explanations for non-trivial technical content. In particular, their treatment of scheduling stuck out to me. To my knowledge, no other OS textbook explains scheduling in such an intuitive way -- the typical treatment is more like "meh, here's the zoo of scheduling algorithms". In this book, they start with a long list of workload assumptions, and discuss the optimal scheduling policies under these assumptions. As they relax assumptions, the optimal scheduling policy changes.

Also, OSTEP seems to be in a better position to solicit feedback from readers / professors using the book than other operating systems textbooks. Remzi was quite prompt and appreciative when I sent some suggestions.

doctorsher··on Ask HN: ARM-based Linux laptop business?
You might mean well, but I find your second point to be inappropriate. I don't think a qualified medical professional would arrive at those mental health outcomes solely based on a short post about Linux + ARM laptops. The lack of focus you perceived seems pretty standard for the "hey, I want to do this, but I'm not sure how!" state.
doctorsher··on A PhD should be about improving society, not chasing academic kudos
Wow, 27 hours of coursework and a thesis! Are you sure you can complete this in one year? That seems like a very heavy schedule. I guess it depends how your department accounts for course credit hours. My department was 30 hours of coursework for the course-based masters, 18 for the thesis-based masters -- 3 credit hours per course.

It sounds like a very important role of your coursework will be to get a more refined idea of what research you'd like to perform. I'd recommend taking classes in each of your areas of interest. The more advanced classes might give you a better idea of research in that area. These are probably the classes the PhD students will be taking.

I think a goal of 2-3 publications in one year is pretty lofty, but it depends how motivated you are and how much work you have to put into each of those publications. I think one solid publication (long paper, good conference/journal) will already give you a substantial edge in PhD admissions. This is a good goal; if you can do more, all the better! But I would hate for you to feel like you didn't meet your goal, and not be satisfied with one publication. Honestly, even if you go through the trouble of submitting a paper and it gets rejected, that is still an incredibly valuable learning experience.

Feel free to email / google hangouts me at adam.r.drescher (at) gmail (dot) com if you have more detailed questions, want my perspective during your graduate school experience, etc. I'm happy to help.

doctorsher··on A PhD should be about improving society, not chasing academic kudos
What type of masters degree is it? Course-based or thesis-based? If you are interested in continuing on to a PhD, a thesis-based masters would give you a much better insight. Even better if you try to publish while you are getting your degree. If it is a course-based masters, it will take you a lot of extra work outside of classes to get a taste of research.

Do you already know your area of interest? This would be tremendously helpful for trying to pick an advisor.

doctorsher··on A PhD should be about improving society, not chasing academic kudos
You bring up a solid point. It would be interesting to see, of the students leaving a PhD program with poor mental health, what fraction already entered the program with poor mental health? My hunch is that the stark majority acquired it while they were in the PhD program, but I have no data obviously.
doctorsher··on A PhD should be about improving society, not chasing academic kudos
> The biggest risk factor I've found for a PhD student is lack of research experience during the undergrad degree.

Previous research experience might help, but there still are a number of factors that need to align in order to have a relatively smooth PhD. In my mind, it depends on the quality of your previous research experience, your advisor, and your goals upon graduation.

For my experience in particular, I did two summers of research at an R1 when I was in undergrad. Continuing on that path, I went to graduate school for my PhD. I am five years in; looking back, I was still extremely unprepared for the realities of research. When I did the undergraduate research, my hand was being held by the PhD students I was working under. Sure, I did some interesting stuff, but I received a substantial amount of guidance. Now in graduate school, my PhD advisor is very hands off, and our group tends to work in isolation. I have to push my research forward on my own. It took me years to get used to this, and not feel completely incompetent. My previous research experience was not a good predictor of my life as a PhD student.

In my mind, the best preparation would be to do a thesis-based masters degree and try to publish during that.

doctorsher··on Apple's iPhones Trail Samsung, Google Devices in Internet Speeds
Great points. You hit the nail on the head. Once you get 'enough' throughput, getting more doesn't really improve one's mobile experience. Latency is king.

CPU / power usage is another big one. It's hard to justify a gain in throughput if it (i) reduces the application's CPU time, making it render the received data more slowly; or (ii) causes the phone battery to die faster because the network threads are constantly doing heavy lifting.

While I appreciate the size of the Ookla dataset, they need to be more thorough with their metrics. Phone performance is a multi-faceted problem, and throughput alone does not reflect the whole reality. Side note: dslreports has added bufferbloat testing a while ago, I can't believe Ookla still tests latency in isolation.

doctorsher··on What Can I Do About Bufferbloat?
By 'enabling sch_cake', I meant that I use sch_cake on my wireless router (which I flashed with LEDE). Sorry, I was a bit light on the details.
doctorsher··on What Can I Do About Bufferbloat?
Thanks for everything that you do, Dave. Your bufferbloat and WiFi work is excellent, and I'm excited for the airtime fairness work with Toke to make it into more 802.11 drivers than ath9k. Cheers.
doctorsher··on What Can I Do About Bufferbloat?
In my experience, changing the default DNS servers, enabling sch_cake, and minimizing shared spectrum interference are the most significant improvements for a home WiFi connection. Can anyone think of an additional dimension for improvement, besides upgrading the link itself?
doctorsher··on What Can I Do About Bufferbloat?
Anecdotally, I've seen larger amounts of packet loss and jitter when TCP accelerates faster into a loss event. The small amount of preventative loss reduces both of these values.
doctorsher··on Network.framework: A modern alternative to sockets
That is the talk I was referring to -- and I do agree the material is thin. But here's what I was basing it off of: the userspace networking slide has the "TCP / IPv6" block in userspace. While it's true this could be a broad block (it doesn't include UDP for example, which we know is in there), I doubt they would have explicitly put TCP if it was not true.
doctorsher··on Network.framework: A modern alternative to sockets
According to their slides from WWDC last year, it also offers TCP in userspace.
doctorsher··on DeepMind: First major AI patent filings revealed
I admit that I exaggerated with my wording that you think Google is non-existent on the academic front. It's unfortunate that your response focuses almost entirely on this one aspect, and not the message my post attempted to convey.

> someone who correctly points out that Google is not #1 in funding academic researchers

This type of wording is unnecessary. You are declaring that you are correct, while at the same time not providing supporting evidence when requested.

> This is precisely the sort of unproductive back and forth argument that the HN software is designed to discourage and punish

Welp. I am sorry this had such a negative effect on you. We can certainly agree to disagree. Cheers.

doctorsher··on DeepMind: First major AI patent filings revealed
> $14B is a lot of money. Even a small slice of that makes MSR one of the most prominent funders of CS research.

You are moving the goalposts. I am not saying Microsoft is not a prominent funder of CS research. I am challenging the notion they spend more than the NSF (or for an even stronger claim, the entire US Gov) on non-corporate CS research.

> But it's not surprising. There are all sorts of incentives for not breaking out those numbers. Still, the numbers are helpful. $14B is a lot of money. Even a small slice of that makes MSR one of the most prominent funders of CS research.

No, those numbers are not helpful. We have absolutely no idea what percent of that goes to academic CS research. It could be 10%, that would be incredible. It could be 1%, that is still great. It could be 0.01%, that isn't very notable.

> Funding grants for university faculty is NOT the only valid model for funding pure research. Therefore, we could very easily expect MSR to contribute a significant fraction of total US CS research funding without decreasing the competitiveness of the grant landscape for professors at universities. To me, the distinction between "basic research" and "everything else" seems more important than the particular funding model used. So the criticism that Google has a bad track record with long-running research agendas is highly relevant, whereas 'how much money goes to academics in universities' is far less relevant.

You are again moving the goalposts. The OP specifically said Microsoft was the largest funder of academic CS research.

doctorsher··on DeepMind: First major AI patent filings revealed
Still, though, MSR is one of the more prolific research institutions in CS. If they were a university, they'd probably be top-ranked.

I definitely agree. They have some top notch researchers, certainly.

I also agree that the budget comparison is apples and oranges, so I'm not quite sure why you brought it up. The OP made a grandiose claim about Microsoft's academic research funding, and made it quite clear with his discussion of Google that corporate research does not count. So I want a source for the amount of money Microsoft spends on pure academic research without the corporate ties.

Personally, I think if Microsoft spent anywhere close to a billion dollars on pure academic research, the funding situation in CS academia would be completely different. Microsoft grants would be pursued just as hard as NSF grants, because they would be such a major funding source. But that is not the case. Corporate grants are afterthoughts compared to the NSF for academics. Additionally, if Microsoft were plunking such a large amount of money into academic research, I assume they would at the very least publish that figure in a PR piece to cash in on some public good will.

doctorsher··on Network.framework: A modern alternative to sockets
The userspace networking portion of the talk starts at 46:00.

To clarify, the whole networking stack isn't userspace. They still have the classical BSD networking stack. I think the userspace networking stack is used automatically by system libraries like URLSessions and this new Network.framework library. They introduced their userspace networking stack during last year's WWDC: https://developer.apple.com/videos/play/wwdc2017/707

doctorsher··on DeepMind: First major AI patent filings revealed
What is your source that Microsoft funds more CS research than the US Government? Let's ignore any DoE, DARPA, or NIH sources of funding, and just focus on the NSF. The computer science portion of their budget is almost one billion dollars.
doctorsher··on DeepMind: First major AI patent filings revealed
You are trying to frame people's responses into a "Google good, Microsoft bad" response, and I do not think that is fair to them at all. They are disagreeing with your idea that Google is non-existent on the academic research front, and Microsoft is doing way more than them. And frankly, as someone in academia, this does not pass my smell test either.
doctorsher··on DeepMind: First major AI patent filings revealed
I was going to link to exactly the same thing. Only considering these 2017 faculty research awards, that is over $22 million awarded to academic research. Not to mention Google frequently uses the model where professors work at google for a summer / semester / year on a funded project, but are not permanent employees.
doctorsher··on Network.framework: A modern alternative to sockets
Admittedly, I am also not well versed in this area. My guess is, because Metal is proprietary, they can include intimate details of their hardware platform to squeeze out the most performance. And they probably would not feel comfortable having that same level of detail in Vulcan.
doctorsher··on Network.framework: A modern alternative to sockets
I disagree. As discussed in the talk, Network.framework is built on top of their userspace networking stack. This eliminates the kernel-userspace context switch and gets rid of one packet copy operation. These are known problems in the socket paradigm, at least as it exists in Linux and every BSD.
doctorsher··on Network.framework: A modern alternative to sockets
There are many big name apps on the app store that are intended to be as cross-platform as possible (reducing platform specific code), and as backwards compatible as possible (4 latest releases of iOS). For these reasons, they are built on top of sockets. I supremely doubt Apple will tell these companies to pound sand; they are much more important to them than those affected by the OpenGL / OpenCL deprecation.
doctorsher··on Behind the Messy, Expensive Split Between Facebook and WhatsApp’s Founders
Replace convenience with whatever benefit you see most pertinent. That is your trade-off. For me, convenience is the most frequent benefit.
doctorsher··on Behind the Messy, Expensive Split Between Facebook and WhatsApp’s Founders
Of course, there must be plaintext at some point... I don't understand this line of reasoning.

WhatsApp tells their users and more importantly the US Gov they do not have any access to the message content itself. For this attack surface to be an issue, that would mean WhatsApp is telling a bold faced lie, secretly exfiltrating the plaintext to a 3rd party, and doing so without getting caught by any black-box auditing.

doctorsher··on Behind the Messy, Expensive Split Between Facebook and WhatsApp’s Founders
I totally understand. You are facing the classic dilemma of privacy vs convenience. Personally, I distrusted facebook so much that I have avoided any of their products since 2013. Obviously a major win for my privacy, but it sacrificed some convenience -- then I had no real-time way to communicate with my relative in India.

In the end, you'll have to do some introspection to see if the convenience gained is worth the privacy lost. How essential is it that you communicate in real-time with your relatives? Would your relationship be substantially different if you sent email or wrote letters?

doctorsher··on Behind the Messy, Expensive Split Between Facebook and WhatsApp’s Founders
With regards to your edit, yes, you are wrong. And I don't mean that in a harsh way, just answering your question.

From WhatsApp themselves [0]: "WhatsApp end-to-end encryption ensures only you and the person you're communicating with can read what's sent, and nobody in between, not even WhatsApp. Your messages are secured with locks, and only the recipient and you have the special keys needed to unlock and read your messages."

[0] https://faq.whatsapp.com/en/general/28030015

doctorsher··on Hello, GitHub
Fair enough. I obviously don't know your friend or his project, so I can't with certainty say anything about his situation. I viewed your post through a critical lens because the details given didn't match my experience or the experience of any of my old colleagues, and you are a second-hand witness.
doctorsher··on Hello, GitHub
I wouldn't take SiVal's comment as ground truth. I think it conflates rules for general employees with rules for his friend, and mixes it with a dash of unfounded hyperbole (criminal charges?).
← PreviousPage 2 of 3Next →