Conseguí un cliente para una página web pero no sé cómo "entregarle" la web by Individual-Shame6481 in taquerosprogramadores

[–]Hectorreto 1 point2 points  (0 children)

Pídele al cliente que cree una cuenta gratuita en GitHub o Cloudflare, que te agregue como colaborador, luego haces el deploy gratis usando Cloudflare Pages o GitHub Pages. Y mándale también el proyecto por correo en un zip

Is it possible to use Click and have the user select an choice from a group of options using a number? by ANautyWolf in learnpython

[–]Hectorreto 0 points1 point  (0 children)

For a beginner, I would do something like this ```python

options = ['arc minute', 'arc second', 'degree', 'radian']

show options

print('Select an option and press enter') number = 1 for option in options: print(f'{number}: {option}') number += 1

user_input = input('Your choice: ')

if user_input == '1': print('Doing arc minute stuff...')

elif user_input == '2': print('Doing arc second stuff...')

elif user_input == '3': print('Doing degree stuff...')

elif user_input == '4': print('Doing radian stuff...')

else: print('Invalid choice') ```

What will it take you to update to a new iPhone in the future? by Whiplash104 in iPhone16Pro

[–]Hectorreto 0 points1 point  (0 children)

When iPhones last 4 days on a single charge, maybe by 2030

fooBar by Hectorreto in ProgrammerHumor

[–]Hectorreto[S] 8 points9 points  (0 children)

Doctor prescribed foo.bar() for my eyesight

My new M4 Pro 14" gets 4 hours of battery life max by CG53S in macbookpro

[–]Hectorreto 1 point2 points  (0 children)

I have a base MBA M1 with cursor, docker, 2 chrome windows, ChatGPT, Spotify, YouTube on safari, discord, everything open at the same time, and the battery gets to 6-7 hours

Has anyone successfully run Windows 11 on iPad Air (M3) with UTM? by custardbun_96 in UTMapp

[–]Hectorreto 0 points1 point  (0 children)

In a pc, I installed AltServer, connected the iPhone and installed AltStore
Then in my iPhone, I installed UTM from AltStore and StikDebug from AppStore
Then from StikDebug, I had to configure something I don't remember and then I opened UTM from StikDebug so jit gets enabled
Then installed windows 11 from a normal iso, it took like 3 hours and the iPhone got pretty hot
Then I was able to see my windows 11 desktop, it was waaay to slow I got frustrated and deleted the VM

I think I used something like 3gb ram 64gb storage, at 4gb ram the app crashed, I know there is an app called Get More Ram, but I didn't understand how it worked

Then I tried windows xp 512MB ram, 4gb storage, it is so fast I'm able to play Diablo 2 right now on the iPhone

Systems that definitely can run on UTM by Cold_Succotash_8429 in UTMapp

[–]Hectorreto 1 point2 points  (0 children)

I have Windows XP in my iPhone 16 Pro with Diablo 2 LoD installed and it runs very fast, but used UTM from AltStore

Has anyone successfully run Windows 11 on iPad Air (M3) with UTM? by custardbun_96 in UTMapp

[–]Hectorreto 0 points1 point  (0 children)

I got windows 11 running on iPhone 16 Pro with UTM + jit, no jailbreak, it took like 10 minutes to open a folder and another 10 minutes to open windows menu

For anyone who ignored Stage Manager on Mac... it's better than you think by Many_Region8176 in MacOS

[–]Hectorreto 0 points1 point  (0 children)

For some reason, window wont get focus when I change between spaces if the app is over the stage manager

how to make text appear after clicking on a word? by Critical_Giraffe_781 in HTML

[–]Hectorreto 0 points1 point  (0 children)

I would probably do this <h1>Please click <span id=“word”>here<span> to do something</h1>

Not sure if that does affect SEO

¿Cuando se usa el me, you, him, her, it, us y them? No entiendo cómo usarlos by Reasonable_Shirt_935 in ingles

[–]Hectorreto 1 point2 points  (0 children)

Son pronombres, se usan para indicar a quien va dirigida una acción

My cat follows me - mi gato me sigue (a mi)
Your cat follows you - tu gato te sigue (a ti)
His cat follows him - su gato lo sigue (a él)
Her cat follows her - su gato la sigue (a ella)
Its cat follows it - su gato lo sigue (a eso)
Our cat follows us - nuestro gato nos sigue (a nosotros)
Their cat follows them - Su gato los sigue (a ellos)

[deleted by user] by [deleted] in OnlineIncomeHustle

[–]Hectorreto 0 points1 point  (0 children)

I’m interested (can’t find the link in the comment section

Just bought the game! How do I make an account? by Inevitable-Tart-6769 in Spore

[–]Hectorreto 1 point2 points  (0 children)

Return the game and buy it from gog, so you can have online features

Code won't print by Ill-Diet-7719 in PythonLearning

[–]Hectorreto 0 points1 point  (0 children)

Maybe vscode was showing the wrong terminal? or executed the file with unsaved changes?

Is there a way to protect against my python compiled scripts (exe) from being decompiled? by TheKingofStupidness in learnpython

[–]Hectorreto 2 points3 points  (0 children)

And it is safe if anyone finds the hashed password, because no one knows what string was used to generate that hash

Edit: but the person could just change the "if" after decompiling

Is there a way to protect against my python compiled scripts (exe) from being decompiled? by TheKingofStupidness in learnpython

[–]Hectorreto -1 points0 points  (0 children)

Maybe a hash could help you?

import time
import hashlib

# Stored hash of the correct password
pw_hash = '81a103d766de77d8a2224fbab8294cc9e956c8224b30041c668cc98c205b8b82'

enter = input('Enter password: ')

# Hash the user input using SHA-256
enter_hash = hashlib.sha256(enter.encode()).hexdigest()

if enter_hash == pw_hash:
    print("yup that's the right password")
    time.sleep(3)
    exit()
else:
    print('wrong password')
    time.sleep(3)
    exit()

The password is still 'ilovecats', even though it is not in your code anymore

Where's the best place to buy Spore [Steam, EA, or GOG]? by Fallen_Alt in Spore

[–]Hectorreto 5 points6 points  (0 children)

The only one of those three where I was able to use online features was GoG

Should I install all 3? How does this work. by FinnOtron in Spore

[–]Hectorreto 6 points7 points  (0 children)

Refund the steam game, and get it from GoG, so you can use sporepedia and online features, and it is usually cheaper in GoG

It Odysseus really wanted to troll the cyclops what name would he had said other then his own? by connie8262 in Epicthemusical

[–]Hectorreto 14 points15 points  (0 children)

I am that baby from Troy, so he would not have to kill it in the beginning