This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
121
Off-Topic / Re: Can enigma be a widget engine?
« on: August 05, 2014, 01:48:55 pm »An empty GM project is 15mb of ram right now. With all the bells and whistles of a widget, it probably be around 30mb. Taking into account I have seen rarely more than 3 widgets at the same time, then that is 90mb. Which is not that bad. The "engine" what you call shouldn't be more than a few megs in program anyway. Gathering data isn't that ram consuming. On the other hand the rendering and all that can be. From what I found widgets do use about that much ram or even more. They usually also use more CPU (like 2% to 9%) - this is from a topic I just read about Win7 gadgets.
And you said you would want to use JS and python to render them. I don't know what you can use to render JS as a widget though, I'd say Adobe AIR, which uses about 200mb of ram when launched. So I doubt you would get much less ram usage, than regular ENIGMA.
Okey gotcha, so it would be better and faster if done individually and operate individually, great! that means same stuff on windows and on linux, mac can go fuck itself, as for android... well when we can export to it I'll be more than happy to.
122
Off-Topic / Re: Can enigma be a widget engine?
« on: August 05, 2014, 12:18:55 pm »It doesn't need to be a "game" with "minigames". I would just make everything in ENIGMA, that's all. Probably one project per widget. I have done many things in GM and ENIGMA, and making a complete game is not one of them. I use them for many totally different things. Like making a file browser that is actually faster than Windows one. I remember the "SubOS" (more precisely a "shell") craze in GMC many years back (it's basically making the graphical part of an OS inside GM and then running over your original OS), which really pushed the limits on what people though GM can do in terms of windows, widgets, file manipulation and so on. Many of those "SubOS's" really had widgets and things.
But one project per widget means one engine per widget, which means heigher ram use if you open more than ona widget.
123
Off-Topic / Re: Can enigma be a widget engine?
« on: August 05, 2014, 10:41:18 am »There is no problem sleeping in ENIGMA as well. You could set automatic redraw to false, then pause the whole game for as long as possible, while creating a threaded script which checks for click in the window about five times a frame. Then CPU cost should be 0%. So I personally don't see a reason why it wouldn't be possible.
But Ed seems to care only about the "engine", or the one sending information to the widgets. Finding an effective way for that is more problematic, as sending data to a JS widget (which is rendered where exactly?) might be more involved.
So building it as a "game" which displays all of this "minigames" would be easier?
124
General ENIGMA / Re: ENIGMA prototype bindings for SDL
« on: August 05, 2014, 10:14:47 am »This is just fantastic!
SDL2 + OpenGL ES would be a dream. This could lead us to a GCW-Zero port
From a future gamming mogul point of view porting your games to android is a more compeling reason for doing it but...
125
Off-Topic / Re: Would someone please?
« on: August 05, 2014, 01:19:02 am »These surgeries carry risks, it should only be a last resort. See if nerve block is not an option for you, I was actually serious about that part
The surgery carries risks, as always but for varicose veins it's one of the solutions, it's not only about the pain, it's about the correct blood flow to your legs, if it gets too much out of wack you could end up loosing one or both legs to gangrene.
If it were only the pain I would pursue some solution as the one you proposse, but there's much more at stake here I'm afraid.
126
Off-Topic / Re: Can enigma be a widget engine?
« on: August 04, 2014, 10:42:21 pm »You are able to include arbitrary C++ code in ENIGMA games. You can do any of that stuff. The issue is that you probably don't want the weight of an entire game engine powering your little desklet. I'd recommend writing a minimalistic system under Platforms/ and implementing a full None graphics system, if you wanted to pursue that.
Not sure if I understood you, the weight of the game would be on the engine not on the desklets, the desklets would comunicate with the engine and extract the info from it, it would also provide the graphics capability to the desklets to draw clocks, calendars and what not. The desklet itself could be nothing more than the graphics and some JS, Lua or python to communicate with the engine.
The real problem would be to make it launch itself at boot time, to prevent it from launching more than one instance of itself and/or the desklets, and to allow it to communicate with the web and to extract the weather, and other stuff from it.
Also it would need to be able to use full trasnparency no matter where it's installed, and to scale the desklet up and/or down accordingly to the desktop real state available.
127
Off-Topic / Re: Would someone please?
« on: August 04, 2014, 10:34:53 pm »It's chronic alright, and I'm under treatment, but it's taking to damn long to work, I'm actually considering surgery.
Sounds painful just to read
You've no idea.
Quote
QuoteTylenol is Ibuprofene and so is Advil (I think),
Wrong. Tylenol is Acetaminophen, Advil is Ibuprofen. You cannot take 2 different medications of the same type, example, Motrin and Advil together as both are Ibuprofen, but it is safe to take 2 different types such as Acetaminophen + Ibuprofen,
though you should never do so unless advised by your doctor and never take more than the prescribed dose. You've probably taken them long enough to cause some liver damage. You should discuss that too with your doc.
Yea because when combined acetamicophen adn ibuprofen have a sinergic effect and become more efective.
One of the reasons I'm in pain a lot of the time is because I don't take the pills as often as I should to be without pain, and this problem has afflicted me for about 3 months only. (Although it seems like centuries!)
Quote
QuoteWhat is Dilaudil?
It's a narcotic pain killer based on hydromorphone HCL. But I was joking around.
Oh and the LAST THING you should EVER tell your doctor or surgeon is to cut your leg off......... Personally I rather live with a painful leg than no leg, I don't know how some MFs manage to live their lives with amputated arms, legs, etc, I'd bloody KILL myself !
I figured it was a joke but since I didn't knew what it was I didn't get the joke (As you could probably tell)
Hey dude if they have to cut it off okey I'll make the best out of it but I'm not sugesting that nor really thinking about it (Unless it's 3 oclock on the morning and the pain is killing me
The surgery I'm talking about is one where they extirpate the damaged veins. Flebotomy I believe it's called
128
Off-Topic / Re: Would someone please?
« on: August 04, 2014, 05:54:33 pm »
What you probably need is Dilaudid
But on a more serious note,
Is this chronic or temporary ? You are taking some strong PKs. Gotta be careful with these and your liver, don't take more than the daily dose and long term, if it's chronic you should check with your doc any alternative and no cutting your leg off is not one of them even by special request
As far as cancer grade therapy, nope, you don't want those either unless you have nothing to lose and terminally ill
From what you describe above it sounds to me like you suffer chronic pain and you are a regular V.I.P customer of PKs. You should really discuss this with your doc before you damage your kidneys and liver further with this poison
The most abuse I have done when struck with sever inflammation is 2 tylenols + 2 advils at the same time, lol. I took Naproxen once for 10 days for severe muscle / back inflammation, helped a lot with pain and kept me sleeping the entire MF day But always took those temporary.
Never touched drugs though, medicinal or not, but sometimes I think those are much safer and effective than the POISON medicine approved by the FDA.
It's chronic alright, and I'm under treatment, but it's taking to damn long to work, I'm actually considering surgery.
Tylenol is Ibuprofene and so is Advil (I think), I don't take that stuff every day nor as I should every 8-12 hours, and the naproxene was a desperate cll on my part, since the pain was driving me crazy (literally crazy).
What is Dilaudil?
129
Off-Topic / Re: Would someone please?
« on: August 04, 2014, 05:53:41 pm »
What you probably need is Dilaudid
But on a more serious note,
Is this chronic or temporary ? You are taking some strong PKs. Gotta be careful with these and your liver, don't take more than the daily dose and long term, if it's chronic you should check with your doc any alternative and no cutting your leg off is not one of them even by special request
As far as cancer grade therapy, nope, you don't want those either unless you have nothing to lose and terminally ill
From what you describe above it sounds to me like you suffer chronic pain and you are a regular V.I.P customer of PKs. You should really discuss this with your doc before you damage your kidneys and liver further with this poison
The most abuse I have done when struck with sever inflammation is 2 tylenols + 2 advils at the same time, lol. I took Naproxen once for 10 days for severe muscle / back inflammation, helped a lot with pain and kept me sleeping the entire MF day But always took those temporary.
Never touched drugs though, medicinal or not, but sometimes I think those are much safer and effective than the POISON medicine approved by the FDA.
It's chronic alright, and I'm under treatment, but it's taking to damn long to work, I'm actually considering surgery.
Tylenol is Ibuprofene and so is Advil (I think), I don't take that stuff every day nor as I should every 8-12 hours, and the naproxene was a desperate cll on my part, since the pain was driving me crazy (literally crazy).
What is Dilaudil?
130
Off-Topic / Re: Would someone please?
« on: August 04, 2014, 04:21:33 pm »Just chop off my right leg a little below the knee?
be careful what you wish for.
Leg injury illness Guess there is an amazing invention called pain killers have you tried those ?
Next time you go to your doc you can order from the a la carte menu, and make sure you order a Nerve Block Procedure, usually it's on specials on Friday.
Cheers
Varicose veins, and a varicose ulcer on the right ankle, sometimes it just kills me, regarding the pain killers; last night, when I wrote that, I had taken (3 Hours before) Naproxene , Ibuprofene, an anti-inflamatory, and omeprazol
Short of taking grade A, tripping so high you are feeling no pain, medication there was little more I could do. In general I try not to take really strong stuff for a long time, because your body creates tolerance and then you need more meds or stronger ones for the same pain, until you're getting shot on the veins with cancer grade painkillers or smoking them.
131
Off-Topic / Re: Can enigma be a widget engine?
« on: August 04, 2014, 01:51:56 pm »QuoteSo if we had the code in c++ adding the extension to read the hardware data would be easy?Most of the stuff in C++ is easy, as it has great libraries and tons of API's. I just googled "get cpu temperature C++" and got some pretty good results for both Windows and Linux (ubuntu). But I did notice that there is a lot of incompatibility between versions of linux and variations of hardware. So it could end up not be so easy if we want to support all of that.
On linux no matter what distro (I think) you can read this information from /proc/pid/stat, where pid is the process ID that you're interested in.
See the proc man pages for details.
Code: [Select]
http://www.kernel.org/doc/man-pages/online/pages/man5/proc.5.html
Look also at ps -o format, which allows you to select the fields that ps should display. Again, see the man pages for details.
Code: [Select]
http://linux.die.net/man/1/ps
132
Off-Topic / Re: Can enigma be a widget engine?
« on: August 04, 2014, 12:58:32 pm »Everything is possible with ENIGMA. It's open source. You could use it to control mars rovers if you wanted to (I actually use ENIGMA for robot planning and control). Current net_ functions should have the possibility to load html pages (though someone tried it some while back and had some problems with it), and then you could parse the html to get information. You can launch applications with execute_shell - I have used it to launch security camera feeds. It should also be quite easy to access PC information, like CPU temp. and RAM usage. We should actually make an extension like that.
Linux has ini (trough extension) and execute_shell functions as well.
edit: I think he meant something else. I don't understand why he actually mentioned INI's, as they are config files and are not that useful for information acquiring. To make it launch in boot time you would have to add it to Startup (on windows) and something equivalent on linux. It's not really that connected to the app itself, although ENIGMA has registry functions which should allow you to set this behavior inside the program.
So if we had the code in c++ adding the extension to read the hardware data would be easy?
The INI's may be for saving the state of the active widgets, size, location, theme, etc.
133
Off-Topic / Re: Would someone please?
« on: August 04, 2014, 12:49:36 pm »Using a rusty broken chainsaw I suppose?
Anything if I don't have to suffer another minute of the excrusiating pain and the drive you nuts ardor.
134
Off-Topic / Re: Can enigma be a widget engine?
« on: August 04, 2014, 12:34:39 pm »On Linux it can be easy, if "INI" and "execute_shell" options will be implemented
In Windows probably external software or DLL
Fervi
INI so it would launch at boot time right? and
Execute_Shell to launch other programms?
Will be implemented? you mean in enigma?
The windows comment I didn't understand.
135
Off-Topic / Can enigma be a widget engine?
« on: August 04, 2014, 10:58:27 am »
Acces the OS info? You know cpu temperature, ram usage, etc.
You know acces the web? like getting the weather from a site, or music, or stuff like that, not in a graphical way like a browser would but more like getting the info data and then displaying it in some way choosen by the programer.
And make calls to JS code?
I have a friend on deviantArt who makes desktop widgets for the now defunct Yahoo engine and one or two other widget engines, and talking about it we came up with the crazy idea of a universal widget engine. He knows VB and JS, I could do some stuff on Python.
Thinking about it I thought about ENIGMA as a possible solution to this, if the engine can get acces to that kind of stuff. And maybe even launch other installed applications, like a multimedia player, or a file manager.
It would also be a great way for enigma to get more exposure.
You know acces the web? like getting the weather from a site, or music, or stuff like that, not in a graphical way like a browser would but more like getting the info data and then displaying it in some way choosen by the programer.
And make calls to JS code?
I have a friend on deviantArt who makes desktop widgets for the now defunct Yahoo engine and one or two other widget engines, and talking about it we came up with the crazy idea of a universal widget engine. He knows VB and JS, I could do some stuff on Python.
Thinking about it I thought about ENIGMA as a possible solution to this, if the engine can get acces to that kind of stuff. And maybe even launch other installed applications, like a multimedia player, or a file manager.
It would also be a great way for enigma to get more exposure.