Re: Changing object's type without casting

2013-10-30 Thread Javier Guerrero García
Wild guess here (agree that some code might help), but... have a look at the as keyword :) On Wed, Oct 30, 2013 at 4:42 PM, mark goldin markzolo...@gmail.com wrote: Is it possible to make an object of a some type exposing itself as of another type without casting? Extending Proxy is what I

Re: AW: Dashboards

2013-11-14 Thread Javier Guerrero García
I know it sounds a little bit odd, but... what about using simple calls to google chart API inside the sources of bitmapimages? :) Robust, incredibly powerful, elegant and... free! :) https://developers.google.com/chart/image/docs/chart_playground On Thu, Nov 14, 2013 at 10:07 AM, Tom Chiverton

Re: Creating an iOS Style Blurry Overlay in Flex

2013-11-24 Thread Javier Guerrero García
Congrats simon, real perfect visual match! :) And really elegant source code, AND really elegant demo, BTW :) Have you checked performance on real devices? What are the numbers on small processors? On Sun, Nov 24, 2013 at 12:53 PM, simon gladman sglad...@gmail.com wrote: Hi Fellow Flexers,

Re: Creating an iOS Style Blurry Overlay in Flex

2013-11-24 Thread Javier Guerrero García
On 24 November 2013 12:15, Javier Guerrero García javi...@gmail.com wrote: Congrats simon, real perfect visual match! :) And really elegant source code, AND really elegant demo, BTW :) Have you checked performance on real devices? What are the numbers on small processors? On Sun, Nov

Re: printing

2013-11-29 Thread Javier Guerrero García
If you just need to print, and leaving PDF generation on the user side just like most software do, why not using Flex native printing capabilities? I've not used them in a while, but in 2009 they were good enough for proffesional formatting a dinamic 20 page document, and quite simple to use.

Re: printing

2013-11-30 Thread Javier Guerrero García
was in css2(css1?) too? has css3 more stuff for printing? i will google. Am 29.11.2013 21:54, schrieb Javier Guerrero García: If you just need to print, and leaving PDF generation on the user side just like most software do, why not using Flex native printing capabilities? I've not used

Re: Accent insensitive search

2014-02-21 Thread Javier Guerrero García
Obvious answer here: make a cleanup function (some replaces with case insensitive regexps), and compare cleanup(string1) == cleanup(string2). Something like (pseudocode): function cleanup(input:string):string { var result:string=input; replace [áàäãâ] in result with a (case insensitive, /gi in

Re: Delete image from camera roll

2014-03-15 Thread Javier Guerrero García
Just another option: attach the video camera directly, and just capture the image and process it bypassing cameraUI. If you dont want to save it, i think it's the fastest and simplest solution ;) El sábado, 15 de marzo de 2014, Lee Burrows subscripti...@leeburrows.com escribió: I havent tested,

Re: Delete image from camera roll

2014-03-17 Thread Javier Guerrero García
at 2:29 PM, Kwolbert kwolb...@amiscu.com wrote: Thanks for the response, I have tried this but the camera view is too sluggish! From: Javier Guerrero García [via Apache Flex Users] [mailto: ml-node+s246n5550...@n4.nabble.com] Sent: Saturday, March 15, 2014 6:37 AM To: Kwolbert Subject

Re: event whenitem render is complete

2014-03-18 Thread Javier Guerrero García
A workarround here: in your itemrenderer, call the sizing function if data = dataprovider's lastitem :) P.S. Are you sure you can't do the sizing math in advance? If you adjust the sizing at the end, it'll surely cause a re-rendering On Tue, Mar 18, 2014 at 9:34 PM, Alex Harui aha...@adobe.com

Re: Filtering the response from a CallResponder object

2014-03-25 Thread Javier Guerrero García
Just my opinion, I would get the responses from your webservices in XML (pretty straightforward), and just filter the dataprovider in the datagrid using ecmascript (E4X) in realtime (or even binding): dataprovider={modulesService.lastResult.(@moduleID!=whatever)} 1. Set your httpservices type to

Re: Filtering the response from a CallResponder object

2014-03-26 Thread Javier Guerrero García
Well, sincerely I haven't used any of those, but I'm always in the opinion that if the core provides it, using another framework in top of it just makes things slower and harder to mantain :) And believe me, generating a plain XML file in PHP according to a query on a table is pretty

Re: Integrating whatsapp into my flex mobile app using custom URL scheme

2014-03-26 Thread Javier Guerrero García
Just call navigateToURL(new URLRequest(whatsapp://send?text=Hello%2C%20World!)), as you would call any usual http or mailto url. On Wed, Mar 26, 2014 at 12:21 PM, skvsarathyourfriend skvsarathyourfri...@gmail.com wrote: Hello i am new to flex mobile, I am working on a text generator in which

Re: Integrating whatsapp into my flex mobile app using custom URL scheme

2014-03-26 Thread Javier Guerrero García
BTW, just make sure you encode your parameters in advance :) http://stackoverflow.com/questions/916142/url-encoding-using-flex-navigatetourl-function On Wed, Mar 26, 2014 at 1:58 PM, Deepak MS megharajdee...@gmail.com wrote: Can you try this: navigateToURL(new

Re: Changing Itemrenderer at runtime

2014-03-27 Thread Javier Guerrero García
In a similar case, I went with defining two states, and two tree controls, one with each itemrenderer, and one includeIn each state. On Thu, Mar 27, 2014 at 12:36 PM, Patil, Virat virat.pa...@capgemini.comwrote: Hi I have usecase wherein I need to change the itemrenderer in tree control at

Re: What map tools do you use for Flex?

2014-03-28 Thread Javier Guerrero García
Have you tried paying for the API? :) Just joking :) Here's a workarround (maybe): instead of directly loading the response from the API in a stagewebview, load the HTML in a previous request, modify it as you wish (replace your banner div or whatever with null), and then use the loadString (or

Re: Error while switching between renderers in mx:Tree

2014-04-01 Thread Javier Guerrero García
Define two states in your application, and either: 1. Define two mx:Trees, one with each item renderer, with includeIn for each Tree set to each state, and just switch between states :) 2. Or just define one Tree, with itemRenderer.state1=itemRendererClass1, and

Re: Coding a better flex mobile app

2014-04-02 Thread Javier Guerrero García
Have anyone on this thread EVER had a look at the s:Application object attribute *frameRate*? http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Application.html It *defaults to 24fps*, but everything runs really great at 60 :) (and believe me, your high end

Re: Coding a better flex mobile app

2014-04-02 Thread Javier Guerrero García
Here's a couple of link with examples and info: http://www.morearty.com/blog/2006/07/17/flex-tip-a-higher-frame-rate-even-makes-text-entry-look-better/ http://help.adobe.com/en_US/as3/mobile/WS948100b6829bd5a61c0b0b612763986266-8000.html On Wed, Apr 2, 2014 at 6:18 PM, Javier Guerrero García

Re: Coding a better flex mobile app

2014-04-02 Thread Javier Guerrero García
Yep, although it's true that retina iPads trend to run a little bit slow in some versions of the SDK. Have a look at look4color app in the store (ios/android), and check the performance of the list itemrenderers by yourself :) (I promise they're all simple MXML renderers even with bindings, no

Re: Coding a better flex mobile app

2014-04-02 Thread Javier Guerrero García
Exactly the way I felt the first time :) I mean, it's not THE silver bullet, and your opaqueBackground/cacheAsBitmap/etc... optimizations of course counts (hugely on low end devices), BUT ... you really can notice the difference :) Cheers :) On Wed, Apr 2, 2014 at 7:03 PM, After24

Re: Coding a better flex mobile app

2014-04-07 Thread Javier Guerrero García
renderMode? cacheAsBitmap=true? use StyleableTextField? opaqueBackground=FF? autoDrawBackground=false? I said it was NOT the only thing: if your itemRenders are unable to go further than 24fps, you won't notice any changes. BUT if they are, and you don't set a higher framerate, you'll be

Re: Coding a better flex mobile app

2014-04-07 Thread Javier Guerrero García
is set to auto and the ItemRenderer used is the bundle LabelItemRenterer. The higher framerate I can get on a nexus 4 is 30-33 fps, this gain has little impact on the scrolling smoothness perception. Javier Guerrero García wrote renderMode? cacheAsBitmap=true? use StyleableTextField

Re: Coding a better flex mobile app

2014-04-07 Thread Javier Guerrero García
:) wait until you enable caching and disable backgrounds ;) El lunes, 7 de abril de 2014, After24 vinc...@after24.net escribió: Javier, Setting renderMode to direct has a significant impact, scrolling fps is now comprise between 40 and 46 fps. I'm using The spark LabelItemRenderer which is

Re: Coding a better flex mobile app

2014-04-07 Thread Javier Guerrero García
in the constructor). Javier Guerrero García wrote :) wait until you enable caching and disable backgrounds ;) El lunes, 7 de abril de 2014, After24 lt; vincent@ gt; escribió: Javier, Setting renderMode to direct has a significant impact, scrolling fps is now comprise between 40

Re: Coding a better flex mobile app

2014-04-07 Thread Javier Guerrero García
...and never use a 300k component to do a division ;) Set a counter On enterframe, counter++ Set a timer each 5 secs On timer tick, {fps=counter/5;reset counter} El lunes, 7 de abril de 2014, Javier Guerrero García javi...@gmail.com escribió: Questioning.stop(); Trying.start(); ;) And you

Re: Flex Graphics

2014-04-07 Thread Javier Guerrero García
A line is a line, just a bunch of pixels more oe less straight ;) Capture mouseMove on the parent container, and use the x value to get the y ;) El lunes, 7 de abril de 2014, Patil, Virat virat.pa...@capgemini.com escribió: Hello I have collection data with x,y values . I am drawing lines

Re: Coding a better flex mobile app

2014-04-07 Thread Javier Guerrero García
;) are you talking about the cacheAsBitmap property ? if it's the case I'm just saying that this property is set to true in the constructor of the LabeItemRenderer. And why are you talking about a 300k component ? it's only 150 loc. Javier Guerrero García wrote Questioning.stop

Re: Coding a better flex mobile app

2014-04-08 Thread Javier Guerrero García
parameters on the list scrolling performance. Javier Guerrero García wrote I'm talking about: 1. NOT using labelitemrenderer, but StyleableTextField directly 2. Setting the opaqueBackground property to anything (btw, it's a uint color, not a boolean :) 3. Setting the autoDrawBackground

Re: Air LMS Communication

2014-06-11 Thread Javier Guerrero García
Well, like any other system in the world, if that system has an API, and that API is able to receive and send data in any machine readable format (XML, json, ...), of course you can communicate with it in a thousand different ways, Flex being one of them. But your question is somewhat like is a

Re: Flex mobile application Accessibility

2014-06-24 Thread Javier Guerrero García
Hi Tonic: If the only thing you're looking for is making it bigger, maybe you could write your own ApplicationRuntimeDPI class, and return a bigger runtimeDPI if your accessibility enabled conditions are met, so the whole application will scale (i.e., bigger buttons, UI components, and so on) and

Re: Flex mobile application Accessibility

2014-06-24 Thread Javier Guerrero García
P.S. By bigger i meant smaller :D (the smaller the DPIclass, the bigger the UI) :) On Tue, Jun 24, 2014 at 7:08 PM, Javier Guerrero García javi...@gmail.com wrote: Hi Tonic: If the only thing you're looking for is making it bigger, maybe you could write your own ApplicationRuntimeDPI class

Re: Flex mobile application Accessibility

2014-06-25 Thread Javier Guerrero García
And what if you don't? :) Place a enable accesibility option in your app, store the setting in any persistence mechanism, query it on startup, and return the modified DPI if it is on :) I know it's a workarround, but it IS a workarround :) On Wed, Jun 25, 2014 at 9:04 AM, Tonic

Re: Flex mobile application Accessibility

2014-06-25 Thread Javier Guerrero García
Well, then just think it the other way round :) Place a small button and a timeout, and assume the user is handicapped by default: if he/she manages to press it, DISABLE the accesible behaviour of the app :) Of course, all of this just while the SDK manages to catch up with the real world ;)

Re: list of images: poor performances

2014-06-28 Thread Javier Guerrero García
Also adjust the opaqueBackground, don't set the image sources inmediately but after a short timeout (so if you scroll down fast skipping lets say 50 images you DON'T load 50 images before loading the 51st), and use a contentCache loader with queueing (

Re: AW: Simple Database Architecture Suggestions Please

2014-09-02 Thread Javier Guerrero García
Hi Tintin: Do you need CRUD operations to be commanded from within your flex app, or just read-only data? If it's the latter, I would recommend you three incredible simple choices: 1. Use MS SQL FOR XML statement (6 chars), make an ASP that just executes the query FOR XML (one line), invoque

Re: Decimal to Hex conversion.

2014-10-02 Thread Javier Guerrero García
OMFG! :D Syntax error: user, know and hex values found in the same sentence. Expected doesn't :) On Thu, Oct 2, 2014 at 2:22 AM, Saju Thankathurai sathikeshj...@gmail.com wrote: Its a desktop application. Some users know hex values. So they start typing hex values in one column of datagrid.

Re: A script has executed for longer than ....

2015-06-25 Thread Javier Guerrero García
Hi Mark: A long shot here: are you sure that, while you are processing the XML, you're NOT triggering constant UI updates on each operation? For instance: if after processing each XML item, you are adding the final result to an ArrayCollection, and you have some rendering component bound to that

Re: A script has executed for longer than ....

2015-06-25 Thread Javier Guerrero García
More on that: http://www.jamesward.com/2008/11/21/drunk-on-software-episode-3-performance-pitfalls-of-flexs-arraycollection/ On Thu, Jun 25, 2015 at 6:29 PM, Javier Guerrero García javi...@gmail.com wrote: Hi Mark: A long shot here: are you sure that, while you are processing the XML, you're

Re: Max Upload Limit from Flex Web App

2015-06-29 Thread Javier Guerrero García
Hi Scott: Never underestimate the bandwidth of a truck full of hard disk drives :) Do you really really REALLY need to upload 10Gb of data using a protocol that was NOT designed to do so? Can't you slice it in chunks / compress / use FTP / whatever? P.S. And are you sure it's not a 4Gb filesize

Re: Chat/Messaging

2016-01-19 Thread Javier Guerrero García
Hi Scott: If you want to keep things REALLY simple, just relay messaging in "mailto:; / "whatsapp:" / "sms:" uri schemes and you're done :) My 2 cents ;) On Tue, Jan 19, 2016 at 3:00 PM, Matthew Weir wrote: > Twilio may also be an option for you. It is not

Re: Workers and Speed

2016-07-31 Thread Javier Guerrero García
Alex / Justin: Just a general question, related to this thread: why are we just assuming that a worker implementation should be always faster that a single threaded model? Isn't that heavily dependent on the underlying hardware (and flash capability to properly use it)? I mean: In a single

Re: Workers and Speed

2016-08-03 Thread Javier Guerrero García
Hi Bilbosax: Just my 2 cents on some things to consider: according to your code, it's something like "If 10 conditions are met, do the math" Instead of writing it as a series of nested ifs (a real mess for your CPU branch prediction module), try this: dothemath=(condition1) && (condition2) &&

Re: Re: Multithreading

2016-08-15 Thread Javier Guerrero García
Hi Bilbo! Another side question: have you measured how long does it take the "processing" alone, discounting all database reads / writes (just before the first FOR loop starts, and until it ends)? On Mon, Aug 15, 2016 at 12:01 PM, Kessler CTR Mark J < mark.kessler@usmc.mil> wrote: > Side

Re: Best Cross Platform Mobile App

2016-08-12 Thread Javier Guerrero García
Why even bother considering an app for displaying and sorting a table? Plain HTML / Javascript would just do the work for that, it is cross platform, and it looks like will last for a few years :) On Fri, Aug 12, 2016 at 3:13 AM, bilbosax wrote: > So I showed the app

Re: Workers and Speed

2016-08-05 Thread Javier Guerrero García
Agree with Alex :) You should be under the minute barrier, since you're doing just half the job (unless of course getting the results from the DB takes 1 minute :) On Fri, Aug 5, 2016 at 6:21 AM, Alex Harui wrote: > Sounds like you made two major changes. Did you do them

Re: Workers and Speed

2016-08-06 Thread Javier Guerrero García
Following your example, how many "shapes" are there in the problem? Couldn't you just store them separately first: points["marbles"]=array(...) points["squares"]=array(...) so you don't have to loop through 38k records every time you have a marble just to find all other marbles? Also, sorting

Re: Workers and Speed

2016-08-03 Thread Javier Guerrero García
Another quick one: since you're comparing points and distances and sin/cos/tans, does it make sense to compare points i=25 and j=50, and then again points i=50 and j=25? Would the calculations yield the same results? In that case, you could just halve your computation to (i

Re: Workers and Speed

2016-08-03 Thread Javier Guerrero García
P.S. Couldn't status be just 0 or 1 instead of "Act"? You are doing 38k * 3 letters comparisons, instead of 38k. Also, shouldn't you check the status of j too, or it doesn't matter? On Thu, Aug 4, 2016 at 1:43 AM, Javier Guerrero García <javi...@gmail.com> wrote: > Anoth

Re: Get mouse coordinates on high speed

2016-10-06 Thread Javier Guerrero García
rve is not smooth in case of fast, long distance moves > > [1] https://github.com/solomax/FlexSandbox/blob/master/web/ > src/Main1.mxml#L37 > [2] https://github.com/solomax/FlexSandbox/blob/master/web/ > src/Main1.mxml#L31 > > On Thu, Oct 6, 2016 at 2:37 PM, Javier Guerrero

Re: Get mouse coordinates on high speed

2016-10-06 Thread Javier Guerrero García
arted from, > and it completely not working in my quickstart app > > will try "screenRedraw", we'll see it will allow more precise coordinates > :) > > On Thu, Oct 6, 2016 at 3:21 PM, Javier Guerrero García > <javi...@gmail.com> wrote: > > And the 60fps? :

Re: Get mouse coordinates on high speed

2016-10-06 Thread Javier Guerrero García
Hi Maxim! Are you capturing the points on line objects, or on a bitmap drawn at the bottom that has to be interpolated and redrawn on every mouse movement? Try separating the capture and paint areas, capturing line objects instead of pixels on a bitmap, or at least draw the bitmap with the lowest

Re: Get mouse coordinates on high speed

2016-10-06 Thread Javier Guerrero García
er in separated thread) > > Thanks for the pointer > > On Thu, Oct 6, 2016 at 2:23 PM, Javier Guerrero García > <javi...@gmail.com> wrote: > > Hi Maxim! > > > > Are you capturing the points on line objects, or on a bitmap drawn at the > > bottom that has to be int

Re: Get mouse coordinates on high speed

2016-10-12 Thread Javier Guerrero García
undo. > > > > HTH, > > -Alex > > > > On 10/6/16, 1:24 AM, "Maxim Solodovnik" <solomax...@gmail.com> wrote: > > > >>>> Another possibility: don't attach the events to the stage, but to the > >>>>"area" object

Re: Speeding up column resize

2017-04-15 Thread Javier Guerrero García
Couldn't you just do that using the standard LabelItemRenderer and: paddingLeft alternatingItemColors textIndent properties? Also, you could just (temporarily) tune your custom item renderer down to a standard LabelItemRendered, and check if your assumptions are right, but since DataGrid uses

Re: Connection to Google Calendar as a Proxy Scheduler

2017-07-07 Thread Javier Guerrero García
Hi npem! :D Sure there are! :) That's exactly what push notifications where made for :) Why don't you just store your users appointments server side somewhere, and send push notifications to their devices when the date is due? It's almost the textbook example of push notifications in fact :) 1

Re: Can I control the parameter order in an HTTPService Post?

2017-07-05 Thread Javier Guerrero García
Hi Jeffrey! My 4 cents :) 1. Maybe defining the inside the declaration (and just binding the contents) helps somewhat. Maybe not, but at least it's prettier :) http://help.adobe.com/en_US/Flex/4.0/AccessingData/WS2db454920e96a9e51e63e3d11c0bf69084-7fdc.html 2. Stupid one: try method="POST"

Re: ItemRenderer Render Order

2017-10-12 Thread Javier Guerrero García
Another few options: 1. Set the dataprovider to only the first 3 entries 2. Wait for complete rendering 3. Set the dataprovider to the whole list of entries and caching will do its job Or just set items 4-99 to not visible, and then turn them back on when items 1-3 finish loading. (you could

Re: Size of Result Returned From MySQL

2017-08-30 Thread Javier Guerrero García
Assuming your php output is buffered (99.999% of apache servers), just getting the size of the output buffer would do: http://php.net/manual/en/function.ob-get-length.php In case response is also compressed (gzipped, deflated, etc...), or just for simplicity, you can just grab the contents

Re: Size of Result Returned From MySQL

2017-09-06 Thread Javier Guerrero García
Nope, not at all, and definitely not what Amazon AWS will be billing you for. Why don't you try any of the gazillion and byte-accurate methods commented? You just have to click on your browser launch icon :) (and again, your concern is *not* the data returned by the MySQL database, but the

Re: Size of Result Returned From MySQL

2017-09-07 Thread Javier Guerrero García
> > Is there a better way to set up the web service?? Yes: in general, never use 1 ton of frameworks if it can be done in 1 line of code :) The answer depends on a hundred different factors (you didn't tell us anything about the app itself, so it's hard to guess), but if for "better" you mean

Re: How many instances of RemoteObject should I create?

2017-10-18 Thread Javier Guerrero García
Agree with Jeffry "by the book", but since Flex GC is really picky when choosing which things it considers garbage (don't forget not even one event listener, or bind, or), your current option is at least "safest". -> Your option: you are really really really sure there is just one

Re: Advertising ID on Mobile

2017-12-19 Thread Javier Guerrero García
Not 100% sure (a few hurdles to jump in between), but maybe a simple cookie could let you handle all that: store a random number (or even the agentID) in the cookie AND in your database on first click (before redirecting to the app store), and then inside the app use a browser to query for that

Re: Advertising ID on Mobile

2017-12-18 Thread Javier Guerrero García
Wouldn't it be easier to just generate a random on first start, store it somewhere in application persistance, and do whatever you would be doing with that unreachable UDID/IMEI/Ad ID ? How do agents "register" their customers? Can't customers just key in their agent "keycode/pin/name/email/phone

Re: Splash Screen Resizing

2017-10-26 Thread Javier Guerrero García
No problem, but I can think of a couple of PayPal URLs where you can thank me more than enough if you wish ;) Now seriously... didn't the name of the property itself and the reference docs give you any hints that there could be the solution to your issue? (I mean instead of waiting 2 days and a

Re: Splash Screen Resizing

2017-10-25 Thread Javier Guerrero García
Hi bilbosax! I do remember something similar happening to me, but I managed to sort it out. Is it a resize or does it move down a few pixels? If the second, it might be the IOS bar appearing, there was a setting somewhere in the app descriptor xml to tell ios whether to use fullscreen or not

Re: Lazy parsing inf Flex

2018-02-15 Thread Javier Guerrero García
As a rule of thumb, ALWAYS obey what Alex says about Flex :) But, in this case, think also if you could planitize the XML structure (do you really really REALLY need a tree to represent the data *to be displayed*, or is it just because of a quick implementation server-side?) and use a

Re: Checking browser version form Flex

2018-01-03 Thread Javier Guerrero García
Not sure, but try this: Define a wrapper function in your javascript: getInfo() { return window.navigator.userAgent; /* it's already a string */ } And invoking userAgent = ExternalInterface.call("getInfo"); instead from Flex. On Wed, Jan 3, 2018 at 2:51 PM, scott matheson

Re: Working with DXF Files in Adobe AIR

2018-07-27 Thread Javier Guerrero García
The "runtime" requirement sounds a bit strange (not knowing anything about your app), since it would involve something generating/updating a DXF in realtime while your app needs to access it (otherwise, you could perform your conversion. If you do need that realtime, I would go for server side

Re: Working with DXF Files in Adobe AIR

2018-07-26 Thread Javier Guerrero García
There are plenty of DXF->SVG conversion tools: https://www.dxfconverter.org/ Surely you won't have much trouble rendering the SVG in your app and retain full vector resolution if you need to, but it could be slow to render. You might also want consider rendering the DXF as a bitmap at your top

Re: Enable/Disable MenuItems before Display

2018-07-14 Thread Javier Guerrero García
Can't you just bind the enabled property of your nativemenuitems to whatever expression gives you the availability of the item, no matter if it's shown or not, so you are sure it's always in the correct state?

Re: Flex Calendar

2018-07-23 Thread Javier Guerrero García
Hi Hugo! Long time ago I was working with IBM ILog Elixir calendar / timeline component: https://www.ibm.com/developerworks/downloads/ws/elixir/index.html I think now it was acquired by Rogue Wave (Rogue Wave Elixir) https://www.roguewave.com/products-services/visualization/elixir/demos I

Re: Persisting ContentCache to disk between sessions

2018-10-29 Thread Javier Guerrero García
Just my 2 cents: have you considered getting rid of everything and just use one sprite image for all the logos? https://www.w3schools.com/css/css_image_sprites.asp You minimize connections to just 1 download, that if properly compressed and if logos share a fair amount to colors, could get the

Re: Persisting ContentCache to disk between sessions

2018-10-29 Thread Javier Guerrero García
app > within 20 seconds. > > But thanks for your suggestion! > > Erik > > On Oct 29, 2018, at 1:30 PM, Javier Guerrero García > wrote: > > Just my 2 cents: have you considered getting rid of everything and just use > one sprite image for all the logos? > > https://www.w3sch

Re: Inject Authorization Header into WebView on Mobile

2018-09-24 Thread Javier Guerrero García
Erm I might be missing something terribly, but... if we're talking about basic auth, and if you consider it "secure" (visit your nearest shrink), why don't you use the good old classic http://login:pass@url scheme? (or just pass the login and pass in two parameters to the PHP, so it can check

Re: Inject Authorization Header into WebView on Mobile

2018-09-24 Thread Javier Guerrero García
Are you REALLY sure that GET/POST parameters in HTTP calls are deprecated? Wow, the guys at Google might be really pissed of trying to receive their query strings... The Internet is really going down the hole indeed... App request: http://www.bilbo.com/yourtopsecretservice.php?login=john=doe

Re: Flex production server problem

2019-12-11 Thread Javier Guerrero García
Hi: Absolutely no idea of your setup, but according to your post: File(/opt/plesk/php/5.6/share/pear/ > http://www.bbrchk.com < / > Services/BookClub/LevelService.php > ) > Should that read as

Re: Flex production server problem

2019-12-11 Thread Javier Guerrero García
Hi! Lucky guess, but still I have absolutely no idea of your setup or intents ;-) Anyway, you have granted permissions to 'dwu'@'localhost' (meaning "dwu accessing from localhost"), but IIRC you are trying to access it from anywhere, right? Try granting permissions to 'dwu'@'%' (meaning "dwu

Re: MySQL view definer

2020-01-23 Thread Javier Guerrero García
https://dev.mysql.com/doc/refman/8.0/en/connection-access.html (rtfm ;-) On Thu, Jan 23, 2020 at 2:12 PM Javier Guerrero García wrote: > myname@% and myname@localhost are totally different users. The first > means "myname connecting from anywhere", while the second means &qu

Re: MySQL view definer

2020-01-19 Thread Javier Guerrero García
If the definer is different and you've set the security to apply to the *definer* of the view (instead of the *invoker* of the view), of course the results might be different since the definer might not have enough permissions to access the tables in the view: [image: image.png] Either change

Re: Launching an AIR application (captive runtime) from an http link

2020-05-18 Thread Javier Guerrero García
Hi Vincent: All you have to do is make up an interesting name for the protocol part of an URI scheme (for instance, "myapp://" or "batchfile://" or "whatever://"), and just tell your operating system/browser how to open URLS with that scheme (same as "you" did for "http://; schemes, "ftp://;