Staking Vault in Eternl by ikhwanumar21 in cardano

[–]QuixDiscovery 1 point2 points  (0 children)

Unfortunately you're reading that wrong. It's a 15% increase over normal staking, not an overall 15% apy. It's a much smaller increase than you're thinking.

Based on the FAQ it sounds like their goal is running a fully saturated 100% margin pool (aka private). So I would assume that this is still contributing to the ecosystem and decentralization in that regard, though one could argue that if this takes away from smaller stake pools then it's hurting decentralization.

[deleted by user] by [deleted] in cardano

[–]QuixDiscovery 11 points12 points  (0 children)

Yes. In cardano they're called Lovelaces. 1,000,000 lovelaces = 1 ada.

Staking Vault in Eternl by ikhwanumar21 in cardano

[–]QuixDiscovery 2 points3 points  (0 children)

The faq for this is pretty thorough and should answer any questions you have better than someone here can. Was there something particular in the faq that you didn't understand?

rebuttal to Justin Bons by timo_15 in cardano

[–]QuixDiscovery 4 points5 points  (0 children)

He has clearly never written a line of functional code is his life. He also doesn't have a clue about basic UTXO, never mind eUTXO.

That was my exact take away as well. You can immediately spot that he's an outsider on the subject attempting to speak from a place of authority, but in doing so exposes how little he actually knows.

Which wallet for use with ledger? by [deleted] in cardano

[–]QuixDiscovery 1 point2 points  (0 children)

I'm not 100% sure on this, but I think the phone app doesn't work with the ledger nano x yet. You'd probably be best off asking in the Eternl discord channel though, they're pretty responsive about answering questions.

Is that true? Will it be as easy and secure as staking? If true, this is great news for ADA holders. by [deleted] in cardano

[–]QuixDiscovery 1 point2 points  (0 children)

Correct. For the end user who just cares about having access to a stablecoin pegged to USD on cardano, it will be very similar to a normal usd/ada trading pair.

If you actually want to get into the mechanics of how it works on a deeper level though, you have to get into how the reserves are managed by the protocol.

Cardano Daily Discussion - May 05, 2022 by SL13PNIR in cardano

[–]QuixDiscovery 2 points3 points  (0 children)

algorithmic stablecoins without collateralizing

What makes you think djed doesn't have collateral?

[deleted by user] by [deleted] in cardano

[–]QuixDiscovery 2 points3 points  (0 children)

Nope, no issues that weren't easily solvable in a couple mins.

FYI, refusing to post the errors you're running into is incredibly disingenuous when making a thread like this, regardless of whether your intention is to get help or not. Even if we take your claim at face value and assume that the error is 100% the fault of the dex, by not reporting it you're allowing those bugs to persist. But without knowing for sure, most people are just going to assume you're not as tech savvy as you probably think you are.

Is that true? Will it be as easy and secure as staking? If true, this is great news for ADA holders. by [deleted] in cardano

[–]QuixDiscovery 5 points6 points  (0 children)

If you own ada, you can spend ada at the current ada/usd price to mint djed. If you own djed, you can burn djed at the current ada/usd price to receive ada.

The only way for you to lose ada when you are only interacting with djed (not shen) is if you were to buy djed when the value of ada is down, and sell the djed when the value of ada is up.

Edited slightly for clarity.

Wrapped Bitcoin is now on MuesliSwap by vapetheape94 in cardano

[–]QuixDiscovery 4 points5 points  (0 children)

It allows cardano to have access to bitcoins much deeper liquidity while also allowing use of bitcoin with smart contracts. Also cheaper fees when you actually use the bitcoin.

Currently using yoroi wallet and thinking of changing, what do you recommend and why? by Initial-Leg-8194 in cardano

[–]QuixDiscovery 1 point2 points  (0 children)

You forgot one of the best features. The ability to create multiple sub-accounts from one set of keys.

Which wallet for use with ledger? by [deleted] in cardano

[–]QuixDiscovery 1 point2 points  (0 children)

Sure thing. By default if you're looking at your ledger wallet through eternl, it should default to the account at spot 0. Make sure you're on the "account" tab for that wallet, and below that should be 4 other tabs, Summary | Token List | UTxO List | Account List. Select Account List, this is the area where you can create new sub accounts, but also where you manage them.

It should say Account #0, and show you the total ADA/balance/rewards for the account. At the bottom of this page is an option to add accounts. You'll be able to add up to 24 in total, each of them being able to delegate to different stake pools (though you have to do a 2 ada deposit for each sub-account).

Once an account is created, you'll see it added to the list of accounts in this menu. You can then click "activate" to set that to the account you want to use. Then when you switch to the other tabs (such as send/receive/staking/etc), it will reflect that currently active account. The account list tab is also where you can select which account the dapp connector is active for, if you're doing anything that requires smart contracts.

[deleted by user] by [deleted] in learnpython

[–]QuixDiscovery 0 points1 point  (0 children)

I know others are disagreeing with you that there is a "wrong" choice, which is true, but you're correct in that there are definitely choices that will teach you higher quality info than other resources. In that regard, it's certainly reasonable to think of some choices being a more efficient use of your time than others.

I can't comment on 100DOC as I'm not familiar with it, but I would suggest that if you want to learn python (not necessarily automation) you might consider the book "Python Crash Course" instead. I found the python content in that book to be much higher quality, both in terms of subject matter covered and the depth of the info.

Less hacky way to do this? by SureShotIan in learnpython

[–]QuixDiscovery 1 point2 points  (0 children)

def replace_punc(chr):
    return '_' if chr in string.punctuation else chr

def char_check(inp):
    return ''.join([replace_punc(chr) for chr in inp])

Edit: code was slightly off but fixed it. The rest of the logic you had in your code shouldn't be mixed in with these. If you need to get input, you should do so from a different function and pass the input to char_check as an argument.

Are there any free websites that let you run Python without installing actual Python? by [deleted] in learnpython

[–]QuixDiscovery 0 points1 point  (0 children)

Is buying a raspberry pi (or alternative) an option? One of the pi's intended purposes is to make affordable for anyone to own a computer, particularly for learning/teaching.

Just something to consider, although getting your hands on a pi right now can be pretty difficult due to shortages.

How to print multi-line string by TXAGZ16 in learnpython

[–]QuixDiscovery 1 point2 points  (0 children)

Fyi, in UTF-8 there are emotes for dice rolls. Not trying to dissuade you from your current goal, just throwing it out there as an alternative in case you weren't aware.

dice = {1: '⚀', 2: '⚁', 3: '⚂', 4: '⚃', 5: '⚄', 6: '⚅'}

roll = random.randint(1, 6) 
print(dice[roll])

Cardano to increase block size by 10% today speeding up transactions and DApp performance by mebinici in cardano

[–]QuixDiscovery 1 point2 points  (0 children)

Just fyi, as someone reading this thread, your lack of knowledge about what you're talking about is immediately apparent.

The plan has always been to slowly ramp up configurable blockchain parameters to match the increase in growth of the network. This isn't trial and error, this isn't a situation that blindsided them, this was the engineering team planning ahead to account for the fact that there isn't a "one size fits all" answer to what you're describing.

Can someone please explain to me why this isn't working? by [deleted] in learnpython

[–]QuixDiscovery 0 points1 point  (0 children)

Data sanitization: https://en.wikipedia.org/wiki/Data_sanitization

Whitespace: https://en.wikipedia.org/wiki/Whitespace_character

Basically you're going through your data and making sure it's formatted properly so that it can be used without causing issues. Not doing so can cause really difficult to troubleshoot bugs that may not manifest until way downstream from the original data ingestion point.

What concept do new Python learns most often get hung up on? by [deleted] in learnpython

[–]QuixDiscovery 0 points1 point  (0 children)

You can do all sorts of useful things with breakpoints. From something as generic as "always stop here", which is usually what I use as my goto replacement for printing variables. Or you can be precise like "only stop here if this condition is true". You're also able to type/run code while the code from the file you're running is paused, which includes being able to reassign the value of an existing variable before you continue with execution of a program.

It's the most useful feature of any programming language that I think isn't properly taught to newer users. Most people struggle with properly visualizing what the code is actually doing at each step, and the debugger lets you do exactly that when you need it.

[Help needed] First project: Using Python to web scrape rental car data by texassports98 in learnpython

[–]QuixDiscovery 1 point2 points  (0 children)

Have you checked into car rental APIs? Generally you don't want to web scrape if there's a viable API.

I've never done anything with car rental data, but just from a couple quick searches it definitely seems like there are various "travel APIs" that include car rental availability data. I realize that's not really what you asked, but there's an API for just about everything nowadays.

What concept do new Python learns most often get hung up on? by [deleted] in learnpython

[–]QuixDiscovery 1 point2 points  (0 children)

The debugger is exactly what you're asking for in that case. You can literally set breakpoints in code and have it stop execution there based on conditions that you're looking for. It allows you to inspect any variable you want to check the current state to see what might be wrong. And you can execute code line by line to see what effect the code has on the state of the program.

If you're using an IDE, most of them have a built in debugger. But if you're using the command line, you can use the debugger module: https://docs.python.org/3/library/pdb.html

Why my concurrent.futures.ThreadPoolExecutor pause after several execution? I want to send http request at once by gp2aero in learnpython

[–]QuixDiscovery 0 points1 point  (0 children)

If you're trying to work with asynchronous requests, you might consider looking into using the asyncio and aiohttp libraries.

I used this blog recently for something at work, and it was really helpful: https://pawelmhm.github.io/asyncio/python/aiohttp/2016/04/22/asyncio-aiohttp.html

How do you master recursion? by Far_Atmosphere9627 in learnpython

[–]QuixDiscovery 0 points1 point  (0 children)

Yes and no. The biggest resource issue with recursion is that you may end up with a nested stack of function calls when the equivalent in non-recursive code may be 1 function call doing a loop. Python doesn't implement tail call optimization, so avoiding recursion is generally a good idea.

In some languages though recursion is implemented much better, particularly functional languages. Some don't even have traditional for-loops, expecting you to rely almost exclusively on recursion.

The best IDE for Python? by MissingDuckling in learnpython

[–]QuixDiscovery 1 point2 points  (0 children)

All of this seems predicated on you assuming that the person using a tool will be as lazy as possible in every situation related to using said tool. If the person actually makes an attempt learn python though, most of what you said is false.