On Wed, May 16, 2018 at 8:07 PM, Juliusz Chroboczek wrote:
>
> I'm interfacing with a C library that expects to do its own I/O, but
> wants to be called after a file descriptor is ready for read. My code
> currently looks roughly like this:
>
> var fdset syscall.FdSet
> var bits = unsafe.
Hello Guys, I have to convert a Json to a UTF_16LE and byte array for sign
a rsa key, someone have idea that how I can do it? Thanks regards.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving email
miekg/dns is the best dns library by far and is actively maintained.
If you see strange results I suggest submitting a bug report.
-- kjk https://www.programming-books.io/essential/go/
On Wednesday, May 16, 2018 at 2:16:11 PM UTC-7, sbez...@cisco.com wrote:
>
> Hello,
>
>
>
> Appreciate if som
I hope so. I provide a package (github.com/kortschak/zalgo) that I
cannot promise will not summon demons. It was written intentionally as
a joke. I disclaim all liability should use of the package bring about
meetings with demonic presences.
On Wed, 2018-05-16 at 07:25 -0700, matthewju...@gmail.co
I'm interfacing with a C library that expects to do its own I/O, but
wants to be called after a file descriptor is ready for read. My code
currently looks roughly like this:
var fdset syscall.FdSet
var bits = unsafe.Sizeof(fdset.Bits[0]) * 8
fdset.Bits[uintptr(fd)/bits] |= (1 << (fd %
I understand the limit in the gob encoder and where it's coming from. What
I don't understand is that godoc uses it for local storage when such a
limit can be hit very easily.
Unless I'm mistaken godoc could use pretty much anything for local storage.
It doesn't have to be compatible with anythi
Hello,
Appreciate if somebody could recommend reliable dns client library supporting
AXFR type of requests.
I was using miekg/dns and I see some strange results.
Thank you
Serguei
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe
The encoder has a 1GB upper limit on message size. You're right that it
might not be documented. Or adjustable, which perhaps it should be, but
then you need to make sure both ends have the same setting. It's all rather
clumsy, writing big blobs on a network. See
https://github.com/golang/go/issues
Thanks guys, Patricia Tree did the trick
--
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.
For more options, visit https:/
Thanks for the feedback Ryan!
On Monday, April 23, 2018 at 2:22:47 AM UTC-4, Ryan Yogan wrote:
>
> Absolutely fantastic! The series of articles were fun to work through,
> and, for once the subject matter of block-chains just clicked for me!
>
> On Saturday, April 14, 2018 at 7:53:09 PM UTC-7,
You answered it, thanks.
Matt
On Wednesday, May 16, 2018 at 4:14:35 AM UTC-5, Gerardo Oscar JT wrote:
>
> Hello Matt,
>
> Having dependencies inside the project is the easiest way to make
> reproducible builds (without having infrastructure for mirrors) and makes
> your organization more indepe
I may have misunderstood the question. I follow the idea of panic when the
program is in an invalid state.
If Divide can receive any input then this is probably a better API:
func Divide(a, b float64) (float64, error) {
where you would return an ErrDivideByZero made with errors.New as a global
>
> It is not necessary to state up front that you are not willful and
> malicious, or careless or negligent. Society expects that from you anyway.
I think practical jokes should be allowed under the GPL, BSD, and similar
licenses.
If you really have legal concerns you should talk to a lawyer
On my system the command
godoc -v -index -index_files=/var/tmp/godoc_index.db -write_index
runs for quite a while, then finishes with a warning message about the gob
encoder:
2018/05/16 14:54:23 initialize file systems
2018/05/16 14:54:23 updating index...
2018/05/16 15:11:46 index updated (104
Hello Matt,
Having dependencies inside the project is the easiest way to make
reproducible builds (without having infrastructure for mirrors) and makes
your organization more independent from third parties. Moreover, tools
based on dependencies rules (like maven, npm, etc) could make your proje
See https://github.com/Kentik/patricia/
On Wednesday, 16 May 2018 03:38:26 UTC+3, XXX ZZZ wrote:
>
> Hello,
>
> I'm trying to check an IP against a list of several CIDR ranges, so far
> the most obvious way to do it seems to parse both the IP and the cidr
> ranges (ParseCIDR) and then do a net.c
16 matches
Mail list logo