twelvemonkeys has quit [Ping timeout: 264 seconds]
twelvemonkeys has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
rob_w has joined #picolisp
orivej has joined #picolisp
<beneroth>
Morning Nistur
<beneroth>
Hi all
<beneroth>
Regenaxer, how often do use (step) in application code? :)
<Regenaxer>
Hi all!
<Regenaxer>
I never used it in app code, only in maintenance
<Regenaxer>
ah sorry!
<Regenaxer>
misread
<Regenaxer>
I meant 'seq' :)
<Regenaxer>
No, 'step' I do use occasionally
<Regenaxer>
but seldom
<Regenaxer>
Instead I resort to Pilog or 'collect'
orivej has quit [Ping timeout: 265 seconds]
<Nistur>
mornin' :)
<Regenaxer>
Hi Nistur
<beneroth>
Regenaxer, I think I have a use for getting a list of all unique values in a +Ref index
<beneroth>
(like SQL Distinct)
<beneroth>
I guess (step) is good to build that list? better idea?
<Regenaxer>
Or 'iter'
<beneroth>
T
<Regenaxer>
'step' is mainly for asyncronous usage
<Regenaxer>
it keeps state
<beneroth>
T
<beneroth>
right 'iter for the use case I described
<Regenaxer>
yeah, with 'make' perhaps
<beneroth>
'iter is using 'step internal, at least conceptually, right?
<beneroth>
T
<Regenaxer>
no
<Regenaxer>
'step' is more expensive
<beneroth>
ah yes
<Regenaxer>
for keeping the state
<beneroth>
I see
<Regenaxer>
iter is simpler
<Regenaxer>
just recursive
<beneroth>
pilog generator clauses use step?
<Regenaxer>
exactly
<beneroth>
grokked, thx!
<Nistur>
I was actually coding last night! :D Although, I did hit a problem, because 10pm is not the best time for me to be trying to figure things out and when I hit a bump, I just stared at it for ages, not seeing. Can someone please let me know how stupid I am? :P
<Regenaxer>
No, same here. Never should start tricky things at night
<Nistur>
http://ix.io/2qxS <-- I was trying to scrape a website, which does translation from English to IPA. As you can see from system call to curl at the top it "works" (the resulting IPA is in <span class="transcribed_word">...</span>) but for some reason when I tried it in pil, it didn't like me, and kept cutting words off
<Nistur>
it shouldn't even have been tricky, I was just being slow :P
<Regenaxer>
:)
<Regenaxer>
btw, (show to-ipa) is better (pp 'to-ipa)
<Regenaxer>
and, keep in mind naming conventions, 'phrase' -> 'Phrase'
<Nistur>
ok
<Regenaxer>
'phrase' might well be a global (eg function)
<Regenaxer>
Cutting words of, looks like a charset issue
<beneroth>
I'm best at night
<Nistur>
(pp 'to-ipa) would make the whole thing scroll off my screen, as I'm currently using a pull down quake style terminal, so it would have been more difficult for me to copy/paste, but I'll keep it in mind
<Regenaxer>
Pil can only handle UTF-8
<Nistur>
it should be UTF-8
<Regenaxer>
ok
<Nistur>
everything in my setup is set to UTF-8
<Regenaxer>
perfect
<Nistur>
you can also see, the last missing symbol is the same ə as the second character
<beneroth>
looks really weird. I would dump curl output into a file as an intermediate debug opportunity
<Nistur>
beneroth: when I'm not exhausted, I work amazingly well at night, but when I'm 10 minutes from struggling to keep my eyes open, I also fail to concentrate on code :P
<beneroth>
T, then I also produce garbage :)
<Nistur>
beneroth: I've also done that :P the file is correct
<beneroth>
like obvious garbage. but only obvious the next day :P
<beneroth>
your element is really 'transcribed_word">' ?
<beneroth>
beware of optional element attributes on element opening tags when using (from)
<beneroth>
looks to me like the (till) parsing/matching is buggy?
<beneroth>
Nistur, to get it working, you could do (line) or (till) instead of the (till 'str T) and then filter the rest away by looping through the list
<beneroth>
ugly but good enough
<Nistur>
wait, why does (till "br" T) give NIL?
<beneroth>
yep
<beneroth>
exactly
<Regenaxer>
'till' does not go for words
<Regenaxer>
it goes for characters
<beneroth>
a right!
<Regenaxer>
(till "<" T)
<beneroth>
one of the characters
<Regenaxer>
yeah
<Nistur>
ohhh ok
<beneroth>
aaaah
<beneroth>
yeah n is matched
<Regenaxer>
Sorry, I was distracted, did not check well
<beneroth>
Regenaxer, sorry I did check but forgot how till works
<beneroth>
>.<
* beneroth
hides
<Nistur>
:) Thanks
<Regenaxer>
np : en
<beneroth>
see I'm not good in the morning
<beneroth>
:( how embarrassing
<Regenaxer>
Nono :)
<Nistur>
Now I can make it transcribe the first paragraph of the hobbit for me :P
<Nistur>
it does one word at a time, looking it up in a local database, if it doesn't find the word, it will grab it from the internet :P
<Nistur>
the _intention_ is to now make a simple 3D renderer, and render a head. Then feed it several poses, which can be assigned to IPA symbols, and I can make it automagically generate lip syncing animation :P
<Nistur>
after just getting rendering and blending between poses working, I'll look at audio analysis to try and time the poses correctly :P
<Regenaxer>
cool
<beneroth>
ah, deepfakes
<Nistur>
no :P
<beneroth>
soon the politicians will tell what you want, at least on your telly, Nistur ?
<beneroth>
:P
<Nistur>
this is for gamedev :P
<beneroth>
I know, you want it for content generation
<beneroth>
the one thing that doesn't scale
<beneroth>
a main reason I'm in business software and not games :P
<Nistur>
I'm in enterprise software this year
<Nistur>
and I dislike it
<Nistur>
I want to go back to games
<beneroth>
T
<beneroth>
My condolences
Blue_flame has quit [Quit: killed]
Blue_flame has joined #picolisp
orivej has joined #picolisp
twelvemonkeys has quit [Ping timeout: 240 seconds]
twelvemonkeys has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
<rick42>
hi pil peeps!
<rick42>
i hope all are well!
<beneroth>
Ahoy rick42
<rick42>
beneroth: o/
<beneroth>
my firefox just crashed once again
<beneroth>
over 20 years and they still cannot make it stable
<rick42>
i remember the first time being disappointed that "enterprise software" had nothing to do with Star Trek. lolol
<beneroth>
but fancy shit they sprinkle everywhere
<rick42>
beneroth: lol
<beneroth>
yeah enterprise sounds much better than it is
<rick42>
:)
<beneroth>
enterprise doesn't run on enterprise software :)
<rick42>
exactly! :D
<beneroth>
I blame lazy software developers and their ignorant managers for that we don't live in StarTrek utopia yet
<rick42>
T
<rick42>
beneroth: do you think there is any browser better (well, at least more stable / less problems) than firefox?
<beneroth>
no
<beneroth>
and that's exactly my problem
<beneroth>
well w3m
<beneroth>
no updates since years. a good sign.
<beneroth>
fuck
<beneroth>
I hate it
<beneroth>
I don't find any logs
<beneroth>
dunno if firefox makes log
<beneroth>
probably not
<beneroth>
probably it would be also bad if it would produce logs
<beneroth>
last crash dump stored in .mozilla is 24 days old, so it doesn't even manage to properly crash
<rick42>
:(
<beneroth>
but DNS over HTTPS they want roll out.. hahaha...
<beneroth>
back to the drawing board
<rick42>
idk much about browsers. i sometimes use surf, but only because it's easier to control in my UI setup.
<beneroth>
thanks for the hint
<beneroth>
might be a good idea
<rick42>
i don't have hard requirements, but i'm sure i'd be frustrated if i were using it for web client testing
<beneroth>
contra point: based on webkit
<rick42>
it == firefox
<rick42>
ah
<rick42>
maybe it's shit for logging too idk
<beneroth>
I installed surf now, thx
<beneroth>
will look into it
<rick42>
it doesn't have tabs though. you have to rebuilt it for tabs. but rebuilding (make build) is non-problematic
<rick42>
i wish to knew more about browsers though. they all seem to fall short -- just it different areas. :( sigh
<rick42>
so where's muh pil package manager? ;-) lol jk
<rick42>
i saw somebody on sdf asked for picolisp to be installed (on one of their new systems)
<rick42>
on the one hand, I was glad to see someone using it; on the other hand, i wondered why they just didn't build the current version.
twelvemonkeys has quit [Quit: leaving]
jibanes has joined #picolisp
<beneroth>
sdf ??
<rick42>
sdf.org
<beneroth>
probably because they don't know that they could build it, or don't know how so and probably find building software exotic and scary
<rick42>
public access unix system in north america (and europe)
<rick42>
heh yeah
<beneroth>
nice
<Regenaxer>
Hi rick42! Nice to see you :)
<rick42>
hey, Regenaxer!!! likewise!
<rick42>
are you ready for Friday?
<Regenaxer>
yess :)
<rick42>
excellent
<rick42>
I ill try to make it: 4AM for me :)
<Regenaxer>
oh, very early :(
<Regenaxer>
So 2 weeks later is better for you
<rick42>
yeah probably. no worries though. my only dilemma is: should I stay up until 4AM or should I go to bed early? lol
<Regenaxer>
indeed, difficult
<Regenaxer>
I think I would sleep first
<rick42>
agreed
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #picolisp
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
emacsomancer has quit [Read error: Connection reset by peer]