[go-nuts] Re: Go Community Charity Work?

2017-12-25 Thread Tamás Gulácsi
https://github.com/boombuler/barcode is a MIT licensed Aztec code generator. You'll have to become a trusted central authority for the drug companies - or at least provide the infrastructure for the government to force such a central registry for uuids and public keys. I think here the technica

Re: [go-nuts] Re: select multiple expressions per case

2017-12-25 Thread matthewjuran
Well my almost-use-case was just for signaling without assignment. The assignment cases are something that would need to be addressed by such a feature. I like your pattern as a Go 1 solution, but what are the unaddressed concerns? Thanks for the feedback, happy holidays. Matt On Sunday, Dece

[go-nuts] Possible bug on os.Stat and mode is symlink

2017-12-25 Thread Shulhan
Environment OS: Linux xenom-bubu 4.14.8-1-ARCH #1 SMP PREEMPT Wed Dec 20 21:27:44 UTC 2017 x86_64 GNU/Linux Go: go1.10beta1 linux/amd64 Steps to reproduce $ mkdir testSymlink $ cd testSymlink $ touch test $ ln -s test link $ cd .. $ test -L testSymlink/link # true, exit status 0

Re: [go-nuts] implement something like writeback journal for writing files

2017-12-25 Thread Vasiliy Tolstov
2017-12-25 19:50 GMT+03:00 Tamás Gulácsi : > Butthat package seems to be a perfect fit. > Create a wal only for writers. I have virtual disk that provided for client, disk represented by 4Mb blocks, when user writes data inside vm, data written to specific block at specific offset. In this case i

Re: [go-nuts] implement something like writeback journal for writing files

2017-12-25 Thread Tamás Gulácsi
Butthat package seems to be a perfect fit. Create a wal only for writers. You'll have to cache the file descriptors anyway. -- 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

[go-nuts] Re: Go Community Charity Work?

2017-12-25 Thread matthewjuran
We would write a scaling server with Go on one of these public datacenter services. A manufacturer or distributor could register a UUID with us that is then verified through us by the pharmacy and consumer later. The pharmacy/consumer has the aztec barcode with the UUID, manufacturer cryptograp

Re: [go-nuts] implement something like writeback journal for writing files

2017-12-25 Thread Vasiliy Tolstov
25 Дек 2017 г. 13:54 пользователь "Jan Mercl" <0xj...@gmail.com> написал: On Mon, Dec 25, 2017 at 10:11 AM Vasiliy Tolstov wrote: What about a write ahead log? https://godoc.org/github.com/cznic/file#WAL I know about this package, but I have many files like 3-5 and create Wal for each

[go-nuts] Where to stick temporary go files after an AST rewrite?

2017-12-25 Thread Matt Mueller
Hey folks! I'm using the new https://godoc.org/golang.org/x/tools/go/ast/astutil#Apply function, but keep running into the question: After I rewrite these files, where do I stick them so they're still buildable with the rest of the program? Is there anyway to call "go run" after modifying the

Re: [go-nuts] implement something like writeback journal for writing files

2017-12-25 Thread Jan Mercl
On Mon, Dec 25, 2017 at 10:11 AM Vasiliy Tolstov wrote: What about a write ahead log? https://godoc.org/github.com/cznic/file#WAL -- -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

Re: [go-nuts] Possible bug on os.Stat and mode is symlink

2017-12-25 Thread Jakob Borg
You want os.Lstat. > On 25 Dec 2017, at 11:36, Shulhan wrote: > > Environment > > OS: Linux xenom-bubu 4.14.8-1-ARCH #1 SMP PREEMPT Wed Dec 20 21:27:44 > UTC 2017 x86_64 GNU/Linux > > Go: > - go1.10beta1 linux/amd64 > - go1.9.2 > > Steps to reproduce > > $ mkdir testSymlink > $ cd testSyml

[go-nuts] Possible bug on os.Stat and mode is symlink

2017-12-25 Thread Shulhan
Environment OS: Linux xenom-bubu 4.14.8-1-ARCH #1 SMP PREEMPT Wed Dec 20 21:27:44 UTC 2017 x86_64 GNU/Linux Go: - go1.10beta1 linux/amd64 - go1.9.2 Steps to reproduce $ mkdir testSymlink $ cd testSymlink $ touch test $ ln -s test link $ cd .. $ test -L testSymlink/link # true, exi

Re: [go-nuts] Re: golang for AI

2017-12-25 Thread Sebastien Binet
Not sure what Fabien is using but the Go equivalent of numpy is Gonum: https://gonum.org. (At least it's the closest to numpy that I know of) -s sent from my droid On Dec 25, 2017 7:47 AM, "Lee Rick" wrote: Can you share some name What package is used? python has a package called numpy, it i

[go-nuts] implement something like writeback journal for writing files

2017-12-25 Thread Vasiliy Tolstov
Hi. I have some servers with sata hdd and 2 ssd. I want to use ssd for writeback journal to provide faster speed in case of writing and not lost durability. Client connects to server and send some chunk of data with file name and offset. As of sata hdd is slow, i want to write data chunks to journa