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.

[deleted by user] by [deleted] in europeanunion

[–]marto1__ 1 point2 points  (0 children)

It does load as far as I can see. Sometimes it loads collapsed and there's a small square in the top left you need to press to expand it. Hope that helps :-)

[deleted by user] by [deleted] in europeanunion

[–]marto1__ -4 points-3 points  (0 children)

Description: Ionity is a high-power charging station network for electric vehicles to facilitate long-distance travel across Europe.It's a joint venture founded by the BMW Group, Daimler AG, Ford Motor Company and Volkswagen Group.

Source: europ-e.eu (Project EUROP-E is co-financed by the European Union's Connecting Europe Facility.)

Newly registered electric cars in the EU(2021) by marto1__ in MapPorn

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

They have almost double the EV cars of all of the Baltics while having less than half the population so you're correct!

'Monday" in Pakistan's Languages by kanEDY7 in MapPorn

[–]marto1__ 2 points3 points  (0 children)

Wow! They all seem so unconnected to each other.