Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cel1ne
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
cel1ne
9y ago
Everytime I read a HN comment claiming a language to be „blazingly“ fast, i wish they posted a link to statistically sound benchmarks, including vm-warmup, GC collection times, etc. Otherwise I just throw these adjectives away. I argue a ne
92.
▲
by
cel1ne
9y ago
There's a way around that: First time, you do it "like a sketch", no criticism allowed. Then you can work over it. Every creative work that ever got finished was made like that ;). Better finish 80%, than miss 100%.
93.
▲
by
cel1ne
9y ago
I'm reading Annotations on Java-Code and generating classes from them, so I need to parse Java first.
94.
▲
Consistent Gradle / Android Studio Performance-Tips
(medium.com)
1 points
by
cel1ne
9y ago
|
0 comments
95.
▲
by
cel1ne
9y ago
I wrote an annotation processor for [0]. If you use Kotlin instead of Java it's way better because no nullability-issues and it's super-useful standard-library. And once you've figured out how to hook it into gradle, IDEA etc
96.
▲
by
cel1ne
9y ago
But how do you access the original AST in your python?
97.
▲
by
cel1ne
9y ago
The main problem with JS being sluggish (in electron apps for example) is memory and especially the GC. I can optimize CPU usage all I want, but only after I optimized for minimum allocations, the tiny, but noticeable lags now and then woul
98.
▲
by
cel1ne
9y ago
I can remember playing it with my Voodoo card. T2 had Glide support and with that on, you could see much further than players with OpenGL cards.
99.
▲
by
cel1ne
9y ago
More tips: * Never use object-relational mapping * Use postgreSQL instead of mySQL * (optionally) switch from PHP to python
100.
▲
Chromium: mouse over blank page consumes CPU
(bugs.chromium.org)
4 points
by
cel1ne
9y ago
|
0 comments
101.
▲
by
cel1ne
9y ago
A book recommendation: https://www.amazon.de/Heretics-Guide-Best-Practices-Organisa...
102.
▲
Standard selection modifiers usable with Chrome Tabs
(arstechnica.com)
2 points
by
cel1ne
9y ago
|
0 comments
103.
▲
by
cel1ne
9y ago
No, but I'll might write it up at some point. So much to do, so little time ;)
104.
▲
by
cel1ne
9y ago
Because it's probably the most-advance virtual machine out there. It has a massive ecosystem, many years of testing and battle-tested devops-tooling. It has everything.
105.
▲
by
cel1ne
9y ago
I know, I played around with quasar a couple of month ago.
106.
▲
by
cel1ne
9y ago
Well, if I had to pick a single recommendation for improvement of any web-development-cycle, it would be `Tachyons.css`: http://tachyons.io/
107.
▲
by
cel1ne
9y ago
Never used Angular nor NativeScript. I get along with ReactNative, it's decent. The data-application part of my last android-app was already written in (JVM-)Kotlin and in the futures the UI will be as well. ;) I recommend my styling l
108.
▲
by
cel1ne
9y ago
With kotlin I seldom need a framework, because the standard-library is so rich. In general, when I tend to follow a data-flow ("redux" for JS people) architecture, but have a different approach when it comes to side-effects: My st
109.
▲
by
cel1ne
9y ago
OP here. I agree.
110.
▲
by
cel1ne
9y ago
Here is a good tutorial if you'd like to try it yourself: https://kotlinlang.org/docs/reference/type-safe-builders.htm...
111.
▲
by
cel1ne
9y ago
Yes. I have not published them, because a) they use the same method names like the `kotlin-html` package ("div{}" et. al.), only they create ReactElement instead of manipulating the dom. This could be confusing. b) The type-safe s
112.
▲
by
cel1ne
9y ago
It maps to database fields. The compiler checks that it's a string, but the rest is done by `admin-on-rest`'s mapping.
113.
▲
by
cel1ne
9y ago
I agree principally, however I haven't found it to be an issue. Kotlin is rather literal in it's translation. Arrays are mapped to arrays, interfaces are mapped to objects. Plus you can use plain javascript anywhere in your code:
114.
▲
by
cel1ne
9y ago
IntelliJ IDEA, Community Edition.
115.
▲
by
cel1ne
9y ago
This is from the JS-library "admin-on-rest", that I use (via bindings). It's possible to introduce type-safe wrappers here as well.
116.
▲
by
cel1ne
9y ago
Background: I learned Javascript 1997 and kept up. I have extensive experience in ES6/React for the browser and Java/Kotlin for Server-, Desktop- and Mobile-Apps. A week ago I switched a fairly new project from the usual setup (re
117.
▲
by
cel1ne
9y ago
I'm thinking of doing exactly that switch. How did you get first customers?
118.
▲
by
cel1ne
9y ago
Check out tachyons and you'll never use anything else again: http://tachyons.io/
119.
▲
by
cel1ne
9y ago
`jsonb` functions in Postgresql can build nested objects in a single select statement. Combine that with proper joins and functional indices and there shouldn't be a problem.
120.
▲
by
cel1ne
9y ago
It was originally an OS for cameras. It's a pain to develop on. I believe they used an automated tool to convert a C-codebase to Java (judging from method name, usage of bit-fields instead of enums etc.)
More ›