Better HN
topnewbestaskshowjobs
Log inSign up

rubyrescue

3,403 karma · joined Nov 30, 2009 (16y ago) · 654 submissions

Submissions

511.

Rewriting Canonical's irc to SMS 'gateway' from Erlang to Python(blog.labix.org ↗)

3 points · by rubyrescue · 16y ago · discuss

comment 16y ago · link · parent

i agree, you get used to them. but what i don't like about them is that the way you have to specify the record every time you reference the object. so

Bar = Foo#foorecord.bar, Baz = Foo#foorecord.baz

it feels unnecessarily redundant. Shouldn't we already know Foo is a record of 'fake type' #foorecord? It's like a poor man's type system, and it's ugly.

Also, probably more importantly, since they're a compile-time trick you can't use them in the console, which makes experimentation and sometimes debugging harder.

comment 16y ago · link · parent

it's a hack in the Bruce Schneier "easiest way to steal pancakes has nothing to do with where money changes hands" sense...

Our goal is to eat, without paying, at the local restaurant. And we've got a lot of options. We can eat and run. We can pay with a fake credit card, a fake check, or counterfiet cash. We can persuade another patron to leave the restraunt without eating and eat his food. We can impersonate (or actually become) a cook, a waiter, a manage, or the restraunt owner (who might actually be someone that few workers have ever met). We could snatch a plate off someone's table before he eats it, or from under the heat lamps before the waiter could get to it. We can wait at the dumpster for the busboy to throw away the leftovers. We can pull the fire alarm and sneak in after everyone evacuates. We can even try to persuade the manager that we're some kind of celebrity who deserves a free breakfast, or maybe we can find a gullible patron and tal her into paying for our food. We could mug someone, nowhere near the restraunt, and buy the pancakes. We could forge a coupon for free pancakes. And there's always the time-honored tradition of pulling a gun and shouting, "Give me all your pancakes".

comment 16y ago · link · parent

One thing - if you're outsourcing to a third party (not rackspace) for sysadmin, it would be much cheaper to just use a colo with 'bare metal' machines you order yourself - so why do you use rackspace?

comment 16y ago · link · parent

I like the last point - "if you are building a server, either don't use Ruby or use EventMachine"

Perfect timing, I'm giving a ten-minute talk on BERT and Ernie tonight at the Buenos Aires Ruby Meetup, this is a good reference to point people to.

comment 16y ago · link · parent

as an aside, for hackers who roof, that's a GREAT nail gun.

comment 16y ago · link · parent

I found out a few months down the road that the mongodb master/slave replication is very delicate, and can become corrupted if the perfect storm happens, which seems to be a lot around me.

every time i read mongodb blog posts i read things like this in the comments and i decide to pass...

comment 16y ago · link · parent

There are two things going on here.

1. Generating domains that match exact search terms is very common and can be quite effective. This is not 'bad' in google ethics - think of how there is no search bar in chrome - when i type 'hacker news' into chrome, hackernews.com is #3; the line between a search and almost typing in an exact domain name makes these domains valuable, and uneducated users who don't know the difference between a search and a domain mean this won't change anytime soon.

2. Mahalo could be auto-generating content that should be penalized because it is duplicate or spammy. This is, within the terms of the googleverse, 'bad' and can be penalized. However it's not clear that all of those sites are exactly the same (i didn't click through each one) - they may be different enough but just share a similar URL structure, which if the content is different, is not really an issue.

comment 16y ago · link · parent

Reads like the Hacker equivalent of a Harquelin Romance novel... by the end you want his VCs' heads put on stakes :)

comment 16y ago · link · parent

sure - i think one of the above answered it for me that there is no equivalent boost on the client end which i think is why it hasn't helped me much.

comment 16y ago · link · parent

shameless self promotion. so that every time my buddy has great signal he remembers it's because of his tech-friend's dd-wrt hacking prowess.

comment 16y ago · link · parent

does it really help to boost the signal? i tried before and didn't seem to get much of a difference.

comment 16y ago · link · parent

In Buenos Aires, old apartments are made of thick, stone walls that really hinder signals. In a long apartment you have to repeat.

I bought 3 WRT-54GS refurbs from newegg for $29 each, installed DD-WRT, set 2 of the three as Bridged Repeaters, put them all on the same SSID (protip: put the word Mega in front of the old SSID), spread them across my friend's house, and he now has great signal everywhere.

comment 16y ago · link · parent

first thing i did, lists:map(fun(X) -> X * 2 end, lists:seq(1,100)), and it worked! very cool.

next thing i did: application:which_applications(), and that didn't work.

comment 16y ago · link · parent

i think it's good that it makes you type it as it quickly becomes a habit and you need the practice when you first start erlang.

However, perhaps he can put a big floating arrow pointing left that just sits there saying "DONT FORGET THE PERIOD" as soon as you hit enter without a period.

comment 16y ago · link · parent

if you are typing in the letters S-T-A-N-F-O-R-D while doing crypt... oh wait...

comment 16y ago · link · parent

Mochiweb

comment 16y ago · link · parent

Most important point - I...was assuming we weren’t good enough to charge for our product which I’m finding is a very common problem with tech CEOs

529.

EasyBroker Says Adios to Freemium(easybroker.com ↗)

26 points · by rubyrescue · 16y ago · 6 comments

530.

Ask HN: PivotalTracker is free, does that make you nervous about using it?

4 points · by rubyrescue · 16y ago · 3 comments

comment 16y ago · link · parent

can someone explain how image sharpening technology applies to wifi in layman's terms. i'm fascinated by this type of thing but generally don't have the math skills to understand or know where to look.

comment 16y ago · link · parent

Great idea and i'm sure an incredible experience.

But, Wow, what a cultural indicator the way this guy travels is! i remember reading Peter Jenkins's book A Walk Across America as a kid (highly recommended) and he just had a backpack and a dog. this guy has a cart with a rubbermaid box full of stuff. It captures something about our culture that 'savoring the country' now requires a shopping cart.

comment 16y ago · link · parent

sounds like 100k is a lot more than you need for a solid version 1 if you cobbled together a tool with no programming skills.

1. write a 1 page summary of the product and feature set, with the requirements above. be detailed enough to cover the requirements; you can still make this document pretty vague if you're worried about disclosure but you're going to have to reveal the product at some point - i wouldn't sweat it too much as you're not going to be posting this around the web.

2. make a list of requirements, one to two sentences for each feature; put requirements into buckets - priority 1,2,3. focus on building the pri 1 features in the first version. _be ruthless about keeping this feature set small_. don't say things like "iphone client" - that's too big - more like "a web client dashboard with my sales funnel, with ability to sort, filter, and query". then describe what type of filtering, querying, etc in separate requirements. then "an iphone view of my sales funnel with a simplified list of fields", "ability to respond to emails via the iphone client", etc.

with this summary and list of high level requirements, you can start soliciting developers and getting feedback on how hard it will be to build; you could try odesk/elance but i'd stay away from those because they're better for finding lone wolves and not cohesive teams. if you do use them, don't pick the cheapest people - there are some other threads on HN about how to do it successfully.

you will learn a LOT by seeing how your potential developers respond to this "RFP" - if they have detailed feedback, ask good clarifying questions, and can point to similar projects and have anecdotes of what made past projects work, then you're on the right track.

i both bid on and subcontract work and i've found that i can tell very quickly by the questions a potential developer asks whether the project will be successful. with this budget you don't want to hire a solo guy but be wary of the teams where the BD/sales guy promises a lot but doesn't seem to be adding a lot of value - it's better to work with teams where all the members are technical and participating in the actual end result.

actually, there are some people i could possibly recommend, email me.

comment 16y ago · link · parent

interesting. i would like to see a comparison to yaws or mochiweb (perhaps w/nitrogen).

comment 16y ago · link · parent

not sure but she could never handle two different files - even remembering the ONE complicated password for the file is annoying to her. so she gets only my file...

comment 16y ago · link · parent

highly recommend the dropbox + 1password combo.

added bonus:my wife has access to my password file because of dropbox, so when i add a new password for some service she may need, it immediately and securely shows up on her mac.

comment 16y ago · link · parent

a bit hard to read but this quote at the bottom is a gem: "Technical skills are a hygiene factor for architects. You need to have them to be accepted for the job. But emotional intelligence and ability to understand organizations are the skills that define how good you really are"

comment 16y ago · link · parent

Valid point. Perhaps i'm mistaking the overflow of emotion for 'relief' - in that it was a missing tool in the developer toolbelt.

comment 16y ago · link · parent

I think Redis is great (i'm using it for a few apps as a backend store for resque, and soon as a rails partial cache with better control over expiration based on an object's dependency-graph).

Yet, I don't understand why people use such superlatives constantly about it. Is anyone else a happy user but a bit overwhelmed by the hype? (And i hesitate to use that word because it sounds overly negative.) Call me a student of human psychology noticing a trend that in this case happens to be in my interests. It would be much more irritating if I hated Redis - I don't, but I still can't ignore the squirmy feeling i get when I read about it...

comment 16y ago · link · parent

original article http://www.thisisgoingtobebig.com/blog/2010/5/13/what-diaspo...
1
171819
22