Shared posts

18 Apr 18:37

What’s up with window message 0x0091? We’re getting it with unexpected parameters

by Raymond Chen

A customer, via their customer liaison, reported quite some time ago that their program stopped working on Windows XP. (I told you it was quite some time ago.)

The customer’s investigations revealed that the problem occurred because their window was receiving message 0x0091, and the parameters are wrong. Who is sending this message with the wrong parameters?

Okay, first of all, how do you even know that the parameters are wrong? The message is not listed in winuser.h or in MSDN (as it was then called).

We explained that message 0x0091 is an internal message that they should just pass to Def­Window­Proc unchanged. What makes the customer think that the message is being received with the wrong parameters?

The customer said that their program was using that message as a custom message, and now, in addition to getting it when their program sends the message, they are also getting spurious copies of the message with WPARAM and LPARAM values that don’t correspond to any values that the program itself sent.

We informed them that they shouldn’t have been using that message for their own purposes. Those messages are in the system-defined range, which means that they are off-limits to applications. If they want to send a private message, use one in the application space.

It’s like finding an empty closet in an office building and using it to store your bicycle, but now, when you come to work, you find that the closet is filled with other stuff and there’s no room for your bicycle any more. “Why is there stuff in that closet?” Because it wasn’t your closet in the first place.

The liaison took our advice back to the customer, but mentioned that the customer probably won’t like that answer. The message 0x0091 was not the only message they were using. They also used other messages below WM_USER, and they were all causing problems; they just wanted to start their investigation with 0x0091.

Oh well. But I hope it’s as simple as just changing a macro definition from

#define WM_MYSECRETMESSAGE 0x0091

to

#define WM_MYSECRETMESSAGE (WM_APP + 1020) // or something

Pick a message in the range available to applications for custom use.

The post What’s up with window message <CODE>0x0091</CODE>? We’re getting it with unexpected parameters appeared first on The Old New Thing.

18 Apr 17:13

HCC’s New Website Design Launches

by Joshua Jones, Staff Writer

On April 16, Houston City College concluded its “Ready, Set, Launch” website redesign project by launching its new interface.

As noted in the Board of Trustees’ April 15th meeting agenda, the project was developed to improve navigation across the main site and to ensure the college’s compliance with Title 2 of the Americans with Disabilities Act (ADA), which requires public colleges and universities to make their websites, web apps, and other digital content accessible to persons with disabilities. The agenda also notes that input from 200+ stakeholders was gathered and used to inform the new website’s structure, content, and visual design.

During the April 15th Board of Trustees meeting, HCC’s Vice Chancellor of Strategic Communications and Marketing, Rima Adil, Ed.D., gave a brief overview of the website redesign. In her overview, Adil noted that the new website features more intuitive navigation and a mobile-friendly design, and that it addresses the accessibility expectations of people with disabilities. Adil also noted that the redesign project had participation from across the district.

The Egalitarian caught up with Andrew Thai, a core project team member for the website redesign, during the April 15th Board of Trustees meeting. Thai, who served as the project’s technical lead, said the new website design is “prospective and student focused.” He also noted that one of his and his team’s priorities while developing the new site was “organizing the site in a way that students [could easily] find things.”

HCC’s new website is now available to everyone.

18 Apr 14:19

#Ryo #RoninWarriors

18 Apr 14:19

mst3kgifs: What you call hell, Ramos calls home.









mst3kgifs:

What you call hell, Ramos calls home.

18 Apr 14:18

Tips For Getting Better Haircuts

by The Onion Staff

Getting a haircut you truly love can be a challenge. The Onion shares tips for getting better haircuts.

Be as specific as possible when describing which Zootopia character you want to look like.

Tell your stylist what you want and, more importantly, what you’re willing to do to their family if you don’t get it.

Work with the face shape you have, be it oval, cube, or dodecahedron.

Make sure your hair is clean and free of booby traps and mines.

Sedate yourself before your appointment so you don’t struggle or bite. 

Experiment with a variety of haircuts to discover what decade of Rod Stewart’s hair works best for you.

Reflect on why you feel such a desperate desire to control the uncontrollable.

Just suck it up and go back to Shonda. You’re fighting, sure, but the girl still knows good hair.

Remember to redeem your hair trimmings at the prize counter.

The post Tips For Getting Better Haircuts appeared first on The Onion.

18 Apr 14:17

Oil Prices Plummet In Big Fuck-You To Americans Who Got Gas Yesterday

by The Onion Staff

WASHINGTON—In what is being characterized as a massive middle finger to millions of furious motorists, oil prices plummeted Friday, delivering a big fuck-you to all the Americans who gassed up their vehicles yesterday. “Nobody was hit harder than the suckers who filled their tanks mere hours before the ceasefire between Israel and Lebanon caused the price of a barrel of crude to plunge 10%,” said Georgetown University economics professor Elizabeth Murphy, adding that the sad chumps who figured that, if anything, prices would continue to climb actually would have saved money if they’d just waited a day. “Across the country, these simple rubes were lining up at their local gas stations to get ahead of the price hike they assumed was inevitable, totally unaware that relief was around the corner and that they were just pissing away their goddamn paychecks. While global petroleum is indeed experiencing a high degree of volatility, it’s just hard to feel sorry for these dum-dums.” At press time, oil prices spiked the very moment the same poor fucks reportedly pledged to hold off on refilling because they predicted everything would be stable for a while.

The post Oil Prices Plummet In Big Fuck-You To Americans Who Got Gas Yesterday appeared first on The Onion.

18 Apr 14:17

Sabrina Carpenter Turns Body Fully Inside Out In Horrific New ‘Juno’ Position

by The Onion Staff

INDIO, CA—Generating mixed reactions from festivalgoers during her headline performance at Coachella, pop star Sabrina Carpenter reportedly turned her body fully inside out Friday in a horrific new position for her song “Juno.” “Have you ever tried this one?” the singer said in an uncharacteristically cold, distorted voice, lowering herself to the stage and contorting her anatomy in a way that left some fans screaming and shoving as they attempted to flee the grounds and others simply standing there frozen with their mouths agape. “Hey, don’t run, Coachella. There’s nowhere to go.” At press time, sources confirmed the abomination had charged into the crowd.

The post Sabrina Carpenter Turns Body Fully Inside Out In Horrific New ‘Juno’ Position appeared first on The Onion.

18 Apr 14:16

Liberal tent now encompasses any political beliefs anyone has ever, or will ever, have

by Luke Gordon Field

“If you have ever thought anything about anything, you have a place in the Liberal Party.” Luke and the Panel (Ian MacIntyre, Clare Blackwood and Megan MacKay) talk about the Liberals’ by-election victories, Carney obtaining near total power, and Trump’s fight with DAAAAA Pope. Then the Approximately 10 Minute Long Quiz discovers the best/worst idea […]

The post Liberal tent now encompasses any political beliefs anyone has ever, or will ever, have appeared first on The Beaverton.

18 Apr 14:16

Humble Premier buys private jet second-hand

by Derek Schultz

QUEEN’S PARK – Salt-of-the-earth Ontarian Premier Doug Ford acknowledged that the province had made the ultimate sacrifice of getting him a used private jet for the discounted price of just $28.9 million. The province considered several options for this obviously non-negotiable form of transport, according to sources willing to speak for the notoriously-bashful Premier. “We […]

The post Humble Premier buys private jet second-hand appeared first on The Beaverton.

18 Apr 14:15

ALT

A comic of two foxes, one of whom is blue, the other is green. In this one, Blue is sitting by himself, reading a book, as he hears a strange rumbling sound. Blue looks up from his book, looking confused.
Blue, thinking: What kind of a person rearranges furniture this late at night?

The noise repeats, and Blue turns his head to look towards the direction it came fron.
Blue, still in thought: There it was again.

Investigating the source of the sound, Blue finds Green sleeping on the floor. The noise he heard was Green snoring.
Blue, thinking: Oh.ALT
18 Apr 14:14

Grrrreat! What are you? Tony the Tiger? #CowboyWho

18 Apr 14:14

What was that? Well, that was Indians Cowboy Sl...

What was that?
Well, that was Indians Cowboy Slim.
No that wasn't! That just the guy that hangs the lights and he's wearing some dumb costume! #CowboyWho

18 Apr 14:13

My my my, where should I begin? How about right...

My my my, where should I begin? How about right here ...

18 Apr 10:39

Europa Missions

Before resurfacing, they promise to inspect the ice for any evidence of hockey-playing life.
18 Apr 10:38

new moon

new moon

penitum

[img]:lxxora

description

new moon. metacity. right place. right time... i dip inside deb's antiques. if one wants to tempt fate - this must be how.

18 Apr 10:37

Illinois Weighs Early Warning System For Pesticide Spraying Near Parks, Schools

by By Gabriel Matias Castilho
What makes Illinois’ bill distinct is the parks provision within the spray area, as studies point to particle drift and widespread injury across non-target public and private lands.

By Gabriel Matias Castilho

A bill in the Illinois General Assembly would require certified pesticide users—anyone licensed by the Illinois Department of Agriculture to use Restricted Use pesticides, such as paraquat or fumigant insecticides—to give written or emailed notice at least 24 hours before application at any school, child care facility or park located within 1,500 feet of application that opted to receive them. 

17 Apr 16:41

mst3kgifs: So, basically, the hero is this guy. I think it’s...



mst3kgifs:

So, basically, the hero is this guy. I think it’s time we face that fact.

17 Apr 16:40

LeBron Clarifies Which Teammates Are, Are Not His Children

by The Onion Staff

LOS ANGELES—Seeking to clear up any ambiguity once and for all, four-time NBA Most Valuable Player LeBron James indicated to reporters Friday which of his Los Angeles Lakers teammates are and are not, in fact, his children. “Bronny James is the only blood relative I have on the team, and a helpful way to remember that is that he has the same legal first and last name as me,” said James, who went on to explain that while the public may understandably see him on the court beside players like Luka Dončić, Austin Reaves, and Luke Kennard and assume a familial bond, those men are not his sons “due to the fact that they are white people and I am not, which, genetically speaking, suggests there is no blood relation.” “Now, some of you may also be asking about Deandre Ayton. Is he my son? No. Would he be my son if we got married? I believe so, yes, but we are not married—just teammates. And if you’re wondering about any of the other guys on the team, here’s a fun rhyme you can say to know if they’re part of my family: ‘If it’s the name James you see, then he’s a son of me. But if you don’t see James, they’re just friends with whom I play games.’ Hopefully that makes sense.” At press time, James was reportedly preparing a color-coded family tree to keep in the Lakers locker room for reference should there be any lingering confusion.

The post LeBron Clarifies Which Teammates Are, Are Not His Children appeared first on The Onion.

17 Apr 16:40

Man Torn Over Which Shirt Worthy Of Wooden Hanger

by The Onion Staff

THOMASVILLE, GA—Paralyzed by the weight of the choice before him, local man Sam Corrigan reportedly spent several agonizing minutes Monday deciding which of his shirts was worthy of the single wooden hanger he owns. “I mean…it should probably be something with a collar, right?” said Corrigan, quietly holding up a nice $60 button-up he got on sale at Everlane before grimacing and tossing it aside. “I’d go with my suit jacket, but that’s already on the special cardboard hanger from the dry cleaners. Maybe a sweater’s the right move? I feel like wire hangers always leave weird little bumps in the shoulders. But, God, I don’t know. This is tough. Why do I even have a wooden hanger? I never bought it. Hmm. I mean, fuck, should I just use it for pants? My khakis? Is that insane? It feels insane.” According to reports, Corrigan was last seen pacing near his closet in small, anguished circles and angrily muttering, “Think, come on, think!”

The post Man Torn Over Which Shirt Worthy Of Wooden Hanger appeared first on The Onion.

17 Apr 16:39

All Marlins Walk-Up Songs Royalty-Free

by The Onion Staff
17 Apr 16:39

What Are We Protesting?

by The Onion Staff

The post What Are We Protesting? appeared first on The Onion.

17 Apr 16:39

Zoe Peters

by The Onion Staff

Zoe Peters died at 76 from a heart attack, assuming the medical examiner accepts her husband’s bribe.

The post Zoe Peters appeared first on The Onion.

17 Apr 16:38

Allbirds Pivots To AI

by The Onion Staff

In an announcement that caused its stock to rally almost 600%, Allbirds said it would stop making its well-known minimalist, sustainable shoes and become an AI infrastructure company. What do you think?

“But shoes are the future!”

Leandro Fonseca, Ice Chipper

“Will their AI also be terrible in wet conditions?”

Amara Oduya, Signage Overseer

“Must we relearn the lessons of the Avia–LA Gear Cyborg Wars?”

Tariq Farouk, Lantern Tester

The post Allbirds Pivots To AI appeared first on The Onion.

17 Apr 16:38

Coachella Cancels Weekend 2 After Drugs Found On Festival Grounds

by The Onion Staff

INDIO, CA—Expressing shock and disappointment at the conduct of so-called music fans, representatives for concert promoter Goldenvoice announced Friday that Coachella’s second weekend had been canceled after drugs were found on the grounds of the festival. “After discovering what we believe to be illegal substances within the bounds of Empire Polo Club, we have made the difficult decision to cancel Coachella weekend two,” read a statement released by Coachella co-founder Paul Tollett, confirming that organizers had alerted authorities and locked down the premises immediately after finding a small baggie containing a square of psychedelic mushroom chocolate as well as several loose pills that might have been obtained without a proper prescription from a doctor. “Drug use is absolutely unacceptable, and the idea that this behavior could possibly take place at a music festival of all places is deeply troubling. Even if this was a one-off incident, we can’t take the risk that festivalgoers could be watching Justin Bieber or Addison Rae in anything other than a completely lucid state.” At press time, Goldenvoice had announced that a 74-year-old D.A.R.E. instructor had been chosen to headline Coachella 2027.

The post Coachella Cancels Weekend 2 After Drugs Found On Festival Grounds appeared first on The Onion.

17 Apr 16:38

Live Nation CEO Sentenced To 10 Years In Online Queue

by The Onion Staff
17 Apr 16:38

TMZ Launches D.C. Bureau

by The Onion Staff

TMZ, the tabloid news organization known for sensationalized celebrity gossip, has opened a Washington bureau and turned its sights on politicians. What do you think?

“We’ve gone too long not knowing who Chuck Grassley canoodles with.”

Giulia Ricci, Retired Diarist

“Maybe they’ll catch Trump saying something scandalous on camera.”

Xander Anagnos, Gallery Sweeper

“I’ve always wanted to see Stephen Miller’s beach body.”

Thomas Whitehorse, Automation Proponent

The post TMZ Launches D.C. Bureau appeared first on The Onion.

17 Apr 16:37

Local man sent for psych evaluation after saying he enjoys sports without gambling

by Evan Klim

WINNIPEG – Local crisis workers have sent 32-year-old Ronald Alexander to Victoria General Hospital for psychological tests following disturbing reports that he has “never put money down on a single sporting event” and how he, more concerningly, “likes to watch sports for fun.” News of Ronald’s fandom has shocked those close to him, as many […]

The post Local man sent for psych evaluation after saying he enjoys sports without gambling appeared first on The Beaverton.

17 Apr 16:34

Saturday Morning Breakfast Cereal - Same

by Zach Weinersmith


Click here to go see the bonus panel!

Hovertext:
The key is to put the self-on-fire at the beginning of the video and promise to show that it technically cures cancer, but only if you watch to the end without skipping.


Today's News:
17 Apr 16:33

The ole bottom line

by John Allison

Lottie and Claire definitely perform a queue-jumping faux pas today. The mission ends as it begins, with a fog horn.

17 Apr 16:32

Part 3.51

Part 3.51