Hacker Newsnew | past | comments | ask | show | jobs | submit | wenbert's commentslogin

It's not mentioned here yet, but since this provides some kind of virtual display, you can use this with https://deskreen.com/ - if you have an tablet that does not support sidecar then this is a viable option for an extended display. Setup is a bit of a hassle but it works.


Oh yes. This one is Jetbrains only but there is also a VScode alternative for this. There is a plugin called httpyac and I believe it also supports the same kind of configuration (???) and variable syntax. It's great not switching to other apps for making an http request.


I re-installed and same problem. Seem to be on random accounts. My wife's feed is okay


IMO you cannot even compare PHP and the ecosystem what it was a couple years ago to what it is now. It has come a long way.


I've had a pet projects that involved a lot of geo-things. I've tried heaps of ways to do it but nothing comes close to Google unfortunately. Especially in non-USA addresses.

Are paid options any better? Like the one from Arcgis? Or is google still more accurate?


Depends on the scope of your project, but for address data the best I found is Loqate[0], which is IMO very expensive but also very good. I'd only target their API if I'm making/saving money in the process, which kinda limits its use for toy projects. Google's accuracy varies wildly, and in most regions I find OSM Nominatim better.

[0] https://www.loqate.com/


in most regions I find OSM Nominatim better.

What regions? I work in GIS and have tried Nominatim in several projects, and it always ends up being so error prone we have to abandon it.


I briefly checked Nominatim against Google head to head a few months ago, and except for messes like Spain, most cities of Western Europe and North America have similar accuracy, with no clear winner. Google results that are wrong are very wrong, whereas Nominatim has weirder results more often.

But that's for cities, in anything rural/mountain Nominatim takes the lead. Google seems not to care for addresses that aren't residential or a business. Arguably most geocoding uses are shipping things and business info, so most commercial efforts go that way.

Then some areas are just abandoned by Google. When I lived in Ukraine I tested some addresses and about 1/10 of the requests didn't work or were just wrong, and that's leaving aside the fact that it always showed 01001 as postal code on every reverse geocoding within Kiev city that I threw at it. The only information that was reliable was business data, and mostly because of businesses themselves updating it. The transliteration was software based and often wrong. Russia and Central Asia are also a big mess, though big cities tend to have OK data, but my feeling is that Google dropped the ball against Yandex and they just don't care anymore; not their turf.

It might have changed for Ukraine since, since there has been a push to drive away all Russian techs, maybe someone can shed some light on the subject.


I've found the here.com (https://developer.here.com/documentation/geocoder/dev_guide/...) geocoder to be close to the quality of Google's, with nicer pricing model - a good amount of free geocodes before you start paying.


I'm no expert but NZ houses suck. Little to no insulation. Some air can go in gaps between doors and windows, etc. Central heating is non-existant. Old stock. Mouldy. Damp. During winter some landlords tell their tenants to open windows to air the house out. That might be it?


Colds are spread by a virus, not by air conditioning, or the lack of it.


Cramped, damp and cold housing is bad for health and New Zealand has a lot of both these problems.


Ambient conditions can make it more likely to manifest symptoms of a cold if you are infected. They will not make the virus appear out of nowhere.


Rheumatic fever is particularly problematic in NZ. There are a host of factors and NZs dealing with is has been bad.


I would love to see the paper that shows that damp or cold affects infection rate. Cramped, for sure, for proximal infection.


Everyone did a good job. The government did a good job. The people did a good job. A lot of sacrifices in the right places.

And just last night NZ time, we had the results of the elections. Current government won by a landslide. And surprisingly a Greens candidate won in Auckland Central. On mobile - but Chloe is just great for Auckland Central!


Agree! Voted for her but thought one of the two big parties would get Auckland Central. Good surprise!


I agree that they did a good job, but I get tired of seeing others comparing NZ to other countries who didn't do so well--countries whose populations are 500-1000x bigger than NZ.


New Zealand has 5 million inhabitants. That would mean these other countries would need to have billions of people (2.5-5B people). I suspect you just missed a decimal when looking up the number.

Being an island and having a government that doesn't openly reject science certainly helps but they still needed to actually get it done. Which they did. Now they are in the comfortable situation that they can quarantine visitors and sit tight until there is a long term solution. Meanwhile their economy can function pretty normally.


The US population, as an example, is only about 70 times that of New Zealand. This is a large difference, but I have yet to see any reasonable argument as to why this matters beyond "the population is small so it doesn't count".


> I have yet to see any reasonable argument as to why this matters

The major factor that accelerates spread is the frequency/duration of interactions between different people.

So a country such as NZ, that has:

- a much smaller population

- a much less dense/more spread out population

- geographic isolation from the rest of the world

- its population split across two islands

- a small fraction of the international and domestic passenger movements that the US, Europe and Asia have

- a very small number of infection cases in the country when the world suddenly woke up to the scale of the problem in mid-late March

- a centrally managed national health system (and government)

- a cohesive and compliant society

... will have a vastly easier (like, exponentially easier) time controlling the virus.

NZ deserves credit for handling it well before it got out of control and they're deservedly enjoying the benefits now.

But the conditions that made it even possible for NZ to achieve this apply in very few other places.

I can't actually fathom a way the US could have contained the virus the way NZ did, no matter who was in power federally ("just be like China" obviously can't happen).

(FYI I'm an Australian living in Melbourne, which has partially similar conditions to NZ but has spent the past 4 months battling a "second wave" and enduring a brutal lockdown which is just starting to ease now. That was after we'd seemed to have beaten it in May, and the rest of the country has stayed on top of it. So I know what it looks like to win and lose against this virus. Though even then, our case numbers and fatalities are far lower than the US and many European countries.)


China was able to do it with a massive outbreak and the largest number of people. Clearly it has to do with social dynamics and a competent government with a lot of power. Rather than the specific size of the country


Yes, China is an example to the world. If only my government bolted my doors shut, I'd be so happy.


That's obviously disgusting and there's plenty of examples (Korea, Vietnam, Taiwan) who didn't do that. Korea never even fully locked down. Also, I'm extremely unhappy that my government let more than 200,000 people die at least 95% of which were easily avoidable.


Vietnam has 3.4 times smaller population and it did great.


What scales such that the NZ approach would not work for a larger population?


Well, being an island a 'bit far away' certainly helped.

In Portugal I know folks that drove from London, Paris, Utrecht (Netherlands) and even Moscow to avoid the no fly laws so they could vacation here. I personally know 3 families that drove from Moscow to the Portuguese south during the lockdown period. (And I am sure based on the foreign plates I saw, various orders of magnitude more did so as well).

This is not to say it was all the foreigners, but it is much easier to control a pandemic if you can close all the borders (Madagascar anyone?) and have a smaller population. (This is also not to say NZers shouldn't be praised, but just a land border with 2-3 countries would probably see a lot of these efforts go to waste)


That has nothing to do with islands or not. Just lack of political will to enforce.

In Vietnam, when there was a new outbreak in Da Nang, the whole city was isolated from the rest of the country. Flights grounded. Roads closed, with checkpoints. Trains stopped. This lasted for several weeks until it was clear that situation was under control.

Some Canadian provinces had setup measures to prevent unnecessary travel.


There are 5 mains highways that connect Portugal and Spain. Then are around 15 (can't find the details, from memory) that are normal roads where you can also do the crossing. Then you have several smaller roads you can also do the crossing. If you are really really into it, then you can also cross it by walking in several other places.

Having 24/7 border patrol between two land connected countries setup and agreed over 20+ crossing points isn't something easy to do, specially during a pandemic where those agents are also needed elsewhere (and there were border patrols along the mains roads, but not close to all).

Compare to only entering by airplane where you can a) prevent planes from landing by just sending an email (exaggerating) and b) anyone that lands goes through a funnel where you can easily quarantine them.

And you can't compare a city, with 1,285 km2 with a country of 92,212 km2 (and other countries even more) and talk about border controls. Portugal also did the same to a city with some success but still there were flaws in the patrolling.


No one said it would be easy. But for a country to deploy even a few hundred people shouldn’t be a challenge.

If a country can’t close a road, how would it hold up during an attack or war?

This should be a well trained, standard procedure.

Canada is in between mainland US and Alaska. US citizens were allowed to drive thru without diversion. Some didn’t follow the rules and made unnecessary detours. They were fined $600,000 for that. You just need a couple of these cases to make the news to deter people from skirting the laws.

Da Nang also had small road leaks at first. Then those who were diverting via those roads were caught and punished. Roads were closed.


Same in Australia. Travel between states is restricted based on how affected each area is. It didn't start perfectly for border communities, but it was mostly fixed in a couple of weeks.


This also occurred in Auckland, New Zealand. Auckland was shut off from the rest of the country after an still-unexplained outbreak.


Co-operation


Same. I wished they didn't call it GraphQL. When I first looked into this, I had to explain to people that it was just a spec. A spec that can be implemented in different languages. It is not SQL.

I jumped into GraphQL form the PHP side. And after understanding what it was the next step was simplly exposing an endpoint. From there, https://webonyx.github.io/graphql-php/ took over.It went like: Route --> Controller/action --> Use `graphql-php`. For the resolvers, I was able to re-use the services the returned data.

The "entry barrier" to the existing legacy-ish framework we were using wasn't too hard. But the learning curve to solve problems in "GraphQL way" is much harder to push as most people are used to REST way of doing things.


The arrow keys. Ugh. That set-up - left and right keys same size as normal keys - I could never get used to it on the new macbook keyboards


I dunno, I think I've used a MacBook that had that type of layout. Either that or it was another notebook. That layout is pretty common.


I tried to switch to Firefox. But the biggest roadblock for me were Profiles. My Google Chrome profiles are so old and useful that I feel handicapped when on Firefox.

Also, does Firefox can I have multiple profiles on Firefox now?


You can run multiple tab containers[1] in Firefox as well as multiple Firefox profiles[2] at the same time.

On Linux, I use:

    alias ff='firefox -ProfileManager -no-remote &'
[1] https://support.mozilla.org/en-US/kb/containers

[2] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Mul...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: