[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>B-but windows NT is goo...

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 99
Thread images: 7

File: wangblows.png (25KB, 1204x509px) Image search: [Google]
wangblows.png
25KB, 1204x509px
>B-but windows NT is goo...
>>
>>61082754
Windows was built by code monkeys.
Code monkeys produce shit.
>>
Is this the Windows 2000 source code leak
>>
>>61083735
Yes
>>
More bugs, wew
//BUGBUG move this to a common location, it's currently in shdocvw\menubar.h
#define MBCID_GETSIDE 1
#define MENUBAR_LEFT ABE_LEFT
#define MENUBAR_TOP ABE_TOP
#define MENUBAR_RIGHT ABE_RIGHT
#define MENUBAR_BOTTOM ABE_BOTTOM

#define REGSTR_PATH_ADVANCED REGSTR_PATH_EXPLORER TEXT("\\Advanced")
HMENU GetStaticStartMenu();


//So much for trying to keep it self contained....
extern "C" HMENU Menu_FindSubMenuByFirstID(HMENU hmenu, UINT id); //plucked out of tray.c


// *** IUnknown methods ***
STDMETHODIMP CStartMenuHost::QueryInterface (REFIID riid, LPVOID * ppvObj)
{
if(IsEqualIID(riid, IID_IUnknown) ||
IsEqualIID(riid, IID_IOleWindow) ||
IsEqualIID(riid, IID_IDeskBarClient) ||
IsEqualIID(riid, IID_IMenuPopup))
{
*ppvObj = SAFECAST(this, IMenuPopup*);
}
else if(IsEqualIID(riid,IID_ITrayPriv))
*ppvObj = SAFECAST(this,ITrayPriv*);
else if(IsEqualIID(riid,IID_IShellService))
*ppvObj = SAFECAST(this,IShellService*);
else if(IsEqualIID(riid,IID_IServiceProvider))
*ppvObj = SAFECAST(this,IServiceProvider*);
else if(IsEqualIID(riid,IID_IOleCommandTarget))
*ppvObj = SAFECAST(this,IOleCommandTarget*);
else if(IsEqualIID(riid,IID_IWinEventHandler))
*ppvObj = SAFECAST(this,IWinEventHandler*);
else
{
*ppvObj = NULL;
return E_NOINTERFACE;
}

AddRef();
return NOERROR;
}
>>
It's so stupid how a lot of the OpenNT repos were taken down yesterday.
>>
>It's probably some legacy hack bullshit
>Yup, it's a legacy hack
Windows is built on insanely ancient code that nobody understand anymore because of its enormous size.
this is nothing new.
>>
>>61083922
This is probably a big part of why the "classic" shell died off.
>>
Nice
>>
>>61082754

Where can we take a look at the source?
>>
Is HACKHACK and BUGBUG a sort of way to identify these comments? Wonder if they have some sort of tooling to list these.
>>
>>61084021
I just searched win2k on qBitTorrent search engine
>>
>>61084033
Probably not
    /*
* Create the desktop window
*/
/*
* HACK HACK HACK!!! (adams) In order to create the desktop window
* with the correct desktop, we set the desktop of the current thread
* to the new desktop. But in so doing we allow hooks on the current
* thread to also hook this new desktop. This is bad, because we don't
* want the desktop window to be hooked while it is created. So we
* temporarily disable hooks of the current thread and its desktop,
* and reenable them after switching back to the original desktop.
*/

dwDisableHooks = ptiCurrent->TIF_flags & TIF_DISABLEHOOKS;
ptiCurrent->TIF_flags |= TIF_DISABLEHOOKS;

pwndDesktop = xxxCreateWindowEx(
(DWORD)0,
(PLARGE_STRING)DESKTOPCLASS,
NULL,
(WS_POPUP | WS_CLIPCHILDREN),
pdesk->pDispInfo->rcScreen.left,
pdesk->pDispInfo->rcScreen.top,
pdesk->pDispInfo->rcScreen.right - pdesk->pDispInfo->rcScreen.left,
pdesk->pDispInfo->rcScreen.bottom - pdesk->pDispInfo->rcScreen.top,
NULL,
NULL,
hModuleWin,
NULL,
VER31);

if (pwndDesktop == NULL) {
RIPMSG1(RIP_WARNING,
"xxxCreateDesktop: Failed to create the desktop window for pdesk %#p",
pdesk);
goto Error;
}

/*
* NOTE: In order for the message window to be created without
* the desktop as it's owner, it needs to be created before
* setting pdi->spwnd to the desktop window. This is a complete
* hack and should be fixed.
*/
pwndMessage = xxxCreateWindowEx(
(DWORD)0,
(PLARGE_STRING)gatomMessage,
NULL,
(WS_POPUP | WS_CLIPCHILDREN),
0,
0,
100,
100,
NULL,
NULL,
hModuleWin,
NULL,
VER31);
}
>>
>>61082754
>>61083922
Imagine what the theming engine code must look like.

It was soooo buggy in Vista+ that they removed it from Windows 8. It doesn't even work with XP-era win32 programs
>>
>>61082754
Jesus fuck why would you ever comment something like (LEL THIS IS A BUGGY HACK) rather than taking the time to fix it before it gets worse

fucking microshit
>>
>>61084386
hi kid, because they don't know what other stuff it will break and the code is overly dependent pile of shit and it was supposed to be released 2 weeks ago?
>>
>>61084386
MS devs don't get paid for fixing bugs, they get paid for new features. Remember that screenshot of the dev in the chatroom talking about what a fucked-up mess the W10 codebase is? One of the things in there was how he spent two hours fixing a priority-2 bug and his manager reprimanded him for not working on priority-1 features. Features sell shit, bugfixes don't
>>
>>61084440

lets see this screenshot!
>>
>>61084440
>he spent two hours fixing a priority-2 bug and his manager reprimanded him for not working on priority-1 features

absolutely cancerous corporate culture
>>
File: 1459301946459.png (1MB, 1300x4704px) Image search: [Google]
1459301946459.png
1MB, 1300x4704px
>>61084453
>>61084456
>>
>>61084481
>designated wincucks will defend this
>>
>>61084386
Usually, in these large and monolithic codebases, you get called in and scolded for undoing technical debt instead of adding new features like you were supposed to.
You're supposed to do as little as possible to get it to a working state.
This is the kind of attitude that gets you fired from microsoft.
>>
>>61084576
>implying any management working with monolithic codebases have ever even heard the phrase "technical debt"
lol
>>
>>61084890
Of course they wouldn't use the phrase, they'd bully you for fixing non-catastrophic issue tickets.
>>
If Microsoft had balls, they would rebuild Windows from the ground up.
Build the entire OS in C# / .NET.
Scrap the ancient procedural WinAPI for a clean, modular, OOP API.

There is enormous cost and risk associated with this, though, since it would break every piece of Windows-centric software ever written and cost the global economy trillions of dollars in man hours to rebuild.

But one can dream.
>>
>>61084974
They'd just fuck that up too, by layering new features and frameworks and shit on top of it, and maintaining the same "fixing bugs doesn't drive revenue" attitude.
>>
>>61085010
When I was NEET, I thought about writing an OS based on Linux but written entirely in C#. I wanted to call it Linux.NET.
But I'm not NEET anymore, so I don't have the time.

I just think it would be incredible to have OS-level APIs that are clean, easy to understand and maintain, and can be used in very modular fashions.
>>
>>61084974
>Build the entire OS in C# / .NET.
You are so retarded it hurts
>>
>>61084974
https://en.wikipedia.org/wiki/Midori_(operating_system)
>>
File: 1479441199287.png (56KB, 746x156px) Image search: [Google]
1479441199287.png
56KB, 746x156px
Comment thread?
>>
>>61082754
>>61083922
>Pajeet in charge of OSdev
>>
>>61084481
>unsourced screencap of anon making claims without proof
Got my hopes up for no reason, stop spreading this type of shit.
>>
>>61083922
What could the TEXT macro possibly do? Or MakeIntResource?
>>
>>61084481
This is fucking gold, someone have the thread archive or something, is too good to be true, linux at their side is a saint then, what the shit
>>
>>61084481
I have that whole thread saved
>>
>>61085555

share it nigga
>>
is anyone / any security researcher investigating the recent win10 driver source leaks yet?
>>
>>61085574
https://warosu.org/g/thread/S53741805
>>
Here is the the win2k src code
https://www.mediafire.com/?znlffyvnm89gefo
>>
There is at least a bug or hack for every file
/**************************************************************************\
* UserGetDesktopDC
*
* 09-Jan-1992 mikeke created
* Dec-1993 andreva changed to support desktops.
\**************************************************************************/

HDC UserGetDesktopDC(
ULONG type,
BOOL bAltType,
BOOL bValidate)
{
PETHREAD Thread;
HDC hdc;
PTHREADINFO pti = PtiCurrentShared(); // This is called from outside the crit sec
HDEV hdev = gpDispInfo->hDev;

if (bValidate && type != DCTYPE_INFO &&
IS_THREAD_RESTRICTED(pti, JOB_OBJECT_UILIMIT_HANDLES)) {

UserAssert(pti->rpdesk != NULL);

if (!ValidateHwnd(PtoH(pti->rpdesk->pDeskInfo->spwnd))) {
RIPMSG0(RIP_WARNING,
"UserGetDesktopDC fails desktop window validation");
return NULL;
}
}

/*
* !!! BUGBUG
* This is a real nasty trick to get both DCs created on a desktop on
* a different device to work (for the video applet) and to be able
* to clip DCs that are actually on the same device ...
*/
if (pti && pti->rpdesk)
hdev = pti->rpdesk->pDispInfo->hDev;

/*
* We want to turn this call that was originally OpenDC("Display", ...)
* into GetDC null call so this DC will be clipped to the current
* desktop or else the DC can write to any desktop. Only do this
* for client apps; let the server do whatever it wants.
*/
Thread = PsGetCurrentThread();
if ((type != DCTYPE_DIRECT) ||
(hdev != gpDispInfo->hDev) ||
IS_SYSTEM_THREAD(Thread) ||
(Thread->ThreadsProcess == gpepCSRSS)) {
hdc = GreCreateDisplayDC(hdev, type, bAltType);
}
LeaveCrit();
}
return hdc;
}

[/spoiler]
>>
>>61084974

Being realistic, this would guarantee a break in BC, which would be catastrophic for them. It was bad enough when Vista came out and noone's hardware drivers worked.
>>
>>61082754
OpenNT Source and SDK -
It's based on NT4 code, along with bits and pieces from windows 2000 code, reactOS code, and various other contributions from several different developers that want a botnet-free NT.

https://mega.nz/#!JSZ3wKzb!ZtxoSutHFwS9y-oZYTvApezwFwq-I8j7amytmQajLLI
>>
>>61086310
Couldn't they just run compatibility in a VM?

What did MacOS do when they switched to Intel from PowerPC?
>>
>>61086376
They created Rosetta, which IIRC did dynamic recompiling on the fly from PPC code to X86 code. Libraries were re-linked to x86 libs.

It was fast enough. Not a VM though. There was no protection against infecting the Rosetta environment.
>>
>>61084440
B-but, I was told capitalism rewarded excellence!
>>
>>61086404
It does, Windows is objectively the best OS out there for most consumers.
>>
>>61086404
capitalism rewards what people pay for. Sometimes this is excellence, but other times its just the opposite.

Companies spend a lot of money on marketing to try and get people to buy shitty products. If we were all textbook Ayn-Randian perfectly-rational specimens of Homo Economicus, this wouldn't work. Unfortunately, it does, and it's often an easier route to profit than quality.
>>
>>61086404
It rewards whoever is best at exploiting the market.
>>
>>61086434
>>61086496
So capitalism doesn't work. I'm shocked.
>>
>>61086514
It's like Democracy - the worst system, except for all the other ones.
>>
>>61086514
>doesn't work
Same as everything else, really.
>>
>>61086410
You mean Android, as proven by marketshare
>>
>>61086786
>Angry Birds machines
>muh marketshare
kek
>>
>>61087561
The same could be said of Windows anything, specially everything past Windows 7
>>
>>61087575
Well except Windows is actually used on productive and mission critical applications, anon.
>>
>>61087591
The same can be said of Android, there's plenty of full retards doing mission critical applications on the most retarded platforms, like Windows 10 and Android
>>
File: 1497027091963.jpg (178KB, 462x465px) Image search: [Google]
1497027091963.jpg
178KB, 462x465px
>>61084386
You think its even possible to fix any of this shit when state is probably spread across dozens of files. There's probably other code that relies on these bugs that would break.
>>
>>61086514
wtf I am now a #communism missile
>Executes all people in STEM for being potential dissidents
>Starves everyone
>OH FUG IT FAILED AGAIN
>>
>>61087614
You don't need to become a commie just because you recognized capitalism doesn't work, anon.
>>
>>61087602
Walk into any office and find one actual desktop being used for office productivity purposes that's running Android then. Take a picture of it and post it in here when you find it. I'll wait.
>>
>>61087633
Literally a vast amount of the phones people are carrying, desktop isn't everything and in fact most stuff is done through smartphones
>>
>>61087668
>carrying
That's the keyword there. Walk into any office, and you'll see people working on the Windows desktops WITH THEIR PHONES IN THEIR POCKETS OR ON STANDBY OVER THE DESK.

>most stuff is done through smartphones
Cool, name a few.
>>
Fucking capitalist consumer sheep, why do they keep paying for products that don't serve their purpose?
>>
This the code made by REAL coders and now the same code is handled by cheap indians.

Makes you think.
>>
who are quoting? no one said this
>>
>>61084481
If things were even remotely that fucked up at Microsoft, Windows would be several orders of magnitude shittier than it already is. Like, you'd boot up and try to double-click on a folder but it'd bluescreen or something.
>>
>>61088318
>Like, you'd boot up and try to double-click on a folder but it'd bluescreen or something.
You're not exaggerating as much as you think. There is a bug all the way up to Windows 8 (and maybe later but I cannot verify this) where sometimes for unknown reasons, Paint will use all your RAM, and then bluescreen. I remember my friend on Windows 7 was telling me about it happening to him and I didn't belive him. For some reason, within two weeks of hearing about it, it happened on my fresh Windows 8 install. I think I have two instances of Paint open, which may have accelerated the issue. I had 16GB of RAM and nothing else major open at the time.

I don't use Windows anymore, but that's a story I like to share.
>>
>>61083993
lmao
>>
>>61088318
most of the old school bluescreens were from bad drivers, they did creates some kind of driver verification toolkit that cleaned up a lot of that which is why its a lot more stable than it used to be. still pretty shit compared to *nix but hey i'm sure systemd will give them a run for their money.
>>
Are those snippets something new or from some old leak?


desu, if windows is shit and was created by shit devs and yet it won with linux

what does this mean?
>>
File: 1300320489077.jpg (15KB, 291x241px) Image search: [Google]
1300320489077.jpg
15KB, 291x241px
>>61088664
>if windows is shit and was created by shit devs and yet it won with linux
>what does this mean?
My thoughts exactly, what the fuck does your sentence mean?
>>
>>61088664
I have heard that some Windows 10 code leaked, 32 TB of it

https://www.overclockers.ua/news/hardware/2017-06-25/120549/
>>
>>61088664
english link
http://www.theregister.co.uk/2017/06/23/windows_10_leak/
>>
>>61088692
is my sentence gibberih for english native?
>>
>>61088752
Yes.
>>
>>61088769
ok, could you point out grammar errors?
>>
>>61088701
nah, it's 12GB(12*aprox 1GB driver builds), actually.
>>
>>61088808
The whole sentence doesn't make sense, I don't even know what you're trying to say.

It starts with an "if", but there's never a "then why". Not to mention that the question mark is missing. And it it's not a question, what the hell is the "if" for?

And even if you wanted to say:
>if windows is shit, then why it won with linux?
What is "it won with linux" supposed to mean? What's "it" referring to? Windows? Windows won with linux? What?
>>
>>61088664
Linux users don't have the cash or power over OEM's or other deciding agents
>>
Which is more embarrassing: that the secret code was exfiltrated, or that the code is so shitty?
>>
>>61085514
Isn't TEXT() just a conditional wrapper returning various types of string? I think of modern Windows it returns wide strings.
>>
>>61088921
Everyone already knew it would be shitty, so that's not really that embarrassing anymore.
>>
https://ghostbin.com/paste/wf2f2
>>
>>61084487

>unwashed lincucks will blindly believe this
>>
>>61085188

Ever try actually reading the file yourself? It's commented like that because it's in the middle of the Xbox 360 settings, you fucking idiot.
>>
>>61087561
I love how marketshare used to be for wincucks the ultimate proof of the superiority of their OS and now they're like
>market share? That doesn't says anything about the quality of the OS!
>>
>>61088664
Sorry but now your own buddies consider that market share is not an indicator of quality >>61087561
>>
>>61088990
Unwash my dick
>>
>>61085050
>>61085072
This was kinda my point. It's possible. We know it's possible, and Microsoft knew it was the way to go.
But Windows is so ingrained into society now that it isn't really feasible to do.
>>
>>61084311
>It was soooo buggy in Vista+ that they removed it from Windows 8.
What they actually did is force the theme on all the time. Why, you ask? Because metro does not work without DWM anyway. So they implemented a software DirectX renderer for that.

There exist some hacks to disable the themes.
>>
>>61084440
>MS devs don't get paid for fixing bugs, they get paid for new features
Wrong, that was IBM with OS/2.
>>
>>61084974
>Scrap the ancient procedural WinAPI ...
Microsoft constantly (claim they will) scrap support for older APIs.
That's why Framework and other "trends" are constly "innovated".

The reason is to prevent copycat OS (ReactOS and various emulators) to make something that reliably can run all WinOS software.

That's why they make MSVC compilers link shit differently with each new version (unless you manually change it).
The bloated APIs with millions of different ways to do things, makes Windows a living hell to emulate, and that's how Microsoft keeps ahead of the competition.
It's definitely not by making tight, fast code.
>>
>>61091311
Does anyone use MSVC? It's a terrible compiler.
>>
>>61086404
>>61086410
>>61086434
>>61086496
>>61086514
Capitalism doesn't apply to non-free software, as with any other sort of IP, it has state protection from free market economics.
>>
>>61091311
Microsoft did nothing wrong, you're free to do the same on your crappy OS. The difference is: Windows has actual softwares written for it. And THAT's why it's ahead of the competition to begin with: because it's actually good. Get people to write software for your dogshit OS and stop whining.
>>
>>61091505
Without copyrights and patents, what's the incentive to innovate?
>>
>>61091531
Patents are one thing, they have a much reduced duration and although the idea is good, these days a reform is necessary. Patent law 99% of the time is easy money for parasite patent trolls and patent law lawyers. And software patents in particular is a cancerous concept that has NEVER, not ONCE produced something useful.

About copyright, the fact that civil law (a noble Roman system) >>>>> common law (an anglo-barbarian shitfest), and by consequence that author right's >>> copyright, it is another issue.

As seen from our world as it is, the only way a software like Windows can succeed is by establishing monopolies through proprietary lockdown, leeching by continuous dependence and prohibiting others from working on your intentionally shitty solutions.

There's a good reason why Android dominated smartphones, tablets and now TVs too.
>>
>>61091531
>Without copyrights and patents, what's the incentive to innovate?
Millions of things will get invented without patents because the most innovative people are usually young academics who gets a kick out of the glory and fame of having invented something cool.
Publishing discoveries and getting circlejerk admiration from the scientific community is pretty much what these non-jews want. They care not for patents! And patent lawyers care not for them - they only sue them.

Copyrights is a mess and 2k chars doesn't cut it to even mention that in some form it's still needed.
>>
>>61091531

Gee I dunno, Humans thrived for centuries without them.

>>61091311

Ironic that this was their doom in the end. Much like their OS, MS was so bloated and lethargic their time to market was slow.. A real issue if something not x86 comes along under your nose that you have to support but not directly in bed with yet. It's something they could have fixed leading into Vista but thats just not Microsoft's style.
Thread posts: 99
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.