[ del.icio.us poetry ]

http://www.conversationagent.com/2010/08/34-reasons-to-start-a-blog.html
http://www.nczonline.net/

Recent Posts

The value of HTML validation

Tags: ,

This post has been percolating in my mind for some time, and reading Chris Heilmann’s post about Remy Sharp’s site. Chris and I have had more than a couple exchanges about this very topic and we’ve had to agree to disagree in the past. I’ve been very vocal, both publicly and privately, about my disdain [...]

What is a non-blocking script?

Tags: , ,

It was just a couple of years ago that Steve Souders introduced the concept of blocking vs. non-blocking into the common lexicon of web developers around the world. His big focus was pointing out how <script> tags block the rendering of the page as well as the downloading of other resources. Obviously, this is really [...]

Working with bidirectional (bidi) text and RTL languages on the web

Tags: , , ,

While a lot of focus in the web development world has shifted to mobile development, there’s still a subject within desktop development for which that hasn’t been much written: dealing with bidirectional (bidi) text and right-to-left (RTL) languages. The two languages that people frequently discuss when the topic of RTL comes up are Hebrew and [...]

Determining if an object property exists

Tags: , , ,

One of the most basic tests developers perform in JavaScript is whether or not a particular property exists on an object. Since feature detection is the preferred method of code forking, developers are encouraged to test for the existence of properties before using them. There is a lot of buggy JavaScript code out there as [...]

Empty string URLs - browser update

Tags: , , , , ,

Frequent readers will remember my mission to stop browsers from making automatic requests when an empty string URL is reference in script. My mission began with a post entitled, Empty image src can destroy your site, in which I explained just how devastating this browser quirk can be to an enterprise system. After that point, [...]

Data URIs make CSS sprites obsolete

Tags: , ,

I was sitting in a talk given by Facebook’s Jason Sobel at Velocity this year, when I was a bit surprised by an impassioned plea that he made at the tail end of the talk. To paraphrase, Jason said that CSS sprites require too much work for average web developers and that we should be [...]

Cross-domain Ajax with Cross-Origin Resource Sharing

Tags: , , , , , ,

A couple of years ago, web developers were banging their head against the first wall in Ajax: the same-origin policy. While we marveled at the giant step forward enabled by cross-browser support for the XMLHttpRequest object, we quickly bemoaned the fact that there was no way to make a request to a different domain from [...]

Understanding IE8’s site compatibility view list

Tags: , , ,

Not too long ago, I wrote about Internet Explorer 8’s browser mode and document mode settings. The goal of the post was to familiarize everyone with the various modes that IE8 can run your document in. Since that time, I’ve had ample opportunity to play with the browser and figure out a bunch of quirks [...]

The basics of web advertisement tracking

Tags: , , , ,

There is little debate over how important advertising is to the web. Web ads have made Google a powerhouse and everyone else envious. Their Adsense product made ads ubiquitous on even the smallest of web sites and yet people still don’t have a good understanding of ads are tracked, and therefore, how they make money. [...]

Towards more secure client-side data storage

Tags: , ,

Last year, I started digging into the various client-side data storage alternatives that had popped up as a result of HTML5. These included sessionStorage, localStorage, and client-side databases. Though I was glad to see movement in this direction, I was unhappy with some of the results. I started my exploration around sessionStorage, and even though [...]

From Elsewhere

Copyright © 2004-2009 Nicholas C. Zakas. All Rights Reserved. Blog Feed

http://www.roomarranger.com/
English / esky
Download version 5.6.5
Free for 30 days. All languages. 2MB
Note: VRML plugin required for 3D

alternative mirror .zip
Room Arranger
Design your room, office, apartment
or house, plan gardens, and more...

- In case the downloaded file comes corrupted,
  please try again from another mirror
- Do not uninstall the older version
Design your room, an apartment consisting of more rooms,
floor plan, or the whole house with more floors.

Room Arranger has simple user interface
and is easy to work with. Once you get
the basics, you can draw whatever
you imagine. Can't find your piece
of furniture in the library? Create it...

Program runs on Windows 98, ME, NT, XP,
Vista, 7. You will need emulator on Linux
(Wine) and Mac (e.g. CrossOver Mac).

Room Arranger is shareware. It is distributed free of charge.
You are free to evaluate Room Arranger for a period of 30 days,
then you are required to register the program.

(Project shown courtesy of Radka Polnick)

VRML Room Arranger can show you your project in 3D. It uses VRML standard for it. You can put the generated 3D scene on your web page, however you need a browser plugin to display it, even in the program.

Although we are working hard to develop our own 3D viewer, you still need to install any VRML viewer available for free. None of them is part of our installation program.

Our picks:

Check 3d testing scene to see whether it works.

Highlights for version 5.6:
  • Start Page with search, shortcuts to libraries, and common tasks
  • New user interface colors
  • Load background image with floor plan and draw walls
    on top of it
  • Dimension lines in side editing
  • Select print font for object captions
In case you missed previous releases, Room Arranger can insert
images (logos) into the project, you can draw any polygon, and many
new objects are available in the library. 3D viewing is also possible
in own window, not in web browser.

Read more about all features...

For the entire list of release notes, see What's New file

fountain Everybody needs something different. Every piece of equipment is special.

synthesizer We are not able to put everything into Room Arranger. But you can quickly and easily design all your special objects on your own in it. Some contributed to our On-line object library and shared their work.

The program can also be used in the variety of other areas - garden architecture, housing development (houses as objects), webdesign... long train

Maybe you will find more inspiration in the Gallery of works created by users.

(Objects courtesy of wc, tryoruda and gerrit)

Your suggestions and bug-reports are welcome. Please write only in English.
E-mail us on rooarr@seznam.cz or use the form below.

Your e-mail:

Message:   (required)



Softpedia 100% Clean
Find out what people think
about Room Arranger.

See awards & comments...

Share on Facebook

Google bookmark

  RSS feed

News

You can follow the news on our Twitter account. We are currently working on version 5.7 with a better support for textures.

Translations

The software is translated into many languages, but we are still searching for new ones.

Please contact us even if you want to takeover existing translation.

Free license as a reward.

Languages

http://addandsubtract.livejournal.com/53101.html
http://lifehacker.com/5628396/the-basic-guide-to-troubleshooting-common-windows-pc-problems
http://naldzgraphics.net/tutorials/a-collection-of-psd-to-html-conversion-tutorials/
http://raphaeljs.com/
 

 What is it?

Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web. If you want to create your own specific chart or image crop and rotate widget, for example, you can achieve it simply and easily with this library.

Raphaël [ˈrafēəl] uses the SVG W3C Recommendation and VML as a base for creating graphics. This means every graphical object you create is also a DOM object, so you can attach JavaScript event handlers or modify them later. Raphaël’s goal is to provide an adapter that will make drawing vector art compatible cross-browser and easy.

Raphaël currently supports Firefox 3.0+, Safari 3.0+, Chrome 5.0+, Opera 9.5+ and Internet Explorer 6.0+.

Nominate your favourite JavaScript Library now!

 How to use it?

Download and include raphael.js into your HTML page, then use it as simple as:

// Creates canvas 320 × 200 at 10, 50
var paper = Raphael(10, 50, 320, 200);

// Creates circle at x = 50, y = 40, with radius 10
var circle = paper.circle(50, 40, 10);
// Sets the fill attribute of the circle to red (#f00)
circle.attr("fill", "#f00");

// Sets the stroke attribute of the circle to white
circle.attr("stroke", "#fff");

 Demos

http://www.ehow.com/how_2160460_custom-iphone-ringtones-free.html
http://langwitches.org/blog/2010/09/02/21st-century-pd-practice-what-you-preach/
http://thepiratebay.org/torrent/5022393/The_Sims_3_-_Razor1911_Final_MAXSPEED

Details for this torrent 

The Sims 3 - Razor1911 Final MAXSPEED
Type:
Games > PC
Files:
8
Size:
5.58 GiB (5995835046 Bytes)

Spoken language(s):
English
Tag(s):
The Sims 3 Razor1911 Final MAXSPEED sims sims 3 torrent free download torrent download
Quality:
+140 / -86 (+54)

Uploaded:
2009-07-25 14:44:45 GMT
By:
extremezone VIP

Seeders:
2899
Leechers:
1278
Comments
890  
picture




Toolbar

The Sims 3 - Razor1911 Final MAXSPEED

The Sims 3 (C) Electronic Arts

Date: 2009-05-25

Game Type : Simulation

Size: 1 DVD

Protection: Serial

Game Notes: The   freedom   of  The  Sims  3  will  inspire  you  with  endless  creative 
possibilities   and  amuse  you  with  unexpected  moments  of  surprise  and 
mischief!  Create  over  a  million  unique  Sims  and  control  their lives.
Customize  everything from their appearances, to their personalities and even 
the  home  of their dreams. Then, send your Sims out to explore new locations around 
town  and  to  meet  other  Sims  in  the  neighborhood.
Go online to download  exclusive  content  and  show  off your own creations to the world.
With  all-new  quick challenges and rewarding game play, The Sims 3 gives you the freedom 
to choose whether (or not!) to fulfill your Sims’ destinies and make their wishes come true.

Install Notes: 

1. Mount or Burn image
2. Install and use one of serials or keygen from razor1911 dir

Final Version Install Notes: 

1.Run and Install Final Version Patch
2.Copy TS3.exe and TSLHost.dll from crack dir to installation folder GameBin folder (overwrite - replace)
3.Start playing!

Note: recommended to start this game from ts3.exe (from bin folder - create a shortcut to desktop) not from launcher and also if you still 
encounter problems try to block ts3.exe from your firewall		

Comments

Darktangent10 you're my hero! Thanks a lot man! Had the exact same problem and it worked just fine!
i like your KeyGen x)
i like your KeyGen dude x)
I like your KeyGen dude x)
Especialy the Baloo song
Can someone get their head out of their ass for two minutes to explain how to install WITH EXPANSION PACKS in a CLEAR way using THE ENGLISH FUCKING LANGUAGE. Is it so hard just to do a step by step?
SEED PEOPLE!!
what is the installation folder GameBin that i need to copy the crack into?
It says that it needs more space when i try to copy it into the game bin folder. Help?
Did everything the ReadMe said, on first boot of the game a message appeared telling me my disk could not be verified. After a few hours of messing around I found that if you uninstall the game, then re-install and just use the crack rather than installing the patch you included, it works... Thankyou, a good torrent, but the patch doesen't work, well atleast it doesen't for me...
Will this work with Windows 7 32-bit? I want to make sure before I spend several days downloading this. (Slow crappy Internet connection here)
Have been playing for 2 hour now and everything works like it should do! and install was easy and worked good like allways when it's Razor :D
Can someone help me UNINSTALL this? Everything I tried to get the game to work failed so I try to uninstall and it keeps on telling me that I can't because it's in use. It's NOT. All of a sudden I have what looks to be a new drive "DVD Drive E: Sims3" Is that why I can't delete it? Can someone please help me remove this? It's 5GB of space I'd like to have freed. I appreciate any help, thanks.
http://lifehacker.com/5583307/
http://www.cracktwo.com/2010/01/rare-photos-of-famous-people-125-pics.html
http://www.interbent.com/boston-red-soxs-fenway-park-by-color/
Your Ad Here
Boston Red Sox’s Fenway park is one of the most famous baseball stadiums in history. Known for the infamous “Green Monster” which has shut down many opposing teams home run attempts. The famous read seat and the blinking signal light on the John Hancock building are some of the more well known Boston traditions. See what else Bostons long baseball history has to offer.

 

Boston Red Sox's Fenway Park by Color

Win 2 Tickets to a Red Sox Game!!

Embed the infographic above with the code below:
Thumbnail only (580 x 649)

<p><a href=" http://www.interbent.com/Boston-Red-Sox-Fenway-Park-By_Culah.jpg"><img src="http://www.interbent.com/Boston-Red-Sox-Fenway-Park-By-Culah-Thumb.png" alt="Boston Red Sox's Fenway Park by Color" /></a><br />Source: <a href="http://www.interbent.com/boston-red-soxs-fenway-park-by-color/">Red Sox's Fenway Park by Color</a></p>

Full Size Infographic (780 x 9336)

<p><a href=" http://www.interbent.com/Boston-Red-Sox-Fenway-Park-By_Culah.jpg"><img src="http://www.interbent.com/Boston-Red-Sox-Fenway-Park-By_Culah.jpg" alt="Boston Red Sox's Fenway Park by Color" /></a><br />Source: <a href="http://www.interbent.com/boston-red-soxs-fenway-park-by-color/">Red Sox's Fenway Park by Color</a></p>

Popularity: 28% [?]

Your Ad Here

Reader Comment

http://www.laptop-battery-charger.net/index.htm (September 3rd, 2010, 11:27 am)

It’s very exciting!

Leave a Comment

http://www.iraqgoals.tv/index.html
Fri, 03 September, 2010
ADS
Sep03

TV Guide for Friday 03/09/10

All times in CET 2+GMT
CHANNEL 1
12:00 CET Central Coast M vs Melbourne Victory
20:15 CET Switzerland - Australia
CHANNEL 10
20:00 CET Romania - Albania
CHANNEL 11
17:00 CET Armenia - Ireland
20:00 CET Latvia - Croatia
CHANNEL 12
18:00 CET Kazakhstan - Turkey
21:00 CET Iceland vs Norway
CHANNEL 13
18:30 CET Moldova - Finland
21:00 CET Portugal vs Cyprus
CHANNEL 14
20:00 CET Sweden - Hungary
CHANNEL 15
20:15 CET Luxembourg - Bosnia & Herzegovina
CHANNEL 16
20:45 CET Belgium - Germany
CHANNEL 17
20:45 CET San Marino - Netherlands
CHANNEL 2
13:30 CET China vs. Iran
18:30 CET Ukraine U21 - France U21
20:30 CET Estonia - Italy
23:00 CET Algeria - Tanzania
CHANNEL 3
12:40 CET MotoGP: Grand Prix San Marino
20:15 CET Lithuania vs scotland
CHANNEL 4
11:30 CET NRL: Broncos vs Raiders
19:00 CET Portugal U21 - England U21
21:00 CET England - Bulgaria
CHANNEL 5
11:30 CET NRL: Gold Coast Titans vs West Tigers
20:45 CET Spain vs Liechtenstien
CHANNEL 6
17:30 CET Sweden U21 - Israel U21
20:45 CET Slovenia - Northern Ireland
CHANNEL 7
19:30 CET Montenegro - Wales
CHANNEL 8
17:00 CET Bosnia & Herzegovina U21 - Italy U21
20:45 CET Greece - Georgia
CHANNEL 9
19:00 CET Faroe Islands - Serbia
21:00 CET France - Belarus
http://wwwhatsnew.com/2010/09/02/25-bancos-de-imagenes-gratuitos/
http://nuncamas.org/
http://web.stonehill.edu/compsci/History_Math/math-read.htm

How to Read Mathematics


by


Shai Simonson and Fernando Gouvea


Mathematics is a language that can neither be read nor understood without initiation. 1

 

A reading protocol is a set of strategies that a reader must use in order to benefit fully from reading the text. Poetry calls for a different set of strategies than fiction, and fiction a different set than non-fiction. It would be ridiculous to read fiction and ask oneself what is the author's source for the assertion that the hero is blond and tanned; it would be wrong to read non-fiction and not ask such a question.  This reading protocol extends to a viewing or listening protocol in art and music. Indeed, much of the introductory course material in literature, music and art is spent teaching these protocols.

 

Mathematics has a reading protocol all its own, and just as we learn to read literature, we should learn to read mathematics.  Students need to learn how to read mathematics, in the same way they learn how to read a novel or a poem, listen to music, or view a painting.  Ed Rothsteins book, Emblems of Mind, a fascinating book emphasizing the relationship between mathematics and music, touches implicitly on the reading protocols for mathematics.

When we read a novel we become absorbed in the plot and characters.  We try to follow the various plot lines and how each affects the development of the characters.  We make sure that the characters become real people to us, both those we admire and those we despise.  We do not stop at every word, but imagine the words as brushstrokes in a painting.  Even if we are not familiar with a particular word, we can still see the whole picture.  We rarely stop to think about individual phrases and sentences. Instead, we let the novel sweep us along with its flow and carry us swiftly to the end.  The experience is rewarding, relaxing and thought provoking.

Novelists frequently describe characters by involving them in well-chosen anecdotes, rather than by describing them by well-chosen adjectives.  They portray one aspect, then another, then the first again in a new light and so on, as the whole picture grows and comes more and more into focus.  This is the way to communicate complex thoughts that defy precise definition.

Mathematical ideas are by nature precise and well defined, so that a precise description is possible in a very short space.  Both a mathematics article and a novel are telling a story and developing complex ideas, but a math article does the job with a tiny fraction of the words and symbols of those used in a novel.  The beauty in a novel is in the aesthetic way it uses language to evoke emotions and present themes which defy precise definition.  The beauty in a mathematics article is in the elegant efficient way it concisely describes precise ideas of great complexity.

What are the common mistakes people make in trying to read mathematics?  How can these mistakes be corrected?

Dont Miss the Big Picture

Reading Mathematics is not at all a linear experience ...Understanding the text requires cross references, scanning, pausing and revisiting 2

Dont assume that understanding each phrase, will enable you to understand the whole idea.  This is like trying to see a portrait painting by staring at each square inch of it from the distance of your nose.  You will see the detail, texture and color but miss the portrait completely.  A math article tells a story.  Try to see what the story is before you delve into the details. You can go in for a closer look once you have built a framework of understanding.  Do this just as you might reread a novel.

Dont be a Passive Reader

A three-line proof of a subtle theorem is the distillation of years of activity.  Reading mathematics involves a return to the thinking that went into the writing 3

Explore examples for patterns. Try special cases. 

A math article usually tells only a small piece of a much larger and longer story.  The author usually spends months discovering things, and going down blind alleys.  At the end, he organizes it all into a story that covers up all the mistakes (and related motivation), and presents the completed idea in clean neat flow.  The way to really understand the idea is to re-create what the author left out.  Read between the lines.

Mathematics says a lot with a little.  The reader must participate.  At every stage, he/she must decide whether or not the idea being presented is clear.  Ask yourself these questions:

Why is this idea true?
Do I really believe it?
Could I convince someone else that it is true?
Why didn't the author use a different argument?
Do I have a better argument or method of explaining the idea?
Why didn't the author explain it the way that I understand it?
Is my way wrong?
Do I really get the idea?
Am I missing some subtlety?
Did this author miss a subtlety?
If I can't understand the point, perhaps I can understand a similar but simpler idea?
Which simpler idea?
Is it really necessary to understand this idea?
Can I accept this point without understanding the details of why it is true?
Will my understanding of the whole story suffer from not understanding why the point is true?

Putting too little effort into this participation is like reading a novel without concentrating.  After half an hour, you wake up to realize the pages have turned, but you have been daydreaming and dont remember a thing you read.

Dont Read Too Fast

Reading mathematics too quickly results in frustration.  A half hour of concentration in a novel might net the average reader 20-60 pages with full comprehension, depending on the novel and the experience of the reader.  The same half hour in a math article buys you 0-10 lines depending on the article and how experienced you are at reading mathematics. There is no substitute for work and time.  You can speed up your math reading skill by practicing, but be careful.  Like any skill, trying too much too fast can set you back and kill your motivation.  Imagine trying to do an hour of high-energy aerobics if you have not worked out in two years.  You may make it through the first class, but you are not likely to come back.  The frustration from seeing the experienced class members effortlessly do twice as much as you, while you moan the whole next day from soreness, is too much to take.

For example, consider the following theorem from Levi Ben Gershons manuscript Maaseh Hoshev (The Art of Calculation), written in 1321.

When you add consecutive numbers starting with 1, and the number of numbers you add is odd, the result is equal to the product of the middle number among them times the last number.  It is natural for modern day mathematicians to write this as:


A reader should take as much time to unravel the two-inch version as he would to unravel the two-sentence version.  An example of Levis theorem is that 1 + 2 + 3 + 4 + 5 = 35.

Make the Idea your Own

The best way to understand what you are reading is to make the idea your own. This means following the idea back to its origin, and rediscovering it for yourself. Mathematicians often say that to understand something you must first read it, then write it down in your own words, then teach it to someone else.  Everyone has a different set of tools and a different level of chunking up complicated ideas.  Make the idea fit in with your own perspective and experience.

"When I use a word, it means just what I choose it to mean"

(Humpty Dumpty to Alice in Through the Looking Glass by Lewis Carroll)

The meaning is rarely completely transparent, because every symbol or word already represents an extraordinary condensation of concept and reference 4

A well-written math text will be careful to use a word in one sense only, making a distinction, say, between combination and permutation (or arrangement).  A strict mathematical definition might imply that "yellow rabid dog" and "rabid yellow dog" are different arrangements of words but the same combination of words.  Most English speakers would disagree. This extreme precision is utterly foreign to most fiction and poetry writing, where using multiple words, synonyms, and varying descriptions is de rigueur.

A reader is expected to know that an absolute value is not about some value that happens to be absolute, nor is a function about anything functional.

A particular notorious example is the use of It follows easily that and equivalent constructs. It means something like this:

One can now check that the next statement is true with a certain amount of essentially mechanical, though perhaps laborious, checking.  I, the author, could do it, but it would use up a large amount of space and perhaps not accomplish much, since it'd be best for you to go ahead and do the computation to clarify for yourself what's going on here.  I promise that no new ideas are involved, though of course you might need to think a little in order to find just the right combination of good ideas to apply.

In other words, the construct, when used correctly, is a signal to the reader that what's involved here is perhaps tedious and even difficult, but involves no deep insights.  The reader is then free to decide whether the level of understanding he/she desires requires going through the details or warrants saying Okay, I'll accept your word for it.

Now, regardless of your opinion about whether that construct should be used in a particular situation, or whether authors always use it correctly, you should understand what it is supposed to mean.  It follows easily that does not mean

if you cant see this at once, youre a dope,

neither does it mean

this shouldnt take more than two minutes,

but a person who doesnt know the lingo might interpret the phrase in the wrong way, and feel frustrated.  This is apart from the issue that one persons tedious task is another persons challenge, so the author must correctly judge the audience.

Know Thyself

Texts are written with a specific audience in mind.  Make sure that you are the intended audience, or be willing to do what it takes to become the intended audience.

T.S.Eliots

A Song for Simeon:

Lord, the Roman hyacinths are blooming in bowls and
The winter sun creeps by the snow hills;
The stubborn season has made stand.
My life is light, waiting for the death wind,
Like a feather on the back of my hand.
Dust in sunlight and memory in corners
Wait for the wind that chills towards the dead land.


For example, Eliots poem pretty much assumes that its readers are going to either know who Simeon was or be willing to find out.  It also assumes that its reader will be somewhat experienced in reading poetry and/or is willing to work to gain such experience.  He assumes that they will either know or investigate the allusions here.  This goes beyond knowledge of things like who Simeon was.  For example, why are the hyacinths Roman? Why is that important?

Elliot assumes that the reader will read slowly and pay attention to the images: he juxtaposes dust and memory, relates old age to winter, compares waiting for death with a feather on the back of the hand, etc.  He assumes that the reader will recognize this as poetry; in a way, he's assuming that the reader is familiar with a whole poetic tradition. The reader is supposed to notice that alternate lines rhyme, but that the others do not, and so on.

Most of all, he assumes that the reader will read not only with the mind, but also with his/her emotions and imagination, allowing the images to summon up this old man, tired of life but hanging on, waiting expectantly for some crucial event, for something to happen.

Most math books are written with assumptions about the audience: that they know certain things, that they have a certain level of mathematical maturity, etc.  Before you start to read, make sure you know what the author expects you to know.

An Example of Mathematical Writing

To allow an opportunity to experiment with the guidelines presented here, I am including a small piece of mathematics often called the birthday paradox.  The first part is a concise mathematical article explaining the problem and solving it.  The second is an imaginary Reader's attempt to understand the article by using the appropriate reading protocol.  This articles topic is probability and is accessible to a bright and motivated reader with no background at all.

The Birthday Paradox

A professor in a class of 30 random students offers to bet that there are at least two people in the class with the same birthday (month and day, but not necessarily year).  Do you accept the bet?  What if there were fewer people in the class?  Would you bet then?

Assume that the birthdays of n people are uniformly distributed among 365 days of the year (assume no leap years for simplicity).  We prove that, the probability that at least two of them have the same birthday (month and day) is equal to:

What is the chance that among 30 random people in a room, there are at least two or more with the same birthday?   For n = 30, the probability of at least one matching birthday is about 71%. This means that with 30 people in your class, the professor should win the bet 71 times out of 100 in the long run. It turns out that with 23 people, she should win about 50% of the time.

Here is the proof: Let P(n) be the probability in question.  Let Q(n) = 1 P(n) be the probability that no two people have a common birthday.  Now calculate Q(n) by calculating the number of n birthdays without any duplicates and divide by the total number of n possible birthdays.  Then solve for P(n).

The total number of n birthdays without duplicates is:

365 364 363 ... (365 n + 1).

This is because there are 365 choices for the first birthday, 364 for the next and so on for n birthdays. The total number of n birthdays without any restriction is just 365n because there are 365 choices for each of n birthdays.  Therefore, Q(n) equals



Solving for P(n) gives P(n) = 1 Q(n) and hence our result.

Our Reader Attempts to Understand the Birthday Paradox

In this section, a naive Reader tries to make sense out of the last few paragraphs.  The Readers part is a metaphor for the Reader thinking out loud, and the Professionals comments represent research on the Readers part.  The appropriate protocols are centered and bold at various points in the narrative.

My Reader may seem to catch on to things relatively quickly.  However, be assured that in reality a great deal of time passes between each of my Readers comments, and that I have left out many of the Readers remarks that explore dead-end ideas.  To experience what the Reader experiences requires much more than just reading through his/her lines. Think of his/her part as an outline for your own efforts.

Know Thyself

Reader (R): I dont know anything about probability, can I still make it through?

Professional (P): Lets give it a try. We may have to backtrack a lot at each step.

R: What does the phrase 30 random students mean?

"When I use a word, it means just what I choose it to mean"

P: Good question.  It doesnt mean that we have 30 spacy or scatter-brained people.  It means we should assume that the birthdays of these 30 people are independent of one another and that every birthday is equally likely for each person. The author writes this more technically a little further on:  Assume that the birthdays of n people are uniformly distributed among 365 days of the year.

R:  Isn't that obvious?  Why bother saying that?

P: Yes the assumption is kind of obvious.  The author is just setting the groundwork.  The sentence guarantees that everything is normal and the solution does not involve some imaginitive fanciful science-fiction. 

R:  What do you mean?

P:  For example, the author is not looking for a solution like this:  everyone lives in Independence Land and is born on the 4th of July, so the chance of two or more people with the same birthday is 100%.  That is not the kind of solution mathematicians enjoy.  Incidentally, the assumption also implies that we do not count leap years.  In particular, nobody in this problem is born on February 29.  Continue reading.

R:  I dont understand that long formula, whats n?

P:  The author is solving the problem for any number of people, not just for 30. The author, from now on, is going to call the number of people n.

R:  I still don't get it. So what's the answer?

Don't Be a Passive Reader  -  Try Some Examples

P:  Well, if you want the answer for 30, just set n = 30.

R:  Ok, but that looks complicated to compute.  Wheres my calculator?  Lets see: 365 364 363 ... 336.  Thats tedious, and the final exact value wont even fit on my calculator.  It reads:

2.1710301835085570660575334772481e+76

If I cant even calculate the answer once I know the formula, how can I possibly understand where the formula comes from?

P: You are right that this answer is inexact, but if you actually go on and do the division, your answer wont be too far off. 

R:  The whole thing makes me uncomfortable.  I would prefer to be able to calculate it more exactly.  Is there another way to do the calculation? 

P:  How many terms in your product? How many terms in the product on the bottom?

R: You mean 365 is the first term and 364 is the second?  Then there are 30 terms. There are also 30 terms on the bottom, (30 copies of 365).

P: Can you calculate the answer now?

R: Oh, I see.  I can pair up each top term with each bottom term, and do 365/365 as the first term, then multiply by 364/365, and so on for 30 terms.  This way the product never gets too big for my calculator. (After a few minutes)... Okay, I got 0.29368, rounded to 5 places.

P: What does this number mean?

Don't Miss the Big Picture

R: I forgot what I was doing. Lets see. I was calculating the answer for n = 30.  The 0.29368 is everything except for subtracting from 1.  If I keep going I get 0.70632. Now what does that mean?

P: Knowing more about probability would help, but this simply means that the chance that two or more out of the 30 people have the same birthday is 70,632 out of 100,000 or about 71%.

R: Thats interesting. I wouldnt have guessed that.  You mean that in my class with 30 students, theres a pretty good chance that at least two students have the same birthday?

P:  Yes thats right.  You might want to take bets before you ask everyone their birthday. Many people dont think that a duplicate will occur.  Thats why some authors call this the birthday paradox.

R: So thats why I should read mathematics, to make a few extra bucks?

P: I see how that might give you some incentive, but I hope the mathematics also inspires you without the monetary prospects.

R: I wonder what the answer is for other values of n.  I will try some more calculations.

P: Thats a good idea. We can even make a picture out of all your calculations. We could plot a graph of the number of people versus the chance that a duplicate birthday occurs, but maybe this can be left for another time.

R: Oh look, the author did some calculations for me. He says that for n = 30 the answer is about 71%;  thats what I calculated too.  And, for n = 23 its about 50%.  Does that make sense?  I guess it does.  The more people there are, the greater the chance of a common birthday.  Hey, I am anticipating the author.  Pretty good.  Okay, lets go on.

P: Good, now youre telling me when to continue.

Dont Read Too Fast

R: It seems that we are up to the proof.  This must explain why that formula works.  Whats this Q(n)?  I guess that P stands for probability but what does Q stand for?

P: The author is defining something new.  He is using Q just because its the next letter after P, but Q(n) is also a probability, and closely related to P(n).  Its time to take a minute to think. What is Q(n) and why is it equal to 1 P(n)?

R: Q(n) is the probability that no two people have the same birthday.  Why does the author care about that?  Dont we want the probability that at least two have the same birthday?

P: Good point.  The author doesnt tell you this explicitly, but between the lines, you can infer that he has no clue how to calculate P(n) directly.  Instead, he introduces Q(n) which supposedly equals 1 P(n).  Presumably, the author will proceed next to tell us how to compute Q(n).  By the way, when you finish this article, you may want to deal with the problem of calculating P(n) directly.  Thats a perfect follow up to the ideas presented here.

R: First things first.

P: Ok. So once we know Q(n), then what?

R: Then we can get P(n).  Because if Q(n) = 1 P(n), then P(n) = 1 Q(n).  Fine, but why is Q(n) = 1 P(n)?  Does the author assume this is obvious?

P: Yes, he does, but whats worse, he doesnt even tell us that it is obvious.  Heres a rule of thumb: when an author says clearly this is true or this is obvious, then take 15 minutes to convince yourself it is true.  If an author doesnt even bother to say this, but just implies it, take a little longer.

R: How will I know when I should stop and think?

P: Just be honest with yourself. When in doubt, stop and think. When too tired, go watch television.

R: So why is Q(n) = 1 P(n)?

P: Lets imagine a special case. If the chance of getting two or more of the same birthdays is 1/3, then what's the chance of not getting two or more?

R: Its 2/3, because the chance of something not happening is the opposite of the chance of it happening.

Make the Idea Your Own

P: Well, you should be careful when you say things like opposite, but you are right.  In fact, you have discovered one of the first rules taught in a course on probability.  Namely, that the probability that something will not occur is 1 minus the probability that it will occur.  Now go on to the next paragraph.

R: It seems to be explaining why Q(n) is equal to long complex-looking formula shown.  I will never understand this.

P: The formula for Q(n) is tough to understand and the author is counting on your diligence, persistence, and/or background here to get you through.

R: He seems to be counting all possibilities of something and dividing by the total possibilities, whatever that means.  I have no idea why.

P: Maybe I can fill you in here on some background before you try to check out any more details.  The probability of the occurrence of a particular type of outcome is defined in mathematics to be: the total number of possible ways that type of outcome can occur divided by the total number of possible outcomes.  For example, the probability that you throw a four when throwing a die is 1/6. Because there is one possible 4, and there are six possible outcomes. What's the probability you throw a four or a three?

R: Well I guess 2/6 (or 1/3) because the total number of outcomes is still six but I have two possible outcomes that work.

P: Good. Heres a harder example. What about the chance of throwing a sum of four when you roll two dice?  There are three ways to get a four (1-3, 2-2, 3-1) while the total number of possible outcomes is 36.  That is 3/36 or 1/12.  Look at the following 6 by 6 table and convince yourself.
 

1-1, 1-2, 1-3, 1-4, 1-5, 1-6

2-1, 2-2, 2-3, 2-4, 2-5, 2-6

3-1, 3-2, 3-3, 3-4, 3-5, 3-6

4-1, 4-2, 4-3, 4-4, 4-5, 4-6

5-1, 5-2, 5-3, 5-4, 5-5, 5-6

6-1, 6-2, 6-3, 6-4, 6-5, 6-6


What about the probability of throwing a 7?

R:  Wait.  What does 1-1 mean?  Doesnt that equal 0?

P:  Sorry, my bad.  I was using the minus sign as a dash, just to mean a pair of numbers, so 1-1 means a roll of one on each die - snake eyes. 

R:  Couldnt you have come up with a better notation? 

P:  Well maybe I could/should have, but commas would look worse, a slash would look like division, and anything else might be just as confusing.  We arent going to publish this transcript anyway.

R:  Thats a relief.  Well, I know what you mean now.  To answer your question, I can get a seven in six ways via 1-6, 2-5, 3-4, 4-3, 5-2, or 6-1.  The total number of outcomes is still 36, so I get 6/36 or 1/6.  Thats weird, why isnt the chance of rolling a 4 the same as for rolling a 7? 

P: Because not every sum is equally likely.  The situation would be very different if we were simply spinning a wheel with the sums 2 through 12 listed in equally spaced intervals.  In that case, each one of the 11 sums would have probability 1/11.

R: Okay, now I am an expert. Is probability just about counting?

P: Sometimes, yes.  But counting things is not always so easy.

R: I see, lets go on.  By the way, did the author really expect me to know all this?  My friend took Probability and Statistics and I am not sure he knows all this stuff.

P: Theres a lot of information implied in a small bit of mathematics. Yes, the author expected you to know all this, or to discover it yourself just as we have done.  If I hadnt been here, you would have had to ask yourself these questions and answer them by thinking, looking in a reference book, or consulting a friend.

R: So the chance that there are no two people with the same birthday is the number of possible sets of n birthdays without a duplicate divided by the total number of possible sets of n birthdays. 

P:  Excellent summary.

R: I dont like using n, so let me use 30. Perhaps the generalization to n will be easy to see.

P: Great idea.  It is often helpful to look at a special case before understanding the general case.

R: So how many sets of 30 birthdays are there total?  I cant do it. I guess I need to restrict my view even more. Lets pretend there are only two people.

P: Fine. Now youre thinking like a mathematician.  Lets try n = 2.  How many sets of two birthdays are there total?

R: I number the birthdays from 1 to 365 and forget about leap years. Then these are the all the possibilities:
 

1-1, 1-2, 1-3, ... , 1-365,

2-1, 2-2, 2-3, ... , 2-365,

...

365-1, 365-2, 365-3, ... , 365-365.


P: When you write 1-1, do you mean 1-1 = 0, as in subtraction?

R: Stop teasing me.  You know exactly what I mean.

P:  Yes I do, and nice choice of notation I might add.  Now how many pairs of birthdays are there?

R: There are 365 365 total possibilities for two people.

P: And how many are there when there are no duplicate birthdays?

R: I cant use 1-1, or 2-2, or 3-3 or ... 365-365, so I get
 

1-2, 1-3, ... , 1-365,

2-1, 2-3, ... , 2-365,

...

365-1, 365-2, ... , 365-364

The total number here is 365 364 since each row now has 364 pairs instead of 365.

P: Good. You are going a little quickly here, but youre 100% right. Can you generalize now to 30?  What is the total number of possible sets of 30 birthdays?  Take a guess. Youre getting good at this.

R: Well if I had to guess, (its not really a guess, after all, I already know the formula), I would say that for 30 people you get 365 365 ... 365, 30 times, for the total number of possible sets of birthdays.

P: Exactly. Mathematicians write 36530.  And what is the number of possible sets of 30 birthdays without any duplicates?

R: I know the answer should be 365 364 363 362 ... 336, (that is, start at 365 and multiply by one less for 30 times), but I am not sure I really see why this is true. Perhaps I should do the case with three people first, and work my way up to 30?

P: Splendid idea.  Lets quit for today.  The whole picture is there for you. When you are rested and you have more time, you can come back and fill in that last bit of understanding.

R: Thanks a lot; its been an experience. Later.




1. Emblems of Mind, Edward Rothstein, Avon Books, page 15.

2. ibid, page 16.
3. ibid, page 38
4. ibid, page 16.
http://drupal.org/project/shorturl

Short URL

irakli - April 24, 2009 - 12:06

#D7CX: I pledge that Short URL will have a full Drupal 7 release on the day that Drupal 7 is released.

An API for creating your own bit.ly, is.gd, tinyurl.com etc. in Drupal, or for just providing cool-looking short "permalinks" to long, parametrized Drupal URLs (e.g. filtered Views).

This module is a developer tool that takes URL of any length and produces very short URLs (3-5 characters). It has no user-interface at this point.

Who Needs This?

You need this module if:

  • You are creating a localized URL shortener for a country/locale that exisitng URL shorteners do not cover.
  • You system is behind a firewall and content/URLs can not be shared publicly.
  • If you want short URLs to carry your own domain, for brand management purposes, much like TechCrunch.com uses http://tcrn.ch domain for short URLs (they do not use this module for the implementation, though, as far as we know :) )

Who uses it?

(Please submit examples of other usages, if you are using shorturl to run your shortener).

Read Joe Trippi's blog post about how it's becoming a trend for large brands to set-up their internal shorteners: http://joetrippi.com/blog/?p=2893. Also the Information Week piece: The Custom URL Shortener

Integration

  • The wonderful Shorten module, which provides an API to shorten URLs via almost any service, now has support for ShortURL as well.

Usage

  • There's one major API function that does the magic.
    function shorturl_shorten ($long_url, $full_url = FALSE).

    It returns a token that you append to the base URL of your site. E.g. if the base URL is http://example.com and the function returns token "sDf" the access to http://example.com/sDf will redirect to the original long URL with HTTP 302 code.

  • You can also configure from the variables in settings.php following aspects:
    • shorturl_start_from - the starting index. A positive integer. Default is 3844 which corresponds to starting with 3-letter URLs as the minimum (assuming 1 and 2 letter tokens are too short and run out too quickly anyway).
    • shorturl_reserved_tokens - list (array) of words to block in tokens. Tokens containing these words will be blocked. ShortURL module also automatically prevents registering tokens that are a) existing menu handler path b) existing path alias c) contain one of the system reserved words: 'user', 'node', 'term', 'admin.

Credits

Module is sponsored by: Phase2 Technology

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.2 Download (10.1 KB) 2010-Aug-19 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev Download (10.1 KB) 2010-Aug-18 Notes


 
http://onjava.com/onjava/2003/11/19/exceptions.html
http://www.onextrapixel.com/2009/11/21/checking-in-hotel-web-design-50-cosy-hotel-websites-and-trends/
http://billable.co.za/

Invoice #
Date
  Item Description Quantity Price  
[+]
Amount Due 00.00
http://listen.grooveshark.com/

Grooveshark -- Listen to Free Music

Internet Radio and Free MP3 Streaming.

Listen to any song in the world for free.

Popular Songs Grooveshark Mobile Applications
If Grooveshark does not load, please ensure that you have the latest version of Flash Player installed, and Javascript enabled.
http://t100life.blog121.fc2.com/blog-entry-148.html

t100Υץߥæк

ʬΥץߥǾץˤơĤץߥ󥰤æФƤ뤾áȤ̴ʤ顢ץäƤ ɴ Ǥϡɴ¢٤ȤơSilverlightWPFǤ (2007/09/30)
饤󥿡ͥåȤˡRedMine򥤥󥹥ȡ뤹롣
Ŀͤγȯΰ٤ˡˤ饤󥿡ͥåȤRedmine򥤥󥹥ȡ뤷Ƥߤޤ
Linux鿴ԤǡRubyθäΤǡ㴳ϤޤäƤޤޤʤȤ
ȥåץڡФȤޤǤޤ

󥿡ͥåȤ˾ƤäƤͤγ꤬ͤȤ

Ȥ櫓ǡˤ˿¿ǤϤޤ
ʬΤˤ⡢νκȤޤȤƤߤȻפޤ

ɸ

饤󥿡ͥåȡʥ饤ȥץˤ
ǿRedmineȡMercurialƳޤ

ۡڡȤƤڤƤΤǡ/labs/redmine ѥǥ褦ˤޤ
ޤDBSQLiteȤޤWordpressǡMySQLȤäƤ뤿



MercurialRedmine򥤥󥹥ȡ뤹뤳Ȥˤʤޤ
RedmineϡRubyOnRails ǺƤΤǡΤδĶ⹽ۤޤ
RubyϥǥեȤѤǤޤǥåȥåפޤ
ʥǥեȤRubyȤʤưʤä١
PythonϥǥեȤΤΤѤޤ
ǥեȤΥĶBashȤޤ
åȥå׼

Mercurial

ɤƲ

SSHǡ饤󥿡ͥåȤΥС˥󤷤ơwget ޥɤǺǿǤ򥲥åȤޤ
ǿǤURLϡhttp://www.selenic.com/mercurial/wiki/ dzǧǤޤ

$ wget http://www.selenic.com/mercurial/release/mercurial-1.1.tar.gz[enter]
$ tar zxvf mercurial-1.1.tar.gz


󥹥ȡ

$ cd mercurial-1.1
$ python setup.py install --home=$HOME/local


ǡ󥹥ȡ
hg ޥɤϡ$HOME/local/hg ʲ

ѥ̤

hg ޥɤ¹ԤǤ褦ˡѥ̤ޤ
ѥϡʹߤȤ褦ˡ.bashrc ˵Ҥޤ

export PYTHONPATH=${HOME}/local/lib/python
PATH=$HOME/local/bin:$PATH


Խ̤ʲΥޥɤŬѤޤ

$ source ~/.bashrc


¹ԤƤߤ

ưǧΤˡŬʥǥ쥯ȥơhg init ¹Ԥޤ

$ mkdir hgtest
$ hg init hgtest


ǡhgtest βˡ.hg ǥ쥯ȥ꤬ƤǤ

ʥ顼Ф뤫⡣
hg ޥɤ¹ԤơʲΤ褦ʥ顼Ф
PYTHONPATHδĶѿޤꤵƤʤ⤷ʤǤ
.bashrc Խơƥ󤷤ƤߤȲ褹뤫⤷ޤ

$ hg init
Traceback (most recent call last):
File "/home/t100/local/bin/hg", line 11, in ?
from mercurial import demandimport; demandimport.enable()
ImportError: No module named mercurial


ޤǤǻͤˤĺ

饤󥿡ͥåȤmercurial

饤󥿡ͥåȤmercurialȤ



Rails򥤥󥹥ȡ뤹

ruby򥤥󥹥ȡ뤹롣

ΥȤˤȡΥ󥿥륵Ф Redmine 򥤥󥹥ȡ
󥹥ȡRubyʤȥ顼ˤʤȤȤʤΤƤߤޤ
ʼʬǤ⡢¸Ruby١ǤäƤߤΤǤƱ顼ޤǤ

󥹥ȡϡε򻲾Ȥĺޤ
饵СRuby on Rails򥤥󥹥ȡ

http://www.ruby-lang.org/ja/downloads/ ǿǤޤ

$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz
$ tar xzvf ruby-1.8.7-p72.tar.gz
$ cd ruby-1.8.7-p72
$ ./configure --prefix=$HOME/local
$ make
$ make install


ǡ$HOME/local/bin ʲˡruby󥹥ȡ뤵Τ
.bashrc եԽơ줿rubyȤ褦ꤷޤ

export PATH=$HOME/local/bin:$GEM_HOME/bin:$PATH


ԽǤ顢󥹥ȡ뤷RubyȤƤ뤳Ȥǧޤ

$ source ~/.bashrc
$ which ruby
/home/t100/local/bin/ruby


rubygem 򥻥åȥå

rubygemϡPHPpearŪʥեȥ餷ǤpearܤʤǤ
ʲΥȤ顢ǿǤƥ󥹥ȡ뤷ޤ
http://rubyforge.org/frs/?group_id=126&release_id=27655

$ wget http://rubyforge.org/frs/download.php/17190/rubygems-1.3.1.tgz
$ tar zxvf rubygems-1.3.1.tgz
$ cd rubygems-1.3.1
$ ruby setup.rb


ǡgem ޥɤȤ褦ˤʤޤ

$ which gem
/home/t100/local/bin/gem

ޤgemǥåȥåפեȥȤ褦
PATHˡʲäƤޤ
⡢.bashrc եԽޤ

export GEM_HOME=${HOME}/local/lib/ruby/gems

PATH=$HOME/local/bin:$GEM_HOME/bin:$PATH


rails åȥå

gem ޥɤǡrails ¹Ԥ뤿ɬפʥեȥ
󥿡ͥåȷͳǼޤ

$ gem install rails
Successfully installed rake-0.8.3
Successfully installed activesupport-2.2.2
Successfully installed activerecord-2.2.2
Successfully installed actionpack-2.2.2
Successfully installed actionmailer-2.2.2
Successfully installed activeresource-2.2.2
Successfully installed rails-2.2.2
7 gems installed
Installing ri documentation for rake-0.8.3...
Installing ri documentation for activesupport-2.2.2...
Installing ri documentation for activerecord-2.2.2...
Installing ri documentation for actionpack-2.2.2...
Installing ri documentation for actionmailer-2.2.2...
Installing ri documentation for activeresource-2.2.2...
Installing RDoc documentation for rake-0.8.3...
Installing RDoc documentation for activesupport-2.2.2...
Installing RDoc documentation for activerecord-2.2.2...
Installing RDoc documentation for actionpack-2.2.2...
Installing RDoc documentation for actionmailer-2.2.2...
Installing RDoc documentation for activeresource-2.2.2...


ǡrails ޥɤȤ褦ˤʤޤ

$ which rails
/home/t100/local/lib/ruby/gems/bin/rails


ʲǡСǧޤ

$ rails -v
Rails 2.2.2


ʥ顼Ф뤫⡣
rails -v ǡ-bash: rails: command not found ФƤޤä
ѥޤǤƤʤǽޤ

Υƥåפꤷ GEM_HOMEPATHְ꤬㤨Ƥʤޤ
ѥŬѤƤ뤫ǧޤ



Redmine򥤥󥹥ȡ뤹

SQLiteǧ

RedmineSQLiteȤᡢưǧޤ
ʲΥޥɤǥС󤬻ȤǤХǤ

$ sqlite3 -version
3.3.17



redmine ɤƥ󥹥ȡ뤹

Ǥϡredmine$HOME/rails/redmine ΥѥǻȤ褦ˤޤ
ǿǤϡhttp://rubyforge.org/frs/?group_id=1850 Ǥޤ
Ǥϡ0.7.3 Ȥޤ

$ wget http://rubyforge.org/frs/download.php/39477/redmine-0.7.3.tar.gz
$ tar zxvf redmine-0.7.3.tar.gz
$ cd
$ mkdir rails
$ mv redmine-0.7.3 ./rails/redmine



ѡߥå

tmplog ե˽񤭹߸¤Ϳޤ

$ cd rails/redmine
$ chmod o+w tmp log


ǡ١Խ

redmine եѹơSQLiteȤ褦ѹޤ
եϡredmine/config database.yml Ǥ
ǽ餫äƤ database.yml.example 򥳥ԡƺޤ

$ cd config
$ cp database.yml.example database.yml
$ vi database.yml



database.yml ơsqlite3 ѹ
ѹսϰʲ

mysql sqlite3

ѹ

production:
adapter: mysql
database: redmine
host: localhost
username: root
password:
encoding: utf8


ѹ

production:
adapter: sqlite3
database: db/redmine.db
timeout: 5000


ǡ١κ

redmine/config ǡrake ޥɤ¹ԤDBơǡ򥻥åȥåפޤ
åȥåפǤϡܸ(ja)򤷤ޤ

$ rake db:migrate RAILS_ENV=production
$ rake redmine:load_default_data RAILS_ENV=production
(in /home/t100/rails/redmine)
Select language: bg, cs, da, de, en, es, fi, fr, he, hu, it, ja, ko, lt, nl, no, pl, pt, pt-br, ro, ru, sr, sv, th, uk, zh, zh-tw [en] ja
====================================
Default configuration data loaded.



ץꥱμ¹ԴĶ

ץꥱμ¹ԴĶեѹޤ
ѹΤϡʲΣեǤ

redmine/config/environment.rb
redmine/public/.hthaccs
redmine/public/dispatch.cgi

redmine/config/environment.rb

ʲΣԤƬɲäޤt100ΤȤϡƼΥۡǥ쥯ȥǤ
PYTHONPATHmercurialȤϢȤɬפˤʤޤ

$LOAD_PATH.push("/home/t100/local/lib/ruby/site_ruby/1.8")
$LOAD_PATH.push("/home/t100/local/lib/ruby")

ENV['GEM_HOME'] ||= '/home/t100/local/lib/ruby/gems/1.8'
ENV['PATH']+=':/home/t100/local/bin'
ENV['PYTHONPATH'] ||= '/home/t100/local/lib/python'


redmine/public/.hthaccs

ʲιԤ򥳥ȥȡ
ѹ

Options +FollowSymLinks +ExecCGI


ѹ

#Options +FollowSymLinks +ExecCGI


redmine/public/dispatch.cgi

rubyΥѥ򡢥󥹥ȡ뤷ѥѹ

#!/home/t100/local/bin/ruby


ʲιԤɲáproduction ꤬Ȥ褦ˤäݤ

ENV['RAILS_ENV']||='production'



ܥå󥯤

WebС饢褦ˡܥå󥯤ޤ
redmine/public եweb饢ǽˤޤ

$ cd ~/www
$ mkdir labs
$ ln -s $HOME/rails/redmine/public $HOME/www/labs/redmine


ץꥱưǧ

ǡưϤá
ǡƤߤȤ

Application error ails application failed to start properly

ץꥱ󥨥顼Ф㤦

ʻˤϡ󥽡뤫ľ dispatch.cgi ¹Ԥ뤳Ȥ
顼̤η̤򸫤뤳Ȥޤ
ʤä¾ɤˡꤽɡ

$ cd ~/rails/redmine/public
$ ruby dispatch.cgi


ʤȡ쥹ݥ󥹤HTML󥽡ɽޤ

ξϡʲΥ顼Ǥ

$ ruby dispatch.cgi
/home/t100/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- iconv (MissingSourceFile)


iconv äƤʤ󤸤ۤ

iconv Ƴ롣

iconv Ȥ⥸塼뤬­Ƥ褦Ǥ

ΥȤ򻲹ͤˤĺơåȥåפޤ
դ (mingplot on FreeBSD)


iconv ⥸塼ϡruby˴ޤޤƤ褦Ǥ

$ cd ruby-1.8.7-p72/ext/iconv/


ǡ󥹥ȡ뤷ޤ

$ ruby extconf.rb --prefix=$HOME --with-iconv-dir=/usr/local
checking for iconv() in iconv.h... no
checking for iconv() in -liconv... yes
checking for const of iconv() 2nd argument... yes
creating Makefile
$ make
gcc -I. -I. -I/home/t100/local/lib/ruby/1.8/i386-freebsd6.1 -I. -DICONV_INPTR_CONST -I/usr/local/include -fPIC -g -O2 -c iconv.c
gcc -shared -o iconv.so iconv.o -L. -L/home/t100/local/lib -Wl,-R/home/t100/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-soname,iconv.so -liconv -lcrypt -lm -lc
$ make install
/usr/bin/install -c -m 0755 iconv.so /home/t100/local/lib/ruby/site_ruby/1.8/i386-freebsd6.1


褿
iconv.h ̵äƸƤ褦ʵ⤹뤱ɡ


٤

٥ƤߤȤ
ޤޤ
ȥåץڡФ


Redmine Linux/WindowsбRedmine Linux/Windowsб
(2008/11)


ʾܺ٤򸫤


ƳRedmineΤ뤭äˤʤäܤǤ
Ƴ顢ѤޤҲ𤷤Ƥޤ
ǡ١ϡMySQL, SQLiteξ
SCMSubversionMercurialξȤϢȤǺܤƤΤ
ѴĶ˻ͤˤʤ󤸤ʤǤ礦
ǶᡢTrac äФääΤˡorz


ͤˤĺ

Ruby on railsȡRubygems

Υ󥿥륵СRuby on Rails 2.0.2򥤥󥹥ȡ뤹ˡ

xreḁСcoreserverrails 򥤥󥹥ȡ

Υ󥿥륵Ф Redmine 򥤥󥹥ȡ
sqlite3-ruby򤵤饤󥿡ͥåȶͭФ˥󥹥ȡ뤹ˤ

Υ󥿥륵СRuby on Rails򥤥󥹥ȡ뤹ˡ 2




clipboard.swf
󥿥륵СӴ͡
ɤ⡢ϤޤƥǤ
ɤޤƤޤ

Ϥꡢɥץ쥹ˤMySQLǤ礦͡
SQLiteǥɥץ쥹ȤͤϤʤ褦Ǥ
ȤȤʤΤʡ

ͣԤϻȤǤɤ͡

ޤޤ͡
2010/03/07() 14:52:07 | URL | [ Խ]
t100
󡢥Ȥ꤬Ȥޤ

ߤޤֿ٤Ƥޤޤ

SQLiteñǤǤ͡
äȤäƤߤ̵äǤ񤬤äƤߤȤǤ

2010/03/19() 02:07:36 | URL | [ Խ]
ˤ
wptable̾㤦̤MySQLǤɤ褦ʵޤ
Ƥ椦ͳѤ뤷
2010/03/20() 15:26:10 | URL | [ Խ]












ԤˤɽĤ


ȥåХåURL:
ääääưޤ ǰˤޤȤޤ ʲΥȤ򻲹ͤˤޤ 饤󥿡ͥåȤˡRedMine򥤥󥹥ȡ뤹롣 ...
2009/01/24() 18:31:27 | Ĥץ
ĤΤޤˤͻΩ޽ֵåưʤʤäƤΤǡĴ SAKURAСOSåץǡȤݤ$HOME/local/˥󥹥ȡ뤷rubyưʤʤä͡ ץȤư顢ʥ顼 %ruby check_due_date.rb /usr/libexe
2009/03/26() 19:51:07 | ʤ
ۡ
http://sherlockbbc-fic.livejournal.com/2262.html?thread=3852246#t3852246

14

Adult Content Notice

The content that you are about to view could contain adult concepts which may not be suitable for minors. To continue, you must confirm that you are at least 14 years of age.

No, return me to Explore LJ.
Image by [info]clover71. Join the contest in [info]remixed!
 
http://longshotmag.com/
http://www.lodestar2.com/people/dyork/talks/2001/ols/frames/frames.html
Your browser doesn't support frames.
http://messenger.yahoo.com/iphone
[Yahoo! Messenger for iPhone]

Take the best of Messenger anywhere with Yahoo! Messenger for iPhone

Available on the iPhone App Store
Take your contacts on the go
Instant message with your Yahoo! Messenger contacts wherever you are
Share away
Share photos, emoticons and links, right from your iPhone
Never miss a message
Alerts you when a new IM arrives, even if you're not in the app.

Watch a video demo

System requirements: iPhone (v2.0 or later), iPod Touch

Other versions: Windows, Mac, Web, Mobile

More Features

  1. Send instant messages in real-time to your friends
  2. Stay signed in and available for up to 2 weeks
  3. Instantly share photos from your iPhone
  4. Stay in control with stealth settings
  5. Show your style with emoticons and Avatars
  6. Quickly access your most recent conversations
  7. Set a custom Status message to share with friends

See even more features

http://putthison.com/

Put This On

A web series about dressing like a grownup

It&#8217;s On eBay
Vintage Bleeding Madras Dinner Jacket
Perfect for a not-too-serious black-tie barbecue dinner and pool party in the summer in the South.  Or just to have in your closet, imagining that one day you&#8217;ll be invited to said.
Buy It Now for $67.50

It’s On eBay

Vintage Bleeding Madras Dinner Jacket

Perfect for a not-too-serious black-tie barbecue dinner and pool party in the summer in the South.  Or just to have in your closet, imagining that one day you’ll be invited to said.

Buy It Now for $67.50

Bow Tie Making Club

I’m starting a bow tie making club. 

All you need to join is a sewing machine and a desire to make bow ties.

First meeting starts after I go to the sewing store and buy some interfacing.

Who’s in?

streetetiquette:

Andre Benjamin 

Demonstrating conclusively that slim fits are not a pre-requisite of a good outfit.

streetetiquette:

Andre Benjamin 

Demonstrating conclusively that slim fits are not a pre-requisite of a good outfit.

Steven Alan for Dockers.  Looking pretty good, though no great savings at $128 a pop.  More info in the Times.

Steven Alan for Dockers.  Looking pretty good, though no great savings at $128 a pop.  More info in the Times.

Don&#8217;t make old-timey Omar kill your ass.

Don’t make old-timey Omar kill your ass.

Our friends at Improv Everywhere dressed for a formal ball, then headed to the beach.  Delightful, as always. 

Of note: each of the hundreds of people who participated thrifted their black tie and gowns.

youdontmeet:

Permanent style :: Huntsman tweed suit: Part 1
Delightful, especially the smoothness and luster of the tie against the tweed.

Agreed completely.  Texture is such an important part of dressing, and so under-considered, perhaps because it&#8217;s hard to photograph for a fashion magazine.  If you take a look at the Cary Grant photo we published yesterday, the colors are incredibly simple - it&#8217;s the textures that are doing the work.

youdontmeet:

Permanent style :: Huntsman tweed suit: Part 1

Delightful, especially the smoothness and luster of the tie against the tweed.

Agreed completely.  Texture is such an important part of dressing, and so under-considered, perhaps because it’s hard to photograph for a fashion magazine.  If you take a look at the Cary Grant photo we published yesterday, the colors are incredibly simple - it’s the textures that are doing the work.

Cary Grant, dressed simply.  Via A Suitable Wardrobe.

Cary Grant, dressed simply.  Via A Suitable Wardrobe.

Max Bill-designed kitchen clock with timer by Junghans, via Swimsuit Department.

Max Bill-designed kitchen clock with timer by Junghans, via Swimsuit Department.

Best dressed: Alexander Skarsgard.

thesilentist:

What makes this are the wide-peaked lapels, which is something that seems to be rarer these days in tuxedos. It continues to amaze me how many people wear notched lapels instead of the classic shawl or peaked lapels, especially given the formality of an occasion where you’d wear a tuxedo.

(Via hautelikecouture: whatthehale)

“Note my elegance: I expect it will help me at the baccarat table.”

http://www.nau.com/mens/categories/jackets/
 

Men's Shop

Categories

New Arrivals

Jackets + Vests

Shirts

Baselayer

Insulation

Pants

Accessories

Sale Items

MEN'S JACKETS
Photo Credit

Photo: Daniel Sharp, 2010

Collective Stories

Eastern Horizons

Kayaking New York City

Can a kayak change the perspective of people in America's largest city?

OUR BLOG

The Thought Kitchen

Collective inquiry. Food for thought. Stuff we love.

http://www.happy-roses.com/
   

Are you in a happy mood?

Treat yourself and your house to a cheerful bouquet of Happy Roses

The Happy Rose is unique due to its rich and exuberant colour combination and the special colouring technique that lies hidden behind this. One look at this cheerful rose and you will feel happy.

Decorate your living room, patio, reception area, waiting room or conference room with the Happy Rose. Happy flowers for a happy home and office.

New: HappyForever

View our photogallery for examples of HappyForever.

 

Roses are red (and yellow and blue and green and purple)...

Daily Mail (dailymail.co.uk) has an article about Rainbow Roses, to be sold in the UK

[more]

Follow us on
Twitter
Hyves
YouTube
Facebook
http://www.marketingpilgrim.com/
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

Codex

Giving WordPress Its Own Directory

Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory

Many people want WordPress to power their site's root (e.g. http://example.com) but they don't want all of the WordPress files cluttering up their root directory. WordPress allows you to install the WordPress files to a subdirectory, but have your blog exist in the site root.

The process to move WordPress into its own directory is as follows:

  1. Create the new location for the core WordPress files to be stored (we will use /wordpress in our examples). (On linux, use mkdir wordpress from your www directory. You'll probably want to use "chown apache:apache" on the wordpress directory you created.)
  2. Go to the General panel.
  3. In the box for WordPress address (URL): change the address to the new location of your main WordPress core files. Example: http://example.com/wordpress
  4. In the box for Site address (URL): change the address to the root directory's URL. Example: http://example.com
  5. Click Save Changes. (Do not worry about the error message and do not try to see your blog at this point! You will probably get a message about file not found.)
  6. Move your WordPress core files to the new location (WordPress address).
  7. Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address). The .htaccess file is invisible, so you may have to set your FTP client to show hidden files. If you are not using pretty permalinks, then you may not have a .htaccess file.
  8. Open your root directory's index.php file in a text editor
  9. Change the following and save the file. Change the line that says:
    require('./wp-blog-header.php');
    to the following, using your directory name for the WordPress core files:
    require('./wordpress/wp-blog-header.php');
  10. Login to the new location. It might now be http://example.com/wordpress/wp-admin/
  11. If you have set up Permalinks, go to the Permalinks panel and update your Permalink structure. WordPress will automatically update your .htaccess file if it has the appropriate file permissions. If WordPress can't write to your .htaccess file, it will display the new rewrite rules to you, which you should manually copy into your .htaccess file (in the same directory as the main index.php file.)

Clean SVN checkouts

See Installing_WordPress_With_Clean_Subversion_Repositories.

WordPress MU

Please note, this procedure will not work in WordPress MU or in WordPress 3.0 with multisite enabled. It interferes with the member blog lookup.

http://www.sonoton.com/

Profil und Service
Credits
Licences
Sound Effects
Music Search

 
 
 
 
 

ELECTRO MAGNETICS (SCDV0153)

UNFORGETTABLE MELODIES -... (ISCD0206)

EMOTIONAL PIANO 2 (SCD0829)

INDIE FEVER (SCD0828)

... more new CDs

SET - Broadcast & Cable 2010

6 Oscars for "The Hurt Locker"

SONOTON goes AFRO

OTGER KUNERT - SCDV 103

... more News & Information
HD MusicStation
The StandAlone Solution for Offline Music Search and Editing ...more

Carmen Lundy
"One of the world´s greatest Jazz Vocalists"
...more

SONOTON
International Production Music
Schleibingerstr. 10
81669 Munich
Tel. +49 / 89 / 44 77 82 0
Fax +49 /89 / 44 77 82 88
sonoton@sonoton.com


PRINT RECOMMEND TOP
http://airquality.co.uk/
Latest
News
Data Monitoring LAQM Research

Welcome to the UK Air Quality Archive


Summary of Latest Air Pollution Levels:

Everywhere in the UK is currently LOW

Air Pollution Bulletins Updated Hourly:

Forecast for the next 24 hours:

Air pollution is expected to remain low at most locations in all areas for the next 48 hours as current weather conditions persists across the UK.

The situation is expected to remain unchanged for the following 4 days.

 

View UK Air Pollution using Google Earth:

 Download KMZ file
Find out more about using Google Earth to show UK Air Pollution Data

Emissions of air pollutants in the UK
Emissions of air pollutants in the UK

Quick Links: