ation and an "func io.Read(io.Reader, p) (int,
> error)" wrapper function that caches the error and only returns err!=nil
> iff n!=0 ?
>
> But this maybe just complicate things?
>
> Diego Joss a következőt írta (2024. március 25., hétfő, 10:16:43 UTC+1):
>
>> H
an to call Read a second time to get the EOF.
>
Just for sake of discussion/argumentation, it's still possible for the
callee implementation to cache the error status which is returned in the
next Read call. Thus a single RPC (or lock) call is performed.
--
Diego Joss
--
You received this m
Or it could be embedded using package embed (https://pkg.go.dev/embed).
Just another candidate solution.
-- Diego
On Wed, 12 Jul 2023 at 14:30, 'Sean Liao' via golang-nuts <
golang-nuts@googlegroups.com> wrote:
> considering it is primarily static information, maybe it should be passed
> in and
Does this work for you?
https://go.dev/play/p/xLRawVhcRtF
-- Diego
--
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
cepted". Thus the
meaning of "Accept" for the net.Listener, and your (*aclListener) are not
the same: net.Listener considers as acceptable any connection,
(*aclListener) accepts only connections under certain constraints.
Would this work for you?
-- Diego Joss
--
You received this
As Jan said "apples and oranges", in this case comparing *os.Stdout with C
File *stdout is not fair. The equivalent of *os.Stdout in C is the
filedescriptor 1 (STDOUT macro), and the equivalent of *os.Stdout.Write is
write(2) (the syscall), not fwrite or fputs. If you retry your
microbenchmark
Have a look at https://golang.org/doc/asm
and examples are always a good source of inspiration. For example
https://golang.org/src/math/dim.go at line 35 defines the prototype for
function Max, which is implemented in assembly in
https://golang.org/src/math/dim_amd64.s
-- Diego
On Fri, 16 Oct
Hi everyone,
regarding the fallback solution (as is done for the database), I will
be glad to implement it, however I won't have time before this
weekend.
Benoît Knecht:
Sebastian Ramacher wrote:
Benoît Knecht wrote:
It would also be great if you could do localization on the message
Hi,
there is a minor error on the website in the News section for the
announcement:
a href=http://st.suckles.org;st 0.2/a
I think it should be ;-)
a href=http://st.suckless.org;st 0.2/a
Have a nice day,
--
Diego Joss
Hi,
if I'm not mistaken, you can use the 'all' keyword to match all
messages. I haven't tested with sup, but sup is using xapian, and with
notmuch (http://notmuchmail.org/), which also uses xapian, it works.
thus try:
all -label:inbox
Diego
On Thu, Sep 29, 2011 at 02:06:29PM -0700, David J.
Hi,
Noone mentioned Slackware.
You can configure your system as minimal as you want it to.
Some supplied packages may have an old version (depending on your use),
but the slackbuilds.org supply pretty much anything you want. And you
can always compile what you need.
Hi
I don't know anything about the gui stuff, but it seems you simply
haven't configured wpasupplicant. To configure it---if you installed it
from the ubuntu repositories, which should be (almost) the same as the
Debian packages---look at the
/usr/share/doc/wpasupplicant/README.Debian. The
12 matches
Mail list logo