Earlier quoted context omitted.
By land area Canada is about 20 times as large as California, by culture I'd consider Canada to have a few much more distinct areas than California (comparing Toronto vs. Vancouver vs. Calgary the distinctions are pretty close to the range you'd get across the whole of California by my opinion - with Quebec being radically different... Quebec is less like Vancouver than Texas or Mississippi is like California). By po…
> By land area Canada is about 20 times as large as California Cornfields and tundra don't post on HN much.
Poll: Where do you live?
221–230 of 563 posts
Re: Poll: Where do you live?
#222Results will be skewed towards countries that aren't yet drinking, i.e. the US and Canada.
A simpler and way more accurate thing to do would be to ask mods to just tally up visits of logged uniques over one week and share the aggregates.
Re: Poll: Where do you live?
#223Earlier quoted context omitted.
This is begging for a console.table console.table([...document.querySelectorAll('.fatitem table .athing')].map(el => [el.textContent.trim(), el.nextSibling.textContent.trim()]).sort(([,a], [,b]) => parseInt(b) - parseInt(a)))
Current top 10: 'US: California' '79 points' 'Canada' '48 points' 'US: Washington' '39 points' 'US: New York' '36 points' 'Germany' '35 points' 'United Kingdom' '34 points' 'US: Massachusetts' '19 points' 'Netherlands' '18 points' 'US: Colorado' '17 points' 'Sweden' '16 points' Colorado #9? Really?
Re: Poll: Where do you live?
#224Earlier quoted context omitted.
Seconded! Toronto, Waterloo, Ottawa, Montreal, Calgary, Vancouver are all large and distinct tech hubs.
I like that list except Waterloo - I think if you're going to make a serious argument about Waterloo than Berkeley/Oakland would be a separate hub from Silicon Valley - and ditto for Worchester, Boston and Cambridge MA. Waterloo definitely has its own thing going on but it's pretty darn close to being an offshoot of Toronto at this point.
I guess I don't know as much about the Toronto scene, but based on the recruitment emails, it seems to be a lot more fintech, game/mobile dev, and big data analytics stuff.
Re: Poll: Where do you live?
#225Pasting this in dev console will give you a quick and dirty rundown. It sorts locations by points. [...document.querySelectorAll('.fatitem table .athing')].map(el => [el.textContent.trim(), el.nextSibling.textContent.trim()]).sort(([,a], [,b]) => parseInt(b) - parseInt(a)).map(a => a.join(' - ')) As of this post, California is leading, followed by other places w/ large tech hubs (Germany, UK, Canada, NY, Washington)
This is begging for a console.table console.table([...document.querySelectorAll('.fatitem table .athing')].map(el => [el.textContent.trim(), el.nextSibling.textContent.trim()]).sort(([,a], [,b]) => parseInt(b) - parseInt(a)))
console.table([...document.querySelectorAll('.fatitem table .athing')].map(el => [el.textContent.replace(/:.*/,'').trim(), parseInt(el.nextSibling.textContent.trim())]).reduce((d, [k,v]) => {d[k]=v + (d[k] || 0); return d}, {}))
I can't figure out how to sort that, though...Re: Poll: Where do you live?
#226Why does America get states and UK doesn't get England, Wales, Scotland and Northern Ireland?
[...document.querySelectorAll('.fatitem table .athing')].map(el => [el.textContent.trim(), el.nextSibling.textContent.trim()]).reduce((a, [c,s]) => c.startsWith('US') ? a + parseInt(s) - 1 : a, 0)
As of this comment, there are around 10 times more votes for US than the second most voted country (Canada). A fourth of those US votes are for California. Meaning, there are twice as many votes for California as there are for Canada.This suggests that Silicon Valley still represents a significant portion of the HN community.
Re: Poll: Where do you live?
#227Hell
Re: Poll: Where do you live?
#228Re: Poll: Where do you live?
#229Earlier quoted context omitted.
This is begging for a console.table console.table([...document.querySelectorAll('.fatitem table .athing')].map(el => [el.textContent.trim(), el.nextSibling.textContent.trim()]).sort(([,a], [,b]) => parseInt(b) - parseInt(a)))
More efficient, uses integers, and sortable in the table: console.table([...document.querySelectorAll('.fatitem table .athing')].map(el => ({place: el.textContent.trim(), score: parseInt(el.nextSibling.textContent)})).sort((a, b) => b.score - a.score))
console.table([...document.querySelectorAll('.fatitem table .athing')].map(el => ({place: el.textContent.trim(), score: parseInt(el.nextSibling.textContent)})).sort((a, b) => b.score - a.score || a.place.localeCompare(b.place)))Re: Poll: Where do you live?
#230Earlier quoted context omitted.
Also - Canada is a monolith, at least break out Quebec!
> Canada is a monolith Canada must be separated into 100 different pointless micro services each with a different docker configuration created by the summer C.S. intern. HN joke.