Would anyone have any interest in buying a physical full node that would be shipped to you and you'd have total control over? I know some exist already, but I haven't seen anything that comes fully pre-made for <$140. Would you be interested, and what do you think would be a fair price?
[link] [8 comments]
Hi there. My task is to create installable program for Windows that will connect to PostgreSQL DB, pull some data from it and periodically email somewhere. First, what_best('py2exe', 'cx_Freeze', 'bbfreeze', 'else') Second, I'm not goin' to use SQLAlchemy since the query to DB is always the same - no joins, just simple one-liner. Is it ok or should I use some extra module? Third, the same as above about mail sender - are included batteries good enough?
And the last: I'm gonna use this exe as a windows service to keep it running all the time. Does someone have thoughts about such appliance? Pros and cons?
I had an idea recently. Let's say I buy a cup of coffee with bitcoin. After paying, the app automatically connects to my bank account (or perhaps a bitcoin exchange with some FIAT on it) and buys the exact amount of btc I just spent + 1% of the amount for example.
Is there such an app? it would be pretty neat.
[link] [4 comments]
The current network deficit, meaning the difference between transaction fees and total mining revenue, is $800,000-$900,000 per day:
That comes out to a deficit of around $10 per second.
Depending on the average size of the transaction fee, Bitcoin's tx throughput needs to reach different levels to match current revenue rates once the block subsidy disappears, in order to maintain the current level of security from a simple >50% attack where the attacker uses their own mining hardware (as opposed to commandeering it from honest miners).
|Ave tx fee||Tx per sec|
So at the current rate of 1 tps, the average transaction fee would need to rise to $5 worth of BTC to keep mining at its current economic strength. This would drastically reduce write access to Bitcoin, and might not even be achievable due to consumer choice (growing preference among potential adoptees for market alternatives like traditional finance, alt-blockchains, etc as the average tx fee increases).
While decentralization has been the main focus of the block size debate, hashrate (mining revenues) and accessibility (cost of transaction) are also important metrics of network utility and health, and should be taken into consideration.
The lower the maximum transaction throughput, the more expensive transactions need to be to maintain current mining revenues. The optimal block size limit will strike the right balance between mining decentralization, miner revenue, and write accessibility, and not exclude any of these factors in its focus.
[link] [9 comments]
The Architecture of Open Source Applications (aosabook) Is releasing the first chapter of the book "500 lines of less" on its website. More information can be found on their blog : http://aosabook.org/blog/2015/09/500-lines-or-less-early-access-web-release/
First chapter available is an implementation of a template engine in python by Ned Batchelder. This can be found here : http://aosabook.org/en/500L/a-template-engine.html .
Just like anything else by nedbat, this is definitely worth reading.
Hi, I'm trying to install a python package via pip and get the following error:
Processing ./dist/mylib-1.4.1.tar.gz Installing collected packages: mylib Running setup.py install for mylib Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-0mkdgbge-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record /tmp/pip-4bzgkn5j-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: option --single-version-externally-managed not recognized ---------------------------------------- Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-0mkdgbge-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record /tmp/pip-4bzgkn5j-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-0mkdgbge-build
It seems like the current version of pip uses this option but the current version of setuptools does not support it. Any ideas how to fix this?
I am trying to help a friend get some more votes in a competition. To vote for her you go to this page, https://www.wishpond.com/lp/966033/entries/54195105 skip past the FB like bit and then enter an email address and click the vote button.
What I am having trouble working out is what exactly the browser sends back when the vote button is clicked. I have used the mechanize library and beautiful soup in the past and am ok with them. (Not great but got it to work in the end). So I think that is the route I am going to use.
Can someone please point me in the right direction of what the browser returns to register the vote. I am guessing it is a POST request, but not totally sure. I tried using the network tab in chrome developer tools and looking at the headers but was not sure what I was looking at.
PS If you want to vote for her that would be great, use a fake email address as there is no confirmation loop.
New to python and coding (just done a couple of moocs), where and how can i get some hands-on experience for python/r software.
I have business background and want to pursue a business analyst career. But all recruiter want some experience in R or python. How do i get experience without getting a job?