• Explore Vox
  • Culture
  • Entertainment
  • Life
  • Music
  • News & Politics
  • Technology
  • Join Vox
  • Take a Tour
  • Already a Member? Sign in
mtsuyugu

mtsuyugu's blog

  • mtsuyugu’s Blog
  • Profile
  • Neighbors
  • Photos
  • More 
    • Audio
    • Videos
    • Books
    • Links
    • Collections

project euler

  • Jul 8, 2008
  • Post a comment

Now I'm challenging project euler in scheme. Project euler is, with the words at the site, "a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve."

At first, scheme was not comfortable language for me because I have studied scheme only in CS class in university as one of functional languages several years ago. Now I enjoy to solve problems in scheme, using another part of my brain than thinking with procedual language like C.

You can see my works at hatena diary. Although additional descriptions is written in Japanesse, you could understand my program if  you are interested in project euler and/or scheme.

Post a comment

tried processing.js

  • May 15, 2008
  • Post a comment

I tried John Resig's processing.js, which is processing implementation on javascript.

This is a program to draw the Sierpinski carpet fractal.

var max = 3;
void draw_iter(x,y,w,h,n){
var wn = w/3;
var hn = h/3;
pushMatrix();
translate(x,y);
rect(wn,hn,wn,hn);
popMatrix();
if( max <= ++n ) return;
for( var i = 0; i < 9; i++ ){
if( i == 4 ) continue;
draw_iter( x+wn*(i%3), y+hn*Math.floor(i/3), wn, hn, n );
}
}

void setup(){
size(144,144);
background(120);
stroke(255);
draw_iter(0,0,144,144,0);
}

As you see, it's quite simple. You can see the output picture  of this program in my another blog

Post a comment Tags: javascript, processing, processing.js

Twitter Sticker

  • May 6, 2008
  • Post a comment
Twitter Sticker!
Twitter Sticker!

A weeks ago, twitter in Japanese was released. on 3rd May, A member of Twitter Japan (a.k.a @twj) hold off-line meeting in Yoyogi park, Tokyo. Unfortunately, however, it was raining, but more than ten people came there. @twj gave us two sticker to each people.

@gonsee took a photo: please take a look http://www.flickr.com/photos/gonsee/2460504617/
Post a comment Tags: sticker, twitter

Flickr no vids greasemonkey

  • Apr 25, 2008
  • Post a comment

Do you agree Flickr videos? Of course, I agree.

If you can't accept Flickr video anyway, why don't you use my greasemonkey userscript?

When a page listing images including videos is loaded, what is shown at first is not a embed flash object but just a image of its first frame. It is not until you click 'play button' image that a video object is loaded. And, the video plays automatically when you see a page for a certain video. However, a first frame image is loaded in HTML and hidden by CSS.

So, hiding 'play button' and with some DOM scriptings, this greasemonkey takes you non-video flickr-verse as before although I don't think it is fun.

Post a comment Tags: flickr, greasemonkey

Greasemonkey user sciprt: Flickr stats shows query paramters

  • Apr 20, 2008
  • Post a comment
Decode parameter in flickr stats
Decode parameter in flickr stats

If you are a pro member of flickr, you can see referrers from which they came to your photo pages in your flickr stats. In those stats pages showing referrer s, not a whole url, but only query parameters are displayed if domain of a referrer is search engine such as "yahoo.com" or "google.com".

However, it supports only referrers of major search engine and doesn't support those of other domains.

To improve this, I made a greasemonkey user script for firefox.  I'm sorry that it should be configured to display query parameter of domains you want to see. This sciprt also supports to decode non-ascii query parameter (see a image on the right). Please let me know if you know other domains whcih may have query parameter. I will update my script.

Post a comment Tags: flickr, greasemonkey

About Me

mtsuyugu
Japan
View my profile

マイリンク

  • わたしの日常(in Japanese)

Neighborhood

  • shinyai
    shinyai Updated: Yesterday
  • チームVox
    チームVox Updated: Jun 3, 2009

Explore friends, family, friends & family, or entire neighborhood.

View my neighbors

Tags

  • decode
  • flickr
  • greasemonkey
  • javascript
  • processing
  • processing.js
  • referrer
  • stas
  • sticker
  • twitter

View my tags

Archives

  • July 2008 (1)
  • May 2008 (2)
  • April 2008 (2)
  • 2008 (5)

Subscribe

  • Subscribe to a feed of these posts
  • Powered by Vox
  • Theme designed by Lilia Ahner
  • Use this theme

MyBlogLog

Photos

  • Twitter Sticker!
  • Decode parameter in flickr stats

View more of my photos

  • Home
  • Explore
  • Tour Vox
  • Start a Vox Blog
Already a member? Sign in

Back to top

View Vox in your language: English | Español | Français | 日本語

Brought to you by Six Apart, creators of Movable Type, Vox and TypePad.
Six Apart Services: Blogs | Free Blogs | Content Management | Advertising

Vox © 2003-2008 Six Apart, Ltd. All Rights Reserved.
Help | Learn More | Terms of Service | Privacy Policy | Copyright | Advertise | Get a Free Vox Blog

Loading…

Adding this item will make it viewable to everyone who has access to the group.

Adding this post, and any items in it, will make it viewable to everyone who has access to the group.

Create a link to a person
Search all of Vox
Your Neighborhood
People on Vox

(Select up to five users maximum)

Vox Login

You've been logged out, please sign in to Vox with your email and password to complete this action.

Email:
Password:
 
Embed a Widget
Widget Title: This is optional
Widget Code: Insert outside code here to share media, slideshows, etc. Get more info
OK Cancel

We allow most HTML/CSS, <object> and <embed> code

Processing...
Processing
Message
Confirm
Error
Remove this member