HN user

kowsik

245 karma
Posts89
Comments66
View on HN
freeradical.me 11y ago

Unusual moments in my first 100K run

kowsik
1pts0
freeradical.me 12y ago

Hacking My First 50 Miler Ultra Marathon With Code

kowsik
1pts0
freeradical.me 13y ago

From tech PM to sporting goods CEO - interview with David Mayer

kowsik
1pts0
freeradical.me 13y ago

Running Made Me Trash My Patent Recognition Plaques

kowsik
2pts0
freeradical.me 13y ago

Kids Junk Food – OMG, Is This What We Are Feeding Them?

kowsik
1pts0
freeradical.me 13y ago

Born to Work – Workaholics and the Greatest Hackathon the World Has Ever Seen

kowsik
1pts0
freeradical.me 13y ago

Long time geek, newbie runner - My book "Unlearning to run" is live

kowsik
1pts0
freeradical.me 13y ago

My book 'Unlearning to Run' is now live

kowsik
3pts1
freeradical.me 13y ago

Just Donated my Run for Charity in a Silent Auction

kowsik
1pts0
freeradical.me 13y ago

7 treadmill running tips for newbies

kowsik
2pts0
freeradical.me 13y ago

5 reasons why I wasn't born to run

kowsik
1pts0
freeradical.me 13y ago

This is what hitting the wall feels like

kowsik
1pts0
www.fancyhands.com 13y ago

Apparently I'm not wasting my time for Valen-time

kowsik
1pts0
freeradical.me 13y ago

Making time by outsourcing yourself

kowsik
1pts0
freeradical.me 13y ago

Virtual Assistant: Outsource yourself with FancyHands

kowsik
2pts0
freeradical.me 13y ago

Elevator Pitch: Keep your ego out of it

kowsik
1pts0
freeradical.me 13y ago

Stair Climbing vs. Hill Repeats

kowsik
2pts0
www.doomandbloom.net 13y ago

When all else fails, use baking soda

kowsik
1pts0
freeradical.me 13y ago

Race Report from a Geek - Coyote Hills Half Marathon

kowsik
2pts0
freeradical.me 13y ago

Walk and Roll - Treating Shin Splints at Home

kowsik
1pts0
freeradical.me 13y ago

I’m CEO of my new startup, my runner’s body

kowsik
6pts0
freeradical.me 13y ago

Running Free - A Year in Review

kowsik
1pts0
freeradical.me 13y ago

Tolkien's amazing ultra marathon of the middle earth

kowsik
4pts0
blog.freeradical.me 14y ago

MTTR over MTBF - The joys of deploying cloud apps

kowsik
1pts0
blog.freeradical.me 14y ago

Why every enterprise app developer should work on a SaaS

kowsik
2pts0
schneems.com 14y ago

Performance Testing Rails with BlitzIO

kowsik
5pts1
blog.mudynamics.com 14y ago

Why the cloud is bad for startups

kowsik
1pts0
blog.mudynamics.com 14y ago

NoOps, ShmoOps and Somebody Else’s Problem

kowsik
3pts0
docs.blitz.io 14y ago

Blitz.io: New Relic as an Analytics plugin

kowsik
2pts0
blog.mudynamics.com 14y ago

Blitz.io: Using redis transactions with CouchDB

kowsik
1pts0

Ultimately, the web is an attack vector that no one is immune to. Did you read the Syria hack recently? Just a skype chat with an attractive opposite-gender is enough to download a piece of malware masquerading as a picture you really want to see. While the human aspect has always been a key element of getting hacked, products that claim to distinguish the good vs. bad are failing big time. And this has been the pillar of enterprise security (classifying good against bad) for the last 20 years and is starting to show its age.

True that about the security engineers, but they are at the mercy of products that claim to distinguish good from bad and this has never worked, IMHO. How the hell can you write signatures against malware/documents/web-sites/files/attacks/blah when there's so much diversity and quantity of stuff to keep up with?

Disclaimer: I built the first IPS to be commercialized and yes we used signatures amongst other things.

Depends on what your expectations are. I built https://www.delayed-tweets.com for myself and I'm a heavy user of it and I tinker with it when I have time (Heroku + Stripe, if you want to know). If it also becomes a source of income, so be it. Otherwise, it costs me just a little more than using an alternate service to do the same thing (like HootSuite, Buffer, etc). But, I get to tinker with it on the side, learning new things and making little improvements as I have time. So 6 months from now, I don't have to be disappointed that it didn't go anywhere. A side project is exactly that, something that you tinker with while you still have a day job.

Very cool - just a few weeks ago, I spent two weekends (8 hours total) building https://www.delayed-tweets.com. Sinatra on Heroku + Stripe along with a bunch of gems to connect up to Facebook, Twitter and LinkedIn. It's mainly for my personal use right now, but awesome to see others having simliar needs to schedule and cross post social updates.

[edit] The "big" monthly cost for this project for me is primarily the SSL add-on. Everything else amounts to nothing since I have no long running dynos, even for resque.

Regarding ease of use, if you are a dev, there's always toto or jekyll. Throw in disqus for commenting and you are pretty much done. Each blog is just a simple haml/erb/liquid template and git push is all you need to get a new page/blog up.

I've been writing C and C++ for a long time (kernel and user mode) and what I find is, it takes a fair bit of discipline when writing C++ code (like hiding new/delete for stack-only objects or ensuring operator= works for heap objects and so on). Debugging with STL and templates can be PITA since the error messages are so convoluted in most compilers. One thing I would agree on Linus, is the talent pool of disciplined C++ programmers is pretty scarce. There are tons more C programmers that have enough OO experience of faking vtables and building structs-with-callbacks to simulate class inheritance and what not.

Wordpress on Heroku 15 years ago

the cedar stack has a writeable file system, though no persistence across dyno recycles/restarts.

I can only speak for http://blitz.io. We generate an account-specific UUID which becomes a URL that you need to make available on your app (adding a route in ruby/node.js or uploading a txt file). Before each load test we check that your UUID is available on the app. Even if your UUID is leaked, this is not a problem, since it's unique to your account. Unless of course, your Google/Facebook account gets compromised. We currently, do not support password logins. It's either OAuth/FB Connect or SSO through our partners.

You have to think about concurrency. If there were a total of 64K simultaneous requests to that physical instance, each of which is running 100+ apps because it's multi-tenant, this drastically reduces the number of ports available to each app. With evented IO, a socket could be open for 250 ms (db query taking time) that sucks up a port causing a potential DoS on the other apps.

Talking about port exhaustion is, I realize, a little confusing because there are the web requests coming in and the web-tier is making outbound requests to other services. Adding an image to the blog to hopefully clarify things.

My point is the thing you are connecting in the back-end has to scale at the same level as node - if not better. I'm sure making independent non-pipelined requests to CouchDB will help, but if CouchDB views are slow or it can't handle the concurrency, then the web requests to node.js will start slowing down resulting in a pipeline stall.

We had a node.js app where each inbound request would go through a set of HTTP connections to the back-end couchDB. When the concurrency reached around 1,000 then there were 1,000 requests made through 10 couchDB pipelined connections. The result was the web requests were starting to get slower and slower. Think of a 6-lane road merging into a 1-lane road. Congestion.

Okay, we are talking past each other. If you have a server on an EC2 instance, with enough RAM you can support more than 64K inbound connections for exactly the reasons you mention. Try generating more than 64K connections outbound and this is exactly what I'm talking about.

My observation/assumption is that your app is running in a multi-tenant PaaS environment, where mysteriously you start getting bind errors because the ephemeral port space is shared with other tenants.

Read the blog again. This is bollocks if you are running your own server where you can be multi-homed, add loopback aliases etc and crank up the memory to support 100,000+ sockets. I'm talking PaaS where your app is an multi-tenant environment with no root access.