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

 



Forgot your password?
typodupeerror

Comment Re: PHP is great (Score 2) 281

So what you are saying is that you are a shit programmer and don't know squat about PHP. First of all, what the HELL are you doing using global variables? Can you say n00b? As for the libraries that are added and removed there are tons of ancillary libraries that are added, abandoned, and then removed by some watchful admin. All the primary libraries such as PDO or SimpleXML or GD are all maintained and have been for awhile now. Each version of PHP hangs around and gets maintained for a long while. So unless you are just blindly up doing major version jumps on your server you won't have any problems. Everything I need to do with it seems to stick with it for long periods of time. When they do get replaced it is with something much better and sticks around for a few versions with deprecation messages before it is phased out. Progress has to come eventually. Get over it whiner. Also, have you ever heard of a programming framework? You know, like Laravel, Symfony, CakePHP, CodeIgniter? Use one of those and you have even less to worry about. The maintainers of the various frameworks and packages take care of deprecated code for you. You just use their classes and functions. Easy-peasy! As for error handling, the built-in stuff is mostly just tools to peek at what went wrong. Use one of those frameworks and you get some awesome, robust solutions that work great. Plus you can get server plugins such as New Relic, Longview, or XDebug you can find a mountain of info about any variable or state or header or whatever else you need. While not everything you may want is directly built into the language I doubt you will find that with any language. That is just part of being a programmer. And I get it, you are inherently lazy being a programmer. So be a good little programmer and write a drop-in tool you can reuse and quit whining. With the advent of the PHP-FIG standards you have the whole community coalescing around some hard learned best practices that just about everyone agrees are the way to go. Once you start using those standards you will find yourself in great company. It is awesome! You will learn to be a better programmer and will be able to more efficiently do things and use a wider range of tools.

Comment Re:In a word... (Score 1) 1385

Definitely I would, especially if I don't have to go through the long waits and security that airports put us through. If it is anything like the train system I saw in London than I would use it in a heartbeat. It can be so freaking simple. Vacations to other parts of the country would be a lot lower in stress and more about relaxing. You don't have as high risk of death if the train fails. If the prices are cheaper than airline then I would use nothing but the train unless I was traveling internationally.

But I have looked at current domestic train prices and they are often as high as, if not higher than, airlines and they take 2 to 4 times longer to go from A to B. Of course this plan calls for a high speed line, so that may be significantly reduced. But if I could hop on train to Colorado or New York from Kansas City (where I live) then I would totally do it.

Comment Re:Obesity & Bacteria (Score 1) 397

Actually I am not making an excuse as to being overweight. Though I can see now why you think so. I am overweight because I ate too much for too long and I wasn't active enough to counteract it. However that said, the point of my post is that each person responds differently to food intake and different things you do and eat can effect how your body processes it. Also different people process food differently. So while I certainly did eat too much it takes more exercise for me to burn off the exact same meal as my friend. That is because our bodies respond differently, absorb a different number of calories and have different metabolic responses to food.

As for how I am eating, I know exactly what I am eating and I eat healthier than most people. I eat mostly lean meats, veggies, and fruit. I don't eat a lot of carbs (and calories are calories the real differences come from the other vital nutrients). My BPM goes up after eating grilled chicken and broccoli with a glass of water. Explain how that is unhealthy and I will give you an award. I have spent a lot of time over the last year improving my physical condition. To be honest prior to last year my food quality was not the problem. It was mainly quantity. I haven't ate much sugar or carbs or junk food for many many years. I do know my BMI and it is most definitely at an unhealthy level. But like I said I have been fixing that. The problem is my BPM has always increased after eating, even as a child. That has never changed. I have lost 50 pounds since last summer so my metabolism is changing, but it takes a lot more work in the gym than it ever takes my friend. He eats mostly junk food, not very healthy and he NEVER goes to the gym. He has been like this since we were kids. So it is obvious that our two bodies do not work the same at all. I do work with a personal trainer right now and have been for about 8 months now. What I have found though is that my body does respond differently than other people to the same numbers of calories and often even the same foods. Often those differences are subtle, sometimes they are not.

Your obviously too arrogant and incompetent to acknowledge that these subtle differences can have a huge impact on what kind of lifestyle person A has to lead versus person B to maintain the same weight. Explain to me how we have people that are rail-thin that do nothing but sit on their butts playing video games day in and day out. That get no exercise and eat tons of junk food and NEVER gain a pound. It is because their body responds differently than the bodies of others. That is the point I am trying to get across and any knowledge we gain that can help keep everyone healthier is beneficial.

I suspect from what you have written that you naturally have a body that has a higher common metabolism which you have augmented even more with exercise (this isn't bad but it does give you a blind bias towards fat people). You have probably always been the proverbial jock that could get away with eating a lot of calories even when being completely lethargic and having not negative impact on your body. You have this obsession with calling losing and gaining weight simple because your body responds quickly easily to modifications to your diet.

Talk to any biologist that has researched human and/or animal metabolisms and they will agree that different bodies simply work differently, even within the same species. If your body naturally produces higher levels of HGH the chances are that you will burn more calories with less effort and you will more easily build muscle. That is just one simple example. Look up Belgian Blue cattle, they are a great example of this. They are almost identical to other cows but their bodies produce more of a certain hormones that make them gigantic and covered in muscle.

Now I am not saying that some people's bodies don't respond to exercise or eating right, but some bodies respond stronger than others.

Note: I absolutely advocate exercise and a balanced diet. But I acknowledge that a diet that is balanced to one person won't necessarily be balanced for another. The more we learn about the human body the more we are able to realize and adapt to these differences. So get off your high horse and pull your head out of your rear.

Comment Re:Obesity & Bacteria (Score 4, Interesting) 397

Your post is highly misleading and presumptuous. First of all there is a lot more to it than eat X amount of calories and you will lose weight. Physical activity, of course, plays a role. But then there is also the chemical and metabolic response of the body that also has a tremendous influence as well as timing of when you eat, when you go to bed, how much sleep you get, the chemical effects of the food you eat on your body, and a whole host of other things.

Let me give you an example. Right after most people eat their heart rate and metabolic response drops, often they feel a bit less energetic and alert, and their body switches "modes" in how it burns energy, usually burning less and storing more at this point. However my body is different. When I eat my heart rate and metabolic response increases by anywhere from 20 beats per minute to 60 bpm. I get warmer, become more alert and more energized.

During that period immediately following eating I can usually exercise longer than other times and not feel tired at all. But ironically this doesn't mean that I am skinny. In fact I am obese. My body stores energy from everything and is VERY efficient at squeezing every last bit of energy and nutrition out of food. My best friend by contrast is skinny and would collapse if he at the same amount of calories that I do (I currently average between 1500 - 2000 calories a day). He has to eat at least twice as much as I do just to function. His digestive system is highly inefficient and his heart rate and metabolic response drops off after eating.

Now another thing that research has shown is that if you spread out your calories across 5 meals in a day you will burn more calories and store less than when eating the same number of calories in 3 or less meals in a day. This technique is used by many to help them lose weight to great effect.

So giving some blanket statements about getting fat or thin just don't apply. It really varies from person to person as to what things effect what people.

Comment Re:sure it is (Score 1) 1079

Not only is that a disgusting abuse of authority, but it is also illegal. He should have refused. The warrant had nothing to do with the pen and paper he was using during the search and everything to do with technology. Of course it is not like these "Officers" care about the letter of the law. That much is obvious. It is also quite apparent how ignorant they are when they took his ipod as part of the investigation. Unless it was an ipod Touch there is no valid reason to take it beyond it being an electronic device. Might as well have stolen his wristwatch for all the good it would do them. These members of police are examples of just how much ignorance of technology there is and how much authority is abused right here in this country.

Comment Re:Why not web stuff? (Score 1) 569

So by stigma you mean someone that adapts to changing times and learns many new technologies? I am down with that. I think the stigma is all in your head. Classic programming doesn't force you to branch out into other technologies (SQL, XML, web services, etc) as much as web development.

What is wrong with being a web developer in a time when more and more applications are being ported to a web-based setup? One of the many great things about being a web developer is you get to work with a very wide variety of technologies and other programming languages (Javascript, C#, VB, Java, Ruby, etc).

This would look great on a resume showing that you can pick up new programming languages and adapt to an ever-changing world instead of classic programmers that get stuck on the same programming language for decades. Go where the money is going, that is towards the web. The signs are there, desktop apps are on their way out and the world is becoming more and more cloud-based. The great thing about web development is you get to learn so many things that branching out into new apps and technologies will eventually become a breeze because you have already had to learn so much.

Also, if you use a language like PHP you don't have the frustrating issue of the stuttering debug method. Write code, save, compile, run code... problem found, trace bug, apply fix, save, recompile, run code... crap another issue, trace bug, apply fix, save, recompile, dang it a syntax error arrgg, fix code, save, recompile, test.....(you get my point). With PHP it is more like write code, save, test, found a bug, fix bug (tracing info comes with specific line numbers in errors, hooray), save, test, fix another thing, save, test, sweet it works!

I would think long and hard about becoming a stagnant desktop developer. Don't let the classical programmers confuse you!

Slashdot Top Deals

"It is better to have tried and failed than to have failed to try, but the result's the same." - Mike Dennison

Working...