Lalitha

0

votes
0

answer
3

views

plot different columns in one graph R

My sample data : structure(list(year = c(2018, 2018, 2018, 2018, 2019, 2019), month = c(9, 10, 11, 12, 1, 2), pred1 = c(-6.63356483810535, -6.50968293287978, -1.54767782423655, -1.47812226859267, -1.36788275407234, -1.28168637109063), pred2 = c(-1.42361872090391, -1.3982815502715, -1.14092414754...
Lalitha
1

votes
2

answer
77

views

aggregate from weekly to monthly data frame for a grouped data in R

My df had different states associated with their cities of weekly data with value_1 and value_2 structure(list(city_id = c('FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS030', 'FS...
Lalitha
1

votes
1

answer
801

views

Auto update changes in mongodb directly on frontend without page refresh with Node Socket.io and angularjs

My question is, incase I manually add one more message inside mongodb directly, how can I make it automatically visible in active UI client pages without a need of refreshing. My code is below. What happens in mine is, when new client is visiting page, existing records in mongo is displayed and thus...
Lalitha
2

votes
1

answer
9.7k

views

Create a Modal Dialog box containing a form using struts2

In my application I have a part of form which should allow details of a n number of persons. i.e, Field1 Field2 field3 now a button Details of persons on button click it open a modal dialog box containg a form with 3 fields about person.When I click save. the details of persons sections should upd...
Lalitha
2

votes
1

answer
830

views

SQL query to return the most recently updated rows - added/deleted

I have a table in my database which acts like an interface between two applications. One inserts and deletes rows in this table while the other has to poll to get the most recently added/deleted rows. The app that writes to the database is third-party and I am writing the code for querying the datab...
Lalitha
1

votes
2

answer
274

views

Angular controller is not being called

I am new to Angular Js. I want to get data from MVC controller and display in MVC view through angular js. My AngularJs controller is: angular.module('VC', []).controller('MenuController', ['$scope', '$http', function ($scope, $http) { console.log('ANGULAR JS'); $scope.getManufacturerList = functio...
Lalitha
2

votes
2

answer
70

views

How to copy specific text from one file to another using python?

I am writing a python script to copy only the facebook group_id's from file A to file B. The code I am using here is searchquery = 'group_id=' with open('h1.txt') as f1: with open('h2.txt', 'a') as f2: lines = f1.readlines() for i, line in enumerate(lines): if searchquery in line: f2.write(line)` W...
Lalitha Ramkumar
4

votes
2

answer
3.9k

views

How does Bonjour Over Bluetooth Work

Can anyone explain how bonjour works over bluetooth from iphone OS 3.0 onwards? The documentation says the Bonjour API's used in the application just works even if Wi-fi is off and Bluetooth is on. It also says , a Bluetooth PAN is established and hence IP address comes into picture. But Bonjour (ba...
LALITHA C V
1

votes
1

answer
1.3k

views

Flask after_request 'NoneType' object is not callable [duplicate]

This question already has an answer here: Basic flask application with after_request returns server error 1 answer I have a pretty heavy application built on flask-restful so I will just present the smaller version of the problem here. I have divided my application into modules having the structure...
Lalitha Ramkumar
2

votes
1

answer
66

views

How would I obtain only the texts of a webpage that contain necessary keyword using JSoup?

I came up with something like this which didn't work out. I am trying to extract the texts that contain the keyword alone and not the entire text of the webpage just because the webpage has that keyword. String pconcat=''; for (i = 0; i < urls.length; i++) { Document doc=Jsoup.connect(urls[i]).ignor...
Lalitha
2

votes
2

answer
1.7k

views

How to open specific page in the app on clicking Push Notification?

I am working on an Android app using cordova and implemented a push notification system using the cordova $PushPlugin. My PushPlugin code (source): module.run(function($rootScope,$cordovaPush) { var androidConfig = { 'senderID': 'replace_with_sender_id', }; document.addEventListener('deviceready',...
Lalitha Ramkumar
3

votes
1

answer
1.1k

views

Can python function be called by a SQL server trigger?

I have a database in MS SQL Server 2008 that has 3 tables. I want to create a trigger for INSERT, UPDATE and DELETE for each row for these tables. For the trigger function I want to call a python function. The python script needs to write some of the columns from the row for which the trigger occurr...
Lalitha
1

votes
2

answer
49

views

How to get distinct records in sqlserver

FUNDFAMILY_ID FUND_NAME REPORTSECTION_ID -------------------------------------------------------------- 172295295 VANGUARD GROWTH FUND (Retail) 126345 172295295 VANGUARD GROWTH FUND (Retail) 126354 -------------------------------------------------------------- Bu...
Lalitha Annem
2

votes
1

answer
2.6k

views

JDBC result set from an Oracle PL/SQL stored procedure

What does oracleClose() and oracleCloseQuery() do in sqlj.runtime.ExecutionContext.OracleContext. Since we upgraded jdbc driver jar to ojdbc5.jar with the oracleClose() in the finally block we get the below exception when using resultset.next() and not with oracleCloseQuery(). Is it safe to use ora...
Lalitha
-1

votes
1

answer
155

views

Your network is not allowed to request an OAuth token for this Application yammer

I have implement free version of Yammer in ASP.net C# project. I have created two Yammer network with two account (Tishansoft and FNA). I tried to connect tishansoft with FNA through oauth dialog window using followng URL: https://www.yammer.com/oauth2/authorize?client_id=[:client_id]&response_type=...
Lalitha
3

votes
1

answer
782

views

Jquery slick is not working with ng-repeat

I need to display set of images using slick jquery plugin. Here I am using ng-repeat for get set of images. my jquery code is: $('.multiple-items').slick({ infinite: true, slidesToShow: 4, slidesToScroll: 4, arrows:true, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 3, slidesToScroll:...
Lalitha