Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jason Pettis
    @jazonp
    @SteffanCline i think I have that same on my server. I will see if I can get lasso pointed in the right place
    Jason Pettis
    @jazonp
    @SteffanCline dumb-ish question - are both the Class Path and Library Path the same value? I can't find a good example if that's the case or not
    Steffan Cline
    @SteffanCline
    I think JAVA_HOME goes the root of the folder that has all the directories line bin lib etc. I think the classpath goes to the JAVA_HOME/lib or something like that. I’d have to Google it.
    Jason Pettis
    @jazonp
    IF you can, I'd appreciate it. I'm not finding anything in my searching
    Jason Pettis
    @jazonp
    wellllll ... turns out that the issue wasn't java or the class path or the library path, it was because I was missing VCRUNTIME140.dll. I had to install the latest C++ and now LJAPI is working! But the only way I figured it out was running in console mode, the moment I ran it I got the missing dll error. So now I know and all is well
    Steffan Cline
    @SteffanCline
    Didn’t I mention that??
    Ah, yes, there it is. 😉
    That console mode has bailed me out many times.
    Jason Pettis
    @jazonp
    @SteffanCline yes your advice was instrumental to the solution. much appreciated!
    Jolle Carlestam
    @jolle-c

    A word of warning.

    I made an update to Big sur 11.3 today and now discover that Lasso 9.3 didn't start again.
    Have not done any diagnostics yet but figured I'd put out a warning message first.

    Jolle Carlestam
    @jolle-c
    Maybe yelled too soon. An additional restart seems to have fixed it
    Steve Piercy
    @stevepiercy
    I am not going to renew the domain knop-project.org. If you would like to take it over, I will approve a transfer to you. It expires on 2021-05-31. Additionally Anu Internet services hosts the Knop demo at https://knop-project.org/ for no cost as a non-profit. I would hand over the reigns to any willing volunteer. The demo app source code is hosted on GitHub at https://github.com/knop-project
    Steffan Cline
    @SteffanCline
    Are you completely done with Lasso now?
    Steve Piercy
    @stevepiercy
    soon. many of my clients were nickel-and-dime content management projects, so i just referred them to off-the-shelf DIY services. i have one client that hosts their own Lasso server, so i can walk away from it at anytime, but i'm cultivating that relationship for a rewrite in Pyramid
    davemetzak
    @davemetzak
    Hi! We've been running Lasso-Professional-8.6.3-3b1.el7.x86_64.rpm on CentOS7 but I see that there might be a newer version Lasso-Professional-8.6.4-b1.el7.x86_64.rpm ? Can someone point me to where I might be able to obtain a copy?
    Steffan Cline
    @SteffanCline
    Stick with what you have. Seems it fixed a couple things and broke something else.
    davemetzak
    @davemetzak
    Okay, will do! Also, thanks for all your posts on getting Lasso 8.6 working on CentOS 7. Tremendously helpful :)
    Steffan Cline
    @SteffanCline
    NP. CentOS 7 is not EOL for like another few years so you should be ok.
    davemetzak
    @davemetzak
    Here's a long shot. Does anyone use New Relic with Lasso 8.6?
    Steve Piercy
    @stevepiercy
    local(url) = 'foobar'
    local(src) = #url
    #src -> replace('bar', 'baz')
    #src + ' ' + #url
    => foobaz foobaz
    wtf Lasso 9.3?
    Jolle Carlestam
    @jolle-c
    Relative connection
    Scr is a pointer to url
    It’s by design and one of Lasso 9 strengths
    Steve Piercy
    @stevepiercy
    local(a) = 1
    local(b) = #a
    #b = #b + 1
    #a + ' ' + #b
    => 1 2
    Jolle Carlestam
    @jolle-c
    Try local(src = #url->asstring)
    Steve Piercy
    @stevepiercy
    oh ffs
    local(src) = string(#url) works but not asstring
    i can't wait till i can rewrite this shit into Python
    it's worse when you pass something into a method and the local that you pass in mutates and effects other methods that use that same local
    Jolle Carlestam
    @jolle-c
    The #b = #b + 1 is loosing the connection to #a. Happens whenever you do #x = something
    A gentle reminder. Calling Lasso by names is not really relevant nor inspiring others to help you if need be.
    Steve Piercy
    @stevepiercy
    Praising something inherently awful is not helpful
    Jolle Carlestam
    @jolle-c
    The stuff you complain about here are not faults or flaws. They are by design. Carefully thought out
    Steve Piercy
    @stevepiercy
    "strength"?
    lol
    Jolle Carlestam
    @jolle-c
    I’ve worked intensively in Lasso 9 for the last 12 years. I also have substantial experience in other languages so can compare. Lasso 9 is in most regards a really nice language. Calling it things reflects more in the caller than on Lasso itself. The awfulness you’re pointing to in this case is showing more your present level of understanding the language than any inherent flaw in the language itself.
    I remember one reason for Lassos use of references were that it added considerable speed.
    Steve Piercy
    @stevepiercy
    I expect that when I pass a variable X into method A, and method A changes the value inside that method, then it would not change X outside the method. Variable scoping is important
    Jolle Carlestam
    @jolle-c
    Well you expect wrong. I actually use this as a feature in tons of places. I send along an array into a method. The method does some processing and alter items in the array directly where need be.
    I see it as a strength since I know how it works and how to utilise it. You call it shit because you didn’t know how it works and got confused. Still not shit and still not proper to call it shit.
    Johan Sölve
    @johansolve
    Worked the same in Lasso 8 also btw. Passing a variable as a parameter and change it in the method mutates the original var since it is passed by reference there too, unless -copy is specified for the parameter
    Jolle Carlestam
    @jolle-c
    I’m not at a computer so figured I’d wait until I got home and could verify. But pretty sure it works that way in JavaScript too. Was going to check dotnet as well since I honestly don’t know.
    Richard Moore
    @richard.moore1_gitlab
    In javascript "pass by value" does not change the value, but "pass by object" does. It's one of those javascript things that provides some flexibility. I have found this particularly nice for making arrays perform fast since it no longer has to copy the values under the hood.
    Steve Piercy
    @stevepiercy
    The thing I was calling "this shit" is the code of a nightmare project that I inherited from another developer who abandoned it and was extremely sloppy and disorganized. I am amused that you assumed I meant Lasso the language, and get all huffy and defensive, arrogantly praising your own experience and Lasso the language, then try to insult me and fail. I have come to expect no less than that from you, Jolle. You never disappoint.
    Jolle Carlestam
    @jolle-c
    Sorry for misintepreting. But then again, the code you quoted was not percieved as production code. Local(url = 'foobar')? Easy to assume your anger is directed towards Lasso when the code example is directly followed by "wtf Lasso 9.3?". Had you written "wtf lousy project that I've inherited" maybe I would not have made a mistake thinking you were trashing Lasso the language. Also, reading back on the conversation, I don't see that I started out huffy and defensive nor arrogant. I tried to provide actual help. Btw "Praising something inherently awful is not helpful", how am I to understand that you're referring to an awful project and not an awful language by that? Did you consider it an insult that I claimed you don't know how Lasso 9.3 works? The very start of the thread was that you shouted out how confused you were. I appoligise that you feel insulted. Would however love if you took a read of your own texts and pondered a bit on if your phrasing could not possibly be considered insulting and percieved as unnecessarily negative. I will leave this thread as is now. Should not take up more space for distractions this room's not intended for. Feel free to answer if it's important for you to get the last word. If you have any questions or are in need of help moving forward in any Lasso 9 related matters I'm happy to help you or others in this room with whatever I can contribute with.
    Johan Sölve
    @johansolve
    Steve, you stated this: "Praising something inherently awful is not helpful” which was a direct reference to Lasso. So ”this shit” couldn’t be understood as anything else by me neither. Save your steam.
    Steve Piercy
    @stevepiercy
    That "something awful" was a direct reference to a specific feature of Lasso, not the entire Language. "this shit" was the code base I inherited. Jolle conflated both to mean the entire language and his personal choices. It's tiresome, but par for Jolle.
    Steffan Cline
    @SteffanCline
    Ok, it’s a misunderstanding. Good to know. We’re all friends. Let’s move on.
    Steve Piercy
    @stevepiercy
    Calling someone's expectation "wrong" is harmful. It's not easy to switch contexts from one language to another and remember every detail of their behavior and syntax. Most of my work these days is in Python, and I easily forget how Lasso implements specific features differently. I searched the docs on chapters on "Variables", "Methods", and a couple dozen other areas, but could find nothing relevant about "reference", "pointer", or "copy" in any of the Lasso 9 docs when passing local variables into a method to explain this behavior, which is frustrating, but I expect that from its docs. Note that I did not conflate Jolle's accusation of my wrongness with the Python language and launch into my experience with programming. It's shit like this that pushes more people away.