Via: Kristian Köhntopp originally shared: “Large-Scale Deep Learning with TensorFlow,” Jeff Dean
Archive for the ‘Software Development’ Category
“Large-Scale Deep Learning with TensorFlow,” Jeff Dean – YouTube
Posted by jpluimers on 2017/08/01
Posted in Algorithms, Development, Software Development | Leave a Comment »
Microsoft Research’s manual memory management for .NET: exactly one owner which provides shields for accessing the objects
Posted by jpluimers on 2017/08/01
A very interesting piece of research, in which I see a very familiar concept of single owners and I new concept of them providing shields for accessing the manually managed memory. I do miss mentions of Anders Hejlsberg, Chuck (Charles) Jazdzewski, or others that lay the foundation of ownership in the [WayBack] TComponent Branch.
Microsoft Research’s manual memory management for .NET: https://www.microsoft.com/en-us/research/wp-content/uploads/2017/07/snowflake-extended.pdf
Interesting concept of manual but safe memory management with exactly one owner of an object at any given moment and shields that prevent an object’s destruction while it’s still in use by other threads.
Source: [WayBack] Christopher Wosinski – Google+
–jeroen
Posted in .NET, Delphi, Development, History, Software Development | Leave a Comment »
There is a way to convert ‘array of const’ (open array) to TValue: Asbjørn Heid found one.
Posted by jpluimers on 2017/07/27
Brilliant solution by Asbjørn Heid:
So the solution I came up with is to use the observation that the “array of const” is “array of TVarRec”, and that “array of TVarRec” is passed as as two arguments: a pointer to the data and the length of the array (or rather, the highest index in the array).
Source: Is there a way to convert ‘array of const’ (open array) to TValue? For example,… [WayBack]
–jeroen
Posted in Delphi, Development, Software Development | 1 Comment »
SMS sending with Mikrotik RouterOS and a capabable USB device
Posted by jpluimers on 2017/07/27
Some links that were useful getting the SMS sending stuff to work.
The documentation is clear on what to do to send/receive SMS:
But it is unclear what USB hardware does work, so here are some links:
- 22 | November | 2012 | Syed Jahanzaib Personal Blog to Share Knowledge ! which is based on a Teltonika ModemUSB/E12 UM1400 device that is kind of hard to get in my place.
- Huawei E1752 USB modem seems to work unless you also use it to maintain a data connection at the same time: Send sms over GPRS connection – MikroTik RouterOS
- Teltonika ModemUSB/H7.2 U3G150 also works: Option Globetrotter HSDPA USB Modem – MikroTik Wiki
- This needs some fiddling: Huawei E3131 – Disabling HiLink and turning into a dialup modem. | Exploits of a Cyber Rroma
You can also do it the other way around:
- Program a USB micro controller, design your own PCB, load the progammed firmware using a bootloader on the USB device then have it control LEDs other other hardware: Source: open-source firmware to control color LEDs (or other things) with USB-enabled RouterBoard – MikroTik RouterOS
–jeroen
Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | Leave a Comment »
HTTP Prompt is an interactive command-line HTTP client featuring autocomplete…
Posted by jpluimers on 2017/07/26
HTTP Prompt is an interactive command-line HTTP client featuring autocomplete and syntax highlighting. Download url -> https://github.com/eliangcs/http-prompt – Joe C. Hecht – Google+
Source: HTTP Prompt is an interactive command-line HTTP client featuring autocomplete… [WayBack]
To me it looks remarkably similar to https://github.com/jkbrzt/httpie [WayBack] which too is a visual cURL replacement.

–jeroen
Posted in *nix, Communications Development, cURL, Development, HTTP, Internet protocol suite, Power User, Software Development, TCP, Web Development | Leave a Comment »
Increasing the WinBox font size on OS X
Posted by jpluimers on 2017/07/26
Though the Mikrotik people seem reluctant to make the font size in Winbox configurable, if you run it through WineBottler on OS X, you can scale the individual app. It’s not very pretty but makes it easier to use.
The trick is based on the Windows DPI font settings explained for instance at DPI Display Size Settings – Change – Windows 7 Help Forums and Large Fonts in Registry: Where Exactly? | PC Review but then in Wine.
For Windows, this is a system wide setting, but on a WineBottler application there is one “Windows environment” per application, so it’s application specific and should work for other applications than WinBox as well.
It makes it much easier to do script editing now.
Steps I performed:
Posted in Development, Hardware, Internet, MikroTik, Network-and-equipment, Power User, RouterOS, routers, Scripting, Software Development, WinBox | Leave a Comment »
Sending various HTTP request kinds using curl
Posted by jpluimers on 2017/07/25
I’ve been using cURL but always had a feeling not to its potential basically because the cURL man page [WayBack] is both massive and lacks concrete useful practical examples.
For instance, I knew about the --header and --verbose options (I always use verbose names even though shorter -H and -v exist) to pass a specific header and get verbose output, but the man page basic examples like this by Tader:
curl --header --verbose "X-MyHeader: 123" www.google.comsource: How to send a header using a HTTP request through a curl call? – Stack Overflow [WayBack]
There are some more examples at bropages.org/curl but they’re hardly organised or documented.
So I was really glad I found the below answer [WayBack] by Amith Koujalgi to web services – HTTP POST and GET using cURL in Linux – Stack Overflow.
But first note that recent versions (around 7.22 or higher) of cURL now need to combine the --silent and --show-error (or in short -sS) parameters to suppress progress but show errors: linux – How do I get cURL to not show the progress bar? – Stack Overflow [WayBack]
Back to the examples
Posted in *nix, Communications Development, cURL, Delphi, Development, HTTP, https, Internet protocol suite, JavaScript/ECMAScript, JSON, Power User, REST, Scripting, Security, Software Development, TCP, TLS, XML, XML/XSD | 1 Comment »
Some repositories with Mikrotik RouterOS Scripts (so no repos with API interfaces)
Posted by jpluimers on 2017/07/25
For my own reference:
- List of TOR exit nodes and how to disable them in the firewall: openkasnet/Mikrotik
- Probably better done by interfacing to http://torstatus.blutmagie.de/ and their CSV lists at http://torstatus.blutmagie.de/ip_list_all.php/Tor_ip_list_ALL.csv aka http://torstatus.blutmagie.de/ip_list_all.php
- Firewall rules for certain regions and malware: kometchtech/mikrotik
- Tolaris/mikrotik-dns-dhcp: Tool to syncronise DHCP lease names with DNS hostnames on Mikrotik routers.
- Something with queues: chemax/mikrotik: mikrotik’s script
- Dynamic DNS mihaiv/Mikrotik: Mikrotik scripts and xpegenaute/Mikrotik: Mikrotik stuff and e4r7hbug/namecheap_routeros: Namecheap dynamic DNS update script for RouterOS
- Setup of new router jadiaz/MikroTik: Scripts for use with various Mikrotik routerboards
- Auto-upgrade and config backup: massimo-filippi/mikrotik: MikroTik / RouterOS Scripts
- TheAntz/RouterOS-Scripts: Various scripts and scripting functions for use in MikroTik RouterOS. function.EmailMultipleRecipients.rsc Add, function.csvIntSum.rsc,
function.getDaysInMonth.rsc, function.getISO8601DateTime.rsc - karrots/ros-ddns-ipsec: Mikrotik RouterOS script for updating IPSEC peer IP addresses from DNS.
- jaydio/routeros-scripts: MikroTik RouterOS – Assorted Scripts
–jeroen
Posted in Development, RouterOS, Scripting, Software Development | Leave a Comment »
Postman offers free (small-project) API developer tools – Open Source Insider
Posted by jpluimers on 2017/07/19
Cool: [WayBack] Postman offers free (small-project) API developer tools – Open Source Insider.
I’ve used the [Archive.is] Postman – Chrome Web Store for HTTP/HTTPS API testing using various REST services. It’s awesome even though unlike the postmanlabs/postman-chrome-extension-legacy: Postman REST Client Chrome Extension (Legacy Version) it’s not open source any more as it now can run server side and has an API of itself [WayBack].
Get it at [WayBack] Postman | Supercharge your API workflow. Available for Mac OS X, Windows, Linux and Chrome users.
–jeroen
Posted in Communications Development, Development, HTTP, Internet protocol suite, REST, SOAP/WebServices, Software Development, TCP | 2 Comments »
Anyone knows if Raize subscription before the Raize acquisition is still valid?
Posted by jpluimers on 2017/07/18
It’s from a while ago, so I wonder if this is still true:
I just got my Embarcadero update to RC6 that includes #10Seattle support.
–jeroen
Source: Can I say that I’m a bit disappointed by the way the Raize acquisition has been…
Posted in Delphi, Development, Software Development | 1 Comment »


