00:00:00 --- log: started forth/19.09.18 00:32:23 --- join: reepca` (~user@208.89.170.37) joined #forth 00:33:25 --- quit: reepca (Ping timeout: 264 seconds) 00:45:58 --- quit: rdrop-exit (Quit: Lost terminal) 00:46:15 --- quit: dave0 (Ping timeout: 245 seconds) 00:46:39 --- quit: dave9 (Ping timeout: 245 seconds) 00:53:12 --- join: dave9 (~dave@069.d.003.ncl.iprimus.net.au) joined #forth 01:10:56 --- quit: ryke (Ping timeout: 265 seconds) 01:42:41 --- join: dys (~dys@2a01:598:a80b:ca23:9eb6:d0ff:feee:f529) joined #forth 01:52:33 --- join: kori (~kori@2804:14c:85a3:81b8::1000) joined #forth 01:52:33 --- quit: kori (Changing host) 01:52:33 --- join: kori (~kori@arrowheads/kori) joined #forth 02:35:14 --- join: dave0 (~davezero@211.26.155.69) joined #forth 02:36:51 --- join: mtsd (~mtsd@77.110.61.100) joined #forth 02:37:00 what's up forth 02:37:19 --- quit: creat1001 (Remote host closed the connection) 02:37:25 always get caught up yak shaving when writing a concatenative interpreter 02:37:32 I found a bug :) 02:37:42 squished it? 02:38:18 yep, it was the kind of bug that results from a chain of causes 02:38:48 it ended up with arm-none-eabi-objcopy complaining "waiter, there is a fly in my soup" 02:39:58 waiter, there is soup on my fly 02:40:39 because I work with a standalone Forth on stm32 chips, I have to send Forth Source to it, and process text from it for certain tasks, such as creating a bootable binary image from the MCU dictionary contents etc 02:41:15 all this back and fro via relatively slow a serial link 02:41:43 not like using unix sockets for stuff 02:42:53 and because the Forth terminal screen is in text, I have to parse, convert etc from the terminal logfile, which I do automatically 02:44:19 so far so good, my bug was caused by some extra ANSI escape sequences in the new Forth release which gives cool colored Forth prompts depending on the state of the outer interpreter 02:44:36 ... the price of progress :) 02:46:29 stellaris? 02:47:37 yep 02:47:39 Mecrisp-Stellaris 02:49:39 i mean how many on chip forths have ANSI escape colors ? we are talking premium Forth here! 02:49:46 ;-) 02:50:25 I also have red errors and blue warnings from my slightly modified version 02:50:35 plus they ring the terminal bell 02:51:40 I'm worried the Forth Standards committee will come round and take it because it's too pretty and easy to use ;-) 02:59:04 of course a tethered Forth such as mecrisp-Across is heaps easier and has a lot more features at the price of not being MCU resident in the final mcu based product 02:59:21 which often isnt important anyway 03:10:46 who was writing actorForth? 03:10:50 proteusdude? 03:11:11 the domain forth.actor is only £5.54 keke 03:20:37 --- join: rdrop-exit (~markwilli@112.201.170.86) joined #forth 03:24:12 -SaslServ- failed to login to tp. There have been 12 failed login attempts since your last successful login. 03:24:26 this cracker has been after my nick for years now 03:25:15 the bot must be up to about 20 thousand brute force attempts 03:27:48 wow 03:29:08 hey rdrop-exit, Zen Forth Master 03:29:59 Hi Master Technician tp! ;) 03:30:16 I just bought a domain 03:30:20 concatenative.club 03:30:25 rdrop-exit, that daughter of yours has me humming "sugar town", I cant get it outa my head now! 03:30:28 now, what to do with it... 03:30:50 Cool tp :) 03:31:04 WilhelmVonWeiner, open a club with skimpy barmaids and PROFIT ! 03:31:05 Hi WilhelmVonW 03:31:29 rdrop-exit, she sings that way better than Nancy Sinatra imho 03:31:55 You're too kind tp, I'll let her know :) 03:32:16 I'm serious, Nancy sounds bored and half asleep in comparison 03:32:25 :) 03:32:35 hey rdrop-exit, what's good 03:33:04 Just relaxing after some shopping 03:33:30 I walked, I was very lucky it didn't rain 03:36:24 Why did you get the domain name for WilhelmVonWeiner 03:36:33 we had our first rain in months last night, it hasnt had any effect on all the big fires around here tho 03:37:20 It's been raining on an off for weeks now, half the time I walk the dogs I get drenched 03:39:26 we should run a pipeline to your place ;-) 03:46:38 --- quit: mtsd (Remote host closed the connection) 04:04:31 rdrop-exit: some kind of new-wave forth site 04:04:32 idk 04:04:49 when I have some more free time I'll be using it 04:06:51 Cool, look forward to checking it out when you go public 04:11:57 --- quit: WickedShell (Remote host closed the connection) 04:21:12 --- quit: DKordic (Quit: ERC Version 5.3 (IRC client for Emacs)) 04:31:52 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 04:35:32 might make a twitter-like page for Forth 04:35:46 where the front page is interesting concatenative stuff 04:36:05 and you just log in and post yer code or commentary 04:41:17 i can anticipate your first comment " No one uses Forth nowadays, its obsolete, get C! " 04:42:29 I've never used Twitter, trying to imagine it, sounds cool 04:43:10 Posting short snippets, right? 04:43:38 yeah 04:43:45 but the posts could be larger. 04:43:51 a social Forth blog I guess? 04:43:53 shrug* 04:44:27 night all, may the Forth be with you! 04:44:37 g'night tp! 04:45:14 Ah even long words, like 6 or 8 lines long 04:46:13 Maybe that's too long though 04:48:30 You could play "name that word" :) 04:51:57 g'night tp 04:52:54 lines isn't a good way to measure code 04:53:14 you can have a very long code in one line 04:54:01 Not if you code on blocks, 64 chars max per row 04:56:43 :P 05:07:40 I found a definition that takes exactly 64 chars: 05:07:49 : indent ( rowa -- a ) dup bottom? 0; dup blank? 0; indented ; 05:08:48 i.e. a single row 05:20:24 --- join: creat1001 (63be2f20@99-190-47-32.lightspeed.chrlnc.sbcglobal.net) joined #forth 05:44:47 -1 u2/ constant mpn 05:44:56 1 ror constant mnn 06:02:44 64 or 80 06:02:45 or 06:02:54 72. 06:03:46 I use 80 for C, 64 for Forth 06:04:07 (chars per line) 06:19:55 64 works well with blocks 06:26:11 42 06:32:14 12 06:32:44 --- join: ryke (~Thunderbi@71-9-171-192.dhcp.jcsn.tn.charter.com) joined #forth 06:32:50 hardcore mode Forth 06:33:09 perfect for APL 06:33:26 12 is too short for me 06:34:28 :d dup ; :o over ; :c drop ; and so on... 06:34:30 :thinking: 06:35:32 APL is more compact, no need for spaces 06:35:39 I have 88 words (out of 505 in my retro/unix image) with names 12 chars or greater 06:38:51 I have a bunch too 06:39:17 505 words, you only need a-z like :a and :aa 06:39:20 :^) 06:40:09 words like reset-trail-1s 06:40:31 jk jk 06:40:34 i.e. reset trailing 1 bits 06:46:58 I believe my longest name is preemptable-echo 06:47:09 I was lazy that day :) 06:50:04 the longest name in retro is random:xoroshiro128**:test-seed 06:50:23 =8-O 06:54:49 http://forth.works/50cd3e816aa9f1465f0534d4f6446ee5 is my list of names with 10 or more characters 06:55:02 > =8-O 06:55:44 oops I must have clicked something wrong, sorry for the repeat 07:02:49 cool 07:07:17 --- join: xek_ (~xek@user-94-254-232-167.play-internet.pl) joined #forth 07:07:46 crc: is that my word lol 07:08:20 I could still never figure out why the implementation of 128** started off-by-one 07:08:34 WilhelmVonWeiner: yes :) 07:10:44 my word names are pretty long (8 characters on average, with 167 of the 505 being 10 or more) 07:26:37 --- quit: APic (Ping timeout: 268 seconds) 07:27:20 --- quit: ryke (Ping timeout: 245 seconds) 07:29:00 --- quit: tabemann (Ping timeout: 245 seconds) 07:31:03 --- join: APic (apic@apic.name) joined #forth 07:45:09 --- quit: dys (Ping timeout: 276 seconds) 08:00:40 Goodnight all, keep on Forthin' 08:00:48 --- quit: rdrop-exit (Quit: Lost terminal) 08:02:25 WilhelmVonWeiner: Nifty idea! 08:02:25 Bonus if the code-snippet-twitter can be used through a forth wordset. 08:02:25 The idea reminds me a bit of the defunct refactormycode.com 08:02:25 Sharing forth code works well if shared and loaded in source form rather than binary packages. I also see that whenever forth is shared the user just takes what they need, heavily edits for their own personal forth application, and leaves the rest. 08:02:25 This could be a more natural fit for more extroverted forth social coding than an npn/pip/cargo style package manager. 08:03:20 https://github.com/oli-g/refactormycode https://pramatr.wordpress.com/2008/11/07/refactormycodecom-will-it-work/ 08:12:54 --- join: xek__ (~xek@public-gprs411669.centertel.pl) joined #forth 08:15:09 --- quit: xek_ (Ping timeout: 246 seconds) 08:19:11 Hm, I wasn't even thinking of user pages but "collections" on a social Forth platform might be interesting 08:24:25 --- join: gravicappa (~gravicapp@145.255.0.90) joined #forth 08:29:41 --- join: dys (~dys@2a01:598:a80b:ca23:226:5eff:fee9:68d2) joined #forth 08:53:11 --- quit: dave0 (Quit: dave's not here) 08:57:19 Finally fixed a long standing issue in my Z80 Forth that runs on the TI-84+ 08:57:21 https://github.com/siraben/ti84-forth/commit/bc0140d641a121a4f2e43a2ccb796e42d58ead44 08:58:42 It kept printing ok at the end of every word processed 09:12:00 --- quit: xek__ (Ping timeout: 240 seconds) 09:17:43 hehe. Ok 09:17:48 :) 09:17:57 I've been considering dropping the 'ok' from mine 09:21:25 I need to fix an issue with words not found if ." was not space seperated. 09:21:36 I get this: Error: ->."Buckjoy. word not know. Error: ->" word not know. 2280 Ok 09:21:37 crc: Yeah I don't have 'ok' as a prompt. Just a newline character upon completion. It makes it easier to copy and paste code from a session. 09:22:27 It takes the ending " as a word. I kind of like the result though, but I will fix anyway 09:24:37 I don't see the 'ok' often as I'm not using forth interactively most of the time. (I enter my code in a file or block editor, and run from there mostly); my interactive use is mainly in debugging 09:24:52 ...the 'ok' prompt is redundant because we use the enter key anyway. 09:25:09 I like ok 09:25:19 just for aesthetic, historical reasons 09:25:23 I may have a command line switch to turn in off or on 09:26:37 havent seen you around before creat1001, what are you working on 09:28:15 Hi. I'm doing a C based forth VM. It will have a few oddities. Just getting started really. I have the font end mostly done now and outlining the vm in code now 09:30:52 Am planning on 3 stacks. One work (parm) stack, one return and one for loops. I'm going to have specal instructions for loop setup 09:31:16 All play code, nothing serious. 09:33:28 I'm not trying for true forth'isum just working my old brain to keep it from getting bored from plan ole work .net code 09:52:45 --- join: ryke (~Thunderbi@mail.homecaregiverstn.org) joined #forth 09:53:13 --- quit: ryke (Client Quit) 09:58:07 --- join: ryke (~Thunderbi@mail.homecaregiverstn.org) joined #forth 10:04:20 --- quit: ryke (Quit: ryke) 10:53:35 loop stack? hmm 10:56:19 --- join: WickedShell (~WickedShe@159-118-128-145.cpe.cableone.net) joined #forth 10:56:28 yeah. Seperat from the call. I wanted to tray some stuff to simplify the compiles and do some nested loop optomizing. It was an idea I had a long time ago on a VM I wrote for a comercial product. I did not do it though then. 10:57:59 That VM was register based though. This is the first stack based vm I have done. 3rd VM though 11:05:10 WilhelmVonWeiner: will you be using a server written in forth for your new domain? 11:06:58 good question 11:07:33 probably not because I have stuff already running on lighttpd fronted by Cloudflare 11:08:15 in my head I was just thinking about whipping it up in Flask and deploying it to my server or like, aws 11:09:40 flask makes you lazy. I like lazy for the web :) 11:12:18 I'm working towards being able to retire my last non-forth server. 11:14:03 crc: what's your underlying tcp code written in? 11:14:09 inetd 11:14:34 http://forth.works/examples/Casket-HTTP.forth.html 11:15:25 inetd currently; doing some experiments with raw sockets 11:15:47 really, inetd for http? Doing any pre-spawns? 11:16:05 I see. 11:16:08 no prespawns 11:16:51 It's fine for low traffic and butt-easy to do an http system with. 11:18:30 I'm not judgeing btw :) Just suprised at it. I love simple and things that work. 11:18:58 traffic isn't that big a deal. I have some throttling setup on the main (freebsd) box, and limit simultaneous connections per ip on both that and my openbsd box 11:20:38 things have been running fine for a few years now 11:21:32 Yeah, it's a stable way to do it, since it gets respawn each time. 11:21:35 (I have no idea on the actual traffic as I don't keep logs since dropping Apache) 11:22:27 Doing apache setup now... 11:22:36 Crosseyed 11:25:38 --- join: mykespb (~myke@213.141.133.133) joined #forth 11:26:56 I'll be happy when I can drop my last apache system 11:27:29 * crc glares at the application preventing this currently 11:29:33 Well, I like it better than IIS. Bah 11:30:01 But, they are all heavy systems 11:31:02 once I remove the remaining bits of php5 code, it'll be easier to switch to something lighter 11:31:37 I have managed to stay away from php 11:31:52 But not .net :( 11:42:13 the application was originally written in php as a prototype, it ended up getting used, so I've been slowly refactoring and replacing it with forth and python 11:45:26 You work for yourself or another company? 11:46:17 both... 11:46:29 I see. 11:46:52 this application is for my main employer; i do freelance work on the side 11:47:58 They let you code in forth or you do a sneak in? :) 11:50:12 I am allowed to choose the languages and tools :) 11:50:30 nice. 11:51:35 it's not the main part of my job (I'm primarily doing inside sales & purchasing), but get to develop custom apps for in-house use, and get paid to work on them outside normal hours if I choose to do so. 11:51:38 It was mostly that way before, but now has to be .net. 11:52:04 Ok, I see. That is nice. 11:52:51 I used to do a good bit of shop floor systems on the side, but got tired of not having any free time. 11:57:57 --- quit: gravicappa (Ping timeout: 268 seconds) 12:22:59 --- join: ryke (~Thunderbi@mail.homecaregiverstn.org) joined #forth 12:23:05 --- quit: MrBismuth (Read error: Connection reset by peer) 12:24:17 --- join: MrBismuth (~ArcMrBism@2600:6c58:4200:ad9:4479:369a:ec9a:4eb8) joined #forth 12:38:02 --- quit: ryke (Ping timeout: 268 seconds) 12:47:24 --- quit: APic (Ping timeout: 276 seconds) 12:49:07 --- join: ryke (~Thunderbi@mail.homecaregiverstn.org) joined #forth 12:55:51 I finished a quick syntax colorizer (generating html) for my assembly format, resulting output: http://forth.works/rx.muri.html (source at http://forth.works/examples/export-muri-as-html.retro.html) 12:59:32 --- quit: rprimus (Ping timeout: 246 seconds) 13:01:19 * john_cephalopoda . o O ( One could actually hide data inside rx without increasing its size by putting commands behind return and call statements, which are never executed. ) 13:01:42 they are executed 13:01:54 it's why they're nopped 13:01:59 --- join: rprimus (~micro@unaffiliated/micro) joined #forth 13:02:17 guess they would be nopped either way 13:03:20 WilhelmVonWeiner is correct, though: rx reserves 1024 cells and only uses 919, so there's room to put in some data there 13:04:34 But return does an instant jump. What I mean is "i readread" will be equivalent to "i re......". 13:05:17 So the "adread" could be hidden in rx and it wouldn't increase the file size since it replaces the nops, without changes to program behavior. 13:05:22 the adread will also be executed though 13:05:32 at least in the c vm 13:07:37 Oh, didn't see that. 13:07:45 I believe my implementation doesn't do that. 13:08:46 this is covered in rx.muri, and none of my source relies on that (since I only use nop's after instructions that modify IP) 13:10:13 now, with a 64-bit system, you definitely could do this as only the lower 32-bits gets decoded for instructions, so the top half could store extra stuff... 13:12:03 Just checked, my muri code does nop after those things. 13:14:08 --- join: APic (~apic@apic.name) joined #forth 13:14:24 That's probably a better thing to do, but may be more difficult for a hardware implementation 13:15:44 My x86 implementation works bytewise and not on packed bytes, so I can easily skip things. 13:16:06 it's not really Nga though then 13:18:44 --- quit: APic (Ping timeout: 245 seconds) 13:22:05 I believe that a 13:23:11 I believe that it would be totally possible to add many commands after one of the flow control things. Flow control and li would break things though. 13:23:52 it's pretty unsafe though 13:24:33 for a compiler 13:24:48 hand-written assembler should work ootb 13:27:17 https://bpaste.net/show/pe1t 13:28:59 it's potentially useful, but harder to debug... (I ran into this a lot in the early days of nga) 13:34:55 potentially useful is the bane of programming 13:38:35 I can say that none of my code will make use of anything other than nop's after call, ccall, jump, ret, or zret 13:40:55 Then my nga is compatible with all o your code ;) 13:44:11 yes; we would have discovered pretty quickly if it wasn't 13:44:52 Hm, I don't really get around doing the keyboard stuff for x86. 13:47:26 I'll be working on the keyboard when I have time at the macbook so I can run my x86 emulators (don't have any emulators on the bsd boxes or my ipad) 13:47:52 maybe this weekend, if my rsi doesn't get too bad by the end of the week 13:53:47 heading home; will be back in ~30 min 14:05:56 crc: You could install qemu on the bsd boxes. 15:04:41 --- quit: ryke (Ping timeout: 265 seconds) 15:10:31 --- quit: creat1001 (Remote host closed the connection) 15:15:25 --- join: APic (apic@apic.name) joined #forth 15:21:09 john_cephalopoda: how well does that work if the boxes are headless? 15:39:40 crc, you have rsi ! :( 15:40:19 * tp had RSI once, unbelievably painful and debilitating 15:47:29 tp: I've been dealing with carpal tunnel since my late teens; it's been very problematic in the last few years 15:47:48 wow, thats a long time! 15:47:57 yes :( 15:48:33 I only had it for a about a year in total including 6 months to heal 15:49:06 I got a vertical mouse and improved my accounting system so I didnt have to type as much 15:49:37 plus my business was starting to suffer from competition and I was getting less orders to process 15:50:18 crc: Not that well :þ 15:50:42 About a year ago it was bad enough to make it nearly impossible to type; since then I've made a lot of changes to reduce the ongoing damage and let me have at least some productive times 15:50:47 but at it's worst I'd only have to move my hand and the ligaments would seem to get stuck in my wrist and get torn thru it, "excruciating" is putting it mildly 15:50:47 (Re how qemu would run on headless) 15:52:12 john_cephalopoda, wouldnt you just run a qemu session remotely via ssh ? 15:55:44 tp: the biggest help so far was switching to an ergodox keyboard; it's been very beneficial being able to adjust the positioning and key layouts 15:56:38 --- quit: mykespb (Quit: Leaving) 15:56:56 crc, thats great :) my RSI eventually cleared 100% although I feared it would never end 15:57:35 crc, the vertical mouse also helped a lot but dies after a couple of years, expensive junk 15:57:43 I'm far beyond being able to make a full recovery :( 15:57:51 :( 15:58:29 I use either a trackball or a layer on my keyboard 15:58:39 I recall RMS got RSI writing Gcc and had to hire a secretary to type for him 15:59:13 still have to turn your hand for a trackball ? 16:02:40 a little, but much less so than with a mouse, and I don't have to move my hand 16:03:29 good point! 16:04:16 I'd use it less if our order entry system at work actually supported keyboard navigation properly (it's an unholy java based thing that doesn't follow any standard interface conventions) 16:05:25 mine was only a small business I ran for 15 years which involved copying and pasting text from a web order system to my accounting package, luckily I only had about 20 orders a day to do at my peak 16:06:17 Id make up the paperwork then build the order (wifi, configure gear, make cables, pack and post) 16:06:57 I sold about $4 million in wifi and related stuff over 15 years 16:07:34 now Im only 12 months from retiring after closing the business at the start of this year 16:08:31 I enter a similar number of orders, but also do a greater number of quotes, purchase orders, and copious amounts of email correspondence. The largest order this year had about 1200 items, all of which has to be entered manually. 16:09:07 geepers! 16:09:20 I can really appreciate how that would go 16:09:51 I've got a long way to go before retirement (iirc, I'm 36, it'll be a long time off....) 16:10:16 at the start of my RSI I moved to a OSS accounting system "webERP" and started automating as much as I could 16:11:03 my plan was to write a parser from the webstore to webERP but I never completed that, which is a shame as it would have been fun 16:11:24 not to mention save tons and tons of time 16:11:37 and typing 16:12:01 automation is definitely the best thing a business can do 16:12:41 --- join: ryke (~Thunderbi@71-9-171-192.dhcp.jcsn.tn.charter.com) joined #forth 16:13:24 I still use webERP for orders from old customers who insist I still sell to them but I only get a order every few months 16:16:02 --- join: rdrop-exit (~markwilli@112.201.170.86) joined #forth 16:16:03 I'm hoping to eventually get us away from this system we use, but it'll likely be several years before that happens 16:16:54 yeah, understand how one becomes dependant upon existing systems and the huge amount of work to move to something else 16:17:31 for me open source enabled all the automation I could build, it still does with Forth 16:18:13 i see associates stuck with closed source accounting apps and they have to wait until the vendor enables features they want 16:18:27 which may be never 16:23:32 c[] (-_-)zzz 16:24:28 rdrop-exit, still tired at 9:30am ? 16:24:55 7:24am here, too early for me 16:25:13 Good morning all 16:26:08 oh, same tz as Perth in WA :) 16:26:16 good morning rdrop-exit 16:26:28 The best thing about being retired is not having to wake up early 16:26:32 Hi crc! 16:26:35 exactly! 16:26:47 I'm semi retired for another 12 months 16:27:04 Cool 16:27:19 I retired 12 years ago 16:27:22 then I hope to cycle around auatralia in a home made recumbent trike if health allows 16:27:31 Sorry 10 years ago 16:27:46 I planned to retire in 2000, but my ex wife had other plans 16:27:47 Wow, adventure 16:27:59 ouch 16:28:15 so she retired instead and I had to keep working 16:28:33 bummer 16:29:03 yeah, ancient history now, life proceeds regardless :) 16:29:31 in fact I plan to spend the rest of my retirement travelling and living in the outback 16:29:46 We celebrated our 34th last week 16:29:47 camping with my recumbent 16:29:53 well done! 16:30:04 I only made it 14 years in my marriage 16:30:12 (bad choice on my part) 16:32:49 brb, need more coffee 16:33:12 lol 16:35:41 back (-_-) 16:37:10 welcome back! 16:37:32 I gave up coffee a few years ago, never missed it 16:37:51 I still have one now and again in social occasions and enjoy it 16:38:10 I can't function without it 16:39:22 i thought Id miss it, wake up with the shakes, be unable to think but nothing changed 16:39:45 wich I could give up chocolate as easy! 16:40:38 hmm I think I may actually be turning in a reasonable SH programmer at long last 16:41:15 I used to do all my 'glue' in Perl but started using SH instead because every *nix system hasit 16:42:34 and with a on chip Forth that I program and then upload the Forth source to from a PC, a lot of glue is needed for a decent modern development environment 16:43:31 I dislike sh, don't really "code" in it 16:44:42 For small throwaway text stuff I use awk 16:45:05 I used to dislike it but found after a few years that it's much the same as everything else Ive used 16:45:36 oh I use awk as well in my SH scripts. I use a ton of system *nix utilities 16:46:02 the one Ive just fixed a bug in is called "clone.sh" 16:47:06 basically it sucks everything out of a finished Forth application on the actual chip via the serial terminal and creates a md5 named bootable binary image file in the project 16:47:58 then this image can be flashed to another chip in production and contains everything, kernel and dictionary etc all ready to run 16:48:52 cool 16:50:43 I had to suck out the binary dictionary contents by converting to intel hex on the chip, then parse out the terminal log rubbish with Sed, remove fixed content and build a new file with DD, then create the binary with arm-none-eabi-objcopy and name it using md5 17:04:01 Haven't used sed in ages 17:05:46 I'm only a very basic sed and awk user 17:07:20 I usually use awk even for things sed could handle 17:10:16 awk is easier, better , more capable, more modern than sed ? 17:12:46 More obvious when your reread it a few months later 17:15:50 ah, ok I'll have to look into AWK more 17:17:41 sed gets cryptic quickly for anything but the most basic stuff 17:19:21 https://books.google.com.ph/books?id=53ueQgAACAAJ&dq=The+AWK+Programming+Language 17:20:21 ta! 17:21:02 Think of AWK as the super simple ancestor of Perl 17:21:47 oh ok 17:21:52 Perl gave me migraines 17:21:54 I found Perl dead easy 17:21:58 --- join: tabemann (~tabemann@rrcs-162-155-170-75.central.biz.rr.com) joined #forth 17:22:18 awk is tiny in comparison 17:22:29 I use functions in SH to keep my apps readable 17:22:42 I hate sh 17:22:44 runawk has support for modules and its all awk 17:22:52 so my SH source looks pretty readable thesedays 17:23:15 tabemann, Im quite fond of SH thesdays 17:23:25 I am using sed a lot to take apart my server logs. 17:23:30 sh is terrible though 17:23:46 TBCH, when I just need to script something quickly, I use Python 17:23:52 Although awk would probably do a better job than sed... 17:24:12 awk is always better, for everything 17:24:58 one thing I was sure Id hate, and friends all warned me off dealing with it (and the initial learning was as exciting as watching grass grow) was XML, but as I started doing useful Forth stuff with XML I began to appreciate it 17:25:59 I can't stand XML 17:26:06 tabemann, I bypased python going from Perl to lisp I didnt want to get caught up in any 'middleware' 17:26:23 yeah, everyone hates xml but me 17:27:16 I've been able to do make mecrisp-stellaris awesome with XML 17:27:24 like, do you like to read xml? 17:27:31 is it a writing thing? 17:27:37 what exactly do you like about it 17:27:46 sure, one has to be able to read it to parse it 17:28:13 XML is bloated 17:28:49 Kumool, I like that I can use XML by parsing it with XLST to create what I want 17:29:34 rdrop-exit, I dont care that XML may be bloated, I just use the XML data 17:30:41 Kumool, few people write XML directly I suspect, that would be as painful as writing IPtables or machine code 17:31:15 Kumool, people use applications to create XML files, and other apps to parse them 17:31:19 Machine code's not painful :) 17:31:24 hahah 17:31:46 All you need is sturdy toggle switches 17:31:52 oh yeah, it's is when you do it from a hex keypad with 7 segment leds as the display 17:32:13 Keypad? Don't need no stinkin' keypad 17:32:27 toggle toggle 17:32:34 back 17:32:37 I wrote a dual 8085 industrial bottle filling machine controller in machine code in 1985, it *was* painful 17:32:45 welcome back! tabemann 17:32:53 Hi tabemann 17:33:05 I hate XML 17:33:23 rdrop-exit, that machine filled 2500 bottles with saline hospital solutions per day 17:33:43 cool 17:33:51 tabemann, it's like anything one hates 17:34:11 if you hate spiders, then get a tarantula as a pet 17:34:26 once you face your hate it goes away 17:34:38 at least at my current job it's all JSON 17:34:46 same with xml, it's just another programmers tool 17:35:04 Ive seen json looks a lot easier 17:35:21 of course my current job has not done what you describe for JavaScript 17:35:38 it's all tarantula-on-the-face all the time with JS 17:35:38 for sure XML seems a thing of the past, maybe I should have converted my XML files to JSON before processing them ? 17:35:48 hahahah 17:35:55 EEEKS 17:36:05 if anything, my current job has made me hate JS more 17:36:12 * tp has arachnophobia 17:36:33 well I get to avoid Java* with XML 17:36:40 OTOH it has made me appreciate Java 17:36:57 Java is restrictive - but sometimes being restrictive is a good thing 17:37:04 my architect daughter likes java she tells me 17:37:38 if the Java code compiles there is a reasonable chance it might work 17:37:49 if the JS loads, who in fuck knows what it will do 17:37:56 sure, after I learnt Dartmouth Basic (on a intel 8047) in 1990 my brain was ruined, I had to unlearn it then learn Pascal, after that I was ok 17:38:35 and Pascal is *very* restrictive being a educational language 17:39:17 the problem with JavaScript is you can just create new objects and interchange them willy nilly and the typing regime is so fucking lax 17:39:29 I actually prefered Basic to Pascal, peek, poke 17:40:00 rdrop-exit, it didnt work for me, the goto's ruined my early programmer brain 17:40:16 I didn't like BASIC when I learned it as a kid 17:40:19 once they took my GOTO's away I was ok 17:40:45 because I'd take books from the local library about things like C and Lisp and Prolog and like 17:40:56 and I was exposed directly to LOGO, which is procedural 17:40:56 ColorForth reminds me of Basic 17:41:07 so I knew what I was missing 17:41:11 tabemann, I only used BASIC to make a small portable computer with I/O I could use onsite to R/E DIP pick and place machines 17:41:29 R/E? 17:41:36 reverse engineer 17:41:49 I wrote my first forth in basic 17:41:59 amazing 17:42:01 Cool 17:42:25 I have a Forth written in Perl and one in BASH (not by me) and theyre not bad 17:42:36 my fourth language after Applesoft BASIC, LOGO, and 6502 assembly was HyperCard 17:42:43 *HyperTalk 17:43:15 tabemann, LOGO can't have hurt ? it's a LISP dialect ? 17:43:15 I'll have to see if the old floppy with the code is still readable someday 17:43:16 which was nice being high level and procedural and shit, for someone who did most of their coding beforehand in Applesoft BASIC 17:43:37 tp: my problem is I had no documentation for it 17:44:25 I'm like a ex smoker with BASIC, I cant even look at BASIC code nowdays 17:44:53 I do not have good memories of BASIC 17:44:59 tabemann, documentation ? programmers dont need documentation! 17:45:07 I remember trying to write a text editor in it 17:45:33 but found that I couldn't create an array large enough to store anything worthwhile in 17:46:10 my problem with BASIC was that after I learn and used it, I tried to learn C unsuccessfully, I just couldnt make the jump. So I unlearned BASIC, learned Pascal and then C was a no brainer for me 17:46:43 after learning HyperTalk I then learned C and then C++ without a problem 17:47:01 I *really* wish Id known about Forth instead at the time I made up that BASIC machine 17:47:20 Forth would have been perfect 17:47:44 sometime around then I was also exposed to the Yerkes Forth implementation, but I didn't have enough documentation to really do anything with it 17:47:52 years later I found Ficl 17:48:19 I think I saw the article about it in Dr. Dobb's 17:48:35 * tabemann misses that magazine 17:48:47 I liked the interactivity of Basic, and that I could peek and poke. Forth hit all my buttons though. 17:48:51 my job was to recondition and modernise some old DIP pick and place machines (worth a couple of hundred thousand $) that used a paper tape reader to set up for populating printed circuit boards 17:50:01 so I decide Id replace the paper tape reader with a modern PC keyboard, but I didnt know the codes for the machine. I used the BASIC hardware I built to do all that 17:50:21 then I made a code converter for the keyboard and all was well 17:50:51 those machines probably weighted a couple of tons 17:52:52 this kind of thing is why I still agree with Stallman as much as I think the GPL is a bit restrictive 17:53:12 if that machine were controlled by free software reconditioning it wouldn't've been a problem 17:54:06 tabemann, they were made by Dynapert (UK) and all proprietary 17:54:37 as I figured 17:54:37 tabemann, I agree, the GPL was very important, but it's also restrictive thesedays 17:54:57 I dislike GPL, prefer BSD or similar 17:55:05 as a FreeBSD user I get to use incredible apps that the GPL denies to Linux users 17:55:26 there are some things I still believe the GPL is good for, like the Linux kernel - it'd've been forked to death long ago were it not for the GPL 17:55:33 rdrop-exit, same here since I switched from Linux to FreeBSD and discovered why the GPL can be restrictive 17:55:53 but for a lot of my own code, I want other people to be able to use it regardless of their chosen license 17:56:17 and while there's the LGPL, there's a lot of linking that isn't dynamic (e.g. if someone were to use their code with hashforth) 17:56:53 tabeman, I don't know how to break this to you easily but XML is vital for Cortex-M chips with Forth ... 17:57:19 I know because the description files for all the registers are in XML 17:57:34 tabemann, but ... when it's time I can do that part for you if you like 17:57:46 tabemann, exactlty 17:57:47 and with at least Mecrisp-Stellaris, a script is used to convert them to Forth 17:58:00 yes, my scripts 17:58:15 you wrote those scripts? 17:58:18 yep 17:58:29 I've ben at it a few years 17:59:18 my scripts (svd2forth) create the memory map files and the bitfield template Words 17:59:54 what language is the scripts in? 17:59:57 If I were confronted with XML, I'd convert it to something dirt simple, before dealing with the data 18:00:00 heheh 18:00:01 SH 18:00:19 I was hoping they were in Forth or something - lol 18:01:00 rdrop-exit: e.g. I can much more see myself writing a JSON parser/generator for hashforth than an XML one 18:01:05 tabemann, theyre done on a PC and I dont use Forth on a PC 18:01:40 tabemann, I look forward to hearing your adventures doing that 18:02:12 rdrop-exit, XML *is* dirt simple ??? 18:02:30 * tp cant see a simpler data structure than XML 18:02:31 tp: mind you I've written very un-forthy data structure code which I'd convert JSON into using 18:02:36 tp: JSON 18:03:03 tabemann, then JSOn is too easy! 18:03:14 --- join: creat1001 (63be2f20@99-190-47-32.lightspeed.chrlnc.sbcglobal.net) joined #forth 18:03:26 to me XML is excessively complex 18:03:26 XML is bloated, wouldn't want to deal with it directly 18:03:41 hi. 18:03:45 hey 18:03:55 xml is awful 18:04:01 tabemann, I also wrote parsers to turn SVD XML files into equate statements for various Assemblers 18:04:15 --- quit: ryke (Ping timeout: 268 seconds) 18:04:20 json for the almost win 18:04:41 creat1001, thats the general consensus but I like XML after using it to solve my Forth problems 18:05:03 creat1001, and ARM SVD files still come in XML 18:05:15 I see. 18:05:17 --- join: dave0 (~davezero@069.d.003.ncl.iprimus.net.au) joined #forth 18:05:29 I would use some utility to flatten it 18:05:37 if theyd come in JSON I guess Id be using that instead 18:05:40 json is so easy to parse 18:06:45 No parsing required 18:07:09 Flatten then extract 18:07:25 Sometimes. I just chop the { and mack a list of dict in python 18:07:39 you don't even need to convert JSON into another in-memory format if you feel like it 18:08:10 the only thing is that in JS eval-ing JSON is frowned upon, even though it works, for obvious reasons 18:08:41 okay, I've gotta go 18:09:08 There used to be a utility for flattening XML files so you could feed them to things like awk, I can't recall the name off the top of my head 18:09:08 my poroblem is Ive become so used to the SVD XML format I can read it in my sleep, it's as easy as I need 18:09:23 tabemann, no problemo cya 18:09:32 G'night tabemann 18:09:40 xml is ok if formatted and written correctly. 18:09:58 see ya guys later 18:10:03 rdrop-exit, my xml stuff is already like eating icream and apple pie, it just doesnt need to be easier 18:10:21 I have a parser at work that deals with 5 different XML formates from one vendor. 18:10:48 I've just been making a different parse config for that 18:11:00 the differences are only slight 18:11:00 --- quit: creat1001 (Remote host closed the connection) 18:11:01 tp, you need de-programming :) 18:11:54 --- join: creat1001 (63be2f20@99-190-47-32.lightspeed.chrlnc.sbcglobal.net) joined #forth 18:12:04 rdrop-exit, hahahah, imagine if you were eating icecream and hot apple pie and someone came along and said "hey I've stuff like that which is even EASIER to eat" ?? youdbe like 18:13:06 rdrop-exit, I wasnt planning making a career on XML, I just used it to support a major embedded Forth issue which works perfectly 18:13:41 :) 18:14:13 well, ok I improvements are always possible, I could use better maths support than XLST-1.0 gives me ... is that something JSON could fix ? 18:14:14 A career in XML or hotel services.... :) 18:14:22 hahahaah 18:14:37 Im a electronics technician already, have ben all my life 18:14:47 thats where my expertise lays 18:14:54 A better way! 18:15:00 --- quit: tabemann (Ping timeout: 276 seconds) 18:15:30 XML standard in one hand, a Hako in the other! ;) 18:16:06 I think my iron need a new element 18:16:08 I do stuff like this https://mecrisp-stellaris-folkdoc.sourceforge.io/prototyping.html?highlight=prototype#stm32l053 18:16:20 thermaltronics ... 18:16:29 The Kool-aid is strong in this one ;) 18:16:46 must have more kool aid ... 18:17:03 On no, Jim Jones 18:17:08 Strong in this one Kool-Aid is 18:17:58 forth-love? if honk then 18:18:49 I remember the People's Temple, on Geary st. SF, went to concerts there after the Jonestown incident 18:19:26 Creepy 18:19:31 yeah 18:20:02 I was like 12-13 or so when that happened 18:20:02 Jim Jones from the idiots in Jamestown ?? 18:21:08 Ya, their "temple" in San Francisco was used as a small rock/punk concert venue after they killed themselves 18:21:46 At least for a short while, no idea what's in the building now 18:22:13 I was 24 at the time of the Jamestown suicides 18:24:33 I was 16 or 17 18:24:47 I'm the little kid here :) 18:25:19 I'm not the oldest bit I;m getting there 18:25:21 November 78, I was 16 1/2 18:26:03 Yeah, 13 then 18:26:22 Err, 12 13 in Dec 18:26:50 I'm far too old to be learning about this new JSON stuff ! 18:27:14 JSON is not a hard thing to learn, honestly 18:27:31 hehe, Im just stirring the young-uns here :) 18:27:38 eheh 18:27:40 That's how I feel about most new programming languages 18:28:01 if I can do HEX and decimal maths with JSON i'm all in! 18:28:21 Don't get me started a bout learning a language. 18:28:42 rdrop-exit, really, at your young age! 18:28:52 Bah, humbug! 18:29:00 ;) 18:29:01 "But it's not written in DooDoo BaSICK so I don't understand 18:29:05 the kids thesedays ... 18:29:11 hahaah 18:29:36 Me " Are you a programmer?" 18:29:45 I do all my programming on a etch-a-sketch, what do you young-uns use ? 18:29:55 toggle switches 18:30:00 LOL 18:30:07 wireing boards :) 18:30:24 i last used toggle switches in 1997 and Im glad to be rid of them! 18:30:48 I love a good clicky TS 18:30:59 having a hex keypad and 7-seg led displays was like heaven after toggle switches! 18:31:06 not so much a clicky keyboard 18:31:07 oops 18:31:12 I remember we had some sort of HP minicomputer at work, you'd have to set toggle switches for different boot procedures 18:31:18 i last used toggle switches in 1977 and Im glad to be rid of them! 18:31:40 rdrop-exit, yeah, so ancient! 18:32:13 My daily driver is a 61-key Poker3 keyboard, very clicky 18:32:27 then along came a terminal and a assembler, oh BLISS, I had died and gone to heaven! 18:32:32 Yeah, a lot of mini computers used TS for a long time for boot and diag chages 18:33:34 so can anyone tell me, can I do all kinds of math on JSON data and is it OSS ? 18:34:17 Honestly I just do all my stuff then format it to json 18:34:30 oh 18:34:45 no idea, I only use json as an export format for passing data to other things 18:34:55 so everyone loves JSON but ... 18:35:02 thanks crc 18:35:10 you do that in xml 18:35:12 well Ill still look into JSON 18:35:13 ? 18:35:27 It looks more lightweight than XML, see the samoke code in the Wikipedia page 18:35:28 https://en.wikipedia.org/wiki/JSON 18:35:45 well yeah I do a lot in XLST but it's not easy and the only XML parser i have is XLST1.0 18:36:00 https://xpack.github.io/xsvd/files/xsvd-json/ is apparently a project reworking arm svd into json 18:36:12 crc, cool! 18:36:22 Personally, unless the file is gigabytes, I just flatten it before dealing with it 18:36:38 Yeah, I only xport json out and take in. Converting to native. Easy to parse and convert though 18:36:51 rdrop-exit, but xml is already flat ? 18:37:13 I occasionally use a tool, jq, to parse/extract data in a json file via a unix pipe 18:37:16 there is also a lot of Rust <-> xml stuff 18:37:50 By flat I mean fully denormalized, like a spreadsheet in a text file 18:37:56 I just dont want users to have to install all kinds of apps just to use the SVD's 18:37:57 As I say, use what makes you happey, not me 18:38:13 As loang as I don't have to support it :) 18:38:18 I'm not aware of anything like this for xml (I have no desire to write a json or parser) 18:38:20 rdrop-exit, aha, thanks I see now 18:38:28 We won't take your kool-aid away 18:38:36 lol 18:38:46 :) 18:39:11 I use whats available, I tend to be software agnostic, really ... well I'm fond of Forth on embedded 18:39:24 and I wont use windows 18:39:33 or mac 18:39:41 Windows? Whats that? 18:39:57 it's a white goods operating system for the unwashed masses 18:39:59 I'm ok with Mac, at least it's POSIX 18:40:07 I'll remember tomorrow unfortunetly whilst working 18:40:23 I haven't touched Windows in many many years 18:40:32 rdrop-exit, I cant afford any mac hardware so Ill never have any 18:40:50 last time I uses windows was in august 1997 18:41:00 I wish 18:41:16 Me too, sometime in the 90s 18:41:21 creat1001, yeah lots have to use windows I know 18:41:41 At home I have been using Linux since 1995 18:41:48 Im lucky, I hated microsoft junk so much I designed a life that didnt have to use it 18:41:57 Before then Coherrent Unix 18:41:59 creat1001, awesome! 18:42:05 cool 18:42:22 my first unix experience was with Yggdrassil Linux in 1993 18:42:26 I have a mac, outside of using it to test impexus, I use it only to update a few iOS programs since I can't build them on iOS yet. Windows I use at work. My main setup is an iPad + Ergodox keyboard with ssh/mosh connections to bsd servers. 18:42:48 I installed it on a pc, it found my video, sound card and cdrom all automagically 18:43:00 I down loaded off a BBS in 1991, but it was not ready then 18:43:23 creat1001, yeah, Linux was only released in initial form in 1991 18:43:32 We used to have an AT&T Unix PC at the office, slow as molasses 18:43:59 I used one of those little sys5 mabell boxes 18:44:05 but being a windows user, it took me until 1997 after years of 'playing around' with Linux to go full time 18:44:24 https://en.wikipedia.org/wiki/AT%26T_Unix_PC 18:44:54 in 1993 I couldnt mount a file system, I couldnt do anything except play reversi on Yggdrasil with X windows 18:46:05 so I bought "unix for the impatient", "Beginning Linux" and read them for 4 years 18:46:19 I started using X windows at home probably in 1993 18:46:30 nice. 18:46:34 X was hard then 18:46:40 to setup that is 18:47:05 my machine running yggdrasil just blew my mind! sadly the Trident video card driver was terrible and Xwindows kept locking up 18:47:44 Yeah, X was shaky for a few years 18:47:44 but from the moment I first saw *unix, I knew we were made for each other 18:47:54 Me too 18:48:08 I'm now very fond of Openindiana although this is a FreeBSD box 18:48:08 I am sill a command line guy. 18:49:12 I ran Linux 1997 - 2016 then FreeBSD 18:49:27 I've been wanting to buy a box and setup NetBSD, but I keep procrastinating 18:49:33 well the CLI sis where we do our cool stuff 18:49:47 i was a die-hard amiga fan until about '98 18:49:53 some people say I procrastinate /// 18:50:14 i didn't get a ibm pc until '99 18:50:19 dave0, good on ya, I never was a fan but they were pretty cool 18:50:46 I need to get a netbsd system up and running but haven't had any luck getting it to boot on my vps servers yet 18:51:02 Im still mad at the Amiga for keeping me waiting for 1/2 hr waiting for 'guru meditation' to fix the problem .... 18:52:18 back to XML ? 18:52:55 I think that topic has been exhausted 18:53:09 my current holdup with XML is converting decimal to hex so I can use absolute addressing in my generated memmaps and bitfields 18:53:48 i have a beta working but it screws up about 10 in 10,000 calculations, so inst reliable enough 18:54:05 ok, I can see there just isnt any XML love here! 18:54:24 XM-HELL 18:54:39 i'll have to complain to the international XML society about this channel! 18:54:48 creat1001, hahah 18:55:17 You need to file your complaint in XML 18:55:34 ok, Im going back to finishing my latest Forth development environment bug fix 18:56:03 keep on keepin' on 18:56:13 rdrop-exit, I just parse it, I dont actually write any XML 18:56:33 okies, bbl, is lunch time here! 18:56:41 No excuses, you'll always be known as XML-boy 18:56:44 That sounded like a cry for help line TP 18:57:12 Bon appetit, tp :) 18:57:48 rdrop-exit, that just hurts man, Im going to be crying into my egg-yum patties now! 18:58:01 lol 18:58:02 XML-boi indeed! 18:58:17 bbl :) 18:58:30 ciao :) 19:43:54 --- join: tabemann (~tabemann@2600:1700:7990:24e0:2141:1cfa:29f3:cfc) joined #forth 20:23:09 --- join: gravicappa (~gravicapp@46.191.233.156) joined #forth 20:31:09 --- quit: dddddd (Remote host closed the connection) 20:37:04 --- quit: dave0 (Quit: dave's not here) 22:35:20 latest bug fixed, logfile parser much more robust now, lessons learned, life is good 22:35:39 and stomach is full of egg yum foo! 22:42:42 --- join: ryke (~Thunderbi@71-9-171-192.dhcp.jcsn.tn.charter.com) joined #forth 22:44:06 --- quit: dys (Ping timeout: 276 seconds) 22:46:14 --- join: dave0 (~davezero@069.d.003.ncl.iprimus.net.au) joined #forth 22:52:00 --- quit: gravicappa (Ping timeout: 240 seconds) 23:16:09 --- quit: djinni (Quit: Leaving) 23:19:53 --- join: djinni (~djinni@static.38.6.217.95.clients.your-server.de) joined #forth 23:32:20 --- quit: tp (Ping timeout: 245 seconds) 23:59:59 --- log: ended forth/19.09.18