Moshe Moshe

1

votes
2

answer
780

views

How to configure vim for auto complete in Python file and Javascript file too

I work with vim for 2 years in cpp, and untill today, i used to auto complete my code with ctags. It wasnt great, but enough for my needs. Currently, i work with python and Javascript and i am looking for good tool which give me support for both languages. I tried Jedi for python and i was great, b...
Moshe Reubinoff
1

votes
0

answer
719

views

Jenkins Pipeline Get Parent

I have Jenkins Scripted Pipeline and I need to get Parent Build Number. How to do that? I can get parent name by: def parentDisplayName = currentBuild.rawBuild.getParent().getFullName() println 'Parent = ' + parentDisplayName How to get it's build number?
Moshe Ronen
1

votes
0

answer
45

views

React NewWindow check if window opener was closed

There's this library: https://github.com/rmariuzzo/react-new-window I'm trying to add an interval to check if the window.opener was closed and if so, close the popup window. The window is mounted via react createPortal, and is kept on the react class as this.window. This is what I've tried: // Check...
Moshe
1

votes
0

answer
98

views

Firebase storage suddenly stop working

I was using firebase and everything worked fine. Then suddenly the storage stoped working, and I got this error: net::ERR_CONNECTION_CLOSED Only the storage gives this error - the database and auth work fine. I don't think it's something in the code, because it happend suddnely, and even the simples...
Moshe Estroti
1

votes
1

answer
155

views

Flexbox align with padding?

I am relatively new to flexbox and I find it awesome. I am currently trying to align a text to the top right of a card section, but the problem I encounter occurs because I don't want it to stick to the right of the screen, but to the rightmost card - So if I have a single card, it wont go to the en...
Moshe Davidi
1

votes
1

answer
553

views

Creating tensorflow::Tensor from Eigen::Tensor

How should I create a tensorflow::Tensor from Eigen::Tensor? I could just copy the elements over one-by-one, but I hope there is a better way.
Moshe Kravchik
1

votes
1

answer
29

views

Dynamics CRM: Dependency between Product and Customer fields in Case

Why 'Product' filed on incident is cleared after updating the 'Customer' field? There is a good reason for that? It occurs on my development instance, on a new clean instance OnPrem and also on an Online Trial org. So, I wonder if it's a bug or a MS wanted behavior? I do not remember something like...
Moshé HAYUN
1

votes
0

answer
39

views

One or multiple transactions in a single servlet request

What is the best practice when I have to read data from the database, make operations that can take a second or two (like calling external API) and then updating the database? Should I make everything in one transaction that takes a couple of seconds? Should I make one transaction for reading the da...
Moshe Shaham
1

votes
1

answer
4k

views

How to install PfSense on a Raspberry Pi 3 Model B+

Is it possible to install PfSense on a Raspberry Pi 3 Model B+? I found a lot of posts regarding this on Google, but most of them are outdated since both platforms evolved a lot in the past few years.
Renan Ben Moshe
1

votes
0

answer
80

views

How To Use Bucket Selector In Kibana Data Visulization?

How can I use bucket_selector in the Data Table visulization? I see there is an open request for this feature here. I'm wondering if there is a way for me to get around the lack of this feature for now. I'm open to using something very hacky.
1

votes
0

answer
59

views

sonarqube with git bare integration

I would like to scan with sonarqube a project on our monolith project. Our Git Repository includes 1000 modules and we need to run analyze only on few of them. we are much interested in 'Coverage On new Code'. How can we specify during the scan with which git repository to work. According to sonar...
1

votes
0

answer
42

views

Heroku deployment - 2 github projects

I have two projects(repos) in git hub: Frontend - Angular Backend - Python (Flask) I want to deploy my app(server+client) to heroku cloud. in all the guides I saw how to deploy only one project. in project has his own setup file (project.json, requirements.txt). what is the best way to deply this A...
Moshe Reubinoff
1

votes
0

answer
70

views

Copying files to a local/host directory

I am trying to copy files from a container to a local/host directory. Running my experiments on minikube. Tried starting minikube with a mount as: minikube mount /tmp/export:/data/export and it still does not work. I have a single pod, that upon startup runs a simple script: timeout --signal=SIGINT...
Moshe Shmukler
1

votes
0

answer
25

views

Single-Channel (Monaural) Audio Background removal algorithms and implementations

What are the best algorithms for background noise removal from an audio file? The recordings I'm working with are monaural, the background noise is broadband and the frequencies overlap with the signals I'm interested in (simple filtering won't do). Ones with python/matlab implementation are preferr...
1

votes
1

answer
62

views

Docker overlay with HAProxy

I have a QA environment in which I run all my applications and HAProxy on the same overlay network. I want HAProxy to be able to start without the servers being necessarily up so my server configuration is for example: backend cirrus option httpclose option forwardfor balance leastconn...
Moshe
1

votes
1

answer
42

views

better idea for counting

I have a list of items and I need to start count when the user clicked on an item. I know how to trigger a click - but how to count up ? For now I use some fake-data as my state, and when the user click on an item it's count-up the 'time' field. Maybe you have a better idea ? Thank you :) all: [ {na...
Moshe Nagar
1

votes
0

answer
133

views

The display: “standalone” PWA does not remove address bar

I made a PWA app, with 'display': 'standalone' in the manifest. My understanding is that my app should launch locally without the address bar. However, there is an address bar. What am I doing wrong? I am running Chrome 70. The problem happens on OSX and Linux. I did not check Windows. My app is hos...
Moshe Shmukler
1

votes
0

answer
47

views

SSL Handshake for CNAME to Custom Domain in API Gateway fails

I am using the Serverless framework together with the serverless-domain-manager plugin to create an API with custom domain in AWS. Suppose my custom domain is api.mycompany.com and I have multiple customers that want to access the api with CNAMES that include their names, for example customer1.api.m...
Moshe B.
1

votes
0

answer
31

views

Getting JWT data in Gorilla CustomLoggingHandler

I am using a custom logging handler in my Go web server like this: func main() { // ... Set up everything router = mux.NewRouter() router.Handle('/apilookup', raven.Recoverer( jwtMiddleware.Handler( http.HandlerFunc( doApiLookup)))).Methods('GET') loggedRouter := handlers.CustomLoggingHandler(os.Std...
Moshe Katz
1

votes
1

answer
26

views

Should I take an argument as an inheritance object?

So I came across an idea that I have been mulling about. I'm suspicious about it but it works so I was wondering if anyone has any experience working with something like this: def make_new_class(Koola,Booba): class Bar(Koola,Booba): def __init__(self): Koola.__init__(self) Booba.__init__(self) retu...
Aviv Moshe Albeg
1

votes
1

answer
29

views

Creating Classes From Props & Prop Values in VueJS

I am looking to create a columns component in VueJS that will look something like this: Some Content When rendered, I would like the html markup to look like this:
Moshe
1

votes
1

answer
442

views

NHibernate - Getting the results as an IDictionary instead of IList

I'm using NHibernate as a persistency layer and I have many places in my code where I need to retrieve all the columns of a specific table (to show in a grid for example) but i also need a fast way to get specific item from this collection. The ICriteria API let me get the query result either as a u...
Moshe Levi
1

votes
2

answer
184

views

Getting the parent element of the text near the cursor-Caret

For example: page has some paragraphs with text: some text1 some text2 some text3 so the browser will render: some text1 some text2 some text3 Now, if user places the Caret, lets say on text2 (between 't' and 'e' ,document is in designmode=on), the function should return ref to the second p obj...
moshe
1

votes
1

answer
1k

views

How do I fade background images using jQuery?

I want to have the background image change form one to another and fade in the process. Consider this for a mouseover/mouseout situation. How do I fade background images using jQuery? Is there a jQuery plugin that I need?
Moshe
1

votes
2

answer
1.5k

views

why CSS dropdown menu makes content jump down? What fixes this?

I am working on a pure CSS dropdown menu. (IE6 is not important to me right now.) I have everything inside of a 'wrapper' div for centering. The page has 4 divs inside of '#wrapper' the first being '#topbar', the second the '#nav', the third a '#content' box and the fourth, a '#footer'. The '#cont...
Moshe
1

votes
1

answer
1.6k

views

How can I include Flash in VB.NET?

I would like to create a .exe wrapper for a Flash Player using VB.NET. I am having a few problems. 1.I seem to remember being able to import Flash Player as a control into Visual Studio (2008 Pro). For some reason, I can't seem to VS to import it anymore. (I tried using the OCX from Visual Studio) P...
Moshe
1

votes
2

answer
519

views

Basic concept: communicating between two views?

How do i send information between two views (and hence, two classes)? Am I looking for my app delegate? Is there a better or alternative way?
Moshe
1

votes
1

answer
980

views

InvalidOperationException (Lambda parameter not in scope) when trying to Compile a Lambda Expression

I'm writing an Expression Parser to make my API more refactor friendly and less error prone. basicaly, I want the user to write code like that: repository.Get(entity => entity.Id == 10); instead of: repository.Get('Id', 10); Extracting the member name from the left side of the binary expression was...
Moshe Levi
1

votes
2

answer
1.9k

views

iPhone modal View with parent view semi-visible?

I am adding a modal view using the following code: [self presentModalViewController:phrasesEditor animated:YES]; How can I make the modal view semi-transparent so that the superview 'shines' through? My complete method/function looks like this: -(IBAction)showEditPhrases:(id)sender{ PhrasesViewContr...
Moshe
1

votes
2

answer
309

views

Basics of in-app email?

What classes am I looking in to? I'd like to allow the user to to 'order' something via email in the app. i would like to use a modal view to show an email form which is pre-poulated. Can someone please explain the process of sending an in-app email like this or refer me to the proper documentation...
Moshe
1

votes
3

answer
4.5k

views

Setting up Android SDK with Netbeans or Visual Studio?

I'd like to set up Android SDK with Netbeans or Visual Studio 2010. I am coming back to Windows programming after 3 months on Apple iMac (for iPhone programming). Would somebody be able to explain how to set up the NetBeans environment so I can compile and test Android Apps directly form NetBeans....
Moshe
1

votes
4

answer
2.8k

views

Two threads using the same variable, produces a problem

I have a List and two threads that using the List. The first thread is getting new connections, each new connection is added to the List. The second thread looping over the List to handle the connections (using foreach). The problem is that sometimes while the second thread is looping over the List,...
Moshe Revah
1

votes
1

answer
66

views

Keeping 'almost complete' logs even when system crashes

We have a c++ application (console) that runs on windows and unix. This application used output files to output verbose log files of system calls/prints/etc. The prblem is, that in certain occasion we might get signal 11/2 after new features are added. Now whenever, that happenes, we do not get 'a...
Moshe
1

votes
1

answer
437

views

Responding to custom key presses on the iPad?

How do I add a character to a UITextField from ASCII or Unicode character set when a custom key is pressed? Disclaimer: I've seen tons of questions here on Stack Overflow, but I haven't gotten all the information I need to make a hebrew keyboard.
Moshe
1

votes
1

answer
7.6k

views

JasperReports: Error executing SQL statement for

This is the error I got while compiling the jrxml file: Compiling to file... /home/moshe/NetBeansProjects/Billing/src/billing/report2.jasper Compilation running time: 299! Filling report... Locale: English (India) Time zone: Default Error filling print... Error executing SQL statement for :...
moshe
1

votes
3

answer
1.8k

views

Setting Up Eclipse for Android SDK?

I'm having trouble setting up the Android SDK. I've set up Eclipse before but it didn't work, so I uninstalled it, but I'm trying again. Does Eclipse need to be extracted to a particular folder for it to work? Where should I extract to? Edit: I'm using Eclipse 3.5 on Win7 Ultimate x64
Moshe
1

votes
1

answer
53

views

How do I animate through a bunch of “paged” views in a UIScrollView?

Say I have a bunch of views in a UIScrollView and I want each one to appear on the screen, one at a time, how do I do so?
Moshe
0

votes
0

answer
6

views

vim - how to select multiple lines?

Say I have this text: #!/bin/bash # Get host db_host=$(echo 'dbhost') # Get DB name db_name=$(echo 'dbname') # Get user db_user=$(echo 'dbuser') # Get password db_pass=$(echo 'dbpass') and I want to select every variable name and produce this output below the text: echo 'db_host: $db_host' echo 'db...
Moshe
1

votes
1

answer
1.8k

views

Signing AIR Applications

Can I sign my Adobe AIR app with my iOS development certificate? I saw on Adobe's website that a company called Thawt is a valid CA. Beneath their name, I saw Apple listed. Does this mean that I can sign my app with Apple's iOS dev certificate? If so, how?
Moshe
1

votes
1

answer
265

views

Help implementing “Horizontal UITableViewController”?

I've got a bunch of 'slides' which I'm trying to show on the iPad, one at a time, using a UIScrollView. The 'slides' are various subclasses of the UIViewController class. I'm storing my slides in NSUserDefaults, represented by NSDictionaries. At startup, I, load the NSArray of NSDictionaries and loo...
Moshe

View additional