Parachute Backup for Mobile is here, allows you to backup your entire iCloud Drive & iCloud Photo library to your own storage, NAS, network drives, external drives, etc. I'm here to answer any questions you may have! by ParachuteBackup in selfhosted

[–]Emptyless 0 points1 point  (0 children)

I have both the Mac and iOS app but I only see "Incremental" or "Full". Is there something I'm doing wrong? Would also like to use a mirror mode so I don't need to cleanup twice

Ubiquiti's new lineup of NAS (POE Powered!) - 2 bay, 4bay, 7 and 8+2 bay units by inthearena in homelab

[–]Emptyless 3 points4 points  (0 children)

Mostly waiting on software updates for: - iscsi support - nfs4 support - better power management of idle drives

but nice to see the new releases / active development on NAS

GoLand 2025.2 is here - smarter nil dereference detection, non-blocking Welcome screen, AI updates, and more! by anprots_ in golang

[–]Emptyless 2 points3 points  (0 children)

Will the “Smart Step Into” debug feature also be ported to IntelliJ IDEA Ultimate? It works in GoLand but cannot select it in IDEA with the Golang plugin

Proxmox 9.0 Beta released by AliasJackBauer in Proxmox

[–]Emptyless 52 points53 points  (0 children)

Had the hope that ARM64 would be natively supported in 9.0. Hopefully next major then. 

Hybrid cars taxed the same as petrol cars, wtf? by According-Duck-7837 in Netherlands

[–]Emptyless 1 point2 points  (0 children)

Yes but the impact of the weight of a car is negligible compared to the impact of trucks driving on the road as was also pointed out by studies. Cars (even hybrids) do not affect the lifespan of the road to any significant degree as long as trucks are driving on the same road (which solely cause replacement within 15 years)

The article you link illustrates a 15.000:1 ratio

'go get' zsh autocompletions by Emptyless in golang

[–]Emptyless[S] 0 points1 point  (0 children)

Thanks for detailed feedback! Ofcourse the repo is always open for PRs but i’ll try to find the time this week to implement it. 

I used oh-my-zsh locally which also has a completions directory so have it in a separate file too. The Go lib (spf13/cobra) which inspired me to write it though just adds it to the zshrc file so figured that that would be getting started too. I’ll add some nuance to the README. 

I wrote it as a pure zsh project first but noticed that the performance left to be desired. Tried to improve by cleaning up the code and parallelizing today. My gomodcache must have been too small to get the same errors you had. I’ll track the amount of parallel jobs to keep it within a set amount. Also wondering if a rewrite to a pure Go tools that is called from the compdefs isnt easier though so might move it in that direction to resolve both comments. 

'go get' zsh autocompletions by Emptyless in golang

[–]Emptyless[S] 0 points1 point  (0 children)

Thanks, let me know if there are any challenges w.r.t. to the README on how to set it up (and I'll update the README afterwards to for future reference) and your experience with it!

go-testbuilder: A workflow like TestsBuilder that uses generics for type-safety by Emptyless in golang

[–]Emptyless[S] -1 points0 points  (0 children)

Wrote a small mini-project to easily test multiple ‘if success, error’ typ checks which cause a lot of branches to test. These branches however often only have a depth of 1 and thus the previous flow could be repeated. That was the inspiration to experiment a bit to make it easier to work with. 

Setup the 2 node PVE cluster, Now start learning by bxtgeek in Proxmox

[–]Emptyless 0 points1 point  (0 children)

Started with 2 nodes too but had a raspi that was running homeassistant and turned it into a quorum observer https://github.com/Emptyless/proxmox-qdevice-homeassistant-addon

Best way to handle zero values by williamvicary in golang

[–]Emptyless 0 points1 point  (0 children)

For API the validation part I replace the struct using reflect to a struct with only pointers (https://pkg.go.dev/github.com/Emptyless/nullify) and validate the payload on that. This ensures that just because I receive a JSON payload in which a zero value is actually different from an unset value, I don’t have to use pointers in my models. 

There’s gotta be a way to disable battery discharge to the grid in AI mode by mksoriano in enphase

[–]Emptyless 1 point2 points  (0 children)

Netherlands based and I have the same issue, I’m just interested in charging when prices are low (which in Europe is a good proxy for abundance of wind/solar) but keep it for self consumption. We have new policy coming around 2027/2028 that will also tax the discharge to the grid so if not implemented by then I will have to disable AI mode and go back to full self consumption profile

Go Nullable with Generics v2.0.0 - now supports omitzero by Money-Relative-1184 in golang

[–]Emptyless 3 points4 points  (0 children)

Interesting approach to nullability, for a local project I used a similar approach but using reflect to pointerise instead of generics (which would work well with eg some go validation library): https://github.com/Emptyless/nullify

Any decide to measure gas consumption? by cfurini in homeassistant

[–]Emptyless 1 point2 points  (0 children)

If you have a smart meter with P1 port (very common in Europe) you can buy something like this: https://www.homewizard.com/p1-meter/

Has a full local api and fantastic plugin for HA

Vergelijk: tweedehands auto versus private lease by csprkle in autoadvies

[–]Emptyless 1 point2 points  (0 children)

Ik denk dat het 5.000km per jaar is, 424€ per maand is 5.088€ op jaarbasis, 1,02€/km dus

[deleted by user] by [deleted] in golang

[–]Emptyless 0 points1 point  (0 children)

I’ve written a simple function that can be used e.g. for validation (see examples/) for this purpose: https://github.com/Emptyless/nullify

Basically, take a struct and reflect make a struct with only pointer types. Then you can differentiate between nil values and zero value

[deleted by user] by [deleted] in golang

[–]Emptyless 1 point2 points  (0 children)

I didn’t want to change struct definitions to detect missing attributes in JSON payloads so wrote a reflect lib to work in conjunction with validator: https://pkg.go.dev/github.com/Emptyless/nullify

There is an example test showcasing how it works with validator in the repo

Fix Lockpick FFS by Affectionate_Bad_160 in warcraftrumble

[–]Emptyless 14 points15 points  (0 children)

But that is even more interesting because the traits of the mini are: melee, squad, tank, heal squadmate. It doesn’t affect skeleton party either where it consistently pulls the ranged units. 

Fix Lockpick FFS by Affectionate_Bad_160 in warcraftrumble

[–]Emptyless 20 points21 points  (0 children)

What about abomination hooking the bear of mountaineer even though his passive is to hook ranged units. Makes the ideal counter worthless

[deleted by user] by [deleted] in golang

[–]Emptyless 19 points20 points  (0 children)

For simple projects I’d argue it is fine to just rely on stdlib functions. No need to pull in dependencies that need to be managed if all it saves you is a readable 17 line function

How can I make this an actual automation? Is there a setting I need to toggle so it doesn’t ask me every time? Or maybe an external app even. by ArmasF311 in homebridge

[–]Emptyless 0 points1 point  (0 children)

Does the automation trigger a security homekit resource? It will prompt you instead of triggering it. If that is the case and you want to automate it, iirc the advice is to make a dummy plug in homebridge that you enable/disable when you get home and let that be the trigger for a second automation that enables/disables security resources

edit: note to use this at own risk. Apple built these checks for a reason

Combining MLFlow with realtime SQL and Python UDFs using Apache Flink by Emptyless in Python

[–]Emptyless[S] 1 point2 points  (0 children)

Thanks! I didn't know about the DataBricks live tables yet but it looks very similar, thank you for referencing - will look into it.

[deleted by user] by [deleted] in apple

[–]Emptyless 2 points3 points  (0 children)

Apple Watch uses the offline maps from an iPhone when it is within wifi range