Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joostdevries
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
joostdevries
9y ago
Being able to take an instance Person and make it be an Employee without changes to the Person class definitely sounds like ad hoc polymorphism. In Scala the equivalent of Haskells type classes is implicits though. Not traits. I do wonder i
32.
▲
by
joostdevries
9y ago
Interesting, the new type IAsyncEnumerable is like an Observable. But it's pull instead of push. Ie it supports backpressure like the Reactive Streams [1] standard in the JVM world. I seem to recall that Erik Meijer had some strong opi
33.
▲
by
joostdevries
9y ago
"green eyed monster" it's hard to discuss the merits of these old and extremely influential texts. Some texts are so foundational to a language that even their mistakes have gotten imbued with beauty. In my native language, D
34.
▲
by
joostdevries
10y ago
I hear you. In my experience with quite a few Scala project with mixed teams it's not a problem though. You just maintain some shared culture of "don't do X if not absolutely necessary". You need that for any language.
35.
▲
by
joostdevries
10y ago
That's a result of the Curry Howard Lambek isomorphism. So I'm afraid it's not a new rule. :-)
36.
▲
by
joostdevries
10y ago
That reminds me of how, back in university, a mate said to me over beers: "Happiness is the derivative of well being" He's a professor of statistical econometrics now.
37.
▲
by
joostdevries
10y ago
What are the issues you're facing with RabbitMQ? I'm about to start a new project and we still have choice which queueing to use...
38.
▲
by
joostdevries
10y ago
I love using Scala on the server and Typescript in the browser. And adjusting ts type definitions by hand gets tiresome very quickly. So I look forward to trying this out.
39.
▲
by
joostdevries
10y ago
No it isn't http://www.slideshare.net/yoozd/union-types-and-literal-sing...
40.
▲
by
joostdevries
10y ago
It's funny to see that singleton types are within the highest level: 'expert'. While in Typescript they're, together with union types, the most intuïtive thing ever. I guess that's because to express them in a lang
41.
▲
by
joostdevries
10y ago
There's Async Await. Which makes asynchronous code look like regular blocking code. But the calling code needs to know about it. I recognise your concern: asynchronicity is infectious if it's manifested as monads. Which sucks. Cl
42.
▲
by
joostdevries
10y ago
Have you heard any of his presentations on the new compiler architecture? I'm incredibly impressed with the stewardship of Scala: they did a thorough assessment of the strengths and weaknesses of language and compiler and are working o
43.
▲
by
joostdevries
10y ago
Compilers that have a language service api are awesome. The Typescript compiler does and it makes for high quality low latency refactoring, code completion, show expression type etc across ediors and IDEs. Since my other day to day language
44.
▲
by
joostdevries
10y ago
This article is the lowest form of FUD. Java has been sloooowly adding features that Scala championed in the JVM world; lambdas and type inference within them in Java 8, REPL in Java 9, partial cases clases in Java 10 (yes to the syntactic
45.
▲
by
joostdevries
10y ago
Good point. I guess there's more that should be a shared commonly funded resource: probably the core engine.
46.
▲
by
joostdevries
10y ago
Sounds like the Docker container format should be split of into an independent foundation. Because everybody wants to use it but there's no money to be made of it. Then companies can compete on how to run Docker in production.
47.
▲
by
joostdevries
10y ago
That Elm talk is really interesting. Tx. When it comes to Monad et al I'm reminded of this talk by Gilad Bracha. He points out that the function names and type names that stem from category theory are not very good at communicating the
48.
▲
by
joostdevries
10y ago
From what I hear the JVM still has a funded team at Oracle. It's Java EE that has been put in the fridge. See fi this article on the upcoming Graal vm: https://medium.com/@octskyward/graal-truffle-134d8f28fb69#.9..
49.
▲
by
joostdevries
10y ago
For posterity's sake: I just noticed this thorough comparison between Akka and Orleans from the Akka team. [1] https://github.com/akka/akka-meta/blob/master/ComparisonWith...
50.
▲
by
joostdevries
10y ago
I myself am mostly aquainted with Akka for Scala. So I was wondering what different design decisions they made, if any. After all a second implementation of a framework is often better than the first. They do go into that in the research pa
51.
▲
by
joostdevries
10y ago
..and it's flat instead of nesting.
52.
▲
by
joostdevries
10y ago
I'm a static types kindaguy. So I've rewritten some of this code using Typescript to see what that looks like. https://github.com/joost-de-vries/typescript-ramda/blob/mast...
53.
▲
by
joostdevries
10y ago
On second thought: I guess Async Await are like a `do` notation specifically for Promises...
54.
▲
by
joostdevries
10y ago
I was recently thinking while working with ES6 Promises that I liked to have something equivalent to Haskells `do` notation. Or Scalas `for` comprehension. Does something like that exist? If not maybe I should try Kleislis instead. But I&#x
55.
▲
by
joostdevries
10y ago
I use Slick to access Postgres and it does support postgres window functions: https://github.com/tminglei/slick-pg#details
56.
▲
by
joostdevries
10y ago
These big companies don't like uncertainty in their IT platform though. And this apparent lack of commitment to Java EE without any communication could scare them away. We can only speculate what's going on at Oracle. Some options
57.
▲
by
joostdevries
10y ago
I prefer to use functional frameworks. They 1) express the sql with map, flatmap, filter, groupBy etc functions 2) use classes that are equivalent to tuples. Since I develop in Scala both are very intuïtive to write. Apparently Linq for F#
58.
▲
by
joostdevries
10y ago
As a Dutch citizen I very much feel kinship with people who happen to be from the other founding countries D, F, B, L, I. I speak their languages, I know their typical strengths and foibles, I've visited their cities, I know their hist
59.
▲
by
joostdevries
10y ago
I recently wrote an sbt plugin. And I found that sbt became much easier after learning the core concepts. The book 'Sbt in Action' explains it very well and also contains a great comparison of build tools; what they historically
60.
▲
by
joostdevries
10y ago
As codablah said: the availability of type definitions is a major difference in ease of use. The other reason is that I can add a specialised frontend dev to the team and reasonably expect them to be able to work in Typescript.
More ›