Visit site The Programming Works

September 2018

0
votes
Vote UpVote

Quantum Information and Quantum Noise

The Programming Works – The term quantum information is really a synonym of the term quantum state, only viewed at a different angle. If a qubit has state then the complex numbers and are (up to a global phase) the quantum information stored in the qubit; instead of saying “qubit has state “, we can say ...
Details Favorite? Off-Topic? Serg @ 2018-09-01 16:05

August 2018

1
vote
Vote UpVote

On the Delphi *.dcp files

The Programming Works – A *.dcp file is created when Delphi builds a package. It always bothered me that the default *.dcp file location does not take into account the build configuration. For example, the default location for Win32 platform is $(BDSCOMMONDIR)\DCP; if you build a package in DEBUG configuration and then in ...
Details Favorite? Off-Topic? Serg @ 2018-08-30 08:05
1
vote
Vote UpVote

Introduction to Python for Delphi programmers

The Programming Works – Why Delphi programmer needs Python at all? The main reason is: Python ecosystem is much bigger and much more active than Delphi ecosystem; there are many useful and actively developing projects in Python, much more than you can find in Delphi. Currently I am dabbling in a nice MkDocs documentation ...
Details Favorite? Off-Topic? Serg @ 2018-08-25 12:05
0
votes
Vote UpVote

Bitbucket in Russia

The Programming Works – Bitbucket in Russia fell innocent victim of random wars the russian government is waging in Internet. The connection to Bitbucket was worsening for months and is nearly broken now. I’ve found the currently working solution here (in Russian). It boils down to editing /etc/hosts file, for ...
Details Favorite? Off-Topic? Serg @ 2018-08-06 12:05

June 2018

3
votes
Vote UpVote

FastMM4 FullDebugMode Setup Guide

The Programming Works – Download the latest FastMM4 release; currently it is version 4.992 Copy the precompiled FullDebugMode dll’s from the downloaded archive to the folders where Windows can find them. I recommend to do the following: Manually create ‘c:\Software’ folder (or name the folder as you ...
Details Favorite? Off-Topic? Serg @ 2018-06-06 14:05

May 2018

0
votes
Vote UpVote

Linux Mint 18 and UEFI boot manager

The Programming Works – Recently I was installing Linux Mint on a new Acer laptop with UEFI boot manager. The laptop came with preinstalled “Endless OS” which turned out to be useless because of absence of a package manager. I’ve created Linux Mint 18.3 bootable USB using Rufus, and chosen “GPT ...
Details Favorite? Off-Topic? Serg @ 2018-05-16 09:05

January 2018

2
votes
Vote UpVote

Crosscompiling with Lazarus 1.8 on Linux Mint 18.3

The Programming Works – Suppose you installed Lazarus 1.8 on Linux Mint 18.3 as described before and want to build Windows binaries (well we don’t like Windows, but the users do ). I’ve found the useful piece of information about crosscompiling here and started to adopt it to my 32-bit Linux system. The first ...
Details Favorite? Off-Topic? Serg @ 2018-01-03 11:06

December 2017

3
votes
Vote UpVote

Installing Lazarus 1.8 on Linux Mint 18.3

The Programming Works – Yesterday I come across my old 32-bit Celeron laptop with 2Gb memory and broken battery and decided to install Linux on it. First I tried Centos 7.5, then Ubuntu 16.04, and finally settled down on Mint 18.3 Cinnamon which I liked most. After playing a little with the OS I decided to install the ...
Details Favorite? Off-Topic? Serg @ 2017-12-25 22:05

February 2017

0
votes
Vote UpVote

Yet another surprise from Delphi compiler

The Programming Works – Build and run the following console app: program ItWorks; {$APPTYPE CONSOLE} uses SysUtils; type TTest = record FData: Integer; end; procedure DoTest(const S: string); begin Writeln(TTest(S).FData); end; begin try DoTest('123'); except on E: Exception do ...
Details Favorite? Off-Topic? Serg @ 2017-02-17 10:05

October 2016

0
votes
Vote UpVote

CHSH game in detail

The Programming Works – CHSH (John Clauser, Michael Horne, Abner Shimony, and Richard Holt) game is another view on the Bell’s inequalities, showing that under the hood our world is not classical. The game is played by Alice and Bob, and proceeds as follows: a referee generates two independent uniformly chosen ...
Details Favorite? Off-Topic? Serg @ 2016-10-26 12:04

September 2016

2
votes
Vote UpVote

TStreamCipher

The Programming Works – TForge 0.76 is released. The release introduces a new class TStreamCipher. The name TStreamCipher does not mean that the class supports stream cipher algorithms only, such as Salsa20 or RC4 – it supports all cipher algorithms currently implemented in TForge, like TCipher class does; block ...
Details Favorite? Off-Topic? Serg @ 2016-09-23 09:21

May 2016

0
votes
Vote UpVote

Hensel’s lifting

The Programming Works – Number theory is full of gems that turn into effective algorithms demanded in cryptography. Consider the congruence where N is odd, and R > N is a power of 2. Probably the most effective algorithm to solve it is based on the Hensel’s lemma; the corollary that applies for our congruence is: ...
Details Favorite? Off-Topic? Serg @ 2016-05-02 14:15

April 2016

7
votes
Vote UpVote

TForge 0.75

The Programming Works – TForge 0.75 is released. Starting from ver. 0.75 TForge consists of a single package; that means simplified installation. Among other features: cryptographically secure pseudo-random generator TRandom a lot of minor improvements on BigInteger
Details Favorite? Off-Topic? Serg @ 2016-04-10 07:30
0
votes
Vote UpVote

On the “out” parameter specifier in Delphi

The Programming Works – I’ve posted before what the “out” parameter specifier is actually doing in a Delphi code. Now let us consider when the “out” keyword should be used instead of “var”. There is only one case when the “out” keyword should be used. It is closely ...
Details Favorite? Off-Topic? Serg @ 2016-04-07 12:44
1
vote
Vote UpVote

Class Methods vs Instance Methods

The Programming Works – C# implements BigInteger.Parse as a static class method, and there is obvious reason for it: you can call a static class methods in a variable’s declaration: BigInteger N = BigInteger.Parse(stringToParse); Delphi/Pascal does not support the above syntax, so the equivalent code is var N: ...
Details Favorite? Off-Topic? Serg @ 2016-04-06 08:44
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)