299 karma · joined Feb 15, 2021 (5y ago) · 83 submissions
comment 1y ago · link · parent
let x = some_function();
... A bunch of code
let x = some_function();
The values of x are the same. It was just an oversight on my part but wondered if I could set my linter to highlight multiple uses of the same variable name in the same function. Does anyone have any suggestions?
comment 1y ago · link · parent
If my daughter's Spotify app breaks after an update she knows to immediately contact my on-call pager and alert our family CEO and legal department.
Just give me a checkbox that allows updates.
If an app developer changes something fundamental about the app, then the changes will be subject to the app store age guidelines. If the app is recategorised to 18+ it won't be able to install anyway. Billions of devices around the world have auto app updates turned on. The risk of a rogue update is outweighed by the benefit of getting instant access to security updates. I'm managing a kids iPad with a couple of mainstream games and school apps installed, not running a fortune 500.
comment 1y ago · link · parent
Apple have a couple of extra mechanisms in place to remind us to buy a new device:
- On iOS the updates are so large it doesn't fit on the device. This is because they purposely put a small hard drive i. It serves a second purpose - people will buy Apple cloud storage because nothing fits locally.
- No longer providing updates to the device after just a few years when it's still perfectly fine. Then forcing the app developer ecosystem to target the newer iOS version and not support the older versions. But it's not planned obsolescence when it's Apple, because they're the good guys, right? They did that 1984 ad. Right guys?
comment 1y ago · link · parent
- When an iPad is presented to you to enter your parent code to unlock an app, the name of the app isn't shown as the pin prompt is over the top of the app/time to unlock details.
- It's not possible to set screen time restrictions for Safari.
- If apps are not allowed to be installed, app updates stop. I have to allow app installations, install updates, then block app installations again.
- Setting downtime hours just doesn't seem to work. Block apps from 6pm - 11.59pm? Kid gets locked out of their iPad at school for the whole day.
- Most of the syncing between settings on a computer to the target iPads appear to be broken completely. If an iPad is in downtime, and the scheduled downtime time changes, it does not take the iPad out of downtime.
- Downtime doesn't allow multi-day hour settings. For instance, try setting downtime from 8pm - 8am.
- Popups in the screen time settings of MacOS have no visual indication that there is more beneath what can be seen. There is no scrollbar. You have to swipe/scroll on every popup to see if there are more settings hidden out of view.
- No granular downtime controls for websites. You can block Safari, or you can not block Safari.
Edit: Oh I almost forgot this nifty little bug reported back in 2023: https://discussions.apple.com/thread/255049918?sortBy=rank
Screentime randomly shows you a warning about being an administrator... no probs you just need to select another account and then re-select the one you want and it'll go away.
comment 1y ago · link · parent
In population terms, Tasmania has 4.5 sheep per person, whereas Victoria has 1.9 sheep per person. NSW 0.28, SA 5.2, WA 3.3, QLD 0.4
[1] https://www.ga.gov.au/scientific-topics/national-location-in... [2] https://www.abs.gov.au/statistics/people/population/national... [3] https://www.wool.com/market-intelligence/sheep-numbers-by-st...
* Population numbers are one head per person, so actual numbers may vary for Tasmania ;-)
comment 1y ago · link · parent
https://www.smartcompany.com.au/startupsmart/firmus-raises-3...
comment 1y ago · link · parent
It's hard to reconcile with how difficult it was previously. Life on hard mode is a term ived used too. I try to think that it was all to make me stronger for the second half of my life, but I still regularly wonder what could have been.
comment 1y ago · link · parent
comment 1y ago · link · parent
It's so hit and miss in Rust too. When I ask it for help with a bug it usually tries a few things then tries to just delete or comment out the buggy code. Another thing it does is to replace the buggy code with a manual return statement with a comment saying "Returning a manual response for now". It'll then do a cargo build, proclaim that there are no errors and call it a day. If you don't check what it's doing it would appear it has fixed the bug.
When I give it very specific instructions for implementation it regularly adds static code with comments like "this is where the functionality for X will be implemented. We'll use X for now". It does a cargo build then announces all of its achievements with a bunch of emojis despite having not implemented any of the logic that I asked it to.
comment 1y ago · link · parent
We've got some UI components built with html, CSS and JavaScript. They use web standards.
We want to add them into web frameworks that are built in JavaScript. They are built for html, CSS and JavaScript.
No need to overcomplicate things.
And for a universal component library I'll happily accept 7kb extra overhead in my 4mb React slop website
comment 1y ago · link · parent
There are so many framework specific libraries like shadcn, and the community set about building half finished conversions for different frameworks like Vue, which are always several iterations behind and don't really work properly. They have their own version of the docs and it all relies on a specific version of Vue and a specific version of Tailwind and whatever else. It's an abomination.
Start with headless UI as a base and then build wrappers for specific frameworks if you really feel the need. But the wrappers should be syntax sugar only and linked directly to the base library.
I'm sure it's all more complicated than that but a man can dream.
comment 1y ago · link · parent
I'd prefer an option to silently grab non-security/non-fix updates once every [Day, Week, Month] in the background, and install automatically on next app start up. Urgent updates can happen immediately. The default should be every week as every update is around 85mb. You could go a step further and have an option to only download over WiFi.
As for the mic "issue", I'm not sure what everyone's on about. Acting like it's the first app on Windows to monitor what the system is doing to provide a feature.
comment 1y ago · link · parent
Also, how did you find Jon and what was their skillset when you met? Did they come on as a contractor in the beginning?
comment 4y ago · link · parent
comment 4y ago · link · parent
Sure, if you're only motivation is money. To a lot of folks that sounds miserable.
> i feel like devops is just a bucket for lost souls who like tech stuff.
I don't understand...do you not like "tech stuff"? We're posting on hackernews here...