third, let’s look at daygame. if you ask someone out in a social circle/hobby group, that leaves residual social cruft lying around: awkwardness & mutual avoidance. the whole thing is not Done the way it is when you get cleanly rejected on the street. (online dating has a similar quality of Doneness to it, I think, but matches might stack up and old leads might spring to life sometime, but that’s the same with DG).
#!/bin/sh
# Validate environment
if ! command -v msgbus > /dev/null; then
printf "missing msgbus command. Use: go install git.mills.io/prologic/msgbus/cmd/msgbus@latest"
exit 1
fi
if ! command -v salty > /dev/null; then
printf "missing salty command. Use: go install go.mills.io/salty/cmd/salty@latest"
exit 1
fi
if ! command -v salty-keygen > /dev/null; then
printf "missing salty-keygen command. Use: go install go.mills.io/salty/cmd/salty-keygen@latest"
exit 1
fi
if [ -z "$SALTY_IDENTITY" ]; then
export SALTY_IDENTITY="$HOME/.config/salty/$USER.key"
fi
get_user () {
user=$(grep user: "$SALTY_IDENTITY" | awk '{print $3}')
if [ -z "$user" ]; then
user="$USER"
fi
echo "$user"
}
stream () {
if [ -z "$SALTY_IDENTITY" ]; then
echo "SALTY_IDENTITY not set"
exit 2
fi
jq -r '.payload' | base64 -d | salty -i "$SALTY_IDENTITY" -d
}
lookup () {
if [ $# -lt 1 ]; then
printf "Usage: %s nick@domain\n" "$(basename "$0")"
exit 1
fi
user="$1"
nick="$(echo "$user" | awk -F@ '{ print $1 }')"
domain="$(echo "$user" | awk -F@ '{ print $2 }')"
curl -qsSL "https://$domain/.well-known/salty/${nick}.json"
}
readmsgs () {
topic="$1"
if [ -z "$topic" ]; then
topic=$(get_user)
fi
export SALTY_IDENTITY="$HOME/.config/salty/$topic.key"
if [ ! -f "$SALTY_IDENTITY" ]; then
echo "identity file missing for user $topic" >&2
exit 1
fi
msgbus sub "$topic" "$0"
}
sendmsg () {
if [ $# -lt 2 ]; then
printf "Usage: %s nick@domain.tld <message>\n" "$(basename "$0")"
exit 0
fi
if [ -z "$SALTY_IDENTITY" ]; then
echo "SALTY_IDENTITY not set"
exit 2
fi
user="$1"
message="$2"
salty_json="$(mktemp /tmp/salty.XXXXXX)"
lookup "$user" > "$salty_json"
endpoint="$(jq -r '.endpoint' < "$salty_json")"
topic="$(jq -r '.topic' < "$salty_json")"
key="$(jq -r '.key' < "$salty_json")"
rm "$salty_json"
message="[$(date +%FT%TZ)] <$(get_user)> $message"
echo "$message" \
| salty -i "$SALTY_IDENTITY" -r "$key" \
| msgbus -u "$endpoint" pub "$topic"
}
make_user () {
mkdir -p "$HOME/.config/salty"
if [ $# -lt 1 ]; then
user=$USER
else
user=$1
fi
identity_file="$HOME/.config/salty/$user.key"
if [ -f "$identity_file" ]; then
printf "user key exists!"
exit 1
fi
# Check for msgbus env.. probably can make it fallback to looking for a config file?
if [ -z "$MSGBUS_URI" ]; then
printf "missing MSGBUS_URI in environment"
exit 1
fi
salty-keygen -o "$identity_file"
echo "# user: $user" >> "$identity_file"
pubkey=$(grep key: "$identity_file" | awk '{print $4}')
cat <<- EOF
Create this file in your webserver well-known folder. https://hostname.tld/.well-known/salty/$user.json
{
"endpoint": "$MSGBUS_URI",
"topic": "$user",
"key": "$pubkey"
}
EOF
}
# check if streaming
if [ ! -t 1 ]; then
stream
exit 0
fi
# Show Help
if [ $# -lt 1 ]; then
printf "Commands: send read lookup"
exit 0
fi
CMD=$1
shift
case $CMD in
send)
sendmsg "$@"
;;
read)
readmsgs "$@"
;;
lookup)
lookup "$@"
;;
make-user)
make_user "$@"
;;
esac
#!/bin/sh
# Validate environment
if ! command -v msgbus > /dev/null; then
printf "missing msgbus command. Use: go install git.mills.io/prologic/msgbus/cmd/msgbus@latest"
exit 1
fi
if ! command -v salty > /dev/null; then
printf "missing salty command. Use: go install go.mills.io/salty/cmd/salty@latest"
exit 1
fi
if ! command -v salty-keygen > /dev/null; then
printf "missing salty-keygen command. Use: go install go.mills.io/salty/cmd/salty-keygen@latest"
exit 1
fi
if [ -z "$SALTY_IDENTITY" ]; then
export SALTY_IDENTITY="$HOME/.config/salty/$USER.key"
fi
get_user () {
user=$(grep user: "$SALTY_IDENTITY" | awk '{print $3}')
if [ -z "$user" ]; then
user="$USER"
fi
echo "$user"
}
stream () {
if [ -z "$SALTY_IDENTITY" ]; then
echo "SALTY_IDENTITY not set"
exit 2
fi
jq -r '.payload' | base64 -d | salty -i "$SALTY_IDENTITY" -d
}
lookup () {
if [ $# -lt 1 ]; then
printf "Usage: %s nick@domain\n" "$(basename "$0")"
exit 1
fi
user="$1"
nick="$(echo "$user" | awk -F@ '{ print $1 }')"
domain="$(echo "$user" | awk -F@ '{ print $2 }')"
curl -qsSL "https://$domain/.well-known/salty/${nick}.json"
}
readmsgs () {
topic="$1"
if [ -z "$topic" ]; then
topic=$(get_user)
fi
export SALTY_IDENTITY="$HOME/.config/salty/$topic.key"
if [ ! -f "$SALTY_IDENTITY" ]; then
echo "identity file missing for user $topic" >&2
exit 1
fi
msgbus sub "$topic" "$0"
}
sendmsg () {
if [ $# -lt 2 ]; then
printf "Usage: %s nick@domain.tld <message>\n" "$(basename "$0")"
exit 0
fi
if [ -z "$SALTY_IDENTITY" ]; then
echo "SALTY_IDENTITY not set"
exit 2
fi
user="$1"
message="$2"
salty_json="$(mktemp /tmp/salty.XXXXXX)"
lookup "$user" > "$salty_json"
endpoint="$(jq -r '.endpoint' < "$salty_json")"
topic="$(jq -r '.topic' < "$salty_json")"
key="$(jq -r '.key' < "$salty_json")"
rm "$salty_json"
message="[$(date +%FT%TZ)] <$(get_user)> $message"
echo "$message" \
| salty -i "$SALTY_IDENTITY" -r "$key" \
| msgbus -u "$endpoint" pub "$topic"
}
make_user () {
mkdir -p "$HOME/.config/salty"
if [ $# -lt 1 ]; then
user=$USER
else
user=$1
fi
identity_file="$HOME/.config/salty/$user.key"
if [ -f "$identity_file" ]; then
printf "user key exists!"
exit 1
fi
# Check for msgbus env.. probably can make it fallback to looking for a config file?
if [ -z "$MSGBUS_URI" ]; then
printf "missing MSGBUS_URI in environment"
exit 1
fi
salty-keygen -o "$identity_file"
echo "# user: $user" >> "$identity_file"
pubkey=$(grep key: "$identity_file" | awk '{print $4}')
cat <<- EOF
Create this file in your webserver well-known folder. https://hostname.tld/.well-known/salty/$user.json
{
"endpoint": "$MSGBUS_URI",
"topic": "$user",
"key": "$pubkey"
}
EOF
}
# check if streaming
if [ ! -t 1 ]; then
stream
exit 0
fi
# Show Help
if [ $# -lt 1 ]; then
printf "Commands: send read lookup"
exit 0
fi
CMD=$1
shift
case $CMD in
send)
sendmsg "$@"
;;
read)
readmsgs "$@"
;;
lookup)
lookup "$@"
;;
make-user)
make_user "$@"
;;
esac
This box is almost a dating profile. https://omg.singles/rQ1qF
to do: go nuclear on a date and explain that im just performing an act, that i studied this in detail and trained myself to do it, that this is a deliberate effort to escape my patheticness
Given that we don’t have a “home phone”, what’s the best way to create a “hunt group” for my partner’s and my cell phones? My first thought is Asterisk on a VPS, but my knowledge of such things is years out of date. Is there a better way?
One year ago to the date I made the lastest update for #phpub2twtxt to github and now 365 days later I have published #pixelblog as its successor - lets see where things are going for trip around the sun
My blog(s) just got a new feature: A link to the current day archive (🇩🇪). There it is possible to see posts on today’s date in earlier years. Even more features are linked on my More (🇩🇪) page, by the way. ⌘ Read more
Just reading in-depth and trying to understand the security model of Delta.Chat a bit more… There’s a few things that really concern me about how Delta.Chat which relies on Autocrypt work:
- There is no Perfect Forward Secrecy
- No verification of keys
- Is therefore susceptible to Man-in-the-Middle attacks
- Is therefore susceptible to Man-in-the-Middle attacks
- Metadata is a BIG problem with Delta.Chat:
- The
ToandFromandDateare trackable by your Mail provider (amongst many other headers)
- The
Hmmm 🤔 cc @deebs@twtxt.net
全文检索库 bluge
全文检索库 bluge 推荐理由提到全文检索库,第一个想到的就是 Java 实现的 lucene,今天介绍一款 Golang 实现的全文检索库 bluge。bluge 脱胎于 Bleve,是当前 Github 比较火的搜索引擎项目 zinc 的底层索引检索库。
功能介绍bluge 索引存储支持内存,本地文件,以及扩展云存储等方式,文档字段类型支持 Text, Numeric, Date, Geo Point 等。
查询检索支持如下特性:
- 支持多种�� … ⌘ Read more
网易云音乐 DBA 谈 TiDB 选型:效率的选择
title: 网易云音乐 DBA 谈 TiDB 选型:效率的选择
author:倪山三
date: 2021-12-03
summary: 本文摘自由网易 DBA 团队撰写的《效率的选择——分布式数据库 TiDB 网易内部选型介绍》一文,对比了以 TiDB 为基础的创新架构和 MySQL + DDB 传统架构的差异,从业务适配、降本增效、技术创新等多个维度阐释了网易考虑引入 TiDB 的原因。
本�� … ⌘ Read more
Save the Date: Next Community All Hands on December 9th
We’re one month away from our next Community All Hands event, on December 9th at 8am PST/5pm CET. This is a unique opportunity for Docker staff, Captains, and the broader Docker community to come together for live company updates, product updates, demos, community shout-outs and Q&A. The last all-hands gathered more than 2,000 attendees from […]
The post [Save the Date: Next Community All Hands on December 9th](https:/ … ⌘ Read more
@prologic@twtxt.net Lol my build should be up to date now
💾 Save the date for GitHub Game Off 2021
Game Off is an annual game jam (or “hackathon for building games”) that’s a little different from most—it lasts for the entire month of November—not just a weekend or a few days. It’s the perfect ⌘ Read more
@movq@www.uninformativ.de Perfect! Setting the display_filter did the trick. I have come across that SE yesterday while looking for answers, but I wanted to make sure there was nothing else I was missing to notice. Thanks! @quark@twtxt.netbros.com (#spngeda) Hmm, that’s mostly an issue of how mutt displays the Date header. The index should already display local time, only the pager shows the raw header: https://movq.de/v/8c92fff081/s.png To be honest, I’d like to keep it that way (i.e., Date stores the original stamp as it occured in the twtxt feed). To convince mutt to show local time here, you’d probably have to use display_filter: https://unix.stackexchange.com/a/516101
SAVE THE DATE : Next Community All Hands on September 16th ! ⌘ Read more…
a date with a human model
interesting RFC dated April 1st, 1998: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0):
looking at the date this was published, i think the authors originally meant this as an apil’s fool joke/prank.
funny because now we have IOTs and this is somewhat a reality today :P
Save the Date! Next Docker Community All Hands ⌘ Read more…
to date, 138 pages in my wiki. wowee :)
Twtxt is still very much alive and well. I just wrote a quick tool to crawl as much of the Twtxt network as I could and here’s what the results are:
Crawled 516 feeds
Found 52464 twts
That means there are >500 unique Twtxt feeds/users, and over ~52k Twts posted to date. 😳
@prologic@twtxt.net yeah it reads a seed file. I’m using mine. it scans for any mention links and then scans them recursively. it reads from http/s or gopher. i don’t have much of a db yet.. it just writes to disk the feed and checks modified dates.. but I will add a db that has hashs/mentions/subjects and such.
@prologic@twtxt.net yeah it reads a seed file. I’m using mine. it scans for any mention links and then scans them recursively. it reads from http/s or gopher. i don’t have much of a db yet.. it just writes to disk the feed and checks modified dates.. but I will add a db that has hashs/mentions/subjects and such.
Save the Date for DockerCon Live 2021! ⌘ Read more…
In case you’re reading my twtxt.txt file directly or are otherwise paying close attention to tweet dates, it’s absolutely true: I haven’t been funny in two months.
Would online dating without images lead to deeper, more human connections? I.e. only descriptions of people. If yes, is it different because of molochian reasons? More beautiful people have no problem showing their faces, so not showing ones face is seen as a low-status signal at some point. Counter: The idea of deeper, more human connections is in itself flawed, most mating choices are the result of a combination of class/status signals and physical attractiveness anyway.
aside from the date thing, the scp feature seems to be lacking the location of the file, or i don’t know where to specify it
and then ignore it “notmuch search not tag:unsubscribe and date:yesterday..”
Video: C Programming on System 6 - Parsing RFC822 Dates ⌘ Read more…
Largest COVID-19 contact tracing study to date finds children key to spread, evidence of superspreaders ⌘ https://www.princeton.edu/news/2020/09/30/largest-covid-19-contact-tracing-study-date-finds-children-key-spread-evidence
updated the print style of the feed. date + message are no longer on separate lines.
Posted to Entropy Arbitrage: Small-D date Night https://john.colagioia.net/blog/2020/03/18/date.html #techtips #programming #shell #date #gnu #linux #calendar
Do I need to configure txtnish to output the same date format as twtxt? May need to #RTFM
Do I need to configure txtnish to output the same date format as twtxt? May need to #RTFM
Thanks @freemor@freemor.homelinux.net ! I’ll keep you up to date :)
dates this year look prettier than dates from last year
Even though noone send me GPG encrypted messages, I renewed my expiration date to one more year :)
I made a mistake copying the dates and borked the timestamps again :facepalm:
People whose dating profile consists entirely of their nationality are incomprehensible to me, but not quite as incomprehensible as the ones that are blank or have some useless placeholder like ‘ask’. The point of a dating site is that you get to see compatibility before starting a convo, y’know
The sample they chose to highlight here resembles the kind of paper a 14 year old would try & fail to bullshit after staying up all night partying right before the due date: https://blog.openai.com/better-language-models/#sample1
Check If a Date/Time Has Been Set with IsZero ⌘ Read more…
it did! i guess. the date format is different though
Folklore.org: Desk Ornaments http://www.folklore.org/StoryView.py?project=Macintosh&story=Desk_Ornaments.txt&sortOrder=Sort+by+Date&topic=Software+Design
Folklore.org: The Grand Unified Model (2) - The Finder http://www.folklore.org/StoryView.py?project=Macintosh&story=The_Grand_Unified_Model_The_Finder.txt&sortOrder=Sort+by+Date&topic=Software+Design
Folklore.org: The Grand Unified Model (1) - Resources http://www.folklore.org/StoryView.py?project=Macintosh&story=The_Grand_Unified_Model.txt&sortOrder=Sort+by+Date&topic=Software+Design
Folklore.org: Busy Being Born http://www.folklore.org/StoryView.py?project=Macintosh&story=Busy_Being_Born.txt&sortOrder=Sort+by+Date&topic=Lisa
Folklore.org: MacPaint Evolution http://www.folklore.org/StoryView.py?project=Macintosh&story=MacPaint_Evolution.txt&sortOrder=Sort+by+Date&topic=Lisa
Folklore.org: Do It http://www.folklore.org/StoryView.py?project=Macintosh&story=Do_It.txt&sortOrder=Sort+by+Date&topic=Lisa
Folklore.org: Rosing’s Rascals http://www.folklore.org/StoryView.py?project=Macintosh&story=Rosings_Rascals.txt&sortOrder=Sort+by+Date&topic=Lisa
Parsing Dates from a String and Formatting ⌘ Read more…
Recipe for periodic royalty boosts if you’re a hack: 1) create a song about a particular time of year – preferably a particular date that is not a holiday; 2) create a song about a very specific combination of very common feelings
@nblade@nblade.sdf.org: Check my tw.txt file. The specification does not allow a comment. I’ve added this now: 1970-01-01T01:00:00.000000Z▸FF:https://codevoid.de/tw.following.txt. I’d use the special date/time + FF: comment as trigger. This is backwards compatible and shouldn’t really come up in anyones’ timeline.
Tempest 4000 comes to consoles next month - Polygon https://www.polygon.com/2018/6/28/17513074/tempest-4000-launch-date-ps4-xbox-one
life hex: sick of dating sites? Instead of trusting a pickup artist, trust Furfur, Earl of Hell. Just remember to put him inside a magic triangle before asking him for relationship advice
Bad idea of the day: A browser extension that links everything in your browser cache with a fake file whose name is a hash of that item, serves those fake files over bittorrent, and, for all URLs whose expiration date is in the future, keeps a distributed table of URL to hash & attempts to fetch from bittorrent before from http
Bad idea of the day: philosophy speed-dating: get a prime number of doctoral candidates, split into two lines, and have them give hot takes to each other for 5 minutes on a stated topic before moving on.
Bad idea of the day: a browser extension that gives you long-now-dates by prefixing a zero to all four digit numbers
date - Why does man print “gimme gimme gimme” at 00:30? ⌘ https://unix.stackexchange.com/questions/405783/why-does-man-print-gimme-gimme-gimme-at-0030
date - Why does man print “gimme gimme gimme” at 00:30? ⌘ https://unix.stackexchange.com/questions/405783/why-does-man-print-gimme-gimme-gimme-at-0030
The Future of Online Dating Is Unsexy and Brutally Effective https://gizmodo.com/the-future-of-online-dating-is-unsexy-and-brutally-effe-1819781116
@phil@philmcclure.duckdns.org You mean the leap second in evil.txt? It’s expected to break clients … :) You can just skip lines that you can’t parse. Although it’s a valid date according to rfc3339. Maybe file a bug against coreutils?
@phil@philmcclure.duckdns.org You mean the leap second in evil.txt? It’s expected to break clients … :) You can just skip lines that you can’t parse. Although it’s a valid date according to rfc3339. Maybe file a bug against coreutils?
Big improvement for #txtnish. It converts the timestamps to unixtime and displays relative dates!
Big improvement for #txtnish. It converts the timestamps to unixtime and displays relative dates!
@kas@enotty.dk POSIX date is very minimal, no %s, no -d and not –utc, but at least there’s -u
@kas@enotty.dk POSIX date is very minimal, no %s, no -d and not –utc, but at least there’s -u
#txtnix displays relative dates when setting time_format to “relative”.
#txtnix displays relative dates when setting time_format to “relative”.
The pretty format is very similar to twtxt without the unicode glyphs and the relative date.
The pretty format is very similar to twtxt without the unicode glyphs and the relative date.
But HTTP::Date seems to work for most cases.
But HTTP::Date seems to work for most cases.
New repository: aquilax/faqdating - Dating app
Ако все още не се чувствате късметлии: http://www.bible.ca/pre-date-setters.htm