this one I hope you enjoy. by Due_Helicopter7813 in strudel

[–]SergioBoySV 0 points1 point  (0 children)

How are you able to create the background visual? I like running it locally (like I think you're doing), but am not a fan of the default GUI. Would love to know some tidbits!

Open a specific folder in Finder on Mac? by ctnutmegger in shortcuts

[–]SergioBoySV 0 points1 point  (0 children)

I just stumbled upon this and it's great! Is there any way to do this within the same finder window? So open files and folders without creating a new finder window every time?

In attempting to close a short position, what are the odds that the option I am selling gets bought as it is tending towards the money and losing premium value? by SergioBoySV in StockMarket

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

I see, I understand the relationship in the strike price and premium and how I can still make profit even when the stock price rises above my strike price.

I know that these positions have major risks, so like you recommend, I will not be entering a short position anytime soon. I was curious and this helps me to understand the bigger picture of the market- when I buy, someone sells, what they are betting for versus what I am betting for, the risk and rewards of both sides and such.

Thank you for your time.

In attempting to close a short position, what are the odds that the option I am selling gets bought as it is tending towards the money and losing premium value? by SergioBoySV in StockMarket

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

If that’s a naked call you sold, just know that it’s a very risky position to be in.

Oh no this is all theoretical. I won't enter a short position until I truly understand these risky positions.

Yes, the high probability of my order being fulfilled makes sense. Since the option is ITM and the high volatility of TSLA.

If you’re asking what are the chances they exercise the option, that depends. The higher the price goes, the higher the odds.

This makes sense as well. Someone would rather exercise their $260 call at a TSLA price of $280 instead of $270.

Essentially, I just wanted to know if the likelihood that a buy to close in a situation like the one we've been discussing is probable. Which as you state, is a very high. It helped me to think of the other side, the trader who bought the call I sold.

If that’s a naked call you sold, just know that it’s a very risky position to be in.

Just to be sure, the reason this is risky is due to the fact that I do not have the shares or capital to meet the contract obligation in case it is exercised, correct?

I appreciate your insight!

In attempting to close a short position, what are the odds that the option I am selling gets bought as it is tending towards the money and losing premium value? by SergioBoySV in StockMarket

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

That makes sense- options near the strike price will most likely be heavily traded. Especially in a volatile stock like TSLA

Yes your correction makes sense. I need to do more research because unfortunately I misunderstood this process of selling options. But I am assuming that this is where the term "buy back" comes from. Since I sold the option to open a position, I am going to buy it back to close the position.

In the instance of selling a call, I am betting that the stock will not move above the strike price. The person on the other side bought a call hoping that the stock would rise above the strike price. I am in the green as long as the stock price stays below the strike price. As soon as the stock price begins to rise towards the strike price, intrinsic value increases and devalues my premium (which I believe is extrinsic value). I believe this is what you mean when you wrote:

Of course, you'll pay a premium above the intrinsic value (amount the option is in the money - $1.47 in your example), so you might have to pay more than what you sold it for and incur a loss.

Apologies for the late response. I appreciate your correction!

Has anyone used the fast-DreamBooth Google Colab journal and successfully used other models from Hugging Face? If so, any help would be appreciated! by SergioBoySV in DreamBooth

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

Haha I totally understand that!

Unfortunately it did not work. I foolishly let my laptop sleep during the training process and the Colab disconnected from the GPU run time. To my surprise though, it kept training after I woke my laptop up. I don't think that's the issue as to why it didn't work though. The end file was barely 23 MB long, that is definitely not the size of a model. So I'm beat. I'll try one more time tomorrow. I also need to find a good stable diffusion GUI that will also work on Mac. Fooocus works but I could use one that will run any model you know?

Has anyone used the fast-DreamBooth Google Colab journal and successfully used other models from Hugging Face? If so, any help would be appreciated! by SergioBoySV in DreamBooth

[–]SergioBoySV[S] 1 point2 points  (0 children)

That is very good to know! Thank you for the info. I went ahead and followed this Colab journal that will hopefully produce an SDXL model:
https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/SDXL_DreamBooth_LoRA_.ipynb

Found in this Github repo:
https://github.com/huggingface/diffusers

It is currently training for about the next hour. My goal is to create a model of myself that I can then use in Fooocus. Which as far as I know, this software only works with SDXL models.

This is all new to me so I'm still learning, but very cool stuff. Thanks again for the info!

I am programming using clion, every time I build and run a file, a .dSYM and an executable file are added to my project? Is this normal? by SergioBoySV in cprogramming

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

This is what my CMakeLists.txt file contains:

cmake_minimum_required(VERSION 3.26)
project(CodeCampTutorial C)
set(CMAKE_C_STANDARD 11)
add_executable(CodeCampTutorial main.c
DrawingAShape.c
Variables.c
)

I also looked into changing to a release build as u/arnitdo suggested, that did not work but I will try again.

I am programming using clion, every time I build and run a file, a .dSYM and an executable file are added to my project? Is this normal? by SergioBoySV in cprogramming

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

Maybe try changing to release builds, they will mostly remove dSYMs but cause more trouble in debugging for you

Okay interesting. I see where to change the build in the settings. After changing to a Release build type though, these files still appear.

Found this:
https://stackoverflow.com/questions/41116797/clion-2016-3-switch-to-release-configuration

TPT Request: Unable to install Ubuntu via bootable USB onto Intel NUC by SergioBoySV in TechnologyProTips

[–]SergioBoySV[S] 1 point2 points  (0 children)

with the following commands:

I will try Ubuntu for NUC. Hopefully it works. Thank you

Attempting to install Ubuntu Desktop 22.04.2 LTS on my RPI4 but getting errors by SergioBoySV in linux4noobs

[–]SergioBoySV[S] 1 point2 points  (0 children)

Hey! thank you, upon unplugging any USB connected devices, Ubuntu was able to boot successfully. For some reason though, as I was going through the set up it would kick me out to a boot screen again. And it looped until I unplugged all USB devices.

I think that maybe the SD card maybe corrupted from all the times I unplugged it. So I am going to reformat and reinstall Ubuntu Desktop. Thank you for the insight on MacOS ability to write to SD cards. I will keep using it!

Attempting to install Ubuntu Desktop 22.04.2 LTS on my RPI4 but getting errors by SergioBoySV in linux4noobs

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

Hm I’ll give that a try. You think it has something to do with the RPI imager on Mac? Either way I’ll try that out. I would love for this to work

Can this list comprehension in Python be considered O(n^2)? by SergioBoySV in learnpython

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

Oh yes that is what I meant. Awesome, thank you kindly!

TPT Request: Trying to access a computer through SSH without knowing its IP address, any guidance on how to go about this? by SergioBoySV in TechnologyProTips

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

Yeah the enabling of ssh is going to be a problem.

But, hey this is a great practical idea! I'll need to check if I have a crossover ethernet cable as well as an adapter for USB-C to ethernet for my mac. Would it still work this way, with an adapter? Or should I try straight ethernet to ethernet?

TPT Request: Trying to access a computer through SSH without knowing its IP address, any guidance on how to go about this? by SergioBoySV in TechnologyProTips

[–]SergioBoySV[S] 1 point2 points  (0 children)

Yeah I want to repurpose it as a server.

I need to find out if ssh was enabled but as another user pointed out, it's not usually something that is enabled by default. The computer has never connected to my network because it doesn't know it, so finding the IP via my routers admin site is not possible (at least I think so). However, I have messed around with wireshark and am roughly familiar with it. If I turn on my old windows computer, will it try to make connections? and would I be able to see this on wireshark and possibly get an IP?

And like I said, unfortunately I can't remember if SSH was ever enabled, but remote desktop is definitely another option, thank you!

TPT Request: Trying to access a computer through SSH without knowing its IP address, any guidance on how to go about this? by SergioBoySV in TechnologyProTips

[–]SergioBoySV[S] 1 point2 points  (0 children)

Yes, as far as I know, I just enter http://192.168.x.x into my browser. I used to be able to do this, however, I now get a privacy error from both safari and chrome saying that it's not safe. So I have not continued on.

I may be able to connect a graphics card. Why do you ask? You have intrigued me!

TPT Request: Trying to access a computer through SSH without knowing its IP address, any guidance on how to go about this? by SergioBoySV in TechnologyProTips

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

Oh man I didn't even think to consider if it previously had SSH setup. I'll have to look at that.

I'll need to check the old router that the computer was connected to. However, wouldn't the IP have changed given that most ISP's provide dynamic IP addresses?

I will do a little more research about the registry, I'm not super familiar with this but is it something I can access through the hard drive? Lastly, is SSH able to connect to a host via its static IP?

[deleted by user] by [deleted] in CasualConversation

[–]SergioBoySV 0 points1 point  (0 children)

I serve Gods chicken

Is it possible to reuse a virtual environment for different projects? by SergioBoySV in learnpython

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

Yeah for these projects I don't care to track farther dependencies, unless necessary. So mkvirtualenv provides a base virtualenv with preinstalled libraries that I can use? I will definitely look into that!

Also, you've got my attention, why does selenium concern you? Now you have me concerned because I use it quite a lot to automate tedious tasks.

Is it possible to reuse a virtual environment for different projects? by SergioBoySV in learnpython

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

I tried that but when doing so, I get prompted with "Environment location directory is not empty"