News for hackers. Stuff that matters.

fknop

Expo comes with pre-installed native bindings. If you want to add native bindings to your expo app you need to eject. This means it does not use any native bindings not included in the Expo SDK.
Re:Angular v8.0 on Wednesday May 29, 2019 @06:54PM (#20046533)
Note that it already mostly works right now with v8.
Re:Amazon Lumberyard: A Scream of Anguish on Monday July 09, 2018 @06:23AM (#17489218)
I believe lumberyard also offers direct integration with AWS.
Re:Udash – Scala and Scala.js Reactive Web Framework on Monday February 12, 2018 @04:40AM (#16357588)
You can do FP in any OO language. OO is an extension on top of FP.
Re:Udash – Scala and Scala.js Reactive Web Framework on Monday February 12, 2018 @04:38AM (#16357576)
Strongly typed was one of the problem I found. TypeScript offers a better alternative to typing on the web because it keeps the compatibility with javascript and also have a real any type when it's really necessary. Typescript now can import raw js without types definitions unlike Scala.
Re:Udash – Scala and Scala.js Reactive Web Framework on Monday February 12, 2018 @04:34AM (#16357558)
I hate it as well. I think it's a poorly designed language. The syntax is a mess (underscore...), the operator overloading make people overload silly operators which make code unreadable from an outside programmer. I could go on...

I prefer Kotlin which imho fix almost every bad design decisions from Scala.

Re:Udash – Scala and Scala.js Reactive Web Framework on Sunday February 11, 2018 @04:58PM (#16355058)
It looks really verbose only to render simple html.

I had one really bad experience with Scala.js. When I used it, I noticed Scala was just not designed for the web (front end) and it just didn't work well for things really simple in JS.

Re:Show HN: Cross-platform desktop applications with PyQT on Tuesday February 06, 2018 @03:18PM (#16319208)
It's a "random" guess. But in my experience, for a website, if it doesn't look good at first sight, a user might just leave instantly. As someone pointed out in the comments, just looking at sites like:

https://riverbankcomputing.com/software/pyqt/intro https://electronjs.org/

Your eye will probably be more attracted by the good design of the electron website.

I'm not saying an app should be only good looking, but it's clearly a major part.

Re:Show HN: Cross-platform desktop applications with PyQT on Tuesday February 06, 2018 @03:05PM (#16319099)
Maybe you don't want a good looking UI, but it's safe to say that at least 90% of users want a good looking UI.

Good looking UI is a major part of user experience.

I think Google pays Mozilla to have Google as default. https://techcrunch.com/2017/11/14/mozilla-terminates-its-dea...
Re:Angular 5.0.0 on Wednesday November 01, 2017 @04:24PM (#15605135)
They actually reverted aot by default on serve because for really large project it might slow down the reload time.
Re:Angular 5.0.0 on Wednesday November 01, 2017 @04:17PM (#15605070)
You can still use --no-aot (or something similar) in the meantime
Re:Angular 5.0.0 on Wednesday November 01, 2017 @04:16PM (#15605061)
They do actually use every number of semver in a meaninful way.
Re:Angular 5.0.0 on Wednesday November 01, 2017 @04:14PM (#15605047)
CLI should be pretty much instant to reload a page.
Re:Angular 5.0.0 on Wednesday November 01, 2017 @04:12PM (#15605038)
It does, there is a wiki page on it.
Re:TypeScript at Slack on Wednesday April 12, 2017 @05:41AM (#14096126)
Enums are really nothing else than a map string/integer.
Re:Electron is flash for the desktop (2016) on Tuesday April 11, 2017 @04:37PM (#14092214)
If your battery is more important, just stick to Emacs.

What machine are you using ? I have a 2 year old thinkpad, it's still 10h+ in full brightness, vscode, compiling, etc. And it's the screen brightness that consumes the most battery.

It used to do 20h, but the main battery is external and can be replaced so it's a good thing. I would really recommand thinkpads to everyone instead of going for macbooks for example.

Re:Electron is flash for the desktop (2016) on Tuesday April 11, 2017 @10:16AM (#14087952)
Meanwhile, we're still waiting for those "pro-native" people to give us better user experience.

I agree that Electron has its issue like having multiple copies of Chromium (and not Google Chrome).

Obviously native apps are better overall, but only if they provide a better UX. Being a vscode user, I don't know which native editor provides the same UX.

One of the main guy behind nwjs was actually hired by Github to create Electron.