| View previous topic :: View next topic |
| Author |
Message |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Mon Apr 02, 2012 3:31 am Post subject: where can i get Galaxy Tab 10.1 for a good price ? |
|
|
| i'm not paying 500$ for this tablet... -_- |
|
| Back to top |
|
 |
Sui Expert Cheater
Reputation: 7
Joined: 04 Sep 2008 Posts: 119
|
Posted: Mon Apr 02, 2012 3:40 am Post subject: |
|
|
In my ass.
LOLOLO ROFL LMOA XD I TROLL U LOL!11
HEHEH buttmad pwned nub hardc0re br00tal. _________________
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Mon Apr 02, 2012 10:25 am Post subject: |
|
|
| Sui wrote: | In my ass.
LOLOLO ROFL LMOA XD I TROLL U LOL!11
HEHEH buttmad pwned nub hardc0re br00tal. |
Lol ? |
|
| Back to top |
|
 |
Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
|
| Back to top |
|
 |
Sui Expert Cheater
Reputation: 7
Joined: 04 Sep 2008 Posts: 119
|
Posted: Mon Apr 02, 2012 10:31 am Post subject: |
|
|
| I cant sleep wrote: | | Sui wrote: | In my ass.
LOLOLO ROFL LMOA XD I TROLL U LOL!11
HEHEH buttmad pwned nub hardc0re br00tal. |
Lol ? |
It's a reference to your posts.
Digg it nigger? _________________
|
|
| Back to top |
|
 |
Maes Advanced Cheater
Reputation: 10
Joined: 09 Apr 2009 Posts: 50
|
Posted: Mon Apr 02, 2012 10:50 am Post subject: |
|
|
hey
buy an ipad _________________
Account reclaimed by former owner? |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Apr 03, 2012 4:04 am Post subject: |
|
|
| shit too bad. guess selling pascal keyloggers isn't where the big bucks are at right now |
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Tue Apr 03, 2012 4:09 am Post subject: |
|
|
| Slugsnack wrote: | | shit too bad. guess selling pascal keyloggers isn't where the big bucks are at right now |
I would probably scan my pc with an up to date virus scanner to make sure you're too dumb enough to get infected by a pascal keylogger.  |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Apr 03, 2012 4:29 am Post subject: |
|
|
x0r is not a badass. exhibit A: snippets
even from a quick glance, there is something wrong with every single 'snippet' in there:
| Code: | DWORD FindProcessForFags(__in_z LPCTSTR lpcszFileName)
{
PROCESSENTRY32 ProcessEntry;
HANDLE hSnapshot;
DWORD dwProcessId = 0;
hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
if (hSnapshot != INVALID_HANDLE_VALUE)
{
ProcessEntry.dwSize = sizeof(PROCESSENTRY32);
if (Process32First(hSnapshot, &ProcessEntry))
{
do
{
if (!lstrcmpi(ProcessEntry.szExeFile, lpcszFileName))
{
dwProcessId = ProcessEntry.th32ProcessID;
break;
}
} while (Process32Next(hSnapshot, &ProcessEntry));
}
CloseHandle(hSnapshot);
}
return dwProcessId;
} |
first off, why the fuck are we using LPCTSTR, when it is useful only for computers running win98 or less. BUT OH SHIT we're actually using createtoolhelp32snapshot here which has a minimum supported client of winxp and server 2003 and will be used to target games running only on xp+ -.-
not only does x0r use tchar where completely unnecessary but he then fails to use it properly! lstrcmpi? please. it beats me why you would want to do a case insensitive match in this context, but treating the TCHAR pointer as a UNICODE string only...? _tcscmp, anyone?
| Code: | DWORD FindProcess(__in_z LPCTSTR lpcszFileName)
{
LPDWORD lpdwProcessIds;
LPTSTR lpszBaseName;
HANDLE hProcess;
DWORD i, cdwProcesses, dwProcessId = 0;
lpdwProcessIds = (LPDWORD)HeapAlloc(GetProcessHeap(), 0, MAX_PROCESSES*sizeof(DWORD));
if (lpdwProcessIds != NULL)
{
if (EnumProcesses(lpdwProcessIds, MAX_PROCESSES*sizeof(DWORD), &cdwProcesses))
{
lpszBaseName = (LPTSTR)HeapAlloc(GetProcessHeap(), 0, MAX_PATH*sizeof(TCHAR));
if (lpszBaseName != NULL)
{
cdwProcesses /= sizeof(DWORD);
for (i = 0; i < cdwProcesses; i++)
{
hProcess = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, lpdwProcessIds[i]);
if (hProcess != NULL)
{
if (GetModuleBaseName(hProcess, NULL, lpszBaseName, MAX_PATH) > 0)
{
if (!lstrcmpi(lpszBaseName, lpcszFileName))
{
dwProcessId = lpdwProcessIds[i];
CloseHandle(hProcess);
break;
}
}
CloseHandle(hProcess);
}
}
HeapFree(GetProcessHeap(), 0, (LPVOID)lpszBaseName);
}
}
HeapFree(GetProcessHeap(), 0, (LPVOID)lpdwProcessIds);
}
return dwProcessId;
} |
yet again, we see a horrible mix of tchar and unicode. let's reiterate once more the reason for tchar, to support unicode and non-unicode versions of windows. but yet we see usage of unicode-specific APIs. right on there, bitch boy!
there exist many more signs of a less than mediocre programmer, most notably:
casting pointers in C is not only an unidiomatic practice common in noobs not properly understanding the language standard but also something which is dangerous and potentially hides errors (again something any proficient C programmer knows)
i'm lazy to go into more details now. i'm sorry for debunking your great hero, hope you didn't take it too badly. everyone is a noob at some point. smart people don't try to couple unfounded arrogance with mediocrity, a trait you and your beloved x0r have in common. don't compare me to that retard (and transitively, also you)
| I cant sleep wrote: | | Slugsnack wrote: | | shit too bad. guess selling pascal keyloggers isn't where the big bucks are at right now |
I would probably scan my pc with an up to date virus scanner to make sure you're too dumb enough to get infected by a pascal keylogger.  |
and don't make retarded posts comparing me to x0r and then edit them out to something even stupider before i post |
|
| Back to top |
|
 |
Aviar³ Grandmaster Cheater
Reputation: 50
Joined: 03 Jan 2008 Posts: 655 Location: Canada
|
Posted: Tue Apr 03, 2012 4:39 am Post subject: |
|
|
I see what the problem seems to be here, looks like you have Windows installed. To everyone, enjoy programming in a language so heavily mutated by libraries and APIs that its keywords seemed to be marred and mutated by the sheer weight of added types. _________________
This is the inception of deception, checking the depth of your perception.
 |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Apr 03, 2012 4:42 am Post subject: |
|
|
| Aviar³ wrote: | | I see what the problem seems to be here, looks like you have Windows installed. To everyone, enjoy programming in a language so heavily mutated by libraries and APIs that its keywords seemed to be marred and mutated by the sheer weight of added types. |
windows has no language keywords...? what are you talking about? do you mean how there are many typedefs scattered around the winapi (coincidentally related to C only because it happens to be one language which allows them)?
anyway. 'keywords marred and mutated'?! |
|
| Back to top |
|
 |
Aviar³ Grandmaster Cheater
Reputation: 50
Joined: 03 Jan 2008 Posts: 655 Location: Canada
|
Posted: Tue Apr 03, 2012 4:48 am Post subject: |
|
|
| Slugsnack wrote: | | Aviar³ wrote: | | I see what the problem seems to be here, looks like you have Windows installed. To everyone, enjoy programming in a language so heavily mutated by libraries and APIs that its keywords seemed to be marred and mutated by the sheer weight of added types. |
windows has no language keywords...? what are you talking about? do you mean how there are many typedefs scattered around the winapi (coincidentally related to C only because it happens to be one language which allows them)?
anyway. 'keywords marred and mutated'?! |
I meant that using the Windows API with C(++) code often seems to turn it into 90% Windows API defined data types and functions, with 10% language keywords and STL constructs. Seems way too damn intrusive, to the point where the only distinguishable characteristics of the original language seem to be its logic constructs and comparison operators. _________________
This is the inception of deception, checking the depth of your perception.
 |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Apr 03, 2012 4:53 am Post subject: |
|
|
| it is no coincidence that many popular APIs and libraries abstract away where possible and appropriate from language primitives. this is a common practice in software engineering even in OOP languages such as java - abstracting from primitives to create a domain specific language |
|
| Back to top |
|
 |
Aviar³ Grandmaster Cheater
Reputation: 50
Joined: 03 Jan 2008 Posts: 655 Location: Canada
|
Posted: Tue Apr 03, 2012 4:58 am Post subject: |
|
|
DSLs are common use, but I still think type safety is a matter of language specification, and that keeping knowledge requirements for a API to a minimum so as to allow for people to ease into it with less difficulty. On the contrary, people might as well read Programming with the Windows API as a language instead of as a library (compiler details not withstanding). I can't comment on the official productivity of using such methods, as I've never built a DSL (nor have I ever felt the need to), and can only offer my views as far as personal tastes go. _________________
This is the inception of deception, checking the depth of your perception.
 |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Apr 03, 2012 5:26 am Post subject: |
|
|
| Honestly, it is difficult to convince you of this until you spend a lot of time using large libraries. You will then start to see how a good API and bad API differ. One way of coming to this realisation is through a few years in industry. In the meantime, I would advise practising with large libraries and frameworks where you can get a headstart on things such as dependency injection (spring), dependency management (ivy), etc. no doubt you have been taught about these theoretically but perhaps you did not understand the value yet |
|
| Back to top |
|
 |
|