Eduard Lebedyuk · Feb 15, 2016 go to post

We use several providers, on all of them there are servers for development & testing and production. Some features are availible on DO, some only in other places. Can't say I found a cloud provider offering everything I want in one place.

Eduard Lebedyuk · Feb 15, 2016 go to post

Yes, DigitalOcean is quite good. I manage around 50 servers there and they don't disappoint. One issue I have is that  they don't offer backup/snapshot management. All you can do with a backup is restore it to current or a new server.  I'm used to features offered by other cloud providers, such as:

  • Browse backup disk image
  • Download disk image

But to do it in DigitalOcean I need to create a new droplet from a backup (takes time and costs  money) and browse it.

Also their in-browser-web-access is quite lacking -  they offer only VNC access, but not:

  • SSH console access
  • File explorer access
  • File explorer access for a powered off server
Eduard Lebedyuk · Feb 12, 2016 go to post

Since when removing working functionality became a good thing?

WYSWIG does not support some formatting when creating an article (break tag for example).

How do I get to groups list now?

Eduard Lebedyuk · Feb 11, 2016 go to post

Turns out FF renders the <pre> tag node with horisontal scrollbar (if required) and Chrome without. Ok.

Eduard Lebedyuk · Feb 11, 2016 go to post

I'm against that. As it is right now, I can copy/paste code from <pre> tag into the terminal and it would work.

The advantage of <pre> block is that it would be displayed exactly as the author intended.

If we add line breaks the code would not work after copy/paste into the terminal.

Eduard Lebedyuk · Feb 9, 2016 go to post

Some notes:

  • When writing a post title don't use URL escaped characters (namely - é). Title goes into url and it may break the link
  • To add code switch into Filtered HTML view, paste your code inside<pre> </pre> tag, afterwards switch into Community Member WISIWYG to post
  • To add headings use <h1> to <h6> HTML tags (in Filtered HTML view)
Eduard Lebedyuk · Feb 8, 2016 go to post

Please note, that another approach (put tstVar in the "public" list) suggested by Timothy Leavitt  works better in most cases, as once defined a % variable can be modified anywhere within the process. With "public" list you retain full control over variable visibility which makes debugging much easier.

Eduard Lebedyuk · Feb 8, 2016 go to post

You can use script command for that

script --quiet myoutput.log
csession cache
work in terminal
hang
exit

If you want to log every command then you can enable it in SMP ->  System Administration -> Security -> Auditing ->  Configure System Events. Once there enable %System/%DirectMode/DirectMode event and every terminal command would be logged along with time and user who executed it. Audit must also be active, of course.

Eduard Lebedyuk · Dec 18, 2015 go to post

Yes, I'm searching for a ready code downloading from Gmail etc. Or at least code connecting to the server.

ClassMethod GmailAsPOP3() As %Net.POP3

{
  Set server=##class(%Net.POP3).%New()

  

  Set server.port=995
  //just in case we plan to fetch any messages

  //that have attachments

  Set server.StoreAttachToFile=1

  Set server.StoreInlineToFile=1

  Set server.AttachDir="c:\DOWNLOADS\"

  
  Set servername="pop.gmail.com"

  Set server.UseSTARTTLS=1

  Set server.SSLConfiguration = "GMail" //any empty enabled client SSL/TLS config
  Set user="mail@gmail.com"

  Set pass="pass"

  

  Set status=server.Connect(servername,user,pass)

  If $$$ISERR(status)

  {

    Do $System.Status.DisplayError(status)

    Quit $$$ERROR()

    }

  Quit server

}

 

It returns this error:ERROR #6013: Unable to make TCP/IP connection to mail server.  An earlier connection may not have been closed. [zConnectPort+39^%Net.POP3.1:EMAIL]