ams

2d
comment C++ passing "default" struct to function
By the way, it's bad form to start your variable names with a capital letter: the language and compiler don't care at all, but other programmers reading your code will expect Core to be a type name.
2d
answered C++ passing "default" struct to function
2d
answered Why GCC can't pass options to `gas` assembler with `-Wa,-adhln=a.lst`?
2d
revised Access Struct when struct is in an Slice
Code formatting and removed chit chat
Apr
28
comment Why is accessing a private variable of a class as efficient as accessing a variable of a struct?
@Cheersandhth.-Alf Compilers are smart; they're just not magic. Part of the problem is that the C/C++ standards require some things the assembly programmer wouldn't worry about (or might imagine they don't, and then get bitten). Another part of the problem is that it's often hard for the compiler to be sure that an optimization is safe (and sloppy programming makes this worse). And most of the problem is that you want the compiler to run fast and use a reasonable amount of memory.
Apr
24
awarded Enlightened
Apr
24
awarded Nice Answer
Apr
22
comment Can't run my self compiled rsync on android What does Illegal Instruction 132 mean?
The G4 is 64-bit, so perhaps you should try an ARM64 (a.k.a. AArch64, a.k.a. ARMv8) compiler?
Apr
21
comment Using lsync to sync apache webroot files - running into permission issues
Why must it be chown'd? If it's readable and writable what's the difference?
Apr
21
comment Using lsync to sync apache webroot files - running into permission issues
Read what I wrote again; I'm not suggesting SSH to Apache user.
Apr
21
answered Using lsync to sync apache webroot files - running into permission issues
Apr
21
revised Using lsync to sync apache webroot files - running into permission issues
added 38 characters in body
Apr
21
answered Using lsync to sync apache webroot files - running into permission issues
Apr
21
comment Lsync not processing files in the correct order in a master-master/bi-directional setup
Does the file get recreated when you start lsyncd, or when you delete a file while lsyncd is already running?
Apr
21
comment Lsync not processing files in the correct order in a master-master/bi-directional setup
You could try using default.rsyncssh instead of default.rsync. See the docs as there's a few differences in the options you need to set. The point is that it will do ssh <addr> rm <file> instead of using rsync to delete files.
Apr
20
comment Lsync not processing files in the correct order in a master-master/bi-directional setup
That might have been relevant info in the question!
Apr
20
awarded Guru
Apr
20
revised lsync configuration for using non-root logins
edited tags
Apr
20
answered Lsync not processing files in the correct order in a master-master/bi-directional setup
Apr
19
comment Rsync Copies Whole Directory Content Instead of Single File
3.0.6 is from 2009
1 2 3 4 5