mark mark

19321 questions
1

votes
0

answer
40

views

Tensorflow CIFAR10 slows down every 100th step

System information OS: Linux Ubuntu 16.04 TensorFlow installed from: Have tried both binary and source TensorFlow version: 1.4.0-19-ga52c8d9, 1.4.1 Python version: 2.7.12 CUDA/cuDNN version: 8.0.61 Hardware: GPU: NVIDIA GeForce GTX 1080 Ti (11GB), RAM: 64GB, CPU: Intel i7-6850K Exact command to repr...
Mark Sonn
1

votes
0

answer
539

views

Azure Function Key Vault Attribute Binding

Can you use key vault secrets instead of appsettings.json on attribute bindings e.g. [FunctionName('QueueMessageHandler')] public static void Run( [QueueTrigger(queueName: '%queueName%', Connection = '%connection%')]string myQueueItem) { *** function code here *** } so my variables %queueName% and...
Mark West
1

votes
1

answer
608

views

How to interpret the output of H2O .predict method for random forest classification?

When I use the predict method on my trained model I get an output that is 1 row and 206 columns. it seems to have 206 values ranging in values from 0-1. This sort of makes sense as the model's output is categorical variable with values 0 and 1 as possible values. But I don't get the 206 values, as I...
mark_maker
1

votes
0

answer
39

views

How to find out if Tensorflow is built from binary or source?

Is there a way to find out if the version of Tensorflow installed on a computer is built from binary or source with Ubuntu 16.04?
Mark Sonn
1

votes
0

answer
267

views

Why can I load a module in GHCi, while Atom can't find it?

I'm using Haskell with Stack and Atom on Windows 10. Sometimes, I like to just write a stand-alone .hs file to play around with various things. When I do that, I prefer to interact with it using GHCi. Usually, I start it from Git Bash: $ stack ghci --color never From here, I can add modules: Prelude...
Mark Seemann
1

votes
1

answer
70

views

Change Button Color based Comparison Modal Input Value And Target Input Value

I tried to google around to find a way to change button colour for below case: Let’s say I have an onclick Button where I click and it opens a modal box which contains an Input box and a Submit Button. If I input “90” in the Input box and submit it It will compare with my target value “100...
Mark Kho
1

votes
1

answer
333

views

mutt - difference between account-hook and folder-hook

What is the difference between account hooks and folder hooks in Mutt? If I understand Mutt correctly, it can only have one IMAP connection open at a time. So why can't I just let an account hook to set up everything? What needs to be set in account hooks and what should be left for folder hooks and...
Mark Howard
1

votes
1

answer
58

views

Is user IP needed to make Google Analytics see a single visitor from both the tag and the Measurement Protocol?

I wish to use the Google Analytics Measurement Protocol to supplement the information GA stores about a visitor that was already constructed client side, using the GA tag. I might want to set a Custom Dimension for a user, or to record an event, or something else. In my case, I can store and pass t...
Mark Reddin
1

votes
1

answer
40

views

How run modal and arithmetic operator for several buttons

I have an issue with adding addition buttons for a modal and arithmetic operator control. Please see my code for detail. It works when I have only one button. Once I added the second button, the arithmetic operator control is not working right. Is there a better way to run several buttons with onl...
Mark Kho
1

votes
1

answer
806

views

Debugging Topshelf Service

I am using Topshelf to create a Windows service which uses the chrome Selenium driver to manipulate and parse various webpages. While the service code runs fine from a normal (NetCore2) console test application, there's a problem when it runs under the Win32 console app that Topshelf requires. Unfor...
Mark Olbert
1

votes
1

answer
517

views

SQL Server 2014 linked server to Pervasive database

I'm trying to create a linked server from SQL Server to a Pervasive database. I have the 64-bit System DSN configured and working: ODBC DSN set-up and setting up the linked server thus: Linked server set-up with security set to 'Be made without using a security context' (which is correct). Clicking...
Mark McArdle
1

votes
0

answer
45

views

How to get reproducible output with Google Closure Compiler

When I use Google Closure Compiler (simple mode) all functions/fields names are mangled (A, B, etc etc). That's nice, but I notice when I recompile the names are different. This means my diffs for version control often become very big, but contain useless changes. Is there something you can provide...
Mark Knol
1

votes
1

answer
172

views

Change Target Value button to change color for each button from value comparison

I'm trying to change button background color based on change in target value. Initially i set a target value such as '10', when i click my '1' button and change it to '9'. Therefore, my background color button change to 'red' because input value is lesser than target value. However, at some point,...
Mark Kho
1

votes
0

answer
14

views

Replace translations from wp-content/languages/ by translations in child-theme wordpress

How to replace translation files located in the wp-content/languages/ folder by files located in the wp-content/themes/child-theme/ folder? I want to display the translations from the child-theme folder. Should I add something to functions.php so that the files form the wp-content/languages/ folder...
Mark
1

votes
0

answer
38

views

Padrino rendering json raises template not found

I am using Padrino and facing the next issue. I would like to render jsons, the controller is the following and then the error I always get. I call the end point with: curl -i -H 'Accept: application/json' http://localhost:3000/mymodels get :index, provides: [:html, :json] do @models = MyModel.all c...
Mark
1

votes
0

answer
48

views

OWL 2 class definition has to make non-binary mention of Self

I would like to say that a U. Penn Biobank consenter is a Homo sapiens that has a consenter role and participates in a informed consent process with at least three elaborations on the informed consent process It also has the individual U. Penn Biobank Organization as a participant It has a fully sig...
Mark Miller
1

votes
1

answer
329

views

java.lang.NullPointerException on explicit wait

I am trying to loop through and click on a number of buttons on a web page. My code first checks for the number of the elements on the page, then loops through and clicks each one. This worked for the first loop, but then I got an Element Not Found exception on the second loop. This is because when...
Mark Masic
1

votes
2

answer
59

views

Split AMEX Transaction detail strings using regex

I have an array of transaction description strings from an American Express Card that I will be using PHP's preg_split() to parse; [ 'THE DISNEY STORE #90DANBURY CT', 'CHRISTMAS TREE SHOPSDANBURY CT', 'BATH & BODY WORKS 07DANBURY CT', 'CITGO DODGINGTOWN GANEWTOWN...
Mark Carpenter Jr
1

votes
0

answer
42

views

Eclipse NullPointerException when dragging tab to a new location with custom perspectives

I made an IPartListener so when I change between different file types I can change perspective automatically. But when I drag an editor tab to a new location, it iterates over the other tabs it crossed. Now I think because of this, the editors getting activated and eclipse wants to change perspectiv...
Mátray Márk
1

votes
0

answer
418

views

How to force HTTPS on Wildfly 11?

I have an application that communicates with a Wildfly 11 server. Right now everything works with HTTP but I want to use only HTTPS. I would like to know how to disable http completely and only use https how to redirect http to https Is there a preferred approach between the 2? What files do I need...
Mark
1

votes
1

answer
133

views

How to Focus on textinput field in alert combined with modaldialog in R?

I am building a Shiny app in which a user can open a modalDialog by clicking on points in a plot. The modalDialog contains a plot of the raw data behind the point clicked. The user is presented an actionButton linked to code to save the detailed plot in the modalDialog with a sweetalert swal message...
Mark
1

votes
1

answer
235

views

html-webpack-plugin adding type attribute to script tag

Version 2.30.1 new HtmlWebpackPlugin({ title: 'Project', minify: { collapseWhitespace: true, preserveLineBreaks: false }, hash: true, template: './src/index.html' }) Results in: but should be: Either the configuration is wrong or missing something or this is a bug?
Mark
1

votes
0

answer
2.3k

views

Discord does not embed link when sent by my bot

My code works fine and the bot sends the link, but Discord does not recognize it as one and does not embed it. When I copy and paste it myself, it then recognizes it as a link and embed the image. Here is my code: if message.content.startswith('.dog'): response = requests.get('https://dog.ceo/api/br...
Mark W
1

votes
2

answer
222

views

Javascript, Tesseract, AWS IoT, Dynamodb & Buffers

Im working and testing on a small Tesseract project and with full credit to http://aalvarez.me/blog/posts/building-an-ocr-service-with-tesseractjs-in-aws-lambda.html I've got a Tesseract project running in Lambda that takes s3 events and processes the image that was uploaded to s3. The next objectiv...
Mark Lloyd
1

votes
1

answer
167

views

Weird performance issue for numba.jit function calling another numba.jit function

I noticed some weird performance results when a parent function calls a child function, and both functions are numba.jit compiled. Can anyone explain this behaviour (code below)? More importantly, is there anyway around this problem? Why this matters: Suppose I'm writing a long, complicated function...
Mark N
1

votes
1

answer
31

views

Making simple frequency table

I am attempting to make a simple table in R. The data I have is 9, 28, 14, 29, 21, 27, 15, 23, 23, 10, 31, 23, 16, 26, 22, 17, 19, 24, 21, 20, 26, 20, 16, 14, 21. What I want to do is create 6 equal intervals from 5 to 35 and count how many numbers are in each interval. Then I want to create a tab...
Mark Herwig
1

votes
1

answer
87

views

System.OutOfMemoryException when calling Path.GetFullPath()

My code here var fullPath = Path.GetFullPath(input); throws OutOfMemoryException Insufficient memory to continue the execution of the program when I pass this value '\\.' as argument. Any explanation as to why Path.GetFullPath('\\.') crashes? XAML: ViewModel: // Implementation of IDataErrorInfo publ...
mark uy
1

votes
1

answer
1.4k

views

Can wait_for_message check for multiple contents?

I am waiting for a message like: msg = await bot.wait_for_message(author=message.author, content = '.hit') What I want to do though is to wait for a message, and proceed with 2 different kinds of content, for example: msg = await bot.wait_for_message(author=message.author, content = '.hit' or '.pass...
Mark W
1

votes
1

answer
42

views

How to add different elements from multiple arrays

I am building a small PHP/MySQL system to track transfers of product between different store locations within the same company. Each store will enter their transfers into the database. Then the accountant should be able to pull a summary report at the end of the month. The information is being sto...
Mark Wright
1

votes
1

answer
449

views

jQuery Chosen plugin update issue after AJAX call

I'm having an issue with the jquery-chosenplugin not applying to a control that is rebuilt by an ajaxcall. I've looked around at other suggestions but don't seemed to have found a working answer. I'm using jquery3.2.1 and jquery-chosen1.8.2 My htmlpage is built in phpand upon first output everything...
Mark Moran
1

votes
2

answer
73

views

AngularJS Error: $injector:modulerr Module Error, Tried everything

Okay first of all I tried searching and did the solution but to no avail I have tried everything I could. I also added angular resources but the errors doubled so I removed it. Anyways am I missing something? I haven't used angular for a while so this is kinda tricky for me This is my app.js angular...
Mark
1

votes
0

answer
49

views

Could not set innerText for twoCellAnchor using openxml excel C#

My requirement is to change the text of the textbox in excel using openxml c#. i can find the textbox using the below code: WorkbookPart workbookPart = document.WorkbookPart; Sheets sheets = workbookPart.Workbook.GetFirstChild(); //To add the month in the first KPMG sheet string sheetName = 'Test...
mark xplore
1

votes
1

answer
52

views

throw exception from java task does not work

I am trying to throw an exception inside a task which is run on a separate thread. Then I want to catch the exception on the calling thread. See my trial below: When I run the code now it hangs at the line with 'throws new RuntimeException..' Task calcTask = createCalcTask(); ExecutorService executo...
Mark Vrijlandt
1

votes
2

answer
77

views

Code Signing Certificate for Sole Proprietor

I've been selling my software Isadora (https://troikatronix.com) for 17 years, and I would like to start code signing the app and installer. I've been turned down by three code signing certificate vendors because I'm a Sole Proprietor in Germany where the concept of DBA doesn't exist. Since there is...
Mark Coniglio
1

votes
0

answer
404

views

JBoss/Keycloak - Running Cluster in Azure

I'm having trouble booting JBoss/Keycloak cluster in Azure using 2 CentOS virtual machines running latest Keycloak instance (Standalone HA mode). The cluster does not join together with following error message: Slave WARN [org.jgroups.protocols.pbcast.GMS] (ServerService Thread Pool -- 50) ew-sit-i...
Mark Swabinski
1

votes
0

answer
225

views

Error trying to access app locally - Heroku and python3

I'm trying to follow the instructions on 'Getting started on Heroku with Python', and I've gotten stuck at trying to install 'collectstatic'. When I try to run the command python3 manage.py collectstatic, I get this page of errors: `Traceback (most recent call last): File 'manage.py', line 11, in...
Mark Beefy
1

votes
0

answer
24

views

Is it possible to connect the stdout of a child process to the stdout of the parent in c#?

So, I have the following code: var process = Process.Start(new ProcessStartInfo { RedirectStandardOutput = true, RedirectStandardError = true, CreateNoWindow = true, UseShellExecute = false, WorkingDirectory = Directory.GetCurrentDirectory(), FileName = ToolPath }); var stdOutputString = process.Sta...
mark
1

votes
0

answer
38

views

Does chrome tracing work with Tensorflow estimators?

I've been using chrome tracing with sessions for a while now, however, I am now working with an estimator instead of a session. Is it still possible to trace code with estimators? If so, how?
Mark Sonn
1

votes
2

answer
112

views

Deleting Last Row of Table / Prevent Header Deletion

I have the following code which is assigned to a button. When pressed, the button will delete the last row in a table. The table's top row is a header. I'm trying to figure out how to prevent/protect the header (B6:M6) and the rows above it from being deleted accidentally if the 'delete row' butt...
Mark
1

votes
0

answer
125

views

Determine TimeZone name using Javascript running in IE11

I am trying something like this to get user's timezone name: var dateTimeObject = Intl.DateTimeFormat().resolvedOptions(); dateTimeObject.timeZone; Works fine but not in IE11. It's there but not defined. I am also trying jstz from http://pellepim.bitbucket.org/jstz/. Which also works in Chrome, but...
Mark

View additional