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
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
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
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?
>
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
ксандр
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> __
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
--
t; engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lis
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
> --
> 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
>
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/
Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
>
> ---=---
> Александр
>
>
> --
> Check out the vibrant tech co
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.
,
>>
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>>
>>
>> ---=---
>> Александр
>>
>>
>>
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
-
--=---
> Александр
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashd
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
>
_
> 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
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
-
> 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
сандр
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slas
--
> 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
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
nstead of 0x40, etc.).
>
> This begs the question: do we supply bad data to the disassembler, or does
> disassembler misinterprets what we give it?
>
> ---=---
> Александр
>
>
> --
>
> ___
iling list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
--
mvh/best regards Björn Lindqvist
--
___
Fact
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
>
>
>
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
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
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/
> 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
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
>> ____
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.
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
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"
>
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
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
---
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
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/
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
-
> 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,
t; ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
--
mvh/best regards 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
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
!
>
> 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
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
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
> 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
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
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
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
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
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
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 )
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
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
[ "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
rop - coins cc + ]
> if ]
> if ;
>
> --
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/
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
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
>
> ------
> Vocabulary does not exist
> name
> "db"
>
>
> How should I use snapshots?
>
> -- Georg
>
> --
>
> __
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
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&
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
All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lis
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
;
> 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
ted. Iain
> --
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
--
mvh/best
__
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
--
mvh/best regards 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
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
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
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
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
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
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
---
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
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
-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
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/
-> ]
> 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
>
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
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
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.
-
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
len -- std mean )
'[ _ * ] bi@ tuck sq - sqrt ;
I think the last one is fairly readable.
--
mvh/best regards Björn Lindqvist
--
___
Factor-talk mail
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 (−
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.
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
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
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
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
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 -
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
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
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
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
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
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
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
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 - 100 of 113 matches
Mail list logo