Coincidence: Software development

This post has been doing the rounds lately. I didn’t pay it much mind, filing it under “at last one developer sees the wrong of his ways.”

I read this, by Cory Doctorow, a few days later. It’s fiction but you betcha something like this will happen. It already may have but if so it has been kept quiet.

Then I found this article on Business Insider.

So yeah, software developers are definitely making the world a worse place and no amount of ethics will fix it. What a developer in the US doesn’t want to do, the company will find someone in Asia or Eastern Europe to write. Market dynamics as applied to ethics.

IoT, anyone?

Extra! Extra! Fake news are real! Extra

In addition to doing more to weed out lies and false propaganda, Facebook could tweak its algorithm so that it does less to reinforce users’ existing beliefs, and more to present factual information. This may seem difficult, but perhaps the Silicon Valley billionaires who helped create this problem should take it on before setting out to colonize Mars.

Source: Mark Zuckerberg Is in Denial – The New York Times

El Zuckerberto wants all the money he can have so he can be on the third ship to Mars. The first one made it there, the second one brought all the toys, and the third is for the rich people who want off the planet.

At least on twitter it’s easy to look up and see what the others are talking about, even while mired in abuse.

My job is managing being interrupted

Last year I turned off all my notifications. I stopped booking meetings. I started living asynchronously.

Source: Live asynchronously.

My job (and that of my coworkers) is being constantly stopped from finishing the task we are working on. I’m told that I’m really, really good at it, but I only got that way by working in the kitchen, where the job is, again, being interrupted.

But the cognitive load is immense, and intense. I often get home feeling more tired from working at the office job for 6 hours than from working in the kitchen for 12 hours.

And no, I don’t get breaks at either job unless it’s slow.

You’re just having a taco de ojo at this point

Services like Tinder and Hinge are no longer shiny new toys, and some users are starting to find them more frustrating than fun.

Source: The Rise of Dating-App Fatigue – The Atlantic

In my case it’s not app fatigue, it’s more of a life fatigue. My work schedule doesn’t help any, as the kind of gal I like usually has a work schedule that is exactly opposite mine.

It is one of the things that killed my last relationship, after all. The upkeep is just so, so hard.

Someone get me her book?

Since we seem to agree on the fact that Trump is a garbage monster, there’s no need to even go there. Instead, let’s talk about Hillary. First, allow me to reframe your assertion that she is monumentally corrupt. No, no. The system is monumentally corrupt, and Hillary is masterful at gaming it. I respect that. I don’t see it as a character flaw, because despite what Fox News would have you believe, Hillary really does have a conscience. She is a dyed-in-the-wool progressive who still manages to get shit done in this grotesque plutocracy of ours.

Source: Dear Coquette

Coquette is the best.

This is really scary stuff

Source: The Short Life of a Vulnerable DVR Connected to the Internet – SANS Internet Storm Center

I’ve set up DVRs and the UX/UI on most of them is appalling, along with the entire setup and configuration process. Then to find out the moment you connect them to your network they just become another attack vector, one that cannot be easily closed off.

These are pretty pricey devices that I believe can be replaced with a Raspberry Pi to obtain more flexibility and better recording quality. It’s just the software that’s needed.

No money for all these things!

Source: FIXED: Xbox One losing TV signal error message with DirectTV – Scott Hanselman

This is why piracy wins. You buy all the expensive toys, then you run into issues that require you to buy even more crap that consumes more power that then you have to remember to manage.

You know what doesn’t fail? Some HD or 4K torrent that you can just push to any display over any physical media. Plug and play, as it were. Funciona aqui, en China, y en la chingada.

No additional devices required. No matter where you are.

You cannot beat that.

Without it, you’re a non-citizen.

Nor do I want to add to the refugee crisis in your countries, God forbid. I am lucky to have my passport. Could you please return it to me? Thank you.

Source: I Am Lucky to Have a Syrian Passport · Global Voices

You know what’s even riskier than traveling without a passport? Traveling without one.

Worse, being denied your citizenship outside of the country that provided you with it.

You become a non-entity.

Windows 10 and 4K

The simple answer:

Do not buy 4K monitors until Windows 10 fixes all its issues with them, which might be years from now.

Much blame lies with 3rd party developers not caring about how their software looks on HiDPI displays — looking at you, Notepad++ — but Microsoft itself has not decided on how they want to handle these displays in a definitive way.

When Apple tells developers it’s their way or the highway, they are lauded for it. When Microsoft does the same, they are dragged through the mud for it. In this instance I’m willing to give Microsoft the benefit of the doubt.

Hell, not even Google has figured out how to make Chrome look pretty in 4k. That’s how bad the situation is.

Thinking Tools: September 2016

Gordon does them every now and then, so I’m going to start doing them too:

  • This site, which I am meaning to most more often to (and not just pictures like I did before).
  • I guess proof is what looks to become a series of posts on my laptop being my router. I’ve posted about how I feel, so it’s progress.

  • Twitter, via Hotot+ on Chrome for the desktop, and Fenix on Android.
  • The problem is that with Twitter Co. being assholes to their devs, Hotot+ has had its API key suspended a few times and Fenix is not really in active development any more after running out of app tokens. Given the current news about Twitter Co. looking to sell itself I wonder what will replace it for me. It’s basically become my social life on the internet, since I’m not really active on IRC anymore. I am on facebook mostly for family.

  • Notepad++
  • Jot down pretty much anything that pops into my mind. Sometimes I do use it to edit blog posts for usually the text mode WordPress editor suffices. I’ve tried to do a diary of sorts in it but it’s harder than I thought it’d be.

  • Franz
  • I was using the Common Hangouts Chrome extension but Google went and fucked around with Hangouts again, so it stopped working. Pidgin is basically AWOL. Trillian is crap. So after much consideration I gave in and installed it. It looks like crap on my 4k display and Hangouts still has the stupid new interface, but at least it lets me have a single window for what little messaging I do these days.

  • KeePass
  • Been using it for years now. Probably won’t stop ever. Everything wants/needs its own password now.

    The most pressing need that I have for myself is a replacement for Tiddlywiki that I can run from this server; it’d probably require me to configure HTTPS but that’s another project worth learning. The main issue then becomes choosing an appropriate wiki that is about as flexible as tiddlywiki *without* requiring the use of any extensions on the browser. Running this from the server would also allow me to update it from any mobile devices. Tiddlywiki is decidedly desktop software; the clients available for on Android all suck.

    This is why it’s so pressing for me. I need something that lets me document my life so I can offload stuff from wetware onto software. I’ll keep trying using simple text for now… but I think my mind simply works better using a wiki paradigm.

    I really do wonder what Twitter will turn into once it doesn’t belong to itself, though.

A Debian Wifi Router: Kernel tuning

So it turns out that if you go with the default kernel parameters on the device you won’t get much throughput. I’m currently paying my ISP for a 25Mbit/s pipe both ways, which is bloody awesome.

I was having problems with throughput and network jitter, though. I was able to have a fast connection from my devices to the router and the router had the full connection available to itself; problems were the router was not able to make the full connection bandwidth available to its clients and the bandwidth would go from 25Mbit/s all the way down to 5Mbit/s all the time.

This is really damn annoying when you’re putting in a good match on Unreal Tournament, let me tell you.

Thinking it could be something related to hostapd I played around with a few more settings but nothing really made a difference. I’m having problems with reception and throughput in my bedroom but that’s for another post, I guess. Suffice to say that with a direct line of sight to the router everything works about as expected.

So it wasn’t hostapd. Played around with iwconfig and iw but neither made much of a difference. That left the network interfaces themselves and the kernel.

Dug around and found plenty of links and articles on what settings to adjust and how to adjust them but all of them are geared towards servers of some sort. There isn’t much information that a home/office IT guy would be able to use for tuning the kernel for bandwidths of less than 100Mbit/s, which is what I’m attempting to do here. The most popular post (which I basically copied into my configuration) is using settings for 1Gbit/s connections that I then changed with the one entry that matched from the Ars Technica post.

Here’s sysctl.conf as I have it right now:

# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.

#kernel.domainname =

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

# Functions previously found in netbase

# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks

# Uncomment the next line to enable TCP/IP SYN cookies
# See
# Note: This may impact IPv6 TCP sessions too

# Uncomment the next line to enable packet forwarding for IPv4

# Uncomment the next line to enable packet forwarding for IPv6
#  Enabling this option disables Stateless Address Autoconfiguration
#  based on Router Advertisements for this host

# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
# Kernel parameter adjustments
# 2016/09/12 02:59:32:
kernel.sem = 250 256000 100 1024

# Increase system file descriptor limit
 fs.file-max = 100000
# # Discourage Linux from swapping idle processes to disk (default = 60)
 vm.swappiness = 10
# # Increase ephermeral IP ports
 net.ipv4.ip_local_port_range = 10000 65000
# Increase Linux autotuning TCP buffer limits
# Set max to 16MB for 1GE and 32M (33554432) or 54M (56623104) for 10GE
# Don't set tcp_mem itself! Let the kernel scale it based on RAM.
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_max = 4194304
net.core.rmem_default = 4194304
net.core.wmem_default = 4194304
net.core.optmem_max = 40960
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 65536 4194304

# Make room for more TIME_WAIT sockets due to more clients,
# and allow them to be reused if we run out of sockets
# Also increase the max packet backlog
net.core.netdev_max_backlog = 25000
net.ipv4.tcp_max_syn_backlog = 4096
net.ipv4.tcp_max_tw_buckets = 200000
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_fin_timeout = 10

# Disable TCP slow start on idle connections
net.ipv4.tcp_slow_start_after_idle = 0

# If your servers talk UDP, also up these limits
net.ipv4.udp_rmem_min = 8192
net.ipv4.udp_wmem_min = 8192

# Disable source routing and redirects
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.accept_source_route = 0

# Log packets with impossible addresses for security
net.ipv4.conf.all.log_martians = 1

Everything in here I’m sure can be tuned further and the file itself is so damn ugly to look at but for now at least I have a starting point I can use.

All this tomfoolery is turning me into a network wonk.

I really don’t want to be writing this. Well no, that’s not true. I don’t want to have to write this, but sex education is lacking as it is and far too many people are being rather lackadaisical about the whole thing. Because I can’t in good conscience let condoms which can’t reliably condom be on the market […]

Source: A Pox On Your Box: The Problem of LELO Hex – Lorax Of Sex

It’s makes all the difference whether something fails silently or something fails and explodes in your face.

For most programming code written out there, you want some indication that it failed (that is, it sets off a small explosion or it sets off a big explosion) so you can know something is wrong and can fix it. When something fails silently you don’t even know there’s a problem until something happens that you literally cannot fix. Like your backups silently failing until you need to recover something… to find the information has been lost. Forever.

In the case of this condom design, the consequences of it failing silently are literally of life and death important:

  • You could get an STI and not know.
  • You would then become one of those asshole people that don’t even bother to get tested for STIs because “it could never happen” to them.

  • You could get pregnant, or get someone pregnant.
  • When a regular condom fails you know it failed and you can take measures. In this case the only alternative will be to have the baby, or have an abortion.

These things are important and fact people are falling for the hype means sex education is simply not keeping up with the reality of the world.

No pressure

I think I’m failing but I’m not sure at what. Life? Money? Love?

I’m just trying to keep my head above the water, but not quite succeeding.

I’s frustrating. I think that’s going to be the theme for the last half of 2016.


A Debian wifi router

The search of a living space has been over for over a month now and I’m more or less settled in. I had a bad experience with my previous landlord keeping my wireless router (an Asus AC-RT68U) cos he’s a fucking asshole so I decided to give this a shot. I’m actively trying to solve money now so it really wasn’t an option to just buy another one as my living costs are now much, much higher.

I’ve hoarded a bit of equipment so I did have a couple of computers available to me. With a bit of looking I found about hostapd and I got it to work more or less reliably on a Thinkpad X220 with an Intel Centrino chipset using the iwlwifi driver. The real problem started when I tried using my older Thinkpad T60 laptop for the same task. Mine has an Intel PRO/Wireless 3945ABG [Golan] chipset also using the iwlwifi driver but the crucial difference was that this chipset doesn’t support Master mode, so you can’t use it with hostapd to enable an AP. Looked around for a bit and tried using this Archer T2UH from Amazon but the support on Linux is a fucking joke, basically; they actually want you to compile the drivers from scratch to get everything going. Ended up with an Ubiquiti Networks SR71-C card using the ath9k chipset. I tried setting it up using the already-installed environment but I couldn’t get it work so I basically reinstalled everything from scratch to start fresh.

I pieced this together from instructions found on the Debian Wiki, this guide from Ars Technica on building your own router, hostapd documentation, and a whole host of blog posts detailing how to pull this off, most of them with information easy to mess up.

As it is right now I’m typing this up on a Windows 10 system connected to the laptop and the signal and throughput are good enough for extended sessions playing Unreal Tournament pre-alpha.

Install Operating System

Installed Debian Stable fresh on the system with no desktop environment. This computer will now be a router so we don’t need any kind of desktop environment. Most desktop environments now require NetworkManager or wicd to manage network connectivity and I wanted to avoid all that crap. It just makes things more complicated for something that will be complicated enough already. I used the netinst install media with the laptop connected to ISP through Ethernet and getting an IP address through DHCP, so I didn’t have to fiddle with any PPPoE clients to get online and install the stuff required.

# aptitude update
# aptitude install hostapd bridge-utils isc-dhcp-server bind9 rfkill vbetool vim-runtime vim-goodies tmux

Enable Wifi Adapter

For some weird and lame reason Debian didn’t enable the adapter after installation, so it has to be setup manually. These instructions are based on the Debian Wiki. Atheros card is wlan0 while built-in Intel adapter is wlan1.

# ip a
# rfkill unblock all
# iwconfig
# ip link set wlan0 up
# iwlist scan

The card scanned for networks around so it was working.

Edit /etc/network/interfaces so the WLAN interface doesn’t wait for an IP address. If you don’t do this it turns out the OS stops booting until it gets bored of waiting for an IP address.

auto wlan0
iface wlan0 inet static
    wireless-mode Master

You can use whatever IP address (like but make sure the same subnet is used throughout the entire configuration. I went with cos that’s what I like my networks to be on.

Configure iptables

Edit /etc/sysctl.conf and uncomment the line for IPV4 packet forwarding:


Create /etc/network/if-pre-up.d/iptables with the following contents

/sbin/iptables-restore < /etc/network/iptables


# sudo chown root /etc/network/if-pre-up.d/iptables ; chmod 755 /etc/network/if-pre-up.d/iptables

Create /etc/network/iptables and put the following in it:

# eth0 is WAN interface



# Forward traffic from wlan0 (LAN) to eth0(WAN)
-A FORWARD -i wlan0 -o eth0 -j ACCEPT

# Service rules

# Forwarding rules


At this point iptables will simply pass along all the traffic that his the computer. I’ve since changed my configuration but this is a starting point as I just wanted to get online at this point. iptables rules are a pain in the ass to type.

Configure DHCP

Edit /etc/dhcp/dhcpd.conf and add the following at the end of the file:

subnet netmask {
option routers;
option domain-name-servers;
option broadcast-address;

Configure DNS

BIND works out of the box, thankfully enough.

Configure hostapd

Create and edit /etc/hostapd/hostapd.conf and put the following in it:

# SSID on 5GHz band

# Radar an' stuff

# 802.11n goodness

# wpa


The ht_capab are the ones I’ve found work with the SR71-C card. I’ll keep playing with them.

At this point everything looked good and rebooted. I actually rebooted a whole bunch of times as I kept prodding and poking stuff every step of the way but I guess it all could be done in one go and just reboot at the end.

Actually be a Wifi Router

After rebooting do

$ sudo hostapd /etc/hostapd/hostapd.conf

Runs with the SSID, picks a channel, and starts the laptop as an AP. iptables is routing traffic from one interface to another, ISC DHCP gives out IP addresses and BIND does DNS. I did run into an issue where wlan0 kept sending out DHCP requests to which dhcpd would successfully assign a new IP address for wlan0. I got lazy and just set a static IP for the mac address of the interface on dhcp.conf. I’ll fix it… eventually.

There’s also the issue of tuning the kernel, firewall and a lot of other stuff since the computer is a single-purpose device rather than a multi-user computer. Most of the documentation I can find is for systems handling traffic at internet scale that would be overkill, so a lot of documentation will be read and a ton of adjustments made.

There will be also a lot of adjustments to hostapd itself to maximize throughput and signal stability. The SRC71C card only does 802.11n but the bitrate on this standard maxes out depending on the blue of the sky, the stage of the moon, how hot the dumpster fires are on twitter and how pissed off the boss is at work.

From what I’m getting this is relatively new stuff when it comes to DIY. People were doing this in the past but was way more costly (like this sweet setup right here). I’m doing this on the cheap and it seems to be working well enough.

Hold strong against the waves

Shifts on the phone just… wear you down, humans. They wear you down, hard, no matter how fit you think you can take the damage.

You never see the person. You usually never even know what they look like (we have social media for that nowadays) but they sure wear you down, call after call.

Doesn’t matter if you’re apologizing to someone or if you’re apologizing for someone. The mere fact that you have to talk to someone is enough to grate on you.

This is why there is so much turnover at call centers. Talking to other humans is just hard. Because no matter what you’re calling about or why you’re calling about, they usually resent it.

The internet has not made this better. It has made this worse.

Unhappiness on the twitter dot com

I got into an argument with someone, but the very end of it came down to this:

August 27, 2016 31057 AM CDT

This person actually said that I do not deserve a happy relationship.

So… does he wish for me to be in an abusive relationship? No relationships at all for the rest of my life? No friendships (since you can be happy with friends) then?

Still. It all arose from something that he was offended by. We argued a bit but once we saw we couldn’t make up for the differences we parted ways. And then he said that.

You do do, my good sir. I *hope* you don’t get your businesses bankrupted, that your significant others don’t do you wrong, that your children (if you have any, that is) don’t regret having you as their parent.

I don’t believe I’ll have a relationship that I will be feel happy and content with. But that’s for me to find out and to strive the opposite. It is not for you to declare.

I wish you the best in life simply because you wished me the worst. I have seen some of the worst and I would not wish that upon you.

How Things Work

One of Gawker’s most cherished tags was “How Things Work,” a rubric that applied to posts revealing the sausage-making, the secret ways that power manifests itself. The phrase has a children’s book feel to it, bringing to mind colorful illustrations of animals in human work clothes building houses or delivering mail. Of course it also carries the morbid sense of innocence lost, and the distance between the stories we tell ourselves about the world and the way it actually works. Collapsing that distance is, in many ways, what Gawker has always been about.

And so Gawker’s demise turns out to be the ultimate Gawker story. It shows how things work.

Source: How Things Work

Much lauded, much hated. So long.


I seriously need to change my habits. I’m spending too much money and my cost of living went up %250.

I thought it’d be easy — doesn’t one always think so? — but it’s not. For starters I need to stop buying other people food just because I can.

Need to be much more careful with these sort of expenses. They really creep up on you.

This month will be more or less okay, but I really need to pay attention during September.

I thought I was done working like this

Turns out I might have to keep working like this for at least another six months at least.

I finally solved my woes to find a new living space… but it is at the very margin of what would let me save money. I’m going to be living paycheck to paycheck for a bit and I don’t like it.

Not one bit.

I hope I can either find a new job that will let me compensate for my new astronomically high living costs or save enough money to find another living space that will be cheaper.

Either way I’ll have to work 70+ hours a week to be able to afford all this.

Living space search goes on

It’s a bloody pain in the ass, is what it is.

Craigslist has been taken over by spammers (I’m looking at you, fucking Roomster), padmapper is useless to find roommates and the market is getting more expensive all the time since all the new housing excitedly approved by the city is luxury housing.

Yeah… most people in this city do not have a grand to drop in rent monthly. And that’s without taking into account the security deposit (usually a month’s rent) and the rental application. So if you’re looking to live in one of those hot new apartment buildings you’re looking at at least $2500 USD, give or take a few hundred dollars.

The entire structure is setup to screw renters. Same goes if you actually try to buy a house.

I’m just annoyed because I’ve looked at a few places and they all suck.