Forgot your password?

typodupeerror

Comment: Re:Sounds about right... (Score 4, Informative) 435

by zlogic (#38870251) Attached to: Nokia CEO Blames Salesmen For Windows Phone Struggles

let's ignore the fact that there's been practically no marketting and advertising for this brick

Technically, Nokia Lumia isn't yet on sale in the US. And in Europe, Limua phones are heavily promoted - in my area ads for these phones are everywhere, on TV, billboards, radio and mobile phone stores. This is sad because even with this insane amount of promotion they're still having trouble selling the thing.

Comment: Re:Apple? (Score 1) 192

by zlogic (#38608170) Attached to: Microsoft In Talks To Buy Nokia's Smartphone Division?

I've used WP 7.5 on a Samsung Focus and is was even worse than Android. Rebooted at least every 2-3 days! In addition, Android actually has some very useful features, such as playing notifications and ringtones through the loudspeaker even when headphones are connected - extremely helpful if you forgot to unplug the headphones.

Android does however have issues with sound - if headphones are plugged in during an incoming call, unplugging them doesn't switch the phone to speaker.

Comment: Re:not surprising. (Score 1) 364

by zlogic (#38407822) Attached to: Android Update Alliance Already Struggling

Windows Phone got updated, but still not as perfect as Apple's simultaneous updates for all phones.
Pre-7.5 updates were significantly delayed (for several months), 7.5 went much better. But still AT&T Samsung Focus rev1.4 got Mango about a month later and all AT&T Samsung Focus phones didn't get internet sharing - even though it's fully supported by hardware and can be enabled with a simple registry hack! Considering how seriously Windows Phone is behind iOS and Android feature-wise, Microsoft can't afford wasting time on catching up with their competitors.

But still this is much better than Google's "leave updates to manufacturers/carriers" approach.

Comment: Re:Stick to Nexus (Score 1) 364

by zlogic (#38407786) Attached to: Android Update Alliance Already Struggling

Nexus One was a nice phone, but still not perfect:
- After unlocking the bootloader, you can't lock it back. This may be useful if you've done playing with custom roms and want to sell the phone, or want to secure the phone. An unlocked bootloader allows someone with a USB cable to dump all the data without knowing the unlock pin or password.
- Gingerbread was released late, about two months after Nexus S.
- It has some preinstalled apps taking up space on the system partition - like Facebook and Twitter. These versions are usually outdated and if you install the update, the same app will be installed twice! Installing them on the /data partition with the possibility to remove them would be much more useful.
- Finally, as people already mentioned, it's not getting ICS.
In addition, the phone has serious limitations, such as a crappy digitizer (no pinch-rotate, onscreen joysticks cannot be on the same line) and too little flash memory so that mandatory updates for Market, Google Music and other system apps take up all the space.

Comment: Re:Microsoft (Score 2) 521

by zlogic (#38071410) Attached to: Microsoft Shareholders Unhappy After Annual Meeting

Microsoft was also productive in the early 2000-s. Windows 2000 was a great OS, making NT ready for the desktop, and a major step in finally fixing the constant bluescreens and crashes of the 9x line. Unlike Windows XP, 2000 had no activation crap and had everything needed for everyday tasks. XP just added desktop themes, entertainment apps and Windows Restore.
Visual Studio .NET/2003 and the introduction of .NET were also major steps, this probably killed Borland because Borland couldn't create a competitively priced products or offer something better than Visual Studio. VS2005 was also a great IDE, with powerful refactoring tools and a really helpful debugger. Plus, it also introduced the free Express editions.

It seems that the whole "rewrite longhorn from scratch" thing and the failure of VIsta put Microsoft (at least the Windows team) back a few years and made them more pragmatic, instead technological advances (promises for WinFS, making everything .NET, vector graphics to make UI resolution-independent just to name a few) they're preferring to make GUI tweaks. I'm very interested to see if Windows 8 finally manages to introduce something new.

Comment: Re:Native GUI app development is a pain (Score 1) 330

by zlogic (#37968410) Attached to: Is SaaS Killing Native Linux App Development?

Okay, found the example in my code archives:

CFileDialog fDlg( TRUE, NULL, NULL,
        OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST | OFN_ALLOWMULTISELECT | OFN_EXPLORER,
        NULL, this );
DWORD MAXFILE = 2562;
fDlg.m_ofn.nMaxFile = MAXFILE;
fDlg.m_ofn.lpstrFile = new wchar_t[MAXFILE];
fDlg.m_ofn.lpstrFile[0] = NULL;
fDlg.m_ofn.lpstrFilter = L"Images\0*.bmp;*.jpg;*.jpeg;*.png;*.tif;*.tiff\0"
        L"All files\0*.*\0";

#ifdef NDEBUG
fDlg.m_ofn.Flags&= ~OFN_ENABLEHOOK; //Vista style support
#endif // Display the Open dialog box.
if (fDlg.DoModal()==IDOK){
        for (POSITION pos = fDlg.GetStartPosition();pos != NULL;)
        {
                CString fname= fDlg.GetNextPathName(pos);//here's the filename!
        }
}

More or less the same stuff in Qt:

QFileDialog dialog(this);
dialog.setFileMode(QFileDialog::ExistingFiles);
dialog.setNameFilter(trUtf8("Splits (*.000 *.001)"));
QStringList fileNames;
if (dialog.exec())
        fileNames = dialog.selectedFiles();//List of files is returned

The WinAPI version required a lot of trial and error to get the input parameters correct. Plus, there's no way of stating "allocate as much memory as required for output", so you have to pre-allocate memory and hope the user doesn't select too many files. This issue turns a "lots of boilerplate code pasted from MSDN" inconvenience into a real problem with no solution except for displaying an error message.

Computers are not intelligent. They only think they are.

Working...