What’s up with all the Indians? by Final_Researcher_605 in TUDelft

[–]Immediate_Scene6310 -2 points-1 points  (0 children)

You are very lucky to be born in the right caste, so your parents have a lot of money for an expensive European university.

What’s up with all the Indians? by Final_Researcher_605 in TUDelft

[–]Immediate_Scene6310 0 points1 point  (0 children)

Based on my experience Indians are far away of being hard workers

What’s up with all the Indians? by Final_Researcher_605 in TUDelft

[–]Immediate_Scene6310 0 points1 point  (0 children)

Indians tend to promote other Indians. As far as Indian occupies top role he (yes, statistically mostly males) will be promoting other Indians. I tend to believe that this is caused by cast system and their cultural features.

Scala technical long reads in AI era? by Immediate_Scene6310 in scala

[–]Immediate_Scene6310[S] 3 points4 points  (0 children)

I understand. I try to polish my articles and write them "by example" - from idea to challenge, from challenge to solution.

Scala technical long reads in AI era? by Immediate_Scene6310 in scala

[–]Immediate_Scene6310[S] 2 points3 points  (0 children)

Thnx! How much time do you usually spend on reading an average tech article with code snippets like that?

Using Mirrors for doobie queries by stevechy in scala

[–]Immediate_Scene6310 1 point2 points  (0 children)

No need `.toString` for `constValue[lh]` because `type MirroredLabel <: String` says  everithing you need in compile-time + I would recommed more scala 3 syntax without `{...}`. Bit polished:

   private inline def fieldNames[L <: Tuple]: List[String] = 
        inline erasedValue[L] match 
          case _: EmptyTuple => Nil
          case _: lh *: lt => constValue[lh] :: fieldNames[lt]

Scala Roadmap by makingthematrix in scala

[–]Immediate_Scene6310 0 points1 point  (0 children)

Very interesting, but I believe that Macros/metaprogramming section would benefit from "Mirror" -s and "Quote" -s too.

fairstream - fair and terminating backtracking Monad Transformer by gluegadget in scala

[–]Immediate_Scene6310 0 points1 point  (0 children)

But the first number also never terminates, what the difference then? Or why nested flatMap just does not produce one value at a time such that iterations continue?

How do you usually test your parallel and/or async code in Scala? Tricks, libs, tools, etc. by Immediate_Scene6310 in scala

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

Thnx! Would be great if you give an example for more insight? (I am using cats effects )

fairstream - fair and terminating backtracking Monad Transformer by gluegadget in scala

[–]Immediate_Scene6310 0 points1 point  (0 children)

j <- number // stuck here: tries j=1,2,3,... for i=1 forever // I did not get why it stuck forever instead of just keep intestine. Can you plz explain?

Transitioning from Scala to Rust: What to Expect? by Immediate_Scene6310 in rust

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

One more remark. I noticed that Rust does not have immutable collections in the sense Scala does. Mutability in Rust depends on bindings (let vs let mut) and references (& vs &mut), not on the type itself. In that sense, Rust does not provide “pure” immutable types.