School Starts II (week 2 of 14?)
Night, and 'add oil' to myself.
Night, and 'add oil' to myself.
Oh wells, the first day I only had one class---physics recitation with Professor Wolf, the hardest class I took last semester. I don't really know why physics seems so hard last semester (lazzzzzyness prob? ), but this semester definitely seem much harder than I can handle with last semester's method----work harder, and don't sleep in every single semester (yes, for the record, I did sleep in EVERY SINGLE MECHANICS LECTURE and EVERY SECOND HOUR of MECHANICS RECITATION). Also, for the record, I did fall asleep today during the 2nd hour of E&M recitation (ah.. :mrgreen: ) Without a girlfriend, maybe I can use those free time to study better..
Alright, time to sleep, morning classes tomorrow......
Anyhoo...
time to get back to the original flavor....
I thought for a while and tried my guess on how it works.
The way to do it without any tool is fairly simple:
1. While lossing, just tell people that you will remaking. 2. TURN OFF YOUR WIFI/UNPLUG YOUR ETHENET CABLE. 3. Tab back to the game, wait for 30sec-1min. 4. Keep pushing...the game is urs!
This is cheating.....so yea...same policy as other cheating things I made, They are just for entertaining purposes, I am not taking the responsibility of irresponsibility.
Back to the ideas... So I wonder how do you only kick certain people? Then I realized that Garena just mimicks LAN, so that you can simply Block some users from accessing your computer,...as simple as that ......um~I do believe general firewalls can achieve those in Advanced Settings.
However, if you are a computer noob, there is what i suggest you do: 1. Tell your teammates / friend to stay ~ 2. Then excute the drop method.
anyhoO~~~..just a simple hack for fun~
So......As a son, I stood out...taking one minute to change a CURL refreshing code I wrote before and a few minutes to understand the machanism of the site, I realized how easy it is to "hack" it.
Running 10 CURL scripts from 3 different servers, I had reached my highest speed of 500 hits per minute, and in a fairly fast speed we become #1 within an hour (running time only, because I stopped in the middle a few times).
This morning, I saw that the second place cheater is catching up...... So I let him catch up.....almost hit my number than I started my scripts again(from only 1 server, 5 instances).
Result: Score ratio is 12,000: 3,000 The other guy gave up. The site received too much volume and was down.
Here I apologize to Sinovision.net for what I did.
But the experience is really cool and satisfactory as a programmer and as a son.
Because it is a hacking script, I will not show it here, just google CURL and think about how it works.
P.S. The PHP. CURL library is one of the most useful and powerful extension(mod) for PHP. It uses a lot server resources but delivers very powerful results with its fairly simple APIs provided. As you can see, CURL is a very good hacking tool (for guessing POST/GET and addresses of sites).
First of all, I admit that numbers are possibly changed by the government to maintain stability.
The U.S/European asshole medias, however, were just afraid that more people wouldn't be killed. So they changed the news with funny mistakes.
1. New York Times: There was a picture with a dude in hostpital that is tagged as a Uyghur.. But nooooo...that is a HAN chinese, he has a Han last name and a Han Face, and..he IS in fact Han.... Good BS skill by NYTimes again...And they refer to it as some Tiananmen Square spirit...IT IS NOT...
2. CNN: There was also a BS picture tagged as bunch of Uyghurs got killed by a car and their body is everywhere.. No, that is simply a picture from the May,13 car accident happened in ShenZhen, China. And also an old woman standing in front of a lot Chinese Army. -->which is also BS.
Not that I support any side because of what happened, I am just very pissed off on how the big media LIES to the public.
OH YEA....Talking about HUMAN RIGHTS? I don't give a shit to those human rights people, because they cannot do SHIT about it... There are still millions of people starving in China, economy is wayy more important than the western "human rights".
Love is magical...and it destroys people...
Ah....I'm in a state of mind where I cannot control...
"Stop Thinking"...(about what...)
include 'SecurityChecking.php';
$FileList=filesInDir('SOMEDIRECTORY');
$content="\n".
"\n".
"\n";
foreach($FileList as $file)
$content.="\n"; //And other mp3 meta infos.
$content.=" \n \n";
$file="default.xspf";
$fh = fopen($file, 'w+') or die("can't open file");
fwrite($fh, $content);
fclose($fh);
echo "Successful! Thanks to Edison.";
function filesInDir($tdir){
$dirs = scandir($tdir);
foreach($dirs as $file){
if (($file == '.')||($file == '..')){}
elseif (is_dir($tdir.'/'.$file))
filesInDir($tdir.'/'.$file);
else
$return[]=$file;
}
return $return;
}
for example, a getter could look like the following:
public function get($att){
return $this->{$att};
}
That is, instead of makings lots of get_att, just make one function to return the fields.
By checking specific type, fields can be made private.
public function get($att){
if ($att!="password"){
return $this->{$att};
} else {
throw new Execption("Restricted Property Cannot Be Returned");
}
}
And a client could be called as
try { echo $object->get($att);
} catch .....execption handling..etc.
as proper calls are made, the right field will be printed otherwise exceptions will be caught. Adding more(lots) if statements for different attributes may result the code running at a insignificantly slower speed but it may simply lose the purpose of doing it using variable variables. Similarly, a setter can look like the following:
public function set($att,$new_value){
$new_value=$db->escape($new_value);
$att=$db->escape($new_value);
$this->db->query("UPDATE `table` SET '$att'='$new_value' WHERE `id`='$id'");
$this->{$att}=$new_value;
}
In Java, a map will simply be used. -> well,~it is much less convinent than as in php*.*Credit to Professor Sable.
Its sad,
Farewell, 51 Astor Place, the lovely Engineeing Building of The Cooper Union.
This is a little plug-in that I've made for Xiaonei.com as part of my XN_Hack Tool Box Project.
The real usage of this gateway is that when you reach a "time-out" page on XN, you will use this tool to switch to another gateway.
This tool's effectiveness is known and is very effective in fact. However, why does it work? I'm not even completely sure.
To access this tool, http://lslk.net/xn/ping (I used cache for this page so it will only update every 5mins, which I believe is a reasonable time frame)
The new generation of iphone offers both software and hardware improvements, some key points are as follows: 0." The iPhone 3GS has a new processor built-in. Apple claims that it is up to two times faster than the previous generation: Launching messages is 2.1 faster, load the NY Times in Safari: 2.9 times faster. It also consumes less, which has an impact on the improved battery life."[Gizmodo] 1. 3M Camera, which is better than most mainstream phones in the U.S market. *still far from the 6-10MP of the Asian market. But with the software improvements that come with it the quality should increase in a noticeable amount 2. Support for 7.2 Mbps 3G standard. None of the current U.S. networks supports it, therefore, personally I think this is a feature for international users since new generations will be out by the time AT&T and such have it supported. 3. New graphic engine: better gaming experience. We will see it eventually beats PSP in handhold gaming. Well, at least, DSI might have the ability to compete with it. 4. Magnetometer to use with map applications etc.. Use your imaginations to see what the application makers will do with it. I am totally expected to use this in app-games. 5. Increased battery life. Apple say its is 20%-50% better than 3G depending on what you do. Well, personally I believe that will be enough for most people since at least 5hrs(gaming non-stop) should be enough for a day, and then...you just charge it ...lolz 6. Voice control. I think apple held this feature back because of the new shuffle. Yea..it's business that stops techonologies from happening sometimes.
New Price: $199 with contract for the lowest storage one, goes up by 100 each time you double the storage. AT&T Users: "Gizmodo:
If you are "a valued AT&T customer," AT&T offers an "early iPhone upgrade with a new 2-yr commitment and an $18 upgrade fee." The price? $399.00 for the 16GB iPhone 3G S and $499.00 for the 32GB iPhone 3G S. It gets worse: For non-qualified customers, including existing AT&T customers who want to upgrade from another phone or replace an iPhone 3G, the price with a new two-year agreement is $499 (8GB), $599 (16GB), or $699 (32GB).
Insane. Way to go AT&T."
For a complete coverage on iPhone 3GS, visit the following links [Gizmodo]:
iPhone 3GS • iPhone 3GS Complete Feature Guide • iPhone 3G vs. iPhone 3GS Comparison Chart • iPhone 3GS Video Walkthrough (Quick 4-Minute Version) • iPhone 3GS Gets Voice Control
Omgpop.com aims at High School and College students to waste their time on their flash games.
These games are well designed: fun, addicting, status saved, ranking system. Combined with the online community that havily uses AJAX technology, the games gives a very smooth user interface that is simple and elegant.
Why? Because I have more responsibility and wills now.
Some of things I've been doing so far are as follows:
So I was at computer center, trying to download some file at mininova, I realized that I can't install BT Clients on school's computer, i figured the following: (Condition: No Chinese Input mechanism, No RAR uncompressor, No Admin Rights, Able to download in a temporary folder) 1. Google search Green Down, with preference language Simplified Chinese. 2. Download WinRar 3. Download Green Xunlei. 4. Download the Bittorrent File. -- -If blocked, use the proxy site, but very inefficient most of the times, since most proxies does not allow the user to directly downloading files. Result, 2MB/s speed `lolz.........dl finished within 30s~lolz..
Later in the day, becuase my programming language class was cancelled, i figured to dl again, but this time, i realize that all my previous work are gone since everything i did was temperoary,
But then I found this site: It is extemely easy to use: Open the website, put in the address for your torrent, and choose a destination, that's it! The site will open a java applet and start downloading your file.
This should work for most internet-cafes and school computers since they proberly have not blocked the ports.
^_^
Edison Wang@CU computer center.
"Everyone seems so happy!" said my dad, "and it looks nothing like you described before."
Yea, that's right. Most people we saw at the student reception were happy, which gave people really good first impression about the school.
I must say, also, most people we saw that's not a tour guy/girl were studying. Studying is probably what they do the most. In fact, one of the tour guy was suggesting the freshmen to bring a printer if living at the dorms. Why? Because " you will frequently needed to print out stuff at 5a.m, so you don't want to use the printers in library, which closes at 10 pm (the day before. lolz).
Despite the fact that they were happy, both the current students and faculties were really nice. They seem harmless. Some people say that's because they are just nerds, but no, they are just pure, and focused.
Students are competitive, like...really! Two out of 4 of the people I know already from Class 2012 are both the valedictorian of their schools. This year they say its the toughest in Cooper's history, with a overall acceptance rate of 1/12 (8%), which is close, and even lower than those ivy schools. (School of Architecture has only 3.5%!)
Expenses without tuition is still about $20,000. Living at mid-town Manhattan, this is a fair price. But it didn't take me long to convince my parents to let me live there for the first year, though I doubt I might have to move back to Queens, or even Brooklyn after my freshman year. The surrounding of Cooper is a very lively place: SOHO, Chinatown, City Hall, and lots of attractions and markets are nearby. Since it's at the lower center of Manhattan, going to the other boroughs is also very convinent.
Overall, Cooper is a competitive, supportive, and nice! (yes, let's use the simple terms)
If u think slowing down is bad, watch this video.
I was very inspired by this video which gave me the very revolutionary idea- Slowing down in a world built for Speed. Author Carl Honore talked about the goodness of slowing down: Slowing down on dating will make relationship go deeper. Slowing down on working will give u time to achieve creativity. Slowing down on solving a problem will let u think more, observe more, and do more, on more aspects of the problem and even make better decisions. Moreover, eating slower- such as enjoying a family meal with the TV shut off, will make ur life quaily much better.
So, despite the fact that most things are speeding up, such as speed dailing, speed dating, and even speed yoga, are becoming more popular among people in the U.S. Some other countries are slowing down, such as Italy, Norway, Sweednland, etc.. And they are as competitive as the U.S. economically and have the same production while working much less.
Why? Because taking ur time might result better productivity as well....
Edion Wang
Grading and others: HARSH!.. I remember i got a 94 on my chem test, and only three people got higher than me, ...it was considered to be an B...- - ~kinda too hard isnt it ~......And ..English class is the worst, Cs.....lolz.. Other than that, Teachers are really willing to help. All of them have office hours and you can just come by~ and....yea.....they are very helpful~
Atomsphere: People with each other! The stable on other's back havnt happen yet~ its a great place with Geniuses around.!
So, Why did I make this website?
The story goes back to my birthday (Mar 17), when I wanted to do something special for myself. So I searched the domains and find EdisonWang.Com actually available. Thinking that I still have Skyvsky to manage, I gave up my thought, until last week, Skyvskywas shut down due to my unpaid payment (credit card expired). Yesterday, April 13, I finally decided to buy this domain. After 4 hours of working, I finished its structures using the powerful Joomla!. It allows me to put lots and lots of extensions to my site and having a very complicated CMS.
Anyways, to keep everything simple, I think the site will be divided into a few parts, with the following two as main sites. 1. Www.EdisonWang.Com: Blog, News, Resume Posting, and Links. 2. Friend.EdisonWang.Com: Site to share temporary files with friends. 3. Wiki.EdisonWang.com: My wikipedia site for school work. Even though addressed in my previous article, I still want to clarify my purpose of making this site: Social, Entertainment, Blogging, Advertising, and learning web development with this lively example.