Latest activity

  • Jose
    Jose reacted to cracauer@'s post in the thread C fopen() fclose() pointers don't match with Like Like.
    You people would get a heart attack with some of the Lisp nesting I did without extra variables. And why use if then else when you have and and or :)
  • Jose
    Jose reacted to T-Aoki's post in the thread C fopen() fclose() pointers don't match with Like Like.
    I prefer if (NULL == (fptr = fopen(argv[1],"r+"))) or (more paranoid) if ((FILE *)NULL == (fptr = fopen(argv[1],"r+"))) to fool-proofing for cases missingly deleted one "=" in "==". With this style (told by my friend decades ago), when missingly...
  • Jose
    Jose replied to the thread Nextcloud.
    Out of curiosity, did you replace it with something else?
  • cracauer@
    cracauer@ replied to the thread Rust in the FreeBSD kernel.
    I don't see it as that hopeless. I see it as something you let loose on your existing code, which you already engineered to have no memory errors you are aware of. The LLM gives additional suggestions. Outside an occasional misleading comment...
  • cracauer@
    cracauer@ replied to the thread Rust in the FreeBSD kernel.
    Here is a paper on using LLMs to help with memory safety in C: https://www.microsoft.com/en-us/research/publication/llm-assistance-for-memory-safety/
  • Jose
    Jose replied to the thread Rust in the FreeBSD kernel.
    I would state it a little more strongly: re-writing time-proven battle-tested code is almost always a mistake.
  • Jose
    Jose reacted to cracauer@'s post in the thread Rust in the FreeBSD kernel with Like Like.
    Re-writing things that work fine is generally a mistake if you want to run lean on bugs.
  • T
    Both questions have the same answer; doing it. Stop reading about it and actually install and use it. The only way to get experienced in something, is to, ehm, well, actually experience something. Run into problems, solve issues. You learn as you...
  • K
    Bhyve does provide a VNC server but it is tied to their virtual GPU driver and scrapes the framebuffer from it. This is way more layers. So, as long as you have CPU accel (and virtio network drivers), I believe tigervnc's Xvnc installed on the...
  • setevoy
    setevoy reacted to T-Daemon's post in the thread NFSv4 and share for multiply networks with Thanks Thanks.
    Looks ok. I assume you are mounting NFSv4 shares ... server:/backups /mount_point
  • setevoy
    Yeah, checked from another host via VPN, and it works. Just in case for googlers: /etc/exports content on the FreeBSD host: V4: /nas/nfs /nas/nfs/backups -network 192.168.0.0/24 -maproot=root /nas/nfs/backups -network 192.168.100.0/24...
  • T
    tingo replied to the thread Samsung Galaxy Book4 Edge - arm64.
    Today I tried booting FreeBSD 15.0-release (FreeBSD-15.0-RELEASE-arm64-aarch64-memstick.img.xz). Much the same story as the last time, but now it at least detects the usb hub I have plugged in. Sadly, no enumeration of devices plugged into the...
  • cracauer@
    A few remarks about what I think is important here. Understand the difference between the core shell language and the commandline utilities used by the shell. Understand there is some overlap as some commands might have both built-in versions...
  • K
    Generally I find a headless setup to work best for virtualization. Then if I want graphics: If the UI I am using is decent, X11/ssh forward. If the UI is bloated / crap, I use Xvnc (tigervnc). If you want accelerated 3D / gpu passthrough then...
  • B
    I had been thinking about installing Nextcloud for some time but after seeing this video I think I will give it a go. I was encouraged by the fact that an installation script is provided to install all the necessary components. That script is...
  • T
    Looks ok. I assume you are mounting NFSv4 shares ... server:/backups /mount_point
  • T
    This is the first time I've heard of it. Even older ZFS "sharenfs" can very well export NFSv4 shares as long as all the requirements are met ("V4:" line in /etc/exports, "nfsv4_server_enable" in /etc/rc.conf ).
  • setevoy
    Ah, thanks. I have 14.3. Well, tried that too. And it even works with such format, if I did it correctly (but can be mounted and data is accessible in the 192.168.0.0/24, although I haven't checked from other networks yet): V4: /nas/nfs...
  • T
    Bummer, this works on version 2.4.0. (>=15 branch) 2.2.7 seems have not got patched to include the semicolon. Which FreeBSD version is the system running? You have to resort to /etc/exports to share on different networks.
  • B
    I run into a lot of problems, and do learn things, but lots remain unsolved. But have to admit that if it wasn't for this community a lot more issues would remain/
  • B
    Both questions have the same answer; doing it. Stop reading about it and actually install and use it. The only way to get experienced in something, is to, ehm, well, actually experience something. Run into problems, solve issues. You learn as you...
  • setevoy
    I've set V4 manually in the /etc/exports: # cat /etc/exports V4: /nas/nfs But the question is how to configure the same dataset's exports for multiple networks. Bacuse everything is great with the: # zfs set sharenfs="-network 192.168.0.0/24...
  • T
    In this regard, there is an issue opened on Dec 7 2025 at the projects Github repository, unfortunately unresolved by the developer, yet : Change in pkg behavior breaks Synth's check for fetched prebuilt packages #250
  • setevoy
    Thanks, indeed missed it. But for me, it adds it as a single line: # zfs sharenfs="-network 192.168.0.0/24 -maproot=root;-network 192.168.100.0/24" nas/nfs/backups # cat /etc/zfs/exports # !!! DO NOT EDIT THIS FILE MANUALLY ...
  • elgrande
    How are you starting the VM? It's an option that's enabled when starting bhyve VNC backend. wait Instruct bhyve to only boot upon the initiation of a VNC connection, simplifying the installation of operating...
  • SirDice
    Both questions have the same answer; doing it. Stop reading about it and actually install and use it. The only way to get experienced in something, is to, ehm, well, actually experience something. Run into problems, solve issues. You learn as you...
  • SirDice
    How are you starting the VM? It's an option that's enabled when starting bhyve VNC backend. wait Instruct bhyve to only boot upon the initiation of a VNC connection, simplifying the installation of operating...
  • cracauer@
    cracauer@ replied to the thread Plot error in GNU Octave.
    That message is probably unrelated to the hang.
  • T
    You have to set a semicolon (;) between the different networks (this is not documented in the regular manuals, as far as I know, but it is the subject of review "Allow ZFS sharenfs to generate multiple export(5) lines", linked in my post # 9 in...
  • tembun
    Yes. The ones doing the asking have gone with the wind and didn't come back.
  • setevoy
    Hi. I'm trying to set up an NFSv4 share, and everything works when setting a limit for only one network. The /etc/exports: V4: /nas/nfs Then, adding with ZFS set: # zfs set sharenfs="-network 192.168.0.0/24 -maproot=root" nas/nfs/backups...
  • D
    I had the exact same situation as you when I switched from Windows to Linux distros. I had been doing some software development even on Windows, so I was using Git for Windows and thus got a clue about some very basic UNIX programs like cd, ls...
  • MG
    Too many different CLI learning documents. It's more of creating habits and become more productive than a mouse UI clicker. Script everythhing that you do repeatedly. I personally would have become better faster if I was confronted earlier with...
  • D
    Modern "safe coding" practices discourage this exact kind of construct, and prefer to break the open and pointer comparison into separate operations. Much more clear and less error prone.
  • Crivens
    Speaking of memory allocators, you might enjoy the HEXACON 2025 keynote presentation by Ivan Krstić of Apple. He describes the process of implementing the memory tagging architecture Apple calls Memory Integrity Enforcement which first shipped in...
  • Crivens
    Yes. The ones doing the asking have gone with the wind and didn't come back.
  • Zare
    let is contextual depending on the language. We have mentioned three languages, Rust, Scheme and BASIC and the keyword has three different meanings. I'm also not a fan of type inference. I believe a programmer should know what types he's...
  • T
    No, you don't need to reinit the provider. Boot up a installer media, drop to "Live System", attach provider, mount file system, remove what you added in local.rc and /boot/loader.conf, configure the provider to boot from the root file system...
  • Zare
    Zare reacted to bakul's post in the thread The Case for Rust (in the base system) with Thanks Thanks.
    In Scheme it has a clear meaning. (let ((x 1) (y 2)) <expr>) == ((lambda (x y) <expr>) 1 2). That is, x & y are respectively bound to 1 & 2 during the evaluation of <expr> -- the same as if you defined an anonymous function with two args x & y...
  • elgrande
    elgrande replied to the thread Porting X11Libre to FreeBSD..
    So as far as I understand it, we need to compile x11/plasma6-plasma-desktop manually, since the X11 option is on per default, right?
  • B
    Not likely. A film is too large to fit into a cache bucket for Squid, so it won't be stored. The cache is generally meant for things like images, a few megabytes at the most. Maybe you could tweak Squid to cache more, but you'll be shoehorning...
  • B
    Just a quick question which someone may be able to enlighten me about... If all this streaming passes through a common server which haswww/squid installed, will any of the streamed films be cached?
  • A
    adri replied to the thread Reboot causes network card to fail.
    I have had the same problem recently, using FreeBSD 14.3 and the bce driver with multiple BCM5709 nics. Everything has been fine for years, until about 2 months ago. The problem only happens once in a while, not consistently, probably 1 on 5 reboots.
  • S
    Actually, to save money, we lowered our speed. I don't remember what it was and I'm not even sure what it officially is now, but did a quick speed test and it was 554 Mbs download, much slower upload, but this is Spectrum in NYC. As I've often...
  • zsolt
    zsolt reacted to Espionage724's post in the thread FreeBSD tool for CPU undervolting with Thanks Thanks.
    This tool is awesome: https://github.com/DavidS95/Smokeless_UMAF I can boot to unlocked BIOS menus, and have an overclocking menu for XTU stuff. Adaptive (only affect Turbo clocks) offset voltage -100 on Core and Uncore in BIOS shows in Windows...
  • zsolt
    zsolt replied to the thread FreeBSD tool for CPU undervolting.
    Could you share the exact setting that enables Resizable BAR?
  • F
    Thanks but I don't use KDE anymore and the problem is not present with CDE.
  • B
    I'm just saying that FreeBSD providesa built in utility - fetch so you don't net to get wget or curl. As for mfsbsd, it is built from FreeBSD source code. I only offerred some advice. You are perfectly free to reject it. Many people on this...
  • cracauer@
    cracauer@ replied to the thread Rust in the FreeBSD kernel.
    Re-writing things that work fine is generally a mistake if you want to run lean on bugs.
  • cracauer@
    I know nothing about Carbon except some politics.
Back
Top