Re: [Factor-talk] Linter for Factor USING: ... ; forms

2018-02-07 Thread Björn Lindqvist
brant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://li

[Factor-talk] How to test Factor

2018-01-24 Thread Björn Lindqvist
important ones using only "test-all" without "load-all". -- mvh/best regards Björn Lindqvist -- Check out the vibrant tech community on one of the world's most

Re: [Factor-talk] Secure Memory

2018-01-19 Thread Björn Lindqvist
ble (to the application code) magic. > > 17.01.2018, 22:40, "Doug Coleman" : > > We actually had a command-line argument to the vm to optionally zero the > gc after collection but we removed the feature somewhere around when we > dropped BSD support. It's prob

Re: [Factor-talk] Disassembly

2018-01-19 Thread Björn Lindqvist
n! > > Thanks for the explanation! I've already lost hope of seeing a reply to > that, but you appeared out of nowhere and saved the day. Thank you! > > Are you saying there was a different (better?) optimizer in the previous > Factor releases? What happened to it? >

Re: [Factor-talk] Secure Memory

2018-01-17 Thread Björn Lindqvist
Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- mvh/best regards Björn Lindqvist -- Check out the vibrant tech community on one of the wo

Re: [Factor-talk] Disassembly

2018-01-17 Thread Björn Lindqvist
ксандр > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > __

Re: [Factor-talk] FUNCTION:

2018-01-17 Thread Björn Lindqvist
ot.org! http://sdm.link/slashdot > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- mvh/best regards Björn Lindqvist --

Re: [Factor-talk] Concatenative Cert Expired

2017-06-24 Thread Björn Lindqvist
t; engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lis

Re: [Factor-talk] Stack Effects Explained

2017-06-23 Thread Björn Lindqvist
out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lis

Re: [Factor-talk] Slava's Factor blog - posts before 2005

2017-06-23 Thread Björn Lindqvist
> -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Factor-talk mailing list >

Re: [Factor-talk] LLVM

2017-03-19 Thread Björn Lindqvist
munity on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/

Re: [Factor-talk] when-empty

2017-03-01 Thread Björn Lindqvist
Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > > > > ---=--- > Александр > > > -- > Check out the vibrant tech co

Re: [Factor-talk] Security Applications

2017-02-28 Thread Björn Lindqvist
des to play optimization tricks. -- mvh/best regards Björn Lindqvist -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.

Re: [Factor-talk] EOL

2017-02-15 Thread Björn Lindqvist
, >> >> ___ >> Factor-talk mailing list >> Factor-talk@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/factor-talk >> >> >> >> ---=--- >> Александр >> >> >>

Re: [Factor-talk] Startup time

2017-02-15 Thread Björn Lindqvist
only once". My focus is somewhere else though - why is the > initialization taking so long? John is saying there's room for > improvement, room to do less. > > -- -- mvh/best regards Björn Lindqvist -

Re: [Factor-talk] Macros needed?

2017-02-15 Thread Björn Lindqvist
--=--- > Александр > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashd

Re: [Factor-talk] Threaded Code?

2017-02-15 Thread Björn Lindqvist
ded code interpreter in C as an exercise to understand > them better a while back; including some conditionally-compiled debug code > and a fairly small complement of core Forth words and an outer interpreter > loop, it's still well under 1k lines of source. > > --Levi >

Re: [Factor-talk] Threaded Code?

2017-01-31 Thread Björn Lindqvist
_ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk -- mvh/best regards Björn Lindqvist -- Check out the vibrant tech community on one of t

Re: [Factor-talk] maybe{

2017-01-29 Thread Björn Lindqvist
the set of all rationals which in turn is smaller than the set of all real numbers." I agree it would be useful with more documentation in this area. -- mvh/best regards Björn Lindqvist -- Check out the vibrant tech c

Re: [Factor-talk] subseq?

2017-01-21 Thread Björn Lindqvist
- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Factor-talk mailing list > Factor-talk@lists.sourcef

Re: [Factor-talk] Ratio vs. Float

2017-01-19 Thread Björn Lindqvist
сандр > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slas

Re: [Factor-talk] Accumulation of subsequences

2016-12-16 Thread Björn Lindqvist
-- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.ne

Re: [Factor-talk] $related

2016-12-14 Thread Björn Lindqvist
orge.net >> https://lists.sourceforge.net/lists/listinfo/factor-talk > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdo

Re: [Factor-talk] Libudis86.dll (Was: TYPED: Declarations)

2016-11-25 Thread Björn Lindqvist
nstead of 0x40, etc.). > > This begs the question: do we supply bad data to the disassembler, or does > disassembler misinterprets what we give it? > > ---=--- > Александр > > > -- > > ___

Re: [Factor-talk] Out Of Memory

2016-11-23 Thread Björn Lindqvist
iling list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk -- mvh/best regards Björn Lindqvist -- ___ Fact

Re: [Factor-talk] Web scraping

2016-11-18 Thread Björn Lindqvist
short and to the point, but I'm fine with w/e that > is easy enough and has the same power. So basically I'm just looking for > more tips or options in case I missed something. You guys have a lot of > vocabs :) > > -- > >Peter Nagy > > >

Re: [Factor-talk] Dedupe by Slot

2016-11-18 Thread Björn Lindqvist
it like this: USE: slots.syntax [ slots{ id name } ] sort-with [ id>> ] group-by [ second first ] map It's not as efficient as what John committed though. :) Maybe we should try and clean it up somehow? If we put all gro

Re: [Factor-talk] Listener in a Different Context

2016-11-09 Thread Björn Lindqvist
on Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > ___ > Factor-ta

Re: [Factor-talk] Search Files by Name

2016-10-29 Thread Björn Lindqvist
ou by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/

Re: [Factor-talk] restricting ratio literals

2016-10-26 Thread Björn Lindqvist
> Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- mvh/best regards Björn Lindqvist -- The Command Line: Re

Re: [Factor-talk] Factor As Scripting Language

2016-10-26 Thread Björn Lindqvist
I tooling catch you by surprise? >> Reconnect with the command line and become more productive. >> Learn the new .NET and ASP.NET CLI. Get your free copy! >> http://sdm.link/telerik >> ____

Re: [Factor-talk] prettyprinter number-base float errors

2016-09-16 Thread Björn Lindqvist
s number parsing/printing. I'd like some inputs on the > following problem: > > Basically the problem can be seen from this paste: > http://pastebin.com/jxV8UKG2 : setting number-base to 2 or 8 gives > pprint-errors for floats.

Re: [Factor-talk] Could not initialize OpenAL

2016-09-14 Thread Björn Lindqvist
2016-09-14 23:53 GMT+02:00 Alexander Ilin : > Hello! > > 15.09.2016, 00:16, "Björn Lindqvist" : > > > > But you can download soft_oal.dll from the OpenAL soft package: > http://kcat.strangesoft.net/openal-binaries/ Rename that file to > OpenAL32.dll and put i

Re: [Factor-talk] Could not initialize OpenAL

2016-09-14 Thread Björn Lindqvist
2016-09-14 18:32 GMT+02:00 Alexander Ilin : > Hello! > > 14.09.2016, 17:04, "Björn Lindqvist" : > > f f alutInit drop alutGetError alutGetErrorString > > And see what error message you get. > > > "There was an error opening the ALC device" >

Re: [Factor-talk] Could not initialize OpenAL

2016-09-14 Thread Björn Lindqvist
f f alutInit drop alutGetError alutGetErrorString And see what error message you get. -- mvh/best regards Björn Lindqvist -- ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk

Re: [Factor-talk] +foreign-id+ seems to protect unused entries too

2016-08-25 Thread Björn Lindqvist
te+ +cascade+ } to get cascading deletes. IME, that is almost always better than restricting deletes. > "test.db" > [ "rm " prepend system drop ] You could use [ ?delete-file ] here. -- mvh/best regards Björn Lindqvist ---

Re: [Factor-talk] USING: cleanup

2016-08-11 Thread Björn Lindqvist
eded entries? > > ---=--- > Александр -- mvh/best regards Björn Lindqvist -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, ap

Re: [Factor-talk] GitHub

2016-08-10 Thread Björn Lindqvist
J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. http://sdm.link/zohodev2dev > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/

Re: [Factor-talk] Font

2016-07-29 Thread Björn Lindqvist
nformed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- mvh/best

Re: [Factor-talk] benchmark is rigged?

2016-07-29 Thread Björn Lindqvist
- > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow,

Re: [Factor-talk] nano_count()

2016-07-25 Thread Björn Lindqvist
t; ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk -- mvh/best regards Björn Lindqvist --

Re: [Factor-talk] handle-seekable?

2016-07-13 Thread Björn Lindqvist
>> https://lists.sourceforge.net/lists/listinfo/factor-talk > > -- > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen

Re: [Factor-talk] Hooking the Back End

2016-06-14 Thread Björn Lindqvist
ill keep blinking, but you won't be able to queue the > next file to be copied while the first one is still being handled. That's > what my custom backend would do for you. -- mvh/best regards Björn Lindqvist

Re: [Factor-talk] Issue #1573: interrupt a tight loop

2016-05-28 Thread Björn Lindqvist
! > > 27.05.2016, 20:00, "Björn Lindqvist" : >> Try defining like this: >> >> : ( -- alien ) DWORD { LPVOID } stdcall [ ] alien-callback ; > > Tried this, see below. > > I'm now at home, trying these things on Win 8.1 64-bit, on a freshl

Re: [Factor-talk] Issue #1573: interrupt a tight loop

2016-05-27 Thread Björn Lindqvist
659582;e > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk -- mvh/best regards Björn Lindqvist

Re: [Factor-talk] Issue #1573: interrupt a tight loop

2016-05-27 Thread Björn Lindqvist
lare a callback: CALLBACK: DWORD ThreadProc ( LPVOID lpParameter ) Then a callback maker: : ( -- alien ) [ ] comparer ; <-replace [ ] with your code Then call it: f 1024 f 0 1234 CreateThread -- mvh/best regar

Re: [Factor-talk] Build Factor on Windows with Win7 SDK

2016-05-26 Thread Björn Lindqvist
> Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- mvh/best regards Björn Lindqvist -- What NetFlow Analyzer can

Re: [Factor-talk] Issue #1573: interrupt a tight loop

2016-05-26 Thread Björn Lindqvist
g personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sour

Re: [Factor-talk] Complex Shuffle Words

2016-05-04 Thread Björn Lindqvist
redibly cheap so it makes no difference at all. I would be very surprised if you were able to demonstrate a measurable speedup by replacing locals with stack shuffling words. -- mvh/best regards Björn Lindqvist -- Find and

Re: [Factor-talk] Listener on Windows - UI Corruption

2016-04-30 Thread Björn Lindqvist
isable it by right-clicking the .exe file and go: Properties -> Compatibility -> Inactivate scaling when using High DPI. -- mvh/best regards Björn Lindqvist -- Find and fix application performance issues faster wi

Re: [Factor-talk] How would I solve this better in Factor?

2016-03-12 Thread Björn Lindqvist
gnup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk -- mvh/best regards Björn Lindqvist

Re: [Factor-talk] images: new words to handle sprites and extract parts of an image

2015-11-30 Thread Björn Lindqvist
d someone recommend a vocabulary that could > contain them? The words new-image-like and image-part could reside in > the images vocab. I'm not sure where the generate-sprite-sheet word > could fit in or if it is sufficiently useful to include. -- mvh/best regards Björn Lindqvist

Re: [Factor-talk] potential memory issue

2015-10-12 Thread Björn Lindqvist
n-inos get ?adjoin ] } 1|| ] } 1&& ; : file-info-size ( link -- s ) dup count-file-info? [ regular-file-size ] [ drop 0 ] if ; : file-size ( path -- s ) [ link-info file-info-size ] [ 2drop 0 ] recover ; : du-tree ( path -- s )

Re: [Factor-talk] Ctrl+Break

2015-10-12 Thread Björn Lindqvist
itasking, aka kernel threads, into Factor this problem would be trivial to fix but right now it is very hard. -- mvh/best regards Björn Lindqvist -- ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk

Re: [Factor-talk] A bug ?

2015-10-01 Thread Björn Lindqvist
0 ] recover ; The code gets a little tricky because you didn't want to ever load a full directory listing into memory. -- mvh/best regards Björn Lindqvist -- ___ Factor-talk

Re: [Factor-talk] how to run-pipeline

2015-09-24 Thread Björn Lindqvist
[ "def-a" or ] [ "def-b" or ] bi* "grep -a %s -b %s" sprintf "ls" swap 2array ; IN: scratchpad f f special-pipeline { "ls" "grep -a def-a -b def-b" } Factor doesn't have words with variable number of arguments, so you supply f instea

Re: [Factor-talk] stack effect

2015-07-29 Thread Björn Lindqvist
rop - coins cc + ] > if ] > if ; > > -- > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/

Re: [Factor-talk] Does the location of the image file matter ?

2015-07-29 Thread Björn Lindqvist
It's because the switch is "-resource-path" not just "-resource". 2015-07-29 9:11 GMT+02:00 Georg Simon : > Am Tue, 28 Jul 2015 23:41:59 +0200 > schrieb Björn Lindqvist : > >> I'm not sure I understand you. By default, "resource:" is setu

Re: [Factor-talk] Does the location of the image file matter ?

2015-07-28 Thread Björn Lindqvist
on of the image file affects "resource:" and "resource:" > affects "vocab:" > > So I now know that I have to keep all image files in the same directory? > > -- Georg > > ------

Re: [Factor-talk] Does the location of the image file matter ?

2015-07-26 Thread Björn Lindqvist
> Vocabulary does not exist > name > "db" > > > How should I use snapshots? > > -- Georg > > -- > > __

[Factor-talk] What do we call a collection of vocabs?

2015-07-09 Thread Björn Lindqvist
and classes) in a file forms a module and a collection of modules forms a package. In Java, a collection of methods forms a class and a collection of classes forms a package. In Factor, a file with words is a vocab but a collection of vocabs is what? :) Do we have a name for it? -- mvh/bes

Re: [Factor-talk] FreeBSD 10 amd64 supported?

2015-07-09 Thread Björn Lindqvist
good FreeBSD test machine to use. > > What are your thoughts on supporting all the BSD's? > > Best, > John. > > > > > On Thu, Jul 9, 2015 at 6:03 AM, Björn Lindqvist wrote: >> >> Are you able to build the factor binary? That's the first step. It&

Re: [Factor-talk] FreeBSD 10 amd64 supported?

2015-07-09 Thread Björn Lindqvist
sses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk -- mvh/best regards Björn Lindqvist

Re: [Factor-talk] nested nil lists

2015-07-03 Thread Björn Lindqvist
All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lis

Re: [Factor-talk] displaying Lisp like nested lists

2015-06-29 Thread Björn Lindqvist
rceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk -- mvh/best regards Björn Lindqvist -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management

Re: [Factor-talk] osx emacs FUEL

2015-06-01 Thread Björn Lindqvist
; > Thanks, Iain > > p.s. original bounced as I included screen captures > > >> On 31 May 2015, at 00:11, Björn Lindqvist wrote: >> >> Could you explain in more detail what your problem is? >> >> 2015-05-30 19:04 GMT+02:00 Iain Gray : >>> I have

Re: [Factor-talk] osx emacs FUEL

2015-05-30 Thread Björn Lindqvist
ted. Iain > -- > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk -- mvh/best

Re: [Factor-talk] LLVM -> ASM.js

2015-03-27 Thread Björn Lindqvist
__ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > > -- mvh/best regards Björn Lindqvist -

Re: [Factor-talk] Debugging words with locals

2015-02-04 Thread Björn Lindqvist
ure the walker to deal with this, where would I want to look to try > improving things? -- mvh/best regards Björn Lindqvist -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Inte

Re: [Factor-talk] A performance challenge

2015-01-25 Thread Björn Lindqvist
ut equally well on its own anyway. > I recommend using TYPED: or TYPED:: declarations to specify neighbors is an > array and normal sequence words? I was trying that, but Factor appears to add dynamic type checks to words which call typed words which increase the size of the generated

[Factor-talk] A performance challenge

2015-01-17 Thread Björn Lindqvist
d. Right now it is co-recursive, (longest-path) calls ((longest-path)) which calls (longest-path). I think that if you can get rid of the co-recursion it would easily become as fast as the Java version. -- mvh/best regards

Re: [Factor-talk] Google+ Factor community and first question

2015-01-17 Thread Björn Lindqvist
mailinglist - where users can exchange. So I've > created a Google+ community for the Factor programming language. I don't > include a link here, please search for "Factor Language" in Google+ and you > will find it. I would be glad if s

Re: [Factor-talk] Standalone executables in Windows

2015-01-07 Thread Björn Lindqvist
hrenberg gave a link > to a factorcode.org faq page, but this is now broken (404 error). > > It was stated that a tool for making standalone executables was in > development - is it in existence? > > Regards > > John Sampson -- mvh/best regards Björn Lindqv

Re: [Factor-talk] A stub of a package manager

2014-12-29 Thread Björn Lindqvist
27;s virtualenvs. But I have no idea. Anyway, if you do not target multi-version package installs, then you wouldn't need one vocab root per package, so why not start there? Suppose something as simple as: IN: scratchpad "https://g

Re: [Factor-talk] A stub of a package manager

2014-12-18 Thread Björn Lindqvist
be really useful. * Feel free to ignore all my points above. :) It's ofcourse better if a package manager is created than that bikeshedding prevents it from ever happening. -- mvh/best regards Björn Lindqvist ---

Re: [Factor-talk] Quotations and generics

2014-12-05 Thread Björn Lindqvist
cation) > or sequences (with concatenation). Other examples can be derived from > these, since hastables whose values are in a monoid are also naturally > a monoid. > > My implementation is here > > https://github.com/andreaferretti/factor-work/blob/master/monoid/mon

Re: [Factor-talk] Factor packaging for Ubuntu

2014-11-29 Thread Björn Lindqvist
Yes! Now there's a Utopic package there too. 2014-11-26 12:00 GMT+01:00 Andrea Ferretti : > Would it be possible to add a package for Ubuntu 14.10? > > 2014-11-25 19:39 GMT+01:00 John Porubek : >> On Sat, Nov 22, 2014 at 11:35 AM, Björn Lindqvist wrote: >>> &g

Re: [Factor-talk] Factor packaging for Ubuntu

2014-11-22 Thread Björn Lindqvist
-26 9:45 GMT+02:00 Björn Lindqvist : > Hello! > > I've created a PPA and made an experimental Factor package for Ubuntu: > > https://launchpad.net/~bjourne/+archive/factor > > The binary name "factor" was already taken by a program in coreutils > so I had to chan

Re: [Factor-talk] Factor 0.97 now available

2014-11-05 Thread Björn Lindqvist
me too. Any chance this fix will be deployed in the >> official download? It is unforunate that the default download does not >> work out of the box on recent Ubuntus, as it may hinder adoption >> >> 2014-11-04 19:12 GMT+01:00 mr wzrd : >> > >> > On 11/04/

Re: [Factor-talk] Factor 0.97 now available

2014-11-04 Thread Björn Lindqvist
-> ] > Word: c-to-factor > (U) Quotation: [ [ catchstack* push ] dip call -> catchstack* pop* ] > (O) Word: command-line-startup > (O) Method: M\ gtk-ui-backend (with-ui) > (U) Quotation: [ > OBJ-CURRENT-THREAD special-object error-thread set-global >

Re: [Factor-talk] Factor 0.97 now available

2014-11-04 Thread Björn Lindqvist
places) using a >>> different lookup algorithm >>> >>> - unification of core and basis to allow using higher level language >>> features earlier in the bootstrap process >>> >>> And more vocabularies and libraries, etc. Plus we love contributio

Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread Björn Lindqvist
Hurra! Any plans for 0.98 or, dare I say it, 1.0? Factor feels like a very solid language to me and it's just lacking in polish. -- mvh/best regards Björn Lind

Re: [Factor-talk] Multithreading in Factor

2014-10-15 Thread Björn Lindqvist
without it and still be very useful. Python, Erlang, Node.js and Ruby all proves that. If the goal of the concurrency is IO throughput, then cooperative threads which Factor already has works really well. For cpu intensive tasks you can often start multiple processes instead of threading. -

Re: [Factor-talk] Adding new resource: vocabularies, versioned libraries, and more

2014-08-27 Thread Björn Lindqvist
like packages a lot. But let's start small. You're talking about not only packaging Factor vocabs but also versioning and dependency management. It easily becomes overwhelming if you try to solve all problems at once. -- mvh/best regard

Re: [Factor-talk] Let's fix yosefk's tricky code

2014-08-14 Thread Björn Lindqvist
len -- std mean ) '[ _ * ] bi@ tuck sq - sqrt ; I think the last one is fairly readable. -- mvh/best regards Björn Lindqvist -- ___ Factor-talk mail

Re: [Factor-talk] Let's fix yosefk's tricky code

2014-08-14 Thread Björn Lindqvist
m invLen (×.) → μ; > μ sum2 invLen (×.) μ square (−.) sqrt > > Then easily eliminate μ: > > def meanStd (float float float → float float): > > → sum2 sum invLen; > > sum invLen (×.) dup > { sum2 invLen (×.) } dip > square (−

[Factor-talk] Let's fix yosefk's tricky code

2014-08-13 Thread Björn Lindqvist
nd, given three scalar values: the sum of all elements in a vector, the sum of all elements squared and the inverse of the length, you should be able to calculate the mean of the vector and the standard deviation.

Re: [Factor-talk] What exactly is the retain stack?

2014-05-16 Thread Björn Lindqvist
p will output the quotation: [ ( 0 1 2 3 -- 3 0 1 2 ) shuffle-effect [ append over ] ( x x x -- x x x ) call-effect ( 0 1 2 3 -- 1 2 3 0 ) shuffle-effect ] Now neither shuffle-effect nor call-effect a

Re: [Factor-talk] What exactly is the retain stack?

2014-05-15 Thread Björn Lindqvist
tov : > Hi Bjorn, > > The retain stack is used to implement the 'dip' combinator. > > Slava > > > On Thu, May 15, 2014 at 1:46 PM, Björn Lindqvist wrote: >> >> Hi everyone, >> >> I've been walking around in Factors VM for a while and there is a

[Factor-talk] What exactly is the retain stack?

2014-05-15 Thread Björn Lindqvist
e values to be unboxed in more situations, and it will improve accuracy of compiler analyses." So the retain stack is useless? Freeing up a whole register sounds like it should be great for performance, at least on 32 bit x86. -- mv

Re: [Factor-talk] manual memory management and STRUCT:

2014-03-18 Thread Björn Lindqvist
t implementation you can get away with and then if you run into performance problems start to optimize it. -- mvh/best regards Björn Lindqvist -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databas

Re: [Factor-talk] manual memory management and STRUCT:

2014-03-18 Thread Björn Lindqvist
Just remember to pair every allocation (or resource acquisition) with a &destructor word (which you already are doing) and factor should work it out fine. -- mvh/best regards Björn Lindqvist -- Learn Graph Databases -

Re: [Factor-talk] installation packages for CI?

2014-02-27 Thread Björn Lindqvist
e/+archive/factor I plan to update them frequently to keep them in sync with Factor's main master branch. -- mvh/best regards Björn Lindqvist http://www.bjornlindqvist.se/ -- Flow-based real-time traffic analytics so

Re: [Factor-talk] How to reload help definitions?

2014-02-13 Thread Björn Lindqvist
e cases this creates some problems. When you upgrade in that fashion you need to run "refresh-all save" in Factor. Otherwise your image will not contain the latest changes from git. -- mvh/best regards Björn Lindqvist

Re: [Factor-talk] installation packages for CI?

2014-02-09 Thread Björn Lindqvist
r distro's build system could very easily package Factor. Then to actually get distros to put Factor in their repos would entail reopening tickets like this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471925 Plus, Debian has some bureaucratic ru

Re: [Factor-talk] Best way to split a fixed locations

2014-02-09 Thread Björn Lindqvist
3 / number of data axes" IN: "/=" split [ [ blank? ] trim ] map . { "NAXIS" "3" "number of data axes" } -- mvh/best regards Björn Lindqvist -- Managing the Performance of Cl

Re: [Factor-talk] Presentation and installation issues on Slackware64-14.1 Linux

2013-12-11 Thread Björn Lindqvist
eally believe in this possibility? I'm just a Factor newbie, but sure why not? Right now, not many people use Factor because it is not marketed much and it still has some minor blemishes. Many people like functional programming which Factor excels at s

Re: [Factor-talk] Factor interface to Spotlight

2013-11-13 Thread Björn Lindqvist
u tend to go 'round in circles. > Just couldn't see how to get on from there without a compass (or native > guides), > & I did learn a lot along the way. Still needs some improvement (maybe bug > fixes, too). > > In particular, I'd l

Re: [Factor-talk] Factor interface to Spotlight

2013-11-08 Thread Björn Lindqvist
st. Check your link, it doesn't go anywhere. :) Perhaps try https://gist.github.com/ for long-lived pastes because they dont delete them after a few days. -- mvh/best regards Björn Lindqvist -- November Webinars f

Re: [Factor-talk] Why execute( will check stack effect in some cases but won't in others?

2013-11-04 Thread Björn Lindqvist
execute( x -- x ) ] with map -- mvh/best regards Björn Lindqvist -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white p

  1   2   >