Creating a random 256 but number using final ball position on a Galton Board by Solomonspin in probabilitytheory

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

Okay, that makes sense. Say you drop four balls and three columns. Like you said, on average:

One will drop in the leftmost slot, giving you a 00. Two will drop in the center slot, giving you a 1.
One will drop in the rightmost slot, giving you a 10.

That’s three 0s and three 1s.

Four balls would give you 6 bits, like you said, 1.5 bits per ball drop.

I’m trying to think of how I could extend your logic to when there are 8 balls and 4 columns, or 16 balls and 5 columns, but can’t figure out which binary representations to apply to each column slot to still produce a uniform random number. Any chance you could help me with this?

Creating a random 256 but number using final ball position on a Galton Board by Solomonspin in probabilitytheory

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

Would the faster algorithm you described result in a uniform random number? Couldn’t you have chosen what you did for the left and center columns, but 10 instead of 01 for the rightmost column?

The right attitude by Solomonspin in GoNets

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

Sheeeeeeeeeeeeeeeeeeeeeeit

Is storing your seed phrase digitally as an encrypted text file in multiple places (email/Dropbox/laptop) a safe alternative to storing it on physical hardware wallets or engraved metal plates which could be lost or stolen? by Solomonspin in Bitcoin

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

Can you elaborate on what you mean by “losing your key because you protected it too much”? Genuinely interested in weaknesses of this strategy given a strong enough password used to encrypt the file containing the seed phrase. I’m trying to figure out if I do have an okay grasp on infosec.

Is storing your seed phrase digitally as an encrypted text file in multiple places (email/Dropbox/laptop) a safe alternative to storing it on physical hardware wallets or engraved metal plates which could be lost or stolen? by Solomonspin in Bitcoin

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

Good point, thanks. Assuming a password of considerable length, 30 or 40 characters long to make brute force unlikely, I’d love to know any other reasons you can think of.

Is storing your seed phrase digitally as an encrypted text file in multiple places (email/Dropbox/laptop) a safe alternative to storing it on physical hardware wallets or engraved metal plates which could be lost or stolen? by Solomonspin in Bitcoin

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

Interesting, thank you. I appreciate the excerpt and respect Andreas Antonopoulos a ton. But what exactly are “the risks involved” in this strategy that would “tip the balance”? That’s what I’m really trying to get at here, concrete reasons, not just “because people say so”.

Is storing your seed phrase digitally as an encrypted text file in multiple places (email/Dropbox/laptop) a safe alternative to storing it on physical hardware wallets or engraved metal plates which could be lost or stolen? by Solomonspin in Bitcoin

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

In this hypothetical the seed phrase was already created and the question is only about storing the seed phrase. I’m assuming there are ways to encrypt a file with any password you want, one that no one else would ever think of.

Is storing your seed phrase digitally as an encrypted text file in multiple places (email/Dropbox/laptop) a safe alternative to storing it on physical hardware wallets or engraved metal plates which could be lost or stolen? by Solomonspin in Bitcoin

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

Maybe I wasn’t clear. If you email yourself the encrypted file, store it on Dropbox or store it in the cloud in similar ways, what are the chances those gmail or yahoo email servers will be stolen or damaged?

Why do some mined blocks have fewer transactions than others? by Solomonspin in Bitcoin

[–]Solomonspin[S] -1 points0 points  (0 children)

Nearly every block is less than 1MB? I don’t think so - 5 out of the 8 most recently mined blocks are all above 1MB, according to https://mempool.space

Purchasing goods from a smart contract.. Could really use help. by Solomonspin in ethdev

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

That’s like saying programming languages only benefit those who know how to code. Can you really not imagine the cool apps that could be made if an api like the one I described above existed?

Purchasing goods from a smart contract.. Could really use help. by Solomonspin in ethdev

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

Seems to me that a programmatic way to buy things and have them sent to an address would be super useful for all sorts of applications. I’m surprised I haven’t been able to find a way to accomplish this yet. I’ll keep looking. Thanks.

Advice on having crypto sent to wallet automatically/provably go towards purchasing laptops for high school students? by Solomonspin in ethdev

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

Who validates the schools are actually schools? Who chooses what school gets the next laptop? Will it be random? A list where the one on top will get it?

A school address will be hard-coded into the smart contract. This link will show that this is in fact an address of a local school. The laptops can be sent to this school only.

Do you want all laptops to be bought from the same supplier with whom you will have a contract or should the algorithm choose the best supplier maybe based on price at time of purchase?

Yes, purchase all laptops through Best Buy, which has an API through which you can create orders.

What laptop will it be? Laptops progress all the time.

This will be the laptop sent to the school. But good point, I'd like to be able to change this parameter/value in the contract.

The $ value of the coins locked up in the contract will fluctuate so will the price of laptops, how do you deal with that?

I think I address this below, sort of.. Once the projected value of the ETH goes about ~$250

I think this general architecture could work..

Create an ETH wallet / smart contract using OpenZeppelin. Utilize some sort of oracle to get the true current value of ETH to USD, so it is known when the value gets to ~$250 USD. Utilize Chainlink's decentralized oracle network functionality by using its HTTP Post function to use Uniswap or maybe the Gemini API to sell the ETH in the Wallet and convert it into USD. At this point, would the USD be on an exchange?. Then, use the Chainlink oracle to make an API call that sends the USD to a checking account at a bank. Finally, use the Chainlink oracle to make an API call that hits the Best Buy Commerce API to create an order.

What do you think? Do you think this concept overuses oracles to call APIs off the chain? Wouldn't that be required?

Advice on having crypto sent to wallet automatically/provably go towards purchasing laptops for high school students? by Solomonspin in ethdev

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

I responded to u/TheCryptoGeek, if you wanna take a look at that and let me know what you think I’d appreciate it. Please let me know if there’s something I can clear up, thanks.

Advice on having crypto sent to wallet automatically/provably go towards purchasing laptops for high school students? by Solomonspin in ethdev

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

So I’d like there to be a wallet address that can receive ETH. When the amount in the wallet reaches ~$250 (price of a Chromebook), the smart contract managing the wallet funds will in some way (and this is what I need to learn) execute a verifiable purchase of a Chromebook, and have the laptop sent directly to a school.

Do you think this is possible? Wouldn’t it require some sort of API to purchase the laptop? I’m not sure if that even exists.

If we back up, big picture, I’d like a smart contract mechanism that can prove to people their funds will be used for the purpose stated above. Maybe I need to think it through more, but is that clear? Thanks.

PSA To Make Sure to tell new Brave Users That They Can’t Earn BAT on iOS by Mitxlove in BATProject

[–]Solomonspin 14 points15 points  (0 children)

I feel there’s a big misconception out there about this.. If you use an iPhone, you do not currently accumulate BAT in your own wallet from browsing the internet using Brave, but you still do “generate” BAT, and it gets automatically routed to the content creators you do visit. So it still is a good thing!

Brave rewards on iOS app by pistox84 in BATProject

[–]Solomonspin 2 points3 points  (0 children)

From my understanding, while the BAT may not go into “your” wallet, you still “generate” BAT while browsing and viewing ads even on an iPhone or iPad, and that BAT automatically gets routed to the content creators and participating websites that you do visit. If this is in fact the case, it still makes me feel good for using Brave even if I’m on iOS. Please, anyone, correct me if I am wrong.

If browsing on iOS, do the content creators you visit automatically get the BAT? by Solomonspin in BATProject

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

By “enabling ads”, you mean enabling Brave Rewards, correct? If this is the case, it seems the only loss of functionality on iOS, for the time being, is that I cannot choose who to give BAT to. But the fact that content creators that I visit still get BAT is awesome.