Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gmjosack
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
gmjosack
12y ago
your comparison isn't fair. you're making an argument against fn/int vs function/integer but the largest difference in the code is between index and n. I prefer the version with a longer variable name despite the length.
92.
▲
by
gmjosack
12y ago
I just use vim.
93.
▲
by
gmjosack
12y ago
It's a lot easier for my fingers to type /idx than /\<i\> and it also easier to scan for idx than i. I'm not saying that everyone should do as I do but I find it frustrating dealing with single letter variables per
94.
▲
by
gmjosack
12y ago
I call my for loop variables idx. I never use single letter variable names, though I won't call someone out for it in a small block. Being able to highlight a variable in my editor, even when it's only used in a 5 line block of co
95.
▲
by
gmjosack
13y ago
I agree with you but I also believe there needs to be limits. I like Google's strategy of N approved languages. From an operational perspective there's too much overhead to effectively running any language in a production environm
96.
▲
by
gmjosack
13y ago
I've also released an opensource tool called TrapperKeeper which is for storing and displaying SNMP traps. We use it at Dropbox to turn SNMP traps into stateful alerts so that they can be polled by monitoring services. We haven't
97.
▲
[video] How MySQL is used at Dropbox
(youtube.com)
3 points
by
gmjosack
13y ago
|
0 comments
98.
▲
On Designing and Deploying Internet-Scale Services (2007)
(usenix.org)
1 points
by
gmjosack
13y ago
|
0 comments
99.
▲
by
gmjosack
13y ago
lsof is much more useful when you want to see which process has a file open rather than the inverse.
100.
▲
Ze Frank on Running Out of Ideas (2006)
(youtube.com)
5 points
by
gmjosack
13y ago
|
0 comments
101.
▲
by
gmjosack
13y ago
Yeah, whenever you cd, OLDPWD gets set to the directory you just changed from. cd will substitute $OLDPWD when you cd to "-". Perhaps even less well know, the shell itself will expand ~- to $OLDPWD so if you ever want to see whe
102.
▲
by
gmjosack
13y ago
I'm honestly curious. Is a large portion of the Hacker News audience just less operationally experienced compared to the programming side of things? It seems like Linux 101 lists like this make it to the top of HN pretty regularly but
103.
▲
by
gmjosack
13y ago
I couldn't immediately tell from your reply whether you didn't know about pushd/popd or were mentioning them as something missing from the list. Since I don't seem to see them in the posted list I'm going to assume
104.
▲
by
gmjosack
13y ago
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, de
105.
▲
by
gmjosack
13y ago
Because someone can man-in-the-middle you and give you a potentially backdoored binary?
106.
▲
by
gmjosack
13y ago
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/
107.
▲
by
gmjosack
13y ago
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
108.
▲
by
gmjosack
13y ago
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
109.
▲
by
gmjosack
13y ago
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 th
110.
▲
by
gmjosack
13y ago
What about when the library you want to use has a non-compatible license for distributing it with your source code?
111.
▲
by
gmjosack
13y ago
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&
112.
▲
by
gmjosack
13y ago
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
113.
▲
by
gmjosack
13y ago
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
114.
▲
by
gmjosack
13y ago
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 c
115.
▲
Show HN: nss_http - Dynamic User Management on Linux
(github.com)
12 points
by
gmjosack
13y ago
|
1 comments
116.
▲
by
gmjosack
13y ago
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 wi
117.
▲
by
gmjosack
13y ago
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 nee
118.
▲
by
gmjosack
13y ago
Two bugs I noticed: * Can't select all in the middle of an auto-completed word. * Can't type words-with-hyphens.
119.
▲
by
gmjosack
13y ago
The name of this company is unfortunate. It doesn't appear that this service has any affiliation with MongoDB, Inc.
120.
▲
by
gmjosack
13y ago
I wouldn't even read that much text in this situation.
More ›