| Expressing Japanese in BNF
|
|
07 Oct 04 |
|
[print
link
all
] |
|
Do you also feel like you would like to understand the Japanese Ruby
postings?
www.kuro5hin.org/story/2004/2/26/175722/727
and www.kuro5hin.org/story/2004/3/25/32218/1824
|
| Vim cookbook
|
|
06 Oct 04 |
|
[print
link
all
] |
|
Useful stuff about the vim — one of the two good editors on that
planet.
link
|
| CityBuilder
|
|
06 Oct 04 |
|
[print
link
all
] |
|
citybuilder.sourceforge.net/index.html
CityBuilder
is an attempt to automate much of the work involved in creating very large
virtual urban landscapes. The system takes a street map as input, and
produces street geometry and a scene graph containing the building models
as output. The user has control over the types of buildings placed in the
city through the use of image maps. The potential applications for this
system include video game content (think GTA*), visualization, etc.
It is well known to most of those in the field of computer graphics that
mountainous terrain can be generated programmatically. A good deal of
research has been done in this area, focused for the most part on the use
of fractals to generate landscapes. While these techniques produce some
impressive results, they are restricted in the kinds of terrain that they
can generate. For example, these techniques are not appropriate for the
creation of urban terrain.
This is unfortunate, as there are many benefits to being able to
programmatically generate urban landscapes. Many recent video games, for
example, feature very large urban environments. Finding little research on
the topic of urban terrain generation, I decided to create my own utilities
for that purpose.
Note - I have recently been made aware that a very similar project was
published at SIGGRAPH 2001, entitled "Procedural Modeling of
Cities". That project made use of L-systems to generate the street
topographies (mine uses a user-created node graph) and (from the
description) is considerably more complex. I haven’t seen their
output. If you’re interested in this sort of thing, you might want to
take a look at their work, too.
With the CityBuilder
system, there are three stages in the creation of a city. The first stage
is to create the street map, the building models, and some miscellaneous
support files used by the second stage. The second stage is where CityBuilder
takes control. Street geometry is created using the StreetBuilder
component, building models are placed in the city by the BlockBuilder
component, and miscellaneous items like traffic lights are placed in the
city by the ClutterBuilder component. The third stage is to fine-tune the
output using a scene-graph editor or by hand-editing the output files. The
city is then ready to be viewed.
|
| ToonArchive - Tiger Map Server
|
|
06 Oct 04 |
|
[print
link
all
] |
|
The Tiger Map Server dynamically generates road maps of the U.S. and serves
them using a built in web server. The backend data files are provided by
the US Census, and contain data for land, water, road, etc. across the
United States. Esri.com has taken the tiger map server and converted it to
shapefiles, which are free to download.
The Tiger Map Server works as a simple httpd server. It connects to a port,
and returns jpeg maps over http. The URL string specifies the lat/lon/scale
as well as the width and height of the image requested. This design make it
extremely easy to integrate the Tiger Map Server into existing websites or
custom apps. As well as serving jpegs, the server can also return the raw
pixel data. This is much easier to deal with in a C/C++ app, like my Car
Computer project.
toonarchive.com/tiger_map_server/index.php
|
| Advanced Bash Scripting Guide 3.0 (Stable)
|
|
06 Oct 04 |
|
[print
link
all
] |
|
This comprehensive book (the equivalent of about 604 print pages) covers
almost every aspect of shell scripting. It contains 299 profusely commented
illustrative examples (including such goodies as an anti-spammer script),
and a number of tables. Not just a shell scripting tutorial, this book also
provides an introduction to basic programming techniques, such as sorting
and recursion. It is well suited for either individual study or classroom
use.
freshmeat.net/redir/advancedbashscriptingguide/130/url_homepage/html
|
| More blogs about the US RubyConf
|
|
04 Oct 04 |
|
[print
link
all
] |
|
James Britt originally posted these links on his blog (and has a picture of
the conference attendees from the presenter’s view) at www.ruby-doc.org/index.rb/2004/Oct/3
— here are the URLs that james posted and that I have been reading:
|
| SmallTalk ...
|
|
02 Oct 04 |
|
[print
link
all
] |
Phlip posted this into the XP-ML.
Smalltalk is an amazing and legendary language
divulged to humans by Prometheus. This angered the
gods enough they condemned him to refactor a big ball
of Hadean mud for all eternity.
Smalltalk can only be used by humans with a psi power
greater than 17, with adjustments. Smalltalk
programmers do not type, they lean their heads towards
their monitors, and meditate. The more advanced
programmers do not even need monitors.
Smalltalk responds to their thought patterns by
testing itself, coding itself, and refactoring itself.
When humans with low psi powers need to _see_
Smalltalk, it manifests itself as a physical avatar of
a series of almost meaningless ^[]: characters,
interspersed with intention-revealing selectors.
Squinting at these symbols will reveal a Mandala
symbolizing the 7th Chakra of the nearest programmer
who is romantically involved, if any.
Smalltalk itself generates its own refactoring
browser, test rig, IDE, and 3D graphics subsystems as
you write your program with it. So as you structure
your program, Smalltalk uses that structure to
generate the refactoring browser needed to refactor
its structure. This is why some advanced Smalltalk
Gurus know the best way to program Smalltalk is to
simply pick up the CPU and shake it.
The only reason such an obviously superior language
has not taken over the world is because it interferes
with the plans of the astral Lizard People, and their
avatars and representatives among us. These can be
recognized by their MCSD plaques, their years of
experience writing distributed application servers
that serve application distributors, and - especially
- their books with code samples in Java.
|
| Blogs from the US Rubyconf
|
|
02 Oct 04 |
|
[print
link
all
] |
|
OneStepBack Bucklogs
|
| ruby for commercial applications
|
|
02 Oct 04 |
|
[print
link
all
] |
This common thread appeared today in the ruby-ML and matz answered
|Can we use ruby for commercial
|application?
Yes.
|Do we need to distribte our application with sources?
No. If you're using regex.c comes with 1.8.2, you have to allow
re-linking the binary (via supplying object files or dynamic linking),
because it's LGPL. If you are using Oniguruma new regex engine, you
have no such restriction.
Gabriele Renzi added:
IIRC 1.9 in the cvs already has oniguruma as the standard regex lib.
|
| BugMeNot
|
|
02 Oct 04 |
|
[print
link
all
] |
Bypass compulsory web registration via Firefox’s right-click context
menu. Compatibile with Mozilla and current Firefox releases that use the
new extension manager. Visit bugmenot for
full details of their service.
|
| Free voice recognition software
|
|
29 Sep 04 |
|
[print
link
all
] |
|
Sphinx is a speaker-independent large vocabulary continuous speech
recognizer under Berkeley’s style license. It is also a collection of
open source tools and resources that allows researchers and developers to
build speech recognition system.
link
Try a System
If you’d like to have a chance to try out an application that uses
CMU Sphinx, try the Communicator, an experimental system that helps you
plan air travel. You can reach it at the toll-free number 1-877-CMU-PLAN
(1-877-268-7526) or at +1 412 268 1084.. The system will provide real
flight information. The system may be sensitive to loud background noises,
especially over cell phones.
|
| What the bubble got right
|
|
29 Sep 04 |
|
[print
link
all
] |
|
Enjoy reading the latest essay by Paul Graham and you will understand why I
continue to fight against wearing ties :-).
(Source: Paul Graham) I had a front row seat for the Internet Bubble,
because I worked at Yahoo during 1998 and 1999. One day, when the stock was
trading around $200, I sat down and calculated what I thought the price
should be. The answer I got was $12. I went to the next cubicle and told my
friend Trevor. "Twelve!" he said. He tried to sound indignant,
but he didn’t quite manage it. He knew as well as I did that our
valuation was crazy.
Yahoo was a special case. It was not just our price to earnings ratio that
was bogus. Half our earnings were too. Not in the Enron way, of course. The
finance guys seemed scrupulous about reporting earnings. What made our
earnings bogus was that Yahoo was, in effect, the center of a pyramid
scheme. Investors looked at Yahoo’s earnings and said to themselves,
here is proof that Internet companies can make money. So they invested in
new startups that promised to be the next Yahoo. And as soon as these
startups got the money, what did they do with it? Buy millions of dollars
worth of advertising on Yahoo to promote their brand. Result: a capital
investment in a startup this quarter shows up as Yahoo earnings next
quarter— stimulating another round of investments in startups.
link
I especially like this part: Nerds don’t just happen to dress
informally. They do it too consistently. Consciously or not, they dress
informally as a prophylactic measure against stupidity.
|
| [ANN] Rubydium 0.1 - Tech Preview
|
|
27 Sep 04 |
|
[print
link
all
] |
Alexander Kellett posted this to the ruby-ML
Whoa, say what?
---
Rubydium is aiming to become an optimising reimplementation
of the Ruby 1.8 interpreter, currently its as good as vapourware
however the key mechanism has been prototyped, thusly before
commencing a major rewrite I thought i'd release the
current state of the art.
link
|
| Ruby Forum
|
|
25 Sep 04 |
|
[print
link
all
] |
|
Alexey Verkhovsky saids, `Ruby Forum is a newly created bulletin board for
discussing Ruby. Unlike ruby-talk mailing list, it allows anonymous posting
and implements more understandable interface for searching. Intended target
audience of this forum is newcomers to Ruby that are not committed enough
to subscribe to a 100+ posts/day mailing list.’ RubyForum
|
| [XP] OT: Regarding the Subjunctive Mood, if you happen to be in one ...
|
|
25 Sep 04 |
|
[print
link
all
] |
|
(Source: Ron Jeffries) It’s important to take grammar seriously, even
if she has been dead for years.
www.xprogramming.com/xpmag/jatAsYouWere.htm
|
| Heh, Forth _is_ a Rapid Development Tool
|
|
25 Sep 04 |
|
[print
link
all
] |
found in comp.lang.forth
Subject: Re: Application Development
Date: Wed, 24 Mar 2004 08:35:43 -0800
On Wed, 24 Mar 2004 03:34:19 -0600, Jason wrote:
>>
>> Hi All,
>> Are there any rapid application development tools that work with FORTH? Any
>> help is greatly appreciated.
Heh, Forth _is_ a Rapid Development Tool.
-- Regards, Albert
|
| Good customer service
|
|
25 Sep 04 |
|
[print
link
all
] |
|
I wish my bank, my tax office and most of all my mobile phone provider
would do that! Good cuomster service pays off. Good case story
|
| Ruby for the Web: The Arrow Web Application Framewor
|
|
25 Sep 04 |
|
[print
link
all
] |
|
I’ve posted the slides from my session "Ruby for the Web: The
Arrow Web Application Framework" on Arrow’s project page
I thought the sessions went well, considering that we were in a room off in
a corner on a floor completely separate from the other conference events.
Quite a lot of people showed up at the sessions I saw (standing-room only),
and people seemed interested.
|
| Why one should only put pdfs and not word docs online .. Microsoft yet another gotcha
|
|
25 Sep 04 |
|
[print
link
all
] |
(Source coredump.cx) This is not
an exciting story: I happened to be browsing aimlessly through case studies
and other publications released by Microsoft as a part of their "Get
the facts" initiative. At one point, I stumbled upon a Word file I
wanted to read - and as soon as I ran it through wvWare, I noticed there is
a good deal of amusing change tracking information still recorded within
the document. Naturally, publishing documents with
"collaboration" data is not unheard of in the corporate world,
but the fact Microsoft had became a victim of their own technology, and had
failed to run their own tools against these publications makes it more
entertaining.
A pointless idea came to my mind that instant: why not run a gentle web
spider against all Microsoft sites in English, specifically looking for
other instances of tracking data not removed from documents? I coded a
bunch of scripts and let them run through the night, fetching approximately
10,000 unique documents; over 10% was identified as containing change
tracking records. I decided to collect only those with deleted text still
present, yielding a crop of over 5% of all documents. Quite impressive.
Below, you will find a brief (and rest assured, incomplete) list of the
most entertaining samples I’ve run into, along with some speculation
(and only speculation) as to the reasons we see them. link The tool used
|
| [ANN] rpa-base 0.2.1pre1
|
|
25 Sep 04 |
|
[print
link
all
] |
Mauricio aka batman at his best again!!! Make sure you check out the
animation on the website.
rpa-base 0.2.1pre1 is now available at http://rpa-base.rubyforge.org .
Many of the most popular libraries/applications as per Rubyforge
statistics (rails, rake, redcloth, activerecord, sqlite, log4r, copland,
ruvi, to name a few) have been packaged for use with rpa-base 0.2.1pre1.
You can find a list of the 100+ packages at
http://rpa-base.rubyforge.org/wiki/wiki.cgi?Packaged_Software
Screenshots and animations can be found at
http://rpa-base.rubyforge.org/wiki/wiki.cgi?Rpa_Base_In_Action
rpa-base 0.2.1pre1 fixes some issues in the bootstrapping phase, which
couldn't hence be solved through the normal self-upgrade mechanism.
In addition to several other bugfixes, 0.2.1pre1 features better proxy
support, isolation of unit tests run automatically when installing a
lib/app, and improvements in the command-line tool.
Foreword
--------
The Ruby Production Archive (RPA) will provide packages of Ruby
libraries and programs in a form that allows production use, engineered
through a stringent process resembling FreeBSD's or Debian's.
rpa-base is a port/package manager designed to support RPA. Its scope and
purposes are different to those of other systems like RubyGems.
Features
========
rpa-base is a port/package manager designed to support RPA's client-side
package management. You can think of it as RPA's apt-get + dpkg. It
features the following as of 0.2.1pre1:
* strong dependency management: rpa-base installs dependencies as needed,
keeps track of reverse dependencies on uninstall, and will remove no
longer needed dependencies
* atomic (de)installs: operations on the local RPA installation are atomic
transactions; the system has been designed to survive ruby crashes (OS
crashes too on POSIX systems)
* parallel installs: you can install several ports in parallel; builds
will be parallelized and the final phase will be serialized properly
* self-hosting: rpa-base installs and updates itself
* modular, extensible design: the 2-phase install is similar to FreeBSD and
Debian's package creation; rpa-base packages need not be restricted
to installing everything under a single directory ("1 package, 1 dir"
paradigm)
* rdoc integration: RDoc documentation for libraries is generated at install
time (currently disabled on win32)
* ri integration: ri data files are generated for all the libraries managed
by RPA; you can access this information with ri-rpa
* handling C extensions: if you have the required C toolchain, rpa-base can
compile extensions as needed
* unit testing: when a library is installed, its unit tests are run; the
installation is canceled if they don't pass
Several of the above features are illustrated in the screenshots and
animations available at
http://rpa-base.rubyforge.org/wiki/wiki.cgi?Rpa_Base_In_Action
Limitations:
===========
A number of features have been pushed back to 0.3.0:
* full support for binary platform-specific packages
* signed packages/ports
* system-wide configuration system
* better user interface
In practice, the first one is the most limiting at the moment since it means
that win32 users in particular need a working C toolchain to install
extensions. This will soon be addressed.
...
|
|
|