News for hackers. Stuff that matters.

robert_dipaolo

Re:Build desktop applications using Go and Web Technologies on Monday November 24, 2025 @03:19AM (#46031604)
What about QT? I've used that in the past and it's really good for native apps.
Re:But how to get to that European cloud? on Tuesday March 18, 2025 @02:30AM (#43396325)
Is OVH not a European cloud provider? There are also smaller players like Hetzner.
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.
Re:At least 20 dead as walkie-talkies explode in Lebanon on Thursday September 19, 2024 @07:57AM (#41590870)
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.

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.
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.

Re:Home Assistant 2023.11 on Thursday November 02, 2023 @05:57AM (#38111186)
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.
Re:Home Assistant 2023.11 on Thursday November 02, 2023 @05:19AM (#38110889)
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.
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.
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.

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.
Re:Global media ask what's happened to Britain on Sunday October 23, 2022 @04:37AM (#33305493)
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!

Re:Global media ask what's happened to Britain on Sunday October 23, 2022 @04:21AM (#33305434)
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.
Re:The Future of Kubernetes on Sunday March 13, 2022 @11:57AM (#30662415)
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.
Re:Nearly a third of TV ads play to empty rooms on Saturday February 12, 2022 @04:19AM (#30311310)
There was a Black Mirror episode 15 Million Merits [1] where you either had to watch the ads (actually look at the screen) or pay to skip them!

1 - https://en.m.wikipedia.org/wiki/Fifteen_Million_Merits

Re:Let's Rewrite Everything on Saturday February 05, 2022 @04:15AM (#30219332)
For anyone else who was wondering what YAGNI is, You Ain't Gonna Need It - https://martinfowler.com/bliki/Yagni.html
They do meet in person, at school, play dates, etc. But for the same reason adults can't always meet in person it's not always possible for them to meet (esp not all at the same time) and COVID has made that worse of course. The point is to give them a supervised and safe place they can meet online, as well. I also think it's important for children to learn about technology and how it can be used, since it will inevitably end up playing a large role in their lives, no matter what profession they eventually go into.
Looks like a cool product, but yes not cheap and not easy to get hold of where I live (in the UK) unfortunately.
Thanks, I'd not thought of a minecraft server, most of his friends play it so it could be an option for txt chatting. I'll try spinning one up at the weekend to see how it works.

Ask HN: Safest place for young kids to chat to friends online?

I have an 8 year old boy who wants to chat (txt, voice, video) with his friends online, so they can arrange to play games, etc. I'm not keen on giving him a mobile phone yet and a lot of the platforms like Discord, Slack, etc don't have much in the way of parental controls. Ideally I'd like something where I (and the other parents) can supervise, moderate and control who has access to the...

( Read More... | 30 comments | 19 points | on HN )
Re:DOS Subsystem for Linux on Saturday September 18, 2021 @04:56AM (#28574708)
Because it mostly just works. I don't want to spend time that could have been spent doing actual work debugging random hardware and software issues. I also don't like MacOS (or apple hardware in general). WSL provides an excellent middle ground, a stable OS, that just works and has excellent hardware and software compatibility while also giving you a full Linux environment.

I like Linux and do run various distros on home pc's and old laptops. I've tried using it on work laptops many times (last time a few years ago) and end up getting frustrated after a while with lack of compatibility, broken drivers, poor battery life, etc and go back to Windows and get on with stuff uninterrupted.

Re:One Commander – a new Windows 10 file browser on Sunday March 28, 2021 @04:09AM (#26608761)
Excellent, thank you. I don't understand why a website would disable this!
Re:Are Package Registries Holding Open-Source Hostage? on Wednesday November 11, 2020 @01:32PM (#25061234)
AWS has a managed service CodeArtifact that supports all the common code package repos and allows caching of upstream repos. Granted it doesn't work with Docker Images, but you asked about packages.
der8auer recently did a 3 part video on YouTube where he cut up AMD and Intel chips and looked at the transistors with an electron microscope. It sheads some light on meaning (or non-meaning) of the node names. Is also really interesting;

https://youtu.be/uEMDkbF3hu0 https://youtu.be/uXu_1zXOZdY https://youtu.be/_wAeL3f3iV4