-
5 votes
-
Meet Moxie - The revolutionary robot companion for social-emotional learning
6 votes -
Toto Cutugno - Serenata (1984)
4 votes -
EU set to unveil digital wallet fit for post-Covid life
7 votes -
TV Tuesdays Free Talk
Have you watched any TV shows recently you want to discuss? Any shows you want to recommend or are hyped about? Feel free to discuss anything here. Please just try to provide fair warning of...
Have you watched any TV shows recently you want to discuss? Any shows you want to recommend or are hyped about? Feel free to discuss anything here.
Please just try to provide fair warning of spoilers if you can.
5 votes -
Bo Burnham's new comedy special "Inside" released today
21 votes -
What games have you been playing, and what's your opinion on them?
What have you been playing lately? Discussion about video games and board games are both welcome. Please don't just make a list of titles, give some thoughts about the game(s) as well.
15 votes -
What the 1921 Tulsa Race Massacre destroyed
12 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
10 votes -
Can you tell the difference between a one million dollar cello and a $5,000 cello?
13 votes -
Our digital pasts weren’t supposed to be weaponized like this
17 votes -
Chinese dreams on Native American land: A tale of cannabis boom and bust
8 votes -
Hi, how are you? Mental health support and discussion thread (May 2021)
This is a monthly thread for those who need it. Vent, share your experiences, ask for advice, talk about how you are doing. Let's make this a compassionate space for all who may need one.
16 votes -
noyb issues more than 500 GDPR complaints in aim to end “cookie banner terror”
22 votes -
GPT-3 tries pickup lines
7 votes -
Dark Forest (cryptocurrency game)
3 votes -
Tab viewer/organizer?
Weird question, but does anyone know of a simple tab viewer or organizer for Firefox (bonus points if it works on iOS)? I have... way too many tabs open, and I want to see what I can bookmark...
Weird question, but does anyone know of a simple tab viewer or organizer for Firefox (bonus points if it works on iOS)? I have... way too many tabs open, and I want to see what I can bookmark before closing rather than having to either close everything or manually check each tab.
11 votes -
Small modular reactors and the future of energy
7 votes -
WW2 animated: Western Front, 1944-1945. Part 1
3 votes -
Interview with GloriousEggroll, project maintainer of ProtonGE (a fork of Valve's Proton compatibility layer for Linux)
10 votes -
The most expensive number in engineering
7 votes -
What have you been eating, drinking, and cooking?
What food and drinks have you been enjoying (or not enjoying) recently? Have you cooked or created anything interesting? Tell us about it!
7 votes -
China allows couples to have three children
15 votes -
What features would you add to languages?
If you had the option to add new features to your primary language, what would they be? Is there something from a foreign language you'd like to import to your primary language? A couple examples:...
If you had the option to add new features to your primary language, what would they be? Is there something from a foreign language you'd like to import to your primary language?
A couple examples:
- A prefix to indicate intensity or degree. BBS/early hacker jargon had terms like "k-rad" to mean 1000x (2^10?) as radical as "rad" without the prefix.
That Montessori preschool was t-cool but why would they think calling it "Hobbledehoy" was a good idea? - Making an indication of how confident you are in an a statement obligate and easy. I hedge all the time because I think it's important to convey, but it's clunky. We do a bit of that non-verbally but that doesn't translate to text, and has the other complications of non-verbal cues.
It would be nice if there was an established vocabulary to quickly convey things like "experienced first-hand, repeatedly", "99% certain", "I've heard but never looked into", etc. From there it would be nice if this was as required as the gender, in gendered languages.
12 votes - A prefix to indicate intensity or degree. BBS/early hacker jargon had terms like "k-rad" to mean 1000x (2^10?) as radical as "rad" without the prefix.
-
How do you actually meditate?
So, for this thread, I'm specifically not asking for detailed explanations about the spiritual or philosophical aspect that goes behind your motivations to meditate. A brief explanation is almost...
So, for this thread, I'm specifically not asking for detailed explanations about the spiritual or philosophical aspect that goes behind your motivations to meditate. A brief explanation is almost certainly required, though.
Mostly, I wish to know practical things, details that often go unsaid, like:
- What kind of meditation do you practice?
- How can I Google it?
- Where and when do you meditate, and why?
- Do you do it alone?
- How do you prepare for meditation?
- What you do afterwards?
- How frequently do you meditate, and for how long?
- If you sit at all, in what position do you sit?
- Where do you sit? The ground, a mat, a cushion, a chair, your bed?
- Do you keep your eyes closed or open?
- Do you concentrate on your breathing?
- Do you breath through your mouth or nose?
- Do you count your breaths or visualize them in any way?
- Is there any particular breathing technique involved?
- Do you use any aid such as noise generators, soundscapes, timers, meditation apps, etc?
- Do you push thoughts away?
- Do you concentrate on any object, physical or otherwise?
- statues, amulets, images, mental images, mantras, etc.
- What do you do if...
- your legs go numb?
- there's a fly on your nose?
- there's mucus on your mouth or throat?
- you must cough or sneeze?
- you're itchy all over?
14 votes - What kind of meditation do you practice?
-
Does anyone else feel like they don’t know how to talk to people anymore?
I never considered myself an introvert or shy. I’ve always been comfortable talking with strangers, whether that was in my college class or just sparking up a conversation with someone next to me...
I never considered myself an introvert or shy. I’ve always been comfortable talking with strangers, whether that was in my college class or just sparking up a conversation with someone next to me in line.
I haven’t talked to a stranger irl since the pandemic started and I’m running scenarios in my brain about how I would talk to someone when I just met them. And every situation I’m going through I’m being awkward and uncomfortable.
I can talk to my family and my cousins, who are essentially my only friends, just fine but that’s different since there’s already an established way of communication there.
I just feel like I’m gonna be so rusty at talking to people, which is a shame because I’ve spent years learning how to talk to strangers in a certain way to make them comfortable and to very easily have a conversation. And I feel like I lost all of that now.
25 votes -
"Sunday update" - Dr. John Campbell covers the scientific evidence for long-term covid immunity.
3 votes -
How can I better engage Tilderinos on my philosophy posts?
I wouldn't say Tildes is wholly uninterested in philosophy, that is certainly not the case. You're a smart bunch full of intellectual curiosity! I have been making an effort to share more...
I wouldn't say Tildes is wholly uninterested in philosophy, that is certainly not the case. You're a smart bunch full of intellectual curiosity!
I have been making an effort to share more philosophy articles on ~humanities for some time now. They always get a few votes, but discussion is not as common. This is in no way a complaint about our users, philosophy is often highly specific and long-form, and it is hard to predict if a long article will eventually pay off for you.
Generally, philosophy posts that are related to technology, computer science, consciousness/AI, and, to a lesser degree, social change, attract more attention. But there are not as many of those (and I'm personally interested in other stuff too...).
As I said, the purpose of this post is not to complain. I believe the lack of participation in certain topics reflects the size of our community, our most common interests, and our repertoire.
With that in my mind, I would like to know how could I better engage our community in discussions about philosophy. Apart from the themes I mentioned, what are you interested in or curious about?
I could make an effort to include a short introduction or conversation starter on every post, but I'm not sure what is the sentiment regarding that (would that be considered/labeled as noise?). Besides, I'm not a philosopher or anything of the sort, just a layman with a lot of philosophy websites on my feed. So my guess is as good as everyone else's.
It would be awesome if we had a ~humanities.philosophy someday, but I wonder if that is realistic at all...
12 votes -
Super Mario Bros speedrunning: The human limit
14 votes -
Paul Desmond & Jim Hall Quartet - Samba de Orfeu (1963)
6 votes -
Coding Adventure: Terraforming
10 votes -
Your grandma’s tube TV is the hottest gaming tech
9 votes -
Why 10,000 volts at altitude is a bad idea
6 votes -
Half of all US adults are now fully vaccinated against COVID-19
17 votes -
Weekly coronavirus-related chat, questions, and minor updates - week of May 24
This thread is posted weekly, and is intended as a place for more-casual discussion of the coronavirus and questions/updates that may not warrant their own dedicated topics. Tell us about what the...
This thread is posted weekly, and is intended as a place for more-casual discussion of the coronavirus and questions/updates that may not warrant their own dedicated topics. Tell us about what the situation is like where you live!
10 votes -
Microphone Audio Spectrogram
2 votes -
Masculinity attitudes across rural, suburban, and urban areas in the United States
8 votes -
What is in the COVID-19 vaccine?
4 votes -
When people around you are suddenly forced to confront race - Watching white people. The year’s dark comedy of manners.
17 votes -
Fire in the Blood (2013 documentary)
3 votes -
Horizon Forbidden West | Gameplay reveal
11 votes -
A letter to my mother — Just in case
5 votes -
Texas’ “failsafe” generators failed, risking weeks-long catastrophe
7 votes -
The fastest train ever built: The SCMaglev
9 votes -
The end is nigh for AstraZeneca’s vaccine in Belgium
4 votes -
24-Carat Black - Poverty's Paradise (1973)
4 votes -
Ignore comment thread?
Sometimes a comment thread is very very toxic/controversial and I would like to avoid getting sucked into it. Just because my decision-making is much better at 2pm than it is at 2am. I understand...
Sometimes a comment thread is very very toxic/controversial and I would like to avoid getting sucked into it. Just because my decision-making is much better at 2pm than it is at 2am. I understand I can and should exercise self-control, and I'm working on it, I assure you! In the meantime, if at all possible, it would be nice to remove certain comments from my view, along with its children. Thanks!
12 votes -
A volcanic eruption triggers earthquakes and fears of lake methane explosions in eastern Congo
5 votes -
A few easy linux commands, and a real-world example on how to use them in a pinch
This below is a summary of some real-world performance investigation I recently went through. The tools I used are installed on all linux systems, but I know some people don't know them and would...
This below is a summary of some real-world performance investigation I recently went through. The tools I used are installed on all linux systems, but I know some people don't know them and would straight up jump to heavyweight log analysis services and what not, or writing their own solution.
Let's say you have request log sampling in a bunch of log files that contain lines like these:
127.0.0.1 [2021-05-27 23:28:34.460] "GET /static/images/flags/2/54@3x.webp HTTP/2" 200 1806 TLSv1.3 HIT-CLUSTER SessionID:(null) Cache:max-age=31536000
127.0.0.1 [2021-05-27 23:51:22.019] "GET /pl/player/123456/changelog/ HTTP/1.1" 200 16524 TLSv1.2 MISS-CLUSTER SessionID:(null) Cache:
You might recognize Fastly logs there (IP anonymized). Now, there's a lot you might care about in this log file, but in my case, I wanted to get a breakdown of hits vs misses by URL.
So, first step, let's concatenate all the log files with
cat *.log > all.txt
, so we can work off a single file.Then, let's split the file in two: hits and misses. There are a few different values for them, the majority are covered by either
HIT-CLUSTER
orMISS-CLUSTER
. We can do this by just grepping for them like so:grep HIT-CLUSTER all.txt > hits.txt; grep MISS-CLUSTER all.txt > misses.txt
However, we only care about url and whether it's a hit or a miss. So let's clean up those hits and misses with
cut
. The way cut works, it takes a delimiter (-d
) and cuts the input based on that; you then give it a range of "fields" (-f
) that you want.In our case, if we cut based on spaces, we end up with for example:
127.0.0.1
[2021-05-27
23:28:34.460]
"GET
/static/images/flags/2/54@3x.webp
HTTP/2"
200
1806
TLSv1.3
HIT-CLUSTER
SessionID:(null)
Cache:max-age=31536000
.We care about the 5th value only. So let's do:
cut -d" " -f5
to get that. We will alsosort
the result, because future operations will require us to work on a sorted list of values.cut -d" " -f5 hits.txt | sort > hits-sorted.txt; cut -d" " -f5 misses.txt | sort > misses-sorted.txt
Now we can start doing some neat stuff.
wc
(wordcount) is an awesome utility, it lets you count characters, words or lines very easily.wc -l
counts lines in an input, since we're operating with one value per line we can easily count our hits and misses already:$ wc -l hits-sorted.txt misses-sorted.txt 132523 hits-sorted.txt 220779 misses-sorted.txt 353302 total
220779 / 132523 is a 1:1.66 ratio of hits to misses. That's not great…
Alright, now I'm also interested in how many unique URLs are hit versus missed.
uniq
tool deduplicates immediate sequences, so the input has to be sorted in order to deduplicate our entire file. We already did that. We can now count our urls withuniq < hits-sorted.txt | wc -l; uniq < misses-sorted.txt | wc -l
. We get49778
and201178
, respectively. It's to be expected that most of our cache misses would be in "rarer" urls; this gives us a 1:4 ratio of cached to uncached URL.Let's say we want to dig down further into which URLs are most often hitting the cache, specifically. We can add
-c
touniq
in order to get a duplicate count in front of our URLs. To get the top ones at the top, we can then usesort
, in reverse sort mode (-r
), and it also needs to be numeric sort, not alphabetic (-n
).head
lets us get the top 10.$ uniq -c < hits-sorted.txt | sort -nr | head 815 /static/app/webfonts/fa-solid-900.woff2?d720146f1999 793 /static/app/images/1.png 786 /static/app/fonts/nunito-v9-latin-ext_latin-regular.woff2?d720146f1999 760 /static/CACHE/js/output.cee5c4089626.js 758 /static/images/crest/3/light/notfound.png 757 /static/CACHE/css/output.4f2b59394c83.css 756 /static/app/webfonts/fa-regular-400.woff2?d720146f1999 754 /static/app/css/images/loading.gif?d720146f1999 750 /static/app/css/images/prev.png?d720146f1999 745 /static/app/css/images/next.png?d720146f1999
And same for misses:
$ uniq -c < misses-sorted.txt | sort -nr | head 56 / 14 /player/237678/ 13 /players/ 12 /teams/ 11 /players/top/ <snip>
So far this tells us static files are most often hit, and for misses it also tells us… something, but we can't quite track it down yet (and we won't, not in this post). We're not adjusting for how often the page is hit as a whole, this is still just high-level analysis.
One last thing I want to show you! Let's take everything we learned and analyze those URLs by prefix instead. We can cut our URLs again by slash with
cut -d"/"
. If we want the first prefix, we can do-f1-2
, or-f1-3
for the first two prefixes. Let's look!cut -d'/' -f1-2 < hits-sorted.txt | uniq -c | sort -nr | head 100189 /static 5948 /es 3069 /player 2480 /fr 2476 /es-mx 2295 /pt-br 2094 /tr 1939 /it 1692 /ru 1626 /de
cut -d'/' -f1-2 < misses-sorted.txt | uniq -c | sort -nr | head 66132 /static 18578 /es 17448 /player 17064 /tr 11379 /fr 9624 /pt-br 8730 /es-mx 7993 /ru 7689 /zh-hant 7441 /it
This gives us hit-miss ratios by prefix. Neat, huh?
13 votes -
What have you been listening to this week?
What have you been listening to this week? You don't need to do a 6000 word review if you don't want to, but please write something! If you've just picked up some music, please update on that as...
What have you been listening to this week? You don't need to do a 6000 word review if you don't want to, but please write something! If you've just picked up some music, please update on that as well, we'd love to see your hauls :)
Feel free to give recs or discuss anything about each others' listening habits.
You can make a chart if you use last.fm:
http://www.tapmusic.net/lastfm/
Remember that linking directly to your image will update with your future listening, make sure to reupload to somewhere like imgur if you'd like it to remain what you have at the time of posting.
6 votes