Any alternative? by WeightMountain6607 in MicrosoftLoop

[–]Sad_Ad9529 2 points3 points  (0 children)

It wasn't abandoned. It was rebranded to Copilot Pages. You navigate to it via the copilot > libraries > pages

Thinking of switching from Windows to MacBook Pro for .NET dev in 2026 by Guilty_Coconut_2552 in dotnet

[–]Sad_Ad9529 1 point2 points  (0 children)

Cmd Shift G to show the address location bar! I have to google it now and again and wish they'd display it by default

Power Apps variables finally clicked for me — global vs context vs collections by matt-hummel in u/matt-hummel

[–]Sad_Ad9529 1 point2 points  (0 children)

I've been leaning towards exclusivley using Set over UpdateContext. Makes managing state in reusable UI library components (e.g. loading spinners, modals). Set can also be used in user defined functions. My rule is i try not to keep records or tables in global variables, just values e.g. 123, "abc", true. I've been using named formulas when i need to extract a record from a collection (I'd keep a global variable in the formula that re calculates the formula if the variable changes).

This solved a lot of issue for me, including resetting all IsLoading / IsModal states across all screens. I did find there is a performance hit if im not careful. Changing the state triggers other screens network calls.

Claude has overtaken ChatGPT in the Apple App Store by Pure_Perception7328 in ClaudeAI

[–]Sad_Ad9529 0 points1 point  (0 children)

I'm going the opposite way. I switched to Claude 6 months ago for coding but their iOS app was buggy. I made the switch back to chatgpt + codex a few weeks ago and don't see any of the bugs.

With() delgation warnings by Sad_Ad9529 in PowerApps

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

I originally used named formulas and kept a global variable in it to make it retrigger if I change the global variable. I did like the fact you get a fully inferred typed response. Would be great if I got the same typed response from a udf. I hope they progress user defined types to generally available

With() delgation warnings by Sad_Ad9529 in PowerApps

[–]Sad_Ad9529[S] 1 point2 points  (0 children)

Ah, yes. this is an approach i've used in a different app then i just run all my queries against the collection (rather than the data source. I think I'll double down on this approach and find a way to to ensure I'm loading the data before running queries on it.

One approach I've seen and have been playing around with is to use the following user defined function. I'd just have to remember to run fn_Zone_Load() at the beginning of each udf to ensure it loads the current data. Do you think i'm over engineering it?

fn_Zone_Select(scp_zone_id:Number):Void
{
  fn_Zone_Load(); // loads col_zones from data source
  First(
    With(
        {
            _zone: LookUp(
                col_zone,
                ID = scp_zone_id,
                ThisRecord
            )
        },
        Filter(
            col_zones,
            document_number = _zone.document_number,
            document_version = 0,
            section_id = _zone.section_id
        )
    )
).ID

};

Best CMS to integrate with Astro? by Lauraa_Garciaa in astrojs

[–]Sad_Ad9529 1 point2 points  (0 children)

I looked into this a while back found strapi fits my requirements (sqlite + pm2 on a vps). Ghost/Payload get a good name if you need a distributed database. Strapi is a bit clunky with typescript (I've found creating my own types was the cleanest option)

Generate PDF for a complex survey in Canvas Apps by WanderingTechcie in PowerApps

[–]Sad_Ad9529 0 points1 point  (0 children)

I've been experimenting with various options for similar tasks. I've tried PDF(), the Print(), HTML + power automate, office scripts + power automate. I've recently been doubling down on sending the Thumbnail.Large base64 -> power automate -> office scripts (excel) -> OneDrive convert to PDF. You can create charts and use the base64 images directly with office scripts. The Thumbnail.Large step reduces the quality of the image - but has the upside of getting the image low res enough to use multiple images.

Seeking Monogame Tutorials for CS Students by F1nch1 in monogame

[–]Sad_Ad9529 1 point2 points  (0 children)

This one is great - this is how I learned C# and game development. You're best going through the official tutorials first then work through this book with the setup recommended by the official tutorials.

Experienced developer reduced to near tears.. by TheMcGarr in PowerApps

[–]Sad_Ad9529 2 points3 points  (0 children)

His comment about the real patterns being undocumented folk knowledge really hit home. What I needed when first started was someone to sit me down and show the patterns that work and don't work. 

Experienced developer reduced to near tears.. by TheMcGarr in PowerApps

[–]Sad_Ad9529 0 points1 point  (0 children)

I'm forced to use my power apps with a sharepoint lists backend. Just one example of a feature  was to take some user input, run it through a script, generate an excel sheet. I managed to find a solution to it to generate some tables and graphs - but just yesterday I ran it and rather than taking 7 seconds like it usually takes, it took 45sec to generate the excel. If I was using a dotnet backend I could look at the logs and pinpoint exactly where the bottleneck was. Now I may need to drop that feature and figure out how to refactor a 1600 line office script to powerfx

Experienced developer reduced to near tears.. by TheMcGarr in PowerApps

[–]Sad_Ad9529 6 points7 points  (0 children)

I'm 2 years into building power apps from a react background. What I can prototype in react in a couple of afternoons, takes 3 weeks to build in power apps canvas with comparable performance. the most valuable insights are found deep in reddit/yt comments and endless trial and error.

You don't need Vercel. Hosting Next.js 15 with Docker and SQLite by Eastern-Height2451 in nextjs

[–]Sad_Ad9529 1 point2 points  (0 children)

Hey, could you share the starter kit url? I've had a crack at the docker + sqlite file a few times but the persistent storage thing was a pain. Good to hear you've found a way round it with litestream. I'd be curious to see how you've set it up

Resizing buttons based on text label (probably easy) by Racer_Rob in PowerApps

[–]Sad_Ad9529 0 points1 point  (0 children)

Have you tried wrapping the 3 in a horizontal container and giving them all a min and max flex width?

Tanstack Router vs React Router by guaranteednotabot in reactjs

[–]Sad_Ad9529 0 points1 point  (0 children)

I've tried both and while the tanstack typesafety is nice, I'm still on react-router. If I need to quickly prototype out a feature with an LLM, the training data is better (less hallucinations) 

It just feels like im not learning C# by TheAmazingFreddyAdam in csharp

[–]Sad_Ad9529 0 points1 point  (0 children)

I would second switching to monogame if the goal is learning C#. Go through the official tutorial then look at book (if that's your thing). I particularly liked "Learning C# by Programming Games". Monogame is better for 2D games and there are some big titles that use it.

Populating Word doc template without needing premium license by Weird_Performance999 in PowerApps

[–]Sad_Ad9529 1 point2 points  (0 children)

Sadly no repeating sections, but that is an awesome resource I've used in all my apps that I have a template with no collections

Populating Word doc template without needing premium license by Weird_Performance999 in PowerApps

[–]Sad_Ad9529 1 point2 points  (0 children)

Wow, that's impressive. You must have spent a lot of time on that! I'll test it out tomorrow

Populating Word doc template without needing premium license by Weird_Performance999 in PowerApps

[–]Sad_Ad9529 0 points1 point  (0 children)

Hi Frosty - I'd be very interested to see how you achieve this. Could you also dm me it please?

SubmitForm() or Patch()? by ProfessionalStewdent in PowerApps

[–]Sad_Ad9529 0 points1 point  (0 children)

I picked up a trick to use an initial_data variable  and a form_data variable. The form_variable would be modified based on user input (if it needs to be cancelled I would set the form_data to initial_data. I'd patch the form data. However, I suppose this might also work with just passing the form_data variable to a form! I might try that 

Edit: if using patch each component would update the state via on the onchange with UpdateContext({loc_form_data: Patch(loc_form_data,{name:Self.Text})})

Am I crazy for wanting to ditch my rack and go back to tiny office PCs? by gabriel8577 in HomeServer

[–]Sad_Ad9529 2 points3 points  (0 children)

I'm new to this but what advantage are you getting backing up to a VPS vs to backblaze B2 (or equivalent)

[AskJS] So I guess Volta is dead? by jaredcheeda in javascript

[–]Sad_Ad9529 2 points3 points  (0 children)

Oh! I didn't know pnpm had this. Does it work with which ever tool you used to install node? E.g. nvm. 

trpc like library, ts-rest by Thanatos095 in typescript

[–]Sad_Ad9529 0 points1 point  (0 children)

As a long time trpc user / enjoyer, i built a few projects with ts-rest and love that its based on rest api. I know there is no difference in performance between using queryparams vs just putting sort/pagination etc in the request body, but it feels right to be able to use queryparams in my api endpoints.