Re:'register_globals' considered evil?
on
PHP 5 Beta 1
·
· Score: 1
Ahhhhhhhh *bing* -- light went on.
Thank you, makes perfect sense.
Re:'register_globals' considered evil?
on
PHP 5 Beta 1
·
· Score: 1
Maybe you can explain the issue to me a little more clearly...
Say I have a form var named "bob". On the PHP on the other side of the submit button, I can do
mysql_query($bob);
or
mysql_query($_REQUEST["bob"]);
Just switching over to an array of vars instead of 'instant globals' isn't by-and-of-itself any more secure, is it?
I'm genuinely curious...:)
Re:Turning into Java?
on
PHP 5 Beta 1
·
· Score: 1
I don't think you can fairly call it a "language flaw" when they designed it without multiple inheritence for a reason. It's not like they finished it all up and said, "Oh crap! We forgot multiple inheritence!"
Re:No Overtime No Vacation
on
Working Hard?
·
· Score: 1
I wonder what "average" workplace you worked in. Occurs to me that the stats say the vast majority of us work for small businesses.
I don't know too many of those that match your depressing vision of "big corporate" America.
It's totally true about the big companies, but I hardly call them "average".
Good luck in your non-cubicle job!:)
Re:I assume it touches on copying
on
Altered Carbon
·
· Score: 5, Funny
Seeing that it is government that grants us artificial things such as "copyright" in the first place, I don't see the issue. DoD takes Linux, monkeys with it, keeps it for themselves, if they like.
True, but if you break it down to the molecular level, a gene is a gene is a gene. ACTG and all that. Doesn't matter if it comes from a monkey or a marigold.
Selective breeding is logically identical to "artificial" gene splicing, just not as precise (and gene splicing ain't that precise).
I'm not saying that we should just run with it... just don't hide and be scared, either.
If I buy a puppy with prize-winning parents, I fully expect the breeder to demand that I do not turn around and breed that puppy with others. Different reason (patent law vs. contract) but the same outcome.
I don't think anyone will force glowing fish (etc) on you. You have a choice to not buy from that breeder.
And don't think it'll ever come to the point where there are no other places to get fish. That's just silly.
The idea that nature, left untouched by man, is in some sort of "equilibrium state" is naive. Perhaps you didn't mean that, but that's what it sounds like.
Also, organic farms are not necessarily "better" for the environment than any other farm. They produce less per square acre (feeding fewer people), and that "natural fertilizer" isn't all that great either.
I could continue poking holes here, but what's the use.
But we've been modifying crops and their genes for thousands of years. Occasionally there are mistakes (dutch elm disease, potato blights, shrimp plagues...).
The world hasn't ended, as far as I'm aware. A gene is a gene is a gene, you can't say splicing an animal gene into a plant is any worse than splicing two plant genes, logically.
The question I'd have for the "world-is-ending" scenarios... If we can engineer a plant to resist A, then B comes and wipes out all the engineered plants, don't you think we could engineer next season's plants to resist B?
The *global* crop will never be a monoculture. We can engineer new diversity in as needed.
So let's see, a RH box with all services (other than perhaps SSH if you're into getting home from the outside) shut down, and iptables set to basically drop everything...
Yeah, that would suck, you're right. Every machine I have should be a part of someone else's DDoS attack by now if you were right. We should bow before your expertise.
There's nothing in the Constitution that says you have some kind of right to NOT have your vehicle's data recorded.
There's also nothing in the Constitution that says you can't disable it, so wait a little while, there'll be some kind of mod chip (like someone else here said).
What, so the government collected over 2 TRILLION in revenues last year (source: IRS about page), and they need a little more?
Anyone wonder where all this American obesity comes from, just look towards your elected spenders, I mean officials.
Re:Buy a Book v.s Web Resources
on
PHP Cookbook
·
· Score: 1
The only trouble I see with the web site and any of these books is that there's never any discussion of "best practices".
Just because I can easily find a way to do X on the php.net site (which is admittedly where I've learned shitloads), doesn't mean the methods found are any good...
PNG works fine in IE if you work them 'down' to a GIF-like level: No alpha.
So you can either give up, or choose to use PNG at all times and work with the browser's limitations. Eventually, people will start to notice that you have no GIFs.
Eventually... though you're only really targeting savvy users since the vast majority doesn't know a GIF from Jiff peanut butter...
Wow you're pessimistic. Perhaps you're right. But to me, at least someone is looking at it. Someone is paying attention to the idea that spectrum use isn't as "good" as it could be.
I don't pretend to know a lot about it, but I do know I hear a lot of complaining, particularly around here. So why not take advantage of the fact that they're going to spend a year studying the "issue" and speak up? Try something positive.
I find it hard to believe that anyone who wants it can't get cable. I've seen many shady-looking areas around town (DC), and there are still plenty of houses with trashed yards, broken shingles, paint peeling..... and a nice DTV dish hanging off the side of a deck.
The "I can't afford cable" excuse is just that.
Props to the peeps who've responded in this thread with the "privilege not a right" point. (check out my sweet teenager speech pattern there. I am so cool)
Yeah, we need a government agency to tell us what we can leave in a cache.
Aye carumba!
The parks certainly have a point, but I suspect eduction of your average geocacher would be much more useful. I mean, there's no agency regulating what people can leave behind when they go on a hiking trip, is there? It's common sense and common courtesy more than anything else.
I suspect that geocaching.com might do a better job of educating people as to what's appropriate for a cache (ie, balloons = bad for the most part).
Ahhhhhhhh *bing* -- light went on.
Thank you, makes perfect sense.
Maybe you can explain the issue to me a little more clearly...
;
;
:)
Say I have a form var named "bob". On the PHP on the other side of the submit button, I can do
mysql_query($bob)
or
mysql_query($_REQUEST["bob"])
Just switching over to an array of vars instead of 'instant globals' isn't by-and-of-itself any more secure, is it?
I'm genuinely curious...
I don't think you can fairly call it a "language flaw" when they designed it without multiple inheritence for a reason. It's not like they finished it all up and said, "Oh crap! We forgot multiple inheritence!"
I wonder what "average" workplace you worked in. Occurs to me that the stats say the vast majority of us work for small businesses.
:)
I don't know too many of those that match your depressing vision of "big corporate" America.
It's totally true about the big companies, but I hardly call them "average".
Good luck in your non-cubicle job!
So you really could go fuck yourself?
Sorry.
Well there you go. Why the hell are the feds subsidizing libraries anyway? Seems to me it should all be locally-run.
Everyone always cries about IE not supporting all the tricks on PNG...
But, you can 'imitate' the hand-cuffed style of GIFs VERY EASILY and IE does work with them!! Come on people!
I can't figure out why any self-respecting geek would use a GIF. They SUCK. The only thing I can think of is that people are just fucking lazy...
Seeing that it is government that grants us artificial things such as "copyright" in the first place, I don't see the issue. DoD takes Linux, monkeys with it, keeps it for themselves, if they like.
What's the trouble?
True, but if you break it down to the molecular level, a gene is a gene is a gene. ACTG and all that. Doesn't matter if it comes from a monkey or a marigold.
Selective breeding is logically identical to "artificial" gene splicing, just not as precise (and gene splicing ain't that precise).
I'm not saying that we should just run with it... just don't hide and be scared, either.
If I buy a puppy with prize-winning parents, I fully expect the breeder to demand that I do not turn around and breed that puppy with others. Different reason (patent law vs. contract) but the same outcome.
I don't think anyone will force glowing fish (etc) on you. You have a choice to not buy from that breeder.
And don't think it'll ever come to the point where there are no other places to get fish. That's just silly.
The idea that nature, left untouched by man, is in some sort of "equilibrium state" is naive. Perhaps you didn't mean that, but that's what it sounds like.
Also, organic farms are not necessarily "better" for the environment than any other farm. They produce less per square acre (feeding fewer people), and that "natural fertilizer" isn't all that great either.
I could continue poking holes here, but what's the use.
But we've been modifying crops and their genes for thousands of years. Occasionally there are mistakes (dutch elm disease, potato blights, shrimp plagues...).
The world hasn't ended, as far as I'm aware. A gene is a gene is a gene, you can't say splicing an animal gene into a plant is any worse than splicing two plant genes, logically.
The question I'd have for the "world-is-ending" scenarios... If we can engineer a plant to resist A, then B comes and wipes out all the engineered plants, don't you think we could engineer next season's plants to resist B?
The *global* crop will never be a monoculture. We can engineer new diversity in as needed.
So let's see, a RH box with all services (other than perhaps SSH if you're into getting home from the outside) shut down, and iptables set to basically drop everything...
Yeah, that would suck, you're right. Every machine I have should be a part of someone else's DDoS attack by now if you were right. We should bow before your expertise.
hahahahahaaha
Well the 'overrated' mods I can maybe understand, but the 'redundant'? Mine was the third post. LOL
Oh well, win some, lose some.
At least you came up with something for the "DC"... I drew a blank. :)
There's nothing in the Constitution that says you have some kind of right to NOT have your vehicle's data recorded.
There's also nothing in the Constitution that says you can't disable it, so wait a little while, there'll be some kind of mod chip (like someone else here said).
Man, tough morning, first I'm thinking something about WMDs, then I'm thinking some kind of zany religious shit (What Would... DC? Huh?).
Then I realize it's Mac-related, and so it is kind of zany religious shit (as if us linux-ites are drinking any less kool-aid).
What, so the government collected over 2 TRILLION in revenues last year (source: IRS about page), and they need a little more?
Anyone wonder where all this American obesity comes from, just look towards your elected spenders, I mean officials.
The only trouble I see with the web site and any of these books is that there's never any discussion of "best practices".
Just because I can easily find a way to do X on the php.net site (which is admittedly where I've learned shitloads), doesn't mean the methods found are any good...
PNG works fine in IE if you work them 'down' to a GIF-like level: No alpha.
So you can either give up, or choose to use PNG at all times and work with the browser's limitations. Eventually, people will start to notice that you have no GIFs.
Eventually... though you're only really targeting savvy users since the vast majority doesn't know a GIF from Jiff peanut butter...
Oh come on now. "As a web designer". You can replace your GIFs with PNGs lacking alpha any time you want. They look FINE on IE.
Try out http://www.hazardmaps.gov. No GIFs in sight/site (well, maybe some in the legend area).
You're just lazy if you use GIFs.
Wow you're pessimistic. Perhaps you're right. But to me, at least someone is looking at it. Someone is paying attention to the idea that spectrum use isn't as "good" as it could be.
I don't pretend to know a lot about it, but I do know I hear a lot of complaining, particularly around here. So why not take advantage of the fact that they're going to spend a year studying the "issue" and speak up? Try something positive.
I find it hard to believe that anyone who wants it can't get cable. I've seen many shady-looking areas around town (DC), and there are still plenty of houses with trashed yards, broken shingles, paint peeling..... and a nice DTV dish hanging off the side of a deck.
The "I can't afford cable" excuse is just that.
Props to the peeps who've responded in this thread with the "privilege not a right" point. (check out my sweet teenager speech pattern there. I am so cool)
Yeah, we need a government agency to tell us what we can leave in a cache.
Aye carumba!
The parks certainly have a point, but I suspect eduction of your average geocacher would be much more useful. I mean, there's no agency regulating what people can leave behind when they go on a hiking trip, is there? It's common sense and common courtesy more than anything else.
I suspect that geocaching.com might do a better job of educating people as to what's appropriate for a cache (ie, balloons = bad for the most part).