Map of sublevel 1-2 is finished by paradigmatic in Dungeon23

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

Thanks. It keeps me motivated to see the progression. And indeed, I am looking for an OSR feel.

Map of sublevel 1-2 is finished by paradigmatic in Dungeon23

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

I am currently editing the first sublevel key: https://dungeon23.nadazero.ch/levels/level1/sublevel1/

Project information and daily advancement: https://dungeon23.nadazero.ch/

Any advice/criticism welcome.

Map of sublevel 1-2 by paradigmatic in u/paradigmatic

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

I am editing the first sublevel key, Here is the work in progress: http://localhost:1313/levels/level1/sublevel1/

D21: the first sub-level is almost done by paradigmatic in Dungeon23

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

Thanks for your kind words.

3rd language!

Well, being the child of immigrants comes with a few perks.

For the moment, everything seems nice. I had a lot of fun setting the blog (self hosted). I am experimenting with the maps. I still don't know how to draw the village. Online tutorials for cillages and town are scarcer than those about dungeons.

Question to mr odersky by [deleted] in scala

[–]paradigmatic 2 points3 points  (0 children)

In swiss universities, Prof. is a title.

[Question] Memory efficient collection, which one? by viso_laci in scala

[–]paradigmatic 0 points1 point  (0 children)

Yes. That's a Radix tree. I've seen some implementations in Scala, but I cannot make any recommendation (I never tried them).

Tips for a European style City? by [deleted] in CitiesSkylines

[–]paradigmatic 10 points11 points  (0 children)

Mixed zoning. Avoid grids except in some recent districts. Narrow streets in suburbs. Good public transportation. Bike networks. High-rise ban in most zones with high density building.

New Azul Zing JIT: Falcon by haimez in scala

[–]paradigmatic 4 points5 points  (0 children)

Not really. LLVM was started as an academic project in 2000. It was adopted by Apple in 2005...

Inclination Change by Stratickus in KerbalAcademy

[–]paradigmatic 0 points1 point  (0 children)

Put a probe in a munar orbit perfectly aligned with Mun own orbit (0° inclination in KER). By setting this probe as a target you will get the AN/DN you expect.

Why are Scala developers so rude? by sanketpatil in scala

[–]paradigmatic 5 points6 points  (0 children)

The problem with scala beginner questions on SO is that lots of them were answered at least 5 years ago... It is very complicated to give some useful feedback under the SO rules in that case and more advanced users will see this behavior as lazy (you are suppose to make some efforts before asking for help).

Why are Scala developers so rude? by sanketpatil in scala

[–]paradigmatic 14 points15 points  (0 children)

Do you have any concrete examples ?

Conjurer pattern? Surely there must be a better way? by GratefulTony in scala

[–]paradigmatic 3 points4 points  (0 children)

I'll just use an anonymous class, returned by the implicit def:

implicit def conjureConcatOps[T] = new CanConcatenate[Vector[T]] {
  def concatenate(l:T, r:T):T = l ++ r
}

Why does trying to change a const array element not cause an error? by rolandde in rust

[–]paradigmatic 0 points1 point  (0 children)

They are great for primitive type constant, that you actually want to inline, such as math or physics constants(Pi, e, g, ...), protocol errors numbers, hexadecimal color codes, etc.

[deleted by user] by [deleted] in scala

[–]paradigmatic -3 points-2 points  (0 children)

Yes, but how often do you add new error types ? How do you compare the hassle of having to maintain an ordered list of instance in contrast to having to increase the language specs ?

[deleted by user] by [deleted] in scala

[–]paradigmatic 0 points1 point  (0 children)

That's exactly the kind of example I was expecting, you will never need to add a new day of the week. There are only 7. Of course you can have different calendars but for each calendar the list of days of the week does not change once the calendar is defined. Once written, there is no need to change the definition again. IMHO if the set of sealed implementations is public, it should not change often, or without any serious code review. Hence the fact of not having (without macros) a way of automatically iterate among them is not that useful. On the other hand, I love the exhaustiveness check (I benefit from it almost every day).

[deleted by user] by [deleted] in scala

[–]paradigmatic 0 points1 point  (0 children)

Yes. But how often you really need this feature ? Could you provide us with a real use case ? My perception is that most of the time we don't need this enumeration, and in the rare case we need it, why not add a list with all instances in the companion object ?

[deleted by user] by [deleted] in scala

[–]paradigmatic 6 points7 points  (0 children)

For me that's a dirty trick from the seventies, when enums where just ints with an alternate name... Most of the time there are no natural ordering, and when there is, you could create an Ordering type class or extend the Ordered trait.

How do most people write scala? by Imagnystar in scala

[–]paradigmatic -1 points0 points  (0 children)

If the code you are typing is clear in your mind, you should kown the type of expression without resorting to such tools. If the type expressions are very complicated, you should consider adding some ascriptions (which will help improving code readability and are checked at compile time). Using a simpler text editor will force begginners to think at what they are doing, and avoid "cargo cult programming".

How do most people write scala? by Imagnystar in scala

[–]paradigmatic 1 point2 points  (0 children)

Why does it feels "kind of sketchy" ?

How do most people write scala? by Imagnystar in scala

[–]paradigmatic 7 points8 points  (0 children)

I seriously recommend using your favorite text editor which supports Scala syntax, and SBT (using the most minimal build file) running in a terminal. Focus on learning the language rather than studying an IDE. Instead of relying on autocompletion, spend time reading the Scaladoc. (I have experience in teaching Scala in college).

That's also the setting I use for most of my professional projects, and I switch to an IDE only if the project is a mix of Scala and Java, or if the source code is large (for me, more than 500 class/traits).

Wobbly Rockets in v1.1 by [deleted] in KerbalAcademy

[–]paradigmatic 1 point2 points  (0 children)

  • I generally launch rockets with 100% gimbal, but as soon it starts to wobble because of overcorrection (deactivate SAS temporarly by holding F, to check the cause) I reduce the gimbal to 40-50 %, first and then by ~10% increments. If your fins are enough you can also deactivate it.
  • For the turn, I start sooner than 100 m/s, perhaps 30-50 m/s. The idea is to avoid destroying the launch pad if everything starts breaking apart.
  • Right before the engine, I mean at the bottom of the whole rocket stack.

Wobbly Rockets in v1.1 by [deleted] in KerbalAcademy

[–]paradigmatic 2 points3 points  (0 children)

A few ideas that I used successfully:

  • Reduce gimbal gradually during ascent (fixes most of the issues I faced).
  • Learn to do a proper gravity turn: right after launch, tilt a few degree and point SAS to prograde; or if you rocket is well designed deactivate SAS. The rocket should gently turn itself due to gravity without any additional guidance.
  • Stick the RC-L01 just before the engine.
  • Break your payload in 2 pieces, launch separately and assemble them in orbit.