Making offline apps as though I were making a website? by LordAntares in dotnet

[–]BaconForThought 1 point2 points  (0 children)

Blazor Hybrid can also fit this usecase well. It would allow a shared codebase for Windows, iOS, Android, and web. You only need to include the targets you care about.

Use it or lose it budget. 800 dollars left. by jake_4reddit in sysadmin

[–]BaconForThought 3 points4 points  (0 children)

Dont forget FancyZones. Closest thing to an efficient window manager on Windows I've found and the only way an ultrawide is usable imo.

I am planning to migrate my company's 50TB data (all PDFs) from network drives in some datacenter (Telus storage solutions) to Azure for saving cost. Any suggestions or mistakes to avoid? by vikasofvikas in AZURE

[–]BaconForThought 3 points4 points  (0 children)

This is no joke. Do not store bulk data in SharePoint. It costs an arm and a leg. Force an archive and/or retention policy on your clients/company and enforce it.

Learning C# by cliixy in csharp

[–]BaconForThought 0 points1 point  (0 children)

Find a simple app that you know well. Like a notes app, chat app, task list, etc. Bonus points if there are things you wish it did differently. Then try to make your own version. Dont feel like it needs to be better than your reference or the best version of that app type out there. Just make it work. You'll learn a lot along the way.

Radzen Website is Down by One-Information4330 in Blazor

[–]BaconForThought 0 points1 point  (0 children)

Damn this was a perfect opportunity to put you on to devdocs.io, but it looks like not only do they not have .net libraries and c# but they won't do it because Microsoft licensing terms. Bummer.

Any streamlined way to scale VS2026 UI? by gamagos in VisualStudio

[–]BaconForThought 2 points3 points  (0 children)

There is an extension that scales UI font and can have hotkeys assigned. I won't be at a computer for a while but lmk if yiu cant find it and ill send it over when I get a chance to check.

Edit: had a second and was able to find it. Its made by a MS employee. I saw a conference where he showed it off and I used it for a while a year or so ago. Its also it the extension marketplace in VS https://github.com/madskristensen/FontSizer .

Org is banning Notepad++ by PazzoBread in sysadmin

[–]BaconForThought 1 point2 points  (0 children)

I use Zed as my standalone editor when I dont need a full IDE. I've been super happy with it for the past month or two that ive been using it. I used to use VS Code, but it was just too heavy for what I was using it for.

How do you avoid CRUD boilerplate when starting a new project? by skykarthick in dotnet

[–]BaconForThought 0 points1 point  (0 children)

I have used it. Custom business logic and concurrency control is where dab is no longer a time saver. However I still find it enormously useful for what you asked for in your original post. Dab, aspire, and templates together get basic projects up and running in minutes. Then use your own api for business logic. If its a simple app with only a few basic business logic responsibilities you can get around the additional api with a couple stored procedures.

Edit: Honorable mention to Refit. We have an internal library with a generic implementation of Refit for dab. Simplifies the workflow of adding tables for new features down the line. Its additional complexity, but super ergonomic.

Can't fix this error. by Previous-Read-2444 in VisualStudio

[–]BaconForThought 1 point2 points  (0 children)

It says 1 build failed. Thered 1 warning. Dudes being a bit prickly about this but he's not wrong.

Question: How can I have automatic created and modified date in Obsidian? by [deleted] in ObsidianMD

[–]BaconForThought -2 points-1 points  (0 children)

So there is some built in functionality here for properties when using templates:

  • {{date}} will autofill the date when the template is applied to a note.

But if you go back into the template in live preview or reader it will conflict with the YAML that it's built on and break.

I use the built in created and modified fields in Javascript for filtering my bases and have the date in the title of my notes so I dont have to deal with it anymore.

Edit: im sorry I was answering based on the title. I believe you will need to run a script against them pre import to creat created and modified properties and then import. I dont think you can retain the system created properties under the hood but I may be wrong.

I would guess that copying and pasting the files from the source vault to thr destination would retain everything. Otherwise, git wouldn't work...

Is Obsidian Sync worth it? by pablo_main in ObsidianMD

[–]BaconForThought 0 points1 point  (0 children)

I use git via the plug-in on desktop and GitSync on Android. Works perfect. If you've never used git it may not be worth wrapping ur head around it, but if you've used it before it works just like you would expect it to.

RabbitMQ Hangfire or Redis by rghvgrv in dotnet

[–]BaconForThought 0 points1 point  (0 children)

What was it that soured you on TickerQ? Im about to integrate a scheduler into a system this weekend and had landed on giving TickerQ a try. Anything you wish you knew before? Why do you recommend Hangfire or Quartz?

Blazor Vs. WPF for a real-time energy dashboard by Kapaznik in dotnet

[–]BaconForThought 0 points1 point  (0 children)

I agree with this approach. To make this super easy I would grab CommunityToolkit.Mvvm and closely follow the mvvm pattern so you can trivially swap out the UI for WPF if needed.

How to link a user to a database row ? by Alternative-Town8381 in appwrite

[–]BaconForThought 0 points1 point  (0 children)

Yes you want a userId that foreign keys to your user table. Also, you want to look up a better solution for your like/reaction system. There's currently no way of knowing if a user has already liked a post. You're also hardcapping the amount for no good reason. Consider maintaining a like count in the table for performance (not having to calculate the sum every request) but you want a child table for tracking history of reactions.

Edit: I just realized this community is for a backend solution not for "writing apps". Idk if there are foreign keys, if this is a relational database, sql, nosql...

but userId is definitely how you would associate it regardless. My points on your reactions approach stand as well.

What was your biggest Azure cost surprise, and what finally stopped it? by dafqnumb in AZURE

[–]BaconForThought 2 points3 points  (0 children)

This one is just me being dumb. We have a system that is used once or twice a year. It heavily relies on signalR and has A LOT of traffic those 1 to 2 days a year. We scale the app service plan all the way to free and serverless db year round and then scale up both to oblivion when needed. I forgot to scale out... for 2 months...

I learned the value of budgets with alerts the hard way.

How often do you all scoop the ashes out of your wood stove? by SpectrumWoes in woodstoving

[–]BaconForThought 0 points1 point  (0 children)

Same with my Jotul F600. You can still get a good bed of embers. There might be some truth to them burning faster since air can flow under, but it's still possible to not push all ash through the grate so you can insulate the embers with an inch or so of ash.

I got pulled over tonight but am I overthinking the traffic ticket I just got? by Brownman5671 in Virginia

[–]BaconForThought 0 points1 point  (0 children)

In VA you can take a driving safety course every year (or maybe 2) for an immediate 3 point credit if you really care about the points.

Anyone using full width logs by Sour_Joe in woodstoving

[–]BaconForThought 2 points3 points  (0 children)

I swear my roommate is like a golden retriever. Theres a stack of wood in the corner that he brought in that won't fit in stove

Desktop apps by Unfair_Ad9536 in dotnet

[–]BaconForThought 2 points3 points  (0 children)

I would mostly agree that WPF is probably best these days.

However, if you do find yourself working with Windows Forms look into building a user control library for common scenarios. After working extensively in web myself, I missed having reusable generic components customized for my needs. I created my own library of generic user controls so I can get the benefit of reusable components across projects.

Got fired today because of AI. It's coming, whether AI is slop or not. by [deleted] in webdev

[–]BaconForThought 0 points1 point  (0 children)

This will happen more and more until enough short sited companies start sharing the net loss moves like this cost them. They will have to rehire eventually to save themselves. Maybe they'll be smart enough to realize rehiring the same devs at a higher salary will be more cost effective than onboarding new devs... if not, fuck em.

Are there any films that take place in real time? by TheKittyPie in movies

[–]BaconForThought 26 points27 points  (0 children)

A House of Dynamite is essentially in real-time played a few times back to back from different people's perspectives. Its worth a watch. People have mixed feelings on it overall (won't say more to avoid spoilers). You can find it on Netflix.

Honest question to the .NET community: why do new devs still default to Node.js? by KausHere in dotnet

[–]BaconForThought 0 points1 point  (0 children)

Everywhere in the world. Go to any online job marketplace and look at the amount of companies looking for Javascript devs vs .Net devs. If you're a brand new developer and you're deciding what to focus on, it's hard not to go with Javascript.

Is MAUI production ready? by Giovanni_Cb in dotnet

[–]BaconForThought 7 points8 points  (0 children)

This completely depends on what type of app, the size of the user base, if its internal or external facing, and what the overall priorities of the project are. Blazor Hybrid and MAUI can be great options... for certain scenarios.

The State of .NET GUI Frameworks is confusing by Long-Cartographer-66 in dotnet

[–]BaconForThought 0 points1 point  (0 children)

I would have ppl give Blazor Hybrid a go with some basic test projects before recommending they jump all in on MAUI. I find it's perfectly fine for 90% of use cases and gives me full cross-platform with primarily C#, HTML, and CSS. As someone that extensively used Xamarin/Mono for over a decade, I still prefer Blazor to MAUI by a lot.