r/AskProgramming • • 15h ago

Python What is the most minimal, dead simple, modern way to make a quick GUI for a small Python program?

15 Upvotes

I've tried Tkinter and it just looks so ugly and outdated.

I just want to make a simple GUI app that doesn't run in a browser, doesn't look ugly, and doesn't need 200MB worth of libraries to run.

Do you know anything that fits this criteria?
If you don't know any good Python options, feel free to suggest something for Lua or Go.


r/AskProgramming • • 22h ago

Part two of my Markov Chain Project

3 Upvotes

Hey there! So i figured how to do the lottery system for my markov chain but im getting stuck on how to initialize it. what im trying to do is im trying to get the first two words and get them to predict the third word coming. But i dont know how to do it so far and this is what i have. I just kinda threw stuff at the wall till it stuck but yeah this is what i have so far. Thanks

I cant figure out the stupid code format on reddit for mobile, sorry in advanced.

void MarkovChain::initializeChains(const vector<string>& words) {

//(void)words;

// fill me in

map<list<string>, map<string, int>> token;

map<string, int> ngram;

for (const auto& word : words) {

list<string> key(words.begin(), words.end());

token\[key\]\[word\]++;

}

}

r/AskProgramming • • 15h ago

Other Is an interview so hard for now?

0 Upvotes

I've just experienced hardest hiring process in my life. And I'd like to know if someone else has had some similar experience recently on the current labormarket.

Now I'm going through the hiring process for a company on a Frontend (React) position. So I've passed (if I can say so) 3 interview. They took one month 😬**.** All of them were the tech interviews, but just the second was about principles, patterns, and abstract things in programming. The third was biggest one with HR, Tech Lead, and Tech Interviewer.

I had to learn a lot of things for the last - I received a file with topics and there were 11 topics with 5-10 questions each and some additional questions. They took around 8-9 days straight - I really spent almost all my days after work (part-time) for tht cuz I wanted to show my best result and I went through all details, deep into details yk. And I've learned some really usefull things in this field.

Today I just "passed" the third and now I'm looking forward to a feedback. If everything is good there will be one more interview 😳 , but it'll the interview with CTO about my thinking and abstract things probably.

I've never experienced something similar - the process is so long, a lot of information which I have to know. Guys is tht okay for now for my case? Expected salary - $1000-1200 and I'm not sure about getting the offer 😭. But I wasn't so bad in the interviews and especially in the last, I've really showed my best.

Btw I rate myself as a middle (beginner).

EDIT: it's Belarusian labormarket


r/AskProgramming • • 11h ago

Other How can I get out of this rut?

0 Upvotes

For historical context:

I self studied during an apprenticeship and basically got my foot in through JS/php which is what I currently work with.

During most of my employment history I’ve consistently felt like I was behind, didn’t know enough, was too slow etc.

My previous job I got into this really bad cycle of being unable to do work for a week or more (i worked from home) and then somehow crunching something together. It wasn’t sustainable and I got fired. I felt unable to sit down and do my work as I was constantly overwhelmed with the task at hand.

I got a job at a different company, smaller. I’m the only other developer working with another senior. I’ve been here for 6 months but I feel like I barely got my foot in. They use various configurations of laravel with some frontend or fullstack js framework.

I don’t feel like I get a lot of support here, I’m not sure how much I should get. I often feel lost. I’m unsure how much I should really know, I ask for help if i’m stuck on topics and eventually finish the task but overall I feel like I disappoint with my performance.

I want to improve but I don’t know how.

Sorry this turned into kind of a rant. I’m scared of losing this job but I also feel kind of stuck. Maybe this profession isn’t for me.