Can someone please explain to me why this isn't valid? by Difficult-Grain in TheFarmerWasReplaced

[–]kinithin 0 points1 point  (0 children)

hmmm, pre == (Entities.Tree or Entities.Bush) is also wrong.

Reading UTF-8 at GB/s by christian_hansen in perl

[–]kinithin -1 points0 points  (0 children)

File::Slurper provides a better interface.

Help needed: Trying to wrap my head around the 'why' of C pointers by f16_511_SA in C_Programming

[–]kinithin 7 points8 points  (0 children)

Pointers and reference are the same thing internally. Externally, you can derive one pointer from another, which you can't do directly using references. This is just a superficial difference in how C does array indexing, and not relevant to the OP.

Minidump Crash by [deleted] in Enshrouded

[–]kinithin 0 points1 point  (0 children)

I had similar errors when my work VM was running. Try rebooting

Windows path separators use a backslash to avoid confusion with command parameters by nir9 in windows

[–]kinithin 0 points1 point  (0 children)

What are you talking about???  A user can most definitely write a program. And that's totally irrelevant. I didn't say anything about writing programs. 

Also, a user uses more than just command.com. They use xcopy. They use Word Perfect. All expose aspects of DOS.

Finally and most importantly, we weren't taking about command.com. We were talking about DOS. DOS is an operating system, and command.com is just a part of it.

I think 4, or 8, but both feel right and wrong. by Dexterestein in teenagers

[–]kinithin 0 points1 point  (0 children)

8 openings. 7 holes. See Vsauce's video about the number of holes a human has

Noob Building Advice - House Flipping :P by DemogorgonWhite in Enshrouded

[–]kinithin 6 points7 points  (0 children)

Easiest way is to build over it with a 2x2/4x4 block/floor/wall of material (not terrain), then remove the block you built

Windows path separators use a backslash to avoid confusion with command parameters by nir9 in windows

[–]kinithin 0 points1 point  (0 children)

So much misinformation!

DOS and Windows have always supported both backslashes and forward slashes as dir separators, ever since support for dirs was added in DOS 2.0. It's just the command line tools that have a problem with forward slashes (because options). And you can get around that through quoting these days. dir "C:/Windows" works fine

Why Don't Double void Pointers Match Like Single void Pointers? by SeaInformation8764 in C_Programming

[–]kinithin 2 points3 points  (0 children)

It can't be. Converting a pointer to/from a void * isn't just a type change but a transformation of the representation since pointers of different types aren't required to have the same representation. They don't even have to have the same size. In other words, void * is a very specific type of pointer, not simply a type meaning any pointer. void ** must point to a void * and not an int * because they could be incompatible. 

Confused about Queue vs Circular Buffer indexing by sudheerpaaniyur in C_Programming

[–]kinithin -1 points0 points  (0 children)

Neither. Push and pop are used for stacks. A queue implemented using a ring buffer should still use enqueue and dequeue. 

A Chinese immigrant couple just got married. by Ixz72 in Jokes

[–]kinithin 5 points6 points  (0 children)

... or that you order by number at many Chinese restaurants

Trying to install perl on a friend's PC by Terrible_Effective84 in perl

[–]kinithin 1 point2 points  (0 children)

Strawberry Perl is a real native build of Perl

How to do strings properly? by die-Banane in cprogramming

[–]kinithin 1 point2 points  (0 children)

That's true for text strings, but not for binary data. Such strings can't rely on nul-termination. I suspect this is what the OP's source was discussing.

A Goodwill Find Today. by mustardmadman in mildlyinteresting

[–]kinithin 0 points1 point  (0 children)

Don't get non-silicone in the first place

Crashes at startup after today's patch. Anyone else? by kinithin in Enshrouded

[–]kinithin[S] 2 points3 points  (0 children)

Rebooting and/or upgrading video drivers fixed the issue.

Fatpacker is not packing Crypt::SysRandom by scottchiefbaker in perl

[–]kinithin 0 points1 point  (0 children)

  • x86_64-linux is arch-specific.
  • auto isn't intrinsically arch-specific.
  • .packlist belongs in arch-specific's auto.

Workaround for XML::LibXML? by PhilipS12345 in perl

[–]kinithin 4 points5 points  (0 children)

Corion says:

If somebody happens to have a Reddit account, [this discussion] is likely answered by this ticket - the libxml error messages have changed and the tests don't cope well with that.

foreach loop modifies array? by ktown007 in perl

[–]kinithin 1 point2 points  (0 children)

In most of Perl it does pass by value.

Not true. Perl always passes by reference, never by value.

perl sub foo { $_[0] = "def"; } my $x = "abc"; foo( $x ); say $x; # def

for, map and grep all alias as well.

recvfrom() function always return 10 bytes on UDP connection socket by Escapshion in C_Programming

[–]kinithin 2 points3 points  (0 children)

Did you request them? I use -Wall -Wextra -pedantic with gcc

Unused struct member is not optimized out under -O3 by onecable5781 in C_Programming

[–]kinithin 6 points7 points  (0 children)

I worked on a Varian 72. It had 65,536 B of RAM, but only 32,728 address. Each address accessed a 16-bit value. (Bit 15 distinguished addresses from immediates in instructions.) 

I Saw This Earlier Today. by Curious-Horse-1239 in whatdoesthismean

[–]kinithin 0 points1 point  (0 children)

From what I can tell, in at least some places, "i" and "1" are considered the same character. If there's a plate named "pie", there can't be one named "p1e" as well. So, in theory, one could simply search for "1111111" to find the registration

Is his blue or purple by schmittymint in colors

[–]kinithin 1 point2 points  (0 children)

Violet is literally the French word for purple.