Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joelangeway
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
joelangeway
12y ago
One example that just occurred to me: The base 2 log of the number of legal positions of a 9x9 go game is about 126.3, which means if I use a good hash of board positions yielding twice that number of bits, I have a better than 50/50 c
2.
▲
by
joelangeway
12y ago
Dropbox Pro is same rate ( https://www.dropbox.com/plans ). You do have to buy a it $10/month at a time, but you can get to it whenever you like without paying 9 cents per GB. AWS is usually worth it but it is never supe
3.
▲
by
joelangeway
12y ago
Even if a JIT compiler can prove that all the code in your app doesn't change that function pointer, because the variable is volatile, the compiler must assume that you intend to read from actual metal every time you refer to it and it
4.
▲
by
joelangeway
12y ago
Yes, it refers to a memory location, without implying anything about the semantics of the bits located at that location. You can't dereference or assign to the location because you don't know the type at that location. You can ho
5.
▲
by
joelangeway
12y ago
He says several times that JavaScript succeeded in spite of being a bad language because it was the only choice. How come we're not all writing Java applets or Flash apps?
6.
▲
by
joelangeway
13y ago
The original machine that influenced C's model of computers was the PDP-11 ( http://en.wikipedia.org/wiki/PDP-11 ). It had a mov instruction instead of load/store. It had no dedicated IO instructions. It could
7.
▲
by
joelangeway
13y ago
> It's literally zero-sum for him. Well it is. There are a finite number of consumers of C++ compilers. He is competing for the attention of potential free software advocates.
8.
▲
by
joelangeway
13y ago
If you keep the same distance between you and the car in front of you regardless of your speed - which you seem to say -, I hope you are never behind me.
9.
▲
by
joelangeway
14y ago
I personally have often gotten the impression that a large portion of developers already have The One Programming Language in their mind. It's usually Java or C# or sometimes still C++. JavaScript fills me with joy because it is so unlike t
10.
▲
by
joelangeway
14y ago
I concede the point. I hope I never have to herd that many cats.
11.
▲
by
joelangeway
14y ago
This is a fundamental place where the worlds of C# and Java differ. Where the Java world would say, "developers might misuse this, better not have it in the language," the C# world says, "developers could really use this, better put it in t
12.
▲
by
joelangeway
14y ago
A better analog than fixing a literal car might be changing the tire of a car which doesn't have any tires when it is parked but which instantiates some with the help of an instance of ITireFactory. Obviously it makes no sense for a car to
13.
▲
by
joelangeway
14y ago
I don't think that those problems are really independent, but rather, share a common cause with some of the things that made PHP a success. PHP evolved as it did in large part because its benevolent dictator refused to think about more than
14.
▲
by
joelangeway
15y ago
I confess to making the mistake many times of thinking that I was capturing a value when I was capturing a variable, but the author has me confused and concerned that the semantics of lambdas have been changed such that a lambda always capt
15.
▲
by
joelangeway
15y ago
I'd also be afraid they'd put lobbying efforts into state legislatures to make home grown text books illegal or set standards that are difficult to meet for teachers and which are easy for big publishers.
16.
▲
by
joelangeway
15y ago
And the only "classic" mentioned was "War and Peace". I haven't read that one but I've read Anna Karenina, also by Tolstoy, and a few of Dostoevsky's books. Yeah they're long, but they're long like concept albums are long. They're classics
17.
▲
by
joelangeway
15y ago
I find this deliciously ironic. I can hear myself arguing as a sophomore CS student, "but whatever is going on that constitutes the mind is observably a process on information that happens entirely inside your skull, of course we can model
18.
▲
by
joelangeway
15y ago
OK, I might have change my mind about that. I have been lucky enough not to have had to use multiple selfishly named libraries I guess.
19.
▲
by
joelangeway
15y ago
The global namespace in PHP is awesome. I don't have to learn a framework to solve a problem, there's a function for it. Namespace qualifiers in names are a fine solution to the collision problem. That's effectively what's there already exc
20.
▲
by
joelangeway
15y ago
He is probably imagining that the name of that function would be "nameofproject_assign_user_activity/2", and that you would typically use it along with some others from the same source, following some conventions. Seems that obviates module
21.
▲
by
joelangeway
15y ago
Thank you for the suggestions.
22.
▲
by
joelangeway
15y ago
I use both .NET and the LAMP stack everyday. I love .NET and C# is a beautiful language. But I have to use Windows to use .NET. There is nothing wrong with Windows, except it doesn't have a very good shell; it doesn't come with the GNU user
23.
▲
by
joelangeway
15y ago
I don't think that strong typing is bad, but I would like to point out that from his point of view, arguments FOR strong typing are based on the premise that "everyone is stupid." Orthogonally, you don't have assume that everyone is stupid
24.
▲
by
joelangeway
15y ago
It's interesting that so many commenters take issue with the term "dishonest minority." I agree that honesty is usually the best policy, but I would lie to the Nazis about the Jews in the addic. This is the value in the dishonest minority a
25.
▲
by
joelangeway
15y ago
"You can't really prove anything with a computer model like this," Indeed, the behavior the article describes sounds like a normal failure mode for a natural language processing computer program, "spewing out a jumble of grammatically corre
26.
▲
by
joelangeway
15y ago
The reason they should be compared is because getting comfortable enough in Javascript to stop complaining about asynchronousity causes one to think about that aspect of programming the same way Erlang programmers do. Erlang and Javascript
27.
▲
by
joelangeway
15y ago
The number thing is absolutely not ridiculous. A book is a small amount of data that can be expressed in bits and it is trivial to stamp a number on every possible book, including many versions of this book with numerous misspellings. It is
28.
▲
Enso Programming Model
(enso-lang.org)
1 points
by
joelangeway
15y ago
|
0 comments
29.
▲
by
joelangeway
15y ago
I agree that people ought to be entitled to keep secrets. But Google is not a person, it is a publicly traded corporation which wields economic power on the same scale as state governments. I don't argue that they aren't entitled to secrets
30.
▲
by
joelangeway
15y ago
I hope I never have to work for someone who'll fire me if I tell them I'm interested in issues of class or race.
More ›