Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cdoxsey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
421.
▲
by
cdoxsey
14y ago
Go's HTML templates implement similar escaping based on context: ( http://golang.org/pkg/html/template/ ) "This package understands HTML, CSS, JavaScript, and URIs. It adds sanitizing functions to each simple action pipeline, so given the e
422.
▲
by
cdoxsey
14y ago
There are some restrictions. From wikipedia: While certificates are free for certain uses, there are limitations imposed unless an upgrade is purchased: - One-year validity. - One domain name per certificate. - One certificate per domain na
423.
▲
by
cdoxsey
14y ago
There's always the installer at: http://www.golang-book.com/ . Sets up the path for you and installs a text editor.
424.
▲
by
cdoxsey
14y ago
From what I understand cgo doesn't currently support static linking like this.
425.
▲
by
cdoxsey
14y ago
Yep. I would guess the compiler produced sufficiently optimized code for the other platforms. Very little of the Go standard library is written in anything but Go.
426.
▲
by
cdoxsey
14y ago
In this case there is a 386 implementation: http://golang.org/src/pkg/math/remainder_386.s The other two call the go version: http://golang.org/src/pkg/math/remainder.go
427.
▲
Go and Assembly
(doxsey.net)
190 points
by
cdoxsey
14y ago
|
124 comments
428.
▲
by
cdoxsey
14y ago
The takeaway here is its not possible to record audio in chrome (in osx at least) without asking users to either enable Web Audio Input in their settings or disable the PPAPI flash plugin. It's sad when you end up having to put messages lik
429.
▲
by
cdoxsey
14y ago
In production we only compute the hash on deploy.
430.
▲
by
cdoxsey
14y ago
"Most proxies, most notably Squid up through version 3.0, do not cache resources with a "?" in their URL even if a Cache-control: public header is present in the response. To enable proxy caching for these resources, remove query strings fr
431.
▲
by
cdoxsey
14y ago
Both CloudFlare and CloudFront can do this. http://aws.typepad.com/aws/2010/11/amazon-cloudfront-support...
432.
▲
by
cdoxsey
14y ago
You make a fair point. I didn't really spend a lot of time trying to get django compressor to work. At some point you have to make a decision about whether or not its worth your time to continue trying to make a library work, or just gettin
433.
▲
by
cdoxsey
14y ago
http://code.google.com/p/go-wiki/wiki/Ubuntu
434.
▲
by
cdoxsey
14y ago
I meant you didn't need this: var x [5]float64 = [5]float64{ 98, 93, 77, 82, 83 } But I explained ":=" earlier so I can see how that would be confusing.
435.
▲
by
cdoxsey
14y ago
Go doesn't have classes. I agree that it'd make sense to talk about them in a book aimed at C# or Java programmers, but this book is written for people who are new to programming.
436.
▲
by
cdoxsey
14y ago
Go has a great built-in web server in net/http. Not as feature-rich as Rails, it's more akin to a micro framework like bottle.py. I ate my own dog food and the book's site is written in Go.
437.
▲
by
cdoxsey
14y ago
Ok, I added a PDF: http://www.golang-book.com/assets/pdf/gobook.pdf
438.
▲
by
cdoxsey
14y ago
It's available now: http://www.amazon.com/An-Introduction-Programming-Go-ebook/d...
439.
▲
by
cdoxsey
14y ago
Should be linked now... Amazon hadn't put them up yet. I wrote the book using Libre Office.
440.
▲
Free Book: An Introduction to Programming in Go
(golang-book.com)
297 points
by
cdoxsey
14y ago
|
70 comments
441.
▲
Go On Heroku
(blog.chromatical.com)
1 points
by
cdoxsey
14y ago
|
0 comments
442.
▲
Style Analysis in Go
(badgerodon.com)
2 points
by
cdoxsey
15y ago
|
0 comments