HNHacker News
TopNewBestAskShowJobs

michaelmcmillan

1,010 karma · joined June 5, 2012

https://michaelmcmillan.net
submissionscomments
michaelmcmillan··on Google Self-Driving Car Project

    So yes, I'm calling your hypothetical scenario a little contrived.
Yes, that is the often the point of hypothetical scenarios.

I was not expecting any particular answer, I simply find the problem interesting. It begs the question: Does this mean there is a line of code somewhere that ultimately has to make that decision?

michaelmcmillan··on Google Self-Driving Car Project
Yes, I agree with you. These edge cases will probably never actually happen. But again, this is only hypothetical. Are there lines of code that actually define the behaviour of the car in these cases? I think it's an interesting question (-:
michaelmcmillan··on Google Self-Driving Car Project
So your answer to my hypothetical question of what an algorithm should do in a situation where whatever the outcome a life will be lost, is to say that this scenario will never happen without a flaw in the cars algorithm? That seems very narrow minded to me. Let me put it this way: When all your other available options are exhausted what should the choice be?
michaelmcmillan··on Google Self-Driving Car Project
This is really impressive. However, has any one else thought about the ethical dilemmas these algorithms will have to decide upon?

Say for instance that two pedestrians, a young child and an old person, suddenly find themselves in front of a self-driving car. There is not time for the car to brake in time so the algorithm has to make a choice: Which pedestrian gets hit?

I think we'll see more questions like these in the coming years as AI progresses and we become more dependent on it.

michaelmcmillan··on Git in six hundred words
I stand corrected, wonder where I got that misconception from.
michaelmcmillan··on Git in six hundred words
Correct me if I'm wrong, but the first couple of sentences seems wrong. Git can only be initiated in an empty directory.

Other than that: This is a very short and concise introduction, especially the merging.

michaelmcmillan··on How Chromium validates email addresses entered in input fields with type=“email”
Good question. I'm not sure. Seems like there is already a constant called emailPattern. Don't know enough C++ to know if they would be conflicting though: https://code.google.com/p/chromium/codesearch#search/&q=Emai...
michaelmcmillan··on Simplify: move code into database functions
I always enjoy reading about new ways of doing things, so thanks! How would you test your logic in isolation with unit tests using an architecture like this?
michaelmcmillan··on Inside Popcorn Time, the Piracy Party Hollywood Can't Stop
I just can not let go of the thought of somehow having a completely decentralized internet. It would be so extremely powerful. I am aware of those who have tried, but IIRC they usually have some centralized component.
michaelmcmillan··on Console.mihai();
https://hg.mozilla.org/releases/mozilla-aurora/rev/74827b8f6...
michaelmcmillan··on Show HN: Startup Timelines
I think it would be pretty interesting to see something similar for Facebook's newsfeed.
michaelmcmillan··on Ask HN: How do you log application events?
Edit: I should have known better than to post this to HN, some guy found a procedure which threw an uncaught exception. I was bombarded with push notifications (hahaha). At least I fixed a bug (-:
michaelmcmillan··on Ask HN: How do you log application events?
I use a logging library called Winston (https://github.com/winstonjs/winston). I have it hooked up to Pushbullet with Winston-Pushbullet (https://github.com/michaelmcmillan/winston-pushbullet) so that when an unhandled exception or error is thrown I get an instant notification on my Nexus 5 and MacBook.

Winston is a node/iojs library though, but I guess you could find something equivalent in any other stack. The Pushbullet part is really useful.

Edit: I run a pretty small site however (http://littlist.no). I don't think I would enable the Pushbullet part if I had several hundred thousand visitors per day.

michaelmcmillan··on SpaceX Dragon CRS-6 Launch Webcast

    T+17m: Not a successful landing today.
That sucks. Source: http://www.reddit.com/r/spacex/comments/32jnyd/rspacex_crs6_...

Edit: "Looks like Falcon landed fine, but excess lateral velocity caused it to tip over post landing" @elonmusk

michaelmcmillan··on BitTorrent's Maelstrom browser enters open beta
Forgive my ignorance, but could you not use the same concept as the blockchain?
michaelmcmillan··on How I doubled my Internet speed with OpenWRT
You've got to appreciate the irony of missing letters in the Hypertext Transfer Protocol.

http://motherfuckingwebsite.com

michaelmcmillan··on Show HN: A workshop on how to use Vim plugins
I agree. The only one I rely on is Command-T (fuzzer) which I simply would not be without. The file navigation in that thing is a fantastic.
michaelmcmillan··on Sans Bullshit Sans
I actually think the crawlers are more sophisticated than that. Recently I got an email from Google saying the text on my website was not big enough when browsing my site with a low resolution - which is why they choose to lower my rank on the results page. Clearly they have pretty advanced tests when it comes to accessibility of text, not only the content.
michaelmcmillan··on How SQLite Is Tested
Does anyone know how long time it takes to run these tests?
michaelmcmillan··on Email Regex that works 99.99%
I simply don't validate emails up front anymore. The only thing I check for is if the string contains an @-char, I only do that to be nice if it's left out by accident. Instead of having a monstrous regex pattern in my code I simply email a confirmation link the user must confirm.
michaelmcmillan··on Ask HN: How do I start with test driven development?
I got into it by watching DAS (destroyallsoftware.com) by Gary Bernhardt (creator of the WAT presentation), it has truly shaped me into a better developer. Not only will you learn how to practice TDD, but so much more: refactoring, unix tools, OO-principles ... I could go on forever, it's really a great series.
michaelmcmillan··on Why I think iBeacons will flop
Thanks for taking the time to reply! :)

'Web cookies for the physical world' sounds exactly like what I depicted - and I guess we all know what the impact of web cookies have on privacy [1].

The reason I wrote this post to begin with was the lack of advertising iBeacons generally have had. This could however be caused by me living in Norway and not having the same exposure for new technology as someone in (for instance) SF has.

Although I admit that the usage examples you present are valid, I still can't help but think that if something is free then I am most likely the product. To expand on this: If I was given an iBeacon at a shopping mall I would immediately suspect that the data which was being generated to improve my 'shopping experience' would mostly benefit the shopping mall.

[1] http://en.wikipedia.org/wiki/HTTP_cookie#Tracking

michaelmcmillan··on The Self-Pipe Trick Explained
This was brilliant! Very easy to follow for someone who is not very skilled in Unix.
michaelmcmillan··on Use ReactJS to Build Native Apps
Coupling your app to any framework has proved to be a really bad idea in the long run, to me this is a step in the wrong direction. If I've understood this announcement correctly.
michaelmcmillan··on AI will not kill us, says Microsoft Research chief
I find this debate very interesting, but I have little insight in the arguments for and against. You argue there is little correlation (if any) between AGI and processing power, but you end your comment by saying that it "[...] likely to remain so for a very, very long time". What is keeping us from advancing?
michaelmcmillan··on I own some very well-followed social accounts. How can I make this a business?
I feel this belongs in /r/startups or /r/entrepreneur.
michaelmcmillan··on Turn email into a code editor
It's not an issue I care enough about to be able to do my best, I'm afraid :) But good luck!
michaelmcmillan··on Turn email into a code editor
Actually, the Linux kernel still relies on SMTP to do pull requests. So no: Not everyone seem to prefer GitHub over email.
michaelmcmillan··on Turn email into a code editor
That FizzBuzz-code is wrong, it does 101 iterations (0-based for loop).
michaelmcmillan··on Awk in 20 Minutes
I would strongly urge you to purchase Gary Bernhardt's screencasts at http://destroyallsoftware.com. It has been extremely influential for me. I've realized that Unix should be looked at as a tool when programming. He also has strong opinions on how to test properly, check this out: https://www.youtube.com/watch?v=tdNnN5yTIeM
← PreviousPage 9 of 12Next →