HNHacker News
TopNewBestAskShowJobs

raquo

3,253 karma · joined March 15, 2008

submissionscomments
raquo··on Angular 2 is terrible
The problem is, typescript will still silently infer 'any' type in certain cases even with all the no-implicit-any compiler flags enabled, and you'll never know when this happens until you have a bug.

Not to mention that its type system is unsound by design, and not because of null. Typescript only pretends to be safe, so in practice you end up writing a lot of type annotations for very dubious gain.

Stricter options like Facebook Flow or Scala.js are way more useful.

raquo··on CBC asks for $400M in increased government funding to go ad-free
Which Canadian TV news channel is markedly less biased than CBC?
raquo··on LinkedIn is now officially blocked in Russia
What are some of those companies? I'd be curious to read about that. Because it doesn't sound like the state dept. has any legal basis here, just American specialism.

At any rate, US is not the bastion of freedom that Russia's actions should be compared to. Especially so when it involves three-letter agencies.

To clarify the distinction I'm trying to make - yes, US doing some shady shit, mostly trying to keep it in secret. Russia is explicitly legalizing such shady shit. And doing even shadier shit in secret.

raquo··on LinkedIn is now officially blocked in Russia
I thought you were contesting the bigger argument that Russia's economy is stagnating, since the link you provided did not contradict anything else (there was no reference to China).
raquo··on LinkedIn is now officially blocked in Russia
Are you hoping people won't look past the misleading google chart that ends in 2013?

Russia's GDP has been reliably falling since then. http://www.tradingeconomics.com/russia/gdp-per-capita-ppp

raquo··on LinkedIn is now officially blocked in Russia
Uh... You can't send a national security letter to a foreign company that has no presence in the US. Well, you can probably send it, but since the foreign company is not bound by US laws, they can ignore it and even publish it (this is my understanding, IANAL).

The whole point of this Russian law is to remove this limitation.

raquo··on Canada's immigration website crashes on election night
Sure, it is a rich and developed country after all. It's not horrible. It's just not really special if you're looking out for your own quality of life as opposed to how prominent the country is.

This is doubly so if you don't associate with the stereotypical American lifestyle of working 50 hours a week, 10 days vacation per year, and sending out work emails while holding your newborn baby.

Listing specific things is pointless – all these ratings are online anyway, but just to name a few:

- fucked up health care system

- gun violence rate higher than in most third world countries

- homicide rate worse than any other developed country, and worse than countries like Niger, Laos, India, or Iran

- those best universities will put you in a $200K+ debt hole that you'll spend a lifetime getting out of, and the mediocre universities are not cheap either (compared to almost free education in many developed countries)

raquo··on Canada's immigration website crashes on election night
That depends on what you compare it to. Plenty of first world countries are ahead of the US in many important aspects. But if you're setting the bar on the level of Russia or some third world countries, then yeah, it's pretty great.
raquo··on WebAssembly Browser Preview
Not sure how the integration with JS looks like in Emscripten. Scala.js is fabulous, with typed facades for the DOM, easy interaction with dynamic JS types, etc.
raquo··on WebAssembly Browser Preview
Also, remember that Electron will also benefit from this. More performant cross platform apps!
raquo··on Am I wrong in hating React JS?
> I hate html in javascript. I hate JSX.

How about hyperscript? Functionally equivalent to JSX but it's pure JS, with no XML syntax.

   header(
     h1(Icon({name: icon}, [title]),
     p(subTitle)
   )
I don't think you can make an argument against building the DOM in JS (instead of using some random DSL to parse HTML template strings) without falling into the fallacy that JS === logic and HTML === presentation. But, you don't seem to be making arguments.
raquo··on Ask HN: What is your favorite internet rabbit hole?
Similarly, https://en.m.wikipedia.org/wiki/List_of_cognitive_biases
raquo··on The foreign words that seem like English, but aren't
Yep, like passport control or customs control (at the airport).
raquo··on Barak Obama wants to solve robocar "Trolley Problems"
Compared to 100 years ago roads are already pretty locked down, we have traffic lights and dedicated pedestrian crossings. And we're fine with it.

Realistically, speed limits will probably stay low (or might even decrease) in any residential area you'd want to play in. Additional barriers will be put up where parks / schools are located on busy streets. Only arterial roads will see an increase in speed limits.

All of this is decades away, more than enough time to accept the new reality as the norm.

raquo··on Show HN: TagSpaces – An open source personal data manager
They mean the Pro version, as in – the paid version of the app. I think only the free features are open sourced.
raquo··on Show HN: TagSpaces – An open source personal data manager
I assume only the regular version (non-Pro) is open source? If not, I'm really curious how this works together with Pro version being paid.
raquo··on Ask HN: Why don't web apps make use of right click?
UI needs to be predictable and discoverable, right click on web pages is neither. People in general either don't use right click, or expect the browser context menu to show up. So if you hide important UI controls behind right click, many users won't find them.
raquo··on Google HTML/CSS Style Guide – Omit Optional Tags
It could be manipulated onhover
raquo··on JavaScript Conquered the Web, Now It’s Taking Over the Desktop
Honest question – how do you build cross-platform application UI in python?
raquo··on JavaScript Conquered the Web, Now It’s Taking Over the Desktop
It's a common business scenario: start out as a web app, then as business picks up let's start providing native apps.

Or the other way: start out with a native app on the platform we most care about + a web app for "access from anywhere".

raquo··on JavaScript Conquered the Web, Now It’s Taking Over the Desktop
No one likes that, but

1) HTML/CSS/JS is sill the only truly cross-platform (mac/windows/linux/web/ios/android/etc.) UI platform/ecosystem in 2016, and it will probably stay that way in the foreseeable future because OS makers love their walled gardens.

2) An app's memory efficiency is not a top 10 priority of an average solo-or-small-team developer's concerns, because that's not what most users pay for.

Electron/NW.js apps will only become more common, so I hope things will improve with asm.js/webassembly/etc.

raquo··on Ask HN: How much do you make at a remote job?
Nice location! Do you have timezone issues working from there?
raquo··on Massachusetts to tax ride-hailing apps, give the money to taxis
Haven't we had revolutions in the last 150 years? Not in the US, but other countries had a few.

But that's not the point.

You don't need an armed uprising when you have elections. You need populism. Trump / Brexit / far right parties are not "revolution".

raquo··on Massachusetts to tax ride-hailing apps, give the money to taxis
With rising income inequality the difference between the average Joe and the 1% Joe is growing larger and larger. This seems increasingly unfair to more and more people. Eventually all those disillusioned poor people will act on this by bringing to power some radicals who will bulldoze the current system much like the Bolsheviks bulldozed the Russian empire.

If you need evidence that income inequality is itself a bad thing, ask anyone who happens to be on the poverty side of the inequality. There's much, much more of such people than rich people. All these poor people hold a lot of latent power.

raquo··on From first principles: Why I bet on Scala.js
For Scala.js there are a lot of resources, e.g. http://www.lihaoyi.com/hands-on-scala-js/ is a good start.
raquo··on Foreign residential property buyers to be taxed at 15% in Vancouver
$3000 CAD per year per condo/house is very small consolation given all the negatives.

For example, just one of the many problems – a foreigner buys residency ($100K paid to Quebec, not BC), buys a house here, then continues to run his business in China, while their family moves into the house full time. Then their family uses up social services like universal healthcare, public schools and universities, while collecting low-income tax rebates because the breadwinner is not a Canadian tax resident, and does not need to declare their global income.

That's not some thought exercise, it's a very common occurrence here. So the rest of Canadians end up paying taxes to finance all this, and get inflated housing costs as a bonus. I don't see how that's a good outcome.

I've no idea how things work in Switzerland, but they don't work in Canada with our current laws.

raquo··on Foreign residential property buyers to be taxed at 15% in Vancouver
That's ridiculous, a city growing in size or density will never see decreased property prices. This will actually increase the prices because the city is now a more "desirable" place to be (for some).

Foreign money is a real problem, there is no way around it. If you want your city's housing market to be a wide open safe haven for everyone in the world to park their money in, you're going to push out the locals because these investors' demand for housing does not increase locals' incomes, it only increases housing prices.

In Canada this problem is especially bad because of immigration loopholes for the rich. For vast majority of Vancouver properties it actually costs less to buy permanent residency via Quebec's immigrant investor program (~$100K in interest payments, no other requirements) than to pay this stupid 15% tax. Just let that sink in for a minute.

raquo··on Foreign residential property buyers to be taxed at 15% in Vancouver
Because you'll never build enough. Global demand surpasses potential local supply by a huge margin. Prices won't even begin to drop.
raquo··on The Canadian Housing Boom Fueled by China’s Billionaires
That tax is just a smokescreen. There are numerous loopholes and problems with it, so many that it's surely deliberately engineered for maximum buzz but minimum effect. BC and Vancouver have been playing hot potato with this issue for a while with no one doing anything to address the problem.

For example, it very narrowly targets foreign citizens who are not permanent residents or citizens of Canada, completely missing "investors" who have just bought Canadian permanent residence for cheap, do not earn income in Canada, and are now buying property in their safe haven. This scenario is unfortunately all too common.

About $100K in interest payments via Quebec's investor immigration program, no other requirements.

raquo··on React Is a Terrible Idea
You can use hyperscript instead of JSX, no need to transpile anything, no need for webpack
← PreviousPage 10 of 31Next →