Today
shurcooL pushed to master in dmitri.shuralyov.com/service/change29m
761d04bf40c2c9ef3f63f776a7e525c6290464a3githubapi: Add timeline pagination to ListTimeline.
shurcooL deleted branch in dmitri.shuralyov.com/gpu/mtl4h
render
shurcooL commented on js: Consider adding Wasm support. in github.com/gopherjs/gopherjs4h
I have nothing against that. The two packages perform different non-overlapping tasks: - gopherwasm helps future Go programs that target WebAssembly and its `syscall/js` API to *also* compile with G…
Yesterday
shurcooL pushed to master in dmitri.shuralyov.com/gpu/mtl1d
9453c974ce537a33764337d12411404dbb07f718Add support for rendering very basic geometry.
This Week
shurcooL starred github.com/pions/webrtc1d
shurcooL commented on x/build/version: promote to /v in github.com/golang/go1d
Some reasons why we might want to include a /v/ (or another name) path element: 1. The alternative precludes placing all the individual `go...` commands in a single git repository. Each command wo…
shurcooL commented on x/build/version: promote to /v in github.com/golang/go2d
Worth thinking through: what will https://golang.org/go1.11beta1 serve? A 404? A redirect to the godoc.org page? I expect the latter, since https://golang.org/x/build/version/go1.10beta1 redirects…
shurcooL commented on Packages which normalize casing in … in github.com/golang/gddo2d
I have an idea for how to deal with the catch-22. If my memory of how gddo works is right, I recall there's github.com-specific logic that first checks if the `user/repo` casing is canonical, and …
shurcooL commented on x/tools/cmd/tip: migrate beta.golan… in github.com/golang/go2d
I have some comments/questions to understand this better. I'm not against this, you're in a better position to know if the work maintaining beta isn't justified. If I understand this issue, once r…
shurcooL commented on Check for fields in externalize, in… in github.com/gopherjs/gopherjs2d
Sorry about the delay. The code in `jsmapping.go` looks good. There have been changes to how prelude is stored by now, so we'll need to rebase and regenerate it (as was mentioned in comments ab…
shurcooL commented on Ability to print query string befor… in github.com/shurcooL/githubv42d
> you can **copy** the constructQuery() code from graphql library The keyword is *copy*. It's unexported because it's low-level internal functionality and not a part of the public `graphql` API. You…
shurcooL commented on net/http.Cookie is being rendered i… in github.com/golang/gddo3d
What browser are you using? I see something different in Chrome 67.0.3396.87 on macOS: ![image](https://user-images.githubusercontent.com/1924134/41617043-8119b89a-73cd-11e8-89e9-22d81bce9efc.png)…
Last Week
shurcooL created branch in dmitri.shuralyov.com/gpu/mtl6d
render
Earlier
shurcooL commented on syscall/js: comparing two number ob… in github.com/golang/go1w
I’m not completely sure if two distinct `js.Value` values should report positively for equality, even if their underlying values are equal. A similar situation I can think of is `reflect.Value`,…
shurcooL created branch in dmitri.shuralyov.com/gpu/mtl1w
master
shurcooL created repository dmitri.shuralyov.com/gpu/mtl1w
Package mtl provides access to Apple's Metal API (https://developer.apple.com/documentation/metal).
shurcooL commented on all: Go 1.10.3 release status in github.com/golang/go2w
@publicarray This issue is about version 1.10.3, but the URL you posted has 1.10.4 in it.
shurcooL starred github.com/james4k/go-bgfx2w
shurcooL commented on build error under OSX 10.12.6 in github.com/vulkan-go/vulkan2w
Have you tried following the instructions at https://github.com/vulkan-go/demos#how-to-run-on-desktops? It has some special instructions for building on macOS.
shurcooL commented on self-hosting git clone support in github.com/shazow/ssh-chat2w
In case it's helpful as a reference, [here](https://godoc.org/github.com/shurcooL/play/231)'s a proof of concept SSH git server.
shurcooL starred github.com/esimov/pigo2w
shurcooL commented on presentation mode query parameters … in github.com/golang/gddo2w
That query parameter applies to `godoc`, the command you can run locally. godoc.org doesn’t have it.
shurcooL commented on unsafe.Pointer workaround in github.com/gopherjs/gopherjs2w
That happens because GopherJS represents `int64` internally using two JavaScript numbers: the low and high components of the `int64`. An `int` is represented by a single JavaScript number that direct…
shurcooL commented on unsafe.Pointer workaround in github.com/gopherjs/gopherjs2w
> states that unsafe package isn’t available To clarify, that document states the `unsafe` package isn't _fully supported_. Parts of it may work, but there are no guarantees. Also, `js.InternalO…
shurcooL pushed to master in github.com/shurcooL-legacy/octicons2w
10c8018fdc76d80a11b1cf745398ce1046ce6369Update for octicon package rename.
shurcooL pushed to master in github.com/shurcooL/home2w
44cbddab16bf4432a205185b822589e1d548d1b8Update for octicon package rename.
shurcooL pushed to master in github.com/shurcooL/gtdo2w
22ff496d3dddd4f4b66788de296a336952d9fe70Update for octicon package rename.
shurcooL pushed to master in github.com/shurcooL/Go-Package-Store2w
3bc880f1ee7613179080a3820fcec7b323d20d4fcomponent: Update for octicon package rename.
shurcooL pushed to master in dmitri.shuralyov.com/website/gido2w
3f350e049a6b4bd4a7bd79bd82912e08a317db93Update for octicon package rename.
shurcooL pushed to master in github.com/shurcooL/github_flavored_markdown2w
8913699a52e3aa02aa96387098e0004bb84aacf0Update for octicon package rename.
shurcooL pushed to master in github.com/shurcooL/reactions2w
253d879cae26fb88a6d08b73f556ae0b46039576component: Update for octicon package rename.
shurcooL pushed to master in github.com/shurcooL/notificationsapp2w
1e3e09827ba4327f324e3ea826f00db21ad93ecdcomponent: Update for octicon package rename.
shurcooL pushed to master in github.com/shurcooL/issuesapp2w
048589ce2241c1c07ffb4c5434a21169a100380eUpdate for octicon package rename.
shurcooL pushed to master in dmitri.shuralyov.com/app/changes2w
0a106ad413e3d333da336ce3a90970dc87151bebUpdate for octicon package rename.
shurcooL pushed to master in dmitri.shuralyov.com/html/belt2w
f7d459c86be0d89cab0b8a0694d6f9a5586cd184Update for octicon package rename.
shurcooL pushed to master in github.com/shurcooL/octicon2w
c42b0e3b24d96976ecac81ef691662777b39ef64Rename package to octicon (from octiconssvg).
shurcooL pushed to master in github.com/shurcooL-legacy/Conception-go2w
shurcooL pushed to master in github.com/shurcooL-legacy/Conception-go2w
ee8f221d33ac016bc62167c3a5f0136df1d8a6f6Update for octicons package move to shurcooL-legacy.
shurcooL pushed to master in github.com/shurcooL-legacy/octicons2w
eab18ae45ea1600e2f60675cb5eb102a6ad54f16Move to shurcooL-legacy namespace.
shurcooL pushed to master in github.com/shurcooL-legacy/octicons2w
3ef96534880ac30d2ea2b10b56f1886735300ac7Move to shurcooL-legacy namespace.
shurcooL commented on net/http: consider implementing htt… in github.com/golang/go2w
> I'm more concerned with more code working by default without changes, so I think this is okay to violate for now in Go 1.11. We can revisit in Go 1.12 & later. I've recently realized an importan…
shurcooL commented on net/http: consider implementing htt… in github.com/golang/go3w
> wouldn't we still need a custom Transport implementation? If we defined a js,wasm specific client presumably it'd still need to have all the same fields as the normal client. I think we'll need …
shurcooL commented on Why panic instead of returning erro… in github.com/neelance/go3w
If that were the case, the user would have to check the returned error value after each call to `Call`. Would that be better?
shurcooL commented on Dep ensure fails on this package in dmitri.shuralyov.com/text/kebabcase3w
I tried installing the latest version of `dep`, then did `dep init` followed by `dep ensure` in a project that uses kebabcase. Both commands ran successfully and produced expected output. I didn’t …
shurcooL commented on Dep ensure fails on this package in dmitri.shuralyov.com/text/kebabcase3w
Thanks for reporting. I am not aware of anything being wrong with the repo, but it seems we’ll need to investigate. Were you using the latest version of `dep`? How can I reproduce this?
shurcooL pushed to master in github.com/shurcooL/frontend3w
7e359e4b7b17caddccf1f72ef501de6229a1b17btable-of-contents: Display only vertical scrollbar in TOC as needed.
shurcooL commented on Improvement of design in github.com/shurcooL/gtdo3w
> Although, I noticed everything is okay on my PC. I'm guessing you used Chrome in that screenshot, right? Chrome seems to display things differently (the scrollbar doesn't cover up the content). …
shurcooL commented on Ability to print query string befor… in github.com/shurcooL/githubv43w
I will need some time to think about how this can be implemented in a simple and clean way, if at all, because it's not immediately clear to me. I know people prefer to use different solutions for l…
shurcooL pushed to master in github.com/shurcooL/gtdo3w
ae5e978aec2324acd8e94ee3da0a4d3e0facc847Display only vertical scrollbar in TOC as needed.
shurcooL closed an issue in github.com/shurcooL/gtdo3w
shurcooL commented on Improvement of design in github.com/shurcooL/gtdo3w
> OS: Windows 10 > Browser: main browser is Yandex Browser. > > But I checked other browsers. There's the same bug. Thanks. I can reproduce it now too. It turns out it wasn't related so much…
shurcooL pushed to master in github.com/shurcooL/talks3w
55e015b3e3616ecd59567034abe2ee37e0b00278Add "A journey in software development" guest talk at UOIT on 2018-03-08.
shurcooL commented on Improvement of design in github.com/shurcooL/gtdo3w
That looks like a bug, there shouldn't be disabled scrollbars visible. This is what it should look like: ![image](https://user-images.githubusercontent.com/1924134/40638358-ecb0589e-62d8-11e8-8383…
shurcooL pushed to master in github.com/shurcooL/home3w
6be1a11767d45977615c1b3a870caf6ff73c9687Return a smaller userCreator interface from newUsersService.
shurcooL created branch in github.com/shurcooL/home3w
hardcode-shurcooL
shurcooL commented on Using HTML5 history gives a nil ref… in github.com/dominikh/go-js-dom4w
This is because `window.History()` is not implemented, see #41.
shurcooL pushed to master in github.com/shurcooL/eX04w
dc16bdca7eb33223edeec4f070485158ae24999cSimplify playerState.InterpolatedOrDead method.
shurcooL pushed to master in github.com/shurcooL/eX04w
d32cef1714de63614934ed5b50dc9d60501dca5aDisplay moving particles.
1236d90ca4f87ed1e2b95ff074dce7de43431565Calculate camera position together with players.
d2dabadddecae5b6ded5e932175128a24795f31eDisplay (still) particles.
e01f0a5449ceeeedda161a891440616cbeb5bf42Use equals to join argument key and value.
0de2f45b1d28871f6aeb0ea5de1082043c81f8f2Remove logic parameter.
1e273208a0ee2f82b43a6d6d54067292e759eda9Make interpolated more pure.
9086d93d85ffb0557524dfc36b548c33ce7715c1Begin work on weapon fire particles.
b88d3c3459bfda780cc638565baaf8b01a3956ecDon't send Player Hit packet when spectator joins.
shurcooL commented on document standard way to recognize … in github.com/golang/go4w
> in #13560 (comment) bradfitz said the wiki would be edited but I can't seem to find anything on the wiki He said: > The wiki seems like it would just be edited by somebody without discussion.…
shurcooL commented on Robust Header Check in github.com/bradleyfalzon/ghinstallation4w
I still see 3 lines of comments in `transport.go` file that don't have a space after `//`, but that's a minor thing. I don't have any other comments, I think this is just waiting on a review from @br…
shurcooL commented on Suggestion: Allow `[]float32` or ot… in github.com/neelance/go4w
For posterity, it's issue golang/go#25532.
shurcooL commented on runtime: implement timers, JavaScri… in github.com/golang/go4w
As far as I know, all modern browsers support the basic Fetch API by now, but not all of them support streams, which are required for streaming the response body. E.g., see https://caniuse.com/#searc…
shurcooL commented on runtime: implement timers, JavaScri… in github.com/golang/go1mo
I'm happy to offer help with implementing and/or reviewing here as well. I'm the author of the original Fetch API-based `http.RoundTripper` implementation [in GopherJS](https://github.com/gopherjs…
shurcooL pushed to master in github.com/shurcooL/home1mo
db6816cfcfad0e0aac424eada9ea0971dbd20450httputil: Update HeaderWriter documentation.
0f5adf64d3eb34af7cd8eb2de77b540f9be9237eApply gzip compression to dynamic pages.
shurcooL pushed to master in github.com/shurcooL/httpgzip1mo
b1c53ac65af9fd3d354d6f9ad30a0cca35e173edSet Content-Encoding header to nil when not compressing.
shurcooL commented on Support Preview hovercard API (#87… in github.com/google/go-github1mo
It would be good to place `Hovercard` on top of `UserContext`. The general pattern is higher level identifiers should come first. They are easier to understand, and they set context for the lower lev…
shurcooL commented on cannot convert math.MaxInt64 in github.com/gopherjs/gopherjs1mo
> `int(math.MaxInt64)` will never work, anywhere Not sure what you mean, but it would work on a 64-bit environment where `int` is 64 bits.
shurcooL commented on cannot convert math.MaxInt64 in github.com/gopherjs/gopherjs1mo
GopherJS emulates a 32-bit environment. `int` is 32 bits, so the `math.MaxInt64` constant is too large for it. It will fit into a `int64` variable though. See https://github.com/gopherjs/gopherjs#ge…
shurcooL commented on Cannot go get install in github.com/gopherjs/gopherjs1mo
It looks like your `golang.org/x/tools` history has diverged from upstream for some reason. Either you made some local changes to it, or the upstream has force-pushed an incompatible commit (less lik…
shurcooL starred github.com/alyyousuf7/twenty481mo
shurcooL commented on Proposal: Official GopherJS Docker … in github.com/gopherjs/gopherjs1mo
I personally don't need this myself at this time. But if you want to do it (for yourself and for others), I don't see why you shouldn't. It might be a good idea to start this in a place where it's e…
shurcooL commented on js.ValueOf(0).Length() returns -429… in github.com/neelance/go1mo
For precedent, https://godoc.org/reflect#Value.Len says: > Len returns v's length. It panics if v's Kind is not Array, Chan, Map, Slice, or String. Panicking (and documenting the panic) seems most …
shurcooL commented on Avoid unused method receiver names in dmitri.shuralyov.com/idiomatic-go1mo
@ilius, not to my knowledge. It can be implemented at the AST-level, type information isn't needed. It might be a good fit into either [`unused`](https://github.com/dominikh/go-tools/tree/master/cmd…
shurcooL commented on unused exported function not report… in github.com/dominikh/go-tools1mo
To be more precise, it’s a method. Its existence makes the `Abc` type implement the following interface: ```Go type Func1er interface { Func1() } ``` If this were a library rather than command, …
shurcooL starred github.com/felixangell/phi1mo
shurcooL commented on exclude vendor dir from matching `.… in github.com/kisielk/errcheck1mo
That's right. As of https://github.com/kisielk/gotool/issues/16 being resolved, `gotool` will not include `vendor` when expanding `...` on Go 1.9 and later.
shurcooL pushed to master in github.com/shurcooL/events1mo
37636e399bf5ca43c6bd4d7fdb9828a2111a87ecevent: Implement json.Marshaler, json.Unmarshaler for Event.
shurcooL pushed to master in github.com/shurcooL/events1mo
bdc4b9e84dfee39f9bb532201eec3080351fa03fevent: Implement json.Marshaler, json.Unmarshaler for Event.
shurcooL pushed to master in github.com/shurcooL/home1mo
shurcooL commented on Utilizing Same API Client Pattern i… in github.com/google/go-github1mo
As Glenn said, Will is indeed the person who can give you a good answer. I personally hope you do apply the best practices of making a high quality Go package to your API client library. I've contr…
shurcooL pushed to master in dmitri.shuralyov.com/website/gido1mo
58d6128437a163a2dd5351a1b77fbe5b892e6398Apply gzip compression to dynamic pages.
shurcooL pushed to master in dmitri.shuralyov.com/website/gido1mo
a1ea132dfd8617047a44f45e0e6fc9c848f24e98Apply gzip compression to dynamic pages.
08f99819a87ffdf2fdaccc331a2780115e520f48Rename responseWriter{header,bytes} to {header,bytes}ResponseWriter.
shurcooL pushed to master in github.com/shurcooL/home1mo
7a53f4bfbc1071415fadfd055df29686bcdfa307internal/page/{idiomaticgo,resume}: Update testdata.
shurcooL pushed to master in github.com/shurcooL/resume1mo
shurcooL pushed to master in dmitri.shuralyov.com/service/change1mo
edf95a0d92762102d986315f7a564b09d12e5637gerritapi: Handle comments with multiple labels.
shurcooL deleted branch in github.com/shurcooL/graphql1mo
handle-no-data
shurcooL pushed to master in github.com/shurcooL/graphql1mo
62c9ce094e75302d560f7adcdf16c06d05aaa958Unmarshal data field only if present. (#23)
shurcooL commented on Unmarshal data field only if presen… in github.com/shurcooL/graphql1mo
Thanks for checking, @mwilli31.
shurcooL commented on Panic when calling "getReader" on a… in github.com/neelance/go1mo
Yeah, just checked latest Firefox Nightly, and Streams API is simply not supported (with default settings). Compare Firefox Nightly (62.0a1): ![image](https://user-images.githubusercontent.com/192…
shurcooL commented on Panic when calling "getReader" on a… in github.com/neelance/go1mo
Did you check if the same functionality in JavaScript works? Does that version of Firefox support streams API by now? https://caniuse.com/#search=ReadableStream Last time I checked (some time ago), …
shurcooL pushed to master in github.com/shurcooL/octiconssvg1mo
f4482000187f70884083d861259564f0822a2fb0Update to Octicons v7.3.0, regenerate.