Gestionar bases de datos PostgreSQL

Un resumen de los métodos de la clase TPQ para PostgreSQL que viene en Harbour.

CREATE CLASS TPQServer

   VAR pDb
   VAR lTrans
   VAR lAllCols  INIT .T.
   VAR Schema    INIT "public"
   VAR lError    INIT .F.
   VAR cError    INIT ""
   VAR lTrace    INIT .F.
   VAR pTrace

   METHOD New( cHost, cDatabase, cUser, cPass, nPort, cSchema, hCustom )
   METHOD Destroy()
   METHOD Close()              INLINE ::Destroy()

   METHOD StartTransaction()
   METHOD TransactionStatus()  INLINE PQtransactionStatus( ::pDb )
   METHOD Commit()
   METHOD Rollback()

   METHOD Query( cQuery )
   METHOD Execute( cQuery )    INLINE ::Query( cQuery )
   METHOD SetSchema( cSchema )

   METHOD NetErr()             INLINE ::lError
   METHOD ErrorMsg()           INLINE ::cError

   METHOD TableExists( cTable )
   METHOD ListTables()
   METHOD TableStruct( cTable )
   METHOD CreateTable( cTable, aStruct )
   METHOD DeleteTable( cTable  )
   METHOD TraceOn( cFile )
   METHOD TraceOff()
   METHOD SetVerbosity( num )  INLINE PQsetErrorVerbosity( ::pDb, iif( num >= 0 .AND. num <= 2, num, 1 )  )

ENDCLASS
CREATE CLASS TPQQuery

   VAR pQuery
   VAR pDB

   VAR nResultStatus

   VAR lBof
   VAR lEof
   VAR lRead
   VAR lAllCols INIT .T.

   VAR lError   INIT .F.
   VAR cError   INIT ""

   VAR cQuery
   VAR nRecno
   VAR nFields
   VAR nLastrec

   VAR aStruct
   VAR aKeys
   VAR TableName
   VAR Schema
   VAR rows     INIT 0

   METHOD New( pDB, cQuery, lAllCols, cSchema, res )
   METHOD Destroy()
   METHOD Close()            INLINE ::Destroy()

   METHOD Refresh( lQuery, lMeta )
   METHOD Fetch()            INLINE ::Skip()
   METHOD Read()
   METHOD Skip( nRecno )

   METHOD Bof()              INLINE ::lBof
   METHOD Eof()              INLINE ::lEof
   METHOD RecNo()            INLINE ::nRecno
   METHOD LastRec()          INLINE ::nLastrec
   METHOD Goto( nRecno )

   METHOD NetErr()           INLINE ::lError
   METHOD ErrorMsg()         INLINE ::cError

   METHOD FCount()           INLINE ::nFields
   METHOD FieldName( nField )
   METHOD FieldPos( cField )
   METHOD FieldLen( nField )
   METHOD FieldDec( nField )
   METHOD FieldType( nField )
   METHOD Update( oRow )
   METHOD Delete( oRow )
   METHOD Append( oRow )
   METHOD SetKey()

   METHOD Changed( nField )  INLINE !( ::aRow[ nField ] == ::aOld[ nField ] )
   METHOD Blank()            INLINE ::GetBlankRow()

   METHOD Struct()

   METHOD FieldGet( nField, nRow )
   METHOD GetRow( nRow )
   METHOD GetBlankRow()

ENDCLASS
CREATE CLASS TPQRow

   VAR aRow
   VAR aOld
   VAR aStruct

   METHOD New( row, old, struct )

   METHOD FCount()              INLINE Len( ::aRow )
   METHOD FieldGet( nField )
   METHOD FieldPut( nField, Value )
   METHOD FieldName( nField )
   METHOD FieldPos( cField )
   METHOD FieldLen( nField )
   METHOD FieldDec( nField )
   METHOD FieldType( nField )
   METHOD Changed( nField )     INLINE !( ::aRow[ nField ] == ::aOld[ nField ] )
   METHOD FieldGetOld( nField ) INLINE ::aOld[ nField ]

ENDCLASS

 

Incluir propiedades en archivos .EXE

Es necesario Incluir el los archivos .EXE la información sobre las propiedades de la aplicación que desarrollamos.

 

2015-08-04_184224

Esto se hace indicando en el archivo de recursos .RC el siguiente código:

//
// $Id: Mpm.rc,v 1.1 2013/11/18 20:40:23 migsoft Exp $
//

ampm        ICON     res\Migproj.ico
favicon     ICON     res\Migproj.ico
Process     ICON     res\Process.ico
Build       ICON     res\Build.ico
logop       JPG      res\ologop.jpg
mnew        BITMAP   res\new.bmp
mopen       BITMAP   res\open.bmp
msave       BITMAP   res\save.bmp
mrun        BITMAP   res\run.bmp
mexit       BITMAP   res\exit.bmp
massoc      BITMAP   res\mpm.bmp
mbuild      BITMAP   res\build2.bmp
mfolder     BITMAP   res\folder.bmp
mprg        BITMAP   res\prg.bmp
mc          BITMAP   res\c.bmp
mrc         BITMAP   res\rc.bmp
madd        BITMAP   res\add.bmp
mremove     BITMAP   res\remove.bmp
mdown       BITMAP   res\down.bmp
mup         BITMAP   res\up.bmp
medit       BITMAP   res\edit.bmp
editfmg     BITMAP   res\editfmg.bmp
mharbour    BITMAP   res\harbour.bmp
mxharbour   BITMAP   res\xharbour.bmp
mmigsoft    BITMAP   res\migsoft.bmp
tproject    BITMAP   res\t_project.bmp
tfiles      BITMAP   res\t_files.bmp
tharbour    BITMAP   res\t_harbour.bmp
tcompiler   BITMAP   res\t_compiler.bmp
tgui        BITMAP   res\t_gui.bmp
tlibraries  BITMAP   res\t_libraries.bmp
tresult     BITMAP   res\t_result.bmp

1 VERSIONINFO
 FILEVERSION 1,0,0,0
 PRODUCTVERSION 1,0,0,0
 FILEFLAGSMASK 0x17L
 FILEOS 0x4L
 FILETYPE 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "280a04b0"
        BEGIN
            VALUE "CompanyName", "Miguel Angel Juárez Apaza"
            VALUE "FileDescription", "MigSoft Project Manager"
            VALUE "FileVersion", "1, 0, 0, 0"
            VALUE "InternalName", " MPM "
            VALUE "LegalCopyright", "(c)2005-2015 MigSoft"
            VALUE "OriginalFilename", " Mpm.exe"
            VALUE "ProductName", " MPM Multi-GUI / Multi-Compiler"
            VALUE "ProductVersion", "1, 0, 0, 0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x280a, 1200
    END
END

2015-08-04_184306

 

Traductor Simultáneo en tiempo real

Google ha dado un paso más para convertir el móvil en traductor universal tras anunciar una actualización del servicio Google Translator para Android e IOS (Apple), que mejorará la traducción simultánea de los textos mediante la cámara y las conversaciones en otro idioma con el uso del micrófono. El objetivo es agilizar las conversaciones en otro idioma y hacerlas más fluidas y naturales, según explica hoy la empresa en su blog oficial.

2015-08-03_172208

El reto de avanzar en el derribo de barreras idiomáticas coincide con el de otras tecnológicas; de hecho, hace sólo unas semanas el popular servicio de viodeollamadas Skype (de Microsoft) puso en marcha su herramienta de traducción simultánea para conversaciones en inglés y español. En el caso de Google, la empresa ya ofrecía un modo conversación en tiempo real desde 2013 para dispositivos con Android, pero la actualización de la aplicación permitirá reconocer automáticamente los dos idiomas que se estén utilizando con sólo tocar el usuario el icono del micrófono en la pantalla. También se ha mejorado la función Word Lens que traduce a 36 idiomas mensajes de texto en tiempo real desde la cámara del móvil. «Llevamos esa prestación a otro nivel para que sea mucho más fácil entender lo que dicen señales en la campiña italiana o ayudarte a decidir que quieres comer entre las opciones de un menú en Barcelona», asegura Google en su blog. Sólo hay que apuntar con la cámara del móvil hacia una señal o texto para ver en la pantalla la traducción simultánea sobreimpresa sin necesidad de acceso a internet ni conexión de datos. Es la primera vez que algunas prestaciones avanzadas de esta aplicación estarán disponibles también para usuarios de IOS. Actualmente, la traducción instantánea es de inglés a francés, alemán, italiano, portugués, ruso y español (y viceversa), pero están trabajando «para ofrecerla en más idiomas próximamente». Según Google, más de 500 millones de personas usan Google Translate cada mes y se realizan más de mil millones de traducciones diarias. Las actualizaciones de la aplicación les llevan «un paso más allá» para convertir su teléfono en un traductor universal, además de acercarse a un mundo en el que los idiomas no sean barrera para descubrir información o ponerse en contacto con otras personas.

Windows 10 vs. OS X El Capitan: Why Microsoft Wins

Microsoft says Windows 10 is fresh yet familiar, which is a nice way of saying it’s a do-over for people who didn’t like Windows 8. But what an impressive do-over it is.

In fact, Windows 10 surpasses Apple’s upcoming OS X El Capitan in some key areas, like multitasking and personal assistance. It’s not that El Capitan isn’t a worthy upgrade for Mac owners; it finally offers split-screen capability, along with revamped apps and performance improvements. Windows 10 offers PC users just a bit more.

After using both the near-final version of Windows 10 and the public beta of El Capitan for a few weeks, we compared the two operating systems across nine categories on a 100-point scale. (Some rounds are worth more than others.) Based on our experience, Microsoft’s platform is now the one to beat. Here’s why.

Editors’ note: This comparison does not include performance, as we evaluated the public beta version of OS X El Capitan. We also tested a near-final version of Windows 10, which did have some bugs. Once Apple releases the final version of El Capitan in the fall, we’ll be ready to evaluate any performance gains and revisit this comparison.

Interface (20 Points)

InterfaceStart
Ah, this is more like it. Windows 10 delivers a Start menu you’ll actually like to use; it combines the best of Windows 8 and Windows 7. You’ll see shortcuts to the File Explorer, Documents, and Settings on the left, along with your most frequently used programs, and dynamic Live Tiles on the right for apps like Mail, Calendar and Photos. You can easily pin apps to this Start menu.

It’s nice that you can resize the Live Tile side of the Start menu by dragging the slider to the right, but it makes the presentation look more cluttered. I do appreciate the prominence of the Search field in Windows 10 (bottom left), as opposed to the small magnifying glass in the top-right corner of El Capitan. Another plus for Windows 10 is that all apps are now treated the same, so you can click to close Windows Store apps just as you would any desktop app. Previously, Modern-style apps had to be closed by dragging them to the bottom of the screen.

OS X’s dock is the same as last time around (modern and flat), and it remains easy to use.

ElCapitanInterfaceLauncher
Mission Control, which lets you see all of your open apps at once, now does a better job of positioning thumbnails so they’re in a similar location to where they are on the desktop, without confusing overlaps.

ElCapitanInterfaceMissionControl
Too bad you can’t close apps from the Mission Control view. In Windows 10’s similar Task View, you can close apps just by clicking on an X in the top right of the thumbnail.

Windows10InterfaceTaskView
Winner: Windows 10.
Though it’s more cluttered than El Capitan, Microsoft’s UI is more engaging, compelling and customizable.

Multitasking (15 Points)

Apple is playing catch-up with multitasking, and Microsoft is pulling ahead. The good news for Mac owners is that El Capitan brings a new Split View feature that lets you view two apps at once side by side. To enable it, you just press and hold the green full-screen button in the upper-left corner of a window. You’ll then select another app from a view of thumbnails. You can resize the app windows using the slider in the middle of the screen or swap the position of the windows.

ElCapitanSplitView
El Capitan also lets you drag windows to the top of the display to enter Mission Control and access the Spaces Bar. From there, you can drop the app onto another full-screen thumbnail to enter Split Screen mode. This seems like more work.

The Snap feature in Windows 10 is more robust, enabling users to have four apps on the screen at once. A Snap Assist view (which shows thumbnails of open apps) lets you pick the subsequent apps you want to snap. As with Windows 8, snapping the first window is easy; just drag the windows to the left or right side of your screen. That’s simpler than the long press El Capitan requires.

Windows10SnapMultitask
Another benefit of Windows 10 is the automatic-snap feature, a carryover from Windows 8. For instance, if you click on a link in an email, the Edge browser will load and snap to the right side of the screen. That’s convenient.

Winner: Windows 10. You can snap more windows at once, and you can automatically snap two windows at once.

Special Features (15 Points)

Cortana, a voice-enabled personal assistant that does more than just answer questions, is the star of the show for Windows 10. Like Google Now, Cortana provides cards that give you a quick glance at the weather, news, sports scores, restaurant recommendations and more. Cortana gets smarter the more you use it, but you can personalize it right off the bat via the Notebook settings. Where the heck is Siri for the desktop, Apple? It remains missing in action in El Capitan.

I especially like that Windows 10 lets you use your voice to dictate both emails and reminders. The reminders can be contextual, too. For example, I asked Cortana to remind me to ask Avram about our Windows 10 coverage plans next time I email him. Sure enough, a little alert popped up while I was writing the message in the Mail app.

Windows10CortanaReminder
If you own a 2-in-1 device, the Continuum feature in Windows 10 will ask you whether you want to switch to tablet mode when you detach the display or flip it around. Apps that were windowed will automatically switch to full-screen mode.

Windows10Continuum
OS X doesn’t support touch displays, but its Handoff feature will let you pick up where you left off in an app on your iPad.

Other special features in Windows 10 include DirectX 12 for better graphics performance, and the ability to stream Xbox One games to your PC.

Because OS X El Capitan isn’t a major release for Apple but more of a fine-tuning of the features introduced in last year’s Yosemite, it doesn’t offer many special features other than Split View and some enhanced apps. Actually, most of the special sauce in El Capitan is under the hood. The biggest deal in this regard is the addition of Metal graphics technology, which promises to boost performance by allowing the CPU and GPU to tag-team. The result is up to 10 times faster performance, for smoother gameplay and more speed in pro-level apps. (We will wait for the final version in the fall to test these claims.)

Winner: Windows 10. Microsoft’s latest OS simply offers more features for everyday users and power users alike.

Search (15 points)

Improved Spotlight searching is a “tent pole” feature of El Capitan, as it now delivers results for additional topics, such as sports, weather, stocks, transit directions and even Web video. For instance, if you type “New York Weather,” you’ll see the hourly forecast followed by the 10-day forecast.

ElCapitanSearch1
And when I searched for “New York Yankees,” I saw the final score of yesterday’s game, along with the team’s upcoming schedule.

ElCapitanSearch2
Windows 10 offers similar functionality. Cortana gave me Apple’s stock info and the current weather without requiring me to launch the browser. It also showed me the Yankees score (and I didn’t even have to search for that one; it just showed up as a card after I entered my preferences during setup).

Windows10SearchStock
Another feature OS X and Windows 10 share is natural-language search. For instance, I could type “photos from 2013″ in El Capitan and then see a list of results, although I had to scroll down to see them.

ElCapitanSearch3
In Windows 10, I could type or say the phrase, and the Search Photos button would appear right up top.

Windows10AdvancedSearch
The advantage that El Capitan has is that it starts showing and filtering results as you type. When I searched for “documents I worked on yesterday” in both operating systems, I could see the Word doc I was looking for right away in OS X, but in Windows 10, I had to click Search Documents first.

Winner: Tie. Cortana lets you search via voice or text, but El Capitan saves you time by searching for results as you type.

Web Browsing (5 points)

Sure, you could always download Chrome or Firefox, but both Apple and Microsoft are making a big deal about the improvements in their built-in browsers for El Capitan and Windows 10.

With the new Edge browser in Windows 10, Microsoft cleared away the clutter while adding clever new tools. These include a digital pen and highlighter for marking up pages (best with a pen or touch screen, but it works fine with a touchpad), as well as a way to insert typed notes on the page. You can then save the marked-up page, add it to OneNote or share it with others.

Windows10EdgeBrowser
Another highlight is Cortana integration. For instance, if you’re on a restaurant page, Microsoft’s assistant will pop up in the address bar, alerting you that it can provide more info. This includes the address, phone number and Yelp reviews. Microsoft plans to extend this capability to other categories, but it hasn’t yet announced which ones. Hotels seem like a good next step.

Windows10SpecialFeaturesCortana
The address bar is smarter in Edge, too, allowing you to look up everything from weather and stocks to unit conversions without leaving the bar. However, Safari has similar smarts with its Spotlight suggestions. Plus, Safari offers a good selection of browser extensions (e.g., Pinterest, 1Password, Save to Pocket); it will take time for those to come to Edge.

Apple’s browser stands out with Pinned Sites, which are essentially smaller tabs of your favorite sites that are easier to spot than regular tabs. Unlike Edge, Safari also lets you mute noisy tabs right from the address bar, which comes in handy when rogue video ads start playing.

ElCapitanSafariMuteTabs
Both Edge and Safari offer an ad-free, distraction-free reading view for articles, but Edge tended to strip away too much, including some embedded tweets in a CNN story on the feud between Nicki Minaj and Taylor Swift. With Safari, you can even change the font and theme. Both browsers also provide a Reading List feature so you can save articles to read later, though I found Safari’s method for adding articles easier.

Winner: OS X El Capitan. The Edge browser is better for sharing, but the Pinned Sites feature and ability to silence any tab makes Safari more compelling for everyday surfing.

Phone Integration (10 points)

One of the best reasons to get a Mac instead of a Windows PC is how seamlessly the iPhone works with OS X. Introduced in OS X Yosemite, the Continuity feature allows you to make and take calls from your phone on the desktop, as well as send and receive text messages. Windows 10 doesn’t do that.

ElCapitanPhoneIntegration
Another key feature of Continuity is Handoff, which lets you start a task on your iOS device and finish it on your Mac, whether you’re composing an email, reading a Web article or working on a document. This also works in the reverse direction, so you can pick up where you left off on your iPhone or iPad. Last but not least is AirDrop; although it can be glitchy at times, it enables you to share files from your iOS device to the Mac and vice versa over Wi-Fi.

For the few Windows Phone owners out there, Windows 10 does have some tricks up its sleeve, starting with Cortana. For example, if you create a reminder on the desktop, it will follow you to your Windows Phone. Things will get a lot more interesting when Continuum for Phones debuts with Windows 10 for Mobile later this year. This smartphone OS will enable Windows Phones to deliver texts, apps and more to your PC or other big screen. Unfortunately, this perk will require new hardware.

What won’t require new hardware are Universal Apps for Windows 10. Windows Phone owners can essentially download the same app once for both desktop and mobile, and it will work in both places. Examples include Twitter, Netflix and Adobe Photoshop Express. Alas, OS X and iOS remain separate, even as Apple’s operating systems pick up more of the same features.

Windows10PhoneIntegration
If you own an Android phone or an iPhone, the built-in Phone Companion app in Windows 10 will help you sync your files to the desktop.

Winner: OS X El Capitan. iPhones and Macs just work better together.

Built-In Apps and App Stores (10 Points)

Microsoft offers a lot more apps for the desktop than OS X does, but for this face-off, I’m focusing on built-in apps and the respective app-store experiences. Microsoft is highlighting six key apps in Windows 10: Photos, Maps, Groove Music, Movies & TV, Mail, and Calendar. Photos is a particular standout because it automatically creates albums of photos you take around the same time. The Photos app also offers a robust set of editing tools and filters, although I don’t like how the image shrinks when you go to edit the photo. This doesn’t happen in Apple’s updated Photos app.

Windows10PhotoApp
Apple Photos does a great job of automatically backing up your iPhone photos to the app via iCloud Photo Library. The interface looks a little too bare and iOS-like at first, but once you start editing, you’ll see all sorts of options, including Enhance, Filters, Adjust (for light, color, etc.) and Retouch. The Smart Sliders make it easy to adjust your pics, and Apple uniquely lets you make photo books from within the app. But the best is yet to come with Extensions, which will enable shutterbugs to integrate filters and editing tools from other apps.

ElCapitanPhotos
Both Windows 10 and OS X El Capitan have built-in Mail apps, with Microsoft focusing on adding Word-style formatting and touch gestures. I also like that you can quickly switch to the Calendar app. Mail in OS X also adds gestures, such as swiping on messages to trash them, but it pulls ahead of Windows 10 by suggesting new contacts and events based on the content of messages. If you’re composing more than one message at the same time, you can juggle them in multiple tabs when you’re in full-screen mode.

As far as the Maps apps go, Apple’s Maps app looks cleaner and is easier on the eyes, thanks to the color-coded points of interest.

ElCapitanMapsApp
The Microsoft Maps app looks monochrome and low-res by comparison. Both apps offer transit directions, but Apple Maps includes features Windows 10 doesn’t, such as place cards for stations, as well as the ability to send directions to your iPhone or Apple Watch.

Windows 10 MapsApp
It’s clear that Microsoft has made the Windows Store more desktop friendly, but it’s still best experienced with a touch screen. You scroll vertically to see different categories and swipe left to right to see options within them.

Windows10WindowsAppStore
The Apple App Store fits more information into the same area, which makes it a bit easier to use.

ElCapitanAppStore
Winner: OS X El Capitan.
Apple’s built-in apps are better designed and, in many cases, more capable.

Sharing and Social Integration (5 points)

These two operating systems take different approaches to sharing. With OS X El Capitan, you get Twitter, Facebook and LinkedIn included, in addition to Messages and Mail. You can also share to Reminders or Notes. However, if you want more social sharing options, you can’t add them.

ElCapitanSharing
Windows 10 is more open in this regard. If a given app you download has a sharing “contract” with Windows, you can share via that app. I had no problem adding Facebook and Twitter, but there’s no LinkedIn app, so I couldn’t add that. However, there are lots of other third-party apps that will let you share via Windows 10, including Tweetium (an alternative Twitter client), Tubecast (YouTube) and Pouch (a Pocket client, formerly Read It Later).

Windows10Sharing
Winner: Windows 10.
Even though you have to work a little bit, Microsoft’s social sharing approach is more open.

Settings (5 points)

Microsoft deserves kudos for Action Center in Windows 10, which combines notifications with several quick-settings buttons on the bottom right.

Windows10Settings1
However, there are two separate Settings menus: a simpler one and the more traditional desktop menu. For example, under Power & Sleep, you’ll see just two timers for turning off the screen: one for battery power and one for plugged in. If you want to create a power plan or choose what the power button does, you’ll need to click Additional Power Settings.

Windows10Settings2
OS X El Capitan doesn’t really have a Quick Settings menu, which would have been nice, given that iOS has a Control Center. I also don’t like that the Notification Center is separate. However, El Capitan’s settings are more streamlined because all of them are in one easy-to-understand System Preferences menu. There’s no digging required, whether you want to tweak the trackpad settings or customize notifications.

ElCapitanSettings
Winner: OS X El Capitan.
One settings menu is better than two.

Overall Winner: Windows 10


The choice between OS X El Capitan and Windows 10 isn’t just about software. Some people choose MacBooks because they prefer the design, or they like that OS X is less susceptible to malware (although it’s out there). On the other hand, there are plenty of great Windows laptops and 2-in-1 devices available, many with touch screens and at lower prices. Based on these new platforms and the experiences they offer, the edge in this battle goes to Windows 10.

Microsoft’s new OS makes it easier to multitask compared to OS X, and it’s more dynamic and personal without being overwhelming. Even if you don’t like the idea of talking to your PC, Cortana is a very useful assistant, whether you want to set reminders, compose emails, search or just see who won the game without Web surfing. I also prefer Windows 10’s Task View to OS X’s Mission Control, because you can close apps using the former.

Where OS X El Capitan excels is in its integration with the iPhone, and its beefed-up apps (especially Mail, Safari and Notes). The enhanced Spotlight search feature is also quite good, and Safari’s Pinned Tabs are convenient. Overall, though, Windows 10 is a more ambitious and satisfying release.

Source: LAPTOP

Browser Battle

Though millions of people use Internet Explorer, it has lost market share and street cred to Chrome and Firefox. With Windows 10, Microsoft has launched a new browser called Edge that promises to give its competitors a run for their money, especially with its new embedded Cortana feature and markup capabilities. Does this newcomer have a shot at taking on the browser giants? I tested Chrome, Firefox and Edge to see which browser provides the greatest and fastest Internet experience.

windows10_broswer_battleRound 1: Speed and performance

To see how quickly each browser executes common tasks, I ran each one through a gauntlet of benchmarks and real-world tests on the same Intel Core i5-powered Surface Pro 3 running Windows 10.

Edge Chrome Firefox
Version Number 20.10240.163840 v44.0.2403.89m v39.0
Peacekeeper 2607; 5 out of 7 4105; 7 out of 7 4661; 7 out 7
SunSpider 1.0.2 107.4ms 298.3ms 227.0 ms
Speed-Battle 746.42 704.14 1116.16
Browsermark 2953 5356 4357
ESPN Load Time 04:45 04:67 04:59
TomsGuide Load Time 01:55 02:22 04:90

Peacekeeper: On the Peacekeeper benchmark, which measures browser speed, Firefox topped the group, with an average of 4,652. Chrome came in second, with 4,069, while Edge’s 2,642 average placed it last, because it could support only five of the seven tests the software uses.

Speed-Battle: Firefox notched a shocking 1,116 on Speed-Battle, which clocks the speed at which a browser loads JavaScript. Edge followed with 746, and Chrome got 704.

Sunspider: Microsoft’s new browser pulled ahead in Sunspider, which tests JavaScript loading speed. Edge’s 108.1ms time was twice as fast as Chrome (256.3ms) and Firefox (213.4ms).

Browsermark: This benchmark tests a variety of browser functions such as re-sizing screens, 2D and 3D performance, crunching numbers, and rendering graphics. Chrome took the lead here, notching 5,591 against Firefox’s 4,308 and Edge’s measly 2,882.

Page Load Times (Numion): I also timed, using the Numion stopwatch, how long it took Edge, Chrome and Firefox to display media-heavy sites such as Tomsguide.com and ESPN.com. To make sure Internet speeds didn’t affect the results, I repeated this test across two different days at different times.

Edge delivered the fastest speeds in general, loading ESPN.com in 4.45 seconds, compared to Chrome’s 4:67 and Firefox’s 4:59. Edge displayed TomsGuide.com in 1:55 seconds, faster than Chrome’s 2:22 and Firefox’s 4:90.

Winner: Edge. Though it faired poorly on a couple of synthetic tests, Edge processes JavaScript fastest and displays pages the fastest of the lot.

MORE: Windows 10: Full Review

Round 2: Layout and ease of use

The best browsers are laid out in an intuitive manner, putting key controls within easy reach while reducing clutter on the screen. Thoughtful organization makes going to your favorite pages hassle-free, and keeps distracting buttons out of sight.

All three browsers save space by putting the tabs up at the top of the window in lieu of a title bar. Chrome is the cleanest, however, with just buttons for back, forward, refresh, favorite and settings in addition to a search/URL bar that takes up the width of the screen.

Edge has a flat, modern aesthetic that helps it look minimalistic despite the extra buttons it has at the end of the search/URL bar. With icons for Reading mode, Favorites, Hub, Make a Web Note, Share and More actions on the right side, Edge’s top bar is more cluttered than Chrome’s.

Edge

Firefox has two bars by default: one for URLs and one for search. You can remove the search bar to make room, and the remaining one will accept both URLs and search queries, but I’d like if Mozilla had just one bar by default. Like Edge does, Firefox has a bunch of buttons at the end of the two bars, for Favorite, Download, Home and Menu. The Forward button only pops up next to the Back symbol when there is a page ahead. The beauty of Firefox is that you can customize your layout however you want, so you can add or remove buttons as you like.

Firefox

If you want to take a page you’re browsing and share it to Facebook, Twitter or your email, it’s easiest to do so via Firefox. The Mozilla browser has a native Share button that you can add to your navigation bar, and a Share This Link option when you right click on any link. You’ll have to install the relevant plug-ins for each platform, and the feature supports popular services such as Facebook, Tumblr, Gmail, Delicious and LinkedIn.

Edge also has a native Share button, but to add channels through which to share pages, you’ll first have to install the Windows Store app version of that service on your device. The Share button pulls up apps on your PC or tablet that support this feature, but very few apps do so right now. For instance, there is no official LinkedIn app for Windows.

Edge Sharing

Chrome doesn’t have a built-in sharing feature. You can add the function via bookmarklets or widgets pinned to the bookmarks bar, or by installing extensions.

All three browsers show you which tabs are playing media by showing either a Play button in the tab’s title or a speaker icon.

Power users might get frustrated at the lack of right-click options in Edge. While you get shortcuts such as “Open link in private window” and Save Link As in Firefox and Chrome, these two options are missing from the right-click menu in Edge. You’ll get “Open in new tab,” “Open in new window,” Copy Link and Ask Cortana in Microsoft’s offering. I like the Ask Cortana function, and Firefox has a similar option with its Search Yahoo (or default search engine), since asking the digital assistant pulls up search results.

Edge

If you right click any blank space on Firefox or Chrome, your menu options are plenty, including going backward and forward, reloading, printing (Chrome), translating to English (Chrome), and sharing the page (Firefox). Edge only has Select All, Inspect Element and View Source in the same scenario.

Winner: Firefox. Mozilla’s browser takes the prize because of its customizability and easy sharing function.

Round 3: Extensibility

Both Chrome and Firefox have supported extensions for years, and these babies can really enhance your Internet experience. For instance, the Phone to Desktop Chrome add-on lets you send any text or links to your desktop browser, and the Text to Voice Firefox extension reads out words you highlight on any page.

Firefox and Chrome both have tens of thousands of extensions, spanning categories such as Productivity, Downloads Management, Social & Communication, Search Tools, and Shopping. Firefox seems to be a little more geared toward power users, with specific categories for Web development, Tabs, and Privacy & Security. I especially love that you can skin Firefox with one of thousands of theme add-ons.

Some of Chrome’s add-ons run offline and integrate with a variety of Google’s existing services, such as Save to Google Drive and Tags for YouTube. For anyone who uses any of the Internet giant’s services at all, Chrome’s extensions will make life much easier.

Microsoft has said that it expects to add extensions to Edge in the near future. When that happens, the Windows-maker will have a lot of catching up to do, especially in providing a similar number and variety of add-ons as its counterparts.

Winner: Chrome. Chrome takes this round with its extensions’ sheer number, usefulness and ability to integrate with other Google services.

Round 4: Standards support

All three browsers support common Web standards that most websites use today, but the browsers differ in extent of support. For instance, Edge supports only five out of seven HTML5 capabilities tested in the Peacekeeper benchmark. Firefox and Chrome both met seven out of seven.

I ran the HTML5Test and CSS3Test on all three programs, and found Edge trailing in both. The two benchmarks test, respectively, whether each browser recognizes all features of HTML5 or CSS 3 (a styling language), but not whether the standards are implemented correctly.

MORE: How to Make Chrome or Firefox Your Default Browser in Windows 10

Chrome leads the pack in HTML 5, with 526 out of 555 components met. Firefox got 467, while Edge scored just 402. On CSS 3, Firefox pulled ahead, with 55 percent of tests passed, while Chrome followed with 51 percent. Edge came in last, with just 46 percent.

All three browsers support the JavaScript engine WebGL for rendering interactive 3D graphics, but at varying degrees. On the Oort Online GL benchmark, which measures how well your browser or device renders WebGL graphics and animation, Chrome came in first, with its average score of 3,635. Edge was runner-up, with its average of 2,958, while Firefox trailed the rest, with 1,525 on average.

Winner: Chrome. Google won this round with its comprehensive coverage of today’s common Web standards.

Round 5: Special features

Each browser has its own special features to help it stand out. Chrome tabs, for instance, can be cast to your TV if you have a Chromecast, so you can Facebook stalk your frenemies on the big screen. Chrome also has a nifty autofill feature for forms, and generates passwords for you when creating new accounts so you don’t have to think up a secure code every time you set up a new profile.

Chrome synced history

Google’s browser also imports your browsing history, saved passwords and open tabs across all the devices you’re signed into, so you can easily pick up on your desktop where you left off on your phone. I can’t tell you how many times I’ve been saved by Chrome when my computer crashed and I lost my hundreds of open tabs.

Firefox also does the same with its Firefox Sync feature, except you’ll have to make sure you’re signed in to your Firefox Account. Since I don’t use my Firefox account for anything else, I’m always at a loss for what my username and password are. Signing in to Chrome is much easier, since I have my Gmail/Google password burned into my brain. Plus, logging in to any Google service also signs me in to Chrome and vice versa.

Firefox has a bunch of other goodies, including Firefox Hello, for easy video conferencing within your browser, and built-in developer support (debugger, color dropper, etc.). Hello not only lets you see your contacts, but also lets you share your tabs. However, during my testing on the Surface Pro 3, the Hello feature was buggy, crashing in the middle of my video call. It worked smoothly on my Dell Latitude 6430u laptop running Windows 7, though.

Firefox Hello

Edge’s most outstanding feature is Cortana. Like a personal concierge, Cortana is ready to provide information on anything you come across. Highlight a word you don’t understand, right click and ask Cortana about it. A panel slides in from the right with Bing search results on that word. When available, Cortana will display pictures, directions and reviews.

Microsoft also said that when you are on a page that Edge detects is a restaurant, Cortana will appear as a circle on the URL bar saying, “I’ve got the directions, hours and more.” Click that icon, and a panel slides in from the right with pictures, directions and a shortcut to call the restaurant. This is similar to what Google already does with its search results, except you don’t have to go to a separate tab or page to do this and can make reservations or look up directions without leaving the restaurant’s page.

Cortana in Edge

However, during my testing, Cortana turned up only one out of the close to 10 restaurants’ websites I tried. I even went back to the same restaurant’s Web page where the circle had appeared before and it did not pop up again. The only thing I had changed was that I maximized the window.

Cortana sure is a cool tool for Edge users, but right now, the feature is not mature or consistent enough. Microsoft said it’s continuing to work on improving Cortana, so hopefully there will be more upgrades soon.

Edge also has a Markup mode that lets you scribble on the page you’re browsing, save your notes and share the page with your friends. This is handy for anyone with a stylus, but I didn’t find myself using it a lot. Microsoft also designed Edge to zoom out and show the whole page when you’re in tablet mode but its window is narrower than the width of the site, instead of showing horizontal scroll bars at the bottom like other browsers do.

Edge zooms out when its window is too small

I liked Edge’s Reading Mode, which stripped a page of its ads and navigational interface to make it easier to read. Firefox also has a built-in reading mode, but Chrome doesn’t.

Winner: Chrome. Chrome narrowly takes this round because of how well its features integrate with Google’s other products and how widely used they are. Firefox has a useful variety of bonuses, but needs to make them more coherent and easy to access.

Overall Winner: Chrome

windows10 broswer battleTaking three rounds out of five, Chrome wins the battle of the Windows 10 browsers, thanks to its superb standards support, extensibility and special features. It did pretty well at performance, too. Firefox is a close second, with its excellent performance and customizable layout, but needs to serve a less niche audience to rise above the competition. Although Edge lags its more-popular browser brothers in other areas, it’s off to a very good start with its best-in-class performance, clean look and Cortana integration.

Source: LAPTOP

Editor de código SynWrite

Fully customizable syntax highlighting for many languages (see list)

Code folding
Supports almost all encoding systems (ASCII, Unicode, etc.)
Multiple-caret editing (see animation)
Multiple selections (see animation)

Panels:
  • Tree view for source code
  • File manager
  • Project management
  • FTP/SFTP client
  • Document mini-map
  • Clipboard history
  • External tools output
  • Search results
  • Text clips
  • Tabs list

Coding helpers:

  • Auto-completion (for few lexers, see help topic)
  • Auto-closing of tags/brackets
  • Code templates
  • SmartTagTabbing feature (see animation)
  • SyncEditing feature to edit identical identifiers (see animation)
  • Emmet (Zen Coding) support (HTML + CSS + XSL high speed coding engine)
  • Color preview
  • Color picker
  • Image preview
  • Insert image tags
  • Insert date/time stamps
  • Portable bookmarks
  • Column markers
  • Micro-map

Search and replace with regular expressions
Search and replace in multiple files
Use external tools (capture console output, navigation to error lines)
Use Python-based plugins
Use binary plugins (e.g. Explorer panel and FTP client are plugins)
Regex-based strings extraction
Customizable hotkeys
Bookmarks
Key macros
Spell checker
File sessions
Plugin for “Total Commander” file manager
Multilingual interface: German, French, Russian, Spanish, Italian, Japanese, Chinese, etc.
Integrated HTML Tidy library
Export to RTF/HTML with syntax highlighting
Portable mode