Latest activity

  • SirDice
    Also, don't do this: TMPFILE="/root/scripts/sitestmp" {...} rm $TMPFILE Use mktemp to create a unique and random named temp file.
  • SirDice
    And this is a better way: while read ip; do {...} done < $IPFILE This doesn't use a subshell. This does: cat $IPFILE | while read ip; do {...} done The subshell is going to pose a problem if you want to count the number of lines for...
  • SirDice
    Missing a pipe here. And you probably meant $IPFILE not a file named 'IPFILE' in the current working directory.
  • Espionage724
    Feel free to add the tools of your choice to my server, making it better than I could ever do on my own. Your experience will also guide others who read this, not just me. I did not want to demand SirDice , but ask kindly to do me a favour. I'm...
  • cracauer@
    cracauer@ replied to the thread attn cpp coders.
    Here is another piece of the "you have to like this to do C++" line: https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/coroutines-c++20/
  • Jose
    Jose replied to the thread The Pipe.
    Big fan of McIlroy. I've probably posted this before cause it's one of me faves. I beg for forbearance for the old man repeating himself: https://leancrew.com/all-this/2011/12/more-shell-less-egg/
  • Jose
    Jose reacted to cracauer@'s post in the thread The Pipe with Like Like.
    You use `tee /dev/fd...` to copy to a different file descriptor, which you open in an outer shell context and redirect as you wish. My misc/cstream utility also has an option to copy stdin to fd 3. Let me know if you want concrete examples.
  • Crivens
    Crivens replied to the thread What is funny ?.
    Everybody has such a problem when they are using nuclear power. Only, they pretend it's not their problem but their grand^x childrens "benefit". Funny, yes? Storage of nuclear waste is a serious problem. The current search for a place is plagued...
  • Jose
    Tmux, iftop.
  • Jose
    My list:
  • SirDice
    SirDice replied to the thread Emu sound card on FreeBSD.
    Please don't post pictures of text. Just copy/paste the text. 148 KB to show less than 50 characters of information :rolleyes:
  • Jose
    Jose reacted to eternal_noob's post in the thread attn cpp coders with Like Like.
    I see myself as a byte tamer.
  • Jose
    Well, as per AlfredoLlaquet's post, in fact it was Meta who spent billions lobbying for this, in order to shift the entire problem to the OS level. It really does seem to be on the level of the typical corporate skullduggey which many are in...
  • Jose
    The problem is, the character it is morphing into is the kind of character you want to see behind locked doors and kept away from the public to protect everyone else.
  • Mjölnir
    If it's a VM: tmux, vim, fzy, zsh, zoxide, ncdu, curl, tree, rsync If it's real hardware I add: dmidecode, lsblk tio (a minicom-like) is only installed on the client: my laptop. PS: Glad to have you back! It's nice to see that some older users...
  • D
    the base system already have what i need.
  • D
    My list:
  • Mjölnir
    Feel free to add the tools of your choice to my server, making it better than I could ever do on my own. Your experience will also guide others who read this, not just me. I did not want to demand SirDice , but ask kindly to do me a favour. I'm...
  • Mjölnir
    I don't have a smartphone, thus I'm not familiar with and don't know which tools are reliable & good: Network interface of the box is broken, but it has bluetooth and/or wifi/wlan and/or USB. You have your smartphone, either with bluetooth or...
  • D
    drhowarddrfine replied to the thread attn cpp coders.
    No. I am not offended by what you said. I do see the hobbyists online say they are looking for or got a job as a coder. Often graduates of coding camps. That tells me their skill level.
  • cracauer@
    You really like to tell people what to do, do you?
  • Mjölnir
    Ok, then please add somewhere (i.e. priority is low to medium) in your todo list: increase that limit to a more reasonable # (20?). Until then, if I could be able to edit existing entries, too, I can replace the entry with the least # of votes...
  • B
    I just came across a great feature of IOCAGE which I'd like to share: https://iocage.readthedocs.io/en/latest/advanced-use.html Automatic Package Installation Packages can be installed automatically at creation time! Use the [-p | –pkglist]...
  • Mjölnir
    A minimal system has nothing besides the base. But depending on how I need to manage those systems I might "pre-install" puppet or python (for ansible). Nothing else, the system would get everything that's needed through ansible or puppet and...
  • SirDice
    I can edit the existing ones, but not add more options. I suspect it's the max number of options for a poll.
  • cracauer@
    cracauer@ replied to the thread The Pipe.
    You use `tee /dev/fd...` to copy to a different file descriptor, which you open in an outer shell context and redirect as you wish. My misc/cstream utility also has an option to copy stdin to fd 3. Let me know if you want concrete examples.
  • B
    I'm looking for some 'indirect' settings here: https://iocage.readthedocs.io/en/latest/networking.html but nothing jumps out at me.
  • Espionage724
    KDE ? 🤣
  • Mjölnir
    I will for sure install that into a jail on my server, but I'm sorry, this is the 1st proposition that will not make it into the list. Hopefully I'll stay disciplined and keep the base system very minimalistic. Only a few exceptions will break...
  • Mjölnir
    Thx a lot. But I can't add these to the list; when I click "edit", I neither can change/edit the entries of the list, nor can I add more choices. Can you kindly help to fix that? Or could this be a bug on the client side, i.e. my browser?
  • MG
    MG replied to the thread The Pipe.
    What would that look like in a command? I think it's practically almost impossible to use. The scenario where you don't want to redirect the same output to 2 different places and continue independently in 2 directions... It has to be 1 line...
  • Espionage724
    Espionage724 replied to the thread What is funny ?.
    View: https://www.youtube.com/watch?v=E6-72gM64Q0
  • SirDice
    A minimal system has nothing besides the base. But depending on how I need to manage those systems I might "pre-install" puppet or python (for ansible). Nothing else, the system would get everything that's needed through ansible or puppet and...
  • K
    kjpetrie replied to the thread The Pipe.
    For that you need tee.
  • cracauer@
    cracauer@ replied to the thread FreeBSD Metalheads.
    Songs about valkyries work better if you have an actual valkyrie to sing it. View: https://www.youtube.com/watch?v=5uBgxgsRQXA
  • Mjölnir
    Do you mean you took the list or why can't I add more choices? Gimme back da list, mista! Now! ASAP, yesterday!
  • Espionage724
    I'd only use pkg on that list, but wouldn't that be required with pkgbase?
  • MG
    Tmux, iftop.
  • SirDice
    My list:
  • Mjölnir
    I'm collecting a list of outstanding utterly useful tools from ports to be installed into the minimum base (i.e. root filesystem) of a general purpose server. These tools should be rock solid & reliable provide real benefit add your own...
  • Crivens
    The problem is, the character it is morphing into is the kind of character you want to see behind locked doors and kept away from the public to protect everyone else.
  • Crivens
    Crivens replied to the thread Risc-V Laptop.
    Let's keep an eye on that. At worst, Haiku seems to have good RiscV support. I was on the edge buying a RiscV machine for it, seeing it run on 64 cores would be nice. But FreeBSD? What's the Chip in it, I never heard of it before. And they have...
  • Crivens
    Crivens replied to the thread What is funny ?.
    As a professor of me once said after a presentation : "Today we have heard a lot of new things and a lot of good things", which meant the new stuff wasn't good and the good stuff wasn't new. And in the summer when the rivers run dry france buys...
  • Mjölnir
    Absolutely no advice: I'm not expert; I started using Bastille only because it seems good enough; I really liked NixOS and Guix way to configure a system, but there is nothing of similar on FreeBSD; I'm not a professional system administrator, so...
  • Mjölnir
    Recently I read s/wh (XigmaNAS Forum IIRC) that cbsd is even better than bastille, but I did not try it myself yet. Bastille seems to be what many use, though. cbsd-15.0.0 Yet another FreeBSD Jail, XEN and Bhyve Management...
  • D
    drhowarddrfine replied to the thread attn cpp coders.
    Was Hemingway a typist or an author? I'm a programmer, not a "coder". A coder comes from the secretarial pool.
  • B
    balanga replied to the thread opcache.
    Looks like it would be worth adding these parameters.
  • SirDice
    Case has 2 external 5.25" bays, that's nice, it'll fit something like this: https://www.silverstonetek.com/en/product/info/storage/FS303/ I have a whole bunch of systems (19" rack cases though), and always added a hotswap drive bay. That way I...
  • B
    balanga reacted to VladiBG's post in the thread opcache with Like Like.
    https://www.php.net/manual/en/book.opcache.php https://docs.nextcloud.com/server/20/admin_manual/installation/server_tuning.html#enable-php-opcache
  • Mjölnir
    IIUC there is some tweaking to conform to the respective cloud environments? These might end up on my standard machine in a non-cloud environment, and I'm going to wonder "where does the setting of this knob come from? I've never seen this...
Back
Top