23 karma · joined Nov 18, 2013 (13y ago) · 26 submissions
comment 5y ago · link · parent
Uniswap v2 factory contract returns 55,319 trading pairs.
On the etherscan readContract page for the uniswap factory, the allPairsLength method returns index size.
https://etherscan.io/address/0x5c69bee701ef814a2b6a3edd4b165...
comment 6y ago · link · parent
uvicorn --port 8001 --workers $PWPWORKERS app_starlette:app --loop uvloop
The uvicorn docs should point out what a big difference uvloop makes.
comment 11y ago · link · parent
The general narrative of "entrepreneur" is singular, not plural. Entrepreneur folklore is the individual (hero) fighting against the collective (culture).
https://en.wikipedia.org/wiki/The_Hero_with_a_Thousand_Faces
"The hero starts in the ordinary world, and receives a call to enter an unusual world of strange powers and events (a call to adventure). If the hero accepts the call to enter this strange world, the hero must face tasks and trials (a road of trials), and may have to face these trials alone, or may have assistance. At its most intense, the hero must survive a severe challenge, often with help earned along the journey. If the hero survives, the hero may achieve a great gift (the goal or "boon"), which often results in the discovery of important self-knowledge. The hero must then decide whether to return with this boon (the return to the ordinary world), often facing challenges on the return journey. If the hero is successful in returning, the boon or gift may be used to improve the world (the application of the boon)."
comment 11y ago · link · parent
comment 11y ago · link · parent
The trustee (car) is given legal title to the trust property (car, software, service contracts), by the settlor (manufacturer company), but is obligated to act for the good of the beneficiaries, humans.
comment 12y ago · link · parent
http://feinternational.com/buy-a-website/#tabs-3
http://www.webrokr.com/soldsites.php
For sites/apps with steady traffic & earnings, the general rule of thumb for calculating valuation has been multiples of monthly net profit:
* 2002-2004: 3 to 6 x monthly net
* 2005-2012: 10 x monthly net
* 2012-2014: 20 x monthly net
* 2014: 30 x monthly net
So to flip a site for > $200k, you need to be doing approx > $7k/month.
comment 12y ago · link · parent
The 2000 sweet spot comment from SO was based on angular 1.0.1, which didn't have 'track by' & is approx 1/10 the speed of angular now.
Look @ the updated jsperf digest test, from the SO answer, for angular 1.0.1 vs 1.2.14 http://jsperf.com/angularjs-digest/37
comment 12y ago · link · parent
Here is the same demo, as in the article, with just 'track by $index" added to ng-repeat. As you can see, to the human eye, its just as responsive as the reactjs example.
comment 12y ago · link · parent
import requests
import lxml.html
dom = lxml.html.fromstring(requests.get('https://news.ycombinator.com/item?id=7254884').content)
[x for x in dom.xpath('//a/@href') if '//' in x and 'ycombinator.com' not in x]
comment 12y ago · link · parent
If new visitors are developing the habit of repeat visits, thats a strong signal the startup has discovered a formula that strikes a chord with their niche/market.