HNHacker News
TopNewBestAskShowJobs

gmjosack

896 karma · joined April 17, 2010

submissionscomments
gmjosack··on The Brutal Ageism of Tech
But the benefits are definitely hard to compete with. I worked for 8 years back in South Florida, 4 at a web hosting company, another 4 at a digital media company. Having to buy pop-tarts/soda in a vending machine, 2 weeks vacation, dealing with dinosaur middle management. It's incredibly frustrating.

Now I'm in the Bay Area and I often consider getting out but in general the jobs here just have better benefits. I'm not just talking about foosball/ping pong tables. I'm talking Gourmet meals, 3-4 weeks vacation, unlimited sick time, people who want to work on interesting technology problems, great salaries plus equity.

If I decided to leave my job today, there are a ton of good options all over with the exact same comp package, because they have to to be competitive in this area. I could relocate but I'd feel I was held hostage by the other options in the area I chose to move to.

I've seen the other side and it'd take a lot for me to go back.

gmjosack··on Redis 2.8.7 is out
Because someone can man-in-the-middle you and give you a potentially backdoored binary?
gmjosack··on Python Best Practice Patterns
You might be interested in the docs on the Data Model [0] to learn more about the various "dunder" (__foo__) methods. There are a ton of cool things you can do with python objects.

[0] http://docs.python.org/2/reference/datamodel.html

gmjosack··on This Week in Rust
I've been learning Rust lately and people like cmr and the rest of the guys over at #rust have been super helpful. While Rust is moving fast the This Week in Rust posts make it very easy to keep up.

Overall I'm loving the language and the community and can't wait to see more wide adoption.

gmjosack··on Venezuela's Internet Crackdown Escalates into Regional Blackout
Interestingly my girlfriend has been using What's App to communicate with her family in Venezuela cheaply throughout the last week since they've been unable to get any news. It's really sad to see the government act this way and hopefully the realize that they're causing a lot of unrest in their citizens. It's always inspiring to see citizens standing up to the government in all these other countries. you see some protests in the States but it never feels near the scale.
gmjosack··on Scaling Asana.com
Often when I try to open Asana it will take minutes to load. I also find it very hard to organize things inside of the product to the point where I prefer vim. There's not way to specify blocking/dependencies and linking inside the product always carries your search context with you.

For small todo style lists it seems fine, if not overkill and if it eventually loads, but for more complex task tracking I just really haven't gotten it at all.

gmjosack··on Confession From a Go Programmer
What about when the library you want to use has a non-compatible license for distributing it with your source code?
gmjosack··on Which programming language has the best package manager?
Python has wheel, which is a binary package format that pip supports. It is something I've been looking into for deploying Python packages in production.

Edit: Link to PEP for Wheel: http://www.python.org/dev/peps/pep-0427/

gmjosack··on If you move your mouse continually the query may not fail. Do not stop moving
I wrote an ncurses frontend to the the ticketing system used at a job one time. One of the users complained that if they resized their terminal window rapidly, larger and smaller, that is would crash.

The fix was telling them to stop doing that. :)

gmjosack··on New Year's Resolutions for SysAdmins
I don't know if you're aware, but configuration management is not a new concept. CFEngine was started in '93. CFEngine2 which is popular among many sysadmins came out in '98. While configuration management has definitely had some improvements it's not THAT far from what we've been using for decades now.
gmjosack··on Show HN: nss_http - Dynamic User Management on Linux
This is just a silly project I've been messing with the last few days to prepare for some other "just-for-fun" projects I have coming up. Rather than have to write backends for the passwd, group, and shadow databases, now I can just throw up a quick HTTP server and write the backend in any language I want, rather than just C.

It's been years since I've messed with C so I know this code is sloppy, though I'd love any feedback.

gmjosack··on A Change to Google Code Download Service
I wanted to make a contribution to BASH recently and went about trying to figure out how, ending up at Savannah.

I don't know if I've just become spoiled by Github, I remember just mailing patch files in the past and being okay with it, but when I came across Savannah, nothing about it made me want to contribute. It turned me off completely and I moved on to work on something else.

gmjosack··on KeePassX 2.0 Alpha 5 released
I currently use KeePass on Windows, Linux, and Android. Can anyone explain what KeePassX is and what its relationship with KeePass is? All I can seem to find is that it's a cross platform version of KeePass (which KeePass is for my needs) and only supports the older database format.
gmjosack··on AutoJS – JS library for textarea lookahead
Two bugs I noticed:

* Can't select all in the middle of an auto-completed word.

* Can't type words-with-hyphens.

gmjosack··on MongoHQ Security breach
The name of this company is unfortunate. It doesn't appear that this service has any affiliation with MongoDB, Inc.
gmjosack··on Here's how I deal with users who steal
I wouldn't even read that much text in this situation.
gmjosack··on Namecheap now offer .io domains
I appreciate the strange terms being brought to my attention. I don't have time to worry about a company morally and subjectively policing the product I bought from them. The TOS is not a place to be clever and funny and this information has helped inform a decision for me. Just because you happen to not care doesn't mean other don't.
gmjosack··on April 5, 2007: "Show HN, Dropbox"
I have a NAS in my house and I still put a ton of important files on Dropbox. Before I had Dropbox I would suffer from pretty significant anxiety every time I went on a trip. What if someone breaks into my house? What if there's a fire? I would literally hide my NAS in my closet when I went away for more than a week. I don't treat Dropbox as a single source of backups but I do treat it as redundant storage to my NAS. It's simple and it just works without having to mess with a lot of settings.

Disclaimer: I work for Dropbox and I trust the people I work with with my files.

gmjosack··on Nginx Inc. raises $10M in Series B round
I know that they plan to add dynamically loaded module support in a future release. As long as they don't plan to keep that feature as an Nginx Plus feature then I don't see much to be concerned about.

As it stands right now, a lot of users aren't able to make use of 3rd party modules because of the overhead (recompiling). Once dynamic modules are supported the community should be able to fill in the most desired features.

gmjosack··on The San Francisco Exodus
About a year ago I was at a dinner party with some friends that live in Oakland, off Lake Merritt. They were all recalling stories about times when they'd been mugged like it was normal!

Another friend of mine tells me about shootings she's seen outside her window as recently as a few weeks ago. She's only a few blocks South of Lake Merritt around 18th and 5th.

I'm sorry but I wouldn't feel at all safe living in that area.

gmjosack··on Why I Hate Frameworks (2005)
When I first started programming I used to quote this post. A bit later on I realized I was making excuses for my Not Invented Here Syndrome. Now I favor getting things done, though my NIH Syndrome still peaks out every now and then.
gmjosack··on Hostnames
Definitely. But why add the overhead over updating DNS/DHCP?
gmjosack··on Hostnames
After working in a few pretty large environments I have some pretty strong opinions about hostnames. I've seen everything from cute theme based names to function/role based names to meaningless uuid based names.

Usually you see the theme based names in much smaller environments, though I've seen it up to hundreds of machines. One problem I have with this approach is that people begin to personify machines, excusing their behavior. "Oh that's just akira being akira." This is counter to actually understanding and diagnosing problems. You're also relying on potentially faulty/emotional memories rather than having an actual stored account of issues. Not to mention, once you have a sufficient number of machines you're going to need a decent service database to know what runs what anyways.

Function/Role based names are what I have the most historical experience with. CBS Interactive, CNET, YouTube, and Dropbox all went this route. This often seems like a great idea and can get you really far. Most configuration management allows you to define classes/nodes/etc based on regular expressions. Sudoers has built in support for hostname globbing. It's also easy to tell what a machine's role is when you get an alert. So why wouldn't you want to go this route?

This method has some pitfalls that become increasingly burdensome as you grow into a larger amount of machines. You might have many types of services that run on a single hardware class. This introduces overhead whenever you need to update a machines role. Imagine it's Saturday and your mobile-web pool is suddenly under provisioned. Well, we have plenty of capacity in our web pool. Just need to rename the host in the machine database, update DNS, update DHCP, etc. While this might not seem like a lot of effort it definitely adds up. When I worked on a fantasy sports product we were constantly renaming hosts as various seasons came around. Same thing with just keeping spare/provisioned hosts around. How do you know how to name the host so that someone can just grab it when they need it? You also eventually get the boxes that serve more roles than the box describes itself as. You'll end up with a box call misc or admin and no one remembers that one day someone set it up as your static origin.

Another fun problem is the inability to describe more in depth what a box does. mysql255 doesn't tell you if it's a master/slave, which data is on it, should it be backed up? I've actually seen places that encoded all of this in a hostname. This is the extreme but it does happen.

The interesting thing about both theme and function/role based names is that to use them effectively in a large environment you already need good tools for managing the roles because the hostname is not effective enough.

At Dropbox, they started with functional/role based names but we decided to move to positional hostnames. These encode the dc, rack, position, and chassis. One immediate benefit we saw with this was quickly identifying when a rack or quad goes down. It's very apparent in monitoring just at a glance. We also have a service database that maps hostnames to tags/roles and those tags appear along-side alerts so you can tell right away which service is affected. We get benefits in easy preprovisioning and reprovisioning. Our configuration has become more generic and easier to comprehend. We can run multiple roles easily on one machine and it's easily discoverable what machine serve what role. In puppet we use an External Node Classifier rather than regex. We only have to worry about base config when a rack is initially installed.

That's not to say this method is flawless. One of the biggest drawbacks to this approach is that machines become harder to talk about and typing them is more difficult. I'd argue that you shouldn't care about specific machines unless they're a problem and in that instance copy/paste should always be used to avoid typos. There's some cool things you can do with PowerDNS' Pipe Backend to get dynamic resolution to service names. Another problem with this approach is it just requires a lot more tooling to get started. Obviously not everyone has the time to build all of the infrastructure around this ideal.

Anyways, sorry for the rant, but everywhere I've worked we've started with role based names and regretted it in the long term. Now that I've finally been able to live what I've long dreamed of, I couldn't imagine choosing another solution.

Obviously hostname conventions are a contentious issue so I won't say anyone is wrong, but these are my experiences.

gmjosack··on Because it needs to be said
It seems strange to me that one would need to have daughters to realize women have hopes and dreams as meaningful as a man's...
gmjosack··on Google is Exploring an Alternative to Cookies for Ad Tracking
If it's tied to some "anonymous identifier" in the browser it's also possible to follow you in incognito mode.
gmjosack··on Requests v2.0 Python module released
This has prevented me from using the official Jira python module. I literally just launched something hacky using urllib2 yesterday because of this... :(
gmjosack··on Requests v2.0 Python module released
I find it better that they stay out of the stdlib. Having to upgrade all of python just to get a new feature like CONNECT support would be unfortunate.
gmjosack··on Bootstrap 3 RC2
This is driving me crazy. Every single link/search result on the internet redirects you. It's not even a 301/302. It's a slow meta-refresh. Just long enough to tease you.
gmjosack··on Pirate Bay Branded “Malware Distributor” by Google
The problem is they're all crapware, even the real download.
gmjosack··on Pirate Bay Branded “Malware Distributor” by Google
They should flag cnet/Download.com next.

I downloaded something recently that was, unfortunately, only available from their site. They now wrap downloads in their own executable that presents something that looks like a TOS but it's to install browser toolbars. Even if you decline it STILL installs some coupon browser plugin on your system.

Does anyone know if there is a way to present things like this to Google for review?

← PreviousPage 4 of 5Next →