[QUOTE=Staneh;34417655][img]http://i.imgur.com/SK0zf.png[/img]
Doing some shit with the WoW api.[/QUOTE]
lvl 24 paladin? hah what a scrub
Also, Overv, you should find a way to give an error code back to the user if login fails.
Added a part of the hud, do you think it looks ok?(Btw, the more you get hurt it will change the color slowly to yellow and then to red.)
[video=youtube;zh6Bzj38mM4]http://www.youtube.com/watch?v=zh6Bzj38mM4&feature=youtu.be[/video]
Just done some quick benchmarks. JSON version of the forums list is 1.76 kilobytes. HTML version of the forums list is roughly 11.5 kilobytes. So the HTML version is around 6.5x the size of the JSON version.
[QUOTE=amcfaggot;34417842]lvl 24 paladin? hah what a scrub[/QUOTE]
[img]http://i.imgur.com/icd7m.png[/img]
Happy now?
So, we've got a lot of information just out of seeing how Steam Mobile communicates with Steam's Web API backend, and technically speaking, we don't even need to decompile their work to make a working API out of it, but it sure is interesting seeing everything else in the app that isn't actually actively used.
For instance, the app denotes a usage of steammobile:// but that isn't actually used anywhere due to everything going through HTTP/HTTPS connections in api.steampowered.com. There have been references to the vitalyi7 and various beta servers, but those also are never called upon, so we suspect these are developer servers that Valve had been using before releasing them to the marketplace and app store.
There's also a bit of interest circulating around the OAUTH_CLIENT_ID parameters found earlier, but I haven't seen anything on that besides the login requests. There is nothing else on them. I speculate those aren't actually worth interest, regardless of what they would typically entail. They only seem to be useful for allowing their backend to identify what types of connections you'll be making post-login and to which of the aforementioned servers.
The codebase itself isn't very large either, but that's expected due to it all being a glorified web app.
[QUOTE=origamiguy;34413519]Further work on Lego Racers; I had a hunch as to which files the collision meshes would be, so I took a closer look... how did I do?
[t]http://i.imgur.com/t3dDo.png[/t][t]http://i.imgur.com/UaNgs.png[/t][/QUOTE]xD I actually remember playing this a lot, I think I remember that level in fact.
[QUOTE=Hexxeh;34418091]Just done some quick benchmarks. JSON version of the forums list is 1.76 kilobytes. HTML version of the forums list is roughly 11.5 kilobytes. So the HTML version is around 6.5x the size of the JSON version.[/QUOTE]
Don't you think it's overkill to utilize a central server just for scraping purposes? It also adds an extra level of dependency. Not to mention there's no way I'd want to give my userinfo to a third-party server.
[QUOTE=Staneh;34417655][img]http://i.imgur.com/SK0zf.png[/img]
Doing some shit with the WoW api.[/QUOTE]
I thought that was some sort of a fucked up address at first
[QUOTE=amcfaggot;34418335]Don't you think it's overkill to utilize a central server just for scraping purposes? It also adds an extra level of dependency. Not to mention there's no way I'd want to give my userinfo to a third-party server.[/QUOTE]
Then don't?
Interesting point though. You ever used something like an IM app on your phone before? You're handing your details over to the developer there.
There are more benefits to scraping on the server-side. Let's say for example you're browsing on a mobile device and you're on public WiFi. The API can allow connection via HTTPS and so may actually be [i]more secure[/i] than browsing Facepunch normally.
The bandwidth used by the API is usually less than a third of that used by a normal request, too. That doesn't even take into account external resources, that's just the page HTML, the actual improvement is much larger.
I know, I'll run the app on my...iPod touch. Ok, no problem, let's try Android Emulator...It won't start. Well then, let's try Android-x86!
[img]http://i.imgur.com/tZDlg.png[/img]
Fuck.
[QUOTE=Hexxeh;34418380]You ever used something like an IM app on your phone before? You're handing your details over to the developer there.[/quote]
except i'm not in nearly every case, considering they communicate directly with the target server
[QUOTE=Hexxeh;34418380]There are more benefits to scraping on the server-side. Let's say for example you're browsing on a mobile device and you're on public WiFi. The API can allow connection via HTTPS and so may actually be [i]more secure[/i] than browsing Facepunch normally.[/quote]
moot point when you're dealing with a third-party server
[QUOTE=Hexxeh;34418380]The bandwidth used by the API is usually less than a third of that used by a normal request, too. That doesn't even take into account external resources, that's just the page HTML, the actual improvement is much larger.[/QUOTE]
i guess this would be used for things like plain phones then? considering on smartphones, bandwidth issues are also moot
but by the time you've established that you'll be making a web app for lesser end phones, why write something in (for example) php to communicate with another web backend to communicate with facepunch?
[QUOTE=amcfaggot;34418463]except i'm not in nearly every case, considering they communicate directly with the target server
[/QUOTE]
Lots of them, take for example Beejive IM, one of the most popular ones on the App Store, login for you on their servers to maintain a more reliable connection to MSN and do things like push notifications.
[QUOTE=amcfaggot;34418463]
moot point when you're dealing with a third-party server
[/QUOTE]
Why is it a moot point? Using HTTPS to the API server would prevent a MITM attack on your current network.
[QUOTE=amcfaggot;34418463]
i guess this would be used for things like plain phones then? considering on smartphones, bandwidth issues are also moot
but by the time you've established that you'll be making a web app for lesser end phones, why write something in (for example) php to communicate with another web backend to communicate with facepunch?[/QUOTE]
Nope, it's very useful even on high-end smartphones. Even the best smartphone in the world isn't going to help you if you only have a GPRS signal.
In the UK at least, mobile coverage sucks outside of cities. You'll get a GPRS signal only, which is effectively dial-up speeds. At those kinds of speeds, every kilobyte counts.
Edit: This is an old and slightly biased video, but it illustrates the difference it can make quite well:
[media]http://www.youtube.com/watch?v=hFhB-g-PAts[/media]
i mean i'm not saying it's dumb by any means, because there are obviously systems out there which rely on intercepting user data to provide faster services. the first one that comes to mind is mobile opera, in which [i]everything[/i] is sent to them; but i just don't see the benefits for something like this
MITM attacks on facepunch accounts are not something i'm concerned with
in the case of your coverage in the UK, more power to you then
[editline]27th January 2012[/editline]
[QUOTE=Hexxeh;34418555]-yt video-[/QUOTE]
this is entirely misleading because in an app you're not going to be requesting all of the resources a browser does, additionally, your benchmarks factor in browser rendering and how that deals with http chunking
I've been trying to change the dialog into a frame so that I can add file dialogs and stuff - the frame comes up, but then immediately disappears. Stack trace says that the destructor is being called from wxWidgets' cleanup routines - that's what I'd normally expect, it's just that I wouldn't expect wxWidgets to clean up the window as soon as it's shown :/ Been at it for a couple hours now, Google's been no help, and I've made about three sample projects with frames that all work, which are all completely identical in configuration and in the way that the window is created. This is getting really annoying.
Here's a random picture, so it looks like I'm still making progress:
[img]http://i.imgur.com/R0viH.png[/img]
Anybody have any idea how to set up wifi in VirtualBox Android x86? It can browse the web, but it still says there's no internet, so I can't download an apk or visit the market.
[QUOTE=amcfaggot;34418626]this is entirely misleading because in an app you're not going to be requesting all of the resources a browser does, additionally, your benchmarks factor in browser rendering and how that deals with http chunking[/QUOTE]
Yeah, like I said, the video is biased. However the data usage figures I quoted earlier are quite fair, I've taken these numbers straight out of a web debugging proxy, they don't even take the browser into account.
[QUOTE=Hexxeh;34418555]Lots of them, take for example Beejive IM, one of the most popular ones on the App Store, login for you on their servers to maintain a more reliable connection to MSN and do things like push notifications.
Why is it a moot point? Using HTTPS to the API server would prevent a MITM attack on your current network.
Nope, it's very useful even on high-end smartphones. Even the best smartphone in the world isn't going to help you if you only have a GPRS signal.
In the UK at least, mobile coverage sucks outside of cities. You'll get a GPRS signal only, which is effectively dial-up speeds. At those kinds of speeds, every kilobyte counts.
Edit: This is an old and slightly biased video, but it illustrates the difference it can make quite well:
[media]http://www.youtube.com/watch?v=hFhB-g-PAts[/media][/QUOTE]
I have the same netbook. Is it only me, or is the touchpad really ridiculously bad?
[QUOTE=DrLuke;34419152]I have the same netbook. Is it only me, or is the touchpad really ridiculously bad?[/QUOTE]
No idea sorry, I didn't make the video, luaduck did.
Wiring adding gate to itself:
[img]http://i.imgur.com/Kesyi.gif[/img]
:v:
I don't know if I should fix this or not, it kind of makes sense to me.
[QUOTE=ief014;34419598]Wiring adding gate to itself:
[img]http://i.imgur.com/Kesyi.gif[/img]
:v:
I don't know if I should fix this or not, it kind of makes sense to me.[/QUOTE]
Assuming each "wire" is many lines, this is how it is supposed to work, no?
Here's what's finished in ScrAPI as of now:
Listing forums
Listing threads for a forum (paginated)
Listing posts for a thread (paginated, includes rating information for each post)
Replying to a thread
Creating a new thread
Rating a post
Viewing your PM inbox
Viewing a specific PM
Anything else I should add?
[QUOTE=ief014;34419598]Wiring adding gate to itself:
[img]http://i.imgur.com/Kesyi.gif[/img]
:v:
I don't know if I should fix this or not, it kind of makes sense to me.[/QUOTE]
There are a few things wrong with this that I can think of but the first of which being that the add chip is adding to itself and storing this overtime? The result should be 2, not something incremental based on your "logic time" (which seems to just be tick-based). Seems like it could easily promote bad logic practice as well.
[QUOTE=amcfaggot;34419678]There are a few things wrong with this that I can think of but the first of which being that the add chip is adding to itself and storing this overtime? Seems like it could easily promote bad logic practice as well.[/QUOTE]
Pretty much.
If I were to stop holding down the button, the adding gate will be in a state where: 0 + #### + 0 + 0 = ####
Not really what I want it to do, but how the wiring system I currently have works it does make sense.
I am working on optimizing/fixing up how wiring works. I did fix a whole lot of bugs with it last night, but this is the only thing I find concerning at this point.
Just opened up Eclipse after like 1 1/2 years. It opened an old project:
[img]http://i.imgur.com/KlMFX.png[/img]
Can you guys still remember this?
Blargh. If I show a dialog with ShowModal(), it stays up. If I Show() a frame and MakeModal() it, it doesn't stay up. This works fine in a fresh project, but not in the grapher. Any wxWidgets wizards here? :/
[editline]27th January 2012[/editline]
Well, that was the worst page king ever. Have some emergency non-content.
[img]http://i.imgur.com/YGb3G.png[/img]
[QUOTE=Staneh;34419860]Just opened up Eclipse after like 1 1/2 years. It opened an old project:
[IMG]http://i.imgur.com/KlMFX.png[/IMG]
Can you guys still remember this?[/QUOTE]
No, I just can't imagine how a black rectangle filled with coloured circles could've slipped my mind so easily after only 1.5 years... crazy, isn't it?
[img]http://puu.sh/eN7j[/img]
Why, thank you Valve.
Sure love the way they're handling beta invites.
I had to borrow someone else's android to do it, but I finally logged in to the app. Now to wait a few weeks for a beta key...
[QUOTE=supersnail11;34420398]Now to wait a few weeks for a beta key...[/QUOTE]
Or a few days for it to come out of beta.
Sorry, you need to Log In to post a reply to this thread.