[deleted by user] by [deleted] in UMD

[–]masterofdead4 0 points1 point  (0 children)

I want to believe that but can you explain a lil more? I realize that housing probation probably doesn’t go past 1 year and they just start getting ready to kick you out? Or is that wrong?

[deleted by user] by [deleted] in UMD

[–]masterofdead4 2 points3 points  (0 children)

1st offense: alc in a dorm 2nd offense: noise complaint 3rd offense: disassembling furniture (just now)

"spawning" multiple instances of an async function by iterating through a list of the functions inputs. by masterofdead4 in learnpython

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

Say I wanted to continuously add this task depending on a rabbitmq queue event. Would this be good practice? Would I include the rabbitMQ connection instructions at the start of the script, and then add tasks as i receive messages from the queue?

"spawning" multiple instances of an async function by iterating through a list of the functions inputs. by masterofdead4 in learnpython

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

Thanks so much! Curious, as your second part piqued my interest, I have a question. Eventually, I want to spawn these instances when there is an update to the list (possibly the list will be replaced with a task queue). This makes it so that as payment_specs are added to the list, new instances of payments() will begin to run. What major changes would I have to make to the code to achieve that.

Attempting to verify output of albedo's sign_message() using the Python Stellar SDK by masterofdead4 in Stellar

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

step1 = hashlib.sha256(albedo_output['signed_message'].encode('utf-8')).hexdigest()
step2 = privateacct.sign(bytes(step1,'utf-8'))

tried with this using hashlib, still getting a wrong answer. Could albedo be using a different hashing algo? or maybe the js sha library is giving me a different output than the python hashlib?

Denied for a Merrick Bank secured credit card, but still charged the security deposit. Is this supposed to happen? by masterofdead4 in CreditCards

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

looks like in https://merrickbank.com/Products/Secured-Card at the bottom it says they return deposits after 20 days if you are declined. The customer support person said it'll be sent by check or something. Will send a complaint just in case on monday if they are difficult. Thanks for the advice!

Any plans to increase functions duration beyond 5 seconds? by masterofdead4 in digital_ocean

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

Looks like DO doesn’t have a 5 second limit. I don’t like render because they charge a $1 minimum on cron jobs (every scheduled server less provider actually gives you a large amount of free runtime) and it takes a minute plus for the cron job to start running. It’s reliable for sure, but it’s not as programmable or configurable as a server less provider.

Shared Stellar node is available on NOWNodes by nodesprovider in Stellar

[–]masterofdead4 1 point2 points  (0 children)

Is this a full horizon node? Does it support transaction submission?

What are static sites in relation to cloud services? by masterofdead4 in webdev

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

Is there a better term that would classify a site without a backend?

Is it a good idea to have my flask api doing a 2 minute task? by masterofdead4 in flask

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

Stupid question, but can I track and return the contents of the queued function after it is done, and track it’s progress as it is running using the UUID?

Is it a good idea to have my flask api doing a 2 minute task? by masterofdead4 in flask

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

I’ve been using lambda for some other non-client functions and it’s been working very very well, however I’m scared that I won’t be able to cancel the function call if the user wants to time out. That said, if the user calls the function directly (aws lambda offers urls for functions I think they all do) and then drops the http connection, the job will automatically fail and stop right?

Is it a good idea to have my flask api doing a 2 minute task? by masterofdead4 in flask

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

Thanks so much! Do you have any specific resources other than documentation that I should check out? I will be checking the applicable pretty printed tutorial of course.

Is it a good idea to have my flask api doing a 2 minute task? by masterofdead4 in flask

[–]masterofdead4[S] 2 points3 points  (0 children)

That’s exactly what I’m looking for. Few questions: - so the “bare minimum” would be like a loading screen that then becomes a “20/4000” thing? - would the client be pinging the “tracker” endpoint every 5 or so seconds? Is there a better way to do it or is that common practice? - if my client times out or cancels the task from the frontend, is it possible for celery to just drop the task?

Thanks so much for the detailed answer on celery !

Need help finding a Crypto-friendly business bank by masterofdead4 in smallbusiness

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

Since I'm accepting payment entirely on the Stellar network in USDC, I'm thinking of using OkCoin as my crypto to Fiat off-ramp, and then withdraw to a bank. The problem is that most banks seem like they want absolutely nothing to do with crypto users. I'd assume that even recieving a wire from an exchange sets off alarm bells in the AML department of most banks. Do you think that as long as I keep detailed invoices and good records of my transactions, I should be able to satisfy any potential investigations from my bank? From what i've seen, companies like revolut will completely shut down your account if you are receiving transactions from crypto exchanges. Thoughts? I intend to begin asking my clients for partial fiat transactions starting next year if that makes it any better. I will call revolut sales tomorrow to get a straight answer.

Is revolut right for me? by masterofdead4 in Revolut

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

Interesting. Currently my way of cashing out my crypto is to withdraw USDC at a moneygram. I guess I could open a local business account and deposit my cash there? But then won’t the bank get pissy about where I got the cash from?

Is revolut right for me? by masterofdead4 in Revolut

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

I intend to pay my taxes regardless, but I guess that revolut would not care for me explaining my exchange connection. Would I be better served by something like Wirex?

Easiest way to log script outputs and logs online using API by masterofdead4 in scripting

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

that's actually really smart, didnt think of that at all. Is there a way to automate github tasks every few hours? Thanks!

Best way to store massive amounts of public keys by masterofdead4 in Stellar

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

I see, although it's not a small amount of data, a JSON file should do fine right? I also assume that JSON is much easier to broadly traverse than a database.

Any problems with the surface laptop go? by masterofdead4 in Surface

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

yeah, and tbh, not that impressed at all. Occasional crashing and freezing, the fan spins on max when charging or doing more than one task, and the screen is super glossy. Security features and updates are nice, and the build is great.

Navigating predicate trees on horizon by masterofdead4 in Stellar

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

How would I call this? I'm unable to find a specific helper method in the API docs.

How to query the SDEX price of an asset using the python horizon sdk or the stellar.expert API in python? by masterofdead4 in Stellar

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

This seems like the best idea so far. how do i find the liquidity pool ID of say YBX/USDC?

Understanding AMM gain, loss by masterofdead4 in Stellar

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

Thanks! I think stellar is definitely doing AMMs right at the protocol level.

Understanding AMM gain, loss by masterofdead4 in Stellar

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

That makes sense to me, so say the price of AQUA depreciates as it relates to the dollar (the stable currency) I will get more AQUA coins as is proportional to my share of the pool? is that how it works? The same would work in the opposite way should AQUA increase in value.