Better HN
topnewbestaskshowjobs
Log inSign up

combyn8tor

299 karma · joined Feb 15, 2021 (5y ago) · 83 submissions

Submissions

comment 1y ago · link · parent

I just import them with unique names if there is a collision - Wiz_Baz and Foo_Baz

comment 1y ago · link · parent

I did this accidentally the other day in Rust:

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

They present as bugs. I suspect they don't have the A team working on mechanisms that help reduce the amount of time kids spend on their devices. Do the bare minimum to show they "care" but no more as it hurts the profits.

comment 1y ago · link · parent

"you're essentially stepping into the role of an enterprise MDM IT department, auditing software updates for stability before letting them go out."

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

The Apple gods know what's best for you. They're just trying to protect you from yourself.

comment 1y ago · link · parent

> the whole Louis Rossmann's youtube worth of other hardware features meant to remind you to buy a new Apple laptop every couple of years

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

Glad to see someone documenting this. I use the screentime feature to restrict my kid's iPad's and it is so painful. Here are my notes:

- 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

Tasmania has 38 sheep per square kilometer and is only surpassed by Victoria with 60 sheep km2. WA has 4 sheep per km2, QLD 1.44, SA 10, NSW 3.

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

Meanwhile in Australia we have a "AI data centre" startup being valued at $1.9 billion and given $330 million to play with, having not built anything yet. It's co-founded by a guy that went to prison for insider trading. His wife is also an investor, who happens to be a prominent Australian influencer. The company previously focused on Bitcoin mining but have pivoted to the AI boom, claiming their cooling systems to be 60% better than competitors. Their first project will kick off soon in the Australian state of Tasmania, where there is nothing much more than sheep and tourists.

https://www.smartcompany.com.au/startupsmart/firmus-raises-3...

comment 1y ago · link · parent

I've read those articles a couple of times over the years and always found it fascinating they actually built a backbone with dark fibre. That was ten years ago so it would be interesting to see an update.

comment 1y ago · link · parent

Wow I could have wrote this exactly excepy for a 1 year difference in diagnosis.

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

Is the load balancing of the relays out of scope? It doesn't seem to be addressed in the write up unless I missed it.

comment 1y ago · link · parent

so does it work like this?:

- Client makes a DNS request to ageblockedsite.com using NextDNS server

- NextDNS server returns an IP to a proxy server they control

- Client connects to the site through the proxy server

comment 1y ago · link · parent

My meds have me on the ball from about 9am - 5pm. Outside that window I wouldn't trust myself flying a plane unless it was an unusual flight, like flying a new aircraft or flying into a storm, or on a rescue helicopter landing on a highway or mountain. The more routine the more dangerous it gets which is not ideal for your average pilot :-(

comment 1y ago · link · parent

Claude loves to delete comments. I setup specific instructions telling it not to, and yet it regularly tries to delete comments that often have nothing to do with the code we're working on.

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

Here's my put simply:

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

This is great. Last time I looked into this UI component world I was surprised the popular UI libraries weren't all 'headless' at their base. Web components have been around a long time now. What was stopping this approach?

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

While you're here - can you tell your PM's that your auto update on windows is annoying. Every time I start the app there's a prompt asking me to either "Install and Relaunch" or "Remind me later" (which seems to just hassle me again on next app start). The worst part is the pop-up doesn't show until 5-10 seconds after I start the app. So I'll start the app, start clicking around and then I'm interrupted by this pop-up. This seems to happen every day because you push a lot of updates.

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

How has your experience been running a discord server? I imagine it's useful for feedback but time consuming to manage? I'm reluctant to start one as I'm concerned about the time consumption.

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 1y ago · link · parent

I don't understand - does the dishwasher not have any indication that it's finished? Mine just turns off the LEDs on the front panel when it's done. I usually don't empty it immediately anyway.

comment 1y ago · link · parent

The linter picks them up. Then you pass the linter warning/error back into the LLM until the linter stops complaining. Then the slop compiles.

comment 3y ago · link · parent

Failover to TURN servers then?

comment 3y ago · link · parent

I wonder if Tailscale have any numbers on how often clients failover to STUN?

comment 4y ago · link · parent

There is a bit of a grassroots movement to make the bin chicken the mascot for the 2032 Olympics in Brisbane.

comment 4y ago · link · parent

For me it was Parse.

comment 4y ago · link · parent

It was normal to use Photoshop and have the entire system crash several times a day. The G4's along with the iMac had terrible overheating issues which also caused constant crashes in warmer climates. Running these machines in a room without aircon in the Australian summer was a no go.

comment 4y ago · link · parent

> People don't move from platforms, they drift away naturally.

Digg has entered the chat.

comment 4y ago · link · parent

> just learn 1 thing (networking) on a few vendors (cisco, juniper, whatever)

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

comment 4y ago · link · parent

Are you deploying to servers that are already running other services? If so, why not just create a fresh VPS dedicated for your new deployment? Not saying either way is better or worse, just looking to understand why that may be the case.

comment 4y ago · link · parent

Right, I can see your point but I just want to understand a bit more... why would some servers be half configured already? When you fire up a new server don't you just select a standard distro image? What happens when the Docker image is updated?
123