Archive for the ‘Software Development’ Category
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
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 »
Posted by jpluimers on 2019/01/16
I need to document this properly later, but here are some links I used when fiddling with iframe elements:
A few things I learned:
- You can either put the iframe elements in different divs then arrange the divs, or put a different ID on each iframe and arrange the iframe. In either case you will need a
float: left; in your style and a width: 100vw in the div around all your frames.
- Be aware that
100% isn’t 100% out of the box: default browser styles have a margin around your page and a border around an iframe.
So you will need to fiddle with margin and border-width inside your styles for body and iframe. Easiest is to set them to none or 0.
- Viewport width/height works easier for me than raw %.
- For one-off situations, I like the good old meta refresh over fiddling with JavaScript.
–jeroen
Posted in CSS, Development, HTML, Web Development | Leave a Comment »
Posted by jpluimers on 2019/01/15
Interesting library with ditto command-line tools: [Wayback/Archive] oath-toolkit / oath-toolkit · GitLab.
It allows you to perform all sorts of OAUTH operations from your code or terminal window including generation and verification of OAUTH tokens through [WayBack] OATHTOOL.
Which allows you to do TOTP “zero fucktor” authentication. [WayBack/Archive] Zero Fucktor Authentication – Kristian Köhntopp – Google+: [WayBack] Zero Factor Authentication – The Isoblog.
The project has it’s home at [WayBack] OATH Toolkit, but the repository has done some traveling and for now ended up at GitLab: [Wayback/Archive] oath-toolkit / oath-toolkit together with the web-site source [Wayback/Archive] oath-toolkit / website.
Edit 20230917
Read the rest of this entry »
Posted in Development, Power User, Security, Software Development | Leave a Comment »
Posted by jpluimers on 2019/01/11
A little while ago, I blogged about Life after Google+ – Lars Fosdal. In the mean time, Lars has made a lot of progress exporting the community [WayBack] Delphi Developers – Google+ (which has moved to en.delphipraxis.net !).
He is a heavy user of the Friends+Me Google+ Export tool, which basically is an actively maintained web scraper with standard output targets:
[WayBack] Google Plus Exporter – Medium: Export your Google+ feeds to WordPress, Blogger, and JSON.
It does not depend on the G+ REST API: “the app is using web scraping and will keep working until the bitter end”.
Quite a bit of that information and the feedback he has is in this thread: [WayBack1/WayBack2] Hi Everyone, We’ve just released Google+ Exporter, an application that helps you to export your Google+ feeds (profile, pages, collections, communities… – Friends+Me – Google+
Of course G+ does not save the whole thread in the WayBack machine, so here it is copy-pasted (unformatted; maybe I will format it later):
Read the rest of this entry »
Posted in Development, G+: GooglePlus, Gutenberg editor, LifeHacker, Power User, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »
Posted by jpluimers on 2019/01/10
A search for empty “Reference.cs” – Google Search seems to indicate this happens with referenced types that – despite turning off that option – from the Visual Studio 2017 IDE sometimes results in an empty Reference.cs.
My solution: import in an empty project, then move the reference to the existing project and add it.
[WayBack] c# – Sometimes adding a WCF Service Reference generates an empty reference.cs – Stack Overflow
–jeroen
Posted in .NET, C#, Development, Software Development, Visual Studio 2015, Visual Studio 2017, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2019/01/10

Using OpenSuSE Tumbleweed E20 on Raspberry Pi 3: accessing the enlightenment desktop over VNC after automatic logon I wanted to buy an on-line read-only diary to help my mentally retarded brother see what his next few days are going to be like.
He increasingly has difficulty handling a paper agenda and has an agenda with 30 minute blocks like [Archive.is] bol.com | Bureau Agenda 2017 – 1 dag per Pagina | 0041560163422 | Boeken (and the [Archive.is] picture on the right), but actually he needs 15 minute blocks during some portions of the day.
We call that kind “bureau agenda” which I think translates well into “desk diary”.
They were quite different from the agendas I used to have at school (:
[WayBack] [Zonder titel] Rijam agenda 1983/84 verzamelen? Stripcatalogus op Catawiki
For most school mates, they were more like this:
Had je een O’Neill of ging je voor De Familie Doorzon? De oude agenda’s uit je middelbare schooltijd zijn de verpersoonlijking van je eigen puber-ik. Afgelopen weekend startte in het Nationaal Onderwijsmuseum in Dordrecht de toffe tentoonstelling Grow Up over die vuistdikke, volgeplakte agenda’s.
[WayBack] Schoolagenda vol sentiment | Go with the Vlo
Anyway, some ideas I initially had are below.
This is what I actually did:
Two things for the future:
- The Agenda view does not show end-times for events. Other views do. The printable output does. I want them in the Agenda view as well. I’m not alone (:
- I might make the page responsive and have multiple iframe instances with different views on the calendar. For that, these will likely help:
Initial thoughts
Raspberry based:
Chromecast based:
–jeroen
Read the rest of this entry »
Posted in Development, Google, GoogleCalendar, Hardware Development, JavaScript/ECMAScript, JSFiddle, LifeHacker, Power User, Raspberry Pi, Scripting, Software Development | 2 Comments »