Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crawshaw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
271.
▲
by
crawshaw
9y ago
Why are you limiting the possible technologies through government regulation? No other city is full because at some point people decide not to live so tightly packed together, and demand dries up. Current laws raise prices to enforce low de
272.
▲
by
crawshaw
9y ago
Why are you limiting the possible technologies? Skyscrapers work. Housing is a cost of living. Driving the cost of being alive as low as possible should be a high priority. We should use the tools we have to do it.
273.
▲
by
crawshaw
9y ago
You claim demand to live in the Bay Area exceeds housing technology carrying capacity. Do you have any evidence for this? No city on Earth is full. (Indeed, estimates of human population growth show planetary population stabilizing at less
274.
▲
by
crawshaw
9y ago
Many do. The cost to society is enormous. If housing and labor markets were entirely elastic, and those are the only two factors your people need to consider, then "go away" could be a reasonable government policy. But people are
275.
▲
by
crawshaw
9y ago
Several members of the Go team have invested significant effort in studying generics and designing proposals, since before Go 1.0. For example, Ian Lance Taylor published several of his previous efforts, which had shortcomings he was dissat
276.
▲
by
crawshaw
9y ago
Only in the last 20 years have economists begun to admit their traditional model of people in micro-economic markets, so-called "rational" actors, don't correspond to reality. The amazing resistance of the field to such obvio
277.
▲
by
crawshaw
9y ago
It is easier to reach a stable orbit from the moon. The question is how much harder is it to build a self-sustaining civilization on the moon than Mars, and is that difference worth the easier orbit? I don't know the answer. I suspect
278.
▲
by
crawshaw
9y ago
One resource Mars has that no land on Earth has is Low Mars Orbit. It is much easier to launch mass into the solar system from Mars because LMO is closer to the surface in terms of velocity than LEO. Space craft don't need booster stag
279.
▲
Larger Pages
(dicksites.blogspot.com)
1 points
by
crawshaw
10y ago
|
0 comments
280.
▲
How we mapped the world’s weirdest streets
(medium.com)
1 points
by
crawshaw
10y ago
|
0 comments
281.
▲
by
crawshaw
10y ago
I do not believe the networking issue is orthogonal. I believe you will find that any communication between two OS threads is significantly slower than switching one thread between an active and a parked goroutine. Futexes are slow and spin
282.
▲
by
crawshaw
10y ago
I should add: if you believe these are surmountable problems, please take it out of the forum and write a proposal. Everyone who works on the Go runtime would love to see it radically simplified. We put up with the complexity only because w
283.
▲
by
crawshaw
10y ago
It would in practice. A typical server under load has more outstanding requests to answer than it can OS threads. It is not uncommon in a Go server at Google to find a million or so goroutines. If you want to have an OS thread that can also
284.
▲
by
crawshaw
10y ago
1:1 in Go would mean moving servers from blocking-style code to callbacks/futures. (I believe the story is slightly different in Haskell.) Nice sequential blocking-style code is my favorite thing about Go. I realize it's not C, an
285.
▲
Go Proposal: Eliminate STW Stack Re-Scanning
(go.googlesource.com)
2 points
by
crawshaw
10y ago
|
0 comments
286.
▲
by
crawshaw
10y ago
Fluid dynamics and combustion chambers. It's rocket science, a long, expensive trial-and-error development process. And unlike other sciences, most of the results are never published so each entity has to recreate the foundations thems
287.
▲
by
crawshaw
10y ago
I am disappointed the Talk:bikeshedding page is empty.
288.
▲
by
crawshaw
10y ago
Hi all. Something I left out of the post that I should have mentioned: if you are wondering why a Hello World program is hundreds of kilobytes instead of tens like a C program, it is because Go programs are statically linked. You can dynami
289.
▲
by
crawshaw
10y ago
The technique described in the blog post doesn't differentiate between user code and library code. It's all code. Any method the linker or the compiler can get rid of it does.
290.
▲
by
crawshaw
11y ago
My guess is that Dave Cheney is measuring the cmd/go that comes with the release, meaning it's a different program each time it is measured. Someone probably snuck some new features into it between releases. :-) Like all the -buil
291.
▲
by
crawshaw
11y ago
Go has an assembler: https://golang.org/doc/asm I have used it in sticky situations, like the trampoline for a signal handler, and writing functions that have to conform to a C ABI because they are called by the OS. (I
292.
▲
by
crawshaw
11y ago
You can write an operating system in a garbage collected language. One example, Oberon System: https://en.wikipedia.org/wiki/Oberon_(operating_system) I don't know anyone who has written more than a toy OS in Go,
293.
▲
New York Horizon – 2016 Skyscraper Competition Winner
(evolo.us)
1 points
by
crawshaw
11y ago
|
0 comments
294.
▲
by
crawshaw
11y ago
"You develop an instant global consciousness, a people orientation, an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. Yo
295.
▲
by
crawshaw
11y ago
I can't offer you a complete definition or guide to arrogance, but one common negative trait in the field of technology that is often called arrogance can be countered by liberal application of the principle of charity: https:/&#
296.
▲
by
crawshaw
11y ago
I applaud the author for reaching the daunting part of this project and reacting with humility appropriate to the difficulty. I hope they continue in this effort, because they sound like the right person for the job. There are going to be a
297.
▲
by
crawshaw
11y ago
There are several ways to solve this in Go. The first that comes to mind, assuming you want to truncate to the first 12 runes, not bytes: func main() { v := []rune(os.Args[1]) if len(v) > 12 {
298.
▲
by
crawshaw
11y ago
It is built with Go 1.4. Details: https://golang.org/s/go15bootstrap
299.
▲
by
crawshaw
11y ago
Compile-time specialization is exactly what would slow the compiler down too much. Doing it for slices and maps is already pushing it, doing it for more types (and judging by how generics is used in every other language, it would be a lot o
300.
▲
by
crawshaw
11y ago
My goal was to explain how I make do with the features that exist (paying one of the tradeoffs, productivity, compile time, or runtime), and that any more general purpose implementation of generics would, to be orthogonal with existing feat
More ›