text
stringlengths
70
452k
dataset
stringclasses
2 values
How to deploy an applet JAR locally on a Windows system that will override the server version of the JAR? I have a situation where the version of an applet provided by a service provider is outdated, and I am wondering if I can somehow install the updated version of the applet's JAR locally (somehow in the classpath I'...
common-pile/stackexchange_filtered
cannot resolve symbol "cucumber" in IntelliJ I am seeing "cannot resolve cucumber" error even after adding "cucumber-java" in my POM I also have tried adding "junt" to POM, but the issue is not resolved After spending lot of time, I found the issue with the dependencies in POM. We have to add both "cucumber-java" and ...
common-pile/stackexchange_filtered
Regular expression matching liquid code I'm building a website using Jekyll I would like to automatically remove liquid code (and only liquid code) from a given HTML file. I'm doing it in Python using regular expressions, and so far I have this one: \{.*?\}|\{\{.*?\}\} As I am not too familiar with liquid (and .html),...
common-pile/stackexchange_filtered
Basis of custom C++ serialization lib I know it's been done a million times already, but I couldn't find a serialization library to suit my needs. This is the very basis of what I came up with. I know the code is ugly and unstructured, so you don't have to tell me that. My goal is to make a serialization/deserializatio...
common-pile/stackexchange_filtered
iOS silent push should update application badge count Is it possible to update application badge count by receiving a silent push. When the application is not running in the background, this method is not called. My guess is this method get called even if the app is not running in the background. Am I wrong? - (void)...
common-pile/stackexchange_filtered
Safe to use ABS for plant enclosure? I'm planning on 3d printing an aeroponics enclosure out of ABS. Obviously there will be a high amount of water circulation involved. Is ABS a safe plastic to use? Will chemicals leach into the soil? Have any studies been done here? I'm planning on growing and eating vegetables, so I...
common-pile/stackexchange_filtered
Animation with KineticJS in HTML5: Uncaught typeError: object is not a function Iam coding a HTML5 game, I did exactly as tutorial but I've got an error "Uncaught TypeError: Object is not a function". Anyone can help me? var amplitude = 150; var period = 2000; animation = new Kinetic.Animation({ // ERROR A...
common-pile/stackexchange_filtered
Import cv2.py error; cannot install Python cv2 I'm trying to run this Python script on a Mac: https://github.com/jasonlfunk/ocr-text-extraction/blob/master/extract_text File "/usr/local/lib/python2.7/site-packages/cv.py", line 1, in <module> ImportError: No module named cv2.cv I have OpenCV installed on the Mac. I hav...
common-pile/stackexchange_filtered
Why are all newlines gone after PowerShell's Get-Content, Regex, and Set-Content? I want to load a file template into a variable, modify data within the variable and output the modified template to a new location from the variable. The issue is that PowerShell is removing newlines from my template. The input file (temp...
common-pile/stackexchange_filtered
Python Selenium with Chrome, how to download to a specified folder with specified file name The website has a download button and in python I can do button.click() to get the file downloaded to the Chrome download folder with a filename specified by the website. Is there a way to change the target folder and filename...
common-pile/stackexchange_filtered
How to run only specific JUnit tests in Ant? I have a sample project structure that looks like this. Now I want to only run MyTestTwo through build.xml and not MyTest. How do I go about doing this? When I tried running only one test then I achieved it by doing this: <target name="runJUnit" depends="compile"> <jun...
common-pile/stackexchange_filtered
Is there anyone PyCharm can detect when a variable or function does not have type? def main() -> None: i = 12 Is there anyway PyCharm can throw a warning letting me know that this: def main() -> None: i: int = 12 Is the better option? I installed mypy, but it couldn't detect anything wrong in the example abov...
common-pile/stackexchange_filtered
Can Microsoft Exchange Activesync in Knox container still wipe my device I set up my work email account (which uses Microsoft Exchange Activesync) on my personal galaxy s4 (gt-I9505 running 4.4.2) under the Knox container (version 2.0). If the Admin tries to remote wipe my device will it a: do nothing b: wipe ...
common-pile/stackexchange_filtered
Affine Hecke algebras and Lusztig relations I study the book "Affine Hecke algebras and orthogonal polynomials" by I.G. Macdonald. He propose a formula in section $4.2$, especially formula $(4.2.9)$. This formula is the following: $$T(w)f(Y)=\sum_{v\leq w}{f_v(Y)T(v)}$$ where $\leq$ is the Bruhat ordering. The author s...
common-pile/stackexchange_filtered
What is "projector" in this context? My Google-fu has turned out to be too low in this case, what is "projector" in the following context? It seems to be a particular kind of software or file judging from http://www.adobe.com/support/flashplayer/downloads.html: "Your rights to use any Flash player, projector, standal...
common-pile/stackexchange_filtered
How to grab data from post to a class If I have a form such as (not all the code just one field and my input): <div id="login_form"> <form id="registration" method="post" action="results.php"> <label for="first_name"> First Name: </label> <input type="text" id="first_name" name="first_name" maxlength="100" tabindex="1"...
common-pile/stackexchange_filtered
Reed-Solomon error correction in GNU Radio Can someone please explain how to define parameters for Reed-Solomon decoder correctly in GNU Radio? I have already looked at ETSI EN 300 744 Clause 4.3.2 , but it does not explain how to choose parameters for use cases which are not RS(204,188) or RS (255,239). I have signal ...
common-pile/stackexchange_filtered
Split a JSON object by parameters I have a JSON Object defined in Typescript, I want to split it into parts but I can only get the keys: This is my JSON object: let data = { "dataTest": "data1,data2,data3", "insTest": "ins1,ins2,ins3", "serTest": "ser1,ser2,ser3" } This is what I do to loop through it: for (let ...
common-pile/stackexchange_filtered
Will calling a method of a bean in the spring context from an async method truly be concurrent? I have a controller called importController. importController has a method of return type void that calls an asynchronous method for a list of objects passed over the wire. The asynchronous methods logic is backed by a meth...
common-pile/stackexchange_filtered
How to remove array keys while exporting using Mattwebsite excel? I am exporting data to excel using Maatwebsite excel. I am using laravel framework. My array is looking like this:- Array ( [0] => Array ( [0] => Name [1] => Salary [2] => Age [3] => Gender ) [1] => Array ( ...
common-pile/stackexchange_filtered
Damaged spokes behind the cassette Look at this. The spokes behind the cassette of my MTB are all scratched and bent. How might this have happened? The back of the cassette has no scratch at all. that was caused by the chain getting stuck between spokes and cassette. @Burki that is an answer, not a comment ;) @Ren...
common-pile/stackexchange_filtered
WPF/XAML - Validation errors showing up twice I have a form with a GroupBox, and in it I have a number of controls (Checkboxes, TextBoxes, and Comboboxes). The form is bound to a view model that implements IDataErrorInfo on its properties, and when the user enters an invalid value into a control, IDataInfo returns an i...
common-pile/stackexchange_filtered
Use Apache drill as schema conversion tool I am working on migrating teradata DBs to any open source DB(which DB is under discussion). I came across Apache Drill engine. My question is can we use drill to load data from teradata? If yes, can we use it as a schema conversion tool? In theory yes it can load data from Te...
common-pile/stackexchange_filtered
Using a trie for string segmentation - time complexity? Problem to be solved: Given a non-empty string s and a string array wordArr containing a list of non-empty words, determine if s can be segmented into a space-separated sequence of one or more dictionary words. You may assume the dictionary does not contain...
common-pile/stackexchange_filtered
Extra </html> tag on creating CSV I'm trying to develop a function in order to export CSV files using JSF. here is the code I have developed StringBuilder cardReport = getCoreService().createCardReport(cardType.getId()); HttpServletResponse response = (HttpServletResponse) WebFlowUtils.getExternalContext().getNativeRe...
common-pile/stackexchange_filtered
Rails 'activemodel' and 'activerecord' namespaces in repository? im trying to set a custom locale (i18n) to a new Rails app.. Could someone tell me where i can accomplish with the following? Where i can find these 'namespaces' to be removed? => 'activemodel' and 'activerecord' namespaces are removed from Rails reposito...
common-pile/stackexchange_filtered
Raku list addition operator `Z+` 'fails' unless one of the lists is forced I'm struggling to understand why the zip-add Z+ operator does not work on some cases. I have some 2-element lists that I'd like to sum. These work as expected whether I use lists or arrays: say (1, 2) Z+ (3, 4) # (4, 6) say [1, 2] Z+ (3, 4) # (4...
common-pile/stackexchange_filtered
In memory db that supports grouping I have about a million records which i want to store in memory and perform grouping,filtering,sorting etc. I came to know about NEDb but it does not support grouping. Is there any other fast and scalable in memory db that provides all operations? For only a million rows any relation...
common-pile/stackexchange_filtered
Converting hexadecimal color to integer This is my integer color in database : "8689404". I change it to Color as following: Color = ColorHelper.FromArgb(255, byte.Parse(Event.LABELCOLOR.Value.ToString("X8").Substring(6, 2), NumberStyles.HexNumber), byte.Parse(Event.LABELCOLOR.Value.ToString("X8").Subst...
common-pile/stackexchange_filtered
Display Members and Value Members from Drop Down List I am learning MVC 4 razor,i am trying to get display member and value from drop down list but i am not able to get it, this is my code <script src="~/Scripts/jquery-1.10.2.js" type="text/javascript"></script> <script type="text/javascript"> $(document).chang...
common-pile/stackexchange_filtered
When do I answer negative questions (e.g. "Aren't you...?") with "yes" or "no"? I want to know how to answer negative questions. For example, take the following example: Q: "Aren't you supposed to be there at 7? You don't have time." A: "No, I can make it on time." Someone told me that my response above is wrong, and...
common-pile/stackexchange_filtered
Sum of Wiener, limit in probablitity Show that the sequence is convergence in probability and set the limit of it: $$\sum\limits_{k=n}^{2n-1}\left(W_{(k+1)/n}^2-W_{k/n}^2-\frac{1}{n}\right)\left(W_{(k+1)/n}-W_{k/n}\right).$$ If there wasn't square it would be very similar to definition of integral with respect to Wiene...
common-pile/stackexchange_filtered
Issues configuring Firebase/Messaging for iOS I am developing a new app and I hit an issue configuring Firebase/Messaging for iOS. I doubled checked everything and the only clue I have is an error I get in the iOS log: [Firebase/Messaging][I-IID003014] Error while reading embedded mobileprovision Error Domain=NSCocoaE...
common-pile/stackexchange_filtered
How to put a window and a toplevel side by side in Tkinter? from tkinter import * def graphical_grid_init(): root = Tk() root.title("2048") w = Toplevel(root) w.title("2048") root.mainloop() graphical_grid_init() This code spawns 2 windows but I want them to be side by side, and apparently i...
common-pile/stackexchange_filtered
ASP.NET creates Excel file through Visual Studio but fails with IIS Piece of code below works fine with Development Server but fails when the project is published to IIS. Tried different ones than the xlExcel8 but no help. I also thought changing Microsoft.Office.Interop.Excel reference's "Copy Local" property to "Tru...
common-pile/stackexchange_filtered
Pandas DataFrame do something if a value is string I have a table with a column named 'Amount'. The cell values are mixture of numbers such as 1, 100, and 1000, and strings such as '(1000)' and '(999)' which indicates a negative value. How would I change the strings of negative values to numbers, like -1000 and -999? I...
common-pile/stackexchange_filtered
Necessary to pass bump for PDA in the instruction data when using Anchor? I've noticed many programs on Solana written with Anchor asks for the bump in the instruction data, then checks it inside the #account macro with bump = bump. I've tried omitting the caller-supplied bump parameter, using just #[account(seeds = [....
common-pile/stackexchange_filtered
I would like to grep all files except some file types? How do I recursively grep files within a given folders except a couple file types? For example, I'm looking for a string within my workspace folder but it ends up searching inside sql files and generates serialized strings. So in this case, I'd like to grep the w...
common-pile/stackexchange_filtered
By Pass Method for Instruction Pipeline Hi Suppose the below instruction : R1<-M1 R2<-M2 R3<-R1*R2 M3<-R3 Now We Will create a pipeline like below pipeline without bypassing:[XXX : bubble] IF1 ID1 EX1 ME1 WB1 IF2 ID2 EX2 ME2 WB2 IF3 XXX XXX XXX ID3 EX3 WB3 XXX XXX XXX XXX IF4 ID4 EX4 WB4 And We wi...
common-pile/stackexchange_filtered
Error: parameters are of unsupported type By scrapy sql insert cmd logs show the issue. But every solution I tried was failed, every single data seems to work correctly Traceback (most recent call last): File "C:\Users\meow\Anaconda3\lib\site-packages\twisted\internet\defer.py", line 653, in _runCallbacks curren...
common-pile/stackexchange_filtered
ASP MVC form fields wrongly getting filled in I have an ASP MVC form which updates a business object and then its action goes to another page. Both of these pages have a textarea with an id "Description", when it goes to the other page, for reasons unknown it fills in the values which were entered before the form subm...
common-pile/stackexchange_filtered
FreeBSD: lldb does crash even in hello.c on FreeBSD I started to play around with LLDB, but it crashes right at the start. user@host ~/sandbox % rake hello cc -I/usr/local/include -g -O0 -o hello.o -c hello.c cc -Wl,-L/usr/local/lib -o hello hello.o user@host ~/sandbox % lldb (lldb) target create hello Current executab...
common-pile/stackexchange_filtered
.Net maui: How to reference a color in a binding? So I have a label and I want to set the text colour from a mvvm variable. VM [ObservableProperty] private string col = "White"; XAML <Label Text="{Binding Name}" FontSize="20" TextColor="{Binding Col}"> So in general TextColor="White" works fine I've tri...
common-pile/stackexchange_filtered
stored procedure to find the day from IN parameter date please help me to find the passing IN parameter that give the day is Monday or else an weekday. give the working code for this stored procedure. like as an example- call check_date(1982-01-10); gives -weekday. What stored procedure are you talking about? How do w...
common-pile/stackexchange_filtered
How to use Get Record to lookup a related record on another object when I don't have the schema Entity Name - Just the LogicalName All, I am building a Power Flow. I am returning an object that has a relationship to another entity. I want to get some values from the related entity. I am attemping to use the "Get Recor...
common-pile/stackexchange_filtered
Kafka Implementation for Rest API I have a microservice built using spring boot. The Load balancer has a fixed timeout and this service does some large calculation and thus the response gets timed out when I call it from the UI. I figured that Spring Kafka will be very suitable in this scenario and can help me to queu...
common-pile/stackexchange_filtered
bot not responding after converting it as a skill I have tried to convert my existing v4 bot to a skill. Now it is not showing any error while building. But in the emulator I'm not getting any response. screenshot from emulator Can any one help me to know where to start with debugging ? I have followed the steps from...
common-pile/stackexchange_filtered
how I fetch all data from multiple tables using subquery in postgres? I am trying to fetch data using postgressql using inner join but I am getting only the matching rows: select r.name, r.description, tags.name tags, rb.ingredient_id, mb.name macros from recipe r inner join recipe_tags tags on r.id = tags.recipe_id ...
common-pile/stackexchange_filtered
How to get each element in array and split them into two variables from a delimiter How can I get each element in an array, separate them from its delimiter, and store them into two different variables. I can only get the last iteration of my foreach loop. Any answers are fully appreciated. This is want I wanted to acc...
common-pile/stackexchange_filtered
Global variable resetting in loop? I am attempting to do a problem from advent of code, and I can't seem to crack it. It is supposed to collect a set of unique coordinates, then output their count. My main variable, coords_list is instantiated outside of a for loop, then added to inside that for. For some reason, thoug...
common-pile/stackexchange_filtered
How to search for certain number of letter within a text file with PHP? I have a large text file with names, location and date of birth of lots of people. I need to find names based on character size. How can I do this with PHP? In the text file, data is organised like this: Name-Location ...
common-pile/stackexchange_filtered
Parse HTML and Javascript with Jquery let say i have html like this and will requested with ajax : <html> <body> <div id="main"> <div class="content"></div> <script> $(".content").doaction(); </script> </div> </body> </html> is it possible to get...
common-pile/stackexchange_filtered
How can you exactly substitute an adverb? (Pun intended) Adverbs seem unnecessary, even redundant, to many editors. They suggest replacing an adverb with a stronger, more specific verb. I disagree. Here is a sentence from C. S. Lewis's "Problem of Pain": We are not merely imperfect creatures who must be improved: we...
common-pile/stackexchange_filtered
Typing Yale Romanization I learned Cantonese using Yale Romanization, but I'm unable to type it easily because of the accent marks representing the tones. Is there a quick and easy way to do this without using a special character set or keyboard layout? If not, what's the best (read: simplest) character set to use th...
common-pile/stackexchange_filtered
Control single-light LED strip with Raspberry pi and MOSFET I'm trying to make my LED strip fade-in and fade-out by using Raspberry-pi 4, unfortunately for me, I am not an electronic expert. Every tutorial I saw so far was for RGB LED strips and I have a single-color (3000 K) LED strip with just 2 pins (+ & -). I have:...
common-pile/stackexchange_filtered
Delete a very, very deep tree of subdirectories on windows? I was testing a file management program today and while looking to solve something else my program ended up not checking for moving a directory to the same directory. The result is a possibly endless recursion of dir1s. I need to commit the changes so I'm desp...
common-pile/stackexchange_filtered
What's wrong with my code about swapping adjacent characters? The question: Write a method called swapPairs that accepts a String as a parameter and returns that String with each pair of adjacent letters reversed. If the String has an odd number of letters, the last letter is unchanged. For example, the call swapPairs(...
common-pile/stackexchange_filtered
How to detect url from google ad link using php How do i detect a user visiting from the google ad link. And if the user is from google url i need to perform some php function. function google_ad(){ blahblah } What do you mean google ad link? I think you are looking for HTTP REFERRER @AmalMurali google's banner...
common-pile/stackexchange_filtered
Adding the Angular Material theme to Stackblitz Projects with Angular 17? In previous versions of Stackblitz there used to be a styles.css file and to use one of the prebuilt themes we could just add an import to styles.css like this. @import<EMAIL_ADDRESS> However with the latest Stackblitz which uses global_styles.cs...
common-pile/stackexchange_filtered
AddThis in Joomla Category Blog Override. Linking to corresponding articles I've overwritten the "blog.php", for Category Blog to put the AddThis social media sharing plugin at the bottom of each article. Working on joomla 3.0 The Category blog layout displays many articles per page. By default AddThis uses your curren...
common-pile/stackexchange_filtered
proving of divide as Total Order Relation a set $A = \{1,2,4,8,16\}$, the relation is divide '$|$'. How do i prove that it is Total Order Relation for this set. i know that for a set to be total order relation, it has to be partial order relation and all elements in the sets are comparable. i can prove that the set is ...
common-pile/stackexchange_filtered
How can I update a section of a GTK+ GUI in a separate thread, which continuously reads data from another process? I have a problem while coding a GTK+ GUI to manage other processes, under Linux. I'm definitely not an expert with GTK+, and I can't seem to solve this problem. I'm trying to write a GTK+ application which...
common-pile/stackexchange_filtered
Fetch data from mysql database How to pass array into where, if this array has dynamic values ? foreach($value as $v) { echo $v->acc_pkey." "; $account = ledger::where('ledger_group', '=', 18)->orwhere('ledger_group', '=', $v->acc_pkey)->get(); } What you are trying to do? Can you please provide so...
common-pile/stackexchange_filtered
Which is faster inline function or MACRO I believe that preprocessor expands the Macro as a copy text in the code before compilation wherever is it called, while the compiler writes a copy of compiled function definition in each function call. So in both cases we avoided the overhead of regular function call, but in th...
common-pile/stackexchange_filtered
"unassigned local variable 'mylist' error" given loop containing initiatization will be entered once? And how to make the code recursive? List<string> Getlist() { List<string> mylist; for (bool successFlag = false; !successFlag; ) //It will definitely enter the loop once. { successFlag = true; ...
common-pile/stackexchange_filtered
Go handling JSON Responses and Requests I'm relatively new to Go, and while I have a pretty good grasp on understanding most of it so far, I can't exactly figure out how JSON is supposed to be handled. So let's say I have an access token on the front end. I want to pass it go and want to make a request to an API to va...
common-pile/stackexchange_filtered
Debugging HTML5 With Ubuntu SDK I read this Question: Can I develop a hybrid native/HTML5 app for the Ubuntu Phone? And it has a great answer, but that is no longer supported in the Ubuntu SDK (Ubuntu 13.04), now it uses: import QtQuick 2.0 import Ubuntu.Components 0.1 import QtWebKit 3.0 And there are some errors whe...
common-pile/stackexchange_filtered
FirebaseMessagingService : intent.putExtra() does not work if app is not running EDIT3: Ok I found the problem : If the app is killed, sending both data and notification won't trigger onMessageReceived. notification needs to be set to null if the target device is android. That's really a dumb behaviour. Original post: ...
common-pile/stackexchange_filtered
Two views named RNCPicker / Yarn: how to share dependency between dependencies? I'm building a React Native app, where I'm running into the following issue: the package @react-native-picker/picker is being included by two different node modules. Because of this I run into the error: tried to register two views with th...
common-pile/stackexchange_filtered
How to instantiate Unity GameObjects into tiles during runtime? I'm making a 2D Tower Defense game in Unity where the player will be able to place the walls themself. I'm having problems with making it possible to instantiate the cubes into tiles on a tilemap. I can't find any tutorials about it online. In the code bel...
common-pile/stackexchange_filtered
Ipython error " No module named 'mayavi' " i am trying to plot Spherical harmonics in Jupyiter Notebook. For this reason i want to use mylab from mayjavi and I get always the same error --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most ...
common-pile/stackexchange_filtered
Lat/long python type conversion error unable to convert to float (2nd attempt) Right, I made a hash of asking this question when I was fried at the back end of yesterday so I'm doing it properly now. The block below converts some data into lat/long info and then there's an if statement where I can grab certain parts of...
common-pile/stackexchange_filtered
JPA annotations in entity layer according to Uncle Bob According to Uncle Bob, the entity layer should know nothing about the database. What about the JPA annotations then? Don't they violate the architecture proposed by the author? If they do, how to use the entities with JPA? In a non-ORM world, a clean architectur...
common-pile/stackexchange_filtered
How to install cabot in linux I have downloaded and unzip the cabot(python tool) in my linux system.But then I don't know how to install it.In the cabot folder there is setup.sh file. But when I put build or install it is not working.So What to do? .sh is a shell script, you can just execute it. ./setup.sh It's an "...
common-pile/stackexchange_filtered
Unable to set NULL value in a column with type uuid which is nullable in Postgresql using Node JS I am using node pg client, and I have a table create table test( id uuid not null constraint transactions_pkey primary key, name varchar(255), test_id uuid ); I am trying to update test_id to NULL but I am unable...
common-pile/stackexchange_filtered
Reblog a post when user repost from another user timeline I need to enable a functionality like tumblr or similar blogs, where the the user can see the original poster (creator) and the user who reposted. e.g. User A create a post1, User B 'repost' post1, User C discovered post1, because he follow user B or whatever. S...
common-pile/stackexchange_filtered
How to define emacs keybinding 'C-c C-c'? I want to bind the 'C-c C-c' to a custom command, don't know how to. I tried (global-set-key (kbd "C-c C-c") 'suspend-emacs), but it seams not work. Any idea will be appreciated. Thanks. Did you check to see what it's set to now? C-h k C-c C-c It is very likely that the loc...
common-pile/stackexchange_filtered
Connection is not getting established with Azure ADLS using apache arrow fc++ library For connecting with Azure ADLS storage, I did the following using apache arrow c++ library 16.1 version: Set secretkey using AzureOptions::ConfigureAccountKeyCredential method. Set AzureOptions::account_name But I am not able to est...
common-pile/stackexchange_filtered
Sidebar Gadget not Running ActiveX Control I built a gadget that shows an on-call rotation for a team, and I am trying to integrate their communicator presence into that shedule. I am using the GetStatus method from the NameCtrl object to get user presence. It works fine in IE when I run it. The problem I am having is ...
common-pile/stackexchange_filtered
permanent NAS-mount in Ubuntu - wrong fs type, bad option, bad superblock My network drive shows up in the file browser, just like my external usb-harddrive. Moving, running and editing files works. Hovering over it shows smb://lacie-2big/nasdisk . BUT, when I want to save a file, the drive doesn't come up as an option...
common-pile/stackexchange_filtered
Dynamically Create a Python Subclass in a Function I want to write a function creating dynamic subclass. For example: def get_class(num): ... ... return _class This function accepts an integer num and then constructs such a class class Test(BaseClass): attr_1 = 1 attr_2 = 1 ... attr_num = 1...
common-pile/stackexchange_filtered
Cluster laser stage lighting I'm not entirely sure if this is on-topic here, since it's about stage lighting rather than audio or video directly, but I'll give it a shot. I've been looking at various types of laser stage lighting, and I'm trying to work out how they work internally. I figure the scanning lasers (single...
common-pile/stackexchange_filtered
Excel: Highlight all instances of a phrase like in notepad++ If I select a phrase in notepad++ it will highlight all other instances of that phrase. Is there a way to do this in Excel as well? Permanently or temporary ? @Buscar웃 CTRL + F That's what I'm thinking IDK about you. In a temporary case one will use a modi...
common-pile/stackexchange_filtered
want to use updateMessage("...") in a Class that is not an Task I want to use updateMessage("...") in a Class that is not an Task. How can I solve this Problem? Is it possible to give a Task Handle which can perform a updateMessage("...") to a Function? import javafx.concurrent.Task; public class TestTask extends Task...
common-pile/stackexchange_filtered
OpenLayers : How to create markers based on a MySQL database I have a MySQL database full of data about students (name, age, school, university, etc). What I want to do is to transform the data I got to markers on the map. To be more specific, I will for example calculate the number of students who study at the univers...
common-pile/stackexchange_filtered
XSS: Code payload gets displayed on the screen as a string I am new to security and trying to improve. Sometimes when I try to find XSS vulnerabilities on a website my payload just get displayed on the screen but nothing happens. The whole payload just gets displayed as a string. What does this mean? I saw that just be...
common-pile/stackexchange_filtered
How was the container created and how does it work? First of all thank you for your answer, whether it is useful or not. I don't quite understand Container, the problem is as follows Is Contatiner a component of NodeManager? Is the Contatiner created with NodeManager? When NodeManager or MRAppMaster wants to start a C...
common-pile/stackexchange_filtered
count number of sessions in ASP.net/c# I need to count number of sessions but it dose not work when I say if numbers of sessions are 2 then do something. The example below is my code: // count curent session in order to keep two player if (HttpContext.Current.Session.Count == 2) { Response.Redirect("update....
common-pile/stackexchange_filtered
How to Deploying a Containing App to Older Versions of iOS with iOS 8 extension I had develop keyboard extension for iphone app. But my app is also deployed in ios 7 too. In the iOS 7 it is crash. I get solution from Apple doc but did not understand.Deploying a Containing App to Older Versions of iOS Please Help to sol...
common-pile/stackexchange_filtered
Challenges in Predicting Molecule Activity I want to share a concern I have. I want to obtain a machine learning model that can predict whether a molecule exhibits biological activity. For this purpose, I have a set of molecules that do exhibit activity (actives) and another set of molecules that do not exhibit activit...
common-pile/stackexchange_filtered
Can't cash in Barry medal in Jetpack Joyride I've done all missions and got level 75 Barry medal, but I didn't cash in straight away. Now that I want to cash in, it won't let me. It's an option on the missions screen but I cannot select it. I've tried restarting the game and the console with no effect. Pause your gam...
common-pile/stackexchange_filtered
Is it possible to implement deep links from website to native app? I have three buttons on my website, that link to Facebook, Twitter & vk.com pages. I want to open native app, if it is installed on user device. Otherwise, I want URL fallback to be opened. First of all, I tried to use native app schemes directly with d...
common-pile/stackexchange_filtered
does the code run slower if i have a big array? If i would have an array with a huge amount of elements vs one with just a few, would the code run any slower? Even if i´m just using a few of them. let´s say that i have int[] array = new int [9999999]; would it matter that i put in 9999999 or is it okay to do that? Bec...
common-pile/stackexchange_filtered
Defining priority for a max-heap priority queue given tie-breaking rules I have data with the following attributes: name, unit price, quantity, timestamp. e.g. [Alice, 40.0, 20,<PHONE_NUMBER>] [Ben, 30.0, 35,<PHONE_NUMBER>] [Chris, 50.0, 25,<PHONE_NUMBER>] [Dolly, 20.0, 50,<PHONE_NUMBER>] [Erin, 20.0, 50,<PHONE_NUMBER>...
common-pile/stackexchange_filtered
C++ - Inaccurate conversion from float to int following a division Problem encoutered In my program (C++ with Qt), I need to store a float value (let's call it step) which is divisible by 0.15. It is required to store this value as an integer which is the result of the division of step by 0.15. This did the trick: int ...
common-pile/stackexchange_filtered
Can you set a property value within the log4net config? I'm working on a C# application that will have quite a few log files. These log files will be created in the same file path, and this file path will be determined at configuration time. Is there a way I could specify this log files basepath in a single location th...
common-pile/stackexchange_filtered
How to detect flash process in Google Chrome? I'am using this script -- lightsOn, to delay screensaver when flash playing. However, the script provide only the Chromuim way: flash_process=`pgrep -lfc "chromium-browser --type=plugin --plugin-path=/usr/lib/adobe-flashplugin"` I am using the official Google Chrome in xfc...
common-pile/stackexchange_filtered
Trouble with Core Data Transformable Attributes for Images I am stuck on what is supposed to be a very simple thing to do: have a Core Data Entity store / display (through bindings) an image assigned as a transformable attribute. I've read many related posts on the Stack (e.g., see here and here), but am still having...
common-pile/stackexchange_filtered
MdDialog - reuse the component instead of creating every time Is it possible to re-use the component instance used for MdDialog? I use it this way, and it always gets re-created: openLocationPicker() { const dialogParams: UserPickLocationDialogParams = { locationName: this.locationName, geoLocationString: thi...
common-pile/stackexchange_filtered
lodepng, stb_image. Nothing works in my system for image loading in C++ I'm trying to load pngs or bmps into my programs. But none of the libraries I found around the web works. I have no idea why but I always get "incorrect PNG signature, it's no PNG or corrupted" for EVERY png when using lodepng. "unknown pixel forma...
common-pile/stackexchange_filtered