Change Photo
Lauren Hayes

Questions by Lauren Hayes

How to create a hierarchical tree structure of a MongoDB data set with help of Mongoose?

I have a hierarchical dataset with 4 levels of hierarchical as you can see in the image below. I have already import...

How to set the background-color of a D3.js svg??

I'm not very familiar in styling D3.js SVG's. I create a collapsible tree and will provide an option to download thi...

Clear Application's Data Programmatically?

I want to clear my application's data programmatically. Application's data may contain anything like databases, sh...

What are differences between SystemJS and Webpack??

I'm creating my first Angular application and I would figure out what is the role of the module loaders. Why we need...

AngularJS UI router: How to configure nested named views??

I have a configuration like below: ... .state('profiles', { abstract: true , url : '/profiles' , resolv...

Reading/parsing text file input c++?

A little background: I am working on a sliding block puzzle for a school project and this is our first using C++ ins...

How to get the last row of an Oracle a table?

I want to get the last row, which I inserted into a table in an Oracle 11g Express database. How can I do this? ...

Pythonically add header to a csv file?

I wrote a Python script merging two csv files, and now I want to add a header to the final csv. I tried following th...

default encoding for XML is UTF-8 or UTF-16??

OpenTag FAQ states: If no encoding declaration is present in the XML document (and no external encoding dec...

What is a good strategy to store HTML in MongodDB JSON-style doc?

Is it OK to store HTML in MongoDB? Are there disadvantages? Are there better alternatives? I'm a bit new to JSON, b...

Generate Ascii art text in C?

I am trying to generate ascii art text for a fun application. From FIGLET, I got the ASCII pattern. I am using that ...

rails 3.0.3 check if boolean value is true?

I want to check if a value is true or false. <% if item.active? %> <%= image_tag('on.png', :alt => ...

How to reset a timer in C#??

There are three Timer classes that I am aware of, System.Threading.Timer, System.Timers.Timer, and System.Windows.Fo...

Does WPF Work with C++??

My understanding is that Microsoft Visual Studio was rewritten to use WPF. I'm still not clear on why, but acknowled...