Posted by jpluimers on 2018/04/12
[WayBack] I want to annotate some of my enumerated types with human facing names. So I want to write: type[Names(‘Explicit time domain’, ‘Implicit time domain’,… – David Heffernan – Google+
This does not work:
constructor Create(const Values: array of string);
It seems to be in QC.
The reason is not obvious until you realise (thanks Stefan for wording that) that attribute constructor arguments are limited to anything that can be const. Open arrays nor dynamic arrays can be const (yes, nowadays you can have “consts” that are dynamic arrays but in fact they are compiler protected variables).
An alternative you might think works, but fails us using one attribute per enumeration element. But that’s where Delphi RTTI leaves you in the dark: it does not expose the RTTI for enumeration elements (likely doesn’t even generate it), only the the enumeration type itself.
So this fails:
type
NameAttribute = class( TCustomAttribute )
private
FName: String;
public
constructor Create( AName : String );
property Name: String read FName;
end;
TMyEnumeration = (
[Name('One')]
meOne,
[Name('Two')]
meTwo
);
–jeroen
Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2018/04/12
If you develop mobile apps with Delphi, you know it: compiling for Android and iOS is sloooooooooooooow, especially for debug builds. This little tip makes compiling Debug builds much faster……
Set the Debug information option to Limited Debug information
When I read a thing like that, I always think “how come I never thought about that before?” Well done Erik!
[WayBack] Improve Android and iOS debug compilation speed – grijjy blog
via: [WayBack] Here’s a quick tip to improve the compilation speed of debug builds for iOS and Android… – Erik van Bilsen – Google+
–jeroen
Posted in Android, Delphi, Development, iOS Development, Mobile Development, Software Development | Leave a Comment »
Posted by jpluimers on 2018/04/11
So we are all doomed: on debian, beep was an issue leading into a CVE. The fix is an issue too, and also has a CVE.
Source: [WayBack] beep, patch and ed – The Isoblog.
Related:
–jeroen
Posted in *nix, *nix-tools, Debian, Linux, Power User, Security | Leave a Comment »
Posted by jpluimers on 2018/04/11
[WayBack] Gource – software version control visualization has example for these kinds of repositories: Git, Bazaar, Mercurial and SVN.
Source: acaudwell/Gource: software version control visualization
Cool tool (works on Windows and Linux) that I found via [WayBack] Juancarlo Añez – Google+

–jeroen
Posted in Development, DVCS - Distributed Version Control, git, Mercurial/Hg, Software Development, Source Code Management, Subversion/SVN | Leave a Comment »
Posted by jpluimers on 2018/04/11
[WayBack] CLIFF Electronic Components – Quicktest:
The Quicktest is ideal for electrical shops, factories, labs and service departments.
With its lid open the wires of a plugless lead can be inserted into the insulated clips. When the lid is closed, current passes to the equipment being demonstrated or tested.
A neon light shows that the connector is live and ready to use. The fuse (BS 1362) is easily accessible for replacement.
The connector is made of tough, safe materials. The base is phenolic moulded for insulation and rigidity. The lid is flame retardant glass filled thermo plastic.
The insulated clips are colour coded for easy identification. The flexible cable grip will take any normal mains cable. Only one small screwdriver is needed for both the base entry and the terminal screws.
Another handy tool is this: [WayBack] Resistance Wheel | Jaycar Electronics, but it’s hard to get so you can build similar devices yourself with a few hours of work:
–jeroen
Read the rest of this entry »
Posted in Development, Hardware Development, LifeHacker, Power User | Leave a Comment »
Posted by jpluimers on 2018/04/10
Many people use it that way. Which means I can put it on an old Raspberry Pi B+ revision 1.2 board (which Wikipedia indicates as the B 1+ in the Specifications table but as Raspberry Pi 1 Model B+ revision 1.2 in the schematics of connectors).
I might consider DietPi as distribution (which is Debian based) as it is even ligher.
See [WayBack] https://www.reddit.com/r/pihole/comments/6h39zr/is_a_raspberry_pi_1_good_enough_for_a_pihole/#divw0i5
One more note: I need to check out which Debian base name (which indicates the version) works best as there seemed to be a dnsmasq issue (not archived because discourse hatesdislikes the WayBack machine and Archive.is):
Like Apple, Android and Delphi, they use name based versions of which I always forget the order of. Luckily the source of the below table gets updated over time [2017 Archive.is, 2018 Archive.is] Debian releases and names – Electric Toolbox Debian releases are named after characters from Toy Story and are frequently referred to with the name rather than the version.:
| Version |
Code name |
Release date |
Toy Story character |
| 1.1 |
Buzz |
1996-06-17 |
Buzz Lightyear |
| 1.2 |
Rex |
1996-12-12 |
Rex (the T-Rex) |
| 1.3 |
Bo |
1997-06-05 |
Bo Peep |
| 2.0 |
Hamm |
1998-07-24 |
Hamm (the pig) |
| 2.1 |
Slink |
1999-03-09 |
Slinky Dog |
| 2.2 |
Potato |
2000-08-15 |
Mr Potato Head |
| 3.0 |
Woody |
2002-07-19 |
Woody the cowboy |
| 3.1 |
Sarge |
2005-06-06 |
Sarge from the Bucket O’ Soldiers |
| 4.0 |
Etch |
2007-04-08 |
Etch, the Etch-A-Sketch |
| 5.0 |
Lenny |
2009-02-14 |
Lenny, the binoculars |
| 6.0 |
Squeeze |
2011-02-06 |
Squeeze toy aliens |
| 7 |
Wheezy |
2013-05-04 |
Wheezy the penguin |
| 8 |
Jessie |
2015-04-26 |
Jessie the cowgirl |
| 9 |
Stretch |
2017-06-17 |
Rubber octopus from Toy Story 3 |
| 10 |
Buster |
not yet released |
Andy’s pet dog |
| 11 |
Bullseye |
Not yet released |
Woody’s horse |
|
Sid |
“unstable” |
The next door neighbour |
Via: [WayBack] Software-update: Pi-hole 3.3.1 – IT Pro – Downloads – Tweakers
–jeroen
Posted in *nix, Debian, Development, Hardware Development, Linux, Power User, Raspberry Pi, Raspbian | 1 Comment »
Posted by jpluimers on 2018/04/10
[Archive.is] A Tour of Go
and
Paw is a full-featured and beautifully designed Mac app that makes interaction with REST services delightful.Whether you are an API maker or consumer, Paw helps you build HTTP requests, inspect the server’s response and even generate client code.
[WayBack] Paw – The most advanced API tool for Mac
via:
–jeroen
Posted in Development, Go (golang), Software Development | Leave a Comment »
Posted by jpluimers on 2018/04/10
Ever seen the cool issue and pull request templates on GitHub? For instance the one used at https://github.com/rg3/youtube-dl/issues/new
This older repo and site are still there to help you generate a basic structure for them:
–jeroen
Posted in Development, DVCS - Distributed Version Control, GitHub, Software Development, Source Code Management | Leave a Comment »
Posted by jpluimers on 2018/04/09
Resultaat
Pand
Verblijfsobject
Status
Verblijfsobject in gebruik
Nummeraanduiding
Status
Naamgeving uitgegeven
Openbareruimte
Status
Naamgeving uitgegeven
Woonplaats
Status
Woonplaats aangewezen
Source: BAG Viewer – 0363100012131170
Read the rest of this entry »
Posted in LifeHacker, Power User | Leave a Comment »