Multiple Newspeak windows

78 views
Skip to first unread message

John

unread,
Jul 13, 2024, 8:14:19 PM7/13/24
to newspeak...@googlegroups.com
Its a bit of a kludge, but if I type chrome://apps into my chrome browser, (and the PWA is installed (in chrome I guess?)), I see the Newspeak app icon which, for me, on a mac, opens as many new instances as my heart desires.

Gilad Bracha

unread,
Jul 17, 2024, 5:23:14 PM7/17/24
to Newspeak Programming Language
Sorry for the slow response - I was on vacation.

I believe that is true. However, each of these instances is separate - they do not share memory. We might be able to get them to communicate via web sockets or something, but it's not the same as having a single Newspeak process with multiple native windows (we had that with the Microsoft Windows native Hopscotch UI on top of Squeak - that still runs, but is long obsolete). 

One can also set up a "tiled window system" in the web UI. 

In any case, this is currently a low priority item. Of course, if you want to work on something like that, let me know and I'd be happy to discuss.  Or if you are happy with the PWA - well, that's great, that's why we did it. Various refinements to the PWA would also be nice.

John

unread,
Jul 18, 2024, 12:05:31 AM7/18/24
to Newspeak Programming Language
Please, sir, no apologies. I was on vacation as well! And it was a Newspeak themed vacation to be sure :) Quite enjoyable. I made a BankAccount app. So using the TodoMVC code as reference caused quite a bit of scrolling hence the hasty post about a workaround. I have found that, if you compile some code into one instance, it WILL be available in the other window(s), so the browser storage must be shared?

I hope you are not too disappointed that this was my first actual usage of Newspeak to build something. I'm a slow learner. Probably spent too much time trying to be a contributor when I should have worked on being a user first. 

You may find this amusing: I found myself thinking it might be good to read Orwell's novel on this vacation. I've never read it and it occurred to me that Ampleforth might not be a reference that other programming language lol. Then the "Ozy" post dropped and I vowed to myself not look at it or AmpleForth or anything else, "until I read it's name in that book". Ha ha. Good thing I didn't google it first. Reading 1984 made for quite a romp having seen all the names in code first. So thank you for the awesome entertainment. First novel I've read in years.
Sorry if I ramble too much Gilad.
Screenshot 2024-07-16 at 11.18.17 PM.png

Gilad Bracha

unread,
Jul 18, 2024, 12:37:28 AM7/18/24
to newspeak...@googlegroups.com
Hi John,

I believe I explained the use of the name Ampleforth in a post long ago, but as you can see, it's more fun if you figure it out yourself. If I've gotten one person to read Orwell, I have truly achieved something. Thanks for that! It's one of those books one should re-read periodically. I put easter eggs in the Java books too, but nobody ever noticed.

 I believe the local storage is shared, and so you can get at stuff  through that. That's not the same as fully shared memory though. 

--
You received this message because you are subscribed to the Google Groups "Newspeak Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to newspeaklangua...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/newspeaklanguage/5768bc2d-4ef8-4e9e-a648-55a7fdc0c8efn%40googlegroups.com.


--
Cheers, Gilad
Reply all
Reply to author
Forward
0 new messages