HNHacker News
TopNewBestAskShowJobs

mazatta

90 karma · joined November 27, 2013

submissionscomments
mazatta··on Python Default Dict
This is one of those things that I always assume other Python developers know about, but often don't.
mazatta··on Linux Hypervisor Setup (Libvirt/QEMU/KVM)
I've had luck with Proxmox and this Terraform provider: https://registry.terraform.io/providers/Telmate/proxmox/late...

Other than a working Proxmox install, you'll need to create a cloud-init template, which is documented here: https://pve.proxmox.com/wiki/Cloud-Init_Support

mazatta··on Arrow v1.0: After 8 years, even better dates and times for Python
No, Arrow is much more than parsing/formatting.

Each Arrow object has a `shift` method, which is how you can add or subtract units of time. Greater/less/equal comparisons work exactly as you'd expect them to.

mazatta··on Mozilla DNS over HTTPS (DoH) and Trusted Recursive Resolver (TRR) Comment Period
This vector has always existed - all that changed is RFC 8484 defines a standard way of doing this.
mazatta··on Review: A Counterfeit, $100 iPhone X
A former coworker accidentally bought one of these on Craigslist thinking he was buying a legit one. The price was pretty close to retail (or maybe even higher, as it was close to the X launch). The seller even let him handle one that "had already been opened", which was likely a legit one and then what he ultimately bought was a sealed fake.
mazatta··on Microsoft 365 Outage
Most of the elements you'd want on a status page are there, but the tone and structure are really off. I think you nailed it that this reads like an internal communication to a manager, not to a customer.
mazatta··on Facebook account now required to login to Oculus devices
I knew this was coming eventually, but I am definitely selling my Rift after this announcement.
mazatta··on Datadog releases Incident Management, Profiler, Error Tracking, and more
The only Datadog feature announcement I look forward to is "we've solved our stability issues!".

I am sick of playing the "is our infrastructure or Datadog's on fire?" game at 3 AM whenever I'm on call. I can only imagine the firefighting their engineering teams are dealing with, but for what you pay, I expect better.

mazatta··on Suitcase: A macOS tool for deploying GUIs for simple commands and scripts
Seems like a less-good derivative of Briefcase: https://github.com/beeware/briefcase
mazatta··on Ask HN: How do you currently solve authentication?
It feels like someone's hackathon project that was accidentally deployed to production, and has been running ever since.
mazatta··on Everything you ever wanted to know about building a secure password reset (2012)
It does make sense to impose some sort of upper bound (only so someone doesn't try and DoS you with a crazy long password), but 13 characters isn't going to bring a server to its knees.
mazatta··on Humble Book Bundle: Python 2019 by Packt
Apologies to the authors, but anything from Packt is a hard pass.
mazatta··on Ask HN: Who is hiring? (December 2018)
I had the same experience - radio silence.
mazatta··on Ask HN: Who is hiring? (December 2018)
Are any of these an option at the Vancouver office?
mazatta··on The highest paid workers in Silicon Valley are product managers (2016)
A good PM knows that all they should own is the definition of "what" should be worked on, but the bad ones seem to gravitate towards the "how" as well. I suspect this has something to do with many PMs transitioning out of engineering roles, but it can be very frustrating to work with a "Product Micromanager".
mazatta··on What Airbnb really does to a neighbourhood
Airbnb is a zero sum game - what tourists win, locals lose.

Two of my coworkers are currently being forced to look for a new place to live in a tight housing market because their current landlord can make more money renting on Airbnb.

I've stayed in Airbnbs in the past (and appreciated the convenience), but I no longer will.

mazatta··on Don’t Do This in Production
Of all the books I recommend for junior/intermediate developers, this is the one I demand they read. I wish the the free online version was still available, but it doesn't appear to have survived O'Reilly's switch to the subscription model.
mazatta··on Lucky iron fish
You can buy these here: https://luckyironfish.com/collections/all/products/lucky-iro...

They might seem a bit pricey for what it is, but they operate on a "buy one, give one" model, so it's a pretty good deal considering that. They make a great gift for anyone in your life who needs more iron in their diet.

mazatta··on TunnelBear Joins McAfee
They charged my card long after I'd already canceled and changed providers. Eventually got a refund, but I shouldn't have needed one in the first place.
mazatta··on Ask HN: Who is hiring? (March 2018)
I was really interested in applying recently, until I saw what their interview process entails, and laughed. I can understand "hire slow", but 7 rounds of interviews is way too much to ask of candidates, and indicates a navel gazing culture I want no part of.
mazatta··on Go is not (very) simple, folks
Exactly. I'm curious if the author continued using Go for a bit of time, if they would still write the same article.

Some of the concepts the author took issue with, such as receiver arguments or multiple return values never felt all that unusual for me, but that's probably because I'm quite familiar with a language like Python, where these concepts are pretty common if you've ever written a class or written a function that `return a, b`

The final argument, that Go's concurrency is somehow not concurrency, or all that special is a bit too much for me. That section needs some editing, but if anything, they unintentionally make the point that Go's concurrency IS simple.

mazatta··on MongoDB has filed to go public
Now they can lose your money, along with your data!
mazatta··on Show HN: Ablator – Switch features on or A/B test them inside your app
If I could set arbitrary key/value on both users and features, that should be enough to make it work.
mazatta··on Show HN: Ablator – Switch features on or A/B test them inside your app
It looks interesting, and might be something I introduce to my team.

Is it possible to define cohorts of users, and then expose features to that group? I work on a SaaS app used by businesses, so it'd be very handy to use this tool when a customer is beta testing a new feature.

mazatta··on Show HN: Your Own Task Queue for Python
The retry and locking mechanisms look pretty handy - I've had to implement those on my own whenever I've used Celery.

What's your experience been using this and Redis for your queue backend?

mazatta··on Box: Python dictionaries with recursive dot notation access
I've worked on codebases that use a similar thing, and I have yet to see one where this wasn't a mistake.

Most of the time, this probably gives you exactly what you want, but then there are times where you discover bugs in production because data you assumed is your custom class is a plain old dict, and now you're raising AttributeError all over the place. Another wart is if you are unfortunate enough to have keys that match the name of one of dict's methods, then you have to resort to instance['items'], which defeats the purpose of using this in the first place.

This is a fun trick, but if someone one my team tried to introduce this, it won't make it through code review.

mazatta··on New XPS 15 Laptop
No operating system can protect your machine if it is left unlocked - even allowing physical access makes you vulnerable. A worthy concern, but not in itself an "Ubuntu problem".
mazatta··on Vancouver Tax on Empty Homes to Target Near-Zero Rental Supply
That's quite true, but that development is only able to happen in very tiny bands of the city, and there is a cap on how tall new buildings can be.

The vast majority is zoned for single family homes, and any kind of densification is resisted vigorously by existing property owners. E.g. http://www.cbc.ca/news/canada/british-columbia/commercial-dr...

There's no question Vancouver is building, but it is not building enough of the right kind of housing (i.e. rental, non-luxury, and > 1 bedroom units).

mazatta··on The Doom Movement Bible
The only one off the top of my head is Serious Sam: https://github.com/Croteam-official/Serious-Engine
mazatta··on Years and lessons working at ThoughtWorks
If the author is reading this, the social sharing buttons on that page are very annoying. On my browser/resolution it covers up the first character of every line it touches, which makes reading the article without resizing the window nigh impossible.
Page 1 of 2Next →