Posts

javascript - Updating html table with input -

i learning js, html, css, , general web development first time , wanted create simple (or thought) table use keeping track of items have. essentially want make dynamically-sized table can take , save input. i thinking of way make javascript function in order add tags tables input given. have seen personal website developer had input boxes submit button, causes data added in table in html file's table. for instance, if have: <table id="inventory"> <thead> <tr> <th>item name</th> <th>item number</th> <th>item color</th> </tr> </thead> </table> would possible me add <tr class = "boxtype"> <th>boxv1</th> <th>#1111</th> <th>blue</th> </tr> the above block table using javascript , inputs? i tried making addrows method after snooping around web, , created temporary version of table empty when re...

hdfs - Will the replicates of Hadoop occupy NameNode's memory -

we know each file in hdfs occupy 300 bytes memory in namenode, because each file has 2 other replicates, 1 file totally occupy 900 bytes memory in namenode, or replicates don't occupy memory in namenode. looking @ optimisation name node memory usage , performance done @ hadoop-1687 can see memory usage blocks multiplied replication factor. however, memory usage files , directories not have increased cost based on replication. the number of bytes used block prior change (i.e. in hadoop 0.13) 152 + 72 * replication, giving figure of 368 bytes per block default replication setting of 3. files typically using 250 bytes, , directories 290 bytes, both regardless of replication setting. the improvements included 0.15 (which did include per-replication saving, there still per-replication cost). i haven't seen other references indicating per-replication memory usage has been removed.

sitecore - EXM 3.2.0: Email Campaign Manager doesn't show the history of drafts / created messages -

Image
we need setup exm 3.2 sitecore 8.1 in production after configured exm in development. works fine in dev ... in production don't see message history section (screenshots below) mongodb , exm.dispatch database exist , nothing wierd apears in logs. clue might cause here? thank in advance sitecore exm messages stored in sitecore_master_index . try rebuild index control panel -> indexing manager.

c# - Cannot find resource named 'UndockArrowBrush' -

i try add hidden control tfspendingchanges xaml definition <usercontrol xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" visibility="hidden" mc:ignorable="d" x:class="vsextensions.integrationsectionview" x:name="integrationsection" d:designwidth="39" d:designheight="39"> <grid x:name="layoutroot" visibility="hidden"> </grid> </usercontrol> when run visual studio throw error : system.reflection.targetinvocationexception: exception has been thrown target of invocation.. ---> system.windows.markup.xamlparseexception: provide value on 'system.windows.staticresource...

Cordova Security Alert Google Play Android -

i have app published on google play , have received warning recently: https://support.google.com/faqs/answer/6325474 i have upgraded cordova version via command line , re-uploaded apk , still same warning. any ideas on how resolve issue? thanks, chris you need not update android version explicitly. updating cordova version through cli automatically updates cordova android version well. need remove android platform , add once again after cordova update , rebuild android platform again. hope helps.

arrays - Excel: Subtract 2 values based on multiple criteria to get message response rate -

Image
hi i'm trying track response rates in various message threads , having trouble writing formula. included link sample data set sudo formula below. appreciated! data set link: https://docs.google.com/spreadsheets/d/1tgocxxxtlntizsdqyvglespfjzdi73y61cfzcskrgvm/edit?usp=sharing sudo formula: if ("actionable" = "y") then find next row has: a) next "message #" in sequence , b) same "thread_id" , c) sent other user = "n" then subtract "date" value of second row first row data set: user_id thread_id message_id date fromuser_id sent other user message # actionable responsetime 3198 5555 22115 1/22/2016 20:41:00 1109 y 1 y 3198 5555 22217 1/25/2016 4:22:00 3198 n 2 n 3198 5555 22225 1/25/2016 15:03:00 1109 y 3 y 3198 5555 22226 1/25/2016 15:04:00 1109 y 4 n 3198 5555 22228 1/25/2016 17:01:00 3198 n 5 n 319...

javascript - Changing the value of the variable from outside of model -

function searcharticlemodel() { var self = this; self.param = ''} var searchmodel = new searcharticlemodel(); ko.applybindings(searchmodel, document.getelementbyid("ko-search-module")); $('.tag-menu').on('click', function(e) { showsearch(); // searchmodel.param("tags") } i need give string value tag param. not able that. tried stuck @ this. using knockout first time bit confused. have knockout model param value null. , trying set value of param when following function called. you should use ko.observable() make changes affect ui. function searcharticlemodel() { var self = this; self.param = ko.observable() } var searchmodel = new searcharticlemodel(); ko.applybindings(searchmodel, document.getelementbyid("ko-search-module")); $('.tag-menu').on('click', function(e) { showsearch(); // searchmodel.param("tags") } also i...