One important part of the interactive web pages is the timings and event responses. The timer approach is usually simpler- after preset time something is executed. The sequence follows a pattern. Be it one time delayed execution or execution on regular intervals. It is usually used for actions that are always performed. The event driven […]
Web page timers Read More »
The web has to be asynchroneous with fallback (to simplified content) and with error handling, but sometimes some (or a lot) of the operations have to be performed in a sequence. If some data is not yet loaded, but it is expected to be used (and this is “critical”), the process has to be attempted
To sync or to async Read More »
The main parts of the mockup are: The mockup is oversimplified realistic looking page. It is currently more “proof of concept” than real mockup. Temporary link and the building process as ZIP file (will be updated later and the audio files folders are not yet ready). So the ugly page has: On page refresh the
Frontend mockup (audio testing) Read More »
lia lia lia .... some more advertisement between the posts in the list
Having a dictionary is just a small step in the big process. After obtaining the dictionary in a usable format, the data has to be uploaded to a (My)SQL database, because the flat file is not really usefull for individual lookups and the intention is to have word-splitted word-sound file. In addition the individual sylables
Put dictionary to usable database Read More »
There are different ways to connect to Microsoft SQL server and they all have their own advantages. For administrative purposes the SSMS (SQL Server Management Studio) is one of the most common ways. It offers GUI with lots of functionalities directly exposed to the GUI. Great for advanced tasks and also for inexperienced users with
Connecting to MS SQL Server DB Read More »
part of the Dictate page series In order to be able to perform different tasks, there is need to have dictionary in advance, that contains the words, words splitted to sylables and information if sound files are already generated for them. So the first task is to get the dictionary. As this project focuses on
Dictate page – dictionary Read More »
lia lia lia .... some more advertisement between the posts in the list
The web extensions that are currently shown on this page can be used to start custom actions in the user’s browsers. As currently only single words can be used for dictation can be used, there is a need for improvement- to be able to set simple sentences or groups of sentences as task to be
Dictate page (overview) Read More »
Sometimes it is required to delete files older than a date or older by age. Powershell is excelent tool to perform this. Below is a simple script to delete files by age: despite the comments in the script, some details might need additional clarification. It is advisable to add the starting folder as variable for
Powershell – delete older files Read More »
The simplest approach to give make a client get data from another server is to add it in the HTML (link rel for CSS, script src for JS, img src for pictures, AJAX to another server, etc). This makes it a deal between the client and the other server no man in the middle involved
Request information from another server Read More »
lia lia lia .... some more advertisement between the posts in the list
Detecting bots and getting rid of them As an extension to the article “Banning impolite bots (1)” here are some additional ideas for banning bots. One simple approach to get rid of bots (or other malicious actors) is to detect them as soon as possible and prevent their access. Although some botnets play as a
Banning impolite bots (2) Read More »