Dynamo

Dynamo is a open source implementation of a Graph Based Visual Programming Interface that’s being advanced by Autodesk.  It’s very similar to Grasshopper (which is pretty tightly integrated with Rhino).

I have followed below link to build Dynamo on Linux:

https://github.com/DynamoDS/Dynamo/wiki/Dynamo-on-Linux,-Mac

Here, I will discuss about my struggles and fruitful solution eventually 🙂

Initially, I was having mono version 3.2.8.0

Later, I installed 5.4.1.6 but I think changing the version won’t solve any problem. Still I did it using:

<

p class=”default prettyprint prettyprinted”>apt-key adv --keyserver pgp.mit.edu --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

echo "deb http://download.mono-project.com/repo/debian wheezy main" > /etc/apt/sources.list.d/mono-xamarin.list

apt-get update

apt-get install mono-devel

                                       ***************************************************

Now, on running:

xbuild /p:Configuration=Release src/Dynamo.Mono.sln

I faced an error:

MSBUILD: error MSBUILD0000: Project file ‘src/Dynamo.Mono.sln’ not found.

Then, I cloned the repository with x.sln file in it.

git clone  https://github.com/DynamoDS/Dynamo

You can get similar error as below mentioned if the data in Dynamo.Mono.sln file is not appropriate:

Dynamo.Mono.sln: Invalid solution configuration and platform: “Release|Any CPU”

Solution file error MSB5010: No file format header found.

Now, again on running above command, I got another error:

ShapewaysClient.cs(1,7): error CS0246: The type or namespace name ‘Newtonsoft’ could not be found (are you missing a using directive or an assembly reference?)

ShapewaysClient.cs(2,7): error CS0246: The type or namespace name ‘RestSharp’ could not be found (are you missing a using directive or an assembly reference?)  

almost 8 erros

For solving this, I tried installing NuGet Packages:

 #sudo apt install nuget

After installing Newtonsoft.Json:
 #nuget install Newtonsoft.Json

Though it didn’t solve my problem completely, but now there were 4 errors instead of 8.

I even tried installing zip file for Newtonsoft from here:  https://github.com/JamesNK/Newtonsoft.Json/releases

But nothing helped.

Also to upgrade the version of Nuget, one can use:

nuget update -self

To check the version of nuget:

nuget

Later, I tried:

mcs /reference:Newtonsoft.Json.dll /reference:RestSharp.dll ShapewaysClient.cs

to solve the error. But this was also not the one I am looking for.

Now, the working solution is:

nuget restore

After this, I compiled using mono Program.exe

I again got some errors of dependencies, it got solved after insatlling them. Still I was getting errors: https://hastebin.com/avokifahuw.pas

I have read that it’s some package issue and after few searches I get to know that:
All versions of System.Net.Http are broken on Mono because they use private API available in .NET assemblies only. To workaround that Mono has to disable loading such assemblies and use always Mono’s ones.
So, I fixed it by deleting System.Net.Http.dll from bin folder.
Now, on compiling, I was getting the result.
mono Program.exe 
2.0.0.2821

I will update the blog soon with the solution 🙂

Stay tuned 😉

 

 

 

 

Advertisements

लुधिआना का दीवाना :)

सुबह सवेरे दिन की शुरुआत होती है कसरत से ,

जाने को हैं जगह हज़ार, आइये बात करें इन फूलों से

आ चुके हैं रोज गार्डन जहाँ गाना बजाना सब कुछ है,

सेहत के साथ साथ यहाँ मन बहलाने को बहुत कुछ है ..


अब याद करलें उस रखवाले को जिसने दुनिया बनाई है,

इस धरती पर हम सबने उसके लिए सेज सजाई है..

हिन्दू, मुस्लिम, सिख, ईसाई सब यहां पे भाई हैं,

गोविन्द गोधाम“, “जामा मस्जिद“, “दुखनिवारण“, “हौली क्रॉस चर्चसबने मन में रौनक लगाई है ..


दिन ढला, शाम हुई.. अब घूमने की बारी आई है,

किप्पस मार्किट“, “पवेलियन मॉलने शहर की शोभा बढ़आई है ..

यंगस्टर्स को ख़ास करके ये जगह भाई है,

आईरीओ वाटर फ्रंट की लेक ने लुधिआना की खूबसूरती बढ़आई है ..


भूख लगी है, अब मन में खाने की इच्छा आई है,

नॅचुरल्सपर सब लोगो ने जमके भीड़ लगाई है

ढाबा, रेस्टोरेंट, बुफे हर जगह चर्चा में आई है,

पंडित के परांठेने 24 घंटे दूकान चलाई है..


इस मनोरंजक शहर का सिर्फ आधा हिस्सा इस कविता में समाया है,

पिएयुऔर रख बाघका वर्णन इसमें हो नहीं पाया है..

हार्डिस वर्ल्डऔर टाइगर सफारीने बच्चों का मन लुभाया है,

आइये जानिये खुद से इस शहर ने क्यों दीवाना बनाया है


PS: One for my home town 🙂 I love Ludhiana ❤

Please do like: https://www.facebook.com/sscsLdh/posts/1271398396339159

Get Started!

Hey my lovely readers,

I was bit occupied earlier and was not having something spicy to share with you all. Today, I get back to work again and will surely update some new and interesting things in coming days.

To embark with, I wanna share a link with you all which can help you in understanding JavaScript in a fun way. Go through this and try each task as I did and it will surely be a wonderful experience for you all if you will do justice with the work.

https://javascript30.com/

Even you can go through Hacktoberfest for getting some stickers and T-Shirt. It’s conducted in October every month.

http://hacktoberfest.digitalocean.com/

That’s all but stay tuned .. 🙂

 

New things

Today I installed java and eclipse on windows. I was getting an error while installing eclipse due to some problem with jdk setup. So, I installed a fresh jdk8. Later on, I have to set the java environment till the java/bin.

For setting java path: https://www.javatpoint.com/how-to-set-path-in-java

As a result, eclipse started working and now I want to install Remote Server Explorer (RSE).

Now, install RSE from eclipse marketplace.  Follow this blog’s video : Installation

Now, build a connection with any remote server.

Besides, I encountered a new site for brushing up the basics of HTML and CSS. I really found it interesting and more informative.

http://learnlayout.com/

https://learn.shayhowe.com/

Apart from this I get to know about two different chat platforms for teams: Flock and HipChat.

https://flock.com/in/

https://www.atlassian.com/software/hipchat

 

 

Mother

God has sent his present,

with chubby and soft cheeks .. 😀

The lady is now a mother,

Her happiness has reached the peak .. ❤


First time the child uttered,

Though, wasn’t that quick ..

Those initials he pronounced,

Has set her expressions sleek (bright) .. 🙂


The time he gets low,

Whenever he felt weak .. 😦

Mother is the solely,

Motivation behind the seek (effort to accomplish something) .. 🙂


Whenever her goes wrong,

Protecting him from the geek ..

Only Mother is the one,

always having a peek (secret look) ..<3

PS: Another Try ❤

Happiness

A person reached the moon, 😮

Another one on Ground….

A happy moment is,

When your friends are around…. 😉


One loves being Cherished,

No one like to be bound…. :/

My happy place is the one,

Where my F.R.I.E.N.D.S are surround 😀


Looking for Safer places,

Wanna hear familiar sound….

Being with my Friends & Family,

My happiness is found 🙂


The Feeling is beyond heaven,  🙂

It can heal any wound….

Blessed with a loving family,

I am always a princess crowned….  ❤


P.S: Poetic Love ^_^

 

 

Enhancing Skills

Hello everyone.

In the blog post, I will be delivering my day to day experience regarding technical stuff. In my previous post, I have discussed about Rocket Chat which got implemented today.

3.PNG

Here are few screenshots, I would like to share.

2

Besides this, I will annotate about the errors I encountered while attempting this task.

My system’s dpkg was interupted, so I have to run:

sudo dpkg --configure -a

But, I was facing another problem:

dpkg: error: parsing file ‘/var/lib/dpkg/updates/0045’ near line 0: newline in fieldname `#padding’

Solution:

cd /var/lib/dpkg/updates && sudo rm -rf 0045

1

Afterwards, I got to know about a new thing that is Google App Engine. One can follow this to run a basic Java Application: Guestbook

Apart from this, one of the best page for understanding GAE’s datastore: https://github.com/objectify/objectify/wiki/Concepts

I will be discussing about the key areas where I got stuck:

You need to have Maven version 3.5, I was having 3.1.1 which got me in trouble. Later, I was with 3.3.x which made things set straight.

Install Maven 3.3.9

But still, 3.5 is advisable.

Also, one of the other dependency is JDK.

<

p class=”lang-java prettyprint prettyprinted”>sudo add-apt-repository ppa:webupd8team/java -y

sudo apt-get update

sudo apt-get install oracle-java8-installer

Now you don’t need to bother about Dependencies, let Maven do it’s job.

What is Maven?  Maven addresses two aspects of building software: first, it describes how software is built, and second, it describes its dependencies. It is a build automation tool used primarily for Java projects.

In Yiddish, the word maven means “accumulator of knowledge” 🙂

Though, Maven creates it own new VM. Hence, for accessing it on remote browser. You need to do some changes in pom.xml file. Just add:

<address>0.0.0.0</address>
<port>8080</port>

A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details used by Maven to build the project. It contains default values for most projects.

f

Now, you can see your work on http://Ip_Address:8080

gg

I also get acquainted about Java Servlets and JSP. Give a look: http://met.guc.edu.eg/OnlineTutorials/JSP%20-%20Servlets/A%20servlet%20example.aspx