• What are you working on? V4 (HTML ISN'T PROGRAMMING)
    2,003 replies, posted
Aha, for some reason it works now, thanks guys; it certainly seems to be running somewhat faster with chrome. high6: I see now, although I still think the best way would be to store the dictionary in the .Tag property.. :smile: I remember the last time I wrote a similar program in C#, it was able to communicate with a certain online game (can't name names since I signed a NDA on that one), it had a python class serialization thing going on, and I had to use Reflection to reconstruct the python classes as C# objects out of the serialized binary stream at run-time, I think it was an overkill, but I really enjoyed looking at the de-serialized data in the VS debugger in the end, and I learned darn lots as that was (practically speaking) my very first C# project. Don't know why I mentioned this, spreading ideas I guess, but you could try Reflection too if the protocol you're dealing with is that awful dynamic.
[QUOTE=Anthony Kiedis;18005158]At least efeX is funny, you're just an annoying idiot with a big ego. [editline]10:43AM[/editline] and theft skills[/QUOTE] And who are you? Like I give a shit what a bunch of internet users think about me. If 2010 is gonna be as bad as the 2009 users of Facepunch, then Facepunch is going to be shit. I may as well prepare for the huge inflow of boxes.
2010 the year Facepunch ends. *scene of John Cusack yelling*
[QUOTE=r4nk_;18005012]I'm pretty sure blynx is wingless[/QUOTE] Of course i'm wingless, i'm not a bird.
[QUOTE=Anthony Kiedis;18005158]At least efeX is funny, you're just an annoying idiot with a big ego. [editline]10:43AM[/editline] and theft skills[/QUOTE] You sir, like to troll.
[QUOTE=Ibutsu;18012315]You sir, like to troll.[/QUOTE] :bravo:
[QUOTE=Anthony Kiedis;18012390]:bravo:[/QUOTE] What, did your boyfriend ask you to come help him troll? :bravo:
We should talk more about coding stuff.
[QUOTE=Maurice;18012824]We should talk more about coding stuff.[/QUOTE] This.
[QUOTE=Anthony Kiedis;18012390]:bravo:[/QUOTE] What's your problem? Either post about something you're working on, or provide constructive critique/applause; If you have a problem with a certain individual, don't dish it out here, take it somewhere else; keep this thread on topic, I hate to see it ruined by this kind of behavior.
[QUOTE=voodooattack;18012935]What's your problem? Either post about something you're working on, or provide constructive critique/applause; If you have a problem with a certain individual, don't dish it out here, take it somewhere else; keep this thread on topic, I hate to see it ruined by this kind of behavior.[/QUOTE] Agreed with you, but efeX is the one who starts it, so they all jump on the bandwagon.
:ohdear: Trying to save this thread, I must think of something to post! Behold a bicycle in java. [code]class Bicycle { int cadence = 0; int speed = 0; int gear = 1; void changeCadence(int newValue) { cadence = newValue; } void changeGear(int newValue) { gear = newValue; } void speedUp(int increment) { speed = speed + increment; } void applyBrakes(int decrement) { speed = speed - decrement; } void printStates() { System.out.println("cadence:"+cadence+" speed:"+speed+" gear:"+gear); } } class BicycleDemo { public static void main(String[] args) { // Create two different Bicycle objects Bicycle bike1 = new Bicycle(); Bicycle bike2 = new Bicycle(); // Invoke methods on those objects bike1.changeCadence(50); bike1.speedUp(10); bike1.changeGear(2); bike1.printStates(); bike2.changeCadence(50); bike2.speedUp(10); bike2.changeGear(2); bike2.changeCadence(2); bike2.speedUp(10); bike2.changeGear(3); bike2.printStates(); } } [/code] Now back on topic! /ignore me
Statement about blynx6 :bandwagon: Anyways, as I've been working on my build system, I've noticed I treat each "system" as a mini computer. It holds filesystem information, a compiler, an optional repository(ala git, svn, mercurial) and an optional linker (some languages don't even need a linker, such as Python, or Lua). You could say that each project is a computer, with a "solution" being a network. Or not. If you're a dick.
I'm having a little OO design problem, maybe you can give me advice. I have a class [I](A) [/I]that has the frame and gives another class [I](C)[/I] an object [I](B)[/I] it can use to set stuff like size and title. Now I'm making a class which makes it easy to get the mouse's location and which buttons are pressed. It only has the object from class A and can add a MouseMotionListener through a method this object provides, but now I have the problem that when I don't use fullscreen the border of the window is "using" some coordinates and what should be 0/0 is ~3/20. In theory that's easy to fix: Always subtract the frame's border from the mouse coordinates, [B]but [/B]I can't access the frame because it's in A. The easiest way to fix this would be to get the border from B, but I don't really like that, because the whole reason behind A is to take away every kind of unnecessary work and information from C. [B]Edit:[/B] While writing this I had an idea how to fix that, I'll just change addMouseMotionListener in B. :buddy: [B]Edit2:[/B] Done.
Well, let's liven things a bit, here's something I [b]was[/b] working on in 2006, and might actually pick up again soon™, this was written in FreeBASIC 0.15 I think, ah, the old days.. (:siren: Please refrain from watching this if you're using any narcotics at the moment :siren:) [media]http://www.youtube.com/watch?v=hDgAryBmLRg[/media] This happens to be a neural network painting stuff on its own. On every cycle, it gets fed some coordinates and a color from a picture, its output is coordinates and a color that gets painted to the screen. Hebbian learning is in effect (neurons that fire together, wire together), this is evident in the late cycles of every iteration (when things seem to slow down). I actually have cooler stuff to show (one of the nets likes to draw space ship hulls, another likes surreal 6D-ish graphics), but seeing that uploading this vid was a pain in its own right, I think i'll pass :buddy: Was thinking of porting this to C++/SFML, not sure if it's worth it though, the code is as messy as can be.
Please upload the older videos, that's a really interesting topic. I would love to see them. If I were you I'd just rewrite it in C++, instead of porting it. It's always much faster and better the second time.
Wasn't there a TED talk about that? This one [url]http://www.ted.com/talks/henry_markram_supercomputing_the_brain_s_secrets.html[/url]
[QUOTE=voodooattack;18015582]:words:[/QUOTE] I'm not exactly sure what it is doing but I like it
[QUOTE=Namelezz!;17997101][img]http://cubeupload.com/files/2f7800lolfacepunch.png[/img] You've probably missed me for not posting Arcane, Stealth & Power news so I thought I'd update. I had a pretty bad flu so I wasn't in a designing mood. Instead of a mere screenshot of the work done so far I have a video I whipped up in 5 minutes. Watch in HQ for some assassin action! :dance: [media]http://www.youtube.com/watch?v=EyFPSYWzwzM[/media][/QUOTE] Make it so you can jump and land/slide on the tops of the towers. That would be cool.
Isoworld doesn't load for me on Chrome alpha, Linux.
[url]http://s-swires.org/launcha/?game=550[/url] With a mix of PHP, JS and horrible web design - here's something that'll allow you to play a game as soon as it's released just through a simple steam://run/ iframe. It scrapes the release time off the app ID's Steam store page. It's sort of useful, if you're impatient. Want the source, just ask.
[QUOTE=Robber;18015818]Please upload the older videos, that's a really interesting topic. I would love to see them. If I were you I'd just rewrite it in C++, instead of porting it. It's always much faster and better the second time.[/QUOTE] Alright, here's another one with a (currently) crappy quality, still cooking in youtube's oven it seems: :siren: The no recreational drugs rule applies here too, watch at your own risk :v: [media]http://www.youtube.com/watch?v=VebzSce7Uxo[/media] And yeah, by "porting" I actually meant a full rewrite, I was literally thinking "porting the concept/logic" that's all. [QUOTE=Baldr;18015895]Wasn't there a TED talk about that? This one [url]http://www.ted.com/talks/henry_markram_supercomputing_the_brain_s_secrets.html[/url][/QUOTE] That's a different area of the field, the [i]scientists[/i] from his [i]team[/i] are doing [i]research[/i], I'm just another guy that likes to study the concept in his free time (I certainly lack a super-computer). At the bottom line, we're both using the same equations, and perhaps for the same reason (studying unsupervised learning), but our goals are fundamentally different. [QUOTE=ZomBuster;18015996]I'm not exactly sure what it is doing but I like it[/QUOTE] Glad you do..
[QUOTE=thelinx;18016462]Isoworld doesn't load for me on Chrome alpha, Linux.[/QUOTE] Maybe you should test it in a web browser that is actually feature complete and reasonably functional.
[QUOTE=SteveUK;18016994][url]http://s-swires.org/launcha/?game=550[/url] With a mix of PHP, JS and horrible web design - here's something that'll allow you to play a game as soon as it's released just through a simple steam://run/ iframe. It scrapes the release time off the app ID's Steam store page. It's sort of useful, if you're impatient. Want the source, just ask.[/QUOTE] Reminds me of: "What would happen if everyone in the world flushed at the same time?"
[QUOTE=SteveUK;18016994][url]http://s-swires.org/launcha/?game=550[/url] With a mix of PHP, JS and horrible web design - here's something that'll allow you to play a game as soon as it's released just through a simple steam://run/ iframe. It scrapes the release time off the app ID's Steam store page. It's sort of useful, if you're impatient. Want the source, just ask.[/QUOTE] Why do you need an iframe? Just do window.location = 'steam://run/whatever'; I like the concept though, good job!
[QUOTE=Catdaemon;18017767]Maybe you should test it in a web browser that is actually feature complete and reasonably functional.[/QUOTE] Chrome uses Webkit.. which is a stable/production-grade web rendering engine (used by Konqueror, Safari, amongst other "feature complete" browsers), the JRE is not part of chrome; and I fail to see your point. =P As for the problem with chrome: Had the same thing happening to me earlier on windows, just refresh the page, the applet will load eventually.
[QUOTE=voodooattack;18018133] As for the problem with chrome: Had the same thing happening to me earlier on windows, just refresh the page, the applet will load eventually.[/QUOTE] Tried, it wouldn't
[QUOTE=thelinx;18018155]Tried, it wouldn't[/QUOTE] Weird... Did you try opening the Java console? (no idea how to get that open on Linux)
[QUOTE=Blynx6;18012787]What, did your boyfriend ask you to come help him troll? :bravo:[/QUOTE] possibly the dumbest thing ive ever seen congrats on setting the bar so high
Well, I have decided that I am teaching myself Java. So far, I can make a calculator that can do and operation to two numbers, and give you an answer. I'm slowly making progress. :v:
Sorry, you need to Log In to post a reply to this thread.