Search results
Huh. #til that a) TI makes a calculator that runs #Python code, b) #CircuitPython is a thing - and it's from adafruit, though that's in part their packaging of MicroPython, c) my wondering which version it's based on is probably completely silly (or stupid) seeing as how Python 3 has been around longer than any kids likely to be using Python on "approved for school" devices like calculators (or at least longer than they've been using calculators)
lol It took me all these years to finally lookup why the US have ZIP codes while the rest of the world uses "Postal codes".
ZIP stands for Zone Improvement Plan and ZIP code is trademarked by USPS so we're supposed to use it like ZIP Code™
It is now seven years since we introduced #libcurl's URL API: https://daniel.haxx.se/blog/2018/09/09/libcurl-gets-a-url-api/
@bagderdaniel:// stenberg:// #TIL ;p
The link at the end is a 404 though.
===
See also
The URL API section in Everything curl.
I was called out for using old school % formatting instead of f strings today. I was using them because I remember reading somewhere that they were more performant in some situations. I looked it up, and it turns out it wasn't my use case. But good to know:
If you call logger.debug("this is %s to format", expensive()), the string won't be formatted unless the logger is going to emit a debug message.
Note that expensive() is an argument, not after a % sign.
"One notable difference between #X11 and #W3C is the case of “Gray” and its variants.
In #HTML, “Gray” is specifically reserved for the 128 triplet (50% gray). However, in X11, “gray” was assigned to the 190 triplet (74.5%), which is close to W3C “Silver” at 192 (75.3%), and had “Light Gray” at 211 (83%) and “Dark Gray” at 169 (66%) counterparts.
As a result, the combined #CSS 3.0 color list that prevails on the web today produces “Dark Gray” as a significantly lighter tone than plain “Gray”, because “Dark Gray” was descended from X11 – for it did not exist in HTML nor CSS level 1 – while “Gray” was descended from HTML." #til #Gray #DarkGray #Grey
minds.com is a social media service founded in 2011, notable for publishing source code for their platform under a free license (AGPL);
https://developers.minds.com/docs/contributing/license/
In 2021 they decentralised their in-house chat by connecting it to the Matrix network;
https://www.minds.com/newsfeed/1236784837018611712
#TIL that minds.com is implementing ActivityPub and connecting to the fediverse;
https://networks.minds.com/blog/post/what-is-the-fediverse-the-next-evolution-of-social-media
(1/2)
TIL about Bahnhof Verstehen: https://en.wikipedia.org/wiki/Bahnhof_verstehen
TIL that `git stash list` takes the same options as `git log`. So if you want to search for a specific string in your entire git stash, you can do `git stash list -S <search term>`.
#TIL Weibo's custom emoji shortcodes are in square brackets 🤔 https://emojipedia.org/sina-weibo
#TIL that the holes in Swiss cheese are properly called "eyes". Definitely not creepy in the slightest.
I just sent in some feedback to #Linear asking for tables with independently sortable and re-orderable columns, because HOW ELSE would you want to see tickets? (No, their "List" view doesn't come CLOSE to cutting it)
I got a response that said "this isn't something that has come up before".
So #TIL no one *actually* uses #Linear for work. I cannot believe no one has ever wanted this before.
#TIL “güey” which led to https://wheniroam.com/mexican-slang-words/
Thanks for the (unintentional ?) language lesson, @IPXFongRafael https://mastodon.sdf.org/@ipxfong/114959949860151208
#TIL that one bit weighs one #quectogram. So I am assuming we will need to reduce the size of our bit or assume that we cannot store infinite amounts. #physics #metrology #scale
#TIL about a hardware company called #reMarkable;
"Our scientific advisors help us understand how technology affects attention — and guide us in creating products that protect focus and support more deliberate ways of working. This work is designed to spur innovation, test ideas through rigorous research, and champion focused thinking."
https://remarkable.com/scientific-advisory-board
Not sure if their software is Free Code. But You might find this relevant to your work on SX design @smallcirclesjust small circles 🕊.
The beauty of the internet is that information is but a click away. I embraced the joy of random knowledge, and this book is an invitation for you to do the same. Here's #2IL, the sequel to #TIL - 52 weeks, 52 new things that we could think about.
https://alphabetapisigma.gumroad.com/l/2IL
#TIL
카카오 서비스 이용과는 별개로 카카오메일에 접속하지 않으면 휴면으로 전환된다.. 갑자기 구글 계정 복구 메일로 추가해둔 카카오메일을 사용할 수 없다는 알림이 와 확인해보니 휴면으로 전환되어있던..
tanstack query의 initialPageParam에 대하여 오늘 배운 것
자손킴 @jasonkim@hackers.pub
TanStack Query의 `useInfiniteQuery` 훅을 사용할 때 `initialPageParam`이 어떻게 동작하는지에 대한 중요한 통찰을 공유합니다. 이 훅은 초기 렌더링 시 `initialPageParam`을 `pageParams[0]`으로 설정하고, 동일한 `queryKey`를 가진 캐시가 유지되는 동안 이 값을 계속 사용합니다. 따라서 여러 컴포넌트에서 동일한 `queryKey`로 `useInfiniteQuery`를 호출하면서 다른 `initialPageParam` 값을 제공하더라도, 처음 호출된 `initialPageParam` 값으로 고정됩니다. 이는 시작 커서가 다를 경우 `queryKey`를 다르게 지정해야 함을 의미합니다. 이러한 동작은 이해하고 나면 당연하지만, 익숙하지 않은 개발자에게는 혼란스러울 수 있습니다. `initialPageParam`이 `queryKey`와 강하게 연결되어 있다는 점이 InfiniteQueryOptions에서 타입 제약으로 더 명확하게 표현된다면 개발 경험이 향상될 것입니다.
Read more →@zehZeh Fernando
@kimsKim Scheinberg I mean, it is named after two philosophers :)
#TIL about @fediversity;
"... a comprehensive effort to bring easy-to-use, hosted cloud services with service portability and personal freedom to everyone. We aim to provide high-quality, secure IT systems for everyday use. Without tracking, without exploitation, in a way that runs everywhere and scales effortlessly.
... based on NixOS, a disruptive Linux distribution with a unique approach to package and configuration management."
#TIL 知三當三
(到底為什麼這麼喜歡簡稱、縮寫……
#TIL Netflix is actually using #RDF for their Unified Data Architecture
https://netflixtechblog.com/uda-unified-data-architecture-6a6aee261d8d
今日先知道 Windows XP 時代的桌布原圖其實好大
比如 Azul 是由 Bill Ross 在 1991 年拍攝的作品,實際名稱是「Sailing on the Blue Sea」,大小是 4341x2841,但 Windows 內建桌布版本只有800x600 大小
這裏還有其他一些的原圖:https://archive.org/details/theoriginalfilesofsomewindowswallpapers
參考資料:
https://www.reddit.com/r/windowsxp/comments/dy1221/managed_to_find_azul_in_its_original_4341x2841/
https://windowswallpaper.miraheze.org/wiki/Azul
I don't know if I am out of the loop because I am using @ivoryIvory by Tapbots
as a #Mastodon client, but I just now learned that "unlisted" has been renamed to "quiet public". #TIL
#TIL about boxes.py! Not a new project, but new to me. And it's super cool!
Need to build or design a laser-cut box? They've got you covered.
Did you know that there is comparison chart for
- #linux distributions
- #browser
- #android distributions
- linux desktop environments
- #messenger
- #mail providers
Take a look https://eylenburg.github.io/
it's regularly updated
#opensource #foss #development #developers #programming #coding #ubuntu #opensuse #fedora #freebsd #archlinux #arch #gentoo #nixos #alpine #redhat #debian #grapheneos #calyxos #IodeOS #lineageos #firefox #vivaldi #brave #signal #deltachat #element #matrix #til
Although I'm an internet oldtimer I'm rather inexperienced when it comes to so-called social networks. I've been learning mastodon's community rules while on the go since I've joined. I'd be happy if the following might turn out to be useful for you.
#TIL
Following somebody actually has two meanings.
1. The person wants to see postings by the followed account in their home feed (like with followed hashtags).
2. They're giving the followed account consent to comment on anything they post.
1/
#TIL 홈브류는 최초 설치 시에 아키텍쳐를 읽어서 어느 prefix를 붙일지 결정하고 이에 따라 이후 설치하는 패키지의 타겟 아키텍쳐도 결정한다. 또한 x86으로 컴파일 된 앱에서 홈브류를 구동하면 실제 아키텍쳐와 상관없이 무조건 x86 prefix인 /usr/local로 진행한다. 따라서 인텔 기반 맥에서 홈브류를 통해 별도의 터미널 어플리케이션을 설치 · 세팅하고 M1으로 넘어와서 그 터미널로 홈브류를 계속 써왔다면 여전히 인텔용 홈브류를 쓰고 있을 가능성이 크다.
그리고 지금은 M4가 현역이다..
Just released! 🚀
Enabled colour help for Python 3.14:
🎨 em-keyboard 5.2.0
🎨 linkotron 0.5.0
🎨 norwegianblue 0.22.0
🎨 pepotron 1.5.0
🎨 pypistats 1.10.0
Also added Python 3.15 to pepotron: `pep 3.15` opens PEP 790.
#release #python314 #colour #CLI #EmKeyboard #linkotron #norwegianblue #pepotron #pypistats #help
Neat. A #CLI interface to endoflife.date? I had no idea. Very cool! (The addition of color into 3.14 is pretty awesome, too!). Thanks for your work.
常常看到 equality 跟 equity 二詞,但一直不知道有何分別。查了一下才發現,equality 是指齊頭式平等、equity 是立足點平等(實質平等),所以其實不是同義詞。
Today I learned that the fediverse platform Honk can import posts from a Mastodon, Twitter, or Instagram archive and backdate them appropriately. That's honkin' terrific!
@nixCraftnixCraft 🐧
unlink?!
TIL: how to disable cron for GitHub forks
Quick update to this post: no need to hardcode the repo owner name, which makes it easier to maintain projects across organisations.
https://hugovk.dev/blog/2023/til-how-to-disable-cron-for-github-forks/
#TIL about a window manager called #Herbstluftwm. (thanks, j!)
Herbstluftwm. it's german for "find your meta key", i believe.
#introduction #Programmer by day, #Musician by night. Dad to two beautiful girls, all the time.
Currently doing #Volatil, a mostly #instrumental #music project where I try to make a piece of not-too-polished, #experimental music manifest every two weeks. With it, I've learned new stuff and played with different instruments, effects, and ideas. I may or not be compiling the best pieces from this year into an album.
I also maintain a #TIL blog with software development tips. And this server!
@SchrankSchrank
🐘 (er/ihm) oh it is possible though! Via the vanilla Mastodon interface you can access the list of people who follow you, and throw them off it :)
For me the URL is https://front-end.social/relationships?relationship=followed_by but obvs the domain depends on your own instance
@sarajwSara Joy
#TIL thanks! 🙏 🥰
One of my favorite things about being a parent is that I'm constantly learning fascinating facts about the world - stuff that I normally would not be exposed to.
My child's current obsession? Drawing flags.
So yesterday I bought her a book about flags and we learned about the #Wiphala (her favorite flag in the book) - "a square emblem commonly used as a flag to represent some native peoples of the Andes."
Find out more about it here:
https://en.wikipedia.org/wiki/Wiphala
Random TIL 1
Coal can be classified by its "rank", which measures carbon content and heating value. In descending rank, the rocks are called Anthracite, Bituminous, Subbituminous and Lignite (from lat. lignum = wood). Generally, the deeper, the higher the rank (Hilt's law).
#TIL today is the 9th year anniversary of Mastodon’s first post