Re: [Factor-talk] Newbie problem with 'first program'
Wow, it looks like I’ve landed in the right community to get my feet wet in programming! Much thanks to all! I’ll dig into these resources and I’m sure they will take me several steps down the road. Andy -- 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.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
One more link: in 2008 Slava Pestov (the creator of Factor) gave a talk at Google about Factor (as it existed back then), it's interesting and a good introduction to some of Factor's interesting and somewhat advanced features. https://www.youtube.com/watch?v=f_0QlhYlS8g Original Message On January 19, 2018 4:58 PM, John Benediktsson wrote: > You might also look through this great Factor Tutorial page: > > https://andreaferretti.github.io/factor-tutorial/ > > And you might find this neat presentation about Factor useful that was put > together recently: > > https://github.com/viswans83/stack-based-languages-presentation > > And I have a lot of random code and examples on my blog where I was also > trying to learn and write about various things: > > http://re-factor.blogspot.com > > On Fri, Jan 19, 2018 at 1:39 PM, Andrew McDowell wrote: > >> OK, I’ve worked through Your First Program and gotten exposure to a few >> concepts (and had fun!). It would be nice if there were a series of such >> hands on tutorials leading me through further steps in my programming >> education and factor education. I don’t suppose that is the case though. I >> will continue as best I can, stumbling and experimenting, and I”ll make >> progress, but is there anything available anywhere that provides a more >> structured path? >> Just an example to show that despite the First Program tutorial I am still >> fundamentally ignorant: >> After playing with my newly built ‘palindrome?’ program, I began getting >> call stack overflow errors. Ok, but I am flat-footed at this point. What’s >> the call stack? What an overflow? Is my code causing the overflow? How, when >> it was just working a moment since and suddenly produced overflow errors? >> I’m sure the answer is simple and obvious to someone with just a little more >> experience, but what it shows me is that I’m really stumbling in the dark >> from this point. There’s obviously so much more of a very fundamental nature >> that I need to grasp before I even think about more intermediate concepts, >> let alone advanced. Yet I could not even find an explanation of the stack >> overflow error and how to fix what caused it. I’ll mess around and search >> around and figure it out eventually, but there must be a more systematic way. >> How do I proceed from here in learning factor? And programming? >> >> Andy >> >> -- >> 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.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/slashdot___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
You might also look through this great Factor Tutorial page: https://andreaferretti.github.io/factor-tutorial/ And you might find this neat presentation about Factor useful that was put together recently: https://github.com/viswans83/stack-based-languages-presentation And I have a lot of random code and examples on my blog where I was also trying to learn and write about various things: http://re-factor.blogspot.com On Fri, Jan 19, 2018 at 1:39 PM, Andrew McDowell wrote: > OK, I’ve worked through Your First Program and gotten exposure to a few > concepts (and had fun!). It would be nice if there were a series of such > hands on tutorials leading me through further steps in my programming > education and factor education. I don’t suppose that is the case though. I > will continue as best I can, stumbling and experimenting, and I”ll make > progress, but is there anything available anywhere that provides a more > structured path? > Just an example to show that despite the First Program tutorial I am still > fundamentally ignorant: > After playing with my newly built ‘palindrome?’ program, I began getting > call stack overflow errors. Ok, but I am flat-footed at this point. What’s > the call stack? What an overflow? Is my code causing the overflow? How, > when it was just working a moment since and suddenly produced overflow > errors? I’m sure the answer is simple and obvious to someone with just a > little more experience, but what it shows me is that I’m really stumbling > in the dark from this point. There’s obviously so much more of a very > fundamental nature that I need to grasp before I even think about more > intermediate concepts, let alone advanced. Yet I could not even find an > explanation of the stack overflow error and how to fix what caused it. > I’ll mess around and search around and figure it out eventually, but there > must be a more systematic way. > How do I proceed from here in learning factor? And programming? > Andy > > > > -- > 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.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/slashdot___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
I haven't had time to maintain it in a white but [Exercism](http://exercism.io), the free and open-source language-learning platform, has the beginnings of a Factor language track, which is designed to use the Exercism model to help people learn Factor: http://exercism.io/languages/factor/about Original Message On January 19, 2018 4:39 PM, Andrew McDowell wrote: > OK, I’ve worked through Your First Program and gotten exposure to a few > concepts (and had fun!). It would be nice if there were a series of such > hands on tutorials leading me through further steps in my programming > education and factor education. I don’t suppose that is the case though. I > will continue as best I can, stumbling and experimenting, and I”ll make > progress, but is there anything available anywhere that provides a more > structured path? > Just an example to show that despite the First Program tutorial I am still > fundamentally ignorant: > After playing with my newly built ‘palindrome?’ program, I began getting call > stack overflow errors. Ok, but I am flat-footed at this point. What’s the > call stack? What an overflow? Is my code causing the overflow? How, when it > was just working a moment since and suddenly produced overflow errors? I’m > sure the answer is simple and obvious to someone with just a little more > experience, but what it shows me is that I’m really stumbling in the dark > from this point. There’s obviously so much more of a very fundamental nature > that I need to grasp before I even think about more intermediate concepts, > let alone advanced. Yet I could not even find an explanation of the stack > overflow error and how to fix what caused it. I’ll mess around and search > around and figure it out eventually, but there must be a more systematic way. > How do I proceed from here in learning factor? And programming? > Andy > > 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.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/slashdot___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
OK, I’ve worked through Your First Program and gotten exposure to a few concepts (and had fun!). It would be nice if there were a series of such hands on tutorials leading me through further steps in my programming education and factor education. I don’t suppose that is the case though. I will continue as best I can, stumbling and experimenting, and I”ll make progress, but is there anything available anywhere that provides a more structured path? Just an example to show that despite the First Program tutorial I am still fundamentally ignorant: After playing with my newly built ‘palindrome?’ program, I began getting call stack overflow errors. Ok, but I am flat-footed at this point. What’s the call stack? What an overflow? Is my code causing the overflow? How, when it was just working a moment since and suddenly produced overflow errors? I’m sure the answer is simple and obvious to someone with just a little more experience, but what it shows me is that I’m really stumbling in the dark from this point. There’s obviously so much more of a very fundamental nature that I need to grasp before I even think about more intermediate concepts, let alone advanced. Yet I could not even find an explanation of the stack overflow error and how to fix what caused it. I’ll mess around and search around and figure it out eventually, but there must be a more systematic way. How do I proceed from here in learning factor? And programming? Andy -- 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.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
Usually you can press the Fn key and then F2 if it’s a dual-purpose button. Apple doesn’t think we need Function keys and keeps trying to make them harder to use. (I use a MacBook also). > On Jan 19, 2018, at 5:27 AM, Andrew McDowell wrote: > > OK, back with my next question, still working on ‘first program’. By the way > I’m loving the documentation. OK, my question: pressing F2 from the listener, > on my stock Mac keyboard, give the ‘Brighten screen’ function rather than > reloading changed files. For now I’m just using “palindrome” reload, but I’ll > need the F2 reload function sooner or later. How do I achieve that on this > keyboard? > >> On Jan 19, 2018, at 8:01 AM, Andrew McDowell wrote: >> >> That worked John, thank you! A little knowledge goes a long way. I’m sure >> I’ll be back with more questions soon. >> Andy > > > -- > 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.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/slashdot ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
I found out how to fix that in Mac OS Preferences, so I’m ok on that now. -- 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.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
Ok, I fixed that in Mac preferences, so I’m ok there. > On Jan 19, 2018, at 8:27 AM, Andrew McDowell wrote: > > OK, back with my next question, still working on ‘first program’. By the way > I’m loving the documentation. OK, my question: pressing F2 from the listener, > on my stock Mac keyboard, give the ‘Brighten screen’ function rather than > reloading changed files. For now I’m just using “palindrome” reload, but I’ll > need the F2 reload function sooner or later. How do I achieve that on this > keyboard? > >> On Jan 19, 2018, at 8:01 AM, Andrew McDowell wrote: >> >> That worked John, thank you! A little knowledge goes a long way. I’m sure >> I’ll be back with more questions soon. >> Andy > -- 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.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
OK, back with my next question, still working on ‘first program’. By the way I’m loving the documentation. OK, my question: pressing F2 from the listener, on my stock Mac keyboard, give the ‘Brighten screen’ function rather than reloading changed files. For now I’m just using “palindrome” reload, but I’ll need the F2 reload function sooner or later. How do I achieve that on this keyboard? > On Jan 19, 2018, at 8:01 AM, Andrew McDowell wrote: > > That worked John, thank you! A little knowledge goes a long way. I’m sure > I’ll be back with more questions soon. > Andy -- 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.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
That worked John, thank you! A little knowledge goes a long way. I’m sure I’ll be back with more questions soon. Andy -- 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.net/lists/listinfo/factor-talk
Re: [Factor-talk] Newbie problem with 'first program'
You mounted the Factor DMG, which is normal, but it is read-only, so you are getting an error when trying to write files or create directories inside it. I recommend copying the factor folder from the DMG into somewhere else like /Applications and then it should work fine. On Thu, Jan 18, 2018 at 6:13 PM, Andrew McDowell wrote: > Hi, > I have installed Factor on Mac OS 10.13. I'm trying to work through the > Your first Program section. When I do: "palindrome" scaffold-work, I get > the following error: > Unix system call “mkdir” failed: > Read-only file system (30) > It was called with the following arguments: > "/Volumes/factor/factor/work/palindrome" > 511 > > I have attempted to change the permissions on that read-only directory, > but even as root it will not let me change the permissions, saying it is a > system directory and cannot be changed. > I attempted to move the factor folder to the ~ directory. It will not > allow it to move. Any ideas? > I am not a programmer nor a -nix user, so please consider me a rank newbie > and a dummy. > Andy > > > -- > 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.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/slashdot___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk