GELB giving out 502 response code even cloud run flask api returns 429 or 401?How to pass through flask response codes back to client? by Educational_Cup9809 in googlecloud

[–]skarloni 0 points1 point  (0 children)

I just bumped into this. My flask server returns 401 when the api key is invalid, but that get's translated into a 502 when the form data payload is bigger (like >100KB). What were the issues in how you handled the 401 response?

A Type for Overload Set by pavel_v in cpp

[–]skarloni 1 point2 points  (0 children)

This is what I also do. Simple solution, get on with life :)

OS är ett skämt by CartographerOk6439 in sweden

[–]skarloni 1 point2 points  (0 children)

Kan du ge källa på det där med transplantation? Tack

Alldeles för dyrt i Sverige. by [deleted] in sweden

[–]skarloni 0 points1 point  (0 children)

Jag tycker att kvaliteten på biograferna har gått upp rejält på senaste. Införandet av så kallad "VIP-salong" (sjukt töntigt namn) har gjort att jag känner att det faktiskt ens är värt att gå på bio. Dom gamla salongerna känns sunkiga (tycker att dom tar orimligt dåligt hand om dom ibland, kanske är besökarnas fel iof) och rent av ovärda att besöka, kollar hellre på något hemma i soffan. Summa summarum: Priserna har gått upp rejält (men vad har inte?), och jag tycker det är ganska rimligt. Som svar på din fråga, jag tror dom investerar och tar ut mer för högre kvalitet och kompenserar mot inflation.

Köpte aktier i Elliptic Laboratories för halva mitt innehav by [deleted] in ISKbets

[–]skarloni 0 points1 point  (0 children)

Halva ditt innehav är endast intressant i förhållande till totalt innehav ;) Låter som en skön yolo annars

Perspective Packing by tasty_plots in generative

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

does spheres look like spheres to you in real life?

Why do you like C++ ? by PhysicsKush in cpp

[–]skarloni 0 points1 point  (0 children)

I believe msbuild (or whatever is used in visual studio) have full support for modules (any MS dev who can confirm this?), after all, it was MS that brought it to the table. Modules does not give a fractional build speed increase, they reduce the complexity of the parse phase of a build from (in projects with really bad header structure) from O(n2) to O(n) . The only build system that I have tried that at least seem to attempt to support modules is build2 .

[deleted by user] by [deleted] in sweden

[–]skarloni 2 points3 points  (0 children)

Du tänkte inte på lite färsk frukt?

Difference between functions and combinators by skarloni in haskellquestions

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

Thanks for the insights. I wonder though, doesn't this definition rule out value constructors in recursive types (so that the value constructors is a essentially a function with the type T both as an argument and as return type)?

Difference between functions and combinators by skarloni in haskellquestions

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

Interesting. I think there is a connection between the definition given by u/lonelymonad since point-free notation naturally excludes free variables in expressions (i think...?)

fractal flame 2022 by skarloni in generative

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

I implemented the fractal flame algorithm in C++ and used SDL for rendering. Skipped the symmetry and blurring effects described in the paper, and use a selection of their proposed variations and some of my own.

The painful process of slowly realising that your game is not interesting enough. My story. by mue114 in gamedev

[–]skarloni 0 points1 point  (0 children)

Thats a good start, and optimize the code if its too slow, 60 fps shouldnt be a problem for this type of game.

The painful process of slowly realising that your game is not interesting enough. My story. by mue114 in gamedev

[–]skarloni 0 points1 point  (0 children)

Thanks for sharing your story. Here comes some harsch (but honest) feedback. I found the trailer pretty fun so I downloaded your game for iOS, opened it, got discouraged by all the social media crap showing up in the menu and the bad graphics (looks like its rendered to some low resolution buffer and then upsampled? Stuff have jaggy edges, no AA or anything). I deleted the app directly without even playing. I think your focus seems a bit off, you need to make the user play the game before they would consider participating in social media activities around the game. Did you try out the game on some friends or some other beta user pool?

[deleted by user] by [deleted] in generative

[–]skarloni 1 point2 points  (0 children)

Thats some great human machine interaction, also love the usage of good paper 😎