On Tue, Oct 13, 2009 at 8:22 AM, Adam wrote:
> Talking in #concatenative last night with Slava about graphing the
> bootstrap and load-all times lead to this graph I thought I'd share
> with the list:
> http://content.screencast.com/users/hiatoms/folders/Jing/media/812d23fa-c7e0-45e4-bf38-ba7e985
On Thu, Jul 30, 2009 at 10:48 AM, Paul Moore wrote:
> [1] Simulate dealing and scoring a cribbage hand, many millions of
> times. Gather stats on the distributions of the results. Bonus points
> for making the hand generation and scoring procedures easy for the
> user to fiddle with (that bit serio
On Thu, Jul 30, 2009 at 8:51 AM, Paul Moore wrote:
> The last successful Windows binary appears to be from 25 June. Is this
> a known issue? (I was interested in trying out some of the fancy new
> optimisations Slava's been blogging about recently...)
>
I built from windows source a couple of days
On Tue, Jul 28, 2009 at 9:02 PM, Slava Pestov wrote:
> Perhaps instead of with-return/loop you could structure the word as a
> tail-recursive function. The way its coded right now it doesn't return
> the 'obj' parameter on the stack.
>
> If you make it tail recursive, you'll need to tell the compil
On Tue, Jul 28, 2009 at 10:30 AM, Darrin Thompson wrote:
> I tried putting together a loop utility where the delay was increased
> and iteration retried every time the iteration threw a particular
> exception. But I was like "try this" and factor was like "unbalanced
&g
On Tue, Jul 28, 2009 at 10:44 AM, Chris Double wrote:
> In cases like this I run screaming to the locals vocab thereby at
> least removing the unbalanced branches difficulties :-)
>
Back in Python land I would run screaming to generators.
Generators let you tease out little imperative ideas like
Last night I spent a couple of hours trying to find a clean way to
implement this loop:
http://code.google.com/apis/maps/articles/phpsqlgeocode.html#samplecode
The main thing here is that each loop loop iteration is expensive, so
whatever persistence mechanism is in place needs to happen right aw
On Fri, Jul 24, 2009 at 12:31 AM, Jeremy Hughes wrote:
> Air your thoughts and preferences now or forever hold your peace!
>
+1 alien.cxx
You would end up finding and ironing out alien.cxx's wrinkles quickly.
That benefits the whole factor community.
(P.S. I'd love to take Qt's webkit for spin a
On Tue, Jul 21, 2009 at 11:30 PM, Slava Pestov wrote:
> Here are some comments.
>
Awesome. Thanks!
--
Darrin
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
h
On Tue, Jul 21, 2009 at 8:51 AM, Samuel Tardieu wrote:
> This may be because I don't like locals much, but I would have written
> "seq>google-geolocation" as:
>
> : seq>google-geolocation ( input -- geo )
> first4 [ [ string>number ] bi@ ] 2dip ;
>
I do try to avoid the locals. So far I try to a
Slava,
Yesterday you offered "minor feedback" on this:
http://paste.factorcode.org/paste?id=790
But I was done for the day so I missed it. Care to elaborate?
--
Darrin
--
Enter the BlackBerry Developer Challenge
This
On Fri, Jul 17, 2009 at 7:55 PM, Slava Pestov wrote:
> On Fri, Jul 17, 2009 at 10:11 AM, Darrin Thompson wrote:
>> I got a lot more work done in factor when I quit worrying about
>> generators and just used combinators to do the same work. I think in
>> many cases the compile
On Thu, Jul 16, 2009 at 10:20 PM, Hugh Aguilar wrote:
> Does Factor have anything akin to the generators in the ICON language?
>
I got a lot more work done in factor when I quit worrying about
generators and just used combinators to do the same work. I think in
many cases the compiler manages to o
On Thu, Jul 16, 2009 at 3:30 AM, Slava Pestov wrote:
> Hi Jeremy,
>
> Thanks for your continuing contributions. You may have noticed
> already, but there are a couple of unit tests and help lint failures
> in alien.marshall and alien.inline.
>
When will this new stuff show up on docs.factorcode.or
On Wed, Jul 15, 2009 at 6:40 AM, Glenn Tarcea wrote:
> Thanks Bruno, that is the problem. It turns out that the library also
> needs to be built 64 bit. I verified this by building a small utility
> as 64-bit and tried linking it against a 32-bit library. MacOSX
> doesn't like this. I'll have to re
On Mon, Jul 6, 2009 at 4:29 AM, Diego
Martinelli wrote:
> On Sun, Jul 5, 2009 at 8:19 PM, Emeka wrote:
>> Is there a way of getting pdf version of the Factor tutorial or has someone
>> written a software to pull the tutorial?
>
> You can browse it online if you feel it more comfortable
> http://doc
It's been very quite in here lately, little too quiet, like everyone's
heads down doing work, getting stuff done, or something. I gotta kill
this. Seriously...
Has this community grown enough that a get-together somewhere would
have enough people attending to be fun?
--
Darrin
-
On Thu, Jun 18, 2009 at 11:40 AM, Emeka wrote:
> So, I should first study Forth... It may be overwhelming for a mere mortal
> like me. Is Forth a stable language?
>
If that puts you off don't bother. I've been able to get pretty
productive on Factor without studying Forth. The concatenative.org
we
On Wed, Jun 17, 2009 at 7:37 PM, Charles Turner wrote:
> but is there a more elegant/efficient/idiomatic way of doing what I
> want?
>
{ 1 2 3 } { 3 2 1 } zip concat .
?
Not sure if concat is the prettiest thing there but zip is probably
the idea you were missing.
--
Darrin
---
On Fri, Jun 5, 2009 at 5:17 AM, Samuel Tardieu wrote:
>> "Sam" == Samuel Tardieu writes:
>
> Sam> It looks like _ is not substituted within { } in a fry expression:
> Sam>
> Sam> ( scratchpad ) [ '[ { _ } ] ] infer.
> Sam> ( -- object)
> Sam>
> Sam> It makes it difficult to use a case insi
On Fri, May 29, 2009 at 5:32 AM, Slava Pestov wrote:
> On Fri, May 29, 2009 at 4:25 AM, Phil Dawes wrote:
>> Shall I stick with the combinator or do you still prefer the descriptors?
>
> To be honest, I don't feel strongly one way or another. I haven't had
> an opportunity to use the CSV library
On Fri, May 29, 2009 at 5:25 AM, Phil Dawes wrote:
> So something like:
>
> : file>csv ( path/descriptor -- csv )
> : csv ( stream/descriptor -- csv )
> : csv-row ( descriptor -- csv )
> : csv>file ( rows path/descriptor encoding -- )
> : write-row ( row descriptor -- )
> : write-csv ( rows stream
On Thu, May 28, 2009 at 5:57 AM, Phil Dawes wrote:
> Yep you're right- not sure why I didn't see that.
> I made a start on adding dialects to the csv module:
>
> http://github.com/phildawes/factor/commit/752e6a5e075dfc07a692a0ae797164c5da85d2d7
>
> I'll try and do a little more tonight.
>
I used
On Wed, May 27, 2009 at 10:56 AM, Phil Dawes wrote:
> Agreed. I'll make a start on this but can't promise quick results
> because most of my spare time is spent juggling children at the mo!
>
I actually have a need for a csv parser. I have a file with about 20K
lines and a few hundred columns. I
Something mysterious has happened to my windows machine. I can't start
any recent release of factor.
This is on the data stack when it dies:
T{ random.windows:windows-rng "Microsoft Base Cryptographic Provider v1.0" 1 }
"The system cannot find the file specified."
Full info here:
http://paste.f
25 matches
Mail list logo