Yeah standard bash Ctrl+r is just so painful. I much rather use “history | grep searchtearm” than that awfull search. fzf is a whole other level. But nowadays I just use fish shell which IMO has even better search than fzf
- 0 Posts
- 28 Comments
groet@feddit.orgto
Linux@programming.dev•Linux 6.19 Gets Rid Of The Kernel's "Genocide" Function
4·2 months agoYeah allow/block does not need cultural context to be understood. You can take someone from an uncontacted tribe in the amazon (and through a magic translation device) they will understand what a allow list is. They wouldn’t understand blacklist.
Maybe a short introduction what the terminal actually is. Programs are a bunch of code that runs on your computer. With many of that programs you as the user want to interact with. The point of contact between the program and you (and actually other programs) is called an interface. Some programs have a graphical interface (GUI - graphical user interface). Other programs have a Comand line interface (CLI). Writing a CLI is a lot easier than a GUI and it works on a lot more different systems. So many programs chose to only have a CLI while some only have a GUI and some have both. The terminal is your way to access those CLIs. And some problems are a lot easier to solve with a CLI than with a GUI. Maybe a function in a GUI is in a few menues deep so you need to click a lot to get there, and then use a slider to set a value, then click accept, etc. In a CLI, it is just one word you have to type. Especially in Linux a lot of developers are not designers so they write programs with good CLIs but bad (or none) GUIs. Especially when it comes to system settings sometimes there is no GUI to achieve what you need. So when you open the terminal, don’t think that you are diving in to a whole new magic world, but just that you are taking a different route to talk to the same programs that you were using already, and some new ones that you didn’t knew before.
Maybe just to take some of the mystique away, take a program you are used to (maybe Firefox?) and call that from the CLI. Type “firefox --help” and see the options that you have available there and compare them to what you know from the GUI. Most things will be in both but maybe some are very well hidden in the GUI.
After that it is just getting used to the utilities that you have for the terminal, all the little programs like “cd, ls, pwd, cp, mv”, etc… They are just programs that do things you are used to do with your mouse in the file explorer. Just the CLI analog to “select, right click, copy, paste”. Since CLIs are text based you also have a lot of utilities to handle text like grep, sed, cut, tr, they just do what you were doing in a text editor.
If i knew you cropped it I would ask you why you cropped out half your grandma. If you showed me a picture of half your grandma I would ask you why you are so bad at taking pictures. If you showed me a picture of a giant sign and pointed to a funny thing that is to tiny to see and you have to zoom in really far to see it, I would also ask you why you didn’t take a better picture.
You have no indication anything was cropped. You just assume it was.
Have you seen people take pictures of documents? 90% of people take it at an angle instead of straight down. People are bad at taking pictures! The person who took the picture in the meme probably didnt even read the text on the left. They saw a picture of a hockey stick, thought “lol”, pulled out their phone, pointed it at the hockey stick and pressed the shutter button. That’s it. End of the story. Nobody cropped anything, nobody chose to omit anything.
Oooor someone took a picture of the physical sign in the real world and focused on the images in the middle without including all of the text. Because other wise the images would be to small to see.
I have no reason to believe anything was croped to deliberately remove anything.
Sounds perfectly reasonable to me. If OP is unable or unwilling to fix a problem that is important to her, why isn’t she allowed to pay someone to fix it?
You wouldn’t say its toxic if she threatens to call a plumber after OP promised multiple times to fix the leaking toilet.
So how exactly are you supposed to move someone from the fun zone?
Hey girl I’m having great fun with you. If you get a facelift we can start dating?
Dont even need to make it open source for that. Just use either visual studio/vsc or have the code on github (private repo so not OSS)
groet@feddit.orgto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
6·2 months agoA memory pointer? So it must have been a program sending a pointer using an API to itself so it ends up in the same process again?
groet@feddit.orgto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
19·2 months agoI wouldnt blame that on stupidity as much as on ignorance and naivety. Many people simply don’t think about anybody deliberately misusing their design. The idea that somebody could even want to access somebody elses receipts didn’t occur to them. And if they were still doing their studies they might not have known that you can “combine” SQL queries and ask for two things at once.
I don’t blame the girl, but whoever chose her to design a system with sensitive information.
So are dragonhunter and hellbender … and screaming armadillo
Its exactly the other way round. Odysseus was a common name, Odyssey didn’t exist as a word.
So the travels of John are the Johnenning and everybody just accepts that as a new word afterwards.
Sometimes I wonder how people can be so naive. Even if they don’t know just how much money is thrown at AI, just the fact that it is now in literally anything and on the news every day should be a clue that it is a huge industry. You wouldn’t expect the guy that changes your cars tires to be able to single handedly build a car that is better, faster, cheaper and more efficient than all car companies together.
I think there is a bit of nuance to it. The AI usually rereads the chatlog to “remember” the past conversation and generates the answer based on that+your prompt. I’m not sure how they handle long chat histories, there might very well be a “condensed” form of the chat + the last 50 actually messages + the current prompt. If that condensed form is transient then the AI will forget most of the conversation on a crash but will never admit it. So the personality will change because it lost a lot of the background. Or maybe they update the AI so it interprets that condensed form differently
The third Reich was not in the name of God. The Church had to subjugate under the Nazis. Same with Stalin and the communists. They hated religion and I am pretty sure they committed quite a few atrocities in the USSR, Mao in China, Pol Pot in Cambodia …
God is a convenient reason for atrocities but far from the only/most prevalent one.
And all websites use wake-on-lan over the internet so the first person every day just starts the server and the last one turns off the lights!
My 10yo gaming PC is probably “faster” to boot because it is set up to auto logon without password promt so it boots straight to desktop without any interruptions while my Linux laptop has pre-boot-authentication and then normal login. But between these two password promts is basically no time at all
If you run it like that every day you will always be one day behind in packages. Not realy that big of a problem (unless on an internet facing server)
(I’m just being silly, I recognize that an old package list would probably cause issues with installing or upgrading packages.)
No problems anywhere you can always install older versions from a repo.
Upgrade -> update two days ago and then again today will leave me with exactly the same packages as it would if I ran it correctly the first time and then not at all today. Just the state of two days ago.



I can confirm the watching wildlife part. Maybe we can get a few more experts in here for a full empirical proof