background preloader

Epoch Converter - Unix Timestamp Converter

Epoch Converter - Unix Timestamp Converter

WebPerf : "A quelle vitesse ma page se charge-t-elle ?" Cette question est à la base de toute stratégie de WebPerf et pour autant, elle n’admet aucune bonne réponse. Alors comment mesurer la performance Web ? Il n’y a pas de façon "standard" de mesurer la performance web mais plusieurs, qui correspondent à ce qui se passe dans le navigateur lors de l’accès à une page Web. Quand vous tapez dans votre barre d’adresse l’URL de Clever Age et attendez que la page s’affiche, votre navigateur : Se connecte au serveur hébergeant le site et lui demande de renvoyer le contenu de la page HTML Reçoit le contenu de la page HTML Interprète le code HTML pour comprendre comment est structurée la page et de quels objets supplémentaires (images, mises en forme, scripts...) elle a besoin pour être rendue Charge l’ensemble des ressources en question Affiche la page Exécute d’autres script après le chargement, impliquant eux-même le chargement de nouvelles ressources et le déclenchement d’animations Le "Time To First Byte" Quels problèmes ? Les temps d’affichage

Formatting the Windows Forms DataGrid Control in Visual Basic Seth Grossman Visual Studio Team Microsoft Corporation December 2002 Summary: Quite a few basic tasks related to formatting the Windows Forms DataGrid control require you to create and implement your own custom column styles. However, once you are familiar with these objects, you will have a lot of power at your disposal. (11 printed pages) Requirements The following software is referenced within this whitepaper: Visual Basic .NET 2002 Contents Synopsis In this paper, you will: Create a class that defines a custom column style for the Windows Forms DataGrid control. Background A number of tasks you may want to accomplish with the Windows Forms DataGrid control are, surprisingly, more difficult than you might expect. One example of a group of tasks that requires working with columns is changing the display properties of the grid (foreground color, background color, data format, and so on). Column Styles To format columns, you need to create a column style. Basic Techniques Advanced Scenarios

HTTP vs REST vs SOAP 20 Jan, 2009 HTTP vs REST vs SOAP Posted by Bhavin Turakhia I have been an active proponent of SOAP since its inception. Introduction Let me first clarify the terminology - SOAP refers to Simple Object Access Protocol HTTP based APIs refer to APIs that are exposed as one or more HTTP URIs and typical responses are in XML / JSON. Typing SOAP provides relatively stronger typing since it has a fixed set of supported data types. Client-side effort Making calls to an HTTP API is significantly easier than making calls to a SOAP API. Testing and Troubleshooting It is also easy to test and troubleshoot an HTTP API since one can construct a call with nothing more than a browser and check the response inside the browser window itself. Server-side effort Most Programming languages make it extremely easy to expose a method using SOAP. Caching Since HTTP based / Rest-ful APIs can be consumed using simple GET requests, intermediate proxy servers / reverse-proxies can cache their response very easily.

Some Advanced Papier Mache Recipes Some Advanced Papier Mache - Papier Maché Pulp Recipes Warning: Due to some of the ingredients and techniques involved in this tutorial, this is not recommended for children without adult supervision. Introduction I've been making paper maché items since I was 13 years old. My Grandmother used to make bird houses and feeders that my Grandfather would laquer with the remains of a product he used for finishing car paints (he was a car mechanic). Later on in life I got fascinated by the world of puppeteering (the muppet show is still in my top 5 favourite shows) and started my first trek in the business when I was 18. One of the things that fascinates me the most is that to the contrary of many beliefs, paper mache isn't just paper and glue. Here are a few that are my most used. Finishing paper mache (porcelain finish) You will need: - 1/2 roll good quality white toilet paper- 1 tablespoon raw linseed oil Instructions:Rip, mix and apply... simple as that! "Hard mache" (for strong pieces) Grind!

Sample Size Calculator - Optimizely What is Optimizely's Stats Engine? Optimizely's sample size calculator is different from other statistical significance calculators. It is based on the formula used in Optimizely's Stats Engine. Stats Engine calculates statistical significance using sequential testing and false discovery rate controls. How many visitors do I need for my A/B test? This statistical significance calculator allows you to calculate the sample size for each variation in your test you will need, on average, to measure the desired change in your conversion rate. Why is your calculator different from other sample size calculators? Our A/B test sample size calculator is powered by the formula behind our new Stats Engine, which uses a two-tailed sequential likelihood ratio test with false discovery rate controls to calculate statistical significance. With this methodology, you no longer need to use the sample size calculator to ensure the validity of your results. How do I determine the baseline conversion rate?

A New Front-End Methodology: BEM This article is the sixth in our new series that introduces the latest, useful and freely available tools and techniques, developed and released by active members of the Web design community. The first article covered PrefixFree1; the second introduced Foundation2, a responsive framework; the third presented Sisyphus.js3, a library for Gmail-like client-side drafts, the fourth shared with us a free plugin called GuideGuide4 and the fifth presented Erskine Design’s responsive grid generator Gridpak5. Today, we are happy to feature a toolkit devised by Yandex: BEM. BEM stands for “Block”, “Element”, “Modifier”. It is a front-end methodology: a new way of thinking when developing Web interfaces. Due to the length of this article, it was split into three parts: BEM Principles Link To begin, let’s first put BEM in some historical perspective. Some parts of the BEM stack started as open source projects, while others (like the UI component library) are being gradually open sourced. Block Example

Optimizing MapPoint Web Service Find Calls IMPORTANT: MapPoint Web Service was retired on November 18, 2011. Please see Bing Maps for a list of current Bing Maps APIs. Chandu Thota Microsoft Corporation January 2004 Applies to: Microsoft® MapPoint® Web Service, version 3.0 Summary: Learn how to improve the performance and scalability of your Microsoft MapPoint Web Service applications by optimizing find queries with the FindOptions object. Contents Introduction Why Optimization Is Important Three Rules for Optimizing Find Calls Applying the Rules Conclusion Introduction While the Microsoft® .NET Framework and Microsoft MapPoint® Web Service make it simple and easy to develop powerful mapping applications, you can take additional steps to ensure that your applications perform well in various important areas, such as scalability, response time, and cost of data transfer. Why Optimization Is Important Improved response time—Your end-users get quicker responses to their queries. Three Rules for Optimizing Find Calls Applying the Rules

Convert a Unix timestamp to a .NET DateTime The POSIX time, or Unix time , is the number of seconds elapsed from the midnight of January 1st 1970 in UTC coordinates. This timestamp is used in all *nix languages; probably you will never need to use a Unix timestamp in .NET, but if you have to interact with other application or sites, maybe built in PHP or Java, you will probably have to deal with it. But .NET doesn't have a method to convert a Unix timestamp to a DateTime and viceversa (or I didn't find it), so I had to implement it. static DateTime ConvertFromUnixTimestamp( double timestamp) { DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0, 0); return origin.AddSeconds(timestamp); } static double ConvertToUnixTimestamp(DateTime date) { DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0, 0); TimeSpan diff = date - origin; return Math.Floor(diff.TotalSeconds); } The first method converts a Unix timestamp to its DateTime equivalent, and the second takes a DateTime and convert it to the Unix time.

Why passwords have never been weaker—and crackers have never been stronger In late 2010, Sean Brooks received three e-mails over a span of 30 hours warning that his accounts on LinkedIn,, and other popular websites were at risk. He was tempted to dismiss them as hoaxes—until he noticed they included specifics that weren't typical of mass-produced phishing scams. The e-mails said that his login credentials for various Gawker websites had been exposed by hackers who rooted the sites' servers, then bragged about it online; if Brooks used the same e-mail and password for other accounts, they would be compromised too. The warnings Brooks and millions of other people received that December weren't fabrications. "The danger of weak password habits is becoming increasingly well-recognized," said Brooks, who at the time blogged about the warnings as the Program Associate for the Center for Democracy and Technology. The ancient art of password cracking has advanced further in the past five years than it did in the previous several decades combined.

Les meilleurs Frameworks HTML5 Cet article est le premier d’une série sur les frameworks. Je vais sur plusieurs semaines, vous présenter les meilleurs frameworks sur les principaux langages et technologies web, tels que HTML5, CSS3, Javascript, PHP, … Donc aujourd’hui, nous allons donc découvrir les meilleurs Frameworks HTLM5 à l’heure actuelle. Il faut savoir que grace à HTML5, il est désormais possible de réaliser de nombreuses choses, comme des applications web plus précises, des animations, des jeux, du multimedia, le mobile, etc. Alors sans plus attendre, passons à ce que vous attendez tous, la liste magique !! Sencha Sencha, qui se nomme désormais Sencha Touch (actuellement en version 2), est surement le meilleur framework de développement d’applications mobile. Très simple à prendre en main, il repose sur une structure MVC, offrent des template graphiquement adaptés aux différents OS, ce qui permet de s’approcher au plus prêt des applications natives et surtout, rester instinctif pour les utilisateurs. MelonJS