C++ opens up all kinds of problems. On the overloads, I'm in no way or shape or form pro or contra. If the API library you're using uses them, you use them, plain and simple.
Consider also operator overloads as something that is very concealing...
I do have.
I would not trust it for writing a program, but for writing documentation is OK, I know what the program does and can check correctness of the description. The errors I mentioned are probably in the code examples, to be seen as typos...
Thus the problem.
There is an article online that says the free AI tools are not what company programmers use. Those types pay for the AI tools they use and that means hundreds of dollars a month. Even then the generated code has to be gone...
I think it's more of a matter of taste or habit. Furthermore, comparisons should be made not only for the web and related documents, but also for other applications, using not only JavaScript as a yardstick (by the way, in vulpine's link doesn't...
I just used claude AI for writing a man page for a trivial, small script:
https://chiselapp.com/user/hruodr/repository/Txl/dir?ci=tip
I think I would never have done it without this help. I would not have wasted time. It would have remained...
I remember to scroll back to the bootloader output but I can't get there anymore. It seems to be removed. Maybe the kms graphics can't remember it after changing resoluton.
There is a slight quirk here with inheritance.
virtual void Employee::jump();
void Employee::jump(float _height);
// Manager inherits Employee
void Manager::jump();
You can't now do:
Manager m;
m.jump(9.0f);
Weird huh? When a derived class...
Maybe the underlying problem in comp sci is that the focus has changed in newer generations from creating languages that encourage creativity, to restrictive languages that chase the latest "best programming paradigm", whatever that paradigm of...
I have a note for my wiki working best on Firefox :p (it's legit for Chrome not plaintext copy/pasting)
I kind-of like the idea of advertising my coolness to anyone paying attention in logs :cool: (I like to think my settings don't allow blatant...
There is a slight quirk here with inheritance.
virtual void Employee::jump();
void Employee::jump(float _height);
// Manager inherits Employee
void Manager::jump();
You can't now do:
Manager m;
m.jump(9.0f);
Weird huh? When a derived class...
Function parameter overloading takes care of the following API syntax
struct user * find_by_name(const char *name)
struct user * find_by_id(unsigned id)
into
user * find(const char *name)
user * find(unsigned id)
I think the way GCC...
From what I understand of the issue that was fixed (FreeBSD-EN-25:10.zfs), the problem was not in the encryption engine itself, but in the handling of non-raw send streams for encrypted datasets.
In other words, the AES-GCM encryption layer was...
No, function overloading by parameter type is not polymorphism. Polymorphism is when the same function (with the same parameters) is implemented different in different derived classes. For example: The base class Animal has a function...
No, those messages are not written to dmesg.
The messages you see during the very early boot phase (loader, BTX, and early kernel initialization) are printed directly to the console before the kernel message buffer is initialized. Because of...
I really think this thread can help if the OP tells us what is "needed". That's kind of the starting point.
They talk about this on a server: my experience with servers is "I want to have a couple terminal windows open so I can compare, maybe...
Nice :-) What a great tutorial!
You might also want to check out here:
View: https://www.youtube.com/watch?v=EAcaQiq14yw
It includes configuration of X, and also configuration of LAN.
Since this video, I ported 86Box to FreeBSD so that you can...
Do the messages which are highlighted during the boot process get written anywhere?
I'm talking about messages such as start FB_INFO and the following block.
dmesg does not show such messages. Is there some way to get them recorded?
Normal PC, normal PC screen, and serial based input controller.
One of machines that evokes great memories from college days :
MP3 jukebox + quizzes and various games, coin operated. It actually had a standard ATX PC case inside.
4:06 he's using Firefox!
I want to know more about that machine too; the inside looks clean, and FreeBSD's choice looks intentional. I tried searching random words on front like "spielstelle" but that might be a generic word
I researched a...
Hi,
I noticed that OpenRocket (https://openrocket.info/) is currently not available in the FreeBSD ports tree.
OpenRocket is an actively supported open source Java application for rocketry model design and flight simulation.
I have created a...
As I remember, that flang option in clang was removed from defaults because the build happens to use 10+GB memory per process, so when you build with all cpus, most of the machines will get into oom-killing, and obviousely people complained...
I have been to a casino only once in my life, when a friend who goes to them told me he got some patterns going on in some card game, hi lo thing. I tried to reason to him and say all those machines are preset so house wins, there are no patterns...
Since FreeBSD is based on Clang that is part of llvm project, I was wondering which Fortran compiler to use. Ideally, it would be nice to use Flang to avoid installing another C compiler to get gfortran if possible.
By searching through forum, I...
Hello!
When watching a documentary, I noticed that this gambling machine of the early 2000s uses FreeBSD.
View: https://www.youtube.com/watch?v=mFJGBL4uQiQ
minute 3:28
A short sequence of the inside is shown, but it is not possible to see the...
You would not kload it. Once it's installed if you run startx, then X should start. You might be better off with vm-bhyve, which automates some of it. Then you could use a template like
loader="uefi"
graphics="yes"
xhci_mouse="yes"
cpu=1...
No, not exactly. Wine reconciliates two completely incompatible OSes.
Linuxulator is one of many Unix-on-Unix compatibility layers. Early FreeBSD had System V Release 4 compatibility as far as I remember. Linux also had a number of...
I'm unable to get the hang of the MOC the console audio player.
When I start mocp, I get a directory listing on the left panel but none of the cursor keys work. Neither does TAB or ENTER.
Looks like I'm missing something basic.
Any ideas?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.