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 4,262 other subscribers

Archive for April 10th, 2014

Grootte ‘webdisk’ – Google Groups

Posted by jpluimers on 2014/04/10

Wow, I totally missed that the disk quota at my ISP got increased to 10 gigabytes. A couple of years ago. Yay!

In article ,
Sledge HaMMeR   wrote:
>On 19-10-11 23:37, Miquel van Smoorenburg wrote:
>> Nee. De quota output is correct. De “df” output is heel wat
>> anders, dat is voor alles wat er op die share staat.
>>
>> (dus 10GB)
>
>Okay, dus de webruimte is vergroot naar 10GB, dat is wel erg feestelijk!
>Wanneer is dat gebeurt ?
>Is dat exclusief 5 x 1200 mb popboxen, of zitten die daarin?

Het is homedirectory cq webruimte, heeft niks met mailboxen te maken.

>Of is dat inclusief de snapshots ?

Nee

Mike.

via Grootte ‘webdisk’ – Google Groups.

Posted in Power User | Leave a Comment »

On turning “W1025 Unsupported language feature: ‘customattribute'” into a compiler error.

Posted by jpluimers on 2014/04/10

On turning W1025  into an error [WayBack] Why is “W1025 Unsupported language feature: ‘custom attribute’ “only a warning?… – mezen – Google+:

Stefan Glienke's profile photo

+Fabian S. Biehn This question has been answered by Nick already.
However you don’t need to turn it on in ALL projects. You change it in the base configuration, tick the Default checkbox in the bottom left corner of the settings dialog and from then on every new project will have this warning treated as error. However for existing projects you have to change it retrospectively.
You can even pass this option to the commandline compiler as explained here: http://stackoverflow.com/a/360947/587106

[WayBack] compiler construction – Delphi 2009 where is the ‘treat warnings as errors’ option? – Stack Overflow

On a related note, if you are using the command line compiler (DCC32.exe) the switch is -W^ to have warnings treated as errors. If you are using this, it’s important to note that the default command shell in Windows (cmd.exe) treats the caret (^) as an escape character, so you have to use -W^^ instead if you are executing the compiler directly from the command line, a batch file or even the from the Pre-Build or Post-Build events in the IDE.

It’s also worth mentioning that you can have only certain warnings treated as errors. The switch to do this on the command line would look something like this: -W^^WARNING-NAME. You would substitute the string that is associated with the warning you are wanting to have treated as an error.


The point about -W^ being problematic within BAT files is a good one. Using -W^^ works if you are modifying the compile line directly. Otherwise, I found that using surrounding double quotes "-W^" works, for example when building an env var that contains all compiler parameters, that env var being subsequently passed to dcc32.exe. Tested with XE, XE2, XE3, XE4.

SET CompilerParams=-B -M "-W^" -U"..\Source;%dcuoutdir%;%DUnitPath%" -I"..\Source\inc" "-N0%dcuoutdir%" -DDebugMode
"%dcc%bin\dcc32.exe" %FuTFolder%ADDTests.dpr %CompilerParams% -U"%FuTSource%" %ExtraPath32%>%DCCLogFilename%
if errorlevel 1 %Alerter% %DCCLogFilename%

 

–jeroen

Posted in Delphi, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, Software Development | Leave a Comment »

Why every now and then the “Is feedly blocked?” message dat https://feedly.com? (via: feedly: your news. delivered.)

Posted by jpluimers on 2014/04/10

Anyone know why every now and then Feedly displays the message below, but running it a couple of minutes later, it just loads fine?

No changes on my system whatsoever: it even repeats at various systems that do not have Adblock or other tools installed.

Error message:

Is feedly blocked?

Feedly is not able to load. It is probably because one of your extensions is blocking it. If you run Adblock, HTTPSEverywhere, Awesome screenshot etc.. please make sure that feedly.com is white listed.

Ask a question

–jeroen

via: feedly: your news. delivered..

Posted in Feedly, Power User, SocialMedia | Leave a Comment »

CleanMgr: Disk Cleanup Wizard addon lets users delete outdated Windows update files

Posted by jpluimers on 2014/04/10

Not only for Windows 7 SP1, as it works on newer Windows versions too:

The article lists many steps, but these are the ones you don’t want to miss:

  • Start the Disk Cleanup wizard by running ‘CleanMgr‘ as Administrator
  • Make sure you press the “Cleanup system files” button:
    this will restart CleanMgr as administrator and include obsolete Windows Update files in the scan.

Both scanning and cleaning can take quite a while, and you often have to reboot afterwards.

You automate parts of the non-administrator process, but the automation task does not support the “Cleanup system files” option. Normally I’d rather see what it wants to cleanup, so I have not used this automation way yet..

–jeroen

via: Disk Cleanup Wizard addon lets users delete outdated Windows updates on Windows 7 SP1.

Posted in Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2 | Leave a Comment »

OS X FullDebugMode support added by Sebastian Zierer (Thanks!) in FastMM / Code / Commit [r67]

Posted by jpluimers on 2014/04/10

I just discovered that almost 2 weeks ago, the FastMM code repository added support for these defines in Mac OS X in Commit [r67].:

  • FullDebugMode
  • LogErrorsToFile
  • LogMemoryLeakDetailToFile

This is great news!

Note: this is not a full FastMM release, but since the original change by Sebastian Zierer has been done about half a year ago, the code is pretty stable.

Thanks mnasman for mentioning this on Delphi Redit, and Ralf Stocker for announcing this in the Non-Tech newsgroup.

–jeroen

via: FastMM / Code / Commit [r67].

Posted in Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, FastMM, Software Development | 2 Comments »