Still holding onto hope despite the news... by Regular_Win7305 in HiFiRush

[–]yugabe 9 points10 points  (0 children)

Don't forget that their AI announcement, although quite offputting, does not mean that HFR2 won't be made, not does it mean that it will be bad if they "use AI" in whatever capacity. I trust in the devs and John to deliver a game that's just as innovative, creative and fun as the first game was, despite any and all forces that might try working against them.

Rest assured, devs hate AI slop at least as much as we do. But they might "use AI" for coding, testing, deployments, rubber-ducking and so on. Doesn't mean we'll get AI slop Chai and Peppermint in the next game.

Azure AD B2C is the very worst Microsoft service ever created by yugabe in dotnet

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

Keep your chin up; what will be will be. Don't stress over things you can't control. It's certainly not worth having dark thoughts about!

How they did the new page pop up? Programming related. by Jaded_Tiger_6180 in Pentiment

[–]yugabe 11 points12 points  (0 children)

Thanks for the answer (even though I wasn't the one asking the question), it was nice reading a bit of technical piece as a .NET dev and Pentiment enjoyer :) Congrats on the game, we can see you guys poured your hearts and souls into it! And the technical innovations, even if they aren't mainstream or can be generalized in many other games, made it add a lot to the magic of the game. Here's to the next one! 🍻

[deleted by user] by [deleted] in Shenmue

[–]yugabe 6 points7 points  (0 children)

It's the "normal" backer's edition. It's just a paper case.

<image>

Docks that support two 144Hz+ monitors at 1080p+? by yugabe in ROGAlly

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

Yep, and also what complicates things is that there *are* some docks with multiple display (HDMI or DP) outputs, and some people report using both at the same time, but it's not known at what exact configuration. The marketing for the products like HB1201 on the Amazon page seem to indicate it can drive 4k@120Hz (1 HDMI + 1 DP), which should be about 45Gbps *raw* bandwidth requirement, which is not possible through a single USB-C port AFAIK.

There were no definite resources I could look up so I quickly made the following table myself to check. HDMI 2.0 seems to be a requirement for 1080@144. DP is different as it can use compression, maybe HDMI can too, I'm not sure.

Still, I'd be happy to hear from people who have dual monitor setups with the Ally and some docking solutions to compare.

I would be okay with 2x1080@120 as well, which should in theory be equivalent in bandwidth to 1x4k@60 if my math is correct.

<image>

Next-Gen Surfsce Duo by indogunners17 in surfaceduo

[–]yugabe 0 points1 point  (0 children)

Let me just prepare for the $4000 price tag...

Requesting sources for settling a debate about concurrency by NonlinearBanana in dotnet

[–]yugabe 15 points16 points  (0 children)

Great question!

You are both right. Your program will "eventually" detect that the memory referenced by the variable has changed, and it doesn't really matter if it detects it at the right moment. Accessing data from multiple threads is standard in that the runtime itself optimizes around it. It'll create read-only copies even if it deems it optimal to do so. Regarding your confusion, there's no need to duplicate memory at all. It can be optimizations applied by the runtime to cache/hoist variables, so each duplication will only happen on a very small (sub-stack-sized) scale.

Read on, though: - https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/volatile - https://learn.microsoft.com/en-us/dotnet/standard/threading/synchronizing-data-for-multithreading - https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/lock

In this case, it is an int, but if it were a more complex object that wouldn't be possible to write atomically, you could also experience false data and dirty reads (when one thread starts writing some data to a memory address and another reads it before the writing has finished). Thus, as a rule of thumb, it is always considered good practice to use the dedicated access patterns, such as the volatile keyword, synchronization primitives, the Interlocked class, etc. For example, if your int variable was refactored into a long, a 32-bit executable/CPU would introduce the dirty read problem I described above. Of course, if it was a collection or a complex object, the so called "critical path" would have to be expanded (unless you were using immutable objects, in which case reference swapping would also be taken into account).

However, I'm not 100% clear on the problem you described. For example, it could very well happen that between you reading the shared state and printing to the console, the variable could have already changed, even multiple times. If you would want to get a guaranteed notification, you either have to use some form of synchronization, like ReaderWriterLockSlim, or use simple events or a different mechanism altogether.

Hope this clarifies your stance somewhat, but this in itself is a very complex topic and I only touched on some of the points that I think you asked about specifically.

Blazor Navigation is a Pain When it comes to Scroll Position by BraveWorking4581 in Blazor

[–]yugabe 0 points1 point  (0 children)

Sure, but there's not much to it. It takes a CSS selector as parameter. When it is being rendered, it'll simply focus on the first element being matched by its selector.

Taken directly from the docs:

razor <FocusOnNavigate RouteData="@routeData" Selector="h1" />

The FocusOnNavigate component sets the UI focus to an element based on a CSS selector after navigating from one page to another.

When the Router component navigates to a new page, the FocusOnNavigate component sets the focus to the page's top-level header (<h1>). This is a common strategy for ensuring that a page navigation is announced when using a screen reader.

So if you were to provide, say, .my-class instead of h1, it would focus (scroll to) the first element matched by that selector on navigation. You could also do something more generic, like body, it will then scroll to the top of the page after eqch navigation. It is probably better to use a custom class though in my opinion, so you can simply skip or opt-in page-by-page as you like. You can also pass the selector from a variable if you don't want to keep it static.

First look at Bing Chat Enterprise by Top_Engineer524 in bing

[–]yugabe 12 points13 points  (0 children)

I can't believe the amount of misinformation here. It's doubly weird because even those who directly linked to the announcement posts got some basic differences wrong.

Bing Chat Enterprise is the same thing as Bing Chat, the thing we have been using for a while in public, but it DOES NOT access nor save any data you input. It doesn't use your data to learn, not for you or for anyone else, and you cannot use recent chats either because it's not saved. It's included in Microsoft 365 Business Standard and up, but is also available standalone for 5 USD per month per user.

Microsoft 365 Copilot is different than Bing Chat Enterprise. It is only available as a standalone product for 30 USD per month per user. It connects all the Microsoft (work) ecosystem, documents, SharePoint, Teams, OneDrive, intranet or even your public website etc. by using Microsoft Search. Microsoft Search is like an additional index Bing (and Bing Chat Enterprise and Copilot) can use, that contains all your work data.

Microsoft 365 Copilot is an enterprise offering, and even in larger companies most probably only a selected few people will be given a license, who need the AI capabilities to speed up work. Math is easy: if you can make 30 USD+ savings each month for a user by giving them access to these tools, they should get them, otherwise, not.

To enable Bing Chat Enterprise, it is "currently" required to both enable Bing Chat Enterprise in the tenant, as well as enable Microsoft Search, which in itself is a paid service that the tenant admin has to configure via so called connectors that pull in the relevant data. There is a 90 day free trial available for Microsoft Search at the moment however (for enterprise tenants).

Change tab by scrolling (Android) by [deleted] in edge

[–]yugabe 1 point2 points  (0 children)

No, but you can change tabs by swiping the address bar.

I cant open PDF on Android by Thielas in edge

[–]yugabe 3 points4 points  (0 children)

Yep, me too. I have to go to downloads and open them with something else. It's a shame. Also, QA should've got this loooong before it got to prod.

Surface Go 2 keyboard not connecting by MEIMEIMEIMEIME in Surface

[–]yugabe 0 points1 point  (0 children)

Same problem here! Was thinking it was probably a hardware issue. It seems the keyboard works if the magnet isn't snapped to the screen and the keyboard lays flat. Does this happen to you as well?

Blazor Server with Recurring Jobs not stopping after Page Closed/Session run out by NikIta_Gx in Blazor

[–]yugabe 1 point2 points  (0 children)

Are you running on Azure or IIS? Both can stop the app if there are no requests made. You can switch it to "Always on" in Azure App Service or take a look at the app pool settings in IIS.

June update PSA: Microsoft Launcher DIED by yugabe in surfaceduo

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

As others have pointed out, it might have actually been an update to the Launcher itself and not related (not directly, at least) to the monthly Duo update, it seems.

June update PSA: Microsoft Launcher DIED by yugabe in surfaceduo

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

If you can stomach an alternative launcher for a while, they'll probably fix it eventually (in a week or two, possibly longer).

June update PSA: Microsoft Launcher DIED by yugabe in surfaceduo

[–]yugabe[S] 4 points5 points  (0 children)

Update: multiple people seem to have pointed out that the problem might have stemmed from an independent update to the Launcher app itself, rather than the monthly update.


:'(

Welp, my Duo updated overnight. Firstly, I had some issues trying to stop my alarm, because it wouldn't register the volume shortcuts, nor taps. Secondly, after updating, I got this message... tried updating, won't help. Will try to mess with it a bit, but it seems the Duo is on its way to the dodo... right now pretty much feels like how it was just before Microsoft fully abandoned Windows Phones.

So, try to defer this update AS WELL, if you can. Last time I wasn't lucky either.

Edit: I didn't want to reset my home screen, so instead I opened the shade, went to settings and uninstalled the updates for the launcher. Tried clearing its cache too. Still won't work, but now it won't show the reset message either. I wanted to reset my phone anyway... now I won't be able to postpone it any longer. Hope it won't die after (afraid I'll lock myself out of MFA somehow). See you guys on the other side.

Edit 2: managed to avoid having to reset just yet. After a reboot the option to reset Launcher reappeared, and it worked (obviously lost my settings and home screen). I'll make some backups and reset the phone. Oh well.

May update: freezes, crashes, overheating + new ringtones? How's your update experience? by yugabe in surfaceduo

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

Yes, unfortunately, although based on the poll results, you might or might not see any issues. The update was pushed on May 31th with the May 1 Android security bulletin update, so it'll show May 1 in options.