You are viewing [info]2mojitos's Friends Page

Innovation’s Not The “Ah-Hah!” - blog.phpdeveloper.org » PHP

May. 26th, 2012 | 02:29 am
posted by: [info]planet_php

http://blog.phpdeveloper.org/?p=494

After reading through his “Confessions of a Public Speaker” (as a beginning speaker, I learned some good things from this one – I’d suggest it if you do any kind of speaking) I was anxious to check out some of Scott Berkun’s other books. The topics of some of the others didn’t really appeal to me, but the one that’s caught my attention recently is his “Myths of Innovation” book. I’m maybe a third of the way through it right now, and there’s one thing that keeps resonating in my mind as I go through it. In a previous chapter, he makes the point that innovation, despite what the history books and popular culture would have us assume – it’s less of an “Ah-hah!” and more of a “Finally!”.

See, most of the common stories of innovators out there leave out something that’s very important – the reference frame of their lives. They don’t provide a larger picture of who someone is (like Einstein or Newton) and how all of their work, everything they’ve done in their career led up to the discoveries that they’re known for.

I think this is important to remember as software developers, too. All of us start projects and never finish them, it’s just a fact of life in the world of a coder. We find something that we either think is the “Next Big Idea” or something that we’ll find amazingly useful and latch onto it, giving it our all for a week, maybe a month. Nine times out of ten, though, that project falls by the wayside. Now, don’t get me wrong, there’s some folks out there that do a great job with anything they touch, but for the average developer, it’s all about hacking away at the latest “shiny”.

Sometimes it’s about the technology (“everyone’s learning Backbone.js, why shouldn’t I?”) and other times there’s a bit of pride that kicks in (“I could do this so much better if…”) but there’s always one thing to remember. It doesn’t matter if the project you’re working on goes anywhere. Remember this. Just like some of the great innovators of the past, it takes a lot of dedication and work to get to be the “Ah-hah Guy” that wows the world with something new and amazing. Don’t forget that the code of the Next Great App isn’t just going to fly from your fingertips.

Work hard at your craft and it will pay off. Maybe not in fame and glory, maybe in making real, useful contributions to the culture and technology around you. Don’t stop trying to innovate, don’t focus on the failures and, above all, keep learning and keep doing.

Link | Leave a comment | Add to Memories | Share

PHP Coding Standards - Brian Moon

May. 26th, 2012 | 12:27 am
posted by: [info]planet_php

http://brian.moonspot.net/php-coding-standards

Update: Matthew Weier O'Phinney, one of the core members of the group, has cleared up the naming history in the comments.

During the /dev/hell podcast at Tek12, someone asked the guys their opinion about PSR. I did not know what PSR was by that name. A quick search lead me to the Google Group named PHP Standards Working Group. I had vaguely remembered a consortium of frameworks, libraries and applications that were organizing to attempt to make their projects cooperate better. But, this did not sound like the same project. Another search and I found the PHP Framework Interoperability Group on Github. A bit more searching led me to a post where apparently the PHP FIG changed their name at some point citing people not knowing what FIG meant. But, this is not a history post. The group had done some work on setting a standard for auto loaders in PHP. This is a very good thing and much needed. That is a real thing that impacts real developers.

The person asking the question had asked about PSR1 and PSR2. These are the first two standards proposals in the group and they deal with coding standards. There were mixed feelings in the room about the proposals. I asked (being me, probably with very little tact) why in 2012 were a group of really smart people still discussing coding standards such as tabs vs. spaces. Because this is what immediately came to mind for me.


Source: http://xkcd.com/927/

There are already coding standards for PHP and any other language out there. Why does anyone need to make a new one? For Phorum we chose the PEAR standard (ok, with 2 minor modifications). On top of that, every one of the projects in this group already have coding standards. Why not just pick one of those? Are 10 projects that currently have their own standards going to actually all change to something else? I highly doubt it. My guess is that, at best, they will all end up with a modified version of the groups standards.

This reminds me a lot of Open Source licenses. There are tons of these things. And in the end, most (GPL has its issues I know) of the open source licenses represent the same idea. I suppose you could say that most of all of them fall into GPL like or BSD like. Anyhow, I quit worrying about having my own license years ago. I now just use a BSD style license that you can generate with several online BSD license generators.

When I voiced my concern about what is, in my opinion, a waste of very smart people's time, my good friend Cal Evans (He has bled in my car. So, I think he is my friend. And I hope he feels the same.) said that I was misunderstanding the point of the group. It was a group of projects that were collaborating to try and use similar standards and practices to make the PHP OSS community better. And that is exactly what I thought PHP FIG was. However, the group name is now "PHP Standards Working Group". That reminds me of the W3C html Working Group. And in my mind that means a group that is deciding the future of a technology. In addition the proposal being discussed is titled "PSR-1, a standard coding convention for PHP". If you pair that with the name of the group, it sounds very authoritative. And I don't think that is by accident. If I was heading up such an effort, I would hope that every PHP developer on the planet would follow it too. If you saw Terry Chay's keynote at the PHP Community Conference last year, he talked about frameworks and platforms. He pointed out that the reason people like Facebook were sharing their data center technology was in hopes that people would start using it and it would become common. Thus meaning the equipment they are custom building would be cheaper and people they hire would already be familiar with it. But, if the point of the group is *only* cooperation between lage OSS PHP projects, I wish they would pick a name that is more indicative of that. As it stands, when I landed on the page, my immediate assumption was that this groups intention was to dictate to the rest of the PHP world how to write their PHP code.

In the end, cooperation is good. And if these guys want to cooperate I say more power to them. I just hope they get into really good things soon. Like, can we talk about a maximum number of files, functions or classes used for any one single page execution? *That* would be valuable to the PHP community. I can deal with funny formatting. I can't deal with poorly performing code that his dragged do

Truncated by Planet PHP, read more at the original (another 952 bytes)

Link | Leave a comment | Add to Memories | Share

phorkie 0.2.0: Elasticsearch - Christian Weiske

May. 25th, 2012 | 08:41 pm
posted by: [info]planet_php

http://cweiske.de/tagebuch/phorkie-0.2.0.htm

I've just released phorkie 0.2.0 which brings search functionality via Elasticsearch.

The nice thing about Elasticsearch is that it allows boosting of certain fields (paste title is higher ranked than the file content) and has a bunch of search query features:

  • Exclusion: +foo -bar
  • Logical OR: foo OR bar
  • Quoting: "foo bar"
  • Partial words: foo*
  • Restriction to certain fields: content:Hello

All of that was just there without me having to do any programming, whereas with MySQL this would have taken weeks to implement (query parsing and sql-mapping).

phorkie will work fine without an Elasticsearch service, but you won't see the search field in that case.

PEAR updates

While hacking on phorkie, I took the time to do fixes for libraries that I use here:

  • Services_Libravatar (federated, open source gravatar) nearly got a complete rewrite and is unit-tested now. Melissa merged my changes and released versions 0.2.0 and 0.2.1.
  • Date_HumanDiff (lib to display relative dates in a readable form like "2 hours ago") supports translations (en, de and el already there!) and custom times ("2 dozen seconds ago"). It's available in version 0.2.0.

Link | Leave a comment | Add to Memories | Share

Open Standards - The Better Way - Anthony Ferrara

May. 23rd, 2012 | 04:30 pm
posted by: [info]planet_php

http://blog.ircmaxell.com/2012/05/open-standards-better-way.html

There has been a lot of traction lately on the topic of the PSR "PHP Framework Interoperability Group". They are introducing two new proposed standards: PSR-1and PSR-2, both dealing with code formatting standards. Actually, calling them proposed is a bit of a short-fall, since they both already have enough votes to be approved. I have read both, and actually agree and think they are quite good.

However, there's a deeper problem. Open Standards is something that the internet was built upon. From HTTP, E-Mail and html to ECMA Script (JavaScript), OAuth and JSON, open standards are everywhere. The problem with the entire PSR process is that it is not designed to produce open standards. 
Read more »

Link | Leave a comment | Add to Memories | Share

JSDay & PHPDay 2012 Verona - Liip

May. 21st, 2012 | 11:16 am
posted by: [info]planet_php

http://feeds.liip.ch/~r/liip_blog_php/~3/GLV2QTdyOrs/jsday-phpday-2012-verona.html

From May 16th to May 19th the latest edition of jsDay and phpDay took place in Verona, Italy. Both are two-day conferences, the first one centered around JavaScript, the second around PHP (obviously). They are organised by the community (Grusp) which means they are much more focused on technology than on marketing. A number of Liipers were attending one or both conferences and some where even giving talks.

jsDay

JsDay directly started with a mindblowing talk by Mark Boas (The slides can be found here). He demonstrated his technique called "hyperaudio" which he uses to enhance audio content on the web with semantic information. Doing so he makes the audio content both crawlable by bots and accessible by visually impaired people. Also this technique gives great possibilities in terms of user interaction: It gets possible to highlight the currently spoken words, to spool exactly to a certain word or to switch the language of an audio file while it is playing.

Another highlight of jsDay clearly was JavaScript messiah Douglas Crockfords Keynote. He spoke about the functionality of our brain and why it makes it so hard for us to step away from subjective criteria when it comes to programming style.

In general the trends in the JavaScript world are all around emerging technologies like in browser data storage, 3D CSS transformations and the yet not mature native audio / video handling. A big topic was node.js which had a handful of talks devoted to it. Another trend in the JS microcosmos is the movement from simple libraries to ingenious JavaScript frameworks, as client heavy applications grow more and more complex.

phpDay

There have been a lot of interesting talks by people from the PHP community. The spectrum of talks covered a lot of ground, from highly technical aspects like how to build PHP extensions to more social or organisational aspects with talks about agile workflow and team communication. Below you find a list of the most remarkable talks:

Sum-Up

As always at conferences, a lot of interesting talks also happened at the infamous 'hallway track' and at the social events where we met many interesting people from all Europe and the states. The conference was really well organised by Grusp and the talks were well balanced.

team phpDay

At the social event on the phpDay we made a picture of all attending Liipers. Unfortunately Mirco wasn't around so Derick Rethans (!!) kindly agreed to play the body double for him :-)

The next jsDay/phpDay will take place again next year from May 16th to 19th. We really recommend to go to at least one of the conferences if not both. If you go you'd do well to reserve some time to visit the beautiful city of Verona.

Notice

Unfortunately, during the end of our stay two major incidents occurred in Italy which shocked the whole country. Our thoughts go out to all the people affected by those tragedies.

Link | Leave a comment | Add to Memories | Share

ru_swine

Бесит!

May. 23rd, 2012 | 12:27 pm
posted by: [info]provitiligo in [info]ru_swine



Оригинал от 20.05.2012

Link | Leave a comment {40} | Add to Memories | Share

ru_swine

Кредо Убийцы

May. 22nd, 2012 | 09:37 pm
posted by: [info]nevobidu in [info]ru_swine


Оригинал от 23.02.12

начало тут: раз, два, три, четыре.

Link | Leave a comment {59} | Add to Memories | Share

Don't Be Stupid, Grasp Solid - Slides - Anthony Ferrara

May. 22nd, 2012 | 10:00 pm
posted by: [info]planet_php

http://blog.ircmaxell.com/2012/05/dont-be-stupid-grasp-solid-slides.html

Here are the slides from my presentation at NYPHP on STUPID vs SOLID development. Click through to see the slides.

Read more »

Link | Leave a comment | Add to Memories | Share

Publication Standards Part 2: A Standard Future

May. 22nd, 2012 | 11:00 am
posted by: [info]alistapart

http://www.alistapart.com/articles/publication-standards-part-2-a-standard-future/

The internet is disrupting many content-focused industries, and the publishing landscape is beginning its own transformation in response. Tools haven’t yet been developed to properly, semantically export long-form writing. Most books are encumbered by Digital Rights Management (DRM), a piracy-encouraging practice long since abandoned by the music industry. In the second article of a two-part series in this issue, Nick Disabato discusses the ramifications of these practices for various publishers and proposes a way forward, so we can all continue sharing information openly, in a way that benefits publishers, writers, and readers alike.

Link | Leave a comment | Add to Memories | Share

Publication Standards Part 1: The Fragmented Present

May. 22nd, 2012 | 11:00 am
posted by: [info]alistapart

http://www.alistapart.com/articles/publication-standards-part-1-the-fragmented-present/

ebooks are a new frontier, but they look a lot like the old web frontier, with HTML, CSS, and XML underpinning the main ebook standard, ePub. Yet there are key distinctions between ebook publishing’s current problems and what the web standards movement faced. The web was founded without an intent to disrupt any particular industry; it had no precedent, no analogy. E-reading antagonizes a large, powerful industry that’s scared of what this new way of reading brings—and they’re either actively fighting open standards or simply ignoring them. In part one of a two-part series in this issue, Nick Disabato examines the explosion in reading, explores how content is freeing itself from context, and mines the broken ebook landscape in search of business logic and a way out of the present mess.

Link | Leave a comment | Add to Memories | Share