robert_dipaolo

Joined 10 years ago

Karma
83
Submissions
24
Member since
Nov 30
View on Hacker News

Recent submissions

Comment · 11 months ago
What about QT? I've used that in the past and it's really good for native apps.
Comment · 1 year ago
Is OVH not a European cloud provider? There are also smaller players like Hetzner.
Comment · 1 year ago
I mostly agree, but for short one liners and where there will be no reuse elsewhere, instead of a function I prefer;

  something_is_valid = something > 0 and something != foo and something > bar
  if something_is_valid:
    # ....
It achieves the same thing without needing to scroll.
Comment · 2 years ago
I think your first point could plausibly be made by either side, not just about this specific incident. I don't think killing people is ever a justifiable solution to any issue and almost always makes things worse.

I think, no matter who the perpetrator is, it's undeniable that exploding electrical items on this scale, is an act of terror and aggression.

Comment · 3 years ago
Exactly, things are only worth what people are willing to pay for them and for a lot of people music is relatively low in the pecking order. I pay for spotify but would leave it they raise the prices.
Comment · 3 years ago
They do have to spend money to distribute them, servers, bandwidth, software dev, etc, aren't free.

However I agree that they shouldn't raise prices.

Comment · 3 years ago
Ah interesting, I didn't realise that! I often drop into the YAML to configure Automations, etc. I'm not using MQTT at the moment.
Comment · 3 years ago
All the config can be done via YAML still. The UIs are just another option that makes it easier, as far as I can tell the UIs just build the YAML.
Comment · 3 years ago
The problem with an annotation for that is it causes people to keep transactions open for too long. It's best practice in DB programming to keep tx's open for as short a time as possible. The longer it's open the more scope for deadlocks and contention. So we never use it in our prod code. We've put all the boiler plate code for creating the transaction, error handling, retires, etc in a helper function that takes a lambda as a param (that being the code to run in the tx). That way you can only wrap the code that needs to be in the tx, without copying and pasting all the boiler plate everywhere.
Comment · 3 years ago
The Pixel 2 had a launch price of $649 vs the iPhoneX at $999, so ~35% more. That's not really a fair comparison, I imagine if you compare to a similarly priced android phone released at the same time, it'd be a closer result.

Where apple does do well is supporting devices for much longer with software and security updates. So running older android phones is prob not a good ideas from a security perspective.

Comment · 3 years ago
Not for me unfortunately, I've yet to try a sugar free drink or sweet that doesn't taste bitter and chemically (if that's a word!). I don't get any sweet flavour at all, so can't drink any of them.
Comment · 4 years ago
I think also a big part was Jeremy Corbyn, Labour would have done a lot better if they'd have had a more effective leader.

Brexit is not done, we have many more years of it to come!

Comment · 4 years ago
I think the problem is the 2 party political system that flip flops between the left and right with one party having full power. We need a more balanced PR based system that forces compromise and gives the smaller parties a voice. I believe Brexit and the latest goonery wouldn't have been allowed to happen in such a system.
Comment · 4 years ago
The WASM concept has been around for decades, it's effectively jvm or .net in but in the browser. I don't get the relevance when discussing k8s or containers.
Comment · 4 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton