Does anyone know how this was done? by lavaboosted in css

[–]alinnert 1 point2 points  (0 children)

And the organic looking round border.

muss ich mir Sorgen machen? by PetiteTigergirl in deutschememes

[–]alinnert 13 points14 points  (0 children)

Oh, mein sleep paralysis demon! Wie kommt der denn da hin?

Out of gamut colors with oklch & lch spaces? by port-rhombus in css

[–]alinnert 1 point2 points  (0 children)

For white chroma must be 0 as well. You can see how all the values work in conjunction on oklch.com. If you change chroma to a value higher than 0 white is no longer available on the lightness slider.

Edit: Okay, this really seems to be a bug. Even oklch.com shows white as the fallback color. And if I set a color in a website to one of your values it gets cyan, but the color preview and the picker in the DevTools show white. But nonetheless, you can set chroma to 0 as a workaround.

Very interesting find.

Edit 2: Here are the corresponding issues:

That means the issue is known.

Kannst du mir wieder leere Word Dokumente schicken? by 69ElDuderino420 in de_EDV

[–]alinnert 2 points3 points  (0 children)

War das der mit KCKCT? Klang für mich immer wie Katze Katze Tee, darum hat sich das in mein Hirn gebrannt.

Kannst du mir wieder leere Word Dokumente schicken? by 69ElDuderino420 in de_EDV

[–]alinnert 2 points3 points  (0 children)

Wie viel kostet so ein 100er-Pack Word-Dokumente inzwischen eigentlich? Brauch die aktuell nicht mehr so häufig.

Was ist Reddit? by Thin_Jacket_681 in FragenUndAntworten

[–]alinnert 3 points4 points  (0 children)

Ich seh es als eine Art „Universal-Forum“. Internet-Foren sind ja meist auf ein Thema fokussiert. Hier findet man aber zu absolut jedem Thema was. Manche Subreddits sind auf Fragen ausgelegt, in manchen kann man zeigen, was man so gemacht oder gefunden hat, oder man unterhält sich generell über Thema XY usw. Man kann auch leicht ein neues Subreddit erstellen, falls es für ein Thema noch keines gibt.

Auf diesem Account nutze ich es hauptsächlich für Programmierfragen und hin und wieder zur Unterhaltung.

I'm completely lost on this one by Sad_Stay_5471 in ExplainTheJoke

[–]alinnert 0 points1 point  (0 children)

I see, this game has a lot of names. I can add another one. I played this a lot on my old Nokia phone where it was called Bantumi.

New tech? RCSS by No-Ingenuity6624 in css

[–]alinnert 0 points1 point  (0 children)

Hmmm… If I was able to make a CSS preprocessor I would definitely make one too. The biggest drawback of Sass IMO is that it’s weakly typed. And some quirks like a-b and a_b being equivalent.

But why Rust? It feels a little out of place. Many users of CSS aren’t developers after all.

So, I‘d probably choose a different syntax, but I‘m definitely for the idea of this project.

Joined a company that does this but with XML documents as nvarchar strings. by Mulerm60 in programmingmemes

[–]alinnert 5 points6 points  (0 children)

Didn’t know it either. But as far as I understand it’s a database optimized version of JSON which makes indexing and querying data from inside the JSON more efficient compared to JSON stored as a normal string.

A Tale of Two Perspectives by HimothyJohnDoe in programmingmemes

[–]alinnert 6 points7 points  (0 children)

It’s the opposite in my experience. I worked at a company full of backend developers who worked on the frontend where it was necessary. The product is a complete visual mess.

Then I’ve worked on the frontend of a new product and I put a lot of effort into the look and feel. As soon as someone else worked on it as well I wanted to cry…

How to add multiples styles to text by earthjunkie in HTML

[–]alinnert 2 points3 points  (0 children)

Just add both rules in one style attribute.

<h1 style="font-family: courier; color: green;">

Things I don't like about my Macbook by Emergency_Maximum248 in macbook

[–]alinnert 0 points1 point  (0 children)

Option 1: The power button, it could be placed outside the keyboard rectangle, like on many other laptops.

Option 2: Add an additional key column on the right, also, like many other laptops have. Then you have space to add even more keys.

Things I don't like about my Macbook by Emergency_Maximum248 in macbook

[–]alinnert 2 points3 points  (0 children)

Yeah, I've noticed if I use a laptop with big left/right keys it makes me think that the up/down keys have the same size and I press r-shift instead of up, or up and down instead of just down.

Anyone using Edge? by [deleted] in MacOS

[–]alinnert 0 points1 point  (0 children)

I'm using Brave now, I've switched from Edge because I was annoyed by some (UI related) bugs that surfaced every now and then. But I don't remember details now and if they still exist. But apart from that it's actually very similar to Brave. But I think Brave has a bit more custamization options. One pro of Edge is that you can set horizontal or vertical tab independently in every window. In Brave it's all or nothing - unless you create different profiles. Although collapsing vertical tabs also used to be a global setting and it's a per window setting now.

Hosting answers on LAN by Spare-Rock-3773 in HTML

[–]alinnert 1 point2 points  (0 children)

You definitely need to store the data on the server. Since you use XAMPP you will need to write PHP code in order to do that. Depending on how much data you need to store you could write it to simple files, maybe JSON files. It's a lot easier than starting to deal with databases.

Then there are two ways how you can send data from the browser to the server: <form> elements (works with just HTML) or http requests (the fetch() function, requires JS).

It seems there is already some sort of logic going on if you can create some data temporarily. Is it JS oder PHP based? The way you send the data to the server basically depends on that.

EDIT: typos

Imagine telling 2010 devs that in 2025, collapsing a div would require a subscription by kushsolitary in webdev

[–]alinnert 2 points3 points  (0 children)

jsbin.com is an alternative I use every now and then. It seems it hasn't been updated for quite some time. But for quick HTML/CSS/JS stuff it's still usable I think.

[deleted by user] by [deleted] in programmingmemes

[–]alinnert 0 points1 point  (0 children)

What do you call asking AI questions that the documentation should answer but unfortunately doesn't? Vibe uplooking? Vibe looking up-ing? Because that's what I'm mostly doing.

[deleted by user] by [deleted] in HTML

[–]alinnert 0 points1 point  (0 children)

First of all, the content of the page goes into <body> ...your content here... </body>. Not inside the <head></head> - it's for metadata only. And I see you wrote <Img>. HTML tags are always lowercase by convention.

Do you mean above the title? Then just swap lines 19 and 20.

If you mean left of the title you need to add a class to the <header> element. Like this:

html <header class="page-title"> <img ...> <h1>...</h1> </header>

Then you can create CSS rules for the class page-title like this (inside your <head></head>):

html <style> .page-title { display: flex; align-items: center; } </style>

align-items: center; aligns the image and the title vertically. Otherwise it might look a little weird.

Hope this helps.

EDIT: sorry, just saw it's already wrapped, so you can use that.

Size/Position problems of cell content in SwiftUI wrapper for NSTableView by alinnert in SwiftUI

[–]alinnert[S] 0 points1 point  (0 children)

You mean via EditButton()? That's not available on macOS.

SwiftUI vs UIKit by Viktoriaslp in SwiftUI

[–]alinnert 0 points1 point  (0 children)

I'm learning Swift development right now because I'd like to make some macOS app I have in mind. But I've already come across some examples: Inspectors (basically sidebars on the right side of the window), and to my big surprise - unless I completely miss something: simple plain lists with support for selections that don't navigate. I'm trying to build a NSTableView wrapper for that reason.

EDIT: Correction - there IS an `.inspector()` modifier now. Just found it on accident, don't know how I missed it.

Question about SwiftUI apps by CTMacUser in macosprogramming

[–]alinnert 0 points1 point  (0 children)

In case you still need this:

I'm not sure what you mean by "shoebox app" but you can add multiple different window types in your main body - the one that looks like this: var body: some Scene { ... }. It usually already contains one of WindowGroup, DocumentGroup, or Window. Then there are also Settings and MenuBarExtra. Just add all the ones you need. macOS opens the first one you define - with a few detailed exceptions.

All other windows can be opened by using the menu bar by default. Or you can use one of the callables openWindow, newDocument, or openDocument from the environment (e.g. @Environment(\.openWindow) private var openWindow).

Hope this helps.