Posted by jpluimers on 2019/01/17
Every time he finds a new compiler use, I’m all like “wow!”. This time [WayBack] Stefan Glienke – Google+: One of these rare moments when the compiler positively impresses me found a new way to make single responsibility principle easier to attain by using a class helper to resolve interface delegation.
In the comments are a few nice tidbits on what the compiler emits in order to implement interface delegation and reference counting.
–jeroen
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2019/01/17
Cool stuff if you want to make your own WOL devices out of spare parts.
From old to new:
They can be woken up by anything sending magic WOL packets, including Raspberry Pi (which cannot be woken up by them, though you could use a Whack-on-LAN for that).
Basically the Raspberry Pi cannot be woken up with WOL because of a few reasons:
- The ethernet chip is connected over USB so it cannot pass the WOL result further on.
- If it could, there still is no BIOS to process the WOL result.
- When it is halted but has power, the CPU isn’t active. The GPU is, but cannot process the WOL.
It can be a WOL server though: [WayBack] Raspberry Pi As Wake on LAN Server: 5 Steps (with Pictures)
–jeroen
Posted in Development, Ethernet, Hardware Development, Network-and-equipment, Power User, Raspberry Pi, Wake-on-LAN (WoL) | Leave a Comment »
Posted by jpluimers on 2019/01/17
If you dare using Delphi 10.3 Rio instead of waiting for Update 1 to stabalise (and hopefully speed up things), you might want to try the development snapshot of [WayBack] IDE Fix pack for Rio – Page 2 – Delphi Third-Party – Delphi-PRAXiS [en] that got released last week (thanks Andy!):
A new development snapshot of IDE Fix Pack for 10.3 Rio is available.
The Win64 (DCC64) and Android (DCCAARM) compiler patches should now work as excepted.
Changes:
- Added: Support for Delphi 10.3 Rio
- Added: Fix for TStringList.IndexOfName bug (RSP-21633)
- Added: Fix for access violoation in the Welcomepage JScript9.dll binding
- Added: TCustomListBox.ResetContent is skipped if the handle isn’t created yet
- Added: DFM Streaming optimizations
- Added: FillChar uses Enhanced REP MOVSB/STOSB cpu feature if available for large sizes.
- Added: Enabled CPU LOCK string assignment optimization for local variables
- Added: -Oe (experimental optimizations) and -x-cgo compiler option extension (Remove of some unneccessary push/pop operations)
- Added: Expression Evaluator allows array access to pointers even if the type wasn’t declared with {$POINTERMATH ON}
- Added: New compiler option extensions: -x–compileonly, -x–reslist, -x–depfile, -x–unitstats
- Added: More performance optimization for the DCC64 compiler
- Added: TStringBuilder.SetLength optimization [RSP-19178]
- Added: TStrings.GetDelimitedText optimization
- Fixed: Packages with duplicate units may not have caused a fatal compiler error.
IDEFixPackD103Reg64.7z
fastdccD103vDev.7z
Related:
–jeroen
Posted in Delphi, Delphi 10.3 Rio (Carnival), Development, Software Development | 4 Comments »