HNHacker News
TopNewBestAskShowJobs

radagaisus

997 karma · joined March 16, 2011

submissionscomments
radagaisus··on Lying on your resume
In Israel jobs usually ask for a BSc degree OR service in the army's intelligence unit. People go out of the army here with 3 to 5 years of experience in highly difficult subjects so tech companies usually care less about your degree.
radagaisus··on EFF, Reddit, Mozilla, others launch Internet Defense League and Cat Signal
Not really. If Facebook already established a cookie in your browser they will still receive it in all browsers but FF.
radagaisus··on EFF, Reddit, Mozilla, others launch Internet Defense League and Cat Signal
Do you have g+ / tweet / like buttons on your site? Google Analytics? Disqus? jQuery CDN?
radagaisus··on Thoughts on Rails, Node, and the web apps of today
We've been using both NodeJS and Rails for the last 4 months. Javascript is an amazing language, and coffee makes it even better. After writing a lot of Resque jobs today I have to say my Ruby-fu is not strong, and yet - NodeJS ecosystem is so so so so not mature enough for prime time.

The reason I wrote my jobs in Resque? Confidence. If shit will break - it will be on my side, not inside a package required by another package somewhere deep inside node_modules. I'm reading the source of almost every node package I use. I check all the issues on GitHub before trying to play with it.

While node core is stable, and everything is so damn fast (thanks Redis) and I enjoy every minute of developing with this stack, I find myself too many times inventing the wheel all over again - instead of focusing on my product.

radagaisus··on MVC may be Slowing Down Your Site
This has nothing to do with MVC.
radagaisus··on Node.js v0.8.0 [stable] is out
Make sure you at least got this points correct when trying to upgrade:

1. require('sys') throws, use require('util') now. The "sys" module was deprecated in node v0.4.

2.cluster.fork() no longer return a child_process.fork() object use cluster.fork().process to get the object.

3.the 'death' event on the cluster object is renamed to 'exit'

radagaisus··on Face.com acquired by Facebook
Facebook already used the Face.com API extensively. Rumors about this circulated here (Israel) this past month. This is great news.
radagaisus··on Web crawling and downloading ebooks with phantomJS
What do you mean? Qunit testing? Yes. always.
radagaisus··on Web crawling and downloading ebooks with phantomJS
Phantom is awesome. I tried to use it for testing, but it's too slow (10 seconds for one test). Anyone else tried it? Any tips?
radagaisus··on Show HN: Node.js library for flexible photo storage by Chute
Keep in mind that requiring stuff will still 'pollute' prototypes. In this case:

coffee> chute = require 'chute' [Function: Chute] coffee> "tristan".width(5) 'tristan/w/5'

radagaisus··on Ask HN: who started something in 2012 that didn't or won't become profitable?
First real attempt at open source https://github.com/Radagaisus/Orpheus
radagaisus··on Flame: Massive cyber-attack discovered, researchers say
>> Our estimation of development ‘cost’ in LUA is over 3000 lines of code, which for an average developer should take about a month to create and debug.

They should do project estimation instead of Security Analysis.

radagaisus··on Your first Node.js module
Still, currently you need to require everything with a relative path unless it's inside node_modules.
radagaisus··on Your first Node.js module
Not that I've experienced. Another cool trick: modules make sense when you use packages, but they feel like PHP 4 when you just try to divide your code to several files.

https://gist.github.com/2692091

This fixes part of the problem, but what happens when you reference './models/user.js' from the file 'auth.js' but then auth grows in size and you decide to divide it and put it in auth/facebook.js, auth/twitter.js, etc. -- well, now you are fucked.

radagaisus··on Your first Node.js module
Also, `this` is exported in modules.
radagaisus··on CoffeeScript CSS
This is just an expriment. Look at the source code, it's ~40loc, it was last updated a year ago.

Say you would want to write a mixin for a better border radius, you'll have to call your variables MozBorderRadiusBottomleft and borderTopLeftRadius. Clearly not a good style. Why? Because it's just a simple regex: key.replace /[A-Z]/g, (s) -> '-' + s.toLowerCase()

That's why I'm afraid of uploading half baked projects to Github. Though so far, even my fully baked projects didn't get any attention.

radagaisus··on Show HN: Hacking recruiting - Coder's Coffee
also relevant is bizzabo http://www.bizzabo.com/
radagaisus··on IBM 1959 Job Post
Things that weren't in the mid 90's: stack overflow, google, gmail, google docs, os x, github, git, torrents, and basically every tool I use to make things with my computer (besides bash).

No I don't want to go back.

radagaisus··on Code Spelunking in the all new Basecamp
$('[data-behavior~=date_picker]').live 'focus', -> $(this).datepicker()

So basically every focus on the element creates a new datepicker. If you're not careful this could mean memory bloat and unpredictable behavior as the plugin is attached several times.

radagaisus··on A Year with MongoDB
Start Up Bloggers listen up! If I click on your blog's logo I want to see your product, not the blog's main page.
radagaisus··on Show HN: HandsFread - Hands Free Page Scroller Bookmarklet
Constant scrolling feels awful. It if would just jump ahead every few seconds or so it will be less painful.
radagaisus··on Paths to $5M for a startup founder
You can get 8 cores 8GB RAM server for 150$ a month. If giving up ~70% of your company the norm - we need a revolution.
radagaisus··on A Short Story About Verbosity
This book looks amazing! I know this might be kind of counter to your whole comment but - I'm in the army (in Israel, we do 3 years and get 100$ a month) and I just can't afford to buy it. Is there any chance I can get a free slash really really discounted copy? It's exactly the book I'm looking for!
radagaisus··on [dead]
Serious kudos for Homakov.

And he has a point. While I dislike the whole "lean startup" thing a lot of people promote and adore it. And along Learn, Measure, Adapt, Innovate and other big words, I don't see a Secure your Damn App section.

When I write my controllers I can't focus completely on my product - I also have to think if this mass assignment is vulnerable.

radagaisus··on Keymaster.js: micro-library to add keyboard shortcuts
We are using it without complaints so far. We just changed one line (#62) so it would work inside inputs and textareas. It's just 150 lines of code, so there's no reason not to read the source before using it!
radagaisus··on Security vulnerability found in Nginx
If you don't care about uptime just replace the old binary with the new binary and then restart the server.

This is from a book called "Nginx HTTP server":

1. Replace the old Nginx binary (by default, /usr/local/nginx/sbin/nginx) with the new one.

2. Find the pid of the Nginx master process, for example, with ps x | grep nginx | grep master or by looking at the value found in the pid file.

3. Send a USR2 (12) signal to the master process—kill –USR2 , replacing with the pid found in step 2. This will initiate the upgrade by renaming the old .pid file and running the new binary.

4. Send a WINCH (28) signal to the old master process—kill –WINCH , replacing with the pid found in step 2. This will engage a graceful shutdown of the old worker processes.

5. Make sure that all the old worker processes are terminated, and then send a QUIT signal to the old master process—kill –QUIT , replacing with the pid found in step 2.

radagaisus··on Architecting for Uptime
Could we have a tl;dr version please?
radagaisus··on How to Hire a Programmer
Just a minor point about hiring young developers.

I was first employee in a start up before I even finished high school. A real start up, with backing from a top VC and an amazing founding team.

On the interview I looked eager to start getting shit done. I was super enthusiastic, asked hard questions, trash talked technologies - I looked like I actually knew what I was doing!

Then I went home and started to learn all those three letter acronyms they talked about.

You have to check that people can actually code. I'm not talking about algorithms, I'm talking about string truncation, url shortening service, time_ago_in_words - some programmers do know how to oversell themselves.

radagaisus··on Jotform domain seized by US due to user generated content
Did you know you can't buy the Israeli domain fuck.co.il?

Source: http://translate.google.com/translate?hl=en&sl=auto&...

radagaisus··on Show HN: Bootswatch, free swatches for your Bootstrap site
Nice work. thanks!
← PreviousPage 2 of 5Next →