Posted by jpluimers on 2017/12/06
If I ever need to read why, here are the explanatory links:
TL;DR:
You need glue records for your domains if the nameserver is in the same TLD as your domain is (more explanation in the above links).
Your domain registrar allows you to change both your DNS servers and the glue at the TLD servers.
Glue records have a TTL at the TLD of 48 hours so changing them takes some waiting.
This is how you query the glue records so you can verify what’s setup at your DNS servers matches the ones at the TLD servers (in the below examples, replace google.com by your domain name).
dig +trace +additional google.com
Notes:
At the time of writing the dig output is this:
Read the rest of this entry »
Posted in DNS , Internet , Power User | Leave a Comment »
Posted by jpluimers on 2017/12/05
Cool: @filmfranz made an advent calendar on Python data analysis featuring a lot of Pandas examples referring to source code found on the interwebz: [WayBack ] Data Science Advent – franz.media .
First example is to eliminate outliers in the below graph.
He also has a really cool (German) Playlist on data analysis with Python called Datenanalyse in Python and has a great site with examples at franz.media .
–jeroen
via: [WayBack ] Very cool idea: an advent calendar with tips for doing data science with Python and Pandas created by @filmfranz 👉 http://franz.media/advent.html – ThisIsWhyICode – Google+
VIDEO
Posted in Development , Python , Scripting , Software Development | Leave a Comment »
Posted by jpluimers on 2017/12/04
Delphi tip of the day:
{$WARN UNSUPPORTED_CONSTRUCT ERROR}
It will throw a compiler error when you use an attribute that isn’t defined as the above [WayBack ] turns a warning into an error as normally [WayBack ] UNSUPPORTED_CONSTRUCT is only a warning.
Which means that this code now fails:
type
TmyClass = class
[djhgfskdhgks]
procedure One;
end;
Thanks [WayBack ] +Agustin Ortu for posting this tip!
I wish I had known this when I found the G+ post leading to On turning “W1025 Unsupported language feature: ‘customattribute’” into a compiler error.
–jeroen
via:
related:
Posted in Delphi , Development , Software Development | 2 Comments »
Posted by jpluimers on 2017/12/04
via: [WayBack ] Hacker News – coinmon: In case you don’t want to install 61 packages [1] :) and [WayBack ] The curl + jq based approach to check Bitcoin prices looks a bit more attractive than using a node.js package with 61 dependencies, doesn’t it? Source:… – ThisIsWhyICode – Google+
Function to call curl from bash:
$ coinmon() {
> curl "https://api.coinmarketcap.com/v1/ticker/?convert=$1" | jq ".[0] .price_$1"
> }
$ coinmon eur
"6988.4723188"
Or in Python (from the same HackerNew thread): [Archive.is ] https://www.pastery.net/jnscrh/
#!/usr/bin/env python3
from urllib.request import urlopen
from decimal import Decimal
import json
def print_coin(coin):
print("{} ticker:".format(coin["name"]))
print("Price: {:,} EUR".format(Decimal(coin["price_eur"])))
print("Market cap: {:,} EUR".format(Decimal(coin["market_cap_eur"])))
print()
r = urlopen("https://api.coinmarketcap.com/v1/ticker/?convert=eur")
coins = json.loads(r.read().decode("utf8"))
for coin in coins:
if coin["id"] in ("bitcoin", "ethereum", "ripple", "monero"):
print_coin(coin)
–jeroe
Posted in Development , JavaScript/ECMAScript , Node.js , Software Development | Leave a Comment »
Posted by jpluimers on 2017/12/03
As of 20170711, the servername ftp.xs4all.nl does not support the ftp protocol any more; xs4all clients can only use the server sftp.xs4all.nl on port 22.
I missed that because I hardly use ftp except for the few rare occasions where I was in an environment without ftp.
So recently I found out: good move!
Since I still need this every now and then (but far less often than 10 years ago), I have set up a very small ftp server at home with limited storage and very limited users that I can turn on/off when needed.
Much better solution.
–jeroen
Source: [WayBack ] XS4ALL gaat stoppen met ondersteuning van ftp – Security.NL
Posted in Communications Development , Development , FTP , Internet protocol suite , Power User , TCP | Leave a Comment »
Posted by jpluimers on 2017/12/01
Free and – unlike the also free [WayBack ] dupeGuru – finds duplicate files – hasn’t crashed on my system yet or fails to add folders :
Read reviews, compare customer ratings, see screenshots, and learn more about Duplicate File Finder for files & folders. Download Duplicate File Finder for files & folders for Mac OS X 10.9 or later and enjoy it on your Mac.
[WayBack ] Duplicate File Finder for files & folders on the Mac App Store
–jeroen
Posted in Apple , iMac , Mac , Mac OS X / OS X / MacOS , MacBook , MacBook Retina , MacBook-Air , MacBook-Pro , MacMini , OS X 10.10 Yosemite , OS X 10.11 El Capitan , OS X 10.9 Mavericks , Power User | Leave a Comment »
Posted by jpluimers on 2017/12/01
cd /Volumes/Backup/Backups.backupdb/Joshua\ Priddle’s\ MacBook\ Pro/Latest/Macintosh\ HD/Users/priddle
tmutil restore -v secret_docs.txt ~/
Learned from [WayBack ] Restoring files from OS X Time Machine with Terminal.app :
do not use cp as it will give you wrong permissions
do use tmutil
More elaborate steps (including finding the backup in the first place) is at [WayBack ] Commandline restoration of a file in Time Machine on OS X | Hacks for Macs
–jeroen
Posted in Apple , iMac , Mac , Mac OS X / OS X / MacOS , Mac OS X 10.4 Tiger , Mac OS X 10.5 Leopard , Mac OS X 10.6 Snow Leopard , Mac OS X 10.7 Lion , MacBook , MacBook Retina , MacBook-Air , MacBook-Pro , MacMini , macOS 10.12 Sierra , OS X 10.10 Yosemite , OS X 10.11 El Capitan , OS X 10.8 Mountain Lion , OS X 10.9 Mavericks , Power User | Leave a Comment »
Posted by jpluimers on 2017/12/01
I had zypper being confused about the dist-upgrade between these snapshots:
< CPE_NAME="cpe:/o:opensuse:tumbleweed:20171125"
---
> CPE_NAME="cpe:/o:opensuse:tumbleweed:20171129"
It ran into this:
Problem: libopenssl-1_0_0-devel-1.0.2m-1.1.x86_64 conflicts with libopenssl-devel > 1.0.2m provided by libopenssl-devel-1.1.0g-1.1.noarch
Based on [WayBack ] Re: [opensuse-factory] openssl dependency problems with snapshot 2017112 after discussing with DimStar, I choose to have zypper dist-upgrade to perform
deinstallation of libopenssl-1_0_0-devel-1.0.2m-1.1.x86_64
Now all is fine.
Thanks Dominique a.k.a. DimStar !
–jeroen
Posted in *nix , Linux , openSuSE , Power User , SuSE Linux , Tumbleweed | Leave a Comment »