| #forth at 4am
|
|
04 Nov 04 |
|
[print
link
all
] |
Stefan sent me this :-).
<madgarden> Heh... "Saying that Java is nice because it works on all
OS's is like saying that anal sex is nice because it
works on all genders"
<hefner> nice quote, shame I can't hang that one up at work..
<madgarden> Write it in the bathroom stall, who'll ever know? ;)
|
| Ruby on a mission critical web application
|
|
03 Nov 04 |
|
[print
link
all
] |
|
Ruby and mysql. www.mysql.com/news-and-events/success-stories/aizawa.html
|
| Wee -- another Web Framework
|
|
29 Oct 04 |
|
[print
link
all
] |
|
(Source: Michael Neumann) Wee is another "Web Framework". My
concentration was to get the core right and light. It includes features
from Seaside2, Iowa and Borges.
Note, that it’s in no way complete, nor usable for anything other
than toy examples (due to very little code, it’s probably stable, but
especially with the Html-generation stuff, there might be problems).
You can download the sources directly from viewcvs here: www.ntecs.de/viewcvs/viewcvs/Wee/
There are no dependencies. To get started change into the examples
directory and run example.rb, then point your browser to localhost:2000/app/ and have fun, or
play with it online here:
ntecs.de/wee/counter
You can find some documentation on my blog. www.ntecs.de/blog/?cat=web
Any comments, bug fixes etc. very welcome!
Many thanks goes to Avi Bryant, who guided me into the right direction by
answering a lot of question. Thanks!
|
| Eminem Mosh video online
|
|
29 Oct 04 |
|
[print
link
all
] |
|
www.gisleson.com/blog/index.php?id=624
I really wonder what impact this might have on the US-elections. Videomirror
|
| The joy of Plaintext
|
|
28 Oct 04 |
|
[print
link
all
] |
|
(Source: winterspeak) A big thanks
to Mark for the link.
Microsoft hates the fact that email is in plaintext. My Outlook Express
client is buggy when it comes to handling the simplest of all tasks:
receiving and responding to a text email. I’ve fiddled with all the
internal settings, trying to get it to convert HTML mail to text,
responding in text, and including all these simple plaintext protocols like
adding ">" to quoted parts of an email I’m responding
to. But my Outlook still insists on having things pop-up in tiny, colored
fonts that are impossible to read, and then not tagging quoted text. In
this environment, emails quickly bloat and become incoherent.
|
| GC and Extensions
|
|
26 Oct 04 |
|
[print
link
all
] |
|
Tim Suth posted this interesting
stuff on Rubygarden
I found that I needed to know more about Ruby’s garbage collector in
order to write robust extensions. This page is an attempt to fill this gap.
It assumes the reader has some knowledge of Ruby’s C API, for example
they have read the introduction
in Programming ruby.
|
| ix in english
|
|
25 Oct 04 |
|
[print
link
all
] |
|
ix is not an OS, but one of the best German computer magazines. You can
download a free sample version online: www.heise.de/ix/en
It’s a test-balloon. Maybe they will sell it as online pdfs in the
future.
|
| Truncating floats
|
|
23 Oct 04 |
|
[print
link
all
] |
I needed to cut off floats after n digits (no rounding).
class Float
def truncate(sd=2)
scale=(10**sd).to_f
(self * scale).to_i / scale
end
end
a=0.255
a.truncate(2) #-> 0.25
|
| Europe at night
|
|
23 Oct 04 |
|
[print
link
all
] |
Very nice picture. Belgium has the lightest sky, as they have lights on
their highways. Germany is only on Nr. 4.
|
| EasyHotel: London for 5 pounds a night
|
|
14 Oct 04 |
|
[print
link
all
] |
|
Wired Story
easyHotel
They copied the idea from Japan.
|
| Business application building with Ruby
|
|
11 Oct 04 |
|
[print
link
all
] |
Kirk posted this to the ML.
I do this regularly, though most of the work so far has tended to be much
more centric on web based applications.
>> 1. A database
>> Java world: Oracle, MySQL or another relational DB of your choice
MySQL
>> 2. Some way to persist domain objects and manage transactions
>> Java world: entity EJBs, JDO, hand-coded DAOs, O/R <censored>
>> mappers, etc
Kansas has been maturing wonderfully for my purposes for this.
>> 3. An RPC (remote procedure call) mechanism for communication between
>> the front-end and the back-end (assuming that the front-end is a
>> thick GUI). Java world: session EJBs, servlets
drb. Works great.
>> 4. A thick GUI
>> Java world: Swing
TK, Qt, Fox
>> 5. A Web GUI
>> Java world: JSP, XSLT, XMLC and all the other stuff
I've use Iowa very successfully for this every day for a couple of years.
>> 6. An asynchronous communications infrastructure
>> Java world: message-driven EJBs
I am using Drb/Rinda/Tupleserver pretty effectively for this. No problems
with it at all so far.
Kirk
|
| Pics from Euruko04 in Munich
|
|
11 Oct 04 |
|
[print
link
all
] |
link
|
| Nasty start -- cool arty website
|
|
11 Oct 04 |
|
[print
link
all
] |
|
cheer up, things could be worst. nastystart.org/
|
| YARV
|
|
08 Oct 04 |
|
[print
link
all
] |
|
SASADA Koichi posted this to Ruby-ML:
Hi guys,
I backed to Japan with no trouble :)
I uploaded following resource used by RubyConf2004 presentation.
Very thanks to RubyConf staffs and attendances.
Presentation Slide: www.atdot.net/yarv/RubyConf2004_YARV_pub.pdf
Benchmark: www.atdot.net/yarv/bench_20041002.txt
|
| RubyConf 2004 sessions available (audio/mp3)
|
|
08 Oct 04 |
|
[print
link
all
] |
|
All,
We have made the .mp3 files (64kbs…downsampled from 192kbs) available
of the sessions of the 2004 Ruby Conference. I added mp3 tags on all the
files so they appear as an album (compilation) and the artist is the
speaker. They are available from the RubyForge BitTorrent site. They are
all in a single .zip file (rubyconf04.zip…364MB)…there are a
total of 20 mp3 files in the .zip:
Friday: 01-Welcome.mp3 02-RubyTraining.mp3 03-TestingWithRuby.mp3
04-Ruwiki.mp3 05-TychoPIM.mp3 06-HackingRuby.mp3 07-Alph.mp3
Saturday: 08-Narf.mp3 09-rubydoc.org.mp3 10-RubyOnRails.mp3
11-RailsDemo.mp3 12-RubyGems.mp3
13-YARV.mp3 14-TestUnit.mp3 15-Keynote.mp3
Sunday: 16-RubyOnWindows.mp3 17-Copland.mp3 18-CodeGeneration.mp3
19-Rubyx4DC.mp3 20-Closing.mp3
Links:
bt.rubyforge.org/
The torrent is:
bt.rubyforge.org/rubyconf04.zip.torrent
If someone wants to get these, unzip and host them via HTTP that’s
cool…we just don’t have the bandwidth :-) If someone wants them
in 192kbs format, let me know via a direct email and we can work out how to
get them to ya (its 1.4GB that way though).
Best, Rich
|
| Retroforth 7.4
|
|
07 Oct 04 |
|
[print
link
all
] |
|
RetroForth is a compact, open source Forth development system. It can be
used under FreeBSD, Linux, BeOS, Windows, SCO OpenServer, or as an
operating system. It is easy very easy to learn, use, and extend with
standard libraries like SDL, and it can also be used to create tight,
stand-alone applications.
Changes: This release adds quite a bit of new functionality. Support for
aliases, filling memory ranges, and finding addresses of functions has been
added. The native version has a serial console, serial port support,
parallel port support, hard drive support, and interrupts. There are also
two new ports using libc, one of which has support for using shared
libraries. A few minor bugs in the conditionals were fixed.
freshmeat.net/redir/retroforth/35324/url_homepage/www.retroforth.org
|
| R 2.0 is out
|
|
07 Oct 04 |
|
[print
link
all
] |
|
R is a language and environment for statistical computing and graphics. It
is similar to S, which was developed at Bell Laboratories by John Chambers
et al. It provides a wide variety of statistical and graphical techniques
(linear and nonlinear modelling, statistical tests, time series analysis,
classification, clustering, etc.). R is designed as a true computer
language with control-flow constructions for iteration and alternation, and
it allows users to add additional functionality by defining new functions.
For computationally intensive tasks, Fortran and C code can be linked and
called at run time.
Changes: Many things have changed since 1.0. The R language has acquired
namespaces, exception handling constructs, formal methods and classes, much
improved garbage collection, generalized I/O via connection objects, and
considerable improvements in the graphics area. The user workspace has been
reorganized, and so has the set of packages that ship with R. Several
"recommended packages" deemed indispensable in a statistical
system are bundled. In addition, there has been a large number of more
specific new functions, tweaks, and bugfixes.
www.r-project.org
|
| Erlang R10B
|
|
07 Oct 04 |
|
[print
link
all
] |
Erlang is a small concurrent functional programming language developed by
Ericsson. It is being used by Ericsson as a systems programming language
for large concurrent fault-tolerant distributed systems.
Changes: This release includes two new applications, XMerl and EDOC. It
increases the maximum number of simultaneous processes to 268 435 456. It
adds several nice additions to the language, such as "Query List
Comprehensions". It provides performance increases and several changes
to included applications.
www.erlang.org/
|
| Hal Fulton - Slides from my talk on Tycho...
|
|
07 Oct 04 |
|
[print
link
all
] |
|
See rubyhacker.com/tycho/slides/slide01.html
I also released v 0.0.6 on Rubyforge — a few minor changes.
|
|
|