Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
caiusdurling
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
caiusdurling
13y ago
TextMate was just a one man show (with lots of community support) for quite a while. Might still be actually, although I think there were a couple of other people full time on it for a while.
32.
▲
by
caiusdurling
13y ago
From what I've heard from friends/family that have mortgages, here in the UK the mortgage company stipulates that you have to get life insurance in place to cover the remaining loan amount before they approve your mortgage.
33.
▲
by
caiusdurling
13y ago
Surely using less resources in any machine is useful as it leaves more for your actual app to use. Admittedly you might get _more_ benefits from having it on bare metal, but on the other hand the OS using 10% less ram (for example) on a sma
34.
▲
by
caiusdurling
13y ago
Been meaning to play with CoreOS as a next step on from just using docker. Hadn't yet gotten around to it, this will make giving it a test run so much easier when I get to it. Awesomesauce.
35.
▲
CoreOS images now on Brightbox Cloud. Build a CoreOS cluster in 5 minutes.
(brightbox.com)
27 points
by
caiusdurling
13y ago
|
6 comments
36.
▲
by
caiusdurling
13y ago
> one of whom doesn't allow you to install other browsers at all. Nitpick, you can install other browsers on iOS. Don't think you can make them the default handler for URLs from other apps however, but most apps still ship thei
37.
▲
by
caiusdurling
13y ago
(Full disclosure: I'm a former employee, still have personal servers as a customer.) Awesome news, still find the service provides more than other UK/EU providers. (I don't use US providers personally mostly because of the ad
38.
▲
by
caiusdurling
13y ago
Neat use case.
39.
▲
by
caiusdurling
13y ago
Scary stuff. Discussed it with my father (not) in law this evening, and as a technically minded user of Orange's services, he was pretty appalled by it. Also mentioned his online orange account has a password set by them, that they ema
40.
▲
by
caiusdurling
13y ago
Hear Hear. Currently I just don't bother with curating pictures I've shot, aside from tweeting or facebooking them at the point I take them.
41.
▲
by
caiusdurling
14y ago
I would wonder if the author had been drinking, but I've been drinking (scotch, thanks for asking), and I'm just sat here going WTF at it.
42.
▲
by
caiusdurling
14y ago
That's insane. In an awesomely insane kinda way.
43.
▲
by
caiusdurling
14y ago
OS X default ruby is 1.8 and therefore didn't have Object#tap till the last few versions. I still forget that I can use it in one-liners there without it throwing an error. :-)
44.
▲
by
caiusdurling
14y ago
Quite probably. I suck at making up "good" examples without taking them from code - couldn't think of anything suitable to borrow from last night. I think my thought process was reading a CSV from stdin with two fields, using String#split i
45.
▲
by
caiusdurling
14y ago
Good suggestion. I love the koans.
46.
▲
by
caiusdurling
14y ago
I find a better way of doing this is to use a module. x = Object.new x.extend Module.new { def foo; puts 'bar'; end } x.foo # >> bar
47.
▲
by
caiusdurling
14y ago
The one time I've used it seriously was a method that was given the returned body of a HTTP GET call. If I remember rightly it was automatically parsed if it was a JSON body, so you could quite rightly get a nil body back, and that wasn't c
48.
▲
by
caiusdurling
14y ago
I think I've only ever used it once, and that was in a place where refactoring my way around needing to know that was more trouble than it was worth at that point. I label it as evil, because people I've shown it to range from "that's amazi
49.
▲
by
caiusdurling
14y ago
I quite like the sound of this, but I only really install LTS, and then only on servers, so as long as LTS stick around I'm not too bothered what they do between each release ;-) Also, BSD releases work that way don't they?
50.
▲
by
caiusdurling
14y ago
Object#try should work in plain 1.9 too, although I'm not sure I'd have reached for it in this case. This was more about showing the DRYing up a (visual) pattern across two lines into a different construct though, so perhaps I would've used
51.
▲
by
caiusdurling
14y ago
Someone on twitter asked me about that convention too - the best explanation I could find was that it's from C, where the compiler will warn you if you have a plain `if (foo = "bar")` in case you typo'd it. But putting double parens around
52.
▲
Small Refactorings in Ruby
(caiustheory.com)
43 points
by
caiusdurling
14y ago
|
24 comments
53.
▲
by
caiusdurling
14y ago
This arrived the day before I needed to create an email list for a small group of friends I'm involved with where we email each other once a week or more. $10 for literally 90 seconds work to get us a list was a no-brainer really. We have n
54.
▲
by
caiusdurling
14y ago
Nice!
55.
▲
by
caiusdurling
14y ago
As quite a good few things in ruby are. Having never really learned perl, I keep discovering them anew in ruby first :-)
56.
▲
by
caiusdurling
14y ago
I'd forgotten sinatra let you do this, I remember it being really nice for a small simple app with a couple of templates.
57.
▲
by
caiusdurling
14y ago
Sweet. Always do this so infrequently I have to go google the commands each time for the command line.
58.
▲
by
caiusdurling
14y ago
FWIW growl doesn't install itself, applications that use it are _supposed_ to offer to install growl for you, but there's been a few that don't and just force it on you. The growl devs really really hate those applications - http://growl.i
59.
▲
by
caiusdurling
14y ago
Because that's descriptive about what it does...
60.
▲
by
caiusdurling
14y ago
YEAAAAAAAAH!
More ›