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

Archive for May, 2018

Google verlaagt prijzen opslagdienst Drive en komt met familieabonnement – Computer – Nieuws – Tweakers

Posted by jpluimers on 2018/05/28

Google heeft de prijzen voor veel abonnementen op de betaalde opslagdienst Drive verlaagd. Ook komt er een optie om verschillende betaalde abonnementen onder te brengen op een rekening. De gratis optie om 15GB op te slaan blijft bestaan.

[WayBack] Google verlaagt prijzen opslagdienst Drive en komt met familieabonnement – Computer – Nieuws – Tweakers

Quotes:

Daarboven komt nog de onzekerheid dat als je “per ongeluk” de voorwaarden van google schendt in één van hun diensten, ze je gehele account kunnen blokkeren zonder wederwoord. Je zou niet de eerste zijn die zich in de haren krabt en zich afvraagt waarom je in godsnaam van de ene op de andere dag geblokkeerd bent zonder dat je iemand kan contacteren om te vragen waarom.
Om deze reden doe ik regelmatig een sync met een andere clouddienst. Je betaalt dan wel wat meer maar dan heb je tenminste de zekerheid beschermt te zijn tegen zulke willekeur

 

Niemand hier die G Suite van Google gebruikt? Ik heb daar het business abonnement en betaal iets van 8 euro in de maand voor onbeperkte opslag. Er zit dan wel een 1TB limiet aan als je minder dan 5 accounts op je domeinnaam hebt staan, maar dat hanteren ze niet en ik denk na deze verandering bij Drive al helemaal niet.

Ik zet werkelijk alles op dat G Suite account, gewoon omdat het kan. Echter ben ik wel huiverig over het feit dat Google zomaar je account zou kunnen aflsuiten als je een bestand op je Drive hebt staan met copyright en macht met een hash die bij hun bekend is. Ik sla hele belangrijke bestanden dan ook altijd nog op, op mijn lokale NAS, thuis.

 

Ik gebruik hetzelfde al sinds oktober 2017 en heb er ondertussen 20TB op staan. Kan ook bevestigen dat ze de 5 gebruiker regel niet toepassen in de praktijk.

Persoonlijk raad ik wel aan om alles lokaal te encrypten/decrypten en dan naar drive uploaden. Dit kan makkelijk met de crypt module van rclone https://rclone.org/crypt/

Heb al screenshots van mensen gezien die er 200TB hebben op staan.

Zeker als hoge upload snelheid (zelf heb ik 1gbit) hebt is dit een goede oplossing voor offsite replicatie / cold storage voor je lokale backups.

Overigens is er wel een 10TB download en 750GB upload limiet per dag. Ben zelf al een paar keer tegen het upload limiet aangelopen maar denk dat dit voor de meeste gebruikers geen probleem is.

Als backup tool gebruik ik op dit moment https://duplicacy.com/

 

Zoiets heb ik inderdaad ook al eens gehoord, tevens heb ik een meerdere chats van Google vernomen dat er niets mee aan de hand is als je dat doet, de medewerker zelf had ook meerdere bestanden met copyright op zijn Drive staan.

De key lijkt dus dat je het gewoon niet deelt, want dan is het natuurlijk mogelijk dat de link op internet verschijnt en je in feite materiaal met copyright verspreid en dan wordt het natuurlijk een ander verhaal.

Heb ook nog met de woordvoerder op Twitter een chat gehad (Rachid Finge) en die heeft aangegeven ook G Suite te gebruiken voor persoonlijk gebruik. Screenshot

Ik denk dat we dus redelijk veilig zitten met het gebruik van G Suite voor persoonlijk gebruik, ik kan het dus iedereen aanraden, zeker als je meer dan 2TB denk te gaan gebruiken!

 

 

Posted in Google, GoogleDrive, LifeHacker, Power User | Leave a Comment »

Windows 10 added one more account: WDAGUtilityAccount

Posted by jpluimers on 2018/05/28

As of Windows 10 fall creators update, the WDAGUtilityAccount was added, so the default accounts on such a machine are these:

  • Administrator
  • DefaultAccount
  • Guest
  • WDAGUtilityAccount

Then there is one account for the user that installed the system (which is named by that user).

Windows Defender Application Guard is the reason for WDAGUtilityAccount as explained here:

–jeroen

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

DRAM Access Timing – now and then (then = during 6502 times) TL;DR: Modern DR…

Posted by jpluimers on 2018/05/28

DRAM Access Timing – now and then (then = during 6502 times)TL;DR: Modern DRAM ist faster old stuff, but not much. – Kristian Köhntopp – Google+

Source: [WayBackDRAM Access Timing – now and then (then = during 6502 times) TL;DR: Modern DR…

Full article: [WayBackdram_latency_then_and_now.md by [WayBackPer Vognsen.

–jeroen

Posted in Development, Hardware Development, History, Software Development | Leave a Comment »

I’d probably take a W520 over it, but Lenovo Thinkpad T420: Another excellent, inexpensive Linux laptop | Open-Source Routing and Network Simulation

Posted by jpluimers on 2018/05/25

Reading the below, I’d probably go for the W520. Both series are the final ones having a 7-row keyboard.

I recently purchased a used Lenovo Thinkpad T420 laptop to replace the Lenovo Thinkpad T400 I was previously using as my main platform for researching open-source network simulators and emulators. …

Source: [WayBack]Lenovo Thinkpad T420: Another excellent, inexpensive Linux laptop | Open-Source Routing and Network Simulation

Do not get the T420s as it is the slim-line version which is harder to upgrade and for some users gives thermal issues.

The T420 has only USB2, the W520 has USB3, better screen, faster processors and allows more memory (32 gigabyte for quad core processors).

Related:

Read the rest of this entry »

Posted in Power User, ThinkPad, UltraNav keyboards | Leave a Comment »

Hmm, latest Tumbleweed on Raspberry Pi 3 has an odd thing booting: Ansi termi…

Posted by jpluimers on 2018/05/25

Reminder to self: since the [ArchiveARM Cortex A53 problems are fixed, check out if this is also fixed:

[WayBack] Hmm, latest Tumbleweed on Raspberry Pi 3 has an odd thing booting: Ansi terminal characters aren’t being processed any more. – Jeroen Wiert Pluimers – Google+

Related: Git repository with fixed binaries for Tumbleweed on Raspberry Pi 3 – Bug 1084419 – Glibc update to 2.27 causes segfault during name resolution

–jeroen

Related as a different Pi died after a sudden power down:

Posted in *nix, Development, Hardware Development, Linux, openSuSE, Power User, Raspberry Pi, SuSE Linux, Tumbleweed | Leave a Comment »

Apple II Ethernet Module – a2RetroSystems

Posted by jpluimers on 2018/05/25

Reminder to self: see if I can order this:

Apple II Ethernet Module – This product is based on the Wiznet W5100 chip. It has an embedded hardware IP stack. Contiki, IP65, Marinetti and ADTPro have been updated to work with the new card.

We will be using Itead as our current PCB supplier.
The card will be assembled by Circuits Central

Source: [WayBackWelcome to a2RetroSystems

Other links:

–jeroen

Read the rest of this entry »

Posted in //e, 6502, Apple, Apple ][, History, Power User | Leave a Comment »

Fixing the WSDLImp command-line Delphi WSDL importer to parse WSDL files including XSD files using xsd:group at the top level

Posted by jpluimers on 2018/05/24

I finally found out the cause of the Delphi WSDL Importer generating wrong .pas files when the WSDL file includes an XSD file that uses an xsd:group (see below) at the top-level.

The resulting access violation was caused by forgetting a nil check for a Context (at the top-level it is nil because there is no encompassing type yet; xsd:group can be at the top-level).

There might also be other WSDL/XSD constructs leading to the same code path: a good set of WSDL/XSD combination would be needed for proper integration testing on this. Hopefully, Embarcadero has such a set.

Patches

All patches are at https://gist.github.com/jpluimers/2824c03ae816229a53ffa4830b2d6208. If you need a binary build that includes the patches, drop a comment below.

Before fixing, I had to get it building which required modifying the search path and output path (both see Delphi WSDL importer compiler defines). This is the first patch below (which results includes a huge .dproj change as that’s what the IDE does to a project when you change just a few simple things).

The second patch below is the fix.

The fix is to replace if (TypeDef.IsAnonymous) then by if (TypeDef.IsAnonymous) and Assigned(Context) then in side the function TWSDLTypeImporter.AddComplexType of WSDLImpWriter.pas.

After careful checking of the group handling (around etElementGroup, cmGroupRef,  xtiElemGroupIXMLElementGroup, IXMLElementGroups), no other fixes are needed as the rest of the xsd:group handling functions correctly at least for the WSDL/XSD combinations I had to import.

During fixing, I found some compiler defines would produce much more output. That output tremendously helped finding out if xsd:group handling was indeed correct.

In the third patch, I have added another modification that introduces a new -logall command-line parameter that enables all these in one go.

I have handed over the patches through internal channels in order to circumvent a long and tedious QC/QualityPortal process. Hopefully they will make it in the next major Delphi version.

Related

Patches generated by following the steps in [WayBack] Generate a git patch for a specific commit – Stack Overflow:

git format-patch -1 <<commit-SHA>>

Command-line parameters

The WSDLImp has many command-line parameters, some of which are not accessible from the IDE expert. More information on these at:

xsd:group

An xsd:group contains a group of definitions. It is similar to a list of fields in a record/class/interface in Delphi that you can use in multiple record/class/interface definitions. The group only has a name at the XSD level, but not at the Delphi generated code level: there the group is expanded in each place it is used.

More information: [WayBack] xsd – How to use the xml schema group element – Stack Overflow

–jeroen

Read the rest of this entry »

Posted in Conference Topics, Conferences, Delphi, Development, Event, Software Development | 12 Comments »

Indy repo URLs and nightly builds

Posted by jpluimers on 2018/05/24

For my link archive:

Password embedded Indy SVN repository URLs

Based on [WayBack] Indy Subversion Source Access

This might come in handy: [WayBackCreating a two way sync between a Github repository and Subversion – Ben Lobaugh Online

Nightly Indy builds

Via [WayBack] Indy DevSnapshot and https://gitter.im/IndySockets/Indy

–jeroen

Posted in Delphi, Development, Indy, Software Development | 2 Comments »

Getting the new MMX from Raabe Software to work when installing it as separate Administrative user

Posted by jpluimers on 2018/05/24

I have a policy to install software with a separate Administrative user, but develop with a normal non-Administrative user.

For some software, this creates problems, either because it cannot cope while running as a non-UAC user, or because they write their configuration (either on disk or in the registry) to the user that installed the software as opposed to:

  • write the configuration as a template to a generic place (like %ProgramData% or HKLM) then
  • apply that template when a user first runs the software

ModelMaker Code Explorer does the latter, of which I earlier wrote about in Fixing Unable to create ModelMaker Tools Shared Directory and Cannot create file “C:\HungarianTypeLookup.txt”. Access is denied..

Uwe Rabbe (who now maintains MMX) will fix this, but until then, you either will see no MMX menu entry at all, or get errors like the ones below.

Others have ran into them as well, so hopefully these steps will provide a fix for them as well, see

I think the best fix is for the installer to detect if it is being run as regular user or administrator, then decide upon those where to write in the registry. I’m not sure though how other Delphi experts handle this, so I am open on input from other parties.

Steps below are based on

No MMX in the Delphi menu at all

This likely means MMX is not registered in the registry for the current user.

Read the rest of this entry »

Posted in Delphi, Development, ModelMaker Code Explorer, Software Development | 3 Comments »

Inspect (Windows) to find Automation properties and control patterns, as well as Microsoft Active Accessibility properties

Posted by jpluimers on 2018/05/24

Inspect (Inspect.exe) is a Windows-based tool that enables you select any UI element and view the element’s accessibility data. You can view Microsoft UI Automation properties and control patterns, as well as Microsoft Active Accessibility properties. Inspect also enables you to test the navigational structure of the automation elements in the UI Automation tree, and the accessible objects in the Microsoft Active Accessibility hierarchy.

Inspect is installed with the Windows Software Development Kit (SDK) for Windows 8. (It is also available in previous versions of Windows SDK.) It is located in the \bin\<platform> folder of the SDK installation path (Inspect.exe).

[WayBackInspect (Windows)

via [WayBack] Before i start hooking the windows messages for bds i would like to ask if there is a way to trigger “save all” from outside? – Attila Kovacs – Google+

–jeroen

Posted in Development, Software Development, Usability, User Experience (ux) | Leave a Comment »