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,854 other subscribers

Archive for 2015

The curse of getting electronic invoices

Posted by jpluimers on 2015/01/29

I’m getting nuts with all these companies insisting on sending digital invoices or receipts.

The worst is that each and every company has figured a way that works well for them, but is slightly different from all the other vendors. You’d think there are not that many degrees of freedom. There are.

A lot of them aren’t even invoices, as they miss valuable information (for instance Dutch ones lacking chamber of commerce or VAT numbers) or they sent you a ton of stuff where invoice is not called invoice or receipt at all.

Others send you an order confirmation, payment confirmation, shipping estimate, shipping confirmation, rating reminder, pro-forma invoice. But no invoice.

The attachments are horrible. Some send them as PDF, some just HTML mail, like with images that need to be downloaded but are gone after a while. Others even send Word documents, CSV files, or Excel sheets. Of the paged documents, they are often formatted for Letter (hey, there is a whole world out there with A4!).

It gets really painful when you need to go on-line to retrieve the attachment. Sometimes a cookie suffices. Sometimes you need to login. The worst are when during login, they disable auto password entry in a browser.

Some of the attachments (even PDFs!) contain just a bitmap image of the invoice: no OCR, not searchable. Amazon.de is known for this.

Talking about Amazon.de: they managed to send me a German order confirmation. With dates in Spanish (as I found out through Google Translate of 26 de enero de 2015):

And many of the invoices lack key information to relate them to bank account or credit card statements: transaction numbers not matching or completely gone.

This used to be so easy in the past when we had paper invoices. Once every month or so, I sat down, ripped open all the envelopes, sorted them into categories (private, company, etc), did payments.
When the statements come in, just put the right ones with the right statements and hand over to the book keeper that does the tax filings. Simple and took an hour or so!

I spent most of today figuring out all the electronic invoices of last quarter (the paper stuff took me like 30 minutes).

–jeroen

Posted in Fun, LifeHacker, Opinions, Power User | Tagged: | Leave a Comment »

What do I do if Dropbox is stuck syncing, won’t launch, or reports an error? (Dropbox Help Center)

Posted by jpluimers on 2015/01/29

These tips usually won’t help: What do I do if Dropbox is stuck syncing, won’t launch, or reports an error? (Dropbox Help Center).

This one does help, but you need to terminate the Dropbox.exe process through Taskmanager first: How to Solve Dropbox Problems Syncing – LockerGnome.

Currently dropbox sync stalls after 50-300 files are transferred.

–jeroen

Posted in DropBox, SocialMedia | Leave a Comment »

ASCII is not just an RFC. It is an Internet Standard, but only recently.

Posted by jpluimers on 2015/01/29

When people tell you that ASCII is not an Internet Standard but an RFC. They are wrong. They used to be right though. Until 2015-01-12, when IETF declared the RFC 20 to be an Internet Standard: status-change-rfc20-ascii-format-to-standard-00.

So after more than 45 years (like many good things, the ASCII RFC is from 1969), it is not just an American Standard but an Internet Standard (:

Thanks Lauren Weinstein for sharing and Kristian Köhntopp for pointing to the reclassification.

–jeroen

via: ASCII – Wikipedia, the free encyclopedia.

Posted in ASCII, Development, Encoding, History, Software Development | Leave a Comment »

CodeInspect says “Hello World”: A new Reverse-Engineering Tool for Android and Java Bytecode – via: Secure Software Engineering

Posted by jpluimers on 2015/01/29

Thanks  for mentioning this, so it got on my research list:

a new reverse-engineering framework that works on the intermediate representation Jimple and supports all the features above and a lot more.

CodeInspect supports as input format a complete Android Application Package (apk), just the Android bytecode (dex-file) or a jar-file.

In the following we will describe the different features based on a malicious Android apk.

The figure above is a screenshot of CodeInspect. As one can see, CodeInspect is based on the Eclipse RCP framework

–jeroen

via: CodeInspect says “Hello World”: A new Reverse-Engineering Tool for Android and Java Bytecode | Secure Software Engineering.

Read the rest of this entry »

Posted in Android, Development, Java, Java Platform, Mobile Development, Software Development | Leave a Comment »

Some links to Delphi Unit Testing history

Posted by jpluimers on 2015/01/29

Unit testing has been here for a long time, and so has Unit Testing in Delphi. Below a summary of historic links together with some notes on how the state of affairs changed over the years.

Charlie Calvert

I’ll start with one of the first large Delphi Unit Testing articles was a paper by Charlie Calvert summarizing the state of the art on Delphi Unit Testing in 2004. It is present in the wayback machine as DUnit Talk and on his elvenware.com site.

Note that the elvenwere.com site is sometimes slow or hard to reach. Since his evangelist days at Borland/CodeGear, Charlie has moved through a few evangelist jobs at Falafel and Microsoft and finally went back to his old profession: being a great teacher – this time at Bellevue Collegeoften using script based languages and cloud computing, with less focus on his web-presence.

Many of his IT books (during his writing period, he wrote both as Charles Calvert and Charlie Calvert) are still relevant though.

DUnit; Juanco Añez Read the rest of this entry »

Posted in Agile, Conference Topics, Conferences, Delphi, Dependency Injection, Design Patterns, Development, Event, FreePascal, History, Inversion of Control / IoC, Pascal, Software Development | 3 Comments »

Mockable: Quickly create REST and SOAP mocks

Posted by jpluimers on 2015/01/28

Thanks Wiebe Elsingae for sharing a link to this:

Test your application with ease

Create REST and SOAP services which mimic your external providers.

Easy to use Create one mock in three secondsMockable is a simple configurable service to mock out RESTful API or SOAP web-services. This online service allows you to quickly define REST API or SOAP endpoints and have them return JSON or XML data.

Maybe the nicest feature: Try now (no sign-up required).

–jeroen

via: Mockable: Quickly create REST and SOAP mocks.

Posted in Communications Development, Development, HTTP, Internet protocol suite, OData, REST, SOAP/WebServices, Software Development, TCP | Leave a Comment »

Interesting: minidump/kernel dump Instant Online Crash Analysis

Posted by jpluimers on 2015/01/28

Figured using Instant Online Crash Analysis that mfefirek.sys is causing a DRIVER_IRQL_NOT_LESS_OR_EQUAL BSOD.

Well done McAfee!

This is what I did:

  1. As admin, copy %windir%\Minidump\*.dmp %temp%
  2. Uploaded these to http://www.osronline.com/page.cfm?name=analyze
  3. Compare the results with Beyond Compare 4 for patterns.

The result for all *.dmp files is a pattern like this:

DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high.  This is usually
caused by drivers using improper addresses.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: 000000000000000d, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
Arg4: fffff8800....d70, address which referenced memory

Debugging Details:
------------------

TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\modclass.ini, error 2

READ_ADDRESS: GetPointerFromAddress: unable to read from fffff800032..100
GetUlongFromAddress: unable to read from fffff800032..1c0
 000000000000000d Nonpaged pool

CURRENT_IRQL:  2

FAULTING_IP: 
mfefirek+19d70
fffff880`0.....70 8a400d          mov     al,byte ptr [rax+0Dh]

–jeroen

via: Instant Online Crash Analysis.

Posted in Power User, Windows, Windows 7 | Leave a Comment »

windows – .Net WinForm System Beep on a 64 Bit OS – Stack Overflow

Posted by jpluimers on 2015/01/28

Thanks Shay Erlichmen for answering this on SO why the Beep function does not bell the speaker any more on x64 systems:

Beep has been removed as a native function from all x64 platforms (so no managed version of course), there is a connect issue that petition to return it.

We use a different trick to discover servers, we remote eject the dvd drive, and the drive with the tray open is the one were looking for :)

Larry Osterman has a great article about this: What’s up with the beep driver in Windows 7.

In the mean time, the connect issue has been removed as well.

The good news however (if your hardware still has an Intel 8254 compatible PIT in the South Bridge connected to a PC speaker):

Ludwig Ertl wrote the BEEPx / BeepXP driver that interfaces to the speaker through the 8254. Note it has a (German) changelog, but you can respond in English.

–jeroen

via: windows – .Net WinForm System Beep on a 64 Bit OS – Stack Overflow.

Posted in Development, Power User, Software Development, Windows, Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista | Leave a Comment »

Note to self: When sending our xml schema to a third party, make sure to…

Posted by jpluimers on 2015/01/27

From a nice G+ thread:

Maximum line length for XML, oh boy that is just brilliant!

–jeroen

via: Note to self: When sending our xml schema to a third party, make sure to….

Posted in Development, XML, XML/XSD | Leave a Comment »

Hmmm. Castalia for Delphi: Castalia for Delphi is not currently available. Thank you for your interest. – via Uwe Raabe – G+

Posted by jpluimers on 2015/01/27

Thanks Uwe Raabe for sharing

This sounds interesting: http://www.twodesk.com/castalia/thanks.html

</rumours on>

As the page then read:

Castalia for Delphi is not currently available. Thank you for your interest.

Copyright © 2013 Jacob Thurman

–jeroen

via: This sounds interesting: http://www.twodesk.com/castalia/thanks.html.

Posted in Castalia, Delphi, Delphi XE7, Delphi XE8, Development, Software Development | 3 Comments »