Posts made by spacix
-
RE: Citizenship WTF
@MasterPlanSoftware said:
To become 'one of us' you must swear to buy a gun, a cowboy hat and a slave.
you left off the part about eating all the food you can get your hands on and joining the massive obesity problem and buying a 3 ft/gallon car!! -
RE: Don't trust SSL!
@MasterPlanSoftware said:
I hope the FBI has a flexible crawler!
Yea, they have the best OCR software, wooden table, cammera, and a custom version of swap's desktop search app which money can buy. They just print each web request that goes to their server and capture its image on the wooden table and the it is added to the flat file by the OCR software. -
RE: Don't trust SSL!
@AbbydonKrafts said:
Old news. Get with the times. Why do you think some of us have scripts that auto-populate it with a randomly generated Exception tag?
Didn't notice till now, nor cared about the random posting. We should just start adding FBI watchlist words :D -
RE: Don't trust SSL!
Ok I did have this really cool post idea for this topic where I was going to post the HTTP request for this page, but then I looked at the data in a HTTP post for these comunity server forum forms... Now that is the WTF in itsself is comunity server seems to post EVERY possible tag. So see my tag below :D
-
RE: Return of plz e-mail me teh codez
I think.NET would be the easiest way todo this using the web client class.
Next we can use C++ to make a program that accepts TCP connections on port 80 so you can connect then get information in a XML type format through a higher random port and then render the contents to show the user! Plz send teh codz of an example that does exacly what I said so I can rename the varriables and claim it is my codz. Then I can send it to my client/ finish my homework/ sell for $900.
-
RE: Job Posting WTF
Ha, I bet a headhunter copy pasted exactly what the client emailed them, and never even tried to read it.
-
RE: Re-inventing the wheel
Here is one for you:
namespace ASCII
{
class ASCII
{
public static byte ASCII_NUL = 0x00;
public static byte ASCII_ESC = 0x1b;
public static byte ASCII_DEL = 0x7f;
public static byte ASCII_CTRLA = 0x01;
public static byte ASCII_SOH = 0x01;
public static byte ASCII_CTRLB = 0x02;
public static byte ASCII_STX = 0x02;
public static byte ASCII_CTRLC = 0x03;
public static byte ASCII_ETX = 0x03;
public static byte ASCII_CTRLD = 0x04;
public static byte ASCII_CTRLE = 0x05;
public static byte ASCII_CTRLF = 0x06;
public static byte ASCII_ACK = 0x06;
public static byte ASCII_CTRLG = 0x07;
public static byte ASCII_CTRLH = 0x08;
public static byte ASCII_BS = 0x08;
public static byte ASCII_CTRLI = 0x09;
public static byte ASCII_TAB = 0x09;
public static byte ASCII_CTRLJ = 0x0a;
public static byte ASCII_CTRLK = 0x0b;
public static byte ASCII_CTRLL = 0x0c;
public static byte ASCII_CTRLM = 0x0d;
public static byte ASCII_CTRLN = 0x0e;
public static byte ASCII_CTRLO = 0x0f;
public static byte ASCII_CTRLP = 0x10;
public static byte ASCII_DLE = 0x10;
public static byte ASCII_CTRLQ = 0x11;
public static byte ASCII_CTRLR = 0x12;
public static byte ASCII_CTRLS = 0x13;
public static byte ASCII_CTRLT = 0x14;
public static byte ASCII_CTRLU = 0x15;
public static byte ASCII_NAK = 0x15;
public static byte ASCII_CTRLV = 0x16;
public static byte ASCII_CTRLW = 0x17;
public static byte ASCII_CTRLX = 0x18;
public static byte ASCII_CTRLY = 0x19;
public static byte ASCII_CTRLZ = 0x1a;... snip
}edit: just so you know this is from a .NET application
-
RE: Phpajax
Writing code that is interface with an explicit type declaration in the CIL (MSIL) from a non typed language is a WTF to me. JScript.NET does also allows for privileged code execution from a string though the eval() function from the .NET run time dynamically as it is compiled and ran on the spot much like it's normal JScript cousin's eval() function.
Now lets link our input boxes to eval() functions, that couldn't cause a problem ever...
If you have to use static types in a dynamic type langue then somthing has gone horrible wrong... My guess is the same guy who did this was the one that allowed injecting of ActiveX objects in IE's using DHTML's .innerHTML
I know all of the .NET stuff goes to the same Bytecode for the CIL, but I just don't see how JScript would be used/required...
-
RE: Phpajax
Don't get me wrong, I've written whole applications (1000's lines of code) in JScript using DHTML contained in a .HTA before...
I just don't get using javascript in .NET, they use their own .NETish style. I think Calling .NET's JScript the same as IE's JScript is like calling VB6 and VB.NET the same, but the inverse case as JScript is better without .NET.
For those of you that's never seen this, here is an example JScript.NET application:
In my view the only thing wrose than JScript.NET is J# and we should just advoid that subject all together...@http://msdn2.microsoft.com/en-us/library/ms974588.aspx#scripting0714_topic9 is the page this was found on said:
/* Simple JScript service
Andrew Clinick July 2000
*/
// Import the required .NET namespaces.
import System;
import System.ServiceProcess;
import System.Diagnostics;
import System.Timers;
class SimpleService extends ServiceBase
{
private var timer : Timer;
// Constructor -- setup the service properties
function SimpleService()
{
CanPauseAndContinue = true;
ServiceName = "JScript Service";
timer = new Timer();
timer.Interval = 1000;
timer.AddOnTimer(OnTimer);
}
// Method called when the service starts
protected override function OnStart(args : String[])
{
// Create an entry in the event log, and start the timer
EventLog.WriteEntry("JScript Service started");
timer.Enabled = true;
}
// Method called when the service stops
protected override function OnStop()
{
EventLog.WriteEntry("JScript Service stopped");
timer.Enabled = false;
}
// Method called when the service pauses
protected override function OnPause()
{
EventLog.WriteEntry("JScript Service paused");
timer.Enabled = false;
}
// Method called when the service continues
protected override function OnContinue()
{
EventLog.WriteEntry("JScript Service continued");
timer.Enabled = true;
}
// Method called every time the timer clicks
function OnTimer(source : Object, e : EventArgs)
{
EventLog.WriteEntry("Hello World from JScript!");
}
}
// Create and run the service
ServiceBase.Run(new SimpleService()); -
RE: Phpajax
@Eternal Density said:
Here's an interesting opinion on AJAX: http://valorin.net/thoughts/forget_ajax_use_jue/
TRW is the comments on that site calling JavaScript "Java." As much as I hate Java, being a C# devloper I'd never sink to calling Java somthing that low!
Then there is AWTF where MS's JScript is included the .NET framwork! WTF is with that anyway?
-
RE: String.Replace("HelperClass", "RealHelpfulClass")
After actually "trying" (running a test case on it) the code, I noticed a bigger WTF. The decode swaps the %25 to a % BEFORE doing the other swaps, which means that
"50%253Cats" would come out as "\ats" not "3Cats"
-
String.Replace("HelperClass", "RealHelpfulClass")
I found these two methods when looking though a Windows Mobile C# 'helper' class library, I think this might need a .Replace("ThisCode", "GoodCode")
I'm no mobile programmer but this just screams WTF to me, looks more like a job for RegEx thing, I guess it could have been all regex for EACH swap instead of .Replace() LOLprivate string encodeURIComponent(string Component)
{
return Component.Replace(@"%", @"%25").Replace(@"+", @"%2B")
.Replace(@" ", @"%20").Replace(@"<", @"%3C")
.Replace(@">", @"%3E").Replace(@"#", @"%23")
.Replace(@"{", @"%7B").Replace(@"}", @"%7D")
.Replace(@"|", @"%7C").Replace(@"\", @"%5C")
.Replace(@"^", @"%5E").Replace(@"~", @"%7E")
.Replace(@"[", @"%5B").Replace(@"]", @"%5D")
.Replace(@"`", @"%60").Replace(@";", @"%3B")
.Replace(@"/", @"%2F").Replace(@"?", @"%3F")
.Replace(@":", @"%3A").Replace(@"@", @"%40")
.Replace(@"=", @"%3D").Replace(@"&", @"%26")
.Replace(@"$", @"%24").Replace(@",", @"%2C");
}
private string decodeURIComponet(string Component)
{
return Component.Replace(@"%25", @"%").Replace(@"%2B", @"+")
.Replace(@"%20", @" ").Replace(@"%3C", @"<")
.Replace(@"%3E", @">").Replace(@"%23", @"#")
.Replace(@"%7B", @"{").Replace(@"%7D", @"}")
.Replace(@"%7C", @"|").Replace(@"%5C", @"\")
.Replace(@"%5E", @"^").Replace(@"%7E", @"~")
.Replace(@"%5B", @"[").Replace(@"%5D", @"]")
.Replace(@"%60", @"`").Replace(@"%3B", @";")
.Replace(@"%2F", @"/").Replace(@"%3F", @"?")
.Replace(@"%3A", @":").Replace(@"%40", @"@")
.Replace(@"%3D", @"=").Replace(@"%26", @"&")
.Replace(@"%24", @"$").Replace(@"%2C", @",");
}I'm just glad it wasn't somthing like
string returnString = Component.Replace(@"%", @"%25");
returnString = returnString.Replace(@"+", @"%2B");
...
return returnString;
-
RE: IE6 WTF
This only works on non-patched IE system, or the web browser control / IE ActiveX instances M$ fuxed (aka quick/sucky patch) it so the main browser window doesn't do that because of a security flaw.
-
RE: Blizzard Entertainment WTFs
I know your feeling, though I should be your archenemies; as I did some work for Cavedog Entertainment's "Boneyards Online Gaming" (Cavedog was the one that created Total Annihilation; aka Starcraft pwonage ;) ) heh. Though I wasn't a "sysop" I was more of a private contractor webdog community manager type position.
We had our own chat/hiding place in our "galaxy" too. It was a place where we could monitor all chat and so forth back in the early 2000's and login invisible to goto the different "planets" in the meta map ect...
Our rules weren't so strict as we used to openly chat on iRC and ICQ to players (during work) we sort of had free reign over what when on and how we acted. If a user was being an asshat we told them where to go, kick/baned them. Should have heard some of our conversation when kicking people... It made it all the sweater when they complained/fought back. Being an online god is fun, but you should be a fair and just one... Maybe it wasn't that single action that got you canned, but maybe you're whole overall performance / trigger happiness / power rush that lead to your demise?
-
RE: The internet is down!
@medialint said:
The Internet isn't down The Tubes are just clogged. I'll get some drano.
I recall when this happened, but being the geek I am. I thought the Senator was saying routers were made from "transistor Tubes" instead it seems he ment "tubing." ROFL