HNHacker News
TopNewBestAskShowJobs

zulgan

595 karma · joined July 11, 2018

https://txt.black/scrambled-eggs/ https://github.com/jackdoe
submissionscomments
zulgan··on Ask HN: Do you miss 90s simplicity?
i really do, i mainly miss:

* people not being able to contact me 24/7

* not knowing what is going on in the world all the time (this i miss the most)

* things being local

* way less crap people used to own

zulgan··on Go is Google's language, not ours
I believe that solid (benevolent) dictatorship is better(faster, can make unpopular decisions, etc) than democracy.

I don't like any language, but tbh I hate go the least, and I believe this is because few very very dedicated people with enormous amount of experience can simply make unpopular decisions.

zulgan··on Senior Developers Are Getting Rejected for Jobs
I really hated the cases were when "no" can not be explained.

In some cases when there is "no" it comes with clear instructions like: hey you need to know v8 more or understand hotspot better and try again in 6 months, but then there were those cases where the committee was incapable of giving feedback.

zulgan··on Senior Developers Are Getting Rejected for Jobs
I interviewed ~500 people in a fairly large (~2000 devs) company.

Interviews used to take about 6-8 hours of my week, and I was usually completely destroyed by the context switch. I remember many days when a deadline was very close, and I absolutely did not want to do the interview, but had to.

In general some days I was in good mood, some in bad mood and even though I tried to make the interview as objective as possible, I am absolutely sure I failed. Keep in mind, one interview has 5 interviewers and guess what they had bad days too.

From those 500 interviews, I was certain for about ~5 cases, for the rest I could not say if it was my fault, or the candidate's fault that the interview went south, in that case I pretty much voted as the majority was voting.

I still feel very bad about people's livelihood being decided in such shitty process, there is absolutely no way that in 1 hour I can find out if someone is good. I knew that, my managers knew that, their managers knew that, and yet we kept going..

I feel that adding more time/people to the process only increases the variance, adding more structure to the process only increases the bias (like we get people who can pass interviews, but not do their job).

zulgan··on Apple now repairing MacBook keyboards in store, promising next day turnaround
my laptop is pretty much extension of my hands, i eat with it, sleep with it etc.. the keyboard breaking because of breadcrumb going in and me begging apple to fix it, waiting and not being able to code was just too much for me

1 year ago i tried to fix it myself, broke the space bar crimps on 6 month old mbp15, and they told me because i tried to fix it myself i have to pay 500E for the repair. keep in mind i make my own keyboards, i did not even think i will not be capable to remove a bread crumb from under the space bar.

few months ago I sold all my apple stuff, and have never been happier https://txt.black/~jack/bye-apple.txt

zulgan··on AMP pages displaying your own domain
what is happening?!!
zulgan··on Matrix.org hacked
As a sysadmin with 20+ years of experience, I always type `cat | grep`, completely involuntary, probably because "cat = read" is just burned into me, by the time I think about it the command is already written. Also maybe related to catting more than grepping :D
zulgan··on Show HN: Baxx – Unix-friendly backup service
there is absolutely no technical problem doing it on unmounted filesystem but it just imposes certain restrictions that I dont think are worth their cost

considering in many cases you want to copy live files, you have to copy them to place you can unmount, so now you have 2 problems

if you dont gzip the dd you risk pure cosmic microwave background bitflips and no checksums, and they can corrupt superblocks and etc

if you gzip it (to have crc sums) you cant restore partial files from it so easily unless you use squashfs and significantly complicate the process

so tar and gzip is more robust (compared to the dd) just because of the crc (of gzip not of tar), size and portability

zulgan··on Show HN: Baxx – Unix-friendly backup service
tbh i just wanted to have fun building it having the ssh registration just makes me excited, i feel happy every time i try it out; using the api and playing with it is the same, like making a todo list on baxx https://github.com/jackdoe/baxx/blob/master/examples/todo.sh

to me the `yet another bootstrap css SaaS with three tier pricing, faded monotone brand logos and circlular portrait photos of the “team”` is just depressing

zulgan··on Show HN: Baxx – Unix-friendly backup service
i made a mailing list and slack

  slack: https://baxx.dev/join/slack
  google groups: https://baxx.dev/join/groups
zulgan··on Show HN: Baxx – Unix-friendly backup service
thanks! my process is actually much easier than you think i simply do some small transpositions on really cool(for me) names i have seen in world of warcraft :) such as zulgan and juun, judoc; jaxx -> baxx because backups start with b

others I chose are horrible, such as https://scrambled-eggs.xyz which is effectively unsearchable, though you could say it was by design haha

zulgan··on Show HN: Baxx – Unix-friendly backup service
You are right.

it is super cute though, I still get excited every time I try the registration flow.

the registration api is quite easy (https://baxx.dev/help/register)

  curl -d '{"email":"your.email@example.com", "password":"mickey mouse"}' \
 https://baxx.dev/register
I will probably do make register.sh endpoint that returns a bash script that runs local dialog like: curl https://baxx.dev/register.sh | sh (just idea, not implemented yet)

this will be fun, making portable tty dialogs :D

zulgan··on Show HN: Baxx – Unix-friendly backup service
I setup shellinabox for https://ui.baxx.dev just because some of my friends dont have access to ssh from work and I wanted to show it to them
zulgan··on Show HN: Baxx – Unix-friendly backup service
tbh you I wouldnt trust anyone with my encryption, that is why in Baxx I advise people to simply upload encrypted

  cat file | encrypt -k .pass | curl --data-binary
  cat file | encrypt -k .pass > file.enc && curl -T file.enc https://baxx.dev/io/$BAXX_TOKEN/file
(encrypt: https://github.com/jackdoe/updown/blob/master/cmd/encrypt/ma...)

offtopic: it is a bit annoying that cat | curl makes curl buffed the whole standard input, so for big files you have to either you have to do -H "Transfer-Encoding: chunked" or use -T file

2) dd block devices is very fragile, its better if you just tar --exclude/dev ... (https://help.ubuntu.com/community/BackupYourSystem/TAR - Alternate backup)

zulgan··on Show HN: Baxx – Unix-friendly backup service
it is absolutely in alpha stage, and yes please use it as a toy and have fun

in the future my plan is to do 5€/m for 1TB which is pretty much glacier price

zulgan··on Show HN: Baxx – Unix-friendly backup service
this is the tax for me in The Netherlands, given i am not a company, so it is normal income tax
zulgan··on Show HN: Baxx – Unix-friendly backup service
i will check it out thanks!
zulgan··on Show HN: Baxx – Unix-friendly backup service
changed the text to EUR thanks!
zulgan··on Show HN: Baxx – Unix-friendly backup service
at least not with Terminus
zulgan··on Show HN: Baxx – Unix-friendly backup service
* in the future it will use contextual bandits to probe for broken backups (such as: hey, is file XYZ with size X uploaded at Y weird?) and learn from all the customers triggering the AI flywheel, more backups more data, better contextual bandits, better service, more customers (the idea is to use bandits[or something else with exploration factor] for probability of "good" notification)

i think the problem needs exploration, i have been bitten by bad anomaly detection and setting up alerts post-moretm after losing data one too many times :)

i imagine creating a bunch of features such as:

  * file extension
  * time of upload
  * delta from previous version
  * size difference from other files in the directory
  * etc..
and having enough customers we should be able to do good-ish prediction

when a file version is "weird", so we could send notifications such as:

> hey is this file ok?

with some exploration factor, even using UCB will(should) be better than nothing

I plan to use vowpal wabbit's contextual bandits with only 2 actions, "send notification"/"dont send notification" given all the context

this of course will be just extra on top of the manual alert rules, but hopefully it will save some data :)

If the users agree we could also publish anonymized datasets with labeled data (such as: given context alert was sent: was [good]/[bad])

Which will be awesome.

zulgan··on Show HN: Baxx – Unix-friendly backup service
thanks for the feedback having `scp file $BAXX_TOKEN@scp.baxx.dev:file` support is definitely in my list
zulgan··on Show HN: Baxx – Unix-friendly backup service
good point, I added 'make a mailing list' to the todo
zulgan··on Show HN: Baxx – Unix-friendly backup service
thanks! i have a plan to make a whole midnight commander-like ui to list files, manage tokens and notification rules and etc

started playing with https://github.com/rivo/tview last week, but didnt have much time.

zulgan··on Show HN: Baxx – Unix-friendly backup service
author here: I am going to my daughter's birthday, so I wont reply to comments for a while, but if anyone runs into trouble please send an email to jack@baxx.dev

thanks a lot for the feedback, much appreciated!

zulgan··on Show HN: Baxx – Unix-friendly backup service
* it took me good 2 weeks to implement it

* i have actually implemented this kinds of systems multiple times and always failed at the 'who watches the watchers' and usually had broken backups (as in i usually needed them few years after the system is written and by then something is always wrong)

* in the future it will use contextual bandits to probe for broken backups (such as: hey, is file XYZ with size X uploaded at Y weird?) and learn from all the customers triggering the AI flywheel, more backups more data, better contextual bandits, better service, more customers (the idea is to use bandits[or something else with exploration factor] for probability of "good" notification)

so in few words: value = out of the box alerting + nice api + machine learning (not implemented yet) + good price (no cloud)

zulgan··on Show HN: Baxx – Unix-friendly backup service
I used E because € does not render on xterm, maybe I should switch it to EUR to remove the confusion

also fixed the $ to E in the blog, thanks for the heads up

zulgan··on Show HN: Baxx – Unix-friendly backup service
i use something like curl -T path/to/file https://baxx.dev/io/$BAXX_TOKEN/$(echo | encrypt -k ~/.pass | base32)

which uploads: /EAAAAAEQJUAYSU5PR3WO7IKOX2ZPM5NSNIALFYJE5MMDJYNMNUZEA===

zulgan··on Show HN: Baxx – Unix-friendly backup service
using paypal IPN and redirect to paypal subscribe page, literally as simple as https://github.com/jackdoe/baxx/blob/master/api/account_rout...
zulgan··on Show HN: Baxx – Unix-friendly backup service
whoa this is my friends's company domain, i just have email there for 10 years or so, will let him know, thanks!
zulgan··on The Last Free Generation (2018)
This. It took me 15 years to realize it, we can be fighting a losing battle, but we still get to choose the side we fight on.

The systems will be written anyway.

← PreviousPage 2 of 3Next →