News for hackers. Stuff that matters.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by MaxGabriel on Monday September 22, 2014 @09:58PM (#8353661)
They should say that American Apparel is the manufacturer of the shirt (I only found out by clicking their google image search link from the checkout page). They're known for running a size small + (imo) they have a good reputation for quality t-shirts, so it might help with sales.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @10:01PM (#8353666)
Thanks for the tip! The unisex shirt is American Apparel, and the women's is Bella Ladies' Favorite, or American Apparel depending on the color.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by javert on Monday September 22, 2014 @10:28PM (#8353727)
I don't understand why there are these colored blocks instead of an actual code snippet.

Also, I was assuming there would be a variety of different code samples. Just CSS? Really? Dude, that's not even a programming language.

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @10:28PM (#8353729)
You can type in any code you want...it'll autodetect the language.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by cookrn on Tuesday September 23, 2014 @12:04AM (#8353954)
I love the abstract and colorful look. It actually is really nice without being based on code! Some more code samples for people to click through could be fun to play around with too. Have you printed one for yourself yet? A photo of you wearing a shirt would be wonderful.

dojo4 [1] (Boulder, CO) built and subsequently took down a similar product called Speakteesy [2] last year. It's really hard to get the pricing reasonable, show people definitively what they're going to receive, and get a quality shirt. We did our best by generating a to-scale proof image using ImageMagick that a user would see prior to paying, but it wasn't a huge help. Lastly, the shirts.io [3] service was our fulfillment backend and, barring some light documentation in areas, was great to work with.

Good luck!

[1] http://dojo4.com/ [2] http://speakteesy.com/ [3] https://www.shirts.io/

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Tuesday September 23, 2014 @12:06AM (#8353958)
Yep, here's me wearing a shirt: http://cl.ly/image/220r1g463W00

re: shirts.io, yeah I'm using their successor, scalablepress.com. The API is much better now.

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by cookrn on Tuesday September 23, 2014 @12:09AM (#8353967)
Sweet! The pattern of the code reminds me of morse code too :D
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by bwy on Monday September 22, 2014 @10:23PM (#8353707)
Awesome, always wanted a minimalistic striped shirt!

shirt.codes/?source=------------------------------------------ -------------------------------%0A---------------------------- ---------------------------------------------%0A-------------- ----------------------------------------------------------- %0A----------------------------------------------------------- --------------%0A--------------------------------------------- ----------------------------%0A------------------------------- ------------------------------------------ &style=Para%C3%ADso%20-%20Light :)

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by rpicard on Monday September 22, 2014 @09:33PM (#8353607)
Will the shirt have the code itself or just the silhouette of the code?
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by slingerofwheat on Monday September 22, 2014 @09:39PM (#8353619)
I agree. This is such a misleading website. I don't even know what I'll get.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @09:41PM (#8353625)
After you click "Continue with this design," you'll see a proof on the left.

You're getting the code as blocks--the hover text is just to show you how the code is being highlighted.

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by Throwaway12830 on Monday September 22, 2014 @10:24PM (#8353709)
After seeing the proof, I was still confused what I would receive, and thought maybe the blocks were placeholders for the text that would appear in the final print. You should definitely make this more clear, because the phrasing on the site gives the impression you'll get the actual code.

Without a doubt you'll get lots of requests for refunds if this isn't adjusted.

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @11:07PM (#8353828)
Yep--thanks for the tip. I've added a bunch of warnings all around, and reached out to folks who ordered with a clarification :).
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by dshanahan on Tuesday September 23, 2014 @12:13AM (#8353973)
It was clear to me what I'd get. Awesome project.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by ConnorBoyd on Monday September 22, 2014 @10:10PM (#8353687)
Well that's kind of boring
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by Mandatum on Monday September 22, 2014 @10:31PM (#8353734)
Yeah I thought I was getting readable print. Instead I get some coloured lines on a shirt.

No thanks.

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @10:38PM (#8353749)
Sorry :(.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by patcon on Monday September 22, 2014 @10:51PM (#8353771)
Haha no way. I had an idea for a tshirt gem where you could pipe in text and it would order a shirt through the zazzle api. You guys should write one!

``` $ echo "curl -s http://pastebin.com/raw.php?i=4Tz0Z8in | sh " | tshirt $ cat myscript.rb | tshirt ```

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by selmnoo on Monday September 22, 2014 @11:01PM (#8353804)
The shirt seems to be a color shirt, no? It's pretty impressive to do a single custom shirt for $25 (or maybe it isn't? I don't know about the economics of t-shirt printing). I would love to know more about this, if someone has more to say (or link to a resource).
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @11:05PM (#8353817)
Yep! I used scalablepress.com to print my shirts. It's extremely to print a single custom shirt from them--I was surprised, too :).
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by selmnoo on Monday September 22, 2014 @11:59PM (#8353945)
Cool, thanks for answering. I hope you won't mind if I pick your brain&ways a little more. So, some questions:

1) Are you doing this white-label?

2) Is this a "passive income" side-project, or something you've put a lot of time to? (Well, it's clear that you've put a lot of time to it... it's a beautiful finished product in every way, but I'm still curious to know how much effort has been put into this)

3) Are you working closely with scalablepress folks, or do you find their api to be powerful enough that you need not get in touch with them?

4) I see that just the blocks are being printed, not the code. There is probably a lot of demand for the printed-code shirts - why not go for that? (is it markedly more expensive to print text on shirts?)

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Tuesday September 23, 2014 @12:03AM (#8353952)
1) There's no branding on the shirt at all. The shirt is shipped from Scalable Press, so I'm not sure what the packaging will say, but I imagine they have something in place for white-labelling.

2) "Passive income" side project, though with all the HN hate it's turning into a bit more scrambling than I'd imagined :).

3) I do ask them questions since I'm a pretty early user of the API, but it's pretty well-documented at this point so I don't imagine you'd run into much trouble developing on it.

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by selmnoo on Tuesday September 23, 2014 @12:19AM (#8353987)
Thanks for answering questions.

Please don't mind the 'HN hate', we're a nit-picky bunch. Remember that almost always you can make it better.

The current upset seems to be about confusion as to whether shirts will have actual code or not on them -- give the folks who've ordered some sort of a clarification note, and hope for the best.

Regardless, this was a pretty nifty project. I give it a 9/10 (1 pt. lost for lacking UX in some areas and slight misrepresentation of product, but I know your next project, whatever it'll be, will more than make up for it :))

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by Rangi42 on Monday September 22, 2014 @10:51PM (#8353773)
There used to be a shirt with Tantek Çelik's box model hack (voice-family: "\"}\"";) for sale somewhere online. (I screen-printed my own copy on an old T-shirt.) This was back when IE5.5 was still in use. I wonder if this site was inspired by that shirt.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by Mark_B on Monday September 22, 2014 @11:09PM (#8353832)
Hmmm...A "brillant" shirt, anyone?

shirt.codes/? source=package%20test%3B%0Apublic%20class%20paulaBean%20%7B%0A %20%20private%20String%20paula%20%3D%20%22Brillant%22%3B%0A%20 %20public%20String%20getPaula()%20%7B%0A%20%20%20%20return%20p aula%3B%0A%20%20%7D%0A%7D&style=Default

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by ZoF on Monday September 22, 2014 @11:39PM (#8353899)
Hey, this is super cool!

Genuinely think you would generate much more interest(and less confusion/knee-jerk anger) if you had the option of having the code printed on the shirt overlaying the blocks.

I'd definitely be interested.

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Tuesday September 23, 2014 @12:52AM (#8354078)
Yep, this is now implemented! Thanks for the input.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by selmnoo on Tuesday September 23, 2014 @12:48PM (#8356313)
This was crazy fast, that you were able to implement this so quickly after getting feedback from HN (and replying to our questions and queries at the same time).

Kudos is all I have to say. I wish I had those skills!

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by JadoJodo on Tuesday September 23, 2014 @01:50AM (#8354197)
No shirts for fat guys. Shame.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by joeevans1000 on Monday September 22, 2014 @11:52PM (#8353926)
No XL?

Is this like Abercrombie and Fitch where they only want the hotties in their shirts?

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @11:56PM (#8353935)
There is XL if you select "Unisex." The default sizes are women's sizes.

http://cl.ly/image/3w1z0v170c2j

(Just fixed it so that it shows Unisex sizes by default.)

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by deevus on Monday September 22, 2014 @11:01PM (#8353807)
What sort of code would people want on their shirts?
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by bootload on Monday September 22, 2014 @11:51PM (#8353921)

    main(k){float i,j,r,x,y=-16;while(puts(""),y++<15)for(x
    =0;x++<84;putchar(" .:-;!/>)|&IH%*#"[k&15]))for(i=k=r=0;
    j=r*r-i*i-2+x/25,i=2*r*i+y/10,j*j+i*i<11&&k++<111;r=j);}
compiled it looks like this ~ https://www.flickr.com/photos/bootload/tags/perlin from Ken Perlin blog ~ http://mrl.nyu.edu/~perlin/
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @11:05PM (#8353818)
Code that looks cool as blocks :P.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by OutThisLife on Monday September 22, 2014 @09:54PM (#8353652)
I guess HN's 22 points in 1 hour killed in?
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by elwell on Monday September 22, 2014 @10:04PM (#8353678)
Is it that hard to push your app to elastic beanstalk?
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by primitivesuave on Monday September 22, 2014 @11:16PM (#8353848)
This would be awesome for inside jokes with equally-nerdy friends, can't wait for the opportunity to try it out!
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @09:13PM (#8353558)
Have a coupon code: THERESACODEONMYSHIRT

:)

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by hazelcough on Monday September 22, 2014 @11:28PM (#8353874)
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by ytNumbers on Monday September 22, 2014 @09:37PM (#8353616)
It's got to be the safest form of birth control.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by Shad0w59 on Monday September 22, 2014 @09:59PM (#8353662)
Bravo.
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by dominotw on Monday September 22, 2014 @10:25PM (#8353712)
automatic_birth_control while(this.tshirt)

get a tshirt with that

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by exiva on Monday September 22, 2014 @09:27PM (#8353595)
goto fail;

goto fail;

...or are we past that joke now?

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by dlgeek on Monday September 22, 2014 @11:58PM (#8353941)
Been there, done that, got the t-shirt.

(In fact, I wore it today - someone else printed them right after the disclosure).

Re:Shirt.codes: Get a T-shirt of your favorite code snippet by benradler on Monday September 22, 2014 @09:50PM (#8353644)
absolutely horrible. cant even tell if this thing will put code or colored blocks on my shirt, and you want $25?
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by _xhok on Monday September 22, 2014 @11:04PM (#8353816)
Why couldn't you have just written "Will my shirt have code or colored blocks?"
Re:Shirt.codes: Get a T-shirt of your favorite code snippet by slexaxton on Tuesday September 23, 2014 @01:03AM (#8354107)
no ur absolutely horrible