Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dangets
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
dangets
5y ago
Yes and no, Jetbrains did an incredible job on Kotlin with seamless interop with Java, trouble-free mixed Java/Kotlin codebases, as well as reducing the learning curve and mental context switching as compared to something like Scala.
62.
▲
by
dangets
6y ago
There were a few other places in the first level that had "room above room" hacks that only work if you can't see overlapping areas of both rooms at the same time. In the movie theatre there is a projector room up high, and t
63.
▲
by
dangets
6y ago
I'll plug 'When Breath Becomes Air', also for brain surgeon.
64.
▲
by
dangets
6y ago
I agree in the difficulty of finding abundant, good examples for F#. I'll throw out some plugs for ones that I liked. * https://pragprog.com/titles/swdddf/domain-modeling-made-func... Uses F# as implementat
65.
▲
by
dangets
6y ago
Snippet from "Kafka: The Definitive Guide" People often ask how Kafka got its name and if it signifies anything specific about the application itself. Jay Kreps offered the following insight: I thought that since Kafka was
66.
▲
by
dangets
6y ago
There is a JEP to support Java on windows on AARCH64. http://openjdk.java.net/jeps/8248496
67.
▲
by
dangets
7y ago
Microsoft also published a good series of articles on DDD / CQRS / Hexagonal architectures [1]. I especially like the diagrams of dependencies between layers on that linked page. [1] https://docs.microsoft.com/en-
68.
▲
by
dangets
7y ago
Kotlin will do exhaustive checks in a `when` block when it is an expression. You can add a `.let { }` at the end of the when statement if you want to enforce this and not really return anything. sealed class Communication data cl
69.
▲
by
dangets
7y ago
I am currently a big fan of the hexagonal architecture which is pretty close to what you describe as far as layering. https://blog.octo.com/en/hexagonal-architecture-three-princi... https://blog.cleancoder.c
70.
▲
by
dangets
7y ago
This is where I would either a) create 2 separate DTO representations with adapters to the internal domain object or b) have a trait which the 2 specialized structs implement. This conversion point is also a good place to do your validatio
71.
▲
by
dangets
7y ago
I've also been extremely pleased with their acceptance, communication, and turn around with bugs filed on the mssql-jdbc driver. Code is typically fixed and new versions published fairly regularly. I hope they keep it up. https:
72.
▲
by
dangets
7y ago
This point is brought up in the book Domain Modeling Made Functional [1] where the author contends that F# types (including functions) is readable to BA folk and this will help the communication barrier between them and devs. I highly reco
73.
▲
by
dangets
8y ago
I've heard it makes Kotlin integration a pain also if you are ever planning on that. If your Kotlin code depends on Java lombok classes, the compiler fails. Most people probably don't have this concern, but IMHO a mixed Kotlin-J
74.
▲
by
dangets
8y ago
Yep. I love data classes for the simplicity and utility but pretty soon there are more annotations than java code. In Java I prefer Immutables over Lombok but once you add Jackson annotations, customize the Immutables generated code (@Valu
75.
▲
by
dangets
8y ago
There was a recent blog post following KotlinConf 2018, saying 27% of top 1000 google play apps use Kotlin. https://android-developers.googleblog.com/2018/10/kotlin-mom...
76.
▲
by
dangets
8y ago
A coworker introduced me to Caffeine which I think shares authors with Guava's cache. Kind of a 2.0 /lessons learned iteration. https://github.com/ben-manes/caffeine
77.
▲
by
dangets
8y ago
F# has statically type checked printf also. I know it's a completely different realm than C++, but still pretty interesting. https://fsharpforfunandprofit.com/posts/printf/
78.
▲
by
dangets
8y ago
For better or worse, many times UX is more important than functionality.
79.
▲
by
dangets
9y ago
I liked this book - somewhat directed to using Suave (webserver), but provides the general purpose grounding and design while building towards a bigger project. http://products.tamizhvendan.in/fsharp-applied/
80.
▲
by
dangets
9y ago
True, but the constructor method is checked/validated at compile time vs. run time with the builder pattern. Not quite the same as your example, but Kotlin does have good syntax for copying data classes while only changing a single fi
81.
▲
by
dangets
10y ago
We've been instrumenting Zipkin in our environment over the last couple of months and it has been excellent to work with. While there are a couple of snags here and there, it is _amazing_ at how quickly it can bring bottlenecks and ba
82.
▲
by
dangets
11y ago
You might try Jamendo. Most (all?) of the music on that site is under Creative Commons license, but I'm not 100% sure if that captures exactly what you want.
83.
▲
by
dangets
12y ago
I don't think it should be too difficult (not saying that d3 doesn't have a learning curve). There are some examples on the d3 gallery that would probably be close. http://bl.ocks.org/mbostock/4060606 http:
84.
▲
by
dangets
12y ago
Thanks for your book by the way! I loved it. (and it also made me recognize your username, proving your appreciation/reputation argument) http://gameprogrammingpatterns.com/
85.
▲
by
dangets
14y ago
I believe the concept says to focus more on task-based parallelism rather than data-based parallelism. In Go, it is easy to create multiple tasks/workers each with a different job. This is implicitly parallelizable - each task can (but doe