Visit site DelphiTools

October 2016

2
votes
Vote UpVote

Faster backups for large SQLite databases

DelphiTools – Despite having “lite” in its name, SQLite can handle very large databases quite efficiently. The single largest I am currently dealing with just passed 100 GB, and occasionally when backing it up with the SQLite standard Command Line utility it would take many hours. After some asking on ...
Details Favorite? Off-Topic? Eric Grange @ 2016-10-06 16:56

April 2016

4
votes
Vote UpVote

BigInteger support in DWScript

DelphiTools – DWScript now has support for the BigInteger type, which supports numbers with as many decimals as the memory allows. This support comes in two flavors, either through a MPIR dll (a GMP fork) or through Rudy Velthui’s BigIntegers unit. The support can be added by having a reference to the ...
Details Favorite? Off-Topic? Eric Grange @ 2016-04-28 08:20
4
votes
Vote UpVote

SHA-3 ad hoc compiler: Reloaded

DelphiTools – It occurred to me that SHA-3 being a cryptographic hash, it is one of those peculiar bits of code that are fully self-testing. Any bug in a cryptographic hash will quickly cascade to a different result, no matter the bug or the input. This means the ad-hoc-compiler-monkey can be unleashed ...
Details Favorite? Off-Topic? Eric Grange @ 2016-04-21 10:00
3
votes
Vote UpVote

New SHA-3 permutation kernel

DelphiTools – A new kernel for SHA-3 (Keccak) cryptographic hashing has been committed to the DWScript repository. It is almost 3 times faster than the Pascal version, makes use of MMX asm, and involved an ad hoc compiler. Keccak was the winner of the NIST hashing competition for a new hashing algorithm to ...
Details Favorite? Off-Topic? Eric Grange @ 2016-04-19 09:10

March 2016

3
votes
Vote UpVote

Fuzz Testing in Delphi

DelphiTools – I am a big fan of TBCEditor by Lasse Rautiainen, in case you have not heard about it, it is fork of SynEditthat diverged very significantly and includes support for code folding, fully JSON-based syntax highlighters, minimap and many other features. Of course a code editor is a very complex piece of ...
Details Favorite? Off-Topic? Eric Grange @ 2016-03-18 10:00

February 2016

3
votes
Vote UpVote

The BeginEnd.net & FastMM Canary!

DelphiTools – I have been using the feeds aggregator BeginEnd.net as more than just a news aggregator, it is also a Canary: once a new version of DWScript passes tests, it goes live there! Latest Canary feature is for the new FastMM4 multi-threading improvements by Primož Gabrijelčič, which can be found under the ...
Details Favorite? Off-Topic? Eric Grange @ 2016-02-26 13:51
0
votes
Vote UpVote

Decentralized World Simulation (not Delphi-related)

DelphiTools – As I do not have a better place to drop them, here are some musings related to the Simulation Hypothesis, though not as in The Matrix. Came about them while thinking about how a decentralized simulation (not for a world) could be run, and then one thing led to another. This is basically an ...
Details Favorite? Off-Topic? Eric Grange @ 2016-02-23 12:03

January 2016

3
votes
Vote UpVote

Nonces and Tokens

DelphiTools – I recently committed an extension to dwsCrypto lib module that exposes direct support for cryptographic nonces and tokens. What are those nonce things? A cryptographic nonce is a number that is going to be used only once, it is usually a huge number, which will usually be encoded in various, non- ...
Details Favorite? Off-Topic? Eric Grange @ 2016-01-07 08:44

December 2015

1
vote
Vote UpVote

Driving PhantomJS from DWScript

DelphiTools – PhantomJS is a “headless Webkit” browser which can be used for various automation tasks, among which is the generation of thumbnails for BeginEnd.net This article is a quick illustration of how it can be controlled from a DWScript WebServer. PhantomJS comes as a self-contained executable ...
Details Favorite? Off-Topic? Eric Grange @ 2015-12-15 09:45

November 2015

5
votes
Vote UpVote

Associative Arrays in DWScript

DelphiTools – Associate Arrays (aka dictionary) are now in experimental form in the DWScript repository. They extend the array type declarations: in the same way you could declare an “array [TEnum] of Xxx” you can now declare an “array [String] of Xxx”, and not just with strings but with ...
Details Favorite? Off-Topic? Eric Grange @ 2015-11-17 13:00
8
votes
Vote UpVote

Begin End, a few months later

DelphiTools – A few months after its launch, BeginEnd.net is now seeing about 25k queries every day for almost 500 unique visitors, and it’s time for a few polls to help me gauge things!  
Details Favorite? Off-Topic? Eric Grange @ 2015-11-09 09:00

October 2015

3
votes
Vote UpVote

Floating point modulus

DelphiTools – Support for floating point modulus has been added to DWScript, it extends the “mod” operator to accept floats. You can now have scripts with code like r := a mod PI; On x86 CPUs, the implementation will use the FPREM CPU instruction, which provides a relatively high precision (much ...
Details Favorite? Off-Topic? Eric Grange @ 2015-10-29 17:00

June 2015

1
vote
Vote UpVote

Non-English Blogs now on BeginEnd.net

DelphiTools – Non-English Blogs have been added to BeginEnd.net, not many just yet: three in Italian, one French and one Korean! The BeginEnd.net website itself stays in English, and the posts titles & descriptions are going to be automatically-translated in English (currently through Microsoft Translator ...
Details Favorite? Off-Topic? Eric Grange @ 2015-06-18 14:00
1
vote
Vote UpVote

BeginEnd.net has begun, where will it end?

DelphiTools – Last week www.beginend.net was launched with the goal of aggregating Pascal and Delphi blogs in a mobile-friendly, secure website with a minimalist UI. The website is Pascal-Powered: the server is Delphi-compiled DWScript Sample Web server, the server-side page generation and APIs are handled by DWS ...
Details Favorite? Off-Topic? Eric Grange @ 2015-06-01 11:51

May 2015

1
vote
Vote UpVote

Coalesce operator for DWScript

DelphiTools – Support for ?? (double question mark) as the coalesce operator has been added to DWScript. The coalesce operator is a binary operator, which looks at its left operand, and if not “falsey”, returns it, otherwise returns its right operand. At its simplest the syntax is: a := b ?? c; is ...
Details Favorite? Off-Topic? Eric Grange @ 2015-05-15 13:45
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)