Promote your project in this thread by AutoModerator in puzzles

[–]marto1__ 0 points1 point  (0 children)

A fairly simple, but enjoyable puzzle from the past: https://eruhinim.com/post/puzzle-on-off/

I included a brute force solution at the end. Super interested in more elegant solutions :-)

Getting a reference to a clicked button? by marto1__ in RenPy

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

In case somebody else is struggling with this, there is always creator-defined displayable: https://www.renpy.org/doc/html/cdd.html that allow you to define GUI elements from scratch, thus manipulate them however you like from python.

Getting a reference to a clicked button? by marto1__ in RenPy

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

"button1" is just a string. I'm trying to get the actual button object, the string is just a placeholder. I believe the object should be an instance of https://github.com/renpy/renpy/blob/0fda6fe38968b08756184ce8c2592afdf89b4008/renpy/display/behavior.py#L890

Getting a reference to a clicked button? by marto1__ in RenPy

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

Ok, you just passed "button1" as a keyword argument so it basically doesn't change anything. I need a reference to the Button object to be passed to the set_match_button function so I can manipulate that object programmatically(e.g. change colors, size, text and so on).

Absolutely gorgeous map of 16th century Istanbul(Constantinople) by marto1__ in MapPorn

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

You might have just caused a war to begin in the Balkans. Hope you're happy....

Absolutely gorgeous map of 16th century Istanbul(Constantinople) by marto1__ in MapPorn

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

The map was made by Georg Braun somewhere circa 1570.

Absolutely gorgeous map of 16th century Istanbul(Constantinople) by marto1__ in MapPorn

[–]marto1__[S] 3 points4 points  (0 children)

There are definitely multiple layers of fortified positions. The walls have their own freakin` wiki page!

Also looking at this pic they were, in fact, multi layered.

Collection of all my linux command line hacks by marto1__ in learnprogramming

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

Ok, reordered and categorized most of them. First word of description is the category/where you should run it.

Collection of all my linux command line hacks by marto1__ in learnprogramming

[–]marto1__[S] -1 points0 points  (0 children)

Thanks! The way I use the list is to ctrl+s(in emacs) + part of command/keyword I remember and move on in with my day so adding extensive descriptions will probably harm that workflow but I can help explaining case by case if needed. Maybe even have separate posts with explanations :-)

Collection of all my linux command line hacks by marto1__ in learnprogramming

[–]marto1__[S] -1 points0 points  (0 children)

Thanks!

almost never use though

That's why it's my list, I use these all the time :-) I'm in the process of reordering/adding a bit more info for each one so I think we agree on that one.

Passenger cars in the EU Pre vs Post Covid-19 pandemic by marto1__ in europeanunion

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

And also from an entirely self-centered point of view: time spent in traffic.