SEn sen

-3

votes
0

answer
19

views

Best package for laravel cart system [on hold]

I am working on E-Commerce app with laravel. I want some recourse of laravel cart packages
Rudra Sen
1

votes
0

answer
38

views

star (*) issue while merging two SPSS (.sav) data file in R

While merging two .sav (SPSS) file in R ('version 3.4.2 (2017-09-28)'), there is a star (*) appearing in exported file for those numerical variable which doesn't have any value labels in .sav (SPSS) file.All variables may or may not same in both the data file. Below is the R merging code(multi-mergi...
SUMAN SEN
1

votes
2

answer
593

views

Creating a button with a Bitmap image wxPython

I am using wxPython on Python 2.7. I would like some help with creating a button with bitmap images. I am using this video https://www.youtube.com/watch?v=Y7f0a7xbWHI, and I followed the codes and typed def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'Frame aka window',size=(300,200))...
Sen
1

votes
1

answer
655

views

My ajax code not working after i update jquery version to 3.2.1

The ajax part of My program was running until I have used jquery version 1.7 as soon as I have update my jquery version to 3.3.1 I have attached ajax part of my code. And in php file I just use inset post method to get the data and just run a mysql query. And if the the found row number is 0 then ec...
Dhrubajyoti Sen
1

votes
3

answer
70

views

In `Python 3`, get maximum of first m elements and last m elements from a list of integers

In Python 3, how to get maximum of first m elements and last m elements from a list of integers n times (omitting the previous maximum value) efficiently? say arr=[10,20,35,30,10,45,0,20,25,50,15] m=4 n=3 1
Saikat Sen
1

votes
1

answer
157

views

Getting an error in android studio when using selenium. can any one please suggest how can I resolve this issue?

Error:Gradle: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing com/google/common/collect/ImmutableMapKeySet.class Error:Gradle: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26) Error:Gradle: Execution failed for task ':a...
sanjay sen
1

votes
0

answer
80

views

Throttling Event Notification in Azure

This is mostly a design question. I have a web application that takes in data from multiple users on multiple tenants. We also have a desktop application that we want to keep up to date with these data changes from the web app. Currently the desktop application polls every X seconds retreiving the...
Sen
1

votes
0

answer
120

views

HAPI to NHAPI code conversion

I am supposed to convert HL7 message to XML format using NHApi in (C#, .net). I somehow understood this code which does the same using HApi in Java. I want the same code for NHApi in C#,.net import ca.uhn.hl7v2.DefaultHapiContext; import ca.uhn.hl7v2.HL7Exception; import ca.uhn.hl7v2.HapiContext; im...
Sayan Sen
1

votes
0

answer
195

views

Cannot import WebKit in python via gi.repository on Mac High Sierra

I have been trying to prepare a development where I can use GTK and WebKit in python for the past few days. I have given up on ubuntu and now I just want to focus on mac first. I have installed the pygobject3 and I can load the GTK 3.0. But I can't get the WebKit working. The error message is this,...
Sen
1

votes
1

answer
52

views

sybase sql anywhere 11 query results are incorrect

I have the following table which has >13.000 rows. CREATE TABLE 'DBA'.'mytable' ( 'c1' numeric(8,0) NOT NULL, 'c2' numeric(2,0) NOT NULL, 'c3' numeric(4,0) NOT NULL, 'c4' numeric(8,0) NOT NULL, PRIMARY KEY ('c1','c2','c3','c...
Guner Sen
1

votes
1

answer
234

views

flask preloader before render_template is invoked

I have a python app built on flask, now before render_templateis called, the function that passes data values to the html takes a long time to execute. As a result, when I click http://127.0.0.1:5000/ i see a white screen for around 30secs./ 1minute before the html is displayed.Code is something lik...
Sukirti Sen
1

votes
0

answer
271

views

MySQL Server Has Gone Away (MariaDB - MEMORY Engine)

I have an OpenCart website with a bunch of plugins with encrypted files. As I added more and more products (150k currently) it became slower & slower. Since I cannot change the queries (files are encrypted) I had to change some of my tables' storage engine to MEMORY. My query times went from 50 seco...
Volkan Sen
1

votes
3

answer
67

views

how to make 2 or more picker views in swift

so i want to make 2 picker views but my problem is everytime i call the text field they only call one pickerview i already tried replace and make 2 function with different value but the function didnt work when i run it here is my code i think the problem is because pickerview function but i dunno h...
Indra Sen
1

votes
1

answer
184

views

@SendTo Annotation fails silently for ActiveMQ

I am trying to push a JMS message to a standalone ActiveMQ broker in a SpringBoot Application using @SendTo annotiation, however the execution completes without error/exception but the message is not queued. Instead if I use JmsTemplate (commented in code), the message is queued. Is there any additi...
Monish Sen
1

votes
0

answer
469

views

client request body is buffered to a temporary file

I am using nginx as a load balancer I keep seeing the messages above. I keep uping the client_body_buffer_size, proxy_buffer_size and proxy_buffers but it doesn't seem to make a difference. What could be happening here?
Nidhi Sen
1

votes
1

answer
134

views

In Python Pandas Can't add new column after datetime column

I cannot concatenate new columns to existing Pandas DataFrame if the last column of the existing DataFrame is in the type of datetime. Here is a minimal example: import pandas as pd import numpy as np dates = [pd.Timestamp('2012-05-01'), pd.Timestamp('2012-05-02'), pd.Timestamp('2012-05-03')]...
Lin Sen
1

votes
1

answer
37

views

How can we log the datas stored in the session into the database?

I'm trying to record the data stored in the session into the database(orderdetails). when there are more than one product, only the first selected product is added, the second product does not register to the database . Is there a problem with the location of foreach or sql3?What could be the reason...
Kasim ŞEN
1

votes
0

answer
68

views

how to connect AWS elastic beanstalk to RDS and keep database alive in production

I am setting up my django project in AWS elastic beanstalk, and I also setup a separate RDS instance (sql-server). I am able to ssh in to the VM and connect to the database as I did in development using localhost. How should I keep the database connection alive all the time ? I am using unixODBC,...
sen
1

votes
0

answer
9

views

how to decrease loading speed in a xml data fetching from html website with other calculation and database insert php application

I have made a php application which fetch data from a html website using xmldom and store in database then retrieve the data and do some rich calculations. and after giving the output database get truncated. I have used while loop for data row management. but it taking to much time when data row inc...
Dhrubajyoti Sen
1

votes
0

answer
26

views

File upload not found on request

I am trying to upload a file using Laravel but the request in the controller always returns null. I think my problem is with the JSON that is sent to controller. I call my controller like this: $request->file('myimage')->store('upload'); // error Call to a member function store() on null $request->f...
Sen Wei
1

votes
1

answer
34

views

Need to reshape pandas dataframe [duplicate]

This question already has an answer here: How to pivot a dataframe 1 answer My input dataframe looks like this: Variable | fiscal_week_id | units xxxxxxxxxxx | 201801 | xx_unit_201801 xxxxxxxxxxx | 201802 | xx_unit_201802 xxxxxxxxxxx | 201803 | xx_unit_201803 yyyyyyyyyyy | 201801 | yy_unit_2018...
saswata sen
1

votes
0

answer
24

views

AWS Route traffic to two load balancer simultaneously

I have a requirements to record all incoming and outgoing traffic to my application loadbalancer. I have a tool from F5 (install in EC2) to receive the traffic and process and perform actions (So I can setup ELB+ASG for this). However I want the traffic should go to the web server (Apache+PHP), so t...
Sen
1

votes
1

answer
49

views

Writable computed variables does not read value when copying same value twice

I am formatting a input into currency and using writable computed variables to update the value back to textbox. e.g. I have a value 1234.12 I am copying the value frm notepad and pasting it into the textbox, on tab out it is hitting the read function and getting formatted into currency and gettimg...
Nilanjan Sen
1

votes
0

answer
62

views

ORA-30036 UNDOTBS1

SQL> declare 2 num float(10); 3 begin 4 num:=1; 5 loop 6 insert into integer values(num); 7 num:= num+1; 8 exit when num>99999; 9 end loop; 10 end; 11 / ERROR at line 1: ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1' ORA-06512: at line 6 what is this ORA-30036 error...
shubhendra sen
1

votes
1

answer
171

views

Multiple authentication mechanisms in the same webapi controller

We have vendors (and in house consumers) some of who do basic authentication with us and some do jwt token auth when consuming our API. We have our controller annotated with either basic auth filter or token auth filter. Is there a way to combine both these authentication methods in the same control...
Aninda Sen
1

votes
1

answer
134

views

Swift - How to make cell shrinking effect when tapped in UICollectionView (like ios 12 Shortcut app and App Store app)

I am thinking that the way to implement it would be using UIView.animate (...). But the part that got me stuck is about how to add gesture recogniser to detect touches. I tried to use UILongPressGestureRecognizer but that causes user to be unable to scroll through the cells. Any help here would be g...
Swee Sen Koh
1

votes
1

answer
159

views

Create an array of struct datatype from the join of two Hive tables

I have two tables in Hive - emp(empid int,empname string,deptid string) dept(deptid string, deptname string) Sample Data Emp table in Hive has the schema empid int,empname string,deptid string 1,Monami Sen,D01 2,Tarun Sen,D02 3,Shovik Sen,D03 4, Rita Roy,D02 5,Farhan,D01 Dept table in Hive has the...
Monami Sen
1

votes
0

answer
42

views

WCF + AD FS Active Federation + Windows Authentication

I am facing issue in creating claim aware WCF service using windows authentication. Enabled windows authentication in IIS. Disabled annonymous authentication. Service : Binding : Facing below issue if trying to open the service The authentication schemes configured on the host ('IntegratedWindowsA...
Puja Sen
0

votes
0

answer
3

views

“Getting hourly data for NYC in R using rnoaa/countyweather packages”

I am trying to get hourly weather data for New York City from NOAA by using rnoaa and countyweather packages. I'm trying to do some version of the Kaggle Capital Bikeshare Demand Prediction problem and I need HOURLY precipitation, windspeed and relative humidity data for 2016-2017. I'm running the...
Sanjana Sen
1

votes
0

answer
201

views

How to install pycurl on Elastic beanstalk (django+celery+sqs)

I am using SQS for my Django/Celery application on AWS Elastic Beanstalk. Everything works great on my localhost, but I when I deploy to Elastic Beanstalk I always get this error regarding pycurl: File '/opt/python/run/venv/local/lib/python3.6/site-packages/kombu/asynchronous/http/curl.py', line 43...
sen
1

votes
1

answer
48

views

How to pass an unix command with white spaces to a shell script

C# program is calling a shell script with one argument. The argument is an unix command: port='/dev/ttyUSB0'; procStartInfo = new ProcessStartInfo('sudo', 'sh test.sh ' + '$(udevadm info - a - n ' + port + ' | grep '{serial}' | head - n1)'); My shell script is test.sh: echo [email protected] It prints the above...
Sayan Sen
1

votes
1

answer
22

views

How to make my own ng-change and ng-model in a directive?

I am trying to implement a directive with its own model and change attribute (as an overlay for ng-model and ng-change). It works apparently fine but when the function of the father scope is executed and some variable of the scope is modified in it, it is delayed, the current change is not seen if n...
0

votes
3

answer
25

views

How can I make the my button's relative location (to a video) the same?

I have a mute button that goes on top of a video, but I don't know how I can make sure that the button always is by the bottom right of the video. I've tried making the position absolute, but that doesn't help much. HTML Your browser does not support HTML5 video. Toggle sound CSS body { margin: 0px;...
Sen Choi
1

votes
1

answer
56

views

Ngx-translate failed to translate all keys

The translations fails on some words (found at least 2 keys that don't work - 'Home' and 'Currency'). The funny thing is that the translation works, but not with all the items... I've checked the files, no duplicates found for those 2 items that i mentioned above Home and Currency don't work. The EN...
Sen Alexandru
1

votes
0

answer
12

views

mockito fmwk to test java method which uses URL connection to ping external system

I'm trying to use mockito fwk for some of the methods I defined to checkConnection and post any document to an API. Since I'm new to mockito, I'm little confused what and how should I plan my test I just tried the basics of mockito using assertEquals, but I wanted to know how to mock my scenario be...
Sen
1

votes
3

answer
2.6k

views

VSTS load test one run per data row

I have a datadriven unit test which reads from an access database and execute for all rows in the database.When I add this to a load test and execute with 5 concurrent users,all the records in the databse are executed 5 times.the problem I face here is when there are more records in the database the...
Sen
1

votes
1

answer
2.4k

views

update web reference through commandline

Is there a way to update web reference in a Visual Studio 2008 project through command line? I have a test code that reference to a web service.I want to run this against different servers and trying to write a script for this.
Sen
1

votes
2

answer
161

views

How can I attach a clock or a calendar to my application?

I would like to know how i can attach the Android clock or calendar into my application. That is when my application comes up one part of the view will be reserved for this application. Please guide me. Thanks, Sen
Sen
1

votes
1

answer
4.3k

views

How to embed a videoview in Webview?

I would like to embed a videoview in a webview. I would like to play an mp4 video on that video view. Please guide me with some pointers so that i can implement this. Update I have only html4 browser
Sen
1

votes
1

answer
209

views

How to stop a runner spawned from a method in Android?

I have a method test() inside my onPrepared(Mediaplayer mp) method. The test() spawns a runnable and does the following : public void test() { Runnable playerValues = new Runnable() { @Override public void run() { System.out .println('Player.testPlaying() --> Get Duration : ' + vv.getDuration()); S...
Sen

View additional