Language: Hebrew (rss)
1 | Next Page

Constatus - Find those Strings and Const'em!

Jul 13, 2014 9:30 PM
Rating: (Total Clicks 20)

Whud'up? Not so long ago I've opened a random file on the code base I'm working with and saw the horror of many Strings values which have "why am I not a constant?!" written all over them. I figured that a re-factor is in order but I wondered how will I know that if covered all the instances of a particular String value? Good thing there is NodeJS around and some nice modules like Esprima,

New Quake-Stats improvments

May 29, 2014 5:31 PM
Rating: (Total Clicks 43)

Yeah, I know - it has been a while since I wrote but trust me, I had important things to attend to, and still do BTW ;) don't worry, it has nothing to do with work, code or debugging shit. Anyhow - I just wanted to let you know that the "quake-stats" open source application has gained some nice new features! For those of you who don't know what I'm talking about, you can read about it here and of

My Sublime Text plugins

Apr 27, 2014 5:31 PM
Rating: (Total Clicks 54)

Yo. I am pretty sure that many of you are familiar or even using Sublime Text. If you don't you should definitely check it out and consider it being your main text/code editor. One of it's key features is the plugins you can add to it, and so you can find numerous plugins which helps your coding process so much. I would like to share with you the very limited, yet so useful, set of plugins I

CrunchBang rocks #!

Apr 22, 2014 5:31 PM
Rating: (Total Clicks 93)

I'm not a Linux power-user. Correction, I'm not Linux user. Seriously, I spent a lot of time laughing at those Linux fanatics, and still do. It always seemed to me that the more one likes Linux the more s/he has bad social skills. But one thing has to said - Linux is a better OS for developers, period. If you're building stuff, if your'e contributing code to open source projects, if you like

Printing a Dialog content using Canvas and iFrame

Apr 17, 2014 1:42 PM
Rating: (Total Clicks 58)

Hi guys, You know that printing from the browser is a bitch. Even after you've figured out how to put the content you want into the browser, the printing doesn't always work the same on all the browsers (yes! HTML is a standard... my arse). And that's not where all the trouble stop but anyway... The problem I would like to bring up in this post is printing from a dialog box, which is more

All the JS you need

Apr 12, 2014 7:30 AM
Rating: (Total Clicks 63)

Yo guys, You know me, I'm just strolling around the web bumping into nice stuff on the way, and recently I found a great place where you can pretty much get all the knowledge sources you need for JS. To be honest, it's pretty amazing how much one can gather about this Egyptian-pyramids-fucking-papyrus-deserved scripting language, but then again we must, now don't we? :) Enjoy it: superhero.js

Delegating Event handlers to align Event Data model

Apr 7, 2014 5:30 AM
Rating: (Total Clicks 67)

After such a pretentious title we can all stop and take a one week sleep. WTF do I want from you now, you probably ask. yeah, ok. check this out: Think about this next situation - You have a nice component which potentially can host several other components, each can dispatch a different event, an event that needs to be handled of within the "parent" component. We cannot let the "parent"

My Unit Testing Approach to JavaScript

Apr 3, 2014 7:31 PM
Rating: (Total Clicks 74)

Hi guys, I thought it would be nice to share with you my approach to JavaScript unit testing. It's not really bound to any particular technology so you can embrace it if you think it can bring you some peace. Configure a threshold time of each test to be less than 500ms. I hate to wait on code. I need feedback now. I feel really bad when I need to write test for a already written code. It

Mocking a Confirmation Dialog in AngularJS Unit-Testing

Apr 1, 2014 9:30 PM
Rating: (Total Clicks 92)

What is more convenient then talking about the shallow gratification tests give us in the previous post, and now posting about testing examples. What can I say, you got me, I'm a child ;) Anyhow, lets take the following case: User wishes to delete some book from his library, once he presses the delete button a confirmation dialog pops up to ask him if he is stupid or not, and once he approve

Understand why

Mar 26, 2014 9:30 PM
Rating: (Total Clicks 73)

So - You writing code in a TDD manner, which means that basically you're writing the tests first, waiting on them to fail, and then writing the code which makes them pass. Damn, This makes you feel so good, right? It's like a fucking rush of satisfactory that runs through you, making you feel like you're fulfilling your roll in the world, you're executing your work to the max. You tell yourself

1 | Next Page