Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(144)

Issue 4557047: code review 4557047: bike/shed: new package. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by dsymonds
Modified:
12 years, 10 months ago
Reviewers:
peterGo
CC:
r, aam, adg, rsc, niemeyer, ality, lstoakes, iant2, jnml, bsiegert, rh, rog, jan_mercl, kevlar, golang-dev
Visibility:
Public.

Description

bike/shed: new package. It comes up often enough that it's time to provide the utility of a standard package.

Patch Set 1 #

Patch Set 2 : diff -r 8a4444cbb46f https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 8a4444cbb46f https://go.googlecode.com/hg/ #

Total comments: 3

Patch Set 4 : diff -r 8a4444cbb46f https://go.googlecode.com/hg/ #

Total comments: 8

Patch Set 5 : diff -r 8a4444cbb46f https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 6 : diff -r 8a4444cbb46f https://go.googlecode.com/hg/ #

Total comments: 7

Patch Set 7 : diff -r c114a40ffbff https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r c114a40ffbff https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r c114a40ffbff https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 10 : diff -r 3180ac267d3d https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -0 lines) Patch
M src/pkg/Makefile View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/bike/shed/Makefile View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
A src/pkg/bike/shed/colors.go View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download
A src/pkg/bike/shed/colors_test.go View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 39
dsymonds
Hello r@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 11 months ago (2011-05-25 01:47:09 UTC) #1
aam
Chartreuse?
12 years, 11 months ago (2011-05-25 01:50:41 UTC) #2
r
http://codereview.appspot.com/4557047/diff/5001/src/pkg/bike/shed/Makefile File src/pkg/bike/shed/Makefile (right): http://codereview.appspot.com/4557047/diff/5001/src/pkg/bike/shed/Makefile#newcode9 src/pkg/bike/shed/Makefile:9: colours.go\ use amerikan spelling please. http://codereview.appspot.com/4557047/diff/5001/src/pkg/bike/shed/colours.go File src/pkg/bike/shed/colours.go (right): ...
12 years, 11 months ago (2011-05-25 01:51:24 UTC) #3
r
On Wed, May 25, 2011 at 11:50 AM, andrey mirtchovski <mirtchovski@gmail.com> wrote: > Chartreuse? Don't ...
12 years, 11 months ago (2011-05-25 01:54:13 UTC) #4
dsymonds
I've made the changes, but honestly I don't think there's enough focus on the bigger ...
12 years, 11 months ago (2011-05-25 01:55:11 UTC) #5
adg
On 25 May 2011 11:55, David Symonds <dsymonds@golang.org> wrote: > I've made the changes, but ...
12 years, 11 months ago (2011-05-25 01:56:06 UTC) #6
dsymonds
On Wed, May 25, 2011 at 11:55 AM, Andrew Gerrand <adg@golang.org> wrote: > On 25 ...
12 years, 11 months ago (2011-05-25 01:57:02 UTC) #7
aam
you need tests. preferably ones that cover color blindness. for cyan, since it isn't covered ...
12 years, 11 months ago (2011-05-25 02:02:17 UTC) #8
rsc
http://codereview.appspot.com/4557047/diff/10001/src/pkg/bike/shed/colors.go File src/pkg/bike/shed/colors.go (right): http://codereview.appspot.com/4557047/diff/10001/src/pkg/bike/shed/colors.go#newcode15 src/pkg/bike/shed/colors.go:15: Red Color = iota These should really be RGBA ...
12 years, 11 months ago (2011-05-25 02:15:32 UTC) #9
niemeyer
According to the contribution guidelines, a CL isn't the right place to debate about the ...
12 years, 11 months ago (2011-05-25 03:29:25 UTC) #10
adg
http://codereview.appspot.com/4557047/diff/10001/src/pkg/bike/shed/colors.go File src/pkg/bike/shed/colors.go (right): http://codereview.appspot.com/4557047/diff/10001/src/pkg/bike/shed/colors.go#newcode1 src/pkg/bike/shed/colors.go:1: // Copyright 2009 The Go Authors. All rights reserved. ...
12 years, 11 months ago (2011-05-25 03:32:56 UTC) #11
r
this cl has little hope of converging. how can we move it forward? -rob
12 years, 11 months ago (2011-05-25 04:13:49 UTC) #12
ality
The package name is too Anglo-centric. I would prefer "sheik/bed". Anthony
12 years, 11 months ago (2011-05-25 04:13:57 UTC) #13
aam
> how can we move it forward? two words: committee.
12 years, 11 months ago (2011-05-25 04:25:23 UTC) #14
dsymonds
I'm just about prepared to make an executive decision on this. Someone else can push ...
12 years, 11 months ago (2011-05-25 04:29:07 UTC) #15
peterGo
Why does the color matter? I just want to know if it's going to be ...
12 years, 11 months ago (2011-05-25 04:34:28 UTC) #16
r
http://codereview.appspot.com/4557047/diff/16002/src/pkg/bike/shed/colors.go File src/pkg/bike/shed/colors.go (right): http://codereview.appspot.com/4557047/diff/16002/src/pkg/bike/shed/colors.go#newcode2 src/pkg/bike/shed/colors.go:2: // Use of this source code is governed by ...
12 years, 11 months ago (2011-05-25 04:44:44 UTC) #17
dsymonds
Oops, fixed.
12 years, 11 months ago (2011-05-25 04:46:46 UTC) #18
r
LGTM
12 years, 11 months ago (2011-05-25 04:48:06 UTC) #19
adg
NOT LGTM I have further comments. On 25 May 2011 14:48, Rob 'Commander' Pike <r@golang.org> ...
12 years, 11 months ago (2011-05-25 04:49:36 UTC) #20
adg
http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go File src/pkg/bike/shed/colors.go (right): http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go#newcode13 src/pkg/bike/shed/colors.go:13: type Color uint8 There should be a Complement method ...
12 years, 11 months ago (2011-05-25 04:51:52 UTC) #21
dsymonds
http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go File src/pkg/bike/shed/colors.go (right): http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go#newcode13 src/pkg/bike/shed/colors.go:13: type Color uint8 On 2011/05/25 04:51:52, adg wrote: > ...
12 years, 11 months ago (2011-05-25 04:53:04 UTC) #22
r
http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go File src/pkg/bike/shed/colors.go (right): http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go#newcode13 src/pkg/bike/shed/colors.go:13: type Color uint8 that's really stupid.
12 years, 11 months ago (2011-05-25 04:53:28 UTC) #23
lstoakes
On 25 May 2011 02:51, <r@golang.org> wrote: > http://codereview.appspot.com/4557047/diff/5001/src/pkg/bike/shed/Makefile#newcode9 > src/pkg/bike/shed/Makefile:9: colours.go\ > use amerikan ...
12 years, 11 months ago (2011-05-25 08:17:16 UTC) #24
iant2
Lorenzo Stoakes <lstoakes@gmail.com> writes: > Being British I clearly disagree, can we please duplicate for ...
12 years, 11 months ago (2011-05-25 13:49:34 UTC) #25
jnml
http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go File src/pkg/bike/shed/colors.go (right): http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go#newcode13 src/pkg/bike/shed/colors.go:13: type Color uint8 What is the value of Color ...
12 years, 11 months ago (2011-05-25 14:38:35 UTC) #26
bsiegert
http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go File src/pkg/bike/shed/colors.go (right): http://codereview.appspot.com/4557047/diff/9002/src/pkg/bike/shed/colors.go#newcode13 src/pkg/bike/shed/colors.go:13: type Color uint8 If Color was an image.Color, we ...
12 years, 11 months ago (2011-05-26 11:33:20 UTC) #27
rh
*** Submitted as http://code.google.com/p/go/source/detail?r=b1k35h3dc01r *** bike/shed: new package. It comes up often enough that it's ...
12 years, 10 months ago (2011-06-05 09:10:47 UTC) #28
rog
sorry, i'm a bit late on this, but can't we have stripes? On 5 June ...
12 years, 10 months ago (2011-06-05 11:55:31 UTC) #29
dsymonds1
I think we're close to consensus. I've added a TODO for the features people wanted. ...
12 years, 10 months ago (2011-06-09 07:25:37 UTC) #30
r
you need tests.
12 years, 10 months ago (2011-06-09 07:32:26 UTC) #31
jan_mercl
On 2011/06/09 07:25:37, dsymonds1 wrote: > I think we're close to consensus. > > I've ...
12 years, 10 months ago (2011-06-09 07:34:37 UTC) #32
dsymonds
On Thu, Jun 9, 2011 at 5:32 PM, <r@golang.org> wrote: > you need tests. Done.
12 years, 10 months ago (2011-06-09 07:36:14 UTC) #33
dsymonds
On Thu, Jun 9, 2011 at 5:34 PM, <befelemepeseveze@gmail.com> wrote: > Ponies :-) Ponies are ...
12 years, 10 months ago (2011-06-09 07:36:36 UTC) #34
bsiegert
On Thu, Jun 9, 2011 at 09:36, David Symonds <dsymonds@golang.org> wrote: > On Thu, Jun ...
12 years, 10 months ago (2011-06-09 10:00:19 UTC) #35
kevlar
http://codereview.appspot.com/4557047/diff/31001/src/pkg/bike/shed/colors_test.go File src/pkg/bike/shed/colors_test.go (right): http://codereview.appspot.com/4557047/diff/31001/src/pkg/bike/shed/colors_test.go#newcode14 src/pkg/bike/shed/colors_test.go:14: } Test for blue-yellow colorblindness. Suggest making a "colorblindTests" ...
12 years, 10 months ago (2011-06-09 18:16:56 UTC) #36
dsymonds
What the heck. It's a long weekend.
12 years, 10 months ago (2011-06-10 12:32:27 UTC) #37
dsymonds
*** Submitted as http://code.google.com/p/go/source/detail?r=8818ac606e92 *** bike/shed: new package. It comes up often enough that it's ...
12 years, 10 months ago (2011-06-10 12:32:55 UTC) #38
peterGo
12 years, 10 months ago (2011-06-10 15:27:10 UTC) #39
I only have black and white paint and it doesn't handle grayscale!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b