sofa :-)
--
Michael T. Jones
michael.jo...@gmail.com
--
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
> snippets you provided don't really make sense on their own to me.
>
> --
> 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
tarted programming Go and
found that going with the least amount of code was the right way. I recommend
you try using the default HTTP routing from the std lib.
--
Michael Banzon
https://michaelbanzon.com/
> Den 23. nov. 2017 kl. 05.37 skrev Teo :
>
> -- Blog
> --
ups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receivin
Remember to flush your buffers!
--
Michael Banzon
https://michaelbanzon.com/
> Den 11. nov. 2017 kl. 09.32 skrev andrey mirtchovski :
>
> Seems time is on our side.
yes it is.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" gr
--
> 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://groups.google.
> 1.9.2: LFSR+modulus => select is "fair enough" (same as 1.8)
> tip: xorshift32+multiplication => select is fair
>
> Giovanni
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe
I notice that the signing key doesn't appear to be in the strong set, are
you planning to get it more signatures?
Cheers,
mwh
> On Oct 25, 2017 7:58 PM, "Michael Hudson-Doyle" <
> michael.hud...@canonical.com> wrote:
>
>> I've updated my snaps with both thes
t; For more options, visit https://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
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
>>>>>>>
>>>>>>>>>> result:
>>>>>>>>>>
>>>>>>>>>> 1
>>>>>>>>>> 0.052991869258
>>>>>>>>>> 0.9015652691532394
>>>>>>&g
I've updated my snaps with both these releases, so users with the snap
already installed should get them soon, or snap install --classic --channel
1.9/stable go on an ubuntu or ubuntu-like system if you want to try them
out :)
Cheers,
mwh
On 26 October 2017 at 12:51, Chris Broadfoot wrote:
> Hi
; 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://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this message because yo
0% 99.15% 0.56s 4.30% internal/poll.(*FD).Pread
>>> /usr/lib/go/src/internal/poll/fd_unix.go
>>> 0 0% 99.15% 0.11s 0.85% io.(*SectionReader).Read
>>> /usr/lib/go/src/io/io.go
>>> 0 0% 99.15% 0.11s 0.85% io.Read
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://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this message because you are
recursive call that clobbers some
> elements.
>
> Ian
>
> --
> 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-n
3" sequence with something else first, then do your actual
>> replacement and restore the original after.
>>
>>
>> Ian
>>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubsc
ns"
On Tue, Oct 10, 2017 at 4:44 PM, Michael Jones
wrote:
> First...
>
> go func() {
> f()
> go g()
> }()
>
> is tremendously different than:
>
> go func() {
> go g()
> f()
> }()
>
> a
>
> -- Juliusz
>
> --
> 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 mo
ve threads and cause them to run any
> cleanups before destroying them. Not having looked at the
> runtime I am not sure how painful this is but this has the
> benefit of not adding any cost when there is no goroutine
> level cleanup.
>
> As for syntax I am tempted to suggest &quo
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://groups.google.com/d/optout.
>
10:15 AM, Unni Krishnan wrote:
> That's an interesting solution, but what I'm trying to figure out is why
> the memory usage is this high and understand how go handles this.
>
> On Tue, Oct 3, 2017 at 9:16 PM Michael Jones
> wrote:
>
>> Or you could do it this
ctor: true,
})
if err != nil {
log.Fatal(err)
}
I updated https://github.com/golang/go/issues/20613 about the details.
On Thu, Sep 28, 2017 at 7:38 AM, Michael Jones
wrote:
> thanks, i'll make notes there
>
> On Wed, Sep 27, 2017 at 11:01 PM, Nigel Tao wrote:
>
>> On
-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://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this mes
thanks, i'll make notes there
On Wed, Sep 27, 2017 at 11:01 PM, Nigel Tao wrote:
> On Thu, Sep 28, 2017 at 10:28 AM, Michael Jones
> wrote:
> > Not quite related, but if changes are going to happen, I want to add (or
> see
> > someone add) colorspace tags to the
gle 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://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
/blog/2017/06/08/president-trumps-plan-rebuild-americas-infrastructure
:
https://www.whitehouse.gov/privacy
https://www.whitehouse.gov/copyright
On Tue, Sep 26, 2017 at 7:29 AM, Michael Jones
wrote:
> To be sure, examples are a starting place.
>
> To crawl to a certain depth, you need to
Can it be parsed to a map[string]json.RawMessage (or a more specific type, if
the value is a known type)?
--
Michael Banzon
https://michaelbanzon.com/
Fra: Rich
Sendt: 26. september 2017 20:23
Til: golang-nuts
Emne: [go-nuts] Unmarshal Json
I have a json I have to parse, and in that json one
of
> the website. The requirements are a bit different. I can't just use the
> approach in the example directly or more precisely I don't know how to use
> it in my code.
>
> On Tuesday, September 26, 2017 at 6:18:43 AM UTC+8, Michael Jones wrote:
>>
>> The book
net/go-nuts: unsupported protocol
scheme "irc"
https://golang.org/doc/faq
https://groups.google.com/group/golang-announce
https://blog.golang.org
https://twitter.com/golang
:
On Mon, Sep 25, 2017 at 7:46 AM, Michael Jones
wrote:
> i suggest that you first make it work in the sim
continue
>> }
>> result, ok := getHrefTag(current)
>> if !ok {
>> continue
>> }
>>
>> hasProto := strings.HasPrefix(result, "http")
>>
esult
> }
> }
> }}
>
> func getHrefTag(token html.Token) (result string, ok bool) {
> for _, a := range token.Attr {
> if a.Key == "href" {
> result = a.Val
> ok = true
> break
>
..@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving
g-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://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You rece
e:
>
> Almost, https://play.golang.org/p/6Zl_EKqFqT
> But thanks a lot! It's significantly shorter/better than my initial
> version.
>
> On Tue, Sep 5, 2017 at 6:18 PM, Michael Jones
> wrote:
>
>> Like this?
>>
>> https://play.golang.org/p/OIE8jdWVGB
>>
e error(s)
>>> }
>>>
>>> // insert
>>> stmt, err := db.Prepare("INSERT INTO userinfo(username, departname,
>>> created) values(?,?,?)")
>>> res, err := stmt.Exec("astaxie", "研发部门", "2012-12-09")
>
e it,
>>>>> I noticed a side effect that makes it works for "myConstantVariable" but
>>>>> not for "GNU PYTHON Standard":
>>>>> https://github.com/danverbraganza/varcaser/issues/1
>>>>>
>>>>> Thanks
&g
Great! Very kind of you
On Fri, Sep 1, 2017 at 11:01 AM, peterGo wrote:
> Michael and Sebastien,
>
> Since my bytconv package is currently private, I'm fixing it up for
> publication. I hope to make bytconv available in go get'able form within a
> week. I'll let
By the way, if we're willing to do it all...we can take it down a little
more:
https://play.golang.org/p/DNxQT01vy9
read 100 26.174853ms
sort 100 180.17782ms
On Thu, Aug 31, 2017 at 11:28 AM, Michael Jones
wrote:
> Nice! Is "bytconv" shared somewhere?
>
> On Th
Nice! Is "bytconv" shared somewhere?
On Thu, Aug 31, 2017 at 10:53 AM, peterGo wrote:
> Michael,
>
> n your code, you have :
>
> const n = 1000 * 1000
>
> for i := 0; i < n && scan.Scan(); i++ {
> d, _ := strconv.Atoi(scan.Text())
> array
olang.org/p/tMyipz6sYU
> 954.543351ms
> 166.710399ms
>
> So this is about 6 times slower. My guess is this is due to the use of
> reflection in fmt.Fscanf. But that is just a guess; I don't really have any
> evidence to back it up.
>
> On Wed, Aug 30, 2017 at 1:33 P
t;
> --
> 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:
oops! that's actually a**1024 ...was rushing and typed the Printf legend
too quickly.
On Mon, Aug 28, 2017 at 5:14 PM, Michael Jones
wrote:
> I use it frequently / constantly / 24/7 :-)
>
> it's purpose is to enable integer, rational, and real arithmetic at chosen
> preci
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://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.
Hey,
I just published https://github.com/stapelberg/expanderr and thought
some of you might find that tool useful. Let me know if you have any
feedback,
Best regards,
Michael
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubs
te.
>
> --
> 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:/
oogle 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://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gma
I would REALLY like to see big types as normal declarations and syntax. The
SSA framework seems suitable to automatically manage the temporaries.
On Sat, Aug 19, 2017 at 7:14 AM, roger peppe wrote:
> Constructive reals in Go, anyone? :-)
>
> On 18 Aug 2017 17:50, "Michael
John Souvestre - New Orleans LA
>
>
>
> *From:* golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com]
> *On Behalf Of *Michael Jones
> *Sent:* 2017 August 18, Fri 11:50
> *To:* golang-nuts
> *Subject:* [go-nuts] multiply and divide
>
>
>
> Here is a minor musing f
irst, then divide."
--
Michael T. Jones
michael.jo...@gmail.com
--
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...@googlegro
e 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://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
m this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this message because you are subscribed to the Google Groups
d 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://groups.google.com/d/optout.
>
--
Mic
is having the
(up-to-date) toolchain in a container.
--
Michael Banzon
https://michaelbanzon.com/
> Den 10. aug. 2017 kl. 09.14 skrev Konstantin Khomoutov :
>
> On Wed, Aug 09, 2017 at 03:11:48PM +0200, Michael Banzon wrote:
>
>> Is there a way to have a (bash) script check
Hi,
Is there a way to have a (bash) script check if the version of the Go compiler
installed is a specific minimum version?
--
Michael Banzon
https://michaelbanzon.com/
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubs
mail to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group a
golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this g
scribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this message because you are subscribed to the Goo
Great. Hope it helps. I had a typo in power 0 (which is never called.
Change the return to 1.0.
On Sat, Aug 5, 2017 at 6:50 PM wrote:
> Thanks, Michael.
>
> I've created a tiny project with those files here:
> https://github.com/cpmech/go-fast-math-experiments
>
> The out
o
solution with a jump table and autogenerated functions might work for you.
Michael
P.S. Early on, I urged the Go designers to provide an exponentiation
operator just for this situation...where the compiler could translate a
static x**18 into optimal code. IBM did it in 1959 so it seemed that mayb
t; 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://groups.google.com/d/
t;right" I mean the simplest tool which gets you the right result.
>
> Fortunately, that doesn't happen all the time, but sometimes Go doesn't
> give gou that simplest tool, and in that case I severely regret I wasn't
> trusted enough so that they let me choose tha
clare and use types,
>>>>>> references, functions, methods, slices, arrays, foreach, and all the
>>>>>> common
>>>>>> stuff between both languages.
>>>>>>
>>>>>> Honestly, no offense intended.
>>>>
ng the core Go
>> developers about the gofmt choices for brace placements. The reasons
>> are 1) it doesn't matter, gofmt just has to make a choice; 2) the
>> choice works well with lexical semicolon insertion.
>>
>> Ian
>>
> --
> You received this mes
-nuts" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>> pic/golang-nuts/rzLzp_Z74ik/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> golang-nuts+unsubscr...@googlegroups.com.
>>> For
; thanks!
>
> --
> 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:
d when I should use/learn them?
>>
>> Thanks
>> Alex
>>
> --
> 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 golan
gt; You are welcome to try it.
>> >> >
>> >> > Regards,
>> >> > Rémy.
>> >>
>> >> The most annoying issue you might encounter is that if your 2GB
>> >> strings are numbers printed in base 10, the math/big will not be
, July 21, 2017 at 12:03:03 PM UTC-4, Michael Jones wrote:
>>
>> Maybe not news, and certainly not big news, but I just filed a patent
>> that uses Go source code to illustrate logical methods claimed in the
>> invention. So if it was not already the case, Go has now been u
Maybe not news, and certainly not big news, but I just filed a patent that
uses Go source code to illustrate logical methods claimed in the invention.
So if it was not already the case, Go has now been used in patent filings.
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this
I see your point.
I might checkout going bare database/sql on one of my smaller projects to get a
feel for it - now that I’ve been thinking about it it strikes me that I’ve
actually never tried database stuff on Go without gorp/gorm etc.
--
Michael Banzon
https://michaelbanzon.com/
>
Just out of curiosity - why switch away from gorm??
We've just switched from gorp to gorm - with great success. The main reason I
could find for going (pun intended) is to have one less dependency.
--
Michael Banzon
https://michaelbanzon.com/
Den 20. jul. 2017 kl. 06.04 skrev Nate
@mbanzon e.g.) - that could be a nice "passive" way to make community
leaderboard (or maybe just a score lookup).
--
Michael Banzon
https://michaelbanzon.com/
Den 18. jul. 2017 kl. 09.02 skrev ondrej.li...@gmail.com:
That's quite a lot of work!
I personally hate gamificat
0.726s
>>>>> $
>>>>>
>>>>> Peter
>>>>>
>>>>> On Sunday, July 16, 2017 at 10:20:21 AM UTC-4, Zohaib Sibte Hassan
>>>>> wrote:
>>>>>>
>>>>>> I have been spending my day over im
'm looking for user feedback as well as contributors excited about its
vision & future.
Thanks!
-Michael
--
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,
Am I the only one who finds the log standard library a tad lacking?
I expected to be able to set log verbosity, like logger.Debug, logger.Info,
etc, and I expected thread safety. I noticed today that my log output from
multiple loggers in different goroutines was interlaced.
I wonder if I'm usi
I am trying to test a proxy that is expecting an SSL handshake immediately,
even if the client is going to use an SSL CONNECT method. The problem is
that my Golang and Python test code both seem to have the same flaw. They
connect to the proxy in the clear, and then issue a CONNECT, but the prox
some way to get it to not remove my extra lines?
>>
>> Thanks,
>>
>> Glenn
>>
> --
> 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, se
Peter,
with your responses I was able to figure out the cause of the error. I
created a function that calls defer.
I did it as a function as I put some trace code in along with the Close().
>From that I concluded you were correct.
I went ahead and reworked the rest of the code, which was my inte
Peter,
Thank you for helping me out. I'm going to be busy the next couple of days.
When I have some free time I will go over your replies. Seems that my
analysis was inadequate. I do appreciate the points you made. Gives me an
opportunity to try some different code tweaks. When I am able I will
Peter,
Thank you for your input regarding my question.
In an effort to clear up any confusion or ambiguity regarding the problem I
am running into,
I will post the code for what is working and the code that is not working.
The following block of code works, a valid file is passed to the
execut
Hello to all,
My first time posting questions here, so please bear with me, I'm willing
to learn.
I have a simple piece of code, which opens a file, reads the contents and
counts the number of lines in the file.
What I am attempting to do is to refactor the code. The error occurs when I
read t
On 16 June 2017 at 17:46, wrote:
> Hello,
>
> Is there a way to set the LD_LIBRARY_PATH while executing go test command?
>
> My version is "go version go1.5.1 linux/amd64"
>
No. Why do you want to?
You can set the rpath of the generated executable with something like "go
test -ldflags='-r $foo'
16314/linux-tcp-stack-packet-injection
On Sat, Jun 17, 2017 at 9:33 AM, wrote:
> Hi Michael
>
> I do suspect my bad English made my request unclear, my apologies for
> that. Let me clarify.
>
> basically I don"t care of the payload of the frame. What I am trying to do
> is to
FYI: https://godoc.org/github.com/google/gopacket
On Sat, Jun 17, 2017 at 9:00 AM, Michael Jones
wrote:
> Sorry to say that I don't have a direct answer for you.
>
> However, I happen to be doing some packet analysis at the moment--focused
> first in the analysis part--and have
https://github.com/google/gopacket
though there may be more to choose from as a starting point. Maybe this
will meet your needs. Maybe someone else can advise both is us!
Michael
On Sat, Jun 17, 2017 at 8:32 AM, wrote:
> Hi All
>
> anyone knows how to write an ethernet frame into a device
> 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://groups.google.com/d/optout.
>
--
Michael Banzon
https://michaelbanzon.com/
--
You received this message because you are subs
Do you use -skip_tests though? Because I'd be surprised if you don't and
don't hit that issue. But maybe I'm missing something.
On 15 June 2017 at 13:35, Brad Fitzpatrick wrote:
> We use golang.org/x/build/cmd/release
>
>
> On Wed, Jun 14, 2017 at 6:32 PM, Mich
I'm curious how you built your binaries with
https://github.com/golang/go/issues/20284 still open. Do you not run the
tests on the built binaries before packing them up?
On 15 June 2017 at 10:15, Chris Broadfoot wrote:
> Hello gophers,
>
> We have just released go1.9beta1, a beta version of Go 1
Groups "golang-nuts" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to golang-nuts...@googlegroups.com.
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
e 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://groups.google.com/d/optout.
>
--
Michael Banzon
https:
ot;
https://arxiv.org/pdf/1612.07841.pdf
--
Michael T. Jones
michael.jo...@gmail.com
--
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
o unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Michael T. Jones
michael.jo...@gmail.com
--
You received this message because you are subscribed t
Do you have any references on the stability of the current plugin system
that I can use for reference? I'm building a system now that I contemplate
using with some plugins and I'd like to know up front the challenges.
On Friday, June 2, 2017 at 7:39:40 PM UTC-5, Ian Lance Taylor wrote:
>
> On Fr
Your solution is certainly nice. It has the same limitation that mine does.
I'll take a look, I like how you don't have to modify the funcmap in yours.
--
Michael
On Friday, June 2, 2017 at 4:41:14 AM UTC-5, rog wrote:
>
> On 2 June 2017 at 10:35, roger peppe >
> wrote:
I see previous threads with a solution to eliminating trailing commas for
text/template output when ranging over an array. (ie. the {{if
$index}},{{end}} trick)
I have the exact same problem when ranging over a map and it doesn't appear
that the array fix will work.
any thoughts?
--
Mi
-templates/
(which I haven't yet examined).
--
Michael
On Tuesday, May 30, 2017 at 3:09:35 AM UTC-5, mhh...@gmail.com wrote:
>
> hi,
>
> wonder, if anyone,
> - tried to make an implementation of template that works in // ?
> - was it successful ?
> - useful for perf ?
>
&g
Great! If I had checked this thread when you posted this I (probably) could
have saved myself 3 hours of work.
I got it working with a two-pass scheme using text/template and some
channels.
Here is what I came up with:
package main
import (
"text/template"
"bytes"
"context"
Steven, your example is really helpful! I didn't know Windows had a lower
time interval for internal timers, so that's good to know, thanks for
getting me unstuck! Thought I was losing my mind.
Is there a reason to pass the PID around instead of using the pseudo
handle? I'm new to the core Wind
I am trying to query the process statistics against the runtime in Windows
so I can monitor it's utilisation.
First, I get the process handle for the runtime:
// GetCurrentProcess will return our process handle with the appropriate
information.
func GetCurrentProcess() (syscall.Handle, error) {
And after I re-read your answer, I realize that I probably just restated
very badly what you wrote, Egon. Thanks! I'll have some time this evening
to hack on it.
On Wednesday, May 31, 2017 at 2:51:51 PM UTC-5, Michael Brown wrote:
>
> Ah! I think I have the kernel of a usable idea h
601 - 700 of 918 matches
Mail list logo