MPI Seg. fault when using send/recv with Dynamic Allocation

I'm dealing with dynamic allocated matrices, and need to send/recv them from a process to another. I'm not sure if I'm doing it correctly, but sometimes, with small matrices, it works; but when I...

How can get Encoding.GetEncoding("iso-8859-1") Hexadecimal code?

I need to send a SMS via HTTP Post with some special characters like "caiò" So, with my code , I try to convert my string in ISO-8859-1. basically, if my string is converted in ISO-8859-1, and ...

Angularjs ng-click displaying data filtered by multiple parameters

I'm following this great post: https://stackoverflow.com/questions/14379934/how-to-filter-a-list-in-angularjs-using-several-links Now I'd like to display data filtered by multiple parameters on...

Compile client-side Jade templates using Gulpjs

I'm trying to compile all my .jade templates into a single js file, I'm using Gulpjs and gulp-jade, gulp-concat.. I can get the single file but the problem is that all the functions rendered there...

"display table-cell" with different heights on different tags

First of all, I'm using Google Chrome 34 on Mac. This is the HTML, everything seems right: <div class="toolbar"> <button type="button" class="item">Item 1</button> <button type="button"...

Text is breaking using absolute positioning

I have a small challenge that I haven't found any solution on Stack Overflow. That's what I got: And that's how I'd like it: To produce this title effect I'm using absolute position. I don't...

Passport and Mongoose Issue

Hi I have this models: user.js // app/models/user.js // load the things we need var Schema = require('mongoose').Schema; var bcrypt = require('bcrypt-nodejs'); var db =...

Gulpjs Uglify JS problems

gulp.task('js', function () { return gulp.src(['public/js/**/*.js','public/js/*.js']) .pipe(ngmin()) .pipe(uglify()) .pipe(concat('app.js')) ...

trying to figure out the source of memory leak from dlls

One of our application (windows form application C++, MSVS 2010 )crashes after few minutes of usage. Task manager tells that the memory usage grows to 60% of total system RAM in just few seconds...

Compare dates from a CSV FILE in ruby

I have a CSV file in it 's data as follows name ; date; salario Nome; Data; Salario JOANNA 1981-04-11 7519.07 LUCIMAR 1958-06-10 819.77 PEDRO 1976-05-11 83.43 JOAO 1989-03-12 867.5 ...

"Insert if doesn't exist" only for product type = 'product' in post_meta table WP

I found several explanations about how to "insert".... "where not exists", but it doesn't solve my problem. I'm using Wordpress and I have a table named wp_posts with data of posts, products,...

Re-align ragged-left SWT TableEditor after content updated

I injected a TableEditor inside a SWT Table, with ragged-left alignment (SWT.RIGHT). Something like: final TableEditor editor = new TableEditor(table); editor.horizontalAlignment =...

UI-Router for item list Angularjs

I'm facing some problems with my simple code (study), i really need some help to fix this. First of all i have a php file who provides a json. app.php <?php $dbh = new...

Google app invites on iOS deep link only opens app store

I am working on adding Google App Invites deep linking to an iOS app and I followed all the steps for Adding App invites to iOS but the deep link just opens the app store to my app page even if...

Win32 Application with high CPU usage

It is my first time working with Windows applications and I am a bit frustrated. I just have a simple code that creates a Win32(Visual C++) GUI application, but as soon as I start the executable...

Doesn't show all remote branchs with git branch -r

when I execute the command: git branch -r, it's show just: origin/HEAD -> origin/master origin/development-elton origin/master And when execute the command: git remote show origin, it's...

Manipulating .htm files in Excel vba

I´m trying to make an application in Excel vba, but I´ve some problems. I need my Excel application to download some files that are in a zip format. I´ve already done this part of the problem,...

Regular expression is creating an empty array that should not exist

I'm trying to parse a tab separated value dump from the IMDB. (The actual dump contains an inconsistent amount of tabs throughout each line.): $, Claw "OnCreativity" (2012) [Himself] $,...

Serilog only logging the first time it is called after build

I have an ASP NET MVC project which uses Ninject for IoC. Have added a Serilog logger public class LoggingModule : BaseModule { public override void Load() { var fileName =...

Cucumber and Selenium Error on Feature

I created a automated test scenario using selenium + cucumber on java, and when I try to execute my test nothing occur. I don't know what I did worng but I think that something happend with my...

Why is my ng-show not working with <img>?

I can't get my ng-show to display an image based on the function's return. It should return a different image if it's true, false or null. If you can't solve my problem could you just point me in...

angular2 transition animation is not working

I am trying to apply the angular transition to the elements but it's not working. I have added web-animation-js as well but still no effect. added the implementation on onMouseleave and...

Rails API - Can't create user, password is FILTERED and return all validations errors

I am trying to send a POST request in my API (to create an user), but I always get all password validations erros because my password came to API as FILTERED. I didn't understand this errors...

SAPUI5 PlanningCalendar - binding two entities

I have the following problem: I'm developing an APP using the flameworks PlanningCalendar, but I have two EntitySet: Salas(3): CAPACIDADE: 6 ID: 3 NOME: "SALA 3" NavReservas: {__deferred:...

submission of array of hashes

Assuming the following string of parameters which is composed of an array of hashes, what is the proper way to submit them to...

Vector of custom struct in PyO3

I'm new to Rust and PyO3 (coming from Python) so this might be obvious to more experienced people. I declared a pyclass struct in PyO3. #[pyclass] struct Block { start: i32, stop:...

Error when I set CDI in my JavaEE application on Wildfly

After setup some classes of CDI resources, my app don't build anymore. Created, model, controller and service to provide a Login System. Added a Producer to Entity...

EPERM: operation not permitted, read

I get this error when i try to install some packages I tried to run cmd as admin, clean npm cache, reinstall node, but it is not working... npm ERR! code EPERM npm ERR! Error: EPERM: operation not...

Dash Plotly error : Stuck on Loading... page after server run

Could you please help me with this error. The page stuck with loading.... message but never loads. There's no error on server run. This is my code: import dash import dash_core_components as...

Delete Object from S3 after Upload with SDK

if I upload an object from dashboard, I can delete it with aws-sdk-go but if I upload with aws-sdk-go, I cannot delete object from AWS S3 and i don't have error. This is my bucket policy: { ...