Yahoo! PHP optimisation
So it sounds a lot like Yahoo's PHP project where they moved a bunch of Yahoo to PHP and developed a runtime that was optimised for speed. Interesting that Rasmus Lerdorf left Yahoo in November.
On Tuesday, Facebook is expected to unveil changes to PHP, the language that helped make the social networking site a success - along with millions of other web sites. SD Times has outed the planned change here. Facebook wouldn't provide details when contacted by The Reg but said it would make more details available Tuesday …
PHP is open-source. If you want to change it, you are free to do so. If you want to share those changes, you can also do that. If the community likes your changes, they may well be added to an official release.
"The PHP Group" controls the official PHP code, but if they reject a change that the community likes, they are free to create a "fork" of the official release, including the changes. (Picture the different Linux distributions. All based on the same code, but developed in different directions.)
It's open-source. Nobody controls it. They can only control -their- version of it.
This post has been deleted by a moderator
Komodo IDE supports PHP among many other scripting languages. I use it for Perl and absolutely love it - it just works - it got me off the anti-depressants* as I can now avoid 'orrible command-line debugs, scruffy, fiddly X-Window motif lego brick style 1990s GUI free-debuggers and having to insert lots of print STDOUTs in my code.
Don't know how well it works for PHP but I suggest you trial it.
*Actually I made that bit up.
"You'd still be better off using something like Java if you were starting from scratch- you certainly wouldn't need to worry about having to re-write the JVM at least!"
99% of projects I've been involved with using Java end up with convoluted under-performing bloatware. This may well be because of poor IDEs or poor frameworks but the bottom line is that it doesn't appear to be up to the job..... and that's without the religious arguments over which framework and how to take over the enterprise which end in stalled projects wand then everyone going their own way.....
This post has been deleted by a moderator
Spot on about your Java comments.
However, please take a look at Drupal (if you haven't done so) a very powerful web content management system, free, open source that is based on PHP and runs some high profile sites including whitehouse.gov amnesty.org mtv.co.uk and the upcoming data.gov.uk
When I say "involved with" I don't mean I was writing the Java!
I agree that Java need not be so bad but the fact remains that over the years I've seen a lot of projects using it fail to deliver and yes, probably because of poorly qualified developers. Although I think Java frameworks seem to lend themselves to these kind of mistakes more than I saw with C, C++ or C#.
Perhaps more on topic: I've found PHP to be a good compromise for getting things done fairly quickly and I have found it scale surprisingly well....
This post has been deleted by a moderator
one of the great things about PHP (and used to be Classic ASP) was that unlike .Net and Java you don't have to compile a complete application or solution and deploy that monolith to the web... you need to change something (even an include) you just edit it, upload the one file and you're good (assuming you tested it of course!)
the downside... performance compared to ASP.NET. I'm not a fan of java for anything user facing (just look how pretty ebay is!) but if PHP can retain the advantages that made it such a strong player while getting the sort of performance improvements Facebook need that would rock.
When we had a choice of migrating a project from Classic ASP to ASP.NET or PHP it was actually cheaper and quicker to go PHP. We didn't have too much performance problems (it was a bit better than the Classic ASP and gave similar user experience to comparable ASP.NET sites) and ironically more recently running it under FastCGI on IIS7 has given us a boost. JIT Compilation or a faster runtime would however be awesome.
They've just announced it here: http://www.facebook.com/note.php?note_id=280583813919&id=9445547199&ref=nf
Today I'm excited to share the project a small team of amazing people and I have been working on for the past two years; HipHop for PHP. With HipHop we've reduced the CPU usage on our Web servers on average by about fifty percent, depending on the page. Less CPU means fewer servers, which means less overhead. This project has had a tremendous impact on Facebook. We feel the Web at large can benefit from HipHop, so we are releasing it as open source this evening in hope that it brings a new focus toward scaling large complex websites with PHP. While HipHop has shown us incredible results, it's certainly not complete and you should be comfortable with beta software before trying it out.
HipHop for PHP isn't technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it. HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features ‚Äì such as eval() ‚Äì in exchange for improved performance. HipHop includes a code transformer, a reimplementation of PHP's runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations.
Social media megacorp Meta is the target of a class action suit which claims potentially thousands of medical details of hospital patients were shared with its Facebook brand.
The proposed class action [PDF], filed on Friday, centers on the use of Facebook Pixel, a tool for website marketing and analytics.
An anonymous hospital patient, named John Doe in court papers, is bringing the case — filed in the Northern District of California — alleging Facebook has received patient data from at least 664 hospital systems or medical providers, per the suit.
Judges in the UK have dismissed the majority of an appeal made by Facebook parent Meta to overturn a watchdog's decision to order the social media giant to sell Giphy for antitrust reasons.
Facebook acquired GIF-sharing biz Giphy in May 2020. But Blighty's Competition Markets Authority (CMA) wasn't happy with the $400 million deal, arguing it gave Mark Zuckerberg's empire way too much control over the distribution of a lot of GIFs. After the CMA launched an official probe investigating the acquisition last June, it ordered Meta to sell Giphy to prevent Facebook from potentially monopolizing access to the animated images.
Meta appealed the decision to the Competition Appeal Tribunal (CAT), arguing six grounds. All but one of them – known as Ground 4 – were dismissed by the tribunal's judges this week. And even then only one part of Ground 4 was upheld: the second element.
Opinion Consulting giant McKinsey & Company has been playing a round of MythBusters: Metaverse Edition.
Though its origins lie in the 1992 sci-fi novel Snow Crash, the metaverse has been heavily talked about in business circles as if it's a real thing over the last year or so, peaking with Facebook's Earth-shattering rebrand to Meta in October 2021.
The metaverse, in all but name, is already here and has been for some time in the realm of online video games. However, Meta CEO Mark Zuckerberg's vision of it is not.
Facebook parent Meta has settled a complaint brought by the US government, which alleged the internet giant's machine-learning algorithms broke the law by blocking certain users from seeing online real-estate adverts based on their nationality, race, religion, sex, and marital status.
Specifically, Meta violated America's Fair Housing Act, which protects people looking to buy or rent properties from discrimination, it was claimed; it is illegal for homeowners to refuse to sell or rent their houses or advertise homes to specific demographics, and to evict tenants based on their demographics.
This week, prosecutors sued Meta in New York City, alleging the mega-corp's algorithms discriminated against users on Facebook by unfairly targeting people with housing ads based on their "race, color, religion, sex, disability, familial status, and national origin."
Facebook owner Meta's pivot to the metaverse is drawing significant amounts of resources: not just billions in case, but time. The tech giant has demonstrated some prototype virtual-reality headsets that aren't close to shipping and highlight some of the challenges that must be overcome.
The metaverse is CEO Mark Zuckerberg's grand idea of connected virtual worlds in which people can interact, play, shop, and work. For instance, inhabitants will be able to create avatars to represent themselves, wearing clothes bought using actual money – with designer gear going for five figures.
Apropos of nothing, Meta COO Sheryl Sandberg is leaving the biz.
An ongoing phishing campaign targeting Facebook users may have already netted hundreds of millions of credentials and a claimed $59 million, and it's only getting bigger.
Identified by security researchers at phishing prevention company Pixm in late 2021, the campaign has only been running since the final quarter of last year, but has already proven incredibly successful. Just one landing page - out of around 400 Pixm found - got 2.7 million visitors in 2021, and has already tricked 8.5 million viewers into visiting it in 2022.
The flow of this phishing campaign isn't unique: Like many others targeting users on social media, the attack comes as a link sent via DM from a compromised account. That link performs a series of redirects, often through malvertising pages to rack up views and clicks, ultimately landing on a fake Facebook login page. That page, in turn, takes the victim to advert landing pages that generate additional revenue for the campaign's organizers.
Cambridge Analytica is back to haunt Mark Zuckerberg: Washington DC's Attorney General filed a lawsuit today directly accusing the Meta CEO of personal involvement in the abuses that led to the data-slurping scandal.
DC AG Karl Racine filed [PDF] the civil suit on Monday morning, saying his office's investigations found ample evidence Zuck could be held responsible for that 2018 cluster-fsck. For those who've put it out of mind, UK-based Cambridge Analytica harvested tens of millions of people's info via a third-party Facebook app, revealing a – at best – somewhat slipshod handling of netizens' privacy by the US tech giant.
That year, Racine sued Facebook, claiming the social network was well aware of the analytics firm's antics yet failed to do anything meaningful until the data harvesting was covered by mainstream media. Facebook repeatedly stymied document production attempts, Racine claimed, and the paperwork it eventually handed over painted a trail he said led directly to Zuck.
A bipartisan group of US lawmakers has proposed legislation that would likely force Alphabet's Google, Meta's Facebook, and Amazon to divest portions of their ad businesses.
The bill, called the Competition and Transparency in Digital Advertising Act (CTDA), was introduced on Thursday by Senator Mike Lee (R-UT), with the participation of Senators Amy Klobuchar (D-MN), Ted Cruz (R-TX), and Richard Blumenthal (D-CT).
The bill would prevent large ad companies from participating on different sides of the ad transaction chain. Large ad firms could operate supply-side brokers selling publisher ad space, demand-side brokers selling ads, or ad exchanges connecting buyers and sellers – but not more than one of these.
At Meta's first Conversations keynote yesterday, the company announced the WhatsApp Cloud API, aimed at improving the customer service experience for businesses of all sizes.
Meta already has the WhatsApp Business API, the first revenue-generating enterprise product for the otherwise free messaging app, where companies pay WhatsApp on a per-message basis and can use the platform to direct customer communications to other lines like SMS, email, other apps, and more.
It's basically another online presence where enterprises can set up shop to make it easier for customers to get in touch. But the WhatsApp Business API is on-premises and would normally need a solutions provider like Twilio to facilitate back-end integration.
A newly implemented e-commerce rating system in the city-state of Singapore has rated Facebook's Marketplace as the least trustworthy e-commerce platform, behind Amazon and its Alibaba-owned Asian analogue Lazada.
The ratings system, known as the E-commerce Marketplace Transaction Safety Ratings (TSR) [PDF], was launched on May 14th by the Inter-Ministry Committee on Scams (IMCS).
The four-tier rating scheme rates e-commerce players on guarantees of user authenticity, transaction safety, dispute resolution, and ability to act effectively to protect customers.
Biting the hand that feeds IT © 1998–2022