Big Chimpin!
Avatar

MyFreeWeb

Vcard Download vCard   what is this?
Rss_icon

Recent Activity


Filter by:
All
  • Android's UI degrades, not gracefully

    NO NO NOOOO!!!11111 OH SHIT GIVE ME MY NICE MENU BUTTON BACK!!!!!!!11111111111111

    Permalink | Leave a comment  »

  • Kernel panic

    on my Mac. Just clicked on a photo from my Windows Mobile phone in Finder.

    Mac shows the HATE :)
    Log says that it's because of com.apple.iokit.IOUSBMassStorageClass... no, because of this thing:

    Permalink | Leave a comment  »

  • Use cases of Web Gradients and JACG

    I was checking App Engine logs for Web Gradients when I found that it's quite popular! There's some sites using it, like this:

    And even more users of my JACG (Just Another Corners&Gradients) jQuery plugin, which uses Web Gradients as a fallback for old browsers (Firefox <= 3.5, IE) with no native gradient support:
    And so on. Thanks everyone for using my plugins and apps! :)

    Permalink | Leave a comment  »

  • Thoughts on... registration

    Dear web developers, I don't understand why your websites/applications are asking me for my real name and my birthdate.

    It's just a waste of space in your database.

    Of course, big social networks (like Facebook and VK) can't check if the "real" name is really real (yeah :)). But when I created a VK account for testing, with the name "Vasya Pupkin" (it's like John Doe for russians) and some random photo from Google Images... I saw a badge on my profile. It said that the information about me is not real. (So what?)

    But, forget it. Look at Devio.us! Yeah, looks like a great service. But why they're asking me... wait, WHY the real name is necessary for the OpenBSD shell account?? It's not a social network. Tried to register as "Grigory V" — guess what? This:
    Bad.

    Hurl's registration is the best registration I've ever seen.

    So cool, so simple.

    Permalink | Leave a comment  »

  • while python rocks

    The main loop in some Python programs looks like this:

    while True:
        do.something()
    

    Or even more boring:

    while 1:
        do.something()
    

    Make fun of it, guys! ;)

    while 'Python rocks':
        do.something()
    
    while 'TYPICAL TWITTER USER IS CHILLIN WITH HIS NIGGAZ':
        do.something()
    

    Permalink | Leave a comment  »

  • Creating scalable CSS circles

    Everybody loves circles (mostly script.aculo.us). But these circles have their width and height defined in pixels. That sucks!
    You thought you can't make the circles without exact sizes in px? You can.
    We'll use a little jQuery trick — it will set width == height.

    wh $('.circle').css('height');
    $('.circle').css(widthwh });

    And the CSS:
    .circle {
        text-aligncenter;
        border-radius9000em;
        -webkit-border-radius9000em;
        -moz-border-radius9000em;
        
        fontnormal normal bold 4em Helvetica;
        backgroundblackcolorlime;
    }
    Test it here.
    Ok, we can zoom in — everything will be OK. It will be perfect with different font sizes.

    But there's two problems now: changing font sizes on the fly and zooming before opening the page. We'll use the excellent jQEm plugin to solve the first problem. Let's put the trick in a function and call it on the emchange event:

    function yaycircles ({
        wh $('.circle').css('height');
        $('.circle').css(widthwh });
    }
    yaycircles();

    $('.circle').bind('emchange'function ({
        yaycircles();
    });

    It rocks now :) I don't know how to solve the second problem, but I think that no one will zoom before opening the page.

    Permalink | Leave a comment  »

  • Lyrics

    wow. Just opened lyrics for Paramore - Fences . Of course I knew that these words mean something more...

    «i think that the song is about this famous person who is always gettin talked about. and when they say that its abvious tht youre dying it doesnt mean that they r really dying. they mean that they r dying inside from all the lies aand rumors. and then hayley says she will teach then how to build their fences so that they can block out all the rumors...» © jelopop

    Completely agree with this comment.
    Yeah, the song is awesome, go listen it now.

    P.S. 1000 plays on last.fm, yay:

    Permalink | Leave a comment  »

  • About iPad

    Oh, the iPad... I want it... or not?

    On the one hand, it is very awesome. Like a big iPod Touch, but with iWork and other cool apps. It's very good for entertainment. YouTube HD, awesome interface for photo gallery... well, awesome interface for everything. And it's a big GPS navigator.

    On the other hand, it's not good for work. I like the interface of Keynote, the animations, moving the slides with multi-touch... but my work is not making presentations. And I never need to use those "office" software. I'm a programmer at all. And it's a bit expensive ($500). For example, zenPad costs $155.

    So, I'll buy an iPad only if Emacs will be ported to it!!

    Permalink | Leave a comment  »

  • Designing an iPad web application with jQTouch and Invisible CSS

    If you know jQuery and iPhone, you must know jQTouch. It's a very awesome plugin for iPhone web apps. It supports animation, geolocation, swipes... well, everything. And these apps (made with jQT) aren't limited to iPhone — I can use them on my Windows Mobile phone with Opera 10 :)

    So imagine that we need a to-do app. But first you must know the difference between iPhone and iPad applications.

    iPhone ones can display only one screen — list of items or one of these items.

    iPad ones can display both at the same time. Just because of the biiiiig screen! (we're focusing on landscape mode right now)

    Let's design this app. Just one screen with no functionality — I said «design».

    oooooooooooooooo

    <!DOCTYPE html>
    <html>
    <head>
      <title>iPad To-do</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
      <link rel="stylesheet" href="http://krosswordr.ru/site_media/i/jqtouch/jqtouch.min.css" /> 
      <link rel="stylesheet" href="http://krosswordr.ru/site_media/i/themes/apple/theme.min.css" /> 
    </head>
    <body>
      <div id="main" class="current">
        <div class="toolbar"><h1>iPad To-do</h1></div>
        <ul class="rounded">
          <li class="arrow">Inbox</li>
          <li class="arrow">Today</li>
          <li class="arrow">Tomorrow</li>
          <li class="arrow">Scheduled</li>
          <li class="arrow">All tasks</li>
        </ul>
      </div>
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://krosswordr.ru/site_media/i/jqtouch/jqtouch.min.js"></script>
    <script type="text/javascript">
      $(window).load(function(){
      $.jQTouch();
      });
    </script> 
    </body>
    </html>
    

    Well, it was easy. If you want to make an app for iPhone, you should add another screen now. But we want it for the iPad, right? My latest creation, Invisible CSS Framework comes right there. We'll make two columns instead.

    this code! fork it!

    That's right. It's awesome! Now it's your job to add functionality and make a better design ;) And follow me on Twitter.

    Permalink | Leave a comment  »

Next page