Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment What for you need QHD on mobile phone display? (Score 1) 20

What for you need QHD on mobile phone display? Maybe for VR but other purposes? Why? Processing power for such display is significant - so significant that you can disable it to conserve battery which is a MOBILE phone most valuable resource. So wny? Why QHD in mobile? What is the use case for that?

Comment Windows 10 which edition? (Score 1) 159

I don't really love Microsoft or Windows. Actually I am professionaly an Linux Support Specialist so mind you.

I use Windows 10 and all browsing I am doing on Windows is from Chrome. I have never seen any ad on my Windows 10 nor any nagging to use MS Edge. Maybe it is related to the fact that I am using Pro version of Windows? Or what? I read all that Windows 10 bashing and quite frankly I find it better than Windows 7...

Comment Re:Because Programmers Make Bad Decisions (Score 1) 187

Sorry, no. They broke strings entirely in Python 3.0 and that is why people cannot port to them.

Here is how to do strings correctly: use UTF-8 and DO NOT BARF ON ENCODING ERRORS!

It is absolutely 100% a requirement that a program be able to read a random byte stream into a "string", then write it out again, and get the same byte stream.

In Python 2.0 this only barfed if you tried to convert that string to "Unicode" (it would have been nice if it did not barf, but at least you could store, read, and write strings).

In Python 3.0 it will BARF ON READ. This makes it impossible to write reliable software.

Yes you can use "bytes" in Python 3.0. But that really sucks if in fact you expect your bytes to be readable text, with only RARE (but not magically non-existent) errors.

Comment Re:Check out Huawei Fit (Score 1) 193

Well for sleep activity I use Xiaomi Mi Band 1S (the 2 version is to big and I don't need display) because I find it inconvenient to sleep with my watch and I could hurt my girlfriend with it (Pebble Time Steel is quite big). It does its job very well (sleep tracking) and is just a little silicone strap. Oh and it lasts 30-45 days on single charge (!).

Now for notifications and varius interactions with my smartphone I own Pebble Time Steel (since it lasts 10 days on battery). I've supported it from the start on KickStarter back in early 2012. I've got mine with "Kickstarter Edition" engraved on the envelope and later I've supported Pebble Time Steel. It could be better but for me Pebble was the best smartwatch on market.

To bad they just fucked me over.

Now this Huawei Fit technically is the closest to Pebble and my requirements. Just lacking apps and some functionality which IMHO could be implemented.

Comment Different product (Score 2) 133

According to Ars Technica it is different product

http://arstechnica.com/informa...

Visual Studio for Mac isn't, in fact, Visual Studio at all. Instead, it's the latest iteration of Xamarin Studio, the cross-platform C# development environment that Microsoft inherited when it bought Xamarin, developers of cross-platform .NET-based mobile development tools, last year.

These are two very different products, and the real Windows Visual Studio is the more capable product.

Comment Re:Well duh (Score 2) 48

> Chrome is the new above-board "virus" being shoved on everyone as unwanted
> bundle-ware along with anything they download,

Hardly everyones. I haven't seen any Chrome bundled with apps on Mac nor Linux, maybe it is a Windows thing but nah... And hardly anything. To be hones last time I've seen Chrome bundled with installer was AFAIR with Avast Antivirus on Windows and it is probably a good thing to include Chrome with AV on Windows since it is way more secure than IE.

> [Chrome performance compared to Fx]

Wow! First time I see somebody complaining about Chrome performance as compared to Fx. For me Fx is a cow by YMMV. Usual complaint about Chrome is Google data policy about users...

Comment Re:I'm so out of touch (Score 2) 37

Wayland does in fact have support for resolution independence. By this I mean that if a program does nothing about the resolution of the screen, Wayland assumes it is drawing for approximately 100 dpi, and scales the image by 2 if the screen is 200dpi. I think it only does integer scaling but it may be up to the compositor implementation.

If a program actually claims it's drawing for the high-resolution display, then Wayland does not scale. The problem with X (and I think with Windows) was that there was no api so a program could tell the system that it is handling the high resolution, so the compositor had to assume it was.

Comment Re:welcome to python (Score 1) 148

Honestly the changes in Python 3 should not be any obstacle to porting code. Most of it winds up being a find and replace. The major difference is the use of unicode, and if your package really depends heavily on strings not being unicode, you probably did it wrong. The problem is that if one package that lots of people depend on has devs that just say, "I don't wanna," everything breaks down. And more than one package has devs like that.

At this point, if the Python community could make "porting" as simple as adding a header to a .py file, there would still be people that would refuse to do it.

The problem with Python 3 "unicode" is not that text is not Unicode. The problem is that *random binary data* is not Unicode, but when you read data from an unknown source, you MUST assume it is "random binary data". Trusting it to follow some pattern is by far the stupidest thing you can do.

In Python 2 you could put random binary data into a "string" and then write it to disk without any change, and no errors would be produced. Only if you tried to *display* the string would you get an exception. In Python 3 it will immediately throw an exception, at a completely useless point in your program (ie when you are reading data in, not when you are processing it). Changing every "string" to a "bytes" will "fix" it, but then you have to change the type of every single function that is called from "string" to "bytes", and so on, eventually replacing every single "string" in your program with "bytes". And you are out of luck if one of those api's is from a library that you don't control.

Python 3 will NEVER get accepted unless you can put totally arbitrary patterns of 8-bit data into a "string" and get them back out unchanged. All exceptions must be deferred until something actually tries to split the data into Unicode code points. Even then they should be providing a more useful iterator based api that returns an object that says "the code point is this" or "there is a UTF-8 parsing error here and the first byte is this".

Slashdot Top Deals

An inclined plane is a slope up. -- Willard Espy, "An Almanac of Words at Play"

Working...