Bananas Development Blog: Archives

Wie viele Internet Adressen gibt es eigentlich ?

Hmm ich denke niemand weis es genau, aber der folgende Bericht hat ein paar interesante Zahlen:

"An average person would need six hundred thousand decades of nonstop reading to read through the information,"


1 - China (298,000,000 users, or 22.4% of their population)
2 – US (227,190,989, or 74.7%)
3 – Japan (94,000,000, or 73.8%)
4 – India (81,000,000, or 7.1%)
5 – Brazil (67,510,400, or 34.4%)

Australia comes in at 25th, with 16,926,015 internet users.


How big is the internet?

Banana
out.

Reguläre Ausdrücke (regular expressions)

Regular expressions sind was tolles, aber auch nicht einfach.

Hier mal ein Beitrag der auch beispiele aufzeigt und die Funktionsweise erklärt.

For many beginners, regular expressions seems to be hard to learn and use. In fact, they're far less hard than you may think. Before we dive deep inside regexp with useful and reusable codes, let's quickly see the basics:


Darin sind enthalten:
+ Validate domain name
+ Enlight a word from a text
+ Enlight search results in your WordPress blog
+ Get all images from a HTML document
+ Remove repeated punctuation
+ Find page title
+ (...)

Getting started with regular expressions

Banana
out.

Wechsel von ZendStudio nach Komodo

Ich habe mal den Wechsel versucht und die Erfahrung damit niedergeschrieben.

Darin ist auch erklärt wie man Komodo und XDebug schon miteinander verbindet und auch von Browser aus debugger kann:

Wechsel von ZendStudio 5.5 zu Komodo 5.1

Banana
out.

Goodby Apple

Hmm Apple Produkte sind schön und toll. Aber irgendwie ist da immer ein Haken...

I've owned a lot of iPods. My wife has owned a lot of iPods.

Not anymore.

For the longest time, I could use gtkpod to seamlessly access my iPods from my Ubuntu desktop. It initially took some reverse-engineering effort to understand the iPod's data format to be able to access it from non-iTunes software, but it was possible. All of a sudden, Apple is trying everything they can to prohibit interopability.


Goodbye Apple

Banana
out.

Tabelle mit Javascript verbessern

Tabelle an sich können ja nicht viel...
Ok die Daten tabellarisch darstellen. Aber was noch ?

Dazu braucht man Javascript.

Hier kommt nun eine Liste mit Beispielen wie man seine schlichte HTML Tabelle aufpeppen kann.


Table is an excellent way of presenting information, especially when a company wants to cite various prices for its services or products. For instance, some websites require users to sign up different levels of membership in order to access certain exclusive contents. They can present to users the distinct features that each level has to offer in a table-like format. Depending on the content, tables can be good for arranging many other kinds of data for deeper clarity other than pricing.

Creating a table is easy, but organizing data in an easy-to-understand tabular format together with an appealing layout is often challenging. Most of us have came across numerous tables on the net, and some of these can be rather plain-looking ones with no or minimal design whatsoever. However, we are about to show you that tables need not be such uninteresting and boring visual communication. It can be uniquely designed to suit your web content and stand out from the vast array of tables from websites all over the world. Also, we’ve put together a list of useful scripts to help you get the best of of table display.


HTML Table Building: 30+ Beautiful Examples and Useful Javascripts

Banana
out.

shell-fu

Ich hatte ja mal über Commandline-Fu berichtet.
(Mittlerweile habe ich sogar eine Seite darüber auf meiner Homepage.)

Nun denn bin ich über was ähnliches gestoßen:

Shell-fu is a place for all those little command line goodies that you come across and then can never find again when you need them. Hopefully we'll end up with a comprehensive and easily usable resource for anyone working with the shell. We've a little way to go yet, and we'd appreciate your comments (just hit the 'Contact' link in the menu above).

If you see an entry you like (or dislike) please use the arrows to vote up or down. You can also submit your own tips/tricks and they will be added to the site once checked over by our moderator monkeys.

[shell-fu]$

Das ergänzt sich ganz gut zu Commandline-Fu

Banana
out.

Vertraue niemals Benutzereingaben. Einführung

Hier mal eine kleine Einführung wie man Benutzereingaben von einem Formular aus filter und sicherstellen kann, das diese nichts falsches machen.

This article is an attempt to show how input from web based forms can be dealt with safely. The first and most fundamental rule in security is 'NEVER TRUST USER INPUT'. Just in case this is not entirely clear, lets go over it again.. 'NEVER TRUST USER INPUT'. Whether it be by user stupidity or an attack from a malicious user, every piece of information you get from userland should be treated as suspect. Only by vigilantly adhering to this policy will your scripts and information be secure.

The second rule deals with a legacy from earlier PHP versions.
Never, ever, ever, ever use register globals
PHP now has super globals and it is HIGHLY recommended to use them.
This article is by no means a complete security run down, simply and explanation of a single facet of securing your scripts. At the absolute least, variables must be checked for type and length. In this tutorial we will take some user input from a web form, put it into a database and email the user a message thanking them for their input.


Validating user input in PHP By Kevin Waterson

Banana
out.

CSS Tips und Tricks, ne Menge von...

CSS ist ja was tolles.

Nur läuft man die Gefahr, dass es unübersichtlich, zu viel und unnötig wird.
Daher muss man bei CSS auch darauf achten, es nicht zu übertreiben. Denn selbst wenn es eigentlich entwas vereinfachen soll, kann man vieles leider damit falsch machen.

Hier nun eine Liste die viele Dinge anspricht auf die man achten sollte:

CSS is almost certainly one of the best developments in web design since the first graphical web browsers were adopted on a wide scale. Where tables created clunky, slow-loading pages, CSS created much more streamlined and usable web pages. Plus, CSS has allowed designers to achieve a number of different styles that used to only be possible with images.


50 New CSS Techniques For Your Next Web Design

Banana
out.

Optimieren von Web-Anwendungen

Es gibt viele Wege nach Rom.

Genauso verhält es sich bei der Optimierung von Web-Anwendungen.
Das geht von Komprimierung bis abspeichern des fertigen HTML Codes bis zum Verwenden von CSS Sprites.

Hier mal eine Liste mir Möglichkeiten dies zu verwirklichen:

How To Automate Optimization and Deployment Of Static Content
A lot of traffic between users and your site comes from the static content you’re using to set up the user interface, namely layout graphics, Stylesheets and Javascript files.

This article shows a method to improve the providing of static content for a web platform. Further, it will show you a way to automate the deployment of these files, so you can deliver them with least effort but with maximum performance.

This tutorial will take some time to set it up, but it’s going to save you hours of work in the future and will improve your page speed significantly.

via: smashingmagazine

Banana
out

Interactive Data Visualizations

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web.


Multiple Data Representations
- Treemaps, Radial Layouts, HyperTrees/Graphs, SpaceTree-like Layouts, and more...
Major Browsers Support
- IE6+, Firefox2+, Safari3+, Opera9.5+
Open Source
- Licensed under the BSD License
Library Agnostic
- You may use the JIT with your favorite DOM manipulation framework
Extensible
- All visualization classes are mutable, so you can easily add/override any method you want.
Composable
- Visualizations can be combined in order to create new visualization methods.

InfoVis Toolkit

IE6 Support. Endlich wagt es jemand

Herrlich.

Ich bin ja auch dafür, dass man "alte" Browser nicht mehr unterstützt.

Nun hat endlich einer der Großen mal was dazu gemacht:
YouTube Will Be Next To Kiss IE6 Support Goodbye

Jetzt müssen, dass nur noch alle anderen manchen und vorallem die Leute die sich Systemadministratoren schimpfen.

Banana
out.

Sitemap erstellen und toll aussehen lassen

Jeder sollte eine Sitemap haben (oops, ja ich muss das auch noch..).

Aber besitzen alleine reicht nicht. Sie sollte auch nach was aussehen.
Entweder man macht diese von Hand als Bild oder man nimmt ein Tool dafür:

SlickMap CSS is a simple stylesheet for displaying finished sitemaps directly from HTML unordered list navigation. It’s suitable for most web sites – accommodating up to three levels of page navigation and additional utility links – and can easily be customized to meet your own individual needs, branding, or style preferences.

SlickMap CSS

Das Ergebnis wäre dann so was:


Banana
out.

Autsch: "Windows 7 is the same as Ubuntu"

Junge Junge, bei dir sind wohl Äpfel das Selbe wie Birnen oder wie ?

"Windows 7 is the same as Ubuntu"

(...)Otherwise, he said, “Windows 7 is the same as Ubuntu; there just really isn’t anything different about them.” (...)


(...)Of course there isn’t. He lives in a web browser. The underlying OS is irrelevant. He has no need for Office 2007 and I expect his next portable music player will be platform independent.(...)


Ok gerade noch mal die Kurve gekriegt. Aber dann kommt sowas:

For some, Windows 7 may, indeed, be good enough to pay for, especially if they are power-users of Windows-only software. For my oldest son, if he gravitates to any machine, it’s to my Mac because it’s so easy for him to create and share video content. For the average student, though, the old Windows vs. Mac vs. Linux debate may finally be dead. For someone who “hated Linux” a year ago to now happily switch between Windows 7 and Ubuntu in a completely transparent way certainly signals an end to that age-old flame war.


Nah, doch nicht so....

Immer dieser Ubuntu hype. Natürlich bringt Ubuntu etc. das GNU/Linux weiter aber das was GNU/Linux ausmacht ist nicht Ubuntu.

Es sind die Dinge wie OpenSource, alles Einzustellen wie man es möchte, keine versteckten Sachen und Software etc.

Es ist nicht das Bling Bling und out-of-the-box, sondern das Gefühl zu haben, mein System macht was es soll und es ist nur Software drauf die ich auch will.

argh...

Aber ich betone immer wieder:
Ohne windows wäre GNU/Linux nicht das was es jetzt ist.

Banana
out.

Fighting Chaos with SCRUM

Wer schon mal ein Produkt selber entwickelt hat, oder auch mitentwickelt, findet sich schon mal in einer Situation die einem Chaos gleicht.
Das Produkt soll fertig werden, bedarf aber einer neuen Strucktur. Der Kunde drängelt und will natürlich alles besser und weis alles besser. Der Chef ist schlecht gelaunt und man selber kommt irgendwie nocht vom fleck und dreht sich im Kreis.

Da kann man dan die SCRUM Methode zur Hand nehmen.
Scrum (engl. das Gedränge) ist ein Vorgehensmodell mit Meetings, Artefakten, Rollen, Werten und Grundüberzeugungen, das beim Entwickeln von Produkten im Rahmen agiler Softwareentwicklung hilfreich ist. Teammitglieder organisieren ihre Arbeit weitgehend selbst und wählen auch die eingesetzten Software-Entwicklungswerkzeuge und -Methoden.

Quelle: Wikipedia.

SCRUM - Wikipedia
SCRUM - Website

banana
out.

Ist Informatik eine Männerdomäne ?

Nein.

Mit Informatik meine ich alle Berufe die damit was anfangen können ;-)


Bisher denkt man ja immer geeks seien dicke, fette, ungepflegte Personen ohne Freunde.
Das stimmt nicht immer.

Es gibt auch Frauen. Ja auch ungepflegte...

So nun zu dem totalen Gegenteil:
Leah Culver
Leah Culver was a co-founder and the lead developer of the social network and micro-blogging website Pownce, which was acquired by blog juggernaut Six Apart in November 2008. Now a software engineer at Six Apart, Leah uses her experience with Pownce to develop large scale social applications for future Six Apart projects. While creating the Pownce API she co-authored both the OAuth and OEmbed open API specifications and now maintains the popular Python OAuth library. Leah promotes open source, APIs, and the Django web framework on her blog at leahculver.com. In her free time she likes to play around with new technology and try new restaurants near her home in San Francisco.


So ab ans Tageslicht mit euch.