Arkouda

joined 1 year ago
[–] [email protected] 2 points 13 hours ago

Thank you for the detailed response and help! It is funny because I am actually working on learning the functions you are recommending (I am working through "Automate the boring stuff with python") and it is literally the chapter I am on now. haha

I do have plans to modify the translation in the future, which is why I set it up the way I did. But your recommendation is a lot cleaner than what I had in mind so I likely would have had a lot of redundant code even with my plan to add later.

This helps a lot, and again thank you for taking the time on this. I appreciate it!

[–] [email protected] 4 points 1 day ago

Sounds to me like if someone doesn't like my code, they have options! haha

I will likely look into things like that as I get more of my code out there, and I appreciate you taking the time to explain it.

I do see the point of the style guide, and I am learning it over time, but I will die on the hill of camelCase. haha

[–] [email protected] 30 points 1 day ago (1 children)

I still find music the old school way, either through people I know recommending it or hearing it randomly in my travels.

[–] [email protected] 4 points 1 day ago (2 children)

Thank you for looking it over!

I run my code using the idle python shell while I write, and then directly through my terminal when they are finished.

What benefit does running them through pylint or black offer?

 

I am learning both Greek and Python right now, so I decided to make a simple program that quizzes you on the translations by providing it in Greek and asking for English, and if you provide the English, it will output the Greek if it is in the dictionary.

Feel free to take and modify this for your own uses if interested! It would be as simple as replacing the Greek dictionary and references with anything else. :)

import random, sys

greekTranslation = {
    'Γεια σας': 'Hello',
    'Καλημέρα': 'Good morning',
    'Καλησπέρα': 'Good evening',
    'Ευχαριστώ': 'Thank you',
    'Παρακαλώ': 'Please',}

def practiceGreek():
    greekPhrase = random.choice(list(greekTranslation.keys()))
    print('')
    print(f'What is the translation of "{greekPhrase}"?')
    print('')
    answer = input('Your answer: ')
    if answer.strip().lower() == greekTranslation[greekPhrase].lower():
        print('')
        print('That is correct!')
        print('')
    else:
        print('')
        print(f'Incorrect! The correct translation is "{greekTranslation[greekPhrase]}".')
        print('')

def translateToGreek():
    print('')
    print('What would you like to translate into Greek?')
    print('')
    englishPhrase = input().strip().lower()
    reverseTranslation = {v.lower(): k for k, v in greekTranslation.items()}
    greekPhrase = reverseTranslation.get(englishPhrase)
    
    if greekPhrase:
        print('')
        print(f'The Greek phrase is: "{greekPhrase}"')
        print('')
    else:
        print('')
        print('I am sorry, I don\'t have that in my dictionary.')
        print('')
    
        
while True:
    print('Welcome to the Greek Practice Program!')
    print('')
    print('What would you like to do?')
    print('')
    print('[Practice] [Translate] [Exit]')
    print('')
    optionSelection = input().strip().lower()
        
    if optionSelection != 'practice' and optionSelection != 'translate' and \
       optionSelection != 'exit':
        print('')
        print('Please select either practice, translate, or exit')
        optionSelection = ''
        print('')

    if optionSelection == 'practice':
        while optionSelection == 'practice':
            practiceGreek()
            print('')
            print('Would you like another? [yes] [no]')
            print('')
            selection = input().strip().lower()
            if selection == 'yes':
                print('')
                continue
            else:
                print('')
                break
                
            
    elif optionSelection == 'translate':
        while optionSelection == 'translate':
            translateToGreek()
            print('')
            print('Would you like to translate another phrase? [yes] [no]')
            print('')
            selection = input().strip().lower()
            if selection == 'yes':
                print('')
                continue
            else:
                print('')
                break
        
    
    elif optionSelection == 'exit':
        print('')
        print('Thank you for using the Greek Practice Program!')
        print('')
        sys.exit()

[–] [email protected] 7 points 2 days ago (1 children)

I wasn't able to find any 3rd party sources verifying this.

[–] [email protected] 28 points 2 days ago

This is fucking terrifying.

We need to deal with these people yesterday.

[–] [email protected] 16 points 2 days ago* (last edited 2 days ago) (3 children)

I say this with the express purpose to "Knock some sense into you", and in no way intend this to be offensive to you:

You are not ready for a relationship. That is clear from your behavior, and emotional state. You need help if you have reached this point in life, and have no understanding that you aren't the center of the universe. This is clear because you "allow" yourself to disconnect from them when you need time, and lose it when they have time with others.

This is an incredibly toxic way of being, and you should not "work on yourself" in the course of a relationship knowing how unstable your emotions are, and how immature your thinking process' are.

All of that to say:

  • Yes, you should prioritize being alone right now. Not isolated, but single. Have friends, don't pursue romantic relationships.

  • Find hobbies you enjoy and get good at them. Read books. Make yourself a person who you like to be around.

  • Talk to someone you trust about how you are feeling. This is important. Ask for help dealing with these emotions and thoughts. If no one in your life can do it, seek a counselor. They can help you gain the skills needed to deal with your thoughts and emotions.

When you are done working on yourself, and you are able to be comfortable being alone, then you can start thinking about romantic relationships.

Right now this situation is not good for you or her, and it is best to hit the brakes and get yourself together first.

[–] [email protected] 1 points 2 days ago

He has given no indication of it, and it is currently canceled.

"To support those negotiations, the Minister of Finance and National Revenue, the Honourable François-Philippe Champagne, announced today that Canada would rescind the Digital Services Tax (DST) in anticipation of a mutually beneficial comprehensive trade arrangement with the United States."

https://www.canada.ca/en/department-finance/news/2025/06/canada-rescinds-digital-services-tax-to-advance-broader-trade-negotiations-with-the-united-states.html

Seems that the rescinding of this legislation is tied to a "mutually beneficial and comprehensive trade arrangement" demonstrating that the DST is not currently completely off the table. In fact, the legislation to rescind it hasn't been tabled yet.

"The June 30, 2025 collection will be halted, and Minister Champagne will soon bring forward legislation to rescind the Digital Services Tax Act."

What information do you have that says we won’t institute the DST in the future if no deal is reached?

[–] [email protected] 1 points 2 days ago

I don't honestly believe it is possible to ever truly "know yourself", so I would say all traits are unknowable.

The reason I say this is because one doesn't ever know how they will react in any given situation until it happens. One can train, one can prepare, but until they are in an exact situation with exact circumstances one cannot declare with certainty what they will do.

I do not believe in free will as well, so that is another point against "knowing yourself" for me as all "you" are is an observer to the experiences that aren't controllable in the first place.

That is not to say that one cannot predict with some accuracy how they will behave, but with so many unknown factors involved with simply existing (like the fact that we forget things that happened and remember things that didn't; Can be impacted by unknown emotional states; etc), I do not believe anyone can be certain of themselves even with detailed notes and 3rd party help.

[–] [email protected] 11 points 2 days ago (1 children)

Nuclear weapons are the single biggest mistake humanity has ever made next to the Industrial revolution.

We still fight horribly bloody wars even with the threat of nuclear annihilation. It is obvious that nuclear weapons do nothing but make everything worse, and the materials used to create them would be better used for energy generation.

If we were smart we would decommission every weapon on the planet and ensure no group or person can make another one, and put the materials to a better use.

[–] [email protected] 0 points 2 days ago (1 children)

I am guessing they are referring to the education programs under UNRWA that allegedly were unaltered and issued by the Palestinian Authority which promoted and instilled hate of Israelis.

If anyone is interested in the details surrounding that entire situation.

https://www.unrwa.org/unrwa-claims-versus-facts-2025

[–] [email protected] -1 points 2 days ago (2 children)

What information do you have that says we won't institute the DST in the future if no deal is reached?

 

To elaborate a little:

Since many people are unable to tell the difference between a "real human" and an AI, they have been documented "going rogue" and acting outside of parameters, they can lie, they can compose stories and pictures based on the training received. I can't see AI as less than human at this point because of those points.

When I think about this, I think about that being the reason as to why we cannot create so called "AGI" because we have no proper example or understanding to create it and thus created what we knew. Us.

The "hallucinating" is interesting to me specifically because that seems what is different between the AI of the past, and modern models that acts like our own brains.

I think we really don't want to accept what we have already accomplished because we don't like looking into that mirror and seeing how simple our logical process' are mechanically speaking.

view more: next ›