HNHacker News
TopNewBestAskShowJobs

15DCFA8F

681 karma · joined August 26, 2013

submissionscomments
15DCFA8F··on Adblockers Performance Study
The problem with those external HTTP filtering proxies is that the usage of SSL/TLS is pervasive nowadays.
15DCFA8F··on Ask HN: What's your stack for your side projects?
Could you elaborate when you choose Python and when you choose Go? Does these two languages complement themselves or they are substitutes?
15DCFA8F··on Ask HN: Which new programming language are you planning to pick up in 2019?
I’m conflicted between Go and Rust. As my codebases get bigger, maintaining them in Python is not fun.
15DCFA8F··on Ask HN: What day to day tasks do you automate?
> How often do you use this script?

I run once in a couple of days. Didn't automate the execution of this "meta-script" because I don't want it to run whenever I am using the resources its updating.

> is there any other part that you failed or found very boring

Yes, the VM updating part. Starting each VM, waiting for them to start, updating packages via apt-get, stopping, waiting for them to stop. This was boring and done on trial and error until it just works now.

> I loved sandspiel

I am not the author, just saw on lobste.rs and reposted here because I loved it too! All credits go to this guy: https://github.com/MaxBittker

15DCFA8F··on Ask HN: What day to day tasks do you automate?
I have a script called update-my-things.sh, which updates my Python’s pipsi scripts, my Python’s pew virtualenvs, my Rust toolchains, my VMs, my local software Git mirrors, etc.

All stitched together in (bad) Bash.

15DCFA8F··on Ask HN: What elements of websites annoy you the most?
- Nags to install apps on mobile (ex: opening reddit on mobile)

- Videos autoplaying on some news sites

- Cookie prompts

- And the worst: overlays that appear on scrolling

15DCFA8F··on Bring Your Custom Image to DigitalOcean
Why only ext3/4 filesystems? Why not XFS?
15DCFA8F··on Firefox nightly is now built with clang LTO on all platforms
Just of curiosity, what OS do you run? Why do you build everything from source?
15DCFA8F··on Thunderbird 60.0 release
Anyone knows how to convert all mbox mailboxes to maildir? Just enabled "mail.store_conversion_enabled" but can't see any UI do make the conversion.

Update: found here - http://forums.mozillazine.org/viewtopic.php?f=29&t=3039509

15DCFA8F··on Ask HN: How do you backup your files without depending on a third party service?
You can have two encrypted external HDDs and mantain one with you, and the other in a friend/family house. Rotate frequently.
15DCFA8F··on Someone live coding a distributed content network similar to YouTube
Which editor is this?
15DCFA8F··on Website Meta Language (2006)
Debian seems to use WML for its website, managed by CVS: https://anonscm.debian.org/viewvc/webwml/webwml/
15DCFA8F··on Ask HN: How is Firefox Quantum for you?
Try set "ui.key.menuAccessKey" to 0 in "about:config".
15DCFA8F··on What are your preferred text editors for each language?
Take a look at NERDTree.
15DCFA8F··on Ask HN: What is your current Linux distro and why did you choose it?
Debian (yes, stable) for laptops, desktops, VMs, bare metal servers, containers. Everything.

- It's a solid and trustworthy distro.

- It's general and universal, and adaptable for most uses.

- I have tons of Ansible tasks and roles developed for Debian, so pretty much anything is automated and standardizing helps a lot.

15DCFA8F··on Linux 4.7 Released
I don't know who maintain those changelogs, but WOW, thanks for this great detailed and methodical piece of work.
15DCFA8F··on Announcing NetBSD 7.0.1
Does anyone runs NetBSD on desktops or laptops? How it is the experience, compared to Linux?
15DCFA8F··on Poll: Do you use Docker in production?
Could people who use Docker in production comment on the stability state of the storage drivers?

One thing that frustrates me about Docker is that no matter which storage driver I use, problems always seems to arise.

With AUFS on Debian, I constantly had problems with starting and stopping containers (problems with mounting and umounting AUFS layers). This was on Debian Wheezy and Docker 1.[1-3] era. I don't know it is improved now.

I tried BTRFS on Debian Jessie and Arch Linux, and found it to be much slower than AUFS on every aspect (creating images, starting containers, etc). The fact that BTRFS don't share inodes caches between subvolumes may be the culprit of slower times to start applications inside containers, when there is lots of containers running from the same base image.

Next, I stumbled on Direct LVM on Debian Jessie. Initially I liked that, on "personal benchmarks", the container creation time was very constant when the number of images increased (contrary to BTRFS, that increase the time to create subvolumes when the number of images increase). But.. In a few days using this storage driver, errors start to appear about problems to creating containers, corrupted LVM thin metadata, etc.

My last try was overlay on Debian Jessie with 4.5.1 kernel on backports. Apparently there is a bug on this specific kernel version that block containers for being started...

So. In my experience, BTRFS was the most stable storage driver, besides being much more slower than AUFS and Direct LVM (on XFS).

15DCFA8F··on What's your favorite distro, and why? Nov-2015
I was used to run Arch Linux, living on the bleeding edge and on the constant moving and packages churning that a rolling release distro provides.

For some months now, I am using Debian Stable on my desktops, and the experience is being very interesting. I don't use any apt pining, and just some packages from jessie-backports (eg: LibreOffice and Intel Video Driver), besides the official stable repos.

This distro is SOLID. My desktop runs very fine, and using a stable distribution means that it will keep running fine for months (years?), instead of that constant discomfort that a rolling release creates as your machine stability and usage potentially changes each day.

Of course, things start to stay a little old, but in the end of the day, it doesn't matter for the vast majority of packages. And you can always compile and install on /usr/local some applications that you need more recent versions.

15DCFA8F··on Ask HN: What is your editor/terminal font and color scheme?
My terminal font of choice is Terminus, an elegant and readable font. For color scheme, I use a slight modified solarized dark on Xfce Terminal.
15DCFA8F··on Running Your Own Private Docker Registry
Is it possible to restrict images uploading with authentication, but keep images downloading without authentication?
15DCFA8F··on Cunningham's Law
This is trolling, and not posting the wrong answer. But for what I saw, trolling in Linux forums with mention of Windows can sometimes extract the best knowledges from people...
15DCFA8F··on Use of Assertions
Python assert checking is removed when the code is run with python -O ("optimize"), so it shouldn't be used to validate user input, checking for critical conditions, etc. It is just a defensive programming and debugging tool.
15DCFA8F··on Dropbox Git Hosting
There is a lot of potential for repository corruption, using this way. You can use Dropbox for backing up Git (or Mercurial) repositories though, with bundles:

  cd $PROJ
  git bundle create ~/Dropbox/git/proj.git --all
This would create only one file, bundling all commits, in a corruption safe way.