Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mtdewcmu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
661.
▲
by
mtdewcmu
12y ago
Somebody really needs to solve this problem. I've given some thought to it, but I haven't come up with any idea that's a slam-dunk.
662.
▲
by
mtdewcmu
12y ago
You don't necessarily lose privacy by making up a username and password for a site. You do lose some privacy if you use social sign-on or the site requires you to provide an email address that's verified. My pet peeve is the arbit
663.
▲
by
mtdewcmu
12y ago
Is it possible that women may be exercising their free will by choosing to go into fields like medicine and law not into fields like computer science, simply because more women prefer the former over the latter? It's apparently impossi
664.
▲
by
mtdewcmu
12y ago
I think it was more disappointment at not being asked to speak about what she wanted to speak about.
665.
▲
by
mtdewcmu
12y ago
It would be cool to be the programmer of a computer the size of a semi truck. It probably did the work of a pocket calculator, but it looked impressive.
666.
▲
by
mtdewcmu
12y ago
Investing in a community is a gesture of goodwill. That could be the major legacy of this.
667.
▲
by
mtdewcmu
12y ago
Even the connection between exercise and weight loss can be questioned. I highly doubt that gyms will solve the obesity problem. That said, I'm sure the Brazilian people will appreciate the gyms.
668.
▲
by
mtdewcmu
12y ago
>>No, because while JavaScript is the "common" language of the web, its not the only language you can code in on the web -- there are plenty of implementations of other languages with it as a compilation target. Yes. If you
669.
▲
by
mtdewcmu
12y ago
>>If it quacks like a duck, looks like a duck, walks like a duck, and you can't tell the difference between it and a duck, it's a duck. If, later, you discover evidence contrary to it having been a duck, can you revise your
670.
▲
by
mtdewcmu
12y ago
One man's obvious is another man's deep.
671.
▲
by
mtdewcmu
12y ago
You definitely see lots of things like (string? x) even in Lisp. It shows that some types are unavoidable. (Though frequently the type information is just used as additional information.) Typecheckers definitely do things. But are those thi
672.
▲
by
mtdewcmu
12y ago
I guess I wasn't clear. You could say that a line of code does something if it generates instructions for the cpu. `x = y` would generate at least one instruction (probably some kind of mov on an intel system), which would instruct the
673.
▲
by
mtdewcmu
12y ago
What I think is cool is getting computers to do things that are interesting. Types don't do anything. I find them hard to get excited about.
674.
▲
by
mtdewcmu
12y ago
I wonder if type erasure is profound, or if it only sounds profound after being hypnotized by type theory.
675.
▲
by
mtdewcmu
12y ago
Back when I had debian on my home machine (a number of years ago), I experienced that dpkg would gradually lose track of the state of the system and become less and less useful over time. Once things got incoherent, there was no putting it
676.
▲
by
mtdewcmu
12y ago
True. I don't expect that nginx would make them equal. But it would be interesting to gather more evidence to support the hypothesis that async I/O is the difference.
677.
▲
by
mtdewcmu
12y ago
It sounds almost too good to be true. The bottom line (as always): * How hard is it to use? * How easy is it to break?
678.
▲
by
mtdewcmu
12y ago
If you want to write C++, just compile it to javascript: http://kripken.github.io/mloc_emscripten_talk/gindex.html#/ Ridiculous?
679.
▲
by
mtdewcmu
12y ago
It's not clear to me exactly how it came about that javascript is asynchronous. My suspicion is that in the earliest days, javascript was single-threaded simply because that made the implementation simpler.
680.
▲
by
mtdewcmu
12y ago
Indeed. That's what node.js is for. I was just nitpicking the article's explanation. It would be interesting to see a breakdown of what makes the apache+PHP solution so slow. apache probably eats a lot of time by itself. Are you u
681.
▲
by
mtdewcmu
12y ago
Learn Javascript the Hardware Way
682.
▲
by
mtdewcmu
12y ago
PHP is a lot easier to use. Which is pretty much why it's already king.
683.
▲
by
mtdewcmu
12y ago
nginx + FastCGI would probably put PHP on a more level playing field. The test isn't completely invalid, but there is a lot more going on than what is described. It's a bit misleading to say that the server blocks waiting for file
684.
▲
by
mtdewcmu
12y ago
>> ssh -p but scp -P I hate inconsistent command line interfaces, too. If you type `ssh` it dumps usage information. Most commands will respond to `command --help` (but not ssh, irritatingly). Failing that, you can write shell functio
685.
▲
by
mtdewcmu
12y ago
Issuing commands to a computer with a "mouse" -- ridiculous! It will never work. More seriously-- why does this need funding? If the idea is clear enough and people see a need for it, someone will help finish it or write their own
686.
▲
by
mtdewcmu
12y ago
Only computation-heavy code will show a difference. And the disparity is going to vary a lot. Some code will be easy for Java's optimizer and won't give C++ any advantage.
687.
▲
by
mtdewcmu
12y ago
It's worth remembering that native code isn't fast automatically. An unskilled programmer, for instance, could easily write C++ that's slower than Java. There are a few possible reasons Fortran wasn't faster: 1. Fortran&
688.
▲
by
mtdewcmu
12y ago
There's nothing wrong with trying to sell your product. But I hope Sun's salesmanship doesn't continue to deceive people.
689.
▲
by
mtdewcmu
12y ago
The type of code makes a big difference in how it will perform relative to C++. You also have to be somewhat expert in each language. You can write arbitrarily slow code in any language. It's not easy to be sure that you're giving
690.
▲
by
mtdewcmu
12y ago
It is very good. But it's not quite fair to compare it to, say ruby or PHP, because it still requires a compilation step, and it's still pretty demanding on the programmer.
More ›