Archive for the ‘Software Development’ Category
Posted by jpluimers on 2017/01/12
TL;DR:
By accepting that failing is part of learning, we decrease our fear of failure and become more willing to experiment with new ideas. As we experiment and seek feedback, we will see how this benefits our customers, by creating a great product that is built on data and not opinions. Innovation won’t happen without failure. We must embrace it to continue learning and grow!
I highly recommend reading the full text by Yolanda van Kimmenade with lots of nice quotes: Changing our attitude towards failure
–jeroen
via: From the Wile E. Coyote-Dept: “Changing our attitude towards failure”, The Booking Blog about fail. – Kristian Köhntopp – Google+
Posted in Development, Opinions, Power User, Software Development | 1 Comment »
Posted by jpluimers on 2017/01/11
I like the opinion of Mason Wheeler best. This is the shortened version:
… Only a perfect licensing system would actually do you any good, and there’s no such thing. And in the age of the Internet, if your system isn’t perfect, all it takes is for one person anywhere in the world to produce a crack and upload it somewhere,
…
If you want people to pay for your software instead of just downloading it, the one and only way to do so is to make your software good enough that people are willing to pay money for it….
But if you insist on running the rat-race against the internet of crackers or your software is in such a niche that cracking is more costly than paying for a license: Tool for licensing and protect my Delphi Win32 apps – Stack Overflow
–jeroen
Posted in Delphi, Development, Software Development | 2 Comments »
Posted by jpluimers on 2017/01/11
Contrast:
When making the contrast of the text lower and lower…designers need to think of
- elderly
- users with bad vision
- low quality monitors
- bad lighting and glare
- reading on tiny screens
Source: Contrast Rebellion – to hell with unreadable, low-contrast texts!
–jeroen
Low-contrast font color and unreadable texts? To hell with them!
Posted in CSS, Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2017/01/10
Quotes from [WayBack] Ever wanted to download adb or fastboot without having to download the whole of Android Studio?…but didn’t want to download executables from some… – Elliott Hughes – Google+
Article:
These links will always return the adb/fastboot binaries currently shipping with Android Studio. No need to guess what the current version is, or update your own links: just follow these and get the latest binaries, direct from the source.
Comments:
+Elliott Hughes Any chance we can get something to tell us when it is updated? I know you probably don’t care about bandwitdh, but would be nice to know when updates are pushed.
–jeroen
via: [WayBack] finally.gif… – Koushik Dutta (Koush) – Google+
Posted in Android, Development, Mobile Development, Software Development | Leave a Comment »
Posted by jpluimers on 2017/01/10
A few weeks ago in When you get “TfsScript.Execute” throwing a “Unregistered version of FastScript.” I wrote about “a process that explains any modules in the MAP file not resulting in DCU files”.
The below batch file aids in that process.
It takes a MAP file from your Delphi compiled executable that has debug information in text format which means you need to set your project linker options to generate detailed MAP files.
The Map Debug File (*.map) – RAD Studio documentation hasn’t much information but points to Detailed-Segments Map File – RAD Studio which has a bit more. Neither contain information on Delphi units as they focus too much on the C++ side of things. Then there is a tiny bit information in Understanding Delphi MAP File – Stack Overflow.
So I did some spelunking and came up with this batch-file which will likely work back until about the Delphi 7 era:
Read the rest of this entry »
Posted in Delphi, Delphi 10 Seattle, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | 1 Comment »
Posted by jpluimers on 2017/01/10
Getting the local IP (actually IPs, but most hosts only have a single IP):
# OS X:
alias whatismylocalip='ifconfig | sed -En '\''s/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'\'''
# Linux:
alias whatismylocalip='ip a | sed -En '\''s/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'\'''
I got them via bash – How to I get the primary IP address of the local machine on Linux and OS X? – Stack Overflow
Mac OS X and BSD have ifconfig, but most Linux distributions don’t use ifconfig any more in favour of iproute2, so you use ip a (which is shorthand for ip address show) there.
Their output is similar enough for the sed to work, though. Which surprised be because I didn’t know about the -E option (it lacks in the manual Linux page but it is in the Mac OS X one) which enables POSIX extended regular expressions. In Linux this is documented as -r, but -E also works.
I learned this through the Sed – An Introduction and Tutorial which compares the various versions of sed which also explains about the -n doing no printing.
–jeroen
Posted in *nix, *nix-tools, Apple, bash, bash, Development, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, openSuSE, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2017/01/05
With Xcode updating frequently and Delphi about yearly and often taking more than 1 go at fixing things, you get this scary thought:
Scott Pinkham
I’ve learned to not update Xcode, OSX or iOS until absolutely necessary, and even then I usually stick with an older version of Xcode that is known to be compatible with Delphi. It takes a while for Embaradero/Idera to fix issues every time Apple makes some breaking change. I recommend rolling back to an earlier version if you can.
via: [WayBack] Hello, I upgraded my Xcode to the latest version 8.2.1 and ios SDK 10.2 Now…
–jeroen
Posted in Delphi, Development, Software Development | 3 Comments »
Posted by jpluimers on 2017/01/05
Something to remember: Delphi To Go: Include resource files in your Delphi build process
Note it’s not enough to add a line like this to your .dpr file:
{$R 'New1.res' 'New1.rc'}
The resources actually needs to be part of your .dproj file (which basically is an XML msbuild file adhering to the MSBuild Project File Schema Reference).
That way, the BrccCompile target in $(BDS)\bin\CodeGear.Delphi.Targets will automatically pick it up during build.
I just checked and these target files support BrccCompile:
...\Embarcadero\RAD Studio\7.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\RAD Studio\8.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\RAD Studio\9.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\RAD Studio\10.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\RAD Studio\11.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\RAD Studio\12.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\Appmethod\13.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\Studio\14.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\Studio\15.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\Studio\16.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\Studio\17.0\bin\CodeGear.Delphi.Targets
...\Embarcadero\Studio\18.0\bin\CodeGear.Delphi.Targets
Which means it’s available as of Delphi 2007 until at least Delphi 10.1 Berlin and might even work in Delphi 2006
It could be a little bit flakey in Delphi 2007 (I’ve had many msbuild issues there) but more recent versions should be fine.
–jeroen
Related: I have a big file to add +’ at the beginning of a line and ‘ at the end…- shlomo abuisak – Google+
Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Resource Files and Scripts (.res/.rc), Software Development | Leave a Comment »
Posted by jpluimers on 2017/01/05
(:
string sender;
sender = "Duda Nogueira";
Programmer: Come on, stop that crap that Java is slow...
Programmer: Wait, I’ll show you my code to prove that Java is not slow. You’ll see it...
Programmer: Wait, the IDE is starting...
Programmer: Just a moment... It’s almost done...
Programmer: Just a little bit... You’ll see how fast it is...
Alex: zzzzzzzz—
T-shirt: Just wait and get a coffee
Source: Java is not slow – Programmer’s Life : Programmer’s Life
Posted in Development, Fun, Java, Java Platform, Software Development | Leave a Comment »
Posted by jpluimers on 2017/01/04
Vendors should post these, but alas Embarcadero is not the only one failing here, so here are build/version numbers of the various Delphi Berlin releases until now:
Sébastien Paradis:
- Berlin initial release -> 24.0.22858.6822
Horácio Filho:
- Berlin Update 1 -> 24.0.24468.8770
- Berlin Update 2 -> 24.0.25048.9432
Via: [WayBack] Hi everyone How to know wheter my installed Berlin instance includes update 2?. … G+
If you need the ISO images: Positive: Delphi 10.1 Berlin Update 2 is out – ISO links.
–jeroen
Posted in Delphi, Delphi 10.1 Berlin (BigBen), Development, Software Development | 1 Comment »