How to get font size of FillPath strings to match DrawString
From CodeProject:Download DrawStringPath.zip - 34.7 KB. Of those who have used DrawPath / FillPath strings, who hasn't noticed that something ain't quite right. Even if one use the same font,...
View ArticleMarpa v. Perl regexes: a rematch
From Perl.org Blogs:Marpa::R2 the latest version of Marpa, has some significant speedups. Enough so, that it seems appropriate to revisit an old benchmark. (For those new to this blog Marpa is a new...
View ArticleString Memory Internals
From Javalobby:This article is based on my answer on StackOverflow. I am trying to explain how String class stores the texts, how interning and constant pool works. The main point to understand here is...
View ArticleCodec Confusion in Python
From lucumr.pocoo.org:Alright, I admit Alex Gaynor is a pretty clever guy but I was very close to strangling him today for this tweet: @alex_gaynor: WTF does str.encode or unicode.decode even do on...
View ArticlePython in 30 Days - Day 2
From rodriguezcommaj.com:Day 2 of my experiment was done early and I wanted to write it up while everything was fresh in my mind. * Exercise 5 - More Variables and PrintingClick here to read...
View ArticleString Enumerations in VB.NET
From CodeProject:String Enumeration in VB.NET would be ideal answer, but Enumeration in dot.net is limited to numbers. After a lot of web searching for a quick few lines of code, I put this code...
View ArticleFun with pytz, dateutil and Python time zones
From gefira.pl:Below is a way to convert datetime strings between time zones. Note that in my case I had to convert between UTC and a user-provided time zone and back. I was given either a UTC...
View ArticleComparing Objective Caml and Standard ML
From adam.chlipala.net:See this syntax comparison for more details. Special syntactic sugar is defined for array and string accesses. These operations receive no special treatment.Click here to read...
View ArticleExtreme specificity overriding a CSS ID with 256 chained Classes
From thecssninja.com:According to the spec, one ID should be infinitely more specific than a class. But as it turns out, if you add 256 classes to a single element (same or different) it will override...
View ArticleRipping OAuth tokens (or other secrets) out of TweetDeck, Twitter.app, and...
From timetobleed.com:If you enjoy this article, subscribe (via RSS or e-mail) and follow me on twitter. So, you have some sort of OSX app. Maybe it's Twitter.app, TweetDeck, or something else that has...
View ArticleAutomaticly localizing applications with Google Translate
From CodeProject:Localizing your apps with Google Translate; Author: Chip VonBurg; Updated: 21 Aug 2012; Section: Localisation; Chapter: General Programming; Updated: 21 Aug 2012Click here to read...
View ArticleAutomatically localizing applications with Google Translate
From CodeProject:Localizing your apps with Google Translate; Author: Chip VonBurg; Updated: 21 Aug 2012; Section: Localisation; Chapter: General Programming; Updated: 21 Aug 2012Click here to read...
View ArticlePHP Best Practices, a short guide for common and confusing PHP tasks
From phpbestpractices.org:PHP is a complex language that has suffered years of twists, bends, stretches, and hacks. It's highly inconsistent and sometimes buggy.Click here to read moreTagged: #php...
View ArticleNorton Mobile Utilities Lite for Android packs premium, paid upgrade
From Betanews:Symantec is a company with many strings to its bow but is most often associated with security software. Those with long memories will remember Norton Utilities, a tweaking tool for...
View ArticleString Comparison in C# - Doing it the right way
From CodeProject:This small Tip talks about the right way of comparing strings in a application. We will try to see what are the various ways we can compare the strings and which one should be or...
View ArticleDate Formatting And Format Validation from JavascriptToolbox.com
From javascripttoolbox.com:This library contains functions to deal with dates in Javascript, parse date strings, format dates to different output strings, and compare dates. It uses the same format...
View ArticleFind multiple strings in selected columns
From CodeProject:Find multiple strings (delimenated by space) in all selected columns. ; Author: akhil khare; Updated: 28 Aug 2012; Section: Database; Chapter: Database; Updated: 28 Aug 2012Click here...
View ArticleNuget Perf Problem, Part II–Importing To RavenDB
From ayende.com:The first part of actually showing how RavenDB can handle the NuGet scenario was to actually get the data to RavenDB. Luckily, NuGet makes the data accessible using OData, so I quickly...
View ArticleTitle case using ASP.NET with C#
From CodeProject:Introduction How ti implement title case using C#. Using the code Strings sometimes have lowercase first letters. Uppercasing the first letter is often necessary.Click here to read...
View ArticleWhat's New In Python 3.0 - Python v3.0.1 documentation
From Python.org:Author: Release: Date:. This article explains the new features in Python 3.compared to 2.Python 3.also known as "Python 3000" or "Py3K", is the first ever intentionally backwards...
View Article