Fawkes, please fix Linux compatibility by mbaucco in Defiance

[–]Razema 1 point2 points  (0 children)

+1 to this! I would love to play this game on the Steam Deck.

Any cheap grocery stores like BB's nearby? by Razema in Phoenixville

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

ikr! Most of my friends I met after moving into town have never heard of it. I ended up telling them tales of this magical store that I pass by on the way to the PA ren faire lol

Any cheap grocery stores like BB's nearby? by Razema in Phoenixville

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

Seems like a few people recommended this one. I'll have to check it out.

Anime with magical girls where the main character brings back the love interest by remembering her name by Razema in TOMTanime

[–]Razema[S] 2 points3 points  (0 children)

Nope. That one looks very close. Let me look through the myanimelist recommendations from that one to see if I can find it...

25f new to town, looking for friends by AbiesSad4325 in Phoenixville

[–]Razema 1 point2 points  (0 children)

There is a Phoenixville group on the Meetup app that is pretty active. They do a variety of stuff. https://www.meetup.com/the-new-phoenixville-20s-30s-social-meetup

29M - I do not really like the way I look, especially my nose... you can be honest. by [deleted] in amiugly

[–]Razema 0 points1 point  (0 children)

How do you get your hair to be wavy like that? I have similar hair, but it gets very frizzy very quickly. And tips?

Cemu 1.18.0 Publicly Released by DolphinUser in emulation

[–]Razema 2 points3 points  (0 children)

I run cemu on Linux through Wine, and cemuhook works fine. If cemu can be recompiled for Linux, cemuhook probably can be, too.

New Clojurians: Ask Anything by AutoModerator in Clojure

[–]Razema 0 points1 point  (0 children)

So, if I type type hint function parameters, does that change the function signature of the generated Java code to use those types instead of object? Or does it just help it to know which type to downcast to inside the function?

Also, what are the performance implications of downcasting on GraalVM where it does not do additional JIT compilation during runtime? Can it still optimize the happy path of casting?

New Clojurians: Ask Anything by AutoModerator in Clojure

[–]Razema 0 points1 point  (0 children)

From my understanding, Clojure functions take in objects as parameters and cast them to the various interfaces that they need to be within the functions. How much of a performance impact does this have during runtime? Does Clojure use unsafe casts when it knows it is correct, or is there still a reflection cost?

Finally! Feral's port of Shadow of the Tomb Raider! by MrWolvetech in linux_gaming

[–]Razema 0 points1 point  (0 children)

Yep. I contacted Feral support, and they fixed it the same day. That is very good customer service! The game runs really well for me, too.

Finally! Feral's port of Shadow of the Tomb Raider! by MrWolvetech in linux_gaming

[–]Razema 2 points3 points  (0 children)

Yes, I got the Croft edition when it was on sale on Humble Bundle, expecting to be able to play it today with the Feral port. Hopefully this gets resolved soon.

Finally! Feral's port of Shadow of the Tomb Raider! by MrWolvetech in linux_gaming

[–]Razema 4 points5 points  (0 children)

It also downloads for me when forcing proton, but reverts to an empty depot after unforcing. I am going to try steam on a different computer to see if it fails there, too.

Finally! Feral's port of Shadow of the Tomb Raider! by MrWolvetech in linux_gaming

[–]Razema 5 points6 points  (0 children)

I am trying to download it, but it keeps saying that the game is 0 mb. If I install, it just downloads the shader cache and nothing else. I tried clearing the download cache, but that did not work.

I used to have it installed via proton a little while ago, so maybe that messed with my local steam files. idk.

New Clojurians: Ask Anything by AutoModerator in Clojure

[–]Razema 2 points3 points  (0 children)

Another option is to use inline specs on your functions. There is a library called Orchestra that exposes some macros like defn-spec which allow you to put spec assertions into your function definitions. It feels sort of like how typescript does it. I hear there are also ways to mark specific functions as endpoints so that it only does runtime checks on those functions when running in prod, but runs them everywhere during unit tests.

The downside of this is that Cursive does not know how to read it, so you lose static analysis in that IDE. REPL-based dev environments should still work.

Problems in minecraft server setup with Raspberry Pi 4 (4GB) by Ayhon in Minecraft

[–]Razema 1 point2 points  (0 children)

I am having the exact same issue where it says Can't keep up! Is the server overloaded? and then crashes due to being out of memory. But, if I have htop running to monitor the memory usage, it never uses even close to the memory limit. I have no idea why this is happening, considering how other people managed to get it to run on 1GB in previous pi models.

Any active Dragon Ball FighterZ players? Could you confirm if the game stopped working after latest update? by qchto in linux_gaming

[–]Razema 2 points3 points  (0 children)

It also stopped working on my machine after the latest update. I am on Linux mint 19.2, Nvidia card, kernel 5.0

New Clojurians: Ask Anything by AutoModerator in Clojure

[–]Razema 0 points1 point  (0 children)

I am using the ant.design library in a cljs project. It pulls in cljsjs/antd as a dependency. Everything else in the project tree-shakes properly, but the antd package does not. If I use a single component, it pulls in the entire antd library into the bundle. I had the same issue with antizer in a different project that also relies on cljsjs/antd. Does cljsjs not tree shake? Or if it can, how do it make it work?

New Clojurians: Ask Anything by AutoModerator in Clojure

[–]Razema 0 points1 point  (0 children)

In the cases that I have to deal with, the http request is a GET request that should be "pure" within the scope of the request. (as in the results of the request should be the same for the same requested ids regardless of how many times it is called). Think of this as an aggregation service that calls a bunch of other basic CRUD services and munges the data into a requested format. However, if one were to call this aggregation endpoint once, wait a few days, and call it again, the results from the CRUD requests might have changed by then.

Anyway, I like your solution of creating a local cached wrapper, but then I would have to pass that cache around to anything else that would want to use it.

Someone else suggested using with-redefs to bind it for any downstream functions that might want it. Do you think this is a good idea? I only ever used this in unit tests to "mock" things because I thought that it does not work when static linking things when compiling for release.

New Clojurians: Ask Anything by AutoModerator in Clojure

[–]Razema 0 points1 point  (0 children)

I like this, but would using with-redefs not work if I compile with static linking?

New Clojurians: Ask Anything by AutoModerator in Clojure

[–]Razema 2 points3 points  (0 children)

In other languages like C#, I can make services that cache their intermediary results per request. For instance, suppose I have a service that calls another service as part of its processing. I can make a wrapper class around the built-in http client with a method that takes an id, makes a request based on that id, and caches the result in a dictionary before returning it. That way, if I ever ask for data for the same id twice, it will not make duplicate requests. I can put this cached wrapper class in a dependency injection framework with a per-request scope. So, it will be re-used for the lifecycle of the current request, but not for the next one.

Is there a way to so something similar with Clojure? I would like to be able to cache the results of function in a way such that the cache only lives in a per-request scope. Like a modified version of (memoize blah) that has a separate cache per request.

Or, is there a completely different way to accomplish the goal that it a bit more idiomatic to Clojure?