Suggest Visualization for Control line & Waning line

I need to show 100’s parameter & its current value with respect to Upper/Lower Control value and warning value. Each parameter has different Control/Warning line.

  • If value is close to warning line – show it as warning parameter
  • If value has crossed warning line & close to Control line – show it as different category
  • If value has crossed control line (upper/lower) – show it as different category.

    Please suggest a better (graphical) way to visualizing this.

Did an auto-update and now I can’t access the displays control panel through cinnamon

WTH. I did an auto-update and my external monitor stopped being auto-detected. I went and installed lightDM (I really don’t know what lightdm is), and now it detects the monitor, but I still can’t access the GUI-based screen resolution app that ships with ubuntu. I could probably hack with xrandr but honestly I’ve had a couple of glasses of wine and this isn’t what I need right now.

I want to make my big external monitor the default monitor. I installed ARandR but look what it gives me:

enter image description here

The menu bars are wacky funhouse size. WTH. Plus when I log out and back in the settings aren’t persistent.

What’s going on here. Are the good people at canonical too busy with their kuberneets to keep this shit usable? Help! How can I make the display manager app available after the upgrade? Why doesn’t it show in cinnamon?

Here’s what xrandr says:

Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192 eDP-1 connected (normal left inverted right x axis y axis)    3200x1800     59.70 +    2880x1620     59.96    59.97      2560x1600     59.99    59.97      2560x1440     59.99    59.99    59.96    59.95      2048x1536     60.00      1920x1440     60.00      1856x1392     60.01      1792x1344     60.01      2048x1152     59.99    59.98    59.90    59.91      1920x1200     59.88    59.95      1920x1080     60.01    59.97    59.96    59.93      1600x1200     60.00      1680x1050     59.95    59.88      1600x1024     60.17      1400x1050     59.98      1600x900      59.99    59.94    59.95    59.82      1280x1024     60.02      1440x900      59.89      1400x900      59.96    59.88      1280x960      60.00      1440x810      60.00    59.97      1368x768      59.88    59.85      1360x768      59.80    59.96      1280x800      59.99    59.97    59.81    59.91      1152x864      60.00      1280x720      60.00    59.99    59.86    59.74      1024x768      60.04    60.00      960x720       60.00      928x696       60.05      896x672       60.01      1024x576      59.95    59.96    59.90    59.82      960x600       59.93    60.00      960x540       59.96    59.99    59.63    59.82      800x600       60.00    60.32    56.25      840x525       60.01    59.88      864x486       59.92    59.57      800x512       60.17      700x525       59.98      800x450       59.95    59.82      640x512       60.02      720x450       59.89      700x450       59.96    59.88      640x480       60.00    59.94      720x405       59.51    58.99      684x384       59.88    59.85      680x384       59.80    59.96      640x400       59.88    59.98      576x432       60.06      640x360       59.86    59.83    59.84    59.32      512x384       60.00      512x288       60.00    59.92      480x270       59.63    59.82      400x300       60.32    56.34      432x243       59.92    59.57      320x240       60.05      360x202       59.51    59.13      320x180       59.84    59.32   DP-1 disconnected (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) HDMI-2 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 608mm x 345mm    3840x2160     30.00 +  25.00    24.00    29.97    23.98      2560x1440     59.95*     1920x1080     60.00    50.00    59.94    30.00    24.00    29.97    23.98      1680x1050     59.88      1600x900      60.00      1280x1024     75.02    60.02      1440x900      59.90      1280x800      59.91      1152x864      75.00      1280x720      60.00    50.00    59.94      1024x768      75.03    70.07    60.00      832x624       74.55      800x600       72.19    75.00    60.32    56.25      720x576       50.00      720x480       60.00    59.94      640x480       75.00    72.81    66.67    60.00    59.94      720x400       70.08   

What should I do to prevent the sleep on the final loop of this control stucture?

I am checking if something is ready for a maximum of 5 times. Each failed ready check waits 5 seconds.

def ensure_ready():     '''     Ensure the object is ready     '''     for i in range(5):         ready = is_ready()         logger.warning('Ready %b on check number %s', ready, i)         if ready:             return True         else:             # Sleep for five seconds             sleep(5)     return False 

I could have put the sleep at the beginning but I wanted to do the check immediately.

The problem with this is on the final run (where i is 4) and ready remains False, I am unnecessarily running the sleep

HTML & CSS best practices for this customer checklist control?

HTML & CSS

.route-checklist {   display: flex;   align-items: center;   flex-wrap: wrap; }  .route-checklist.uniform {   width: 1000px; }  .route-checklist:not(.uniform) {   justify-content: center; }  .customer-checklist {   padding: 10px 30px;   margin: 15px;   border: 1px solid black;   border-radius: 10px;   vertical-align: middle; }  .route-checklist.uniform > .customer-checklist {   min-width: 400px; }  .route-checklist:not(.uniform) > .customer-checklist {   text-align: center; }  .customer-checklist .customer {   font-weight: bold; }  .route-checklist.uniform > .customer-checklist .customer {   width: 300px;   /* display: inline-block; */ }  .checkin-checklist {   justify-content: space-between;   flex-wrap: wrap; }  .route-checklist.uniform .checkin-checklist {   display: inline-flex;   vertical-align: top; }  .route-checklist:not(.uniform) .checkin-checklist {   display: flex;   width: 250px;   margin: auto;   text-align: left; }  .checklist-item {   width: 125px;   text-align: left; }  .checklist-item.large {   width: 100%;   text-align: center; }
<!-- Setup #1 - Solo version --> <h2>Solo Version</h2> <p>Appears on the pages of each link.</p>  <div class="route-checklist">   <div id="1" class="customer-checklist">     <span class="customer">Test Customer #1</span>     <div class="checkin-checklist">        <div class="checklist-item ">         <input type="checkbox" class="truck stock-checkbox check-in-checkbox" disabled="disabled">         <a class="truck stock-link" href="#truckstock/18458">Truck Stock</a>       </div>       <div class="checklist-item ">         <input type="checkbox" class="deliveries-checkbox check-in-checkbox" disabled="disabled">         <a class="deliveries-link" href="#deliveries/18458">Deliveries</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="returns-checkbox check-in-checkbox" disabled="disabled">         <a class="returns-link" href="#returns/18458">Returns</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="onhands-checkbox check-in-checkbox" disabled="disabled">         <a class="onhands-link" href="#onhands/18458">OnHands</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="buybacks-checkbox check-in-checkbox" disabled="disabled">         <a class="buybacks-link" href="#buybacks/18458">BuyBacks</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="samples-checkbox check-in-checkbox" disabled="disabled">         <a class="samples-link" href="#samples/18458">Samples</a>       </div>        <div class="checklist-item large">         <a class="back-link" href="#">Back to List</a>       </div>      </div>   </div> </div>   <!-- Setup #2: "uniform" aka List version --> <h2>List Version</h2> <p>This is the checklist that the "Back to List" link refers.</p>  <div class="route-checklist uniform">   <div id="1" class="customer-checklist">     <span class="customer">Test Customer #1</span>     <div class="checkin-checklist">        <div class="checklist-item ">         <input type="checkbox" class="truck stock-checkbox check-in-checkbox" disabled="disabled">         <a class="truck stock-link" href="#truckstock/18458">Truck Stock</a>       </div>       <div class="checklist-item ">         <input type="checkbox" class="deliveries-checkbox check-in-checkbox" disabled="disabled">         <a class="deliveries-link" href="#deliveries/18458">Deliveries</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="returns-checkbox check-in-checkbox" disabled="disabled">         <a class="returns-link" href="#returns/18458">Returns</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="onhands-checkbox check-in-checkbox" disabled="disabled">         <a class="onhands-link" href="#onhands/18458">OnHands</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="buybacks-checkbox check-in-checkbox" disabled="disabled">         <a class="buybacks-link" href="#buybacks/18458">BuyBacks</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="samples-checkbox check-in-checkbox" disabled="disabled">         <a class="samples-link" href="#samples/18458">Samples</a>       </div>      </div>   </div>   <div id="2" class="customer-checklist">     <span class="customer">Test Customer #2</span>     <div class="checkin-checklist">        <div class="checklist-item ">         <input type="checkbox" class="truck stock-checkbox check-in-checkbox" disabled="disabled">         <a class="truck stock-link" href="#truckstock/18459">Truck Stock</a>       </div>       <div class="checklist-item ">         <input type="checkbox" class="deliveries-checkbox check-in-checkbox" disabled="disabled">         <a class="deliveries-link" href="#deliveries/18459">Deliveries</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="returns-checkbox check-in-checkbox" disabled="disabled">         <a class="returns-link" href="#returns/18459">Returns</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="onhands-checkbox check-in-checkbox" disabled="disabled">         <a class="onhands-link" href="#onhands/18459">OnHands</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="buybacks-checkbox check-in-checkbox" disabled="disabled">         <a class="buybacks-link" href="#buybacks/18459">BuyBacks</a>       </div>        <div class="checklist-item ">         <input type="checkbox" class="samples-checkbox check-in-checkbox" disabled="disabled">         <a class="samples-link" href="#samples/18459">Samples</a>       </div>      </div>   </div> </div>

  • List Style – Made so that more customer checklists are visible on the page at one time.
  • Solo Style – Made so that it fits in the empty space next to another control that is on every page linked by the control.

Concerns

I’m not really worried about the visuals of the site, so much as

  • Are there more efficient ways to accomplish these styles?
  • Am I missing some best practices I’m not aware of?

Note – In case it matters I have to support IE11, Chrome, and Safari (iPad).

Why upon clicking actionResult the control goes to Get part and not post part of the action method?

I have this method in controller.

[HttpPost]         public ActionResult ChangeStatus(int id)         {             try             {                 using (UnitOfWork uwork = new UnitOfWork())                 {                     InspectionReportDAL = new InspectionReportDAL();                     User user = (User)Session["User"];                      InspectionReport InspectionReport = uwork.InspectionReportRepository.GetByID(id);                      if (id == 1) //Reviewed                     {                         InspectionReport.CheckedBy = user.UserID;                         InspectionReport.Status = (byte) id;                     }                     else if (id == 2) //Approved                     {                         InspectionReport.ApprovedBy = user.UserID;                         InspectionReport.Status = (byte)id;                     }                     else if (id == 3) //Issued                     {                         InspectionReport.IssuedBy = user.UserID;                         InspectionReport.Status = (byte)id;                     }                      uwork.Save();                      return RedirectToAction("Index", "InspectionReport");                 }             }             catch (Exception ex)             {                  return View();             }          } 

I am calling it using action link, from an Edit view which uses an action method in the same controller

@Html.ActionLink("Review", "ChangeStatus", new { id = 1 }, new { @class = "btn btn-success" }) 

Controller name is InspectionResult.

When I click the ActionLink, it goes to the ChangeStatus method but the Get’s one not the post’s one.

 [HttpGet]         public ActionResult ChangeStatus()          { return View(); } 

Route.Config

 public class RouteConfig     {         public static void RegisterRoutes(RouteCollection routes)         {             routes.IgnoreRoute("{resource}.axd/{*pathInfo}");              routes.MapRoute(                 name: "Default",                 url: "{controller}/{action}/{id}",                 defaults: new { controller = "Home", action = "Login", id = UrlParameter.Optional }             );         } 

Bulk Approval on sharepoint version control

Is there any way of bulk approving all of the files in multiple folders in one sharepoint library?

My colleague has placed his cad drawings in multiple folders and i can bulk approve per folder but not for the entire library? For reference they uploaded 900+ documents into 60+ folders!

For those that cannot find the site manager content you can simply go to your site homepage and add _layouts/15/sitemanager.aspx to the end of the URL in the address bar. you can then select all the files in a folder and click the actions button to approve all of them.

However i cannot see a way of expanding all the files in all of the folders to approve all 900 at the same time!

This is only an initial load kind of problem subsequent modifications to approve will be few and manageable one by one.

Thanks

What is the name of the control shown to users with tips, tutorials or other messages usually in a lightbox?

Is there a specific name to the control that is shown to users of web sites/apps that is usually a modal window or lightbox that generally displays content like:

  • Tips
  • Guided walkthroughs
  • Important messages relevant to the user since last time they logged in
  • What’s New

Is there a specific name for this control or pattern?

Also, are there recommended libraries to implement this control/experience in a web application?

Here’s an example from the web site for AppDynamics: example whats new lightbox from AppDynamics