max max

1

votes
1

answer
327

views

How Can I change Image type with NodeJS?

I need to change my Image type after Uploading. I have tried with image_magick but failed.What is the best way to change a image type.
mad max
1

votes
1

answer
70

views

iDempiere multiple launching while updating any of OSGI plugins by Felix console

I hope you can help me to solve the problem. I’ve got a Linux server with iDempiere 3.1 and Java 1.8. Only iDempiere schedulers are launched on this server. Each scheduler has its own launch frequency (start time). I noticed that while updating any of OSGI plugins by Felix console, time of the nex...
Max Gabderakhmanov
1

votes
1

answer
15

views

How to add value of form-field to a URL opens when the form has submitted

I want to add values of text-box and a combo-box to a URL opens when the submit button pressed. ex:- My first website is : www.example.com My second website is : www.example2.com Then, below form is at second web-site. When it was submitted, submitter must send to www.example.com/?sld='value-of-tex...
Shon Max
1

votes
0

answer
68

views

JS JQ How to reduce total value when click on button

I only know how to make total value using jQuery, but I don't know how to reduce the value. Is there anyway to make total value be able to reduce price when click on image too? I tried this but it doesn't work $(document).ready(function() { $('.items_img').click(function() { var path = $(this).at...
Max Kasem
1

votes
2

answer
1.8k

views

Run Macro without opening Excel

This is my first time using VBs. I used to it to automate Excel macro but I failed due to the spacing between filenames. It works fine if the space was removed. I read this post and used the double quote method but did not work. This is how I used it objExcel.Application.Run '''C:\Users\account\Desk...
Max
1

votes
0

answer
672

views

Shared files with symbolic links

Our company has really two apps. We rebrand our apps for other companies. In AngularJS we started to create a folder, then symbolic link to the files in some shared directory. This allowed us to have different apps package names in config.xml files, but still use the same code. We are in the proce...
Max Power
1

votes
0

answer
902

views

java.lang.Exception: The server rejected the connection: None of the protocols were accepted

I/we(the company) have a weird issue with Jenkins and the connection between Master and Slave. After a while the connection is rejected/timed out for some reason. We tried to start it as a Windows Service but that didn't go well(also error message). We try it again, maybe we didn't start it properly...
Max.St
1

votes
0

answer
39

views

How do I properly test share functionality using Facebook's web hosting?

I am developing an HTML5 game for the Facebook platform. I am using Facebook's Web Hosting product to host the game and I have created a test version of the app to see if it works properly on Facebook. Despite having added the open graph meta tags to the games HTML code, when I test the game and try...
Max Knoblich
1

votes
0

answer
13

views

read query performance effects of normalizing database schema

I have a database designed. One of the tables will grow to have over 100 million rows. It is possible to normalize the schema to move 7 of the 17 fields into another table and use a foreign key to point to the other table which will be a smaller table under 500 thousand rows and will but still it w...
max
1

votes
0

answer
13

views

What am I doing wrong with my GridBagLayout placement?

I know there are many GridBagLayout questions here, but I couldn't seem to find anyone with quite the same problem that I am having. I am attempting to organize some buttons and panels using GridBagLayout in a 6x3 grid, such that elements can split any row in half or in thirds (using widths of 3 and...
Max Mindel
1

votes
0

answer
24

views

Fastest way to call two functions multiple times without using a list of input parameters

I have written a small programm that uses a pipe. The parent takes care of camera connection while the child is processing the images. The child process calls two functions FunctionA and FunctionB. Both times the image from the parent is processed. I want to run the two functions as fast as possib...
Max Krappmann
1

votes
1

answer
170

views

VBA Runtime error 91 when already used SET?

I'm getting Runtime Error '91': Object variable or with block variable not set when I already used the set keyword. I read this old post that says set is used to assign a reference to an object. What does it really meaning? Also read about POST A & POST B but no much help. Dim strPath2 As String Di...
Max
1

votes
1

answer
442

views

Data not storing in localStorage in Angular 5

Hello internet people, I am trying to make an Angular 5 application with Mongoose as the back-end. Now I want to store data (an authentication token) in localStorage so that users keep their auth token after closing the page. This token is used to access our Mongoose endpoints. When we try to acces...
Max Koning
1

votes
0

answer
83

views

Script works fine but executable throws socket error

I have create a python script to download FAA archives of case files from here. When run as a py file the script works as intended. I created an executable with pyinstaller and get the following error when attempting to download the first csv. My first thought was the company firewall preventing it...
Max Bacher
1

votes
0

answer
64

views

How many repeatition there are in spriterenderer in adaptative tilemode?

Unity recently added a new functionnality on SpriteRenderer in order to use tile system. When I set SpriteRenderer with these: Draw mode: Tiled Tile mode: Adaptative I can't find a correct way to know how many time the central part of my sprite is repeated in x and y axis. With image: Using this spr...
Max
1

votes
0

answer
1.4k

views

Error in created hook: “ReferenceError: **method** is not defined”, but it is clearly in the same location

I've got a strange error that randomly happened today even though I've changed nothing and it was working yesterday. I'm getting an error that the method fetchColorPalettes() is not defined when it is called in the created hook. But it clearly is defined and it was working before. I have no idea wha...
Max McKinney
1

votes
0

answer
34

views

SqlException IDENTITY_INSERT is set to off

I am trying to insert a new sportevent with a sport and a sporthall. I am using a .NET core API that I am accessing from an Angular App. The values are submitted correctly: But when I try to insert a sportevent (with a sport and sporthall) in my database I get this exception: I have tried setting th...
Max Koning
1

votes
2

answer
54

views

Pass array of objects into another class

I've created an achievementArray of my AchievementObject class and appended all the necessary values. For testing purposes I've hard-coded the first index. I want to pass this array into my AchievementDatabase class so I can check the size of the array. (I want to get the client-side working before...
Max Goddard
1

votes
0

answer
20

views

Rails5: how to pass element to bs modal with form_tag

I have an index view listing my elements. I want a button link to open a modal view containing a form_tag to pass some text which then get's sent to a third party API, but 'linked' to the element (it's ID) passed. So far I get the modal showing and it's submitting correctly. But: the modal get's al...
Max Weber
1

votes
0

answer
45

views

Sequel gem - “FATAL: remaining connection slots are reserved for non-replication superuser connections”

From googling, I know this error seems to be due to connections not being closed properly. However, the way the Sequel gem readme says to use a database is to open a connection using @db = Sequel.connect('postgres://someaddress') and then call various commands after that. I've read some people menti...
Max
1

votes
1

answer
33

views

File Getting Corrupted after upload node FS

Hi i am using html5 filereader and node fs to upload the file to server which i am able to do so far, but the result file is larger than the original one. here is my code. var f = document.getElementById('file').files[0], r = new FileReader(); console.log(f); //for checking file info r.onloadend = f...
Max Ahmed
1

votes
1

answer
280

views

sklearn PCA random_state parameter function

I am using PCA to visualize clusters and noticed Sklearn added 'random_state' parameter to the PCA method (http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.PCA.html), my question is what does the random_state parameter do there? My understanding is that PCA should return the sa...
Max
1

votes
1

answer
331

views

Javascript to track how many times an audio/video file is played (in Qualtrics)

In a Qualtrics survey, I'm trying to capture how many times an audio or video file is played by respondents. I'm a Javascript novice and have read previous questions about how to capture whether a respondents clicks a link (Javascript code to record click on link to PDF - Qualtrics; Tracking when a...
Max Bloom
1

votes
1

answer
869

views

Jboss EAP 7 JSESSIONID instance-id not appended

It seems the instance-id in JSESSIONID is added when using standalone-ha.xml and not with standalone.xml, at least in my case: # Standalone (instance-id not appended) [[email protected] bin]$ ./standalone.sh -Djboss.instance.id=node1 -Djboss.node.name=node1 [[email protected] bin]$ curl -I http://127.0.0.1:8080/cluster...
Max Nicholson
1

votes
1

answer
615

views

Bypassing Frame buster

I need to bypass or bust a frame buster, but I don't have a server that returns 204. The best solution that works (partially so far) is the one in https://crypto.stanford.edu/~dabo/pubs/papers/framebust.pdf on page 4 section C, onBeforeUnload – 204 Flushing. It is discussed here (Frame buster bus...
max_max_mir
1

votes
1

answer
494

views

Create-react-app pagespeed confusion

I've been facing pagespeed problems using this tool from google My goal is to reach ~95 on pagespeed insights; I use create-react-app, and after I've: Enabled gzip in nginx for all project files, Compressed all images as suggested by Google, Used loadCSS polyfill to avoid css-blocking while page r...
max
1

votes
2

answer
314

views

Parallax background with inside text

I have parallax background that's moving at a certain speed with javascript. I need to put the text inside those background divs, so each background has its own text block. But when I put the text inside it goes to the top of the page, despite the container it's located. Something in the positions n...
Max T
1

votes
1

answer
251

views

linearLayoutmaneger.findLastCompletelyVisibleItemPosition returns wrong value in coordinatorLayout

I have a recyclerView in coordinatorLayout and I want to get last visible Item from it: and findViewById(R.id.lastVisibleItem).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { int position=((LinearLayoutManager) mRecyclerView.getLayoutManager()).find...
max
1

votes
0

answer
157

views

React Native: Cannot load an empty url (iOS Release Build)

I have an issue with the iOS release build of my React Native app. It actually does load the app, but after I login the app suddenly crashes and XCode shows me the error Cannot load an empty url - this happened out of nowhere and the app works fine in the debug build. I have no idea how to locate th...
Max Tommy Mitschke
1

votes
1

answer
53

views

Sed insert variable containing UTF8 chars

I am trying to insert a html-directory structure generated by tree via sed into an existing html file. Problem: The directory structure contains html tags and non-ASCII chars: Wiki ├── Servers │   ├── Plesk-Umzug.html │   └── web02.html ├── SmartHome │   └──...
Max
1

votes
1

answer
275

views

Issues importing tf Transform on cloud ml

Whenever I try to import tensorflow-transform on an mlengine job I get the following issue: Traceback (most recent call last): File '/usr/lib/python2.7/runpy.py', line 162, in _run_module_as_main 'main', fname, loader, pkg_name) File '/usr/lib/python2.7/runpy.py', line 72, in _run_code exec code in...
Max Deng
1

votes
0

answer
8

views

how to make a pass word that will redirect me to another page only when its correct. all while staying on the same tab

I'm a beginner and I'm using HTML to embed aspects onto google sites. forgive me if my title wasn't specific or my question is idiotic. this is my code: Enter the password to proceed Password: the problem is it will redirect me to the other page on a new tab that it opens is there any way to keep i...
Max Ratcliff
1

votes
0

answer
91

views

Field not found in row: <name> while executing stored procedure with NHibernate via Npgsql provider

Stored procedure in postgresql: CREATE OR REPLACE FUNCTION create_user() RETURNS TABLE(id integer, name varchar(50), token varchar(50)) AS $$ declare newUserId int; BEGIN INSERT INTO public.user(name) values ('User'); newUserId = currval('user_id_seq'); RETURN QUERY SELECT u.id, u.name, u.token FRO...
Max
1

votes
1

answer
405

views

2 DC motors & 1 servo for steering rc car

im working on an RC car project and im using 2 DC motors as a rear wheels ,one servo motor on front for steering with a nano arduino as a microcontroller, HC 06-slave bluetooth receiver, and L298N module for Fwd/Rev and PWM. for my transmitter im using nano arduino a joystick and HC-06 master. i nee...
Max
1

votes
0

answer
74

views

C++ - Can't compile functions of <cstdio> at ubuntu17.10 with g++ (Ubuntu 4.8.5-4ubuntu6) 4.8.5

I am new to this forum and have the following question. I recently installed ubuntu 17.10 (artful). My compiler is g++ (Ubuntu 4.8.5-4ubuntu6 (output of g++ --version). Unfortunately i cannot chose a newer compiler version, due to a specific framework i use. I wrote the following minimal example:...
Max Graf
1

votes
2

answer
212

views

Angular response headers value

I get a request from WP Rest Api in Angular service.ts get(): Observable{ return this.http.get('mysite.com/posts?categories=4&per_page=2')); } app-component.ts ngOnInit() { this.RestApi.get() .subscribe( e => { console.log(e); console.log('headers: ' + e.headers); });} response DevTools - Network 1...
Max.B
1

votes
0

answer
83

views

Running go server on localhost: Cross origin requests are only supported for protocol schemes

I know that this question has been asked many times, but none of the solutions are working out for me. I'm serving a webpage with a go server. mux.Handle('/', http.FileServer(http.Dir('../highlight_webpage'))) This server is running on port 8080. I have another endpoint I am trying to access, namel...
Max Chang
1

votes
0

answer
271

views

Is Visual Studio's std::mutex implementation incorrect or just “weaker” than other stl implementations?

My understanding of mutex is that it has two guarantees: Mutual Exclusion Given an n, it will guarantee that a waiting thread will acquire the lock after n other threads have 'cut in line'. I know semaphores must have the second guarantee, and I expect that mutex should also have it since all platfo...
Max
1

votes
0

answer
105

views

Symfony 2 Profiler: Get total execution time

In my custom controller function I get information about requests as follows: public function customProfilerControllerFunction { $profiler = $this->container->get('profiler'); $requests = $profiler->find('', '', 10000, '', $start, $end); ... } My goal is to get the total execution of each query. How...
Max
1

votes
1

answer
40

views

Cannot require mongo gem

I am having a really wierd situation. I want to install the mongo gem. So I follow the instructionns, adding this to my Gemfile. gem 'mongo', '~> 2.4' This is the typical approach and has worked in all other cases. When I try require 'mongo' from rails console, though, I get an error: LoadError: can...
max pleaner

View additional