Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mojuba
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
211.
▲
Dear app devs, you probably don't need to enable tracking/IDFA, here's why
1 points
by
mojuba
4y ago
|
0 comments
212.
▲
by
mojuba
4y ago
Exactly. Short terms tricks are often also used right before a funding round or acquisition.
213.
▲
by
mojuba
4y ago
Could it be that the mobile interface was simply better in terms of speed, usability, smoothness of the UX? Complex web apps honestly often look and feel shite in the browser.
214.
▲
by
mojuba
4y ago
There's an (unverified) myth that retention on mobile apps is better. This is one of those things that marketing people keep telling each other without ever verifying the facts. (Unless you deliberately make the web version inferior, o
215.
▲
by
mojuba
4y ago
Like in C++, right? The compiler can decide whether it's a compile-time or run-time constant.
216.
▲
by
mojuba
4y ago
Yes, it's "let" in Swift and in some (semi)functional programming languages too. > in practice "var" are an order of magnitude more rare than "val" Or rather, it should be that way. Agreed, and I think
217.
▲
by
mojuba
4y ago
It absolutey matters when skimming a well written code. Whether a variable is immutable or not is almost as important as its type.
218.
▲
by
mojuba
4y ago
Tangent: I find the choice of keywords val vs. var in Kotlin a bit unfortunate. The way we read text (or rather skim) is a lot of the times by the shapes of entire words. Val and var are a bit too similar in this regard and I think let vs.
219.
▲
Employees Crave Asynchronous Work
(inc.com)
2 points
by
mojuba
4y ago
|
0 comments
220.
▲
by
mojuba
4y ago
So, the eternal "You can host your stuff in your basement" vs. "No, not everyone can host their stuff, it's hard". Here's (hopefully) some food for thought on how a decentralized web could work in an ideal worl
221.
▲
by
mojuba
4y ago
> The title of the article is outrageous clickbait and the author should be ashamed of that fact Agreed. Some big part of this blog post are things that every backend, web and even mobile developer should know (except if you are really d
222.
▲
by
mojuba
4y ago
Exactly my thought. That would save many kilotonnes of lightning chargers and cables from being thrown away (and replaced with USB-C ones for no good reason really).
223.
▲
by
mojuba
4y ago
Why can't the described use case solved with some trivial database with digital signatures? Which is essentially sort of blockchain, just simpler. However, with or without blockchain you still need an authority that would say: "th
224.
▲
by
mojuba
4y ago
I wanted to share once a pretty interesting online community, Asynchrony.com, which is long gone now. You'd join it, share your idea in the hope some people would like it, join your team and start building it. Or you would browse other
225.
▲
Asynchrony: A virtual community where members share ideas and form teams (2000)
(web.archive.org)
3 points
by
mojuba
4y ago
|
1 comments
226.
▲
by
mojuba
4y ago
Here is another: just a text box where you start typing in any language, whatever character set/keyboard Latin or not, and it brings you the closest matches. You don't need to see the full list of countries just to select one of t
227.
▲
by
mojuba
4y ago
I get the joke but no. Place names are funny because some of them sound the same in foreign languages, while others are close but not quite the same.
228.
▲
by
mojuba
4y ago
Oops, you are right!
229.
▲
by
mojuba
4y ago
I tend to use the original German, Italian, Spanish, French place names even when speaking English in fact. I don't know why, I like it that way. Aren't Köln, Munich [edit München], Zürich, Venezia, Firenze beautiful names?
230.
▲
by
mojuba
4y ago
There's one inconvenience with country names with non ASCII-7 characters: country drop-down lists. They are so long you almost always start typing the name first. If you are looking for, say, a hotel in Turkey (now Turkiye) you don
231.
▲
by
mojuba
4y ago
Sorry, I wasn't clear: they all built classes with more than one entry point.
232.
▲
by
mojuba
4y ago
Spaghetti is not minimalism, it's quite the opposite. You should minimize dependencies, minimize every function, avoid repetitions, etc. What you mean by MVP that evolves into spaghetti is called "incompetence".
233.
▲
by
mojuba
4y ago
I was talking about the kind of intuition that while looking at the code you should know whether it's safe to copy it or not, i.e. whether it should be examined closely before copying. From your story, the same class was copied 30 time
234.
▲
by
mojuba
4y ago
No. Depending on the language you can find a way of returning 0 to 2 results. Could be a dynamic array, could be a tuple that allows NaN's of some sort.
235.
▲
by
mojuba
4y ago
assert(INT_1 == 1); Gotcha.
236.
▲
by
mojuba
4y ago
You shouldn't introduce a typo in the int literal "1" or even in the word "https". It should be in your manual memory.
237.
▲
by
mojuba
4y ago
I'd argue that's not minimalism. A lot of the times it relies on the engineer's intuition: is this trivial enough that it can be copied? If as you say those trivial functions were buggy and nobody saw the red flags while copy
238.
▲
by
mojuba
4y ago
Is it just lack of constraints though? Minimalism also guarantees improved maintainability and fewer bugs in the code. The less you write, the fewer mistakes you make, it's that simple.
239.
▲
by
mojuba
4y ago
I once, a long time ago, had a similar argument (somewhere online) with a bunch of Java coders. I asked them to create a library for solving quadratic equations. Asking to create a library itself was a trap of course. Everybody came up with
240.
▲
by
mojuba
4y ago
Yes it's a problem, but because you (as a library maintainer) are responsible for what you are embedding, you should keep an eye on the dependencies and test them with each update. This creates a hierarchy of responsibilities, as oppos
More ›