Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!


microsoft dreamboat raymond chen has a delightful blog explaining things like the J that sometimes shows up in email:

The J started out its life as a smiley-face.

why handling usb devices is crappy:

Things suck because (1) things were already in bad shape—this would not have been a problem if the device had a proper serial number—and (2) once you're in this bad state, the alternative sucks more.

and windows history like executable file headers

all hail raymond chen

Adbot
ADBOT LOVES YOU

Cybernetic Vermin
Apr 18, 2005

http://blogs.msdn.com/b/oldnewthing/archive/2005/07/15/439261.aspx

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!

good one!

i also like how raymond doesn't put up with poo poo from bad developers:

http://blogs.msdn.com/b/oldnewthing/archive/2010/03/11/9976571.aspx

quote:

Don't touch that knob; the knob is there for the customer, not for the program. And it's there to clean up after your mistakes, not to let you hide behind them.

It's like saying, "I normally toss my garbage on the sidewalk in front of the pet store, and every morning, when they open up, somebody sweeps up the garbage and tosses it into the trash. But the pet store isn't open on Sundays, so on Sundays, the garbage just sits there. How can I get the pet store to open on Sundays, too?"

The correct thing to do is to figure out what your program is doing wrong and fix it. You can use the Application Compatibility Toolkit to see all of the fixes that go into the Windows XP compatibility layer, then apply them one at a time until you find the one that gets your program running again. For example, if you find that your program runs fine once you apply the VersionLie shim, then go and fix your program's operating system version checks.

But don't keep throwing garbage on the street.

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord
I like reading raymond chen's stuff, I'm thinking about getting his book, thoughts?

power botton
Nov 2, 2011

Symbolic Butt posted:

I like reading raymond chen's stuff, I'm thinking about getting his book, thoughts?

nope

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

raymond chen and oldnewthing are very good, i approve this thread

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!
fun fact the notification area is not and never has been the "tray": http://blogs.msdn.com/b/oldnewthing/archive/2003/09/10/54831.aspx

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

A Wheezy Steampunk posted:

fun fact the notification area is not and never has been the "tray": http://blogs.msdn.com/b/oldnewthing/archive/2003/09/10/54831.aspx

that is a fun fact

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

A Wheezy Steampunk posted:

fun fact the notification area is not and never has been the "tray": http://blogs.msdn.com/b/oldnewthing/archive/2003/09/10/54831.aspx

still callin it the system tray tho

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!
i enjoy his security posting as well

http://blogs.msdn.com/b/oldnewthing/archive/2014/12/17/10581257.aspx

quote:

A security vulnerability report came in that went something like this:

quote:

Disclosure of arbitrary data from any user

An attacker can obtain arbitrary data from any user by means of the following steps:

1. Obtain administrative access on the domain controller.
2. Stop the XYZZY service.
3. Edit the XYZZY.DAT file in a hex editor and changes the bytes starting at offset 0x4242 as follows:
4. ...

http://blogs.msdn.com/b/oldnewthing/archive/2007/08/07/4268706.aspx

quote:

In order to trigger the vulnerability, the user has to run the compromised program, but a program is already arbitrary code. No need to be so sneaky about it. It's sort of a tautology: "Here's my clever way to get the user to run my code. Step 1: Write some code. Step 2: Get the user to run it."

A Wheezy Steampunk fucked around with this message at 21:34 on Jun 15, 2015

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'


http://blogs.msdn.com/b/oldnewthing/archive/2007/08/07/4268706.aspx
[/quote]

yeah he has quite a few posts where he basically says "if your exploit begins with 'gain admin access' you don't have an exploit at all"

maniacdevnull
Apr 18, 2007

FOUR CUBIC FRAMES
DISPROVES SOFT G GOD
YOU ARE EDUCATED STUPID


yeah he has quite a few posts where he basically says "if your exploit begins with 'gain admin access' you don't have an exploit at all"
[/quote]

Yeah

That and "while physically inside the datacenter, first..." look dude if you got in the loving door then you have completed your exploit already

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp
I don't know who this is.

Farmer Crack-Ass
Jan 2, 2001

this is me posting irl

Jonny 290 posted:

I don't know who this is.

raymond chen is a dude who's worked at microsoft for decades and has a huge amount of institutional knowledge/history/trivia about the decisions that went into windows and sometimes posts about them


sometimes he also posts about the seattle symphony or w/e

The_Franz
Aug 8, 2003

A Wheezy Steampunk posted:

i also like how raymond doesn't put up with poo poo from bad developers:

http://blogs.msdn.com/b/oldnewthing/archive/2010/03/11/9976571.aspx

note that this is right before they broke their version checking api in win8 so that bad programmers wouldn't have to fix their lovely software.

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp

Farmer Crack-rear end posted:

raymond chen is a dude who's worked at microsoft for decades and has a huge amount of institutional knowledge/history/trivia about the decisions that went into windows and sometimes posts about them


sometimes he also posts about the seattle symphony or w/e

Fascinating

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!
this is also an interesting article but i'm not sure how correct it is since i'm not a programmer

http://www.joelonsoftware.com/articles/APIWar.html

quote:

I first heard about this from one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it, a major no-no that happened to work OK on DOS but would not work under Windows where memory that is freed is likely to be snatched up by another running application right away. The testers on the Windows team were going through various popular applications, testing them to make sure they worked OK, but SimCity kept crashing. They reported this to the Windows developers, who disassembled SimCity, stepped through it in a debugger, found the bug, and added special code that checked if SimCity was running, and if it did, ran the memory allocator in a special mode in which you could still use memory after freeing it.

I've got DOS applications that I wrote in 1983 for the very original IBM PC that still run flawlessly, thanks to the Raymond Chen Camp at Microsoft. I know, it's not just Raymond, of course: it's the whole modus operandi of the core Windows API team. But Raymond has publicized it the most through his excellent website The Old New Thing so I'll name it after him.

pram
Jun 10, 2001
lol

Breakfast All Day
Oct 21, 2004

close thread and reopen as everybody loves raymond

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!

Breakfast All Day posted:

close thread and reopen as everybody loves raymond

gently caress you're right

mods?????

echinopsis
Apr 13, 2004

by Fluffdaddy
Raymond chem sounds like a bloody legend

Cybernetic Vermin
Apr 18, 2005

ah, heres a classic: http://blogs.msdn.com/b/oldnewthing/archive/2007/12/24/6849530.aspx

i legit changed my mind on microsoft and the entire idea of compatibility and the mess of their engineering from raymond chens blog

PleasureKevin
Jan 2, 2011

Cybernetic Vermin posted:

ah, heres a classic: http://blogs.msdn.com/b/oldnewthing/archive/2007/12/24/6849530.aspx

i legit changed my mind on microsoft and the entire idea of compatibility and the mess of their engineering from raymond chens blog

i presume it connived you it was a mess?

Cybernetic Vermin
Apr 18, 2005

i already knew it was a mess, it convinced me that the mess exists for extremely well-founded reasons, and the impulse towards some ideal of purity and cleanliness with no clear motivation is one of the worst extremely common programmer traits

a foolish consistency is the hobgoblin of little minds etc.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Cybernetic Vermin posted:

i already knew it was a mess, it convinced me that the mess exists for extremely well-founded reasons, and the impulse towards some ideal of purity and cleanliness with no clear motivation is one of the worst extremely common programmer traits

a foolish consistency is the hobgoblin of little minds etc.

Yeah I have a programmer friend who I used to work with and he wrote like 4 lines of code because he could never come up with a new perfect model

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!
good morning raymond fans

in this morning's article, raymond gets zen about space cadet pinball: http://blogs.msdn.com/b/oldnewthing/archive/2014/05/13/10524731.aspx

Cybernetic Vermin
Apr 18, 2005

hackbunny is raymond btw, that reactos thing is the weakest joke cover ever

i always liked this anecdote: http://blogs.msdn.com/b/oldnewthing/archive/2003/08/22/54679.aspx

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!
there's also this totally :pcgaming: trick for fetching a window that was lost offscreen: http://blogs.msdn.com/b/oldnewthing/archive/2009/05/11/9601136.aspx

Meat Beat Agent
Aug 5, 2007

felonious assault with a sproinging boner

A Wheezy Steampunk posted:

there's also this totally :pcgaming: trick for fetching a window that was lost offscreen: http://blogs.msdn.com/b/oldnewthing/archive/2009/05/11/9601136.aspx

i remember discovering this by accident somehow on windows 98 because i used to use some weird programs that would just start up way the gently caress off screen sometimes for no apparent reason. i haven't had to do that in a long time but somehow i'm glad it's still valid advice

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!
Help me optimize this code which enumerates all possible GUIDs

Meat Beat Agent
Aug 5, 2007

felonious assault with a sproinging boner

http://forums.somethingawful.com/showthread.php?threadid=3421173

treasure bear
Dec 10, 2012


classic pose

Fanged Lawn Wormy
Jan 4, 2008

SQUEAK! SQUEAK! SQUEAK!
holy poo poo the j email thing

our morning email from the front office that lists meetings, people out on biz, visitors etc always says "HAVE A GREAT DAYJ" at the end and I always figured it was some weird problem with the lady's email sig since her name starts with j.

A Wheezy Steampunk
Jul 16, 2006

High School Grads Eligible!

lol

Fanged Lawn Wormy posted:

holy poo poo the j email thing

our morning email from the front office that lists meetings, people out on biz, visitors etc always says "HAVE A GREAT DAYJ" at the end and I always figured it was some weird problem with the lady's email sig since her name starts with j.

yeah it's a real neat thing to know :)

maniacdevnull
Apr 18, 2007

FOUR CUBIC FRAMES
DISPROVES SOFT G GOD
YOU ARE EDUCATED STUPID


SQL:

code:

-- Generate: 0000000000 to 9999999999 ;with x as ( select '0' as digit union select '1' union select '2' union select '3' union select '4' union select '5' union select '6' union select '7' union select '8' union select '9' ) select billions.digit + hundredmillions.digit + tenmillions.digit + thousands.digit + hundreds.digit + tens.digit + ones.digit from x ones cross join x tens cross join x hundreds cross join x thousands cross join x tenthousands cross join x hundredthousands cross join x millions cross join x tenmillions cross join x hundredmillions cross join x billions

You're welcome 

e:
Don't forget to run this on your production db during business hours. Y'know, just to be safe or something.




i like the cut of his jib

Heresiarch
Oct 6, 2005

Literature is not exhaustible, for the sufficient and simple reason that no single book is. A book is not an isolated being: it is a relationship, an axis of innumerable relationships.

i really want to know if this was a real request for help that he received

also chen is awesome in the same way that guy who blogs about horribly dangerous chemicals is, "wow this is interesting because it's happening to somebody else"

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
raymond chen makes me appreciate apple that much more because they don't humor all that dumb backwards compatibility stuff

Farmer Crack-Ass
Jan 2, 2001

this is me posting irl
http://blogs.msdn.com/b/oldnewthing/archive/2015/04/07/10605693.aspx

quote:


From: Adam Smith
Subject: Nosebleed Service : Major Incident Notification - Initial
Date: mm/dd/yyyy 1:16AM

Major Incident Notification

dfdsfsd

Affected Users

fdfsdfsdf
Start: mm/dd/yyyy 12:00AM Pacific Standard Time
mm/dd/yyyy 8:00AM UTC
End: No ETA at this time.

Incident Duration: 1 hour 15 minutes

Impact

fsdfdsfsdf

Continued Notifications

fdsfsdf

Information & Support

Other Support: Please send questions or feedback to

Thank you,

Adam Smith
IT Major Incident Management

lol

Sweevo
Nov 8, 2007

i sometimes throw cables away

i mean straight into the bin without spending 10+ years in the box of might-come-in-handy-someday first

im a fucking monster

Tiny Bug Child posted:

raymond chen makes me appreciate apple that much more because they don't humor all that dumb backwards compatibility stuff

it's a lot easier to start from scratch every five years on platforms nobody uses

Adbot
ADBOT LOVES YOU

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp

Sweevo posted:

it's a lot easier to start from scratch every five years on platforms nobody uses

don't leak the microsoft playbook like that

  • Locked thread