Deprecation is not the same as a hint. That message is a warning to let you know that while it may work today, it may not in the near future because sys
is being deprecated and ultimately phased out (and removed) in favor of util
. It would make sense to write code for the packages that will continue to work, and not for things that will be deprecated.
Read the statement by Michael Teeuw here.
![](/uploads/profile/uid-3/3-profileimg.png)
Posts
-
RE: MMM-SystemStats (cpu temp/load, fre ram ...)
-
RE: Can the usb port from a monitor power the rpi3?
While a lot of monitors have USB ports, unfortunately they do not provide enough amps to run an rpi. All of them will be capped at either the USB1 or USB2 spec, which is 150 to 500mA. Some newer monitors have USB3 in them, but even that will be capped at the 900mA spec. An rpi needs more than that. It might run, but you’ll get erratic behaviors and random crashes from it.
-
RE: First Raspberry
@kasy, we need more information here. What hardware are you running on, be specific. What have you done to install MM. What have you done that gives you that message? We aren’t all Gods here … like @MichMich …
-
RE: Dual display
While the description says it can drive both a VGA and HDMI connected monitors, resulting in a dual setup, MM is configured to launch one Electron screen. You might be able to run a side-by-side installation of MM and launch it on a secondary port, and I’m assuming it will launch a second Electron window that you will then have to position on screen. I just don’t know what will happen when/if you restart the rpi. Will it remember where the screens were positioned? only testing will answer that.
-
RE: Temporary disable modules
> opens nearby dictionary, flips to ‘politics’, grabs red pen and writes
/* ... */
around definition <YEP! Still works! :)
I wasn’t referring to the actual module files. I’m talking simply editing the
config.js
file and comment the specific module’s config section out. -
RE: Christmas Countdown
Since he said smart nerds … here ya go http://bfy.tw/80wP
-
RE: Move Module to corner
Note that if you are trying to move it down, you won’t be able to because the newsfeed module takes up that space. Please look at the various regions on this post: https://forum.magicmirror.builders/topic/286/regions
-
RE: Outfit Selection
Deferring on the picture taking as that’s just a painstakingly long process depending on how many articles of clothing you want to store. And how, whether you’re going to wear each one, take a picture, and then clean it up, or if you’re just hanging them on some background. How are you going to do ties? Again, wearing each and cleaning up the image to only show the tie? Yeah, deferring. :)
The better practice is to store (TEXT) data like that in database tables, and create indexes that can then be quickly searched. For example, have a table with only the shirts, listing color, style, and whatever other attributes you deem necessary. Do the same for pants. Have both indexed. Then you need to create some logic that will determine what would match based on your preferences, so you don’t end up wearing colors that clash, for example (then again, maybe you are that stylist who does exactly that.)
It’s not impossible, it just takes a lot of work. The pictures part, as well as the logic part. It’s really easy to query the database for a random shirt and pants. It’s harder to query for something that makes sense.
-
RE: Brightness Requirements
More reflectivity means more silver particles in the material. More silver particles means less light transmission for the monitor. Every situation is different, every room is different. You will have to try it out. My suggestion is to find a place you can order sample pieces from, then go hold them up again the monitor, in the environment it’s going to be in, see what works.