Concerns about releasing a project as Open Source

Community Wiki I've been working on a fairly large project www.wikipediamaze.com and I initially intended for it to be open source, but as I get closer and closer to "done" I'm getting more and...

What techniques exist for the software-driven locomotion of a bipedal robot?

I'm programming a software agent to control a robot player in a simulated game of soccer. Ultimately I hope to enter it in the RoboCup competition. Amongst the various challenges involved in...

How to correctly implement custom iterators and const_iterators?

I have a custom container class for which I'd like to write the iterator and const_iterator classes. I never did this before and I failed to find an appropriate how-to. What are the guidelines...

VS 2010: How do you undo after "Find and replace"?

On VS 2010, I do a "Find and replace"... I try to do a "undo" but... I can't... is there a way to "undo" after a "find and replace" or is this just a silly[1] limitation for VS...

What are the cons of using a contentEditable div rather than a textarea?

Would I be shooting myself in the foot by using a div with attribute contentEditable="true" as a text field rather than a textarea?

Regular expression to match numbers with or without commas and decimals in text

I'm trying to locate and replace all numbers in a body of text. I've found a few example regex's, which almost solve the problem, but none are perfect yet. The problem I have is that the numbers...

How to retrieve a deleted table in MySQL?

So I just shot myself in the foot and feel like an idiot. I was playing around with granting and revoking permissions on my MySQL database at the same time as adding a user table to one of my...

How to copy (or swap) objects of a type that contains members that are references or const?

The problem I am trying to address arises with making containers such as an std::vector of objects that contain reference and const data members: struct Foo; struct Bar { Bar (Foo & foo, int...

Using imagick montageImage PHP

I'd like to use imagemagick to make a montage from existing photos on my server. I am having a terrible time getting any code to work properly. I've tried using the few examples I've found by...

Need a way to optimize heap usage C - Freebsd/glibc

I have an application that reads an external xml file, parses the content and creates a list. The file keeps getting updated frequently by external vendors. So i do not have any control on the...

Install .net remotely via powershell

I’m attempting to install the .net framework on a windows server 2008 r2 machine remotely via PowerShell. Reading about it seems that this cannot be achieved through an existing PowerShell...

ElasticSearch - Optimal number of Shards per node

I would appreciate if someone could suggest the optimal number of shards per ES node for optimal performance or provide any recommended way to arrive at the number of shards one should use, given...

IAM policy to allow access to DynamoDB console for specific tables

Is it possible to create an AWS IAM policy that provides access to the DynamoDB console only for specific tables? I have tried: { "Version": "2012-10-17", "Statement": [ { ...

Output the price of the fertilizer per pound and the cost of fertilizing per square

During each summer John and Jessica grow vegetables in their back yard and buy seeds and fertilizer from a local nursery. The nursery carries different types of vegetable fertilizers in various...

Postman won't start on Windows 7

I've been using Postman for a while now. Suddenly though it has stopped working. When trying to open it I get a loading spinner then nothing. No error. Nothing in Event Viewer. Nothing. Although...

footable how do you remove search box

In FooTable how do you remove the search box? See search box picture here.

Hex digest for Python's built-in hash function

I need to create an identifier token from a set of nested configuration values. The token can be part of a URL, so – to make processing easier – it should contain only hexadecimal digits (or...

Microsoft Visio 2016 - Delete Attributes from Entity in Crow's Foot DB Notation diagrams

I'm new to Visio 2016, and building ERD diagrams in Crow's Foot Database Notation. I can't figure out how to correctly delete an attribute from an entity. I am only able to delete the text from...

VB.net add a header/footer to every page of a PDF using iText7

I am trying to create a PDF with a header and footer. Both header and foot are images. Since my pdf creates a random amount of pages I need to automaticly add it to every page. I know I need to...

Why is there no foot tag in HTML5?

We have a head tag and a body tag. For the body tag we now have header, main, and footer tags. Why is there no foot tag to correlate to the head and body tag? This foot tag would be perfect for...

Unmarshalling Large Xml files in Java

I am trying to unmarshall large xml files of size around 6Gb to java object. Below is the implementation i have used to parse the large file. It works with 20Gb heap space only. I would like to...

Minimum and maximum sums from a list Python

I've been doing problems on HackerRank to get my foot in the door for solving Python problems and while I've had fun working through a few, one problem is stumping me. This problem is the Mini-Max...

Django Saving Form Instance to a Different Database

I am trying to save the instance of the form to a different database. Usually when executing a save on an object instance you will use object.save(using='db_alias'), which I assumed would be for...

How can I get around Heroku's HTTP 30 second limit?

I inherited a rails app that is deployed using Heroku (I think). I edit it on AWS's Cloud9 IDE and, for now, just do everything in development mode. The app's purpose is to process large amounts...

Insert custom element in CKEditor5

In CKEditor5 I am creating a plugin to insert a span element to show a tooltip. The idea is to show a tooltip with a (foot)note inside of it while the element itself will display an incremental...

How can I add the values of pandas columns with the same name?

I have a pandas dataframe that looks like as follows: I have several columns with the same names. I would like to combine those columns in one and sum the values in them. For example in the first...

What is the correct way to present and dismiss a modal widget flow?

I'm quite new to Flutter, coming from iOS development. I'm trying to create a modal widget flow/journey that can be launched from anywhere in the app, and I'm having trouble grasping how to...

Graphhopper - how to set the routing profile 'foot'

How can I set the route profile 'foot'? Using the default profile 'car' I can't calculate the distance between any location (in the woods) and a nearby footpath. The error message I get is: >...

Can't match coordinates of NWD and POTREE on Forge Viewer

I'm testing the example https://github.com/petrbroz/forge-potree-demo trying to import a NWD and point cloud into the Forge Viewer but can't make them match the coordinates. I confirmed on...

Count/Sum Distinct in Google Studio

I have physical and injury data and I'm looking to show the amount of days missed for each injury. I have an Injury Column that shows the region of injury (Knee, Ankle, Foot, etc), a Diagnosis...