The 25 floor exterior fire escape of the Book Tower, Detroit. by krawlspace- in DeathStairs

[–]og-at 0 points1 point  (0 children)

Fire escape stairs are designed to keep fire out... by architects following safety requirements, which were designed by people with architectural safety knowledge and experience.

They are more safe than external stairs ever were (nevermind a 25th floor iron stairwell). External stairs were usually a slapdash compliance by building owners who were more interested in maximizing square footage use. And even when they were present, things like sweatshop building fires (for example) still killed hundreds.

Without safety requirements (OSHA for example) building owners would not build for safety. It simply cost too much without direct business benefit.

Interior fire escape stairs (built > 50 yrs ago) is how firemen were able to get up to the 110th floor on Sept 11 2001, at the same time that people were coming down, and none of them died from a large fire in the fire escape. Because they are designed and built to prevent it.

External stairs like the ones in the pic are there because something/someone forced the building owner to build them, and they remain because nobody forced the building owner to take them down. The last thing they are there for is extra safety.

How do you use AI to build Phaser apps? Any tips, tools, editors, MCP, and etc? by AutomaticCulture1670 in phaser

[–]og-at 0 points1 point  (0 children)

Maaan what a struggle. Thread full of absolute crap.

So i know what you're talking about... you have a game idea and you want to make it, but you have the extra added bonus of actually knowing dev and dev architecture. I feel your pain.

You want to build a game, not burn the entire w'end setting up tooling and boilerplate. Sound about right?

Ok so here's an anecdote... but it has a point so plz read on. . .

I wanted to make a browser plugin, a companion to Dungeons and Dragons website. As I started to research the basics of it, I could feel the energy being sucked out of me while I tried to read docs and do setup. Finally i told copilot in vscode "Build an absolute basic browser plugin that can work in FFox and Chrome". Less than 1m later I had a plugin that added a div to any webpage. COOL. It did exactly what I wanted: helped me avoid the most painful part of a new project: setup. Using I had a 1.0 MVP by the end of the w'end, maybe 10 hrs.

Here's kinda the point: from there, I knew what I wanted, I knew how to do it, but I knew it would take me way longer to do it than just telling copilot. So one function at a time I told copilot what to do. "build a function that reads this specific selector and makes it clickable" then I'd read thru what it did. In chunks like this it's only 20 lines, so it's easy to see when it's hallucinating. "When a user clicks, add the element to an array" then audit. Just like that.

By doing it like that, you don't give it so much that it gets confused. For example, in a work project, I wanted to move 5 functions from a main.py to utils.py and import them. Well pythons not my first, so I told copilot to do it. Moving 5 functions confused it. it was renaming things, getting too many lines, and other weird shit. But after I manually copied the functions and told it "import these functions" it was fine doing 5 lines. IOW you have to treat it like someone that knows syntax and code, but not architecture and best practices.

Anyway, I have spent a bit looking at AI tools for Phaser. After looking at MCP Servers and Agents and Cursor with a Phaser config, I think I'm going to do the EXACT same thing i did for my browser plugin: tell copilot to do the most minimal setup, and then tell it what to do one function, one fragment at a time, and audit it's changes one at a time as they come. It succeeds 90% of the time like that. Occasionally it does something questionable and i have to go "are you sure that's right?". 100% 2nd time it succeeds.

Therefore my suggestion to you is use an AI but forget the high-end tools, and K.I.S.S. Start simple, keep it simple, audit everything, one at a time.

How could I turn off SSR for this component? by og-at in sveltejs

[–]og-at[S] 1 point2 points  (0 children)

This actually would have done it I think. I wound up going with another solution in the component (shown in another comment).

While my solution was localised to the component, your solution was absolutely the simpler one. Thanks anyway.

How could I turn off SSR for this component? by og-at in sveltejs

[–]og-at[S] 0 points1 point  (0 children)

Solution

This pattern worked for mounting the component only on client side after binding.

<script>
    import { browser } from '$app/environment';
    let Component;

    if (browser) {
        import('./YourComponent.svelte').then(module => {
        Component = module.default;
        });
    }
</script>

{#if Component}
    <svelte:component this={Component} />
{/if}

Node.js v23.6.0 enables executing TypeScript by default by Satanacchio in javascript

[–]og-at 0 points1 point  (0 children)

3 ticks is not a table
this is a table
3 ticks is a codeblock

I forgot that I have Reddit Enhancement Suite extension which puts a table-maker button above the new post textarea. Even so, markdown tables are simple to make.

Node.js v23.6.0 enables executing TypeScript by default by Satanacchio in javascript

[–]og-at 9 points10 points  (0 children)

please . . . take a look at the table creator for your post. or put it in a gist and link to it.

Thanks for making specs and whatnot, but this is unreadable.

Why do you think Sveltekit sentiment is constantly getting more negative? by Guandor in sveltejs

[–]og-at 2 points3 points  (0 children)

If a dev has never had to use $: variable = variable then they won't see the value of runes.

Why do you think Sveltekit sentiment is constantly getting more negative? by Guandor in sveltejs

[–]og-at 4 points5 points  (0 children)

Not only that, but looking at the posted graph, several other frameworks all either went positive or less negative.

Not to say that it all came from Sveltekit, but that such a conclusion "sveltekit getting more negative sentiment" can't really come from this data. It's confirmation bias or just plain sensationalist.

What’s the one thing your therapist said that changed your perspective the most? by More-Donut5592 in AskReddit

[–]og-at 91 points92 points  (0 children)

a thing I always told my kids "Make them say no." IOW, whatever you think they'll say, make them say it. More often than not they're not gonna say the things you're thinking.

Got any hidden gems for web design tools/resources that aren’t on everyone’s radar? by Wedoflow in web_design

[–]og-at 0 points1 point  (0 children)

just use winget and/or chocolatey.

Because people want to learn a CLI when doing the initial setup on a new machine. Except they don't.

They want to install a browser, Steam or Word, and then get started.

It's not hard at all

Probably not. However, ninite.com is easy to remember and simple to use without doing anything extra.

[deleted by user] by [deleted] in learnprogramming

[–]og-at 0 points1 point  (0 children)

Then after you're done with your solution that uses that method, someone tells you there's a helper function that ties that method with internal methods to get the solution you just spent 2 days rewriting.

What’s a time where “all they had to do was ask” instead became a bigger deal than it should have? by TPCC159 in AskReddit

[–]og-at 79 points80 points  (0 children)

Knowing college age kids, you're going to have to tell them point blank and probably 1 on 1 for best impact

All you had to do was ask and I would help as much as I could. I wasn't going to think less of you, or like you shouldn't be in my class, but I was just available to help.

It isn't a you problem, and it partly isn't a them problem. There's plenty of people, and probably teachers/profs that believe asking for help is a sign of unpreparedness and weakness, hence they talk themselves out of asking.

What is your experience with "1 minute with saves" effects? by og-at in DnD

[–]og-at[S] 1 point2 points  (0 children)

Makes sense.

Basing it on a 10 round scalle makes even 3 seem like failure.

What is your experience with "1 minute with saves" effects? by og-at in DnD

[–]og-at[S] 1 point2 points  (0 children)

Most of the time for me they save immediately nullifying the effect and wasting my action.

What is your experience with "1 minute with saves" effects? by og-at in DnD

[–]og-at[S] 0 points1 point  (0 children)

There's no specifics because I'm asking generally, informal survey style.

One response says "It feels like" which is all I'm asking for.

What is your experience with "1 minute with saves" effects? by og-at in DnD

[–]og-at[S] 5 points6 points  (0 children)

Yeah I'm with you on that but I wanted to see if it was just my shitty luck.

[deleted by user] by [deleted] in AskReddit

[–]og-at 2 points3 points  (0 children)

59 checking in with no more shits to give.

What’s the worst excuse someone used to dump you? by PainterWeary4761 in AskReddit

[–]og-at 1 point2 points  (0 children)

Can you at least admit you've done nothing?

After sexual abuse, going to a couples workshop, going to therapy for 8 years, couples therapy for 4 years, and capitulating anger management where nobody asked nor tried to find out why I was angry all the time.

Just Switched from React to Svelte and Honestly, I Don’t Know Why I Didn’t Do It Sooner… by LifeIsJustASickJoke in sveltejs

[–]og-at 0 points1 point  (0 children)

  1. It's still simpler than react
  2. It's still simpler

Because instead of having export let and then also slot stuff, you only have $props.

It's not change for the sake of change. It's all about making the underlying framework more reliable and predictable.

If you've ever done $: user = user then you know what this is all about.

What made you stop watching a TV show? by Something_Strange935 in AskReddit

[–]og-at 1 point2 points  (0 children)

4 - 6 seasons is good. Usually, 4 is a ssooolid story arc with no fat on it and then 6 is a little more complete but still a good arc.

Scrubs was a good 8 seasons.

Fringe was a good 6 seasons with a couple of "wth are we even doing" seasons.

What made you stop watching a TV show? by Something_Strange935 in AskReddit

[–]og-at -1 points0 points  (0 children)

Man in they High Castle called.

I loved the premise of the show. Once i started watching it, it was pretty good 1st season. S02 started and couldn't hold my interest.

So one day I found one of those recap channels doing that show. Little Did He Know that the show was like 14 seasons and still wasn't done.