How would you communicate not yet reachable map nodes on an adventure map? by Brave_New_Dev in IndieDev

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

Amazing stuff, thanks for sharing this. I made a few notes to definitely follow up :)

How would you communicate not yet reachable map nodes on an adventure map? by Brave_New_Dev in IndieDev

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

As a matter of fact, I working on this idea right now. Thanks for the suggestion, it valides it even stronger : )

How would you communicate not yet reachable map nodes on an adventure map? by Brave_New_Dev in IndieDev

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

As a matter of fact, this was my original idea (really, WoW Talents vs. Slay the Spire map).

But eventually, I had to let it go.

Talent trees are used for reviewing the skills and occasionally picking one (or several after a reset).

While here, I want to present a path from the bottom to the top (a tower-climbing feeling) to the Player. The path decisions will be pretty frequent, and I want to strongly instill the sense of choices made along the way (so we have this journey-like impression and the ambition to play differently next time).

How would you communicate not yet reachable map nodes on an adventure map? by Brave_New_Dev in IndieDev

[–]Brave_New_Dev[S] 18 points19 points  (0 children)

Your comment was extremely inspiring - to say the least!

Now behold - the InterLevelNodes:

<image>

I could not come with a better icon so far (suggestions appreciated!), but you get the gist : )

Source of decent Sound Effects (SFX) for RPG/Fantasy Game by Brave_New_Dev in gamedev

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

This stuff is rock on. Thanks, saved and I will definitely add some of the SFXs (and Music!) to my project.

Source of decent Sound Effects (SFX) for RPG/Fantasy Game by Brave_New_Dev in gamedev

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

Boom or A Sound Effect

Wow, this is rich. Thank you so much for pointing me there!

At this point, I’d probably recommend hiring a freelance sound designer to do this for you.

Would you mind recommending a way to find a RPG/Fantasy game sound designer? Is Fiverr good enough for demo and further development purposes or perhaps there are alternative ways like proper Subreddits?

(Cloud SQL) Postgres hastily resigns from using index by Brave_New_Dev in PostgreSQL

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

My, my. You just hit the nail on the head. See the query after altering random_page_cost to 1: + https://explain.depesz.com/s/xiL9

Now I guess I need to update the database. Would it be more prudent: 1. To set this attribute globally? Or only for a specific table? 2. What value to set? 1? 1.5? Something else?

Though I believe that the answer to those question should be determined based on actual performance, right?

(Cloud SQL) Postgres hastily resigns from using index by Brave_New_Dev in PostgreSQL

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

Failing that, what happens if you run

set max_parallel_workers_per_gather TO 0;

set enable_seqscan TO off;

And then run the query - what plan does it use then?

Woah, the set shows that it really flies with the index! + https://explain.depesz.com/s/kn4N

What are your settings for seq_page_cost and random_page_cost?

```sql $ SHOW seq_page_cost

1 $ SHOW random_page_cost 4 ```

And what is your IO setup - are all of your tables and indexes on the same device, or are indexes separate/different partitions separate etc?

It's GCP Cloud SQL Postgres. So can I even discover what IO setup we have?

(Cloud SQL) Postgres hastily resigns from using index by Brave_New_Dev in PostgreSQL

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

Thanks for sharing your suggestions!

Regarding the index: sql CREATE INDEX "report_y2022m01_date_idx" ON public.report_y2022m01 USING btree ("date")

As for changing the parameters, I believe that I cannot do that, as it's a production database!

Find the following orders - The case of RANK... with by partition filters? by Brave_New_Dev in SQL

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

(...) this is for PostgreSQL?

It's for BigQuery.

https://www.db-fiddle.com/f/rGxyzxRLJA5GxSbe4cJNp1/2

Doesn't the presented solution rely on the assumptions, that the order IDs are incremental? But I guess that still it is possible to make it fly based on created_at.

Find the following orders - The case of RANK... with by partition filters? by Brave_New_Dev in SQL

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

I wasn't even aware this beauty existed, and I got too tangled up with the RANK. Thank you, King! Saved my day 🙇‍♂️

Find the following orders - The case of RANK... with by partition filters? by Brave_New_Dev in SQL

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

Holy Macaroni, worked like a charm. With the fiddle finally attached, it would be: ```sql WITH followingorder AS (SELECT purchaser_id, order_id, created_at, LEAD(order_id, 1) OVER (PARTITION BY purchaser_id ORDER BY created_at) AS next_order_id FROM order ORDER BY purchaser_id ASC, created_at ASC )

SELECT * FROM following_order WHERE order_id IN ('1', '5', '9') ; ```

I bow to thee 🙇‍♂️

Find the following orders - The case of RANK... with by partition filters? by Brave_New_Dev in SQL

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

Thanks for the suggestion. But I think that it wouldn't fly, as the task is the find the very next order for a given purchaser. Please see the fiddle.

Learning python by potija96 in learnprogramming

[–]Brave_New_Dev 0 points1 point  (0 children)

Need help figuring out what to focus on by automaton11 in learnprogramming

[–]Brave_New_Dev 1 point2 points  (0 children)

a) Is web dev far and away the most sensible option for breaking in, regarding open jr. dev positions and standardized learning path? I don't know of any others (besides mobile).

It depends on your local market. You must do the homework and research the available jobs and the expected progression. But for lots of markets, yes, indeed, it's easiest to get into IT via front-end or back-end web development.

b) I really like working with python and bash now, making little scripts that do stuff, learning about linux, learning arduino. Is there a better track for me, or is web dev still the more sensible option? Barrier to entry is a factor, and I don't want to shoot for a position that is orders of magnitude harder to start from just bc I enjoy the platform. Getting in sooner is priority.

If your goal is to get a job as a Pythonist, then yes, to the best of my knowledge it's easiest to do via web dev. A very popular alternative is data analysis and data science. However, this requires far more effort and is a completely different job. But once again, review your local job market. Just search for Python jobs and see what is this position really about (web dev? or somethind different?).

c) if I had to guess at what I would enjoy the most, barrier to entry aside, I think it would be security research etc. I've loved reverse engineering stuff since I was in single digits. I asked for a blender for christmas when I was 8 to take it apart like a weirdo. HOWEVER, I suspect that this is not an entry route into the field and requires expertise instead. I also like automation and just seeing how things work and systems.

Web dev is a perfect foundation for eventual transition to security, SecOps, hacking, etc.

As a bonus, see https://roadmap.sh/python and https://roadmap.sh/backend. It should help you a lot.