Posted by jpluimers on 2014/04/16
Once every while, one of your StackOverflow answers gets an edit suggestion that is really valuable.
This case it was Edwin Yip who suggested to emphasize the difference between TStringBuilder and TStringList (adding characters versus lines).
Too bad that freshly 10k user Makoto showed he hates bold emphasis, intentional property casing and post signatures by removing the added value (there is so much emphasis he could remove on other answers to warrant at least a day time job).
I know that not all emphasis is welcomed at StackOverflow, but in this case I think it added real value.
So I edited my own answer to add even more value: showing the idioms I use for building strings, and now it is time to quote it: Read the rest of this entry »
Posted in Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi 8, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2014/04/16

A while ago, I was working with a not so cooperative corporate firewall. All web browsers would work fine, but most other applications would not go through the proxy in a nice way.
For instance, DropBox would show the dreadfull “Connection Error” dialog shown on the right.
That dialog basically means “Dropbox has no clue what happens, try fiddling with your proxy or account settings, then press Reconnect Now” to retry.
Many other applications had issues (for instance Visual Studio connecting to Team Foundation System was very unreliable and the workarounds clumsy).
CNTLM: not the solution
I got inspired by the [WayBack] I code and code: Tutorial: How to use Dropbox behind a corporate proxy server using CNTLM, even though I was pretty sure the corporate firewall was not NTLM based.
And indeed, CNTLM -v -M http://google.com -c CNTLM.INI would give errors like this:
cntlm: Proxy returning invalid challenge!
headers_send: fd 4 warning -999 (connection closed)
Connection closed
HTTP Fiddler: looks promising
So I fired up my old buddy [WayBack] Fiddler 2 HTTP debugging proxy.
Further on, you will learn that Fiddler2 is much more, but right now it is enough to know that it basically sits as a local proxy between your applications and the outside world. Read the rest of this entry »
Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, base64, Cntlm, Development, DropBox, Encoding, Fiddler, JavaScript/ECMAScript, NTLM, Power User, Scripting, SocialMedia, Software Development, Web Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP, Windows-Http-Proxy | Leave a Comment »
Posted by jpluimers on 2014/04/15
Today I learned that each Google Group has RSS and ATOM feeds. That allows you to add them to Feedly (a great online RSS reader that won a lot of market share when Google Reader got ditched).
This is how you do it (I’m using the Spring4D group as an example).
- Go to the group page https://groups.google.com/forum/#!forum/spring4d
- On the right side, click on “About” which brings you to https://groups.google.com/forum/#!aboutgroup/spring4d
- Copy any of the RSS or ATOM links and add it to Feedly.
–jeroen
Posted in Delphi, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, Google, GoogleGroups, Power User, Software Development, Spring4D | 7 Comments »
Posted by jpluimers on 2014/04/15
Yesterday WinSCP 5.5.3 got released. Among other fixes, the most imporant one is this:
They upgraded to OpenSSL 1.0.1g, so the infamous Heartbleed vulnerability is solved.
–jeroen
via: WinSCP :: Free SFTP and FTP client for Windows.
Posted in OpenSSL, Power User, Security | Leave a Comment »
Posted by jpluimers on 2014/04/15
Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, ASP.NET, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Fiddler, Software Development, Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools, Web Development | Leave a Comment »
Posted by jpluimers on 2014/04/15
Interesting: didn’t see this on the Embarcadero site yet, so the announcment of Welkom RAD Studio/Delphi/C++Builder XE6! by Barnsten B.V. – Google+ is a bit surprising.
Edit:
Given the XE6 webinar on the 16th (that is tomorrow!), it wasn’t that surprising, but in my memory those webinars usually were before the product became actually available.
Barnsten was a tad bit faster than me picking up these two posts that had the official announcemts:
So here are some of the Embarcadero.com links for XE6: Read the rest of this entry »
Posted in Delphi, Delphi XE6, Development, Software Development | 1 Comment »
Posted by jpluimers on 2014/04/15
Simple steps on how to hang visual studio:
- Debug a piece that throws an uncatched System.Net.WebException (probably works with many more kinds of exceptions)
- In the “WebException was unhandled by user code” pane, press “View Detail…”
- In the “View Detail” modal dialog, press the * key on your numeric keypad (this is the “Expand all” command for a TreeView)
This will get you a nice box (and no way to close Visual Studio except killing it from the task manager):
Microsoft Visual Studio is Busy
Microsoft Visual Studio is waiting for an internal operation to complete. If you regularly encouter this delay during normal usage, please report this problem to Microsoft.
There seems to be no bounds checking for the “Expand All” functionality.
–jeroen
Posted in Development, Software Development, Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2014/04/15
Every once in a while you will encounter a site that does some obfuscation.
I bumped into yet another base 62 encoded JavaScript, and this is what I used to unpack it:
This tool will help you decrypting the javascript encrypted with base 62 packer like the sample one on the box (eval(function(p,a,c,k,e,r){blah blah blah})
Just put the encrypted codes on the box then push the decrypt button…
–jeroen
via: Javascript Decryptor V2 | CrazyDavinci’s Blog | Social Networking, Programming, Security, Web Development.
Posted in Development, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »