DATE: 03-04-2018: 15:15 : GMT-5

:: Hi all -:

03-04 AT SUNY Potsdam. Trying to learn a little more postgresql. Only staying for a little bit today. I am going home to practice DB this evening. I need to actually practice the commands instead of just reading.

Update: I just checked out some cool PL/Tcl for postgresql. I know a little Tcl, so this can some in really handy. I can't believe how cool it is compared to the old firebird PL. Having said that, I had read that firebird functions in the newer versions are getting better. Haven't checked them out recently. Also, PL is not the same as a language function in either DB.

On 03-03 I spent a little time today learning the syntax to the reference for Core package in U++. To get started I looked at the reference docs for Ref and Array. I am going to get a new C++ book to bring me up to speed on C++14. I will pick an easier guide for my first book. Addendum: Went to buy C++ book priced really low, and I fiddled around. Someone beat me to the deal by like 1 minute. Well, Mr. nonchalant, you just cost yourself $17. I like U++ a little better than FreePascal now mostly because I started out in computing learning some very basic C++. I am kind of off and running now with PostgreSQL and U++. For next paycheck, I might get a new PostgreSQL book.

Have a cool March Madness . Thx for visiting - jim

I ran Brian Tiffin's cobol code to get JimTcl to work and then fired it up. I needed to add -fstatic-call or something like that in the terminal in addition to the other switches because the library is static. I found that solution on one of my old posts from before when I used to hang out at GnuCobol. Back then, I tried to start at the end and not the beginning. I wanted to extend everything. From memory, the whole command for JimTcl per Brian's faq is:
cobc -x -fstatic-call -o program1 tcl.cob -I/usr/local/include -L. -ljim

Tomorrow, I plan on doing more activities to extend COBOL. I am hoping my plans go smoothly. I don't want to bother them over at GnuCobol.

In my funk today, and after talking to Brian at cygwin, I found simpleclip on git to help with cutting and pasting into emacs. You probably say "cut and paste" why doesn't it work out of the box. In my infinite wisdom, I think I installed the non X window version of emacs. This does not make the clipboard happy between windows and cygwin. Simpleclip at least fixes the emacs app issue in cygwin.

For the other scenarios I have a secret weapon:
cat /dev/clipboard >> ~/gt1 .

I am using windows chrome browser instead of XWin midori. Because of this, I have XWin and windows clipboard issues. That command appends my copy command in my browser to the file gt1 located in my home directory in cygwin. I leave mousepad open and then hit reload. it gets appended to the end of the file. From there, I can copy it into my geany editor. It is an intermediary fix, but without it, I can't cut and paste all those cool commands from snippets etc.

I just fired up firebird with Soci and Cobol yesterday!

I put the master branch of Soci (soon to be 4.0) on my PC and ran a query against it using firebird as the back end. One thing I think I vaguely recall for SOCI is you may need to specify with export or other the LD_LIBRARY_PATH that gives the location of the SOCI library. I am not in linux right now, but I think that happened to me.

I tried U++ and it is working now. Novo got firebird in the bazaar working. I told him I couldn't get it to work and he fixed it fast. I plan on checking out firebird with C++ using that interface very soon. I tested it against a query to see if it works in the sample database, and it connected and returned the data with ease.

By hook or by crook - rdp with ssh!

I tinkered with ssh and rdp. I found a solution that worked with a bridged adapter from virtualbox to do rdp with ssh tunneling. Still can't use nat adapter or nat network adapter with port forwarding. Not willing to turn my firewall into swiss cheese to get that to work.

I tossed out the idea of ever using VNC for my home. I like ssh with rdp. I think I could set it up faster next time as I am aware of some pitfalls. I can connect either on the command line or putty | remmina securely with rdp. I did it with cygwin ssh connecting to virtualbox RDP server and virtualbox guest ssh server.

Latest... shopping in my future