max max

1

votes
2

answer
491

views

Where can I find a PL/I Compiler for Windows? [closed]

50 years ago, I worked for IBM in a mainframe-environment and was an absolute fan of PL/I, this powerful and flexible language. Today I'm retired and would like to program in this language again. I'm searching for a PL/I-Compiler for my Windows 10 machine. Where can I find one? Do you know a free so...
Max G.
1

votes
2

answer
502

views

How do I serialize ScriptableObjects?

I'm using a save system I don't fully understand but works well. It saves serializable code, but I started using ScriptableObjects as a way to save inventory and it broke and I don't know how to fix it now. This is the code I'm using: [CreateAssetMenu(fileName = 'Attack')] public class PlayerAttckCa...
max anderson
1

votes
3

answer
35

views

How to find average, maximum, and minimum numbers of a list from user input in HTML

I'm trying to make a code that will evaluate numbers in a list from user input and will calculate the sum, average, minimum, and maximum of that list. I have already gotten the sum part from help from others. I can't seem to find how to get the maximum and minimum numbers from the list. Im trying to...
Max Muchnick
1

votes
2

answer
65

views

Input search not working in Edge, IE, or Firefox

The search bar works in Chrome and Opera but not in the browsers named above. I suggest it has something to do with the onsearch='search(event)'. Mozilla say's its not supported and I was wondering if anyone knew of a solution to this issue? HTML:
Max Loyd
1

votes
1

answer
37

views

How to detect when intervalled observable begin request?

I have I snippet, which poll server for the user's payment status. It's doing every 5 seconds, while the status is not became expected. this.activatedRoute.params.subscribe((params: {orderId: string}) => { let subscription = interval(5000) .pipe( startWith(0), switchMap(() => this.paymentService.get...
Max Link
-1

votes
0

answer
11

views

How do I read the contents of a user-selected file?

I am making a page that will save a file to the computer, for them to access later, but I only get the filename instead of the contents of my file. This is just for a fun project, I have looked on the internet, but I have not found an answer to my qustion. open var openfile = function(){ doc.value=o...
Max
0

votes
0

answer
12

views

What is the equivalent of entity framework in Flask?

When I worked with c# on asp net core, I made que models first and then created the database. When creating the models, I had for example, a list. So the models where linked. Example, a user had a list of posts. Using asp net core it was just pressing a few buttons and the program would create a dat...
Max
0

votes
0

answer
5

views

Can't run iOS app on simulator in Xcode 10.2

In Xcode 10.2 I can no longer run my app on a simulator with thread sanitizer enabled. I get the error This app could not be installed at this time. WatchKit v3 app has disallowed Info.plist key: NSBuiltWithThreadSanitizer My app includes a watch app and a lot of frameworks (some for watch, some for...
Max
1

votes
2

answer
44

views

How to find a cell that contains parenthesis around a number - e.g. (1)

The formula I'm using is: =IF(SUM(COUNTIF(K6,'*'&{'current','(1)'}&'*')),'within 5 minutes', IF(SUM(COUNTIF(K6,'*'&{'current','(2)'}&'*')),'within 10 minutes', IF(SUM(COUNTIF(K6,'*'&{'current','(3)'}&'*')),'within 15 minutes', IF(SUM(COUNTIF(K6,'*'&{'current','(4)'}&'*')),'within 20 minutes', IF(SUM...
max
1

votes
1

answer
36

views

Is here simple way to convert Set into Array? [duplicate]

This question already has an answer here: How to convert Set to Array? 7 answers I tried: const state = new Set( [5, 10, 15, 20, 30, 45, 60] ); let preset = Object.assign( {}, state ); console.log(preset) // {} and got empty object. Also I tried to convert state to string and also failed: state.va...
Max Kurtz
1

votes
1

answer
99

views

How is Deno startup fast without running the TypeScript compiler in “watch” mode

As far as I can tell, Deno always compiles TypeScript to JS on startup, and has no 'watch' mode. It's also my understanding that there is no such thing as 'incremental compilation' for TypeScript aside from TS watch mode. So that, if one wants fast TS compilation, one must use watch mode. So I would...
Max Heiber
1

votes
2

answer
41

views

Convert recursive function to iterative function

Although this may seem like a duplicate (maybe it is but I haven't found a solution to this version of the problem yet), I don't think it is. Below is my recursive function which blows python's recursion limit and I'd need to make it iterative instead but I'm having issues seeing how it could be pos...
Max Michel
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

View additional