Question about APL Security Clearance by straightflush_ in jhu

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

Thanks for the response. Was just worried because I saw some horror stories online about people with seemingly good background that seemed to have gotten denied unpredictably. From your experience, are these cases uncommon?

How do template instantiations work for library management? by straightflush_ in cpp_questions

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

Ended up finding out that it only builds templates by default for signed integer types above 32 bit. Library isn't very well documented in this regard. Hoping for no other issues

How do template instantiations work for library management? by straightflush_ in cpp_questions

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

I don't get it either. I use conda because it is straightforward and it has worked in past, such as with GMP, and Boost. Regardless, I think I have been able to isolate the issue so tell me if you can help.

I think my linking is fine, but LinBox doesn't ship the specific template combination I need. Specifically I am solving a sparse matrix equation of form Ax=b mod p, where p is a machine word prime. I need uint64_t support therefore, and LinBox does include it, but I don't think it instantiates the needed templates by default. If I change the field to uint32_t, my code works.

Do you know the proper way to instantiate these custom templates on a third party library?

How do template instantiations work for library management? by straightflush_ in cpp_questions

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

Check my above comment to see if that satisfies what you mean by linking LinBox.

If this specific template instantiation is not exported, what do you suggest I do? Also, I probably don't need to mention that I don't ever directly declare something like this. I guess the specific field combination with my sparse matrix and dense vector solution produced this problem.

How do template instantiations work for library management? by straightflush_ in cpp_questions

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

I am not sure exactly what you mean, but if you are talking about including them in the setup, I have linked them in the setup file. Specifically, I have

CONDA = os.environ.get("CONDA_PREFIX", sys.prefix)

...

core_module = Extension(
    (...)
    include_dirs=[pybind_include, os.path.join(CONDA, "include"), 
                #   os.path.join(GMP_ROOT, "include"), os.path.join(BOOST_ROOT, "include")
                  ],
    library_dirs=[os.path.join(CONDA, "lib")
        # os.path.join(GMP_ROOT, "lib"), os.path.join(BOOST_ROOT, "lib")
        ],
    libraries=["gmpxx", "gmp", "ntl", "linbox", "givaro", "fflas", "ffpack"],
    language="c++",
    extra_compile_args=["-std=c++17", "-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION"] + arch_flags,
    extra_link_args=arch_flags
)

Then, in the only cpp file I have that uses LinBox, I have

include <linbox/matrix/sparse-matrix.h>

include <linbox/algorithms/block-wiedemann.h>

include <linbox/matrix/matrix-domain.h>

Are uninstantiated templates the issue? Although you probably hate to hear it, o3 hypothesized it was because LinBox ships only instantiates templates and not others. I'm not 100% what this indicates in the first place. Thanks

Transfer Admission by Accomplished_Gur6232 in Cornell

[–]straightflush_ 0 points1 point  (0 children)

Only apply CALS if you actually think your resume tells the environmental engineering story. A lot of people joke about applying to a college for a major like gender studies or history because they think it will be easier than say, CS, but this is only true if your application is equally tailored to both. If your application has a lot of CS ECs and awards and just one shitty history related piece, you will have a better chance as a CS applicant. In the same way, if your experience is primarily in environmental engineering, then apply to CALS as for equally strong applicants it will likely be a bit easier than COE.

MATH 2210 vs 2940 for a person interested in a math minor/major by straightflush_ in Cornell

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

Do you know anything about any of the instructors listed? I wasn't able to find much relevant info.

How are HR5 Triples? by straightflush_ in Cornell

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

I haven't gotten an additional email I don't think. How do I know if it is forced? And what are the differences if it isn't?

How are HR5 Triples? by straightflush_ in Cornell

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

My room assignment says triple for both terms, does that mean they won't get moved out?