nour nour

1

votes
1

answer
33

views

Downloading scientific workflow kepler: Error ant in build .xml

When I try to download my kepler engine using cmd, I face this problem for the ant in the build.xml. I install the java, ant, and svn versions, and I don't have any problems. C:\Users\lenovo\kepler\build-area>ant change-to -Dsuite=kepler Buildfile: C:\Users\lenovo\kepler\build-area\build.xml BUILD...
nour
1

votes
0

answer
128

views

Kepler scientific workflow system integration in Eclipse

I'm trying to integrate the Kepler workflow system in Eclipse, but I have problems: When I try to run any project or install any additional plugin, I get the error An internal error occurred during: 'Compute launch button tooltip' org/python/pydev/navigator/elements/IWrappedResource What is the reas...
nour
1

votes
1

answer
104

views

bootstrap 3 tabs and image gallery doesn't work inside bxslider

Here i am trying to create slider have inside it image gallery and tabbed content . slider is bxslider , working fine. but tabs and image gallery not working can you help me please https://rashanoureldin.github.io/surfers/ update here is the code for css: /** * * Slider Section * */ .slider-wrap{...
Rasha Nour Eldin
1

votes
0

answer
20

views

Cannot deploy my app on a cloud provider

I cannot start my swarm in docker cloud. UNREACHABLE Docker Cloud is receiving heartbeats, but cannot connect to the swarm Resolution: Swarm is not publicly reachable, it may be behind a firewall or NAT
nour
1

votes
1

answer
23

views

import method can not read the excel file

in my index view i write this code: @using (Html.BeginForm('Import', 'ItemDetails', FormMethod.Post, new { enctype='multipart/form-data'})) { @Html.Raw(ViewBag.Error); import from Excel : } so i uploaded an excel file and press on import button, the problem is that the code can not see the ex...
Asmaa Nour
1

votes
0

answer
523

views

Livedata onChanged getting called multiple times

I have the following query which simply return list of items from the given ids, and I'm observing the returned list. @Query('SELECT * FROM Model WHERE modelId IN (:ids)') LiveData getModels(List ids); My problem is that I'm dynamically sending the ids to be observed on, the onChanged getting calle...
1

votes
2

answer
63

views

Django 1.11 many to many does not appear in django admin

Hi i have a django model for notification which have a many-to-many relation but nothing appears in django admin ( all fields do not appear) class Notification(models.Model): '''send notification model''' title = models.CharField(max_length=200) text = models.TextField(null=True, blank=True) device...
Alaa Nour
1

votes
0

answer
44

views

How to model my scientific workflows with coloured petri nets and implement it in a java application

I'm implementing a Spring boot java application with REST API which uses coloured petri nets to model scientific workflows. I don't know how can i exactly use coloured petri net to realize this goal. which libraries should i use and how use it ?
nour
1

votes
1

answer
292

views

imshow in opencv with python is not interactive

I am facing a bit of an issue with imshow(). I am displaying an image using the following code: cv2.namedWindow('image', cv2.WINDOW_GUI_EXPANDED) cv2.imshow('image', image) cv2.waitKey(0) cv2.destroyAllWindows() (displayed window) But the window only displays the image, it does not show RGB informat...
Nour
1

votes
2

answer
113

views

How to implement a redux middleware class in TypeScript

According to the typescript definition of Redux, those interfaces should be implemented to make a middelware: /* middleware */ export interface MiddlewareAPI { dispatch: D getState(): S } /** * A middleware is a higher-order function that composes a dispatch function * to return a new dispatch funct...
Nour Sabouny
1

votes
0

answer
82

views

Can I build an electron app from rails app?

I am working on a Rails project and I am trying to figure out if I can use Electron to create a desktop app or if there is another way to turn a Rails app into a desktop app.
Nour Ossama
0

votes
0

answer
5

views

can't find the right architecture for my crowdfunding cordapp

I am a computer science engineering student , i am working on a crowdfunding cordapp, but i still have some confusions : 1. I want to know if Corda is the most suitable protocol to use in a crowdfunding app or if there is better solutions, is it logical that every person who wants to contribute in...
Nour Mhamdi
1

votes
1

answer
29

views

Problem with changing calendar to french in IE10

I am using two datepickers in my web app to filter data by choosing a start and an end date. I used mat-datepicker of Angular Materials. I have to display the calendar in french, so I used the following code: constructor(private dateAdapter: DateAdapter) { // Change calendar to french version this.d...
nour
1

votes
1

answer
34

views

Creating expandable chat text input with maximum height with no JS

I'm trying to implement the following design (For now I'm just worried about the text box): When typing: Maximum height: Notice the top and bottom paddings were decreased. Now, this is what I have so far: .chat-wrapper { width: 100%; } .message-text { resize: none; box-sizing: border-box; heig...
Nour Sabouny
1

votes
1

answer
418

views

how do i automap an many-to-one relationship using fluent nhibernate

i have the following class: public class Worker { public int WorkerID {get;set;} public string Name { get;set;} } public class TransferOrder { public int TransferOrderID { get;set;} public Worker workerTobeTransfered{get;set;} } how do i automap this classes in fluent nhibernate.
Nour Sabouny
1

votes
1

answer
188

views

Using nhibernate ,to delete entity with details cascade-delete-orphan,why do I have to get the entity with all details, in order to delete them too?

Let's say I have the following entities: public class Order { public int OrderID {get;set;}; public int Version {get;set;}; public IList Details {get;set;} } public class OrderDetail { public int OrderDetailID {get;set;} /// Some other properties } When I want to delete the entity like this: Order...
Nour Sabouny
1

votes
1

answer
603

views

using MVC Model Binder, how to prevent binding inner complex object properties?

i have the following model public class Person { public int Id {get;set;} [Required()] public string Name {get;set;} [Required()] public Address Address {get;set;} } public class Address { public int Id {get;set;} [Required()] public string City {get;set;} [Required()] public string Street {get;set;...
Nour Sabouny
1

votes
1

answer
411

views

the ability to change color in the N2 cms text editor

I'm using N2 cms, and it is really piece of work, I want to be able to change the text color in the Html Text editor, it has every thing that is needed except this. is that easy to be done ?
Nour Sabouny
1

votes
1

answer
555

views

Google pdf viewer sometimes doesn't work “Sorry, we are unable to retrieve the document for viewing … ”

i have a page where there are two links to pdf files. the first one doesn't work and show the mentioned message in the title, but the other one works fine ?? does the version of pdf file matter? as the first one is created by acrobat 9 and the other one is created by acrobat 7 ??? i uploaded the fil...
Nour Sabouny
1

votes
2

answer
811

views

How to split large style file (qss file) in QT to small file and load them all

What I am trying to do I need to split my large style file to small style files because now it is hard to read the style file(qss file) and add new styling to it. after that i need to load those small qss files to apply them all I am loading my Big file by calling function on main I have created voi...
Muhammad Nour
1

votes
1

answer
533

views

Best practice to connect DAL to UI layer

I've always been told that designing your application using 3 tiers model is the best practice to separate the data layer and the business logic layer from the presentation. But when I come to use modern user interface components (like DevExpress), I will lose a lot of great features such as dynamic...
Nour Sabouny
1

votes
2

answer
183

views

How to keep parameters unchanged in recursion?

I am trying to implement Quick Sort algorithm, here's my code: public class Sort { int count = 0; public void Partition(int A[], int l, int h) { if ((h-l) > 1) { count += (h-l) - 1; int pivot = A[l]; int i = l+1; int temp; int j; for (j = l + 1; j < h; j++) { if (A[j] < pivot) { // SWAP temp =...
Nour
1

votes
1

answer
322

views

Best shared storage specifications for openstack

We want to order shared storage server that will be used as a shared storage for openstack compute nodes (3-7 nodes) for a research project (will store VMs). We are interested in Dell servers. It is my first time I work with shared storage system, so I have few questions: 1- Should I consider buying...
mike nour
1

votes
1

answer
240

views

iText encrypting a digitally signed PDF

I did an encryption/decryption of a PDF document using the PdfWriter setEncryption. Everything is working fine and the decryption is OK. When I did the same for a digitally signed PDF document I have the digital information corrupted with the message (SigDict/Contents illegal data) Is it possible to...
Jamil Nour
1

votes
1

answer
898

views

Openstack Instance does not use the entire hard disk

I created new vm instance using 'Ubuntu Server 10.04 LTS (Lucid Lynx) - 32 bits' image and m1.small falvour which has 20 GB Disk (OpenStack Icehouse). When i logging to the vm and run df -h , I found that the VM does not use the entire assigned HD. The command results are shown as the following: Fil...
mike nour
1

votes
2

answer
459

views

Read values from .val() object in firebase linked app?

I am working on a simple to do application linked to firebase using react native, I am facing a problem when I wanna render the information. my render method looks something like this: renderRow(rowData) { return ( this.removeTodo(rowData)}> {rowData.text} ); } problem is that this is an object rowD...
Nour
1

votes
1

answer
1.1k

views

Register for remote VOIP server with PJSIP in IOS

I want to make app that let user to make calls over ip (VOIP). I was following this tutorial http://www.xianwenchen.com/blog/2014/06/09/how-to-make-an-ios-voip-app-with-pjsip-part-1/ but now I want to register to global server like ekiga or linphone.org . now this is my code written in C #include '...
Eslam Eslam Nour
1

votes
1

answer
1.1k

views

Printing in ie11 On landscape mode

I need to print an HTML page in landscape mode on ie 11. I tried the following CSS code and not working 1 @page { size: 11in 8.5in; } 2 @page { transform: rotate(90deg); } 3 @media print { @page { /*IE Landscape fix*/ filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=3); } } 4 @page {...
Salah Nour ElDin
1

votes
1

answer
312

views

call a global constant into service Angular2

In my Angular2 application I use services which call a REST API like this from http://localhost:22222/app/webresources/entity.. I want to set part of this URL just one time and call it from the services which I need. I think I need to create an Interface which has a constant URL, but is it possible...
Nour_92
1

votes
1

answer
52

views

How to get the url's value of $http.get() to use inside the function?

Hi I parsed three different web services using AngularJS: Here's my code: app.factory('myapp', ['$http', function($http) { function getLists() { var tab = ['url1', 'url2', 'url3']; var list = []; for(i = 0; i < tab.length; i++) { $http.get(tab[i]) .then(function(res) { res.data.error=''; li...
nour nour
1

votes
2

answer
113

views

How to divide the view controller screen?

I am new to sprite kit. Does anyone know how to divide the view controller into two parts. One is fixed and the second one is movable (I mean like two screens)?
Nour
1

votes
1

answer
69

views

Extract data from DB using scanner value

i'd like some help in regards of this code i wrote. The idea is to enter a username 'nomU' (xx, for example) in the scanner and using this username, the program will search in my database and bring me all the 'pref' that are associated to this username from a table named 'usermodel'. try { Scanner s...
nour
1

votes
2

answer
797

views

Cereal serialization

I have a problem in C++11 with cereal (http://uscilab.github.io/cereal/). I have a shared library, and I would like to serialize one of its classes using cereal library. Here is a part of the code of the library 'I would like to serialize Object class': 'Object.hpp' class ObjectPrivate; class Objec...
Ahmed Nour
1

votes
2

answer
222

views

Random without repeating vb.Net

I am trying to make a little quiz program that randomize from an array of 20 questions to get 5 random questions without repeating any of them I've searched and found that i need to use 'Static' but it didn't Work I also tried System.Random() but it always repeat the same questions I also need an i...
Nõúr Mànsóür
1

votes
1

answer
112

views

django error “The value of 'fieldsets[0][1]' must contain the key 'fields'.” when trying link model to admin panel

I am trying to hook up Django admin panel to a model using the following code in admin.py. But I got this error: 'SystemCheckError: System check identified some issues: ERRORS: : (admin.E011) The value of 'fieldsets[0][1]' must contain the key 'fields'. : (admin.E011) The value of 'fieldsets[1][1]'...
Nour
1

votes
2

answer
175

views

How to bound QString to QSqlQuery that call procedure which output varchar?

I managed to bound integer values to this type of queries but I couldn't manage to bound QString. I keep getting empty QVariant. However, in Sql server I get the value I wanted to get. The procedure will output VARCHAR(max) qDebug()
Nour
1

votes
1

answer
77

views

How can i deploy the kepler_scientific_workflow_run_engine in docker container?

I would like to deploy the engine of kepler scientific workflow in docker? But i could not the .war file in the kepler_installer. Should i create it ? If yes how can i create ?
nour
1

votes
2

answer
419

views

Select an option from context menu using selenium, sendKeys doesn't work

I'm trying to select an option from context menu, and sendKeys(Keys.ARROW_DOWN) is not working. All it does is that it moves the scroll of the page up and down(even though context menu is still open) Actions action = new Actions(driver); action.contextClick(element).build().perform(); action.sendKey...
Nour
1

votes
1

answer
0

views

JavaScript action on BS tab open

I'm trying to make a Javascript action when a bootstrap tab is opened. I can't get it to work. These are the scripts I've tried: $('.nav-tabs a').on('shown.bs.tab', function(){ vchart.redraw(); }); And $(document).ready(function(){ $('.nav-tabs a').click(function(){ $(this).tab('show'); }); $('.nav-...
Nour
1

votes
1

answer
0

views

implement phone authentication

I am trying to implement phone authentication in my asp.net core backend Apis, something like whatsapp. the flow is: user opens the mobile app if he isnt current user he can write his phone number backend should send verification code to his mobile and store the verificationObject to inMemroyCache...
M.Nour Berro

View additional