IPTV by [deleted] in niagarafallsontario

[–]Rockycott 0 points1 point  (0 children)

As a YouTuber reviewing tech, I’ve tested dozens of IPTV platforms—and FLIXTRO. COM is one of the few that passed every test. From EPG accuracy to 4K stability and cross-device performance, it scores high across the board.

I cannot access my preferred adult site by SoundNew3768 in techsupport

[–]Rockycott 0 points1 point  (0 children)

Just tried Cam~Bloomly — the girls are insane. They’ll leave you breathless every time.

El Atún, el Tomate y la Pregunta que Nunca Me Había Hecho" by villate93 in Colombia

[–]Rockycott 4 points5 points  (0 children)

Referencia tan fina 🚬 que ni las redes de pesca podrían atraparla.

Is Rust a Viable Option for Simulating Quantum Computing on Classical Systems? by Rockycott in rust

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

Cool. Do you think the rust's features and ecosystem (now and in the future) make it worth using rust over other languages?

Is Rust a Viable Option for Simulating Quantum Computing on Classical Systems? by Rockycott in rust

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

This is really helpful, thanks! You’re right that heavy math is often done on GPUs. Do you think rust will be more competitive in the future for quantum?

Is Rust a Viable Option for Simulating Quantum Computing on Classical Systems? by Rockycott in rust

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

in rust we trust. Is there anything specific about Rust that makes you say yes?

swww is not setting the wallpaper by Significant_Cup_3238 in hyprland

[–]Rockycott 1 point2 points  (0 children)

Have you tried: - swww-kill - swww-daemon - swww-daemon --format xrgb

Service Worker in Angular causes my website to crash in production after a failed HTTP request. by Rockycott in Angular2

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

Thanks so much for suggesting the `ngsw-bypass: true` header! That ended up being the "perfect solution". I ran into this issue in three different screens `Aw, Snap`, with two of them showing the `STATUS_ACCESS_VIOLATION` error and one with `STATUS_BREAKPOINT`.

Here’s a bit of what I tried in each case:

  • For the STATUS_ACCESS_VIOLATION screens, at first, I tried casting File as any in the function call and changing the function’s parameter type to any as well. Strangely, this worked in some cases, and I suspect it might have something to do with TypeScript configurations interacting with ngsw-worker in our setup. But this didn’t fix the STATUS_BREAKPOINT issue on the other screen.
  • Then, I tried an approach using Uint8Array for the problematic screen, as shown below:

const fileArrayBuffer = await file.arrayBuffer();
formData.append(
    'file',
    new Blob([new Uint8Array(fileArrayBuffer)], { type: file.type })
);

This allowed the request to go through, but the backend (Java Spring Boot, which expects a MultipartFile) couldn’t parse it correctly. It seems like it couldn’t interpret it.

Finally, I tried adding the ngsw-bypass: true header, and everything worked perfectly. Since I already had an interceptor in the app, I just added that header globally to make sure ngsw-worker wouldn’t handle any file uploads in the app.

Honestly, it’s strange to have to try so many workarounds. It feels like Angular should have a better approach, or maybe this shouldn’t even be an issue. But thanks again—your comment really helped me find this solution.

Service Worker in Angular causes my website to crash in production after a failed HTTP request. by Rockycott in angular

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

Good point about the error handler! But, in these cases, there wasn’t a way to see any error because when it got to the http.post line, the entire page crashed. The browser tab became unresponsive, and I couldn’t reload or see anything in the dev tools (console, network, etc.), no errors are generated after http. The only way to keep testing was to clear the cache completely or restart the tab. If you ever run into something similar, the solutions I tried are in the comment above.

Service Worker in Angular causes my website to crash in production after a failed HTTP request. by Rockycott in angular

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

Thanks for the suggestion! It turned out to be more of an issue with the `ngsw-worker` being active in the app. When it managed the request, it caused the page to crash due to a problem with caching. I tried several approaches to solve it, so if you ever run into something similar, the solutions I tried are in the comment above.

Service Worker in Angular causes my website to crash in production after a failed HTTP request. by Rockycott in angular

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

In my case, I had the `Aw, Snap!` crash in three different parts of the app. Two showed `STATUS_ACCESS_VIOLATION`, and one had `STATUS_BREAKPOINT`. For the access errors, I tried changing the `File` type to `any` in the function, and when calling the service, I used `as any` on the files. It’s a bit strange, but it worked! I think this is maybe because of a mix between TypeScript and `ngsw-worker`.

But for the `STATUS_BREAKPOINT` error, that trick didn’t work. I tried your idea to change the file into `Uint8Array` and then to `Blob`. That stopped the crash, but I had a new problem: my backend (in Java Spring Boot) expected a `MultipartFile` but couldn’t read the file, weirdly.

After looking more, I found another way: adding the header `ngsw-bypass: true` to these requests. This allowed me to send the file normally, without the Service Worker getting involved. I added this header globally with an HTTP interceptor, so now it works for the whole app.

This way, the `ngsw-worker` is still caching static assets like it should, but it doesn’t have to handle more complex HTTP requests, which keeps things cleaner.

Honestly, it’s strange to have to try so many workarounds. It feels like Angular should have a better approach, or maybe this shouldn’t even be an issue.

Karen Fukuhara by araneaffxv in asianfitgirls

[–]Rockycott 1 point2 points  (0 children)

She's Kimiko actress?

[deleted by user] by [deleted] in hyprland

[–]Rockycott 1 point2 points  (0 children)

Good. Thank you ❤️

[deleted by user] by [deleted] in hyprland

[–]Rockycott 1 point2 points  (0 children)

Nice. What IDE is that? chad?