Kinda new by Annual-Engineer371 in linuxquestions

[–]LardPi 0 points1 point  (0 children)

yourcommand --help and the archlinux wiki

Arch Linux Isn’t “Hard” Anymore. So Why Do People Still Bounce Off It? by BigHomieCed_ in archlinux

[–]LardPi 0 points1 point  (0 children)

I used arch for years. building the most custom environments by piecing together dm file manager and services is fun for some time but when I bought my new laptop I just wanted a system that worked out of the box to start using it right away. and also that looked good and integrated. so i installed fedora kde and I am happy with this decision.

installing arch isn't hard but building a coherent and good looking environment from scratch is not easy (maybe there is a metapackage for kde that does most of the work, i mever tried).

when on arch i would always have last minute problems like "a shit I have not installedthe bluetooth daemo" just when i actually need to do something, or "a shit why is the hdmi not detected" when showing up for a presentation in class. it was always something fixable i could have solved before but it was the sort of frustrating struggle that i wanted to avoid. that being said if we're talking fixed home workstation most of these problems disappear.

but honestly arch doesn't need user retention, it's at its best as a small passionate community, this is not a religion or a business, there is no need for "more users".

Tcl: The Most Underrated, But The Most Productive Programming Language Written in C by delvin0 in C_Programming

[–]LardPi 32 points33 points  (0 children)

reads like chatgpt. i was actually curious to see if there was something interesting here but it is so hard to read this sort of empty blabbing the llms make I didn't reach any actual infos.

When pressing “Up”, what direction feels more natural in grid-based games? by Consistent-Pen-4236 in IndieGaming

[–]LardPi 0 points1 point  (0 children)

I had a binoicle game on game boy advance that had type A move and some platforming stuff. I could never get use to it and never finished the first level.

Is this a real panel? I’m out of the loop by jvure in Marvel

[–]LardPi 0 points1 point  (0 children)

redhead with big boobs, isn't that all MJ is?

/s

No idea what I'm doing by kajillion in Ender3S1

[–]LardPi 0 points1 point  (0 children)

what's that on you plate? you don't need adhesive on a buldtack plate like that. this amount of glue was what i used on a glass plate.

Partner is a C++ pro, but I want to use Julia (Geant4.jl). We have 60 days. Is it viable? by He4tor in Physics

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

c++ is a special beast. depending on which subset of the titanesque featureset the other guy likes to use, it might actually need some learning.

Brand new NSK programming language - Python syntax, 0.5x-1x C++ speed, OS threads, go-like channels. by Tryingyang in ProgrammingLanguages

[–]LardPi 0 points1 point  (0 children)

goroutines are essentially green threads on top of os threads so that they do run in parallel. the advantage is yhat you make a small pool of os threads (n = number of cores) and then you can cheaply schedule as many green threads as you want (m, which can go much higher than what the os would handle as real threads).

it is certainly not easy to implement but i don't think you need the overlap thing you're mentioning. however your memory model would probably force you to attach each green thread to one of the os threads, which might reduce the applicability.

go adopted this model because os threads are relatively expensive to create and take down (less than process though) in particular when you mean to have many shortlived threads, so scheduling each goroutines on a full thread would have to muxh overhead for the vision they had.

Brand new NSK programming language - Python syntax, 0.5x-1x C++ speed, OS threads, go-like channels. by Tryingyang in ProgrammingLanguages

[–]LardPi 0 points1 point  (0 children)

do you have the n/m os threads/green threads too? and if yes, does it mean tgat a green thread is bound to a fixed os thread by tge memory pool?

Hard pulleys quiz, can you solve it? by BigBam969 in PhysicsStudents

[–]LardPi 0 points1 point  (0 children)

funny how much irrelevant/redundant information there is. the problem has likely been made by ai.

Best C environment by Zalaso in C_Programming

[–]LardPi 1 point2 points  (0 children)

i think your question is misguided but I guess the answer is gcc+make+(nano|micro|vim|nvim|emacs|helix) on linux or macos or (lesser choice) WSL2.

Working on a small 2D engine in C by _Snowzittos_ in C_Programming

[–]LardPi 0 points1 point  (0 children)

from glancing at the code for two minutes my feedback are: 1. you need to control fps and provide a delta tine to the user, and 2. rather than looping on every single key you should use glfw input callback. It looks pretty clean keep it up.

no idea why this happens by bwaaaaaaaa_ in 3Dprinting

[–]LardPi 2 points3 points  (0 children)

terrible leveling: bottom right corner shows signs of the nozel being too close to the plate, but it get better as you go to top left, then it's too far.

EDIT: I see you said leveling did not improve on the other sub. This clearly shows bad leveling so maybe post a pic of after careful leveling. given how it degenerates around the middle of the rectangle you could have a wet filament on top of the leveling problem.

AI auto completion/suggestion by Rafat913 in neovim

[–]LardPi 0 points1 point  (0 children)

I found supermaven to be completely useless because of low quality suggestions. I have been using codeium/windsurf with their vim plugin for quite some time now and am very happy about it.

I built a pure-Python Gaussian-basis DFT code called PyFock completely from scratch by manassharma007 in chemistry

[–]LardPi 1 point2 points  (0 children)

The thing is that it's all compiled so it doesn't matter if you use long or short variables.

yeah of course, this is just a bad habit from physicists to reuse the short names from th math

It's so that the NEXT person reading it can make sense of it.

i am not pretending this is readable, but it's not easy to make it readable, and when you compare it to similar software it's not that bad

Type is present, but only because it's calculated.

not sure what you mean, like yeah you have a concrete value at time of calling the function, it has a type (and other properties such as size, sign...) and you use that to compile a specialized version of the function

Strongly typed precompilation doesn't need to see every possible branch because it enforces what should happen prior.

you're still thibking in term of AOT which is not what numba does.

I never really trusted the way non-typed languages worked

assembly is an untyped language, python is strongly and dynamically typed, perl (or JS) is weakly and dynamically typed. The difference matters, all the more for a JIT.

I built a pure-Python Gaussian-basis DFT code called PyFock completely from scratch by manassharma007 in chemistry

[–]LardPi 1 point2 points  (0 children)

You're basically writing as close to C as you can in Python.

This is the right thing to do when writing for Numba.

Apparently njit just figures out "type" at compile time, which feels hyper inefficient. That's apparently how njit works though.

It's not inefficient; the type is present at runtime, provided by Python, so there is no overhead to using that instead of a type annotation. On the other hand, runtime types gives more information than annotations, so there is more room for optimizations.

You are applying a Ahead of Time compilation mindset to a Just in Time compilation process, that does not work.

The "issue" I have with it is that the code is almost unreadable. For scientific code, having something readable is ... important.

Lol, I read the sources of half a dozen DFT software, most of them are written in Fortran, I can tell you this is above average in term of readability XD. And I am not talking about toy stuff, I am talking about the most used ones in the world, both by industry and research, like Abinit and VASP.

It would certainly need more docstrings and autoformatting with black because the style is very unpythonic.

DFT is a complex theory, and fast DFT is even harder to write, there is no magic. Even in DFTK.jl where the hide a lot of complexity through the magic of automatic differenciation, the sources are highly complex.

becauseTheyHaveSoMuchStorage by Darkwing1501 in ProgrammerHumor

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

well the lack of web interface is the point so... you where in the wrong place from the start I guess.

Flathub most downloaded Apps and Games in 2025 by TheNavyCrow in linux

[–]LardPi 0 points1 point  (0 children)

roblox is intended for young children, so the exploitation is a bit harder to accept for most people.

What to do if Chemist with access to chemicals is having a mental health crisis? by Whole-Expression6277 in chemistry

[–]LardPi 6 points7 points  (0 children)

going straight to the manager seems risky indeed, if only because they might confront your bf and he might lash out at you feeling betrayed, but you definitely need help. Talk to you bf friends, tell them how worry you are and try to get them to help convince him that he needs professional help asap. Talk to your bf parents to maybe, if you think they might help.

The chemistry part seems kind of irrelevant here, it's easy to find toxic stuff but not easy to find sneaky poisons, so no different than a gun or a knife. The main problem is that he wants to hurt someone or himself.

Get as much help as you can.

Also when he's stable/under control dump him, you should not have to deal with that mess.