News for hackers. Stuff that matters.

beninsydney

Re:The 13-Inch MacBook Air on Saturday July 16, 2022 @08:13AM (#32117282)
I don't think it's likely any time soon but forcing Apple etc to provide drivers would be a pretty natural extension of the 'right to repair' and other tech regulation demanding interoperability, to guarantee M1/M2/etc devices remain useful beyond their years of macOS support.
Aside from utilities many games have lots of similar competing products where you can differentiate on permissions/ads/in-app purchases/etc: crossword puzzles, sudokus, games for younger kids like dress up or coloring in stuff.
The permissions list allowed you to make a better-informed decision before you download the app, even though you can't change what permissions an app requires you could shop around for apps without specific permissions. This was never incompatible with ad-hoc approving or rejecting permissions either.
It's unfortunate that regulators have largely overlooked privacy in smartphone apps amidst all the other concerns they have over such platforms.
Re:Ask HN: Coping with Hair Loss on Wednesday June 29, 2022 @09:31PM (#31927778)
I like having hair but recently noticed mine is thinning now, it kind of sucks but we made it into our 40s so I think we got pretty lucky because at our age nobody is ever going to really care if we have hair or not. It doesn't even really disadvantage us, especially compared to the changes other people have to endure like obesity, amputation, heart attacks, strokes etc.
The first issue is Apple's vision of privacy requires absolute trust in them and providing them with access to all your data so they can leverage whatever parts they decide is useful for their software.

The second issue is Apple facilitated the modern form of having no privacy - apps with discrete access to all our private data, tracking us in real time, using APIs Apple designed, using an approval process Apple cheaped out on, and they have profited immensely from this state of affairs.

The third issue is Apple is often at odds with consumers, there is an entire Wikipedia article about their litigation from when they fucked people who buy ebooks, tech workers they employed, parents who let their kids play iOS games, people who bought laptops with butterfly keyboards, developers they chose to compete with, they often do things contrary to our interests and rights.

https://en.wikipedia.org/wiki/Apple_Inc._litigation

Ugh. I really liked that "nutritional label" because the advance warning tells me upfront if the developer values my private data. I would prefer app stores be similar to health warnings on cigarette packets, because predatory data collection and billing practices are so entrenched.
I have always loved this method of debugging because printing messages outputs a chronological summary spanning the entire execution, and only relevant information is included.
I'm looking forward to quitting the App Store once sideloading is allowed, once I can get my iPhone software from GitHub I won't go back to apps vacuuming up my data under Apple's oversight.
I like to use a library called Puppeteer which is an API for Chrome/Firefox, in conjunction with a testing library (mocha) to verify UI works as expected.

My UI tests start at a page, navigate to a target, try and fill out the form, verify error messages occur, successful submission occurs, resize to test responsiveness, dark mode etc. You can even have it type into Stripe element fields that are generated by their JS within iframes.

https://www.npmjs.com/package/puppeteer

Re:Nvidia adds liquid-cooled GPUs on Saturday May 28, 2022 @06:57AM (#31539289)
I really like the Noctua cards they're collaborating on, it's not really necessary to go water-cooled once you've got a 4ish slot card/heatsink with quiet 120mm fans!

https://noctua.at/en/asus-geforce-rtx-3080-noctua-edition-gr...

Re:Logitech MX Mechanical Keyboard on Tuesday May 24, 2022 @08:19PM (#31499139)
This sounds interesting, I popped the key cap off that button and also the print-screen button since I was amassing a sizable collection of accidental desktop screenshots!

Edit: It's not in the K2 manual but there is a shortcut, FN + L + lightbulb key that works to lock it -

https://www.keychron.com/pages/k2-user-manual

https://keychronsupport.zendesk.com/hc/en-us/articles/360052...

Re:The Future of the Gitlab Web IDE on Monday May 23, 2022 @10:25PM (#31487344)
I'm excited about this, I would love the IDE to move to the browser and have been a fan of the idea since the Cloud9 days. If browsers had a way to delegate their reserved keyboard shortcuts I would use web IDEs full time.
I find `nvm.sh` pretty invaluable for juggling node versions - https://github.com/nvm-sh/nvm#intro
Re:Kindle, ePub, and Amazon’s love of reinventing wheels on Wednesday May 18, 2022 @12:14AM (#31419165)
The lack of support for ePub is very annoying, when my 2013 Paperwhite finally breaks I'll definitely replace it with a non-Amazon ebook reader with better file support. Probably one with Android so it has proper browser support since there is a web frontend for Caliber and it might be nice to access Readarr directly too.
Re:Heroku CI and Review App Secrets Compromised on Tuesday May 17, 2022 @11:19PM (#31418895)
Fly have https://news.ycombinator.com/user?id=tptacek working for them so it's hard to imagine they would get security wrong.
Re:Fly.io: The reclaimer of Heroku's magic on Monday May 16, 2022 @01:47AM (#31393965)
On their forums they say they envision some other company handling Postgres too. Personally I would prefer they handle the databases, redis etc because that way the services you need can be provisioned right alongside your app servers otherwise it undermines the value of having edge servers near your users. Heroku could get away with 3rd parties being responsible for the database software because using AWS it was easy for other companies to be in the same region or zone.

https://community.fly.io/t/can-we-get-an-update-on-managed-d...

Re:Dokku – Free Heroku Alternative on Saturday May 14, 2022 @08:00PM (#31383925)
I guess it comes down do your preference, it's just a GUI for Docker you can do the same Docker commands and container manipulation with or without it.
Re:Meta Is Transferring Jest to the OpenJS Foundation on Wednesday May 11, 2022 @07:57PM (#31347560)
It's going to take a while to impact the current ecosystem but NodeJS is implementing testing natively and that will inevitably erode the popularity of jest/mocha/etc -

https://nodejs.org/api/test.html

Re:Heroku Security Notification on Thursday May 05, 2022 @04:32AM (#31270968)
Digital Ocean's "App Platform" is pretty nice, although not as slick as Heroku -

https://www.digitalocean.com/products/app-platform

Railway.app is pretty nice, very slick interface, this has the most "heroku-feel" -

https://railway.app

Re:Why companies move off Heroku (besides the cost) on Thursday April 28, 2022 @01:18AM (#31189010)
Railway looks really cool but what is the procedure if you want more than one of the same data store in my case one redis for cache and a second redis for aggregating usage metrics?

Edit: I found a small bug, I can't link my discord and railway.app accounts because my github is < 180 days old, it says that I must enter billing information but I did that a couple hours ago. There's no way to post this message in discord since private messages to your team members get rejected and public messages require that linkage.