Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Skinney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
391.
▲
by
Skinney
10y ago
1) This is not a law or a planned ban. It's a mission statement. A target. You'd be hard pressed to find a government more opposed to bans than the one we have right now. Chances are they will increase tax on emissions to reach th
392.
▲
by
Skinney
10y ago
Trucks and heavy machinery are have a later target (2030 if I remember correctly). The 2025 goal applies to cars for private use and public transportation (Oslo, the capitol, plans to have zero-emission busses by 2020).
393.
▲
by
Skinney
10y ago
We tax emissions. This way, a plug-in hybrid is cheaper than a diesel-car, and a pure EV is cheaper than a plug-in hybrid. We also have some special privileges for EV cars. Like free parking on state/county-owned parking places and the
394.
▲
by
Skinney
10y ago
There are alternatives to fossil fuels besides EV. Also, fossil fuel based cars will not be banned. The goal only applies to new cars. In Norway, people on average keep their cars for 15 years or so, due to the high cost of owning a car (ca
395.
▲
by
Skinney
10y ago
Oslo is aiming at zero-emission public transit by 2020. The goal is to have a mix of hydrogen busses (we already have one driving around) and EV busses. The buss stops will be charged with an automated charger which is good enough to (in wo
396.
▲
by
Skinney
10y ago
In 2025, wouldn't you just use hydrogen if this is still a problem?
397.
▲
by
Skinney
10y ago
Chances are, by 2025, you can buy a hydrogen car if EV doesn't get you far enough. That being said. EV should get you pretty far in 2025.
398.
▲
by
Skinney
10y ago
Elm incoperates CSS the same way Clojurescript and React incorporates CSS.
399.
▲
by
Skinney
10y ago
Ports are essentially event emitters. You can expose them from elm, and in your JS code you attach event handlers to them using .onMessage (I think, been a while). You can post and receive messages from ports (depending on type). Type check
400.
▲
by
Skinney
10y ago
What's stopping you from using IIS on Windows and Nginx on Linux? It's not like you're committing to one server for one application.
401.
▲
by
Skinney
10y ago
You have Xwt for desktop applications. Xamarin Studio itself uses it: https://github.com/mono/xwt
402.
▲
by
Skinney
10y ago
I don't think Unity does it any more, but it wasn't that long ago when Unity used Xamarin to be able to run on iOS, Android and PS4. Now they do it with il2cpp I think. Also, it seems you have no idea what you're talking abou
403.
▲
by
Skinney
10y ago
You're comparing a well-written native app with a poorly written website. I'm currently working on a web-app that requires an about 600kb (minified, yes I know) app.js file. It takes a while to load (not really, 100ms + download),
404.
▲
by
Skinney
10y ago
Both the JVM and the CLR have multiple implementations. Both JVM and CLR have a standard, as do Java and C#. The primarily implementation for both is also open source. So no, they don't primarily depend on one vendor's implementat
405.
▲
by
Skinney
11y ago
It's because the parlament told them to. Divesting in coal is a political move stemming from environmental concerns. At least officially, I think some parties supported the move because Norway doesn't export that much coal, and th
406.
▲
by
Skinney
11y ago
Over 1 million kr (not $) per citizen. Big difference.
407.
▲
by
Skinney
11y ago
In all respect, but you are presumably a software developer. If someone approached you saying that language x is a mess, as they've copy-pasted around random code and changed configuration files they didn't understand. Would you a
408.
▲
by
Skinney
11y ago
All three platforms have had access to Vim, Emacs, LightTable and Sublime. VSCode brings nothing new to the table other than Javascript as a plugin-language. The fact that you think that VSCode is revolutionary compared to vim, only display
409.
▲
by
Skinney
11y ago
Yes. There are plugins for all of this. When I was using Emacs, I could use omnisharp to navigate files using, yes, one button. There are refactoring tools for emacs as well, though I'm usually fine with just using multiple cursors (al
410.
▲
by
Skinney
11y ago
While I agree with regards to Vim, I don't really see how Emacs is hard and impractical. It doesn't have modal editing, you just open a file and write, and the plugin system is built-in. I do, however, agree with you. Mostly becau
411.
▲
by
Skinney
11y ago
I'm pretty sure he is referring to Eclipse, Visual Studio and the like.
412.
▲
by
Skinney
11y ago
Ctrl+P was taken from Sublime, which in turn took that from TextMate. I think. VSCode and Atom are essentially just Sublime Text with Javascript instead of Python as the plugin language. Also, IntelliJ has had this for quite some time, thou
413.
▲
by
Skinney
11y ago
In Vim, pressing Ctrl-C (which is how you usually terminate a console application) tells you to write :quit<enter>. Alternatively, you could just close the terminal window.
414.
▲
by
Skinney
11y ago
Not allowed to reply to your post, so replying here. No, not built-in. They both have plugins, and allow you to set the key shortcut to whatever you please. That they are not built-in really doesn't matter though. All these editors rev
415.
▲
by
Skinney
11y ago
VSCode doesn't even change the way code was written on Mac or Windows. Let me turn the question around. What does VSCode do that Sublime, Atom, Emacs and Vim doesn't? Nothing. That is not to say that VSCode is bad. It's a dec
416.
▲
by
Skinney
11y ago
Emacs and Vim also have multiple cursors.
417.
▲
by
Skinney
11y ago
I think what the parent is getting at, is that you've got the same problem regarding IE on Mac. There are IE specific issues that I as a OS X developer cannot debug.
418.
▲
by
Skinney
11y ago
Well, mono has supported this for a while now. This is what Xamarin.iOS is based on.
419.
▲
by
Skinney
11y ago
I've provided all the code you need to put the pieces together quite trivially. Using go-catching, <? and the promise library (or just the core.async snippet I wrote earlier), you should be able to write the following: (go-catching
420.
▲
by
Skinney
11y ago
It's a trivial matter to wrap promise/all in a core.async channel, providing the exact orginzation pattern you're looking for.
More ›