We have this SilverLight program that we use on our school to access marks, timetable info, etc, but I want to make it accessible from mobile phones. I started by inspecting the network traffic between the application and the server, but it's sending encrypted binary data (not just SSL), so that's leading nowhere. Right now I'm writing an application that simply sends mouse and key inputs to the app instead. It invokes an "export to Excel" feature which is then read by the actual webserver.
I realise this is ridiculous and prone to errors, so is there any better method? Maybe some .NET reflection or something to access the application?
[QUOTE=CarlBooth;29169710]Should we make a Computing Furniture thread[/QUOTE]
Post your desk
[QUOTE=Hexxeh;29160939][noparse]Regex ninjas, need a pattern to change all instances of:
[tag=data]blah[/tag] or [tag=data]
into
<tag param="data">blah</tag> or <tag param="data">[/noparse][/QUOTE]
Hope I'm not too late to help, but this will target the first one
[code]"\\[tag=data](.*?)\\[/tag]"[/code]
and this, the second
[code]"\\[tag=data]"[/code]
if you ask for group(1) or whatever, you'll get "blah"
[QUOTE=Overv;29170041]We have this SilverLight program that we use on our school to access marks, timetable info, etc, but I want to make it accessible from mobile phones. I started by inspecting the network traffic between the application and the server, but it's sending encrypted binary data (not just SSL), so that's leading nowhere. Right now I'm writing an application that simply sends mouse and key inputs to the app instead. It invokes an "export to Excel" feature which is then read by the actual webserver.
I realise this is ridiculous and prone to errors, so is there any better method? Maybe some .NET reflection or something to access the application?[/QUOTE]
Most MIS systems have Business Objects you can use to connect straight to the database.
You usually have to get a senior leader/manager to sign an NDA though.
[editline]14th April 2011[/editline]
SIMS.net does, I use them. Dunno about Serco.
All you do from here is just do some sort of search through the whole thing and replace group(0) with a string you construct yourself.
ie
<tag param="data"> + group(1) + </tag>
[editline]14th April 2011[/editline]
automerge
[QUOTE=Ortzinator;29169659]I need arms for computer-using comfort but then I can't play my guitar on it. :(
I'm thinking of getting one of these but they're pretty expensive.
[img_thumb]http://www.myeglobal.com/Photos/10398/200908160548541785698.jpg?thumb=1&w=350&h=250&isWater=1[/img_thumb][/QUOTE]
Get two chairs?
[QUOTE=Overv;29170041]We have this SilverLight program that we use on our school to access marks, timetable info, etc, but I want to make it accessible from mobile phones. I started by inspecting the network traffic between the application and the server, but it's sending encrypted binary data (not just SSL), so that's leading nowhere. Right now I'm writing an application that simply sends mouse and key inputs to the app instead. It invokes an "export to Excel" feature which is then read by the actual webserver.
I realise this is ridiculous and prone to errors, so is there any better method? Maybe some .NET reflection or something to access the application?[/QUOTE]
Have you attempted using .NET Reflector?
[QUOTE=AyeGill;29170181]Get two chairs?[/QUOTE]
My bedroom is 9'x9'...
[QUOTE=RyanDv3;29170087]Hope I'm not too late to help, but this will target the first one
[code]"\\[tag=data)](.*?)\\[/tag]"[/code]
and this, the second
[code]"\\[tag=data)]"[/code]
if you ask for group(1) or whatever, you'll get "blah"[/QUOTE]
Both the tag, data and param parts can be any string, they're not fixed.
I was just thinking in terms of turning BBcode into a list of objects that I could turn it into pseudo-XML and then parse that, iterate through to create a list of objects.
I've seen some XML to JSON conversion tools, but they appear to only work with strict XML, ie not the pseudo-XML I'd be producing.
[QUOTE=Ortzinator;29171044]My bedroom is 9'x9'...[/QUOTE]
Then you need a transformer
[QUOTE=Ortzinator;29171044]My bedroom is 9'x9'...[/QUOTE]
Problem.
Don't you have another room where you can play your guitar, on another chair?
[QUOTE=Hexxeh;29171128]Both the tag, data and param parts can be any string, they're not fixed.
I was just thinking in terms of turning BBcode into a list of objects that I could turn it into pseudo-XML and then parse that, iterate through to create a list of objects.
I've seen some XML to JSON conversion tools, but they appear to only work with strict XML, ie not the pseudo-XML I'd be producing.[/QUOTE]
[code]"\\[(.*?)=(.*?)](.*?)\\[/(.*?)]"[/code]
That should do it. If there are any more specs, I can work them in.
Also note that the ones I posted earlier had a erroneous parenthesis in them on accident.
[QUOTE=likesoursugar;29168178]The humble frozenbyte bundle top contributors:
ha notch.
[url]http://www.humblebundle.com/[/url]
[img_thumb]http://img577.imageshack.us/img577/3577/notch.png[/img_thumb][/QUOTE]
Tempted to donate $2000.01
[QUOTE=garry;29171899]Tempted to donate $2000.01[/QUOTE]
Donate $2000.02 just in case notch still has one cent more
[QUOTE=garry;29171899]Tempted to donate $2000.01[/QUOTE]
Ha ha, do it.
[QUOTE=garry;29171899]Tempted to donate $2000.01[/QUOTE]
Absolutely. It would be funny as hell :D
[QUOTE=CarlBooth;29171926]Ha ha, do it.[/QUOTE]
Ha ha, wow, he did.
[editline]14th April 2011[/editline]
[img]http://i54.tinypic.com/qxneol.png[/img]
[img]http://i53.tinypic.com/2u5e2pc.png[/img]
It would be hilarious if notch updated his payment to 2000.02$
Oh wow.
Shit just got real.
[QUOTE=Dr Magnusson;29172034]Shit just got real.[/QUOTE]
Where's that xkcd gotten to..
Nothing bad can come of this.
Notch is gonna beat me so hard.. [sp]and I'm gonna have to act like I don't love it[/sp]
And thus the war starts
Apparently under the tons of scripting language at work, lies a C code, [b]pre-ANSI C code![/b] the horror :<
[QUOTE=Kwaq;29172279]And thus the war starts[/QUOTE]
I dont think garry can win against an almost infinite amount of money
[QUOTE=Icedshot;29172399]I dont think garry can win against an almost infinite amount of money[/QUOTE]
We'd better donate Garry some pennies to help him with this battle
[QUOTE=garry;29172226]Notch is gonna beat me so hard.. [sp]and I'm gonna have to act like I don't love it[/sp][/QUOTE]
Haha this is awesome. I would pay to see notch's face when he sees that :D
[editline]14th April 2011[/editline]
[QUOTE=Kwaq;29172421]We'd better donate Garry some pennies to help him with this battle[/QUOTE]
Notch earns over £100,000 a day.
I need a way to script camera animation. I was thinking along the lines of a data file:
Time | X | Y | Z | Pitch | Yaw | Roll | Lerp Speed From Last Pos.
Is this a good way to do it?
[QUOTE=Jallen;29172424]Notch earns over £100,000 a day.[/QUOTE]
Minus Swedish tax and PayPals share...
He only gets 40% of what he earns due to Sweden taking its share ;)
Same in Denmark :(
Sorry, you need to Log In to post a reply to this thread.