griffindy
griffindy on Hacker News
Posted by
griffindy on Tuesday September 06, 2016 @10:28AM
from the arstechnica.com dept.
Posted by
griffindy on Friday May 13, 2016 @09:19PM
from the vkostyukov.net dept.
Posted by
griffindy on Sunday February 28, 2016 @05:52PM
from the tjheeta.github.io dept.
Posted by
griffindy on Thursday February 18, 2016 @01:35PM
from the linkerd.io dept.
Posted by
griffindy on Friday February 05, 2016 @11:34AM
from the marco.org dept.
Posted by
griffindy on Tuesday January 26, 2016 @02:09PM
from the mcfunley.com dept.
Posted by
griffindy on Friday September 04, 2015 @10:47AM
from the blog.acolyer.org dept.
Posted by
griffindy on Tuesday February 17, 2015 @04:37PM
from the blog.twitter.com dept.
Posted by
griffindy on Wednesday January 14, 2015 @05:20PM
from the hatch.io dept.
Posted by
griffindy on Sunday November 16, 2014 @12:25PM
from the rubini.us dept.
Posted by
griffindy on Monday September 29, 2014 @08:34PM
from the blog.twitter.com dept.
Posted by
griffindy on Thursday July 03, 2014 @10:40PM
from the github.com dept.
Posted by
griffindy on Thursday October 17, 2013 @09:27PM
from the forbes.com dept.
Posted by
griffindy on Saturday September 28, 2013 @12:26PM
from the blog.dylangriff.in dept.
While the fonts themselves are proportional, usually each letter (counting space as a letter) has the same width every time, it just happens that an 'i' takes up less space than 'w'. Regular spaces are usually 'en-spaces', meaning the width of the 'n' in whatever typeface you're using.
That being said, spacing is obviously very different in justified type (and a huge pain to set by hand), where it will change depending on which words fit in the line.
Posted by
griffindy on Sunday July 14, 2013 @10:06AM
from the nytimes.com dept.
> What kind of creation are you building that you are expecting
> to not know which methods are available while running your program?
`method_missing` is more useful for dynamically responding to method calls than actually not knowing how to respond. A good example of this is rails' (version 3.2 and lower) dynamic finders:
User.find_by_username('a_username')
`find_by_username` is never defined anywhere, it is dynamically responded to using method missing. this allows code to be much more precise and DRY (though at the expense of readability if you don't know what's going on)
but very few people who are in college right now were perhaps old enough to remember floppy disks. I graduated from college in 2012 and remember having floppy disks as a kid (I think for Encarta?) but don't remember ever using them.
I think that we're right on the cusp of people graduating college who have never used a floppy disk.
If michh is working on plugins for other people, shared hosts can be pretty behind on their PHP versions. I just had to backport a wordpress plugin to 5.2(!), which came out in 2006.
EDIT: meant PHP versions, not plugins.
Posted by
griffindy on Wednesday June 12, 2013 @08:30PM
from the igvita.com dept.
Posted by
griffindy on Wednesday March 20, 2013 @08:23AM
from the solitarywatch.com dept.
me too, and I was very pleasantly surprised!
I'm not trying to be rude or anything, but what exactly is a 'linux' or 'unix' pro?
on a unix system you could put them inside `/etc/profile.d/user.sh` as environment variables so that whenever that user is running something those variables exist. then if you're using chef (not familiar with puppet, etc.) you could keep those passwords/keys in an encrypted data bag and set them during provisioning.
a nice framework and a great site, good job!
I've always liked testing ajax requests with sinon [1]. It injects its own version of an XMLHttpRequest object to keep track of all requests, and you can also send specific responses to test success and failure handling.
[1] http://sinonjs.org/docs/#useFakeXMLHttpRequest
I know about vim scripts, I just don't think the process is as smooth as sublime's package control
Other than the central repository (which vim does lack, there are quite a few plugins I'll admit), I don't see anything too different from vim, or am I just missing something. not trying to be mean spirited, just curious.
slightly more idiomatic, though perhaps not quite as clear as the clojure:
def unique_keys(*hashes)
result = {}
hashes.each do |hash|
result.merge! hash
end
return result.keys.map(&:to_s).sort.join(', ') unless result.empty?
'<none>'
end
https://gist.github.com/4695388