A Javascript code that looks like Japanese smileys

What do you see here?

゚ω゚ノ= /`m´)ノ ~┻━┻   //*´∇`*/ [‘_’]; o=(゚ー゚)  =_=3; c=(゚Θ゚) =(゚ー゚)-(゚ー゚); (゚Д゚) =(゚Θ゚)= (o^_^o)/ (o^_^o);(゚Д゚)={゚Θ゚: ‘_’ ,゚ω゚ノ : ((゚ω゚ノ==3) +’_’) [゚Θ゚] ,゚ー゚ノ :(゚ω゚ノ+ ‘_’)[o^_^o -(゚Θ゚)] ,゚Д゚ノ:((゚ー゚==3) +’_’)[゚ー゚] }; (゚Д゚) [゚Θ゚] =((゚ω゚ノ==3) +’_’) [c^_^o];(゚Д゚) [‘c’] = ((゚Д゚)+’_’) [ (゚ー゚)+(゚ー゚)-(゚Θ゚) ];(゚Д゚) [‘o’] = ((゚Д゚)+’_’) [゚Θ゚];(゚o゚)=(゚Д゚) [‘c’]+(゚Д゚) [‘o’]+(゚ω゚ノ +’_’)[゚Θ゚]+ ((゚ω゚ノ==3) +’_’) [゚ー゚] + ((゚Д゚) +’_’) [(゚ー゚)+(゚ー゚)]+ ((゚ー゚==3) +’_’) [゚Θ゚]+((゚ー゚==3) +’_’) [(゚ー゚) – (゚Θ゚)]+(゚Д゚) [‘c’]+((゚Д゚)+’_’) [(゚ー゚)+(゚ー゚)]+ (゚Д゚) [‘o’]+((゚ー゚==3) +’_’) [゚Θ゚];(゚Д゚) [‘_’] =(o^_^o) [゚o゚] [゚o゚];(゚ε゚)=((゚ー゚==3) +’_’) [゚Θ゚]+ (゚Д゚) .゚Д゚ノ+((゚Д゚)+’_’) [(゚ー゚) + (゚ー゚)]+((゚ー゚==3) +’_’) [o^_^o -゚Θ゚]+((゚ー゚==3) +’_’) [゚Θ゚]+ (゚ω゚ノ +’_’) [゚Θ゚]; (゚ー゚)+=(゚Θ゚); (゚Д゚)[゚ε゚]=’\\’; (゚Д゚).゚Θ゚ノ=(゚Д゚+ ゚ー゚)[o^_^o -(゚Θ゚)];(o゚ー゚o)=(゚ω゚ノ +’_’)[c^_^o];(゚Д゚) [゚o゚]=’\”‘;(゚Д゚) [‘_’] ( (゚Д゚) [‘_’] (゚ε゚+(゚Д゚)[゚o゚]+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ (゚ー゚)+ (゚Θ゚)+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((゚ー゚) + (゚Θ゚))+ (゚ー゚)+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ (゚ー゚)+ ((゚ー゚) + (゚Θ゚))+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((o^_^o) +(o^_^o))+ ((o^_^o) – (゚Θ゚))+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((o^_^o) +(o^_^o))+ (゚ー゚)+ (゚Д゚)[゚ε゚]+((゚ー゚) + (゚Θ゚))+ (c^_^o)+ (゚Д゚)[゚ε゚]+(゚ー゚)+ ((o^_^o) – (゚Θ゚))+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ (c^_^o)+ (o^_^o)+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((゚ー゚) + (゚Θ゚))+ (゚Θ゚)+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ (゚ー゚)+ (゚Θ゚)+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((゚ー゚) + (゚Θ゚))+ ((゚ー゚) + (o^_^o))+ (゚Д゚)[゚ε゚]+(゚ー゚)+ (゚Θ゚)+ (゚Д゚)[゚ε゚]+(゚ー゚)+ ((o^_^o) – (゚Θ゚))+ (゚Д゚)[゚ε゚]+((゚ー゚) + (゚Θ゚))+ (゚Θ゚)+ (゚Д゚)[゚o゚]) (゚Θ゚)) (‘_’);

It may look like a random array of kaomoji, the japanese smileys like (o^_^o) , (゚ー゚) , ゚ω゚ノ , *´∇`* or this monkey head (゚Θ゚); instead it’s real Javascript code, and you can run it by, clicking here.

Awesome, right?

You can find the obfuscator here: http://utf-8.jp/public/aaencode.html

Also, from the same website there is also one that only uses []()!+ and another one that makes stuff like this:

dandandin=~[];dandandin={___:++dandandin,$$$$:(![]+””)[dandandin],__$:++dandandin,$_$_:(![]+””)[dandandin],_$_:++dandandin,$_$$:({}+””)[dandandin],$$_$:(dandandin[dandandin]+””)[dandandin],_$$:++dandandin,$$$_:(!””+””)[dandandin],$__:++dandandin,$_$:++dandandin,$$__:({}+””)[dandandin],$$_:++dandandin,$$$:++dandandin,$___:++dandandin,$__$:++dandandin};dandandin.$_=(dandandin.$_=dandandin+””)[dandandin.$_$]+(dandandin._$=dandandin.$_[dandandin.__$])+(dandandin.$$=(dandandin.$+””)[dandandin.__$])+((!dandandin)+””)[dandandin._$$]+(dandandin.__=dandandin.$_[dandandin.$$_])+(dandandin.$=(!””+””)[dandandin.__$])+(dandandin._=(!””+””)[dandandin._$_])+dandandin.$_[dandandin.$_$]+dandandin.__+dandandin._$+dandandin.$;dandandin.$$=dandandin.$+(!””+””)[dandandin._$$]+dandandin.__+dandandin._+dandandin.$+dandandin.$$;dandandin.$=(dandandin.___)[dandandin.$_][dandandin.$_];dandandin.$(dandandin.$(dandandin.$$+”\””+dandandin.$_$_+(![]+””)[dandandin._$_]+dandandin.$$$_+”\\”+dandandin.__$+dandandin.$$_+dandandin._$_+dandandin.__+”(\\\”\\”+dandandin.__$+dandandin.___+dandandin._$$+”\\”+dandandin.__$+dandandin.$_$+dandandin.__$+dandandin.$_$_+dandandin._$+”\\\”)”+”\””)())();

Learn Javascript with Codecademy

If you love to learn how to program in Javascript, you would be happy to know about Codecademy.

Maybe it’s too easy for who has some experience, but in the end it’s useful, and with the gamification of the lessons, it’s funny to collect all the badges, here is my profile, with all badges collected, hahaha).

If you don’t have any programming experience, it’s useful because it explains very well.

If you, like me, learned Javascript by yourself, it’s still useful; maybe sometimes it’s a little bit boring, but there is still something that you didn’t know about, for example I had no idea what a ternary operator was (Even if, during the rest of the course, you are asked to use the classic if-else in situations where the ternary operator will be perfect).

If you are a professional, this course it’s totally useless – maybe you can think about it as a typing lesson 😝

Right now there are only Javascript lessons, in future Python and Ruby courses will be added.

What to do if Windows 8 does not run any app

(Long introduction, click here to jump to the solution)

Yesterday, when I was running Windows 8 in VirtualBox, I tried to run the default applications.

They hid all the classic application replacing them with others, more stylish, but less functional.

There is no calculator, but why use it when you can see the weather forecast in full screen with an animation of the clouds?

And then, why bother with complicated programs when you can play the piano in full screen with the mouse?

Anyway, with all of those really useful apps, the new user it’s very tempted to try them. So, I immedietely try the new Stocks app.

I click and nothing happens.

I click again, and nothing happens.

Wow, that’s more useful than I thought! 😅

After some minutes of trying some different settings, I discovered that the minimum resolution to open any application is 1024×768. The default resolution in VirtualBox, or with an unsupported video card is 800×600, too low to run any program except for Internet Explorer

So, if you want to run any Metro program, just increase the screen resolution:

  1. Click desktop and go to desktop
  2. Right click and choose screen resolution
  3. Increase the screen resolution

Done! Now you can enjoy the new apps! 😉

A semi-automatic sandwich vending shop in Tokyo

How could a small sandwich shop in a big city like Tokyo offer something new, with big shops and vending machines everywhere?

Becoming a “diy” vending shop!

What a cute idea!

According to the this review, it’s open from 11.30 am to 9.00 pm and it’s far from Tokyo downtown. But’s it’s cool:

Tateishi Burger (立石バーガー)
Address: Tokyo-to, Katsushika-ku, Horikiri 3-17-15 (東京都葛飾区堀切3-17-15)
Open 11:30 a.m.-9 p.m.

How to make JSON more readable by human eyes

For a new functionality that I am developing for this website, I am using the JSON-C application interfaces (API) from YouTube. When you try the link, you will face an huge problem: to save space and bandwidth, the file is minified, without spaces and line breakers, making it almost unreadable.

What can we do?

We can use JSON Formatter & Validator, an useful service that will parse JSON making it more readable, with syntax highlighting. Great! 👍

Photoshop can’t save file – disk full

Sunday I upgraded my Windows Home server with a new 2TB hdd, because it was becoming full.

Then, I saved an image in Photoshop 7, and i get an error “Disk full”

What?? The server has more than 1.3 TB free!

I search for a solution from Adobe and I find:

“Adobe recommends that you not save directly to servers, because writing directly to servers adds a level of complexity to the function of saving.”

Oh, great! They won’t fix the bug!

It happens that Photoshop has a known bug from year 2002 that won’t save a file in a disk that has more than 1 TB free!

How to fix the problem? Unfortunately, the only way is to create an huge garbage file to have less than 1 TB free.

How to create an huge garbage file in a short time? It’s very easy, using the command prompt! 👍

First open the command prompt with administrative privileges (On Vista and Windows 7, select “run as administrator”, on XP and below, just run it)

Then, write:

net use z: \\server\yoursharename

The share will be temporarily connected as z:, and going in z: and writing dir this comes out:

Z:\>dir
Directory Z:\

17/01/2011  19:31    <DIR>          .
17/01/2011  19:31    <DIR>          ..

0 File              0 byte
0 Directory  1.282.964.344.832 byte available

We must have less than 1000 billions of bytes available to have Photoshop working on this drive, so we have to create a file that has a size of at least 283 billions of bytes.

For creating an huge file in seconds, we use fsutil, that has this syntax:

Z:\>fsutil file createnew file.name 12000

Where 12000 is the size in bytes

I wrote this è:

Z:\>fsutil file createnew photoshop.bug 290000000000
The file Z:\photoshop.bug has been created
Z:\>dir
Directory Z:\

24/05/2011  10:59    <DIR>          .
24/05/2011  10:59    <DIR>          ..
24/05/2011  10:59   290.000.000.000 photoshop.bug
1 File 290.000.000.000 byte
0 Directory  992.930.263.040 byte available

After that, Photoshop 7 allowed to save files in that location 😉

Confirmed! (Some) Nokia 1100 can be reprogrammed for evil purposes!

A month ago, PCWorld gave the news that some Nokia 1100, were sold for 25000 euro on the black market. This is because that phone, if was produced in a now-closed production plant in Bochum, Germany, was supposed to be able to spoof another number, and receive calls and sms from the spoofed number. This can be used to receive authentication codes from banks and steal money from “phished” accounts.

A month ago, this was just speculation, as nobody was understanding why someone will pay up to 25000 euro to get a phone from the year 2003. Today, in a Yahoo Tech news, has been announced that Ultrascan, a security firm, has managed to modify the firmware to spoof not only the IMEI, but also the IMSI, thus enabling the subscriber number spoofing! So, they managed to receive someone else’s SMS. Moreover, they noticed that in Morocco, another Nokia 1100 has been sold for 5500 euro. 😲

How to open a *.vem file

Very often, people give me a VEM file that they had on their USB drive

I am a bit stunned, what is a *.vem file??? 😕 The original file owner said it was a word file… 😖

It is very easy: USB drives from Sony, are bundled with a “compressor” software that automatically compresses files during file copy. So, you might believe to have copied a *.DOC file, you will end to have a *.VEM file on your MicroVault…

To decompress it, you have to use the bundled decompressor, but… what if you are using the drive in a guest computer? Or what if you have received a VEM file by email?

So easy, just download the VEM Decompressor! No install, plain and easy, just select the file that you need to decompress, and you are done! 😎👍

The best video converter EVER!

SUPER is an awesome video converter. It can convert any kind of video without problems. Even rare containers like *.NSV, *.STR, *.VIV!

It can produce any video format:

super1

Once chosen the video container format, we choose the video codec, the audio codec, the video resolution, the framerate, the bitrate, and presto! In just a few minutes, it converts ANYTHING!

super2

SUPER (acronym of “Simplified Universal Player Encoder & Renderer”), can be downloaded from the official Website, but, that Website is a kind of a mess, so you can download it from here (version updated to April 2009).

Update 18th august 2016: their latest installer contains adware. Be careful and read carefully what are you agreeing to, don’t install toolbars and other useless and deceiving adware.

 

A 3d screen for the iPhone??

Do you remember the 3d cellphones? Thanks to 3DeeShell, it will be possible to view a 3d image also on an iPhone. This solution is an obvious simple solution: a lenticular film to apply on the screen, in this case embedded in a protective cover. When you use compatible software (well, they are just 3 programs, and are not free), it will be possible to get a three-dimensional vision of the image.

w3deeshellhowto

Is on sale for $50, but, for now, is more a proof-of-concept than an useful thing. Apple will never support this unofficial add-on, and third-party programmers also won’t; pay $50 for viewing a dozen of 3d images…

Moreover, it looks like it is needing to remove it for using the touchscreen, and also to have a plain vision. Is a kind of “amateurish” solution.

But, the designers are feeling confident in their idea, and it looks like they are about to launch a similar film for notebooks.

Update 20th september 2010: looks like this idea was a total failure, the website (wazabee.net) has already been closed. Well, when the film is applied, the iPhone is unusable, and the supported apps were… just one… and not free!