This tag relates to any of various nested entities or operations in programming.
4
votes
1answer
55 views
How to loop over a dictionary with more than 3 sublevels of dictionaries inside it
I am trying to loop over a dictionary where some keys have other dictionaries as values and some of those values are a key for a dictionary it has as a value. I am parsing a YAML file with over 5000 ...
2
votes
3answers
63 views
How to dict folders?
I have to make a function to transform example 1 into example 2. I have already made a function for example 1. How do I make a function for example 2, with nested readout and with their sizes in ...
1
vote
3answers
37 views
How to create nested arrays? Javascript
I've been looking all over stackoverflow for something to help me implement an AreaChart. The problem is that I have something like this.
var items = new Array();
if ($(result).find('dato').length ...
1
vote
1answer
31 views
Referencing nested class to get JQuery click to work
I have a button that is supposed to toggle a div and I can't get the click function to point to the button. Any advice?
<div class="container">
<div id="da-slider" class="da-slider">
...
1
vote
1answer
62 views
c++ - Template type parameter type
I have a templated class ParameterTemplateClass which is a parameter type to another templated class.
Basically my code looks as below.
template <class T1, class T2>
class ...
0
votes
0answers
11 views
Nested Permissions
i am working on an crm system right now and want to check if the user has the correct permissions to start an action.
My resource-table looks like this:
CREATE TABLE IF NOT EXISTS ...
0
votes
0answers
23 views
sql server nested cursor not returning results
My first nested cursor 'uncalcdays' is not returning data. The first (un-nested) cursor 'codes' is returning correct data, and is passing this data correctly to the variable @codes.
If I cut the ...
0
votes
0answers
3 views
Schema.org : Setting the parent of nested property - Possible?
My terminology may be way off, but I think this simple little blob will explain:
[ Schema.org object 1 ]
[ Schema.org object 2, which is a property of "object 1" ]
[ Property One ]
Is ...
0
votes
3answers
48 views
Single Line Nested For Loops
Wrote this function in python that transposes a matrix:
def transpose(m):
height = len(m)
width = len(m[0])
return [ [ m[i][j] for i in range(0, height) ] for j in range(0, width) ]
In ...
1
vote
2answers
23 views
Windows Command Line Processor: Multiple and Nested IF Statements
Intended software: windows command line processor (version 6.1.7601.17514)
Hi,
I've been trying to build a multiple-statement command line that runs within a short-cut. My goal is to be able to ...
0
votes
0answers
17 views
How Can I Convert Nested YAML to nested Arrays and OpenStructs in Ruby
How should I convert a series of nested hashes (nested to arbitrary depth) to a series of nested OpenStructs? I'm loading in a big YAML file and I'm not enjoying ...
2
votes
2answers
28 views
How to display nested data items in FuelUX tree bootstrap plugin
I'm trying to implement the FuelUX tree plugin and I've followed the example so far but I need a nested structure. I'm assuming the tree plugin is capable of handling nested children? is this correct?
...
0
votes
0answers
16 views
Find depth of nested shortcodes in WordPress
I am trying to write PHP function using recursion that finds the maximum depth of short codes inside other short codes.
I have this which will find the max-depth of an array:
<?php
function ...
0
votes
1answer
17 views
Wordpress - Nested Shortcode from 2 different pluggins half working
I am trying to use the Print This Section plugin with WP-Invoice and have been stuggling for days now trying to figure out where the problem is?
With Both WP-invoice installed and working and WP ...
0
votes
1answer
23 views
Mongoose - Query nested objects
Let consider this collection of posts. Each post has an array of comments and each comments has an array on string, with the key 'likes', which indicates the users who like the comment.
{
_id: 000
...