background preloader

Generatedata.com

Generatedata.com

10 Programming Proverbs Every Developer Should Know | Kevin William Pang Proverbs are used to express universal truths or life lessons in a short and memorable fashion. I find that they are a great way to keep things in perspective, both in life and in work. Because of this, I have assembled 10 programming proverbs that every developer needs in their arsenal. 1. Relax. Poorly designed code tends to manifest itself through some common tell-tale signs. Giant classes and/or functionsLarge blocks of commented out codeDuplicated logicDeeply nested if/else blocks Developers often refer to these as code smells, but personally, I think the term "code smoke" or "code fumes" is more appropriate as it implies a higher sense of urgency. 2. Ok, I'm convinced Toyota's assembly line of the 1980s was famously efficient due to its revolutionary approach towards defect prevention. Developers often make the faulty assumption that productivity = cranking out code quickly. 3. In other words, what happens if you suddenly lost a key member of your team? 4. 5. Sound familiar? 6. 7.

Open Jail - The Jailer Project Web Site aBowman PostgreSQL 8.0: Populating a Database One may need to insert a large amount of data when first populating a database. This section contains some suggestions on how to make this process as efficient as possible. 13.4.1. Disable Autocommit Turn off autocommit and just do one commit at the end. 13.4.2. Use COPY to load all the rows in one command, instead of using a series of INSERT commands. If you cannot use COPY, it may help to use PREPARE to create a prepared INSERT statement, and then use EXECUTE as many times as required. Note that loading a large number of rows using COPY is almost always faster than using INSERT, even if PREPARE is used and multiple insertions are batched into a single transaction. 13.4.3. If you are loading a freshly created table, the fastest way is to create the table, bulk load the table's data using COPY, then create any indexes needed for the table. If you are augmenting an existing table, you can drop the index, load the table, and then recreate the index. 13.4.4. 13.4.5. 13.4.6.

Top 10 Things That Annoy Programmers | Kevin William Pang 10. Comments explaining “what”, but not “why” Introductory-level programming courses teach students to comment early and often. And while this may be a useful practice during programming infancy (when even the simplest line of code can be incomprehensible), many programmers never bother to shake the habit. Do you have any idea what the code above does? Me neither. The problem is that while there are plenty of comments describing what the code is doing, there are none describing why it’s doing it. Much better! Write comments to help readers understand the code, not the syntax. 9. In general, programmers tend to be more akin to locomotives than ferraris; it may take us awhile to get started, but once we hit our stride we can get an impressive amount of work done. 8. Wikipedia defines scope creep as “uncontrolled changes in a project’s scope”. Version 1: Show a map of the locationVersion 2: Show a 3D map of the locationVersion 3: Show a 3D map of the location that the user can fly through 7.

Lorem Ipsum - All the facts - Lipsum generator Universal Package Tracking Service @ Packagetrackr 14.4. Remplir une base de données Vous pourriez avoir besoin d'insérer un grand nombre de données pour remplir une base de données au tout début. Cette section contient quelques suggestions pour réaliser cela de la façon la plus efficace. 14.4.1. Désactivez la validation automatique (autocommit) Lors d'INSERT multiples, désactivez la validation automatique et faites une seule validation à la fin (en SQL, ceci signifie de lancer BEGIN au début et COMMIT à la fin. Quelques bibliothèques client pourraient le faire derrière votre dos auquel cas vous devez vous assurer que la bibliothèque le fait quand vous le voulez). Utilisez COPY pour charger toutes les lignes en une seule commande, plutôt que d'utiliser une série de commandes INSERT. Si vous ne pouvez pas utiliser COPY, utiliser PREPARE pourrait vous aider à créer une instruction préparée INSERT, puis utilisez EXECUTE autant de fois que nécessaire. COPY est plus rapide quand il est utilisé dans la même transaction que la commande CREATE TABLE ou TRUNCATE précédente.

Java programming test, hands-on skills - BetterProgrammer.com Credit Card Numbers Generator | Get Fake Credit Card Numbers for Testing Purposes YouTube, Wikipedia, Twitter & Others' Results In Google Search [Chrome] Often, we browse multiple services for the same search term. Not only is this tiring, but can also be a time consuming process. If this is the case, then a Chrome extension, Sidebar, enhances your Google search by adding results from some very useful services, such as Wikitionary, Wikipedia, Flickr, YouTube and Twitter in a sidebar. This sidebar is added to the right hand side of Google Search results, which lets you quickly browse through search results of multiple services, without having to open new tabs or windows. Sidebar can be useful for people who regularly look up search terms on different services, such as, Wikipedia, Google or YouTube, and can save a lot of time and effort. The extension allows you to enable/disable services in the sidebar, as well as their positions. Once you’ve installed the extension, you will notice that a sidebar is added to the right side of Google Search results. Install Sidebar For Google Search For Chrome Advertisement

Remplir une BDD avec des fausses infos. Si vous développez et que vous avez une super base de données à remplir pour vos tests, voici un petit soft qui va vous permettre de générer de manière aléatoire d'énormes fichiers de données en respectant le typage des champs. Ça s'appelle Spawner et c'est idéal pour remplir vos applications web avec des données factices. Pour l'installer, vous devez avoir les librairies gtkhtml, gnome-spell2, gdk-pixbuf et glib puis télécharger Spawner ici. Ensuite vous décompressez la bête tar xvzf spawner-0.1.5-linux-i386.tar.gz Vous la rendez exécutable chmod +x spawner Et vous le lancez. Exemple avec quelques champs Nom, prénom, adresse générés : Lance Jennings,76204 Jordan Way Lane Bond,89185 Laurel Way Felicia Hunt,89622 West Argentina St. Et ensuite avec votre petit fichier CSV ou SQL, vous pouvez le balancer dans votre base sans souci. [photo] Vous avez aimé cet article ?

Generatedata.com permet de générer des jeux de test en ligne pour vos bases de données.
Pour ceux qui bossent avec moi, le mieux est encore de télécharger l'appli, vous comprendrez pourquoi quand vous essaierez de créer un jeux de clients... Harf. by wilfriedmartin Dec 29

Related: