Posts

PL/SQL Implementation of Hungarian/Kuhn-Munkres Algorithm -

where pl/sql implementation of hungarian/kuhn-munkres algorithm? there don't appear online can find. i couldn't find one...so made one. want share else needs it. has been tested , validated, , additional comments welcome. https://github.com/esa606/hungarian_algorithm/ this based on comprehensive algorithm outlined @ http://csclab.murraystate.edu/bob.pilgrim/445/munkres.html .

mysql - Persisting a dockerized WordPress (with LAMP stack) -

i'm working on moving wordpress blogs traditional setup docker, i'm having trouble in understanding best way persist data. in short, idea have each blog running inside own container (based on tutum/wordpress ). during tests noticed if save data on blog, when commit container, image not contain such data. far understood docker supposed save status of container when committing new image. happens when run commands or install packages on container, somehow doesn't happen when i, example, create new post in wordpress. i have read bit docker volumes, don't think having separate data volume convenient, i'd prefer having data in single container, can move around more easily. is there missing? preventing docker saving new posts in wordpress? thank time! the dockerfile tutum/wordpress based off tutum:lamp , declares volumes @ /etc/mysql , /var/lib/mysql . so, if use image, have volumes whether or not. because data in volumes lives outside of union file ...

c# - Start-Process with java.exe fails after java update -

we have virtual server running windows server 2012 r2. on friday version of java updated 1.8.0_27 1.8.0_40. far know, change made. since time, can run java directly command line or in batch files, working powershell scripts use start-process start java, e.g. $process = start-process -filepath c:\programdata\oracle\java\javapath\java.exe -argumentlist $report_args -passthru -wait give error "start-process : command cannot run because system cannot find information required." java executable started , finishes task correctly, in meantime powershell script has gone down path reporting error. system.diagnostics.process.start (in c#) reporting failure when starting java. any ideas on things message "start-process : command cannot run because system cannot find information required."?

javascript - Why is AngularJS router not triggering? -

i'm trying trigger controller url http://crm.dev/accounts , i'm using anonymous function in example controller, alert inside doesn't triggered. can't figure out why, guess stupid i'm missing? i don't want use template or view, need controller fired. please note i've set $locationprovider.html5mode(true); . 'use strict'; angular.module('crm', [ 'ngsanitize', 'ngroute', 'angularmoment', 'ui.bootstrap', 'ui.select', 'ui.bootstrap.datetimepicker' ]); angular.module('crm').config(function(uiselectconfig) { uiselectconfig.theme = 'bootstrap'; }); angular.module('crm').constant('angularmomentconfig', { preprocess: 'utc', timezone: 'europe/berlin' }); angular.module('crm').config(['$routeprovider', '$locationprovider', function ($routeprovider, $locationprovider) { $rout...

java - Cursor SQLite with AndroidPlot -

i want connect sqlite cursor androidplot error. code, error? private xyplot mysimplexyplot; @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_grafica); // initialize xyplot reference: mysimplexyplot = (xyplot) findviewbyid(r.id.mysimplexyplot); //increment domain , range mysimplexyplot.setdomainstep(xystepmode.increment_by_val,0.05); mysimplexyplot.setrangestep(xystepmode.increment_by_val,0.05); //open database plotxy databasehelper admin_plotxy = new databasehelper(this); sqlitedatabase bd_plotxy = admin_plotxy.getwritabledatabase(); //cursor sqlite plotxy cursor data_plotxy = bd_plotxy.rawquery( "select xi,yi plot_xy", null); if (data_plotxy.movetofirst()) { xyseries serie_xy = new simplexyseries(data_plotxy, simplexyseries.arrayformat.xy_vals_interleaved, "series x=y"); lineandpointformatte...

c# - Enable Migrations EF 6 Package Not Installed -

i'm creating new mvc 5 solution using ef 6 code first membership. broke out solution 3 projects, 1 consisting of main project views, 1 core, or business layer, , third domain. datacontext , initializer classes in project called 'core'. when try use package manager console enable-migrations , select 'core' project default, get: not sure understand issue, have referenced entity framework libraries within project. any idea doing wrong? tia the answer nuget install of ef package vs. referencing dlls.

android - State of the art push messaging, reliably receiving background messages -

i using signalr push messages browser. i'm developing web page @ moment potentially wrapped in cordova, although prefer use standard apis if possible. the issue see nature of mobile processes (which go sleep), browser tabs (which closed or hidden), , need ensure connection , listener live @ time message sent device. as understand can solved using serviceworker (see https://w3c.github.io/push-api/#extensions-to-the-serviceworkerregistration-interface ) however, it's not clear signalr client side library designed work inside service worker... seems use jquery. has trodden path? i'm unfamiliar signalr, article on push messaging in chrome shows how implement.