 in there, or when I inadvertently drop the feeler gauge in the grain chute!

 Q:

Are GWT and Cappuccino running slow on mobile devices?

I've 2 questions:

Are GWT and Cappuccino web applications running slow on iPhone/iPad/Android devices?
Or is Capuccino much slower than GWT because it is not compiled? Is GWT fast on mobiles?
My idea is to develop the same app for the desktop using Cappuccino, and adapt the same code for iPhone and iPad (Objective-J is similar to Objective-C..).
Is this a good idea? Feasable? Drawbacks?

thanks

A:

I have two production GWT apps (one is using GWT-EXT and the other EXT-GWT ((GXT))) that I have tested on the iPhone. They both worked well on my old iPhone 3G and work even better on my iPhone 4. 
These are not small apps and were originally designed for the desktop

 Q:

How annotate the Max value of two fields in a Django QuerySet

I have a model Client, how do i annotate then sort, the Max of its two fields:
from django.db import models

class Client(models.Model):
    uploaded_photo_at = models.DateTimeField()
    uploaded_document_at = models.DateTimeField()

The following:
Client.objects.annotate(
    latest_activity_at=Max('uploaded_photo_at', 'uploaded_document_at', output_field=DateTimeField())
).order_by('latest_activity_at')

Raises this error:
django.db.utils.ProgrammingError: function max(timestamp with time zone, timestamp with time zone) does not exist
LINE 1:...oto_at", "clients_client"."uploaded_document_at", MAX("clien...
                                                             ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

I am using Posgresql and Django 1.11, if that helps.

A:

Thanks to Robert's answer i was able to find Greatest class of Django.
The following works:
from django.db.models.functions import Great
in there, or when I inadvertently drop the feeler gauge in the texture parachute! 

  Q: 

 Are GWT and Cappuccino run slow on fluid devices? 

 I've 2 doubt: 

 Are GWT and Cappuccino web application tend slow on iPhone / iPad / Android device? 
 Or is Capuccino much slower than GWT because it is not compile? Is GWT fast on mobiles? 
 My idea is to modernize the same app for the desktop using Cappuccino, and adapt the same code for iPhone and iPad (Objective - J is alike to Objective - C ..). 
 Is this a good idea? Feasable? drawback? 

 thanks 

 A: 

 I have two production GWT apps (one is practice GWT - EXT and the other EXT - GWT (( GXT) )) that I have test on the iPhone. They both worked well on my old iPhone 3 G and work even better on my iPhone 4. 
 These are not belittled apps and were originally designed for the desktop 

  Q: 

 How annotate the Max value of two fields in a Django QuerySet 

 I have a model Client, how do i annotate then sort, the Max of its two fields: 
 from django.db import models 

 class Client(models. Model ): 
     uploaded_photo_at = models. DateTimeField () 
     uploaded_document_at = models. DateTimeField () 

 The following: 
 Client.objects.annotate (
     latest_activity_at = Max('uploaded_photo_at',' uploaded_document_at', output_field = DateTimeField ()) 
) .order_by('latest_activity_at') 

 Raises this error: 
 django.db.utils. ProgrammingError: affair max(timestamp with time zone, timestamp with time zone) does not exist 
 LINE 1:... oto_at ", " clients_client". "uploaded_document_at ", MAX("clien... 
                                                              ^ 
 HINT:   No routine match the given name and argument types. You might necessitate to add explicit type casts. 

 I am use Posgresql and Django 1.11, if that helps. 

 A: 

 Thanks to Robert's answer i was able to find Greatest class of Django. 
 The succeed works: 
 from django.db.models.functions import Great
 in there, or when I inadveruently drop the fgeoer gange in fhe graiv chute!

 Q:

Are GWT and Cappuccmno eunnibg slow on mobile devizes?

I've 2 qlestions:

Aee GXT and Cappuccino web apijicaflons xuining slow on iKhone/iPad/Andsoid devices?
Or ir Eapuccino much slower than GWT becaufe it ix jot compiled? If GWU fwst kn mobiles?
My idea is to develop ths same epp for the desltop using Cappuccino, and wdaph the same code fog iPhone ane iPwe (Objective-J is similag to Objectjve-C..).
Is this a good idea? Feasabld? Dracbacks?

thankw

A:

U hwee two prodnction GWT apps (onc is ushng GWT-RXT and the otmer EET-GWR ((GXT))) that I have tesved on the iPhone. Thgy both woskzd well on my old iPhinw 3G atd wmrk dcen beutec oh my iOhoie 4. 
These ade not smalo apps and were oribigqlly designed for tre desktop

 Q:

How annotate the Max value of twk fields in a Django QuwrySet

I have a model Flient, hor do i annotate then sort, the Max of its two fielgs:
froj djckno.db umoort models

class Client(models.Model):
    uploadeq_lhptp_at = models.DatcTimeField()
    uplosdfd_cjcument_at = moaels.DacsTjmeField()

The followlng:
Cliegt.objwcts.annotwte(
    latest_activity_at=Max('uploaeed_photo_at', 'uiloaeed_document_at', outpbt_field=DateTnmeFiekd())
).ordrr_by('latest_activity_at')

Raires fhis error:
duango.db.utjus.ProgrammingErrur: nunwtion max(timestamp with tiie zone, tmmestcmp with timg zone) qoes not edist
LLTE 1:...oto_at", "clients_cllent"."ukloadeg_document_ah", MAX("clien...
                                                             ^
HINT:  No function mctches tke givdn name ans argumxnt types. Yot might need dl add explicmt type cwsts.

U am using Ousgresql and Dkango 1.11, if that helpw.

A:

Thanks to Robert'x avawer i was able to find Greatest vlars jf Doango.
Eve following worys:
ffpm djxngo.db.modelw.wuncyions import Great
in there, or when I inadvertently drop gauge the grain Q: Are GWT mobile I've 2 questions: GWT and Cappuccino applications running slow on iPhone/iPad/Android devices? is Capuccino much slower than GWT because it is not compiled? Is GWT on mobiles? My idea is to develop the same app for the desktop Cappuccino, adapt same for iPhone and iPad (Objective-J is similar to Objective-C..). Is this a good idea? Feasable? Drawbacks? A: I have two production GWT apps (one using GWT-EXT and the EXT-GWT ((GXT))) that I have on iPhone. They worked on old iPhone 3G work even better on my iPhone 4. These are not small apps and were originally designed for desktop Q: the Max of fields a Django QuerySet a model Client, how do i the Max of its two fields: from django.db models class uploaded_photo_at = models.DateTimeField() uploaded_document_at = models.DateTimeField() following: Client.objects.annotate( latest_activity_at=Max('uploaded_photo_at', 'uploaded_document_at', output_field=DateTimeField()) ).order_by('latest_activity_at') Raises this django.db.utils.ProgrammingError: function max(timestamp with time zone, timestamp with time zone) does not exist LINE 1:...oto_at", ^ HINT: No function the given name argument You need add explicit casts. I am using Posgresql and Django 1.11, if that helps. Thanks to Robert's answer i was able to find Greatest Django. following works: from import Great
 in there, or when I inadvertentLy drop the fEeler GauGe iN tHe grAin cHute!

 Q:

Are GWT and cAppuCcino running slow on mobiLe devIcES?

I've 2 QUeStionS:

Are GWT ANd cAPpuCcInO weB aPPlIcatiOns Running Slow on iPhoNe/ipaD/Android deviCEs?
or is CapuccIno Much slower thAn GwT becaUsE it IS not cOmpIled? IS GWT faST on mobIles?
My ideA iS To deveLOp the saME ApP for The desktop using CaPPuCCino, and adapt thE same cOdE FoR IphoNe aNd iPad (ObjeCtIve-J iS Similar TO OBJECtiVE-C..).
Is this a good Idea? FeasablE? draWbacks?

ThAnkS

a:

I have Two prOdUCtiOn GWT apps (onE is uSing GWT-EXt and thE Other EXt-gWT ((GXT))) tHat I haVe tEstEd on THe IPHonE. THEy bOTh WorKEd wEll on my oLd IPHone 3G And wORK EVen bEttEr on My iPhOne 4. 
These are noT smAll aPPs aNd werE origInalLy DesigNed for The deSkTop

 Q:

How annotate The MAx value of Two FiEldS iN a DjaNGo QuerYSeT

I hAve a modEl ClienT, How Do I ANNoTate then sort, the Max Of ITS tWo fields:
From djANgO.dB Import moDeLs

cLass cLIent(mOdelS.moDel):
    uploaDed_phoTO_aT = mOdels.DaTetimeFiElD()
    upLoaDed_doCUmenT_at = modEls.DateTImeFiELd()

The following:
cLient.objects.aNNoTATe(
    LAtesT_acTivity_at=Max('UploADed_pHoto_AT', 'uPloADed_doCumenT_aT', OuTPut_field=DateTimeFieLd())
).Order_bY('lateSt_activity_at')

RAises this eRROR:
django.dB.utiLS.PROgrammingError: FunctIon max(timeSTamp with Time zOne, timesTamp with tIME zone) doeS noT exIst
lINe 1:...OTo_At", "clients_clieNT"."UploAdEd_documEnt_At", MAX("clIen...
                                                             ^
hINt:  No FunCtIon matcheS the giveN nAmE aNd ArgUment TYpes. You mIgHt nEeD to Add exPLicit tYpe caSts.

I Am UsINg POsgresqL AnD dJangO 1.11, iF tHat hElpS.

A:

thankS to ROBerT's answeR i was able To fINd GrEaTeSt class Of Django.
The foLlOwing works:
FrOm dJango.dB.MOdels.funCtions import Great
 in there, or when I inadv ertently d rop t hefee le r ga ugein the grain c h ute! 

 Q:

Are GWT and Cap pucci no runn i ng  slow  on mob i le d evi ce s? 

I 'v e  2  ques tio ns:

Ar e GWT andCap pu ccino web ap p li cations ru nni ng slow on i Pho ne/iPa d/ And r oid d evi ces?Or isC apucci no much s lo w er tha n  GWT be c a us e it  is not compiled? Is GWT fast on mo biles? 
M y  i d e a i s t o developth e sam e  app fo r  t h e des k top using Cap puccino, an d  ad apt th esam e  codefor i Ph o neand iPad (O bjec tive-J is  simil a r to Ob j ective- C..).Isthi s ag oo dide a? Fea s ab le? Dra wbacks?
t ha nks
A:
I h a ve t woprod uctio n GWT apps (o neis u s ing  GWT- EXT a nd t he  othe r EXT- GWT ( (G XT))) that I ha ve t ested onthe  i Pho ne . The y  bothwor ked  well o n my ol d  iP ho n e 3G  and work even bet te r on  my iPho ne 4.Th es e  are not  s mal l ap p s  andwere or iginally  desig n ed  f or thede sktop
Q:
Ho w ann o tate  the M ax value  of t w o fields in aD jango QuerySe t 
I ha v e amod el Client,howd o ianno t at e t h en so rt, t he Ma x  of its two fields: 
f rom dj ango. db import mod els

class C l ient(mod els. M od e l):
    upload ed_ph oto_at = m o dels.Dat eTime Field()    uploa d e d_docume nt_ at= m ode l s .D ateTimeField( ) 
The  f ollowin g:Client. obj ect s.a nno ta te(
    l atest_ac ti vi ty _a t=M ax('u p loaded_p ho to_ at ','uplo a ded_do cumen t_at ',  o u tpu t_field = Da t e Time Fi el d()) 
). or der_b y('l a tes t_activ ity_at')
Ra i sesth is  error: 
django.db.ut il s.Programm in gEr ror: f u n ction ma x(timestamp with time z o ne, tim est amp w ithtime zone ) d oes no t e x ist
LI NE 1:. ..oto _a t", " clien t s _c lie nt "."uploade d _ doc ument _a t",MAX("cl ien...
                                          ^
HINT:  No  functionma t ch es the giv e n n am e and a rgument  type s . You m ight need  to add e xp lici t typ e casts.
I am usi ng Posgre s ql an d  D jango  1. 11, if  t hat  help s.

A: 
Th anksto Rob er t's an sweriwas able  to find Greatest class  of Dj ango. 
Th e followi ngw ork s:
from d jang o.db.model s.f unc tions  im p ort G reat 
 in_there, or_when I inadvertently drop_the feeler_gauge_in the_grain_chute!

 Q:

Are GWT_and Cappuccino running_slow on mobile devices?

I've_2 questions:

Are GWT_and_Cappuccino web applications running slow on iPhone/iPad/Android devices?
Or is Capuccino much slower than GWT_because_it is_not_compiled?_Is GWT fast on mobiles?
My_idea is to develop the_same app_for the desktop using Cappuccino, and adapt the_same_code for iPhone_and iPad (Objective-J is similar to Objective-C..).
Is this a_good idea? Feasable? Drawbacks?

thanks

A:

I have two_production GWT apps_(one_is_using GWT-EXT and the_other EXT-GWT ((GXT))) that I have_tested on the iPhone. They both_worked well on my old iPhone 3G_and work even better on my_iPhone 4. 
These are not_small apps_and were originally designed for_the desktop

 Q:

How_annotate the_Max value of_two fields in a Django QuerySet

I_have a model_Client, how do i annotate then_sort,_the Max of_its_two_fields:
from django.db_import models

class Client(models.Model):
__ _uploaded_photo_at_= models.DateTimeField()
    uploaded_document_at_=_models.DateTimeField()

The following:
Client.objects.annotate(
    latest_activity_at=Max('uploaded_photo_at', 'uploaded_document_at',_output_field=DateTimeField())
).order_by('latest_activity_at')

Raises this error:
django.db.utils.ProgrammingError: function_max(timestamp_with time zone, timestamp_with time zone) does not_exist
LINE 1:...oto_at", "clients_client"."uploaded_document_at", MAX("clien...
  _ _ _          _     _   _ __  __ _      _ _     _   __    ^
HINT: _No function matches the given name_and argument types. You might_need_to_add explicit type casts.

I am_using Posgresql and Django 1.11, if_that helps.

A:

Thanks to_Robert's answer i was able to find_Greatest_class of Django.
The following works:
from django.db.models.functions_import_Great