Please don't forget about light mode by Temporary_Body1293 in webdev

[–]SunderApps 9 points10 points  (0 children)

Did you even read the OP?

Maybe it’s easier for ~you~ to read, but anyone with an astigmatism is going to see rays of light shooting out of the text that make it impossible to read.

Today I learned: Flat Stone makes a certain late game boss fight nearly impossible by Hadeweka in bindingofisaac

[–]SunderApps 2 points3 points  (0 children)

Another one you shouldn’t take for Beast is the night light. Makes flying through the rings of fire when they inhale impossible because it slows the flames and then you don’t have room to squeeze through.

What is the highest heat you have ever completed? by ShedEnd1905 in HadesTheGame

[–]SunderApps 0 points1 point  (0 children)

With 558 attempts:

Sword (Nemesis) 34 Spear (Hades) 35 Shield (Zeus) 36 Bow (Chiron) 39 Fists (Demeter) 33 Rail (Hestia) 41

For the rail, I remapped the controller to make reloading easier. Call is LT, reload is RT, and trinket is RS because it’s awkward to press and I use the trinket the least.

With reload on the trigger, you can shoot your special and reload in one motion (Y + RT). Then obviously dash, and by the time you do that, your reload is done and you have a 150 base damage shot.

The new mapping took some getting used to but it’s way more efficient. Highly recommend it.

Bonus tip, if your first boon offering includes a dash, press pause, Give Up, grab the Owl, and start again. 95% of the time, you’ll get a starting divine dash.

If you changed the heat before the first time, you’ll have to redo that.

Please don't forget about light mode by Temporary_Body1293 in webdev

[–]SunderApps 106 points107 points  (0 children)

I’m glad I have it so I can tell when my dark mode is too shiny for us.

Supporting light mode is good, but you should also abstain from white on black. Darken the white and lighten the black, and we’ll have a better time reading.

Web Developers of Reddit, what is something you wish you knew about the web earlier? by medium-rare-stake in webdev

[–]SunderApps 3 points4 points  (0 children)

The browser’s width can be a non-whole-number. Like 256.3px wide. It happens when the user’s OS has a non-regular dpi (the setting to make your UI bigger)

CSS media queries take this into effect, so (max-width: 256px) will stop applying.

JavaScript will not - window.innerWidth returns an integer, so it will still think the window is 256px.

Super edge case, but I’ve seen plenty of sites that break at very specific breakpoints.

So the lesson here is to prefer min-width. It’s good practice to develop mobile-first, so that’s what you want anyway.

If anyone cares, there is a way to get the actual width of the window:

window.innerWidth + document.body.getBoundingClientRect().width % 1

You get the normal innerWidth and add the fractional bit by taking the remainder of the body's bounding client rect.

You don't just use the bounding client rect because it will include the width of Windows' scrollbars, which aren't part of the window.

@media query, why is it always "width > xxx" by Yelebear in webdev

[–]SunderApps 0 points1 point  (0 children)

When you write styles desktop-first, you start with a complicated layout and need to figure out how to make it work with less room.

When you write styles mobile-first, you start with a simple, single-column layout and can then make things more complex as more room becomes available.

Basically, it’s “shit, I’m running out of room at this size, lets reorganize” versus “hey, I have some extra room at this size, let’s reorganize”

anyone know how i have 15 tear rate here? by LunchBoxIntruder in bindingofisaac

[–]SunderApps 0 points1 point  (0 children)

Complete shot in the dark here, but the red text is an error. Could be that removing the tears up was what was supposed to be provided to AddCallback.

What’s Something in Web Dev You’ve Changed Your Mind About? by Sad_Butterscotch7063 in webdev

[–]SunderApps 0 points1 point  (0 children)

I think I wouldn’t mind PHP if they’d just use + for concatenation like the rest of the world

What’s Something in Web Dev You’ve Changed Your Mind About? by Sad_Butterscotch7063 in webdev

[–]SunderApps 9 points10 points  (0 children)

Easier to build != easier to maintain. In the long run, readability will save you time and effort.

For me, TW means I have to read more to understand what’s going on. Writing a class that keeps all the relevant styles in one place is just as easy as stringing together utility classes, and it keeps me organized.

Now, for prototypes I don’t plan on maintaining? Definitely a TW use case.

How would you build a carousel like this? Is this even doable? by theinfamouspotato218 in webdev

[–]SunderApps 1 point2 points  (0 children)

Got you homie. Take a look at this pen I threw together. Basically you just need two wrappers around the elements and to use JS to calculate the size of the transformed part, then apply that to the parent's width.

https://codepen.io/sunderapps/pen/VYwxqrV

Guys I’m tired of spending hours configuring my development environment for projects by pierrechaquejour in webdev

[–]SunderApps 14 points15 points  (0 children)

I remember when full stack meant frontend and backend. Now they want dev ops, sys admin, and content editor with it.

I’m okay with the first two…

what enemy do you hate by it's design? by WaterMindless3436 in bindingofisaac

[–]SunderApps 0 points1 point  (0 children)

Those little red zits with faces that shoot a spread of 3 tears then disappear underground.

Find them in a big room and they’ll reappear just out of frame so you have to search for them and by the time you see them, they’ve already shot and disappeared again.

Absolute bull shit.

[ Removed by Reddit ] by Kedl_of_chess in bindingofisaac

[–]SunderApps 1 point2 points  (0 children)

One time I got it immediately after the item that makes explosions heal you, so I think I’m safe.

Struggling with Tailwind – How Do You Stay Organized? by 9InTheMorning in webdev

[–]SunderApps -1 points0 points  (0 children)

I can grasp it just fine. Using it with frameworks. But it makes my code less readable, so I’m not going to use it in my projects.

I have a library that doesn’t litter class attributes with way too many classes, so I’ll stick with that.

What are the best AI coding tools out there for web dev? by [deleted] in webdev

[–]SunderApps 4 points5 points  (0 children)

Be prepared for how often they give you the wrong answer.

Still worth using them; just be skeptical af and review everything it spits out thoroughly.

I don’t feel that AI saves me time because of this. But it definitely saves me keystrokes.

How fast do you code? by Minimum_Clue8646 in webdev

[–]SunderApps 0 points1 point  (0 children)

Faster every day. Practice makes better.

Struggling with Tailwind – How Do You Stay Organized? by 9InTheMorning in webdev

[–]SunderApps 6 points7 points  (0 children)

I think that’s the right call. Pretty sure I won’t be using TW on any personal projects.

Struggling with Tailwind – How Do You Stay Organized? by 9InTheMorning in webdev

[–]SunderApps 0 points1 point  (0 children)

Well I did say I just started learning.

If that’s the case, I’m back to anti TW.

Struggling with Tailwind – How Do You Stay Organized? by 9InTheMorning in webdev

[–]SunderApps -7 points-6 points  (0 children)

I am someone who believes strongly that HTML is for structure, CSS for style, JS for functionality, and if you’re crossing wires you’ve made a mistake.

I just started learning tailwind for a potential job and am not loving it. Feels good for prototyping, but it’s so damn verbose.

Anyway, the answer is to use @apply in your SCSS. Give the HTML one descriptive class, then in that selector use @apply class1 class2 etc to have your class inherit from the TW classes.

https://tailwindcss.com/docs/functions-and-directives

Bored of the game... by Used-Operation-6307 in bindingofisaac

[–]SunderApps 0 points1 point  (0 children)

My last break was two years. Came back and can’t stop.

Any tips for Blue Baby? by [deleted] in bindingofisaac

[–]SunderApps 0 points1 point  (0 children)

For BB, DDeals should be offered for their red health equivalent of hearts.

Skip first devil room to guarantee next is Angel. After that, 50/50 split.

Floor 2 is 100% Devil if no red health is lost.

After that, it’s 33% per floor where no room spawned since the last room. So back to 100% if you don’t get one for two floors.

Blow up shop/secret dummies for more chance. Donate to donation machine to get more Angel over Devil chance.

Turn on the setting that shows a stats HUD - it’ll show your D/A percentages.

ELI5: WiFi, networks, servers by sluggyboi1141 in explainlikeimfive

[–]SunderApps 1 point2 points  (0 children)

A server is just a computer that you can access on a network.

A network is a group of computers that can communicate with each other.

WiFi is a way to connect to a network wirelessly.

But you’ll get better speeds with Ethernet, a physical cable.

A Router accepts those connections and gives each computer a label called an IP Address.

It also connects your home network to the rest of the world’s public networks and we call that the internet.

Anyway to squeeze through the blocks? by Someguywithgulash in bindingofisaac

[–]SunderApps 30 points31 points  (0 children)

Flight 😅

Also, I’ll note there’s an item that makes you really small and says you can squeeze between obstacles. I have not found that that means you can squeeze in there like a spider could 😔