Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
robconery
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
The Impossible Artificial Intelligence Problems of the Cold War
(codebeast.dev)
1 points
by
robconery
7y ago
|
0 comments
2.
▲
by
robconery
7y ago
I believe we're talking past each other. Big O has nothing to do with "actual run time*. It doesn't care what about the number of inputs you have - just that you have them. Mathematically, if n=1000 then log n is 10. 10 ope
3.
▲
by
robconery
7y ago
The Big O of an algorithm does not change based on data size. Even if your set had precisely 1 record in it - the code you write, if it loops over every item in the set (even if it's only one item) - is still O(n) .
4.
▲
by
robconery
7y ago
OP here - O(N log N) is not O(n^2). If n is 1000 then log n is 10, which is 1000 * 10 which is 10,000. That's a bit less than 1000 * 1000.
5.
▲
by
robconery
7y ago
OP here. Agree that thinking about code is better than using a rule of thumb, but we need to start somewhere don't we? I tried to make it clear in the post that looping over n items within an n loop is n * n.
6.
▲
by
robconery
7y ago
OP here - Big O notation is simply shorthand math. When you're discussing things in this way, time complexity and performance are the same thing. When you care about resource usage (memory etc) that's space complexity , which is
7.
▲
by
robconery
7y ago
OP here. Big O is indeed "worst case scenario" always, the size of the data set doesn't matter. An O(n) operation doesn't care if the data is sorted - even if it's the first item as you suggest. When you discuss Big
8.
▲
by
robconery
8y ago
Derp. OP here - yep typo and corrected thank you!
9.
▲
by
robconery
8y ago
OP here - as a matter of fact I try to do just this, starting with the database. I'm mostly a data person so I try to think through, as deeply as I can, what I should expect in every table - there has to be a sensible default and if
10.
▲
by
robconery
8y ago
OP here - OP has checked out (and lived with) trinary logic. Just because you appreciate null doesn't mean it should be kept in programming languages and existing programs. That there is a logical truism, isn't this fun? Also: fal
11.
▲
by
robconery
8y ago
OP here - Yes that's the operation the question wasn't supposed to be a literal one, rather a consistency issue, which illustrates the larger point that different languages deal with null differently because it's not logical
12.
▲
by
robconery
8y ago
>it's not true to say they don't exist in other languages Sounds good, waiting for an example to support this... >It's also wrong to suggest that Null has no place in "logic". Boolean logic is one type of logi
13.
▲
by
robconery
8y ago
OP here - I was going to go into that - it's an interesting story. There are null references, as you say, but there's also the null object pattern and the null type. I decided to just focus on the idea of null, which all three o
14.
▲
by
robconery
10y ago
There are a lot debates about this and from my experience the biggest issue with running PostgreSQL on Windows is the “Windows Tax”: background processes and services you don’t need on a DB server soaking up resources. Windows Update comes
15.
▲
by
robconery
11y ago
Thanks for the thoughts. As with many others I'll offer to you that my entire post is not about piracy. I've lived with piracy of my stuff for the last 7 years. Part of doing business. The point of my post was a business profiti
16.
▲
by
robconery
11y ago
It's a little different than the simple theft of a TV, although yes you raise a decent point. As I've been saying to people: just a reasonable effort is all I ask . There is a watermark on the entire video, and you can quite easi
17.
▲
by
robconery
11y ago
Yes, I did. As did Troy. No reponse (now as then). You entirely miss the point of the article - it's not about piracy, it's about a marketplace for pirated goods. That's what Udemy does. Sorry if I'm not nice about it.
18.
▲
by
robconery
11y ago
Define "dangerous". Listen mate, if you make money on something and that something is stolen - you are responsible. Udemy created this marketplace for stolen things; people steal things and sell them there. > the correct cour
19.
▲
by
robconery
11y ago
It's fractionally slower, true, because of the serialization hit (string to binary). The real juice comes from the GIN index - and if you apply it to specific columns instead of a complete document, you have a rocket ship on read.
20.
▲
by
robconery
11y ago
The first function matches any call to it with an error - this is how (apparently) you pass error information on to the result. There's no graceful exit with an error. The keyword list is pointless with an error function.
21.
▲
by
robconery
11y ago
OP here - I wanted to offer a comparison of the SQL vs. the ReQL query. Indeed if ACID is something you need, then yes a horizontally-scaling DB is probably something that deserves longer thought. This is a broader discussion to be sure,
22.
▲
by
robconery
11y ago
OP here - many NoSQL/document DBs will trade off write acks for eventual consistency. I really liked their approach to pushing toward durability by default - that in particular was the thing that impressed me, which I should have bee
23.
▲
by
robconery
12y ago
I think experience is one thing I'm not short of.
24.
▲
by
robconery
12y ago
Nope - been at this for 24 or so years now. I wish I was an "underclassman" again - everything was quite fun back then... which I suppose is the point of the post which sort of sailed over your head :).
25.
▲
by
robconery
12y ago
The feedburner feed was spelled wrong (fedburner)... that was sorta dumb of me, sorry!
26.
▲
by
robconery
12y ago
Yikes! Fixing - wow that's not good...
27.
▲
by
robconery
12y ago
OP here... I should say that I wrote this post rather late with a glass of wine in my hand and perhaps didn't use all the exact words to convey my point clearly. But let me address your points. "Thinking too much" seems to ha
28.
▲
by
robconery
12y ago
Also - thank you for the new Twitter bio. You've motivated me to be a better person. I shall never forget you Mr. 5-day old HN account...
29.
▲
by
robconery
12y ago
You, on the other hand, are amazing. The entire post is satire. Guess you missed that.
30.
▲
by
robconery
12y ago
The post is satire of sorts, although in the course of writing it I found such a common cause with Yehuda it was crazy. His pain learning Vim was my pain learning Ember. And the payoff is just as fun (to me at least). Read this post here:
More ›