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 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 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 > 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 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 Botton 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 > 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 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 > *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] 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 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
Re: [Gnoga-list] Proposal for Gnoga coding guidelines.
On Sun, Oct 16, 2016 at 10:25 PM, Jean-Pierre Rosen wrote: > 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] Dropping the ball
Sorry to hear about your dad. My deepest condolences. Anh Vo On Sun, May 29, 2016 at 2:50 AM, sr wrote: > Please accept my condolences, David. > > -- > Stéphane Rivière > Ile d'Oléron - France > Freiburg Im Breisgau - Deutschland > > > -- > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > ___ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list > -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___ 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 Botton wrote: > 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
Another option is to adapt addr2line source code to work with interested OS since the source does exist. Hopefully, it is not very difficult to do. On Sat, Aug 8, 2015 at 9:40 PM, Anh (TA) Vo wrote: > 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
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 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
Re: [Gnoga-list] Enhancing Exception Handling Suggestion
On Thu, Aug 6, 2015 at 3:09 PM, Joakim Dahlgren Strandberg wrote: > -- 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 > > I agree with the above at least for the GNAT compiler. I remember > advocating this view, but then someone (could it have been Tero Koskinen > who has experience with several different Ada compilers?) informed me that > the Ada standard has more restrictions on what Ada.Exception_Name (EO) > and Ada.Exception_Message (EO) contains and that there is less restriction > on what Exception_Information should contain. The argumentation was that if > one wants to be cross-compiler one should stick to Exception_Name and > Exception_Message for the application to exhibit similar exception error > messages. My experience is that Exception_Information with the GNAT > compiler works as described above and works very well. > > > 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. > Yes, GNAT-GPL-2015 works on Linux-64 and Windows that I tested on. I am sure it works on other platforms, too. Hopefully, others can confirm on this. Anh Vo -- ___ 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 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 > 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 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] CPU Usage
When building tutorial_01.adb, I got warning at line 404:17 of gnat-sockets-connection_state_machine.adb. That is out parameter Item is read but not assigned. I wonder why it is. I hope it has nothing to do with this problem. Anh Vo On Tue, Dec 9, 2014 at 2:15 PM, Rabbi David Botton wrote: > The non-AWS version of Gnoga is showing 100% CPU usage on some (but not > all) platforms). This is not the case when the same code is run against an > AWS version. The CPU usage goes back to zero once connections are closed. > > I've let Dmitry know about it and I am investigating what also what is > causing the CPU usage issues. > > God willing will have a fix for it soon. > > David Botton > > > > -- > 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=164703151&iu=/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=164703151&iu=/4140/ostg.clktrk___ 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
<< Can you try going to http://www.gnoga.com: and tell me if you can reach it that way? >> It worked fine at home. But, It failed to load at work because I was behind the firewall at work for sure. Anh Vo On Tue, Dec 2, 2014 at 3:18 PM, Rabbi David Botton wrote: > I must admit a bit stumped as to why if everything is checked ok except > ssl there would be an issue. > > Can you try going to http://www.gnoga.com: and tell me if you can > reach it that way? > > Thanks, > David Botton > > > On Tue, Dec 2, 2014 at 12:42 AM, Anh (TA) Vo > wrote: > >> > extensions installed?> >> >> I may have it with respect to Chrome but not for IE. >> >> http://websocketstest.com/> >> >> I got most checked except No HTTP Proxy and no x Disconnected at 21:29.45 >> in *WebSockets (Port 443, SSL)* >> >>> >>>> Please do not laugh at me by the fact that I do not use cell phone :-). >>>> It sounds like I am way behind technologies. May be I wait until we use >>>> mind / brain wave to communicate instead of devices :-) >>>> >>> >>> I would never laugh, I wish I didn't have to have one, texting though is >>> how I keep in touch with my office staff and most patients. >>> >>> I have no televisions or radios, I beat you :) >>> >> >> Indeed, you did :-) >> >>> >> 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=157005751&iu=/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=164703151&iu=/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=164703151&iu=/4140/ostg.clktrk___ 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
I may have it with respect to Chrome but not for IE. http://websocketstest.com/> I got most checked except No HTTP Proxy and no x Disconnected at 21:29.45 in *WebSockets (Port 443, SSL)* > >> Please do not laugh at me by the fact that I do not use cell phone :-). >> It sounds like I am way behind technologies. May be I wait until we use >> mind / brain wave to communicate instead of devices :-) >> > > I would never laugh, I wish I didn't have to have one, texting though is > how I keep in touch with my office staff and most patients. > > I have no televisions or radios, I beat you :) > Indeed, you did :-) > 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=157005751&iu=/4140/ostg.clktrk___ 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, I saw the source code when right clicking and choosing view source. The last part of my answer was that I attempted open boot.html file of the GNOGA source code that I downloaded from the source forge site - http://sourceforge.net/projects/gnoga/. Please do not laugh at me by the fact that I do not use cell phone :-). It sounds like I am way behind technologies. May be I wait until we use mind / brain wave to communicate instead of devices :-) Anh Vo On Mon, Dec 1, 2014 at 5:59 PM, Rabbi David Botton wrote: > After going to http://www.gnoga.com you were able to see the boot.html > file when right clicking and choosing view source? (I didn't understand the > last part of your answer). > > Do you have any sort of script blockers on your computer? Does it work > from your cell phone (both your wifi and on the cell service)? (provided of > course you have a modern smartphone with recent android or ios) > > Thank you for taking the time to try this out, the more information I have > the better to try and get the regular websocket system as stable and solid > as possible. > > Thanks! > David Botton > > > On Mon, Dec 1, 2014 at 8:17 PM, Anh (TA) Vo wrote: > >> 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 >> 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 >>> 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=157005751&iu=/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=157005751&iu=/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=157005751&iu=/4140/ostg.clktrk >> __
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 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 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=157005751&iu=/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=157005751&iu=/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=157005751&iu=/4140/ostg.clktrk___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
[Gnoga-list] www.gnoga.com displays blank page in Chrome, IE and Firefox
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=157005751&iu=/4140/ostg.clktrk___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] Gnoga's new connection buffering and more stability
I would suggest to simplify the loop range by replacing T'First .. T'Last by T'Range. Thus, the codes become. They are a bit shorter :-) for i in Buttons'Range loop for n in Buttons (i)'Range loop -- ... Anh Vo On Sun, Nov 30, 2014 at 3:14 AM, Rabbi David Botton wrote: > 1. I've made more changes to the boot files for increased stability and > they now make use of boot.js. This should centralizes where the boot loader > code is and should make it easier to create your own custom boot loaders. > So make sure to copy both boot.html _and_ boot.js into your current > projects. > > 2. I've added the ability to turn on Connection Buffering. For example the > following code will now "snap" on to the browser with speed thanks to the > buffering instead of slowly painting its way on. > >Main_Window.Buffer_Connection (True); > >for i in Buttons'First .. Buttons'Last loop > for n in Buttons (i)'First .. Buttons (i)'Last loop > Buttons (i) (n).Create (Grid_Box, "1"); > Buttons (i) (n).Font (Family => "monospace", Height => "11px"); > Buttons (i) (n).Background_Color ("lightgray"); > Buttons (i) (n).Vertical_Align (Middle); > Buttons (i) (n).Minimum_Width (25); > Buttons (i) (n).Maximum_Width (25); > Buttons (i) (n).Minimum_Height (25); > Buttons (i) (n).Maximum_Height (25); > Buttons (i) (n).Text_Alignment (Center); > Buttons (i) (n).Overflow (Hidden); > Buttons (i) (n).Margin ("1px", "1px", "1px", "1px"); > end loop; > Grid_Box.New_Line; >end loop; > >Main_Window.Buffer_Connection (False); > > Buffering can be turned on and left on for most applications unless you > are going to be updating your GUI with tasks. In those cases either turn > off the buffering or make sure that you run Object.Flush_Buffer with in the > task. > > The buffer is flushed: > > 1. At the end of On_Connect > 2. After any incoming event has been handled > 3. Before retrieving any property of an element from the browser. > 4. Any time Flush_Buffer is called (it can be called on any object to > flush the entire connection). > > Buffering is turned off by default (perhaps that will change in the > future, but so far I am leaning to not do so). To turn on buffering just > call using any object on a connection Object.Buffer_Connection > > David Botton > > > -- 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=157005751&iu=/4140/ostg.clktrk___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list
Re: [Gnoga-list] Working alternative to AWS
On Tue, Nov 25, 2014 at 8:12 PM, Rabbi David Botton wrote: > I have a working version now of Gnoga using Dmitry Kazakov's simple > components instead of AWS. I still have a bit of polish to do, but it looks > like a winner. > > This means AWS not required at all (nor any of its many dependencies), a > simple checkout of Gnoga will include all needed and should compile on even > older versions of GNAT (although still needs a few 2012 features > currently). In theory I could probably backport Gnoga to 2005 or even Ada > 95 at this point. > > My goal is for Gnoga to work with the current release version of MinGW on > Windows and Debian Squeeze. So if I manage that I'll be super happy. > > I'll post when I've got everything tested and have pushed this in to Git. > It may have to wait until tomorrow though. > > Great job, David. I have reading emails but did not have time to play with > Gnoga. Now, holiday is up us and my company will shutdown for 2 two weeks > during Christmas. I start learning to catch up. In addition, I can get my > hands dirty with Gnoga without building and installing AWS. Again, good job > David. Happy and healthy Thanksgivings. Go Gnoga. 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=157005751&iu=/4140/ostg.clktrk___ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list