quirksmode.org

VN:F [1.9.22_1171]
Rating: 7.5/10 (2 votes cast)

Prime source for browser compatibility information on the Internet.

New business wanted

30 September 2021 @ 10:22 am

Last week Krijn and I decided to cancel performance.now() 2021. Although it was the right decision it leaves me in financially fairly dire straits. So I’m looking for new jobs and/or donations. Even though the Corona trends in NL look good, and we could probably have brought 350 people together in November, we cannot be certain: there might be a new flare-up. More serious is the fact that it’s very hard to figure out how to apply the Corona checks Dutch government requires, especially for non-EU citizens. We couldn’t figure out how UK and US people should be tested, and for us that was the straw that broke the camel’s back. Cancelling the conference relieved us of a lot of stress. Still, it also relieved me of a lot of money. This is the fourth conference in a row we cannot run, and I have burned through all my

position: sticky, draft 1

8 September 2021 @ 5:44 pm

I’m writing the position: sticky part of my book, and since I never worked with sticky before I’m not totally sure if what I’m saying is correct. This is made worse by the fact that there are no very clear tutorials on sticky. That’s partly because it works pretty intuitively in most cases, and partly because the details can be complicated. So here’s my draft 1 of position: sticky. There will be something wrong with it; please correct me where needed. The inset properties are top, right, bottom and left. (I already introduced this terminology earlier in the chapter.) h3,h4,pre {clear: left} section.scroll-container { border: 1px solid black; width: 300px; height: 250px; padding: 1em; overflow: auto; --text: 'scroll box'; float: left; clear: left; margin-right: 0.5em; margin-bot

Breaking the web forward

12 August 2021 @ 3:19 pm

Safari is holding back the web. It is the new IE, after all. In contrast, Chrome is pushing the web forward so hard that it’s starting to break. Meanwhile web developers do nothing except moan and complain. The only thing left to do is to pick our poison. blockquote { font-size: inherit; font-family: inherit; } blockquote p { font-size: inherit; font-family: inherit; } Safari is the new IE Recently there was yet another round of “Safari is the new IE” stories. Once Jeremy’s summary and a short discussion cleared my mind I finally figured out that Safari is not IE, and that Safari’s IE-or-not-IE is not the worst problem the web is facing. Perry Sun argues th

Custom properties and @property

21 July 2021 @ 1:18 pm

You’re reading a failed article. I hoped to write about @property and how it is useful for extending CSS inheritance considerably in many different circumstances. Alas, I failed. @property turns out to be very useful for font sizes, but does not even approach the general applicability I hoped for. Grandparent-inheriting It all started when I commented on what I thought was an interesting but theoretical idea by Lea Verou: what if elements could inherit the font size of not their parent, but their grandparent? Something like this: div.grandparent { /* font-size could be anything */ } div.parent { font-size: 0.4em; } div.child { font-size: [inherit from grandparent in some sort of way]; font-size: [yes, you could do 2.5em to restore the grandpar

Let’s talk about money

29 June 2021 @ 11:23 am

Let’s talk about money! Let’s talk about how hard it is to pay small amounts online to people whose work you like and who could really use a bit of income. Let’s talk about how Coil aims to change that. Taking a subscription to a website is moderately easy, but the person you want to pay must have enabled them. Besides, do you want to purchase a full subscription in order to read one or two articles per month? Sending a one-time donation is pretty easy as well, but, again, the site owner must have enabled them. And even then it just gives them ad-hoc amounts that they cannot depend on. Then there’s Patreon and Kickstarter and similar systems, but Patreon is essentially a subscription service while Kickstarter is essentially a one-time donation service, except that both keep part of the money you donate. And then there’s ads ... Do we want small content creators to remain dependent o

Inherit, initial, unset, revert

2 June 2021 @ 10:55 am

Today we’re going to take a quick look at a few special CSS keywords you can use on any CSS property: inherit, initial, revert, and unset. Also, we will ask where and when to use them to the greatest effect, and if we need more of those keywords. The first three were defined in the Cascading Level 3 spec, while revert was added in Cascading Level 4. Despite 4 still being in draft revert is already supported. See also the MDN revert page, Chris Coyier’s page, and my test page inherit The

aspect-ratio

19 May 2021 @ 10:35 am

This week we’ll take a look at the new aspect-ratio declaration and its use. Una Kravets wrote the introductory article, but there are some additional technical points to be made. I also wrote a little fallback that you might use if you need aspect-ratio right now. At the time of writing aspect-ratio is supported by Chrome 90, by Safari Technology Preview, and by Firefox 88 if you set the aspect-ratio flag in about:config. You need one of these browsers to see the examples below — except for the fallback, which should work in all browsers that support custom properties. .inner-box { border: 0; outline: 1px solid black; background-size: contain; background-position: center; background-repeat: no-repeat; background-color

aspect-ratio and grid

11 May 2021 @ 12:42 pm

I’m currently investigating the new aspect-ratio declaration and plan to write an article about it. However, I got stuck on aspect ratios in a grid context. Chrome/Safari and Firefox do something different here, and I understand neither approach. So I hope I can get some help. aspect-ratio is currently supported by Chrome 90, by Firefox 88 with the correct flag enabled, and by Safari Technology Preview. I tested mostly in the first two — for complicated reasons I cannot install STP right now, but a kind Twitter follower sent me a few screenshots. It behaves as Chrome. First, a general remark. aspect-ratio is intentionally a fairly weak declaration. It gives way if other constraints on boxes make the requested aspect ratio impossible. Take this example: .my-box { width: 100px; height: 50px; aspect-ratio

Two options for using custom properties

4 May 2021 @ 2:16 pm

Recently I interviewed Stefan Judis for my upcoming book. We discussed CSS custom properties, and something interesting happened. We had a period of a few minutes where we were talking past one another, because, as it turns out, we have completely opposite ideas about the use of CSS custom properties. I had never considered his approach, and I found it interesting enough to write this quick post. Option 1 Take several site components, each with their own link and hover/focus colours. We want to use custom properties for those colours. Exactly how do we do that? Before my discussion with Stefan that wasn’t even a question for me. I would do this: .component1 { --linkcolor: red; --hovercolor: blue; } .component2 { --linkcolor: purple; --hovercolor: cyan; } a { color: var(--linkcolor); } a:hover,a:focus { color: var(--hovercol

fit-content and fit-content()

29 April 2021 @ 12:28 pm

Today we will look at fit-content and fit-content(), which are special values for width and grid definitions. It’s ... complicated — not as a concept, but in its practical application. .width { width: -moz-fit-content; width: fit-content; } .minwidth { min-width: -moz-fit-content; min-width: fit-content; } .maxwidth { max-width: -moz-fit-content; max-width: fit-content; } div.radios { display: grid; grid-template-columns: 1fr 1fr; } div.radios output { grid-column: span 2; } label { display: block; } .flex div { flex-basis: 30%; flex-grow: 1; } function initBoxes(obj) { initCheck(); let container = obj.querySelector('.outer-box'); initRadios(); if (container.slider && container.showComputed) { container.slider.addEventListener('input',container.showComputed,true) } function initCheck() { let check = obj.querySelector('input[type=checkbox]');

relprime.com

VN:F [1.9.22_1171]
Rating: 8.6/10 (5 votes cast)

Stories from the mathematical domain

#BlackInMathWeek

9 November 2020 @ 3:41 pm

On this episode of Relatively Prime, Michole Enjoli and Noelle Sawyer take over for Black in Math Week. They talk to Brea Ratliff and José Vilson, two Black…

Black Girl Mathgic

1 November 2020 @ 2:18 am

On this episode of Relatively Prime Samuel is joined by Brittany Rhodes the creator of the amazing monthly mathematics subscription box Black Girl Mathgic. They discuss where the…

The Somervilles

31 March 2020 @ 9:26 pm

On this episode of Relatively Prime Samuel is joined by Brigitte Stenhouse of the Open University to talk about the life and times of Mary, and William, Somerville.…

3 Scenes from the Life of Benjamin Banneker

29 February 2020 @ 1:17 pm

On this month’s Relatively Prime Samuel shares three scenes from the life of Benjamin Banneker. One about a clock, one about a solar eclipse projectsion, and one about…

Truthiness

15 February 2020 @ 11:46 pm

In this live episode recorded at the 2020 Joint Mathematics Meetings in Denver Samuel Hansen talks about the truth behind the stories we all tell in mathematics. In…

2019 Year End Review

31 December 2019 @ 4:07 pm

To wrap up the year 2019 Samuel Hansen is joined by Katie Steckles and Christian Lawson-Perfect of Aperiodical.com to discuss some of the big stories from the world…

Authors

1 November 2019 @ 1:10 am

On this episode of Relatively Prime we explore the thoughts of authors of general audience mathematics books. Specifically they share why they started writing, how they choose their…

Citation Aging

1 October 2019 @ 12:30 am

For this episode of Relatively Prime Samuel decided that instead of speaking to a guest they would instead talk about the research they are conducting now that they…

A Beauty Cold and Austere

31 August 2019 @ 12:49 am

On this month’s episode of Relatively Prime Samuel Hansen speaks with Professor Mike Spivey from University of Puget Sound about his interactive fiction game A Beauty Cold and…

Robert Schneider

31 July 2019 @ 8:46 pm

This episode is a bit of a blast from the past. Samuel has recently been going back through some of the old episodes from season 1 and while…

rhymezone.com

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Find words that rhyme.

scrabble-solver.com

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Useful for scrabble cheats.

softpanorama.info

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)

A slightly (skeptical) Open Source Software Educational Society.

30 years of Softpanorama which was started in September of 1989 as a monthly floppy based bulletin for PC programmers.

sosmath.com

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)

Great resource for the maths, beginner to advanced.

superuser.com

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Super User is a Q&A site for computer enthusiasts that’s free. Free to ask questions, free to answer questions, free to read, free to index

Windows 10 reset operation stuck on black screen with spinning dots

2 May 2024 @ 6:01 am

I wanted to do a full reset of my Windows 10 without keeping any file or app on main disk, so I used the Windows reset feature, but now after seeing the "MSI" logo, I can see only white dots spinning for ever. What are my options to get back the access to my PC since I don't have any CD ROM (I don't even have a CD ROM reader on this PC) ? Can I download some USB recovery tool ? Will it be able to detect I had a valid licence on my PC ? Any help is welcome, I'm quite desperate right now :/

Windows 10: Wireshark sees DHCP DISCOVER, tftpd64 does not?

2 May 2024 @ 5:53 am

I am trying to follow the procedure given in https://alexanderhoughton.co.uk/blog/connecting-to-raspberry-pi-direct-to-pc-via-ethernet/ - in briefly, it says: Raspberry Pi is already connected with a network cable from its Ethernet port to the Windows PC Ethernet port Set the Windows Ethernet adapter to Static IP address; the page uses 192.168.111.1 with subnet mask 255.255.255.0 Open https://pjo2.github.io/tftpd64/, enable only DHCP Server, set its Default router to the previous 192.168.111.1, with IP Pool start address 192.168.111.10 and pool size 10, Mask again 255.255.255.0 "After I hit OK, I waited a few moments until the Pi was automatically assigned an IP address" The funny thing is, the first time I trie

Auto-Crop Images Using Cropdetect in FFmpeg

2 May 2024 @ 4:10 am

How do I use the cropdetect and/or crop filters in ffmpeg to automatically crop frames from videos while extracting them at the same time?

ffmpeg scale2ref with overlay complex filters returning audio only mp4 output

2 May 2024 @ 2:58 am

I am trying to find out why the result of using scale2ref with overlay complex filters is returning audio-only mp4 output. ffmpeg -i input.mp4 -i watermark.png -filter_complex "[1][0]scale2ref=w=oh*mdar:h=ih*0.1[logo][video];[video][logo]overlay=5:H-h-5" -c:a copy output.mp4 If I remove the scale2ref filter, then the output is a mp4 video. ffmpeg -i input.mp4 -i watermark.png -filter_complex "overlay=5:H-h-5" -c:a copy output.mp4 One of the differences between the two is this line in the output: [vost#0:0/libx264 @ 0x10f605de0] No filtered frames for output stream, trying to initialize anyway. I am new to ffmpeg, any help will be appreciated. Link to the log file

Edge can not visit Non-SSL url properly

2 May 2024 @ 1:03 am

When several months ago after "Edge" browser on my Win10 X64 machine updated itself to latest version, I began to meet a problem when visiting some websites in my favorites, at first I could not find the reason, after many tries I think I have found the problem, let me explain it in detail since it is a little bit complicated: the website only support non-ssl , it means the url is like http:// not https:// I have put the url into my favorites in edge, it seems it will auto put https:// in the url, I will manually change it back to http:// and save favorites I click favorites in my edge, the browser will automatically visit https:// url although I have changed it to http:// , so I can not visit this site If I manually put http:// url in the address bar, it seems if this url is in my favorites, it will still be changed to https://(I do not know why?), so I can not visit this site too So If I want to visit this site properly,

Centos stream unmounting issue

2 May 2024 @ 12:18 am

I recently tried to attach a new disk drive to an existing working directory. Although the drive was successfully mounted, I realized that I need to retain the data in the previous directory. Consequently, I decided to safely unmount the newly mounted disk drive to recover the original data. However, when I trying to run the command umount /home, the system indicated that the target is busy. This error suggests that some processes are currently using the mounted drive, preventing its safe unmounting. I would appreciate any guidance or recommendations on how to proceed with safely unmounting this drive without risking data loss. Thank you in advance for your assistance.

Gpedit.msc Missing specific directory

1 May 2024 @ 11:22 pm

Administrative Templates > System > Device Installation > Device Installation Restrictions. is missing. After istalling gpedit.msc which was missing on windows 10, the one downloaded didnt get all the options needed. Edit 1: It is missing on both users and system directory Edit 2: By the recommendation of the User John below tried using a github called policy plus, it didnt work but returned a bunch of errors: Policy Plus Errors were encountered while adding administrative templates to the workspace. Continue trying to use this workspace? Couldn't load C:\WINDOWS\PolicyDefinitionsAccountNotifications.admx: The corresponding ADML is missing. Couldn't load C:\WINDOWS\PolicyDefinitions ActiveXInstallService.admx: The corresponding ADML is missing. Couldn't load C:\WINDOWS\PolicyDefinitions\AddRemove Programs.admx: The corresponding ADML is missing. Couldn't load C:\WINDOWS\PolicyDefinitionsAllowBuildPreview.admx: The corresponding ADML is missing.

How to make sure dconf (or gsettings) and <guix>/dconf-editor use the same backend database

1 May 2024 @ 4:43 am

Disclaimer: I'm running Guix package manager as a user on Ubuntu 22.04.4. That is most likely part of the problem: Guix uses non traditional paths for packages and sets symlinks and various search-path directories (such as PATH, XDG_CONFIG_HOME, etc.) to make them accessible to the apps. My /usr/bin/dconf and /usr/bin/gsettings installed by apt read and write my "~/.config/dconf/user" database (GVariant). My guix shell dconf-editor -- dconf-editor provided by Guix package manager reads and writes my "~/.config/glib-2.0/settings/keyfile" database (.ini-style text file). More over, other apps (emacs, firefox) installed through Guix read their settings (e.g. cursor-theme) from "~/.config/glib-2.0/settings/keyfile" So when I modify a value in dconf-editor, it is persisted (i.e., I can see the same value in dconf-editor after a reboot), but the modification is not

Microsoft Teams Audio not being captured in OBS

9 January 2021 @ 1:59 am

I have OBS set to capture my Desktop Audio, however, Microsoft teams is the only program that OBS wont recognize the audio (no sound animation in obs). OBS doesnt capture audio when I am in a Teams meeting. All other programs and any sound coming from my pc get captured in obs

How to get the path of a OneDrive Link?

15 May 2019 @ 10:10 am

In OneDrive we are able to share files via a Link. However often I want to know the path / location of the file So I do not need to get the link (which somebody sent me) but can navigate in OneDrive to the file. How can I do that? Note: A coworker shared a folder called _Public Now I want to know the directory in which the file is saved.

tetw.org

VN:F [1.9.22_1171]
Rating: 4.0/10 (2 votes cast)

Essays and articles with a eclectic edge.

5 Great Essays about Privilege

19 April 2024 @ 10:29 am

5 Great Essays about PrivilegeWhy Does It Feel Like Everyone Has More Money Than You? by Jen Doll - Financial help from parents comes in many forms, and it’s the basis of so many success stories. So why do millennials act like it doesn’t exist?The Radical Moral Implications of Luck in Human Life by David Roberts - Acknowledging the role of luck is the sec

50 Great Essays by Black Writers

17 March 2024 @ 7:53 pm

50 Great Essays by Black WritersWe’ve had several requests for a list of the best writing by black authors to read online, and we finally got around to putting one together. Click through for a huge collection of great reads, including classic essays from James Baldwin, Toni Morrison, Zadie Smith, Roxan

30 Great Articles and Essays about Gender and Sexuality

27 February 2024 @ 1:48 pm

30 Great Articles and Essays about Gender and SexualityClick through for 30 great pieces of writing about homosexuality, trans and nonbinary gender, and more…

10 Great Articles and Essays about Artificial Intelligence

8 February 2024 @ 8:36 pm

10 Great Articles and Essays about Artificial IntelligenceOver the last few years, AI has gone from an academic discipline to a real-world product used by millions of people. That transformation raises all kinds of questions about the technology and its impact on our lives. Click through for 10 of the best articles and essays about AI that examine this crucial subject from all kinds of fascinating perspectives.

The 100 Best Articles and Essays of 2023

22 January 2024 @ 8:42 pm

The 100 Best Articles and Essays of 2023Click here for our roundup of the net’s best nonfiction from 2023

20 Great Articles by Philip Ball

4 December 2023 @ 4:44 pm

20 Great Articles by Philip BallHe’s one of the best science writers around – he seems to be interested in everything and has an amazing ability to make any subject fascinating. Click through for 20 of Philip Ball’s best articles from around the net.

5 Great Articles about Cybercrime

30 October 2023 @ 11:40 am

5 Great Articles about CybercrimeThe Untold Story of Silk Road by Joshuah BearmanThe postman only rang once. Curtis Green was at home, greeting the morning with 64 ounces of Coca-Cola and powdered mini doughnuts…The Crypto Trap by Andy GreenbergInside the Bitcoin bust that took down the web’s biggest child abuse site…

5 Great Essays about the Psychology of Love

24 October 2023 @ 7:19 pm

5 Great Essays about the Psychology of LoveThe Science of Love by Barbara Fredrickson - We each carry an intricate machinery of love, calibrating and attuning our moods and bodies to one anotherThe Rejection Lab by Alison Kinney - What can researching human responses to rejection tell us about ourselves?

10 Essential Essays about Mental Health

10 October 2023 @ 8:10 pm

10 Essential Essays about Mental HealthThe Most Dangerous Idea in Mental Health by Ed Cara - The belief that hidden memories can be “recovered” in therapy should have been exorcised years ago…Darkness Visible by William Styron - A journey through depression

10 Great Essays about Music

9 October 2023 @ 8:29 pm

10 Great Essays about MusicIs Old Music Killing New Music? by Ted Gioia - Old songs now represent 70 percent of the U.S. music market. Even worse: The new-music market is actually shrinking.The Dark Art of Mastering Music by Jordan Kisner - Shedding light on the elusive studio practice that’s all but necessary to make music sound great.

The Urban Rescue Ranch

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)

Urban rescue with Kevin and Co.

How to Eat Baby Kangaroo (real)

30 April 2024 @ 10:40 pm

Dababy Meets His Son

27 April 2024 @ 10:01 pm

I Stole the Beaver from Bucees

23 April 2024 @ 10:00 pm

Rescuing 100 Animals in One Month

4 April 2024 @ 10:00 pm

How to Throw a Duck (Gort Dies)

1 April 2024 @ 10:00 pm

Kevin Gets Electrocuted

28 March 2024 @ 10:00 pm

theyworkforyou.com

VN:F [1.9.22_1171]
Rating: 7.5/10 (2 votes cast)

Keeping tabs on the UK’s parliaments & assemblies

TICTeC keynote speaker announcement: Nick Mabey OBE

25 April 2024 @ 10:11 am

Hot on the heels of our last big announcement, we’re very happy to confirm our second keynote for TICTeC, The Impacts of Civic Technology conference 2024: Nick Mabey OBE. If you’d like to hear from one of the big players, really making a difference to the UK’s climate change response, you’ll want to make sure…

We’re putting more ‘local’ into the Local Intelligence Hub

25 April 2024 @ 7:51 am

Tl;dr: We’ve added lots of local council data to the Local Intelligence Hub. In February, we launched the Local Intelligence Hub, and today we’ve released a huge new update.  We designed the Local Intelligence Hub — in collaboration with The Climate Coalition and supported by Green Alliance — to provide all the data you need,…

Improving TheyWorkForYou’s voting summaries

23 April 2024 @ 10:58 am

If you value the work mySociety and TheyWorkForYou do, please consider whether you can make a donation. We have a good track record of making Parliament more open, provide essential tools to civil society and small charities, and with our platform a little support can go a long way.  If you would like to make…

The Council Climate Scorecards project is having international impact

23 April 2024 @ 8:12 am

Canada differs from the UK in many ways: obviously it’s vastly bigger, extending across many more latitudes; its climate, nature and terrains vary hugely; its cities are more dispersed and diverse — and accordingly, the challenges the two countries face around tackling the climate emergency are different, too.  But there are some significant ways in…

What happened to all the APPGs?

9 April 2024 @ 11:20 am

Over Easter, some groups went missing in Parliament. No, not lost tourists: of the 722 All Party Parliamentary Groups registered in March, only 444 are left – a 39% decrease in the space of a month. What caused this, which groups have been removed, and what happens next? Tl;dr: we’ve published the changes as a…

Council Climate Action scorecards support climate officers

8 April 2024 @ 8:08 am

Lucie Bolton took the position of Climate Strategy Officer at Rother District Council in 2022. Since then, she’s found the Council Climate Action Scorecards project an invaluable support for her work.  Hearing this, we were of course keen to find out more — so we asked Lucie to share her journey, from brand new climate…

Access to Information network: data visualisation Show and Tell

3 April 2024 @ 10:24 am

Organisations all around the world run Freedom of Information sites based on our Alaveteli platform. There are also sites running on other codebases. Either way, we’re all working to the same goals, and we believe that each site can learn from the others: for that reason, we’ve set up the Access To Information (ATI) network,…

TICTeC keynote speaker announcement: María Baron

25 March 2024 @ 9:03 am

We’re excited to announce the first keynote speaker for our 2024 Impacts of Civic Technology Conference (TICTeC)! Join us on 12 and 13 June  — in London or online — and you’ll hear from María Baron, founder and now Global Executive Director of Directorio Legislativo. This year, one of the major themes at TICTeC will…

“Don’t be afraid to copy” and four more highlights from the Scorecards Successes Conference

22 March 2024 @ 2:48 pm

To reach the UK’s 2050 net zero target, all local authorities need to take serious action across all of their operations. But what exactly should they do, and in what order? To get the most out of the brilliant data uncovered by the Council Climate Action Scorecards, Climate Emergency UK commissioned Anthesis to research and…

Creating datasets from FOI data

21 March 2024 @ 4:24 pm

Responses obtained from a widespread FOI project can be difficult to analyse, until they are sorted into neat datasets. This allows you to make valid comparisons, pull out accurate statistics and ultimately ensure your findings are meaningful. In our third seminar within the Using Freedom of Information for Campaigning and Advocacy series, we heard from…