News for hackers. Stuff that matters.

GamblersFallacy

Actually, its way more than 10394.

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...

Re:Async Python is not faster on Friday June 12, 2020 @08:28AM (#23498534)
Hi, a few suggestions. Your benchmarks github repo requirements.txt shows uvloop is not been installed. In addition, the bash script calling uvicorn doesn't have uvloop set for the loop parameter. For example, serve-uvicorn-starlette.sh should be:

uvicorn --port 8001 --workers $PWPWORKERS app_starlette:app --loop uvloop

The uvicorn docs should point out what a big difference uvloop makes.

Its called the 1% rule, 1% create content, 99% lurk.

https://en.wikipedia.org/wiki/1%25_rule_(Internet_culture)

Re:Don’t Build a Billion-Dollar Business on Saturday September 05, 2015 @11:35AM (#10175082)
One man writes a novel. One man writes a symphony. One man can write a $1MM ARR SaaS.

One man million dollar software business is very doable if your focus has commercial intent. What marketplace services do people crave, but don’t have ?

Re:Having Won Over VCs, Y Combinator Turns to LPs on Tuesday August 25, 2015 @08:45AM (#10116030)
Two fundamental business strategies are bundling or unbundling. Looks like bundling, not shifting from seed funding.
Re:Stop Looking for a Cofounder on Saturday August 15, 2015 @10:56PM (#10067789)
The foremost function of mythology is to establish models for behavior, not historical accuracy.

Notice the hero worship surrounding founders who's business had a near death experience, e.g. Elon Musk and Steve Jobs.

Re:Stop Looking for a Cofounder on Saturday August 15, 2015 @10:15AM (#10065409)
Important myths from around the world which have survived for thousands of years all share a fundamental structure, e.g. "The Hero with a Thousand Faces"

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)."

Re:Ask HN: How do you monitor several servers? on Sunday June 21, 2015 @08:00AM (#9753082)
I just use terminator terminal, multi-terminal grid. One terminal per server showing htop via ssh.

http://gnometerminator.blogspot.com.au/p/introduction.html

http://hisham.hm/htop/

Re:Well, We Failed – Wattage is shutting down on Wednesday May 06, 2015 @05:55AM (#9497533)
Use Googles Adwords Keyword Planner to research search query stats, aka the number of people per month searching for "making beats" & other similar keywords.

https://adwords.google.com/KeywordPlanner

Re:Could driverless cars own themselves? on Monday February 16, 2015 @06:25AM (#9056350)
I would suggest that current trust laws, where legal fictions like companies can be trustees, could be a foundation for creating a programmatic trust deed for cars been trustees.

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.

Re:Ask HN: How to know if a startup concept has already been done on Saturday February 14, 2015 @07:21AM (#9049476)
Google wasn't the 1st search engine, Facebook wasn't the 1st social network, Youtube wasn't the 1st video site.

Execution trumps first mover advantage.

Re:Snapchat has raised $485M more from 23 investors on Thursday January 01, 2015 @07:19AM (#8822741)
Daily repeat traffic.
Re:Product Hunt Raises $6M from A16Z on Sunday September 14, 2014 @05:58AM (#8314902)
Repeat traffic demographics is destiny.
Re:Ask HN: Any non-acquihire, less than $1M app/startup exits? on Saturday August 23, 2014 @11:38AM (#8216043)
Here are some actual sales figures:

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.

Re:Faster AngularJS Rendering with ReactJS on Tuesday April 22, 2014 @05:31AM (#7626616)
Interesting update. I never linked ng-repeat to the initial render lag with my app (one page, 1200 - 3000 bindings), otherwise the performance is great.

I've assumed it was a server side issue I could tune before pushing to production. Thanks, now I know where to look.

Re:Faster AngularJS Rendering with ReactJS on Monday April 21, 2014 @01:05PM (#7622141)
I've build a large custom dynamic table for a real-time datamining web app, didn't have any performance issues because i used 'track by'.

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

Re:Faster AngularJS Rendering with ReactJS on Monday April 21, 2014 @09:48AM (#7620998)
You don't have to wait for Angular 2.0, the author of the article just didn't know the "track by" feature of ng-repeat can be used to optimize performance of rendering big arrays (and to be fair, the docs don't mention the trick explicitly).

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.

http://plnkr.co/edit/PHzYFa9N4RkxcDzZMcHk?p=preview

Re:Faster AngularJS Rendering with ReactJS on Monday April 21, 2014 @06:35AM (#7620508)
With your native angular plnkr example, change ng-repeat to:

    ng-repeat="line in data track by $index"
Now try timing again.

http://plnkr.co/edit/PHzYFa9N4RkxcDzZMcHk?p=preview

Re:Buttercoin – US-based Bitcoin exchange on Saturday March 01, 2014 @04:05AM (#7323703)
Looks like buttercoin is going to use MongoDB 0_o

https://github.com/buttercoin/ReactiveMongo

Re:GitHub's new text editor leaked on Twitter on Wednesday February 26, 2014 @04:27AM (#7303847)
atom! to the moon!
Re:Ask HN: What are some alternatives to HN? on Tuesday February 18, 2014 @05:49AM (#7257438)
Simple python scraper for all the links:

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]

Re:Scaling HipChat Using ElasticSearch And Redis on Tuesday January 07, 2014 @05:56AM (#7016604)
On my shit dev box, localhost Elasticsearch is indexing (AKA writing) @ approx 2,500 msg/sec.
Re:Ask HN: What Linux distribution do you use? on Sunday December 29, 2013 @06:14AM (#6979220)
Laptop: Mint 15, Desktop: Mint 14, Servers: Ubuntu 13.10
Re:Startup Investor Rankings on Monday December 09, 2013 @06:02AM (#6873751)
I'd suggest "signals of growth" & "momentum" are a proxy for a site that has repeat traffic & systematic word of mouth. You can't maintain the momentum of growth unless you retain a significant number of new visitors.

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.

Re:Kima15: $150K for 15% in 15 days on Thursday December 05, 2013 @05:20AM (#6853606)
Would a Australian Pty Ltd be an instance were you would suggest reincorporation?
Re:Google Puts Money on Robots, Using the Man Behind Android on Wednesday December 04, 2013 @04:47AM (#6845937)
Look at the speed, dexterity & flow of the robotic boom arm in this demo reel, WOW. Thats pretty much impossible for a human camera op to throw a camera about like that.

http://www.botndolly.com/kungfu-proof-of-concept