Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ccleve
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
331.
▲
by
ccleve
9y ago
Naming is hard, no question. Context helps, though. In realm where I live, computer science, x, y, and z likely correspond to something in the problem domain, like "rate" or "time". And even if we're dealing in pure
332.
▲
by
ccleve
9y ago
There may be occasions when a single letter makes sense, but this should be the exception, not the rule. If you've got a ton of "anything" variables in your code, then that means there's probably a better, more understan
333.
▲
by
ccleve
9y ago
But that's not our experience in software. We do write "learningRate" over and over again, because we've learned that that makes the code much more understandable that just writing "e". In fact, we've le
334.
▲
by
ccleve
9y ago
I'm a software developer. I need to understand computer science papers to get my work done. I've studied enough. High school and several courses in college. Enough that I should be able to take it from here and learn on my own.
335.
▲
by
ccleve
9y ago
This article starts to get at an idea that I've had for a while now -- that mathematicians are doing it wrong. In the software business we learned a long time ago to name our variables properly, name our functions logically, and to con
336.
▲
Oregon Man Fined $500 for Study Showing Yellow Stoplights Are Too Short
(heatst.com)
9 points
by
ccleve
9y ago
|
2 comments
337.
▲
Ajit Pai: Why I'm trying to change how the FCC regulates the Internet
(latimes.com)
1 points
by
ccleve
9y ago
|
0 comments
338.
▲
Access a database in one line of code
(github.com)
2 points
by
ccleve
9y ago
|
0 comments
339.
▲
Access a database in one line of code
(github.com)
1 points
by
ccleve
10y ago
|
0 comments
340.
▲
by
ccleve
10y ago
This is a big deal. We've always made a distinction between memory and disk. Much of computer science is about algorithms that recognize the difference between slow, persistent disk and fast, volatile RAM and account for it somehow. Wh
341.
▲
by
ccleve
10y ago
Algorithm correctness: google "tla+" Implementation correctness: google "jepsen" Comparative overview: I'm not aware of one, but I'm sure there's one out there. If you find one, post it. Make sure it'
342.
▲
by
ccleve
10y ago
Yes. Light travels 839 km or 521 miles in 2.8 ms. If you need a round-trip to send a query and get a response, then you would have to be within a few hundred miles of the datacenter, assuming perfect efficiency.
343.
▲
by
ccleve
10y ago
You might consider removing the badge on the home page that says "Global Latency 2.8 ms". Unless you really can give me latency across the globe of 2.8 ms, in which case your solution to the speed-of-light problem is quite impress
344.
▲
by
ccleve
10y ago
Have you published the software anywhere? Do you have an open source implementation? (The Elastifile Github account doesn't appear to have one.)
345.
▲
by
ccleve
10y ago
My thought exactly. The article doesn't give any numbers on how many customers, messages, "tribes", queries per sec, or anything. This market just doesn't sound very big, and it's probable that a plain old CRUD app
346.
▲
by
ccleve
10y ago
> By giving such speakers a forum, they're endorsing that such views are worthy of being heard or debated No, they're not. In almost all cases speakers at a University are invited by a group of individuals, be it a student gro
347.
▲
by
ccleve
10y ago
Completely agree. I wrote code in Delphi 20 years ago, and I was far more productive than I am today. The secret was to have self-contained components that fit within a rigid layout system. It wasn't easy to make things pretty, but it
348.
▲
by
ccleve
10y ago
We have an Overton window here on HN. It's enforced through downvoting. I would very much like to see downvoting eliminated, or at least modified so that a small number of upvotes can counteract it. There are a number of perfectly reas
349.
▲
by
ccleve
10y ago
An economist would answer your question by pointing to the theory of "comparative advantage." Here's dry formal description of it: https://en.wikipedia.org/wiki/Comparative_advantage and a somewhat frien
350.
▲
by
ccleve
10y ago
Thank you. "Postings" is another word for the format of the doc ids and related information in the inverted file. A google for "inverted index postings" will turn up a bunch of references.
351.
▲
by
ccleve
10y ago
You get really good performance on not much hardware. Can you share some technical details? - file formats, particularly the postings - query evaluation strategy - update strategy I poked around in the source code a bit, but couldn't f
352.
▲
Irritating conversation with a bot
2 points
by
ccleve
10y ago
|
1 comments
353.
▲
by
ccleve
10y ago
> So, The FDA, because they require drug and device makers to demonstrate efficacy and safety by going through a rigorous clinical trial process, are evil? Really? Yes, if the process is so rigorous and expensive that it drives the cost
354.
▲
by
ccleve
10y ago
There are really two villains here, Mylan, of course, but more importantly, the FDA. FDA regulations make the cost of bringing a new medical device to the market absurd. There are no competitors because the time and effort to bring a compet
355.
▲
by
ccleve
10y ago
What's old is new again: http://javolution.org/ This library has been around forever, and extends the same concept to other collection types.
356.
▲
by
ccleve
10y ago
Apigee's book is great: https://pages.apigee.com/rs/apigee/images/api-design-ebook-2...
357.
▲
by
ccleve
10y ago
Can someone explain what "criminal defamation" is? Is that even a thing? In what circumstances is it a crime to defame someone, and not merely a cause of action in a civil suit?
358.
▲
by
ccleve
10y ago
Perhaps. But the fact that they used a remote-controlled device is significant. It's quantum change in tactics for the police. It gives police far greater powers against suspects. How long before they use drones to shoot suspects? What
359.
▲
by
ccleve
10y ago
ORMs can alleviate a lot of tedium, until you get to a level of complexity where they start to create it. I created my own ORM-like access library which seems to work pretty well. https://github.com/dieselpoint/norm Co
360.
▲
by
ccleve
10y ago
The references in the article don't reflect the latest research. So far as I know, this is close to state of the art: https://github.com/lemire/JavaFastPFOR The links to the papers in the readme are useful if you
More ›