Live data from Hacker News

Poll: Where do you live?

news.ycombinator.com

541–550 of 563 posts

Re: Poll: Where do you live?

#541

Earlier quoted context omitted.

hey jarrenae, Thanks for this update. I've included a couple points below to improve on before our next meeting: - can i get a similar look to this but in pie chart format? Maybe just include top ten labels? - I would like to see a larger size of the visual on the page - the color scheme is okay but try experimenting with black font for the locations Best, LimitedInfo

I’m sorry but I can’t help but ask: what is this? Is OP your worker and this is work comms? Just curious.

haha no worries, it's a bit of satire on your typical work email. I'm a data analyst so emulating what I see a lot.

Re: Poll: Where do you live?

#542

Earlier quoted context omitted.

I’m sorry but I can’t help but ask: what is this? Is OP your worker and this is work comms? Just curious.

haha no worries, it's a bit of satire on your typical work email. I'm a data analyst so emulating what I see a lot.

Oh I see :-D thanks for clarifying.

Re: Poll: Where do you live?

#544

Earlier quoted context omitted.

I agree. I was struggling with this many years ago. And I was concerned about the security and privacy of VPN providers. Eventually, I ended up spinning my own VPN with Algo [0] like four years ago and it worked really well for me for these years. I use VMs in Hong Kong for connection speed, and use VMs in California for country specific stuff (ADs and news for Hong Kong are super annoying XD). [0] https://github.com…

That would work. I had some friends who figured out a way to use their free Azure time (I was working for MS China at the time) to create their own VPN, but I don't think that lasted very long.

I happened to use free Azure credit from the MSDN subscription as well. The VMs in East Asia (Hong Kong) region are working great for me for years, and the traffic is fast both in and outside China without blacklists and whitelists.

That being said, it also depends on the protocols and the network:

- OpenVPN would get blocked immediately.

- AnyConnect gets interrupted regularly but is usable.

- IKEv2 and Wireguard are what works for me now.

- My major network is China Unicom and it works great.

- But when I switch China Mobile I get interruptions sometimes.

I guess it is finicky after all :-|

Re: Poll: Where do you live?

#547
post #427

Earlier quoted context omitted.

Is there are reasonable way to do this on a mobile browser?

Maybe rewriting it as a bookmarklet that displays the results on the page? Anyways, here's the current result in a pastebin: https://pastebin.com/fR89qMKk

I posted these:

https://news.ycombinator.com/item?id=30213991

https://news.ycombinator.com/item?id=30215244

Edit (this version subtracts 1 to see the real score and pops open in a new window):

  javascript:open().document.write('' + [...document.querySelectorAll('.fatitem table .athing')].map(el => ({place: el.textContent.trim(), score: parseInt(el.nextSibling.textContent) - 1})).sort((a, b) => b.score - a.score || a.place.localeCompare(b.place)).map(e => `${e.place}${e.score}`).join('') + '')

Re: Poll: Where do you live?

#548
Visualization from your terminal (https://github.com/amirkarimi/hn-poll-visualizer):

    $ ./main.py "https://news.ycombinator.com/item?id=30210378"
    
    US: California                    [560]  ****************************************
    Germany                           [263]  *******************
    Canada                            [253]  *******************
    United Kingdom                    [246]  ******************
    US: New York                      [214]  ****************
    US: Washington                    [202]  ***************
    US: Texas                         [124]  *********
    US: Massachusetts                 [101]  ********
    Australia                         [101]  ********
    Netherlands                       [ 99]  ********
    US: Colorado                      [ 96]  *******
    US: Illinois                      [ 85]  *******
    Sweden                            [ 85]  *******
    India                             [ 78]  ******
    France                            [ 74]  ******
    US: Oregon                        [ 69]  *****
    Poland                            [ 68]  *****
    US: North Carolina                [ 61]  *****
    US: Pennsylvania                  [ 60]  *****
    US: New Jersey                    [ 58]  *****
    US: Virginia                      [ 54]  ****
    US: Florida                       [ 54]  ****
    Switzerland                       [ 54]  ****
    New Zealand                       [ 46]  ****
    Spain                             [ 44]  ****
    US: Georgia                       [ 43]  ****
    Denmark                           [ 43]  ****
    US: Michigan                      [ 42]  ***
    Finland                           [ 41]  ***
    Brazil                            [ 39]  ***
    Austria                           [ 39]  ***
    Italy                             [ 37]  ***
    Norway                            [ 36]  ***
    US: Ohio                          [ 34]  ***
    US: Minnesota                     [ 34]  ***
    Israel                            [ 34]  ***
    Ireland                           [ 34]  ***
    Japan                             [ 33]  ***
    US: Arizona                       [ 31]  ***
    Czech Republic                    [ 31]  ***
    US: Utah                          [ 30]  ***
    US: Maryland                      [ 30]  ***
    US: Wisconsin                     [ 28]  **
    Romania                           [ 27]  **
    Belgium                           [ 26]  **
    Russia                            [ 25]  **
    US: Tennessee                     [ 23]  **
    US: New Mexico                    [ 20]  **
    Hungary                           [ 20]  **
    Serbia                            [ 19]  **
    Portugal                          [ 19]  **
    Mexico                            [ 19]  **
    Argentina                         [ 19]  **
    Croatia                           [ 18]  **
    Ukraine                           [ 17]  **
    US: Missouri                      [ 17]  **
    US: Connecticut                   [ 17]  **
    US: Indiana                       [ 16]  **
    US: Idaho                         [ 16]  **
    Turkey                            [ 16]  **
    US: Kansas                        [ 14]  *
    US: Iowa                          [ 14]  *
    Bulgaria                          [ 14]  *
    US: New Hampshire                 [ 13]  *
    South Africa                      [ 13]  *
    Singapore                         [ 12]  *
    North Korea                       [ 12]  *
    Lithuania                         [ 12]  *
    US: Nevada                        [ 11]  *
    US: Kentucky                      [ 11]  *
    US: District of Columbia          [ 11]  *
    Slovenia                          [ 11]  *
    Greece                            [ 11]  *
    US: Vermont                       [ 10]  *
    ...

Re: Poll: Where do you live?

#549

Earlier quoted context omitted.

If you asked someone where they were from and without context they said "Molise", that would be a bit odd, no?

Molise has a population of 300k. The smallest state in the US is Wyoming at almost twice the size (580k). That also doesn't address the parent's observation that US states view themselves as having very distinct identities. A better example from Italy might be Naples, which has a population big enough to be a US state and which does have a very distinct identity. And I wouldn't be surprised at all to hear someone int…

> That also doesn't address the parent's observation that US states view themselves as having very distinct identities.

Most countries I've been to do this. However just as you wouldn't be able to pick the (to me) obvious differences between someone from Perth and Victoria, I wouldn't be able to pick the nuanced difference between someone from Wyoming and New York. They all sound American to me.

Re: Poll: Where do you live?

#550

Earlier quoted context omitted.

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?

As percent of total responses, as of right now: 'US: California', '10.87%' 'Canada', '5.79%' 'United Kingdom', '4.51%' 'US: Washington', '4.45%' 'Germany', '4.45%' 'US: New York', '4.32%' 'US: Colorado', '2.10%' 'US: Texas', '1.97%' 'US: Massachusetts', '1.84%' 'France', '1.78%' The US in total makes up 49% of responses so far (even though it is nearly 10pm in most of Europe) Edit: quick and dirty one-liner to get th…

TIL about console.table. Thanks for sharing!
Post reply on HN