Re: [Gnoga-list] Console_IO.
Hi Pascal, I do not have any specific case. I suggested it because what if... In addition, the cost of expanding the buffer is very minimal. Thus, the what if... will be covered in the future :-) On Sun, Dec 24, 2017 at 2:44 AM, Pascal via Gnoga-list < gnoga-list@lists.sourceforge.net> wrote: > Thanks Anh for your feedback, > > The ring buffer is dedicated for characters from keyboard. > Some champions of typing would overflow it ;-) > Maybe I should consider increasing it when I'll support copy and paste. > Is there any other case? > > Season's Greetings, Pascal. > http://blady.pagesperso-orange.fr > > > > Le 22 déc. 2017 à 19:58, Anh (TA) Vo <anhvofrc...@gmail.com> a écrit : > > > > Hi Pascal, > > > > The length of the protected ring buffer is 100. Is it long enough for > the general purpose. I would suggest to increase it to 256 or 512 if not > doubling it. > > > > Anh Vo > > > > On Sun, Dec 17, 2017 at 1:03 PM, Pascal via Gnoga-list < > gnoga-list@lists.sourceforge.net> wrote: > > Hello, > > > > Add support to Console_IO, an emulation of Text_IO with ACE plugin - > very first version committed to request comments, tested API are included > in test/cli.adb. > > Get_Line supports some basic edition keys such as backspace, delete, > left and right arrows, end, home and cursor position with mouse. > > > > Pushed to dev_1.4 on Gnoga SF GIT: > > https://sourceforge.net/p/gnoga/code/ci/ad8fc112ddb6c0fb290d788cab9c9f > 363f55dc5d/ > > > > Regards, Pascal. > > http://blady.pagesperso-orange.fr > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] Console_IO.
Hi Pascal, The length of the protected ring buffer is 100. Is it long enough for the general purpose. I would suggest to increase it to 256 or 512 if not doubling it. Anh Vo On Sun, Dec 17, 2017 at 1:03 PM, Pascal via Gnoga-list < gnoga-list@lists.sourceforge.net> wrote: > Hello, > > Add support to Console_IO, an emulation of Text_IO with ACE plugin - very > first version committed to request comments, tested API are included in > test/cli.adb. > Get_Line supports some basic edition keys such as backspace, delete, left > and right arrows, end, home and cursor position with mouse. > > Pushed to dev_1.4 on Gnoga SF GIT: > https://sourceforge.net/p/gnoga/code/ci/ad8fc112ddb6c0fb290d788cab9c9f > 363f55dc5d/ > > Regards, Pascal. > http://blady.pagesperso-orange.fr > > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] Funny requests...
Thanks Dave for your insights. I am glad that GNOGA stands tough to cyber hackers. I am hearing cyber security break-in news more often in these days. On Tue, Aug 29, 2017 at 9:21 AM, David Botton <da...@botton.com> wrote: > There always is on every site constantly. Mostly kids or people looking to > blackmail you. Is a regular part of internet hosting going back to even to > the days where 56k service was considered awesome. My first internet server > running Slackware was hacked a few times in those days. The switched to > FreeBSD and was solid for years. > > On Tue, Aug 29, 2017 at 12:19 PM Anh (TA) Vo <anhvofrc...@gmail.com> > wrote: > >> Does that mean a cyber intruder is trying to break in? >> >> Anh Vo >> >> On Tue, Aug 29, 2017 at 5:07 AM, David Botton <da...@botton.com> wrote: >> >>> My logs for the Gnoga site always have thousands every week like it. >>> Another reason why Gnoga is a more secure option than run of the mill web >>> servers/site options. >>> >>> David Botton >>> >>> On Tue, Aug 29, 2017 at 6:11 AM Gautier de Montmollin < >>> gdem...@hotmail.com> wrote: >>> >>>> Just for the fun of it: on a Gnoga console window, I've got suddenly >>>> this: >>>> >>>> 2017-08-26 03:22:22.18 : File kind URI requested - mysql/admin/ >>>> 2017-08-26 03:22:53.76 : File kind URI requested - phpmy/ >>>> 2017-08-26 03:23:13.26 : File kind URI requested - dbadmin/ >>>> 2017-08-26 03:23:58.80 : File kind URI requested - admin/sysadmin/ >>>> 2017-08-26 03:24:14.31 : File kind URI requested - mysql/db/ >>>> 2017-08-26 03:24:57.91 : File kind URI requested - sql/phpMyAdmin2/ >>>> 2017-08-26 03:25:17.41 : File kind URI requested - db/dbadmin/ >>>> 2017-08-26 03:25:54.98 : File kind URI requested - phpMyAdmin3/ >>>> 2017-08-26 03:26:14.49 : File kind URI requested - PMA2014/ >>>> >>>> Looks like an attempt to grab some passwords ?... >>>> >>>> >>>> -- >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>> ___ >>>> Gnoga-list mailing list >>>> Gnoga-list@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gnoga-list >>>> >>> >>> >>> -- >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> ___ >>> Gnoga-list mailing list >>> Gnoga-list@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gnoga-list >>> >>> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot__ >> _ >> Gnoga-list mailing list >> Gnoga-list@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gnoga-list >> > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list > > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] Funny requests...
Does that mean a cyber intruder is trying to break in? Anh Vo On Tue, Aug 29, 2017 at 5:07 AM, David Bottonwrote: > My logs for the Gnoga site always have thousands every week like it. > Another reason why Gnoga is a more secure option than run of the mill web > servers/site options. > > David Botton > > On Tue, Aug 29, 2017 at 6:11 AM Gautier de Montmollin > wrote: > >> Just for the fun of it: on a Gnoga console window, I've got suddenly this: >> >> 2017-08-26 03:22:22.18 : File kind URI requested - mysql/admin/ >> 2017-08-26 03:22:53.76 : File kind URI requested - phpmy/ >> 2017-08-26 03:23:13.26 : File kind URI requested - dbadmin/ >> 2017-08-26 03:23:58.80 : File kind URI requested - admin/sysadmin/ >> 2017-08-26 03:24:14.31 : File kind URI requested - mysql/db/ >> 2017-08-26 03:24:57.91 : File kind URI requested - sql/phpMyAdmin2/ >> 2017-08-26 03:25:17.41 : File kind URI requested - db/dbadmin/ >> 2017-08-26 03:25:54.98 : File kind URI requested - phpMyAdmin3/ >> 2017-08-26 03:26:14.49 : File kind URI requested - PMA2014/ >> >> Looks like an attempt to grab some passwords ?... >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Gnoga-list mailing list >> Gnoga-list@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gnoga-list >> > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list > > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] Experience with Amazon Web Services ?
Actually, I did complete all 10 levels. I meant your first design when mentioning first level. That means I am looking forward to playing level 11 and beyond after your design completed. Again, thank you very much for your effort. Anh Vo On Mon, May 22, 2017 at 5:07 AM, Gautier de Montmollin <gdem...@hotmail.com> wrote: > When you are reaching the level 10 (the last so far), I should seriously > begin to design the next n*10 ones ;-)... > ------ > *From:* Anh (TA) Vo <anhvofrc...@gmail.com> > *Sent:* Sunday, May 21, 2017 5:14:21 PM > *To:* Gnoga support list > *Subject:* Re: [Gnoga-list] Experience with Amazon Web Services ? > > I have tried it. It was to my surprise, I completed the first level. I > like this game so far. By the way, the sound worked great on Chrome and > Firefox running on Ubuntu. Thank you very much for your work and > willingness to share. > > Anh Vo > > On Sun, May 21, 2017 at 4:05 AM, Gautier de Montmollin < > gdem...@hotmail.com> wrote: > >> Surprisingly the game works now with Firefox. Something magic happened... >> > Do you mind I'll put a screen capture of Pasta on Source Forge Gnoga >> web page? >> In contrary, I'm very honored! >> It reminds me I should add a few credits on the "about" page... >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Gnoga-list mailing list >> Gnoga-list@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gnoga-list >> > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list > > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] Proposal for Gnoga coding guidelines.
On Sun, Oct 16, 2016 at 10:25 PM, Jean-Pierre Rosenwrote: > Le 16/10/2016 à 19:54, Jeffrey R. Carter a écrit : > >> I'm OK for disabling assertions, but not other checks > (constraint_error...) > > I'm for leaving them all on. > When I said "assertions", I meant all forms of assertions (including > Pre/Post), not just pragma Assert. > > The trouble is that sometimes, the post-condition needs more > computations than the subprogram being described. > > But it should be shorter that unit test :-). Post conditions replacing > unit test is my most favorite feature. > Anh Vo -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] Twin Girls
David, Congrats by a factor of two. Anh Vo On Fri, Nov 13, 2015 at 12:27 PM, Rabbi David Bottonwrote: > So they are number 14 and 15 for us Rivka and Rachel > > On Fri, Nov 13, 2015, 3:08 PM Pascal wrote: > >> Congratulations to the mother and the father. >> >> My wife is asking what are the name of the twins? >> >> Best regards, Pascal. >> http://blady.pagesperso-orange.fr >> >> >> > Le 13 nov. 2015 à 19:57, Rabbi David Botton a écrit >> : >> > >> > My wife gave birth to twin girls yesterday, so as you can see been busy >> last 2 months (wedding and awaiting birth). I'll be back on Gnoga in the >> coming days. >> > >> > David Botton >> > >> > >> -- >> > ___ >> > Gnoga-list mailing list >> > Gnoga-list@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gnoga-list >> >> >> >> -- >> ___ >> Gnoga-list mailing list >> Gnoga-list@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gnoga-list >> > > > -- > > ___ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list > > -- ___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] Enhancing Exception Handling Suggestion
I am glad that it worked for you. Regarding future of atos tool, it can be made to work for future OS X if current atos source code exists. On Sat, Aug 8, 2015 at 12:53 AM, Joakim Dahlgren Strandberg joaki...@kth.se wrote: On 2015-08-07 00:09, Joakim Dahlgren Strandberg wrote: While we are on the subject on exceptions. There is no way to get stack trace information if one uses GNAT GPL 2015, right? I mean, there is no addr2line. I have addr2line. You do not mention platform though. Thanks all for responding. The platform I am working on is Mac OS X. I've been looking into this and addr2line does not exist on the Mac. Instead one should use an application called atos. Thus I've finally been able to get a nice stack trace when an application threw an exception. Something that worries me though is that when using atos there is a message saying that atos is obsolete and will not be included in a future version of Mac OS X. Googling about it has not turned up any alternatives. Anyways, getting stack traces works for me now, and I regard atos potentially disappearing a problem of the future. -- ___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
[Gnoga-list] Enhancing Exception Handling Suggestion
During exception handling, use function Ada.Exceptions.Exception_Information(EO) instead of Ada.Exception_Name (EO) Ada.Exception_Message (EO). Of course, EO stands for Exception_Occurrence type. The advantage of this usage is that Exception_Information has all capabilities of Exception_Name and Exception_Message combined. In addition, function Exception_Information also gives full call stack trace back for most platforms. Anh Vo -- ___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] More fail over changes - please try again
Minor correction: The main page was partially displayed on IE. In fact, the loading graphic is still circling at the bottom of the current page. On Tue, Feb 10, 2015 at 12:39 PM, Anh (TA) Vo anhvofrc...@gmail.com wrote: The main page is displayed correctly at work work today. By the way, it did not work before. In addition, the menu Gnoga, About, Tools,... have not effect when being clicked. I tested on Chrome and IE. At home it worked normally with Chrome. I did not test with IE. Anh Vo On Tue, Feb 10, 2015 at 12:07 PM, Rabbi David Botton da...@botton.com wrote: Note that it worked before (as in a week or two ago) The reason is that Websockets is actually very well established now and there are few exceptions. I think perhaps I need to find away to go the reverse direction, start with websockets and fall back to ajax if it doesn't work. I'll look in to it. David Botton -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] More fail over changes - please try again
The main page is displayed correctly at work work today. By the way, it did not work before. In addition, the menu Gnoga, About, Tools,... have not effect when being clicked. I tested on Chrome and IE. At home it worked normally with Chrome. I did not test with IE. Anh Vo On Tue, Feb 10, 2015 at 12:07 PM, Rabbi David Botton da...@botton.com wrote: Note that it worked before (as in a week or two ago) The reason is that Websockets is actually very well established now and there are few exceptions. I think perhaps I need to find away to go the reverse direction, start with websockets and fall back to ajax if it doesn't work. I'll look in to it. David Botton -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
[Gnoga-list] make_on_windows.bat and clean_on_windows.bat files
Hi David, The make_on_windows.bat and clean_on_windows.bat did not work correctly on Windows with GNAT-GPL-2014 installed only. In other word, neither MinGW nor Cygwin is available. I would suggest to create additional bat files for this purpose. Below are the contents have been tested. You can choose the appropriate file names if you like. -- file: build.dat if not exist bin mkdir bin if not exist obj mkdir obj if not exist lib mkdir lib cd src copy gnoga-application.windows gnoga-application.adb gnatmake -P gnoga.gpr cd .. cd demo cd snake gnatmake -P snake.gpr cd ..\..\ -- file: clean.bat cd obj del /Q *.* cd .. cd lib del /Q *.* cd .. cd bin del /Q *.* cd .. -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] www.gnoga.com displays blank page in Chrome, IE and Firefox
Yes, it worked before. Yes, I am behind the firewall at work. But, the problem occurs at my house, too. Clearing all cache did not help. In addition, same problem occurred when opening boot.html from the source code. Anh Vo On Mon, Dec 1, 2014 at 4:29 PM, Rabbi David Botton da...@botton.com wrote: Did it work before for you on your current network? Are you behind a firewall? If you clear the cache and refresh does it work? If you look at the source code do you see the boot.html file? The Gnoga site is itself an experiment :) BTW, now that I am using Simple_Components I have a few new options for fallback, I am going to be looking at having Gnoga when used for web sites being able to fall back to a non closing http connection and ajax back for events when websockets won't connect do to firewalls. It's not super high priority but I'll get to that soon also. Thanks! David Botton On Mon, Dec 1, 2014 at 6:55 PM, Anh (TA) Vo anhvofrc...@gmail.com wrote: I got blank when browsing www.gnoga.com page using Chrome, IE and Firefox. What should be updated to have it displayed. Anh Vo -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list