-
It is weird to argue that free speech is limited then having the "
First Amendment" thrown at you like it is some type of bible verse. The constitution is an agreement that is open to interpretation (is it a shock that words can be twisted?), with respect to time, which sets the stage for the government and the people to set a bar. Let's ignore the idea of "private spaces" since the first amendment does not extend there.
If I can suppose for a minute and borrow the naive interpretation of the First Amendment ...
-
I think of words that have a lack of definition like performant as an indicator of whether an author knows what they are talking about. "Performant" ain't a word and even if it was what does it mean? High performance? By what measure?
Avoid using "Performant": https://english.stackexchange.com/questions/38945/what-is-wrong-with-the-word-performant
Along those lines, lock-free != wait-free and I would/will forgive people for this. Lock-free sounds nice, but the definition does not imply non-blocking or wait-fr...
-
Fun fun stuff to do in lintcode. I mean we can always incur a linear traversal using a LinkedList if one wanted a simple way to do LRU, but why not challenge myself.
public class LRUCache {
public class LRUNode {
Integer key;
Integer data;
LRUNode prev;
LRUNode next;
public LRUNode(int key, int data) {
this.key = key;
this.data = data;
}
}
LRUNode head;
LRUNode tail;
Map nodeMap = new HashMap();
...
-
I understand why people want to move back to the shared (cloud) model, but understanding what needs to be ephemeral needs to be considered based off of requirements. Elasticsearch in a docker container scheduled by a compute scheduler? Is that not a bad idea for something as unstable as Elasticsearch? MemSQL in a docker container? The point of MemSQL is for fast data access in memory and I would think there is a legit case for it, so why not allocate MemSQL dedicated servers? The more important question one...
-
A topic I have cared enough about to think about pretty intensely is the commenting landscape on websites. Sadly I have not executed on my own commenting system yet even though I have ideas and partial UI code. Anyway,
Mozilla's Talk (collab project: The Coral Project) is interesting, but not in the way that I was looking towards.
Talk is open source and install-able by anyone on their own servers and at their leisure. They have tech docs (very little, but looks to the point). Well anyway, since I have not i...
-
(First off, I am not proposing a solution, just what I think about the current solutions so far and what I think the ideal solution is. In another post, I can think about how to define a solution with a better user experience.)
I've been thinking about the whole idea of online dating and how it should work. Personally, for me it requires too much effort to put in and I think the point of technology is to make the things in my life effortless. No one uses technology to make their life harder right?
Let's set s...
-
Looks like an interesting company from the outside and I'm sure it is on the inside too. I like Google Maps, GMail, Search, Android and others. These software collect data and act on the data, which is fine with me as long as it makes the software useful. Is it a problem that I like a number of products created by one company? Is it concerning to me at all?
Not much if decisions are made with good intent and good reasons. From time to time, mistakes will be made and those usually result in public outcry and/...
-
Left-Right Algorithm for Concurrent Reading and Writing
Here's an interesting, practical and more memory efficient way alternative to the Read Copy Update (RCU) Algo. These algos assume far more reads than writes. Instead of copying the data structure for writing (essentially creating a new version), you maintain two copies of your data structures where both sides are eventually consistent. Strictly, writers will modify the opposite (say left) side of what the current readers are reading (right) and then poi...
-
I wonder if it is worth the effort to use an Nvidia Tesla for automatic anomaly detection in time series data. Obviously, you do not want detection for all time series data because it has to be meaningful, but if you had a way to combine multiple anomalies with a rule based system then it should be effective for large amounts of data.
Look at this beast:
http://www.anandtech.com/show/10675/nvidia-announces-tesla-p40-tesla-p4My idea is to throw this beast into 1-10 machines and have data fed to them from a TS...
-
https://www.youtube.com/watch?v=OFgxAFdxYAQ
Cliff Click, during the Q/A, talks about not using getters and setters if you really really care about performance. One of the reasons being that there is a chance the getter/setter may not be inlined. Another may be that the function calls may cause a failure to inline hot spot areas due to a threshold being hit due to the function calls.