HNHacker News
TopNewBestAskShowJobs

michaelmcmillan

1,010 karma · joined June 5, 2012

https://michaelmcmillan.net
submissionscomments
michaelmcmillan··on Show HN: I made a tool that made me faster at Git
git add --interactive?
michaelmcmillan··on Freezing Python’s Dependency Hell
I don't like "magic". I don't need anything to hijack PS1 and muck around with my shell.
michaelmcmillan··on Freezing Python’s Dependency Hell
Thanks for the tip, but honestly, I don't need another tool.
michaelmcmillan··on Freezing Python’s Dependency Hell
Never had a problem with dependencies in Python. Just keep it simple.

When starting a new project:

  virtualenv venv -p *path-to-python-version-you-want*
  ./venv/bin/pip install *name-of-package*
When running that project:

  ./venv/bin/python *name-of-python-file*
Many people don't realize that the venv/bin/ contains all the relevant binaries with the right library path's out of the box.
michaelmcmillan··on Show HN: Hasura – Fast, instant GraphQL APIs on Postgres
I don't know where over-modeling fits in the argument. Business logic in an isolated part of an application is likely to age better than something that is intertwined with a database or other external dependencies.
michaelmcmillan··on Show HN: Hasura – Fast, instant GraphQL APIs on Postgres
I agree – but that doesn't actually challenge my argument. I would be reluctant to use this due to the very tight coupling to GraphQL and Postgres.

Unless – of course – you simply want something working quickly that does not need to be maintained or kept alive for a long time.

michaelmcmillan··on Show HN: Hasura – Fast, instant GraphQL APIs on Postgres
Your reply suggests you either couple everything or nothing. It’s more nuanced than that. Everything is a trade off. With that said, it looks like this library will position itself in the center of your architecture — and I would be very hesitant to do that.
michaelmcmillan··on Show HN: Hasura – Fast, instant GraphQL APIs on Postgres
I am very hesitant to couple the business logic of any application to the transport layer (GraphQL) or the persistence layer (Postgres) for that matter.
michaelmcmillan··on The App Store turns 10
Spotlight is absolutely horrendous?
michaelmcmillan··on Facial recognition rolled out by London police sparking human rights concerns
Oh it works alright: http://megaface.cs.washington.edu/results/facescrub.html
michaelmcmillan··on Python 3.7 released
Love data classes! Would've been even cooler if they could've been made immutable.

Oops, never mind: "It is not possible to create truly immutable Python objects. However, by passing frozen=True to the dataclass() decorator you can emulate immutability. In that case, dataclasses will add __setattr__() and __delattr__() methods to the class. These methods will raise a FrozenInstanceError when invoked."

michaelmcmillan··on Python 3.7 released
Simple != easy. It is easy to add another dependency, but you've just added another piece to the puzzle that needs to be maintained.
michaelmcmillan··on Test-Driven Web Development with Python – The Book
Built multiple complex systems using TDD and the unittest package in Python. No monolithic frameworks, almost zero test infrastructure and ~ 1000 unit tests/sec. Do not share your perspective.
michaelmcmillan··on Test-Driven Web Development with Python – The Book
Appreciate the book, don't get me wrong – but I've never understood how anyone can call something a "unit test" when it takes more 2-3 milliseconds to run.
michaelmcmillan··on Teens Who Hacked Microsoft's Xbox Empire and Went Too Far
What a fantastic article – technical, interesting and well written. Kudos!
michaelmcmillan··on What's My Color IQ?
I'd say that's implicit. A computer consists of hundreds of abstractions constructed by apes like ourselves.
michaelmcmillan··on What's My Color IQ?
> Best Score for your Gender -2147483648

> Worst Score for your Gender 2147483647

Sigh, computers.

michaelmcmillan··on The real power of Linux executables
binfmt_misc is rad!
michaelmcmillan··on The London Tube Heartbeat
Looks like an organism!
michaelmcmillan··on Show HN: Need feedback for my Python library to query dicts
Not intended as criticism, but isn't it easier to just express your query in Python using filter?
michaelmcmillan··on Spyce Kitchen, a robotic chef built by four recent M.I.T. grads
Just throwing out some armchair criticism: I would think that a robotic chef would look a little less intuitive. I mean, is two monkey arms really the optimal strategy for revolutionizing this field? Happy to be proven wrong!
michaelmcmillan··on I wandered off and built an IDE
"It took a few days to build the first version. It was butt-ugly and looked like it was designed according to whatever the opposite to Feng Shui is, but it worked nicely."

Made me laugh.

michaelmcmillan··on Facebook login page logs user's pre-filled info to their servers
This tirade against Facebook is starting to slip into hysteria.
michaelmcmillan··on Ask HN: What are your favorite podcast episodes, and who might enjoy them?
Waking Up with Sam Harris. Fascinating conversations for anyone who likes to have their mind changed.
michaelmcmillan··on How a Political Engineering Firm Exposed Their Code Base
Time to fire up hashcat on aws.
michaelmcmillan··on A week-long programming retreat
IQ tests seem to suggest otherwise.
michaelmcmillan··on Heisenbug
Reminds me of the "can't send mail more than 500 miles" bug. Fantastic read: http://web.mit.edu/jemorris/humor/500-miles
michaelmcmillan··on Preparing for Malicious Uses of AI
We need AI to keep the planet.
michaelmcmillan··on Appropriate Uses for SQLite
I run a complex CRM that handles 1.2 million USD in transactions every year. It is running sqlite with a simple in-memory cache (just a dict) that gets purged when a mutating query (INSERT, UPDATE or DELETE) is executed. It is simple and fast enough.
michaelmcmillan··on WxPython 4.0.0 Released
Seems like the site is down. Here is a cached version:

https://webcache.googleusercontent.com/search?q=cache:ght2vB...

← PreviousPage 4 of 12Next →