roman-roman

1

votes
2

answer
36

views

jquery datatables: how to shift columns mappings (because of inserted “row header column”)?

I have added 'row header column' to my table (rendered by datatables jquery plugin): HTML: note_add ID Part Released Data is accessed by ajax (send as an array, not as associative array). The problem is that now I should re-arrange mappings for each column: table = $('#main-table').DataTable({ ajax:...
Roman Pokrovskij
1

votes
3

answer
60

views

How to make some icons at Appbar with different alignment?

I faced some problem. I want make an image, a text and two icons in AppBar but I can't make it work as I want. I tried to make some fonts in a row after the images and text. The images and the text successful show in my AppBar, but the rest of 2 fonts (Trolley and notifications) show some error. Wid...
Roman Traversine
0

votes
0

answer
5

views

How to render items in succession with Flask/Jinja2?

I'm trying to cycle through a list of variables on my application's front-end. The only caveat is I want the variables to cycle through a list showing one variable at a time. How can I achieve this? Is there some functionality in Jinja2 that allows you to do this? {% for x in [1,2,3,4,5] %} {{x}} al...
Adam Roman
0

votes
0

answer
18

views

When to update tableView?

I am building a to-do list app where I use my section headers to show information about the process. through string manipulation, I show some values in there about To-do. But to always be up to date I only know the reloadData() command. But it looks really bad trying to deleteRows automatically. So...
Roman H
0

votes
1

answer
16

views

How do I continue to perform aggregation on a single thread that has polling?

I create a flow, which polls rows from database by status, validate them and after that aggregate to collection. After processing the entire flow, each line is set to the appropriate status. But when I use aggregator with release strategy TimeoutCountSequenceSizeReleaseStrategy, and elapsed time is...
Roman
1

votes
2

answer
55

views

How to count rows in nested tables with one SQL query?

I have three tables. Each User can have multiple Subscriptions and each Subscription can have multiple Payments. Me goal is to count all Payments for a single User using one SQL query. Is it possible to do and how? In the case below, The result for a User with id 1 should be 2 (because the User has...
Roman Roman
1

votes
3

answer
40

views

Preload ViewController on application start

I've a heavy UIViewController, which loads multiple images in viewDidLoad (so it's called once, on the first controller access only). It takes 5-10 seconds for it to load, which I want to reduce, preloading it from somewhere on application start. I've done my research and tried accessing the view...
Nikitin Roman
1

votes
1

answer
53

views

How do I save the current user location in defaults?

I am trying to give users the option to save their current location. I use the defaults to save it and I found out, how to get the users location. But I am not sure how to combine those two tasks. So here is my question: How can I get my function to call users location, so it can be saved? @IBAction...
Roman H
1

votes
0

answer
104

views

Erlang ODBC for mySQL error with param_query stored procedure call

I'm getting a reproducible error when using the Erlang/OTP ODBC driver and mySQL. The error is received only when using odbc:param_query() to call a stored procedure with IN variables. The error occurs only on a consecutive param_query call. The error is: {error,'[MySQL][ODBC 5.2(a) Driver][mysqld...
Roman Rabinovich
1

votes
1

answer
244

views

Maven war plugin creates war with multiple versions of same jar

I experience following problem. I've got a legacy application where the maven-war-plugin in following way: maven-war-plugin ${basedir}/WebRoot ${basedir}/WebRoot 3.2.0 Particular situation was that there was a special folder WebRoot on level of src in the source tree of the project Then when I had c...
Roman T
1

votes
0

answer
26

views

How to stop PostgreSQL TIME field from being cut to seconds

I have a table with TIME fields created with the script below: CREATE TABLE interval ( id SERIAL NOT NULL CONSTRAINT test_pkey PRIMARY KEY, start_time TIME NOT NULL, end_time TIME NOT NULL ); When I insert a row with this script: INSERT INTO interval (start_time, end_time) VALUES ('05:...
Roman Karetnyy
1

votes
1

answer
146

views

RealmSwift 3.1.0 armv7 support

Today I update RealmSwift to the latest version and now I see that the build that I sent to AppStore does not support armv7 architecture. Also I received a message from Apple that some symbols have no corresponding slice in a binary. For my project I need to support armv7 architecture. Am I right th...
Roman Podymov
1

votes
1

answer
195

views

Run taskA and run next tasks with parameters, that returned taskA in luigi

I have task, which generates which files should be processed: class TaskA(luigi.Task): def run(self): # some code which generates list of files into output() def output(self): return luigi.LocalTarget(filepath='/path/to/process_these_files.json') And I have wrapper task, which should run TaskA, get...
Roman Motsar
1

votes
1

answer
177

views

GitBlit email notification on push and commit

I want to send email latter with commit diff, when each commit will pushed. I found some info here http://gitblit.com/setup_hooks.html, but i dont understand where should i put my Post-Receive, and what structure it will have. Can somebody help me with usefull links, or some info
Roman B
1

votes
0

answer
54

views

AngularJS Jasmine: mocking ngModule with dependencies

So in my project I'm using only one module everywhere. Here is how it looks: angular .module('moduleToMock', [ 'ngAnimate', 'ngAria', 'ngMessages', 'ngRoute', 'ngMaterial', 'md.data.table', 'textAngular', 'ui.utils.masks', 'mp.colorPicker', 'mdPickers', 'ngCookies', 'ngIdle', 'toastr', 'ui.bootstrap...
Lunin Roman
1

votes
0

answer
281

views

Set proxy using google chrome extention with password and login

I need to set proxy. I use it, but now I need to set proxy with login and password. How can I do it? manifest.json 'permissions': [ 'tabs', 'http://*/*', 'https://*/*', 'notifications', 'contextMenus', 'history', 'background', 'proxy' ], and background.js chrome.windows.onCreated.addListener(functio...
Roman Khmylov
1

votes
0

answer
50

views

Android accessability highlight

I want to highlight all the accessability clickable objects on screen. For this i create an app with an always on top layout. mWindowManager = (WindowManager) mContext.getSystemService(Context.WINDOW_SERVICE); DisplayMetrics displaymetrics = new DisplayMetrics(); int screenWidth = displaymetrics.wid...
Roman
1

votes
0

answer
349

views

contentEditable keyboard shortcuts

Is there any official list of keyboard shortcuts for browsers, that can be used in contentEditable div for text formatting? I know three for Chrome (and maybe some other browsers): Ctrl+B, Ctrl+U, CTRL+I. Where can I find this information? I've tried to find it, but unsuccessfully.
Roman Konkin
1

votes
0

answer
204

views

How does the Spring Boot Actuator work together with the Netflix Servo?

There are Spring Boot project that uses a Netflix Servo to collect metrics and send to Graphite. I want to send metrics with the Spring Boot Actuator on Graphite, such as number request per every endpoint and time of response for every request, instead of creating custom metric. But I ran into the...
Roman
1

votes
1

answer
41

views

Adding values from 2 different files

In my program I scan 2 files, the 1st file I get the hours and the payRate to calculate each individual employees base pay, the 2nd file gets the sales of each employee to calculate the commissions for that week. Then I combine the results in one file, but I need to add the commission and the base p...
Jose Luis Roman
1

votes
0

answer
590

views

Server Side Rendering - ReactDOMServer.renderToString returns empty routes html (router 4)

I'm trying to render react application on server, but it seems that renderToString function doesn't render routes html only header and footer. By looking at the code of the page you can see only the header and footer that the server returned from App.js. But the code that is in the routes is not on...
Roman Fedchenko
1

votes
0

answer
69

views

Angular How to download a file of size 1GB

I was googling for the solution of downloading a big file - 1GB - in an Angular application and still haven't found a proper approach. I saw a lot of posts here, but most of them lead to file-saver package (https://www.npmjs.com/package/file-saver) which has limitations on the downloaded file size....
Roman
1

votes
0

answer
62

views

Connect AWS kubernetes pod to AWS DB

In GCP, it's really easy to connect to a DB within the GCP ecosystem via a tunnel by adding a proxy service onto the same pod and authenticating using a service account. So, for example, to create a tunnel service to a mysql db, I'd add the following to my Deployment: - image: b.gcr.io/cloudsql-dock...
Roman
1

votes
1

answer
36

views

Sentence in a single SELECT

I have two tables in a database. One is called sec_users and has three fields: pk_user, name, dias_disponibles And another that is called solicitud and has three fields: pk_solicitud, fk_empleado, n_diassolicitados Each user has for example 24 days available of vacation and can create vacation reque...
Alvaro Roman
1

votes
0

answer
40

views

AngularJS module architecture - in the middle of two approaches

I went deep into investigating of modern approaches and stuck with a problem. One approach is to split application modules depending on purpose: angular.module('controllers', []) angular.module('directives', []) angular.module('services', []) Another approach is to split modules by feature angular.m...
Lunin Roman
1

votes
0

answer
50

views

Content Security Policy sandbox to allow redirect with META

In my web app i allow users to download html files they uploaded. I want to make this download to be maximum secure. If users just open a html in new tab, it is insecure, there can be some script to catch cookies or so. I added the header 'Content-Security-Policy: sandbox' for such downloads. And it...
Roman Gelembjuk
1

votes
2

answer
30

views

How can I return the name and value of a drop down in Java Web?

I have an HTML page named Order that includes a drop-down: Napoletana Margherita Sardiniana Pollo Dolce Funghi Patate Con Aglio Romana Gamberetti Capri La Mexicana Pomodori Secchi Proscuitto Con Pomodori Siciliana Palermo Pesto I want to get the name and value of the option so I can pass it to a Ser...
Roman Roshchuk
1

votes
1

answer
38

views

Where did org.apache.cassandra.auth.Auth go in Cassandra 3?

We have an authenticator implementation which was made for Cassandra 2.1. There, we used org.apache.cassandra.auth.Auth#isSuperuser() method to see whether the user is superuser or not. In Cassandra 3 (namely 3.11.2), there is no org.apache.cassandra.auth.Auth class, and I could not find any isSuper...
Roman Puchkovskiy
1

votes
0

answer
210

views

Spring Integration: Stop a flow gracefully and avoid MessageDispatchingException

My program have to be able to stop and start it again one or another flow. I do it with integrationFlowRegistration.stop() / .start() methods. The problem is that wenn Lifecycle components are stopped hundreds of MessageDispatchingException's are thrown. Probably because some components are stopped...
Roman
1

votes
2

answer
1.4k

views

PostgreSQL and Hibernate java.io.IOException: Tried to send an out-of-range integer as a 2-byte value

I have hibernate query: getSession() .createQuery('from Entity where id in :ids') .setParameterList('ids', ids) .list(); where ids is Collection ids, that can contain a lot of ids. Currently I got exception when collection is very large: java.io.IOException: Tried to send an ou...
1

votes
2

answer
61

views

WCF service handles incoming requests in a single thread, despite ConcurrencyMode.Multiple

There is a simple WCF service in the console application and the same client. The client simultaneously (in different threads) sends N requests to the server. It is expected that the server for processing concurrent requests simultaneously allocates several threads and after a second downtime (speci...
Roman
1

votes
0

answer
690

views

How does IntelliJ IDEA generate effective-pom?

I have a multi-module maven project. For this example let's consider two modules of them: parent module (pom packaging); child module (also pom packaging). There is Saxon library in dependencyManagement section of the parent pom. The exact name of this dependency in all my pom's and in .m2 folder is...
1

votes
1

answer
70

views

How click on browserAction/Chrome Extension button in Google Chrome without mouse?

So, I want to click on one extension to activate this, but I want do it without mouse. I try to use tab button, but it go to , than to refresh button, info about website, url input and after that go to webcontent elements. I want to click here (on photo in red circle), to make this extension active....
1

votes
0

answer
92

views

How to create Content type in SharePoint using MSGraph api

Is it possible to create a SharePoint Content Type through MS Graph, like this POST https://graph.microsoft.com/v1.0/sites/{site-id}/ContentTypes? It seams that there are a lot of working endpoints that are not in the documentation.
Roman Slivinskyi
1

votes
2

answer
96

views

Best practice to import components in VueJS 2.0

I'm new with VueJs. I have a question about which is the best practice about import components in A Vue Template Project. I have some components used in some views. Then I dowloaded a admin template, and the samples always import the components in the view. Included Vue declaration. So I think tha...
Juanjo Román
1

votes
2

answer
139

views

BASH: submenu with arrowkeys

I am currently trying to change this script to a menu with submenus. The problem is if I go in to a submenu the menu is not completely clearing. It replaces the single lines of the main menu with the entries of the submenu. Do you know what I can change to make it work? Here ist my last version #/b...
roman
1

votes
2

answer
67

views

jQuery clone() form submit dont work as supposed

When I clone a form and want to submit cloning form it submit parent form. I update the question. $(document).ready(function () { $('body').on('click','input[type='submit']',function(e) { e.preventDefault(); console.log($(this).closest('form')); $(this).closest('form').submit(); }); $('#clone...
Roman Romanishyn
1

votes
0

answer
78

views

Init Image from notification attachment url

I want to init image by this url: file:///var/mobile/Library/SpringBoard/PushStore/Attachments/username.com.NotificationApp/110278d44fc11178281b4adee06017316484b6d8.jpeg This url was generated in UNNotificationServiceExtension: override func didReceive(_ request: UNNotificationRequest, withContentHa...
Roman Vygnich
1

votes
0

answer
37

views

Text Colour & Hover States

I am looking for some help, I am trying to modify the colour of the hover state of button on this page to match the input hover states as well as getting the new text that I have added to show in the right colour. https://quotes.lasik-eyes.co.uk/free-laser-eye-quotes-v2 I have written this code so f...
Roman Rock
1

votes
0

answer
39

views

Call GameScene from another Class

I have a problem with communication. I want to find a node from a class. And tie a child to it. class GameScene: SKScene { let buttonChange = SKSpriteNode(imageNamed: 'ButtonRate') override func didMove(to view: SKView) { backgroundColor = SKColor.magenta let myLabel = SKLabelNode(fontNamed:'Chalkdu...
Roman

View additional