text
stringlengths
70
452k
dataset
stringclasses
2 values
Jewish Meditation for Soul Travel? I know that there is meditation and practices for a soul to transcend the body. I have found these meditations across many religions, however, I am wondering if Judaism has a specific meditation for soul travel? what is "soul travel"? Where is the soul traveling to? Let us continue ...
common-pile/stackexchange_filtered
Blazor application logging with Serilog In a blazor application I have start-up logging configured in main as follows; public static void Main(string[] args) { var assembly = Assembly.GetExecutingAssembly().GetName(); var appInsightsTelemetryConfiguration = TelemetryConfigurati...
common-pile/stackexchange_filtered
Reshape R dataframe from long format to a wide format I have a table I want to reshape/pivot. The Agency No will have duplicates as this is looking at years worth of data but they are grouped by Agency No, Fiscal Year, and Type currently. The table is provided below as well as a desired output. Agency No Fiscal Yea...
common-pile/stackexchange_filtered
parse nmap output for ncrack to use I want to use NMAP to detect all hosts running Telnet and SSH, even if they are not using the default port. Then I want to send the output of NMAP to a file that defines non-standard servcies for NCRACK to use. I run NMAP with the -sV switch to detect versions and get something simi...
common-pile/stackexchange_filtered
TIC Read Status [6:0x0]: 1:57 Xcode 9 - Network Requests not working I am trying to make standard Https calls to a web server and am getting TIC Read Status [6:0x0]: 1:57 very frequently and it is preventing webservices from working. Is anyone else having this issue? You can find answer here: https://stackoverflow.com...
common-pile/stackexchange_filtered
Dont save webform data to database For SPECIFIC webforms, how can I make it not save data to the database, but just send the email? It should however still save the files and link to them in the email. Idk if I can use something like this: https://www.drupal.org/project/webform_clear since this seems to work on all web...
common-pile/stackexchange_filtered
All combinations of two pairs of elements of an array Suppose I have an array of objects. Without loss of generality, it could be an array of indices: $$a = (0, 1, 2, ..., n)$$ Now suppose I want to choose two pairs of elements of this array. The order is not of the matter inside pairs so for pairs itself. For example ...
common-pile/stackexchange_filtered
Will these 2 RAMs play nicely? EDIT To the Original Question: I did some research and the old computer I discovered is a Dell Dimension 2400. According to the SPEC Sheet the RAM is PC2100 (266-MHz) or PC2700 (333-MHz) DDR SDRAM (non-ECC), will that work in my system which is running 2GB of PC3200 DDR 400MHZ RAM (In a c...
common-pile/stackexchange_filtered
Website Display in Directory listing I have a front end directory which lists websites. When the results are displayed we get the website type (i.e. work, main, etc.) displaying in parenthesis. We want to take that out. For example: Current display: http://www.website.org (main) We are looking for it to look like this:...
common-pile/stackexchange_filtered
Regexp to replace & but not < and > I'd like to use JS (and regex?) to replace all & with &amp;, EXCEPT those & characters that are related to &amp;gt; and &amp;lt; Can anybody please help? :) Thanks in advance! Are you saying &gt; is what should not be replaced? What have you tried? It helps if you have something...
common-pile/stackexchange_filtered
Association rules algorithm I am new to data mining. I want to mine multi-dimensional and ordinal association rules from my data set e.g. if (income => 100) ^ (priority=>1) ^ (skill=>technician ) then (approve=>prove) What I have learned is that categorical = for skills e.g. technician, plumber or any textual data...
common-pile/stackexchange_filtered
Attribute Error: 'bool' object has no attribute 'utcoffset' I am new to django and I have been trying to learn from the past few days. I have added date time and duration fields into my model. Now when I am trying to add flights using Django admin site I am getting the following error: AttributeError at /admin/flights/...
common-pile/stackexchange_filtered
Nodejs Printing to Non standard output node 5.4.1 windows 10 //program.js console.log("hello world"); What i want to achieve is node program.js 3>file.txt //file.txt hello world I have tried: fs.createWriteStream(null,{fd:3}) //creates error bad file descriptor fs.openSync(null,{fd:3}) //Another error var tty = re...
common-pile/stackexchange_filtered
How to turn a tuple of lists into a list? I am using Python 2.7 to turn a tuple of lists (of 2 elements) of float into a list of floats (([1.0],[2.0]) => [1.0,2.0]) like the following: [tuple_lists[0][0],tuple_lists[1][0]] Is there a pythonic 2.7 way to do so in a more elegant way? Context and constraints are not cle...
common-pile/stackexchange_filtered
In select mortality tables (assuming a 3-year select period), why is $\ell_{x+3}$ written without braces around the x? I am currently referring to Life Contingencies by C. W. Jordan, which gives the following reason: "The select symbol $[x]$ is not used in the $\ell_{x+3}$ column, since the effects of selection do no...
common-pile/stackexchange_filtered
Send view with sorted items and query parameters (Search Bar) in Asp .Net Core 3.1 I created a search bar like this <form method="post" asp-action="Search"> <input type="text" name="search" placeholder="Enter here the Name " /> <select name="type" id="type" class="form-control"> <option value="Success"...
common-pile/stackexchange_filtered
Why is the Jacobian determinant of a map the reciprocal of the Jacobian determinant of the inverse map? Consider a mapping $g: \mathbb{R}^2 \rightarrow \mathbb{R}^2$ \begin{align} g(u,v) &= (x, y)\\ &=(f(u,v), \;g(u, v)) \end{align} Consider the inverse mapping $g^{-1} = \mathbb{R}^2 \rightarrow \mathbb{R}^2$ \begin{al...
common-pile/stackexchange_filtered
Why is the use of high order polynomials for regression discouraged? I've read many times on this site that high order polynomials (generally more than third) shouldn't be used in linear regression, unless there is a substantial justification to do so. I understand the issues about extrapolation (and prediction at the ...
common-pile/stackexchange_filtered
Reorder byte order for an array of 24-bit bytes using endian manipulations in arduino/c/c++? I have a 24-bit array: uint32_t rgbdata[] = { 0x00ff00 0xff0000 0x0000ff ...... } Let's say the above data is in RGB order and I want GRB order uint32_t grbdata[] = { 0xff0000 0x00ff00 0x0000ff ...... } Without using loops, i...
common-pile/stackexchange_filtered
Storing all possible combinations of a string when only specific characters I am trying to substitute letters of the alphabet with numbers that look similar in style in typescript. I.e The letter I to 1. I have a working function named replaceLettersWithNumber which completes this with all letters, however, I am strugg...
common-pile/stackexchange_filtered
Getting this from javascript event listener in backbone.js So for touch devices I have a couple of event listeners for touchstart and touchmove. Everything else has events bound by jQuery, but for some reason this didn't work for the touch events so they are bound using javascript: document.addEventListener('touchstart...
common-pile/stackexchange_filtered
Concatenate expressions to subset a dataframe I am attempting to create a function that will calculate the mean of a column in a subsetted dataframe. The trick here is that I always to want to have a couple subsetting conditions and then have the option to pass more conditions to the functions to further subset the dat...
common-pile/stackexchange_filtered
how to do that when i click on the map, the marker disappeared? I use asmdroid 4.2 and bonuspack 4.5. my code add marker: Marker startMarker = new Marker(mapView); startMarker.setPosition(new GeoPoint(locationA,locationB)); startMarker.setIcon(getResources().getDrawable(drawable)); start...
common-pile/stackexchange_filtered
How to push key/values in object? I'm just calling function with argument value is an Object and check if value is available into object push that's value into created object. this is my code: calling function here: profile({"first_name":'kaushik', "last_name":'makwana'}); declare function here: function profile(profi...
common-pile/stackexchange_filtered
Issue with Log files generation I'm having a script which does its work and used to generate a single logfile with name Info$DATE.log. Now as per the new requirement I need to generate two different log files as Info$DATE_PART1.log and Info$DATE_PART2.log as given below: #!/bin/sh DATE=`date +%Y%m%d_%H%M` DEST='/Mydata...
common-pile/stackexchange_filtered
Why is onGeolocationPermissionsShowPrompt being called continuously? I have an app that uses a WebView where sites may request to use the device's geolocation. I have the following in my main activity: public void onGeolocationPermissionsShowPrompt(final String origin, final GeolocationPermissions.Callback callback) { ...
common-pile/stackexchange_filtered
Key probability in which success occur in $7^{th}$ key A women has $10$ keys out of which one opens a lock. She tries the keys one after the another (keeping aside the failed ones) till she succeeds in opening the lock. What is the chance that the $7^{th}$ key works ? HINT: The probability that she picks one of the wr...
common-pile/stackexchange_filtered
Android tablet for preschool kid, mostly for offline use, with some specific exceptions I am looking for a tablet that could replace a Fire HD 8 (2017) for my preschool child. So the use case is as follows: Watch offline video Listen to offline music and audio books Run a few select apps for children which require a W...
common-pile/stackexchange_filtered
how to make histogram with the irregular time series in nonstandard format I have an irregular(?) time series data points in a day as following Jun 5, 2012 10:58 AM Jun 5, 2012 10:58 AM Jun 5, 2012 11:59 AM Jun 5, 2012 12:25 PM Jun 5, 2012 1:07 PM Jun 5, 2012 1:07 PM Jun 5, 2012 1:17 PM ... I would like to make a hist...
common-pile/stackexchange_filtered
delete file after reading into inputstream I am trying to retrieve a video stream from a file stored locally. After reading into an inputstream, I am trying to delete the file but it does not allow this to happen. I understand that I need to close the stream, but I need to pass this stream on to a webserver call. Any i...
common-pile/stackexchange_filtered
Create a binary input file from hdparm's --read-sector option I'm currently trying hard to rescue a very big file off a HDD which is about to die (clicking sounds). The read failure is caused by just a small couple defective sectors. As the backup I could retrieve is way too old, my first plan was to get the file off t...
common-pile/stackexchange_filtered
videojs icons in stencil web component I'm trying to build a video player web component based on stenciljs and I would like to use videojs but I see some issues on icons. I made this example to show you the problem https://codesandbox.io/p/devbox/videojs-with-stenciljs-ryvq8c Do you guys have some idea on how to solve ...
common-pile/stackexchange_filtered
Writing a sample ABAC authorization policy using ALFA and XACML I am new to XACML and am writing a policy using ALFA. The policy I am looking to write is to set a transfer limit in a bank for amount of $2000. If the amount to be transferred is more than that, then the operation should be denied. How do I go about it? ...
common-pile/stackexchange_filtered
OS X asl logging : how to re-direct messages of multi-threaded project into a single file I've got multi-threaded project where every thread is subject to produce some log messages using asl. To ease my debug, I've decided to concentrate all those messages on a single separated file (let's call it /tmp/aaa). Therefore...
common-pile/stackexchange_filtered
Creating a clean root filesystem (with overlay) without rebuilding all the packages I currently have a buildroot configuration that outputs a U-Boot-wrapped root filesystem. Part of that process overlays files from a outside directory, which contains things like network interfaces, profile.d scripts, and some custom ex...
common-pile/stackexchange_filtered
How can I find whatever publicly available data sources exist for U.S. macroeconomic nowcasting at frequencies higher than quarterly? I am pretty familiar with the usual U.S. Federal macroeconomic data sets, the NIPAs, the Fed's Flow of Funds accounts, and my favorite, the integrated macroeconomic accounts. Most of the...
common-pile/stackexchange_filtered
Redirecting causes url to change and won't redirect I've made a redirect in a htaccess file: Redirect 301 /example.com/oldAddress http://www.example.com/newAddress.php ErrorDocument 404 /index.php But it generates this url: http://www.example.com/newAddress.php?redirect=1 so it causes a 404 error. How can I make it w...
common-pile/stackexchange_filtered
How to delete rows in MySQL which have same value for a column I have something like this: col1 col2 col3 A B C A B C I want only one row to remain out of these and other to be deleted. What query to implement? easy - DELETE TOP(1) FROM table @Uriel_SVK he want's to delete all but the first. Is there...
common-pile/stackexchange_filtered
API Platform return deep association data I would like to request data from API Platform such as I can get a list of book categories when I request a list of shops. So I have 3 entities with ManyToMany associations: Shop <--> Book <--> Category When I call the GET /shops endpoint, I'd like to get a list of shops and fo...
common-pile/stackexchange_filtered
Teradata SQL Cumulative Sum over date from another table The case In brief; the customer subscribes to a monthly service, the renewal date would be any day within the month, not just the month beginning, and he could also renew early or late (before/after the due date) then he consumes a from his quota bundle on daily ...
common-pile/stackexchange_filtered
Is there an efficient approach to setting distorted guitar EQ when mixing? Recently I've been running into brick walls with mixing distorted rhythm guitars. It seems that whatever I do the tone is either indistinct/muddy, fizzy, wimpy or over-processed. Approaches tried (and failed): Mixing in mono - I generally swear...
common-pile/stackexchange_filtered
How do I loop through and add key values to values I want to be able to loop through this object and add "key" values to the values so it can be easily used for a project. I'm Webscraping from a Website to get the data I have been able to get the data but I need to format it, here is my code and I'm stuck on what the n...
common-pile/stackexchange_filtered
Add data from html form to a sql database using PHP I am trying to add data into a database created using phpmyadmin by entering information into a html form but whenever I click on 'submit' it goes to the 'insert.php' form and the error i get is 'no data received' This is my insert.php code. I have literally type out ...
common-pile/stackexchange_filtered
how THIS refers to a value stored in a variable a wrote a random code which adds method to a primitive data type.it supposed to add 10 to the desired number.i was not sure if it's gonna work.i wrote this+10.but it returned 15 which was correct.i suppose THIS keyword refers to the object itself.But here it seems it refe...
common-pile/stackexchange_filtered
How to detect that IsOneWay is set to true As a follow up to the below question, I'm getting the same error. I would like to detect that I'm in one of these situations, and then avoid access to the servervariables collection. Right now I've got the code in a try catch - but there has to be a better way to do it. [Oper...
common-pile/stackexchange_filtered
Read QT .pro file within program I would like to know if there is some way to read a variable defined in the .pro file of a QT project, during runtime. the thing is that Im trying to compile cuda, for just one architecture (Sm_21), and I want to decide on runtime to use the cuda device that has that capability. .pro fi...
common-pile/stackexchange_filtered
Azure Functions - How to Connect to other services using API connections I'm new to azure functions, I want to deploy my python code in function app, where my code is linked with SharePoint, Outlook, SQL Server, could some one suggest me the best way to connect all 3 of them in azure functions App....#python #sql #shar...
common-pile/stackexchange_filtered
Javascript Web components Setter not called for nested components Suppose I have the following child element: class ChildElement extends HTMLElement { constructor() { super(); this._value = 0; } set value(newValue) { this._value = newValue; this.render(); console.log("Value was updated") } ...
common-pile/stackexchange_filtered
How to reference other locations in making multi-boot live cd There is a tool in pen drive linux that allows you to boot directly with multiple iso files. And here is a sample in the menu.lst which allows you to choose which iso file you want to boot. title Fedora 12 find --set-root /Fedora-12-i686-L.iso map /Fedora-1...
common-pile/stackexchange_filtered
jQuery Ajax PUT not firing The following ajax works exactly as advertised in Chrome. HTTP PUT is used to trigger the insertion of an object into a RESTful API. $.ajax({ type: "PUT", url: "/ajax/rest/team/create/", dataType: "json", processData: false, ...
common-pile/stackexchange_filtered
How to show alert when flutter app is paused? How to show alert on screen when app is in background in flutter or how to change state of flutter app from pause to resume https://api.flutter.dev/flutter/widgets/WidgetsBindingObserver-class.html you can get state of app in didChangeAppLifecycleState method hi the a...
common-pile/stackexchange_filtered
if([labelView.layer containsPoint:touchPoint]) not working in Xcode Can anyone tell that, i have taken draggable label with UIPangesture when dragging and releasing mouse i am finding touch point using CGPoint touchPoint = [panGesture locationInView:self.view]; now i want to check on which label is this label dragge...
common-pile/stackexchange_filtered
How to perform gridsearch on pipeline with transformer that takes function as parameter? I've built a pipeline that extracts some features and then performs a Stochastic Gradient Descent. The transformer takes a method as parameter. Now I want to perform a gridsearch on the parameters of the SGD. But I get the followin...
common-pile/stackexchange_filtered
iEquation in Rudin's 1.1.3 (Principles of Mathematical Analysis) So I've been working on Rudin's 1.1.3 for a while and I think I'm close to a figuring it out. In the set $A$ there are positive rationals $p$ such that $p^2<2$ and we can find a rational $q$ in $A$ such that $p<q$. So we can also say $q^2<2$. I want to sa...
common-pile/stackexchange_filtered
The method getFontMetrics(Font) is undefined for the type infoPanel Hello guys I am trying to add a score counter from one panel to a different panel. I have copy and pasted the code but am getting this error message. The method getFontMetrics(Font) is undefined for the type infoPanel. The 'getFontMetrics' is the only ...
common-pile/stackexchange_filtered
Filtering Vertices by Edge-Attribut in ArangoDB I'm new to ArangoDB and try to do a spatio-temporal DB. For the vertex "Parz1", I have two GeoJSON connected. My goal is to filter the geometry Vertex, which has the Value "9999" for the key "Ende" in its Edge. I couldn't find something in the documentation on how to filt...
common-pile/stackexchange_filtered
Windows Update stuck at 0KB 0% even after clean bo my Windows Update progress is stuck at 0KB and 0%. I have tried everything I have found on the internet to fix it. I've tried stopping wuauserv bits and cryptsvc, deleting my SoftwareDistribution folder and restarting them. I've tried the DISM tool (which just hangs af...
common-pile/stackexchange_filtered
Question 3 of the 2018 International Mathematic Olympiad A neighbour who recently finished high school is showing interest in mathematics and she asked me to solve the Question 3 of the 2018 International Mathematics Olympiad. I found 3 solutions (before a suggestion provided in a comment below) and reviewed all of the...
common-pile/stackexchange_filtered
Mail issue - hacker or spam I have a web application that is hosted in the cloud. System is .net and sql, basically a portal. Some users are reporting that when they signup they are getting some spam message in Chinese. I have done everything I can think of to write outbound mails to disk and audit them as well as sear...
common-pile/stackexchange_filtered
Detect whether a textbox is near the edge of the browser window I trying to create a check in JavaScript whether a textbox is near the edge of the browser window, say 200px. I have written a where I get the width of textbox and its offset.left and then compare to the width of the window, but I am not sure whether I am ...
common-pile/stackexchange_filtered
Biztalk orchestration gets triggered by file adapter ahead of trigger message We are trying to use the scheduled task adapter for triggering orchestration. Using the code sample linked below the adapter does not wait for the scheduled time to process order files, it processes the orders as soon as they are available. W...
common-pile/stackexchange_filtered
No 'ASP.NET MVC 4' assemblies when installing Visual Studio Build Tools 2017 I have a TeamCity build machine with VS2017 build tools installed. The problem is that I don't see any 'ASP.NET MVC 4' installed in "c:\Program Files (x86)\Microsoft ASP.NET" folder. The assemblies are required to build project that reference ...
common-pile/stackexchange_filtered
D3js How to pass dynamic parameters in GET request to PHP script that returns JSON? I have been hitting the same posts and API documentation for hours and I just can't seem to get this combination right. I am using D3JS v4. I need to send a variable number of parameters to a PHP script which will return json back to me...
common-pile/stackexchange_filtered
How to exclude urlArgs from build using r.js I use r.js optimizer to combine js files based on build profile as it's suggested in documentation. Here's my build-config.js: ({ baseUrl: ".", paths: { jquery: '//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min', }, name: "main", out: "main...
common-pile/stackexchange_filtered
jQuery form input into an array not working I'm working on a game and there is a form input where the user enters the number of characters. Once this happens more inputs appear for each character's name. My problem right now is reading those names into an array. When the new inputs are created also a new button called ...
common-pile/stackexchange_filtered
Taking array of numbers, having a max weight, and distributing excess weight to ln max weight numbers The goal is to take an array of numbers, have a max weight (saying 40%), and if any number above the max_num = sum * weight is present, remove the excess and distribute it over the sum of numbers that are below max_num...
common-pile/stackexchange_filtered
Change the return type of annotation method given the following custom annotation @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface TGT { String age(); } and somewhere in a class code it is used for a field as : @TGT(age="someValue") private String someID; Is it possible to ch...
common-pile/stackexchange_filtered
Wordpress twitter bootstrap image carousel from specific category I'm using the Bootstrap theme from 320press and currently struggling with the image slider carousel. It displays the posts of every featured image on the site, when I just want a specific category. I guess it's the following code I have to tweak som way....
common-pile/stackexchange_filtered
Angular innerHTML contents are jumbled. Only the last innerHTML is displayed correctly In my Angular project (version 8) I am creating a list of static HTML from database and rendering it in parent HTML. Only the last div having innerHTML is rendered correctly, all the preceding divs having child html is not rendered c...
common-pile/stackexchange_filtered
Codeigniter+Angular Js: How to use partials? This is the situation: I am building an app with Codeigniter + Angular Js. Right now it is a simple app that grab some data from a database and display it in a table. To build the app further i need to put the list inside a partial folder, but i am not able to load the file ...
common-pile/stackexchange_filtered
Basic guidance require for MVVM design pattern i am not familiar with MVVM design pattern. so reading article on it from a url http://www.geekchamp.com/articles/windows-phone-mango-getting-started-with-mvvm-in-10-minutes here is a small code of MVVM design pattern public class Person : INotifyPropertyChanged { priv...
common-pile/stackexchange_filtered
Python: Why does Pool.map() hang when attempting to use the input arguments to its map function? I have the following function (shortened for readability), which I parallelize using Python's (3.5) multiprocessing module: def evaluate_prediction(enumeration_tuple): i = enumeration_tuple[0] logits_pred = enumerat...
common-pile/stackexchange_filtered
How to find the ParentComboBox of a ComboBoxItem? How can I get the ParentComboBox of an ComboBoxItem? I would like to close an open ComboBox if the Insert-Key is pressed: var focusedElement = Keyboard.FocusedElement; if (focusedElement is ComboBox) { var comboBox = focusedElement as ComboBox; comboBox.IsD...
common-pile/stackexchange_filtered
Is the number of bugs falling as new Ubuntu releases are released? If we could count the number of bugs per Ubuntu release (... 10.04, 10.10, 11.04, ...), would it be a decreasing line? If not, why not? Is not the whole point of new releases to fix previous issues? Can we not dream of a flawless Ubuntu LTS? Seems perf...
common-pile/stackexchange_filtered
Unbalanced dataset on image classification, is it better to lose samples and balance it? I am dealing with a binary image classifier. I'm using a CNN to predict if an image is positive or negative. The problem is that the positive class represents only the 2% of the total samples. In this case, I can get lots of images...
common-pile/stackexchange_filtered
Oracle: forcing parallelism over index search I would like to use parallel execution on LET_TESTATE_LETTURE without forcing the full table scan, I want to use force the parallelism on index. How can I solve? alter session enable parallel dml; CREATE TABLE netatemp.let_testate_letture1 AS SELECT /* parallel(tele ...
common-pile/stackexchange_filtered
Macos uninstall pip and start over I'm new to macos and trying to get a dev environment going...I need pip but getting an error message with just pip. Getting error pkg_resources.DistributionNotFound: The 'pip==20.0.2' distribution was not found and is required by the application Python3 was installed with macos and I...
common-pile/stackexchange_filtered
Why can't we use 'halfly' to mean 'once every six months?' I've read other since-closed questions revolving more around taxonomy and best practice as it relates to this recurring problem. But nothing on this one particular case seems to be in the archives, so I wanted to raise the question. As in these instances: What...
common-pile/stackexchange_filtered
How to get AzureKeyVault Secret without storing the ClientSecret in appsettings.json? How to get AzureKeyVault Secret without storing the ClientSecret in appsettings.json? We have a WinForms application in .NET 5 using Dependency Injection and we want to add two services to the ServiceProvider while only requiring one ...
common-pile/stackexchange_filtered
Cannot use the editor function "Play" in this runtime blueprint. Only for use in Editor Utility Blueprints and Blutilities How can I solve the error: "Cannot use the editor function "Play" in this runtime blueprint. Only for use in Editor Utility Blueprints and Blutilities"? b2.png You are attempting to access a dele...
common-pile/stackexchange_filtered
.htaccess rewrite question I want it so that any swf media in a directory gets redirected to a file like http://website.com/swf.php?d=file Then threw http access, change the link above to http://website.com/file so lets assume I have the file http://website.com/thisvideo.swf I want it to redirect to http://website.c...
common-pile/stackexchange_filtered
PPLNS is good against pool hoping? Is this true? miningpoolhub.com use PPLNS https://miningpoolhub.com/?page=account&action=balances They said it's hopping proof. Is this true? There is no way to adjust that? So there is some luck involved? If after we mine we got a coin quickly our share may be doubled if the next one...
common-pile/stackexchange_filtered
Why is it a bad idea to divide reference voltage only with resistors instead of using an op-amp buffer? I'm planning on shifting the output of an AD8226 instrumentation amplifier by 'about' 0.5 volts using a 2.5 v precision reference and a voltage divider. According to the datasheet this is a bad idea and a buffer must...
common-pile/stackexchange_filtered
CRTP to avoid dynamic polymorphism How can I use CRTP in C++ to avoid the overhead of virtual member functions? There are two ways. The first one is by specifying the interface statically for the structure of types: template <class Derived> struct base { void foo() { static_cast<Derived *>(this)->foo(); }; }; ...
common-pile/stackexchange_filtered
Is there a module/hook for permissions for list values? Say I have a text list field attached to a node with the following values: Apples Oranges Grapes Kiwi Strawberries Pears Bananas But I want to give some options only to some roles, for example: Only Administrators can select Strawberries. Only Anonymous can sel...
common-pile/stackexchange_filtered
Handling a disabled azure key vault secret using go azure sdk? I am trying an extend Kubernetes operator written in Go to handle Azure Key Vault Secrets that have been disabled. The operator is using the Azure SDK for Go as well as the Azure autorest library. I am very new to Go and I'm struggling to populate the Servi...
common-pile/stackexchange_filtered
AngularJS error handler is not working for radio button coupled with input I'm trying to add a radio button with 2 field All and number(this is a input field) (pls refer the image attached) in this i'm trying to add a error handler for input field. i have patter for numbers "/^[0-9]{1,5}$/" (from 1 to 5) and if there i...
common-pile/stackexchange_filtered
Transactional Replication issues I have a question, I am managing 2 SQL servers is Master Server (Publisher + Distributor) is Client Server (Subscriber) The client is basically owned by a client who is buying data from us. Both Servers are replicated with each other using Transactional-replication. Only selected Tabl...
common-pile/stackexchange_filtered
Grab similar data and do the math operation on the grabbed data I need to search the value of each student attendance from below table and need to do summation of each student attendance. I have a file dump with below data inside file_dump.txt [days Leaves PERCENTAGE student_attendance] 194 1.3 31.44% ...
common-pile/stackexchange_filtered
Convergent sequence in complete metric space that is not Cauchy? I know that Cauchy sequences in metric spaces can fail to converge (but if the metric space is complete, they always converge). Can there be a convergent sequence (perhaps in a complete metric space) that is not Cauchy, or does "Cauchyness" follow from co...
common-pile/stackexchange_filtered
Game versions of the tower number $\mathfrak t$ Let us recall that $\mathfrak t$ is the smallest cardinal $\kappa$ for which there exists a family $(T_\alpha)_{\alpha\in\kappa}$ of infinite subsets of $\omega$ such that $\bullet$ for any ordinals $\alpha\le\beta<\lambda$ we have $T_\beta\subseteq^* T_\alpha$; $\bullet$...
common-pile/stackexchange_filtered
Parent death is not killing child proess in C program Linux See the code below: #include<stdio.h> void main() { int pid = fork(); if(pid==0) { while(1); } else { while(1); } } Run this code from terminal 1: Go to terminal 2, and c...
common-pile/stackexchange_filtered
How to toggle Read-Only Status recursively for all files in a given folder Related to how to toggle read-only for a single file in IntelliJ but different in that I want to know how to do it recursively for all files in a given folder at once. Since I haven't been able to find a solution using IntelliJ so far, I assume ...
common-pile/stackexchange_filtered
extracting integer from nsstring Debug log looks as follows. 2013-06-09 17:09:09.192 BridgeDeal[2430:11303] suito: 2K 2013-06-09 17:09:09.193 BridgeDeal[2430:11303] suit: 50 2013-06-09 17:09:09.193 BridgeDeal[2430:11303] suito: 2Q 2013-06-09 17:09:09.193 BridgeDeal[2430:11303] suit: 50 2013-06-09 17:09:09.194 BridgeDea...
common-pile/stackexchange_filtered
Can We assign a null value to an Master Detail relationship? Can We assign a null value to an Master Detail relationship? It is required by default and hence while inserting to database it comes as Required Value missing? And if I try to insert some dummy value it says Id type mismatch. Actually I have two custom Objec...
common-pile/stackexchange_filtered
Fetch specific related models from a one-to-many relationship I have two models Contact and Address. Contact has a one to many relationship to Address. There's a column "is_primary" on Address to indicate the main address for each Contact. Now, I'd like to create a model manager to return a queryset with all Contact ob...
common-pile/stackexchange_filtered
How can I get metricsSystem (org.apache.spark.metrics.MetricsSystem) inside the executors? I am trying to send custom metrics from my executors, in order to do so I need to use Spark's Metric System to register the custom source I wrote. I can get the Metric System in the driver scope by SparkEnv.get.metricsSystem Bu...
common-pile/stackexchange_filtered
(array) type cast strange behaviour object to array conversion Earlier I have some block of code and it was working fine, But in some case it is throwing PHP notice: Here is the code: $json = '{"1455260079":"Tracking : #34567808765098767 USPS","1455260723":"Delivered","1455261541":"Received Back"}'; $json_obj = json_d...
common-pile/stackexchange_filtered
HelloWorld web.py doesn't work I've seen web.py recommended in some places as a simple python web framework that I could use in my raspberry, so I went ahead and installed it via PIP (sudo pip install web.py). But when I try to run its hello-world web app (like it's said in the tutorial), it gives this error: $ python ...
common-pile/stackexchange_filtered
analog and digital ground connection point selection I've read some articles that say the connection point of digital ground and analog ground should be at the power supply output port. However, when there are two or more power supplies which are physically far away from each other, I have no idea where should the conn...
common-pile/stackexchange_filtered