[QUOTE=Samuelgames;28846991]Make it output like cathodre:
[img_thumb]http://cdn.cultofmac.com/wordpress/wp-content/uploads/2011/01/screenshot.png[/img_thumb][/QUOTE]
im pretty sure thats what he is trying to "copy"
[QUOTE=Maya2008;28838415]I disagree, C++ memory management is one of the most annoying things.[/QUOTE]
Yeah, having to type "delete" whenever you type "new" is atrocious, especially if you use smart pointers.
Come on guys. Memory management in C++ is trivial.
Refactoring the IRC library that I'm writing:
[img_thumb]http://dl.dropbox.com/u/5013896/forum/Facepunch/Programming%20WAYWO/IRC/RefactoringIRC.png[/img_thumb]
The outgoing messages are printed by a proxy class now.
I usually try to split abstraction layers in output libraries once they get a bit more complicated. This is what I have so far:
[code]
Main -> IrcMessenger -> (DebugIrcWriter -> IrcWriter) -> Stream // Sending
Main -> IrcHandler -> Stream // Receiving
[/code]
The IrcHandler interprets incoming messages, writes them to the console and answers PING messages for now, but I'll split it into layers next.
There's no real connection logic so far, Main is just waits until the server should have answered, let's the IrcHandler process all waiting messages and the proceeds with login.
So guys, I need to decide on a version control system either SVN or Git.
I'm using SVN right now, but what I need is way that I can have multiple builds, a working, a silver, and a gold(release) build.
With SVN I could do this with subdirectory's, but with Git you have to download the whole repository, which wouldn't really work for me.
Or is there an easier way to do it?
[QUOTE=gparent;28847387]Yeah, having to type "delete" whenever you type "new" is atrocious, especially if you use smart pointers.
Come on guys. Memory management in C++ is trivial.[/QUOTE]
The problem is dealing with ownership, which is a non-issue in a garbage collected language. You can spam shared_ptr's, but then you do lose a lot of the performance advantage in share heavy code, especially if threads are involved. You kinda have to design your program carefully with resource management in mind utilizing smart pointers and const etc. to keep it sane, which involves a lot more thinking than a program involving a garbage collector.
It's not as easy as just pairing new's and delete's.
[editline]28th March 2011[/editline]
[QUOTE=neos300;28847571]So guys, I need to decide on a version control system either SVN or Git.
I'm using SVN right now, but what I need is way that I can have multiple builds, a working, a silver, and a gold(release) build.
With SVN I could do this with subdirectory's, but with Git you have to download the whole repository, which wouldn't really work for me.
Or is there an easier way to do it?[/QUOTE]
With git you'd just use branches, which, unlike SVN, are extremely cheap in git.
Git it is then.
[QUOTE=neos300;28847571]So guys, I need to decide on a version control system either SVN or Git.
I'm using SVN right now, but what I need is way that I can have multiple builds, a working, a silver, and a gold(release) build.
With SVN I could do this with subdirectory's, but with Git you have to download the whole repository, which wouldn't really work for me.
Or is there an easier way to do it?[/QUOTE]
How is that SFML UI library comming along?
I guess the main difference between GIT and SVN is that in SVN branches are file copies, while in GIT file copies are branches.
Now that both systems are rather mature, the only real difference with branching seems to be that you can't do it locally with SVN.
[QUOTE=Tamschi;28848127]I guess the main difference between GIT and SVN is that in SVN, branches are file copies, while in GIT, file copies are branches.[/QUOTE]
While the cheap branches is a defining feature, the fact that Git (yes, it's not an acronym) is distributed is a better candidate for the main difference. It makes all the difference in the world and is the defining feature that makes sites like Github what they are.
welp at least i'm getting somewhere with the heatmaps, got magick++ working and can generate a heatmap with ~1000 points in less than a second, could be faster but it's messy code
[url=http://i.imgur.com/y9dQy.jpg]random heatmap of 1000 points[/url]
[url=http://i.imgur.com/HCL07.png]wacky heatmap of 1000 points, x = point, y = 500-(sin(point)*500)[/url]
[QUOTE=jA_cOp;28848150]While the cheap branches is a defining feature, the fact that Git (yes, it's not an acronym) is distributed is a better candidate for the main difference. It makes all the difference in the world and is the defining feature that makes sites like Github what they are.[/QUOTE]
I guess you're right.
I think it depends on the kind of project you're working on, SVN is probably a bit easier while GIT seems to be a lot more powerful when there are many contributors.
[QUOTE=hexpunK;28846233]Why not? What harm can come off learning a new language?[/QUOTE]
Only meant to help. Maybe there was something he thought was not possible to do in C# and was in C++.
[QUOTE=jA_cOp;28847582]It's not as easy as just pairing new's and delete's.[/QUOTE]
Let's be honest, for most of the Facepunch, that's the only thing it'll require. And they're the ones bitching about it.
For the rest, I do agree that it's a bit more effort.
[QUOTE=Tamschi;28848489]I guess you're right.
I think it depends on the kind of project you're working on, SVN is probably a bit easier while [B]GIT[/B] seems to be a lot more powerful when there are many contributors.[/QUOTE]
Are you making that mistake on purpose? Just curious, because jA_cOp already corrected you on it.
[QUOTE=gparent;28849570]Let's be honest, for most of the Facepunch, that's the only thing it'll require. And they're the ones bitching about it.
For the rest, I do agree that it's a bit more effort.[/QUOTE]
Or even better, take the tiny amount of time required to learn about shared_ptr and live happily ever after (almost, anyway).
Some guy license-protected his program,
[url=http://www.facepunch.com/threads/1073499-TF2-Server-Scanner-v2-RELEASE?p=28849395&viewfull=1#post28849395]So I broke it.[/url]
Just figured out how to use shaders in love. This could get interesting.
[img]http://ahb.me/2jOq[/img]
[editline]27th March 2011[/editline]
Ooooh, this is a nice one (all colors are the sine of x*y)
[img]http://ahb.me/2jOX[/img]
[QUOTE=Moustach3;28849709]Some guy license-protected his program,
[url=http://www.facepunch.com/threads/1073499-TF2-Server-Scanner-v2-RELEASE?p=28849395&viewfull=1#post28849395]So I broke it.[/url][/QUOTE]
...why? It does seem kind of silly to license something like that, though.
[QUOTE=Moustach3;28849709]Some guy license-protected his program,
[url=http://www.facepunch.com/threads/1073499-TF2-Server-Scanner-v2-RELEASE?p=28849395&viewfull=1#post28849395]So I broke it.[/url][/QUOTE]
i think you should brag more about it in that thread.
[QUOTE=Moustach3;28849709]Some guy license-protected his program,
[url=http://www.facepunch.com/threads/1073499-TF2-Server-Scanner-v2-RELEASE?p=28849395&viewfull=1#post28849395]So I broke it.[/url][/QUOTE]
congrats. You probably figured out that his server sends a single packet, and you just copy pasted it, and made your server send it.
[QUOTE=Kylegar;28851002]congrats. You probably figured out that his server sends a single packet, and you just copy pasted it, and made your server send it.[/QUOTE]
[del]He just added the auth site to the HOSTS file, redirecting requests to localhost. The app couldn't connect, so it assumed you were validated.[/del]
[editline]derp[/editline]
Is anyone else having facepunch only load half a page at a time? Recently it seems like I'll get half of the page I want every couple of requests, or so :(
[QUOTE=Kylegar;28851002]congrats. You probably figured out that his server sends a single packet, and you just copy pasted it, and made your server send it.[/QUOTE]
about as secure as [url=http://www.facepunch.com/threads/1062318-What-are-you-working-on-v16?p=28828133&viewfull=1#post28828133]this[/url].
I like to program, but I'm not that good at it :smith:
This is the only thing I've ever released [url]http://www.esolangs.org/wiki/TinCan[/url]
[media]http://i.imgur.com/QaV0v.png[/media]
finally got the heatmaps kinda working, that's a heatmap from 775 kills logged in a bot match. i'm aware that the ones off on their own shouldn't be red, need to finetune the blending shit
SVN is nice sometimes but can be total pain in the dick. I did a 24 hour game development thing at my uni and I must have spent at least 30 - 60 minutes fixing some shit that visual SVN merged.
pow finally nailed the fuckin dot intensity
[media]http://i.imgur.com/Bw7qq.png[/media]
[QUOTE=Jimbomcb;28852918]pow finally nailed the fuckin dot intensity
[media]http://i.imgur.com/Bw7qq.png[/media][/QUOTE]
That looks pretty cool. Is that [url=http://www.tf2wiki.net/wiki/Nucleus]nucleus[/url]? :v:
yeah i just stuck bots on nucleus and let them play away for a bit, each kill was being logged to a database. run the heatmap thing, loads all the kills for whatever map and throws that out
[QUOTE=mechanarchy;28851168]He just added the auth site to the HOSTS file, redirecting requests to localhost. The app couldn't connect, so it assumed you were validated.
[/QUOTE]
You're entirely wrong. It redirects to a fake server that outputs the correct authentication method every time.
[QUOTE=Jimbomcb;28852918]pow finally nailed the fuckin dot intensity
[media]http://i.imgur.com/Bw7qq.png[/media][/QUOTE]
That's really, really awesome :D
I love watching things like this progress in WAYWO, it's fun
[media]http://dl.dropbox.com/u/14482652/racecarswhoo.png[/media]
Finally got collision detection working using the separating axis theorem. Kinda has a few bugs in it, but I should be able to work them out after a good night's sleep.
Sorry, you need to Log In to post a reply to this thread.