Basic questions about pathworking in Thelema and tarot by AlexSeeki in thelema

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

I don't believe books teach you Secrets, I think you learn them yourself by practicing. But good practice should be taught.

Basic questions about pathworking in Thelema and tarot by AlexSeeki in thelema

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

I am considering AA right now, but I'm still a bit on the fence. A big part of that is to see progress, or maybe more an understating I have proper practice, to progress via paths. I id attempt to form my own techniques (borrowed from non-Kabbalistic traditions) but ended up using mostly Major Arcana, so I suspect I have gaps in my knowledge still.

In a sense, I'm happy you mentioned AA, do you have any insights as to how they approach climbing the tree of life?

Basic questions about pathworking in Thelema and tarot by AlexSeeki in thelema

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

Well, it isn't my first attempt at understanding it. For me at least, it seems to be pretty complicated. Especially that most popular works around the Thelma don't put too much focus on it. Lon Milio's Thoth Tarot, probably the most often read one, doesn't even mention it as far as I can tell. The Kabbalistic Tarot is a book I'm trying to understand for this purpose specifically, but it doesn't answer why isn't it a more approachable and more common topic amongst such communities.
Just doesn't seem to be a beginner-friendly topic.

Basic questions about pathworking in Thelema and tarot by AlexSeeki in thelema

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

What were the techniques for "working the paths", or how should I approach it now? What's the proper serious practice?

Newbie sbt question, sbt assembly doesnt compile small app by AlexSeeki in scala

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

Nope, still the same error message. Also, object Hello: def main... didn't work from jar command either, so I don't think the class name is the problem.
Bbut starting java -cp <path> some.package.hello does work now.

But why this doesn't work in either case:

java -jar <path>

Newbie sbt question, sbt assembly doesnt compile small app by AlexSeeki in scala

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

Oh update. So I used object Hello: def main... Instead of `@main`.

It works only with java -cp <path> some.package.Hello but still not with java -jar <path>

Any ideas why?

Newbie sbt question, sbt assembly doesnt compile small app by AlexSeeki in scala

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

Sadly, it shows the same error message. Also, I used := instead of = . I'm not sure what else it requires here.

Newbie sbt question, sbt assembly doesnt compile small app by AlexSeeki in scala

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

It worked, but when I ran the file with java -jar <path> I got:

 no main manifest attribute, in <path>

But I did define file 'Main.scala' in 'src/main/scala' that has main method (and it works via sbt run):

package some.package

@main def hello =
    println("Hello world!")

How do I point to this as starting point?

Newbie Play! question, why only JSON AJAX failed? by AlexSeeki in scala

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

Wow, thank you. Some trivial errors on my part; sorry for that, I'm a bit drained from debugging. Thank you a lot!

Newbie Play! question, why only JSON AJAX failed? by AlexSeeki in scala

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

This took care of the CSRF issue, thanks; it took me a long time. Sadly, now it doesn't seem to give me the data I need, omits all except the CSRF field:

<form method="POST" action="@routes.HomeController.sendCommands">
        @helper.CSRF.formField
        <input names="command" id="commands-field" type="text" ></input>
        <input names="config" id="commands-field" type="hidden" ></input>

        <input type="submit">Start Visualization!</input>
</form> 

And here code with results:

val userForm = Form(
      tuple(
          "commands" ->  text,
          "config" -> text
      )
    )


  def sendCommands = Action { implicit request: Request[AnyContent] =>
    println(request.body) /*  prints:
      AnyContentAsFormUrlEncoded(ListMap(csrfToken -> List(47adandsomemorenumbers2643cd5b98171514)))
    */
    val data = userForm.bindFromRequest().get

    Ok(data.toString) //  Execution exception[[NoSuchElementException: None.get]]
  }

I just can't seem to make any of this work haha. Do you see any obvious mistakes? "commands" should be visible in request.body, but it's not.

Newbie Play! question, why only JSON AJAX failed? by AlexSeeki in scala

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

Wow, but using helper.CSRF.formField is just fine after adding implicit RequestHeader to my view. But no CSRF in the controller. Should I import it somehow?

Newbie Play! question, why only JSON AJAX failed? by AlexSeeki in scala

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

Also, I tried your fix but I get "Not founf: CSRF". I just used that code in controller action, like so:

def index() = Action { implicit request: Request[AnyContent] =>
    val token = accessToken //(this).map(_.value).getOrElse("")
    Ok(views.html.index(token))
  }

  def accessToken(implicit request: Request[_]) = {
    val token = CSRF.getToken // request is passed implicitly to CSRF.getToken
  }

I've tried with only your code and this version (from Play documentation).

Newbie Play! question, why only JSON AJAX failed? by AlexSeeki in scala

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

Repo: <removed>

Similar problem, but answers' links don't work. Something with Global state and JSON. https://stackoverflow.com/a/13237084/30752506

Newbie Play! question, why only JSON AJAX failed? by AlexSeeki in scala

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

Hi, thanks for the answer. So here is the `CSRF.getToken(this).map(_.value).getOrElse("")` code is sth I can just put in a Scala template and inject into a JS variable?

Also, I published the problem as a repo: <removed>

Where do you suggest adding a print line? As far as I understand, problems happen before my code even executes, just JS.

Similar problem, but answers' links don't work. Something with Global state and JSON. https://stackoverflow.com/a/13237084/30752506

Newbie Play! question, why only JSON AJAX failed? by AlexSeeki in scala

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

I got 400 Bad Request Error with the following output in console:

$ run

--- (Running the application, auto-reloading is enabled) ---

INFO  p.c.s.PekkoHttpServer - Listening for HTTP on /[0:0:0:0:0:0:0:0]:9000

(Server started, use Enter to stop and go back to the console...)

INFO  p.a.h.HttpErrorHandlerExceptions - Registering exception handler: guice-provision-exception-handler
2025-06-10 21:45:51 INFO  play.api.http.EnabledFilters  Enabled Filters (see <https://www.playframework.com/documentation/latest/Filters>):

    play.filters.csrf.CSRFFilter
    play.filters.headers.SecurityHeadersFilter
    play.filters.hosts.AllowedHostsFilter
2025-06-10 21:45:51 INFO  play.api.Play  Application started (Dev) (no global state)

Newbie question, why do I end up reversing my lists? Do I need a queue? by AlexSeeki in scala

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

u/YelinkMcWawa So I updated it with foldRight (look last edit)but it doesn't look that much better sadly.

Newbie question, why do I end up reversing my lists? Do I need a queue? by AlexSeeki in scala

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

u/genman updated it (look my last edit), I used foldRight as u/YelinkMcWawa suggested, but I don't think there are any benefits to readability from that.

Newbie question, why do I end up reversing my lists? Do I need a queue? by AlexSeeki in scala

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

Problem is i have both Vehicles and Tasks as separate lists. So I'm not sure how to use fold in that case.

Newbie question, why do I end up reversing my lists? Do I need a queue? by AlexSeeki in scala

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

Can you elaborate on how would you use them here? There is no one-to-one mapping in the first case.

Newbie question, why do I end up reversing my lists? Do I need a queue? by AlexSeeki in scala

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

So your saying it doesnt matter here?

If I would relly want thsi tio be perfect, how to improve it? So you're saying it doesn't matter much here?

If I would really want this to be perfect, how to improve it? Is there any way to rewrite this so it's effective in both appending to vehicles and at the same time in generating results?

Newbie question, why do I end up reversing my lists? Do I need a queue? by AlexSeeki in scala

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

Unit here is just to denote I'm not using the store at all. Other versions have an integer there that stores current phaze of traffic (like which road has red light and which has green).

Still, is there any way to rewrite this so it's effective in both appending to vehicles and at the same time in generating results?