<Apteryx>Is there a recursive mkdir like "mkdir -p" in Guile? <davexunit>I'm pretty sure I snarfed the implementation for another project of mine <Apteryx>I didn't find it. I used (system* "mkdir "-p" ...) <paroneayea>maybe good to throw at someone who argues "but that violates the unix-philosphy!" <paroneayea>and it's mostly the same thing as in the talks he's given recently <paroneayea>degeneracy of biological systems as an example, emacs as an example, etc <cmaloney>And now, because of one toot by paroneayea I have now added 13 videos to my to_watch folder <paroneayea>I watched your intro to scheme talk and liked it <paroneayea>it was review for me but I thought it was a good overall intro <cmaloney>Thanks. The audience was primarily unix admins so I got a lot of "why would I ever use this?" questions <paroneayea>cmaloney: did you tell them "because in the future you're running guix and shepherd and guile's running everything on your system!"? :) <cmaloney>Well, you probably wont, but it's a gentler introduction to JavaScript than JavaScript <cmaloney>paroneayea: Nah, they have yet to forgive systemd. <cmaloney>and likely the move from BSD-style init to SystemV init <paroneayea>I know people who are still upset that they had to move from LILO to GRUB! <cmaloney>Hell, I'm describing a language that is older than me <cmaloney>(DId I mention that several folks at Coffee House Coders didn't even know what a LISP was?) <cmaloney>Yeah. I mean, I haven't been into Lisp at all but even I knew it just from the background radiation <cmaloney>But, every day there's someone born who doesn't know "The Flintstones". <paroneayea>I wonder how many people are sick of me linking to scheme things on mastodon <cmaloney>and if they're sick of it they can unfollow / mute / block <Apteryx>Is it legit to symlink a symlink? ;) <Apteryx>It's giving me a duplicate level... so I guess not. <Apteryx>What is the best way to write a string to a file? <Apteryx>Seems a bit indirect to have to use "display" instead of a write. <manumanumanu>davexunit: Thanks for the ideas you gave me in the reddit thread. Next revision of the loops will do some quasisyntax magic and have support for non-tail-recursive loops. I will have to do some major refactoring though, and I will group that with a rewrite to make everything but the emit-case more procedural. This will be not only much more flexible, but also faster since there will be a lot less syntax ***webshinra_ is now known as webshinra
***random-nickname is now known as random-nick
<paroneayea>however, that would probably store more than you actually wanted, but I thought of your exploration of related topics when I bumped into it <paroneayea>I'm not sure it's a feature we want in guile either, but it does seem cool :) <catonano>paroneayea: I would like to hhave it in Guile <rekado_>sneek: later tell paroneayea “disk-save” is interesting. For Guile I think we can do better by implementing static linking. <sneek>paroneayea, you have 1 message. <sneek>paroneayea, rekado_ says: “disk-save” is interesting. For Guile I think we can do better by implementing static linking. <rekado_>don’t see your name in my autocomplete results <paroneayea>tempted to work on other things, but I'm being good <paroneayea>only occasionally stealing glances at problem sets from the symbolic computation class I linked :) <cmaloney>Dealing with a recruiter that said (no joke) that they see lots of Python and Scheme jobs <cmaloney>so I asked him "what part of my resume would you like to talk about"? <cmaloney>because I really hate talking to recruiters <paroneayea>I'm getting away with scheme at my contract, but that's because it's some data generation stuff that nobody is working on but me :) <cmaloney>it's rare to find one that isn't trying to jam you into a job like a kid that's two-sizes too lard for their clothes. <paroneayea>I did go through one once, it was a recruiter that worked at the company themselves <cmaloney>Early on I did (1990s) but most of them have been utter disasters <cmaloney>They don't understand OSS, so I'm one of the outliers. <amz3`>cmaloney: let me understand, some recruiter is looking for scheme hackers? <cmaloney>I think I have as much chance of finding a scheme job in Metro Detroit as I have for 6502 assembly <cmaloney>Meh, I'm not at the level where I'd claim competency in Scheme anyway <amz3`>at least I am not coding in C# or Java, but I wish I could use some guil <cmaloney>but I mentioned that i was learning Scheme and had Python experience and his response was "we have lots of those jobs". <cmaloney>Which felt a lot like he was full of the poopies. <amz3`>well, given the number of guile hacker, you may be in the category of hire-able anyway :) <cmaloney>I think there's 118 other folks in line. :) <amz3`>take daviid as an architect and it will be smooth <cmaloney>unless there's another bot in here that I'm not aware of. <manumanumanu>davexunit: Why isn't reverse! continuation safe? is it implemented in C or is there some mutation thing I don't quite understand <amz3`>I've seen people starting coding javascript, with no prior background javascript, sure it will be possible to do some scheme work as easily in the proper environment <davexunit>manumanumanu: think about using map where the mapping function uses abort-to-prompt or something <amz3`>right now, the best chances to land a job in Guile is via a) guix b) artanis <davexunit>it's possible that the continuation can be resumed more than once <davexunit>so using reverse! not only makes for ugly code compared to the natural recursion, it means that your code won't compose with continuations <cmaloney>(Not familiar with Artanis, and Google has polluted that namespace with Starcraft) <davexunit>manumanumanu: yw. if the code you are working with is inherently imperative anyway, then it doesn't matter, but as a general-purpose utility library, preserving continuation safety seems like a noble goal to reach for. <daviid>:) amz3` tx for the nice word,. I also wish they would be more work for schemers and guilers, and I'm currently looking for some (free s/w, gpl compat, research, part time freelance ...) but most offers are about java and python <cmaloney>Yeah, I've been looking for remote Python work. <cmaloney>Except most of those are for Full-stack developers and my front-end experience ends about 2000ish <cmaloney>apparently things have changed since then <amz3`>cmaloney: yes, javascript eco system is fast <manumanumanu>davexunit: not just noble. it's cool :) I slept on the problem, and I think I can do some quasisyntax things and make it general so I don't need any special case <cmaloney>And frankly I'm a little sad that React essentually won because I'm no fan of Facebook <cmaloney>I'd rather work with Elm than React if I'm going to write meta-language <amz3`>cmaloney: well, there is vue et preact <davexunit>I always forget that react isn't javascript but an additional language <davexunit>JSX is *horrible* and unfortunately that is an unpopular opinion <davexunit>combining javascript syntax with html? what could go wrong? <cmaloney>I remember when mixing templates and code was a bad thing, but it appears we're good at reproducing PHP <amz3`>cmaloney: pseudo sxml, but you can fix the parser to be 100% sxml compatible <davexunit>that tries to be Haskell, but it's not Haskell <davexunit>to me there's nothing that is better than plain ol' Javascript yet <amz3`>dsmith-work: the 'return intent' to avoid side effects at all cost is too much trouble <cmaloney>Agreed. JavaScript (ES6+) seems to be what I've wanted in the browser all along <daviid>but once we have ijp guile-js ... would that help? such as writing a new 'react' ...? <amz3`>dsmith-work: if you allows ajax request in the controller, it much more useable IMO <amz3`>daviid: that's the plan i have at least <davexunit>guile in the browser sounds cool. the win there is that you have the same language for front and back ends <dsmith-work>I've been wanting to play with it, but haven't had the time/opportunity <amz3`>daviid: where's the code of guile-js? <davexunit>which is why I don't like Elm. you're *still* writing in multiple languages for the front and backends <daviid>davexunit: also, would it be easier to adress security issues? using guile I mean for the all 'chain' <amz3`>Elm has an incredible reputation, tx to her creator <cmaloney>daviid: There's a little more to React than FP (the virtual DOM is the biggie), but yeah, we could finally get the scheme on the browser that we deserve. :) <davexunit>daviid: I don't know if it would be any easier, but writing just 1 language is an advantage because 1 > 2 <daviid>amz` I don1t know, think ijp likes to get it to a very good and high level of quality before to start to share it ... so we have to wait a signal ... <amz3`>daviid: not really, but it will help in the road of universal web like hop.js is doing <amz3`>daviid: IMO, same security issues will exists <amz3`>daviid: that was my impression too <amz3`>actually I implemented, the same API in forward.scm that elm use, except dynamic, and it lead to very confusing code <amz3`>this project is almost 1 year old