F*** you DS_store!
I hate having to constantly remove .DS_store files from my various projects at work and if you are as well open you’re terminal and run this command:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Obviously to revert it set true to false.
So I finally got around to create my first “Hello World” node module in cpp…here’s the code:
and then the JS node script:
I love that feeling you’re get when you learning something new and your mind starts racing with new possibilities. It’s been a good 8 years or so since I’ve touched C++ other than compiling it on occasion, but now that I’ve acquired the basic skill to write nodejs modules, I think my old friend and I have some catching up to do!
Chrome Developer Tools - Evil but Amazing
Ok so the title may be a bit misleading. The simple fact is I absolutely adore Chrome’s developer tools. It’s made client side debugging a thing of beauty and fun…however users beware! After spending nearly 45 minutes trying to figure out why in the hell the heap profile was still showing 100 “cube” objects even after deleting 50 of them, I realized it was because in the console I had created a variable which referenced all 100 and never reset it to null before taking the heap snapshot (x_x)
A company is something you build around a product or service…without a product or a service, there can be no company.
Decided on .Net (via mono)
So it’s probably been a good four years or more since I last wrote any C# code, but after doing quite a lot of research, I found that C# is an extremely viable solution for high-end, high performance and scalable web service / server solutions. Accordingly to several performance charts I’ve seen, the performance difference between C# and C++ is negligible where as Java in all of the same benchmarks executed several times slower. My original plan was to develop my project in PHP and utilize HipHip, but after realizing that for the performance and scalability I wanted to achieve, PHP’s lack of real multithreading made it a no-go. On the other hand, if I wanted to build the electronic equivalent to a house by first forging a hammer, saw and nails, I’d have chosen C++, but my goal is to build something cool - not spend 6 months preparing. In short, while C# may not have the support that Java does or isn’t quite as fast as C++, I feel the benefits far exceed the downfalls.
Went hiking this past Sunday in Red Springs just outside of Las Vegas. Having been born on the east coast, I never really got to do any sort of rock climbing before, but just from this small taste of it, I’m totally hooked! The mountain I hiked /climbed was only around 2-3K feet or so I believe, but amazingly fun none the less. If you’re in the Vegas area and get sick of the casinos and drinking, definitely spend an afternoon exploring the many incredible areas in Red Rock Canyon!
Just watched this video and wanted to share it with you all. It always motivates me a ton hearing Kevin Rose speak about his experience, wins and fails. I think people all too often think that becoming successful takes magic or rituals involving blood or something, but in reality, most successful entrepreneurs didn’t start off being rich, successful, well known people. It took time, hard work and a lot of courage to keep pushing forward. That is why I respect Kevin so much.