Visit site DelphiTools

March 2017

2
votes
Vote UpVote

DWScript multifarious tidbits

DelphiTools – Find beneath this paragraph a spring mishmash of recent happenings from the DWScript repository! Overview Dialog, Lambdas and Templates. Templates/Generics The long planned support for templates has begun! As it represents a significant workload (especially to ensure a good test coverage), it is ...
Details Favorite? Off-Topic? Eric Grange @ 2017-03-24 16:04

January 2017

3
votes
Vote UpVote

Client-Side Password Hashing

DelphiTools – A lot of the advice on password hashing says that client-side password hashing is not necessary, provided you are using HTTPS or another secure protocol, for instance in Is it worth hashing passwords on the client side? https security – should password be hashed server-side or client-side? Why ...
Details Favorite? Off-Topic? Eric Grange @ 2017-01-13 14:05
6
votes
Vote UpVote

Best wishes for 2017!

DelphiTools – A belated Happy New Year and Best Wishes for 2017! This site and news have been neglected for much of 2016, this year’s resolution will be to try and revive it a bit. In particular announcements and articles have fallen way behind the code as far as DWScript is concerned. So I will start the ...
Details Favorite? Off-Topic? Eric Grange @ 2017-01-09 10:04

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
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)