The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Posts Tagged ‘software’

While I wasn’t watching, Icecast released quite a bit of new stuff: libShout 2.3.1, Icecast 2.3.3 / 2.4-beta and Ices 2.0.2.

Posted by jpluimers on 2012/10/01

Because of a very busy project, I hadn’t watch the Icecast.org homepage for a while.

Well, this year they in fact did release some new versions that you’d think are purely maintenance releases but do have new stuff:

libShout 2.3.0 added WebM support, which is great, because it is a license free video format formerly known as VP-8 by On2/Google.

libShout 2.3.1 added Opus support, which is cool, because last month, IETF published it as a standard for use on the internet: RFC 6716 – Definition of the Opus Audio Codec.

Icecast 2.3.3 fixed quite a bit of security fixes, had some general bugfixes, allows for sources to be authenticated via URL (just like listeners can), and added support for VLCT playlists (that have much more meta information than M3U or PLS playlists).

(Hopefully Windows binaries get added soon).

Icecast 2.4 beta adds WebM and Opus support and a few bugfixes. Needs thorough testing though.

Ices 2.0.2 streams audio to Icecast, now supports RoarAudio and fixes a few bugs.

–jeroen

via: Icecast.org.

Posted in Media Streaming, Power User | Tagged: , , , , , , , , , , , , , , | Leave a Comment »

New Open Source monospaced font from Adobe: Source Code Pro

Posted by jpluimers on 2012/09/30

Last week, Adobe launched the monospaced Open Source font [Wayback] Source Code Pro designed by [WaybackPaul D. Hunt.

It is a follow-up of the (also designed by Paul) [WaybackSource Sans Pro family of Open Source Fonts which got released early last month.

I did a quick look to see if it would get the same number of vertical lines as Lucida Console does at 8 points.

  • Lucida Console: 50 lines
  • Source Code Pro: 40 lines

Too bad, as the general font design is awesome.

One big missing thing is italic/oblique, which is often used in code editors. Hopefully a future version will include those.

For embedding source code examples in documentation, it is very legible, so I will keep it installed on my system.

You can try Source Code Pro yourself as well: it is available [Waybackon SourceForge – that also hosts [WaybackOpen@Adobe – [Waybackon GitHub, where you can fork it, as well as [Waybackon Google Web Fonts, [Wayback] on typekit, and [Waybackon WebINK.

–jeroen

via: [WaybackAnnouncing Source Code Pro « Typblography.

Posted in Adobe Source Code Pro, Font, Lucida Console, Power User, Programmers Font, Typography | Tagged: , , , , , , , , , , , , | 2 Comments »

It looks like everything signed by an Adobe Code Signing Certificate can be malware

Posted by jpluimers on 2012/09/29

If I read Inappropriate Use of Adobe Code Signing Certificate my conclusion is that anything signed by the Adobe Code Signing Certificate since 2012-07-10 potentially can be malware.

As a precaution, I will manually revoke the certificate on all my systems (that’ll take a while!). If anyone knows how to automate that process, please post a comment showing how to.

Hitching on a trusted certificate of a big software company comes close to the ultimate hack: trojaning signed malware in the distribution of an OS vendor.

–jeroen

via: Inappropriate Use of Adobe Code Signing Certificate « Adobe Secure Software Engineering Team (ASSET) Blog.

Posted in *nix, Adobe, Android Devices, Apple, HTC, HTC Sensation, iOS, iPad, iPhone, iPod, iPod touch, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, Opinions, OS X 10.8 Mountain Lion, Power User, 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 | Tagged: , , , , , , , , , | Leave a Comment »

Three XE3 hotfixes at the Delphi Registered User Downloads page

Posted by jpluimers on 2012/09/28

There are three RAD Studio / Delphi XE3 hotfixes on the Delphi Registered User Downloads page.

Hotfix 3 is for the Professional edition only.

The others are for all editions.

RAD Studio XE3 Hotfix 3: Hotfix 3 for RAD Studio XE3.

This Hotfix addresses an issue in using SQLite driver on the Professional edition.

Available only to registered users of Professional edition of Delphi XE3, C++Builder XE3, RAD Studio XE3, and Embarcadero All-Access XE

1MB; Download

RAD Studio XE3 Hotfix 2: Hotfix 2 for RAD Studio XE3.

This Hotfix addresses a regression with using the GestureManager in a FireMonkey application.

Available only to registered users of Delphi XE3, C++Builder XE3, RAD Studio XE3, and Embarcadero All-Access XE

60MBDownload

RAD Studio XE3 Hotfix 1: Hotfix 1 for RAD Studio XE3.

This Hotfix addresses an issue with ShowMessage in a FireMonkey application on certain locales on Mac OS X.

Available only to registered users of Delphi XE3, C++Builder XE3, RAD Studio XE3, and Embarcadero All-Access XE

12.1MBDownload

–jeroen

via: Delphi Registered User Downloads.

Posted in Delphi, Delphi XE3, Development, Software Development | Tagged: , , , , , , , , , , | 5 Comments »

Zero day vulnerability in mshtml.dll used by Internet Explorer 6, 7, 8 and 9, and many other products.

Posted by jpluimers on 2012/09/20

Summary:

  • Zero day vulnerability in mshtml.dll used by Internet Explorer 6, 7, 8 and 9, and many other products.
  • Resolution: Deploy EMET or stop using IE and other products using mshtml.dll until Microsoft delivers a patch.

Earlier this week a zero-day vulnerability in the mshtml.dll was made public. This DLL is used by almost all Internet Explorer versions (6-9 are vulnerable) and many other software products (almost anything from Microsoft and a lot of 3rd party software that displays a web page on Windows).

While Microsoft is building a fix that is to be released very soon now (probably tomorrow, Friday September 21st 2010), the official resolutions are not to use the mshtml.dll at all (impractical for many people), or deploy EMET (impractical too as it requires administrative privileges).

If you can, switch to a browser that uses a different layout engine than mshtml.dll (for instance browsers based on WebKit will do).

These pages are good starting points for more information:

Particularly interesting posts:

–jeroen

Posted in Internet Explorer, Power User, Web Browsers, Windows, Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: , , , , , , , , | 8 Comments »

Delphi, solutions for `while debugging with Environment Variable “The program can’t start because ….dll is missing”‘

Posted by jpluimers on 2012/09/14

Two days ago I ran into the bug below while porting some code from Delphi 2006 to Delphi XE2, posted on StackOverflow, and got solutions in very little time.

Thanks Andreas HausladenDavid Heffernan, Ken WhiteSertac Akyuz, Rudy Velthuis, for answering, providing solutions and verifying!

Note that this worked up until Delphi XE, and has been fixed in Delphi XE3 (which for this project I can’t use as the client upgraded to XE2 without SA).

Problem

  • I get the error mentioned further on error when debugging an executable in Delphi XE2 update 4 under these circumstances:
  • that depends on mqic.dll from WebShpere that is in C:\Program Files \IBM\WebSphere MQ\bin\mqic.dll and C:\Program Files\IBM\WebSphere MQ\bin is on the system path (not on the user path).
  • is being debugged with an override environment variable in the Run -> Parameters -> Debugger -> Environment Block -> User overrides
  • Including System Variables on the same property page is checked

This is the error (it’s a Windows DLL load error marked “System Error”).

The program can’t start because mqic.dll is missing from your computer. Try reinstalling the program to fix this problem.

Solutions

–jeroen

via delphi – while debugging with Environment Variable “The program can’t start because ….dll is missing” – Stack Overflow.

Posted in Delphi, Delphi 2006, Delphi 2007, Delphi XE, Delphi XE2, Delphi XE3, Development, Software Development | Tagged: , , , | Leave a Comment »

Don’t spam with OutputDebugString

Posted by jpluimers on 2012/09/13

A production version of an app should not spam using OutputDebugString.

Some apps do, for instance very couple of seconds the “TAM E-SSO AccessAgent” DataProvider.exe process spams stuff like this:

[1952] GRP_StubImpl Inside
[1952] before deserializing the message
[1952] GRP_StubImpl for Policy Id = pid_desktop_inactivity_mins
...
[1952] GRP_StubImpl Inside
[1952] before deserializing the message
[1952] GRP_StubImpl for Policy Id = pid_aa_tray_menu_options_enabled
[1952] GRP_StubImpl Inside
[1952] before deserializing the message
[1952] GRP_StubImpl for Policy Id = pid_automatic_sign_up_enabled
[1952] GRP_StubImpl Inside
[1952] before deserializing the message
[1952] GRP_StubImpl for Policy Id = pid_desktop_inactivity_mins
...

It is in the chain of processes (yes, the tripple backslash is actually there, this is how IBM starts is):

  • “C:\Program Files\Encentuate\AATray.exe”
    • “C:\Program Files\Encentuate\\\DataProvider.exe”
      • “C:\Program Files\Encentuate\Sync.exe”

All of them have version 8.1.0.130 and timestamp 20-12-2010 14:32.

You’d think that IBM knows how to do this right (:

–jeroen

Posted in Debugging, Development, Software Development | Tagged: , , , | Leave a Comment »

ModelMaker Code Explorer 10.0.0: Delphi XE3 compatible, Locate Type and Empty Parameter Lists with ()

Posted by jpluimers on 2012/09/10

Last week, ModelMaker Code Explorer 10.0.0 got released:

General new features

  • Delphi XE3 / RAD Studio XE3 support
    (as well as support from Delphi 5 and up)
  • Member Search list allows filtering on member type. Todo items are also displayed.
  • Pascal, new option on tab MMX | Properties | Pascal | New Entities | Methods: Empty Parameter lists. This controls how empty method, procedure and delegate parameter lists are emitted: either suppressed – pascal style, or emitted as ( ) – c-style.
  • Locate Type: displays a filtered list of previously parsed class and interface types. This is used to open the containing source file and locate a class inside the file. Default key binding Alt+Shift+T.

Solved bugs

  • Text containing line breaks and stored in XML (settings, snippets) could contain stray 0x0B (#11) characters. Solved.
  • An access violation at shutdown could occur in older Delphi IDEs if MMX was not docked. Solved.
  • If the Delphi IDE editor buffer contains a stray #0 (which is bad in itself) would cause all kinds of exception in MMX. MMX now detects stray #0’s and abort all editing operations, displaying the line:column of the bad #0 character.
  • Pascal: relative paths starting with \ (relative to root in drive) would not be handled correct. Solved

–jeroen

via: ModelMaker Code Explorer 10.0.0.

Posted in Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Development, Software Development | Tagged: , , , , , , , , , , , , , , , , , , | 2 Comments »

Why I really dislike localized error messages…

Posted by jpluimers on 2012/09/06

The problem with localized error messages often is that it is virtually impossible to find information about them.

For instance the below error got reported by a client for me to fix (click on the picture to get a larger version) has a few big problems:

Read the rest of this entry »

Posted in Excel, Office, Power User, Windows | Tagged: , , , , , , , , , , , , , | 2 Comments »