Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sorunome

Pages: 1 ... 19 20 [21] 22 23 ... 591
301
technically tricks fit in here, too :P
So yeah, just did this thing:
Code: [Select]
<?php
class Foo {
        protected 
$hello 'there';
        public function 
__construct(){
                
$this->hello 'world';
        }
        public function 
upgrade(){
                
$reflect = new ReflectionClass($this);
                
$props = array();
                foreach(
$reflect->getProperties() as $p){
                        
$name $p->name;
                        
$props[$name] = &$this->$name;
                }
                return new 
Bar($props);
        }
}
 
class 
Bar extends Foo {
        public function 
__construct($props){
                foreach(
$props as $var => $val){
                        
$this->$var $val;
                }
        }
        public function 
test(){
                echo 
$this->hello;
        }
}
 
$obj = new Foo();
var_dump($obj);
$obj $obj->upgrade();
var_dump($obj);
$obj->test();
?>
Allows you to "upgrade" a class to another one and copy all the public/protected vars over to the new one.

302
Sounds nice! Is it still running at a decent speed, though?

303
TI Z80 / Re: Sorcery of Uvutu
« on: November 10, 2015, 03:41:29 am »
(Yes, I know I post a lot of screenshots)
[...]
Well, screenshots show off stuff the best ;)

Anyhow, it's looking awesome so far, a shame I won't be able to play it (as I don't have a CSE) :P

304
Technology and Development / Re: Serial Link, TI Z80
« on: November 07, 2015, 03:36:42 am »
i doubt that would work due to the chips in between, you could cut off the 2.5mm audio ends and solder them together though.

305
OmnomIRC Development / Re: OmnomIRC changelog and suggestions
« on: November 06, 2015, 06:03:49 pm »
If anyone ever wanted to add OmnomIRC to their forum, I also added a forum mod for phpBB (3.1.x) and abxd forums! :D

https://github.com/Sorunome/OmnomIRC2/tree/master/forum_mods

306
TI Z80 / Re: Scogger CSE
« on: November 05, 2015, 12:58:28 pm »
The color makes everything look so more.....colorful! Looking awesome! :D

Oh, and what Art said :blah:

307
OmnomIRC Development / Re: OmnomIRC changelog and suggestions
« on: November 01, 2015, 01:32:41 pm »
You may want to look into https://www.mozilla.org/en-US/firefox/push/ :)
Yessssss I stumbled upon that recently and I already thought about adding that to OmnomIRC XD

308
OmnomIRC Development / Re: OmnomIRC changelog and suggestions
« on: October 31, 2015, 05:31:36 pm »
OmnomIRC has now built-in notifications for new topcis/posts/edits! No more need for having an extra bot sitting around all the time!

In addition, if you ever didn't like OmnomIRC to be on a certain page, such as topics, you can customize that now via "Looks and Layout" in your settings!

309
Axe / Re: Axe Q&A
« on: October 31, 2015, 04:24:50 am »
That text crashing was due to how arabic text width may get smaller with more chars, so not a possibility here ;)

310
Miscellaneous / Re: Welcome to the Future!
« on: October 21, 2015, 03:32:38 pm »
Well, we do have flat TVs, Video calls, Fingerrint scanners, glasses with displays, and some other stuff ^.^

311
Miscellaneous / Welcome to the Future!
« on: October 21, 2015, 02:19:06 am »
Today is the 21st october 2015....that is exactly the day to which Marty McFly travels in Back to the Future II, so welcome to the future!

312
Computer Programming / Re: Google translate in java.
« on: October 18, 2015, 03:31:50 pm »
you need to set an http-header to make google think that the request came from a normal browser. Try making a normal request from your browser to google and inspect the network traffic and try setting the http headers to those.
Just so you know, this is against the TOS of google ;)

313
Introduce Yourself! / Re: Hello
« on: October 17, 2015, 04:01:04 am »
Hey, welcome to omnimaga!
Basically what Happybobjr said, what calc do you have, what experience do you have already?
Anyhow, I sure hope you'll enjoy your stay!

!peanuts

314
I absolutely love the concept! Will it be that all the random maps are stored on-calc or that the calc actually generates them?

315
TI Z80 / Re: Output in exact format
« on: October 15, 2015, 01:16:22 pm »
Thanks a lot, this is awesome!

Pages: 1 ... 19 20 [21] 22 23 ... 591