|
raddevus wrote: But, of course, the UI is the real challenge since every platform requires you to build it in a different way.
Then unify that way the UI is built. The MVP (Model View Presenter) did that trick for me. Model and the Presenters have become independent and only the views had to be redone for each specific UI.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
CodeWraith wrote: Then unify that way the UI is built. The MVP (Model View Presenter) did that trick for me.
Great idea.
|
|
|
|
|
MVP pattern was especially well suited because the views are 'dumb' and contain as little logic as possible. So much less code that you have to implement again.
Looks like I find a reason to post this link at least once a week. This thing started out as ASP .Net Webforms: FoC UserClient - Under Construction - YouTube[^]
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
raddevus wrote: I DuckDuckGo'd it
DuckDuckWent?
|
|
|
|
|
Completely unrelated question - does DDG show images for you? Mine shows empty panels instead of the expected image...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: does DDG show images for you?
I think I'm missing it. Not sure what DDG is.
I did have a problem where my app's icon was not showing up when I ran it on Linux. THen I noticed that my configuration was using lowercase to reference the JPG that represented the app icon and of course on Linux files are case-sensitive.
I think you're talking about something else but I'm missing it. Let me know and I'll try to answer. Thanks,
|
|
|
|
|
DDG = DuckDuckGo search engine
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: DDG = DuckDuckGo search engine
Oh, wow, I am slow.
Yes, I use FireFox and if I click the images tab then I do see images on my search.
Are you using a different browser maybe?
|
|
|
|
|
Firefox on Linux...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: Firefox on Linux...
I will try it later (I'm running win10 on my dual boot machine right now) and post back and let you know.
|
|
|
|
|
Okay, I just tried it from here on Ubuntu (18.04.3 LTS) with FireFox and images do show up.
|
|
|
|
|
I DDG'd for Linda Ronstadt and got an image on the right. Clicked the images link and got lots of images.
hth
But I never wave bye bye
|
|
|
|
|
Just use the FLUTTER.
|
|
|
|
|
oleg63 wrote: Just use the FLUTTER[^] *I added link
I've heard of that in the past. I thought it was for mobile apps only (android, iOS like Xamarin) but I see that it now includes desktop also. Interesting. I will check that out sometime soon.
|
|
|
|
|
Very interesting, Raddevus,
I'd look forward to an article about your work with Electron in the future
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
I've done some Electron development (a translation of a C++/Qt app I developed, just to see what developing for Electron was like) and had the following thoughts:
- It can be a bit slow (I was extracting & displaying information from 8MB XML files - is that big?)
- Installing NPM packages with native code was a pain (this was a couple of years ago, so might have improved since then)
- Is it just me, or does installing Electron/any sizable NPM package pull down almost half the Internet? Felt like it...
- I was using Javascript, not Typescript (or a similar statically typed language). I don't really like vanilla Javascript, probably because I've used it so little, so that's a problem for me...
- Packaging the application for distribution yielded something like a 100MB installer, for what was really not that much more than a 'Hello World'. Compared to around 45MB for the C++/Qt apps (yes, that includes all the Qt DLLs - my code compiled down to a 1.5MB EXE).
Having said all that, two of the apps I use (and enjoy using) most, VSCode and GitKraken, are based on Electron, so I have no issue with Electron as a technology from a user's viewpoint. Having said that, I know that GitKraken uses a fair amount of C++ to get improved performance (does VSCode? IDK)
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I have nothing to fear from monsters. It was people who broke my teeth with rocks. It was men who made them think it was necessary. It was angels who watched me crying & stared when I yelled at them. It was monsters who took me inside their bodies for warmth, pleasure & sustenance. It was me who took the form of thirteen birds & died on the sand in a circle. It was meteor (may she lay us waste) who landed in the circle killing everyone. It was everyone who died. It was everyone who, briefly, was resurrected. It was everyone who immediately died again. It was empty I held in my arms after. It was the future I hold in my arms now & call holy. It was the future I kept inside my drawer with the shirts & pants. It was the microscope I used to figure out what my blood was made of. It was hospitals my blood was made of. It was ambulances I found in my breathing. It was the water that came out when I died. It was the water inside me I left to my children. It was daughters they were called by everyone but their mother. It was daughter they wrote on their chests in red ink. It was communion they had with my water then. It was me whose face hit the pavement. It was people who broke my teeth with rocks.
- Moss Angel Witchmonstr, Sea-witch, volume 1, page 57
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: It was monsters who took me inside their bodies for warmth
And I thought they smelled bad on the outside!
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
monsters live inside sea-witch. it's a russian nesting doll thing.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
|
Ah, so how was your visit in Mordor? Did you get into the Wraith Lounge at Mt. Doom? If you don't want to tip the Orcs, you can always kick them through the panorama window.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Time, as in GMT or UTC, is measured plus to the East and minus to the West. Supremely logical, since it fits the movement of solar midday.
Navigators reckon longitude positive to the East, and negative to the West, Why? Well check out that damn' great big yellow star up there, and check it against your ship's chronometer. Works pretty well huh?
Astronomy first started as a science as a service to navigators. In fact, some say that Homer's 'Iliad', where the warriors are entering their boats, that they represented the navigational stars of the Northern hemisphere, and by memorizing them in a poem, it would be easier to identify them when sailing the Mediterranean. Likewise, the second poem, 'The Odyssey' was a warning of various perils. (Bear in mind that Homer wrote down the poems about 500 years after their memorized recital.)
Having said all that, would somebody please kindly tell me why astronomers insist that East is negative, and West is positive? OK, so it means that the Right Ascension increases with time to the West, but that is actually meaningless as the same thing would happen, but just with a minus sign before the number.
A few centuries of analytical astronomy fighting five millennia of navigation by the Sun and stars - and the astronomers decide to do it differently!
If you wonder why this rant, I have just wasted a couple of hours trying to track a serious bug - when it was just the wrong sign on the input.
|
|
|
|
|
When dealing with other forms of power storage, energy flows from the higher (positive) potential to the lower. Examples are hydrological power, wind power, etc. etc. Only in electricity does the power flow from the negative to the positive. Why couldn't those damned natural philosophers (==scientists) have given the electron a positive sign?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Yeah! ..and why do Americans and Europeans* drive on the wrong side of the road?
Everyone knows that driving on the left so that your strong right hand is holding the wheel when you change gear is much safer.
* "Europeans", obviously and quite rightly, does not include the British in this case.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Yes , and why had all those good Englishmen have to fall asleep on the leftmost lane of a four lane highway with only moderate traffic and all speed limits lifted? And, as far as I know, that highway is not in England.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|