Hacker News new | comments | show | ask | jobs | submit | jasonjei's comments login

In the Portal 2 video game where the main character throws the erstwhile antagonist (now uneasy ally) GLaDOS computer "chip" into a potato, is that joke connected to this at all?

I was wondering the same thing!

I love Raymond--he's got an erudite knowledge of Windows lore. The fellow delivers such good Microsoft standup that you can almost imagine the deadpans as he does them. Despite the constant head shaking directed at Microsoft, you can't help but laugh at how things are. Nonetheless, Raymond has rescued me many times when looking for the Windows equivalent of doing something.

Here's one of Raymond's Win32 API write ups/hacks for enumerating threads in a process:

"The tool helper library is sort of the black sheep of Win32. It grew out of the 16-bit TOOLHELP library, which provided services for system debugging tools to do things like take stack traces and enumerate all the memory in the system. The original incarnation of Win32 didn't incorporate it; it wasn't until Windows 95 that a 32-bit version of the tool helper library sort of got bolted onto the side of Win32."

"That's what happens when you're the black sheep of the Win32 API."


I can attest that Visual Studio and Xcode can both feel laggy, especially with respect to C++ development and static analysis (Intellisense or whatever they call it). However, this may not be so much Microsoft's or Apple's fault as much as that IDE tools carry high overhead as they have to manage a lot of symbols from every header file referenced, including parameter lookups, etc.

On top of that, I think Xcode (like Eclipse) compiles your code as you type, leaving you no surprises until you need to link...

Xcode checks your code as you type (90% of the time, sometimes early errors, e.g. in a header, make it give up completely on a file). Compiling still is a separate step. Current versions of VS do the same, though, even for C++.

Visual studio compiles as you type. It has to, to work with e.g. 'auto'. Vs has two compilers actually, one that compiles as you type (and tries to guess what you mean more), and one for the real compile cycle.

Microsoft did a partnership like this before with Apple (Microsoft Office) but it didn't turn out so well for Apple. Wondering what the outcome would be like with Satya in the driver's seat.


A better comparison would be a situation where Microsoft partnered with a company over an operating system... Like IBM with OS/2 which turned out great, right? haha

Or let's look at when Microsoft partnered with Novell:


The byline from that article is classic! "Former software foes pledge to work together to help Windows world and Linux world interoperate."

Turned out great for Novell, right? Hah! Does anyone use SuSE anymore? It's market is so tiny it's hard to find statistics for it.

Other fun Microsoft partnerships: Nokia, Barnes & Noble, Best Buy, Yahoo, Nortel, Sendo, and probably dozens of smaller companies that came & went or are but a fraction of their former selves.

A more interesting thing to track: How is the partnership with Microsoft working out for Docker? I'm really curious what the heck Microsoft is going to do in the next version of Windows Server to actually support realistic containerization.


Thanks for all the examples where Microsoft pulled a Trojan. I totally agree. If Win32 embraces the Linux kernel calls to make Docker work without virtualization, is there a possible Embrace, Extend, and Extinguish plan? Or are businesses smart enough to avoid a repeat of ActiveX?

Microsoft made a pact with Sun back in the day where they would support Java. If memory serves, Microsoft supported a Java that only worked on Win32 using J/Direct calls that natively supported Win32 instead of being OS independent like most Java apps.


I'm not sure why you're reducing its worth despite 400 years since the letters and gospel were put together. Many exhibits in museums such as Taipei National Palace Museum might be what you call a "legend" or Chinese "imperial propaganda." These artifacts provide volumes of anthropological insight to the people of that era, even if the supposed acts are years removed (or for Buddhist or Taoist writings, there might not even be a measurable date for such recordings or chronicles).


What would it take to make the protections permanent instead of something that is renewed?


Just as K&R introduced us to "Hello, World," I'm amused they adapted their first program to an Unicode world: "Hello, 世界." Seems like a great first chapter, covering computer graphics and web server/byte fetching to boot.


> they adapted their first program to an Unicode world: "Hello, 世界."

Would be nice if you could compose those complicated Unicode characters from simpler building blocks, e.g.

    fmt.Printf("Hello, %a", "→↘𠃊廿↓田介")


I think that would be a fun way to practice kanji, but I'd much rather just type "seikai" and press enter. Modern IMEs are awesome.


I could see this being used in a desktop app using Chrome Embedded Framework or some embedded browser framework. Even if you are using HTML to generate views for your Desktop app, it could be very useful to use native-looking widgets to blend in.


And this what happens when you bring a Computer Scientist into the gym! One question: how well would a neural network recognize a more complex and involved exercise like Kettlebell Turkish Getup compared to an exercise with simple movement like Push-ups?


>And this what happens when you bring a Computer Scientist into the gym!

Ah, now I understand why it took so long for someone to do this! ;)


That's a good question! Turkish Getup's are very complex like you say. Given my current setup and window length, it's unlikely that it'll recognise them, because one rep is very long. Maybe if I did exercise based window lengths it could work better? I'm honestly not sure. But that is something to try out!


To be honest, a human seeing it for the first time would have a hard time identifying Turkish Getups too :)

Also, identifying good form--that's an app that could help a lot of amateur athletes.


I remember reading a piece by WIRED that discussed this phenomenon in Southern California: http://www.wired.com/2014/06/wuwt-traffic-induced-demand/ ("Building Bigger Roads Actually Makes Traffic Worse")


When the 880 connector between 980 and the Bay Bridge was rebuilt in 1998, traffic engineers were predicting that it would increase traffic congestion and lengthen almost all trips that used it or passed near it. And it did indeed slightly worsen the traffic conditions in the area compared to the interregnum after it fell down in the Loma Prieta quake in 1989. Traffic is still worse that it would be if CDOT just closed it and turned it into an urban garden or walking path with views or something.

That's not why it took so long to rebuild. The nine year process was the result of the usual corruption, insider jockeying, incompetence, bureaucracy, and lack of urgency from Bay Area government. The objections of CDOT and local residents that ardently opposed the freeway in their neighborhood were ignored and steamrollered as usual. Of course, the local officials, contractors, and CDOT shared and enjoyed the lucre from the $1,200,000,000 we all paid for the three mile connector.

Meanwhile the 1994 earthquake in LA triggered a special exception to the usual legal process where Gov Wilson could take personal responsibility for selecting a design, a contractor, a price, a schedule, and contract terms for rebuilding several segments of LA highway. They were all delivered on time and well under expected budget. Some were rebuilt in a couple months. No one had time to figure out if those could be beneficially abandoned.

And today Oakland and CDOT still cannot make the simple decision to admit error and close the 880 connector.



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact