simultaneous runs of two JS webworkers: one gets stuck
Vote count: 0 I'm working on a closed system web application to aid companies in their everyday online commerce chores. That means on the one hand that it won't be open to the public, on the other: it will have to deal with large amounts of data while maintaining a fluent work experience. This is wh...
Incorrectly routing /index to /show in Rails
Vote count: 0 There must be an obvious answer to this, but I'm at a loss. I have a Rails app which tracks sites. For whatever reason, localhost:3000/sites leads to my index page. However, localhost:3000/sites/index leads to my show page. Why is this? Below is the routes file: Rails.application.route...
How to add fonts using tFPDF
Vote count: 0 I try to create pdf file using tFPDF with custom font.I put arial font inside font/unifont folder.I use this code to create pdf file: $pdf->AddFont('arialbd','','arialbd.ttf',true); $pdf->SetFont('arialbd','',16); $pdf->Cell(40,6, 'OÜ Kersti Võlu Koolituskeskus', 0, 1); $pdf->SetFont('...
Cython __pyx_r may be used uninitialized in this function
Vote count: 0 I am trying to utilize cython to provide a wrapper for my C++ utilities. One such function I am trying to make accessible is an accessor that retu s an enum based on file type. Here is how I re-define the function in cython: cdef exte from "reader.h" namespace "magic_number": enum mcr_...
How do I set my svn server's password to never expire?
Vote count: 0 We are having problems with our subversion server. I am the admin of the server and the svn account users all of a sudden are not able to login on the url directories. I'm thinking its due to a password expiration issue. Is this true? If so how can I change the password expiration for ...
TFS 2015 - Track Daily Hours
Vote count: 0 Is there a way (through a report or separate utility) to track daily hours entered in TFS 2015? For example, if I wanted to see the difference in completed hours for work items between today and yesterday. asked 1 min agoHarlan Wescott Let's block ads! (Why?)
SQL Injection Vulnerable script
Vote count: 0 I've a strange question : I need to create a SQL vulnerable injection script ! The goal is that the script is vulnerable to Union based only !Here is my script : $req = "SELECT pseudo, mail FROM membres WHERE pseudo='".$_POST['membre']."'"; $ans = $bdd->query($req); while($data = $ans-...
wordpress template page error when select from database
Vote count: 0 I have take the page.php page and i have created a new template page named mytemplatepage.php The page mytemplatepage.php works normally untill i try to add an sql query. when i add the bellow code the page gives http 500 error. <?php global $wpdb; $sqlresults = $wpdb->get_results( "SE...
Caffe fully convolutional CNN
Vote count: 0 I am trying to finetune the fully convolutional CNN for my problem. It seems I have an out-of-date Caffe installed in my machine. It was mentioned in https://github.com/shelhamer/fcn.berkeleyvision.org that "These models are compatible with BVLC/caffe:master @ 8c66fa5 with the merge of...
Diffrence between keyup keydown keypress and input events
Vote count: 0 I have been trying to understand jQuery keypress, keydown, keyup and input events. Could someone please point out the exact differences ? Also I would like to know do all of them get triggered when the user paste a piece of text .Thanks asked 47 secs agoTony Vincent Let's block ads! (W...
Getting error when attempting to save score?
Vote count: 0 The following code retrieves the player's score from the Google Play Leaderboard. If the retrieved value is superior to the one already stored on the device, the score is saved. public void Update() { PlayGamesPlatform.Instance.LoadScores( "myLeaderboardID", LeaderboardStart.PlayerCent...
How to retrieve codec information using libvlc?
Vote count: 0 I need to get codec information when using libvlc to play remote media. Since the VLC player can achieve this(see the link below), libvlc may well do it too. a screenshot of VLC Also, I find that libvlc_media_tracks_get can retu a related struct as follows: typedef struct libvlc_media_...
Grails codenarc plugin for Grails 1.3.9
Vote count: 0 Searching the plugin site and other resources I could not find which plugin version must I install for my Grails version. Can someone help me out? asked 42 secs agoJacob Let's block ads! (Why?)