Re: How do I parse certain "bits" out of bytes?



Adam Schneider <schneiderNOSPAM@xxxxxxxxxxxxxxxx> wrote in
news:040520050908562952%schneiderNOSPAM@xxxxxxxxxxxxxxxx:

> Josef Moellers wrote:
>>
>> > But what's actually going on here? To a layperson, the meanings of
>> > the terms "shift" and "logical operators" are opaque in this
>> > context and do not obviously correlate with the ">>" and "&"
>> > symbols in those statements. (What do the operators do? Why have
>> > you used 0x1f there?)
>>
>> Sory, I thought if someone programmed in Perl, (s)he isn't a
>> "layperson".
>
> The wonderful thing about Perl is that it's forgiving enough and
> (usually) intuitive enough that anyone can use it, even with no formal
> programming background.
>
> I've been using Perl to manipulate text and hierarchical data for
> almost 10 years now, with no problems understanding the terminology,
> but as soon as I venture into binary data, it's like the documentation
> is written in another language. (In addition to the bitwise
> operators, the "pack" and "unpack" commands are confusing too; there
> are not nearly enough examples in the manual.)

I have been navigating the streets of Ankara, Turkey successfully for a
long time now, but I am sure, as soon as I venture to Amsterdam, it's,
like, the maps are written in a different language. Why should that be?
After all, it is just another city.

I find it disturbing that in all these years of not being able to
understand the documentation due to a lack of your knowledge, you never
had the desire or motivation to pick a simple tutorial on boolean logic,
or even to try and convert numbers among the commonly used bases such as
2, 8, 10, and 16.

I find your response to Josef Moellers extremely disturbing. He helped
you, and you paid him back by being obnoxious.

Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
.



Relevant Pages

  • Re: [FR/EN] faire un tableau / to make a table
    ... >> Josef Moellers wrote: ... >>> prerequisite for proper solutions. ... then pointing people at the FAQ list is OK. ... > didn't post any code that is proper Perl), ...
    (comp.lang.perl.misc)
  • Re: how to write a "od -bc" like function?
    ... Josef Moellers wrote: ... Could any one give me a direction to write a function to match the unix-like ... Perl isn't a toolbox, but a small machine shop where you ...
    (comp.lang.perl.misc)
  • Re: String Parsing
    ... Josef Moellers wrote: ... > Dan wrote: ... >> I am just starting to learn some parsing techniques in Perl.. ... > up with a regular expression matching a valid sentence in modern English ...
    (comp.lang.perl.misc)
  • Re: Generate HTML from a Windows Network Share
    ... bear with me as I am very much a newbie when it comes to perl. ... Josef Moellers wrote: ...
    (comp.lang.perl.misc)
  • Re: load modules that are not part of the perl dist
    ... > That blank is non-standard and looks dangerous to me. ... Sinan Unur ... Prev by Date: ...
    (comp.lang.perl.misc)