HN user

binaryapparatus

813 karma
Posts37
Comments230
View on HN
flamabl.com 1y ago

Show HN: Flamabl.com – Real-Time Global Collective Thought Stream

binaryapparatus
1pts3
github.com 2y ago

Show HN: Saf – simple, reliable, rsync-based, battle tested, rounded backup

binaryapparatus
89pts24
news.ycombinator.com 4y ago

Show HN: I Made a Decent Android TV Web Browser

binaryapparatus
4pts0
github.com 7y ago

Tridactyl: A Vim-Like Interface for Firefox, Inspired by Vimperator/Pentadactyl

binaryapparatus
2pts0
lkml.org 7y ago

LKML: Pavel Machek: Re: Linux 4.19

binaryapparatus
1pts0
arstechnica.com 8y ago

Prosecutors say Mac spyware stole millions of user images over 13 years

binaryapparatus
3pts0
news.slashdot.org 8y ago

Mozilla Will Delete Fixefox Crash Reports Collected by Accident

binaryapparatus
1pts0
techcrunch.com 8y ago

Apple’s Design Delirium

binaryapparatus
4pts1
twitter.com 8y ago

Apple’s statement on iPhone 6/6s/SE power management (the slowdown)

binaryapparatus
1pts0
twitter.com 8y ago

Public letter to Dan Counsell

binaryapparatus
1pts0
mobile.twitter.com 8y ago

2017 iMac Pro Scores Worse Than 2010 Mac Pro in Geekbench OpenCL

binaryapparatus
12pts3
www.macrumors.com 8y ago

Phil Schiller Says iPad Pro Can Both Supplement and Replace the Mac

binaryapparatus
21pts11
9to5mac.com 8y ago

iMac Pro, Apple’s most powerful Mac, will be available to order December 14

binaryapparatus
12pts7
www.macrumors.com 8y ago

Apple Classifies 2011 Mac Mini as Obsolete

binaryapparatus
1pts1
robservatory.com 8y ago

Month 13 is out of bounds

binaryapparatus
3pts0
forums.debian.net 8y ago

Debian drops redis non-systemd support

binaryapparatus
4pts1
www.piriform.com 8y ago

Piriform Security Notification – CCleaner has been compromised

binaryapparatus
1pts1
news.ycombinator.com 8y ago

Ask HN: Any dumb phone with proper CardDAV/CalDAV worth considering?

binaryapparatus
1pts0
security.stackexchange.com 8y ago

Is systemd's hand-rolled Desktop-Bus-over-SSH tunnel a security worry?

binaryapparatus
18pts4
9to5mac.com 8y ago

LastPass shares pricing info, doubles Premium cost, and removes Free features

binaryapparatus
1pts0
github.com 9y ago

Systemd: hostnamed does not like fqdns with trailing dots

binaryapparatus
3pts1
www.phoronix.com 9y ago

2017 Linux Laptop Survey Results – Phoronix

binaryapparatus
4pts0
www.cnet.com 9y ago

Firefox fail: Layoffs kill Mozilla's push beyond the browser

binaryapparatus
6pts0
www.macstories.net 9y ago

App Extensions Are Not a Replacement for User Automation – Sal Soghoian

binaryapparatus
3pts0
www.macrumors.com 9y ago

Consumer Reports Retesting MacBook Pro Battery, Apple Says Safari Bug to Blame

binaryapparatus
55pts98
www.bloomberg.com 9y ago

A Key Apple Health Technology Executive Has Left the Company

binaryapparatus
2pts0
techcrunch.com 9y ago

The end of the Apple dynasty?

binaryapparatus
3pts0
uk.businessinsider.com 9y ago

Interview: Steve Milunovich of UBS on the Future of Apple

binaryapparatus
1pts1
onemoreadmin.wordpress.com 9y ago

Apple’s New OS “activation” for Touch Bar MacBook Pros

binaryapparatus
2pts1
9to5mac.com 9y ago

GPU glitches in 2016 MacBook Pro models

binaryapparatus
88pts69

I see it more like platform for sharing personal most important message at the moment, with occasional link to one's project, but it is not intended as marketing tool. Appeal should be that (with enough users, I don't want to simulate them in any way) next message can be something very interesting.

I am happy zsa/ergodox ez user for many years and was waiting for something like this from zsa, since moonlander wasn't for my hands. My current ergodox layout doesn't use keys that are removed on voyager, so everything plays perfectly. I can vouch for the zsa product quality, since my ergodox didn't hiccup for many years with lots of typing.

It is hard to explain to people who never tried qmk layers that more keys doesn't mean better keyboard, having proper layers on home row is many times more ergonomic. One of the things that don't click unless you try I guess.

How does it deal with interrupted backups?

Any new backup is hardlinked against previous in temporary 'in-progress' directory, then renamed to proper name at the end. If backup breaks, new 'saf backup' by default first removes 'in-progress' than starts things again (linking with latest good one) but you can 'saf backup --resume' to try to finish interrupted one. I prefer clean try again (which is the default) but --resume works well too.

Can it automatically prune backups older than N days?

Yes, manually by 'saf prune' on top of 'saf backup' doing prune itself. Prune periods are defined in each .saf.conf, per backup source location, with the defaults of 2/30/60/730/3650 days, for all/daily/weekly/monthly/yearly backups. All defaults are easy to change per source.

I don’t see anything about encryption.

saf doesn't deal with encryption, only with transport. I prefer to use other specialized tool for the encryption if I have such backup target that needs one.

"saf bugs, rsync bugs/misconfiguration"

On top of many cheap backups, I am also trying not to rely on any single peace of technology (I know, it is not ideal that hardware and OS remains the same on any computer no matter what backup is used). If I use saf as my preferred rsync based solution I will also use Borg or duply/duplicity as a additional backup to avoid rsync bugs.

Having two or more rsync based backups, so they all go trough the same rsync pipe, makes much less sense than mixing completely different backup solutions, right?

Those same questions always bug me, and I did try all from very smart to very brute force solutions. I love ZFS but then we can question ZFS and OS bugs in the same manner as saf or rsync -- that rabbit hole is deep and quickly becomes expensive since ZFS may need ECC ram and other more expensive components.

Lately, in last few years, I am leaning towards using many cheap backups instead of clever and more expensive ones, with the idea that many of them can't all break at the same time. Yes occasional checks are good but safety in numbers seems as a good strategy.

It is not an accident that saf tag line says "one backup is saf, two are safe, three are safer" ;)

In my understanding, rsnapshot is equivalent of 'saf backup' which is only one bit of saf functionality. saf has few more commands to be able to see and analyze what's on the backup target side.

rsnapshot uses centralized rsnapshot.conf, saf has git style .saf.conf per each backup source location.

Apart from using rsync, there are more differences than similarities between rshapshot and saf.

Author here. Yes, I am also the one that loves to see alternatives on topic of interest to me on HN. However putting an effort to publish different take on something already 'solved' is either because I want my own solution no matter what (I don't) or because other solutions didn't fully cover all my use cases (they didn't). I would gladly use somebody else code instead of my own, if that was possible.

Two scripts linked at the bottom of README.md are almost perfect and I used one or another for years, but one of them sometimes misses to hard link with previous backup, creating new full backup and wasting resources -- not something that's easy to detect since they all look correct before 'du' or similar analysis.

saf solves few of the problems I faced during the years in a elegant way: multiple targets, target related commands, reliability. Why not XY? Why not saf?

Two+ years in Algarve, with registered activity and paying all the taxes here. Having foreign income all my taxes fall within sweet NHR regime. Can't say anything bad about bureaucracy, with proper lawyer help it is slow-ish but very decent process.

Lease prices are driven by taxes and tourism, short term (AL) accommodation is taxed at 6%, long term lease contracts go from 30% (for 1+ year contracts) down to 10% (for 10+ years contracts). Obviously landlords are pushed into short term accommodation which creates lack of long term offers. Matter of getting taxes more fair over long/short term categories would fix the market immediately.

Quality of life and nice people are above anything else so I wouldn't change a thing from this current setup.

Weight: 67g bottom out if using Panda springs, 100gf bottom out if using Halo True springs

That means they require more force than Model M? Too much I think.

Vim tricks 7 years ago

Great tip, thanks, trying it now. Seems nicer and easier to tweak than spacemacs, from my perspective.

Vim tricks 7 years ago

I was using/am using:

    Plug 'tmhedberg/SimpylFold'
    "Plug 'python-mode/python-mode', { 'branch': 'develop' }
    "let g:pymode_python = 'python3'
... in different combinations. Deleting any char takes surprising amount of time, so much so that I usually mark block to delete instead of char by char even if it is three char block. Of course I may be using wrong plugins, however that's what I found that should be used in various articles online.
Vim tricks 7 years ago

Interesting, I don't often use Python but recent project had few 3000+ lines .py files, which make Vim _very_ unresponsive when editing. Other languages weren't so problematic but Python code is what made me look at Emacs direction at the first place.

Vim tricks 7 years ago

"Exobrains, on the other hand, stuff Vim full of plugins, functions, and homebrew mappings in a vain attempt to pretend they’re using Emacs."

This is disturbingly accurate from my point of view. I keep wondering if I should finally jump ship and stop tweaking vim with questionable results. Spacemacs? Pure emacs + evil? Suggestions welcome.

    function convert-decimaltobinary(){
        n="$1"
        bit=""
        while [ "$n" -gt 0 ]; do
            bit="$(( n&1 ))$bit";
            : $(( n >>= 1 ))
        done
        printf "%s\n" "$bit"
    }
    function convert-binarytodecimal(){
        echo "$((2#$1))"
    }
    function convert-hextodecimal(){
        echo $(( 16#$1 ))
    }

Huge additional plus, entr does not rely exclusively on inotify, it is also 'BSD kqueue wrapper. It is the only command line utility that I found that allows cross platform (linux/BSD) scripting with file system events.

I have few scripts that rely on entr and I am always sure they are OS agnostic.

I did initial plunge into Haskell when I started using xmonad, looking at config file was visibly 'something else'. I would probably recommend starting with Haskell first -- if you want to properly blow your mind that's the way to go. All the principles are common so diving into Elixir took very little time afterwards. Some principles are getting their way into imperative languages and it is much easier to grasp them on pure functional level first. Understanding and using map, filter and reduce, in JS project, was much easier to grasp immediately because they borrow that logic from functional languages.

Elixir is beautiful but probably few notches easier to understand and write than Haskell. Reason I would start with Haskell is that it doesn't hide functional logic with syntactic sugar. For example variables in Elixir are not mutable but since you can assign to the variable already used in function, it can prevent programmer from understanding what immutable really means.

What an amazing language. I am working on a Elixir project, with a lot of Erlang peaces used directly. Integration is flawless and beautiful to observe. I do have many languages in my toolbox but only few of them were truly exciting for me, Haskell six or so years ago and Elixir/Erlang/OTP this year.

https://newsboat.org/ Newsboat, fantastic RSS reader, built on top of newsbeuter.

http://www.mutt.org/ Mutt for email of course.

https://vifm.info/ Vifm file manager, I am using it for everything, not having any other file manager on my system.

https://github.com/pimutils/khal Khal for calendar.

https://github.com/scheibler/khard/ Khard for contacts.

https://github.com/pimutils/vdirsyncer Vdirsyncer to sync calendar and contacts with any web calendar service.

I have been using ZFS for over two years, on any desktop that I control, as both root file system for FreeBSD setups and backup file system in many configurations. In almost all cases I don't have EEC ram and I don't need it really. Your comment is either outdated or wrong, ZFS is THE go-to filesystem on desktop for me.

Edit: oh and it works beautifully with single disk setups too.

Very simple reason, zfs, checksums and scrub. I would love to use open but I was already bitten by bit rot on ext4 on linux.

Maybe so. In my experience 'helping' in most cases sides with other time/nerves wasting exercises - like browsing twitter in other form. Role playing, not actual real thing.

Getting better in what I do (whatever that is) first (so focusing on what I do), then helping as a side effect, that's possible.

"Quit worrying about what everyone else is doing." - Good advice.

"Focus on how you're helping people." - ?

How come is 'helping people' ultimate goal? "Focus on what you are doing." looks as better advice?