box464, to random
@box464@mastodon.social avatar

#TIL a new term. "Scream Test". It's when you turn off a legacy system (access to a server, a website, a folder on a network drive) and see if anyone or anything "screams" at you when it gets turned off. 😂

I've done many times, but didn't have a term for it before. The more you know. 🌈

whhone, to random

#TIL To get 24-bit color in #Emacs, set the environment "COLORTERM" to "truecolor".

$ COLORTERM=truecolor emacs -nw  
Heliograph, to random
@Heliograph@mastodon.au avatar

👀 Monopoly wasn't invented by the Parker Brothers, nor the man they gave it credit for. In 1904, Monopoly was originally called The Landlord's Game, and was invented by a radical woman. Elizabeth Magie's original game had not one, but two sets of rules to choose from.
One was called "Prosperity", where every player won money anytime another gained a property. And the game was won by everyone playing only when the person with the least doubled their resources. A game of collaboration and social good.
The second set of rules was called "Monopoly", where players succeeded by taking properties and rent from those with less luck rolling the dice. The winner was the person who used their power to eliminate everyone else.
Magie's mission was to teach us how different we feel when playing Prosperity vs Monopoly, hoping that it would one day change national policies.
When the Parker Bros adopted the game, they erased the "Prosperity" rules and celebrated "Monopoly".

HT Tumblr.com/soberscientistlife

foo, to random
@foo@fosstodon.org avatar

As a child, I originally learned that the five NYC boroughs were counties within the city of New York. Weird, opposite of the usual cities-in-county, but I accepted that at face value.

#TIL the boroughs are actually coterminous/coextensive with their counties, which aren't all named the same as their borough:

  • Bronx: Bronx County
  • Brooklyn: Kings County
  • Manhattan: New York County
  • Queens: Queens County
  • Staten Island: Richmond County
kzimmermann, to random
@kzimmermann@fosstodon.org avatar

#TIL that you can use mousekeys a-la Win9X built-in #X11 by setting setxkbmap -option keypad:pointerkeys and activating it with L_Alt+L_Shift+Num Lock.

Not quite sure when would this be useful, given that in Linux you usually either work 100% text mode in a terminal or graphical with a mouse. But hey, it's a possibility.

This does reminds me of my first computer with a PS2 mouse that often failed as Win98 was starting, and usually rendered the whole thing useless.

https://en.wikipedia.org/wiki/Mouse_keys

mackuba, to javascript
@mackuba@martianbase.net avatar

: now has a built-in date formatting API (Safari 10.0+) in the form of Date.toLocaleDateString() with an options hash that specifies formats for each field 😲 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString

howelloneill, to random

deleted_by_author

  • Loading...
  • devnull,
    @devnull@crag.social avatar

    @howelloneill Despite making forum software for a living, I didn't actually know ban threads were a thing. #TIL! Were ban threads open to comment by other registered users as well?

    mgedmin, to random
    @mgedmin@floss.social avatar

    I know that Black is not meant to be applied to subsets of the source, but I find Black Macchiatto very helpful when I'm refactoring Python code and need to wrap/join a couple of lines.

    jugmac00,
    @jugmac00@fosstodon.org avatar

    @mgedmin #TIL

    Though when using black with pre-commit you have a similar effect as it only applies to the changed files.

    ibboard, to random
    @ibboard@hachyderm.io avatar

    #TIL Ubuntu is stuck with amd64 instead of the more sensible x86_64 packages because Debian (and some other distros) were short-sighted and assumed that Intel wouldn't make x86-compatible 64-bit processors.

    (From "devel" to "amd64" to second rate virtual dependencies to the bizarre behaviours of Apt, the Deb-based universe just seems to do everything wrong!)

    hugovk, to random
    @hugovk@mastodon.social avatar

    #TIL: How to disable cron runs on GitHub Actions for forks. It saves CI resources and avoids contributors getting lots of spam when their daily build fails.

    https://dev.to/hugovk/til-how-to-disable-cron-for-github-forks-2d0l

    Thanks to @AlexWaygood for the tip!

    esther, to random

    Damn, 90s girl-boss feminism was messed up.

    (I’m reading a book that’s largely a critique of attempts in the 90s to align feminism with the “inevitability of capitalism” and it’s an account of endless victim-blaming that went on back then)

    hypo,

    @esther #TIL, thanks!

    box464, to random

    Today I ALSO learned that you can add hashtags in a separate section from your post content on Calckey - something that has been debated and discussed in depth for Mastodon, and here it is, already implemented in Calckey. ​:calc_laugh:​ #CalckeyTips #TIL #Hashtags #Calckey #CalckeyTips #TIL #Hashtags #Calckey

    chad, to science

    "In 1965, a Japanese company was selling pedometers, and the Japanese character for 10,000 just so happens to look a bit like a person walking. So the company sold their pedometer as the 10,000 step meter, and that number kind of stuck"
    "if you're older, if you're over, say, 65 is getting between 6,000 and 8,000 steps a day is more than enough to result in real health outcomes"
    #TIL!
    Thanks to the #NPR Short Wave #Science #Podcast
    https://www.npr.org/transcripts/1173957356

    GratianRiter, to random
    @GratianRiter@bildung.social avatar

    OMG! Today I learned: There was a real life Dr. Spock.

    #til #startrek

    kevinctofel, to random
    @kevinctofel@hachyderm.io avatar

    #TIL some interesting things that people in #Sweden do that make good sense.
    https://youtube.com/watch?v=UjXbOBhWk9E&feature=share

    niconiconi, to random

    I heard Oracle once tried to use some terrible poetry as magic strings in its protocol so they can argue it's copyrighted artwork, not just a functional component of the system (a mostly unsuccessful strategy).

    #TIL Apple's magic string is a haiku too. https://www.rcfp.org/wp-content/uploads/imported/20120105_202426_apple_sealing.pdf

    mattblaze, to random
    @mattblaze@federate.social avatar

    Spam (like the torrent of cryptoscamspam lots of people got this morning) has been very rare for me here (and dealt with quickly), but I've noticed that almost all of the spam I've gotten has been via Mastodon's DM feature.

    I really wish there was a way to turn DMs off or at least restrict them to people I follow. Control over incoming DMs was a thing Twitter did better than here.

    davehay,

    @GossiTheDog @mattblaze @SwiftOnSecurity wow, thanks, #TodayILearned #til

    I guess it shows how few emails I write these days ….

    tomayac, to random
    @tomayac@toot.cafe avatar

    #TIL about the BIMI standard: https://bimigroup.org/implementation-guide/. It’s rolling out to Gmail soon, and lets brands verify their identity and logo: https://workspaceupdates.googleblog.com/2023/05/expanding-gmail-security-BIMI.html.

    djpeacher, (edited ) to random
    @djpeacher@fosstodon.org avatar

    Nice, spent the last two hours #debugging an upstream #dependency issue, only for the issue to be “yanked” upstream. Thankful, but dang does my head hurt!

    djpeacher,
    @djpeacher@fosstodon.org avatar

    #til Poetry creates its own #venv when it gets installed, separate from your installed dependencies 😵‍💫

    astrojuanlu, to programming
    @astrojuanlu@social.juanlu.space avatar

    TIL: When launching a script that uses Python, sys.path does not contain the current directory. If you do weird sys.path mangling, you might observe different results from script vs python -m script.

    box464, to javascript
    @box464@mastodon.social avatar

    #TIL about #VueJS computed functions and refactored a bit of code.

    Mastodon filters are complete - my little #MastodonStarterKit won't have a notification or account profile feed, so those aren't going to be added. Needs a bit of testing.

    Also, I used #ChatGPT for the first time as a development partner...and...I found it extremely helpful while learning something new.

    I get that it's not 100% accurate but it's a constant, calm partner that doesn't get annoyed with all my questions. 😄

    _dmh, to random

    #TIL that #Miller exists, a #commandline tool for manipulating CSVs, TSVs, JSON, etc, that replaces awk, sed, etc, quite handily for quick file manipulation: https://miller.readthedocs.io/en/6.7.0/

    box464, to random
    @box464@mastodon.social avatar

    #MicrosoftTeams has an app called #VivaLearning which provides some basic "Getting to know SharePoint/Office 365" tutorials.

    You can also include your organization's own training documents. It's nice.

    But - Microsoft throws some "pay to play" guardrails and doesn't allow you to add links to external sites like YouTube. Lame.

    You can get around it by creating a powerpoint and placing a YouTube or whatever link you want into a slide, then referencing the PowerPoint. #SharePoint #Tips #til

    appelgriebsch, to rust

    #TIL: you can parse binary files in #rustlang very easy with the #binrw crate: https://github.com/jam1garner/binrw...

    box464, to random
    @box464@mastodon.social avatar

    #MastodonDevs and those utilizing the #MastodonAPI - this is a very helpful guide from the official @Mastodon API docs.

    #TIL there are css classes applied to any urls included in a status that will allow you to shorten its display in a post.

    And - an explanation of filters! Concise, but helpful (wish I had this info a few weeks ago).

    https://docs.joinmastodon.org/api/guidelines/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • khanakhh
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • mdbf
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • tacticalgear
  • everett
  • JUstTest
  • tester
  • cubers
  • osvaldo12
  • GTA5RPClips
  • Durango
  • cisconetworking
  • Leos
  • ethstaker
  • anitta
  • normalnudes
  • modclub
  • provamag3
  • lostlight
  • All magazines