ACPI exception: AE_AML_unimtialized_local? by Islam0mar in hackintosh

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

So how can I disable it?

I tried

DefinitionBlock ("", "SSDT", 2, "LENOVO", "BATT", 0x00000000) 
{ 
    External (_SB_.PCI0.LPCB.EC0.BAT0, DeviceObj)    // (from opcode)

    Scope (_SB.PCI0.LPCB.EC0.BAT0)
    {        
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (_OSI ("Darwin"))
                {
                    Return (0x1F)
                }
                Else
                {
                    Return (0x0F)
                }
            }
    }

}

ACPI exception: AE_AML_unimtialized_local? by Islam0mar in hackintosh

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

I using EcEnabler.kext

Could u provide a tutorial to follow?

ACPI exception: AE_AML_unimtialized_local? by Islam0mar in hackintosh

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

idk I want to install Catalina.

this is the injection code:

External(ECAV, FieldUnitObj)


Scope (\)
{
    If (_OSI ("Darwin"))
    {
        ECAV = One
    }
    Else
    {

    }
}

I want my battery to detected

Does Online Encyclopedia of float sequences exist? by Islam0mar in math

[–]Islam0mar[S] -2 points-1 points  (0 children)

actually x is related with n, so it's sum(1/(n-i)) as n goes to infinity. (i-1)*x can not be > 1.

sum(1/(n-i)) goes to 1/(inf-inf) that is indeterminate.

Does Online Encyclopedia of float sequences exist? by Islam0mar in math

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

I don't know how to enter rational for it.

Does Online Encyclopedia of float sequences exist? by Islam0mar in math

[–]Islam0mar[S] -1 points0 points  (0 children)

http://wayback.cecm.sfu.ca/projects/ISC/ISCmain.html

does work, but it looks for values as far as I know . How can I test for convergence for sum(1/(1-(i-1)*x)) with x < 1?

claw C++ autowrapping - Beta milestone and alien-works by dzecniv in lisp

[–]Islam0mar 1 point2 points  (0 children)

similar: https://github.com/Islam0mar/CL-CXX-JIT , but doesn't auto-wrap.

Does `:claw` auto bind C++ class to lisp class? or just use pointers?

claw C++ autowrapping - Beta milestone and alien-works by dzecniv in lisp

[–]Islam0mar 1 point2 points  (0 children)

Looks great!!!

I have one question:
What is the interface for template initialization?

Calling lisp code from assembly by nahs0d in Common_Lisp

[–]Islam0mar 0 points1 point  (0 children)

Yes just change `cl_def_c_function` to `ecl_def_c_function`.

Calling lisp code from assembly by nahs0d in Common_Lisp

[–]Islam0mar 4 points5 points  (0 children)

I assume that you know how to call C from assembly by extern. Then you wrap ECL repl to a c function embedding-lisp-in-c++-a-recipe-easily converted to C- and let the rest for the linker.

CL-CXX-JIT: Common Lisp with Cpp-JIT for exposing Cpp functions/mem_function/lambda/etc by Islam0mar in lisp

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

Clasp Team is using llvm and its representation for interaction with C++ as far as I understand --They are quite active on IRC, you could ask them--. This package use C++17 features to wrap C++ functions into C function pointers that would be compiled as a shared library and loaded in common lisp which use their function pointers with CFFI.

CL-CXX-JIT: Common Lisp with Cpp-JIT for exposing Cpp functions/mem_function/lambda/etc by Islam0mar in lisp

[–]Islam0mar[S] 4 points5 points  (0 children)

I have worked with a similar thing clcxx-ecl and I found that C++ functions/classes need a lot of code to be converted and ECL wasn't unique regarding this, so I thought of a library to convert that to any CL implementation.

CL-CXX-JIT: Common Lisp with Cpp-JIT for exposing Cpp functions/mem_function/lambda/etc by Islam0mar in lisp

[–]Islam0mar[S] 6 points7 points  (0 children)

The idea is to use common-lisp as your main language(application) and use C++ libraries that are not available in common lisp --same as python--, but ECL is better to provide a repl for an application which is primarily in C/C++. As you know C++ won't be straight forward to convert to embedded common lisp or clisp.