TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: jbuzbee on March 04, 2011, 12:56:38 PM

Title: Pics or it didn't happen
Post by: jbuzbee on March 04, 2011, 12:56:38 PM
RE: http://www.theswamp.org/index.php?topic=37329.0 (http://www.theswamp.org/index.php?topic=37329.0)

Hey Lee,
I hang out at another forum, ADVRider.com, a motorcycle forum.  Whenever someone makes a wild claim the first response is usually "pics or it didn't happen".  So your last post to the referenced thread seems to be the in same spirit: your calling me out!  :wink:

So, for everyones enjoyment:

 8-)
CLayerPop
** Requires OpenDCL v 5.1.2.3 or higher to be installed **
Modeless form shown at the mouse coords, double click a layer to set current, once the mouse leaves the form it's closed.

There.  How's that?
jb
Title: Re: Pics or it didn't happen
Post by: alanjt on March 04, 2011, 02:30:16 PM
And yet, no pics.   :lmao:
Title: Re: Pics or it didn't happen
Post by: BlackBox on March 04, 2011, 03:20:04 PM
Alan, quick... throw up the popcorn video clip (the one you never get tired of posting)!!!  :evil:
Title: Re: Pics or it didn't happen
Post by: Matt__W on March 04, 2011, 03:31:03 PM
Alan, quick... throw up the popcorn video clip (the one you never get tired of posting)!!!  :evil:
:?
Title: Re: Pics or it didn't happen
Post by: BlackBox on March 04, 2011, 04:20:11 PM
Alan, quick... throw up the popcorn video clip (the one you never get tired of posting)!!!  :evil:
:?

lol... found it:

(http://www.theswamp.org/screens/alanjt/popcorn.gif)

[edit]
Here's the source link for the caption in my earlier post:

http://www.cadtutor.net/forum/showthread.php?52077-Leading-zero-s-in-attribute-value&p=352828&highlight=tire+posting+this.+LoL#post352828 (http://www.cadtutor.net/forum/showthread.php?52077-Leading-zero-s-in-attribute-value&p=352828&highlight=tire+posting+this.+LoL#post352828)
[/edit]
Title: Re: Pics or it didn't happen
Post by: Lee Mac on March 04, 2011, 05:33:47 PM
RE: http://www.theswamp.org/index.php?topic=37329.0 (http://www.theswamp.org/index.php?topic=37329.0)

Hey Lee,
I hang out at another forum, ADVRider.com, a motorcycle forum.  Whenever someone makes a wild claim the first response is usually "pics or it didn't happen".  So your last post to the referenced thread seems to be the in same spirit: your calling me out!  :wink:

There.  How's that?

Nah, I wasn't doubting that you hadn't done it, just remarking on how much you like OpenDCL  :-)

But I can see how it could have been misread  :oops:
Title: Re: Pics or it didn't happen
Post by: jbuzbee on March 06, 2011, 04:45:22 PM
Quote
just remarking on how much you like OpenDCL

Thats all I got man!  Compared to you guys I'm a hack at best!  :-o

Quote
But I can see how it could have been misread

All in good fun Lee -  :-)
Title: Re: Pics or it didn't happen
Post by: cmwade77 on March 07, 2011, 06:13:58 PM
Quote
just remarking on how much you like OpenDCL

Thats all I got man!  Compared to you guys I'm a hack at best!  :-o

Same here, I use OpenDCL a bit for that very reason myself.
Title: Re: Pics or it didn't happen
Post by: JohnK on March 07, 2011, 07:05:23 PM
A question for the "hacks": What is it about "Auto lisp development" (I'm assuming you're talking about that) makes you feel like a `hack' compared to `those guys'? Is it a feeling of not knowing the "best" way, or "how to do `this' or `that'", or what?

Would "training", "extra tools", or "documentation" help (I would be more then willing to contribute `something' to the COMMUNITY --or a devoted select few-- if that be the case)?
Title: Re: Pics or it didn't happen
Post by: jbuzbee on March 08, 2011, 11:44:01 AM
What makes me a Hack?

I started my career as a draftsman (board!).  I'm a designer and I always will be.(I've walked away from the profession of Architecture so I don't use that term anymore).

I started utilizing AutoLISP to write quick and dirty routines to make AutoCAD more efficient the way I use it.  As I started writing more robust tools I realized I lacked a good coding foundation.  I've sense rewritten large volumes of code, mostly based on what I've learned from this site.

I love OpenDCL because, well, I'm a designer.  I'll never have the skill to write like many of on this site.

Hi, my name's Jim and I'm a hack!  :-D
Title: Re: Pics or it didn't happen
Post by: BlackBox on March 08, 2011, 12:07:39 PM
I too jokingly consider myself a "hack" with regard to programming, as I lack the formal education in software development (that I desire). I know that with the amount of information, samples, forums, and members (like yourself and others) I can overcome most obstacles.

However, I'm personally in a position of expanding my knowledge base faster than I can truly master the information coming in... I've not even come close to mastering AutoLISP & DXF codes, and then I was off to the races with ActiveX because it seemed (it is) more powerful, and is easier to read. Plus I like the object oriented correlation to .NET development.

Now I'm diving into Visual Studio (VB.NET) along with Civil 3D (again, after not mastering ActiveX), and it's another 'world' of information yet undiscovered (by me).

Being self-taught, and having great mentors in forum members has served me well... but I'm always seeking to see development through a different prism, as I feel that I've only scratched the [development] surface.

Edit:  I also think there's a degree of humility, and self-deprecating humor at work, when referring to one's self as a 'hack', as compared to 'those guys'.
Title: Re: Pics or it didn't happen
Post by: JohnK on March 08, 2011, 12:46:01 PM
General Rule: You should not be ashamed to be a `hack'. Almost everyone here is a Hack. Hackers are good; hackers built up Unix, they built the Internet!

`Professionaly trained'? I didnt go to school but I was taught by a former CS professor, and studied from a real CS book. Does that make me a `professional'? ...no, but who (here) cares? I would like to be a professional, but I, personaly, dont have the money to go back to school.

However, this isnt really the topic i was interested in discussing so let me back-track a bit.

My real question was (to restate it another way): I think that what people meant by saying `Hack' was/could be "a lack of confidence" or something like that. I have lacking self confidence in some things too but maybe (and this is what my first post really meant--I dont know how more bluntly I can state this) Can I help in someway? Is there anything specific I can help with?  -i.e. show you how to do something, create a tool for you, can we work on a large project together, etc. -e.g. teach you how to use Vim, or create a Lisp STD lib, etc.
Title: Re: Pics or it didn't happen
Post by: dgorsman on March 08, 2011, 12:55:37 PM
What defines me as a hack, is that I don't always have the time to do what would be considered correct by a professional programmer.

Does it do what its supposed to?  Check.
Does it in a reasonable timeframe?  Check.
Can it be built in a reasonable timeframe?  Check.
Is it the optimal solution using all the latest tools, completely bombproof, full GUI, etc.?  Not always.

I've got a hundred other things to get done (some of them dreaded administration-type tasks) that doesn't let me learn all the little ins'n'outs, especially with the in-depth areas like .NET.  Duct tape is ugly but when used correctly it works.
Title: Re: Pics or it didn't happen
Post by: BlackBox on March 08, 2011, 01:08:58 PM
Se7en - Your offer to help is greatly appreciated.

I am curious to know... what is Vim?

A separate question, how does one make a custom help file (.chm)? I'm finding documentation to be an area I am greatly lacking consistency (for other users)... the 'manual' is in my head (never a good thing!).

Being a hack is more of a (temporary?) status, or sort... I'm a subject matter expert in training. While certainly not zealous, I have no lack of confidence, rather a lack of time.

dgorsman  - I *belive* you and I are in a similar situation... only I'd opt for the 100-Mile-an-Hour tape, and some 550 cord. lmao
Title: Re: Pics or it didn't happen
Post by: JohnK on March 08, 2011, 01:12:23 PM
Vim is a text editor. Do a google search for it.

Re: CHM files.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=00535334-c8a6-452f-9aa0-d597d16580cc&displaylang=en


Obvioulsy we dont understand eachother so im just gonna walk away now.
Title: Re: Pics or it didn't happen
Post by: BlackBox on March 08, 2011, 01:24:39 PM
Vim is a text editor. Do a google search for it.

Re: CHM files.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=00535334-c8a6-452f-9aa0-d597d16580cc&displaylang=en

Thanks for the information.


Obvioulsy we dont understand eachother so im just gonna walk away now.

That's unfortunate... I felt that I understood your point, while not subject to the condition.

I'll try to do more listening than typing, in the future... I appreciate your time, in any event.
Title: Re: Pics or it didn't happen
Post by: JohnK on March 08, 2011, 01:32:09 PM
No, im confused (I dont understand at all).
Title: Re: Pics or it didn't happen
Post by: jbuzbee on March 08, 2011, 02:10:09 PM
Quote
Is there anything specific I can help with?  -i.e. show you how to do something, create a tool for you, can we work on a large project together, etc. -e.g. teach you how to use Vim, or create a Lisp STD lib, etc

I think that's what this site is all about and your participation is greatly appreciated.  I'd like to see more robust collaborations: a function library, vertical application subs, stuff like that.  I believe that to be the next milestone for OpenDCL; yes there are functions defined by the runtime but how about a sub you can download to populate a tree control?

This is a great site to learn, but the next milestone here could be some real, managed, collaborations.  However, as of now, I'm merely a spectator . . ..
Title: Re: Pics or it didn't happen
Post by: JohnK on March 08, 2011, 02:21:08 PM
... I'd like to see more robust collaborations: a function library, vertical application subs, stuff like that.  I believe that to be the next milestone for OpenDCL; yes there are functions defined by the runtime but how about a sub you can download to populate a tree control?

This is a great site to learn, but the next milestone here could be some real, managed, collaborations.  However, as of now, I'm merely a spectator . . ..

I can help with that.
Since you are only a spectator, can you point someone who would be willing to collabrate to this thread (or start a new one); maybe we can get some ideas down.
Title: Re: Pics or it didn't happen
Post by: Krushert on March 08, 2011, 03:45:47 PM
What makes me a hack.  Well let me put it to you this way.


I will always be a hack because I hack pieces together.  I have learned a lot and improved in my hacks and I even improved in writing code but I have no basic foundation in writing code.  And that there in lies my fault.  If I had time, I would reformat myself and start all over from bottom. 
Title: Re: Pics or it didn't happen
Post by: ronjonp on March 08, 2011, 04:21:46 PM
Quote
I then try to mash the pieces together with a potato masher, with cutting the big chunks with a electric knife and applying lots butter to hold it all together all the while trying not to drip blood into the pot of code.  Because we all know it is not a project unless there is loss of blood.
:-D
Title: Re: Pics or it didn't happen
Post by: krampaul82 on March 08, 2011, 05:18:32 PM
[ :-D[/quote] I try to live my life this way!
Title: Re: Pics or it didn't happen
Post by: dgorsman on March 08, 2011, 06:17:33 PM
In the spirit of the latter suggestions, something that I could use some help with is managing that collaborative development.  My "department" is going to expand to third person soon which means less hands-on coding and more organizing, admin-type stuff.

I think a check-in/out system is going to be necessary to avoid conflicts but I haven't found a simple one yet.  I've looked into TortiseSVN (I already use TortiseMerge for checking purposes) but since IT will never give me network access anything like setting up an SVN/Vault server isn't going to fly.  Anybody have suggestions, even if its just work practices, for small-scale code and data file management?

Maybe we could spin that off (and other related topics) into a CAD Admin Best Practices Manual "How To Be a Pointy Haired Boss (but in a good way)".
Title: Re: Pics or it didn't happen
Post by: LE3 on March 08, 2011, 06:45:48 PM
^^^
I used TortoiseSVN in the past for the code I did for cadzation (acroplot), have not been able to use a system like this one for any of the latest projects that I have worked.

I know the above does not offer any help et-all :)
Title: Re: Pics or it didn't happen
Post by: chlh_jd on March 08, 2011, 07:20:49 PM
to do well in loading OPENDCL you can use this fun, perhaps
Code: [Select]
;;;load opendcl
;;; by eachy
(defun _Load_ODCL_Runtime (/ loaderp proc_arch arxname arxpath errmsg)
  (or
    dcl_getversionex
    (and
      (setq arxpath
     (vl-registry-read
       (strcat
"HKEY_LOCAL_MACHINE\\"
(vlax-product-key)
"\\Applications\\OpenDCL"
       )
       "Loader"
     )
      )
      (setq loaderp t)
      (wcmatch (strcase arxpath) "*`.ARX")
      (arxload arxpath nil)
      dcl_getversionex
    )
    (and
      (setq arxname
     (strcat "OpenDCL"
     (if
       (and
(setq proc_arch
(getenv "PROCESSOR_ARCHITECTURE")
)
(< 1 (strlen proc_arch))
(eq "64"
     (substr
       proc_arch
       (1- (strlen proc_arch))
     )
)
       )
".x64."
"."
     )
     (substr (getvar "acadver") 1 2)
     ".arx"
     )
      )
      (setq arxpath (findfile arxname))
      (arxload arxpath nil)
      dcl_getversionex
    )
    (and
      loaderp
      (= 2 (boole 1 (getvar "DEMANDLOAD") 2))
      (vl-catch-all-apply 'vl-cmdf '("opendcl"))
      dcl_getversionex
    )
    (progn
      (princ
(strcat
  "Error: "
  (if arxpath
    (strcat arxpath " ")
    "OpenDCL runtime "
  )
  ".\n"
)
      )
      nil
    )
  )
  dcl_getversion
)