|
|
OriginalGriff wrote: 5) Very low power consumption. I think electricity is a lot cheaper than whatever these guys eat
On a side note, did you know elephants lose their teeth which causes them to die of starvation or malnutrition?
Elephants lose their teeth at various stages in their life and replace them with new ones, but they can only do this six times (or seven times on rare occasions).
When they've lost their last teeth it's a slow and painful death from there.
Elephants also have the largest teeth of any animal, even bigger than a whale's (biggest animal EVER!).
|
|
|
|
|
Sander Rossel wrote: but they can only do this six times "Only"?
Humans have one spare set, and we switch to the final set quite early.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Eddy Vluggen wrote: Humans have one spare set, and we switch to the final set quite early.
My grandpa would disagree.
|
|
|
|
|
Still chewing using his milk-teeth, ehr?
Fake ones aren't counted, as most animals and some humans don't have access to them.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
OriginalGriff wrote: Why don't we use an [mastadon] as storage media?
and to think of what the data dumps would be like, too!!
|
|
|
|
|
"fertile", so not much difference there
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Using your requirements, mothers-in-law would do even better. Not only do they never forget, but they last even longer.
Also, while the RSPCA may complain about the way you treat your elephant, no one cares what happens to your mother-in-law.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
However, the npm (nags per minute) is extremely high on Mother-in-law storage, and anything you store is never good enough!
|
|
|
|
|
Yet another brilliant idea founders on the shoals of reality.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
But how do I carry it with me on an airplane?
I wonder if those suction toilets can handle it
|
|
|
|
|
Why does the Norway Navy have bar codes on the side og their ships.
So when they return to port they can Scandinavian!
Technician
1. A person that fixes stuff you can't.
2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge.
JaxCoder.com
|
|
|
|
|
Away with you.
Scandinavian...
|
|
|
|
|
|
Ah, the sweet joys of recognition!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
Been working on understanding / building my app as a Cross-Platform app (see lounge post[^] for more).
Deployment Packages
The real target was to get deployment packages that would allow anyone on any OS (Win10, MacOS, Linux) to easily obtain and install.
I was confused for a while, but I figured it out : basically, there is another Electron/Node project (Electron-Builder via Github[^]) that will package your app for deployment on all three platforms.
Once I tested the installation on my local machine (Win10) I decided to try it out on another machine where I do not have the rights to install apps.
Very Cool
When I double-clicked the installer package, it worked perfectly normally (though I don't have admin rights). I saw the nice dialog (image via imgur[^]) that tells me it is installing but no UAC warning and asking me to sign in as an admin.
From a developer's perspective this is very cool.
Win10 Apps & Features
I also looked in Win10 Apps & Features to see if I saw the program and it is listed (snapshot via imgur[^])
It is interesting that the installer can add the app in there, even though I'm not an admin.
Uninstall? Nope!
I tried uninstalling the app from Apps & Features but it raises the UAC request and I don't have rights.
What Is Target Installation Location For Electron-Builder?
This seems to be the way the installer gets around the UAC requirement.
It installs to:
C:\Users\<UserName>\AppData\Local\Programs\<AppName>\
It Is Still Possible to Run Uninstall
The packager also creates an uninstall exe so you can uninstall the app cleanly and completely. You can see it in this file listing image via imgur[^].
Even though I cannot run the uninstall from Apps & Features I can run it from that uninstall EXE and it will remove the program from Apps & Features --- nice and clean.
As A Dev
As a dev I think this is amazing and cool because deployment is always difficult and I want it to __just work__. As a user, I'm thinking, "uh, who can install stuff to my machine without me knowing...or as a trojan payload to some other program I downloaded!?!"
Of course, since this is like xcopy install that could be true with anything you install.
If you'd like to try the installation package you can get it from my site: http://raddev.us/downloads/CYaPassSetup106.exe^
modified 12-Oct-19 0:08am.
|
|
|
|
|
The app is being installed under the user profile, not under Program Files. That's why it installs without UAC popping up.
You don't have to be an admin for an app to show up in Apps & Features. The Uninstall key you find under LocalMachine in the registry also exists under user profiles.
|
|
|
|
|
Dave Kreskowiak wrote: You don't have to be an admin for an app to show up in Apps & Features.
It's an interesting and helpful feature really. Makes a nice and clean install and quite seemless for the user too.
|
|
|
|
|
The problem with it is if you have a dozen different users on the same machine running the app, you have a dozen installations of the app on the machine.
|
|
|
|
|
Dave Kreskowiak wrote: if you have a dozen different users on the same machine running the app, you have a dozen installations of the app on the machine.
That is a very good point. and these Electron installations are HUGE compared to their native (or managed framework) alternatives. HUGE! The app I rewrote was about 3 MB or something. The new one installs 90MB or more.
Of course for .NET managed apps you have the initial installation that is large but at least that is in one location and everyone can use. I took a look at the Atom Editor (also Electron app) and it is 1.1GB installation. Wow!
|
|
|
|
|
You also run into limitations, like if your app data is in an Oracle database and you have to modify TNSNAMES.ORA. You have no way of doing that in the installation.
Nor do you have any ability to throw any HKEY_LOCAL_MACHINE stuff into the registry either...
|
|
|
|
|
umm just thinking out loud here...
the appearance of the trojan [horse] is that it looks like a gift, and [referring back to the story] also looks innocuous. Even once brought inside (installed) it still looks like gift.
Only when it turns dark (ability to move freely / undetected - UAC has [elsewhere] been set to allow) then the payload within is released to achieve it's goal.
Trojans don't by themselves attempt to gain access, they wait until it's provided to them.
Ability for ordinary [otherwise limited for security purposes] users to install ANY app without permission a good thing?
Gotta love the way windows still makes even new features so useful for the good and the bad.
Message Signature
(Click to edit ->)
|
|
|
|
|
It looks similar to the Microsoft Click-Once installer which for some strange reason is totally unknown to most Windows developers: Create custom installer for ClickOnce application - Visual Studio | Microsoft Docs[^]
As Dave Kreskowiak mentioned this installs to the user profile.
The interesting thing is that, from a Microsoft browser, it can directly install by just clicking a link.
For non Microsoft browsers this sadly does not work and it will just download the installer.
|
|
|
|
|
RickZeeland wrote: It looks similar to the Microsoft Click-Once installer which for some strange reason is totally unknown to most Windows developers:
I agree that it looks like that type of installer (which is quite nice) and I'm not sure why this wasn't the standard for installations either. Probably just not well communicated by MS originally. I remember when Vista came out and the standard for installations became so different (Program Files was locked down) and I had to learn how to do installs properly -- it was a pain to discover the info.
|
|
|
|
|
raddevus wrote: installations became so different (Program Files was locked down) and I had to learn how to do installs properly -- it was a pain to discover the info.
I totally appreciate this comment!
Restricted access to HKLM also created some headaches/redesign.
"Go forth into the source" - Neal Morse
|
|
|
|