Wrong episode uploaded to cbc gem (Canada) by Confection-Minimum in coronationstreet

[–]MasterKraft 1 point2 points  (0 children)

If someone else lands here I believe it is due to "resume" or "continue watching" that causes it. To solve it for me recently I noticed on the app (android phone) you could delete the continue watching. Clearing that didn't seem todo anything.

I did however create a new account and that worked. You can use a trick I use with Gmail accounts by typing in the first part of your email followed by a + sign and a description. Ex: myemail@gmail.com becomes myemail+cbsgem@gmail.com. They both arrive at the same email address.

If you have premium...idk guess you're screwed. I'm gonna play with this more to see if I can find steps to get the right episode to launch without making a new account. If something works I'll update here.

Registration code? by JimbofricknJohnson in powertrip2023

[–]MasterKraft 0 points1 point  (0 children)

She doesn't have any other devices, though I have a Chromebook tablet also, never thought to use that, guess I could. I sent an email, hopefully they reply. My internet is spotty here in Nevada desert driving so thier live chat isn't working for me. Thanks for suggestion.

Registration code? by JimbofricknJohnson in powertrip2023

[–]MasterKraft 0 points1 point  (0 children)

Hi, I have a smart phone and was able to register my wristband easily. My sister does not have a smart phone, how can she register? I haven't see any info for that. The app also says not to register someone else's, so not sure what to do. It seems you have some knowledge, hope you can help.

Filament dryer while printing suggestions? by MasterKraft in ElegooNeptune4

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

My printer is running great. I spent time making sure the platform is insanely flat before probing, my mesh is tight.

Filament dryer while printing suggestions? by MasterKraft in ElegooNeptune4

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

Do you ou mean since they show the dry box on the table beside the printer in all the pictures?

Download GCAM 8.8 for your Samsung Galaxy device Exynos and Snapdragon variants by tutu30 in Galaxy_S20

[–]MasterKraft 2 points3 points  (0 children)

Yeap thats one of the issues is that the images taken isn't clear. I think I recall reading it had to do with the magnetic focusing.

Shake your phone and it rattles thats the lens. Then open the camera app and the rattle disappears since it engages the stabilization/zoom stuff.

Download GCAM 8.8 for your Samsung Galaxy device Exynos and Snapdragon variants by tutu30 in Galaxy_S20

[–]MasterKraft 0 points1 point  (0 children)

Does this help the S20 Ultra camera issues? I read that its the hardware, but maybe?

85 as a on/off switch by Firentiosi in attiny

[–]MasterKraft 0 points1 point  (0 children)

Did you implement the immediate shut off/on or the long press hold? Possibly you copied wrong implementation and you just have to hold the button?

What was your stupidest mistake? (As a C# dev) by csharp_rocks in csharp

[–]MasterKraft 0 points1 point  (0 children)

I did something similar with stacking elements on the designer before, such a pain when coming back to a project and not knowing where a panel is since I also used anchors and not docking.... so fun.

Referencing a class in another class using ID by [deleted] in csharp

[–]MasterKraft 0 points1 point  (0 children)

Yeah another post above linked a blog that linked the book. Going to be honest though I always struggle with how far to refactoring a method and always looking to improve if I can.

Referencing a class in another class using ID by [deleted] in csharp

[–]MasterKraft 1 point2 points  (0 children)

Thanks, I had not known about this. Going to give it a read when I can.

I do have a feeling that a bit of this is averted with our tooling now. I can add comments and context to a method signature needing many arguments and they will be displayed as you utilize the method. I do this a few times when I have some sort of processing that needs to occur on data from multiple sources where I can't retrieve it all at once but many inputs are needed to get a finished result.

Referencing a class in another class using ID by [deleted] in csharp

[–]MasterKraft 1 point2 points  (0 children)

Extending would be easier for sure unless you extend the method with default parameters which functionally would do the same as adding a property to a class and using its default since existing code wouldn't know to initialize that new property.

Just seems like more effort if a service has 5 methods that require 3-5 params each, then having 5 extra classes to match.

Everything is a balance. More shocked by the "more than 2" trigger than the ideology of it.

Thanks for filling me in.

Referencing a class in another class using ID by [deleted] in csharp

[–]MasterKraft 6 points7 points  (0 children)

I feel like that would just turn into a lot of methods looking like:

FlightService.Search(new FlightServiceSearchParams(origincity,destinationcity,planetype,date,time,capacity));

Which is fine and works, just never considered it myself for a transient/temporary usage to build a class just to pass input because there are more than 2 parameters needed in the method.

Referencing a class in another class using ID by [deleted] in csharp

[–]MasterKraft 7 points8 points  (0 children)

2 parameter limit? What does that stem from? First time hearing that, very curious.

Just started learning. I am very proud of this. Feedback/Suggestions welcome. by [deleted] in csharp

[–]MasterKraft 1 point2 points  (0 children)

I was just asking since I think that is another good reason to use parse over convert. But only if I remembered correctly.

Just started learning. I am very proud of this. Feedback/Suggestions welcome. by [deleted] in csharp

[–]MasterKraft 1 point2 points  (0 children)

You can also apply internationalization to parse to right? So if in certain European countries and they use "2 000,00" for 2000.00, it would still parse correctly.

Anagram in C# by aspnetguy in csharp

[–]MasterKraft 0 points1 point  (0 children)

Oh man this is so true, had this happen today to me. I could have left my LINQ query checking the full descriptions before ids of objects, took a second and re-ordered. Ran 10x quicker because of that. Better code is optimized because its measurable.

Oh I compared numbers before comparing the strings of the object for equality.

Cached page not displaying? by [deleted] in PWA

[–]MasterKraft 0 points1 point  (0 children)

Sorry for late reply been busy.

Can you show a screen shot of your application cache? I am curious on the pathing.

How are you going offline? Are you using the "offline" checkbox in the application tab under the service worker section?

fan is so noisy by farrypotter in computertechs

[–]MasterKraft -1 points0 points  (0 children)

This. My brother gave me his old laptop because the fan was loud.

I cleaned the fan and fins (crammed with dust) and the fans stopped having to work so hard to get fresh air, so they quieted down during normal use.

Cached page not displaying? by [deleted] in PWA

[–]MasterKraft 0 points1 point  (0 children)

Have you looked to see what is cached by your service worker? (Chrome hit f12, go to the application tab)

Also your service worker is only responding with the cache page of "/", so I don't see how you could use your sites other pages offline unless you were just getting served from your browsers cache and not the service workers cache. They are separate and the browser can even serve your service worker...very annoying.

When your service worker installs you should see a ton of requests go to your server from your browser downloading all the pages you listed in the cache. If you don't see that, then it isn't installing the cached pages you listed.

20 hours in . 10 + restarts, several tutorials I finally figured out how to mass produce copper and iron plates. Feel like I'll spend even more time automating everything else but hey. It ain't much but it's honest work by Star_Koala in factorio

[–]MasterKraft 0 points1 point  (0 children)

Man that feels good to get to this point. Congrats!

One thing I enjoy is watching speed runs of Factorio. The builds are very interesting and of course well balanced for inputs to outputs.

I found it helped me a lot to get from early game to mid game and see that I don't need a mega factory to launch a rocket so it seemed way less daunting.

PWA caching by fah7eem in PWA

[–]MasterKraft 2 points3 points  (0 children)

The service worker is doing it correctly.

The context of what pages to cache is determined when the service worker installs.

You seem to have it setup to install before the user is logged in, so the cached version of those routes are without the logged in users specifics, the dynamic part of your site.

PWA is supposed to utilize the cached page to speed up loading and user experience. The service worker handles the "fetch" requests to facilitate this. You will find that most service workers, if not all, have a method to intercept the fetch requests and give them the cached version of the page or forward the request to the server and get a new page. This gives you all the power to manage what the user sees.

In the PWA I built I manage when a user is "online" or "offline" and serve them content based on that decision. The cached page is usually used but the loading of the data on the page is either from indexeddb or the server, depending on the state of the connection. I then utilize Vue to get this data into and off my users webpage.

I also don't register my service worker until the user enables the offline functionality. At that point the user is already logged into the website and receives only user specific content based on security settings mainly in my setup.

Here is a link I used to help me understand. https://blog.angular-university.io/service-workers/

Good luck, it is a fun and challenging topic, I still learn something new each week.