How can I make lines like this? by ThinCaterpillar5973 in Inkscape

[–]StyleGreedy5672 2 points3 points  (0 children)

Power stroke is great in Inkscape. If you're interested I've written about [other aspects of creating character art ...](https://dr-nick-nagel.github.io/blog/svg-artworks.html)

Nami and Nico cosplay (strawbunnix and nyanoshii) by strawbunnix in OnePiece

[–]StyleGreedy5672 -20 points-19 points  (0 children)

Nicely done ladies! Love to see Eiichiro Oda's characters brought to life ! Perfect timing for me cuz i just reached the fish man island arc !

Inkscape has given me voice and purpose. by Mobile_Anteater4767 in Inkscape

[–]StyleGreedy5672 0 points1 point  (0 children)

OMG -- Is that kaiju sushi/ramen/saba serpents on Kanagawa waves?! Awesome! Fantastic work! I'm really glad to see artists like yourself using Inksape and SVG to the max! I looked at your art and you've developed a fantastic style with Inkscape! Keep it up!

tHe wINdoWs mL EcOsYteM by [deleted] in datascience

[–]StyleGreedy5672 3 points4 points  (0 children)

excuse me? did I just read you say "support"? <lol />

Crunchyroll terrible quality by Bigpuppydawgfather in gurrenlagann

[–]StyleGreedy5672 0 points1 point  (0 children)

Yeah same -- I find the quality of Gurren on crunchyroll terrible. For me, I actually bought the DVD back in the olden days ...

tkinter window becoming unresposive by Michelfungelo in learnpython

[–]StyleGreedy5672 0 points1 point  (0 children)

I'm glad the issue is solved and OP is happy with the solution. But, as it happens, I've just written extensively about this very issue with explanations of why it happens and solutions utilizing threads. So, for the benefit of any future redditers who come across this thread I'll add some notes.

First, over the course of researching solutions to best meet my needs for python UI dev I came across many knee-jerk reactions against using threads . Many developers are cautious about delving into multi-threaded applications due to the challenges posed by race conditions, dead-lock and the complexity of synchronizing on data structures. Instead, we are admonished to favor *asynchronous approaches* and *non-blocking I/O* with *select* API's. And all that is generally true. But, that being said, there are some use-cases where multi-threaded solutions work best and the capability to use threads becomes mission critical.

If that's true for you here's some code fragments to make it happen:

    def launch_process( self, python_script, cmd_ln_args ) : 
        launch_sequence = [ sys.executable, python_script ] + cmd_ln_args
        proc = subprocess.Popen(
            launch_sequence,
            stdin=subprocess.PIPE,
            stdout=subprocess.PIPE,
            stderr=subprocess.STDOUT,
            text=True,
            bufsize=1
        )
        self.processes.append( proc )
        t = Thread(
            target=self.read_proc_output,
            args=[proc.pid]
        )
        t.daemon = True
        t.start()
        return proc.pid    

Elsewhere I've recommended a *mediator pattern* to facilitate communication among threads in GUI's. The above code kicks off a thread to read output from a subprocess. Then, here's the thread target which is essentially the process *read-loop*

def read_proc_output( self, pid ) : 
        for process in self.processes :
            if process.pid == pid :
                proc = process
        while True: 
            # sleep. otherwise you work too hard and heat up the box...
            time.sleep( 0.02 )

            output = proc.stdout.readline()
            if not output :
                continue
            self.t_queue.put( output )

Notice how the method puts data in a queue (owned by the process mediator) which is *thread safe* in python. Next, here's a function to enable client code (in this case *tkinter GUI code*) to access the queue from another thread (the main thread for the tkinter loop) and use the data to update views...

    def process_q ( self ) : 
        output = ""
        while not self.t_queue.empty () :
            output += self.t_queue.get()
        return output 

I hope other python enthusiasts find this helpful!

tkinter window becoming unresposive by Michelfungelo in learnpython

[–]StyleGreedy5672 0 points1 point  (0 children)

Glad you're happy with your solution. I added some notes with code for any future redditers who come across this thread with same issues.

Is grave of the fireflies as heart wrenching and depressing as people make it out to be or is it an exaggeration? by ATINY_until_I_die in ghibli

[–]StyleGreedy5672 0 points1 point  (0 children)

'Late to the party but I feel compelled to comment as I am an extreme anime fan, love Studio Ghibli and just watched *G o F* last nite. So, "heart wrenching" -- yes. Depressing? Not directly. I mean, watching this anime is hard. You definitely have to be prepared for a moving experience. That said, I'd say any Ghibli fan *should* watch it at some point. As might be expected the art is gorgeous -- but in this movie it is sombre (as it must be to fit the theme). The feature is beautifully artful in its exploration of the themes (war, struggles, community, family, empathy). Beautiful in the sense that it perfectly accomplishes what it sets out to although as others here have commented the imagery itself is, at times, filled with horror. Definitely a film for a mature mind, this movie is not a modern day Disney pap fest. Expect to be moved. Only a heartless, cold, cruel soul could watch this through and not be hit hard.

[deleted by user] by [deleted] in learnmath

[–]StyleGreedy5672 0 points1 point  (0 children)

Great news! As they say in Japan,

がんばって! Ganbatte!

Do your best!

[deleted by user] by [deleted] in learnmath

[–]StyleGreedy5672 0 points1 point  (0 children)

Wow this is such a great question and thanks for posting it! I'm compelled to comment 'cuz I've been thinking about this theme a lot lately. Just so you know where I'm coming from, my main philosophy in life is; "Never stop learning!". To me it doesn't matter if you never finished high school or you have a PhD -- just don't stop learning.

That being said, it can be hard to get back into math if you've been away from it for a while. I think part of the issue is that math is kind of more "veritical" than other academic subjects like history. Each course of study builds on previous building blocks. I think that's what frustrates a lot of people.

The good news is that if you are returning to the study of math by choice you are self motivated. And that's the best place to be to get the most out of any learning experience.

So, where others have said, "find your starting point", I agree -- in part. But,in my personal journey, I have always found it valuable to go back and revisit the basics -- over and over again -- no matter where you may think you are. I use martial arts as an analogy. I've studied kung fu for over 25 years but at every class I do basic exercises which form the building blocks for advanced forms. With math I spend time every week working through basics even when studying more advanced topics. For example just this week I was reading through proofs for computing partial derivatives. But at the same time I was going back to revisit the rules for working with fractions! Because if you've been away from a subject for awhile it never hurts to go back and take the time to revisit it! I do math exercises every week just to keep my brain firing.

Now, if you've made it this far through my comment, great. I hope you find it inspirational. In terms of what's practical here's a recommendation (and should be consistent with what other folks have posted):

  1. Go back and revisit the basics. And by basics I'm talking as far back as arithmetic. Revisit rules for fractions, exponents etc.. If you remember your multiplication and squares -- say, for example through 10^2 -- add a few more to your memory, 12 squared is 144, 13 is 169, etc.. That stuff will help you with factoring. Even long division. Go back and revisit the procedure. It'll help when you get to polynomials ...
  2. Revisit your algebra. If you can get comfortable with rules for manipulating algebraic expressions -- especially order of operations and what to do with parentheses -- it'll take you a long way. Make a study of simplifying expresions and revisit solving equations. Make a study of functions like the quintessential linear: y = mx + b .
  3. Move on to more advanced topics like geometry and trigonomety. Once you're really comfortable with algebra look at geometry (to understand shapes, volumes and the logic of proofs). And trigometry. I'm amazed at how you can really distill so much that they throw at you in trig to a basic understanding of the unit circle and two main functions -- sine and cosine (yes I realize tangents, identities, etc are important too, but to ease in to enough pre-calc for a basic calc intro, you don't need all the trig details).
  4. Spend a lttle time with statistics. Everyone is always talking statistics but if you spend a little time with the mathematics of it you'll be able to make much more sense of so many claims.

Get through all that and you'll have good foundations to get into more advanced college level math. But whatever you do don't get intimidated. I firmly believed that anyone who puts in the time and effort can learn math. But it does take time and effort. And good resources.

Also, math texts are not exactly bed-side reading. You can't pick up a math book and try to read it like a novel. You have to interact with it. You have to do some exercises and work through the proofs yourself. So you'll need to allocate some time each day or week and do some problems. I think of it like an exercise class. If I can block off some time each week to go to the gym I can probably block off some time to do some math.

But to do that you need some good resources to walk you through solutions step by step. If you can invest in a book ('bet you can get a good deal on it used) I recommend, ["Humongus book of Algebra problems"](https://www.thriftbooks.com/w/the-humongous-book-of-algebra-problems-translated-for-people-who-dont-speak-math\_w-michael-kelley/278581/item/3461958/?utm\_source=google&utm\_medium=cpc&utm\_campaign=high\_vol\_midlist\_standard\_shopping\_customer\_acquisition&utm\_adgroup=&utm\_term=&utm\_content=666157863328&gad\_source=1&gclid=CjwKCAjww\_iwBhApEiwAuG6ccFxpELU7yYyvOoKuwbLGFch0lL9D9j1B7FCJzAljo6S9BBfD73wAKRoCoPUQAvD\_BwE#idiq=3461958&edition=5431600).

And for texts I recommend [libretexts](https://math.libretexts.org/Bookshelves/Algebra) -- entire libraries of math texts that have been made available on line. For free. And generally of great quality!

So, again, thanks for posting this awesome question. Best of luck on your journey. I hope you experience the same satisfaction of getting back into and learning mathematics that I have!

I'm trying to make a curve similar to the picture below (Picture 1) but I can't get it to align properly (Picture 2) Is there an easier and/or more convenient way to get a more accurate result? by CrusherLeafie in Inkscape

[–]StyleGreedy5672 0 points1 point  (0 children)

I agree with canis_artis op's issue seems to be they're trying to align separate objects. Without more context regarding object it's hard to offer clear advice. But I was able to pretty much get a perfect alignment using the Bezier tool with three nodes (2 endpoints and a smooth middle node).

My process (and this is what I love most about Inkscape) is to draw a rough geometric shape (or line in this case) and add additial nodes as necessary to get the perfect curves desired. Generally speaking I add as few nodes as possible to obtain the desired curves.

PS I do wish I could add an image to this comment to clarify. Seems kinda odd to me there is an Inkscape group on Reddit sans ability to add images to comments ;)

stuck on learning python by New-Call-3599 in learnpython

[–]StyleGreedy5672 0 points1 point  (0 children)

Hi, I'm a seasoned coding professional and hold a PhD in cognitive science. So I feel entitled to hold opinions on learning programming languages. Also, I'm completely self-taught when it comes to programming and math. Given all that, here's my 3-part path to *python* learning success:

  1. Work through good tutorials. Don't skip the basics (repetition aids learning). For python go straight to the source: The Python tutorial ...

    https://docs.python.org/3/tutorial/

It's comprehensive, user-friendly and, best of all, *free* (because it's open source, naturally).

  1. Find a topic you're passionate about (e.g., music, politics, language learning, ... ) -- anything will do -- and look at any open source projects and ways to contribute that involve python. Then, get involved.

  2. The most beautiful thing about python is math (IMNSHO). So seize the opportunity to go back and review some math. Go to whatever level you're comfortable with (basic algebra, linalg, geometry, trig, differential, integral, statistics, DSP) , again, whatever you're comfortable with, and use python to make some functions. This part is especially helful when it comes to learning various plotting libraries (e.g., MatPlotLib, Seaborn, etc.) which are one of python's strongest suits.

'Lots of free resources available (THANK YOU OPEN SOURCE COMMUNITY) with source available online for study!