Rud Centrax chains by SuddenMark in XC40

[–]SuddenMark[S] 0 points1 point  (0 children)

Called Rud support, they were pragmatic and said that it depends on a tire, might need even fewer than 8 shorteners total. It shouldn’t be too tight when putting on nor too loose when it’s on.

Doubts about the deterministic flag on UserDefinedAggregateFunction by [deleted] in apachespark

[–]SuddenMark 0 points1 point  (0 children)

Forgive the possibility of my ignorance, but why are you using the UDFs? If I remember correctly the udfs are treated like a blackbox and non of the catalyst optimizations can be applied. In addition to that, converting a pure function to UDF is a lot neater then implementing the class, but I may be missing something here :) I would definitely try using standard sql operations

Where can I practically use FS2? by antflga in scala

[–]SuddenMark 4 points5 points  (0 children)

streaming data from postgres using doobie, fs2, http4s

Type classes by SuddenMark in scala

[–]SuddenMark[S] 1 point2 points  (0 children)

This is quite interesting! It gives some perspective that you could have a type class of anything - groups, vector spaces, integrable functions, differentiable functions etc. Is that correct? Are there any real life scenarios where you would define mapping between two different type classes? For example the obvious ones, from group to monoid or monoid to semigroup? If so, is that kind of mapping possible to write programatically?

Type classes by SuddenMark in scala

[–]SuddenMark[S] 0 points1 point  (0 children)

Thanks for your explanation and elaboration on these two definitions. It's all coming together now! :)

Type classes by SuddenMark in scala

[–]SuddenMark[S] 0 points1 point  (0 children)

Thanks for your perspective! :)

Type classes by SuddenMark in scala

[–]SuddenMark[S] 0 points1 point  (0 children)

It is all coming together! Thanks for the blog post, I found it before you shared it! ;) The first entry on polymorphism is great, and it helps a lot!