Yes. I developed hay fever after living here in Japan for a couple years. Was fine the first few years, though it was amusing to watch "yellow clouds of pollen" being blown from the trees with random gusts of wind. Now it's not so amusing. My car windows are dusted with a new layer of "light yellow" every couple days now (in season).
It's super easy to be allergic to cedar pollen because it is such a fine pollen. I developed a cedar pollen allergy within a couple years of moving from somewhere with no cedar to a heavily forested area with cedar. No other allergies to anything, I don't think I'm particularly prone. I tried doing the allergy shots for it for a while but it didn't seem to do much. What works is staying inside with the house sealed up and air filters running, or just getting the hell out of town for a month+.
As the article shows, it is a bug in iTerm2. cat is just one program that could trigger it, the key thing is outputting attacker controlled text to the terminal when the attacker can control what files are present (ie unzipping a folder that includes a specific executable file at a well chosen location that gets triggered to run when the readme is output to the terminal)
Yes. It’s a Mac problem. That’s why Macs do the worst at pwn2own. It’s compounded by the fact that Mac users deny that there are problems in their beloved OS.
cat is a file concatenation utility. UNIX people know to view text files with more.
I remember back in 1995 or so being in a professor's office at Indiana University and he was talking about trying to figure out how to use Neural Networks to automatically track particle trails in bubble chamber results. He was part of a project at CERN at the time. So, yeah, they've been using NNs for quite awhile. :-)
Particle identification using NN classifiers was actually on the early success stories of NN. These are pretty standard algorithms in tracking and trigger software in HEP experiments now. There are even standard tools in the field to help you train your own.
What is more interesting currently is things like anomaly detection using ML/NN and foundational models..etc.
If you don't mind, I'd like to hear more about your setup. I have a bunch of bash scripts and python programs I've used to make working in the terminal easier (and more fun). Are you saving your dotfiles are a git project and then just syncing and pulling them down from there? I'm not an expert, just a tinkerer, but I like tinkering in the terminal. :)
Not the parent but a project (glorified Bash script) called vcsh[1] has served me well over the years for managing multiple Git repositories containing my dotfiles (separation of concerns).
Lately I have migrated some of that to Guix Home because the other half of the problem is having all the dependent programs necessary for the dotfiles installed automatically at the appropriate versions.
The latter one especially falls into the realm of tinkering. :)
Yeah my dotfiles, notes, and scripts are in a single repo. I think the most important thing to do is organize. I just match the system. So I put everything that a rc file in ~/ in one directory and everything in ~/.config in another. Then if you have your repo downloaded all you need is to run 2 find commands like this
It baffles me that people are so unorganized in their dotfiles. A little goes a long way to making your life easier. But then again people suck at bash so they're probably not thinking of using find this way. You could also use xargs to parallelize if you want but there'd be no practical speed difference for me
Another key component is to break out files. For example I have the directory ~/.dotfiles/rc_files/zsh. My zshrc file sources different files from that location. So I have a Linux file and OSX file there for anything that is specifically system dependent. If you want different configs on different machines you can check the hostname and use the same pattern!
Speaking of which, use functions! At first this is going to sound crazy but it's worth the effort and let's be honest, the effort is very low (though the initial rebase might not be depending on how messy you are)
function _exists() {
command -v "$1" &> /dev/null
}
alias_ls() {
alias_lsd() {
alias ls='lsd'
alias la='lsd -A' # A drops . and ..
alias ll='lsd -l' # h is automatic
}
alias_base_ls() {
alias ls='ls -v --color=auto -h' # numerical sort, color, human readable
alias la='ls -A' # ignore . and ..
alias ll='ls -lh'
}
if ( _exists lsd );
then
alias_lsd
else
alias_base_ls
fi
}
main() {
alias_ls || echo -e "\033[1;31mls aliasing fucked up!\033[0m"
}
main
Yeah, it is a bit more cumbersome but it's really not that bad and
1) debugging gets so much easier
2) you know where everything is and what everything does.
3) trying new aliases, command tools, scripts, etc also becomes a lot easier.
Following Unix philosophy has more advantages than disadvantages. I also strongly suggest adding comments because you'll forget why you did something. I'll often link to posts for this and for giving credit.
Fwiw, my main language is Python but for pretty much everything in the terminal I write in bash. You can often make oneliners that would traditionally be a lot of lines in Python. Not to mention it's usually faster. It's a good way to help you learn bash too! ^__^
Thanks for the detailed reply, examples, and links! Yeah, I definitely rely heavily on bash script functions, but had never thought about using git to share or sync my scripts and little programs. Thanks again, I really appreciate it!
Interesting article, though I wonder why they didn't mention the Fram -- Nansen's ship that WAS designed to resist the crushing ice, and DID survive a trip across the northern seas purposely trapped in the crushing ice (but just missing the north pole)... If my memory serves, Shackleton knew about Nansen, and even talk with him before his (Shackleton's) expedition. shrug
If I remember correctly, this sound is part of Pink Floyd's song "Money"... part of the background rhythm. I wonder how many of the "Never heard of these" crowd would recognize it if they hard it in person... smile