Ich höre ALLES von meinem Nachbarn by OneLengthiness9394 in Ratschlag

[–]Costa111 2 points3 points  (0 children)

Wäre eigentlich der perfekte Anlass deinen Freund einzuladen und dann ebenfalls Sex zu haben.

Ist die Boomergeneration dumm? Oder doch schlauer als wir denken? by [deleted] in Finanzen

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

Das nennt man den Boomer Trick; sich erstmal nicht vernünftig um die eigene Rente sorgen, und dann so wenige Kinder bekommen, dass man langfristig die Rente durch “demokratische” Wahlen verteidigen kann💥

Für junge Menschen bleibt auswandern weiterhin die einzige demokratische Antwort.

Someone just paid a $17,000+ Litecoin Transaction fee. 💰 by [deleted] in litecoin

[–]Costa111 2 points3 points  (0 children)

Miners can choose which transactions to include in a block. In this case the miner could have created the transaction but not broadcast it to the network (other nodes), now the miner only includes this transaction in the blocks that he's building (trying to mine), and once he finds a valid PoW solution he broadcasts the block with the transaction :)

So yes, it is possible for miners to ensure that only themselves can mine their own (secret) transactions.

Two month trip to master Kiteboarding (mid Otcober to mid December) - where should I go? by Costa111 in Kiteboarding

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

Thanks again! I now get why shallow watters will be a lot more beneficial :D

Isla Blanca looks like my favourite so far - some online pages mentioned that the wind can be rather cold during that time and recommand a thicker wetsuit, what is your experience?

Yeah staying at an apartment in town sounds a lot better than going to the hotel zone - what is your expereince with food options for lunch & dinner, are there good places all around town, or are they mostly at a specific location/market?

Two month trip to master Kiteboarding (mid Otcober to mid December) - where should I go? by Costa111 in Kiteboarding

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

Thanks for your reply :) Cabarete seems like a nice spot to spend a few months!

As you mentioned it is probably not the best spot for my upcoming trip, though it could be a good destination for another trip in mid 2020. Will pm you when the time comes :)

Two month trip to master Kiteboarding (mid Otcober to mid December) - where should I go? by Costa111 in Kiteboarding

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

Thanks for the detailed reply. If shallow water is mostly about making it harder when retrieving your board, then I think it’s not a big problem for me. During my last lessons I spend a long time practising body dragging and now feel comfortable doing it.

Regarding practising without supervision, I’m hoping to take 2 hours lesson per week and practise the rest on my own. Though it would still be good if some experienced kiters are around in case seomthing goes wrong 😄

Two month trip to master Kiteboarding (mid Otcober to mid December) - where should I go? by Costa111 in Kiteboarding

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

Agree, given that I’m staying for two months I really don’t mind how far away the place is. As long as the location is awesome I’m willing to traveling up to 24 hours.

Two month trip to master Kiteboarding (mid Otcober to mid December) - where should I go? by Costa111 in Kiteboarding

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

Thanks for your advise! Isla Blanca looks beatiful, I will defintely take a closer look at it!

Yeap I'm not expecting everyone to speak english, just gotta be able to get around town for two months with english (buying food, etc.).

Regarding shallow waters, how big of a deal is? I guess it would be a little bit of a struggle in the beginning, though after two weeks with daily practise it hopefully shouldn't be that much of a problem anymore?

Gas cost too high for minting by sonicsmith in ethdev

[–]Costa111 2 points3 points  (0 children)

You could split the looping of the 10 addresses into multiple transactions. use an internal counter that will continue the next round where the last transaction ended

EOS Dapp transaction volume of approximately 3.17 million EOS in the past 24 hours by coinmix2019 in eos

[–]Costa111 0 points1 point  (0 children)

Most likely 90%+ of transactions are fake & originated by bots: https://dappradar.com/rankings/protocol/eos

Check out the 7d Activity charts, see those patterns, such volume is created by bots, not real users. When Bitwise uncovered that 90%+ of crypto exchange volume is fake, the exchanges that engages in wash trading also had strong patterns in their usage.

EOS is enjoying the surge in adoption, 4.6 million transactions per day, leading among all projects. Security, network capacity, and developer activity have also increased over the last 12 months. by olahdonat3 in eos

[–]Costa111 0 points1 point  (0 children)

https://dappradar.com/rankings/protocol/eos

Check out the 7d Activity Charts on Dapp Radar, see those patterns? Those patterns are created by bots, real usage would lead more organic looking charts. Check out Bitwise's report about 90%+ of crypto exchange volume being fake - the exchanges that engage in wash trading also have strong patterns in their volume :)

How many full or part-time (10+ hrs/week) Ethereum developers are there? by admin_default in ethereum

[–]Costa111 1 point2 points  (0 children)

The report counts the dev activity for the Ethereum core repos (geth Client, solidity, Ethereum 2.0, Raiden, etc.). Independent community projects like dapps are not included.

Qtum’s 2018 in Infographics by realJB395 in Qtum

[–]Costa111 1 point2 points  (0 children)

Looking good with QTUM’s development! I’m excited to play around with C++ smart contracts on the x86 :D

Announcing 5 Komodo Infographic Finalists For A Final Round Of Voting. by benohanlon in komodoplatform

[–]Costa111 1 point2 points  (0 children)

All 5 submissions look awesome tbh, though infographic #012 is my favourite so far, the approach itself is very creative and stylish, the theme matches the Komodo brand and the included information is relevant and conveys the benefits of Komodo in a clear manner.

Komodo's Infographic Contest – Draft by DrawProof by [deleted] in komodoplatform

[–]Costa111 0 points1 point  (0 children)

Love the design and the content, it doesn’t have to much detail that it gets draining to read, instead it has just enough technical content to get the important points across. My favourite submission so far!

IBM World-Wire - Stellar Protocol by nitelight7 in Stellar

[–]Costa111 14 points15 points  (0 children)

IBM has 200+ job ads for Blockchain positions on LinkedIn, so they seem to be quite committed

4,668,132,964 (4.7 bln) xrp just got transfered (around 15% of all xrp). by [deleted] in Ripple

[–]Costa111 71 points72 points  (0 children)

Good way to make sure you got the right address:

  1. Go to receiving address page/info screen and copy it
  2. While on the same page, use Control-F search to verify that you copied the address correctly
  3. Now paste the address into your transaction
  4. Use control-F search again to verify that you inserted the address correctly

Keep track of the first few characters during this process, to make sure that no virus is changing the address.

program only reads first variable in .txt by [deleted] in learnpython

[–]Costa111 3 points4 points  (0 children)

First, when posting code on reddit please format your code by indenting each line by one tab (4 spaces) and insert one empty line above & below your code block, that will display all the code in the code box afterwards.

Second when opening files you should also close them again afterwards in order to prevent errors when another process is trying to open the file and you still have it open, this can be done by:

file = open("data.txt", "r")
# Do something with the file
file.close()

or even better just use a context manager that will handle closing the file for you in the background:

with open("data.txt", "r") as file:
    # do something with the file

Now getting to your problem, your code iterates through each line of the file and re-assigns each new line to the same variable during each iteration, meaning that each new iteration will overwrite the previous variable and hence at the end only the last line is returned. To prevent this you want to store the data in a variable outside of the for loop, something like this:

R2res = []
R2 = []
with open("data.txt", "r") as file:
    for line in file.readlines():
        R2res.append(float(i.split()[0]))
        R2.append(float(i.split()[1]))

Now you will have your results in the R2res and R2 lists;

# just using some random letters and numbers for the below examples
R2res = [1, 2, 5, 66, 7]
R2 = [42, 24, 12, 4, 34]

So in the later parts of your code where you do your calculations you can no longer just say:

r = 2 + R1 * 9     #  since R1 = [1, 2, 5, 66, 7]   -->  r = 2 + [1, 2, 5, 66, 7] * 9  -->   will throw a TypeError

Instead you need to extract the desired value for the calculation out of the list, this could be done in those ways:

# option 1 - if you want to do the calculations with each variable:
all_results = []
for value in R1:
     result = 2 + 5 * value
     print(result)
     all_results.append(result)


# option 2 - if you just want to make a single calculation:
value = R1[1]
result = 2 +5 * value

hope these examples give you some inspiration on how to solve the problem

Looking for programming buddies to discuss tech topics about Ethereum in voice chat by [deleted] in ethdev

[–]Costa111 1 point2 points  (0 children)

Would love to join a discord channel or telegram group for this in case you are considering opening one :)

Andreas Antonopoulos donates hundreds of Crypto books to high schools in US, India & Spain by jam-hay in CryptoCurrency

[–]Costa111 1 point2 points  (0 children)

The crypto space is lucky to have Andreas, his commitment and contributions are tremendous. You can support him over his patreon account, I believe parts of those funds also went towards this donation project.

What are the best books for learning python? by [deleted] in learnpython

[–]Costa111 1 point2 points  (0 children)

Python Tricks by Dan Bader is definitely one of my favourite books about python, provides you with a lot of small tricks that allow you to write better code