HNHacker News
TopNewBestAskShowJobs

timmaxw

555 karma · joined July 25, 2011

submissionscomments
timmaxw··on What's coming up for RethinkDB in 2015 [video]
The Ruby and Python clients will block if you try to fetch the next change and there isn't one available. You can prevent this by using a separate thread for the blocking request. The node.js client uses a callback.

We're currently considering alternatives. See <https://github.com/rethinkdb/rethinkdb/issues/3298>.

timmaxw··on What's coming up for RethinkDB in 2015 [video]
Yes, this is new functionality that will be released as part of RethinkDB 1.16. RethinkDB 1.16 is expected to ship in a couple of weeks.
timmaxw··on Russia: Hidden chips 'launch spam attacks from irons'
Incidentally, those aren't the most basic can openers; it's possible to make a can opener with no moving parts. Search for "swiss army knife can opener" to see some pictures.

Personally, I first learned to use the simpler design; when I saw the kind with the gears and handle, it seemed over-engineered to me. I find them equally easy to use, but I've seen the handles break on the more complicated kind (they were plastic, not metal) and I've also seen the gears go out of alignment. Yet the simpler design is rarely seen except in swiss army knives and military rations. This seems to support the idea that some added complexity can be worthwhile for most users as long as the product is otherwise well-designed and well-built.

timmaxw··on What 'Lean In' Misunderstands About Gender Differences
> Would these results hold in a matriarchal society?

I wrote up the following response and then realized that I was answering a different question than the one you asked. The following is an investigation of whether the tendency for child-raising to be "womens' work" is caused by genetic or cultural factors. This isn't directly related to the question of whether the personality traits are caused by genetic or cultural factors. I'm posting it anyway because I spent an hour writing it up and don't want to throw it away.

I did some quick research and found that even in "matriarchical" societies, women are usually more involved in infant care than men. I started with this article: <http://metro.co.uk/2013/03/05/where-women-rule-the-world-mat... and went down the list:

* Regarding the Mosuo, this Wikipedia article: <http://en.wikipedia.org/wiki/Mosuo> writes that "Children of such relationships are raised by their mothers and the mothers' families." However, men are involved in raising their nieces and nephews.

* While men are heavily involved in child-raising in Aka societies, this source: <http://books.google.com/books?id=21z2hbOuTcEC> writes that "The Aka are exceptional in comparison to other societies in that fathers are actively involved with infants and are second only to mothers in the amount of direct care to their infants." (pg. 5)

* Despite the existence of sworn virgins, Albania is patriarchical, according to this article: <http://en.wikipedia.org/wiki/Albanian_sworn_virgins>

* I wasn't able to find sources regarding childcare in Iceland or Meghalaya.

In addition, the fact that there are so few matriarchical societies in the world is notable in and of itself.

My hunch is that the reason why women are more involved in childcare than men is due to cultural factors which are caused by genetic factors. One could certainly imagine a culture in which as soon as a woman gives birth, she hands the infant off to the father, and then has no further involvement in its care. So there is no immediate reason why women must be the caregivers. But that hypothetical society would require that babies be bottle-fed, which is a recent invention; historically, children had to be breast-fed, and genetic factors are certainly responsible for the fact that women are much better than men at producing milk. So the women would have had to be involved in caring for their children at least at the beginning. This could lead to a cultural norm for women to remain involved in childcare even after it is no longer necessary to breast-feed.

Of course, that's not to say that childcare should be "womens' work". Even if women do turn out to have a genetic propensity towards childcare, that doesn't mean that we as a society have to let that dictate our gender roles.

timmaxw··on Are We Losing the Secrets of the Masters?
This is only tangentially related to the article, but 507 Mechanical Movements is available as a website: http://507movements.com/ Some of the movements have been animated as well.
timmaxw··on [dead]
> we have no laws and few social structures that force men into programming or prevent women from doing it

We have plenty of social structures that discourage women from programming.

Programming first arose as a profession in the mid-20th century, at a time when the vast majority of scientists, mathematicians and engineers were male. Naturally, the first programmers mostly came from those fields, so they were mostly male. Over time this became self-reinforcing, both because the programming community has historically been hostile towards women (and still is today, but to a lesser extent) and because the perception of programming as "mens' work" means that teachers and advisers encourage women to choose other paths.

You may not agree with the above argument, but it's the main argument against your position, and I'm sure that you must have heard of it at some point. It seems strange to me that your post completely ignored it.

timmaxw··on The Conversation (1974)
I speculate that re-posts get voted to the front page because the users who are voting on them didn't see them the first time around.

The fraction of HN users that see a post on average depends on how long a typical post stays on the front page and on how often a typical HN user checks HN. I don't know what those parameters are, but I think it's plausible that a typical HN user sees fewer than half of all front-page posts, in which case it wouldn't be surprising for there to be some re-posts.

If something changed about those statistics--for example, perhaps more posts per hour leads to a typical story staying on the front page for a shorter time--then that could account for an increase in the number of re-posts.

Also, I'm not sure that there is actually a trend towards more re-posts on HN. It seems like the kind of thing that would be easy to mis-estimate.

timmaxw··on The Linux Graphics Stack
I think that Mac OS X unredirects unoccluded windows; I've noticed windowed computer games suddenly getting much slower when I move another window in front of them.
timmaxw··on Curiosity rover: Martian solar day 2
I think you were confusing orbital inclination with axial tilt. http://en.wikipedia.org/wiki/Axial_tilt
timmaxw··on Google Keeps Paying Deceased Employees' Families for a Decade
I think the loophole was that insurance premiums were tax-deductible, but insurance payouts were not taxed. Wikipedia has an explanation http://en.wikipedia.org/wiki/Corporate-owned_life_insurance#..., but I don't fully understand it.
timmaxw··on ACLU launches phone app to help motorists secretly record police stops
(Fish fish fish) fish. Fish which are fished by other fish themselves fish something unspecified.
timmaxw··on ACLU launches phone app to help motorists secretly record police stops
These are fun. "Fish" works too. Did you know that fish buffalo buffalo buffalo buffalo buffalo fish? I think that any sentence of the form "(buffalo|fish)+" is valid in at least one way.
timmaxw··on Double amputee cleared to race in the Olympics
Prosthetics that improve performance should be banned from the Olympics. If prosthetics become good enough that completely-natural athletes can't win medals, then athletes who haven't lost limbs (and aren't willing to have an "accident") will effectively be excluded from the sport.

Of course, this doesn't apply to prosthetics that don't actually improve performance or are completely irrelevant to the sport in question. It doesn't matter if a soccer player has a prosthetic arm as long as it weighs as much as his other one.

Prosthetics are fundamentally different from other sports equipment in that any athlete can use a given piece of equipment, but most athletes can't use prosthetics at all.

timmaxw··on Tech press misses Google/Amazon name grab
What's the point in having so many top-level domains? I can see the value in having country codes, because otherwise there would be an international (probably US-dominated) authority that imposed its power on the Internet, but why any beyond that?
timmaxw··on PointerPointer: points to your cursor
Warning: at least one of the images is not "family-friendly". Are the images automatically collected?
timmaxw··on A Dangerous Obsession with Primitives
* Dividing or multiplying a fahrenheit temperature is meaningless, because 0ºF is arbitrary.

* Ideally, you want separate types for absolute temperatures and temperature-deltas. Absolutes cannot be added, multiplied, or divided; subtracting absolutes produces a delta; adding or subtracting an absolute from a delta produces an absolute; deltas can be added and subtracted, and multiplied by unitless values.

* Multiplying a MeterNum by a MeterNum would ideally produce a SquareMeterNum.

* If you don't have to worry about precision, MeterNum and FootNum should both be replaced by LengthNum.

* You can convert a LengthNum into, say, meters by dividing by whatever value represents "1 meter" to produce a unitless int.

* Often operators don't make sense at all. (a << b) only makes sense if b is a unitless integer, for example.

I implemented most of this (but not absolute temperatures) as a Python library. The source is at <http://timmaxwell.org/svn/src/pychem/units.py>; and <http://timmaxwell.org/svn/src/pychem/std_units.py>. (Warning: these will download rather than opening in the browser.) I also found this: <http://pypi.python.org/pypi/units/>.

timmaxw··on A quick guide to our current privacy threats
What did SOPA have to do with privacy? I'm only aware of provisions for shutting down websites accused of copyright infringement.
timmaxw··on #1 CSRF Is A Vulnerability In All Browsers
Chrome allows you to set up multiple user profiles; each one is isolated from the others. Like Incognito mode, it's per-window, not per-tab. I have one for GMail, one for Facebook, and one for everything else.
timmaxw··on Why Lua?
I've used Lua for a couple of personal projects. My main objection to it is that accessing an undefined variable or member returns nil rather than throwing an exception. If you make a typo, you don't find out until you try to call or perform arithmetic on your nil value. Since inserting nil into a table just deletes that key of the table, the use site might be several steps away from the typo.

Other than that, I agree with the other posters here. It's an impressively lightweight and elegant language. It's especially good for embedding: its C integration is next to none, it's easy to sandbox if you want to run untrusted code, and the interpreter doesn't use any global variables.

timmaxw··on I want to fix programming
There's a bug in your definition of SORT.

The OP complains that it's easy to write imperative and functional programs that contain bugs; I don't think that declarative programs are fundamentally better.

timmaxw··on The Pirate Bay's statement on PIPA/SOPA
It's true that some pirates would have paid if they hadn't been able to pirate. But that's not the whole story: sometimes getting media for free makes people more inclined to buy it or related media later. I've heard on Hacker News that free music distributions can create an audience for live concerts. Another example is "freemium" software and services. At least one study (that I'm too lazy to look up) found that some people will pirate music to try it and then buy it if they like it. So you can't determine from theory whether piracy leads to less or more revenue; you need real data.
timmaxw··on How Heroku Works - Hiring
I can't open the link either. But your link doesn't seem to refer to the same article. Google's cache is from November 30th, and the article was posted today.
timmaxw··on Extreme concentration of wealth in US economy has led to central planning
> they'll just find a new revenue stream

I find it interesting to model gang violence as a market. If drugs are made legal, the demand for thugs will go down. If the supply of thuggery is elastic, then former gang members will leave gangs and find other work. If it's inelastic, they'll find other revenue streams.

timmaxw··on Angry Birds Maker Sued for Patent Violation
The problem is with the US patent system, not with the patent trolls.

The benefit to society of granting a patent is that it gives companies an incentive to do R&D. The cost to society of granting a patent is that other companies have to pay money to use the same idea. In a healthy patent system, the average benefit of a patent is equal to the average cost of a patent.

If the average benefit is higher than the average cost, the Patent Office should be more lenient in granting patents, or should lengthen the term of the patent. The former solution would increase the number of patents, but the new ones would have lower average benefit. The latter solution would reduce the average cost of a patent. Likewise, if the average benefit is lower than the average cost, the Patent Office should be stricter in granting patents or should shorten the term of the patent.

The average benefit from a software patent is quite low; most software patents are for an obvious solution to an uncommon problem, not for a clever solution to a common problem. The average cost for a software patent is (currently) pretty low too, because patent holders usually don't assert their rights; but if patent holders asserted their rights whenever they could, the average cost would be very high. The solution is for the US Patent Office to be much stricter about assigning software patents.

In a healthy patent system, patent trolls aren't a bad thing. Patent trolls raise the price of patents by buying and using them; that increases the incentives to do R&D. Since in a healthy patent system, the cost to society of the patent troll asserting its patent rights is equal to the benefits from the R&D that gets done, that isn't a problem.

← PreviousPage 5 of 5