Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:inherently insecure? (Score 1) 229

The usual "haven't really used PHP, but read enough rants to know it".

1. Culture. For a long time the mysqli library did not allow the use of parameterized queries leading to the unhealthy culture of concatenating or interpolating sql queries and even "require" arguments.

That's the first version of mysqli from 2003. In line 148 you'll find: "PHP_FUNCTION(mysqli_bind_param)". Mysqli had it since the beginning.

3. super-weak type system, meaning that you can never trust what you expect to be an integer to be just that.

If its type is int it's an int. Nothing unexpected. Or do you mean you can't trust HTTP, because a client could send nonnumerical values in a header that should be numeric. You see it's usual on the web to have everything transfered as string and PHP is made for this usecase. But if you don't have data from outside you don't have these uncertainness.

4. stupid attempts to accomodate developers and save LOCs by introducing "magic quotes", superglobals and the ability to "automagically" map query parameters to global variables.

One thing are mistakes made years ago. The other is not breaking existing code in a minor version. Someone still using stuff like magic quotes has turned it on on purpose or wouldn't read any warning anyway.

4. The fact that PHP is merely a glue layer, relying on binary extensions written in C with the usual buffer overflows, memory corruptions etc.

PHP isn't just a glue layer at least since PHP 5. And if C is so bad, what are all the other scripting languages written in?

Comment How's this going to work?? (Score 5, Insightful) 143

Obviously, if MSFT is interested in "Yahoo Search" as an effort to mount a challenge against Google, it isn't really interested in Y!'s technology, but rather its traffic. Obviously, that traffic flows mostly from visits to www.yahoo.com.

Now, if MSFT, say, goes through and buys just the Yahoo Search division, it sounds like Yahoo is free to go become a content/media/etc. company free of worrying about Google and search.

My question: who gets domain over the homepage, Yahoo.com? If Yahoo retains Yahoo, but MSFT owns the little search box on the page, then who decides how prominently the search is featured on the homepage, how it is integrated into the content, etc.? Yahoo would have incentive to make the content front and center, and who cares about the search box...

It might be hard for MSFT to integrate all of Yahoo, but it's even harder for MSFT to integrate part of Yahoo...

I still expect a full acquisition to occur. Whether its $32, $33, or $34 or something else, we'll see...

Comment And on the plus side. of plus-size.. (Score 5, Funny) 1083

Weighing more makes us harder for the aliens to suck out of our cars, the reserves mean we'll last longer in the coming famine years, and if any skinny little vegans give us any lip, all we gotta do is sit on 'em to quash the noise...
Seriously, extreme obesity is a darwin rule in action, usually - nobody wants to breed with us, and heart disease/stroke usually kill us "early" - rather like gay marriage, if you don't like 'em, don't join 'em, otherwise, back off: It's hard enough living in a world that wasn't built for us without having some smug, self-righteous ass-hat making comments because, while normal, we don't fit average... only made the worse when it's people who want their particular outside-of-average needs respected who fail the tolerance test...
Censorship

Submission + - Flickr Censorship Debate Rages On (thomashawk.com)

An anonymous reader writes: Beginning last Wednesday, Flickr users in Germany, Hong Kong, Singapore and South Korea all had their accounts downgraded to "safe viewing" only by Yahoo's popular photo sharing site Flickr. What followed was a loud backlash, particularly from Germans, against the site. Their main photo explore page was flooded with protest photos and now over 3,000 comments have been left in a popular forum on the topic. Flickr denies the censorship charges and cites instead local laws that are preventing them from allowing these 3 countries and city complete access to photos on Flickr. Flickr Photographer Thomas Hawk provides an update on the status of this issue as well as a YouTube video reporting in more depth about what has gone on. http://thomashawk.com/2007/06/update-on-censorship -problem-on-flickr.html
Censorship

Submission + - Flickr users revolt vs. filtering of "unsafe&# (laist.com)

A concerned citizen writes: Following on from Flickr censoring one user, and China censoring Flickr, the Yahoo owned website have now begun forcefully filtering out photos deemed as "unsafe" for users in Singapore, Germany, Hong Kong and Korea. Judging by the number of protest photos showing up in their "interesting photos from the last 7 days" (about 1 in 5), this revolt could rival the recent AACS key debacle.
Censorship

Submission + - Flickr censorship also in Germany (heise.de)

perreira writes: "Flickr is now censoring all pictures which are marked as "moderate" or "restricted" for users in Germany, Singapore and elsewhere. The censorship in germany might have been caused by pictures appearing on flickr containing Nazi-symbols which are illegal in germany. But the filter is going too far and censoring stuff which is perfectly legal to view. Discussion is happening here: — http://www.flickr.com/groups/404938@N23/discuss/72 157600347681500/http://www.flickr.com/help/forum/en-us/42597/"
Censorship

Submission + - Yahoo censors Flickr images in Germany (flickr.com)

janoc writes: Apparently not only China is censoring Flickr. Flickr has recently introduced filters to filter out images deemed inappropriate. Unfortunately, the filters are now forced also on the German users (together with Singaporeans and Korean users). Photos marked "moderate" or "restricted" are invisible even to their own authors if they happen to be in one of the restricted countries. However, users from elsewhere can still see them just fine if they disable the "Safe search" feature in preferences — this option is not available to Germans anymore. There is a large discussion about this issue going on here: link.
Slashdot.org

Submission + - " "

An anonymous reader writes: "






"
Slashdot.org

Submission + - OMG!!! Ponies!!! All Year Round!!!

nbritton writes: As of version 1.8, the OMG!!! Ponies!!! style is available as an option in Slashdotter. For those not in the loop, Slashdotter is a Firefox extension that adds customization to the Slashdot website. Features include the ability to auto-add cache links after story links, a quick-reply feature that adds a 'Reply' option to the right-click menu when you select text in a comment, the option of styling all of Slashdot's pages like a chosen Slashdot section, links in the comment sections that allow you to toggle open/closed all of a comments replies, and more. All of Slashdotter's features are optional.

You can download Slashdotter here and here
Handhelds

Submission + - iPhone to Use XScale Processor

Tony Dennis writes: While there is much uncertainty surrounding the new iPhone, another piece of the puzzle has been solved: the iPhone will use the XScale processor. Dario Bucci, Intel's CEO of the Italian operations, stated in an interview with Il Sole 24 Ore, a local paper, Apple has turned to Marvell [Italian] to power their revolutionary cell phone. With this being the case, did Intel give up on the XScale architecture a little too quickly?
Networking

Submission + - How To Set Up Linux As A Dial-In Server

hausmasta writes: "This document describes how to attach modems to a Linux box and allow it to receive calls to connect users to the network. Its like being your own ISP (Internet Service Provider). If your Linux box is connected to the Internet, then the users will also be connected to the Internet. Your Linux box becomes a router. This is also known as RAS (Remote Access Services) in the Microsoft world. In the Linux world its called PPP (Point to Point Protocol).

http://www.howtoforge.com/linux_dialin_server"
Portables (Apple)

Submission + - iPhone to use LLVM?

Cyberax writes: "Recently Apple has contributed ARM support for LLVM. Some people speculate that it might be used for iPhone applications. Might it be possible that iPhone will allow to run arbitrary applications in a 'sandbox'?"

Slashdot Top Deals

The Tao is like a glob pattern: used but never used up. It is like the extern void: filled with infinite possibilities.

Working...