sFtp in Golang : How to get logs output?

sFtp in Golang : How to get logs output?

Hi there!

I having issues with connect to a sftp via golang sFtp module.

If I debug it directly from an openSSH client, I can see all kind of ouput with ssh -vvv user@host. It really help to debug.

Can we do the same in the sFtp module? Because I'm getting an Auth fail without further explanation.

Thank you!

Submitted August 10, 2017 at 11:06PM by Kardiamond
via reddit http://ift.tt/2vIAo2o


Callback Function Example Clarification

Callback Function Example Clarification

Below is a snippet of code, I am fairly certain that it is not a callback function for reasons I explained below, but I could use some clarification.

Example :

var start = function () { var loops = 3 , total = 0; for (var i = 0; i < loops; i++) { total += next(i); } done(total); } var next = function (num) { var myNum = num * num; return myNum; } var done = function (num) { console.info('Added up to', num); } 

This would not be an example of a callback correct? In order for it to be considered a callback function, there must be a higher order function that accepts another function as a parameter, and in our example the start function does not accept other functions as parameters. If this is not a callback, then what is the term for what is going on here? Because the start function has access to other function calls inside of it for example the next function on the line total += next(i).


Submitted August 10, 2017 at 10:35PM by bluehabit
via reddit http://ift.tt/2fvTUsG

SQream Technologies is hiring Haskell developers in Tel Aviv (on-site)

SQream Technologies is hiring Haskell developers in Tel Aviv (on-site)

SQream Technologies is a startup based in Tel Aviv. Our core product is SQream DB: a fast, GPU-accelerated, columnar SQL database for analytics. SQream DB is usable by any user with even basic SQL knowledge in order to get insights from huge data-sets, up to petabyte range.

We are looking to hire experienced Software Developers specializing in Haskell programming or other functional languages. You will join the our compiler team to work on our in-house SQL compiler written in Haskell, enabling SQream DB to do more – faster.


  • B.Sc./M.Sc. in Computer Science with any previous experience
  • Familiarity with functional programming
  • Familiarity with C++ – advantage
  • Previous experience writing code and working on technical projects
  • Capable of working in a team setting
  • Good communication skills

We use Haskell to build our in-house SQL compiler, which is written using, among others, Parsec and Uniplate. We're using Quickcheck to test both the compiler and the entire product. Our current build system is written mostly in Haskell, and these days we're rewriting it using Shake.

You can get some more insight about our compiler at http://ift.tt/2eYjLIG

Apply at http://ift.tt/2vSAMeH or contact me directly at ben at sqreamtech.com

If you have any questions, feel free to ask!

Submitted August 10, 2017 at 10:17PM by sqreamtech
via reddit http://ift.tt/2uKgpfc