May be worth noting that it's currently the lunar new year so there might be quite a bit less activity from China and the rest of East Asia at the moment.
Poll: Where do you live?
241–250 of 563 posts
Re: Poll: Where do you live?
#242I hope there is someone who knows how to code in this community to parse the results and do a nice visualization. I have a cousin who knows about computers, if noone knows here how to do it, I can ask him to try. He always helps me with my printer.
Re: Poll: Where do you live?
#243Re: Poll: Where do you live?
#244Re: Poll: Where do you live?
#245Earlier 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?
Denver's also a big telecommunications and defense hub. Both industries employ armies of developers
Re: Poll: Where do you live?
#246Earlier quoted context omitted.
Canada is smaller than California.
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…
Re: Poll: Where do you live?
#247It's Friday night in Europe. Results 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?
#248This needs to be pinned for at least 36 hours at the top of HN to make it as accurate as possible. Can you do it, please?
Re: Poll: Where do you live?
#249I hope there is someone who knows how to code in this community to parse the results and do a nice visualization. I have a cousin who knows about computers, if noone knows here how to do it, I can ask him to try. He always helps me with my printer.
sed -e ':a;N;$!ba;s/\n/ /g' -e 's/points/,/g' -e 's/point/ ,/g' -e 's/,/\n/g' hnpoll | awk '{ print $2 " "$1 }' | sort -n | grep ^[0-9] | tail -n 20
12 Finland12 Serbia
13 Norway
13 Romania
15 Belgium
15 Israel
15 Spain
16 Austria
19 Switzerland
20 Italy
21 India
22 Australia
22 Denmark
26 Brazil
26 Poland
35 Netherlands
36 Sweden
41 France
124 Germany
132 Canada
See- easy!
And if you want the US states, even easier:
grep US -A1 hnpoll | sed -e ':a;N;$!ba;s/\n/ /g' -e 's/points/,/g' -e 's/point/ ,/g' -e 's/,/\n/g' -e '/^$/d' | sort -r |cut -d: -f2 | awk '{ print $2" "$1 }' | sort -n | tail -n 20
15 Arizona16 Michigan
16 Minnesota
16 Ohio
16 Wisconsin
17 Maryland
18 Georgia
25 Florida
28 Jersey
31 Virginia
32 Pennsylvania
35 Oregon
39 Carolina
42 Illinois
47 Massachusetts
51 Colorado
59 Texas
103 Washington
110 New York
265 California
And people say Bash is a terrible language...
BUT WAIT THERE'S MORE!
Get the total number of US results:
echo $(grep US -A1 hnpoll | sed -e ':a;N;$!ba;s/\n/ /g' -e 's/points/,/g' -e 's/point/ ,/g' -e 's/,/\n/g' -e '/^$/d' | sort -r |cut -d: -f2 | awk '{ print $2 }' | sort -n | grep ^[0-9] | paste -sd+ - | bc)" United States"
943 United StatesCombine them a bit...
sed -e ':a;N;$!ba;s/\n/ /g' -e 's/points/,/g' -e 's/point/ ,/g' -e 's/,/\n/g' hnpoll | awk '{ print $2 " "$1 }' | sort -n | grep ^[0-9] | tail -n 20; echo $(grep US -A1 hnpoll | sed -e ':a;N;$!ba;s/\n/ /g' -e 's/points/,/g' -e 's/point/ ,/g' -e 's/,/\n/g' -e '/^$/d' | sort -r |cut -d: -f2 | awk '{ print $2 }' | sort -n | grep ^[0-9] | paste -sd+ - | bc)" United States"
12 Finland12 Serbia
3 Norway
13 Romania
15 Belgium
15 Israel
15 Spain
16 Austria
19 Switzerland
20 Italy
21 India
22 Australia
22 Denmark
26 Brazil
26 Poland
35 Netherlands
36 Sweden
41 France
124 Germany
132 Canada
943 United States
Re: Poll: Where do you live?
#250Earlier quoted context omitted.
It's... still one country, though. And while I understand that Americans are very preoccupied with the difference between California and New Jersey, please understand that it's not that important (or obvious) to the rest of us.
I suppose it's because the main issue is whether or not HN is "Silicon Valley", and so if you're in the UK (for example) you are not Silicon Valley regardless of if you are in NI, Scotland, Wales, or England.