Data dodania Pytanie
2017-02-15 03:02 c - alphabetical order of chars: different output when run vs. debugged? »
Here's my problem: the following compilable code produces different results when simply run vs. debugged. I use NetBeans IDE 8.0.2 with gdb debugger o...
(1) odpowiedzi
2017-02-15 02:02 ColdFusion: SQL Select from a Query »
I have a SQL Server query which returns two values for one MyBusinessUnit column returns two values, say: 1111 2222 in a query object called MyQuer...
(2) odpowiedzi
2017-02-15 02:02 Count number of Strings that can be converted to Int in a List »
For example, my input is: scala> val myList = List("7842", "abf45", "abd", "56") myList: List[String] = List(7842, abf45, abd, 56) 7842 and 56 c...
(4) odpowiedzi
2017-02-15 02:02 injecting ejs with a client-side variable »
My express router is making available an object on my ejs template called inventory. My client side is doing a ajax request that returns an object c...
(1) odpowiedzi
2017-02-15 02:02 How to display an update that is pushed from the server to the webpage without a refresh? »
I am using Django 1.10 as the backend of a warehousing app we built. I am adding another new feature where a webpage that will be displayed on a gian...
(2) odpowiedzi
2017-02-15 02:02 Get/sort next multi-dimensional array element dynamically »
I'm running through a great old brain fart currently and am stuck dynamically selecting the next "round match" that the winners of the below rounds wi...
(1) odpowiedzi
2017-02-15 02:02 Trying to remove a node from a linked list & not understanding the error message »
I am trying to build a program that will build and manipulate a doubly linked list in Ruby. So far I have been able to satisfy the test that tell me ...
(1) odpowiedzi
2017-02-15 02:02 Invalid CSRF token on sulu CMF (production) »
I've managed setting up a development environment running Symfony and sulu cmf. For production I have done the same, but then both Symfony and sulu wi...
(0) odpowiedzi
2017-02-15 01:02 Does a Stream get Disposed when returning a File from an Action? »
I'm writing a string to a MemoryStream I need to return the stream to the Controller Action so I can send it off as a file for download. Normally, I...
(1) odpowiedzi
2017-02-15 00:02 jQuery Datatables filter on table initialization »
I am using Datatables plugin with server-side processing. My table is initiated on a button press. I want to apply a filter to couple of columns on th...
(2) odpowiedzi
2017-02-15 00:02 Ruby/Rails equivalent to a C++ enum »
My rails app can make telephone calls. I want a set of constants that define how calls will be conducted. When a call starts, one of three things coul...
(1) odpowiedzi
2017-02-14 23:02 How to convert this text file into a dictionary? »
I have a file f that looks something like: #labelA there is something here #label_Bbb here aswell ... It can have a number of labels and any number...
(7) odpowiedzi
2017-02-14 23:02 Split a list into increasing sequences using itertools »
I have a list with mixed sequences like [1,2,3,4,5,2,3,4,1,2] I want to know how I can use itertools to split the list into increasing sequences c...
(3) odpowiedzi
2017-02-14 23:02 Why are the following SQL queries not equivalent? »
SELECT c.cname FROM Customers c WHERE c.age > ALL (SELECT c2.age FROM Customers c2 WHERE c2.type = 'snowboard'); SELECT c.cname FROM Customers ...
(1) odpowiedzi
2017-02-14 23:02 Regex: find word between slash and matching keyword in url »
eg: http://www.domain.com/junk/target/keyword/junk I'm trying to pull the word 'target' from the above url. So far I have the following expression:...
(2) odpowiedzi
2017-02-14 23:02 Rails remove additional www on subdomain »
I'm having some security issues with certain subdomains when I have force_ssl enabled in production.rb. It seems something like https://subdomain.exa...
(0) odpowiedzi
2017-02-14 23:02 Send both 404 status and redirect to 404 component in react-router »
I have a react-router 3.0.0 setup with a NotFound component I'm showing as a fallback: <Route component={NotFound} path="*"/> However this re...
(0) odpowiedzi
2017-02-14 23:02 Same browser. Same windows version. Same styles. Different font rendering »
One of our clients says the fonts on his website changed. He offered up a screenshot between Wayback and the current site as proof. The differences...
(1) odpowiedzi
2017-02-14 22:02 Hiding Featured Checkbox setting from backend product pages »
With WooCommerce, I would like to hide or remove FEATURED checkbox from product pages settings in the Backend (Admin), see the screenshot below. I h...
(1) odpowiedzi
2017-02-14 22:02 How to reduce/transform an array of objects to result in the aggregate sum of each property (lodash ideally) »
I have an array of nutrition object that look something like this: [ { calories: {total: 0, fat: 0}, vitamins: {a: {total: 0, retinol: 0}, ...
(4) odpowiedzi
2017-02-14 22:02 Making a textbox secure and uncrackable Server Side Coldfusion »
I have 6 different branch dropdowns which are a list of peoples names. When a name is chosen from one of the drop downs it will be prefilled into a te...
(1) odpowiedzi
2017-02-14 22:02 .ejs React Native error »
I'm importing redux into my RN project and I noticed one of the ducks requires react-intl as well as one file is written in .ejs There is a line in t...
(0) odpowiedzi
2017-02-14 21:02 Rails how to build on iteration »
After trying to save a set of images with dropzone without iteration. i switch to iterating the images and try to save on the loop. but rails spitting...
(1) odpowiedzi
2017-02-14 21:02 Properly display JSON in table angular »
I have an API which return me a JSON array: {"i":11,"j":12,"iterationNumber":9,"results":[12,6,3,10,5,16,8,4,2,1]} How can I make a table in angul...
(4) odpowiedzi
2017-02-14 21:02 Clicking with javascript by class, takes wrong class as well »
I am using the following javascript snippet in Chrome's console, for debugging purposes. var links = document.querySelectorAll('a[class="_5glz _53o _...
(2) odpowiedzi
2017-02-14 21:02 Why is the move constructor not called when moving in a lambda? »
I am trying to compile the following code: #include <utility> struct C2 { C2() = default; C2(C2 const&) = delete; ...
(1) odpowiedzi
2017-02-14 21:02 Should a dict that I use only once during initialization be put inside my class? »
I only need to use operatorDict one time to determine which operation I am using for the class. What is the most pythonic way to store the correct ope...
(1) odpowiedzi
2017-02-14 20:02 Doctrine\ ORM\ Mapping\ MappingException in Symfony »
The full error that I got was: [Doctrine\ORM\Mapping\MappingException] Property "followed" in "BackendBundl...
(1) odpowiedzi
2017-02-14 20:02 Postgres WITH RECURSIVE CTE: sorting/ordering children by popularity while retaining tree structure (parents always above children) »
I'm building a forum, very much like Reddit/Slashdot, i.e. Unlimited reply nesting levels Popular comments (ordered by likes/votes) will rise to the...
(2) odpowiedzi
2017-02-14 20:02 Is it possible to draw a partial circle outline in CSS (open ring shape)? »
I'm interested in creating a loading spinner entirely in CSS but in order to do so I would need to be able to draw a open ring shape like this: The...
(4) odpowiedzi
2017-02-14 20:02 Updating info with Mongoose, array inside object inside object dynamically »
I'm trying to update the JSON field "champ_x" from 1 to 3 and for both players 1 at a time in a dynamic function: { "_id": { "$oid": "58a...
(1) odpowiedzi
2017-02-14 20:02 CFEXECUTE assigning it to run with administrator rights »
I am trying to change a password with active directory using cfexecute. The only code on my page is this (username and the new password are filled in...
(1) odpowiedzi
2017-02-14 20:02 are there advantages for using value class (without methods) vs type alias? »
Let's say I have this ADT : case class Person(id: String) case class Kid(id: String, name: String) I would like to represent the id field in more e...
(3) odpowiedzi
2017-02-14 20:02 Algorithm to return a reordered range for data rendering »
Here are examples: given: 1,2,3 [list or range of numbers] return: 2,1,3 [reordered list] given: 1,2,3,4,5 return: 3 1 5 2 4 given: 1,2,3,4,5,6...
(3) odpowiedzi
2017-02-14 20:02 How to make a user wait with Laravel »
I'm using Laravel 5.3 and I've built an application of which we can think of as sort of like an e-commerce app. I essentially want to allow the user t...
(3) odpowiedzi