Visit site DelphiTools

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 07: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 08: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 12: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 08: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 16: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 12: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 09: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 11:45
0
votes
Vote UpVote

TBCEditor Syntax-Highlighting Editor

DelphiTools – A new syntax-highlighting editor has been unleashed upon the Delphi world by Lasse Rautiainen, it’s named TBCEditor, and it is quite full-featured, clean, stable and fast. The main source code is TBCEditor on github and supports Delphi XE4-XE8, I have made a fork TBCEditorXE on bitbucket which ...
Details Favorite? Off-Topic? Eric Grange @ 2015-05-11 07:11

March 2015

1
vote
Vote UpVote

Migrating from Google Code to BitBucket

DelphiTools – Here is a quick guide on migrating a project code from Google Code (SVN) to BitBucket (git) using TortoiseGIT, so with a GUI, and with no cryptic command line in sight. Migrating Wiki/Issues is a bit more involved and not covered here. Migrating downloads has to be done by re-uploading to BitBucket ...
Details Favorite? Off-Topic? Eric Grange @ 2015-03-19 03:53
4
votes
Vote UpVote

DWScript moving to BitBucket

DelphiTools – With the closing of Google Code, I will be moving my projects, a priori to BitBucket. The new URL is https://bitbucket.org/egrange/dwscript If you have Issues in the Google Code Issue Tracker that matter to you, please copy-paste them to the BitBucket Issue Tracker. There are few enough active ...
Details Favorite? Off-Topic? Eric Grange @ 2015-03-18 09:07
5
votes
Vote UpVote

Long strings: Hash vs Sorted vs Unsorted

DelphiTools – Hash, IndexOf, Lookup, Performance, Search, Sorted, StringAs a followup to the previous String Lookup: Hash, Sorted or Unsorted here is a look at what happens for longer strings. When the string you’re searching have more than a dozen characters, and you only have a few hundreds of them, a ...
Details Favorite? Off-Topic? Eric Grange @ 2015-03-17 08:00
7
votes
Vote UpVote

String Lookup: Hash, Sorted or Unsorted ?

DelphiTools – When looking up a string, what is the fastest strategy? A hash map, a sorted list or an unsorted list? Of course it depends on how many strings you have, but where are the cutoff points? Here is a quick test, and an interesting tidbit is uncovered… Without further ado, here is the result ...
Details Favorite? Off-Topic? Eric Grange @ 2015-03-16 16:17

February 2015

2
votes
Vote UpVote

Optimistic Case-Insensitive String Hash

DelphiTools – A trivial way to turn a case-sensitive String hash function into a case-insensitive one is to to pass a lower-case (or upper-case) version of the String. However, in our days of Unicode strings, this is not innocuous… Running a quick benchmark on SimpleStringHash (a FNV-1a derivative), I got ...
Details Favorite? Off-Topic? Eric Grange @ 2015-02-07 09:00

October 2014

3
votes
Vote UpVote

DWS Web Server update

DelphiTools – A new version 2014.10.15 of the DWS Web Server is available. This version contains a variety of improvements and fixes, along with a new sample for JS libraries. Here is the download link for the installer: DWSWebServer 2014.10.15 (1514 kB) And here is the list of changes: added support for .p2js ...
Details Favorite? Off-Topic? Eric Grange @ 2014-10-15 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)