[Flightgear-devel] golang

2013-07-10 Thread Pedro Morgan
Anyone interested in a
c like language..

that compiles to bits + bytes

and smelsa bit like python

This is soem code to replace c++/fgms ..

with go..

Threads do nto exist.. it go routines...

;-))

And works with ww requests and caches etc..

Its neat..
compiles in 1 second...

https://github.com/fgx/go-fgms/blob/master/fgms/fg_server.go#L156

But his is exiting stuff imho.. we can handle packets and capers without
all this huge stuff behind..


pete
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Online Map Server

2013-07-10 Thread Pedro Morgan
There is a whole heap of stuff here behind the map site...

The current one by pigeon uses google map.v2 and is olde stuff..
It even uses perl and alike to get realtime data etc.. ie every server
check etc...
so this is olde hat...  and its about time it dies...


As part of fgx team ...

with Gral as BDBL ..
and + Geoff BDBL.deputy , we were working on an Open Street Map version..
with a postgis backend and all interfaces..
- for mapnick
- html
- for json
- for export

but unfortunately gral and myself got busy with other more important stuff..

== REALTIME DATA ==
BUT BUT the real time crossfeed by geoff is alive and well at
http://crossfeed.fgx.ch/flights.json

This gives real time listener of channel with crossfeed configuration..
ie direct from UDP last packets to json
Also all the CrossSite Scripting is allowed by all atmo
This means you can call it from someothere webpage..

Maybe I dig up this stuff and at least get MP working again with Geoff
crossfeed and live..

==CDN==
Content Delivery NETWORK.. is the way we deliver bog standard images and
javascripts.. libs..
jquery and ext and jpilot and js this and that are included.. as officiall
libs..

This means that the basic stuff is all upstream..
so u can pull with confidence downstream..



AND is the most official it can get.. IE the LAtest and BEST..

The cdn is actually a git repos..
This repos includes all the files et all and is directly serveed atmo
http://cdn.fgx.ch/

So u dont want to have to include all the files on a website.. include all
the query, and this and that lib and all of them..
So the technique here is to create a

NO u want the javascript loaded from here and the other js from there
and the icons from here and my customs ones there..



The NAV data is where Gral is clever with mapnick  driving the database
import data into GIS.. and gis stuff...

and myself creating..  the web interface, mainly AJAX/REST interface to
that data..
and tried all the alternatices,, even RAW SQL
to USING Django (GIS) which failed miserably..
to
modeling tables and columns with SQlAlchemy+GIS which kinda works..

executing view and alike on server is preferred
and then cashing stuff...

Its important to not..
That the goal is to aqquire the data in an easy manner..
and even to require more that a new map site..
being a situation of creating the site
and having a div tag to embed the data...

Online is can be quite fast if we have a CDN for files and all that stuff..
Eg an almost zero requirement to create A MAP, eg for a trip..
and that data embedded as part of the application..




There is a lot involed there, eg finding the center of an airport
or airport withing range of 500nm from nothpole.. etc.

The dataset we import is xplane 10 ie not the current on FG...

The situation we were looking at is to provide a feed for all downstream,
thereby avoidiing the import problem..

This means that the map part, could be anyinterface that can create a
map, and send coordinates and speaks ajax..
Whether a mobile device, embedded js, a VA website et all...


The above is all my explanations.. without me reviewing.. their valid
parts..

Pete



On Tue, Jul 9, 2013 at 9:22 PM, Lloyd A. Stevens 
fg-sourceforge@galacticnet.com wrote:

  I have noticed that http://mpmap01.flightgear.org/ currently shows:

 This page is temporarily closed. The map server is broken and needs a
 replacement.

 ** **

 I recently set up a new Multiplayer Server(fgms) and I am also willing to
 host an Online Map Server.

 ** **

 My server is on a multi-homed backbone.  I can burst up to 100Mb/sec.

 ** **

 Someone will need to provide me with the necessary info, configs, etc.

 ** **

 ** **

 --
 This message has been scanned for viruses and
 dangerous content by *MailScanner* http://www.mailscanner.info/, and is
 believed to be clean.


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net

Re: [Flightgear-devel] Online Map Server

2013-07-10 Thread Oliver Schröder
Hi Lloyd (and others),

I have disabled the map server because there are serveral issues (as
stated by Pedro Morgan).
I'm willing to host a map server, but my java script kungfu is too
limited to write a new one. If anyone is willing to rewrite the map
server I will be happy to host it.

Regards,
Oliver

Am 09.07.2013 22:22, schrieb Lloyd A. Stevens:
 I have noticed that http://mpmap01.flightgear.org/ currently shows:
 
 This page is temporarily closed. The map server is broken and needs a
 replacement.
 
  
 
 I recently set up a new Multiplayer Server(fgms) and I am also willing to
 host an Online Map Server.
 
  
 
 My server is on a multi-homed backbone.  I can burst up to 100Mb/sec.
 
  
 
 Someone will need to provide me with the necessary info, configs, etc.
 
  
 
  
 
 
 
 
 
 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 
 
 
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] New FlightGear Multiplayer Server

2013-07-10 Thread Oliver Schröder
Hi Lloyd,

i wrote a private mail to you on monday but apprently it's lost in space ;)
So I repeat, your fgms.conf should look like:

# basic setting
server.name = mpserver02
server.port = 5000

# you can telnet to this port with this username/password
# and see statistics (nice cisco like CLI)
server.admin_port = 6002
server.admin_user = fred
server.admin_pass = fred

server.admin_enable = fred

# mpserver01 does this
server.tracked = false

# mpserver01 is hub
server.is_hub = false

# don't set this too high
server.out_of_reach = 100

# your only relay should be mpserver01
relay.host = mpserver01.flightgear.org
relay.port = 5000

# you don't need a crossfeed, it's only interresting for fgms-developers
# crossfeed.host = foo.example.com
# crossfeed.port = 5002

# you can add static entries of IPs which get blocked,
# but it's generally not needed and you can add them via
# the admin CLI
# blacklist = 123.123.123.123

And now the rest;

Am 09.07.2013 23:13, schrieb Lloyd A. Stevens:
 Thanks for adding my server.  I was only seeing local clients until I made
 the following change to my config file (I am guessing I was supposed to do
 this):
 relay.host = mpserver01.flightgear.org

fgms will ignore traffic comming from unknown relays and since the
multiplayer network is a star topology you should list only mpserver01
as your only relay. Currently mpserver01 is the only HUB,
Although multiple HUBs should work I have not tested a multi HUB
environment yet.
And for those interrested: Current traffic load on mpserver01 is around
10 MBit/s

 Should other fgms be told that I exist?  How would I notify them?

You (and all others) can reach all server admins with fgserver at
postrobot dot de
It's a pseudo mailing list and I try to keep the list of admins up to
date as good as I can.

 I also added the server to this list
 http://wiki.flightgear.org/Howto:Multiplayer#Servers
 Other places that need to updated for the new server:
 Link on above listed page shows Geographic locations of the servers are
 also available at Google
 Mapshttps://maps.google.nl/maps/ms?msid=213869436283721436186.000481c029e65
 3a30807cmsa=0ll=42.293564,38.671875spn=69.324015,173.144531

I also updated http://mpmap01.flightgear.org/mpstatus/


 http://mpmap02.flightgear.org/ server list shows my server as Hong Kong.

The very first mpserver02 was located in Hong Kong. I hope the admin of
this page (pigeon: wake up! :) reads this.

 http://mpserver15.flightgear.org/mpserverstatus/
 http://mpserver16.flightgear.org/ list shows my server as Kansas (but with
 correct IP address).
 http://flightgear.mxchange.org/mpstatus/ list shows my server as Kansas.
 Who should I contact to update these?
 Are there any other places the server needs to be updated?

The second incarnation of mpserver02 was located in Kansas. So this
information is also outdated. Unfortunatly all those links are
administerd by different people.

 Now that the server is active and appears to be working correctly should it
 be tracked? Should it act as a HUB?
From config file (my current settings):
 ##
 # Tracking server
 # set server.tracked = true to use it
 # only set this to true if the tracking server
 # admin allows it!
 server.tracked = false
 server.tracking_server = 62.112.194.20
 server.tracking_port = 8000
 ##
 # if set to true, fgms will act as a HUB server
 # a HUB server will resend packets received from
 # relays to all other relays
 # *only* set to true if you know what you are
 # doning
 server.is_hub = false

As long as you are not absolutly sure what you are doing you should:
- disable tracking
- disable HUB setting


 OLIVER,
 Thank you for updating the sources and pushing them to gitorious.  Even if
 I had access to do this I would have been unwary of doing it because I would
 hate to break a compile on linux since I have no way of testing it.
 
 I tested the new code on FreeBSD and decimal points are still missing in
 lines 107  113

I will check this tommorow. Unfortunatly I have no BSD to test. Perhaps
one day I have time to set up some virtual machines with different
operating systems ;)

Best wishes,
Oliver


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel