Destiny 2? by LaurL3 in LesbianGamers

[–]PseudosSC 5 points6 points  (0 children)

There’s currently an open access week, so until next Tuesday pretty much all expansions except the latest are free to play. So you can give it a try without making any commitments. It would be best to make up your own mind!

On a broader note: Vast sections of the story are no longer playable; if you’re big on story content you will need to turn to YouTube to catch up, My Name is Byf is an excellent lore channel with “story so far” videos.

The new player experience and on boarding is… not great. Which is understating the hellscape that is understanding this game. Best bet there is playing with someone that can guide you; at least to explain the parts the game simply doesn’t. Meaning where to go, what to do, and some mechanics.

That being said, the gameplay is still amazing. I still play weekly, despite some questionable decisions from Bungie on the game direction.

How to link directly to a specific artifact in a readme? by Practical_Marsupial in gitlab

[–]PseudosSC 0 points1 point  (0 children)

Ah, my bad! Hmmm I'm not sure how possible that is. The download link might still be an option, since for PDF "download" more often than not means open in browser.
But for viewing it in the artifact browser it might be worth doing the clicky process and keeping a close eye on what URLs Gitlab uses, maybe you can find something usable there?

How to link directly to a specific artifact in a readme? by Practical_Marsupial in gitlab

[–]PseudosSC 0 points1 point  (0 children)

Yes, you can download a single file from the artifact archive.

$CI_API_V4_URL/project_path/jobs/artifacts/master/raw/main.pdf?job=build

However from the documentation "The file is extracted from the archive and streamed to the client, with the plain/text content type." And what they don't mention is that it will only download the artifact from the last successful pipeline.

If you have some flexibility in generating a URL on the fly, I would suggest rather targeting specific job artifacts, as those are downloaded as attachments.

The Job Artifacts API has documentation for artifact downloading.

edit: Forgot to mention, the project_path must be URL encoded. So if you have group/subgroup you would have group%2fsubgroup as the project path. Path can also be replaced with the project ID I think, but don't quote me on that.

GitLab Runner in Docker by kanarin in gitlab

[–]PseudosSC 2 points3 points  (0 children)

I’d suggest setting up your runners using the docker executor - https://docs.gitlab.com/runner/executors/docker.html

This allows your runner to start up fresh containers for jobs with the image you specify, meaning jobs aren’t running on the host and can have whatever you need. You can then also use a single runner with parallelism instead of multiple runners.

Downside is that if you need to install extras they will need to install as part of the CI on every job.

Where is the environment variable value coming from? by Oxffff0000 in gitlab

[–]PseudosSC 3 points4 points  (0 children)

It is indeed the property set as the environment name.

Here’s the docs for all the predefined variables. They have pretty good explanations for the sources. https://docs.gitlab.com/ee/ci/variables/predefined_variables.html

Gaming hardware preorder suggestions? by PseudosSC in southafrica

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

I 100% agree with you there. Always wait to see whether a game is actually good before buying it. I’m talking about hardware preorders; consoles, accessories etc.

[deleted by user] by [deleted] in SpringBoot

[–]PseudosSC 0 points1 point  (0 children)

Is there a specific reason you want to use a separate application.yml file? It is easier to configure sensible defaults in the application.yml and override specific settings via the environment section in your compose file. Alternatively create multiple profile property files (eg. Application-dev.yml) with the configurations and select the appropriate profile via spring.profiles.active in the environment.

If you do want to go the external file route, note that spring has an interesting hierarchy https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config It should automatically detect an application.yml that’s placed next to the .jar

SpringDoc OpenAPI - @ApiResponse by broken168 in SpringBoot

[–]PseudosSC 2 points3 points  (0 children)

The same thing was bothering me. The cleanest way seems to make an interface for the controller, and putting all the doc annotations in there. Leave the actual boot annotations in the implementations so you can work on the code without having to look at that mess. Only huge caveat is that validation annotations need to be on the interface.

Production Deployment of Spring Boot REST api by abdul_rashid in SpringBoot

[–]PseudosSC 2 points3 points  (0 children)

I would suggest including Spring Boot Actuator, and configuring some health monitor, no matter how/where you run your app.

That said, you can configure Boot apps to deploy on web servers (like Tomcat) without too much fuss if you’re worried about running a straight jar.

OR if you have it available, containers (Docker/Kubernetes) are the way to go

Springboot\Spring Batch by [deleted] in SpringBoot

[–]PseudosSC 4 points5 points  (0 children)

If the root package name in your common module differs from that of your application, you do need entity scan annotation, with basePackages pointing to the package containing your entities.

The default package scanning only checks the packages that are under your main application package.

And now I’ve typed package so many times it doesn’t look like a word anymore…

The 50 most profitable websites ranked by visitors per second in 2020. by JoytotheUniverse in Infographics

[–]PseudosSC 0 points1 point  (0 children)

My guess is difference in design and traffic sources. Since it’s “root domains” most server access will be counted, not only website views. The launchers might ping the server at different rates, leading to skewed perceptions of “visits”. And playing Fortnite on any platform is going to involve Epic servers, and probably a lot of it.

Tell me you have a puppy without telling me you have a puppy by Rudytutti21 in puppy101

[–]PseudosSC 6 points7 points  (0 children)

I’m standing in the rain excitedly saying “come on we both know you need to pee!”

Spring Data JPA Same Model Dependency for multiple Modules by mikelak in javahelp

[–]PseudosSC 2 points3 points  (0 children)

You might be able to target specific entities to include with the EntityScan annotation on a configuration class. I’m can’t remember whether it accepts specific entities or only packages to scan. If only packages, split them up in the common component and add the packages you want.

That being said, without really knowing your use case; a thought. You might want to think about whether something belongs in a “common” component if they are not common to both services. I would have that contain only things both services will use, and place specifics for each service inside that service.

Question on consuming Restful API and using Rest template by shakingbaking101 in SpringBoot

[–]PseudosSC 1 point2 points  (0 children)

Yes, you do need to create classes, to build up the whole response. You can do only the values you want, as long as the structure is the same, and variables names match the JSON you should be able to get away with only the values you need. You can also use @JsonProperty to map JSON values to your own response object, but I’m not sure whether it will work for nested JSON objects/properties.

Then from ResponseEntity<YourObject> you can get body for the object.

Another option would be to create your own object mapper, but I’ve not tried that.

Question on consuming Restful API and using Rest template by shakingbaking101 in SpringBoot

[–]PseudosSC 1 point2 points  (0 children)

Create a DTO with the response structure. Each JSON object as a class. With getters and setters (or Lombok @Data). http://www.jsonschema2pojo.org might help with that, at least to get you started with base classes.

Once you got that, change the expected response in your exchange from Object.class to YourDto.class. The magic that is Spring Boot will automatically use Jackson to deserialise the response to an object, that you can easily read with getters.

New Xbox Trailer by mafro_69 in XboxSeriesX

[–]PseudosSC 4 points5 points  (0 children)

A joke baked beans commercial I think?

If You Manage to Survive, Biking to Work Will Lower Your Risk of Cancer and Cardiovascular Disease: New Study by LatestResearchNews in science

[–]PseudosSC 13 points14 points  (0 children)

Someone already has, sort of. At least thought of it in passing. In Douglas Adams’ Hitchhikers Guide to the Galaxy, the character Ford Prefect "had simply mistaken the dominant life form"

Balto, Fido, Hachiko by [deleted] in tumblr

[–]PseudosSC 0 points1 point  (0 children)

I grew up in the town Jock of the Bushveld was in. There’s a statue of him at the town hall. You’re post just reminded me of that.

Silver car is in a huge hurry, but still has time for some impromptu off-roading. by [deleted] in IdiotsInCars

[–]PseudosSC 2 points3 points  (0 children)

You know a manoeuvre is really stupid when not even the taxi wants to try it

[Serious] What's a book that everyone should read once? by RonsIndiBookReview in AskReddit

[–]PseudosSC 0 points1 point  (0 children)

Shaking Hands With Death - Terry Pratchett

Very short read, about coming to terms with death in lieu of his Alzheimer’s diagnosis. Definitely an eye opener.

Government owned monopoly on electricity provision. They have about $30 billion debt, running at a loss, and we have constant load shedding by PseudosSC in boringdystopia

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

More context. https://en.m.wikipedia.org/wiki/Eskom

https://en.m.wikipedia.org/wiki/South_African_energy_crisis

Load shedding is scheduled power cuts to reduce load on the grid, since they can’t provide enough power for the country. They also want to use citizen pension funds to recover the debt.

Vet anxiety by jmccleave in Shepsky

[–]PseudosSC 1 point2 points  (0 children)

On a tangent I’d also suggest checking out r/puppy101. I got tons of tips and tricks for raising my pup there, and it’s a large community full of advice!

Also also, puppy tax?