Can someone further explain how the pre commit phase works? I don't get how/why "pre commits" work without feature branches?
How are my changes shared with the reviewer, if I there is no feature branch? Is my local code uploaded to that review tool mentioned in the article? And then what happens if the reviewer requests changes?
I probably did get this completely wrong, so thanks in advance for pushing me in the right direction.
We are using Kotlin in production for two projects.
One is a spring boot backend for an online banking app for a large european bank. The other is an Android app for an NGO that gives out microloans to farmers who would not get a loan from a bank.
I find Kotlin a low-risk alternative to Java. Your code still feels like a normal Java project: You use the same frameworks, you have excellent tool support, you can keep searching for java questions on stackoverflow. Kotlin is fast and fully compatible with your Java code.
We are hiring at the moment, and our offer asks for an experienced Java/Spring developer. We just mention Kotlin at the end of the description.
Kotlin is not the right tool if you "hate" Java. It feels like the language that the Java 8 team would have built if backwards compatibility was not an issue.
Apart from some very useful syntactic sugar, it has
- no checked exceptions
- classes and methods are by default final
- no primitives that need to be (auto)boxed to and from objects
- no "static" context
- first class functions
- named function arguments that can have defaults
- null safety
- less broken generics
I like Java as a platform, and I think the language is perfectly fine. But Kotlin offers a cleanup and improvement, at almost no cost.
That many phone manufactures don't update their software is not an Android problem. Would Lenovo update their devices more often when their operating system was not based on Android? Would Apple update less often when iOS was based on Android?
Lenovo, Samsung, Apple and Google are all in complete control of the devices they sell: they all control hardware, software and services themselves.
If the software is based on Android or not has nothing to do with how often these devices get updates.
What I miss on every HN app I tried is a focus on search.
Maybe I'm using HN differently than most people, but I usually look for discussions on topics I'm interested in, instead of reading the top posts on all topics.
For example: I'm an Android developer, so I often browse hacker news by searching for "Android" in topics and comments, to see if there are any interesting discussions.
A great app for my usecase would allow me to search and quickly repeat previous searches right from the startpage.
You could add widgets that jump directly into saved searches.
I don't understand why Google can not roll this out internationally from the start. Why only US and UK?
The content is not subject to old copyright contracts, which is typically the argument not to launch something in Europe and its crazy copyright situation. And twitch is available everywhere.
If Google wants this to become a success, shouldn't they roll this out to as many people as possible and hope for network effects?
I've been there for the last 2 years, but this year I decided to ask my company for a flight to pycon instead.
For an Android developer, there are a lot of great talks at I/O, and you have the opportunity to meet the complete Android team and ask them questions.
But last year they reduced the event from three days to just two, and the first day starts with a 3 hour sales pitch for the press.
I met some interesting people there. One of them is working with me now, so that trip was definitely worth it. But I like to experience conferences like short educational trips where I learn new things with other people, and I think 5 days with the Python community will be more fun than another Google show.
Actually, no. Being able to purchase a book over a web browser and installing a native application store on your device are very different things.
I think you can argue that a browser itself is an app store (you download and execute (web-)apps with it). But Apple does not allow the installation of different browser engines, so you can still not install an app store on your device.
In a time where every manufacturer produces reasonable high end, top quality hardware and software, the difference between winners and losers comes down to the simple question who advertises and distributes at international scale, and who does not.
Google seems to be willing to invest _some_ money on advertising Android right now. But they still can't ship.
Don't forget that the whole "Nexus 6 not available" thing is only about the US store already being out of stock. In Europe and Asia you cannot even expect to get the device until next year. And when it finally hits, I bet the advertising has already stopped, and Samsung's next big thing is what you see on TV.
most of the time google collects data it is because users want this data to be collected.
If Google would not store emails on their servers, people would leave Gmail and go to a service that does. If Google would store emails, but end-to-end encrypt it, people would leave gmail and put their data to a service with a working spam filter.
Google Now is very popular and a reason why people use Google services.
For Googles revenue it is far more important that people use their services (and therefore watch ads), then it is to create "better ads".
I say that because nobody seems to get "smart ads" that are actually interesting to them. Googles gmail ads are little more than "if word is used in conversation, show product related to word".
How are my changes shared with the reviewer, if I there is no feature branch? Is my local code uploaded to that review tool mentioned in the article? And then what happens if the reviewer requests changes?
I probably did get this completely wrong, so thanks in advance for pushing me in the right direction.