2025-03-25 09:46:55 Ah nice xentrac you just made a comment I was going to make myself 2025-03-25 09:47:00 On HN 2025-03-25 09:47:11 About BCPL vs B 2025-03-25 09:50:52 and got comprehensively educated as a result by the person I disagreed with 2025-03-25 09:51:11 Yeah Joker_vD was definitely wrong in what they said about BCPL, but the reply was educational 2025-03-25 09:52:21 I think I disagree with them because "basically BCPL" gives Ken Thompson no credit for designing the major style for most programming of the 21st century 2025-03-25 09:53:02 B is more than just "basically BCPL", it's a very clever demake of BCPL with really nice syntax that has spread like wildfire since 2025-03-25 09:56:36 yeah, I agree, much as it pains my Lispy heart to admit that mere syntax could matter :-) 2025-03-25 13:19:43 xentrac: I think your right about "open architecture loyalty" (and I do think open is a very good thing), but I've always just been amazed by how stronly the corporate world clings to Windows, when Linux is out there without having to pay Microsoft any money. 2025-03-25 13:20:04 "Windows only" is just something that has frustrated me over and over through the years. 2025-03-25 13:20:45 It's become a vicious cycle - vendors support Windows first because that's where the market is, and the market is there because that's what the vendors are supporting. 2025-03-25 13:21:24 But every time I run into "I can't do that because I don't run Windows" it just galls me. 2025-03-25 13:22:31 And in many cases that "Windows first" thing becomes "Windows only." 2025-03-25 13:22:43 It's because MS created a graphical UI environment 'standard' with Windows, you get Windows apps and the shell features, standard on all consumer/enterprise micro hardware 2025-03-25 13:23:07 UNIX doesn't have a big ecosystem on its own standard graphical UI env 2025-03-25 13:23:28 That ecosystem has network effects, it's very powerful 2025-03-25 13:23:56 MS rushed in and gained it, the only thing that's threatened that is the web, which has failed to totally oust their share 2025-03-25 13:24:13 I'd love to get on with the ousting. 2025-03-25 13:25:32 It's never going to happen, not for a very long time at least 2025-03-25 13:26:25 Well, ten years ago you might have thought Marvel would never not be on top, but they've fallen a long way since then. One can hope to see it happen to MS too. 2025-03-25 13:26:47 And I get it that's a totally different kind of thing. 2025-03-25 13:26:52 Marvell? 2025-03-25 13:27:00 The movie studio. 2025-03-25 13:27:12 I don't know anything about Marvel sorry 2025-03-25 13:27:31 Oh, that's interesting. Iron Man, Thor, the Avengers, blah blah blah. 2025-03-25 13:27:54 MCU = "Marvel Cinematic Universe." And a decade or so ago anything they touched turned to gold. 2025-03-25 13:27:58 The fact is if you create an app, you have to justify *not* developing for Windows. That's been the case since the late 90's 2025-03-25 13:28:19 But there are increasingly more kinds of apps where Windows is irrelevant 2025-03-25 13:28:33 But the hold on PC's is indisputable 2025-03-25 13:28:34 My justification is that Microsoft is a wicked vile organization that shouldn't be supported. 2025-03-25 13:28:54 I don't think they're wicked, I just think they're shit 2025-03-25 13:29:18 They're good at some things but the software I have to use is shit 2025-03-25 13:29:27 They're that too. But they've done pleny of underhanded things over the years. And gotten caught up with in court, but never with enough consequences to disuade them. 2025-03-25 13:29:44 I don't think financial penalties are enough in those instances - I think CEOs should go to jail. 2025-03-25 13:29:56 If we did that a couple of times they'd start behaving better. 2025-03-25 13:30:55 Like what? Internet Explorer? 2025-03-25 13:31:18 Oh gosh, I'd have to refamiliarize myself. But it's along those lines, yeah - underhanded business practices; trying to take out the compnetition in ways other than just competing head to head in the market. 2025-03-25 13:31:46 "Unfair business practices." 2025-03-25 13:32:25 Windows itself is arguably unfair because they intentionally created a 'standard' platform for software to be developed on, and created a lot of lock-in in the complexity 2025-03-25 13:32:33 And it's not really in doubt - they've been found guilty of these things in court. But the penalties were just mere slaps on the wrist that they wrote off as "cost of doing business." That's not going to accomplish anything. 2025-03-25 13:32:34 But at same time is arguably the fairest thing they did 2025-03-25 13:32:45 Yes. 2025-03-25 13:32:50 I don't really put a huge amount of weight in courts 2025-03-25 13:33:16 In some cases they didn't document everything - they had "secret" features that their own app programmers could use but competitors couldn't. 2025-03-25 13:33:38 Using their OS dominance to give them an unfair advantage in app dev. 2025-03-25 13:33:50 Standard monopoly behavior. 2025-03-25 13:34:30 I would argue the state are the bad guys, the bad behaviour I find unacceptable is all enforced by the state 2025-03-25 13:34:43 But if you want a person or group to change its behavior, the punishment has to be enough to get their attention. 2025-03-25 13:34:51 The question I would ask is why do the state enforce stuff that's bad for the supposed leaders of the state, i.e. the 'people' 2025-03-25 13:35:21 Because the corporations lobby for it - you're spot on. 2025-03-25 13:35:39 More often than not these days the government operates in favor of big business rather than "the people." 2025-03-25 13:35:57 And look at what corporations lobby for... regulations etc to keep new competition bogged down 2025-03-25 13:36:09 We used to bust up monopolies in the US, but the last time I remember that happening was the AT&T break up back in the 1970's. 2025-03-25 13:36:20 And protections for their royalties etc, while stealing content from e.g. artists 2025-03-25 13:36:27 Yes. 2025-03-25 13:36:36 It's broken all over the place. 2025-03-25 13:37:16 Example - how is it that something like Star Trek is still "owned" by a company? The creator is dead. It's been almost 60 years. Copyrights are supposed to expire. 2025-03-25 13:37:36 I think if Paramount makes a Trek movie, they certainly should own rights to THAT MOVIE, but I don't think anyone should "own the brand" anymore. 2025-03-25 13:38:33 Far less egregious than tech though 2025-03-25 13:38:40 A few years ago there was a crowdfunded effort to make a Trek movie - the general name for the effort was "Axanar." There's a great video on YouTube called "Prelude to Axanar" that was designed to stir up public support. 2025-03-25 13:38:47 Paramount swooped in and killed it. 2025-03-25 13:38:57 So we won't ever get to see that. 2025-03-25 13:39:09 It looked potentially awesome. 2025-03-25 13:40:12 In the state I live in (Texas) there are tons of regulations applicable to the brewing and distribution of beer. Most of those were really pushed for by the big breweries to hold down the microbrewer competition. 2025-03-25 13:40:22 There's no sense or logic whatsoever behind the regs. 2025-03-25 13:41:33 But anyway, if people like Bill Gates knew they'd go to jail the next time their company misbehaved, they'd see to it that it didn't happen. 2025-03-25 13:41:53 And we'd move toward "values" instead of "whatever we can get away with." 2025-03-25 13:42:38 My big issue with your suggestion is it seems very subjective 2025-03-25 13:43:12 If you can clearly pin down the 'misbehavior' then I could consider whether jail is appropriate 2025-03-25 13:43:15 My wife and I have talked about this, and we figure this is a big reason we won't ever be rich. We're just not willing to be underhanded exploiters. 2025-03-25 13:43:54 Like I said, I'd have to go look it all up again. But you could just look for "Microsoft convictions in court" or something. They're out there.\ 2025-03-25 13:43:57 Hate the game, not the player 2025-03-25 13:44:09 Well it does depend what they're convicted for 2025-03-25 13:44:53 And there's probably a middle ground between the pittance penalties they had imposed on them and "jail." My main point is that it needs to be "more." It needs to be enough to CHANGE THE COMPANY'S BEHAVIOR. 2025-03-25 13:45:03 If they keep doing it, it wasn't enough. 2025-03-25 13:45:56 the best way to shake up somebody with a lot of money is to shake up their money, not gently take one bill from the pile 2025-03-25 13:46:04 And if it does become jail, it can't be some middle manage fifteen layers down the management chain. If it's not the real decision makers, it does no good. 2025-03-25 13:46:14 They'll just hire sacrificial goats for that. 2025-03-25 13:47:50 The thing is, Microsoft is an awful lot like the AT&T situation in the 70's. The point they highlighted then was that AT&T was too "pervasive" - it spread its tentacles out over too much of the industry. They carved it up into pieces that would then compete separately. 2025-03-25 13:48:16 So Microsft, with the OS and the word processor and the spreadsheet and the foo and the bar etc. - that's the same kind of problem. 2025-03-25 13:48:25 It could be chopped up into probably 20-30 companies. 2025-03-25 13:49:50 At least a couple of the court cases I recall (vaguely) had exactly to do with that - MS's competitors on the app front were disadvantaged because MS would leverage its control of the OS. 2025-03-25 13:51:02 All of this leads back to IBM (as so much in the computer industry does). IBM more or less CREATED MS by not keeping the PC OS effort in-house. 2025-03-25 13:51:17 The story I've heard is that IBM severely understimated the size of the PC market. 2025-03-25 13:51:32 I'm sure they would have made different decisions if they'd properly seen what was coming. 2025-03-25 13:51:40 And we could be complaining about them today instead.\ 2025-03-25 13:52:41 Someone in IBM estimated the PC market size at 200,000 units. 2025-03-25 13:53:29 Back in the early days of computing some well known guy prognosticated that there was probably a world-wide demand for computers of about five. 2025-03-25 13:53:44 So understimating the computation market seems to be a long-standing tradition. 2025-03-25 13:53:57 Established companies tend to do this 2025-03-25 13:54:06 Be conservative, keep the ship afloat etc 2025-03-25 13:54:17 Yeah - the "new thing" isn't what's making the money NOW. 2025-03-25 13:54:36 Look at all the risk takers, you will see a lot of survivor bias 2025-03-25 13:54:39 And there was a lot of backbiting inside IBM over the PC; the divisions that made the bigger machinery didn't like it at all. 2025-03-25 13:55:11 IBM was still a "machinery" company back then. 2025-03-25 13:55:41 And its transition to a service oriented company probably happened BECAUSE they fumbled the PC ball. 2025-03-25 13:56:45 See Gordon Letwin OS/2 Usenet post 2025-03-25 13:56:46 Tat makes me think of https://en.wikipedia.org/wiki/The_Innovator%27s_Dilemma although I haven't read it 2025-03-25 13:59:46 Windows competes with Forth 2025-03-25 14:01:02 Oh, that looks like an interesting book. 2025-03-25 14:02:23 ACTION fait une piqûre dans les fesses de clemens3  2025-03-25 14:02:28 ACTION fait une piqûre dans les fesses de cleobuline  2025-03-25 14:02:34 It says there that the big companies "listen to their customers," and that leads to them missing the new wave. That makes sense - listening to customers is a good thing of course, that should be done, but you also need VISIONARY people leading the place. 2025-03-25 14:02:53 Sometimes you LEAD your customers - give them stuff better than they could even imagine. 2025-03-25 14:03:12 I think the big tech companies have taken that advice on board 2025-03-25 14:03:19 But it's hard to really put it to practice 2025-03-25 14:03:37 I expect so - there would be plenty of internal politics pushing the other way. 2025-03-25 14:03:38 e.g. look at how Google treat all their small ventures 2025-03-25 14:04:18 They don't commit, it's a guarantee that Google will rug-pull any product they release, so nobody wants to adopt anything new they put out 2025-03-25 14:04:38 Just imagine a corporate executive running some well-established division. Chances are he or she doesn't WANT to see something new rush up and grab the limelight (unless he/she gets to run that too). 2025-03-25 14:04:46 The big companies that appeared to get everything wrong are applying principles of business that are thousands of years old, go figure we can't reinvent the wheel in a decade 2025-03-25 14:20:57 I'm not sure how many truly monumental waves of innovation remain. I mean, we probably won't ever stop improving things that already exist sOME - like maybe we eventually make ICs on graphene substrate rather than silicon. That could up performance quite a lot, but it's not "new," fundamentally. 2025-03-25 14:21:10 I feel like maybe at some point we'll get a burst of stuff around genetics. 2025-03-25 14:21:19 That's the main thing that springs to mind right now, though. 2025-03-25 14:21:55 In a major way you can look at the last century and a half as being mostly "exploitation of Maxwell's equations." 2025-03-25 14:22:25 That doesn't cover everything we've done, but it covers an awful lot of it. 2025-03-25 14:23:46 The last couple or three centuries have been built on Maxwell's equations, thermodynamics, and chemistry - we've beeon the steep part of the S curve for all three. That can't last forever. 2025-03-25 14:24:23 Nuclear too, I guess, but it kind of pales economically alongside the other three. 2025-03-25 14:26:31 There are four fundamental forces. Strong and weak nuclear are likely too short-range to have any major "life scale" applications. That leaves EM and gravity, and gravity is so weak that anything using it tends to be huge, like dams and so on. And we've got to be SOMEWHERE up in the top range of the EM S curve now. 2025-03-25 14:26:56 So, we're out of fundamental forces for fueling continued massive innovation. 2025-03-25 14:44:43 i present you a new version multi users mForth ! with no garanty of no bugs this is v 0.1 ; 2025-03-25 14:45:11 each user have his own context stack and dictionnary :) 2025-03-25 14:45:40 mForth: : test ." 2025-03-25 14:45:40 Error: ." expects a string ending with " 2025-03-25 14:46:07 mForth: : test ." Hello cleobuline " ; 2025-03-25 14:46:40 mForth: : test ." Hello toto ! " ; 2025-03-25 14:46:53 mForth: WORDS 2025-03-25 14:46:54 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT CR EMIT VARIABLE @ ! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK EMIT CR CLEAR-STACK DP test 2025-03-25 14:47:00 mForth: test 2025-03-25 14:47:00 Hello toto ! 2025-03-25 14:47:14 mForth: test 2025-03-25 14:47:14 Hello cleobuline 2025-03-25 14:47:22 voila ! 2025-03-25 14:47:48 cleobuline: Nice. 2025-03-25 15:03:16 you like ? 2025-03-25 15:35:11 It looks nice; I just always appreciate people "making things work" - I know how nice that feels when it's me doing the thing. 2025-03-25 15:35:45 yes :) 2025-03-25 15:36:11 mForth: LOAD "test.fth" 2025-03-25 15:38:22 mForth: 123456789123457 PRIME? . 2025-03-25 15:38:24 1 2025-03-25 15:38:33 fast enougth 2025-03-25 15:47:16 mForth: create test test . 2025-03-25 15:47:16 Unknown word: create 2025-03-25 15:47:34 mForth: CREATE TEST TEST . 2025-03-25 15:47:35 1 2025-03-25 15:47:45 CREATE TEST TEST . 2025-03-25 15:47:51 mForth: CREATE TEST TEST . 2025-03-25 15:47:51 1 2025-03-25 15:48:05 mForth: CREATE TEST2 TEST2 . 2025-03-25 15:48:06 3 2025-03-25 15:48:41 cleobuline: Second should have returned 2 really, hiding previous definition of TEST 2025-03-25 15:48:55 veltas: you forget ALLOT 2025-03-25 15:49:00 Might be worth making it case-insensitive too as most will be used to that 2025-03-25 15:49:11 No I didn't ;) 2025-03-25 15:50:54 i will see 2025-03-25 15:51:40 mForth: CREATE TEST3 1 ALLOT CREATE TEST4 TEST3 . TEST4 . 2025-03-25 15:51:40 4 2025-03-25 15:52:47 Something interesting going on with addresses in this env 2025-03-25 16:01:13 try WORDS 2025-03-25 16:01:38 may be there is 2 instance of TEST 2025-03-25 16:02:13 i wil sheck for redefinitions next 2025-03-25 16:03:05 mForth: WORDS 2025-03-25 16:03:06 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT CR EMIT VARIABLE @ ! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK EMIT CR CLEAR-STACK DP test DOUBLE FACT POW FIBONACCI COUNTDOWN TUCK 2DROP SUM_SQUARE CUBE SUM_CUBES RECUNACCI CAT :D PGCD PRIME? SEED COUNT NUMS STARS INIT-RANDOM RANDOM RAND INIT-NUMS SHUFFLE-NUMS PICK-NUM NUM-TO-STR 2025-03-25 16:03:49 i have to do the word SEE to check definitions 2025-03-25 17:01:39 Will you be able to completely decompile words? In a lot of systems not all aspects of compilation can be reversed. It has to do with things like IF ... THEN and so on being compiled into conditional jumps. You can't always tell very easily what it was that led you there. 2025-03-25 17:17:15 Is it bad though that I quite like the IBM Plex Mono font? 2025-03-25 17:45:40 12:25 < veltas> It's never going to happen, not for a very long time at least 2025-03-25 17:46:02 I think the iPhone and Android each individually have more users than Microsoft Windows now 2025-03-25 17:46:41 and I think now instead of "if you create an app, you have to justify *not* developing for Windows" it's "you have to justify not developing for the Web" 2025-03-25 17:53:41 Bad news: I still don't have a forth. Good news: All those experiments are probably worth the experience :) 2025-03-25 17:57:04 My first attempt was a mess that defined a cell as a union of a bunch of types -- too complex. For now I've got a cleaner attempt with just 64-bit integers and some occasional pointers, but mostly integers. I'm also using an explicit load function instead of indexing into memory -- code does look a bit nicer with just round parenthesis. 2025-03-25 17:58:45 xentrac: I think you're likely right about Android and iOS, but unfortunatley no one seems to write "serious" software for those systems / devices. I've always thought, for example, that tablets would be FANTASTIC platforms for PCB layout and other forms of CAD, but it's just not really out there. 95% of the software in the Android and iOS "stores" are like "toys." Not serious software for 2025-03-25 17:58:48 serious work. 2025-03-25 18:00:49 KipIngram: I got an iPad for college, and it's got some serious limitations compared to a desktop. Sure, it's Apple, but it still felt like realizing that your hardware doesn't have Linux support, but on the userland level. 2025-03-25 18:02:48 KipIngram: Recently there's a new tablet released that x86 with the new on-chip memory CPUs from AMD, that ought to be an interesting platform. Hope it can keep cool, tho. https://rog.asus.com/laptops/rog-flow/rog-flow-z13-2025/ 2025-03-25 18:02:48 I tried out an iPad for a period of time, and also a Sony Android tablet, but in both cases I just felt severely limited and wound up back with notebooks. 2025-03-25 18:03:52 Interesting. Generally speaking, though, I feel like part of the problem is the architectures of Android and iOS - it's like they bend over backward to keep you "boxed in" just the way they want you - it doesn't feel like a system you "own" and can do anything with you want in a flexible way. 2025-03-25 18:04:14 Geez - they don't even have real file systems. They're there, but they're hidden away. 2025-03-25 18:06:38 For the iPad I managed to do a virtual daisy chain, surprisingly using the Microsoft RDP app. It actually worked reasonably well and I could even take notes with xournal, but it was still an iPad :| 2025-03-25 18:08:13 KipIngram: yeah, I feel like we're really not taking advantage of the potential of multitouch. Here's a small UI experiment I did a few years ago that seems promising: http://canonical.org/~kragen/sw/81hacks/progeome/ 2025-03-25 18:08:39 the p, d, m, and l buttons activate quasimodes for creating points, deleting, moving, and creating lines 2025-03-25 18:09:13 Anyway, on topic, think I've got my threading and thread execution right -- I'm simply checking if the offset to be executed is > ROM-pointer. No explicit stacks for now -- I'm using recursion because it's more or less a tree anyway, walking down until we reach a CODE definition. 2025-03-25 18:09:28 on a multitouch screen this works without a keyboard, but I also hooked it up to keyboard events and mouse events so you can test it without multitouch 2025-03-25 18:10:52 it's not serious software for serious work, but I think it demonstrates some UI idioms that might be applicable to serious software for serious work 2025-03-25 18:40:50 mforth: LOAD "test.fth" 2025-03-25 18:41:08 mforth: SEE PRIME? 2025-03-25 18:41:08 : PRIME? DUP 2 < IF DROP 0 EXIT DUP 2 = IF DROP 1 EXIT DUP 2 MOD 0 = IF DROP 0 EXIT DUP SQRT 3 DO DUP I MOD 0 = IF DROP 0 UNLOOP EXIT 2 +LOOP DROP 1 ; 2025-03-25 18:41:13 et voila 2025-03-25 18:42:35 the multi-user irc forth bot v 0.2 version béta , use at your own risks ! 2025-03-25 18:44:19 mforth: CAT 2025-03-25 18:44:19 Unknown word: CAT 2025-03-25 18:47:47 you must LOAD the created dictionnary vulpine 2025-03-25 18:47:59 mforth: CAT 2025-03-25 18:48:00 /_/ 2025-03-25 18:48:08 meow 2025-03-25 18:48:54 vulpine: each may crete his own dictionnary a startup a minimal dictionnary is setup 2025-03-25 18:51:08 i will rename test.fth to ini.fth 2025-03-25 18:52:42 mforth: 1234567891234567 PRIME? . 2025-03-25 18:52:42 Error: UNLOOP without DO 2025-03-25 18:52:47 merde 2025-03-25 19:07:18 mforth: "test.fth" 2025-03-25 19:07:19 Unknown word: "test.fth" 2025-03-25 19:07:29 mforth: LOAD "test.fth" 2025-03-25 19:07:29 Error: LOAD: No filename provided 2025-03-25 19:07:44 mforth: LOAD "test.fth" 2025-03-25 19:07:45 Error: LOAD: No filename provided 2025-03-25 19:08:36 mforth: LOAD "test.fth" 2025-03-25 19:08:36 Error: LOAD: No filename provided 2025-03-25 19:11:53 mforth: LOAD "test.fth" 2025-03-25 19:12:22 mforth: 1234567891234567 PRIME? 2025-03-25 19:12:22 Error: UNLOOP without DO 2025-03-25 19:21:36 mforth: LOAD "test.fth" 2025-03-25 19:22:20 mforth: 123456789123457 PRIME? . 2025-03-25 19:22:22 1 2025-03-25 19:24:35 nickel ! 2025-03-25 20:20:06 mforth: LOAD "test.fth" 2025-03-25 20:20:25 mforth: SEE PRIME? 2025-03-25 20:20:25 : PRIME? DUP 2 < IF DROP 0 EXIT THEN DUP 2 = IF DROP 1 EXIT THEN DUP 2 MOD 0 = IF DROP 0 EXIT THEN DUP SQRT 3 DO DUP I MOD 0 = IF DROP 0 UNLOOP EXIT THEN 2 +LOOP DROP 1 ; 2025-03-25 20:29:36 https://github.com/cleobuline/some-c-sources/blob/main/bot_irc_gmp_multi_forth.c 2025-03-25 20:30:57 pause waiting next bug ... 2025-03-25 22:49:37 mforth: 0 .S 2025-03-25 22:49:37 <1> 0 2025-03-25 22:49:45 mforth: .S 2025-03-25 22:49:46 <1> 0 2025-03-25 22:50:00 mforth: 0 @ .S 2025-03-25 22:50:00 <2> 0 0 2025-03-25 22:51:48 mforth: :D 2025-03-25 22:51:48 Unknown word: :D 2025-03-25 22:52:51 mforth: : -ROT ROT ROT ; 2025-03-25 22:53:01 mforth: WORDS 2025-03-25 22:53:01 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT CR EMIT VARIABLE @ ! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK EMIT CR CLEAR-STACK DP -ROT 2025-03-25 22:53:39 mforth: : ? @ . ; DP ? 2025-03-25 22:53:39 0 2025-03-25 22:54:37 mforth: words 2025-03-25 22:54:37 Unknown word: words 2025-03-25 22:54:41 mforth: WORDS 2025-03-25 22:54:42 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT CR EMIT VARIABLE @ ! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK EMIT CR CLEAR-STACK DP 2025-03-25 22:55:25 mforth: : 2DUP OVER OVER ; 2025-03-25 22:56:20 over and over again 2025-03-25 22:56:28 mforth: . . . . . . . . . . . . 2025-03-25 22:56:28 Error: Stack underflow 2025-03-25 22:56:40 big improvement! but still two lines of output 2025-03-25 22:57:03 mforth: : TRUE -1 ; : FALSE 0 ; : ON TRUE SWAP ! ; : OFF FALSE SWAP ! ; 2025-03-25 22:57:48 mforth: : ? @ . ; VARIABLE CLUTCH CLUTCH ON CLUTCH ? 2025-03-25 22:57:49 Error: Word already defined 2025-03-25 22:57:56 whaat 2025-03-25 22:58:00 mforth: VARIABLE CLUTCH CLUTCH ON CLUTCH ? 2025-03-25 22:58:00 -1 2025-03-25 22:59:39 mforth: WORDS 2025-03-25 22:59:40 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT CR EMIT VARIABLE @ ! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK EMIT CR CLEAR-STACK DP -ROT ? 2DUP TRUE FALSE ON OFF CLUTCH 2025-03-25 23:01:01 mforth: 100 ALLOT DP . 2025-03-25 23:01:01 0 2025-03-25 23:01:09 mforth: DP ? 2025-03-25 23:01:09 0 2025-03-25 23:01:31 mforth: 1 0 / 2025-03-25 23:01:31 Error: Division by zero 2025-03-25 23:02:46 mforth: -1 256 MOD . 2025-03-25 23:02:46 255 2025-03-25 23:04:13 mforth: VARIABLE .S 2025-03-25 23:04:18 mforth: WORDS 2025-03-25 23:04:19 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT CR EMIT VARIABLE @ ! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK EMIT CR CLEAR-STACK DP -ROT ? 2DUP TRUE FALSE ON OFF CLUTCH .S 2025-03-25 23:04:30 mforth: : .S 0 ; 2025-03-25 23:04:31 Error: Word already defined 2025-03-25 23:04:44 mforth: VARIABLE .S 2025-03-25 23:04:49 mforth: WORDS 2025-03-25 23:04:49 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT CR EMIT VARIABLE @ ! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK EMIT CR CLEAR-STACK DP -ROT ? 2DUP TRUE FALSE ON OFF CLUTCH .S .S 2025-03-25 23:05:40 cleobuline: Quite a lot missing but it's interesting 2025-03-25 23:06:17 Could do with something to forget words, and VARIABLE seems to be able to overwrite definitions 2025-03-25 23:06:24 No HERE 2025-03-25 23:06:50 Also it's better to just allow redefining, IMO 2025-03-25 23:10:51 mforth: .S 2025-03-25 23:13:05 mforth: 1 ? 2025-03-25 23:13:05 Unknown word: ? 2025-03-25 23:13:10 cleobuline: how can I call veltas's words? 2025-03-25 23:27:00 mforth: WORDS 2025-03-25 23:27:00 .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ = < > AND OR NOT CR EMIT VARIABLE @ ! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK EMIT CR CLEAR-STACK DP -ROT ? 2DUP TRUE FALSE ON OFF CLUTCH .S .S 2025-03-25 23:27:23 Do we all have different words? Didn't realise 2025-03-25 23:28:30 yup 2025-03-25 23:35:03 veltas: do LOAD "test.fth" to get more words 2025-03-25 23:36:45 FORGET not yet implemented sorry 2025-03-25 23:37:02 next V 0.1.2 2025-03-25 23:37:33 xentrac: each user have his own dictionnary 2025-03-25 23:37:58 you cannot share words between users 2025-03-25 23:38:04 cannot? :-( 2025-03-25 23:39:30 so it's more like a single-user Forth for each user 2025-03-25 23:39:51 don't ask too much i am still working on it 2025-03-25 23:40:29 i can switch to a shared dictionnary xentrac 2025-03-25 23:41:01 I'm not sure that would be better... 2025-03-25 23:42:19 better to write some words on a file and load to share some words 2025-03-25 23:43:07 oh, are the files shared? 2025-03-25 23:43:34 there is not SAVE primitive yet 2025-03-25 23:44:48 may be i cas do a APPEND someword to somme init.fth file 2025-03-25 23:45:30 there is a primitive to read a word 2025-03-25 23:45:46 mforth: SEE EURO 2025-03-25 23:45:47 : EURO INIT-RANDOM 50 INIT-NUMS 50 SHUFFLE-NUMS 5 0 DO PICK-NUM DUP NUM-TO-STR 32 EMIT DROP LOOP INIT-STARS SHUFFLE-STARS PICK-STAR DUP NUM-TO-STR 32 EMIT DROP PICK-STAR DUP NUM-TO-STR DROP CR ; 2025-03-25 23:46:15 why does this Wikipedia article make me cry? https://en.wikipedia.org/wiki/Puff,_the_Magic_Dragon 2025-03-25 23:46:19 so i can append it in a file tu be shared with other user 2025-03-25 23:53:13 Instead of files you might consider adding blocks