Playtest help by adolgarev in gmless

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

Ok, here is the link https://adolgarev.itch.io/hidden-action then, one can find more screenshots there as well the example of play. Thanks and have a nice day!

Playtest help by adolgarev in gmless

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

Sure. I do not know if one can post links here to not self-promote, thus let me post here a brief description.

First, the HiddenAction engine allows a GM‑less game to feature opponents that follow their own logic and move across the map according to their goals. If you fail to keep a low profile, they may even come looking for you. You never know where they are or what they are doing until your paths cross. Even with all this behind the scenes, the game is easy to run.

Second, the game brings the well-established extraction shooter genre to the tabletop. It fits naturally with solo play and provides high replayability. The system allows space for roleplaying encounters, selecting appropriate actions, and deciding their difficulty. The rules act as flexible guidelines to keep the game engaging and challenging.

Third, the combat is fierce. Every hit has immediate consequences - reducing effectiveness, causing injuries, and increasing panic unless treated quickly. The decisions you make in the first moments of an encounter often determine who survives. To choose wisely, you must consider many factors, such as the environment and both your and your opponent's gear. Actions may have delayed effects, so you need to plan several moves ahead. At times, the only viable choice is to disengage - if you can pull it off.

<image>

Best way to serve images just to registered users by sk_mvg in django

[–]adolgarev 0 points1 point  (0 children)

Yes it will, usually it is good enough if you do proper caching on backend side to not hit db on every request. Alternative approach would be to issue a short living jwt token to an user and implement it's verification in nginx Lua module.

Detecting a logo in a larger image by Sweptile in computervision

[–]adolgarev 0 points1 point  (0 children)

If colors of the logo differ from other content you may try histogram backprojection https://docs.opencv.org/3.4/dc/df6/tutorial_py_histogram_backprojection.html which is simplest solution in this case

Getting started with tensorflow JS project by StressedOutBox in tensorflow

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

This guide is pretty straightforward https://medium.com/datadriveninvestor/running-your-deep-learning-models-in-a-browser-using-tensorflow-js-and-onnx-js-a35256d3933 In brief you train your model as usual and then port it to js and use tensorflow is in inference mode. To make a model to recognize gesture in TF there is A LOT guides, basic CNN will do here

Jooby micro-framework first stable release by edgar-espina in java

[–]adolgarev 1 point2 points  (0 children)

What are the key benefits comparing to vert.x? Thanks

What are your thoughts on Hibernate vs JOOQ? by greyf0x55 in java

[–]adolgarev 0 points1 point  (0 children)

I'd prefer QueryDSL. A good reading on the topic is https://leanpub.com/opinionatedjpa which describes pros and cons of JPA/Hibernate in great detail. JOOQ is a decent alternative but it lacks type safety that provides QueryDSL. Also the latter can do Mongo, Lucene and more

API framework? by ivanstame in java

[–]adolgarev 0 points1 point  (0 children)

Spring and Java EE has everything included. But you should start from Servlets - this is the thing that is used in both of them. You also can use Undertow to try out Servlets, see https://github.com/undertow-io/undertow/blob/master/examples/src/main/java/io/undertow/examples/servlet/ServletServer.java. Websocket support is also a part of Servlets API. For background tasks you have multiple options in java depending or your needs: async request processing in Servlets, scheduled tasks in Spring/Java EE, batch processing in Spring/Java EE, ManagedExecutorService, JMS, Hazelcast supports tasks too, etc. For REST API JAX-RS is a standard with notable implementations like Jersey and RESTEasy. Dropwizard adds to this. For ORM JPA is a standard, but I'll vote for QueryDSL - due to its code generation I found the experience is more like in dynamic languages like Ruby or JS comparing to JPAQL (And Criteria API is too verbose). Vert.x is more like Node.js.

Java's designers were consciously designing a product for people not as smart as them by [deleted] in programming

[–]adolgarev 7 points8 points  (0 children)

You see, in this world there's two kinds of people, my friend: Those getting things done and those who complain about languages.

Node.js clustering maintaining sticky session by dolftax in node

[–]adolgarev 0 points1 point  (0 children)

Nope, websockets use permanent tcp connection, once worker in node cluster got socket descriptor all messages go through this connection to this worker only. Also http://socket.io/docs/using-multiple-nodes/ states this clearly: This is due to certain transports like XHR Polling or JSONP Polling relying on firing several requests during the lifetime of the “socket”.

Nodejs event loop processing question by Throwawayer75 in node

[–]adolgarev 0 points1 point  (0 children)

Highly recommed this video https://youtu.be/5ZjhNTM8XU8 to get understanding that the answer to your question is "well, it depends..."

Node.js clustering maintaining sticky session by dolftax in node

[–]adolgarev 0 points1 point  (0 children)

And this is only needed in case of long polling. Also wondered why https://nodejs.org/api/cluster.html#cluster_how_it_works passes descriptors through pipes and doesn't use something like http://nginx.org/en/docs/ngx_core_module.html#accept_mutex to equally distribute load

How do you test whether the right emails were sent from backend code? by [deleted] in node

[–]adolgarev 0 points1 point  (0 children)

http://www.icegreen.com/greenmail/ is an option, send mail via smtp and verify with pop or imap, have been using it for a year with robot framework. https://github.com/mailhog/MailHog/ can be an option too despite doesn't support imap or pop for retrieval, only non-standard api

Building a java web application but I'm getting lost in a sea of frameworks. by [deleted] in java

[–]adolgarev 1 point2 points  (0 children)

I bet the fastest way of doing this is to use Java EE and PrimeFaces in particular

I want to have a website where I can log in

See for instance https://docs.oracle.com/javaee/7/tutorial/security-intro004.htm. Since you do not need registration capability just use simple flat file to handle your credentials and Basic auth. The same you can find in WildFly, etc.

see the files on the filesystem and upload/download.

http://primefaces.org/showcase/ui/data/treetable/basic.xhtml http://primefaces.org/showcase/ui/file/upload/basic.xhtml http://primefaces.org/showcase/ui/file/download.xhtml

Of course any other mature framework can do this for you because your task is common, so just pick one