RE: out of memory..urgent

2013-09-10 Thread anthonyatsmallbiz
Thanks people..going through all these options...let hope it fixes it...i'll
keep you informed..

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
On Behalf Of Greg Keogh
Sent: Tuesday, 10 September 2013 2:48 PM
To: ozDotNet
Subject: Re: out of memory..urgent

 

This is the utf8 validation I was thinking of -- Greg

 

http://msdn.microsoft.com/en-us/library/302sbf78.aspx

 

On 10 September 2013 14:00, osjasonrobe...@gmail.com wrote:

Not sure if it's of use in this case but you can use char.GetUnicodeCategory
to check validity of a Unicode character

 

var validCharacter = 'q';

var ucCategory = char.GetUnicodeCategory(validCharacter);

var isValidUnicode = ucCategory != UnicodeCategory.OtherNotAssigned;  

 

 

var invalidCharacter = (char) 888;

ucCategory = char.GetUnicodeCategory(invalidCharacter);

isValidUnicode = ucCategory != UnicodeCategory.OtherNotAssigned;

 

Jason Roberts
Journeyman Software Developer

Twitter: @robertsjason
Blog: http://DontCodeTired.com
Pluralsight Courses: http://bit.ly/psjasonroberts

 

From: Greg Keogh
Sent: Tuesday, 10 September 2013 11:36 AM
To: ozDotNet

 

Does the byte[] actually represent a valid utf-8 string? There are ways of
validating, but I can't remember off the top of my head. You can also code
Encoding.UTF8.Getstring() as there is a static member for convenience --
Greg

 

On 10 September 2013 13:04, anthonyatsmall...@mail.com wrote:

Getting out of memory exception when I try to

 

Dim s as string

Dim b() as Byte

 

s=System.Text.Encoding.GetEncoding(utf-8).GetString(b) 

 

Definitely something about the length of b..works fine most of the time
except if b length is very large

 

Anthony

Melbourne StuffUps.learn from others, share with others!

http://www.meetup.com/Melbourne-Ideas-Incubator-Stuffups-Failed-Startups/



--
NOTICE : The information contained in this electronic mail message is
privileged and confidential, and is intended only for use of the addressee.
If you are not the intended recipient, you are hereby notified that any
disclosure, reproduction, distribution or other use of this communication is
strictly prohibited. 
If you have received this communication in error, please notify the sender
by reply transmission and delete the message without copying or disclosing
it. (*13POrtC*)

--- 

 

 

 



TCP Messages to Server

2013-09-10 Thread Paul Evrat
Hi All,

 

I want to receive raw TCP messages from an industrial device (that has an
in-built modem) at a shared web hosting service, is this possible?

 

The modem requires an IP address and port number to send the messages to.

 

I have received TCP messages before on a PC connected to the internet using
TcpListener(My Static IP, port number)  by opening that port number on the
router but can it be done with a hosting service (pref shared hosting)
instead?

 

I imagine an IP would be necessary to attach to the hosting address but
would this work given the Listener must address a port number?

 

If not on shared hosting would a VPS do this?  (Haven't used one before.)

 

Any pointers greatly appreciated.

 

Regards .. Paul ..

 

 

 



Re: TCP Messages to Server

2013-09-10 Thread David Connors
Not possible on a shared web hosting service as I doubt they'll permit you
to run any sort of service and may be locked down a lot further depending
on how switched on the provider is.

VPS will do it no dramas. You'll need to write some sort of service to bind
to an external IP and port. Piece of piss and heaps of code around to start
from.

David.

David Connors
da...@connors.com | M +61 417 189 363
Download my v-card: https://www.codify.com/cards/davidconnors
Follow me on Twitter: https://www.twitter.com/davidconnors
Connect with me on LinkedIn: http://au.linkedin.com/in/davidjohnconnors


On Tue, Sep 10, 2013 at 6:23 PM, Paul Evrat p...@paulevrat.com wrote:

 Hi All,

 ** **

 I want to receive raw TCP messages from an industrial device (that has an
 in-built modem) at a *shared* web hosting service, is this possible?

 ** **

 The modem requires an IP address and port number to send the messages to.*
 ***

 ** **

 I have received TCP messages before on a PC connected to the internet
 using TcpListener(My Static IP, port number)  by opening that port number
 on the router but can it be done with a hosting service (pref shared
 hosting) instead?

 ** **

 I imagine an IP would be necessary to attach to the hosting address but
 would this work given the Listener must address a port number?

 ** **

 If not on shared hosting would a VPS do this?  (Haven’t used one before.)*
 ***

 ** **

 Any pointers greatly appreciated.

 ** **

 Regards .. Paul ..

 ** **

 

 ** **

 ** **



RE: TCP Messages to Server

2013-09-10 Thread anthonyatsmallbiz
You probably could if you use assumed port 80and got your modem to send a 
simulated page get with the headers

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Connors
Sent: Tuesday, 10 September 2013 6:31 PM
To: ozDotNet
Subject: Re: TCP Messages to Server

 

Not possible on a shared web hosting service as I doubt they'll permit you to 
run any sort of service and may be locked down a lot further depending on how 
switched on the provider is. 

 

VPS will do it no dramas. You'll need to write some sort of service to bind to 
an external IP and port. Piece of piss and heaps of code around to start from. 

 

David. 




David Connors
 mailto:da...@connors.com da...@connors.com | M +61 417 189 363
Download my v-card: https://www.codify.com/cards/davidconnors
Follow me on Twitter: https://www.twitter.com/davidconnors
Connect with me on LinkedIn: http://au.linkedin.com/in/davidjohnconnors

 

On Tue, Sep 10, 2013 at 6:23 PM, Paul Evrat p...@paulevrat.com wrote:

Hi All,

 

I want to receive raw TCP messages from an industrial device (that has an 
in-built modem) at a shared web hosting service, is this possible?

 

The modem requires an IP address and port number to send the messages to.

 

I have received TCP messages before on a PC connected to the internet using 
TcpListener(My Static IP, port number)  by opening that port number on the 
router but can it be done with a hosting service (pref shared hosting) instead?

 

I imagine an IP would be necessary to attach to the hosting address but would 
this work given the Listener must address a port number?

 

If not on shared hosting would a VPS do this?  (Haven’t used one before.)

 

Any pointers greatly appreciated.

 

Regards .. Paul ..

 

 

 

 



RE: TCP Messages to Server

2013-09-10 Thread Paul Evrat
Actually if I could turn it into a http request with a query string that would 
make the web code simple. Is it just a matter of having http headers?

 

The modem data does attached to a web site. Hosting terms seem to allow a 
service as long as it integral to the site, which it is.

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of anthonyatsmall...@mail.com
Sent: Tuesday, 10 September 2013 7:20 PM
To: 'ozDotNet'
Subject: RE: TCP Messages to Server

 

You probably could if you use assumed port 80and got your modem to send a 
simulated page get with the headers

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Connors
Sent: Tuesday, 10 September 2013 6:31 PM
To: ozDotNet
Subject: Re: TCP Messages to Server

 

Not possible on a shared web hosting service as I doubt they'll permit you to 
run any sort of service and may be locked down a lot further depending on how 
switched on the provider is. 

 

VPS will do it no dramas. You'll need to write some sort of service to bind to 
an external IP and port. Piece of piss and heaps of code around to start from. 

 

David. 




David Connors
 mailto:da...@connors.com da...@connors.com | M +61 417 189 363
Download my v-card: https://www.codify.com/cards/davidconnors
Follow me on Twitter: https://www.twitter.com/davidconnors
Connect with me on LinkedIn: http://au.linkedin.com/in/davidjohnconnors

 

On Tue, Sep 10, 2013 at 6:23 PM, Paul Evrat p...@paulevrat.com wrote:

Hi All,

 

I want to receive raw TCP messages from an industrial device (that has an 
in-built modem) at a shared web hosting service, is this possible?

 

The modem requires an IP address and port number to send the messages to.

 

I have received TCP messages before on a PC connected to the internet using 
TcpListener(My Static IP, port number)  by opening that port number on the 
router but can it be done with a hosting service (pref shared hosting) instead?

 

I imagine an IP would be necessary to attach to the hosting address but would 
this work given the Listener must address a port number?

 

If not on shared hosting would a VPS do this?  (Haven’t used one before.)

 

Any pointers greatly appreciated.

 

Regards .. Paul ..

 

 

 

 

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3392 / Virus Database: 3222/6651 - Release Date: 09/09/13



RE: TCP Messages to Server

2013-09-10 Thread anthonyatsmallbiz
Yes it is..use firebug or jsfiddler to get a standard template(with headers) 
you could use.

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Paul Evrat
Sent: Tuesday, 10 September 2013 7:29 PM
To: 'ozDotNet'
Subject: RE: TCP Messages to Server

 

Actually if I could turn it into a http request with a query string that would 
make the web code simple. Is it just a matter of having http headers?

 

The modem data does attached to a web site. Hosting terms seem to allow a 
service as long as it integral to the site, which it is.

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of anthonyatsmall...@mail.com
Sent: Tuesday, 10 September 2013 7:20 PM
To: 'ozDotNet'
Subject: RE: TCP Messages to Server

 

You probably could if you use assumed port 80and got your modem to send a 
simulated page get with the headers

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Connors
Sent: Tuesday, 10 September 2013 6:31 PM
To: ozDotNet
Subject: Re: TCP Messages to Server

 

Not possible on a shared web hosting service as I doubt they'll permit you to 
run any sort of service and may be locked down a lot further depending on how 
switched on the provider is. 

 

VPS will do it no dramas. You'll need to write some sort of service to bind to 
an external IP and port. Piece of piss and heaps of code around to start from. 

 

David. 




David Connors
 mailto:da...@connors.com da...@connors.com | M +61 417 189 363
Download my v-card: https://www.codify.com/cards/davidconnors
Follow me on Twitter: https://www.twitter.com/davidconnors
Connect with me on LinkedIn: http://au.linkedin.com/in/davidjohnconnors

 

On Tue, Sep 10, 2013 at 6:23 PM, Paul Evrat p...@paulevrat.com wrote:

Hi All,

 

I want to receive raw TCP messages from an industrial device (that has an 
in-built modem) at a shared web hosting service, is this possible?

 

The modem requires an IP address and port number to send the messages to.

 

I have received TCP messages before on a PC connected to the internet using 
TcpListener(My Static IP, port number)  by opening that port number on the 
router but can it be done with a hosting service (pref shared hosting) instead?

 

I imagine an IP would be necessary to attach to the hosting address but would 
this work given the Listener must address a port number?

 

If not on shared hosting would a VPS do this?  (Haven’t used one before.)

 

Any pointers greatly appreciated.

 

Regards .. Paul ..

 

 

 

 

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3392 / Virus Database: 3222/6651 - Release Date: 09/09/13



Re: Process.Start Stuck

2013-09-10 Thread Wallace Turner
dust off windbg, or open dump in vs2010 if .net4 to see what that thread is
doing.


On Mon, Sep 9, 2013 at 9:33 AM, Corneliu I. Tusnea
corne...@acorns.com.auwrote:

 Existing Logging left and right of the Process.Start :)


 On Sun, Sep 8, 2013 at 10:31 PM, Wallace Turner 
 wallace.tur...@gmail.comwrote:

  this stopped working and the Process.Start call blocks without ever
 returning.

 how did you verify this?


 On Sun, Sep 8, 2013 at 4:27 PM, Corneliu I. Tusnea 
 corne...@acorns.com.au wrote:

 No, the process never starts. We did a new release from another PC
 (which we expect to be identical) and the process does not get stuck and
 everything works as expected. doh :(


 On Sun, Sep 8, 2013 at 9:25 AM, Wallace Turner wallace.tur...@gmail.com
  wrote:

 is the process you're starting still running ie can u see it in task
 manager


 On Sat, Sep 7, 2013 at 4:59 PM, Corneliu I. Tusnea 
 corne...@acorns.com.au wrote:

 Hi,

 I have a website that is running some background tasks as separate
 executables with Process.Start.
 This has been working like this for a long time. However recently on
 one of the servers this stopped working and the Process.Start call blocks
 without ever returning.
 There is no exception there is nothing in the event logs.
 The user running the app pool has rights to the folder and can execute
 the process correctly (i tried this with Run As on behalf of the app pool
 user and it works).

 Thoughts? I really didn't feel like doing some production debugging on
 Saturday night ... so maybe someone has a brilliant idea.

 Regarding code, it's just the most basic Process.Start possible:
 var processStartInfo = new ProcessStartInfo(Executable, arguments)
 {
 CreateNoWindow = true,
  WorkingDirectory = Folder,
 UseShellExecute = true,
 };

 var process = new Process
 {
 StartInfo = processStartInfo,
 EnableRaisingEvents = true
  };
 process.Exited += process_Exited;
 process.Start();

 Thanks,
 Corneliu.








Fwd: Mocking up a designer surface

2013-09-10 Thread Greg Keogh
To: Stephen Price step...@perthprojects.com

 Seriously dude, I'd be dropping Silverlight as fast as Microsoft did.
 Silverlight was great. I was one of it's biggest supporters and I'm still
 gobsmacked at how hard Microsoft have dropped it. but it's time to move on.
 No point in flogging a dead horse, as they say.


Jeezuz! I know this topic has been floating around for a while now, but
even I'm getting scared. After everything that's been said on this, the big
practical question remains: how the hell does someone write a graphics
intensive application that must be delivered over the web? Hints in here
recently indicate that HTML5 just can't give the performance and richness,
and I detest the idea of pushing controls and visuals around a screen using
compressed JavaScript as the code-behind fake assembly language. That's not
progress, it's a some kind of mad directionless mash-up.

Are we in a dead end? We're about to launch a big product upgrade, still
using Silverlight. We have had serious queries about mini versions of the
app on tablets and phones (thread a couple of months ago), but despite that
we have to keep the main desktop app going in the browser. What on earth is
a viable alternative?!? WHAT?

Can anyone convince me that Silverlight still has at least a few viable
years left?

Greg K


Re: Mocking up a designer surface

2013-09-10 Thread Greg Harris
Hi Greg,

At this point I am working on a new app, it will have an HTML web site for
basic stuff and a downloadable win forms app for the intensive stuff, I
would much rather do it with SL but MS has so upset the SL story that it is
just not going to happen!

Regards
Greg H


On Tue, Sep 10, 2013 at 9:36 PM, Greg Keogh g...@mira.net wrote:


 To: Stephen Price step...@perthprojects.com

 Seriously dude, I'd be dropping Silverlight as fast as Microsoft did.
 Silverlight was great. I was one of it's biggest supporters and I'm still
 gobsmacked at how hard Microsoft have dropped it. but it's time to move on.
 No point in flogging a dead horse, as they say.


 Jeezuz! I know this topic has been floating around for a while now, but
 even I'm getting scared. After everything that's been said on this, the big
 practical question remains: how the hell does someone write a graphics
 intensive application that must be delivered over the web? Hints in here
 recently indicate that HTML5 just can't give the performance and richness,
 and I detest the idea of pushing controls and visuals around a screen using
 compressed JavaScript as the code-behind fake assembly language. That's not
 progress, it's a some kind of mad directionless mash-up.

 Are we in a dead end? We're about to launch a big product upgrade, still
 using Silverlight. We have had serious queries about mini versions of the
 app on tablets and phones (thread a couple of months ago), but despite that
 we have to keep the main desktop app going in the browser. What on earth is
 a viable alternative?!? WHAT?

 Can anyone convince me that Silverlight still has at least a few viable
 years left?

 Greg K



Re: Mocking up a designer surface

2013-09-10 Thread Greg Keogh

 At this point I am working on a new app, it will have an HTML web site for
 basic stuff and a downloadable win forms app for the intensive stuff, I
 would much rather do it with SL but MS has so upset the SL story that it is
 just not going to happen!


Oh boy, another scary response. Will the html basic stuff have any kind
of rich interaction? Also, you really mean WinForms and not WPF?

Greg (K)


Re: Mocking up a designer surface

2013-09-10 Thread Greg Harris
Hi Greg,

Basic HTML will be simple CRUD table maintenance and reports.
Rich interaction, not in the initial plan.

Winforms - Yes at this stage that is what I am thinking, the app needs to
do some extensive custom graphics which at this stage I intend to build up
with GDI+ as it is what I have used before, but I am open to suggestions.

I may go with WPF but that is not the way I am thinking just now. As the
client wants to keep it cheap and fast.

I like to look at job trends to see where the industry is going and
WPF/Silverlight has not been happy for 2 years:
http://www.indeed.com/jobtrends?q=wpf%2Csilverlightl=silverlight

Regards
Greg (H)


On Tue, Sep 10, 2013 at 11:17 PM, Greg Keogh g...@mira.net wrote:

 At this point I am working on a new app, it will have an HTML web site for
 basic stuff and a downloadable win forms app for the intensive stuff, I
 would much rather do it with SL but MS has so upset the SL story that it is
 just not going to happen!


 Oh boy, another scary response. Will the html basic stuff have any kind
 of rich interaction? Also, you really mean WinForms and not WPF?

 Greg (K)



RE: out of memory..urgent

2013-09-10 Thread David Kean
Memory isn't unlimited. Basically, when you convert from a byte array - 
string, you have two copies of the same data (one for the byte array and one 
for the string) in memory.

What exactly are you doing? You are typically better off chunking and reading 
smaller amounts of data at a time. Use something like a StreamWriter over a 
stream to automatically handles the byte - text conversion.

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of anthonyatsmall...@mail.com
Sent: Monday, September 9, 2013 8:05 PM
To: ozDotNet
Subject: out of memory..urgent

Getting out of memory exception when I try to

Dim s as string
Dim b() as Byte

s=System.Text.Encoding.GetEncoding(utf-8).GetString(b)

Definitely something about the length of b..works fine most of the time except 
if b length is very large

Anthony
Melbourne StuffUps...learn from others, share with others!
http://www.meetup.com/Melbourne-Ideas-Incubator-Stuffups-Failed-Startups/

--
NOTICE : The information contained in this electronic mail message is 
privileged and confidential, and is intended only for use of the addressee. If 
you are not the intended recipient, you are hereby notified that any 
disclosure, reproduction, distribution or other use of this communication is 
strictly prohibited.
If you have received this communication in error, please notify the sender by 
reply transmission and delete the message without copying or disclosing it. 
(*13POrtC*)
---



Re: Process.Start Stuck

2013-09-10 Thread Corneliu I. Tusnea
It was Saturday night mate .. I was dusting off some beers and dumping some
pizza down my throat.
The I'll pass it to another team member and let them re-build it worked
better :)


On Tue, Sep 10, 2013 at 8:17 PM, Wallace Turner wallace.tur...@gmail.comwrote:

 dust off windbg, or open dump in vs2010 if .net4 to see what that thread
 is doing.


 On Mon, Sep 9, 2013 at 9:33 AM, Corneliu I. Tusnea corne...@acorns.com.au
  wrote:

 Existing Logging left and right of the Process.Start :)


 On Sun, Sep 8, 2013 at 10:31 PM, Wallace Turner wallace.tur...@gmail.com
  wrote:

  this stopped working and the Process.Start call blocks without ever
 returning.

 how did you verify this?


 On Sun, Sep 8, 2013 at 4:27 PM, Corneliu I. Tusnea 
 corne...@acorns.com.au wrote:

 No, the process never starts. We did a new release from another PC
 (which we expect to be identical) and the process does not get stuck and
 everything works as expected. doh :(


 On Sun, Sep 8, 2013 at 9:25 AM, Wallace Turner 
 wallace.tur...@gmail.com wrote:

 is the process you're starting still running ie can u see it in task
 manager


 On Sat, Sep 7, 2013 at 4:59 PM, Corneliu I. Tusnea 
 corne...@acorns.com.au wrote:

 Hi,

 I have a website that is running some background tasks as separate
 executables with Process.Start.
 This has been working like this for a long time. However recently on
 one of the servers this stopped working and the Process.Start call blocks
 without ever returning.
 There is no exception there is nothing in the event logs.
 The user running the app pool has rights to the folder and can
 execute the process correctly (i tried this with Run As on behalf of the
 app pool user and it works).

 Thoughts? I really didn't feel like doing some production debugging
 on Saturday night ... so maybe someone has a brilliant idea.

 Regarding code, it's just the most basic Process.Start possible:
 var processStartInfo = new ProcessStartInfo(Executable, arguments)
 {
 CreateNoWindow = true,
  WorkingDirectory = Folder,
 UseShellExecute = true,
 };

 var process = new Process
 {
 StartInfo = processStartInfo,
 EnableRaisingEvents = true
  };
 process.Exited += process_Exited;
 process.Start();

 Thanks,
 Corneliu.









Re: Mocking up a designer surface

2013-09-10 Thread Greg Keogh
Greg (H), sometime earlier this year I finally reached a point where I can
create a WPF app at roughly the same speed as a WinForms app. It took years
to find the right patterns, use command routing wisely, overcome the
countless quirks, and finally become proficient at coding UIs in XAML by
hand. I have loads of pre-baked WPF code now to help me write new apps
faster. I have found that WPF is only superior if you need a really rich
UI with elastic layout, shading, opacity, resizing and animations.
Otherwise, WinForms are robust and familiar, the designer is fabulous and
the DataGridView control is a dream compared to the tangled nightmare of
the WPF DataGrid -- Greg (K)


On 11 September 2013 00:51, Greg Harris g...@harrisconsultinggroup.comwrote:

 Hi Greg,

 Basic HTML will be simple CRUD table maintenance and reports.
 Rich interaction, not in the initial plan.

 Winforms - Yes at this stage that is what I am thinking, the app needs to
 do some extensive custom graphics which at this stage I intend to build up
 with GDI+ as it is what I have used before, but I am open to suggestions.

 I may go with WPF but that is not the way I am thinking just now. As the
 client wants to keep it cheap and fast.

 I like to look at job trends to see where the industry is going and
 WPF/Silverlight has not been happy for 2 years:
 http://www.indeed.com/jobtrends?q=wpf%2Csilverlightl=silverlight

 Regards
 Greg (H)


 On Tue, Sep 10, 2013 at 11:17 PM, Greg Keogh g...@mira.net wrote:

  At this point I am working on a new app, it will have an HTML web site
 for basic stuff and a downloadable win forms app for the intensive stuff, I
 would much rather do it with SL but MS has so upset the SL story that it is
 just not going to happen!


 Oh boy, another scary response. Will the html basic stuff have any kind
 of rich interaction? Also, you really mean WinForms and not WPF?

 Greg (K)





Re: Mocking up a designer surface

2013-09-10 Thread Sam Lai
I think you'll be surprised how far HTML5 has come along. Between the
canvas tag, SVG and WebGL, I struggle to think what your
graphics-intensive app may do that those technologies can't do
effectively. They've all been supported by Chrome, Firefox, Opera and
Safari for many versions now, and all largely supported in IE9+ except
WebGL which is coming in IE11.

Some links -
http://www.chromeexperiments.com/
http://ie.microsoft.com/testdrive/
http://www.chartjs.org/

On 11 September 2013 09:04, Greg Keogh g...@mira.net wrote:
 Greg (H), sometime earlier this year I finally reached a point where I can
 create a WPF app at roughly the same speed as a WinForms app. It took years
 to find the right patterns, use command routing wisely, overcome the
 countless quirks, and finally become proficient at coding UIs in XAML by
 hand. I have loads of pre-baked WPF code now to help me write new apps
 faster. I have found that WPF is only superior if you need a really rich
 UI with elastic layout, shading, opacity, resizing and animations.
 Otherwise, WinForms are robust and familiar, the designer is fabulous and
 the DataGridView control is a dream compared to the tangled nightmare of the
 WPF DataGrid -- Greg (K)


 On 11 September 2013 00:51, Greg Harris g...@harrisconsultinggroup.com
 wrote:

 Hi Greg,

 Basic HTML will be simple CRUD table maintenance and reports.
 Rich interaction, not in the initial plan.

 Winforms - Yes at this stage that is what I am thinking, the app needs to
 do some extensive custom graphics which at this stage I intend to build up
 with GDI+ as it is what I have used before, but I am open to suggestions.

 I may go with WPF but that is not the way I am thinking just now. As the
 client wants to keep it cheap and fast.

 I like to look at job trends to see where the industry is going and
 WPF/Silverlight has not been happy for 2 years:
 http://www.indeed.com/jobtrends?q=wpf%2Csilverlightl=silverlight

 Regards
 Greg (H)


 On Tue, Sep 10, 2013 at 11:17 PM, Greg Keogh g...@mira.net wrote:

 At this point I am working on a new app, it will have an HTML web site
 for basic stuff and a downloadable win forms app for the intensive stuff, I
 would much rather do it with SL but MS has so upset the SL story that it is
 just not going to happen!


 Oh boy, another scary response. Will the html basic stuff have any kind
 of rich interaction? Also, you really mean WinForms and not WPF?

 Greg (K)





Re: Mocking up a designer surface

2013-09-10 Thread Scott Barnes
Yeah the canvas tag has taken everything you get inside XAML and moved two
steps backwards and if you really formulate enough discipline and pain you
get to play the game of I'm thinking of an animation framework, it has a
vowel in it and hopefully all of your team can learn and write code at the
same time with the pressure of delivery

I'm still using Silverlight/WPF today with new projects and i keep telling
people that as long as Windows XP - Windows 8 exists there is no real
issue at hand other than you won't get a new feature added to the product.

I will say this when we were pushing out Silverlight 4 out the door it was
at that point we were struggling to come up with features that you needed
vs we could do to make the world better. In that the core of Silverlight
was pretty much baked and it was really down to making features that did
things differently, whereby what else can we do to encroach on WPF/WinForms
tightly held territory. So you really aren't getting much in the way of
new even if Silverlight was still pumping out features today, it would
have likely centred around 3D / GPU specifics and probably would have
shifted gear from being a 9month release cycle back to say an 18month one
with all of the other product(s).

We could argue that we needed to clean house with Silverlight whereby
optimise / bug fix ensure WPF and Silverlight reach feature parity in terms
of execution with one another but you have that today with Windows 8 as
that's actually Silverlight 7 in a way... its realistically teh answer you
wanted but not ready to move into (Windows 8 is like those ghost cities in
China, its all built and has stuff ready to build out a society with ...but
people just aren't moving in yet).

I think it's a two part problem firstly some of you guys drip feed off
Microsoft way to much to the point where you're not thinking for yourselves
at times ( Java etc community often give two sh***ts what Oracle/Sun were
doing if they saw something they like they'd adopt but it was never a race
to rise with their tide - Microsoft its always the same, its a conditioned
response that often made us Product Managers giggle at how easy it was to
manipulate you :D).

If you write code today using a variety of techniques you can easily make
applications work with WPF/Silverlight and even Windows 8 (XAML is a
re-usable specification) and you can also bring that into other solutions
like Mono/Unity3D ..all the pieces are there but for some unless Visual
Studio has the option in the menu bar folks just go ahh f**k that, to
hard*..

The whole Silverlight vs HTML5/JS bullsh*t is really the wrong argument at
play and it's been filled with a lot of redudant arguments around future
proofing or protecting IP. For instance majority of code written today is
disposable code and is unlikely to be supported post a 5-yr timeframe
before someone turns and goes File -- New especially given how fluid and
volatile the device market is shaping up to becoming (mixed with indecision
from brands like Adobe, Microsoft, Google, Apple etc).

Secondly when you get to he heart of the discussion the ask is I want
breadth deployment but with depth features and often HTML5 becomes this
position you retreat back to because it seems to tick off all the breadth
checklists and hints at some of the depth - but nevery really follows
through on the promise. It also on paper tells the story about developer
adoption (resource allocation and costs) meaning you can hire any graduate
today to write HTML/JS/CSS code (i use that word with contempt) because
its a lazy concept that doesn't require a lot of mental muscle around OOP
or Tooling know how. You will however watch your development allocation
get bogged into stupid scenarios like why won't this f**king div tag
centre which is then followed by some smart ass
list-apart-clone-of-the-Web2.0 hipster crowd given you a lecture on why CSS
rox and you just don't understand its subtle forms of chromosome
deficiencies ...

If you manage to retain your human capital past that point you then get
into the space of who's framework has the biggest d***k posturing in
around trying to get all your developer base to ride with your JS selection
tide (which they'll likely beg and plea for a concept like ECMA6+ -
TypeScript way of doing things because then they aren't arguing over the
merits of Prototype vs Class. Assuming you can retain discipline in the
ranks (which all research from 2007-2009 on the word AJAX points to yeah
this shit is broken, you can execute but its code you never want to open up
again past shipping) you then still have to come up with some way to
emulate what you'd typically expect to see in Native Experiences like
Touch or Windows moving around in Z space - sure you have zIndex and
sure you can do drag and drop but oh yeah you can't do data packet / socket
without having to go through some hacky JSON form of retardation or react
until AFTER (not during) the data comes into place... hence why most 

Telstra Cable 3.0

2013-09-10 Thread GregAtGregLowDotCom
Hi Folks,

 

Have any of you changed to using the cable 3.0 product from Telstra?

 

We get about 30 meg download speed on our cable now but it claims to
potentially make it a lot quicker. It used to not be available in our area.
When I logged onto the bigpond site the other day, it said it was now
available and gave me a phone number to call.

 

True to form, the number that Telstra linked to was answered by someone that
had no clue at all about the product. 40 minutes later she still couldn't
answer:

 

* It is available?

* How fast is it?

* What does it cost?

 

Those didn't seem like rocket science but she couldn't answer them. 

 

Today I've had a call from another guy that tells me that the only way you
can actually get the faster service is to change the business accounts
across to being residential accounts, as the business accounts are still on
their legacy billing system where the residential accounts are on their
Siebel system. Apparently, only residential customers can get the faster
speeds, not business customers. Again, he couldn't explain how that made any
sense or why it was that way, except that the product was only available
on the new billing system.

 

I really wish these clowns had some serious competition.

 

But has anyone made the move? I'd like to hear how you found it.

 

Regards,

 

Greg

 

Dr Greg Low

CEO and Principal Mentor

SQL Down Under

SQL Server MVP and Microsoft Regional Director

1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax


Web:  http://www.sqldownunder.com/ www.sqldownunder.com

 

 



Re: Telstra Cable 3.0

2013-09-10 Thread David Connors
On Wed, Sep 11, 2013 at 12:48 PM, GregAtGregLowDotCom g...@greglow.comwrote:

 Have any of you changed to using the cable 3.0 product from Telstra?

 **


[ ... ]


  **But has anyone made the move? I’d like to hear how you found it.


I know a number of people on Telstra's DOCSIS 3.0 product and it does
indeed do as it says on the tin. 100mbps, very low latency, and priced
keenly.

David.


RE: Telstra Cable 3.0

2013-09-10 Thread GregAtGregLowDotCom
Hi David,

 

Any thoughts on why they’d say it can only be a residential account, not a 
business account?

 

Regards,

 

Greg

 

Dr Greg Low

 

1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax 

SQL Down Under | Web:  http://www.sqldownunder.com/ www.sqldownunder.com

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Connors
Sent: Wednesday, 11 September 2013 1:19 PM
To: ozDotNet
Subject: Re: Telstra Cable 3.0

 

On Wed, Sep 11, 2013 at 12:48 PM, GregAtGregLowDotCom g...@greglow.com 
mailto:g...@greglow.com  wrote:

Have any of you changed to using the cable 3.0 product from Telstra?

 

[ ... ]

 

 But has anyone made the move? I’d like to hear how you found it.

 

I know a number of people on Telstra's DOCSIS 3.0 product and it does indeed do 
as it says on the tin. 100mbps, very low latency, and priced keenly. 

 

David. 



Re: Telstra Cable 3.0

2013-09-10 Thread David Connors
On Wed, Sep 11, 2013 at 1:42 PM, David Connors da...@connors.com wrote:

 On Wed, Sep 11, 2013 at 1:24 PM, GregAtGregLowDotCom g...@greglow.comwrote:

 Any thoughts on why they’d say it can only be a residential account, not
 a business account?


 Yes, it is just market segmentation so they don't cannibalise their EAS,
 Ethernet Line, etc products.

 The BigPond product probably has traffic policing on it and so on as it is
 resi-grade IP transit - but you probably won't care unless isohunt.com is
 your core business. Support on the cable service will probably be pretty
 shit  offshore, not like calling Telstra Internet Direct.


BTW; I've tried to convince them to install a DOCSIS service at our offices
before with no luck. I just thought though - I wonder if you could order
Foxtel business, then just get them to post you out a modem and activate
the BigPond IP service over that?

The issue I had was that I would have been found out during the on-site
installation when they had to pull coax up from the MDF. :)

David.


RE: Telstra Cable 3.0

2013-09-10 Thread GregAtGregLowDotCom
I got the suggestion from a few people to speak to the LiveChat people as they 
are based out of Australia, unlike the phone people, and that they generally 
seem to have a clue.
 
I spoke to Justin who told me that he’d never seen customers using cable 
services for business. He thought only ADSL was for business sigh
 
I suspect it might be Optus time, as a number of people seem happy with their 
DOCSIS 3 system.
 
Regards,
 
Greg
 
Dr Greg Low
 
1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax 
SQL Down Under | Web:  http://www.sqldownunder.com/ www.sqldownunder.com
 
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Connors
Sent: Wednesday, 11 September 2013 1:47 PM
To: ozDotNet
Subject: Re: Telstra Cable 3.0
 
On Wed, Sep 11, 2013 at 1:42 PM, David Connors  mailto:da...@connors.com 
da...@connors.com wrote:
On Wed, Sep 11, 2013 at 1:24 PM, GregAtGregLowDotCom  
mailto:g...@greglow.com g...@greglow.com wrote:
Any thoughts on why they’d say it can only be a residential account, not a 
business account?
 
Yes, it is just market segmentation so they don't cannibalise their EAS, 
Ethernet Line, etc products. 
 
The BigPond product probably has traffic policing on it and so on as it is 
resi-grade IP transit - but you probably won't care unless  
http://isohunt.com isohunt.com is your core business. Support on the cable 
service will probably be pretty shit  offshore, not like calling Telstra 
Internet Direct. 
 
BTW; I've tried to convince them to install a DOCSIS service at our offices 
before with no luck. I just thought though - I wonder if you could order Foxtel 
business, then just get them to post you out a modem and activate the BigPond 
IP service over that? 
 
The issue I had was that I would have been found out during the on-site 
installation when they had to pull coax up from the MDF. :) 
 
David. 
 


RE: TCP Messages to Server

2013-09-10 Thread Paul Evrat
Anthony / David,

 

Thanks, seems to work well on shared hosting using port 80.

 

 

The following seems to be the minimum construct for a raw TCP message to become 
a HTTP request -

 

  Message = GET /default.aspx?Msg=ddrrggffdd HTTP/1.1  vbCrLf  Host: 
www.mugachino.com  vbCrLf  vbCrLf

 

 

The server returned the following -

 

HTTP/1.1 200 OK

Cache-Control: private

Content-Type: text/html; charset=utf-8

Server: Microsoft-IIS/7.0

X-AspNet-Version: 4.0.30319

X-Powered-By: ASP.NET

Date: Wed, 11 Sep 2013 05:24:15 GMT

Content-Length: 1338

 

 

Strangely the HTML section did not come through in the NetworkStream ??

 

My objective is achieved (I don’t need the reply and only want to pass the 
query string) but it would be good to know what happened to the html portion.

 

Regards,

 

 

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of anthonyatsmall...@mail.com
Sent: Tuesday, 10 September 2013 8:05 PM
To: 'ozDotNet'
Subject: RE: TCP Messages to Server

 

Yes it is..use firebug or jsfiddler to get a standard template(with headers) 
you could use.

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Paul Evrat
Sent: Tuesday, 10 September 2013 7:29 PM
To: 'ozDotNet'
Subject: RE: TCP Messages to Server

 

Actually if I could turn it into a http request with a query string that would 
make the web code simple. Is it just a matter of having http headers?

 

The modem data does attached to a web site. Hosting terms seem to allow a 
service as long as it integral to the site, which it is.

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of anthonyatsmall...@mail.com
Sent: Tuesday, 10 September 2013 7:20 PM
To: 'ozDotNet'
Subject: RE: TCP Messages to Server

 

You probably could if you use assumed port 80and got your modem to send a 
simulated page get with the headers

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Connors
Sent: Tuesday, 10 September 2013 6:31 PM
To: ozDotNet
Subject: Re: TCP Messages to Server

 

Not possible on a shared web hosting service as I doubt they'll permit you to 
run any sort of service and may be locked down a lot further depending on how 
switched on the provider is. 

 

VPS will do it no dramas. You'll need to write some sort of service to bind to 
an external IP and port. Piece of piss and heaps of code around to start from. 

 

David. 




David Connors
 mailto:da...@connors.com da...@connors.com | M +61 417 189 363
Download my v-card: https://www.codify.com/cards/davidconnors
Follow me on Twitter: https://www.twitter.com/davidconnors
Connect with me on LinkedIn: http://au.linkedin.com/in/davidjohnconnors

 

On Tue, Sep 10, 2013 at 6:23 PM, Paul Evrat p...@paulevrat.com wrote:

Hi All,

 

I want to receive raw TCP messages from an industrial device (that has an 
in-built modem) at a shared web hosting service, is this possible?

 

The modem requires an IP address and port number to send the messages to.

 

I have received TCP messages before on a PC connected to the internet using 
TcpListener(My Static IP, port number)  by opening that port number on the 
router but can it be done with a hosting service (pref shared hosting) instead?

 

I imagine an IP would be necessary to attach to the hosting address but would 
this work given the Listener must address a port number?

 

If not on shared hosting would a VPS do this?  (Haven’t used one before.)

 

Any pointers greatly appreciated.

 

Regards .. Paul ..

 

 

 

 

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3392 / Virus Database: 3222/6651 - Release Date: 09/09/13

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3392 / Virus Database: 3222/6651 - Release Date: 09/09/13