Better HN
topnewbestaskshowjobs
Log inSign up

blhack

24,931 karma · joined Aug 27, 2008 (18y ago) · 3,906 submissions

My name is Ryan.

email is: blhack at gmail dto cmo.

My current (profitable) stack is: python/jquery/apache/mysql My current (dev) stack is: golang/react/RDS

My failed startups are: Social networking websites: thingist.com (better, more organized facebook/twitter), newslily.com (fark/digg/reddit/HN clone), lanmarks.com (social mapping). News aggregators: newsyndicated.com (computational linguistics applied to news/RSS).

Successful startups are: Business analytics/CRM software for niche industries.

Startups I have worked with but not founded so I won't name: Unnamed telemedicine project. Well funded, solved social isolation in the elderly. Great team. Parent company was acquired, and our project (ran as an internal startup to the larger company) was terminated. My role here was research/design/build hardware devices which were to be placed in senior's homes, as well as the backend service that they reported to, and the interface for remote health-providers to interface with this data. Unnamed educational non-profit. This project is ongoing and successful.

Times I have been rejected from YC: 2.

Other consulting that I have done and don't consider startups: design and build custom robotics and control systems for large scale advertising installations. Clients have been amazon, carvana, Tostitos, red bull, the NFL. Design and build complex, custom fire effects displays for use at music festivals including EDC and bonnaroo. The fire effects team is easily one of the most brilliant, competent groups of people I have ever gotten to work with.

My skillset is extremely broad, and I have worked at almost every design/build level of many different successful products.

My hobby is designing and teaching educational workshops for teenagers. I have a strong belief that most people are capable of much more than they realize; I find sharing this understanding with people extremely rewarding, and so do my students. I have taught workshops on electronics to both children and adults all over the world.

My other hobby is creating interactive art installations. I have a profound love for people and humanity, and my art projects typically try to highlight the beauty I see in other people.

Submissions

comment 14y ago · link · parent

Great, could you point me somewhere to learn more about the topic?

comment 14y ago · link · parent

First: node is freaking amazing. I've been writing python CGI on Apache for the last few years, but can easily see myself moving to:

nginx -> Static html/javascript/images/css

node.js -> API

Apache -> old Python CGI stuff I still want (beautiful soup, for instance)

To me, this stack is a lot more comfortable, and is a lot faster.

----

Here are a couple of things that this tut misses.

1) You need to talk to your database. This will become immediately apparent when you try to do anything. You can google around, which will lead you to stack overflow, or you can just listen to me right here and use "mysql".

     npm install mysql
Easy.

2) Callbacks. This is freaking huge. node will not make any sense to you if you do not understand this. For instance, if you have a function called "get_username()" (Hi! I have a function called get username, I'm speaking from a mistake I made about this!), and you call it like this:

     username = get_username();      
     res.write("Hi, you are: " + username);
     res.end("buhbye!");
Your page is just going to crash because username is undefined. This is because node is nonblocking. It doesn't wait for get_username() to return before continuing...meaning your server will end before get_username() finishes.

This is a problem.

So what you need to do won't make sense at first (and maybe I'm doing this wrong, correct me if I am).

you would do:

    get_username(res);

and then you would have:

    function get_username(res) {

        do_some_things;
        db.query(query, function() { ;
             //this is your db connectors callback function.  It fires when your query is finished. 
             username = some_query_results['user'];
             res.write("Hello, you are: " +  username);
             call_some_other_function();
             or_if_this_is_the_last_thing_you_want_to_do_call res.end();
             });
     }
The point here [and this is obviously just pseudocode] is that you don't just write out a list of functions. You write functions that call each other when they're finished.

read this: http://blog.mixu.net/2011/02/01/understanding-the-node-js-ev...

comment 14y ago · link · parent

Sure. I thought GP was asking about what you get writing purely webapp stuff.

Phonegap/Titanium are great, but they're hacks. Phonegap is just running your app in an uiWebView, then exposing some of the camera/etc. stuff via its own API, yeah?

That's great, but IMHO, it shouldn't have to be like that.

comment 14y ago · link · parent

Access to the camera, gyro, file uploads, push notifications etc.

comment 14y ago · link · parent

This is worth getting your head around just for the console.

<this post is partially for those of you who are, like me, relatively new to javascript. If you're one of the demigods that works at twitter/facebook, go ahead and ignore this>

I've been transitioning all of my projects from python cgi scripts (yuck), to shtml files, javascript clients, and APIs that run on node.js.

For somebody like me, that has been writing python+cgi for the last 5 years, diving into javascript was daunting. Terrifying even.

Console made this a lot, lot, lot easier. In javascript, you can call

    console.log("thing") 
and it will print it out to the console (again, this is obvious if you're done any JS development, I'm sure).

But that isn't all...

Suppose that I'm working with an object called map_pins. In the javascript console, I can just type:

    map_pins;
and it will print out the object for me in a tree that I can traverse by clicking the little sideways triangles.

Very, very nice.

I can also interact with my javascript functions from the console. If I have a function called update_bounds(), I can force it to fire from the console by just typing:

    update_bounds()
This is really, really nice. Before I discovered this, my javacsript was full of alert("I made it to this without crashing");

It was awful.

If you're learning JS and OP's article looks over your head, at least take the console away from it.

comment 14y ago · link · parent

To anybody that doesn't know what you're talking about:

http://www.mcmaster.com/

It's a hardware store that sells pretty much every single part you could imagine or need.

comment 14y ago · link · parent

>There were other species with language

According to who? Neanderthals had the capacity for language, that doesn't mean they used it.

comment 14y ago · link · parent

Because we're the only ones with language. Language gave us a huge technical advantage over all of the other animals.

Typically, in species without language, it takes many generations for a "mutation"[1] to propagate across the species.

If I instinctually figure out a better way of hunting deer, which gives me an advantage over my competitors for mates, and I pass it on to my children, who pass it on to theirs, etc. eventually the new instinct will be present in most of the species.

(This is basic basic natural selection).

Language changed all of that. Now instead of waiting for offspring to carry a mutation, I can just tell people about the better way of hunting deer, they can do it, and they can tell people too.

Stuff spreads quickly. It makes humans able to evolve at a much, much, much faster rate than any other animal on the planet.

(And yes, really, humans are the only animals on the planet with language. Bird song, whale song, and tree-pheromones don't count.)

[1] In quotes because consciously iterating over a problem (like hunting deer) isn't a "mutation" in the classic sense.

comment 14y ago · link · parent

I think we all sortof knew this was what it was going to be.

comment 14y ago · link · parent

I guess I'm the only one that doesn't have any problems with iTunes on windows, eh?

comment 14y ago · link · parent

Oh man, <marguee scroll=vertical>Item 1<br>Item 2<br></marquee>

I had the coolest news ticket on my angelfire page!

comment 14y ago · link · parent

>The ads they show you will now be more targeted, about movies and located around Tempe.

Good!

>I've seen ads based on search terms in "private" conversations I've had on FB.

Why on earth would you think this was "private"? It's private to you and your friend, but you're using a third party (facebook) to facilitate the interaction.

Gmail does the exact same thing. So does amazon.

comment 14y ago · link · parent

It is, but it's not very good at it. Facebook "bumps" threads when you respond to them, so relevant stuff stays at the top.

And people use pictures of themselves as identifiers. It's a lot easier to recognize people based on faces than it is to recognize them based on silly usernames.

I mean...these are people that I regularly interact with in real life. I get the pseudo-anonymity for reddit proper, but non-anonymized interactions on facebook are good.

comment 14y ago · link · parent

What the hell are you talking about?

I found somebody to go to a movie with because he posted on our film group saying:

"This film is playing in Tempe tonight, who wants to go?"

And I responded with a "Me".

>Did I mention that your friends list isn't private, law enforcement can get all this data at any time

No, and I'm glad you didn't, because that sounds like utter bullshit. "At any time"? Do you mean "With a court order"?

This "oh no I'm so scared" reaction to facebook is neo-luddism at its finest. The point at which facebook turns into a magical black box is too high for some people, and they get scared of it.

Here's the big bad secret: facebook isn't doing linguistic analysis on your messages, and if they're using information about what youtube videos I've "liked" to serve me more relevant ads, then good, I'd rather see information about bands or lecturers I'm interested in visiting Phoenix than I would about penis pills and weight loss "secrets".

comment 14y ago · link · parent

I'm really sick of hearing all of the hatred that facebook gets.

It's a useful tool that I use every day for organizing meetups and, in my opinion, is superior to a mailing list in pretty much every single way.

My local reddit users group has almost 1000 members in it, and has no branched into several "sub groups" [a book club, a film club, a music club, a workout club, and a hacker club]. Just now before reading this, I found a movie to go to tonight with somebody, committed to start reading a book with somebody else, and got invited to an event this Friday.

Oh, and somebody who is planning an event for this Saturday asked me to RSVP.

Last weekend our group had a nearly 100-person strong "masquerade" at a bar in Phoenix. We pretty-much took over the bar.

None of this stuff would happen if not for facebook, and I know this because there have been active attempts within our community to push stuff back onto reddit, all of which have failed.

Facebook is a useful tool to me, and a useful tool to a lot of other people. If it disappeared tomorrow, it would effect me in a very negative way.

comment 14y ago · link · parent

Isn't this basically what bookmarklets are supposed to do?

Facebook's open graph tags are everywhere (you kindof need them to make "like" work properly), and what you're describing could be implemented using a javascript bookmarklet that read the tags.

comment 14y ago · link · parent

Yes.

Honestly, I'm not at a show to watch somebody perform their music, I'm there to enjoy that music with a few hundred/thousand other people, and listen to it on a big stereo.

It's a socializing thing, not a consumption thing.

comment 14y ago · link · parent

Totally, totally gangster.

(seriously, what?)

comment 14y ago · link · parent

Gmail is a brand name, it's like having a .com.

comment 14y ago · link · parent

All they need to do is build a totally new business model on top of something that already only kindof loosely supports it!

SO SIMPLE!

comment 14y ago · link · parent

I've been drinking this brand for quite a long time, and it's about $10 cheaper: http://www.amazon.com/Rosamonte-Traditional-Yerba-Mate/dp/B0...

It's surprising to me that yerba is just starting to catch on in the US.

You should try it some time with a little bit of milk and peppermint syrup. It's heavenly :).

comment 14y ago · link · parent

This definitely isn't the case on iOS. I use instagram all the time, but only for the filters. Pictures I take with it get put on dropbox.

comment 14y ago · link · parent

Didn't see the part about limited to 75/day :)

comment 14y ago · link · parent

Um...this seems pretty wide open to abuse...

comment 14y ago · link · parent

How long until one of these huge kickstarter funds doesn't deliver.

I've already seen it on some of the smaller stuff...

comment 14y ago · link · parent

Guys, these whitehouse.gov petitions are completely meaningless.

comment 14y ago · link · parent

I fully support this mostly because I absolutely love doing the puzzles :). (So make more of them!)[1]

One of my favorites from a few years ago was when reddit was hiring. One of the more fun aspects of it was:

git clone our public repo and tell us the most commonly used word

Another fun one was (I think? This was a few years ago):

find me a right triangle, the length of which's sides all add up to: $some_number.

[1]: In fact, this would be an awesome website if somebody hasn't made it yet: be a "recruiter", sortof, except you just post programming/math puzzles, we get to solve them, and then you get to match us up with employers.

comment 14y ago · link · parent

>two old forum posts and a pot of coffee

Something about this made me laugh.

50 years ago: "I'll make this work with nothing but duct tape and chicken wire!"

Today: "I'll make this work with nothing but two old forum posts and a shitload of coffee!"

Love it.

1
747576
131