HNHacker News
TopNewBestAskShowJobs

amitu

403 karma · joined March 12, 2009

founder, fifthtry.com (amitu@fifthtry.com). creator of fastn.com (a full stack programming language designed for non programmers), and malai.sh (a peer to peer internet protocol).

Email: amitu@fifthtry.com

submissionscomments
amitu··on Dojo for jQuery Developers: A comprehensive tutorial
Like I mentioned in tutorial and in the other comment, we are doing too much today. With advent of HTML5 we are pushing more and more server logic to client. Today we have javascript templating languages, javascript MVC frameworks, all of them to address the new reality that today web clients do lot more than just manipulate DOM.

Going forward client is only going to get more and more rich, and dojo has a cohesive and consistent solution for handing these "rich" aspects.

amitu··on Dojo for jQuery Developers: A comprehensive tutorial
My opinion is that dojo should forget about backward compatibility once, or create a dojo2 fork, there is too much new things happening that are quite exciting. But dojo is slowed down due to legacy code support.

jQuery is good for another 20 years. But is backbone? or angular? or Would it be the new components thing google released?

Remember dojo is not just jquery, its jquery+backbone+requirejs and few things put together.

amitu··on Show HN: importd – d is for django
Hey singold,

The primary motivation was when making it easy to use django for API like apps. Moving to flask etc meant losing all the django knowledge and batteries. Most simple project start small, and importd makes it easy for starting small, yet importd intends to remain completely compatible with django.

importd already can play nicely with rest of django ecosystem, and I am trying to figure out what more I can do to make that easier.

amitu··on Show HN: importd – d is for django
Hey Igor, if you take a look at http://pythonhosted.org/importd/#importd-and-custom-models, you will see that importd still works perfectly well with normal django app, and it is recommended when your project grow large that you indeed split your project into apps for maximum modularity and reusability.

importd makes it easy to start using django for simple couple of pages/api apps, and it remains compatible with rest of django, that is the goal.

amitu··on Show HN: importd – d is for django
Hey, I am the author of the module, as well as that of smarturls and fhurl mentioned there.

I understand the concern about magic, and moving parts. I guess the right answer to that concern would be unittests, that I am in the process or writing.

I hope you enjoy the module as much as I do :-)

amitu··on How I make Django Easier
Here is how I made django easier: http://amitu.com/importd/ :-)
amitu··on Dojo JavaScript Toolkit 1.8 Released
"Dojo does not provide significant benefit over jQuery or similar tools to warrant switching frameworks."

This is not correct at all. Compared to jquery, dojo is significantly better option for large projects. Dojo has a very rich unified set of widgets, jQuery has plugins, but they do not play well with each other. Each jQuery plugin is unique, with no standard way to extend them. I can extend any dojo class and in a very uniform fashion.

It is possible to do write good code in jQuery, but a vast majority of them are not, jQuery is like PHP, a haphazard mix of functions that do something. Dojo is like Django etc, with everything thought out from start to end, everything gels together.

Or at least that is my initial impression, would love to know why you believe the class system, the AMD modules, the rich widget library, storage framework, MVC framework, i18n, etc offered by dojo is no benefit to you?

amitu··on Dojo JavaScript Toolkit 1.8 Released
Thanks for the suggestion, I am looking into boilerplate now.

I like that build.sh in dojo boilerplate "minifies" the html file too!

I checked your todo.sh project, I see the html page, and java loads, but nothing happens when I type something and press enter in text field. May be you just started and its not implemented yet, or may be I am doing something wrong.

My suggestion to you would be to do a hosted version, that syncs to dropbox. That is my plan for iKog. Parse is good if you do not want to have a dependency on dropbox, as a storage. Both of these allow me to access todo list from anywhere, the applet solution does not allow that.

It all depends on what you want to do, for me it is a playing ground to work with different libraries/services.

amitu··on Ask HN: Keeping yourself hire-able while not working?
This.

Go code. Open source. Port your first game to HTML5/canvas, just for the kicks. Pick up new language. Record a screencast of hello world of some technology you like. Port an algorithmically interesting code, eg a hashing function from some language to another. Start a blog. Do an interview with a few founders of recently announced startups about their technology stack, write about it. Get involved in hackernews discussions. There is so much to do!

Whether you get money or not, keep coding, keep creating, keep passionate about making bits dance. Job/money will come.

amitu··on Dojo JavaScript Toolkit 1.8 Released
Point 1. is indeed a "uncomfortable" part of dojo. Getting started is difficult. For a lot of demo and hello world like apps CDN version is fine, assuming they are only using the modules packaged into dojo.js on CDN. If you start using other modules, then you will soon see a escalating number of HTTP requests, and for this reason using CDN version for production is bad idea.

Its just not that easy to get started with and get a sane production build from dojo yet. Hope all of this will change by the time 2.0 is out.

amitu··on Dojo JavaScript Toolkit 1.8 Released
It is written using dojo. It showcases a rather rich, albiet rather slow, web app done using dojo.
amitu··on Dojo JavaScript Toolkit 1.8 Released
One of the best javascript library out there, checkout my work in progress attempt to port ikog to web while I am learning dojo: https://github.com/amitu/ikog.

I find dojo project way more neater than an equivalent jquery project by default.

Module systems rock. Real object oriented programming rocks, see how I extended Pager to make PausePager, this is how object oriented programming was meant to be. The fact that I can extend any dojo class, and the fact that dojo comes with a large collection of class, its just too sweet.

I have not yet created a "build", so there are a bit too many http requests (check work in progress live version here: http://amitu.com/ikog/), but I am hoping after build this issue would be solved.

Lets see how it goes.

amitu··on Beautiful mini language for outputing HTML in Python
One reason to use this would be to get well indented HTML.

Finding the potentially missing closing </div> tag has been a common problem I have seen some people face.

amitu··on Call for a Better Web
My aborted (due to lack of time) attempt to do the same: http://code.google.com/p/slash-social/w/list.
amitu··on Ask HN: Where do you live?
Mumbai, India
amitu··on Loads of video lectures on engineering topics by IIT professors
Somebody please download all the videos and create a torrent for the same. :-)
amitu··on Chrome OS is scary enough to quit Google.
Don't look at it as a threat, look at it as an opportunity. What Google is doing with Chrome OS is making one application the entire point of OS. They are wrapping linux kerner around Chrome. This can be done for Firefox too, and for Konquerer/Opera etc.

We have always thought that Operating Systems have become very complex, we do not need all those /devs and /procs, we do not really care about sysctrls etc. We want to build fast desktop applications.

Javascript is becoming faster everyday. Leave that PyXPCOM is probably within the grasp in a year or two max, or even sooner.

GNU/Linux has traditionally lagged in GUI app development, there are so many half mature options to pick from, the only clear winner coming out to be Mono/CSharp, which is ironical at best.

Firefox is becoming more and more interesting with the advent of HTML5.

All this is leading to an eventuality that Firefox should be able to do most of desktop applications. There is no reason why Gnome Terminal, Pidgin, Transmission can not be written in Javascript/PyXPCOM.

This could rid us from the plethora of /etc files, from the command line.

What sites you visit once that future arrives, and what are going to be the cookie retention policies are going to be completely under your control.

Its not about privacy, they are rethinking how operating systems are done.

amitu··on Google Chrome OS is Linux. Not. (Here comes applinuxes?)
It sure sound like a good project. Google gears lets you put all your javascript etc offline when net is not available. Even otherwise, all OS like components and downloadable programs of today can be converted to XPI's/Browser extensions.

Just move the tab bar at the botton, Bookmarks button in place of "Start Menu" and you have nearly got yourself a complete desktop. New windows with multiple tabs can act like multiple desktop features of Gnome/KDE.

If nothing else, it would be an interesting experiment, I frankly do not see any reason it can't be done by someone who knows enough of linux startup scripts, and desktop environments.

amitu··on Techcrunch misleading about dangers of using "tweet" in names
:-)

I considered blogging it, and well my blog runs on gitology (http://www.amitu.com/gitology/) that I developed, required me to create a new post, git commit it, git push it, the git pull it on my webserver.

fwd2tweet.com does help you write a quick "long" tweet as easily as writing a mail to a friend.

amitu··on Techcrunch misleading about dangers of using "tweet" in names
I call it stealing because if I come and tell you a story and you publish it, without any attribution at all, then its almost stolen. Its quite gray area, but not something I would consider ethical.
amitu··on Techcrunch misleading about dangers of using "tweet" in names
Nopes, just friends. Used to work with me in a company I worked two years ago.
amitu··on Can You Buy a Silicon Valley? Maybe.
In India, the city that most qualifies the requirements if Mumbai(Bombay). It has got an IIT, and well rich people love to live here.

Banglore, Hyderabad, even Pune and New Delhi belt are seen as thriving IT cities of India largely because of the government incentives to companies offering to setup shops there. The employees all hated that those places. A lot of batch mates of mine went to Banglore or Delhi and preferred Bombay to live, but big companies are not around.

I guess what is lacking is success stories.

← PreviousPage 3 of 3