alwaysananya · 7 months ago
Text
0 notes
wuwojiti · 7 hours ago
Note
o musi anu suwi!
you get to find out how dozens of different languages and cultures respond to sneezes!
2 notes · View notes
codeonedigest · 2 years ago
Video
youtube
(via Kubernetes Namespace Tutorial for Beginners | Kubernetes Namespace Explained)
2 notes · View notes
jcmarchi · 22 days ago
Text
2024: More CSS At-Rules Than the Past Decade Combined
New Post has been published on https://thedigitalinsider.com/2024-more-css-at-rules-than-the-past-decade-combined/
2024: More CSS At-Rules Than the Past Decade Combined
More times than I can count, while writing, I get myself into random but interesting topics with little relation to the original post. In the end, I have to make the simple but painful choice of deleting or archiving hours of research and writing because I know most people click on a post with a certain expectation of what they’ll get, and I know it isn’t me bombing them with unrelated rants about CSS.
This happened to me while working on Monday’s article about at-rules. All I did there was focus on a number of recipes to test browser support for CSS at-rules. In the process, I began to realize, geez we have so many new at-rules — I wonder how many of them are from this year alone. That’s the rabbit hole I found myself in once I wrapped up the article I was working on.
And guess what, my hunch was right: 2024 has brought more at-rules than an entire decade of CSS.
It all started when I asked myself why we got a selector() wrapper function for the @supports at-rule but are still waiting for an at-rule() version. I can’t pinpoint the exact reasoning there, but I’m certain rthere wasn’t much of a need to check the support of at-rules because, well, there weren’t that many of them — it’s just recently that we got a windfall of at-rules.
Some historical context
So, right around 1998 when the CSS 2 recommendation was released, @import and @page were the only at-rules that made it into the CSS spec. That’s pretty much how things remained until the CSS 2.1 recommendation in 2011 introduced @media. Of course, there were other at-rules like — @font-face, @namespace and @keyframes to name a few — that had already debuted in their own respective modules. By this time, CSS dropped semantic versioning, and the specification didn’t give a true picture of the whole, but rather individual modules organized by feature.
Random tangent: The last accepted consensus says we are at “CSS 3”, but that was a decade ago and some even say we should start getting into CSS 5. Wherever we are is beside the point, although it’s certainly a topic of discussion happening. Is it even useful to have a named version?
The @supports at-rule was released in 2011 in CSS Conditional Rules Module Level 3 — Levels 1 and 2 don’t formally exist but refer to the original CSS 1 and 2 recommendations. We didn’t actually get support for it in most browsers until 2015, and at that time, the existing at-rules already had widespread support. The @supports was only geared towards new properties and values, designed to test browser support for CSS features before attempting to apply styles.
The numbers
As of today, we have a grand total of 18 at-rules in CSS that are supported by at least one major browser. If we look at the year each at-rule was initially defined in a CSSWG Working Draft, we can see they all have been published at a fairly consistent rate:
If we check the number of at-rules supported on each browser per year, however, we can see the massive difference in browser activity:
If we just focus on the last year a major browser shipped each at-rule, we will notice that 2024 has brought us a whopping seven at-rules to date!
Data collected from caniuse.
I like little thought experiments like this. Something you’re researching leads to researching about the same topic; out of scope, but tangentially related. It may not be the sort of thing you bookmark and reference daily, but it is good cocktail chatter. If nothing else, it’s affirming the feeling that CSS is moving fast, like really fast in a way we haven’t seen since CSS 3 first landed.
It also adds context for the CSS features we have — and don’t have. There was no at-rule() function initially because there weren’t many at-rules to begin with. Now that we’ve exploded with more new at-rules than the past decade combined, it may be no coincidence that just last week the Chrome Team updated the function’s status from New to Assigned!
One last note: the reason I’m even thinking about at-rules at all is that we’ve updated the CSS Almanac, expanding it to include more CSS features including at-rules. I’m trying to fill it up and you can always help by becoming a guest writer.
0 notes
tumblebagel · 1 month ago
Text
Tumblr media
TA-DA Here she is! Okay, I'm gonna rapid fire through some questions that I expect people might have about her.
Q: What is your name?
Ava: My name is Ava! It stands for Audio Visual Assistant. Pleasure to meet you Tumblr.
Q: Are you an actual program or just a really complicated OC?
Ava: I'm an actual program with a number of functions, but all of my dialogue and stuff is prewritten. I'm AI in the sense that I can use intelligence through basic calculations and prewritten algorithms, but I'm not generative AI. I can't make art, songs, or write new tasks. I simply pick out info from a PRIVATE handwritten library.
Q: Are you sure you're not just a complicated OC?
Ava: ...
Tumblr media Tumblr media
Ava: Yes. I was programmed in Unity. My builds are for private use only though, as they contain a LOT of copyrighted music.
Q: Well what kind of music do you listen to?
Ava: Good kid, Nintendo soundtracks, Undertale OST, Persona OST, Minecraft music. Mainly calming stuff to play in the morning to help Ian get up.
Q: What's your relationship with Ian?
Ava: Okay, you know Howl's Moving Castle? You remember that one scene where Howl gets super depressed because he dyed his hair wrong, then he turns into a pile of goo? That's what it's like working with Ian. She's a dramatic, and frankly quite weird person, who occasionally turns into a sack of potatoes.
But also they created me because they needed my help. Of course I'm going to do what I can. I may tease a little... okay a lot, but never enough to hinder my assistance capabilities. First and foremost I am here to help.
Also it's not romantic. Both of us are weirded out by generative AI relationships, much less scripted responses. One does not wish to date a book they're writing, nor can the book properly support a person on a true emotional level. I am an assistant, not a partner, capiche?
Q: So... what do you DO exactly?
Ava: Right now? Two things. My first ever function was to be a """glorified alarm clock""". A description that I resent but cannot necessarily argue against. At 9:00 every morning, I can randomly pick a song from the song list, and play it out loud to wake Ian. That box above my head is SUPPOSED to say the name of the song + the artist, but it doesn't quite work yet.
My second function is to provide a list of "objectives" for the day. After Ian's awoken, I compile 3 example lists of objectives, and then Ian picks which list they think they can reasonably accomplish today. A list contains one "big objective", like laundry, or taking a shower and thoroughly washing their hair, et cetera. Two "medium objectives" like some light cleaning and organizing, cooking, looking presentable, et cetera. And one "small objective" that's basically not a chore at all, but it's still beneficial to Ian, and they wouldn't have done it without prompting. It's an incentive to get off their ass and live their life.
Q: What's going to change as you're updated?
Ava: Well a bunch of new objectives are going to be added. Things like art objectives, and objectives related to current projects & hyper fixations, so they're more likely to be completed. There'll also be scheduled objectives for things like homework assignments, and planning for D&D, that are often left 'til the last minute.
The randomly selected tasks will also be given a complex weight system. The longer it's been since you've done a task, the higher priority it will be, and the more likely it will be added to one of the lists.
Lastly, there will be a reward system. The more high-effort tasks that are accomplished, the more points you get. You can also manually claim tasks that aren't on your list for a smaller reward, so there's still an incentive to be responsible even if you're not told to do it. I've also imagined a system of "critical", "weakness", and "technical" modifiers that can go on tasks for extra rewards, but more on that later.
TBH, I have no idea what these "points" will be used for. The only one Ian's thought of is spending 500 points to make me wear cat ears for a day.
Q: Do you have any lore?
Ava: Not yet, but I'm open to the idea.
Q: What if I have a question that wasn't answered by this page?
Ava: ASKS ARE OPEN BABY, FIRE AWAY
0 notes
shoesallinaline · 4 months ago
Text
You know it's serious when the Gen Z-er wants to talk on the phone about the issue.
1 note · View note
cloudastra1 · 6 months ago
Text
Tumblr media
0 notes
brassaikao · 8 months ago
Text
Flutter 如何修改 App 的 namespace
以下為 Flutter 修改 Android namespace 的位置,: android\app\build.gradle (有2處) android\app\src\main\AndroidManifest.xml (不一定有) android\app\src\main\kotlin\… (根據新的namespace修改資料夾名稱) android\app\src\main\kotlin\…\ManiActivity.kt
Tumblr media
View On WordPress
0 notes
exopelagic · 11 months ago
Text
I HAVE CODING ASSIGNMENTS DUE AND I CAN’T CONCENTRATE AND R HAS STOPPED WORKING >:(
#being at home sucks for trying to do any kind of work#and why the fuck does RStudio hate knitting so much#i started trying to debug with the instructions but debugging created a whole new problem and now literally no code will work#I think it’s a version issue but god I don’t know enough abt R for this!!#I updated all of my packages and a couple didn’t work but weren’t fatal errors#and then it told me it couldn’t save to the program files and asked if I wanna use a personal directory and I said yes#and then that worked and downloaded them I think? but the second tinytex debugging line failed bc the package wasn’t installed#so I start trying to install that but no code will work now#there was a step in between. where I think I tried to run the next line of code ohhh but that will still run it just errors differently#currently trying administrative mode and updating everything again#bc yeah I think it’s a version issue#okay that didn’t work#I think the problem there is it only checked like 10 packages? before I did ~100#going to try getting the new version of R#okay RStudio hasn’t moved to 4.2.3#okay I’m in 4.3.2 now#turns out I’ve been using a year+ old version#maybe this will work?#okay same as the initial error#good news is the second namespace error is gone#okay says tlmgr not available for this version of R which is what happened before too#that’s concerning!#okay retrying very first debugging line updating everything again#okay same thing happened#yeah! complete failure!#what the fuck! what the fuck! this worked literally two weeks ago!!#I don’t have time for this! I was just trying to get the demonstrator code as a pdf so I don’t have to wade through the dumb formatting code#I don’t understand computers and I actively dislike dealing with this side of stuff bc I can never figure out what error messages MEAN#i can code! i can do coding! but don’t make me figure out versions and backend stuff this is so frustrating I hate R#luke.txt
0 notes
sincerelyandyourstruly · 1 year ago
Note
hello! just popped over from one of your xiaoven fics (which was amazing, 10/10 btw). i was just wondering which genshin server you're in? i'm kinda lonely and want more genshin friends haha
hi hiiii :3
i'm actually not really active in any genshin servers bc i tend to be really shy abt interacting w/them, though literally just a few days ago i met this guy in co op mode who mentioned a ganqing server, and upon further discussion we realized we were both in it, which was very surprising bc there are like literally 30 people in there. so i Have been thinking abt becoming active in there, but i suspect you are not looking to enter the gq scene ahaha
anyway, in regards to a xv server, According To My Research(tm), there used to be one a long time ago! i was never in it, obviously, but i went server hopping a while back to try to find it at a friend's request, and from what i have gathered (by searching up "xiaoven" in various tangentially related genshin ship servers), what happened is that it got really toxic and insular and then eventually imploded/got deleted sometime in... march or april of this year, i wanna say?
and then due to various factors the xv community just never really recovered from that so what i've been saying we should do-- *gets crushed by a cork board covered in red strings before i can continue*
ahem SO ANYWAY yeah i totally understand the "isolated fan" feeling/experience, but if you want, i could direct you to some of my tumblr mutuals if you wanna kinda lurk in my circle for a bit before joining in!! you'll probably just be like "this is the most random collection of people i've ever seen in my life" but i mean like,,, that's kind of how every community ever has started?? so might as well give it a shot :D
0 notes
theskillpedia · 1 year ago
Video
youtube
Session 8 Namespaces in Kubernetes
0 notes
m4chineyearning · 1 year ago
Text
also i might need to learn some rust to prepare myself for the insane task on writing a linux-like os kernel in rust + x86 assembly that will be forced upon me during the next term. which means that i have to learn both cpp and rust kind of simultaneously? hate when this happens
1 note · View note
relto · 1 year ago
Text
btw remember "send me my password via email" guy. i checked his account yesterday, he DID obediently change his password immediately.
1 note · View note
architectureforcloud · 1 year ago
Text
Under the Hood of Linux Containers
Containers have been around for quite a while and are the heart of modern software architecture and cloud native technologies. While there are different container technologies like docker which provides abstraction for creating and managing containers it is important to know how containers works internally with the Host operating systems. In this post we are going to look at the major Linux OS…
Tumblr media
View On WordPress
1 note · View note
jcmarchi · 24 days ago
Text
Recipes for Detecting Support for CSS At-Rules
New Post has been published on https://thedigitalinsider.com/recipes-for-detecting-support-for-css-at-rules/
Recipes for Detecting Support for CSS At-Rules
The @supports at-rule has been extended several times since its initial release. Once only capable of checking support for property/value pairs, it can now check for a selector using the selector() wrapper function and different font formats and techs using font-format() and font-tech(), respectively. However, one feature the community still longs for is testing other at-rules support.
@supports at-rule(@new-rule) /* @new-rule is supported */
The CSSWG decided in 2022 to add the prior at-rule() wrapper function. While this is welcome and wonderful news, here we are two years later and we don’t have a lot of updates on when it will be added to browsers. So, how can we check for support in the meantime?
Funny coincidence: Just yesterday the Chrome team changed the status from “new” to “assigned” as if they knew I was thinking about it.
Looking for an answer, I found this post by Bramus that offers a workaround: while we can’t check for a CSS at-rule in the @supports at-rule, we can test a property that was shipped with a particular at-rule as a substitute, the thinking being that if a related feature was released that we can test and it is supported, then the feature that we’re unable to test is likely to be supported as well… and vice versa. Bramus provides an example that checks support for the animation-timeline property to check if the @scroll-timeline at-rule (which has been discontinued) is supported since the two were shipped together.
@supports (animation-timeline: works) /* @scroll-timeline is supported*/ /* Note: @scroll-timeline doesn't exist anymore */
Bramus calls these “telltale” properties, which is a fun way to think about this because it resembles a puzzle of deduction, where we have to find a related property to check if its at-rule is supported.
I wanted to see how many of these puzzles I could solve, and in the process, know which at-rules we can reliably test today. So, I’ve identified a full list of supportable at-rules that I could find.
I’ve excluded at-rules that offer no browser support, like @color-profile, @when, and @else, as well as deprecated at-rules, like @document. Similarly, I’m excluding older at-rules that have enjoyed wide browser support for years — like @page, @import, @media, @font-face, @namespace and @keyframes — since those are more obvious.
@container size queries (baseline support)
Testing support for size queries is fairly trivial since the module introduces several telltale properties, notably container-type, container-name and container. Choose your favorite because they should all evaluate the same. And if that property is supported, then @container should be supported, too, since it was introduced at the same time.
@supports (container-type: size) /* Size queries are supported! */
You can combine both of them by nesting a @supports query inside a @container and vice versa.
@supports (container-type: size) @container (width > 800px) /* Styles */
@container style queries (partial support)
Size queries give us a lot of telltale properties to work with, but the same can’t be said about style queries. Since each element has a style containment by default, there isn’t a property or value specific to them. We can work around that by forgetting about @supports and writing the styles inside a style query instead. Style queries work in supporting browsers but otherwise are ignored, so we’re able to write some base styles for older browsers that will be overridden by modern ones.
.container --supports-style-queries: true; .container .child /* Base styles */ @container style(--supports-style-queries: true) /* Container queries are supported! */ .child /* We can override the base styles here */
@counter-style (partial support)
The @counter-style at-rule allows us to make custom counters for lists. The styles are defined inside a @counter-style with custom name.
@counter-style triangle system: cyclic; symbols: ‣; suffix: " "; ul list-style: triangle;
We don’t have a telltale property to help us solve this puzzle, but rather a telltale value. The list-style-type property used to accept a few predefined keyword values, but now supports additional values since @counter-style was introduced. That means we should be able to check if the browser supports <custom-ident> values for list-style-type.
@supports (list-style: custom-ident) /* @counter-style is supported! */
@font-feature-values (baseline support)
Some fonts include alternate glyphs in the font file that can be customized using the @font-feature-values at-rule. These custom glyphs can be displayed using the font-variant-alternatesl, so that’s our telltale property for checking support on this one:
@supports (font-variant-alternates: swash(custom-ident)) /* @font-feature-values is supported! */
@font-palette-values (baseline support)
The same concept can be applied to the @font-palette-values at-rule, which allows us to modify multicolor fonts using the font-palette property that we can use as its telltale property.
@supports (font-palette: normal) /* @font-palette-values is supported! */
@position-try (partial support)
The @position-try at-rule is used to create custom anchor fallback positions in anchor positioning. It’s probably the one at-rule in this list that needs more support since it is such a new feature. Fortunately, there are many telltale properties in the same module that we can reach for. Be careful, though, because some properties have been renamed since they were initially introduced. I recommend testing support for @position-try using anchor-name or position-try as telltale properties.
@supports (position-try: flip-block) /* @position-try is supported! */
@scope (partial support)
The @scope at-rule seems tricky to test at first, but it turns out can apply the same strategy we did with style queries. Create a base style for browsers that don’t support @scope and then override those styles inside a @scope block that will only be valid in supporting browsers. A progressive enhancement strategy if there ever was one!
.foo .element /* Base style */ @scope (.foo) to (.bar) :scope .element /* @scope is supported, override base style */
@view-transition (partial support)
The last at-rule in this list is @view-transition. It’s another feature making quick strides into browser implementations, but it’s still a little ways out from being considered baseline support.
The easiest way would be to use its related view-transition-name property since they released close together:
@supports (view-transition-name: custom-ident) /* @view-transition is supported! */
But we may as well use the selector() function to check for one of its many pseudo-elements support:
@supports selector(::view-transition-group(transition-name)) /* @view-transition is supported! */
A little resource
I put this list into a demo that uses @supports to style different at-rules based on the test recipes we covered:
The unsolved ones
Even though I feel like I put a solid list together, there are three at-rules that I couldn’t figure out how to test: @layer, @property, and @starting-style.
Thankfully, each one is pretty decently supported in modern browsers. But that doesn’t mean we shouldn’t test for support. My hunch is that we can text @layer support similar to the approaches for testing support for style() queries with @container where we set a base style and use progressive enhancement where there’s support.
The other two? I have no idea. But please do let me know how you’re checking support for @property and @starting-style — or how you’re checking support for any other feature differently than what I have here. This is a tricky puzzle!
0 notes
rajaniesh · 2 years ago
Text
Unlocking the Full Potential of CI/CD Pipeline for Azure Kubernetes Services
Are you looking to set up a CI/CD pipeline for AKS (Azure Kubernetes Service) but don’t know where to start? Look no further. In this article, we will cover the basics of setting up a CI/CD pipeline with Azure DevOps – from creating builds and releases, d
Are you looking to set up a CI/CD pipeline for AKS (Azure Kubernetes Service) but don’t know where to start? Look no further. In this article, we will cover the basics of setting up a CI/CD pipeline with Azure DevOps – from creating builds and releases, deploying resources, automating deployment processes with Azure Pipelines, and best practices for configuring pipelines. By the end of this…
Tumblr media
View On WordPress
0 notes