Search

Rss Posts

Rss Comments

Login

 

Posts in ‘Tech’

Pretty comments

Feb 01

UPDATE: Please refer to this post for support/updates on prettyComments

Here’s a small jQuery plugin that allow textareas to strech as content is put in. If the content goes over the defined height of the textarea, the textarea will stretch.

So no need to more scroll up in that cramped space to take a look at what you wrote 10 lines before.

It’s really easy to use, just download the file pretty-comments.js and include it in the html page where you want to allow the comment box stretching. Then put that bit of code in that same page to include the script:

<script src=“the-path/js/pretty-comments.js” type=“text/javascript” charset=“utf-8″></script>

You can then play a bit with the options which are located at the top of the javascript file, you can define if you want to have it animated or not and the speed of the animation.

Then put that bit of code in the same page you have your comment box, you need to pass the comment box id as a parameter for it to work.

<script type=”text/javascript” charset=”utf-8″>
$(document).ready(function(){
prettyComments.init(’comment’);
});
</script>

That’s really all there’s to it, if you want a demo, just leave a comment, you’ll see the box stretch :)

Files: Un-compressed (3kb,options)
Packed (1kb, animated, no options)

Demo: Right in that page, just enter a lot of content in the comment box.

If you notice any bug, need any support, just leave a comment, I’ll do my best to help you!

Note: You also need the jQuery library in order to use this plugin

Update: Version: 1.1 relased! Now the textarea can shrink back to it’s original size when you delete content from it!

A "wow” moment

Jan 30

No I’m not talking about world of warcraft, but of those moments where I get impressed by something that’s out of the ordinary, innovative.

This wow moment happened when I tried the firefox plug in PicLens, basically this plug in transforms your firefox in a fullscreen slideshow viewer. What’s so nice about it is the nice navigation they implemented in it. It’s so easy to browse images and so well integrated into the browser takes image browsing on the web to a new level.

The only thing is that it doesn’t support every sites, the main ones are there (Flickr, Facebook, Google Images …), but still, at several occasion I thought I’d like to have PicLens support on that particular site.

Try it, it’s really worth it!

Blogged with Flock

Apple Unveils MacBook Air

Jan 15

Today was the highly anticipated Mac World keynote. Lot of speculations were running around the internet, maybe the biggest one was the new MacBook Air one, turned out to be reality and Apple announced it today.

It is the slimmest laptop computer to date and pack some impressive features. Like the 13.3 inches led screen, 5 hours battery life, 3 pounds weight. What look like a nice ultra portable laptop. You even have the possibility to order it with the 64 gigs SSD drive, which sounds good, until you look at the price, over 3000$ for that version…DAMN!

I just don’t see the point of buying a computer like that, I mean the only real point of adding the SSD hard drive would be to have better performance, but then at that price, if you want more performance, why not go for a MacBook Pro. Of course it’s good they release it to the mass market now price will drop and bla bla bla, but people need to buy it for the price to drop. And who in the love of god would go for a 3000$ laptop that don’t even have 2 usb ports, or a graphic card, or a network adapter, or a 15 inch screen.

I guess it’s just the ultra portability tax that apply. It’s still an interesting product, if you compare it to other laptop in the same category it’s cheaper and looks more interesting.

I guess I’ll to get my hand on one to forge a real opinion on it.

Send me one :D

Blogged with Flock

Optimus on video!

Jan 09

Here’s a video from the CES featuring the optimus keyboard. It’s interesting to see the software driving it and how flexible the keyboard is.

And we finally know how much it will cost, range is from 400 to 1500$

Embedded Video

Blogged with Flock

The future is here

Nov 28

A Texas company named Sarcos spent six years developing an exoskeleton designed to help soldiers on the battlefield. What it essentially does is provide the additional strength or help needed to execute physically demanding tasks. What’s so nice about it is that it seems so fluid, it don’t look like it interfere in any way with what the soldiers want to do, it’s just there to help you!

I can only imagine this technology becoming mainstream and seeing fatty and the gym all proud cause they are now fit!
Take a look at the video ;)

[liveleak 109_1195663753]

Optimus Keyboard: Dream no more

Nov 21

I’m all excited, the optimus keyboard is on display at the Wired Store, which mean it might be for sale soon!

For those of you who might not know what the Optimus keyboard is, it’s in fact a regular keyboard, but all the buttons have been replaced by LCD screens. Why it’s so cool? Well to the regular user it might not sound so amazing. But for people working with multiple programs it’s always a bit hard to remember all the shortcuts associated to each of them. With the Optimus keyboard, lets say you’re in photoshop, hit apple key (or control) you regular keys (letters…) then changes to the shortcut available when you hold that key, hold apple + shift, regular keyboard then change to what’s available with that shortcut.

It’s really a sick solution, opens up a whole new world of possibilities. No prices has been released yet (not that I’m aware of) but the following picture suggest that it wont be cheap…

Optimus locked and loaded!

I want one! I soooooooo want one!