News for hackers. Stuff that matters.

mazatta

Re:Python Default Dict on Tuesday May 04, 2021 @02:00PM (#27040502)
This is one of those things that I always assume other Python developers know about, but often don't.
Re:Linux Hypervisor Setup (Libvirt/QEMU/KVM) on Saturday May 01, 2021 @05:03PM (#27009778)
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

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.

This vector has always existed - all that changed is RFC 8484 defines a standard way of doing this.
Re:Review: A Counterfeit, $100 iPhone X on Sunday November 08, 2020 @03:47PM (#25028850)
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.
Re:Microsoft 365 Outage on Monday September 28, 2020 @07:05PM (#24622184)
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.
Re:Facebook account now required to login to Oculus devices on Tuesday August 18, 2020 @06:53PM (#24205304)
I knew this was coming eventually, but I am definitely selling my Rift after this announcement.
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.

Seems like a less-good derivative of Briefcase: https://github.com/beeware/briefcase
Re:Ask HN: How do you currently solve authentication? on Monday January 27, 2020 @02:45PM (#22163008)
It feels like someone's hackathon project that was accidentally deployed to production, and has been running ever since.
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.
Re:Humble Book Bundle: Python 2019 by Packt on Monday December 31, 2018 @03:46PM (#18796903)
Apologies to the authors, but anything from Packt is a hard pass.
Re:Ask HN: Who is hiring? (December 2018) on Thursday December 13, 2018 @02:05PM (#18675040)
I had the same experience - radio silence.
Re:Ask HN: Who is hiring? (December 2018) on Monday December 03, 2018 @04:07PM (#18593003)
Are any of these an option at the Vancouver office?
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".
Re:What Airbnb really does to a neighbourhood on Thursday August 30, 2018 @01:18PM (#17878573)
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.

Re:Don’t Do This in Production on Monday August 20, 2018 @10:40AM (#17800273)
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.
Re:Lucky iron fish on Friday March 23, 2018 @04:41PM (#16662469)
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.

Re:TunnelBear Joins McAfee on Friday March 09, 2018 @02:14PM (#16554099)
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.
Re:Ask HN: Who is hiring? (March 2018) on Friday March 02, 2018 @09:32PM (#16507513)
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.
Re:Go is not (very) simple, folks on Tuesday December 05, 2017 @10:57AM (#15852489)
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.

Re:MongoDB has filed to go public on Thursday September 21, 2017 @11:44PM (#15309253)
Now they can lose your money, along with your data!
If I could set arbitrary key/value on both users and features, that should be enough to make it work.
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.

Re:Show HN: Your Own Task Queue for Python on Wednesday June 14, 2017 @06:55PM (#14556694)
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?

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.

Re:New XPS 15 Laptop on Tuesday December 20, 2016 @11:06AM (#13221039)
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".
Re:Vancouver Tax on Empty Homes to Target Near-Zero Rental Supply on Thursday September 15, 2016 @01:12PM (#12507894)
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).

Re:The Doom Movement Bible on Friday April 15, 2016 @01:08PM (#11505905)
The only one off the top of my head is Serious Sam: https://github.com/Croteam-official/Serious-Engine
Re:Years and lessons working at ThoughtWorks on Sunday April 03, 2016 @01:14PM (#11416801)
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.

Older »