[go-nuts] SFTPGo 0.9.6 Released

2020-03-07 Thread Nicola Murino
Hi all,

I'm pleased to announce SFTPGo 0.9.6.

SFTPGo is a free and open source full featured and highly configurable SFTP 
server. It works on Linux, macOS and Windows.

Here are the main new features compared to 0.9.5 version:

- Keyboard interactive authentication. You can easily setup a customizable 
multi-factor authentication.
- Support for serving S3 Compatible Object Storage and Google Cloud Storage 
over SFTP/SCP.
- Integrated database schema migration. No more need to manually execute 
SQL scripts.
- Per user authentication methods. You can, for example, deny one or more 
authentication methods (password, public key, keyboard interactive) to one 
or more users.
- Virtual folders: directories outside the user home directory can be 
exposed as virtual folders.
- Dynamic user modification just before the login via external programs.
- Per user and per directory file extensions filters: files can be allowed 
or denied based on their extensions.
- Support for HAProxy PROXY protocol: you can proxy and/or load balance the 
SFTP/SCP service without losing the information about the client's address.
- Several bug fixes for SSH command parsing.
- Documentation should be less confused now.

You can find the full list of features and the documentation on the project 
page:

https://github.com/drakkan/sftpgo

Binary releases for Linux, macOS and Windows are available:

https://github.com/drakkan/sftpgo/releases

If you want to suggest a new feature or you find a bug please open an issue 
here:

https://github.com/drakkan/sftpgo/issues

Yours sincerely,
Nicola

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/4058edab-05b0-4c2c-b5aa-c7fcfd78e581%40googlegroups.com.


Re: [go-nuts] Naming convention for "will return error if cannot be done"

2020-03-07 Thread Ian Lance Taylor
On Sat, Mar 7, 2020 at 1:24 PM Alexander Mills
 wrote:
>
> I put the question on Quora:
> https://www.quora.com/unanswered/In-Golang-mustdo-means-it-will-panic-if-it-cannot-be-done-Is-here-a-naming-convention-for-will-always-return-error-if-it-cannot-be-done
>
> In Golang "mustdo" means it will panic() if it cannot be done. Is here a 
> naming convention for "will always return error" if it cannot be done?

Maybe I'm missing something, but isn't that the expected behavior for
any function that has a result of type error?  I don't see why we
would need a naming convention for that.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcX06wo3j0kE%3D2j_0AC29--zkF0mjATSUdMr5LZOamEsjg%40mail.gmail.com.


[go-nuts] Naming convention for "will return error if cannot be done"

2020-03-07 Thread Alexander Mills
I put the question on Quora:
https://www.quora.com/unanswered/In-Golang-mustdo-means-it-will-panic-if-it-cannot-be-done-Is-here-a-naming-convention-for-will-always-return-error-if-it-cannot-be-done

In Golang "mustdo" means it will panic() if it cannot be done. Is here a 
naming convention for "will always return error" if it cannot be done?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/188d8415-46ca-4e6d-ba85-4c517b0b8c27%40googlegroups.com.


[go-nuts] Re: Changing source code in order code to be supported from older Golang versions e.g. Go 1.10

2020-03-07 Thread Brian Candler
I think the problem with compiling code written for go 1.14 with the 
compiler for go 1.10 is not so much the minor language features like number 
literals, but additions to the standard library which those applications 
may depend on.

This means you may need to backport parts of the standard library to go 
1.10 as well.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/c404a006-caf9-4443-ba48-acb4af2084a3%40googlegroups.com.


Re: [go-nuts] Changing source code in order code to be supported from older Golang versions e.g. Go 1.10

2020-03-07 Thread Manlio Perillo
Python has a similar policy about Windows support:
https://docs.python.org/dev/using/windows.html#supported-versions

The same for Rust:
https://forge.rust-lang.org/release/platform-support.html


Manlio

On Saturday, March 7, 2020 at 2:43:50 PM UTC+1, Amnon Baron Cohen wrote:
>
> also
>
>
> https://stackoverflow.com/questions/52137098/go-after-1-10-and-support-of-windows-xp/52137703#52137703
>
> On Saturday, 7 March 2020 13:38:17 UTC, Amnon Baron Cohen wrote:
>>
>> https://github.com/golang/go/issues/23380
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/37e8041f-4299-42f2-999b-64b9556545cc%40googlegroups.com.


Re: [go-nuts] Changing source code in order code to be supported from older Golang versions e.g. Go 1.10

2020-03-07 Thread Amnon Baron Cohen
also

https://stackoverflow.com/questions/52137098/go-after-1-10-and-support-of-windows-xp/52137703#52137703

On Saturday, 7 March 2020 13:38:17 UTC, Amnon Baron Cohen wrote:
>
> https://github.com/golang/go/issues/23380
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/9d3bfea4-781f-4771-b68f-72b14c30910a%40googlegroups.com.


Re: [go-nuts] Changing source code in order code to be supported from older Golang versions e.g. Go 1.10

2020-03-07 Thread Amnon Baron Cohen
https://github.com/golang/go/issues/23380

On Saturday, 7 March 2020 11:42:28 UTC, Jesper Louis Andersen wrote:
>
> While it isn't supported, it might be there are not that much work needed 
> to make 1.14 run on Windows XP. At least you should consider that path as 
> well in addition to program rewriting. It may be a simpler path.
>
> On Thu, Mar 5, 2020 at 12:08 PM Dimitrios Trechas  > wrote:
>
>> Dear colleagues,
>>
>> There are even now cases that a Windows XP is needed. The latest Golang 
>> compiler that could target XP was 1.10.
>>
>> Is there anyone who had to write a source converter that could convert 
>> recent Golang code to backwards compatible code (in case there is no 
>> version clash/hell of different libs) ? E.g. number literals, source 
>> modules to Golang 1.10?
>>
>>
>> Thank you in advance.  
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golan...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/golang-nuts/9c246db8-5197-4e1d-a32e-2bca11e99e20%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> J.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/cf40d41b-fa71-41ba-8c7f-ed6b411d553c%40googlegroups.com.


Re: [go-nuts] Changing source code in order code to be supported from older Golang versions e.g. Go 1.10

2020-03-07 Thread Jesper Louis Andersen
While it isn't supported, it might be there are not that much work needed
to make 1.14 run on Windows XP. At least you should consider that path as
well in addition to program rewriting. It may be a simpler path.

On Thu, Mar 5, 2020 at 12:08 PM Dimitrios Trechas  wrote:

> Dear colleagues,
>
> There are even now cases that a Windows XP is needed. The latest Golang
> compiler that could target XP was 1.10.
>
> Is there anyone who had to write a source converter that could convert
> recent Golang code to backwards compatible code (in case there is no
> version clash/hell of different libs) ? E.g. number literals, source
> modules to Golang 1.10?
>
>
> Thank you in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/9c246db8-5197-4e1d-a32e-2bca11e99e20%40googlegroups.com
> 
> .
>


-- 
J.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAGrdgiWcai%3D4DZencb06Wo70eifOhzbL%2BsVgvdj9SL%2BSXcm%3DXw%40mail.gmail.com.


Re: [go-nuts] Connection Refused while scraping the data

2020-03-07 Thread Jesper Louis Andersen
On Sat, Mar 7, 2020 at 5:35 AM Kurtis Rader  wrote:

> The web site you are accessing thinks you are executing a DDOS attack or
> are otherwise violating their terms of service. This has nothing to do with
> the Go language. You need to rate limit your requests of that site.
>
>
To add:

Look up the concept of a circuit breaker and run it in reverse. Rate limit
your requests, and if the site takes too long to respond, or if it returns
a 429 or the like, you should trip the circuit breaker for a while to cool
down. Scraping can put a tremendous load on a web site and it is your duty
as the scraper to be careful. It is especially important in a language like
go, where you can easily make ten thousand requests to a website from a
single program.


-- 
J.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAGrdgiWDCNtPgfMsWJOeU%3DbYy0930FmuN9dhX8-4qnBcvQmJuA%40mail.gmail.com.


Re: [go-nuts] Connection Refused while scraping the data

2020-03-07 Thread Amnon Baron Cohen
You might get better results if you at a www to the beginning of the 
hostname.

curl https://www.indeed.co.in/browsejobs/Engineering

does download a page

whereas curl https://indeed.co.in/browsejobs/Engineering
does give a connection refused error.

On Saturday, 7 March 2020 04:36:04 UTC, Kurtis Rader wrote:
>
> On Fri, Mar 6, 2020 at 8:21 PM Kuldeep Avsar  > wrote:
>
>> I am trying to Scrape the Job Titles one by one from the Indeed.co.in 
>> 
>>  website
>>
>> but it through me connection refused problem while I am visiting to the 
>> particular jobs Title
>>
>> categories page and trying to take response back from the page but It's 
>> shows error on that time. 
>>
>> please help me out to solve this problem i am tried to solve this but this 
>> not solved. Please help.
>>
>> 2020/03/07 09:08:41 Error to Connect with Indeed Jobs Category Page.Get 
>> https://indeed.co.in/browsejobs/Engineering: dial tcp 169.44.165.69:443: 
>> connect: connection refuse
>>
>>
> The web site you are accessing thinks you are executing a DDOS attack or 
> are otherwise violating their terms of service. This has nothing to do with 
> the Go language. You need to rate limit your requests of that site.
>
> -- 
> Kurtis Rader
> Caretaker of the exceptional canines Junior and Hank
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/bf5ebe6c-7a92-4d34-8530-ebdead009b78%40googlegroups.com.