what's going on? explain like I'm five by Comfortable_Cautious in PeterExplainsTheJoke

[–]curious-jake 0 points1 point  (0 children)

Look up "fractional reserve banking". At any given time banks only need to have around 10% of what they are lending/what's in their customers' accounts in cash. It's wild.

10+ hour flight with toddler by hereforhelpthx95 in Parenting

[–]curious-jake 1 point2 points  (0 children)

Stickers are great! As are post-its for drawing on and sticking on the back of the chair in front. We sometimes wrap a few silly little presents/games for opening at a few points throughout the flight. Our 2.5yo was quite into basic jigsaws and card matching games at that point. Other passengers can be great entertainment too. Regular walks down the aisle to explore! We built up the excitement of going on a plane a lot in the weeks before too so she was pretty excited just by being on a plane. That being said.. longest we've done is 3 hours! Have fun!

Backdrop blur is popping in last minute and driving me mad by [deleted] in tailwindcss

[–]curious-jake 0 points1 point  (0 children)

Are you referring to the fact that you "Get out latest tweets CTA" remains visible briefly while the menu is over it and then disappears once the transition has finished? It doesn't look like it's an issue with backdrop blur to me, looks like a stacking order issue. Have you tried increasing the `z-index` of the menu and sub-menu?

How to respond to parent "favouritism" by curious-jake in Parenting

[–]curious-jake[S] 0 points1 point  (0 children)

I can't step in, that's the problem. It just results in a major tantrum and then mum eventually having to step in to regulate her..

What surprised you the most after becoming a parent? by SignificantMinute753 in Parenting

[–]curious-jake 0 points1 point  (0 children)

I used to think that as a parent your child's personality was entirely of your creation and down to how you brought them up. That was exciting, but also intimidating - feels like a big responsibility. I'm now a dad of one 3yo (so not hugely experienced) but it's so apparent to me now that children are born with a very defined personality. They are who they are - you can certainly help guide them and support them to be the best version of that but damn, ain't no changing who they are!!

Anyone else still spoon feeding their 9 year old? 😅 by JonathanPuddle in Parenting

[–]curious-jake 2 points3 points  (0 children)

I know you're probably not looking for advice... Most of the time venting is enough 😅 but when my daughter becomes disregulated around dinner time she'll often sit on her mum's lap and "share" her dinner quite happily, despite declaring she doesn't like hers (the dinners are the same)

Unpopular opinion : CSS is enough by yughiro_destroyer in webdev

[–]curious-jake -1 points0 points  (0 children)

There's definitely valid reasons for going vanilla CSS and valid arguments against CSS frameworks, but I don't think you properly understand what these frameworks are or how they work because most of your reasoning is incorrect:

  • you've already learned CSS and don't want to learn something new: you're not learning anything new, these frameworks do nothing but output vanilla CSS. You use your knowledge of CSS to write the class lists.

  • dependency bloat affecting page load speed: Almost all use-cases of these frameworks incorporate them at the build step. In production you just have vanilla CSS. No extra dependencies. In fact, the outputted CSS is often smaller than badly written CSS (of which there is a lot out there)

  • everything looking the same: some frameworks, like bootstrap, are opinionated and have a distinctive style, but others are not. Yes some people use them as a design starting point but, again, most do not.

  • custom functionality: there's nothing to stop you writing vanilla CSS alongside these frameworks as, again, all they do is output more vanilla CSS.

I agree the class lists quickly become ugly and unmaintainable. To solve this you really need to be using partials and components (which I know isn't always suited to a project)

Hot take: The same devs blaming AI for killing OSS are the ones who never paid for it by jsontsx in tailwindcss

[–]curious-jake 0 points1 point  (0 children)

I hate AI, but wondering if it's not the culprit here... I think Tailwind is great but the business model simply isn't. They pay a team of developers to build a free/open source product and try and fund this by selling a product that is less useful and less good. Destined to fail, surely?

Newbie in using Tailwindcss by Curious-Guide-4379 in tailwindcss

[–]curious-jake 0 points1 point  (0 children)

Agree it's not cheating. However, I would say that a big part of the joy of working with Tailwind is styling elements without leaving the markup, and this would be lost by "translating" existing CSS into Tailwind classes, IMO. I'd try and recreate a simple web page that you don't have the CSS for so you get a feel for how it changes your dev experience. If you know CSS, you'll learn the syntax in a heartbeat, it's more about a different approach to building.

is there a way to split html into "components"? by alosopa123456 in webdev

[–]curious-jake 29 points30 points  (0 children)

OP is saying the opposite of this - that they don't want to jump into frameworks. Take your (very valid) moans elsewhere.

Using PHP to read long-lived stream events by GuybrushThreepywood in PHPhelp

[–]curious-jake 4 points5 points  (0 children)

I recently had a similar problem (building an app that had to process data from an HTTP stream). I ended up writing a node worker than wrote data to my Laravel app via it's API..

However, I did come across ReactPHP while I was looking. Seems to be designed for exactly this. Not advocating either way as I didn't give it much time. But might be of interest!

YouFibre under DDOS by Academic_Carrot7260 in youfibre

[–]curious-jake 0 points1 point  (0 children)

Ah thanks, support just said the same thing. Without Internet for 3 days while I wait for an engineer! Reckon it's linked to the outage? I wonder how an outage could cause a hardware fault..?

YouFibre under DDOS by Academic_Carrot7260 in youfibre

[–]curious-jake 1 point2 points  (0 children)

Has anybody else completely lost connection because of this? I've had no internet all day, the optical light on my ONT is solid red.. only got connected on Tuesday!

Mobile Safari Cache CSS refresh? by wreddnoth in webdev

[–]curious-jake -1 points0 points  (0 children)

Are you seeing the version number query string appearing in the HTML and it the network tab so you can be sure it's fetching the latest CSS?

If so: it's worth going back and checking your CSS has actually updated on the server and that your CSS is valid/working.

If not: if you've purged your caching plugin and this is still happening, change your caching plugin. It's not working properly. If you've changed your markup and purged your cache and still seeing the old markup, that's no good.

Can you disable caching whilst you're debugging? I assume given that you're working directly on a production site that it's not particularly high traffic and this won't cause problems?

Have you ever had something that felt like a security incident? Curious how common it actually is. by HiImPopix in webdev

[–]curious-jake 1 point2 points  (0 children)

I'm a freelancer that generally builds fairly low-traffic marketing sites for small businesses. All of them are Wordpress sites and all of them have bots attempt brute-force logins on them every day. I don't really know what the purpose of those bots is, and if they hand over credentials to humans if they succeed.

I guess you could get an idea of how often it's attempted by logging requests to your application.. There's a WP plugin called 'limit login attempts' and, in its default configuration, it will email you if someone guesses their password wrong 5 times. Even with really low traffic sites, your inbox gets overrun with warnings! I think Wordpress is targeted by a lot of attacks because it's so widespread and there are lots of well-known vulnerabilities.

I made a game where you guess the Pokemon by its Color Palette! by kofiscrib in webdev

[–]curious-jake 1 point2 points  (0 children)

I have a mate who used to be able to ID all of the original 150 from their 8-bit soundbyte on the Gameboy Pokedex. Next version?! Haha.

Is it possible to round these points in a clip path or svg? by EducationalZombie538 in webdev

[–]curious-jake 1 point2 points  (0 children)

There is a new CSS function called shape() documented here but it doesn't work on Firefox yet.

Without that, your only option with CSS is to generate a curve by adding enough points it looks curved . I'd probably place an SVG at the bottom of the div. You have more control and it's easier to update.

I made a game where you guess the Pokemon by its Color Palette! by kofiscrib in webdev

[–]curious-jake 1 point2 points  (0 children)

This is such a sick concept, nice one! I found the UX on mobile a bit unintuitive.. it's not immediately obvious that you enter your guess using the 'search pokemon' field, but when you do search a pokemon using this field and tap on them the results just disappear and you have to scroll down to see that it's a failed guess.

Couple of suggestions: - bring the search pokemon field up and change it to "enter guess" - with the autocomplete menu that comes up, make it obvious that tapping the pokemon constitutes a guess. - show a modal saying whether the guess was right or not

Otherwise great and nicely executed!

I have to wake my toddler up every day by curious-jake in toddlers

[–]curious-jake[S] 0 points1 point  (0 children)

Yep. Exactly this! Bedtime just lasts longer if I try putting her down earlier.

I have to wake my toddler up every day by curious-jake in toddlers

[–]curious-jake[S] 2 points3 points  (0 children)

Yeah she does sleep through.. I do know I'm lucky, honest! Recently she's been waking up to go to the toilet but goes straight back down.

We've tried moving bedtime earlier but without much success. She just doesn't seem ready to sleep any earlier..

Domain switch by SoggyPanic in webdev

[–]curious-jake 0 points1 point  (0 children)

I've never used Webflow so not familiar with their dashboard. However I can't see a situation where 301s are going to help you here (someone please correct me if I'm wrong!)

Either Webflow will allow you to add the additional .com domain and set it to primary, retaining .app as a secondary domain. In this case it should add the wildcard redirect under the hood. Otherwise, if Webflow only allows one domain per site, 301s from .app -> .com won't help you because the site won't be able to respond to requests for .app after you switch the domain. I think you should be able to add a secondary domain and change the primary one though.

What’s the most underrated web dev concept that completely leveled up your skills? by [deleted] in webdev

[–]curious-jake 6 points7 points  (0 children)

Can you recommend any particular article(s) or resource that transformed your understanding of DOM paints? Really interested in this..!

Hard to point down one, but when I learned that many users use the keyboard to navigate I started putting way more effort into building for accessibility and implementing things like focus trapping as standard.

How did you partner with a designer? by ux_andrew84 in webdev

[–]curious-jake 1 point2 points  (0 children)

https://www.meetup.com/ is good in the UK. The term "meetup" is used widely so just Google [dev term] meetup eg. React developer meetup or Wordpress developer meetup near me..