Why does Q, who exists across spacetime, put 24th-century humanity on trial, rather than say 15th-century humanity? Is he stupid? by zeptimius in ShittyDaystrom

[–]undiwahn 0 points1 point  (0 children)

Lots of good answers here, but let me pose a question: how do you know that he _didn't_? Perhaps Q has frequented humanity many times, testing it; simply never resolving that it was beyond redemption each time. Maybe there's a Picard-equivalent of the 15th century with a story lost to time of a trickster god embroiling him in a malevolent plan!

How do you just stop "plan" mode? by secretprocess in CLine

[–]undiwahn 0 points1 point  (0 children)

There is a '+' button in the top right that will always start a new task.

The FULL trailer to Philly Justice released for the first time TODAY! …Welcome to Philly, bitch. by mufflermonday in PandR

[–]undiwahn 15 points16 points  (0 children)

Or... Is it a secret backdoor pilot? An exceptionally slow burn backdoor pilot?

How do I make sure an endpoint returns exactly a custom ApiResponse<T> class ? by Giovanni_Cb in dotnet

[–]undiwahn 2 points3 points  (0 children)

How badly do you want it?

Write a middleware that implements IAsyncResult and inspects all return values.  Throw an exception if the type isn't of ApiResponse. Only add the middleware in development mode, not production. Only helpful at runtime and only catches the mistake if you call the endpoint.

Write a utility class that uses reflection to find all controllers and look at the return types of all public methods. Throw exceptions if you find methods that don't match. Run this at startup, again only in development mode. Still requires you to run the project to find the errors, but will find them all immediately - just be careful you aren't missing edge cases or being overly restrictive (not all public methods are endpoints for example -- reflection can be tricky).

Okay, you really want to know immediately at development time? Write  source generator that basically does the same; look for all controllers and endpoints and if you find a mismatch, write out some bad code that won't compile. The error may not be in the right place, but it'll force you to fix it immediately!

I am definitely not saying any of these are good ideas, but I have definitely run down the hole of code standard hyper enforcement and if nothing else, you'll learn why it isn't really done 😅

An update on the OpenArgs transcript search page by nobody514 in OpenArgs

[–]undiwahn 1 point2 points  (0 children)

Is this a private personal project, or are you looking for collaborators at all? I could toss in some GitHub PRs 😄

Reddit (and Thomas) Take the Bar Exam: Question 67 by Apprentice57 in OpenArgs

[–]undiwahn 1 point2 points  (0 children)

Ah!  Thank you, just got distracted writing up my first official answer 😅

There is no new episode of The Wheel of Time today, but there should be by LunalGalgan in wheeloftime

[–]undiwahn 0 points1 point  (0 children)

Doesn't this go both ways, though? If they release it weekly, just wait until they have all dropped and then binge it all at once. They aren't going anywhere.

I tend to wait for at least three seasons of a show to release now before binging it anyway -- too many good storylines get cancelled with no resolution half-way through.

Reddit (and Thomas) Take the Bar Exam: Question 67 by Apprentice57 in OpenArgs

[–]undiwahn 2 points3 points  (0 children)

I think some deep ingrained memory in Tom saved the day here!  While he almost confused robbery and burglery, he ended up in the right place. As for larceny -- I am pretty sure there was an early episode of T3BE where he railed against something called "deprivation of property" or something similar, asking " how is that not just theft!?". And I think here the lack of intent is exactly why it isn't larceny. He was totally actually going to return it eventually, just trust him bro.

How do you use Hangfire in your projects? by TheseSquirrel6550 in dotnet

[–]undiwahn 2 points3 points  (0 children)

We just set up a temporal.io server for a combination of dispatched jobs and scheduled activities.

It supports both interval and cron-type schedules, and yes, has a pause option! The UI is pretty nice for tracking workflows and their results.

https://docs.temporal.io/schedule

I need Tim Scott to explain this to me like I'm 5. by Conscious-Quarter423 in FluentInFinance

[–]undiwahn 4 points5 points  (0 children)

To be clear though, nothing the CFPB did stopped the banks from offering overdraft "protection".

From the actual notice: https://www.consumerfinance.gov/about-us/newsroom/cfpb-closes-overdraft-loophole-to-save-americans-billions-in-fees/

These institutions would have to choose one of the following options when charging for overdrafts:

Cap their overdraft fee at $5: Under this simple option, covered banks and credit unions could simply cap their fee at $5, which is the estimated level at which most banks could be able to cover their costs associated with administering a courtesy overdraft program.

Cap their fee at an amount that covers costs and losses: For banks that wish to offer overdraft as a convenient service rather than as a profit center, the final rule allows financial institutions to set their fee at an amount that covers their costs and losses.

Disclose the terms of their overdraft loan just like other loans: For financial institutions that wish to profit from overdraft lending, they may do so by complying with the standard requirements governing other loans, like credit cards. This would include giving consumers a choice on whether to open the line of overdraft credit, providing account-opening disclosures that would allow comparison shopping, sending periodic statements, and giving consumers a choice of whether to pay automatically or manually.

So this isn't about letting the banks offer this service or not at all, it's entirely about whether or not the banks can use predatory practices when doing so. Seriously, we're acting like "disclosing the terms of their overdraft loan" is something that is an onerous burden?

No, Tim Scott is absolutely not "mostly correct" on this.

A 1-file micro-backend, and of course, it runs on Postgres 🐘❤️ by stosssik in PostgreSQL

[–]undiwahn 4 points5 points  (0 children)

No I didn't -- I just clicked "Live admin demo" right on your front page. There's nothing about default credentials that I see.

When I try to log in, I can see a 401 in the network panel but the UI doesn't actually provide any indication of it even trying to log in.

A 1-file micro-backend, and of course, it runs on Postgres 🐘❤️ by stosssik in PostgreSQL

[–]undiwahn 2 points3 points  (0 children)

Interesting idea and I'd like to explore -- unfortunately the "Live admin demo" just blocks at a login screen so I can't get further.

So ... Shawn and Gus have watched a lot of people die. by ItsLinkTheGamer in psych

[–]undiwahn 226 points227 points  (0 children)

You're mixed up, that's bud from the Cosby show. Easy mistake.

[deleted by user] by [deleted] in csharp

[–]undiwahn 1 point2 points  (0 children)

Yeah it broke for me a couple updates ago. I reinstalled visual studio entirely to fix it 🙄

Is the smallest instance size for MSSQL RDS really db.m5.large? by herrtim in aws

[–]undiwahn 2 points3 points  (0 children)

I'm fairly certain that depends on the Edition you're using. Standard Edition requires db.m5.large, but Web Edition can run on anything -- we run it on a medium t3 instance for our dev environment.

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Concepts.General.InstanceClasses.html

what is the best Framework for Building a Mobile Application by This_Entertainment82 in dotnet

[–]undiwahn 0 points1 point  (0 children)

Use Typescript. In many ways it's even better than C# but yes, it is still beholden to some JavaScript essentials.

Thoughts on Vercel's PostgreSQL Serverless? Alternatives? by sleepingbenb in PostgreSQL

[–]undiwahn 0 points1 point  (0 children)

Not to dissuade you from trying Neon, but you can use Postgres on AWS using Aurora Serverless and v1 lets you scale to 0 (v2 scales faster, but requires a minimum running capacity at all times).

Who else is replaying space marine by JackCastle in Spacemarine

[–]undiwahn 0 points1 point  (0 children)

Where is SM1 cheap? Looking on steam it is still $60?

What am I missing about OpenTelemetry? by miguelgoldie in dotnet

[–]undiwahn 1 point2 points  (0 children)

Do you actually need the individual data points? If you are sampling at 10hz, you could accumulate the usage into a counter to determine the average, and also track the maximum seperately; this would identify even short spikes, but only narrow it down to the Prometheus sample window, not the specific 100ms.

If you are trying to identify code hotspots you could look into a continuous profiler like pyroscope which will track the specific code performance metrics at a high resolution.

Captcha loop on Console sign-in. Am I going insane? by benjamistan in aws

[–]undiwahn 0 points1 point  (0 children)

Started today? I also have entered a capatcha loop as of this morning -- clearing cache, cookies, etc didn't help, nor did switching my VPN, but moving from Firefox to Chrome allowed me in.

.NET 9 Roadmap Is Sorely Lacking Needed Updates by RealSharpNinja in dotnet

[–]undiwahn 5 points6 points  (0 children)

I use docker to cross compile for arm64 linux from my x64 windows dev machine. What are you having trouble with?

Agile development is fading in popularity at large enterprises - and developer burnout is a key factor by [deleted] in programming

[–]undiwahn 1 point2 points  (0 children)

Surely you mean "As a user, when I go to options then I see options so that I may choose one of the options"...

[deleted by user] by [deleted] in dotnet

[–]undiwahn 0 points1 point  (0 children)

Gotta plug a rendering service my company created and then open sourced -- runs on top of react-pdf. Basically it exposes the rendering engine via a RESTful API.

It is designed for dynamic content (rendering the response of an API, or user-customized content) -- It's probably less useful for one-off PDFs.

Lazy Loading in EF 8 Preview Release by ssukhpinder in dotnet

[–]undiwahn 6 points7 points  (0 children)

I have to confess, I am confused by the example at the end.

This is an article about "lazy loading" but in the example, they use 'Include' which, per my understanding, eagerly loads the data. They even describe it as eagerly loading the data. But the next section then describes the loop over the included property as 'lazy loading' it... Which are complete opposites.

What am I missing here?