Hi Petr, Thanks for the response. I may not have been clear in what I was asking. I know how to write a method that takes a variable number of arguments - my...
12717
Oscar Martinez
wasintw
Feb 1, 2011 7:44 pm
2011/2/1 Jay Adkisson <jay@...> ... I think this is the case: myString performWithArgList("split", list(" ", "/", ",")) omf...
12718
Jay Adkisson
jay@...
Feb 1, 2011 7:48 pm
Yay! Thanks, Oscar, that works beautifully....
12719
grrrisu
Feb 1, 2011 9:10 pm
Hello I found the writeMessage method and it looks like this: writeMessage := method(aSeq, s := Sequence clone setItemType("uint32") append(aSeq size) s...
12720
Mike Austin
mike_ekim
Feb 2, 2011 7:15 am
... Has anyone made a light iterator/cursor or generator example?...
12721
Kevin Edwards
edwakev
Feb 3, 2011 6:46 am
Hey Mike! ... /libs/iovm/io/A3_List.io defines List ListCursor, but I imagine you are asking for a Coro-based generator? I took a quick look and didn't see a...
12722
Kevin Edwards
edwakev
Feb 3, 2011 9:06 am
... Exposing "self value" annoyed me, so attached is a minor update to make it a more standard syntax and yield any argument. I called it "give" just to avoid...
12723
burcsahinoglu
Feb 3, 2011 9:39 pm
i tried using the Oauth object today on Twitter & LinkedIn and failed getting a token. Both service gave me an invalid signature....
12724
Rich Collins
richwcollins
Feb 3, 2011 11:14 pm
Have a look at the Twitter addon. It works well afaik....
12725
burcsahinoglu
Feb 4, 2011 7:04 am
i've looked at the twitter addon it uses the OauthRequest which i tried to use previously but stopped because i received the following error: "Sequence does...
12726
Jan-Paul Bultmann
janpaulbultm...
Feb 5, 2011 11:55 pm
Hey, I am new to Io and was trying to play a bit with Flux, but there seems to be a problem with the linking when installed with homebrew on os x. When loading...
12727
Rod Gaither
rod.gaither@...
Feb 6, 2011 2:24 pm
Hi Jan-Paul, I had some similar issues to chase down but Flux is working on my Mac via a homebrew setup. The approach I took was to build, watch the errors for...
12728
Jan-Paul Bultmann
janpaulbultm...
Feb 6, 2011 5:32 pm
Hey, Thanks for the help, but I had no luck. When running homebrew I get no error messages. I installed the packages you recomended but the error remains. Box...
12729
mattyw83
Feb 17, 2011 11:43 pm
I'm new to all of this, so sorry if this is already mentioned somewhere. I just tried doing some simple socket programming using the example here:...
12730
Jan-Paul Bultmann
janpaulbultm...
Feb 27, 2011 7:54 am
Hey, What happened to the Ioos project :D? Cheers Jan...
12731
Steve Dekorte
stevedekorte
Feb 27, 2011 8:37 am
It ended when Ken Kerahone disappeared from the scene....
12732
Jan-Paul Bultmann
janpaulbultm...
Feb 27, 2011 8:38 am
Sad. Is there some stuff left behind, a repo or something? Cheers...
12733
Jan-Paul Bultmann
janpaulbultm...
Feb 27, 2011 9:20 am
I just spend half an hour wondering why the heck a Sequence literals have no protos... :D Io> "foo" protos ==> list() Cheers Jan...
12734
Steve Dekorte
stevedekorte
Feb 27, 2011 9:43 am
Nice - the empty string. :)...
12735
Jan-Paul Bultmann
janpaulbultm...
Feb 27, 2011 2:12 pm
Hey, is it possible to manipulate and create expressions in an abstract way (no string manipulation of "code")? Say if one wants to create or modify a method...
12736
Jan-Paul Bultmann
janpaulbultm...
Feb 27, 2011 9:39 pm
eerie vs. boid Any thoughts, on which to choose :D? cheers Jan...
12737
josiplisec@...
lisec0
Feb 27, 2011 9:51 pm
(Author of Eerie here) I think they are both more or less abandoned/haven39;t been updated in a long time; I had some plans to update and finish stuff left on my...
12738
Steve Dekorte
stevedekorte
Feb 28, 2011 12:15 am
... Yup. In Io, Messages are expressions as an expression is just a chain of messages and Messages themselves point to the next Message. For example the code: ...
12739
Jan-Paul Bultmann
janpaulbultm...
Feb 28, 2011 6:53 am
Thanks, But how to create independent ones. Say: block("foo" print "bar" print ) cheers Jan...
12740
Jan-Paul Bultmann
janpaulbultm...
Feb 28, 2011 8:25 am
Thanks :) I think I'll stick with eerie. Reason: I know where I can find you when I got to make a patch :D I think this is pretty much what io needs. I mean...
12741
Steve Dekorte
stevedekorte
Feb 28, 2011 6:26 pm
You can set the message/expression on a block: aBlock := Block clone setMessage(message(foo bar)) example with arguments: double := Block clone...
12742
Steve Dekorte
stevedekorte
Feb 28, 2011 8:22 pm
... The latter. ... I was talking about it for proto definitions, but mapping the object graph to the filesystem for persistence is also interesting to me. ......
12743
Jan-Paul Bultmann
janpaulbultm...
Mar 1, 2011 2:02 am
Sorry, I think I still didn't formulate it clear enough :( :) What I was trying to do, was to create a expression of independent messages. Like they are when...
12744
Steve Dekorte
stevedekorte
Mar 1, 2011 9:34 am
It seems to work for me: Io> a := Object clone Io> a b := 2 Io> doMessage(message(a;b)) Exception: Object does not respond to 'b'... Io> doMessage(message(a...
12745
Jan-Paul Bultmann
janpaulbultm...
Mar 1, 2011 10:52 am
Yes, when an expression (in terms of the BNF of Io), containing a separator (e.g "\n" or ";") is given as an argument to "message" this message will represent...