In case I ever am going to write a book. [WayBack] mkbook/example/produce at master · booksbyus/mkbook · GitHub: mkbook – Hintjens’ book production tools
–jeroen
Posted by jpluimers on 2018/12/28
In case I ever am going to write a book. [WayBack] mkbook/example/produce at master · booksbyus/mkbook · GitHub: mkbook – Hintjens’ book production tools
–jeroen
Posted in LifeHacker, Power User | Leave a Comment »
Posted by jpluimers on 2018/12/28
A while ago one of our machines threw an error 8E5E03FB while installing SP1 (KB976932) on Window 7 Home Premium.
This is what I used to recover from that (note that failed alone means it failed with the previous error code):
Performed chkdsk %SystemDrive% /F, rebooted, waited for any issues to get fixed (none were)sfc /scannow%SystemRoot%\Logs\CBS\CBS.log and found this entry:
CBS Failed call to CryptCATAdminAddCatalog. [HRESULT = 0x8e5e03fb - JET_errPageNotInitialized
0x80070057.0x80070490.Code B7. This was in the CBS.Log: Store corruption detected in function CCSDirectTransaaction::ShouldKeepAliveFromInstallmap on resource amd64_avast.vc140.crt_fcc99ee6193ebbca_14.0.24210.0_none_56aba0211ca246c2.0x80070490. This was in the CBS.Log: Failed to resolve package 'Package_2_for_KB2507938~31bf3856ad364e35~amd64~~6.1.1.4' [HRESULT = 0x80070490 - ERROR_NOT_FOUND].SFC /SCANNOW
SFCFix'Package_2_for_KB2507938~31bf3856ad364e35~amd64~~6.1.1.4': dism /online /remove-package /packagename:Package_2_for_KB2507938~31bf3856ad364e35~amd64~~6.1.1.40x80070490 entry is still Failed to resolve package 'Package_2_for_KB2507938~31bf3856ad364e35~amd64~~6.1.1.4' [HRESULT = 0x80070490 - ERROR_NOT_FOUND]wusa /uninstall /KB:2507938 -> failed indicating De update KB2507938 is niet op deze computer geïnstalleerd. (“The update KB2507938 is not installed on this computer.”)De update geldt niet voor uw computer. (“The update is not applicable to your computer”)SFC /SCANNOWSFCFixFRST64KB2507938%SystemRoot%\Logs\CBS:
%SystemRoot%\Logs\SFCFix:%SystemRoot%\Logs\FRST64:
So I asked this question: [WayBack] [Win7HomePremium] SP1 fails with 0x80070490 as KB2507938 is not fully present.
TL;DR: for English Windows 7 x64 you need [WayBack] https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe
Note that the download file naming is very confusing as you will see only the above 6 files from the below list (which is English, but similar for other languages):
Posted in Power User, Windows, Windows 7 | Leave a Comment »
Posted by jpluimers on 2018/12/28
Almost all pages at the Embarcadero DocWiki have an embedded product version in the URL or get redirected to one.
One of the notable exceptions is the [WayBack] Platform Status:
The following table shows supported platforms and operating systems for different RAD Studio versions.
A
*(star) sign next to an operating system indicates that there is a known issue with that operating system and a corresponding RAD Studio version.To see the workaround for that particular issue, click on the name of the operating system or scroll down to the appropriate section.
It got introduced in 2015 ([WayBack] New DocWiki RAD Studio, Delphi and C++Builder Platform Status Page – Community Blogs – Embarcadero Community) and is maintained at irregular intervals.
For some history: https://web.archive.org/web/*/http://docwiki.embarcadero.com/PlatformStatus/en/Main_Page
–jeroen
via: [WayBack] Summary page showing supported platforms and OS versions for XE4 and upwards, as well as links to known issues for specific versions… – Lars Fosdal – Google+
Posted in C++, C++ Builder, Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2018/12/27
The 1990s are calling back: some people in the Polymer world now have realised that in order to be more productive, they need something like “wizzywid: wizzywid – what you see is what you deserve”.
It seems that the visual IDEs of the 1990s that so many from the web 2.0 era frowned upon are useful after all.
Reality check: if you write design tools for Polymer like that, then ensure they support proper refactoring. As that is the next step in the evolvement of your tool-chain.
Take a peak at IDE history, for example Delphi, Visual Basic, Visual C++, Visual Studio .NET, Blend, Visual Studio Code, JBuilder, Eclipse, NetBeans, and IntelliJ IDEA.
–jeroen
Posted in Development, Software Development | Leave a Comment »
Posted by jpluimers on 2018/12/27
Based on eventviewer – View Shutdown Event Tracker logs under Windows Server 2008 R2 – Server Fault « The Wiert Corner – irregular stream of stuff, I’ve made similar filters for service stop/start events.
Works on translated systems:
PowerShell
Get-EventLog System | Where-Object {$_.EventID -eq "7036"} | ft Machinename, TimeWritten, UserName, EventID, Message -AutoSize -Wrap
Or on one line:
Get-EventLog System ^| Where-Object {$_.EventID -in "6005","6006","7000","7009","7036","7040","7042","7043","7045"} ^| ft Machinename, TimeWritten, UserName, EventID, Message -AutoSize -Wrap
Note the -In operator was introduced in PowerShell 3: [WayBack]
Source: PowerShell v3 – New -in Operator | Jonathan Medd’s Blog
I’ve adapted the custom view to include all these event IDs above (note some links have disappeared moving my notes to a blog post):
Other event IDs that might be relevant via [WayBack] Windows Server restart / shutdown history – Server Fault:
A more complete list of Windows Kernel related Event IDs is at [WayBack] rootkit.com/NETEVENT.H at master · bowlofstew/rootkit.com.
Steps for the custom view:
Open Event Viewer then
- Right click Custom Views
- Click Create Custom View
- Under the Filter tab
- Keep Logged as Any time
- Select all the Event level types (Critical, Warning, etc.)
- Choose by source = Service Control Manager, Service Control Manager Performance Diagnostic Provider
- Optionally; For Event ID under the Includes/Excludes Event IDs section enter 6005,6006,7000,7009,7036,7040,7042,7043,7045 for the Event ID
- Click Ok
- Enter a name like Shutdown Events and any description then
- Click Ok again to complete the custom event log.
Your new custom view should show up in the list of custom views with the correct filter applied.
–jeroen
Posted in CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Leave a Comment »
Posted by jpluimers on 2018/12/27
Interesting discussion on an alternative to the LoH: [WayBack] To Heap or not to Heap; That’s the Large Object Question? – CodeProject.
Via: [WayBack] To Heap or not to Heap; That’s the Large Object Question?Detailed analysis of large object heap allocation impacts under .NET: “…would it be better t… – Lars Fosdal – Google+
–jeroen
Posted in .NET, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2018/12/26
A while back I needed a design-time way to automatically resize a Delphi container control (descendants from the, [WayBack] TWinControl Class like [WayBack] TPanel, [WayBack] TScrollbox, [WayBack] TForm, [WayBack] TFrame) to grow/shrink so it just fits around it’s contained controls.
Back then I needed it for VCL design time, if possible taking into account non-visual components.
The [WayBack] TControl.AutoSize Property does just that for visual controls and works way better than suggestions on doing this manually.
Manually adjusting many controls at design time is a tedious job, especially when trying to prevent mouse usage (I’ve had RSI in the early 1990s, so I’m extra careful).
Thanks Uwe Raabe for helping me out on this.
I’ve not had the need for non-visual components or FMX yet, but if I ever need it, then this piece of code by Stefan Glienke might work:
–jeroen
Source: [WayBack] Is there an expert that can resize a container (panel, scrollbox, form, frame, etc) to be just large enough so it fits all it components?So: grow when… – Jeroen Wiert Pluimers – Google+
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2018/12/26
It’s been a while since [WayBack] +Microsoft Corporation has recently released a preview version of an open source +Raspberry Pi web simulator where you can connect sensors and component… – Jean-Luc Aufranc – Google+
Back then it was convoluted to get going. Hopefully by now that has changed.
So time to take another look during the holiday season:
It reminded me a lot of [WayBack] Bring ideas to life with free online Arduino simulator and PCB apps | Autodesk Circuits (a.k.a. circuits.io):
Posted in *nix, Development, Hardware, Hardware Development, Hardware Interfacing, Linux, Power User, Raspberry Pi, Software Development | Leave a Comment »
Posted by jpluimers on 2018/12/26
Interesting watch: [WayBack] TED Talks on Twitter: “The real reason female entrepreneurs get less funding: @KanzeDana… “
Via: [WayBack] The real reason female entrepreneurs get less funding … Gender gap in startup funding: Dana Kanze and collaborators found a surprising… – Marjan Venema – Google+
Gender gap in startup funding: Dana Kanze and collaborators found a surprising, consistent trend: in meetings with funders, men and women were being asked completely different types of questions.
Video at [Archive.is/WayBack] Dana Kanze: The real reason female entrepreneurs get less funding | TED Talk
–jeroen
Posted in Awareness, History | Leave a Comment »