Search the web
Sign In
New User? Sign Up
iolanguage · Io
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 10953 - 10982 of 11910   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
10953
Hi all, I'm forcing myself to write all my one-off scripts in Io to help me learn the language (stuff I'd normally use Python for). Anyway, I needed to parse a...
Cliff Wells
wellscliff
Online Now Send Email
Oct 3, 2008
1:08 am
10954
... And once more, is there some magical way to tell Yahoo Groups to quit reformatting my code? Should I be sending HTML emails? Cliff...
Cliff Wells
wellscliff
Online Now Send Email
Oct 3, 2008
1:21 am
10955
... The mail I received contained nicely formatted code so the problem must be the way you are receiving/reading the message. Ciao, Marc 'BlackJack' Rintsch --...
Marc 'BlackJack Rintsch
marrin666
Offline Send Email
Oct 3, 2008
2:04 am
10956
... Well, that's a relief. I hate asking people to read badly formatted code (the quality of the code itself is another matter ;-) I've switched my Yahoo...
Cliff Wells
wellscliff
Online Now Send Email
Oct 3, 2008
2:09 am
10957
Io 20080120 Io> SGML Exception: Error loading object '/usr/local/lib/io/addons/SGML/_build/dll/libIoSGML.so': ...
Cliff Wells
wellscliff
Online Now Send Email
Oct 3, 2008
6:18 am
10958
... If the file isn't too long, this might work: Regex re := "(\\d\\d\\d)-(\\d\\d\\d)-(\\d\\d\\d\\d).*" asRegex dotAll File with("list.txt") readLines...
Steve Dekorte
stevedekorte
Offline Send Email
Oct 3, 2008
9:16 am
10959
... Triple quoted strings in Io are like that. Example: Io> """ \n """ ==> \n...
Steve Dekorte
stevedekorte
Offline Send Email
Oct 3, 2008
9:18 am
10960
... In perl you could replace: \d\d\d with: \d{3} which is a bit more readable. Would \\d{3} work or are more slashes required ? -- --gh...
Guy Hulbert
gwhulbert@...
Send Email
Oct 3, 2008
12:18 pm
10961
... I'd forgotten about that. I was concentrating more on the Io aspect than the regex itself but ultimately this works nicely: re :=...
Cliff Wells
wellscliff
Online Now Send Email
Oct 3, 2008
4:05 pm
10962
Hi, After studying Jer's example C and Lisp DSLs ( http://blurgle.blogspot.com/search/label/DSL ), I made an attempt to implement a DSL based on Breve (...
Cliff Wells
wellscliff
Online Now Send Email
Oct 6, 2008
8:08 pm
10963
... Tag clone do ( Bah, clearly I was using the same object for every request so they were accumulating on the object's internal stacks with every request. ...
Cliff Wells
wellscliff
Online Now Send Email
Oct 6, 2008
8:21 pm
10964
... This didn't fix it: Request 1 outputs: hello, world this is a test Request 2 outputs: hello, world this is a test hello, world this is a test Request 3...
Cliff Wells
wellscliff
Online Now Send Email
Oct 6, 2008
8:35 pm
10965
I notice a number of uses of interpolate. I'd suggest avoiding interpolate for small tasks as it doesn't cache the compiled code yet....
Steve Dekorte
stevedekorte
Offline Send Email
Oct 7, 2008
7:31 am
10966
More thoughts: This: aList map(v, v arguments) is slower than: aList map(arguments) This: aSeq append(foo) aSeq append(bar) is slower than: aSeq append(foo,...
Steve Dekorte
stevedekorte
Offline Send Email
Oct 7, 2008
8:31 am
10967
... The code's a bit noisier, but getting rid of interpolate and a couple of joins put me from 114req/s to 127req/s, so that's fairly significant. ... As far...
Cliff Wells
wellscliff
Online Now Send Email
Oct 7, 2008
6:47 pm
10968
For the record, this is what I've ended up with: http://pentropy.twisty-industries.com/serving-simple-dynamic-content-with-io The performance has improved...
Cliff Wells
wellscliff
Online Now Send Email
Oct 8, 2008
10:20 pm
10969
Io's concurrency model is pretty nice, but coroutines seem to be inherently limited to execution on a single core (and my recent benchmarking seemed to confirm...
Cliff Wells
wellscliff
Online Now Send Email
Oct 8, 2008
10:23 pm
10970
I guess this may come off as dumb, but have you thinked of memoizing Iota clone? Cheers, Paulo Köch...
Paulo Köch
paulojorgekoch
Offline Send Email
Oct 9, 2008
2:36 am
10971
... Design your application in a way that it can be split over multiple processes. That way you could start as many 'worker' processes as you have cores. Think...
Milos Negovanovic
milos.negovanovic@...
Send Email
Oct 9, 2008
10:09 am
10972
... I had the impression that coroutines were asynchronous and that this was automatic. What special magic is required to allow the 'worker' processes to...
Guy Hulbert
gwhulbert@...
Send Email
Oct 9, 2008
10:13 am
10973
I'm getting the following error when trying to build on cygwin. Command: SYS=CYGW make vm Error: cc -DINSTALL_PREFIX=\"/usr/local\" -O3 -g -Wstrict-prototypes...
patrickgremo
Offline Send Email
Oct 9, 2008
2:15 pm
10974
... Yes, coroutines are async, but they are implemented in the VM and do not map to os threads, therefor can't make use of multicore systems. -- My place to...
Емил Ив...
emil.vladev
Offline Send Email
Oct 9, 2008
3:26 pm
10975
The suggested way to compile Io on windows is to use the cygwin environment with the MSVS compiler. Just make sure you have your LIB and INCLUDE env variables...
Rich Collins
richwcollins
Offline Send Email
Oct 9, 2008
4:04 pm
10976
You can just use sockets to send messages between processes....
Rich Collins
richwcollins
Offline Send Email
Oct 9, 2008
4:05 pm
10977
... Is mapping to O/S threads feasible or planned ? -- --gh...
Guy Hulbert
gwhulbert@...
Send Email
Oct 9, 2008
5:30 pm
10978
... I know. I just had the impression that it was not necessary. It would be nice if the whole problem of multiple cores or even running across multiple nodes...
Guy Hulbert
gwhulbert@...
Send Email
Oct 9, 2008
5:36 pm
10979
... There exists voluminous evidence in strong opposition to shared-memory concurrent development models. A growing body of documentation continues to promise...
Samuel A. Falvo II
falvosa
Offline Send Email
Oct 9, 2008
5:44 pm
10980
On Thu, 2008-09-10 at 10:44 -0700, Samuel A. Falvo II wrote: Thanks for the advice. ... I had the impression that this was already done, that's all. ... One...
Guy Hulbert
gwhulbert@...
Send Email
Oct 9, 2008
6:01 pm
10981
... Understood, but it bears re-iterating for the benefit of others. ... Hmm...maybe what I wrote was not taken as I'd intended. If not, I apologize for my...
Samuel A. Falvo II
falvosa
Offline Send Email
Oct 9, 2008
6:27 pm
10982
... Thanks. It was useful to me anyhow. -- --gh...
Guy Hulbert
gwhulbert@...
Send Email
Oct 9, 2008
6:30 pm
Messages 10953 - 10982 of 11910   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help