Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment This is a nothingburger article (Score 1) 159

I'm disappointed that Slashdot included this article, it's just the typical natural-fallacy junk science. If it's harmful, let's look at the actual good studies. Turns out, these artificial sweeteners, in the quantities normally consumed, are probably not a health problem, and are pretty definitely better for people than sucrose.

It seems like it's cheating to have sweet without the calories, like there's got to be some penalty to pay, but that's just not rational thinking, nobody is "keeping score" like this, we actually can have sweet flavors without high-calorie sugar content.

Comment Programming is more useful than math (Score 1) 218

They are looking at this backwards. The direct usefulness of mathematical skill is significantly less than the direct usefulness of computer programming skill. We should be teaching math with a stated secondary objective of teaching them logic and problem-solving skills useful for computer programming.

Comment Re:Maybe they used Ancestry.com? (Score 1) 281

(Little plug for Ancestry.com, since I work there: The company doesn't really do genealogical research, it's mainly a place for people to do theirs. Based on work others have done, it can give "hints" for managing your own trees. If your hints have incorrect information, it's really not their fault... kind of like complaining that "Slashdot is low quality, because they don't verify the accuracy of the comments people post.")

Comment Burning cash solves the problem (Score 1) 232

Whenever one party profits by another party being punished, there is a misaligned incentive. This applies to a large number of situations, from speed traps, to the Exxon Valdez disaster of 1989. Ponder for a moment how incentives would line up if, when someone was punished by law, NOBODY benefited. This can be accomplished by the guilty party literally destroying cash. Imagine the accountants showing up in the courtroom, carrying bags of cash that they had just withdrawn (old bills that need to be replaced anyway), and stuffing them into a special-purpose furnace, where everyone can witness the money being destroyed. (And no, giving the money to charity is still wrong, as then charities would have incentive for parties to commit wrongdoing and get caught.)

Comment Why did they use tenses? (Score 1) 393

So my address is "stays.moment.loving". (I don't care if you know where I live, don't freak out.) Which is unfortunately very different than "stay.moment.loving", or "stays.moment.love", or other variations. That's unfortunate. Did they need the extra address space that these conjugations permit? Seems more useful to be able to just translate the root words "stay", "moment", "love" to some other language and have it still work. Conjugations often don't translate well. What if they decreased the resolution to, say, 5m by 5m, could they just go by root words?

Also, you may still need a number, if you live on the 20th floor or something like that.

Comment We tried both, and MySQL was superior to PG (Score 1) 320

A few months back, we had completed initial development on a new persistence layer on a demanding application. We'd put it all into PostgreSQL, and were enjoying the easy JSON and other features. It worked great.

So we got it up and running on high-end hardware in our five data centers, then we turned on the pipes for all the writes. But our systems team members were going insane, trying to get High Availability working right. It turns out that there is just no good way to accomplish this in PostgreSQL. It could fail over to the slave if the master stopped responding, but fail-back was basically impossible. It had to do an rsync on the file system level, which was expected to fail. When it failed, the docs said, just do it again. It took almost a full day to run, each time.

And it failed with alarming regularity! When under load, every couple of days the database would just freeze for ten to fifteen minutes, choking on some non-scary query. It would just sit there, stuck. Calls to it would just block, and eventually timeout. When this happened, it would fail over to the slave, and we're days away from getting back to a sane state.

Don't think we didn't do our best to solve this issue. We spent many thousands of dollars on two different highly recommended consulting companies, who specialized in PostgreSQL. They came onsite and looked at everything, and recommended a number of configuration adjustments, but nothing helped.

In desperation, the project now seriously behind schedule, we worked over Christmas, and branched the code to use MySQL as the database, instead of PostgreSQL. Then we set up two parallel systems. Both on identical high-end hardware ($50,000 machines), one for each database, and turned on all the pipes.

The result? MySQL answered its queries in 50% less time than PostgreSQL. Plus we already knew that it did HA quite well, and it never just froze up like PostgreSQL would.

We have since completely obliterated all traces of PostgreSQL from our code base.

Comment Different suggestion - share your memories instead (Score 1) 698

Oh sheesh, I didn't expect to come across a Slashdot post that would make me cry. This is embarrassing, I'm at my desk at work!

As a father of six children (ages 4 through 19), I recommend not focusing on your daughters career. If she chooses something different, how will your video messages come across?

If I were in your shoes, recording videos for her life events, I would share similar experiences from my own life, share memories, and try to give advice on making choices that will lead to the best outcomes. For example, when she turns sixteen, I would share a bunch of snippets from my own life as a sixteen-year-old, what it was like, what things I did that were good, and what were mistakes.

Wishing you all the best. Hard to see my stupid screen now. Sheesh.

Comment The goal should be "destroy public transport" (Score 1) 237

Public transport is primarily funded by taxes. If a free-market alternative meets the needs of the people, why should we try to keep the government-run program alive? In fact, there's a good argument to shutting public transit down completely. If someone wants to go someplace, why should someone else be forced to subsidize the cost?

Slashdot Top Deals

"Most of us, when all is said and done, like what we like and make up reasons for it afterwards." -- Soren F. Petersen

Working...