Better HN
topnewbestaskshowjobs
Log inSign up

bookwormAT

1,036 karma · joined Oct 26, 2010 (16y ago) · 348 submissions

[ my public key: https://keybase.io/benjaminferrari; my proof: https://keybase.io/benjaminferrari/sigs/OrM8cdFG9PkJQRdHz0NXAakLQLpxffGBwyttfB6qMeY ]
Submissions

comment 8y ago · link · parent

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.

2.

Kotlin 1.1 beta is here(blog.jetbrains.com ↗)

11 points · by bookwormAT · 9y ago · discuss

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Well, I did not intent to vote that post, but now I upvoted it just to undo your mistake.

comment 10y ago · link · parent

Wow, that ecosystem grows fast.

There is often a quite negative response to Github's decision to base Atom on a HTML/Javascript/CSS stack, due to the performance hit.

But it seems that it attracted a lot of developers to work for the platform.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

I agree with your point, but "Google Android Play Music All Access Subscription" is an exaggeration. It's "just" Google Play Music All Access.

comment 11y ago · link · parent

At your first attempt to rate an app on Google Play, you got a dialog warning you that this will be connected to and visible on your account.

I find this information extremely useful, because a +1 from someone i know is more interesting than 5 stars from some random user.

However, I should be able to hide this / opt out after the fact.

comment 11y ago · link · parent

There is no actual tutorial, sorry. The best way to learn how to play EU is to watch a tutorial on youtube.

It's worth it, though...

comment 11y ago · link · parent

Android supports Java 7 since October 2013.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

this would explain why there are only submissions in english. But not why those submissions are blocked in other countries.

comment 11y ago · link · parent

I'm not sure it is dumb if a company spokesman says something in favor of his companies current situation.

If you are famous for your hardware keyboard then of course you say anything that favors hardware keyboards.

If you just released a computer with 640kb RAM, then of course you say that this is enough for everybody.

Steve Jobs famously said the kindle would flop because "people don't read anymore"

comment 11y ago · link · parent

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?

comment 11y ago · link · parent

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.

16.

Interview: Sundar Pichai on Google's Vision, Mobile Revenue, Apple and China(forbes.com ↗)

2 points · by bookwormAT · 11y ago · discuss

comment 11y ago · link · parent

Everything text is great if you listen to Stephen Frey reading it to you. But I personally think the "Goblin of Fire" (the 4th?) is the worst.

comment 11y ago · link · parent

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.

19.

Visualizing cross-platform development by Apple,Google,Microsoft(beyonddevic.es ↗)

2 points · by bookwormAT · 11y ago · discuss

20.

Encryption and Storage Performance in Android 5.0 Lollipop(anandtech.com ↗)

8 points · by bookwormAT · 12y ago · discuss

comment 12y ago · link · parent

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.

Still a great phone.

comment 12y ago · link · parent

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".

comment 12y ago · link · parent

they had just 15 minutes with the devices, plus a scripted demo from a sales person.

comment 12y ago · link · parent

Google Inbox is indeed written in J2ObjC:

See https://groups.google.com/forum/#!topic/j2objc-discuss/5lMZN...

comment 12y ago · link · parent

I highly doubt that the very few people who root their phones are the focus of Google's business plan regarding smart phones.

comment 12y ago · link · parent

"I can't believe this is just now being fixed."

I always cringe when I read a complaint like this. Every larger project has a long issue list, and it is perfectly normal that an issue that is super important to some ends up further down on the priority list of the team.

The Android team implemented a lot of issues and features over the last decade. Just because there is an issue that deserves fixing doesn't mean it is the most important task at hand.

comment 12y ago · link · parent

Or, "Ok Google, set a timer for 5 minutes" on Android

comment 12y ago · link · parent

parent didn't write "they already finished merging the platforms"
12345
12