Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unsoundInput
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
unsoundInput
9y ago
I don't buy it. At least two core products of the biggest advertisement company in the world have no problem providing you value and generating ad-revenue without you having to be logged in. Google and YouTube would be nowhere near the
2.
▲
by
unsoundInput
9y ago
I'm wondering why they're getting more and more adamant that people register an account, even though a lot of people don't care about having an online persona outside of Facebook and wouldn't ever contribute anything to
3.
▲
by
unsoundInput
10y ago
There are two valid ways for a disassembler mitigate this: a) decompile to a language in which the bytecode can be expressed (in a concise / expresive manner, Java would always be a "possible" target because of turing complet
4.
▲
by
unsoundInput
10y ago
Well, it's not a jvm class file but a dalvik Dex file. A disassembler which can't generate compilable code from this valid Bytecode is incomplete or in other words: buggy.
5.
▲
by
unsoundInput
10y ago
Even though I agree that >>insert method of std::map is roughly 7 times slower than it should be<< is bad, these kind of problems are not too hard to find and solve if they are actually problematic for your software. The most pr
6.
▲
by
unsoundInput
10y ago
Funny, I tend to go the opposite way (immutable value types, stateful-as-needed behavior classes). I wonder how you argue that you have less stateful objects considering data objects are usually instantiated more than logic objects?
7.
▲
by
unsoundInput
10y ago
IMHO you overestimate the use of macs as development machines, doubly so in parts of our industry that works on projects where high performance GPU APIs are actually needed (games, cad, simulations)
8.
▲
by
unsoundInput
10y ago
I can't find the okhttp case you reference, but retrofit has a bunch of extra adapter artifacts that add an external library as a transient dependency to your project. The code for the binding classes lives in retrofit.adapter.{guava|
9.
▲
by
unsoundInput
10y ago
I started using sqlbrite (in combination with sqldelight) and stopped treating the database as an object store. Instead I create an interface for the data the customer needs (e.g. an item interface for elements in a listview), write a selec
10.
▲
by
unsoundInput
10y ago
That is actually not true. Afaik multiversioning of dependencies is not actually supported by build systems without manual effort (not counting major versions in non-conflicting namespaces). Problem is really more in fat libraries and "
11.
▲
by
unsoundInput
10y ago
I don't think so but I might also interpret the article wrong. The problem - from what I understand - is that you used to be able to use the systems sqlite.so to access databases owned by your app from the native environment. With Andr
12.
▲
by
unsoundInput
10y ago
Kind of related: There is an outstanding request [0] on the Android issue tracker to offer an official support/compat library for Android's sqlite bindings, that would bridge Android's API (in a different java package) to a s
13.
▲
by
unsoundInput
10y ago
I imagine that the industry is under comparatively little scrutiny by regulators and the public, and can therefore be as fast-moving and rule-bending[0] as the top SV startups. This combined with less (at least perceived) prudence in Europe
14.
▲
by
unsoundInput
10y ago
It is about treating new versions with major API breakage as if they were completely new libraries, not as a "maybe, possibly drop-in replacement, iff we use just the right feature subset". E.g. RxJava changed their maven artifact
15.
▲
by
unsoundInput
10y ago
I think this talk makes his opinion on how breaking changes in libraries should be handled (in the context of the JVM ecosystem) very clear: A) avoid breaking API changes B) if you have to do large breaking API changes, that will probably a
16.
▲
by
unsoundInput
10y ago
I am very confused what kind of state management MobX implements, especially after reading their current README ( https://github.com/mobxjs/mobx/tree/6ed404b96a8b4074a473accd... ) Is it Ember/Vue-style &qu
17.
▲
by
unsoundInput
10y ago
Imperative (especially Java-style OO-imperative) programming will just about always win over non-OO declarative programming in an analogy like that (i.e. a Simulation of a real world process) by nature of them being focused on step-by-step
18.
▲
by
unsoundInput
10y ago
I honestly don't see why you wouldn't consider SQLite to be a "proper database." I think it has a reasonably competitive feature set. In a usecase where you consider independent databases, with few interactions between
19.
▲
by
unsoundInput
10y ago
This obviously depends on the workload / amount of data per customer, but for some use-cases this could be done with SQLite. EDIT: Well, looks like someone beat me to it
20.
▲
by
unsoundInput
10y ago
Fully agreed that there are limitations, but I still think calling it an out-dated approach is unfair. I don't see a simple, low on boilerplate, one-size-fits-all solution for reusable and separated components on Android at the moment.
21.
▲
by
unsoundInput
10y ago
I disagree with you regarding Activities. For apps they do most of the screen management the developer needs just fine, especially if they are backed by a strong view and data model. If you download the App you can actually really quickly m
22.
▲
by
unsoundInput
10y ago
Kudos to them. Compared to the web it's rather cumbersome to poke into packaged and released mobile apps, so I really appreciate access to the source of a real world app for learning and comparison. The Android codebase looks very mod
23.
▲
by
unsoundInput
10y ago
What bothers me about this and other templating is that branching is so inconspicuous and therefore hides its complexity . Lets takes this extended example: <template> <div> <h2 class="c-section-heading"
24.
▲
by
unsoundInput
12y ago
The input still needs to be cached for eventual output in case the hash matches I assume.
25.
▲
by
unsoundInput
12y ago
I don't think of something as React-like just because it puts HTML and JS in the same file or combines HTML tags with blocks of JS code. The difference between React and other databinding methods is that you can use all JS language fea
26.
▲
by
unsoundInput
12y ago
I agree that calling it "React-like" seems misleading. When I read about a 'x'-like library I expect something that could actually replace 'x' and provide nearly the same features. Pete Hunt did a great talk on