Posts

SQL Server SSD vs HDD performance -

so i'm doing performance comparison between ssd , hdd sql server insert statements. i'm inserting 2,000 columns worth of data across 4 different tables. for each record insert 1 row in each table. i tested on 1 machine ssd main hard drive running sql server process , database file on secondary hdd drive. i tested on machine ssd drive has both sql server process , actual db file. i have expected machine database field on hdd slower machine on ssd. is behavior i'm seeing expected? if why?

How to use button through border in windows phone 8 -

this code block <grid> <button name="button" click="button_click"/> <border background="black" opacity="0.2"/> </grid> i want use button under border layer it's not possible because border has own tap event there way use button click event when border on top of it? just set ishittestvisible property of border false: <grid> <button name="button" click="button_click"/> <border background="black" opacity="0.2" ishittestvisible="false" /> </grid>

python - linking ipopt against openblas -

currently, trying build ipopt linking against openblas. downloaded openblas source , did make in parent directory. the configure script of ipopt has several options link against blas: i tried ./configure --with-blas="-l/home/moritz/build/coinipopt_test/thirdparty/openblas-0.2.14/libopenblas.so" but error checking whether user supplied blaslib="-l/home/moritz/build/coinipopt_test/thirdparty/openblas-0.2.14/libopenblas.so" works... no configure: error: user supplied blas library "-l/home/moritz/build/coinipopt_test/thirdparty/openblas-0.2.14/libopenblas.so" not work any tips how achieve want ? finally, make conda package. have installed openblas anaconda. same error message if link against installed libopenblas.so managed work. had install openblas directory of choice by make install prefix=/home/....../ aferwards compiled ipopt using ./configure --with-blas-incdir="-l/home/.../openblas/include/" --with-blas-lib=...

passing a variable string through a textfield for a digital clock in java fxml -

im building stop watch digital , analog clock having trouble printing digital clock value because im unsure how pass string fxml. why when try id="digitaltext" textfield in fxml program fails if write using text="00:00" work properly(just text 00:00 though no updating digital clock of course). have hoped giving id print value inside it. the controller package tds7xbstopwatchfxml; import java.awt.textfield; import java.net.url; import java.util.resourcebundle; import javafx.animation.animation; import javafx.animation.keyframe; import javafx.animation.timeline; import javafx.event.actionevent; import javafx.fxml.fxml; import javafx.fxml.initializable; import javafx.scene.image.image; import javafx.scene.image.imageview; import javafx.util.duration; public class fxmldocumentcontroller implements initializable { @fxml private imageview clockface; @fxml private imageview hand; @fxml private textfield digitaltext; string digital; double rotation...

asp.net mvc - JQuery UI datepicker not working in Chrome -

i using jquery ui date picker in asp.net mvc app. works fine in ie in chrome default date picker visible, when use jquery ui doesn't add date box. i have several options on here possible solutions nothing works. the viewmodel is: [required] [display(name = "date of birth")] [datatype(datatype.date)] [displayformat(dataformatstring = "{0:yyyy/mm/dd}", applyformatineditmode = true)] public datetime dateofbirth { get; set; } the view is: <div class="form-group"> <div class="row"> <div class="col-md-3 col-md-offset-1"> @html.labelfor(model => model.dateofbirth, htmlattributes: new { @class = "control-label" }) @html.editorfor(model => model.dateofbirth, new { htmlattributes = new { @class = "form-control", placeholder = "01/12/80" } }) ...

html - How can I make a div with a box-shadow overlay its h1 child element? -

i have div box-shadow , h1 inside, shadow doesn't cover h1 here code: h1 { position: absolute; top: 50%; left: 44%; -webkit-transform: translate(-44%, -50%); transform: translate(-44%, -50%); margin: 0; font-size: 120px; text-align: center; } #div{ width:100%; box-shadow:inset 0 0 0 1000px rgba(255,0,0,0.5); height:400px; } <div id="div"><h1>hi</h1></div> it appears question want div shadow cover h1 . to accomplish apply negative z-index h1 . h1 { z-index: -1; } demo: http://jsfiddle.net/rzhfqb5y/ the shadow covers h1 .

actionscript 3 - New as3 project framework (mvc)! Do you want to test it? -

i created actionscript3 framework myself. because hate code out of head. separated in different libs, can combined. whole code documented , docs including examples. the main usage mvc project framework , @ point, when can release it. still want work on extend , improve it. , point need little help. i'm pretty sure find issues in it. in understanding of it, way use or, in worst case, bug in code. so if to, here link: http://codeboxes.com/ and way: published under mit licence, can ever fun want it. ;) not open source! thank commenting , viewing question help. said has valid point. close , think opensource thingy.