Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 21st, 2005, 12:33 AM   #1
lostcauz
Hobbyist Programmer
 
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5 lostcauz is on a distinguished road
Geodesic Dome Calculator

I wrote this for personal use to satisfy my interest in dome construction. Gives estimated cost of constructing a geodesic dome using wood. Determines chord lengths, hub angle, concrete, area etc. Allows different frequency choices and projects shell cost. I should have used a dialog as main but the IDE I was using at the time auto-generated the controls code and I'm too lazy to clean it up. Nothing special but you are welcome to check it out. Full assembler source code included. http://lostcauz.org/DOME.zip
__________________
-- lostcauz

Stepped in what?...
Behind whose barn?...
I didn't even know they had a cow!
lostcauz is offline   Reply With Quote
Old Jul 25th, 2005, 1:16 PM   #2
lostcauz
Hobbyist Programmer
 
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5 lostcauz is on a distinguished road
Wow, no comments, suggestions or gripes? I had expected more from this bunch. Nobody even complained about using [ctrl-C] for calculating. Ahh well, maybe I'll clean it up one day. I'm considering a full switch to using FASM as my primary assembler. It's very fast and cleanly coded. I've been playin' around with it and so far I really like it.
__________________
-- lostcauz

Stepped in what?...
Behind whose barn?...
I didn't even know they had a cow!
lostcauz is offline   Reply With Quote
Old Jul 26th, 2005, 3:42 AM   #3
Berto
Programming Guru
 
Join Date: Aug 2004
Posts: 1,022
Rep Power: 6 Berto is on a distinguished road
Send a message via AIM to Berto Send a message via MSN to Berto
I just looked at it now, looks a little crowded all the things you have to put in, also confuses the hell outta me
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity."

- Albert Einstein
Berto is offline   Reply With Quote
Old Jul 26th, 2005, 9:44 AM   #4
lostcauz
Hobbyist Programmer
 
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5 lostcauz is on a distinguished road
Thanks for the comments Berto, all you really have to enter is a diameter. There is also a help file. :p
__________________
-- lostcauz

Stepped in what?...
Behind whose barn?...
I didn't even know they had a cow!
lostcauz is offline   Reply With Quote
Old Jul 26th, 2005, 10:03 AM   #5
Berto
Programming Guru
 
Join Date: Aug 2004
Posts: 1,022
Rep Power: 6 Berto is on a distinguished road
Send a message via AIM to Berto Send a message via MSN to Berto
also 2 of the txt's are not aligned properly. and some you cant see allof the text.
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity."

- Albert Einstein
Berto is offline   Reply With Quote
Old Jul 26th, 2005, 11:41 AM   #6
lostcauz
Hobbyist Programmer
 
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5 lostcauz is on a distinguished road
It looks fine on my xp 1024x and win98 800x. I'll look into it though since it is bunched up pretty tight. Thanks for noticing and tell me your OS and screen-res if you don't mind.
__________________
-- lostcauz

Stepped in what?...
Behind whose barn?...
I didn't even know they had a cow!
lostcauz is offline   Reply With Quote
Old Jul 26th, 2005, 12:04 PM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
I just didn't understand the use of asm, since so much of the code is external non-asm, anyway. Except as a proficiency exercise, of course.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 26th, 2005, 12:25 PM   #8
lostcauz
Hobbyist Programmer
 
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5 lostcauz is on a distinguished road
I guess it's just my preference asm+macros+api and I suppose it was a bit of a proficiency excercise as well for my rather lacking fpu skills. Programming is not my occupation but I do enjoy it as a hobby. I waded through several languages before choosing one. I've stated before that I'm much too stupid to be useful using HLL languages. This program was useful for quenching my appetite for knowledge of dome construction and may become useful to me in the near future when building a dome shed.
__________________
-- lostcauz

Stepped in what?...
Behind whose barn?...
I didn't even know they had a cow!
lostcauz is offline   Reply With Quote
Old Jul 26th, 2005, 12:56 PM   #9
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
The use of asm is the only way you will ever gain a true understanding of the Von Neumann architecture. Fine hobby. Building one from scratch contributes a great deal, also. The other side of the API, of course, contrubutes nothing to that. If you were a professional, your value would be enhanced (95% of the time) by putting as much abstraction between your brain and that machine as possible. Just a market force.

The dome thing is interesting. Quite a few years ago they became very popular in East Texas as vacation-type residences, as opposed to trailers or other manufactured housing.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 26th, 2005, 2:21 PM   #10
lostcauz
Hobbyist Programmer
 
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5 lostcauz is on a distinguished road
Point taken concerning the market for asm programmers but my ambition and desire is not directed at programming, per say, but simply a side-effect. I don't market myself as a professional programmer, although I have made money programming before, nor do/will I have any urge toward working in this field exclusively. 80% of my working life has been spent working for myself and I expect this to remain constant for many moons to come. I don't play well with others.

I think the domes are interesting too. The concrete monolythic domes are the way to go for a home. I've seen some really large interesting ones and with all the advantages (cost of materials, structural integrity, space-filling efficiency, heating/air efficiency, natural disaster protection...) it seems a no-brainer IMO for building a new home.

The domes you mention in Texas are more akin to what the program refers to. In many countries these could help alleviate some of the widespread housing shortages. I'm all for things of this nature. Solar <insert alternative here> powered everything, grow your own etc. In fact, I was first introduced to domes in New Caney, Texas. In '84 a neighbor, who had purchased the adjacent property, built 3 of those smaller wood strut/hub style domes. I thought they were too small for even one person to live comfortably and finally requested a tour. I was amazed at the amount of room and the efficiency of his setup to maximize the available space. Most impressive was the implementation of a nice skylight and the height at center which added to the spacious feel.

Thanks for the comments and suggestions, I really enjoy the constructive criticism.
__________________
-- lostcauz

Stepped in what?...
Behind whose barn?...
I didn't even know they had a cow!
lostcauz is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:02 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC