In my experience often detriment. Most of the images for projects that I have been encountering as of late - hell, most Dockerfiles that I’ve been encountering - have hardware-specific config and packages. I just want a Dockerfile or maybe a docker-compose.yaml that is hardware neutral by default and doesn’t use the shitty throttled Dockerhub for its base image.
nickwitha_k (he/him)
- 2 Posts
- 332 Comments
#!/bin/bash # Build image and push to registry docker build -t myproj:latest . && docker push myproj:latest
nickwitha_k (he/him)@lemmy.sdf.orgto
Ask Lemmy@lemmy.world•Why is open source software assumed to be secure?
2·4 months agoReally? I hear it’s a steel.
nickwitha_k (he/him)@lemmy.sdf.orgto
Linux@lemmy.ml•The dangerous push by Canonical to rewrite GNU coreutils as Rust code without the GNU license
1·4 months agoJFC. What is wrong with people? I just want to write code that works, is interesting, and doesn’t have memory problems.
nickwitha_k (he/him)@lemmy.sdf.orgto
Linux@lemmy.ml•The dangerous push by Canonical to rewrite GNU coreutils as Rust code without the GNU license
2·4 months agoany change to shell scripts that isn’t posix compatible brings opinionated people out the woodwork.
Yo. Did I hear someone breaking POSIX-compatability over here?
I, for one, really love HTTP over
apache2.conf conf-available/ conf-enabled/ mods-available/ mods-enabled/ sites-available/ sites-enabled/ envvars magic ports.conf sites-available/ sites-enabled/
nickwitha_k (he/him)@lemmy.sdf.orgto
Linux@lemmy.ml•first time using linux, how screwed am I?
7·4 months agoFirst, I would like to give you some major props. Installing Arch, in itself, is a big deal. It is not a beginner-friendly distro. It is a very power-user friendly distro and has an incredible wiki that is helpful, at least to some degree, for many distros.
For a beginner distro, I would recommend Linux Mint for its easy transition and great focus on user experiences or Bazzite if you really want to install and get gaming.
When taking drivers in Linux, most are provided as either kernel modules (integrated into the kernel, so you don’t have to worry about installing anything) or packaged for the distro, in which case, once installed via package manager, they’ll auto-update whenever you update system packages. They are so much easier to deal with than Windows drivers (for the end user). For example, to use a Wacom drawing tablet, all one has to do is plug it in.
nickwitha_k (he/him)@lemmy.sdf.orgto
Ask Lemmy@lemmy.world•Are the Sentinelese still alive?
1·4 months agoMaybe use satellite imaging or the like.
nickwitha_k (he/him)@lemmy.sdf.orgto
Ask Lemmy@lemmy.world•Are the Sentinelese still alive?
4·4 months agoI think that they would be necessary still to respect the memory of the fiercely independent people and prevent corporate exploitation of the land.
nickwitha_k (he/him)@lemmy.sdf.orgto
Ask Lemmy@lemmy.world•Whats a good Linux distro to dip my toe in with in a laptop running Windows 11? Is there a decent longer form guide to doing it successfully?
2·4 months agoEh. It’s a fine distro (I use it as one of my boots) but I really would steer new folks away from Arch as a first distro. The wiki is phenomenal but it’s not very ergonomic for people who don’t live in the terminal (like me), even with Discover.
nickwitha_k (he/him)@lemmy.sdf.orgto
Ask Lemmy@lemmy.world•What is the best Power Outlet, and why?
5·5 months agoI like type F for the symmetry. However, type K is smiling.
nickwitha_k (he/him)@lemmy.sdf.orgto
Ask Lemmy@lemmy.world•Why do people always respond to depressed people, by recommending visiting a therapist or going to gym?
32·5 months agoAs others have stated, it’s general advice. I think that it is worth stating anyway because there is still stigma around mental health conditions and treatments.
As for curing depression, it really depends on the type and cause of depression. Some people have differences in their brains that cause chemical imbalances that need medication and therapy to address. Some people come down with the mental health equivalent of the flu and need support to get through it. A mental health professional like a therapist or psychiatrist is trained to diagnose and formulate a treatment plan based upon what is observed.
Depression can be fatal and I’ve known too many people who’ve succumbed to it. So, I will always recommend therapy to anyone going through depression, if they can afford it - sometimes sliding scales are available.
nickwitha_k (he/him)@lemmy.sdf.orgto
Linux@lemmy.ml•Europe is slowly ditching Microsoft: why it's happening & why it could fail.
21·5 months agoLife long windows user. I switched to Arch
Fuck. That’s like going straight from English breakfast tea to hash oil.
I’ve been using Linux almost exclusively both in my personal and professional life for a decade and a half. I only installed Arch a month or two ago.
nickwitha_k (he/him)@lemmy.sdf.orgto
linuxmemes@lemmy.world•Some TODO app called Emacs?
1·5 months agoI’m more into (neo)vim but that is beautiful.
Ah yes. “Equal opportunities” of the old days, like being told to be out of town by sunset or you’ll be lynched, or firing women who get pregnant, or redlining neighborhoods and adding restrictions too deeds to prevent the “wrong sort” of people (aka anyone not white) from moving in.
“DEI Ideology” is a made-up boogie man that the far-right created as an excuse to discriminate against minorities and their allies, since being outright racist isn’t acceptable anymore. White conservatives are terrified of meritocracy.
EDIT: In hindsight, this may have come across as an attack on the other commenter. That was not the intent, nor was the intent to accuse them of the horrific crimes of the past. These were used as used as examples of the reality experienced by minorities and women throughout US history, including the latter half of the 20th century to the present (to a lesser degree).
nickwitha_k (he/him)@lemmy.sdf.orgto
Ask Lemmy@lemmy.world•What is Brock's ethnicity from Pokemon?
1·5 months agoMaybe bRock type?
nickwitha_k (he/him)@lemmy.sdf.orgto
Ask Lemmy@lemmy.world•Have you ever had to give up on a dream career?
3·6 months agoHave you continued luthiery yourself?
Also, I also have tremors when doing fine detail work. Depending on the cause (and your health), it may be possible for your Dr. to prescribe something to help. Mine suggested that β-blockers could help if it gets too intense.
nickwitha_k (he/him)@lemmy.sdf.orgto
Ask Lemmy@lemmy.world•Have you ever had to give up on a dream career?
4·6 months agoYup. A massive portion entry and mid level positions in the scientific field that I did my undergrad in were offshored in my graduation year. This led to competing with PhD and MSc candidates, sometimes with 10+ years of experience, for basic lab tech positions… in a recession. Glad to have developed other skills.
It’s been years since I’ve been in the lab but it really will depend a lot on the subject matter and the type of experiment.
If it’s a subject matter that is fairly well explored and defined, the alternative hypotheses might be fairly straightforward. Take, for example, an experiment from a while ago where entomologists suspected that desert ants navigate by using dead reckoning, effectively counting their steps, remembering their changes in direction measured by a biological compass, and integrating them together, in a process similar to “fusion” in electronic position sensors.
To validate part of this hypothesis, they needed to get more granular and isolate one part of it. So, they formulated a “sub-hypothesis” that stated that the ants had some sort of innate awareness of the distance that they covered with each step, knowing the length of their legs and this their stride length, similar to how cats know their healthy body width. The experimental hypothesis would be something like:
“Altering the length of desert ant legs will result in navigation failure with longer legs causing them to overshoot and shorter legs causing them to undershoot. The navigational trajectories should otherwise be identical.”
Building alternative hypotheses for this relatively simple experiment, prior to conducting it would be straightforward, as you appear to be suspecting. They could be as simple as:
“The length of the desert ant’s legs will have no impact on their navigation because they are not directly related. This will be apparent through the ants showing no discernable difference in the paths that they take when navigating, regardless of leg length.”
“The length of the desert ant’s legs will have some impact on their navigation but, they are able to compensate for discrepancies in stride length through some as of yet unknown mechanism. This will likely be apparent in statistically significant distance-related navigation errors in their paths.”
After the experiment, the data would be analyzed and checked for a match against the established hypotheses. If there is not a good match or there is an unexpected shape to the data, further experiments may be required to see if it is an anomaly or if something else might be going on.
(In this case, it was found that, yes, desert ants have some sort of innate awareness of what their stride length should be and changes in their leg lengths throw off their navigation, as expected.)
Now, when it gets to subjects that are less clear and established, alternative hypotheses can get a lot more challenging because often the difference between the data fit that proves or disproves a hypothesis can be miniscule. Or, the data points might form a completely unexpected shape that doesn’t match currently known phenomena.