Bitcoin Forum
December 06, 2022, 01:56:01 PM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  

Warning: Moderators do not remove likely scams. You must use your own brain: caveat emptor. Watch out for Ponzi schemes. Do not invest more than you can afford to lose.

Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: « 1 2 3 [4] 5 »  All
  Print  
Author Topic: AMC Discussion Thread (not self moderated)  (Read 4989 times)
usagi
VIP
Hero Member
*
Offline Offline

Activity: 812
Merit: 1000


13


View Profile
March 28, 2013, 01:09:31 AM
 #61

Date Registered: September 28, 2010, 01:16:14 PM
You were inactive for nearly 3 years.

No, I was not inactive, I have been reading this forum since 2009.

Show us some of your C code. Then I will believe you. You're a brightest of the bunch C programmer? Ok, have you ever contributed anything to open source? What have you worked on?
1670334961
Hero Member
*
Offline Offline

Posts: 1670334961

View Profile Personal Message (Offline)

Ignore
1670334961
Reply with quote  #2

1670334961
Report to moderator
1670334961
Hero Member
*
Offline Offline

Posts: 1670334961

View Profile Personal Message (Offline)

Ignore
1670334961
Reply with quote  #2

1670334961
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1670334961
Hero Member
*
Offline Offline

Posts: 1670334961

View Profile Personal Message (Offline)

Ignore
1670334961
Reply with quote  #2

1670334961
Report to moderator
kslaughter
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile WWW
March 28, 2013, 01:37:36 AM
 #62

Date Registered: September 28, 2010, 01:16:14 PM
You were inactive for nearly 3 years.

No, I was not inactive, I have been reading this forum since 2009.

Show us some of your C code. Then I will believe you. You're a brightest of the bunch C programmer? Ok, have you ever contributed anything to open source? What have you worked on?

Ok, Here is a little c# code from my own tabbed browser called Internet Cruiser that I wrote about 10 years ago and submitted to Microsoft.

using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;

namespace ICruiser
{
   /// <summary>
   /// Summary description for BrowserWindow.
   /// </summary>
   public class BrowserWindow : System.Windows.Forms.UserControl
   {
      private AxSHDocVw.AxWebBrowser axWebBrowser1;
      private String strStartPage;
      /// <summary>
      /// Required designer variable.
      /// </summary>
      private System.ComponentModel.Container components = null;

      public BrowserWindow()
      {
         // This call is required by the Windows.Forms Form Designer.
         InitializeComponent();

         object o=null;
         axWebBrowser1.Navigate("http://www.google.com/search?as_q=&num=10&hl=en&ie=UTF-8&oe=UTF-8&btnG=Google+Search&as_epq=test&as_oq=&as_eq=&lr=&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=&safe=images",ref o,ref o,ref o, ref o);

      }

      public BrowserWindow(String URL)
      {
         strStartPage = URL;
         // This call is required by the Windows.Forms Form Designer.
         InitializeComponent();

         object o=null;
         axWebBrowser1.Navigate(URL,ref o,ref o,ref o, ref o);

      }


      /// <summary>
      /// Clean up any resources being used.
      /// </summary>
      protected override void Dispose( bool disposing )
      {
         if( disposing )
         {
            if(components != null)
            {
               components.Dispose();
            }
         }
         base.Dispose( disposing );
      }

      #region Component Designer generated code
      /// <summary>
      /// Required method for Designer support - do not modify
      /// the contents of this method with the code editor.
      /// </summary>
      private void InitializeComponent()
      {
         System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BrowserWindow));
         this.axWebBrowser1 = new AxSHDocVw.AxWebBrowser();
         ((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).BeginInit();
         this.SuspendLayout();
         //
         // axWebBrowser1
         //
         this.axWebBrowser1.Enabled = true;
         this.axWebBrowser1.Location = new System.Drawing.Point(0, 0);
         this.axWebBrowser1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWebBrowser1.OcxState")));
         this.axWebBrowser1.Size = new System.Drawing.Size(1344, 600);
         this.axWebBrowser1.TabIndex = 0;
         //
         // BrowserWindow
         //
         this.Controls.Add(this.axWebBrowser1);
         this.Name = "BrowserWindow";
         this.Size = new System.Drawing.Size(1344, 592);
         ((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).EndInit();
         this.ResumeLayout(false);

      }
      #endregion
   }
}
🏰 TradeFortress 🏰 (OP)
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1302
Merit: 1042

👻


View Profile
March 28, 2013, 04:49:04 AM
 #63

Asks for C code, confuses C with C# which is quite a lot different..
usagi
VIP
Hero Member
*
Offline Offline

Activity: 812
Merit: 1000


13


View Profile
March 28, 2013, 07:44:04 AM
 #64

[snip code]

That code is boring! I mean, show us something interesting, like this:

Code:
   // mob tries to quaff us
    public boolean event_quaff(Engine e, Mobile mob) {
        e.msg.pline("You quaff " + aname() + ".");

        if (objkind == PotionData.WATER) {
            mob.hp += Dice.roll(1, 1);
            if (mob.hp > mob.hp_max) {
                mob.hp = mob.hp_max;
            }
            if (mob instanceof Player) {
                e.msg.pline("Ahh, a nice cool drink of water. You feel refreshed!");
                if (this.identified() == false) {
                    this.identify(true);
                    e.pc.score += 10;
                }
            }
        } else if (objkind == PotionData.HEALING) {
            mob.hp += Dice.roll("1d8");
            if (mob.hp > mob.hp_max) {
                mob.hp = mob.hp_max;
            }
            if (mob instanceof Player) {
                e.msg.pline("You feel better.");
                if (this.identified() == false) {
                    this.identify(true);
                    e.pc.score += 10;
                }
            }
        } else if (objkind == PotionData.POISON) {
            if (mob instanceof Player) {
                e.msg.pline("That didn't taste good. You feel sick!");
                if (this.identified() == false) {
                    this.identify(true);
                    e.pc.score += 10;
                }
            }
            mob.takedamage(Dice.roll(1, 12), Damage.POISON);
            if (mob.hp < 1) {
                mob.killme = true;
                if (mob instanceof Player) {
                    e.do_pc_death("You drank poison!", "poisoned by " + aname());
                } else {
                    // if a monster dies from drinking poison, what pline
                    // should we send?
                }
            }
        } else if (objkind == PotionData.SPEED) {
            // speed potions auto-id.
            if ((mob instanceof Player) && (this.identified() == false)) {
                this.identify(true);
                e.pc.score += 10;
            }
        } else if (objkind == PotionData.BLINDNESS) {
            // blindness potions auto-id.
            if ((mob instanceof Player) && (this.identified() == false)) {
                this.identify(true);
                e.pc.score += 10;
            }
        }

        // We have been quaffed!
        mob.fxlist.transferByItemTrigger(this, Effect.T_QUAFF);
        killme = true;
        mob.inv.remove(this);
        mob.hunger -= nutrition;
        if (mob instanceof Player) {
            e.pc.score += value; // destroying a potion by using it keeps it's value
            e.pc.score += 1;    // plus one ^^
        }

        e.update_statline();
        e.rend.vs.update();

        return true;
    }

Or hell, even something a little mindbending. Like this:

Code:
   public static void loadTreeStructure(String dbname) {
        List<String> unresolved_ids = new ArrayList();
        List<String> unresolved_parents = new ArrayList();
        List<String> unresolved_names = new ArrayList();
        List<String> unresolved_selected = new ArrayList();

        try {
            db = openDictionaryDB(dbname);
            rs = db.executeQuery("select * from tagstructure;");
            while (rs.next()) {
                TagNode n = new TagNode();
                n.id = rs.getInt("id");

                String parent = rs.getString("parent");
                n.name = rs.getString("tagname");
                n.flagSelected = rs.getBoolean("selected");

                unresolved_ids.add(String.valueOf(n.id));
                unresolved_names.add(n.name);
                unresolved_parents.add(parent);
                unresolved_selected.add(String.valueOf(n.flagSelected));
            }
            rs.close();
        } catch (SQLException sqle) {
            Log.log("oTS(): " + sqle.getMessage(), Log.ERROR);
        }

        TagNode subRoot = new TagNode("root");
        for (int i = 0; i < unresolved_ids.size(); i++) {
            int id = Integer.parseInt(unresolved_ids.get(i));
            if (id > TagNode.idpool) {
                TagNode.idpool = id + 1;
            }
            int parent_id = Integer.parseInt(unresolved_parents.get(i));
            if (id == parent_id) {
                // found the root node.
                subRoot.id = id;
                subRoot.name = "root";
                subRoot.flagSelected = Boolean.valueOf(unresolved_selected.get(i));

                unresolved_ids.remove(i);
                unresolved_names.remove(i);
                unresolved_parents.remove(i);
                unresolved_selected.remove(i);
                break;
            }
        }

        boolean found_parent = true;
        while ((unresolved_ids.isEmpty() == false) && (found_parent == true)) {
            found_parent = false;
            for (int i = 0; i < unresolved_ids.size(); i++) {
                int id = Integer.parseInt(unresolved_ids.get(i));
                if (id > TagNode.idpool) {
                    TagNode.idpool = id + 1;
                }
                String name = unresolved_names.get(i);
                int parent_id = Integer.parseInt(unresolved_parents.get(i));
                boolean selected = Boolean.valueOf(unresolved_selected.get(i));

                TagNode parent = Kongzi.getTagNodeByID(subRoot, parent_id);
                if (parent != null) {
                    TagNode tn = new TagNode();
                    tn.id = id;
                    tn.name = name;
                    tn.flagSelected = selected;
                    parent.add(tn);

                    found_parent = true;

                    unresolved_ids.remove(i);
                    unresolved_names.remove(i);
                    unresolved_parents.remove(i);
                    unresolved_selected.remove(i);
                    break;
                }
            }
        }

        while (subRoot.getChildCount() > 0) {
            TagNode tn = (TagNode) subRoot.getChildAt(0);
            subRoot.remove(0);
            Kongzi.rootNode.add(tn);
        }

        Kongzi.load_taglist();
        Kongzi.ensure_node_ids();
        Kongzi.rootNode.merge_children();

        return;
    }
🏰 TradeFortress 🏰 (OP)
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1302
Merit: 1042

👻


View Profile
March 28, 2013, 07:58:36 AM
 #65

Also, txids for your 100 batch 3 orders?
kslaughter
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile WWW
March 28, 2013, 02:31:07 PM
 #66

[snip code]

That code is boring! I mean, show us something interesting, like this:

[snip code]

  

Here you go, I hope this makes you happy.

void getBlocksAndThreads(int n, int &blocks, int &threads)
{
   threads = (n < MAX_REDUCTION_THREADS*2) ? nextPow2((n + 1)/ 2) : MAX_REDUCTION_THREADS;
    blocks = (n + (threads * 2 - 1)) / (threads * 2);
   blocks = MIN(MAX_REDUCTION_BLOCKS, blocks);
}




template <class T>
void
getreduced(int size, int threads, int blocks, T *d_idata, T *d_odata, int multiple = 1, int total_size = 0)
{
   dim3 dimBlock(threads, 1, 1);
    dim3 dimGrid(blocks, multiple, 1);
    int smemSize = (threads <= 32) ? 2 * threads * sizeof(T) : threads * sizeof(T);

   //if total size is not default then use mutiple reductions kernel
   if (multiple > 1)
   {
      if (isPow2(size))
      {
         switch (threads)
         {
         case 512:
            reduce6_multiple<T, 512, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 256:
            reduce6_multiple<T, 256, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 128:
            reduce6_multiple<T, 128, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 64:
            reduce6_multiple<T,  64, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 32:
            reduce6_multiple<T,  32, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 16:
            reduce6_multiple<T,  16, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case  8:
            reduce6_multiple<T,   8, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case  4:
            reduce6_multiple<T,   4, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case  2:
            reduce6_multiple<T,   2, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case  1:
            reduce6_multiple<T,   1, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         }
      }
      else
      {
         switch (threads)
         {
         case 512:
            reduce6_multiple<T, 512, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 256:
            reduce6_multiple<T, 256, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 128:
            reduce6_multiple<T, 128, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 64:
            reduce6_multiple<T,  64, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 32:
            reduce6_multiple<T,  32, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case 16:
            reduce6_multiple<T,  16, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case  8:
            reduce6_multiple<T,   8, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case  4:
            reduce6_multiple<T,   4, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case  2:
            reduce6_multiple<T,   2, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         case  1:
            reduce6_multiple<T,   1, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size, total_size); break;
         }
      }
   }
   //only require a single reduction
   else
   {
      if (isPow2(size))
      {
         switch (threads)
         {
         case 512:
            reduce6<T, 512, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 256:
            reduce6<T, 256, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 128:
            reduce6<T, 128, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 64:
            reduce6<T,  64, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 32:
            reduce6<T,  32, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 16:
            reduce6<T,  16, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case  8:
            reduce6<T,   8, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case  4:
            reduce6<T,   4, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case  2:
            reduce6<T,   2, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case  1:
            reduce6<T,   1, true><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         }
      }
      else
      {
         switch (threads)
         {
         case 512:
            reduce6<T, 512, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 256:
            reduce6<T, 256, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 128:
            reduce6<T, 128, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 64:
            reduce6<T,  64, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 32:
            reduce6<T,  32, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case 16:
            reduce6<T,  16, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case  8:
            reduce6<T,   8, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case  4:
            reduce6<T,   4, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case  2:
            reduce6<T,   2, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         case  1:
            reduce6<T,   1, false><<< dimGrid, dimBlock, smemSize >>>(d_idata, d_odata, size); break;
         }
      }
   }
}
ThickAsThieves
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
March 28, 2013, 03:25:11 PM
 #67

This is silly, step back for a second. How does comparing your C-peens matter..?
kslaughter
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile WWW
March 28, 2013, 03:49:24 PM
 #68

Asks for C code, confuses C with C# which is quite a lot different..

I did not confuse C with C#, I know the difference.  I was just showing him some of
my code.
usagi
VIP
Hero Member
*
Offline Offline

Activity: 812
Merit: 1000


13


View Profile
March 28, 2013, 04:46:29 PM
 #69

Asks for C code, confuses C with C# which is quite a lot different..

I did not confuse C with C#, I know the difference.  I was just showing him some of
my code.

What I really want to know is, what do you think of the code I posted? Smiley
kslaughter
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile WWW
March 28, 2013, 07:18:55 PM
 #70

Asks for C code, confuses C with C# which is quite a lot different..

I did not confuse C with C#, I know the difference.  I was just showing him some of
my code.

What I really want to know is, what do you think of the code I posted? Smiley

Looks like C code, kinda funny.
🏰 TradeFortress 🏰 (OP)
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1302
Merit: 1042

👻


View Profile
March 28, 2013, 09:55:24 PM
 #71

Also, txids for your 100 batch 3 orders?

It'd take you a minute opening up your bitcoin client and pasting the TXIDs here.
ThickAsThieves
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
March 28, 2013, 11:44:09 PM
 #72

He didn't buy 100, he asked about buying 100 because he thought he'd have IPO'd and had tons of BTC by now.
🏰 TradeFortress 🏰 (OP)
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1302
Merit: 1042

👻


View Profile
March 29, 2013, 12:11:02 AM
 #73

He didn't buy 100, he asked about buying 100 because he thought he'd have IPO'd and had tons of BTC by now.
He says he ordered them:

https://bitcointalk.org/index.php?topic=158806.msg1692940#msg1692940
shibaji
Full Member
***
Offline Offline

Activity: 308
Merit: 102



View Profile
March 29, 2013, 12:20:42 AM
 #74

hmmm ... so did he order them or did not ? I want to update the count accordingly.
kslaughter
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile WWW
March 29, 2013, 12:30:05 AM
 #75

hmmm ... so did he order them or did not ? I want to update the count accordingly.

I sent an order in, however I did not receive a confirmation and I because of my stupid mistake did not
get the uptake on AMC's offering so as to be able to pay for them.

So I am reworking AMC offer and when ready I will post it in AMC's Official Discussion Thread for the community
to make comments on before it goes live on Bitfunder.

I just want to thank everyone in the community for point out all of the problems in the original offering.  I have incorporated,
I think most of the communities concerns in the new offering.  Grin 

shibaji
Full Member
***
Offline Offline

Activity: 308
Merit: 102



View Profile
March 29, 2013, 01:10:05 AM
 #76

hmmm ... so did he order them or did not ? I want to update the count accordingly.

I sent an order in, however I did not receive a confirmation and I because of my stupid mistake did not
get the uptake on AMC's offering so as to be able to pay for them.

So I am reworking AMC offer and when ready I will post it in AMC's Official Discussion Thread for the community
to make comments on before it goes live on Bitfunder.

I just want to thank everyone in the community for point out all of the problems in the original offering.  I have incorporated,
I think most of the communities concerns in the new offering.  Grin 



Ok, so you did not purchase. The contract is very misleading. Man! I will remove your post from the tally thread.
kslaughter
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile WWW
March 29, 2013, 01:21:36 AM
 #77

hmmm ... so did he order them or did not ? I want to update the count accordingly.

I sent an order in, however I did not receive a confirmation and I because of my stupid mistake did not
get the uptake on AMC's offering so as to be able to pay for them.

So I am reworking AMC offer and when ready I will post it in AMC's Official Discussion Thread for the community
to make comments on before it goes live on Bitfunder.

I just want to thank everyone in the community for point out all of the problems in the original offering.  I have incorporated,
I think most of the communities concerns in the new offering.  Grin 



Ok, so you did not purchase. The contract is very misleading. Man! I will remove your post from the tally thread.

Sorry, if I mislead you, I did not mean to, I put ordered in the contract which is what I did.  As you may have noticed, the 6 Avalon's above show that they have been purchased and confirmed not just ordered.
ninjaboon
Legendary
*
Offline Offline

Activity: 2114
Merit: 1002



View Profile WWW
March 29, 2013, 02:23:03 AM
 #78

So is AMC back on the Bitfunder market yet? I cannot see it.

🏰 TradeFortress 🏰 (OP)
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1302
Merit: 1042

👻


View Profile
March 29, 2013, 02:49:08 AM
 #79

So is AMC back on the Bitfunder market yet? I cannot see it.
Asset frozen.
usagi
VIP
Hero Member
*
Offline Offline

Activity: 812
Merit: 1000


13


View Profile
March 29, 2013, 07:18:38 AM
Last edit: March 29, 2013, 07:31:14 AM by usagi
 #80

Asks for C code, confuses C with C# which is quite a lot different..

I did not confuse C with C#, I know the difference.  I was just showing him some of
my code.

What I really want to know is, what do you think of the code I posted? Smiley

Looks like C code, kinda funny.

The problem is, it's not C code and anyone who knew C would recognize that. It isn't even C++ or C# or objective C or anything.

There are other very serious issues with the code he presented, not least of all it looks like a cut and paste from some generic source. For example the function names do not follow any consistent convention:

Dispose( bool disposing )
getBlocksAndThreads(...)
getreduced(...)

Notice all three example functions use a different capitalization scheme and that the first one has spaces in the parentheses and the second two do not.

Second, the style of comment is different. One look slike this:
//one looks like this

//
// Another looks like this.
//

/// A third looks like this.

To my eyes the two code snippets were written by two different people and neither of them looks particularly "great". It looks more like he cut and paste something from "somewhere generic" like a MSVC template or the source code to some unknown program he found somewhere.

What else is weird is the "obj o=null" statements with no spaces around the equal sign. Like he was some kind of novice who was using a template from MSVC.

All this combined with the inability to recognize what is and is not C code tells me that Mac65 must have lied:

May be you'd like to know a little more about kslaughter. In about 1983 I was programming manager for a team of 8 programmers. It was my job to hire and train C-programmers out of college. KSlaughter was the brightest of the bunch. At one time, I was his team leader. Today, I learn from him.

and that Mac65 and the other guy are probably kslaughter's sock puppets and this is all a very elaborate scam.
Pages: « 1 2 3 [4] 5 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!