impetuswave
impetuswave
surfin' the Impetus Wave
7 posts
Don't wanna be here? Send us removal request.
impetuswave · 4 years ago
Text
Ideas to actively work with
0 notes
impetuswave · 4 years ago
Text
LXC - fun in use
cloud networking configuration is a nightmare
there are 3 or 4 possible ways to do it. Because cloud-init packages can be installed or not on a distribution, you have to ensure you have an appropriate image. NoCloud LXC Datasource promises a simpler API, and here's the code to inspect.
DHCP might be easier, supported by the lxc daemon.
With static DNS configuration in the mix, hmm, it's fine. I just want to avoid too much complexity if and when we migrate things. Declarative (and mime-/ape-/copy-able) config for each of the containers, in as few locations as possible, using as similar base configuration as possible.
nic: bridged
How do I build a nix image on top of this, make it available to base LXC. How do I easily, repeatably, reliably use it (and share that knowledge with friends)
0 notes
impetuswave · 4 years ago
Text
no doubts, only posts
0 notes
impetuswave · 4 years ago
Text
NLP web tools
There are some really great tools available online, that ask only for a browser. I prioritize here by speed-to-grok.
datamuse.com/api documents one endpoint. ?ml= [means like] query is easiest to start with, e.g. ml=nlp with raw json back to you. Built on Princeton’s WordNet dataset.
Built on that API... Forthcoming, proactive dictionary, OneLook.com.  RhymeZone and Rimar.io. And finally, an algolia-fast index of Wikipedia titles and related pages, WikSearch.com.
gnod family of sites, with a rating-training site and “map” force-graph for each, elicit and show viewer-proposed similar ...”content”.
More developer oriented tools...
Building with these requires more than a browser, but some work product is available online
Compromise.cool. The homepage lays out the pitch well. Each of the tutorials links to observablehq pages with editable executable samples in annotated notebooks.
View-only, offline creation tools...
Snoonet irc bot dagbot, and OCF ircbot show off some real use of python nlp.
Python Markovify, built on spaCy, or NLTK, creates random quotes based on a corpus you provide for its Markov generator. Projects using it, mix of alive and dead.
0 notes
impetuswave · 4 years ago
Text
python scatterbrained idea
python object inspection via web. interactive (via http round trips), showing more, more richly, with browser's navigation state
0 notes
impetuswave · 4 years ago
Text
python - click (~7.0), version spec for poetry
Poetry
In brief, poetry's version spec consists of:
^ ^1.2.3 >=1.2.3 <2.0.0 (differs for < v1 [0, 0.0, 0.0.0])
~ ~1.2.3 >=1.2.3 <1.3.0 / ~1.2 >=1.2.0 <1.3.0 / ~1 >=1.0.0 <2.0.0
* * / 1.* / 1.2.* Wildcard requirements allow for the latest (dependency dependent) version where the wildcard is positioned
>= / > / < / != Inequality
== Exact spec
_ , _ Compounds: >=1.2, < 1.5
See also: git, path, url, (dependency restricted by python version), by environment
Click (7.0)
Help options require an override https://click.palletsprojects.com/en/7.x/documentation/#help-parameter-customization Funky argument parsing might be difficult. A file before a subcommand, where previously subcommand preceed filename arguments. Environment variable workaround would also be nice to enable.
https://click.palletsprojects.com/en/7.x/options/
https://click.palletsprojects.com/en/7.x/arguments/
https://click.palletsprojects.com/en/7.x/commands/
https://click.palletsprojects.com/en/7.x/api/#click.Group
With
@grp.pass_context() decorators, and def f(cxt) arguments accepting context,
click.Group list_commands(ctx), and get_command(cxt, cmd_name: str) are maybe useful for filtering the first arg.
0 notes
impetuswave · 4 years ago
Text
Impetus is not to be wasted
Another starting-a-blog post.
Dev thoughts, audience me. Just post. Go deep. Work can be shared anyway, or exported.
0 notes