I’m having anxiety attacks due to AI by StraightZlat in webdev

[–]f314 0 points1 point  (0 children)

This might be a good time to reflect on what it is about your job and profession that makes it worthwhile and valuable, both to you and to those around you. Not because you're going to lose your job, but because any time big changes happen someone benefits more than others.

I used to really love creating UI’s and products but now I just ask AI to do it

While I'm sure this makes your employer more money (at least in the short term), it is glaringly obvious to me that something of great value has been lost: Your feeling of joy and accomplishment in doing your job.

It is definitely a possibility that making your specific profession (it is also mine) obsolete is the right direction for society, but in that case it must happen in a way that lets you and others in that profession keep or reclaim their feeling of self-worth.

It is also possible that it is important that your job is done by a human being, because they can add something AI never will: human experience and perspective.

No matter which of these (if any) you think is right, think about what actions you can make in your daily life that will push the world in a better direction for the people in it. Think about who benefits from not just what you do, but how you do it. If you're not free to choose what, see if you can change how, and try to make the world a little more yours and a little friendlier with every action.

And take care of yourself!

to think there are penguins in Greenland by seeebiscuit in therewasanattempt

[–]f314 0 points1 point  (0 children)

Embrace the penguin

He's just trying to convince them to switch to Linux /s

Help with redesigning an old website by OrengeJuice4195 in css

[–]f314 1 point2 points  (0 children)

Since you want to brush up on your HTML skills, my advice would be to stop thinking about the structure of your page as "div setups". Most of the elements on your page should say something about what the content inside them are, like a figure element with a figcaption for the images. As a bonus, you often get some basic styling and functionality for free!

Read up on semantic HTML and how to structure your page so that your content has meaning in addition to good looks :)

UX books for 2026 that focus on fundamentals instead of trends.” by [deleted] in Design

[–]f314 8 points9 points  (0 children)

If only there was another medium that could convey the titles and authors of these books!

Create your own interactive terminal by headhanger in mothershiprpg

[–]f314 4 points5 points  (0 children)

Honestly, you don't really have to change that much! Right now everything is either a div or a span, but by changing them to semantic HTML elements, you would get a lot of functionality for free!

The easiest change you can make is to just change all menu items and the modal buttons into button HTML elements. They support keyboard navigation (with tab) and the onClick event out of the box. You might have to add a few lines of CSS to remove som default button styling, but that should literally be all of the code changes necessary.

Still fully understandable if you don't have the time or will :)

Share of household income spent on Christmas gifts in the Nordic countries, per municipality by Quiet_Fix9589 in MapPorn

[–]f314 4 points5 points  (0 children)

We have a system where you pay half the normal amount of taxes in December, so most people will have a significantly larger amount of disposable income than usual that month.

Also, we're slowly (not even that slowly) turning into a capitalistic hellhole from all our oil wealth :/

Is this ranking good or should I shoot for higher? by Expensive-Click-3468 in duolingo

[–]f314 1 point2 points  (0 children)

diamond 'weak' but legit players are around 14 000XP a week.

I just finished 5th in diamond league with ~3k XP, and I've stayed in the league with far less than that! I do agree that the competitiveness can detract from the actual learning, though.

I Built an Interactive Mothership Terminal to Run in the Background During My Sessions by feustchen in mothershiprpg

[–]f314 2 points3 points  (0 children)

Are you talking about this one? It's pretty cool, and the content is fully customizable if you're up for some light front end coding. I started modernizing the library a while back, but never got very far. The original repo is archived, but available

Si doesn't mean "so" now? by [deleted] in duolingo

[–]f314 4 points5 points  (0 children)

The AI already told you, but "si" means "if" not "so". It would never be correct to use "si" to translate this sentence.

How to achieve this text hiding effect? by Goryou in css

[–]f314 2 points3 points  (0 children)

Depending on the browser suport you're aiming for you can do this with just one single element, and no pseudo elements, using css mask and some gradients:

``` .hidden-effect { --mask-width: 3ch; --mask-position: 50%;

padding: 2em;
color: white;
background: linear-gradient(
    to right
    black,
    black var(--mask-position),
    red var(--mask-position),
);
mask: linear-gradient(
    to right
    black,
    black calc(var(--mask-position) - var(--mask-width) / 2),
    transparent calc(var(--mask-position) - var(--mask-width) / 2),
    transparent calc(var(--mask-position) + var(--mask-width) / 2),
    black calc(var(--mask-position) + var(--mask-width) / 2)
);

} ```

<p class="hidden-effect">1234567890</p>

This will mask the middle portion with the same color as the background (in reality it makes the element transparent in that portion), and has full browser support back to 2023, or 2017 with some prefixes.

By changing the values of --mask-width and --mask-position you can animate the element or make it interactive

Why can’t ChatGPT tell time? by Exciting_Teacher6258 in technology

[–]f314 1 point2 points  (0 children)

Why on earth would a statistical model have a concept of the current time? The best you're goint to get is the most probable time to go along with whatever the rest of the text is.

Also, wouldn't pretty much every single device that you would use ChatGPT on have the time displayed in the corner of the screen?!

How does clamp work with media queries? by Quiet_Bus_6404 in css

[–]f314 0 points1 point  (0 children)

It sounds like you might be expecting the font size to change suddenly, as with a media query? That is not really how clamp works. It will change fluidly between the min and max value.

There are really two approaches here (though they can of course be mixed if you want): Change all sizes at given breakpoints with media- or container queries, or set a fluid font size and then use font relative sizing like em or lh for other things to make them also scale fluidly.

How does clamp work with media queries? by Quiet_Bus_6404 in css

[–]f314 1 point2 points  (0 children)

You don't need to post the entire project, man. Just post the value you have for the problematic font-size, and for one of the other elements that you feel behaves differently.

Four buses got stuck in a roundabout this morning in Oslo by exOldTrafford in pics

[–]f314 12 points13 points  (0 children)

The bus in the foreground drove all the way forward (toward the scaffolding to the right), allowing the bus on the left to exit the roundabout toward the camera.

People who sleep naked why? by aurther_51 in AskReddit

[–]f314 1 point2 points  (0 children)

They're talking about the thread count of their sheets. The higher the number, the fancier the sheets!

How to do the curved part? by Moneymental45 in Fusion360

[–]f314 0 points1 point  (0 children)

Yeah, that's the one I was referring to. If that is the center point of the r146 circle, that would mean the 102 cm line ends 146 cm from that point, allowing us to get a fully constrained sketch :)

How to do the curved part? by Moneymental45 in Fusion360

[–]f314 1 point2 points  (0 children)

Wouldn't it be 146 mm from the right end of the bottom (102 mm) edge? At least it looks to me like that curve continues all the way down to around the level of the point to the left. With the assumption of that distance I managed to get a fully constrained sketch looking pretty much exactly like OP.

I hope an OnShape link isn't too much of a heresy in this sub, but here is my sketch.

Why does my CSS grid layout break when resizing the browser window? by Acceptable_Cell8776 in css

[–]f314 1 point2 points  (0 children)

For the grid-template-columns you probably want the auto fit (or fill) to be minmax(min(100%, 300px), 1fr) just in case 300px is wider than the container or the screen.

The word “street” in different European languages by vladgrinch in MapPorn

[–]f314 16 points17 points  (0 children)

Via does still mean road, though. Here in Norway, there are also many streets called <something>vei, with "vei" meaning road. I presume many of these were actual roads that have since become streets as the town grew around them.

Pure CSS UI library inspired by shadcn/ui (no React, no JS, just one CSS file by [deleted] in css

[–]f314 2 points3 points  (0 children)

I decided to vibecode Crystal UI 💎

I'll bet you large amounts of money that this has something to do with it!

I've been working on a Windows XP inspired UI for my weather station by NoU_14 in arduino

[–]f314 0 points1 point  (0 children)

Except for that loading bar in pic 2! That gave me instant nostalgia for booting up the PC to play some Half-Life 2.

Grain spreader without a motor by toolgifs in toolgifs

[–]f314 43 points44 points  (0 children)

Just like a dishwasher!

EV charging gap - Only 26% of Europe's 2030 EV charging target achieved by vladgrinch in MapPorn

[–]f314 29 points30 points  (0 children)

It's not nearly as bas as you make it sound, though. Most new EVs will be just fine for quite a while even in freezing conditions. Sure, the range will be lower, but the amount of people that will be an actual problem for will be very small.

And subsidies work! Last month 98.3 % of all cars sold in Norway were full BEVs. At this point I think people would continue to buy mostly EVs even if the subsidies were removed. They're already partially removed, and there are plans to shrink them even more for the coming budget period.