Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #536171 > unrolled thread

Feeb, can you improve this simple C code?

Started byDFS <nospam@dfs.com>
First post2019-10-08 08:53 -0400
Last post2019-10-11 10:14 -0500
Articles 20 on this page of 89 — 16 participants

Back to article view | Back to comp.os.linux.advocacy


Contents

  Feeb, can you improve this simple C code? DFS <nospam@dfs.com> - 2019-10-08 08:53 -0400
    Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 06:21 -0700
    Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 07:07 -0700
    Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 14:33 +0000
      Re: Feeb, can you improve this simple C code? DFS <nospam@dfs.com> - 2019-10-08 17:10 -0400
        Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 21:25 +0000
          Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 14:42 -0700
          Re: Feeb, can you improve this simple C code? Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-09 07:23 +0000
        Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 14:27 -0700
        Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 21:38 +0000
          Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 14:58 -0700
          Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 15:14 -0700
          Re: Feeb, can you improve this simple C code? Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-09 07:25 +0000
            Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-09 00:58 -0700
        Re: Feeb, can you improve this simple C code? Steve Carroll <fretwizzer@gmail.com> - 2019-10-08 14:51 -0700
          Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 22:19 +0000
            Re: Feeb, can you improve this simple C code? Steve Carroll <fretwizzer@gmail.com> - 2019-10-08 15:36 -0700
              Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 16:00 -0700
              Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-09 07:36 +0000
            Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 15:44 -0700
          Re: Feeb, can you improve this simple C code? Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-09 07:26 +0000
          Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-09 08:22 +0000
            Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-09 01:44 -0700
            Re: Feeb, can you improve this simple C code? Steve Carroll <fretwizzer@gmail.com> - 2019-10-09 08:29 -0700
    Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 14:44 +0000
      Re: Feeb, can you improve this simple C code? Steve Carroll <"Steve Carroll"@noSPAM.none> - 2019-10-08 14:51 +0000
        Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 15:16 +0000
          Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 08:40 -0700
        Re: Feeb, can you improve this simple C code? Mel <mel@zzzzz.com> - 2019-10-08 18:11 +0200
          Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 09:40 -0700
          Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 09:55 -0700
          Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 18:38 +0000
            Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 11:56 -0700
            Re: Feeb, can you improve this simple C code? Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-08 19:42 +0000
              Re: Feeb, can you improve this simple C code? Steve Carroll <fretwizzer@gmail.com> - 2019-10-08 13:13 -0700
                Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 20:19 +0000
                  Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 20:26 +0000
                    Re: Feeb, can you improve this simple C code? Steve Carroll <fretwizzer@gmail.com> - 2019-10-08 13:38 -0700
                      Re: Feeb, can you improve this simple C code? F Russell <fr@random.info> - 2019-10-08 20:55 +0000
                        Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 14:12 -0700
                      Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 13:57 -0700
                  Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 13:42 -0700
                Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 13:27 -0700
      Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 07:53 -0700
      Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 08:09 -0700
      Re: Feeb, can you improve this simple C code? Mel <mel@zzzzz.com> - 2019-10-08 18:09 +0200
        Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 09:25 -0700
          Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 10:56 -0700
            Re: Feeb, can you improve this simple C code? Steve Carroll <frelwizzen@gmail.com> - 2019-10-08 12:11 -0700
    memmove( z, x, sizeof x ); Jeff-Relf.Me  @. - 2019-10-09 00:56 -0700
      Re: memmove( z, x, sizeof x ); DFS <nospam@dfs.com> - 2019-10-10 13:13 -0400
        "memcpy()" is a special case INSIDE "memmove()". Jeff-Relf.Me  @. - 2019-10-10 11:17 -0700
          Re: "memcpy()" is a special case INSIDE "memmove()". Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-10 22:27 +0000
        Re: memmove( z, x, sizeof x ); F Russell <fr@random.info> - 2019-10-10 21:20 +0000
          Re: memmove( z, x, sizeof x ); Siri Cruise <chine.bleu@yahoo.com> - 2019-10-10 15:07 -0700
            Re: memmove( z, x, sizeof x ); Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-10 22:36 +0000
            Re: memmove( z, x, sizeof x ); DFS <nospam@dfs.com> - 2019-10-11 09:29 -0400
              Re: memmove( z, x, sizeof x ); Siri Cruise <chine.bleu@yahoo.com> - 2019-10-11 08:28 -0700
                memmove( z, x, sizeof x ); Jeff-Relf.Me  @. - 2019-10-11 10:01 -0700
          Re: memmove( z, x, sizeof x ); Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-10 22:29 +0000
            Re: memmove( z, x, sizeof x ); F Russell <fr@random.info> - 2019-10-11 08:20 +0000
              Re: memmove( z, x, sizeof x ); Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-11 18:22 +0000
                Re: memmove( z, x, sizeof x ); chrisv <chrisv@nospam.invalid> - 2019-10-11 13:45 -0500
                Re: memmove( z, x, sizeof x ); DFS <nospam@dfs.com> - 2019-10-11 15:46 -0400
                  Re: memmove( z, x, sizeof x ); Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-11 19:57 +0000
            Re: memmove( z, x, sizeof x ); F Russell <fr@random.info> - 2019-10-11 08:31 +0000
              Re: memmove( z, x, sizeof x ); Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-11 18:24 +0000
                Re: memmove( z, x, sizeof x ); "F. Russell" <frussell@random.info> - 2019-10-11 18:55 +0000
                  Re: memmove( z, x, sizeof x ); Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-11 19:16 +0000
                    Re: memmove( z, x, sizeof x ); "F. Russell" <frussell@random.info> - 2019-10-11 19:29 +0000
                      Re: memmove( z, x, sizeof x ); Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-11 19:39 +0000
            Re: memmove( z, x, sizeof x ); F Russell <fr@random.info> - 2019-10-11 09:03 +0000
        Re: memmove( z, x, sizeof x ); F Russell <fr@random.info> - 2019-10-10 21:30 +0000
          Re: memmove( z, x, sizeof x ); Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-10 22:33 +0000
            Re: memmove( z, x, sizeof x ); F Russell <fr@random.info> - 2019-10-11 08:21 +0000
          Insane, Animalistic, Immoral, Detached. Jeff-Relf.Me  @. - 2019-10-10 15:43 -0700
            Asset bubbles make people horny, stupid. Jeff-Relf.Me  @. - 2019-10-10 16:04 -0700
            Re: Insane, Animalistic, Immoral, Detached. Checkmate <ricksabian1@gmail.com> - 2019-10-10 16:09 -0700
              Re: Insane, Animalistic, Immoral, Detached. Snit <usenet@gallopinginsanity.com> - 2019-10-10 16:28 -0700
                Re: Insane, Animalistic, Immoral, Detached. The Right And The Powerful <power2019@gmail.com> - 2019-10-10 18:35 -0500
                  Re: Insane, Animalistic, Immoral, Detached. Snit <usenet@gallopinginsanity.com> - 2019-10-10 16:47 -0700
                    Re: Insane, Animalistic, Immoral, Detached. The Right And The Powerful <power2019@gmail.com> - 2019-10-10 20:39 -0500
                      Re: Insane, Animalistic, Immoral, Detached. Checkmate <ricksabian1@gmail.com> - 2019-10-10 20:39 -0700
                      Re: Insane, Animalistic, Immoral, Detached. Snit <usenet@gallopinginsanity.com> - 2019-10-11 08:31 +0000
                      Re: Insane, Animalistic, Immoral, Detached. chrisv <chrisv@nospam.invalid> - 2019-10-11 08:36 -0500
                  Re: Insane, Animalistic, Immoral, Detached. Checkmate <ricksabian1@gmail.com> - 2019-10-10 20:36 -0700
                    Re: Insane, Animalistic, Immoral, Detached. % <persent@gmail.com> - 2019-10-10 20:41 -0700
                  Re: Insane, Animalistic, Immoral, Detached. chrisv <chrisv@nospam.invalid> - 2019-10-11 08:53 -0500
                    Re: Insane, Animalistic, Immoral, Detached. Sergio <invalid@invalid.com> - 2019-10-11 10:14 -0500

Page 3 of 5 — ← Prev page 1 2 [3] 4 5  Next page →


#536236

FromSteve Carroll <frelwizzen@gmail.com>
Date2019-10-08 13:57 -0700
Message-ID<a7e10eb0-8115-40f3-9b64-c4b29f9e643a@googlegroups.com>
In reply to#536230
On Tuesday, October 8, 2019 at 1:38:20 PM UTC-7, Steve Carroll wrote:
> On Tuesday, October 8, 2019 at 2:27:04 PM UTC-6, F Russell wrote:
> > On Tue, 08 Oct 2019 20:19:45 +0000, F Russell wrote:
> > 
> > > 
> > > The real story can be seen by running the programs which I
> > > supplied.  They reveal EXACTLY what is happening.
> > > 
> > 
> > You can also consult the wonderful C utility cdecl:
> > 
> > https://github.com/ridiculousfish/cdecl-blocks
> > 
> > 
> > Running cdecl:
> > 
> > explain char *x[]
> > declare x as array of pointer to char
> > 
> > 
> > So that fucking idiot smellz can go crawl back into
> > his ex-communist shit hole.
> 
> I ran it! Did so as soon as I read your post with that code. Here, you can bitch
> that I didn't use the terminal to run a c app this time:
> 
> <https://imgur.com/a/1dNI0JG>
> 
> (Xcode just updated so I ran it)
> 
> In any event, that's why I said it seemed to make sense (to me anyway). 
> But I'm still confused as ever about pointers. Isn't that essentially what a 
> variable is?



Steve Carroll showed himself to be a liar by claiming he would not debate Michael Glasser Snit via veraciously shouting 'Into the bin with you!' and then engaging him anyway by means of a 3rd party. Run a background report on Steve Carroll and you will get proof that he was in a detention center for a long time. I do not know what for. The sites do not go into that level of detail and court records from his jurisdiction have to be court ordered. Michael Glasser Snit can create a virtual machine. Rips what that Mac can do to shreds! And what did Steve Carroll have to say about this long list of "convenient friends" who popped up at just the right moment? Most of the time he would try to lead others to believe they're "honest and honorable" posters who just happened to have an extremely bizarre entrance into usenet. All makes total sense, NOT! You're like a fool wearing a gorilla outfit at the prom. We all see you hiding there and thinking you are being clever. And you're so stupid you keep rejecting it. 



- 
E-commerce Simplified
https://youtu.be/GPPqvw8iEBs
http://usenet.sandman.net/misc/postingtimes/Snit/Flooding
https://youtu.be/TETJEkaUoY4
Jonas Eklundh

[toc] | [prev] | [next] | [standalone]


#536232

FromSteve Carroll <frelwizzen@gmail.com>
Date2019-10-08 13:42 -0700
Message-ID<6e16dad5-b387-4f3d-b284-4b9b1625dcdd@googlegroups.com>
In reply to#536223
On Tuesday, October 8, 2019 at 1:20:01 PM UTC-7, F Russell wrote:
> On Tue, 08 Oct 2019 13:13:39 -0700, Steve Carroll wrote:
> 
> > 
> > What's the real story here?
> >
> 
> The real story can be seen by running the programs which I
> supplied.  They reveal EXACTLY what is happening.
> 
> That third-world goon, smellz, is full of fucking shit.
> 
> Now it could be that the stooge (DFS) means something
> other than what he says, but his original statement was
> for an array of char.
> 
> When dealing with C, one must be very explicit and precise.
> C ain't no pussy python.



Snit just wiped the floor with Conspiracy Whacko Beedle. 

Can you cease asking for my attention? In fact Conspiracy Whacko Beedle's lies got bigger. So obviously I regret sending hardware to Conspiracy Whacko Beedle. While I am sure he liked it, he has taught me to never try to appease a troll. Think about it, who knows JavaScript, is a programmer, has forged Snit's account, has an obsession and is a gigantic conniption-fit throwing mama's boy who, when he is quoted lying, posts ignorant claptrap even when he's *not* flooding... AND... who struggles to pin everything _he_ is doing on "Snit" and has for years? Studying Gnome... still an initiate... 



--
Best CMS Solution of 2017!
https://youtu.be/r7wys2JvBD0
Jonas Eklundh Communication

[toc] | [prev] | [next] | [standalone]


#536227

FromSteve Carroll <frelwizzen@gmail.com>
Date2019-10-08 13:27 -0700
Message-ID<0d79a70d-33f5-4782-9e1f-63885c8da547@googlegroups.com>
In reply to#536221
On Tuesday, October 8, 2019 at 1:13:42 PM UTC-7, Steve Carroll wrote:
> On Tuesday, October 8, 2019 at 1:42:11 PM UTC-6, Melzzzzz wrote:
> > On 2019-10-08, F Russell <fr@random.info> wrote:
> > > On Tue, 08 Oct 2019 18:11:12 +0200, Mel wrote:
> > >
> > >> 
> > >> Let's just say that original definition is correct...
> > >>
> > >
> > > Fuck no.  The original definition is TOTALLY WRONG.
> > >
> > > He specifies an array of char:
> > 
> > He used char*[] which is correct...
> 
> Feeb's answer actually seemed to make some sense but you're saying it's 
> not correct. What's the real story here?



Marek admitted Carroll repeatedly asked him to lie:

 Marek <NPWdnVgF_NwsozXEnZ2dnUU7-YvNnZ2d@giganews.com>:
    -----
    When I first tried to broker peace between you [Steve Carroll] and
    Snit, you emailed me over and over again asking be to lie about
    Glasser.
    -----
   
And then Marek later admitted he DOES lie, but claimed he does it simply because it pleases him to do so:
   
  Marek <keCdnc7hoMqpfy3EnZ2dnUU7-YHNnZ2d@giganews.com>:
    -----
    | Why do you post your attacks and insults and lies if not to please
    | the herd?
    
    I do it to please me, Snit.
    -----
    
Whatever his reason for lying, even Marek admits he lies and attacks and insults.

--
Eight things to never feed your cat!
https://www.facebook.com/JonasEklundh
Jonas Eklundh Communication AB

[toc] | [prev] | [next] | [standalone]


#536185

FromSteve Carroll <frelwizzen@gmail.com>
Date2019-10-08 07:53 -0700
Message-ID<3f38fc1c-3942-4820-b468-cc958d8b2186@googlegroups.com>
In reply to#536183
On Tuesday, October 8, 2019 at 7:45:16 AM UTC-7, F Russell wrote:
> On Tue, 08 Oct 2019 08:53:33 -0400, DFS wrote:
> 
> > 
> > char *x[] = {"1","7","D","e","M","o","z"}
> > char *y[] = {"A","c","p","S","x"}
> > 
> 
> I should also indicate that these are NOT char arrays.
> 
> What you have declared is an array of pointer to char.
> 
> The correct way is:
> 
> char x[] = {'a', '7', 'D'}
> 
> Now you have an array of char.



Pay for a background check on Jesus Christ and you will get proof that he was in a correctional facility more than once. The investigation sites don't go into that level of detail and court lists need to be subpoenaed. 

What were you hoping for? The complete farce is full of ridiculous holes and is based heavily on Jesus Christ's 'vitamin D' claim. Jesus Christ-like idiots are still yapping about the ChromeOS "interface" as if that actually would even make sense. 



--
Best CMS Solution of 2017
https://www.youtube.com/watch?v=u4xD43Khhkw
https://goo.gl/Fho5Nq
Jonas Eklundh Communication AB

[toc] | [prev] | [next] | [standalone]


#536186

FromSteve Carroll <frelwizzen@gmail.com>
Date2019-10-08 08:09 -0700
Message-ID<c5f83a7c-0d64-4f63-ac72-25302fe65c53@googlegroups.com>
In reply to#536183
On Tuesday, October 8, 2019 at 7:45:16 AM UTC-7, F Russell wrote:
> On Tue, 08 Oct 2019 08:53:33 -0400, DFS wrote:
> 
> > 
> > char *x[] = {"1","7","D","e","M","o","z"}
> > char *y[] = {"A","c","p","S","x"}
> > 
> 
> I should also indicate that these are NOT char arrays.
> 
> What you have declared is an array of pointer to char.
> 
> The correct way is:
> 
> char x[] = {'a', '7', 'D'}
> 
> Now you have an array of char.



Time to blame Tattoo Vampire! Only what Tattoo Vampire wants matters to Tattoo Vampire. There is nothing Snit Glasser can do to change that. It's a mental health problem and it is what it is. 

So, yeah, I buy into my own fantasy, fully knowing Tattoo Vampire has been fooled, because it makes me reconsider my code, improving it. Tattoo Vampire lies so frequently that he has a impossible time keeping track of his lies. Or his forgeries and other crap. Lines of text containing numbers and symbols. 



- 
This broke the Internet!
https://youtu.be/E3m_i-x92D0
https://youtu.be/TETJEkaUoY4
Automate Google Groups https://groups.google.com/forum/#!search/Petruzzellis$20or$20Carroll
Jonas Eklundh Communication AB

[toc] | [prev] | [next] | [standalone]


#536191

FromMel <mel@zzzzz.com>
Date2019-10-08 18:09 +0200
Message-ID<almarsoft.4878720042531701910@news.albasani.net>
In reply to#536183
On 8 Oct 2019 14:44:37 GMT, F Russell <fr@random.info> wrote:
> On Tue, 08 Oct 2019 08:53:33 -0400, DFS wrote:


> > 
> > char *x[] = {"1","7","D","e","M","o","z"}
> > char *y[] = {"A","c","p","S","x"}
> > 


> I should also indicate that these are NOT char arrays.


> What you have declared is an array of pointer to char.


> The correct way is:


> char x[] = {'a', '7', 'D'}


> Now you have an array of char.

He ment what he said.

-- 
Press any key to continue or any other to quit 

[toc] | [prev] | [next] | [standalone]


#536194

FromSteve Carroll <frelwizzen@gmail.com>
Date2019-10-08 09:25 -0700
Message-ID<1c869136-26e4-4f2b-bfcd-dddb280ad3fe@googlegroups.com>
In reply to#536191
On Tuesday, October 8, 2019 at 9:09:58 AM UTC-7, Mel wrote:
> On 8 Oct 2019 14:44:37 GMT, F Russell <fr@random.info> wrote:
> > On Tue, 08 Oct 2019 08:53:33 -0400, DFS wrote:
> 
> 
> > > 
> > > char *x[] = {"1","7","D","e","M","o","z"}
> > > char *y[] = {"A","c","p","S","x"}
> > > 
> 
> 
> > I should also indicate that these are NOT char arrays.
> 
> 
> > What you have declared is an array of pointer to char.
> 
> 
> > The correct way is:
> 
> 
> > char x[] = {'a', '7', 'D'}
> 
> 
> > Now you have an array of char.
> 
> He ment what he said.
> 
> -- 
> Press any key to continue or any other to quit



What does it take to end this? Recently I did work on and showed some AppleScript for the front end (only works on high end systems) which is the only thing you can do when trying to avoid -hh's nonstop crap while reading with Google Groups. Now why the added task to send a request via an automated phone system in a server system? Whatever, he didn't list this as part of his, what would undoubtedly be, never ending expansion of 'specification' <whatever>. Was that meant to be clever? 



-- 
Top 15 Ways -hh Trolls!!
http://tinyurl.com/proof-about-ebot
https://youtu.be/GPPqvw8iEBs
Jonas Eklundh

[toc] | [prev] | [next] | [standalone]


#536204

FromSteve Carroll <frelwizzen@gmail.com>
Date2019-10-08 10:56 -0700
Message-ID<0aa48ba2-b426-4af3-933d-21a24e602e8f@googlegroups.com>
In reply to#536194
On Tuesday, October 8, 2019 at 9:25:49 AM UTC-7, Steve Carroll wrote:
> On Tuesday, October 8, 2019 at 9:09:58 AM UTC-7, Mel wrote:
> > On 8 Oct 2019 14:44:37 GMT, F Russell <fr@random.info> wrote:
> > > On Tue, 08 Oct 2019 08:53:33 -0400, DFS wrote:
> > 
> > 
> > > > 
> > > > char *x[] = {"1","7","D","e","M","o","z"}
> > > > char *y[] = {"A","c","p","S","x"}
> > > > 
> > 
> > 
> > > I should also indicate that these are NOT char arrays.
> > 
> > 
> > > What you have declared is an array of pointer to char.
> > 
> > 
> > > The correct way is:
> > 
> > 
> > > char x[] = {'a', '7', 'D'}
> > 
> > 
> > > Now you have an array of char.
> > 
> > He ment what he said.
> > 
> > -- 
> > Press any key to continue or any other to quit
> 
> 
> 
> What does it take to end this? Recently I did work on and showed some AppleScript for the front end (only works on high end systems) which is the only thing you can do when trying to avoid -hh's nonstop crap while reading with Google Groups. Now why the added task to send a request via an automated phone system in a server system? Whatever, he didn't list this as part of his, what would undoubtedly be, never ending expansion of 'specification' <whatever>. Was that meant to be clever? 
> 
> 
> 
> -- 
> Top 15 Ways -hh Trolls!!
> http://tinyurl.com/proof-about-ebot
> https://youtu.be/GPPqvw8iEBs
> Jonas Eklundh



Michael Glasser Snit created at least one major circus in the last year or so. I am sure he and the herd are proud. Just some names Steven Petruzzellis has used
    "Evil" John *
    "Evil" Snit *
    Big Crotch on a Small Fish
    Cornelius Munshower
    CSMA Moderator
    Edward Stanfield
    Fretwiz *
    Hitman Hero
    Measles
    Petruzzellis Kids
    Sigmond
    Slaveen
    Smit
    Steve C *
    Steve Camoll *
    Steve Carroll <noone@xxxxxxxxxxx> *
    Steve Carroll <stevecarroll@xxxxxxxxxxx> *
    Steve Carroll <trollkiller@xxxxxx> *
    Steve Carroll's Dog *
    Steve Carrolll *
    Steve Carrroll *
    Yevette Owens
    Yobo_Obyo
    Rachetjaw
    Little Mac
Peter 'The Moron' Köhlmann must know that others can go get FileMaker, right, tweaker? Meanwhile, anyone can filter his posts, which renders his flooding harmless, just like Peter 'The Moron' Köhlmann ;) 

Michael Glasser Snit can create a virtual machine. Rips what that Mac can do to shreds! 



--
What Every Entrepreneur Must Know
http://tmp.gallopinginsanity.com/BilkHelp.html
Automate Google Groups https://www.youtube.com/watch?v=hYQ4Tg0r0g0&feature=youtu.be
Jonas Eklundh Communication

[toc] | [prev] | [next] | [standalone]


#536210

FromSteve Carroll <frelwizzen@gmail.com>
Date2019-10-08 12:11 -0700
Message-ID<2e3f7543-ccae-4d01-a17f-25dca6c9cfda@googlegroups.com>
In reply to#536204
On Tuesday, October 8, 2019 at 10:56:51 AM UTC-7, Steve Carroll wrote:
> On Tuesday, October 8, 2019 at 9:25:49 AM UTC-7, Steve Carroll wrote:
> > On Tuesday, October 8, 2019 at 9:09:58 AM UTC-7, Mel wrote:
> > > On 8 Oct 2019 14:44:37 GMT, F Russell <fr@random.info> wrote:
> > > > On Tue, 08 Oct 2019 08:53:33 -0400, DFS wrote:
> > > 
> > > 
> > > > > 
> > > > > char *x[] = {"1","7","D","e","M","o","z"}
> > > > > char *y[] = {"A","c","p","S","x"}
> > > > > 
> > > 
> > > 
> > > > I should also indicate that these are NOT char arrays.
> > > 
> > > 
> > > > What you have declared is an array of pointer to char.
> > > 
> > > 
> > > > The correct way is:
> > > 
> > > 
> > > > char x[] = {'a', '7', 'D'}
> > > 
> > > 
> > > > Now you have an array of char.
> > > 
> > > He ment what he said.
> > > 
> > > -- 
> > > Press any key to continue or any other to quit
> > 
> > 
> > 
> > What does it take to end this? Recently I did work on and showed some AppleScript for the front end (only works on high end systems) which is the only thing you can do when trying to avoid -hh's nonstop crap while reading with Google Groups. Now why the added task to send a request via an automated phone system in a server system? Whatever, he didn't list this as part of his, what would undoubtedly be, never ending expansion of 'specification' <whatever>. Was that meant to be clever? 
> > 
> > 
> > 
> > -- 
> > Top 15 Ways -hh Trolls!!
> > http://tinyurl.com/proof-about-ebot
> > https://youtu.be/GPPqvw8iEBs
> > Jonas Eklundh
> 
> 
> 
> Michael Glasser Snit created at least one major circus in the last year or so. I am sure he and the herd are proud. Just some names Steven Petruzzellis has used
>     "Evil" John *
>     "Evil" Snit *
>     Big Crotch on a Small Fish
>     Cornelius Munshower
>     CSMA Moderator
>     Edward Stanfield
>     Fretwiz *
>     Hitman Hero
>     Measles
>     Petruzzellis Kids
>     Sigmond
>     Slaveen
>     Smit
>     Steve C *
>     Steve Camoll *
>     Steve Carroll <noone@xxxxxxxxxxx> *
>     Steve Carroll <stevecarroll@xxxxxxxxxxx> *
>     Steve Carroll <trollkiller@xxxxxx> *
>     Steve Carroll's Dog *
>     Steve Carrolll *
>     Steve Carrroll *
>     Yevette Owens
>     Yobo_Obyo
>     Rachetjaw
>     Little Mac
> Peter 'The Moron' Köhlmann must know that others can go get FileMaker, right, tweaker? Meanwhile, anyone can filter his posts, which renders his flooding harmless, just like Peter 'The Moron' Köhlmann ;) 
> 
> Michael Glasser Snit can create a virtual machine. Rips what that Mac can do to shreds! 
> 
> 
> 
> --
> What Every Entrepreneur Must Know
> http://tmp.gallopinginsanity.com/BilkHelp.html
> Automate Google Groups https://www.youtube.com/watch?v=hYQ4Tg0r0g0&feature=youtu.be
> Jonas Eklundh Communication



But vallor feels the need to mock the herd. vallor expects people to believe that a poster such as Troll Killer Snit who he has repeatedly declared to be a troll is someone to 'respect'? Why can he believe people are that stupid? By the way, taking time likely researching a problem is never a waste. Asserting you know everything and trying to 'prove' others that it is true, as vallor tries to do? That is a waste ;) I will not ask vallor how any part of Troll Killer Snit's body tastes no matter how many times vallor licks it. 

Can you get over it? vallor has yet to show how Bash does anything above the minimum on Linux. 



-- 
"You'll notice how quickly he loses interest when everything is about him. He clearly wants the attention"
Steven Petruzzellis, making the dumbest comment ever uttered.

[toc] | [prev] | [next] | [standalone]


#536287 — memmove( z, x, sizeof x );

FromJeff-Relf.Me @.
Date2019-10-09 00:56 -0700
Subjectmemmove( z, x, sizeof x );
Message-ID<Jeff-Relf.Me@Oct.9--0.56am.Seattle.2019>
In reply to#536171
DFS asked Feeb:
> Can you improve this simple C code ?

char *x = "17DeMoz", *y = "AcpSx" ;
char *z = (char *)malloc( sizeof x + sizeof y );
memmove( z, x, sizeof x );
memmove( z + sizeof x - 1, y, sizeof y );
printf( "%s", z );

[toc] | [prev] | [next] | [standalone]


#536392 — Re: memmove( z, x, sizeof x );

FromDFS <nospam@dfs.com>
Date2019-10-10 13:13 -0400
SubjectRe: memmove( z, x, sizeof x );
Message-ID<qEJnF.117555$LC2.85008@fx45.iad>
In reply to#536287
On 10/9/2019 3:56 AM, Jeff-Relf.Me@. wrote:
> DFS asked Feeb:
>> Can you improve this simple C code ?
> 
> char *x = "17DeMoz", *y = "AcpSx" ;
> char *z = (char *)malloc( sizeof x + sizeof y );
> memmove( z, x, sizeof x );
> memmove( z + sizeof x - 1, y, sizeof y );
> printf( "%s", z );


Thanks.

One guy at this link

https://stackoverflow.com/questions/28623895/why-is-memmove-faster-than-memcpy

says "In general, USE memmove only if you have to. USE it when there is 
a very reasonable chance that the source and destination regions are 
over-lapping."

In your example above, how is the memory occupied by z going to overlap 
with the memory occupied by x or y?


[toc] | [prev] | [next] | [standalone]


#536393 — "memcpy()" is a special case INSIDE "memmove()".

FromJeff-Relf.Me @.
Date2019-10-10 11:17 -0700
Subject"memcpy()" is a special case INSIDE "memmove()".
Message-ID<Jeff-Relf.Me@Oct.10--11.17am.Seattle.2019>
In reply to#536392
DFS quoted:
> " In general, USE memmove only if you have to.  USE it when 
>   there is a very reasonable chance that the source and destination 
>   regions are over-lapping. "
>   https://stackoverflow.com/questions/28623895/why-is-memmove-faster-than-memcpy

Why worry about whether memory overlaps or not ?
What's the point ?

"memcpy()" is a special case INSIDE "memmove()".

"memmove()" contains SSE optimized assembler code; so it's faster.

Even if it wasn't ALWAYS faster, the difference is too minor. 

[toc] | [prev] | [next] | [standalone]


#536403 — Re: "memcpy()" is a special case INSIDE "memmove()".

FromMelzzzzz <Melzzzzz@zzzzz.com>
Date2019-10-10 22:27 +0000
SubjectRe: "memcpy()" is a special case INSIDE "memmove()".
Message-ID<efOnF.883690$yH4.262675@fx18.am4>
In reply to#536393
On 2019-10-10, Jeff-Relf.Me  @. <Jeff-Relf.Me@> wrote:
> DFS quoted:
>> " In general, USE memmove only if you have to.  USE it when 
>>   there is a very reasonable chance that the source and destination 
>>   regions are over-lapping. "
>>   https://stackoverflow.com/questions/28623895/why-is-memmove-faster-than-memcpy
>
> Why worry about whether memory overlaps or not ?
> What's the point ?
>
> "memcpy()" is a special case INSIDE "memmove()".
>
> "memmove()" contains SSE optimized assembler code; so it's faster.
>
> Even if it wasn't ALWAYS faster, the difference is too minor. 

Considering that memory is slow, this can be case, but memcpy can work
better for small buffers... as it fits in cache...



-- 
press any key to continue or any other to quit...
U ničemu ja ne uživam kao u svom statusu INVALIDA -- Zli Zec
Na divljem zapadu i nije bilo tako puno nasilja, upravo zato jer su svi 
bili naoruzani. -- Mladen Gogala

[toc] | [prev] | [next] | [standalone]


#536396 — Re: memmove( z, x, sizeof x );

FromF Russell <fr@random.info>
Date2019-10-10 21:20 +0000
SubjectRe: memmove( z, x, sizeof x );
Message-ID<qno7aj0kh9@news2.newsguy.com>
In reply to#536392
On Thu, 10 Oct 2019 13:13:06 -0400, DFS wrote:

> 
> One guy at this link
> 
> https://stackoverflow.com/questions/28623895/why-is-memmove-faster-than-memcpy
> 

Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!

Hey.  You want sizzle?  I'll give you fucking sizzle.

The fastest byte move operation in the entire universe,
on modern, post-Haswell processors, is implemented with
the following assembly code:

mov rdi, destination
mov rsi, source
mov rcx, n(umber of bytes)
rep movb

The Intel "rep movb" instruction moves (copies) the n bytes from
source to destination so fucking fast that it'll blow your shit-stained,
piss-stained underwear a mile away.

I have implented this method as a GNU gcc inline function
using inline assembly.

The code is the same as my previous program but with the new
function substituted.

There is only one assembly instruction because the gcc calling
convention takes care of the first three instructions.

Wanna get your ass blown away?  Then run this program.
It sizzles.

#include <stdio.h>
#include <stdlib.h>

static inline void __movsb(char *dest, char *src, int n)
{
asm volatile("rep movsb"
	: "=D" (dest),
	"=S" (src),
	"=c" (n)
	: "0" (dest),
	"1" (src),
	"2" (n)
	: "memory");
}

int main()
{

int i;

char A[] = {'1','7','D','e','M','o','z'};
char B[] = {'A','c','p','S','x'};

int lenA = sizeof(A)/sizeof(char);
int lenB = sizeof(B)/sizeof(char);

// allocate array C on heap
char *C = (char *)malloc(sizeof(char)*(lenA+lenB));

// C = A append B
__movsb(C,A,lenA);
__movsb(C+lenA,B,lenB);

for(i=0; i<(lenA+lenB); i++) { fputc(C[i], stdout); } fputc('\n', stdout);

return 0;
}

[toc] | [prev] | [next] | [standalone]


#536402 — Re: memmove( z, x, sizeof x );

FromSiri Cruise <chine.bleu@yahoo.com>
Date2019-10-10 15:07 -0700
SubjectRe: memmove( z, x, sizeof x );
Message-ID<chine.bleu-A267D1.15071610102019@reader.eternal-september.org>
In reply to#536396
In article <qno7aj0kh9@news2.newsguy.com>, F Russell <fr@random.info> wrote:

> The fastest byte move operation in the entire universe,
> on modern, post-Haswell processors, is implemented with
> the following assembly code:

Apple might switch from Intel to ARM, and I'll have the arduous job of porting 
all my copies from memcpy(dd,ss) to memcpy(dd,ss). You're talking weeks of wrist 
breaking effort.

When you honour the interface contract, memcpy saves a couple of comparisons 
over memmove. At that time in the long ago there was no memmove nor 
consideration it was necessary. Yeah, memcpy could be extended to memmove 
functionality, but at the time the 'efficiency' of memcpy was not be 
compromised. It's not a big deal.

        #define memcpy memmove

All done.

-- 
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted.    @
'I desire mercy, not sacrifice.'                                    /|\
The first law of discordiamism: The more energy   This post         / \
to make order is nore energy made into entropy.   insults Islam.  Mohammed

[toc] | [prev] | [next] | [standalone]


#536408 — Re: memmove( z, x, sizeof x );

FromMelzzzzz <Melzzzzz@zzzzz.com>
Date2019-10-10 22:36 +0000
SubjectRe: memmove( z, x, sizeof x );
Message-ID<9oOnF.1101493$aI7.1037338@fx22.am4>
In reply to#536402
On 2019-10-10, Siri Cruise <chine.bleu@yahoo.com> wrote:
> In article <qno7aj0kh9@news2.newsguy.com>, F Russell <fr@random.info> wrote:
>
>
>         #define memcpy memmove
>
> All done.

Nah...
>


-- 
press any key to continue or any other to quit...
U ničemu ja ne uživam kao u svom statusu INVALIDA -- Zli Zec
Na divljem zapadu i nije bilo tako puno nasilja, upravo zato jer su svi 
bili naoruzani. -- Mladen Gogala

[toc] | [prev] | [next] | [standalone]


#536443 — Re: memmove( z, x, sizeof x );

FromDFS <nospam@dfs.com>
Date2019-10-11 09:29 -0400
SubjectRe: memmove( z, x, sizeof x );
Message-ID<2t%nF.75202$iJ2.7869@fx47.iad>
In reply to#536402
On 10/10/2019 6:07 PM, Siri Cruise wrote:
> In article <qno7aj0kh9@news2.newsguy.com>, F Russell <fr@random.info> wrote:
> 
>> The fastest byte move operation in the entire universe,
>> on modern, post-Haswell processors, is implemented with
>> the following assembly code:
> 
> Apple might switch from Intel to ARM, and I'll have the arduous job of porting
> all my copies from memcpy(dd,ss) to memcpy(dd,ss). You're talking weeks of wrist
> breaking effort.
> 
> When you honour the interface contract, memcpy saves a couple of comparisons
> over memmove. At that time in the long ago there was no memmove nor
> consideration it was necessary. Yeah, memcpy could be extended to memmove
> functionality, but at the time the 'efficiency' of memcpy was not be
> compromised. It's not a big deal.
> 
>          #define memcpy memmove
> 
> All done.


Very Relfish.

Why wouldn't you do it right?

[toc] | [prev] | [next] | [standalone]


#536458 — Re: memmove( z, x, sizeof x );

FromSiri Cruise <chine.bleu@yahoo.com>
Date2019-10-11 08:28 -0700
SubjectRe: memmove( z, x, sizeof x );
Message-ID<chine.bleu-27869E.08282511102019@reader.eternal-september.org>
In reply to#536443
In article <2t%nF.75202$iJ2.7869@fx47.iad>, DFS <nospam@dfs.com> wrote:

> On 10/10/2019 6:07 PM, Siri Cruise wrote:
> > In article <qno7aj0kh9@news2.newsguy.com>, F Russell <fr@random.info> 
> > wrote:
> > 
> >> The fastest byte move operation in the entire universe,
> >> on modern, post-Haswell processors, is implemented with
> >> the following assembly code:
> > 
> > Apple might switch from Intel to ARM, and I'll have the arduous job of 
> > porting
> > all my copies from memcpy(dd,ss) to memcpy(dd,ss). You're talking weeks of 
> > wrist
> > breaking effort.
> > 
> > When you honour the interface contract, memcpy saves a couple of 
> > comparisons
> > over memmove. At that time in the long ago there was no memmove nor
> > consideration it was necessary. Yeah, memcpy could be extended to memmove
> > functionality, but at the time the 'efficiency' of memcpy was not be
> > compromised. It's not a big deal.
> > 
> >          #define memcpy memmove
> > 
> > All done.
> 
> 
> Very Relfish.
> 
> Why wouldn't you do it right?

Because I prefer the documentation effect of using them separately.

-- 
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted.    @
'I desire mercy, not sacrifice.'                                    /|\
The first law of discordiamism: The more energy   This post         / \
to make order is nore energy made into entropy.   insults Islam.  Mohammed

[toc] | [prev] | [next] | [standalone]


#536467 — memmove( z, x, sizeof x );

FromJeff-Relf.Me @.
Date2019-10-11 10:01 -0700
Subjectmemmove( z, x, sizeof x );
Message-ID<Jeff-Relf.Me@Oct.11--10.01am.Seattle.2019>
In reply to#536458
Siri Cruise,

Are you a female programmer/Scientologist ?

Do you program for Windows too, or just Macs ?

Siri wrote:
> The first law of discordiamism: The more energy
> to make order is nore energy made into entropy.

"nore" ?

  In physics, entropy is how evenly  heat/matter  are distributed.
  Our  hot/dense  sun evaporates into the  cold/sparse  vacuum,
  losing 4.3 million tons each second.

  Our Universe is going from infinitely  hot/dense  to infinitely  cold/sparse.
  "God" (nature) programmed us to ride this wave 
  ( i.e. to sustainablely consume residual exergy ), same as the sun.

[toc] | [prev] | [next] | [standalone]


#536404 — Re: memmove( z, x, sizeof x );

FromMelzzzzz <Melzzzzz@zzzzz.com>
Date2019-10-10 22:29 +0000
SubjectRe: memmove( z, x, sizeof x );
Message-ID<TgOnF.883691$yH4.256494@fx18.am4>
In reply to#536396
On 2019-10-10, F Russell <fr@random.info> wrote:
> On Thu, 10 Oct 2019 13:13:06 -0400, DFS wrote:
>
>> 
>> One guy at this link
>> 
>> https://stackoverflow.com/questions/28623895/why-is-memmove-faster-than-memcpy
>> 
>
> Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!
>
> Hey.  You want sizzle?  I'll give you fucking sizzle.
>
> The fastest byte move operation in the entire universe,
> on modern, post-Haswell processors, is implemented with
> the following assembly code:
>
> mov rdi, destination
> mov rsi, source
> mov rcx, n(umber of bytes)
> rep movb
>
> The Intel "rep movb" instruction moves (copies) the n bytes from
> source to destination so fucking fast that it'll blow your shit-stained,
> piss-stained underwear a mile away.

Nope. Fastest is with SSE...

>
>


-- 
press any key to continue or any other to quit...
U ničemu ja ne uživam kao u svom statusu INVALIDA -- Zli Zec
Na divljem zapadu i nije bilo tako puno nasilja, upravo zato jer su svi 
bili naoruzani. -- Mladen Gogala

[toc] | [prev] | [next] | [standalone]


Page 3 of 5 — ← Prev page 1 2 [3] 4 5  Next page →

Back to top | Article view | comp.os.linux.advocacy


csiph-web