HNHacker News
TopNewBestAskShowJobs

michaelmcmillan

1,010 karma · joined June 5, 2012

https://michaelmcmillan.net
submissionscomments
michaelmcmillan··on Brussels Rocked by Terrorist Attacks
How do you explain that a person without any social or political grievances decide to abandon their computer science degree to fight for an Islamic state? [1]

[1] Jihadi John: http://blogs.reuters.com/great-debate/2015/02/27/the-horror-...

michaelmcmillan··on Brussels Rocked by Terrorist Attacks
You seem to attribute a lot to politics. I would argue that religion is the variable that plays the dominant role in this war of ideas.
michaelmcmillan··on AI is transforming Google search – the rest of the web is next
If they are interested ranking results based on the profile they have on you (search history, interests, demographic++), trying to predict the ranks is understandable.
michaelmcmillan··on Is Express.js dying?
That assumes that protocols and best practices does not change. Not to mention the dependencies the framework relies on.
michaelmcmillan··on Is Express.js dying?
Frameworks die. It is a fact. Death in this sense means discontinued support and development. It is not difficult to see how this can render any software that depends on a 'dead' framework unstable or even broken with time.

I have experienced exactly this multiple times. In fact, I am extremely aware of this when I start a new project. Perhaps especially when I am dealing with frameworks like Express, Django or Ruby on Rails.

If I recall correctly, Gary Bernhardt, said it well: "Treat Rails like a disease and isolate yourself." You can replace "Rails" with any popular framework. Yourself in this quote referes to the business logic of your system.

michaelmcmillan··on Ask HN: How do you make something people want?
By making something for yourself.
michaelmcmillan··on PyPy.js – PyPy in Your Browser
For starters, the DOM API is horrible.
michaelmcmillan··on Firesheep
Astonishing to think about the lack of encryption in big services like Facebook 5 years ago.
michaelmcmillan··on Ask HN: How do I stop comparing myself to others?
I appreciate your openness Colin, thanks.
michaelmcmillan··on My Livecoding.tv account deletion saga
Was it you personally or the "support team" that dealt with this case? I expect you to implement a delete-feature today. This is a marketing disaster.
michaelmcmillan··on Webwatch
A browser extension is handy, but requires your browser to be open in order work. A script on the other hand can just be thrown up on a server and forgot about.
michaelmcmillan··on Webwatch
There's quite a lot of edge cases that can be triggered when fetching HTTP responses. Perhaps a small test suite would be beneficial in order to attract new developers that don't feel like breaking anything? (-:
michaelmcmillan··on Developing Atom Packages, Part 2: So Much Potential, So Many Bugs
In this particular case I don't think those two are mutually exclusive.
michaelmcmillan··on Inside the Creation of the Microsoft Surface Book
True, I had not thought of that. Any shortcomings?
michaelmcmillan··on Inside the Creation of the Microsoft Surface Book
That's actually the only reason holding me back as well. Cygwin is not very tempting.
michaelmcmillan··on Ask HN: What stack would you use to build a CRUD web app on the JVM today?
It seems to me that you intentionally misrepresent the argument to make it easier to attack. No one is claiming that Uncle Bob is always right or that an "astronaut architecture" is the correct design.

On a different note, I would also recommend to not start picking the framework or stack: Instead I would start by creating a couple of basic classes that represent the business logic.

I would also write tests for those classes. Furthermore I would probably introduce some repository classes that would interface with the database. Lastly I would try to find a library that handles HTTP routing - if the CRUD app was meant to have an HTTP I/O channel.

Not everyone wants to "go fast and break things" or blindly let their codebase depend on a third-party framework. This is usually what ends up happening when you don't think about architecture.

Check out the most popular Angular posts on HN this year [1]. Notice a trend?

[1] https://hn.algolia.com/?query=angular&sort=byPopularity&pref...

michaelmcmillan··on Netflix – Chasing 60fps [video]
It's a little ironic that all the demos are lagging like hell on a talk titled "Chasing 60fps".
michaelmcmillan··on Ask HN: How do you deal with the pain of programming?
I fail to see your point.
michaelmcmillan··on Ask HN: How do you deal with the pain of programming?
I use TDD. No matter how complicated the task may be, I have found writing tests first really reduces stress.
michaelmcmillan··on Google plans monthly security updates for Nexus phones
What if it breaks some functionality the carrier has implemented?
michaelmcmillan··on Ask HN: What aspects of life are you deferring until you're successful and rich?
Hack on whatever I like.
michaelmcmillan··on Welcome to Your Airbnb
I've only stayed with AirBnb twice. Both of my stays were great and I attribute that to atmosphere this article is poking at.

When toying with the idea of going on a vacation the idea of lying on a beach drinking beer for 7 seven days sounds fantastic. However, I've found that the real vacation is experiencing a new culture - and perhaps most importantly meeting new people.

That's what I like about AirBnb. You get to know and experience new people. An added bonus is that the hosts are often locals themselves and can help you avoid the usual tourist traps.

michaelmcmillan··on Kim Dotcom Answers Questions
tarsnap
michaelmcmillan··on Ask HN: Do you (freelancers) charge for emails?
I think it is your responsibility to make sure you dedicate yourself 100% when you're working for a client. That means not being carried away reading emails related to other matters when you're on the clock.

With that being said, we just charge a general fee each month called "Administration & maintenance". It's the equivalent of 4 hours consulting. That usually covers any time spent not directly impacting the work for the client.

michaelmcmillan··on Phone Janitor – Take control of your phone number
I guess it's sufficient to create a service people want. Personally I don't really care if it's fancy SPA or a simple website with actual form elements. I just want software to work.
michaelmcmillan··on How we took our tests from 100 seconds to 100ms
I am most familiar with Javascript & Python, but I think you're onto something having fiddled with Java for 6 months or so. Some logic obviously can't be replaced with only a rich type system, but a lot can.
michaelmcmillan··on How we took our tests from 100 seconds to 100ms
As someone who always writes unit tests before any production code, I don't know how I would have the time to not write tests. It drives the design and reduces time debugging by a ridiculous amount. I work with information systems though, might be different for other fields.
michaelmcmillan··on How we took our tests from 100 seconds to 100ms
An added benefit of using unit tests over integration tests is that unit tests shows you what went wrong very clearly. If an integration test fails I have literally no idea where to start hunting for the bug. It could be located at any level in the stack.

I highly recommend this brilliant talk by J.B Rainsberger on how integration tests are a scam: https://vimeo.com/80533536

michaelmcmillan··on The AI-Box Experiment
Would it be against the rules to exploit a vulnerability in the gatekeepers IRC client/server to let the AI out? If we were truly talking about a transhuman AI would we not have to treat software vulnerabilities in the communication protocol as a true way of escaping?
michaelmcmillan··on Vim's 400 line function to wait for keyboard input

    Open Vim. Type "1.02". Put the cursor on the 2. Hit C-x; get 1.01. Again; get 1.00. Again; get 1.01777777777777777777777.
- Gary Bernhardt (@garybernhardt)
← PreviousPage 8 of 12Next →