發表文章

目前顯示的是 2018的文章

baguetteBox with wordpress

圖片
0 I am using baguetteBox with wordpress and i have issue and i can't get where the problem is . every time the page load , i click the first image and it works well and it open in the pop up modal slider like this but the other images not appear in the modal slider and i get only this I need to know where is the problem the code below is the PHPfor the posts in the gallery page of my website where the images posted . <?php $photo_post = new WP_Query(array( 'post_type' => 'picture', 'orderby' => 'date', 'order' => 'DISC' )); while($photo_post -> have_posts()) { $photo_post -> the_post(); $image =get_field('p_image');?> <div class="col-md-6 col-lg-4 item zoom-on-hover bg-white mb-3"> ...

IEEE Medal of Honor

圖片
IEEE Medal of Honor Awarded for Exceptional contribution or an extraordinary career in the IEEE fields of interest Presented by Institute of Electrical and Electronics Engineers First awarded 1917 Website IEEE Medal of Honor The IEEE Medal of Honor is the highest recognition of the Institute of Electrical and Electronics Engineers (IEEE). It has been awarded since 1917, when its first recipient was Major Edwin H. Armstrong. It is given for an exceptional contribution or an extraordinary career in the IEEE fields of interest. The award consists of a gold medal, bronze replica, certificate and honorarium. The Medal of Honor may only be awarded to an individual. The medal was created by the Institute of Radio Engineers (IRE) as the IRE Medal of Honor . It became the IEEE Medal of Honor when IRE merged with the American Institute of Electrical Engineers (AIEE) to form the IEEE in 1963. It was decided that IRE's Medal of Honor would be presented as IEEE's hi...

ConvergenceException on SimpleCurveFitter in Scala

圖片
1 I'm trying to fit a curve with SimpleCurveFitter of commons.math3.fitting in Scala but I catch an exception : org.apache.commons.math3.exception.ConvergenceException : Unable to permorm Qr decomposition on jacobian However, I have checked my gradient calculations.... I still don't see why the exception is raised. See the code by yourself def main(args: Array[String]): Unit = { var xv: DenseVector[Double] = linspace(0, 3, 300) var yv: DenseVector[Double] = DenseVector.zeros(300) for (i <- xv.findAll(x => x < 1.0)) yv.update(i, 1) for (i <- xv.findAll(x => x >= 1.0)) yv.update(i, exp(-(xv(i) - 1.0)/1)) val wop: Array[WeightedObservedPoint] = new Array[WeightedObservedPoint](xv.length) for (i <- 0 to xv.length - 1) wop.u...