Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:You guys are missing something. (Score 1) 271

Of course you have to have built on things throughout your career TANSTAAFL and all that. Point being, think strategically. Play to your strengths and to the true underlying needs you can meet, rather than chasing after the hot new technology trend that can have you chasing your tail.

But age is not the whole story. I didn't become any kind of developer until around 33, and certainly had no serious understanding of databases until my late 30s. And yet, here I am, a very much in-demand expert.

Comment Re:First of all (Score 5, Insightful) 271

Bingo. The real key is to go deep on something and specialize. As a web application developer approaching 50 who did a lot of database work, I realized I had put serious time into learning the ins and outs of the relational model, SQL, business rules thinking, etc... and I had also put lots of time into understanding Linux. Turns out database and Linux skills are in high demand. So I've dropped most of the web app programming (Honestly, in that domain you are competing with a worldwide talent pool, most of whom are willing to work cheaper than you) and really strengthened my enterprise database skills. I now do PostgreSQL consulting almost full-time, and really it is a pleasure to do more serious knowledge work instead of constantly scrambling for scut-level web application work.

Also as you age, put more time into the things that change least. SQL isn't going away anytime soon. Ditto for Linux. Web app frameworks change every freaking *year*. Leave that stuff to the young guys.

Comment Re:Postgres has referential integrity (Score 1) 320

How do OIDs solve this? Updating a record it still updating a record. OIDs don't magically make that problem go away.

One solves this problem the way one solves any other data problem: logical thinking and planning ahead. If you are creating a long-running business application where things like addresses may change, you design your database to take that into account. You store a timestamped address with every order record, or you store multiple addresses by date range. It's not exactly rocket science.

There is literally no reason to use OIDs except as a crutch when one has created a table without a primary or candidate key--and even then OIDs won't save you from bad logic, such as duplicate records or other idiocy.

BTW, it is important to also remember that OIDs are not enabled by default for new table creation. Many times the PostgreSQL core team has discussed whether to deprecate OIDs completely. The decision was made to keep them for two reasons: a) some applications still depend on them, however misguided their reasons and b) Some PostgreSQL add-ons and external solutions (replication, etc...) use them.

Comment Re:I thought we were over the whole SQL thing (Score 1) 320

I wouldn't even recommend bothering with hstore. There are several even better ways to use Postgres in a "NoSQL" setting.

For example there is the Mongres project, that lets a PostgreSQL database emulate the MongoDB protocol. So you could literally drop Postgres into a Mongo-powered application with not a single hiccup, and get a) better performance and b) all the back-end relational stuff you need when it comes time to do reporting or other business logic.

There's also the new JSONB datatype in PostgreSQL 9.4, which I would recommend over hstore if you want to just store "free-form" data in records.

EnterpriseDB did a very well-thought-out study on PostgreSQL/NoSQL.

Comment Re:Postgres has referential integrity (Score 5, Insightful) 320

That's not even close to what "referential integrity" means. In fact, it could be used to accomplish quite the opposite.

OIDs are one feature of PostgreSQL that should be buried inside the implementation and not allowed to be accessed from the developer side. Otherwise you are pretty much completely going around the whole point of the Relational Model. If you are developing an application in such a way that it needs pointers to rows, you might as well just store data on the filesystem and be done with it. Or use one of those fancy NoSQL thingies and enjoy your data corruption.

Comment Re:Easy life (Score 1) 208

"Lifting heavy" is relative to one's capabilities, genetics, age and so on. I don't mean you should lift beyond capacity to control a weight or keep proper form. And, lifting light is how you repair joints, IMHO. If there are joint problems, start light, do high reps, slowly and carefully focusing on range of motion and keeping joints seated right. Then as the body begins to adjust, gradually add weight, but never to the point that you are sacrificing form. Also, lifting heavy is only a small component of good fitness. Other sorts of high-intensity work (like rock-climbing, sprinting, swimming) help round out the picture, and I think even low-intensity exercise (long walks) fill out the picture completely. That which is highest intensity should be done to shortest duration.

Some people don't add a lot of muscle mass, but small gains are still gains ( Usually offset by fat loss, making the subject think nothing's happening). If you are adding strength you are going in the right direction.

Comment Re:Easy life (Score 1) 208

Really, I have to remind myself often that most people (even slashdot nerds) are simplistic binary thinkers. They latch onto a certain way of looking at something (ooh, I'm all sciency!) and try to hit everything with the same hammer.

What we are having here is not a scientific study. Nor is it a debate. What we are having here is a discussion. This being a discussion forum. When I bring up something anecdotal, it doesn't mean I am basing a decision or opinion purely on that anecdote. It just means I find it interesting and possibly indicative of a truth. I look at all sorts of anecdotes around me, I look at scientific studies, I look at statistical reports (statistics alone are not science), and I also like to use logical inference when I examine ideas (again, this is not science). When a broad preponderance of different types of evidence points me in a certain direction, I tend to give it credence. It's not an absolute, any more than science itself is a set of absolutes.

Here's an example of empiricism: every damn person on the planet knows that if you want to strengthen a muscle, you have to exercise it, and in general the more intense the exercise, the greater the gains. Of course there are limits after which too much exercise will be counterproductive, blah blah blah, but the core truth is there. Don't need a scientific study to prove that. It is part and parcel of everyone's experience, just like everyone knows you have to breathe in order to stay alive. When the variables get more complex of course it's not always so clear, but one has to be a particularly obtuse person not to agree that in general exercise leads to better health. By logical inference, better health would obviously lead to the likelihood of living longer. Where scientific studies help is in identifying just what the upper and lower bounds are to these benefits. But I'm not here to do your work for you. I'm just shooting the breeze on a Sunday afternoon. If you want that sort of information, complete with box plots, scatter charts, and explanations about sample size and selection bias, well you have access to the same information I do. Get to it.

Comment Re: Easy life (Score 1) 208

My overall takeaway from years of reading on the topic is that variety is key. Note that the cardiologist wasn't saying "only lift heavy", but just saying that it's a "should" (I.E. make it part of your routine). If you never lift heavy--as in pushing your body up to and past plateaus--your body never experiences certain types of hormesis. And heavy is relative. I wouldn't recommend some 70-year-old woman be deadlifting 300lbs, but there should be a certain amount of strength exercise that actually...exercises the muscle instead of just fatiguing it.

My routine is a combo of calisthenics, weights, general outdoor work (living on 2 acres), running on occasion, and sprinting on occasion. Let's just say my health and mental attitude have seen an absolute turnaround from the age of 45-49 as I implemented all this. Currently deadlifting up to 345lb and I can tell I'm nowhere near my limit yet.

Comment Re:Easy life (Score 2) 208

Exactly what anonymous said. Anything can be overdone, and this tends to happen when people go on crazes. The jogging craze was last generation's example. Jogging can be an excellent part of an exercise regimen, but when you do it to the exclusion of all else, for 2 hours a day... you're courting disaster. Ditto for the current "crossfit" craze, where people with zero experience are jumping around in the gym, lifting (or even throwing!) heavy weights with zero ramp-up and zero instruction on good form, and once again you're courting disaster

Comment Re: Easy life (Score 4, Insightful) 208

Yeah, and my experience is that a) most doctors are physically lazy and have abominable fitness, and b) they are stuck on years or even decades-outdated studies of fitness and diet. And, c) they tend to favor medical and pharmaceutical intervention rather than lifestyle changes. This is a natural outcome of how their money is made and their social position in Western society. Which is why I don't have *blanket* trust in their fitness recommendations as a majority. This particular cardiologist was doing his own original research, which is why he came to these conclusions.

I come from a family of doctors and medical people, BTW. I have no axe to grind. I just try to observe as clearly as possible.

Comment Re:Easy life (Score 4, Informative) 208

Yes really. Anecdotal evidence is still evidence. Consult a dictionary. You asked for citations, which I did not have at hand, but directed you to a couple sites that have lots of them. Knock yourself out.

There is no such thing as conclusive proof in any of these areas. I tend to prefer empiricism and general pattern-recognition to theory-directed research because in the area of health it is so fraught with false positives, statistical failures, presuppositions and downright fraud due to industry influence. But if you browse through PubMed or PLOS for research in these areas, you will be hard-pressed to find negative implications for weightlifting or strength training. Positive implications abound.

Slashdot Top Deals

This restaurant was advertising breakfast any time. So I ordered french toast in the renaissance. - Steven Wright, comedian

Working...