text
stringlengths
70
452k
dataset
stringclasses
2 values
Using AWS Cognito to authenticate users in my own api I have an iOS app. Users are authenticated to access AWS resources like DynamoDB or S3. Now, I have built a node js server in order to add further logic to the app’s backend. My question is, can I use already authenticated users identity pool to allow those users to...
common-pile/stackexchange_filtered
How to add rel attribute to docutils sphinx reference in HTML output? I have a simple extension for the Sphinx documentation utility (my version in use isSphinx-1.1.3-py2.6). Very much like this excellent example by Doug Hellmann. How can I add a rel='bar' attribute to the final HTML for the <a ...> tag? The reference ...
common-pile/stackexchange_filtered
Tidyr: Drop string until a certain character What's the easiest way to drop a string before a certain character? The data looks as follows: library(tidyverse) df <- data.frame(var1 = c("lang:10,q1:10,m2:20,q3:20,m5:10", "lang:1,q1:10,m2:20,m3:20,q3:10", "lang:100,q1:...
common-pile/stackexchange_filtered
Model event not fired I'm having trouble firering model events. currently I have the following use Illuminate\Database\Eloquent\SoftDeletingTrait; class ProjectTwitterStatus extends Eloquent { use SoftDeletingTrait; protected $dates = ['deleted_at']; protected $table = 'project_twitter_statuses'; p...
common-pile/stackexchange_filtered
Why executables aren't written in a way that the OS understand instead of machine code? We know that computer programs are either AOT compiled, JIT compiled or interpreted And we also know that AOT compiled programs usually get compiled from its high level source code into machine code Now the question is, if machine c...
common-pile/stackexchange_filtered
How can I implement a linked list in java? I implement a linked list from scratch in java according to the book of EPI. However this is an error when creating list nodes. My code is public class Example { class ListNode<T> { public T data; public ListNode<T> next; ListNode(T data, ListNode...
common-pile/stackexchange_filtered
How to install Waveshare SpotPear 4 inch LCD in RaspberryPI 2? I've bought 4inch IPS LCD from WaveShare but cannot get it run on newest Raspberry PI 2. The original DVD comes with image which isn't compatible with RPI 2. Tried to follow this manual but without success. My LCD is newer model and not covered by notro FBT...
common-pile/stackexchange_filtered
Getting floating point exception: 8 I have this line in my code (ll is long long int): ll d = (x / ( (y / 1000000) - 1) ); which seems to be causing this floating point exception error. However when I change it to: ll d = (1000000*x)/(y-1000000); the error disappears. Simple algebra will lead you to believe that they...
common-pile/stackexchange_filtered
How to validate that only one value can be changed among these in YANG model leaf value1 { tailf:info "value1"; type integer; mandatory true; } leaf value2 { tailf:info "value2"; type integer; mandatory true; } I want to check if someone has updated both values then it should abort the operati...
common-pile/stackexchange_filtered
How to transform a 2D list to a list with summation of all the elements Given that there are three lists of Integers with all fixed size and all the lists are stored in another list: List<List<Integer>> a = <<1,2,3>, <1,2,3>, <1,2,3>> Is it possible to retrieve the summation of all the lists using IntStream? Expected ...
common-pile/stackexchange_filtered
Is it possible in Ghostscript to add watermark to every page in PDF I convert PDF -> many JPEG and many JPEG -> many PDF using ghostscript. I need to add watermark text on every converted JPEG (PDF) page. Is it possible using only Ghostscript and PostScript? The only way I found: gswin32c -q -sDEVICE=pdfwrite -dBATCH ...
common-pile/stackexchange_filtered
Implicit Conversion error with Anorm 2.4-SNAPSHOT with simple query I'm trying the example from the Anorm docs verbatim: import anorm._ DB.withConnection { implicit c => val result: Boolean = SQL("Select 1").execute() } I'm getting this error: [error] /Users/Greg/git/slurpee/src/test/scala/ReaderTests.scala:1...
common-pile/stackexchange_filtered
VBA Copy multiple sheets based on column A filter in each sheet and create new workbook I have 3 consolidated sheet in a workbook which I need to segregate into 3 sheets in new workbook based on unique values in column A of each sheet: In the "A" workbook, all 3 sheets each sheet should have only its information and n...
common-pile/stackexchange_filtered
change div id by javascript I've created a simple page to change the div id every time I pressed submit. My problem is that this changes from div_top1 -> div_top2, but the second time I press the button, it stops changing :( <!DOCTYPE html> <html> <head> <script> function changediv() ...
common-pile/stackexchange_filtered
change compiler in CMAKE sub_directory CMakeLists.txt file I would like to change CMAKE_C_COMPILER and CMAKE_CXX_COMPILER in an inner sub_directory being compiled as part of a bigger project. changing from GNU to intel compiler. however, outside of this directory nothing has to chagne. is that possible? Thanks Instead...
common-pile/stackexchange_filtered
How to read a file directly from a .zip file without extracting it in android I have been working on android for the past few months, now the problem for me is to read a .zip file placed on sdcard. I have successfully done the coding for downloading the .zip file on the sdcard. I have img.zip file downloaded on to the ...
common-pile/stackexchange_filtered
How to set separate error bar colors with ggplot2? I want to manually control the colors of my error bars in a line plot: col_1<-c(1:4, 1:4) col_2<-c(25, 30, 28, 28, 35, 36, 39, 40) er_bar<-c(3, 3, 2, 2, 2,4,4,3) condition<-c("A","A","A","A", "B","B","B","B") example<-data.frame(col_1, col_2, er_bar, condition) example...
common-pile/stackexchange_filtered
How to use Django's include without a string literal? I just started up with django. Following this tutorial, I ended up with the following urls.py: from django.contrib import admin from django.urls import include, path urlpatterns = [ path('polls/', include('polls.urls')), path('admin/', admin.site.urls), ] ...
common-pile/stackexchange_filtered
Why does subplot produce empty space on xaxis? I have values at x and y axis and trying to produce simple line graph on subplot. Here is the simple and basic example which shows the problem. import matplotlib.pyplot as plt x1 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,...
common-pile/stackexchange_filtered
Why is a new promise resolved earlier with p.then(resolve) than with resolve(p)? The difference between Code#1 and Code#2 is: Code#1 uses resolve(p) and Code#2 uses p.then(()=>resolve()). I would expect the sequence of output to be invariant, but they generate a different sequence. I cannot figure out why. Code #1: res...
common-pile/stackexchange_filtered
Google API server key There is a map route library for android, which requires server API key. The point is that when I'm trying to obtain the key, it does not change the restriction mode from "NONE" to "IP addresses (web servers, cron jobs, etc.)" unless I specify the optional field "IP addresses". Is there any way to...
common-pile/stackexchange_filtered
Why isn't Windows 8 detecting my Nikon D3100? I have a Windows 8 PC and my Nikon D3100 isn't showing up on it. It says USB device not recognized. I have updated the USB drivers, but no joy. Sadly, i don't have the disc that came with it. check this link, it may help you: https://support.nikonusa.com/app/answers/detai...
common-pile/stackexchange_filtered
Clear GPG Cache/Password after Encryption in Linux Terminal I am very annoyed with the GPG encryption process in the Linux terminal, I encrypt files with GPG from the terminal with the following command: gpg --output file_out --symmetric --cipher-algo AES256 file_in This command has been recommended here since GPG is a...
common-pile/stackexchange_filtered
Stacked column chart in asp.net c# MVC razor view I am trying to create a stacked column chart in asp.net c#. I am using razor view. I have searched a lot to find a solution but all I get is a snippet of code. Since I am new to asp.net I have no idea in creating charts. I fetch chart values from the database. Any worki...
common-pile/stackexchange_filtered
Is there a short authoritative reference of basic design rules and principles? As a web developer, I often find myself working with different non-professional self-called designers. In such situations, I often have to explain them the most basic rules and principles about the design in general and web design in particu...
common-pile/stackexchange_filtered
Trying to output a mysql database in php I'm trying to test outputting data from a database table using phpmyadmin in php. For some reason it isn't working though, no errors involved. What am I doing wrong here? Here is a picture of my database: Note: This database is filled with fake information, no real e-mail ad...
common-pile/stackexchange_filtered
Is there a way to take multiple inputs separated on different lines WITHOUT LOOPS? Input: fname lname address Output: [fname, lname, address] You can use method .split() on String objects as follow input = """ fname lname address """ output = input.split("\n") assert output == ['fname', 'lname', 'address...
common-pile/stackexchange_filtered
matplotlib - plotting a timeseries using matplotlib 03/12 20:23:26.11: 04:23:26 L9 <Mx Acc Magnum All XDV:00111A0000000117 00D3001200870172 01FF6000F01CFE81 3D26000000000300 03/12 20:23:26.11: 04:23:26 L9 <Mx Acc MID 0x1500 Len 26 XDV:00111A0000000117 00D3001200870172 01FF6000F01CFE81 3D260000000...
common-pile/stackexchange_filtered
Learning roadmap for p-adic modular forms and eigenvarieties. What are some good sources for breaking into the field of p-adic modular forms? It was suggested to me to read Katz' paper "P-adic Properties of Modular Schemes and Modular Forms". I have found this paper to be helpful, albeit difficult. Where does one go...
common-pile/stackexchange_filtered
Optimal monetary policy in IS-MR-PC model I am trying to work out a formal solution for the central banks' problem in the slightly modified IS-MR-PC model (popularized by Carlin & Soskice (2015) and Carlin & Soskice (2023) textbooks). The objective function of the central bank is: $$ L = \min x_t^2 + \beta (\pi_t - \pi...
common-pile/stackexchange_filtered
How to change the cancel icon in Xamarin Forms Shell SearchHandler I have a Xamarin Forms Shell app where I have implemented the Shell SearchHandler. The cancel button shows a book image. This only occurs on iOS - on Android, there is no cancel button. My xaml looks like this: <Shell.SearchHandler> <controls:Route...
common-pile/stackexchange_filtered
If statement not behaving correctly in while loop So I'm working on a short program that finds the factors of a number. I have a while loop and an if statement within that loop that doesn't seem to execute. Here's the code: while e < a: print "loop" print str(e) + "e" print str(i) + "i" print str(a) + "...
common-pile/stackexchange_filtered
How to include QtQuickControls I've included to my project : "import QtQuickQontrols 1.4" But now I need to use ScrollBar , and for this, I need to include "import QtQuickControls 2.2" But when I include version 2.2 and delete 1.4, my project is ruined... MenuBar, TableView is under errors! Ok, when I include both th...
common-pile/stackexchange_filtered
How i can make a DateTime Widget? How i can make a DateTime Widget like this in the Picture?
common-pile/stackexchange_filtered
How accessible is Bitcoin to blind people? Is it easy or hard for blind people to trade bitcoin if they have the appropriate assistive technology? It is easy or hard for blind people to work at tasks involving bitcoin such as utilizing computers for mining, or confirming transactions on the blockchain? What kinds of te...
common-pile/stackexchange_filtered
Which field show the units sold when we request to create amazon advertising report for Sponsor Brand with record type is keyword? I request to create Amazon advertising report for Sponsor Brand campaign with record type is keywords. But unfortunately I don't know which field show the units sold by keyword. I tried to ...
common-pile/stackexchange_filtered
Fluent Operator Configurations to get http inputs on to elasticsearch I have successfully Deployed Fluent operator and fluentd statefulset using the operator (01-fluentd-setup.yaml) (Ref: https://github.com/fluent/fluent-operator) Configured http plugin for input in fluentd Configured output to Elastic search (logs at...
common-pile/stackexchange_filtered
Haskell: Atomic IO wrapper/laziness? I've wrote the following function that I believe should perform IO atomically (as long as everyone else is using the same MVar). atomicIO :: MVar () -> IO a -> IO a atomicIO mvar io = do takeMVar mvar result <- io putMVar mvar () return result Also, from what I u...
common-pile/stackexchange_filtered
Using browser-sync with node.js app I have an existing node app. My Node directory structure is setup like this: ./ node_modules/ src/ views/ index.html ... server.js test/ gulpfile.js package.json I can successfully start my app my running node ./src/server.js from the root shown above. ...
common-pile/stackexchange_filtered
Interviewing - how much to know about prospective employer? I passed my phone screening interview and I have a 3-hour grilling to look forward to. I know I had better look on the company website to see what they do and what they value. However, other than that I don't know what else they would expect me to know or whe...
common-pile/stackexchange_filtered
Compiling source without cmake Maybe it is a naive question, so apologies in advance. I am trying to compile a source code, it has instructions only to install using make command, which I think works fine for Linux or OSX but I am trying to compile it over Windows. Moreover, this project doesn't have CMakeLists file. ...
common-pile/stackexchange_filtered
Installing 'package' as data is deprecated, please list it in `packages` - Package would be ignored I have been trying to install crystal-toolkit and alternatively crystaltoolkit-extension but I cannot get through it. I am on windows, I have tried in the base environment as well as within a conda environment. I have se...
common-pile/stackexchange_filtered
service does not return data to controller in angular Here is my service: app.service('trackService', ['$http', function($http) { var data; this.topTracks = function(limit) { $http({ method: 'GET', url: 'http://ws.audioscrobbler.com/2.0/?method=chart.gettoptracks', pa...
common-pile/stackexchange_filtered
LEFT OUTER JOIN GIVING UNEXPECTED RESULT I'm making a simple query : SELECT * FROM Bench LEFT JOIN ASSIGNED_DOM ON (Bench.B_id=ASSIGNED_DOM.B_id) WHERE Bench.B_type=0 ; As expected all the lines of Bench table are returned BUT If I try to get the B_id field I discovered that was put to NULL. Then I have tri...
common-pile/stackexchange_filtered
Class as parameter in Smalltalk I need to know if it is possible to pass a Class as a parameter to a method in Smalltalk. For example, Classname>>method: anObject self anotherMethod: aClass with: anObject. Classname>>anotherMethod: aClass with: anObject. |instance| instance:= aClass new: anObject aMessage. //supposi...
common-pile/stackexchange_filtered
old kernel removal since lts/hwe Since the move to 12.04 LTS/HWE, I now seem to have several linux kernel images stored. I don't really care about the detail of what is going on here, but want to know which of the old kernels I can safely delete. I can take a guess, but could someone please advise. I include a screen...
common-pile/stackexchange_filtered
Msbuild and VStudio generate different project.assets.json files This question is about the differences in the content of the NET 5 project.assets.json file when Visual Studio or Msbuild generate the file. My experiments have shown the following findings: VStudio regenerates the project.assets.json file on each ‘clean...
common-pile/stackexchange_filtered
Publishing Service Dashboard not showing correctly I have followed the steps to install the publishing service on my sitecore 8.2 initial release. I have checked the status of the publishing service and it gives me a 0 status which means that it has been installed correctly. However, after i installed the publishing se...
common-pile/stackexchange_filtered
Javascript cross-origin exception on Chrome but not on Firefox I recently developed a Firefox extension which allows me to automate some actions on several websites (mainly retrieving data). The extension works well so I'm currently developing a Chrome version of the extension. There are some differences between Chrome...
common-pile/stackexchange_filtered
How to display a date with date-fns formatted in a Mui DatePicker as Thursday, January 13th In this example on CodeSandbox I'm trying to get the date formatted as dddd, MMMM Do and the expected result should be like Thursday, January 13th but instead is 0013, January 13th As per date-fns documentation here Date-fns for...
common-pile/stackexchange_filtered
flutter >= 3.16 gradle migration with version catalogue I want to use AGP 8.x, Gradle 8.x and flutter >= 3.16 with version catelogue. I followed this instruction https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply. But the following build-error happens. class org.gradle.api.internal.project.De...
common-pile/stackexchange_filtered
Are unit tests needed for a function that only calls another function? Assuming OldModule.oldFunc, if we want to move oldFunc to NewModule and, for backward compatibility, keep oldFunc there merely calling NewModule.newFunc by passing the exact same arguments and doing no tampering whatsoever -- do we need to still wri...
common-pile/stackexchange_filtered
Adding TextEditingControllers in a loop in Flutter isn't working What I try to achieve is for the TextInputField to be autovalidated once there is more than 1 character entered. Here's my initState (simplified): @override void initState() { autoValidateList.addAll([ _autoValidateEmail, _autoValidateC...
common-pile/stackexchange_filtered
Is using a variable for equation symbols possible? Let's say we have this kind of code: var movement = setInterval(function() { var position = 0; // Just some example values var limit = 200; // to go with the code below if (position < limit) { position = position + 10; } }, 500); Is it possib...
common-pile/stackexchange_filtered
How to use if and else inside echo statement? I've heard something about ternary operator but I kind of beginner and don't know how to use it, I'm trying to make this: echo '<div> '.if(LoginCheck($this->db) == true):.' <span class="option1"></...
common-pile/stackexchange_filtered
How to install on computer running windows XP Good morning I would like to know the easiest way to install Ubuntu alongside Windows XP on my desktop computer. I have a disc that I received with magazine. But I can't make it download properly. Thanks Greg Possible duplicate of How do I install Ubuntu? How do you know ...
common-pile/stackexchange_filtered
Hack a kitchen freezer for lower temperature Common home freezers usually have the lowest temperatures of about -24 degrees Celsius. Freezers that go lower exist but these are much more expensive (times much). I wonder whether a common kitchen freezer (standalone without fridge) could be easily hacked to achieve lower ...
common-pile/stackexchange_filtered
Remove decimal points from string field using field calculator I have a string field populated with shape lengths in my attribute table but they have 12 decimal points. How do you remove decimal points from a string field populated with numbers using the field calculator? With Python, it's quite simple: int(float(!Fie...
common-pile/stackexchange_filtered
Macbook keyboard gestures on windows 10 I have a late 2009 Macbook Pro with Windows 10 and Boot Camp v. 4.0. Before the Windows 10 install, my Boot Camp version was working fine with Windows 8. What do I have to do to get my Macbook keyboard gestures to work again? If it's even possible? I cannot upgrade Boot Camp thro...
common-pile/stackexchange_filtered
How to get rid of this boiler plate code I am writing a web services project using http4s and everytime I write a new data object which is sent in or out of the web service, I need to write the following code import argonaut.{Argonaut, CodecJson} import org.http4s.{EntityDecoder, EntityEncoder} import org.http4s.argona...
common-pile/stackexchange_filtered
IE not applying styles from stylesheet Good day everyone. I am having a weird issue with IE. IE is loading my stylesheets correctly, but it is not applying styles to a specific group of pseudo selectors. I am using Foundation and an icon font (icomoon) which loads from one stylesheet and has styles applied to them from...
common-pile/stackexchange_filtered
Orthonormal basis of $\mathbb{C}^{r}$ I have to prove that $\{f_1,f_2,..,f_r\}$ is an orthonormal basis of $\mathbb{C}^{r}$ where: $f_j=\frac{1}{\sqrt{r}}(1,e^{2i\pi\frac{j-1}{r}},e^{4i\pi\frac{j-1}{r}},...,e^{2(r-1)i\pi\frac{j-1}{r}})$ for $j$=1,2,...,r I have no ideia how to even begin The norm of each vector is in...
common-pile/stackexchange_filtered
How to display on a single.php all posts of category, in which this single.php is situated For example I have some category that includes five posts. When I select the post, need to display the rest four posts from category in which it situated. <?php $infocat = get_the_category(); $info = $infocat[0]->cat_ID; $array =...
common-pile/stackexchange_filtered
Fastest way to generate delimited string from 1d numpy array I have a program which needs to turn many large one-dimensional numpy arrays of floats into delimited strings. I am finding this operation quite slow relative to the mathematical operations in my program and am wondering if there is a way to speed it up. For ...
common-pile/stackexchange_filtered
how to open or close a popup as I like? ------------Edit--------------- Question:I have written a JTextField which has a Popup.This popup is an undecorated JFrame.Since the codes has already written by other people,Now I want to implements follow: 1.When the popup lost focus, close the popup. 2.When use clicked on JTe...
common-pile/stackexchange_filtered
How to design a class containing the result from a webservice Problem I call different webservices which returns json strings. I parse these strings to custom objects and save them in a "result class" called APIResult. For instance, one webservice returns a list OBJ1, another returns OBJ2, and sometimes two or more obj...
common-pile/stackexchange_filtered
I wonder how you'd feel watching the longest continuous play recorded? My first question: Is sentence 2 a more formal expression while senteance 1 is an informal expression because the word about is dropped? Could we say the sentence 1 has the same meaning as the sentence 2? Sentence1. I wonder how you'd feel watching...
common-pile/stackexchange_filtered
Contribution in Rift: Invasions, Rifts, Footholds and other events All of these events in Rift have a contribution meter. How exactly is contribution calculated for these? Furthermore, what might be the best way to maximize contribution per event? Some rifts I noticed I don't contribute as much as other rifts but I f...
common-pile/stackexchange_filtered
Add plugin to custom header.php in wordpress i have custom header-ag.php file , wp_head(); is commented because of style reasons, i want to call one plugin, how to add that plugin. normal header.php is working fine and loading plugin because it have wp_head();. Advise please. Thanks Why don't you call wp_head in your ...
common-pile/stackexchange_filtered
“No pubspec.yaml file found” in flutter? I am trying to run flutter pub get to get the packages then i get the following error: error: no pubspec.yaml file found. this command should be run from the root of your flutter project. Anyone came across this before? Thank you very much for your help :) Make sure that you h...
common-pile/stackexchange_filtered
mongodb:complex nested aggregation I have this collection: [ { "_id": { "$oid": "60b22e1dbd46fa18a8308318" }, "title": "basketball", "price": 12, "category": "Furniture", "description": "", "images": [ "http://res.cloudinary.com/hadarush100/image/upload/v1622289949/nfg948x3zro6...
common-pile/stackexchange_filtered
Is there a security problem runing chrome headleass without sandbox on a server I'm using caputer-website which internally uses puppeteer to take a screenshoot of a website on my nodejs server, in order to compose a pdf file with it. The problem is that I need to run the browser without sandbox which I think can lead...
common-pile/stackexchange_filtered
Different possible search parameters on cassandra I'm new to Cassandra. After banging my head against the wall for a few days, things began to make sense, except that.... I always need the PK to perform the query? So, I considered the following scenario: let's say I'm building a recipes website with thousands of reci...
common-pile/stackexchange_filtered
Is it feasible to use a shovel to even out a camping spot? While car camping (reaching a campsite by car vs backpacking), it’s not uncommon to encounter camping sites where all the spots are slightly uneven, making it a little uncomfortable to sleep. There are various solutions to this problem (such as cots with adjust...
common-pile/stackexchange_filtered
Unable to use CreateView.as_view in django I'm new to Django and trying to use CBV to generate a form for my 'Project' model. When I use the CreateView.as_view(...) in urls.py it gives the following error. Exception Type: ImproperlyConfigured Exception Value: Using ModelFormMixin (base class of CreateView) witho...
common-pile/stackexchange_filtered
How to use Redux Persist in Next.js to load user data on every page visit using ApolloClient for API calls I'm using Redux Persist in my Next.js app, and I'm trying to figure out where to put some code that needs to run on every page the user visits. Here's the code: const dispatch = useDispatch() const user = useS...
common-pile/stackexchange_filtered
IIS 8.5, Win Srvr 2012 R2 - CustomError mode=Off does not work, Blank page We have an MVC ASP.net app on IIS 8.5, Win Server 2012 R2. When we set web.config to: <customErrors mode="Off" defaultRedirect="~/error" ></customErrors> The site shows completely blank when there's an error. Searching around I found that perhap...
common-pile/stackexchange_filtered
Explanation of Horner's method for dividing polynomials Can someone please explain how and why Horner's method for dividing polynomials works? I was reading about it online but I don't even understand an example where $(x^3-6x^2+11x-6)$ is divided by $(x-2)$ let alone anything else.Thank you! This method is based on ...
common-pile/stackexchange_filtered
How to get instance of custom view instantiated in xml? when i declare a view like this in a layout: <com.test.www.BrushPreview android:id="@+id/brushview" android:layout_width="100dip" android:layout_height="100dip" android:layout_gravity="center"/> how do it get the instance of my BrushPreview? I need to...
common-pile/stackexchange_filtered
Directional Derivative is Linear Let $f:R^n \to R$ be differentiable and $\lambda_i \in R$ for $i=1,\dotsc,n$. Why does $$\lim_{t\to 0} \frac{f(x+t\sum_{i=1}^n \lambda_i e_i)-f(x)}{t}=\sum_{i=1}^n \lambda_i \lim_{t\to 0}\frac{f(x+te_i)-f(x)}{t}$$ hold? A good start would be to discuss where you are stuck after applyin...
common-pile/stackexchange_filtered
How can I get iTerm to open a group of windows when it's started? Apple's Terminal app allows you to save a Windows Group. It seems like iTerm probably has a similar sort of function, but I can't figure how to do it. Right now, it opens one window which is the wrong size, and wrong location. You want to look at the "...
common-pile/stackexchange_filtered
NVL function not using index rather FTS, is it possible to modify the query MY query like below select nvl(a.value1,nvl(b.value1,nvl(c.value1,'')) from table1 a, table2 b table3 c where a.value2=b.value2 and b.value3=c.value3 As this query contains a nvl function which tables the value1 from three of my tables it i...
common-pile/stackexchange_filtered
Careers Unificintegration: Jobs on Stack Overflow TL;DR: We're rolling out Jobs on Stack Overflow. Big thanks to the folks who tested early and reported bugs here on Meta Stack Overflow with the jobs tag - keep up the good work! <3 In 2009 Stack Overflow embarked on a mission to get programmers jobs they love. We st...
common-pile/stackexchange_filtered
What is an open sphere? What is an open sphere? I recently came across this phrase in these notes on complex analysis (pg. 12, Lemma 2.1.3). I know what an open ball is, but this phrase is confusing. Any help would be great. Looks like they think at an "open disk" (or "open ball") when they call for "$D \subset \Bbb...
common-pile/stackexchange_filtered
Sort form field choices by translated labels I have an array: [ 0 => 'translate.label1', 1 => 'translate.label2', 2 => 'translate.label1' ] which I specify as a choices param for field creation. Now, is it possible to sort these options by translated labels? For example, label1 translated value is zero, label...
common-pile/stackexchange_filtered
Search Google Geocoding API by Neighborhood? Oftentimes, when users are searching businesses by specific location, they might unknowingly input a neighborhood name into the search box thinking that it's a city, but since legally it's just a neighborhood Google API will map it to the actual city center. The problem is t...
common-pile/stackexchange_filtered
Why has the icon for my website changed on its own? I installed the lamp stack on a Linode at the beginning of the year. It's just a personal website, accessed by IP address, so I doubt anyone else knows of it. Recently the icon (next to the website's browser tab) has changed to this leaf. I have not made any changes t...
common-pile/stackexchange_filtered
Is it possible to do forecasts using regression algorithms and only 2 variables? I have a dataset with 2 variables: "_time" and "logins". I trained a model with the month of MAY. Then I applied that saved model on the month of JUNE (this is unseen). Is it possible to use a regressor (ex: SGDRegressor) to predict/foreca...
common-pile/stackexchange_filtered
cannot find objects when knitting in RStudio using pgmm in plm I had a problem when using the pgmm code in plm package. It seems it works well in chunks but when I was knitting it into PDF, it shows me the error message $Error in eval(predvars, data, env). can not find the object "cigar_data63" calls: <anonymous> ... ...
common-pile/stackexchange_filtered
Closed form of Harmonic series without digits 9 in its decimal representation There is a question I've done before, that is In the Harmonic series $1+\frac12+\cdots+\frac1n+\cdots$, the fraction of $1/k$ is dropped if the decimal representation contains number digits 9, then the rest of the series is convergent. the ...
common-pile/stackexchange_filtered
Given a Biased Coin yielding a Flip Sequence, what is the expected number of even palindromes? This is from a review of an exam. You continue to play with one of your biased Vegas quarters by flipping it $2k > 0$ times in a row. You write down these flips as a string of H and T. Recall from the earlier problem that the...
common-pile/stackexchange_filtered
Customizer: widget-synced triggers twice I just noticed that widget-synced is triggered twice when you're trying to edit a widget, click on a text field, write something, triggers widget-synced once and after that, if you click anywhere else it triggers a second time. Is this default behavior and can it be prevented ...
common-pile/stackexchange_filtered
Have one object call the functions for two objects? class foo{ public: void print(); void alert(); bool get_state(); }; class bar: public foo{}; bar master; bar slave; Is there a way to have calls to slave call the same function for slave and master? There are unfortunately 2 catches. This should not be imp...
common-pile/stackexchange_filtered
how to sort a column in a table in r I tried to merge two tables, but the result is like this, subj gamble_gamble n_gambles expected_value 1 19 32 1.7 10 3 4 1.5 100 3 4 1.5 101 6 32 1.4 102...
common-pile/stackexchange_filtered
Search a url for unique phrase using Google API Does Google have an API with a function which will verify if a specific phrase can be found at a given url? Say I have a webpage url: www.mysite/2011/01/check-if-phrase-exists I want to know if the phrase foobar exists somewhere on that document (it can be anywhere on t...
common-pile/stackexchange_filtered
I want to pass my input values from Form to handleSubmit () I want to pass my input values from form to handleSubmit () currently I am passing e.target.value and getting an error cannot property 'value' of undefined. following is the form code block from where I want to get the values <Input label="Write a messa...
common-pile/stackexchange_filtered
What are "Active Calories"? The Apple Watch Activity app purports to measure what it calls "Active Calories" which it counts towards its "Move" goal. But Apple's definition of such calories is clearly its own, not counting (at least apparently), for example, calories from weight workouts, Pilates, or yoga or 7-minute w...
common-pile/stackexchange_filtered
Person A: The perfusion system keeps failing to generate proper bone matrix. The cells just aren't responding like they should. Person B: What flow rate are you using? If the medium velocity is too high, you'll get shear stress that disrupts the extracellular matrix formation. Person A: I set it to match the specific...
sci-datasets/scilogues
Mapping a subset of semi-definite matrices through arcsinus Hi I am meeting a problem concerning semi-definite positive matrices, and I have no clue concerning them, the classical approaches I know have not given any result, maybe people used to manipulating them could help me... Call $\mathscr{P}$ the convex set of sy...
common-pile/stackexchange_filtered
Try SSR in React js or use Next js? I wanted to create a React app , but the issue I am facing is the absence of Server Side Rendering (SSR) in React JS, which is important for SEO, sitemap, and indexing of pages in an app. I searched for many tutorials that could guide me on how to implement server-side rendering in R...
common-pile/stackexchange_filtered