Cython 0.27 speeds Python by moving away from oddball syntax

Cython, the toolkit that allows Python code to be converted to high-speed C code, has a new 0.27 release that can now use Python’s own native typing syntax to speed up the Python-to-C conversion process.

Previously, Cython users could accelerate Python only by decorating the code with type annotations in a dialect peculiar to Cython. Python has its own optional syntax for variable type annotation, but Cython didn’t use it.

With Cython 0.27, Cython can now recognize PEP 526-style type declarations for native Python types, such as str or list. The same syntax can also be used to explicitly define native C types, using declarations like declaration like var: cython.int = 32.

To read this article in full or to leave a comment, please click here

Read more 0 Comments

Win 8.1 monthly rollup leaves customers unable to use Microsoft account

This month’s Patch Tuesday brought some weird Windows bugs, but this one’s probably the worst.

I’m seeing reports all over the web that folks running Windows 8.1 aren’t able to log in to their computers using a Microsoft account. Microsoft’s response at this point is that they’re aware of the problem, but if you want to use your machine, you need to log on with a local account.

cannot sign in to ms accountWoody Leonhard/IDG

That isn’t a whole lot of help for people who haven’t set up a local account or need to get to something on the machine that’s only available to the Microsoft account.

To read this article in full or to leave a comment, please click here

Read more 0 Comments

Why Tim Cook is ‘thrilled’ Apple just made smartphones boring

Apple has achieved something very smart: It has positioned the iPhone X as the new smartphone equivalent of an Aston Martin, making every other smartphone on the planet (including its own) boring. That’s why iPhone 8 sales are slack. Millions already want to spend $1,000 on the “future of smartphones.”

iPhone 8 sales reports

We’ve seen worldwide reports that the traditional queues outside Apple retail stores were lackluster for iPhone 8/Plus compared to previous iPhone releases.

To read this article in full or to leave a comment, please click here

Read more 0 Comments