reStructuredTextなるものを書いてみんとするなり

A ReStructuredText Primerを読んでみるなり。その前にEmacs上でtest用のディレクトリ作ってみたいなぁと思ってぐぐる。 まずこれを試す。 Ctrl + x ↓ d ↓ RET ↓ + ↓ ディレクトリ名を入力 ↓ RET って文字通り+を打つんだった。ディレクトリの追加だから+な…

Emacs - Backspace

Emacs Backspaceでぐぐると英語圏日本語圏ともに色々なやり方が載っているが、とりあえずよく違いもわからないので、一番シンプルにまとまっているこの方のを採用することにした。tips for .emacs http://www.ayu.ics.keio.ac.jp/~mukai/tips/dot-emacs.html…

WindowsのNTEmacs周りでの設定with Autohotkey

とりあえず、Autohotkeyの色々なキー設定と干渉しまくっているのでそれをなんとかしなければいけない。Autohotkeyで常時監視って出来るんだろうか、IfWinActive, emacsみたいな感じで。たぶん、タイマーを使うことになるのかなぁ。延々とタイマーを回すし、1…

Emacs@Windows + MS-IME

NTEmacs 22BASE (日本語インライン変換 & 半透明) http://ntemacsjp.sourceforge.jp/matsuan/IndexJp.htmlとりあえずこのページから1. Download https://sourceforge.jp/projects/ntemacsjp/files/ に沿ってダウンロードしてこればおk。それを普通に展開す…

reStructuredText

reStructuredTextに色々なものを辿って興味が出てきたので実践してみようと思い立ち。レンタルサーバーでXreaを借りていたのを思い立ち、FlaskのTutorialをやろうという意気込みだったのにごにょごにょしていた。reStructuredTextはMarkdownやTextileのよう…

Flask - Tutorial

http://flask.pocoo.org/docs/tutorial/とりあえずチュートリアルを始めようと思うが、色々とFlaskについてぐぐるというかRSS取得していてやっと理解したのが、Flaskってのは最小で構成できるけど他からパーツ持ってきてほとんどやってるだけだから。的なこ…

Learn Python The Hard Way

Exercise 2: Comments And Pound Characters Exercise 3: Numbers And Math Exercise 4: Variables And Namesなんか読んでると例文とか説明しろって部分がよくない気がする。それでもそういうのをスルーしてプログラミングに集中すれば勉強にはなるが。Alan.…

Movement

Learn Python The Hard Way新しく上記のページを見つけたので、これをトライしてみようと思う。昨日作られたものだ。そしてoxoも一応実行出来たので、Learning to Programに戻る道もある。というか、出来れば両者並行してやりたい。明日・明後日はFlaskのTut…

Flask - 3rd Attack - Quickstart - Rendering Template~

Flask@DebianとPythonしようぜ! Flaskもういちど@DebianとPythonしようぜ! に続き僕のFlaskへのサードアタックが始まった。もう一度警告を再括しておこう。 僕は右も左もわからないさっきPythonをはじめたばかりの初心者なんでこのページを見に来た人はオ…

OXO

Learning to programのThe Basicsの最後でAlan Gauld先生に言われたようにOXOのプログラムを書いてみることにする。とりあえずDebian Referenceをさらっと読んで問題点は把握したのでそういう感じで進んでいくことが出来る。まず、最初の壁にぶつかる。OXOっ…

Debian Reference - Chapter 1. GNU/Linux tutorials

1.2. Unix-like filesystem Please also note that there is no concept for drive such as "A:" on any Unix system. There is one filesystem, and everything is included. This is a huge advantage compared to Windows. 1.2.1. Unix file basics Filen…

Debian Reference

を読んでいる。 Preface - 2. What is DebianのDebian Social Contract and Debian Free Software Guidelines (DFSG)を読み終えた。これで僕はDebian社会規約を読み終えたことになる。 Free Software pieces in Debian come from GNU, Linux, BSD, X, ISC, A…

これからどうするか

一度Learning to program - The Basicsが終わって一区切りとなったわけだが、これからどうするか。 A simple game such as OXO or Hangman A basic database, maybe based on our address book, for storing details of your video, DVD or CD collection. A…

IRC3:ChatZilla on XULRunner

おそらくChazillaがFirefoxをたまにフリーズさせてると思うので、Firefoxとは分離した方がいいのかもしれない。 検討しておく。タブをある程度閉じていけば安定していくので、Chatzillaのせいではなく、ただ単に色々なタブを開いていくとフリーズしやすくな…

Flaskもういちど

VirtualBoxのスナップショットでFlaskを入れる前の状態に戻した。もう一度はじめからやってみる。といってもあまり変わらないだろうが。sudo pip install virtualenvは駄目だった。pipとかいうのデフォルトのDebian Lennyには入ってないみたい。sudo apt-get…

権限周り

chmod ls -l ~/myproject$ ls -l total 12 drwxr-xr-x 5 root root 4096 2010-04-17 17:05 env rw-r--r-- 1 root root 160 2010-04-17 17:38 hello.py drwxr-xr-x 3 root root 4096 2010-04-17 17:57 myproject お、なんかnot in the sudoers fileで検索した…

Flask

とりあえずFlaskというやつが新しく出てきたみたいなんで試してみる。あ、僕は右も左もわからないさっきPythonをはじめたばかりの初心者なんでこのページを見に来た人はオフィシャルにいきましょう。Warning!僕は今自分が何をやっているのかすらわかっていま…

Learning to program - The Basics - Error Handling

A Brief History of Error HandlingVBScript周りはまぁ、わかったようなわからんようなで、VBScriptのソースの0でDevideしようとするとおそらくNullが返される?のかと思うんだけど、そうなってない感じ。その辺だけはまぁいいかなぁと。もしかしてアルファ…

今やりたいこと

WWW上にページを作って、そこにドメインでアクセスできて、24hで起動してて、それはHTML5やPythonなんかで遊べて、W3Cの最新技術やMozilla関係、Google なんたらアプスみたいなのとも遊べてて、Wikiみたいな機能も持ってて、とりあえず自由に自分のしたいこ…

Learning to program - The Basics - Handling Text

Manipulating Text There are only two elements in the list this time and the opening parenthesis has been removed from the front of 'short)'. That's an important point to note about ''.split(), that it removes the separator characters. Usua…

Learning to program - The Basics - Handling Files

However we can pass a full path name to the file() or open() functions instead of just the file name. There is a wrinkle when using Windows however, because the \ character used to separate folders in a Windows path has a special meaning i…

ブログ名変更:Debianしようぜ!→DebianとPythonしようぜ!

ブログの内容がPythonのチュートリアル関係主体に変わってきたんで、皆様への便宜向上と自己のモチベーション向上を狙いブログ名を変更しました。Learning to programを終わらせたら、Python Tutorialか日本語のPython本(最近見つけた)に移ろうかと考えてい…

From freenode Debian IRC

/msg dpkg guidelines dpkg *dpkg* 1) Read the /topic, the FAQ, and google before asking us. 2) Don't ask to ask. Just ask. 3) Don't repeat; show that you have tried to help yourself by refining the question. 4) Reading docs (man/info pages,…

From oftc Debian IRC

that's not to say testing is not stable; but not recommended for a new user; new user should start with stable!sns Shiny New Shit Syndrome is a serious disorder, which usually breaks out into an epidemic every time something new is release…

未来だけを考える

未来だけを考えて動く。 でもその基本というか基礎の部分にはおとといの”ああああ”がある。あれだけはもう繰り返したらあかん。東京事変 - スポーツ - 電波通信さえあれば時間さえ気にする必要なくプログラミングの勉強を出来る。

こなしていくのに逆算していこうか

だから、それぞれの期日を決めるために、Learning to Programをどうやってこなして行って何日に終わるかとか決めてみようか。いや、逆に何日までに終わりたいから何日に何をやって何をやってと決めていこうかなと考えていたりする。とりあえず今のところの曖…

Learning to program - The Basics - The Raw Materials - Other Collection Types~

Other Collection Typesからの続き。一応全部先に飛ばしたところを読んでみたけど難解だなぁ、こりゃあの時飛ばしておくべきだったわ。たぶんクリアできるかな。次はこれをクリアしてRaw Materialsの理解の完了、そしてModule & Functionの理解の終了、そし…

Learning to program - The Basics - Modules & Functions

how we use the many, many functions that come with any programming language (often called the library). なるほど、ライブラリと呼ぶのか。プログラミング界隈で結構頻繁に聞く単語だよね。 Note: almost everything in JavaScript is an example of a…

Learning to program - The Basics - Branching

途中で作ったプログラムifminmax.py value = int(raw_input("")) maximum = 100 minimum = 5 if value > maximum: print "Value is out of range!(over maximum)" elif value < minimum: print "Value is out of range!(under minimum)" else: print "Value …

IRC2

とりあえず見つけためぼしいServer群 freenode #debian irc://freenode/debian irc://chat.freenode.net/debian (上と同じらしい。URLの仕組みとかわかってない) Channel Logs http://purl.rikers.org/%23debian/ #python irc.debian.or.jp #debianjp irc.of…