Better HN
topnewbestaskshowjobs
Log inSign up

gresrun

1,169 karma · joined Jan 31, 2011 (15y ago) · 108 submissions

[ my public key: https://keybase.io/gresrun; my proof: https://keybase.io/gresrun/sigs/qslnYax7ZVzINm7KbNQW2xvnaDTRDtua49lhpMWt3vw ]
Submissions

comment 11y ago · link · parent

There are many schools in a university. School of Engineering, School of Music, etc.

In most U.S. universities there is a hierarchy: university contains colleges which contain schools.

comment 12y ago · link · parent

Pure speculation but I wonder if they rushed to test the engines that just flew. AeroJet's parent company claims they have lost over $31MM on the AJ-26 YTD[1]. There may be pressure from higher-ups to push through the issue seen at Stennis in May.

[1] http://www.spacenews.com/article/financial-report/42180aeroj...

comment 12y ago · link · parent

Not sure, but their margins of error overlap so it could be just a blip. I wouldn't read too much into those numbers; my take away is I always preferred Safe DCL but Holder looks more performant and cleaner to write (at the cost of an inner class).

I wish Java had a one-true-way for one-time static initialization like dispatch_once() in Objective-C.

comment 12y ago · link · parent

My friends are currently serving as missionaries in Tanzania and are teaching the art of beekeeping to help diversify the local economy and diet: http://makondefrasers.wordpress.com/

comment 12y ago · link · parent

Quick-time events are just a "Simon Says" mini-game. It is supremely lazy game-making; not a single gamer I know likes QTEs and I would venture to say that not a single copy of any game ever was sold because "Oh! This game has awesome quick-time events; I'm going to buy this game right now!".

comment 12y ago · link · parent

Lived in the USA all my life and I have never even heard of "kilopounds"

comment 12y ago · link · parent

Ummm... http://en.wikipedia.org/wiki/Twink_(gay_slang)

comment 12y ago · link · parent

Trademark considerations aside, I'd vote for TwinkieDB

comment 12y ago · link · parent

Most interesting is a new caching algorithm that outperforms LFU and LRU:

S4LRU: Quadruply-segmented LRU. Four queues are maintained at levels 0 to 3. On a cache miss, the item is inserted at the head of queue 0. On a cache hit, the item is moved to the head of the next higher queue (items in queue 3 move to the head of queue 3). Each queue is allocated 1/4 of the total cache size and items are evicted from the tail of a queue to the head of the next lower queue to maintain the size invariants. Items evicted from queue 0 are evicted from the cache.

Paper: http://www.cs.cornell.edu/~qhuang/papers/sosp_fbanalysis.pdf

comment 12y ago · link · parent

Tampa FL · Local | Remote · Full Time | Contract

Stack: Java (10 yrs), iOS (4 yrs), Android (2 yrs), Redis

Resume: https://www.linkedin.com/in/greghaines | https://github.com/gresrun

Contact: greg AT greghaines DOT net

Experienced developer that prefers small, focused teams is looking to overcome interesting technical challenges to bring great products to fruition.

comment 12y ago · link · parent

Mac OS X + Homebrew:

  brew install html-xml-utils

comment 12y ago · link · parent

If you are dissatisfied with your compensation, speak up before you go looking elsewhere. If you say you're leaving, do it.

Accepting a counter-offer is almost always a bad idea; no matter how much money is on the table. After accepting a counter-offer you are bought and paid-for, you decided to stay for the cash and, unfortunately, your loyalty to the company will be questioned forever after.

comment 12y ago · link · parent

Yeah, we still use them. They work without any problems on Ubuntu.

comment 12y ago · link · parent

We have used a similar dongle at our company for a 2nd ethernet adapter on our Foxconn-built boxes and found out that they usually don't have unique MAC addresses. This made our lives very difficult because Cobranet audio network uses level-2 addressing. We eventually found a supplier with real MAC addresses.

75.

Markov Chain + KJV Bible + SICP(kingjamesprogramming.tumblr.com ↗)

2 points · by gresrun · 12y ago · discuss

comment 13y ago · link · parent

Personally, I like the rounded edges but just adding a corner radius isn't exactly falling far from the Chrome tree.

comment 13y ago · link · parent

Nope! http://i.imgur.com/kwxQTDc.png

comment 13y ago · link · parent

I personally use the maven-shade-plugin for this because it has built-in support for handling special resource files like licenses, service definitions, and manifest entries.

comment 13y ago · link · parent

> 1. Runtime-linking _is_ dynamic linking, and it's a PITA that Java doesn't have an option for static linking, especially given the inherent fragility of the CLASSPATH.

It is possible to roll a 'fat' JAR with all your dependencies baked-in, which is as close to static linking as it gets in Java-land. I prefer this for stand-alone applications as it makes deployment a cinch at the expense of the size of the build artifact.

comment 13y ago · link · parent

Author of Jesque here. Jesque has numerous additional features over Resque, including ability to dynamically change the queues that a worker polls and an efficient pooled worker implementation. Also available is a Java version of resque-web [1]

[1] https://github.com/gresrun/jesque-web

comment 13y ago · link · parent

Not fascist. As an enlisted man in the US military, Manning is subject to the jurisdiction of the Uniform Code of Military Justice (UCMJ). [1]

[1] http://www.au.af.mil/au/awc/awcgate/ucmj.htm

comment 13y ago · link · parent

> Some projects attract more inexperienced developers than others.

Fair.

> In many ways community submitted pull requests are a "million monkeys at a million typewriters."

I strongly disagree with this assertion. To argue that community cannot be lead or directed toward a common goal is very pessimistic. Sure, Joe in Idaho has a specific itch, but there's a good chance there is an opportunity to capture Joe's enthusiasm and willingness to do work on the project by working with him instead of treating him like a code-monkey at a keyboard. Community relations is hard because dealing with people is hard.

> 1. Tools that help maintainers cultivate the submitters talent pool on their project.

Yes, I agree that this is someplace where some tools would help tremendously.

> Github can help me discover what is happening to that function elsewhere.

Great idea. I'd love to see a "related diffs" tool for a given piece of code.

> So many of us are code-first, conversation-later types and that constantly conflicts with the social nature of our job.

I totally agree. Ultimately, tools will only get us so far; people skills must fill in the rest. Making "Joe" feel welcome and a part of the creative process requires measures of patience, kindness, gentleness and mentorship.

comment 13y ago · link · parent

The curious question is why certain projects have significantly lower pull-rates; I doubt the quality of the pull requests vary that widely across projects.

Is it that project leadership has a clear vision for a product and feel pull requests are a distraction? If so, share the vision and enlist willing developers to help achieve that vision.

Is it that project leadership has a high-standard for the codebase? If so, explicitly state the standard and provide constructive feedback to pulls that don't quite measure up.

I guess my point is: project leadership has the ability to leverage a tremendous pool of talent that is interested in their project using the pull request mechanism. It does take effort and planning but the net result is so worth it to all parties involved.

comment 13y ago · link · parent

Bonuses are the norm in the finance industry. I worked at a financial research company for five years and got a bonus of roughly 10-20% of my salary each year, depending on that year's profits.

comment 13y ago · link · parent

https://status.github.com/messages

comment 13y ago · link · parent

Guess who sponsored the bill? Sen. Harry Reid, the same senator who, less than 6 months ago, railed against Mitt Romney for not disclosing his tax returns and, in 1974, boldly asserted that "[a]ny man or woman who will not be completely candid about his or her finances does not deserve to be in public office [...]"

87.

Automatic: Your Smart Driving Assistant(automatic.com ↗)

690 points · by gresrun · 13y ago · 295 comments

comment 14y ago · link · parent

I'd be interested in the NSA's API...

comment 14y ago · link · parent

if (curLevel == maxLevel && angleFromCenter > 0 && angleFromCenter < 45){ // Ignore } else { // Process normally }

comment 14y ago · link · parent

The original "web experience manipulation": http://www.ex-parrot.com/~pete/upside-down-ternet.html
1234