[go-nuts] Solver for mixed integer programing in pure go

2022-11-22 Thread ChrisLu
Hi, Are there any pure-go solver for mixed integer programming? Specifically, I am looking for a replacement of SCIP solver in Google's OR-tool. Chris -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop

[go-nuts] Go implementation of CLP

2022-09-30 Thread ChrisLu
Seems there are no Go implementation for Compressed Log Processor (CLP) yet? CLP is a tool capable of losslessly compressing text logs and searching the compressed logs without decompression. https://github.com/y-scope/clp Chris -- You received this message because you are subscribed to

[go-nuts] Any package implementing FIFO mutex?

2022-09-09 Thread ChrisLu
"sync.Mutex" is not FIFO. Has any package implemented a dropping for FIFO mutex? One similar solution is to use buffered channel, but it is limited by the buffer size, and requires non-trivial re-architecturing. Chris -- You received this message because you are subscribed to the Google

[go-nuts] JSON dictionary encoding

2021-01-04 Thread ChrisLu
Hi, For a list of json objects, the key names are usually repeated. e.g., {:1, :2},{:2, :3}, ... The key names, "" and "" for the above example, could be very long. Is there any existing library already encode json objects via a dictionary? This is a JSON-specific

[go-nuts] mount remote storage without FUSE

2020-11-25 Thread ChrisLu
Hi, Gophers (who are also good in C), Currently I am using FUSE to mount and write to remote storage. The library I am using is Basil Fuse. The performance is good as far as FUSE can go. User -> file.write() -> Linux Kernel -> Virtual File System -> libfuse -> FUSE -> DFS Client(in Go) ->

[go-nuts] Any recommendation for structured logging library in Golang?

2020-11-17 Thread ChrisLu
I am considering moving from glog to structured logging. I tried logrus, go-kit, uber/zap, but could not find one good fit. In short, this is the desired format: [info][timestamp] [filename:line_number] message k1=v1 k2=v2 ... It shows the correct file name(need to pop out a few call stacks)

[go-nuts] Re: SFTPGo gained Azure Blob Storage backend support

2020-10-25 Thread ChrisLu
Hi, Nicola, Great to see the SFTPGo author is also here! Actually I was checking how to integrate FTP with SeaweedFS. It will be great to get some insight from you: 1) Really dumb question. Do people still use FTP? I have not used it myself for a long time. 2) How reliable/mature/performant

[go-nuts] filago: Monitor a Linux process' opening and closing of files, including Unix pipes and sockets

2017-06-03 Thread ChrisLu
Thanks! This should be very useful. Sometimes I want to know the inverted answer that which process is using a port or a file. -- 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,

[go-nuts] is it possible to speed up type assertion?

2017-02-01 Thread ChrisLu
Go's type assertion seems quite slow. The added cost is too much if it has to be in a tight loop. Here are the time taken on my laptop for the following code. https://play.golang.org/p/cA96miTkx_ chris$ time ./p count=1073741824 time taken=7.899207181s count=1073741824 time taken=300.601453ms

[go-nuts] Is it possible to bundle LuaJIT binary together with Go executable?

2016-11-07 Thread ChrisLu
Hi, I am working on a project to start a LuaJIT process from Go. My question is whether it is possible to bundle LuaJIT binary together with Go executable? If having this, this would avoid the external dependency to install LuaJIT. Chris -- https://github.com/chrislusf/gleam

[go-nuts] Re: [ANN] AXIS VFS - Simple, lightweight, virtual file system API

2016-10-25 Thread ChrisLu
Need some examples to understand the API. Chris On Friday, October 21, 2016 at 1:20:15 PM UTC-7, milo.chr...@gmail.com wrote: > > AXIS VFS public repository > > Today I am proud to announce the public release of AXIS VFS, a simple and > lightweight

[go-nuts] [ANN] Gleam - A Go-based MapReduce system with Luajit, Unix Pipes

2016-10-09 Thread ChrisLu
Gleam is written in pure Go. However, Go's lacks of generics and remote code execution hinder its progress on distributed data processing. Enter Gleam: https://githug.com/chrislusf/gleam This is a Go-based MapReduce system currently supports Luajit and Unix Pipes. Gleam has a plugin system to

[go-nuts] [ANN] A Go based map reduce system (second attempt)

2016-09-12 Thread ChrisLu
Hi, This is a second attempt to build a Go based map reduce system. The first attempt, https://github.com/chrislusf/glow, can already be executed distributedly. However, it is still limited by the fact that Go code can not be sent and executed remotely. I just started to work on a Go+Lua