rked on the arm64 assembler and now we have to implement the compiler
> hooks properly with assembly output.
>
> More to come soon!
Wow! That's exciting information!
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourcefor
to be
stagnant, especially the Mac version, which is currently on 2020-04-12. Is
there a problem with this?
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
d when a quote was
executed?
- I don't know how to use 'profile'. I tried this with reference to the
following page, but I got an error. What am I doing wrong?
[ 1 2 + ] profile
top-down profile.
<https://docs.factorcode.org/content/article-tools.profiler.sampling.html>
--
KU
> 2020/03/04 22:02、KUSUMOTO Norio のメール:
>>def gen():
>>for i in xrange(10**5):
>>yield i
>>
>>for i in gen():
>>pass
>
>
>> "libs/coroutines" require
>> USE: coroutines
>> : gen ( -
coyield 2drop ] each f swap coyield ]
cocreate ;
: run ( co -- ) f swap coresume dup [ run ] [ drop ] if ;
IN: scratchpad [ gen run ] time
Running time: 0.000414741 seconds
How should I change that?
--
KUSUMOTO Norio
___
Factor-talk mailing list
Fa
ion and
> improvements.
>
> Perhaps some of our directory traversal code could be improved in Windows.
I understand. I'll report that as an issue.
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
display the first search result.
Why are there differences between platforms? Is there a way to do a quick first
search with windows Factor?
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https
lt;https://github.com/kusumotonorio/factlog>
--
KUSUMOTO Norio
> 2019/11/01 21:05、KUSUMOTO Norio のメール:
>
> Hi, Jack.
>
>
> 2019/10/31 22:32、Jack Lucas via Factor-talk
> のメール:
>>
>> -- Factual
>>
>> -- Factlog
>
> Both are good! Thank you.
ent that you may port miniKanren to Factor.
It would be great if this library could help with some of your plans,
and if you decide to port miniKanren separately from this library,
I hope I could help in some way.
Oh, and I'm also looking forward to writing your boo
ate to use the name "logic" in it.
I hope it is not too long and there is a suitable name.
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
use it's an embedded language, so I wanted to use words that
would not normally be used in factors.
--
KUSUMOTO Norio
> 2019/10/12 21:10、KUSUMOTO Norio のメール:
>
>
>
>> 2019/10/12 20:27、Alexander Ilin のメール:
>>
>> I like the idea, and I will definitely keep in mind
terminology in computing before.
Oh, did that mean that? That is a problem.
"semper" means "always" in Latin.
Semper avarus eget.
https://eudict.com/?lang=lateng=semper%20avarus%20eget
--
KUSUMOTO Norio
___
Factor-talk m
Hello everyone.
I wrote an explanation about logica.
<https://github.com/kusumotonorio/logica>
I would appreciate it if you could give me your opinions and comments.
Also, I would appreciate it if you could think about how to use it. ;-)
--
KUSUMOTO Norio
> 2019/10/03 21:40、KUSUM
Ouch, I correct the previous statement.
> 2019/10/05 10:44、KUSUMOTO Norio のメール:
>
> Leave the code using while instead of nfind until the corresponding
> code is included in the release build.
*I* leave the code using while instead of nfind until the corresponding
code
Thank you for your quick response, John.
Leave the code using while instead of nfind until the corresponding
code is included in the release build.
--
KUSUMOTO Norio
> 2019/10/05 10:20、John Benediktsson のメール:
>
> This works in the non-optimizing compiler (for example, the Listener
t am I wrong?
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
X Y } query .
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
> 2019/10/02 23:07、Alexander Ilin のメール:
>
> I like the LGBT reference, well done! : )
Oh, that's true. :-)
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listin
> 2019/10/02 22:23、John Benediktsson のメール:
>
> Any desire to make it available for others to use?
Yes, of course!
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists
printf nl
" " printf hash N of list>array [ "%d " printf ] each nl nl
] each ;
IN: scratchpad [ { { moneyo N1 N2 N } { sumo N1 N2 N } } query
S-and-M-can't-be-zero
print-puzzle
] time
0 9 5 6 7
+ 0 1 0 8 5
1 0 6 5 2
Running time: 0.
Oh, the single underline was used in 'fry' vocab.
I consider using a double underline to represent anonymous variables...
--
KUSUMOTO Norio
> 2019/09/19 7:21、KUSUMOTO Norio のメール:
>
>> Yep, you can also use the syntax for it:
>>
>> << { "foo "bar
preston/ruby-prolog
The current number of lines, including a few built-in predicates, is 450.
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
2 seconds
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
he impression I got from Word's name.
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
something that satisfies the condition, but I don't know how to
write
'each' that can escape.
What code do you write for such a process?
I use 'with-return' to handle such situations. But I suspect it's costing time.
--
KUSUMOTO Norio
___
Factor-talk
wap set-global
] with-compilation-unit ;
: replace-'_' ( before -- after )
{
{ [ dup _ = ] [ drop var-for-'_' ] }
{ [ dup sequence? ] [ [ replace-'_' ] map ] }
{ [ dup tuple? ] [
[ tuple-slots [ replace-'_' ] map ]
[ class-of slots>tuple ] bi ]
] }
{ [ dup sequence? ] [ [ replace-anonymouse-vars ] map ] }
{ [ dup tuple? ] [
[ class-of 1array ] [ tuple-slots ] bi
[ replace-anonymouse-vars ] map append >tuple ] }
[ ]
} cond ;
--
KUSUMOTO Norio
___
> How do I code to generate symbols at runtime? "define-symbol" seems to work
> only at compile time.
Oh, I was able to do it as follows:
[ "a-symbol" "factor-logica" create-word define-symbol ] with-compilation-unit
--
KUSUMOTO Norio
> 2019/09/17 19
-logica/built-in/built-in.factor
IN: scratchpad { zebrao X } query .
{ H{ { X japanese } } H{ { X japanese } } }
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
Thank you very much. The information you gave me solved my problem.
--
KUSUMOTO Norio
> 2019/09/11 0:15、Doug Coleman のメール:
>
> make-my-image
> make-images
>
___
Factor-talk mailing list
Factor-talk@lists.source
Hello, everyone.
Is it possible to build an image file by myself, for example, by executing some
word?
The image file I'm using seems to have gone wrong.
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https
und
How wonderful!
If it's this fast, it shouldn't be a problem in terms of speed to implement
imperfectly
transparent foreground text.
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
my machine, my code took 9 to 10 times longer to make a text image with a
transparent background
than it did with an opaque background.
! Copyright (C) 2019 KUSUMOTO Norio.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel accessors locals math formatting ui ui.gadgets.la
upted with some difficulties. I'm starting to think that it would be
better to port
Prolog to Factor. :-)
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
to measure time by actually drawing a label with a transparent
background over and over again, and that happens very quickly.
Creating an image from text takes a long time (3: and 4:) , so it should
actually take longer.
What's wrong with my code?
! Copyright (C) 2019 KUSUMOTO Norio.
! See http
Thank you, Alexander!
I will read it and study.
I tried the idea I wrote earlier. I've only tried a little, but it seems to
work well.
Yay!
<https://pbs.twimg.com/media/D70GEGkVUAUxgWb.png>
--
KUSUMOTO Norio
> 2019/05/30 20:19、Alexander Ilin のメール:
>
> Hello!
>
> I
019/05/30 1:59、Alexander Ilin のメール:
>
> Wow, you are making a very valuable contribution!
> Thank you very much for the effort you are making!
>
> It would be really great to have a solution for this issue.
>
> 29.05.2019, 05:39, "KUSUMOTO Norio" :
>> It seems
It seems that the direction to solve the problem is not wrong.
But, we will need to transfer the appropriate data with the appropriate offset
to the device context
where Uniscribe writes a text.
<https://pbs.twimg.com/media/D7s4qrTXYAIk8WF.png>
--
KUSUMOTO
I seem to be a little too upset. I trusted machine translation too much. I'll
fix it.
My guess seems to be correct. Uniscribe seems to be able to draw characters
which have a transparent background on top of images transferred by BitBlt.
--
KUSUMOTO Norio
> 2019/05/28 22:27、KUSUMOTO No
xt-transparent-2 }
{ T{ key-down { sym "5" } } com-screen-shot-with-text-transparent-3 }
} define-command-map
MAIN-WINDOW: hello-uniscribe { { title "გამარჯობა, uniscribe" } }
>>gadgets ;
> 2019/05/28 19:07、KUSUMOTO Norio のメール:
>
> Hi Alexander,
>
&
text-opaque }
{ T{ key-down { sym "3" } } com-screen-shot-with-text-transparent-1 }
{ T{ key-down { sym "4" } } com-screen-shot-with-text-transparent-2 }
{ T{ key-down { sym "5" } } com-screen-shot-with-text-transparent-3 }
} define-command-map
MAIN-WINDO
to create an image of a string with a
transparent background
unless you transfer the original window bitmap to the device context created by
with-memory-dc.
--
KUSUMOTO Norio
> 2019/05/28 14:36、KUSUMOTO Norio のメール:
>
> Hello all,
>
> I've been researching for a while about W
m reading Uniscribe.factor is that it renders characters in
the device context
given by with-memory-dc. However, if you create a bitmap from that dc, its
background is black,
regardless of the drawing on the current window.
My guess is that you won't be able to create an image of a string with a
tr
https://github.com/factor/factor/compare/master...kusumotonorio:cocoa-inline-input
--
KUSUMOTO Norio
> 2019/04/16 22:21、KUSUMOTO Norio のメール:
>
> The inline input/conversion has become stable because I understood the cause
> of
> the crash of Factor IDE.
>
> <https:/
king forward to opinion from you.
https://github.com/kusumotonorio/factor/blob/windows-kn-plan2/basis/ui/backend/windows/windows.factor
https://github.com/factor/factor/compare/master...kusumotonorio:windows-kn-plan2
--
KUSUMOTO Norio
___
Factor-
nction.
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
should I write it?
NO at Cocoa is 0, so I should write it as:
NSString -> class
text swap -> isMemberOfClass: 0 = not [
Also, for my purpose, I should use "isKindOfClass" instead of
"isMemberOfClass".
--
KUSUMOTO Norio
> 201
should I write it?
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
received
the input that was not consumed, but it seems that the IM can't receive the
input
unless the Factor backend sends a key-down event.
<https://user-images.githubusercontent.com/47816570/55955306-03357780-5c9c-11e9-98e8-e41b2fadaac0.png>
--
KUSUMOTO
> 2019/04/11 7:23、Alexander Ilin のメール:
>
> nil is f, the canonical false value.
Thank you!
--
KUSUMOTO Norio
> 2019/04/11 7:23、Alexander Ilin のメール:
>
> nil is f, the canonical false value.
>
> 10.04.2019, 15:52, "KUSUMOTO Norio" :
>> Hmm, "text&
Thank you for your attention, Doug.
I don't care that my code is not used as it is.
Also, I am prepared to explain why I wrote the code that way.
--
KUSUMOTO Norio
> 2019/04/08 8:21、Doug Coleman のメール:
>
> Hi,
>
> I think you can still use the x11 backend on any unix s
}
{ 99 "F3" }
{ 118 "F4" }
{ 96 "F5" }
{ 97 "F6" }
{ 98 "F7" }
{ 100 "F8" }
{ 123 "LEFT" }
{ 124 "RIGHT" }
{ 125 "DOWN" }
{ 126 "UP
Sorry, I’ll correct my message.
> 1. Why are send-key-up called by handle-wm-char?
1. Why are send-key-down called by handle-wm-char?
--
KUSUMOTO Norio
> 2019/03/29 9:49、KUSUMOTO Norio のメール:
>
> When I read the file, I have some questions.
> These are:
> 1. Why are
> 2019/03/09 20:36、KUSUMOTO Norio のメール:
>
> Yes, I can.
>
> Windows 7 Home Premium
> Service Pack 1 32bit
>
> Japanese
>
> Japanese PS/2 keyboard (109)
>
> 32bit Factor factor-windows-x86-32-0.98
>
This PC is im my office. After returning home, I t
Yes, I can.
Windows 7 Home Premium
Service Pack 1 32bit
Japanese
Japanese PS/2 keyboard (109)
32bit Factor factor-windows-x86-32-0.98
--
KUSUMOTO Norio
> 2019/03/09 15:08、John Benediktsson のメール:
>
> Interesting! Okay.
>
> Any details of the keyboard type or la
not notifications about key-up.
--
KUSUMOTO Norio
> 2019/03/09 13:00、KUSUMOTO Norio のメール:
>
> Hi,
>
>
>> 2019/03/09 10:02、John Benediktsson のメール:
>>
>> If you'd like to play around with how Factor receives various inputs,
>> including
User input: 1
per one hit. The other hand, when I hit normal 1 key, it showed :
T{ key-down { sym “1” } }
User input: 1
T{ key-up { sym “1” } }
per one hit.
--
KUSUMOTO Norio
> 2019/03/09 10:02、John Benediktsson のメール:
>
> If you'd like to play around with how Factor receives var
ef-dim* drop { 800 50 } ;
MAIN-WINDOW: key-up-window {
{ title "key-up testhit 1 key (RET: clear)" }
{ window-controls
{ normal-title-bar close-button minimize-button } }
} >>gadgets ;
--
KUSUMOTO Norio
Hi,
Thanks a lot!
I understand how to use lexical variables because of your advice.
--
KUSUMOTO Norio
> 2019/02/05 2:50、Alexander Ilin のメール:
>
> This will work as you expected:
>
> USE: locals
> :: fnc ( -- ) 0 :> i! 3 [ i 1 + i! i . ] times ;
> fnc
>
> 1
>
Hi,
Thank you for your advice!
It was very beneficial.
--
KUSUMOTO Norio
> 2019/02/04 22:19、Philip Dexter のメール:
>
> Hi,
>
> Check out the "Mutable bindings" example here:
> https://docs.factorcode.org/content/article-locals-examples.html
>
> Note the
should I write them?
--
KUSUMOTO Norio
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
Thank you for giving me good advice!
I could send a email with Factor.
--
KUSUMOTO Norio
> 2019/01/21 0:38、John Benediktsson のメール:
>
> You need to define a smtp-config object showing what server to send email
> through:
>
> https://docs.factorcode.org/content/word-smtp-
62 matches
Mail list logo