Hello world...

First program I ever wrote

Code:
#include <iostream>

using namespace std;

int main() 
{
    cout << "Hello, world!" << endl;
    return 0;
}

Fast forward 16 years and now I'm still writing C++ but in the context of computational geometry. Keep at it OP
 
First program I ever wrote

Code:
#include <iostream>

using namespace std;

int main()
{
    cout << "Hello, world!" << endl;
    return 0;
}

Fast forward 16 years and now I'm still writing C++ but in the context of computational geometry. Keep at it OP

My first was turbo pascal.

Code:
program HelloWorld;

begin
  writeln('Hello world!');
end.
 
First program I ever wrote

Code:
#include <iostream>

using namespace std;

int main()
{
    cout << "Hello, world!" << endl;
    return 0;
}

Fast forward 16 years and now I'm still writing C++ but in the context of computational geometry. Keep at it OP
CG is one of my favorite fields. What stuff in CG?
 
CG is one of my favorite fields. What stuff in CG?
Analyzing point clouds of various types of infrastructure. Simple examples would be finding deflections in a long roof or sagging in hardstand.
 
System.out.println("Jou mase");

In various languages
 
Analyzing point clouds of various types of infrastructure. Simple examples would be finding deflections in a long roof or sagging in hardstand.
Sounds interesting! Do you reconstruct the surface, or directly extract gradients from the edges of the cloud?
 
Sounds interesting! Do you reconstruct the surface, or directly extract gradients from the edges of the cloud?
In the case of say analyzing roof deflection, a human draws an area they want analyzed on a previously reconstructed 3D model.

The point cloud is then cut along that polygon with a reasonable buffer to reduce the amount of data needed to be analyzed.

The challenge is then to best fit a plane to the structure of the roof, ignoring noisy data, trees which may have grown over parts, conduits, aircons, solar panels, debris etc. Once that's done we basically spit out and save the equation of that plane in point-normal form.

The 3D model (with faces) is then compared to that plane to generate a map of the deflections of the physical roof. That plane is then colored similar to this random picture from the internet and overlaid on the 3D model for display and further analysis to the user (comparing pitch of one side of the roof to the other etc.

2Capture.jpg



Edit: In practice it looks something like this, only the model is real world data.

ScanAndSolve05.jpg
 
Last edited:
Meh Java boy here....

Try a real language. :p

Code:
#include <iostream>

int main() {
    int helloWorld[] = {72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33, 0};

    for (int i = 0; helloWorld[i] != 0; i++) {
        std::cout << char(helloWorld[i]);
    }
  
    return 0;
}
not-again-ptsd.gif
 
In the case of say analyzing roof deflection, a human draws an area they want analyzed on a previously reconstructed 3D model.

The point cloud is then cut along that polygon with a reasonable buffer to reduce the amount of data needed to be analyzed.

The challenge is then to best fit a plane to the structure of the roof, ignoring noisy data, trees which may have grown over parts, conduits, aircons, solar panels, debris etc. Once that's done we basically spit out and save the equation of that plane in point-normal form.

The 3D model (with faces) is then compared to that plane to generate a map of the deflections of the physical roof. That plane is then colored similar to this random picture from the internet and overlaid on the 3D model for display and further analysis to the user (comparing pitch of one side of the roof to the other etc.

2Capture.jpg



Edit: In practice it looks something like this, only the model is real world data.

ScanAndSolve05.jpg
Thanks for the explanation!
 
I was trying to inject some humour. The hope was that others would pick up on it and put their first code here, so we can all have a smile each time we read all of it. Just a bit of fun, really.

That little project is over 6 months old now, I have since coded many more ideas but will not share them here. The coolest one I did was a search algorithm to find stuff using multiple browsers and search engines at the same time. I wanted to see if they give the same result or not.

I wanted to place them here, but this environment is so toxic, so out of balance, that one can only expect to find the worst responses. I can understand why this section of the forum is basically dead. Thankfully, you are not the representation of our local coding community. I actually had a warm welcome and each morning I have over a 50 messages telling me how I can improve my code or telling me how good it worked. Awesome people.

You can keep this little corner of hell for yourselves, there are better places, and I created a few new social accounts. The interaction is amazing, the fun we have on a day-to-day basis is really inspiring.

Whatever this section of the forum represent is just toxic in its entirety.
You seem upset
 
You seem upset
Life goes on, a-holes find the door soon enough, even if they are the boss it doesn't matter. An a-hole by nature is self-destructive and as they grow old and insignificant, their knowledge redundant and their insight irrelevant. They have to justify their pathetic lives with trolling and trying to appear successful, strong and confidant by underhanded and honestly disgraceful attitude towards those they presume to be weak.

They are so insecure they have to attack every little thing others do. They are so insignificant that they have to twist everything to fit their narrative because they are that afraid to become nothing more than noise. They are like stink in an elevator, they try to stop people from getting to the top. What they don't realize, there is always a stairway leading to the top. It might be slower, but the difference is a stairway always work. :thumbsup:
 
Last edited:
Life goes on, a-holes find the door soon enough, even if they are the boss it doesn't matter. An a-hole by nature is self-destructive and as they grow old and insignificant, their knowledge redundant and their insight irrelevant. They have to justify their pathetic lives with trolling and trying to appear successful, strong and confidant by underhanded and honestly disgraceful altitude towards those they presume to be weak.

They are so insecure they have to attack every little thing others do. They are so insignificant that they have to twist everything to fit their narrative because they are that afraid to become nothing more than noise. They are like stink in an elevator, they try to stop people from getting to the top. What they don't realize, there is always a stairway leading to the top. It might be slower, but the difference is a stairway always work. :thumbsup:
People who got fired from twitter have to tell themselves that...
 
My first few lines of code were either:
10 PRINT “HELLO WORLD “;
20 GOTO 10
Or
FD 50
RT 90
FD 50
RT 90
FD 50
RT 90
FD 50
RT 90

Some 40+ years ago.

Try FizzBuzz next:
What language was the origional logo? Otherwise for me it was either the comodore or spectrum I think, the one where you typed your game out for a hour, played for 10 mins, it crashed and all was wiped.
 
Life goes on, a-holes find the door soon enough, even if they are the boss it doesn't matter. An a-hole by nature is self-destructive and as they grow old and insignificant, their knowledge redundant and their insight irrelevant. They have to justify their pathetic lives with trolling and trying to appear successful, strong and confidant by underhanded and honestly disgraceful altitude towards those they presume to be weak.

They are so insecure they have to attack every little thing others do. They are so insignificant that they have to twist everything to fit their narrative because they are that afraid to become nothing more than noise. They are like stink in an elevator, they try to stop people from getting to the top. What they don't realize, there is always a stairway leading to the top. It might be slower, but the difference is a stairway always work. :thumbsup:
TL;DR
 
Top
Sign up to the MyBroadband newsletter
X