HNHacker News
TopNewBestAskShowJobs

icode

241 karma · joined January 16, 2009

submissionscomments
icode··on A DSL in 5 Languages: Ruby, Python, PHP, C#, Java
Why dont they just take a string as the argument to search() and parse it? They could use a very SQL like Syntax:

  $collection = Braintree_Transaction::search("
   orderId LIKE 'a2d%'
   AND customerWebsite LIKE '%.com'
   AND billingFirstName='John'
   AND status() IN ('AUTHORIZED','SETTLED')
   AND amount>=10
   AND amount<=20.00)
  ");
icode··on Bcvi - run vi over a 'back-channel'
"easier to set up than sshfs"

sshfs yourname@server /some/where

How can the setup of bcvi be easier then this oneliner?

icode··on JavaScript: what is "this"?
Honestly, I think this is all too complicated. In Javascript, when you look at a line like this:

  a=1
you have to guess in which scope it changes or creates the variable a. I prefer the way PHP is dealing with scope. You simply know that "a=1" is only affecting the current scope.
icode··on Ask HN: Review my Startup - imVOX
I read every word on your website:

Unlimited FREE Voice Social Networking integration No Subscription Fees Blazing fast servers & superior sound performance Download and Chat No Fees, No Cost, No Worries! Supports: Windows XP, Vista,7 Password secured servers and channels Customizable backgrounds Superior Audio Quality Voice normalization Easy to use, clean interface

And I still wonder: What is it about? Is it something like skype? Im not a skype user so even if it is - I would still not be sure what it is.

icode··on Predictions for 2010
All of these predictions are so vague, one will never be able to judge if they are right or wrong.
icode··on ToneMatrix (flash)
Black, empty screen here. (Firefox under Ubuntu)
icode··on Ask HN: Help me make HN work well on the iPhone
Why not just make HN work in any screen size? Then it will work on IPhone and any other device as well. You just have to get rid of things with absolute size and replace them with sizes relative to their container. Maybe the textarea im writing this into is the only thing that has to be changed.

And then testing is easy too. Just resize your window.

icode··on "There's no reason only poor people should have the experience" - TED video of Bill Gates
Maybe Bill Gates should be put in a jar and be told: There is no reason only animals get treated like objects.

I know, most people will think mosquitoes aint important and have no feelings. That they are like machines.

Personally, when I look at the behaviour of mosquitoes, they have a lot in common with me and you. So I would prefer to leave them alone and let them decide on their own where to go. What if some more complex animal then humans comes along and decides "Oh, humans are so simple. We can just treat them like stones or wood". Would we agree?

icode··on Why PHP won
Not only compared to desktop applications was LAMP a huge advantage, but also compared to Microsofts Web-Technologie (IIS,MS-Server,ASP and later .NET). I was able to create apps the user wanted in the years I used MS technologie, but I did not like it very much. When I discovered LAMP it was like YEAH! and I stayed at home and coded away for weeks and some great stuff came out of this.

As for the language (you mention moving "up" to Ruby or Python), I dont really care if I do

  str_replace('stuff','zen','stuff and the art not to care');
or

  'stuff and the art not to care'.kickasstransform('stuff','zen');
or whatever the latest hottness is :-)

When it comes to things that matter, I dont miss anything in PHP. For example, Javascript is a cooler language, because it has first class functions and all that crazy shit. Ok, I dont mind that. But on the other hand, I HATE with a passion that "a=7" will by default put "a" into the global scope in Javascript. That outweights all the advanced tech in Javascript.

But the language itself is not the most important factor. Most important is all the stuff that surrounds it. When I use PHP, I get new servers within a click with any company i choose. I get the LAMP stack installed by putting an Ubuntu CD into any machine, install it and do "apt-get install php5". On IRC, there are tons of people on freenode#php (there aint many for Ruby for example). And there is a very nice manual at php.net and so on.

And VERY important to me is the whole feeling about how L,A,M and P are implemented. How I can use php on the command line, how I can start mysql from the command line and give it commandlineparameters, how one table is represented in MySql (one file for the structure, one file for the data and one for the indexes), how a database is represented in MySql (a directory)... There are millions of things I like. And they make me feel that the people who wrote L,A,M and P at least partly think like me. Thats cool and makes me productive.

icode··on The Two Types of Browser Zoom

  "I wish more browsers would
  take the lead from Firefox 3
  and adopt full page zoom"
I wish Text Zoom stays the default. I like text. I dont want pictures, videos and navigation to become bigger when I hit CTRL+. I want all the space for BIG TEXT. I dont care if the design of the page breaks.
icode··on Why PHP won
I prefer to stay anonymous. But its probably a very typical Nerd 2.0 story like the ones you hear at this website often. Only that I always stayed in my room and didnt connect to any other web2.0 people. No Blog, no press releases, no ycombinator, no investors. I just wrote some stuff that people want and got some good return from it.
icode··on Why PHP won
Im not that good with words. That outburst of delight I wrote above is probably one of the better posts I wrote. Who knows, maybe Im getting better at this. Then I might start a blog one day.
icode··on Why PHP won
I have been a coder all my life and PHP very much appeals to me. I used Assembler, Basic, Pascal, C++ and a couple of other languages and now that I code in PHP, its the best part of my life.

It enabled me to write multiple hugely successful websites that make me enough money for me, so I can do whatever I want. For the rest of my life.

I really love Linux, Apache and MySql. So doing things in LAMP is just great for me.

Hosting is a big part of my business, so yeah - its cool that PHP is all around. You can get new servers for no money in seconds.

Its a wonderful world. Im so happy, there is LAMP. I never used Perl, Ruby, Lisp or Arc. So I cannot say anything about these. I can only say I dont miss a thing with LAMP. I have a LOT of complaints about HTML and Javascript. I hated using Microsoft stuff. LAMP was the breaktrhough.

← PreviousPage 3 of 3