text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Will switching out of IT hurt my chances of getting into IT later?
I've been in my company's IT department (the company is in transportation, US based) as a software developer for three years now, but my manager approached me recently about a job opening on the business side which deals with customers more, but require... | common-pile/stackexchange_filtered |
LG G2 music player hooking into bluetooth?
I have a 2012 C250 that I used to hook up to my RAZR MAXX, and was able to control the music (Google Play Music) from the car.
I now have an LG G2, and I noticed in the beginning that the LG player would fire up when I hit my car's commands. If i manually start Play Music, the... | common-pile/stackexchange_filtered |
Converting mixed times into 24 hour format
I currently have a dataset with multiple different time formats(AM/PM, numeric, 24hr format) and I'm trying to turn them all into 24hr format. Is there a way to standardize mixed format columns?
Current sample data
time
12:30 PM
03:00 PM
0.961469907
0.913622685
0.911423611
09:... | common-pile/stackexchange_filtered |
Finding the 2D pack in Unity
Where is the 2D pack in the Unity store? I can't find it when searching for it. I have tried all the filters and still can't find the app. Here is an image of what I'm looking for.
I think this is what you want https://www.assetstore.unity3d.com/en/#!/content/73728
Asset Pack
You have ... | common-pile/stackexchange_filtered |
PHP - Fileuploads, ['tmp_name'] doesn't exists physically
This is some very basic stuff.
For a unknown reason i can't upload files via a standard HTML+PHP upload form.
The file doesn't exists locally under /tmp
php.ini
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
; http://ph... | common-pile/stackexchange_filtered |
Is it possible to check for pwned/common passwords using salted hashes of the passwords?
If I administer a webpage that allows users to create accounts, and assuming I don't keep or even ever have access to plaintext passwords, is it possible for me to detect that one of my users is using a known bad password?
I am gue... | common-pile/stackexchange_filtered |
Return stored procedure data as table set
I am using .net with entity framework database first approeach. I was wondering if it's possible for stored procedure to return result as table set instead of procedure result set.
Suppose I have a table:
table MyTable(
id int,
value nvarchar(max))
And stored procedure:
proce... | common-pile/stackexchange_filtered |
How to create a new Error in javascript when the error message is an object
Our model layer in our app will generate an array of errors that may or may not contain objects. As an example, say someone wanted to POST a thing to our api and the user submitted an invalid payload, an example validation error array may look ... | common-pile/stackexchange_filtered |
Taking photos with camera and getting picture path android
My app takes a picture using the phones camera and stores the picture in the phones gallery. I would like to then get that picture path and store it in my datastore. Can someone please help me? Heres my code:
public void onClick(View v){
switch(v.getId(... | common-pile/stackexchange_filtered |
How to find out which process consume most memory and how much?
I know one way is to look at the process explorer available on Windows but which information one should look at?
THere are private bytes and working set and so on...
Working set is one of the best measures, but commit and paged memory tell you if you are ... | common-pile/stackexchange_filtered |
expected value tree structure
I'm trying to do a run-time analysis of an algorithm. The idea is a tree structure is created where any node can have two children. At each iteration of the algorithm there's a 50% chance that a node will create a terminal child, ie that node cannot produce another node.
It runs until eit... | common-pile/stackexchange_filtered |
Publishing visual studio setup (installer project extension)
I created setup with Visual Studio 2015 installer project extension, but how do i publish it so i can install program on other computer?
If you created a setup with the installer extension, then either it's a ClickOnce per-user setup that you publish to a ne... | common-pile/stackexchange_filtered |
Meaning and usage of "one and done"
The expression "one and done" is from basketball according to yourdictionary.com and means:
(slang, basketball) A basketball player who plays college basketball for a single year and then declares for the NBA draft.
John Calipari's Kentucky squad was made up of one-and-done players.... | common-pile/stackexchange_filtered |
<? or <?php --- is there any difference?
Possible Duplicates:
Are PHP short tags acceptable to use?
What does “<?=” mean when seen in PHP
is there any difference in using <? ?> to signify a php block, or using <?php ?> ?
if there is not, why would anyone use <?php ?
figure the file extension of .php would give plent... | common-pile/stackexchange_filtered |
K-theory of schemes with support.
Hi,
I'm having a little trouble with a theorem i found in K-theory of schemes.
The theorem is the folowing, if $X$ is a regular noetherian scheme, and $Y$ a closed subscheme of $X$ of codimension $m$, then we get an exact sequence $$0\to F^{m+1}K_0^Y(X)\to K_0^Y(X)\to \bigoplus_{x\in Y... | common-pile/stackexchange_filtered |
Want to create a custom class XY that inherits from a Class and a Protocol
I want to create the AVAudioInputNode in watchOS 3.
If I click on JumpToDefinition for AVAudioInputNode, I see that:
open class AVAudioInputNode : AVAudioIONode, AVAudioMixing {
}
Why I can't create a custom class with the same style ?
My clas... | common-pile/stackexchange_filtered |
How to find peaks of minimal length efficiently?
I have list/array of integers, call a subarray a peak if it goes up and then goes down. For example:
[5,5,4,5,4]
contains
[4,5,4]
which is a peak.
Also consider
[6,5,4,4,4,4,4,5,6,7,7,7,7,7,6]
which contains
[6,7,7,7,7,7,6]
which is a peak.
The problem
Given an input... | common-pile/stackexchange_filtered |
VBA to think that certain key was pressed
I am wondering if there is a way to make VBA think that certain key was pressed? To give an example, let's say that i want Excel to automatically start on a new line inside a cell ( Alt + Enter keys ) after i wrote a text of specific length.
Is it possible to make Excel think ... | common-pile/stackexchange_filtered |
Adding date of birth to database
I'm trying to add fields for Day, Month and Year in registration form and add it to user record in database. So I've put this is the form:
<div class="form-group">
<div class="form-inline">
<div class="form-group pull-right">
<select name="year" id="year" class="form-... | common-pile/stackexchange_filtered |
When to use exponent rule $\sqrt x^2$ and when to square both sides?
I am solving equations to see if the equation is a function or not. I would like to know when to use exponent rules and when to square both sides? The equation is $$x= \sqrt {1 - y^2}$$ I want to use an exponent rule but am unsure because the y squa... | common-pile/stackexchange_filtered |
2 iOS developer certificates with same names
we have a little Problem here and I hope you guys can help me out!
Situation:
We are enrolled in Apples Developer Program (for distributing Apps in the App Store). Since last week we're also enrolled in the Enterprise Program (for in-house App distribution).
Problem:
We proc... | common-pile/stackexchange_filtered |
django_mongodb_engine ImproperlyConfigured
I am trying to setup the environment for Django+MongDB+Mongodbengine. However, I am still getting the error,
django.core.exceptions.ImproperlyConfigured: 'django_mongodb_engine'
isn't an available database backend.
I use following command to start the server:
Start server... | common-pile/stackexchange_filtered |
facing issues in jquery event handler in 1.6 not in latest versions.
Currently I have a Jquery 1.6 version of the library, which make time to update. I am trying to implement Jquery event handler.
I have a group of divs which have a lot of buttons. The buttons keep getting added dynamically and I am trying to use Jqu... | common-pile/stackexchange_filtered |
How can I generate Jaxb-XML-Beans from hibernate mapping file?
I want to generate XML Jaxb-classes (like here enter link description here) from hibernate mapping file (hbm.xml). So is there a chance to do that with the hibernate-Tool hbm2java or do you think, that I should simpler do that with XSLT?
Assuming you alrea... | common-pile/stackexchange_filtered |
Does powerbi embedded in azure not have a portal to manage workspaces, reports, etc?
I just created a powerbi embedded resource (A1 sku) in azure. It created a capacity, but I don’t see a way to get to the “portal” where I can manage workspaces - eg create workspace, upload pix, etc from the browser. I realize I can us... | common-pile/stackexchange_filtered |
Why a transition function in react is not able to render?
I have a prototype when we click that icon the text box opens..
in the same way in my codebase I am trying to make my test box to close and open...
here instead of icon in css I am using image
i am using the same prototype code in my code base..
but its not wor... | common-pile/stackexchange_filtered |
How to clean up messy views and controllers in Rails?
I've got a lot of code like this in my app:
if @document.template.name == "Newsletter"
...
end
Which I realise is poor and ugly code. I'm not sure though what alternatives exist for this kind of code. Are there any best practices for it? I hope so. Cheers!
Sample... | common-pile/stackexchange_filtered |
Is $Tv=\mathcal{M}(v)$ an isomorphism from $V$ onto $\mathbf{F}^{n,1}$
Is the Following Proof Correct ?
Theorem. Given that $v_1,v_2,...,v_m$ is a basis for $V$ then the linear transformation $T:V\to\mathbf{F}^{n,1}$ defined by $$T(v)=\mathcal{M}(v)$$ is an isomorphism of $V$ onto $\mathbf{F}^{n,1}$ where $\mathcal{M}$... | common-pile/stackexchange_filtered |
Visual Studio C++ get "cl.exe" MSB6006 error: exit code 2
I have one large vector in one header file myVector.h
Vector size aprox. 1M
std::vector<byte> xSh = {
0x11,0xFF,0xA1,0x36,0x06,0xC3,0xB5,0x16,0x03,0x01,0x5B,0x6C,0x5E,0x36,0x26,
0x6C,0x7F,0x4E,0x8D,0xC8,0x13,0xB4,0xF6,0x74,0x01,0x5B,0x6C,0x5E,0x36,0x26,
...
}
... | common-pile/stackexchange_filtered |
removeFromSuperView don't work on iOS 8
I'm adding a view over my main view like this:
self.voteResult = [[voteResultViewController alloc]initWithNibName:@"voteResultViewController" bundle:nil];
UIWindow* mainWindow = [[UIApplication sharedApplication] keyWindow];
[mainWindow addSubview:[self.viewControll... | common-pile/stackexchange_filtered |
C# implicit conversions
I'm currently working on an application where I need to load data from an SQL database and then assign the retrieved values into the properties of an object. I'm doing this by using reflection since the property names and column names are the same. However, many of the properties are using a cus... | common-pile/stackexchange_filtered |
How to select based on one to many relationship?
My table looks like:
create table user(
user_id int,
name varchar(10)
);
create table orders(
user_id int,
product varchar(255));
insert into user(user_id, name)
values
(1,'Chris'),
(2,'Jon');
insert into ord... | common-pile/stackexchange_filtered |
Inter-event time between 1st and 2nd events for Poisson Process
We have two independent Poisson process $N_1$ and $N_2$ with parameter $\tau_1$ and $\tau_2$. Now I want to determine the inter-arrival time between the 1st and 2nd events. Given that processes are memoryless and have stationary and independent increments.... | common-pile/stackexchange_filtered |
How to quickly mock services in spring unit tests?
@Bean
public EntityManager(EntityManagerFactory emf) {
//...
}
How can I quickly mock both of these beans (em + emf) inside a JUnit test?
Is there some framework that allows me to define eg @Mock EntitiyManager em;?
Have u seen Mockito and Powermock?
I think both... | common-pile/stackexchange_filtered |
How does Hibernate Session handle concurrency performance
I am quite new with Hibernate and I have this caching handling on hibernate question which I couldn't find the answer.
For instance, Thread A read data from DB, and keep it in first level cache which is bond with Session A, then Thread A sleep for a few seconds.... | common-pile/stackexchange_filtered |
How to pass alias into aws scheduled lambda
I have an aws lambda function and it runs on a timer that is built into the properties of the lambda. How can I pass in an alias so I can run a particular version(the exact version will change per release cycle, thus, an alias is what I want to have in the configuration.)
Fr... | common-pile/stackexchange_filtered |
Gaining Quantum information without destroying the coherence
I've read about new optical interference among several telescopes all around the globe. It is supposed to work by combining the quantum states of a photon A arriving at once in every telescope of the grid.
Now you may think ... Well, if the quantum state is m... | common-pile/stackexchange_filtered |
Is there any label concept available in TCL?
Actually my requirement is while choosing the label it will redirect to specific place where i have give the description.
Example
set a 20
switch -- $a {
"20" : goto check
"abc" : goto check1
}
Label 20:
puts "Given value is integer"
Label abc:
puts "Given value is alpha"
... | common-pile/stackexchange_filtered |
Python - Splitting a string of names separated by spaces and commas
I have an API feeding into my program into a django many to many model field. The names of the individuals within my database are structured with a separated first name and last name. However, the API is sending a bulk list of names structured as as a ... | common-pile/stackexchange_filtered |
How to use AJAX inside Wordpress with a bundler?
i recently switched to bundling my JS Files for my themes and tried to always use the Revealing Module Pattern for my scripts to write more organized stuff.
The Ajax File is registered in function.php like this:
// Load AJAX
function load_scripts() {
wp_enqueue_scrip... | common-pile/stackexchange_filtered |
wp-insert-post creating duplicates
Wordpress Check for and remove duplicate posts before using wp-insert-post. Data decoded from Json wp-remote-get. I am inserting into a Custom Post type and the unique value is 'feefo_id'.
I have tried creating a if loop around the wp-insert but when I do that I get 1 post and not a... | common-pile/stackexchange_filtered |
CSS3 sprite animation for different size
I'm trying to do css3 animation with sprite sheet for different sizes. Full image size is working fine but it's not working as expected for other sizes(in my case half of the image size). It's shifting.
Here is working code with actual image size
/* ----button------ */
.button ... | common-pile/stackexchange_filtered |
How to locate the input tag as per the HTML provided through Selenium?
Please what locator do i use for the below. I have tried Xpath and CSS Selector but no luck.
<input type="password"
class="input-block-level ng-dirty ng-valid ng-valid-required"
placeholder="Password" ng-model="password" ng-trim="fal... | common-pile/stackexchange_filtered |
Symfony doctrine: ManyToOne heritage doesn't work
I am new to Symfony. I'm working on an application where I need a cascading heritage in Doctrine, but heritage doen't appear to work :
I have a mother class, "Content" :
/**
* Content
*
* @ORM\MappedSuperclass
*/
class Content
{
/**
* @var User
*
... | common-pile/stackexchange_filtered |
Check if a number has a decimal place/is a whole number
I am looking for an easy way in JavaScript to check if a number has a decimal place in it (in order to determine if it is an integer). For instance,
23 -> OK
5 -> OK
3.5 -> not OK
34.345 -> not OK
if(number is integer) {...}
Using modulus will work:
num % 1 != ... | common-pile/stackexchange_filtered |
get word document count and number of slides count in PPT
Is it possible to get the number of pages in word document or number of slides in a ppt?
I have done a lot of research on it and I am desperately looking for solution. I saw that it is very difficult to get it done in PHP on linux server.
I would be ok with Ja... | common-pile/stackexchange_filtered |
angularjs: ajax website using Ruby On Rails not crawling
I am trying to make an angularjs site crawl-able.To do that i am using ?_escaped_fragment= solution as suggested by Google.
For example:
When google sees request with hash fragment like "http://xample.com/#!/Home" ,it convert the url into "http://xample.com/?_esc... | common-pile/stackexchange_filtered |
Dropbox bug: Missing text for Folder Settings
So I was sharing a folder on Dropbox and decided to see its Folder Settings. I noticed then that some label text was missing from the form. It might just be me (Linux Mint), but can anyone tell me what these fields do?
The settings are similar to Dropbox for Business. Bu... | common-pile/stackexchange_filtered |
Git: How to delete commits that point to deleted files
Somehow, I accidentally merged a branch from an unrelated repository.
Now I see tags and commits, that do not belong to my repository (it could well be I used the --ignore-unrelated-history command when merging).
When I run git log --pretty=format: --name-only --di... | common-pile/stackexchange_filtered |
how to create function for cancel button on kendo color picker
i am trying kendo kendoColorPicker.
with change Events.
when change color and click on apply button its work.(change the font color).
but i want to set if click on cancel button then set default font color.
any idea how its done.
this is simple try.
<div i... | common-pile/stackexchange_filtered |
Stupor automobile-correct
I recentle bought a new phon. I cet the local tew Auctralee, and auph I went. It wauc good tew hav a new phon. I wauc then praumpted and wethe I wanted predictiv tecct, and the trabl ctated.
Every time I start a parargraph, it's all phine, but thene mei phone starts thineking it's beter thane... | common-pile/stackexchange_filtered |
Cannot set property 'nodeValue' of null
I'm going through a book and it seems to be right, but the following code keeps giving me the error: Cannot set property 'nodeValue' of null. The code makes sense to me, but I don't understand why it can't clear the text value when clicking the clear button.
var clear = function(... | common-pile/stackexchange_filtered |
Routing to default resource but use the same resource with ID
I'm using the default resource in my routes.rb to add clients to my applications via resources :clients. But I'd like to be able to access that new page of clients via a group_id aswell.
So I want access like /clients/new/ and as clients/new/1/ or something.... | common-pile/stackexchange_filtered |
How do I make a mathematical object enter the scene from the top left of the screen using ManimCE?
I have tried several different methods including: .move_to(), .shift(), and .to_edge(UP + LEFT), but the sine wave I am animating keeps appearing at the center of the screen, and I need it to enter the scene from the top ... | common-pile/stackexchange_filtered |
PIC32MX : SPI1CON.SPIBUSY bit never gets cleared
I'm trying to generate a simple sinusoid sound with a PIC32MX250F128B communicating by I2S with a DAC+Amplifier slave module (MAX98257). The end goal is to make a synthesizer with a keyboard for a school project.
I created a basic project with MPLABX (v.5.40) I'm not usi... | common-pile/stackexchange_filtered |
Infinite loop: BFS to get all values of the nested objects (Javascript)
I am trying to get all the values of the nested object by BFS:
This is the sample object:
let schedule =
{
date: '0305',
meeting1: {
id: '00001',
start: '10:30'
},
meeting2: {
id: '00002',
start: '12:30'
}
}
Ideal output:... | common-pile/stackexchange_filtered |
Link not showing up in div, but buttons do
I've been completely stuck for hours because of this problem. I have a div container which has a dynamically created fragment being inserted before a link button. However, the link doesn't show up. If I change the link to a <input type="image"> or <input type="button">, then i... | common-pile/stackexchange_filtered |
R setting xlim in xts plot
I am trying to expand the X-axis of my time series plot to be prepared for adding new data into the plot later on. However, whatever I try I get the Error in plot.window(...) : invalid 'xlim' value error.
Here is a minimal code snippet:
Data construction:
time_series <- xts(rnorm(100),seq(as.... | common-pile/stackexchange_filtered |
Using rvest to creating a database from multiple XML files
Using R to extract relevant data from multiple online XML files to create a database
I just started to learn R to do text analysis. Here is what I am trying to do: I'm trying to use rvest in r to create a CSV database of bill summaries from the 116th Congress f... | common-pile/stackexchange_filtered |
Magic number for new file system
I am writing new stackable file system, all the file systems have associated magic number which acts like their "signature" for file formats. I was wondering how to decide this number for my file system? is there a way to ensure that the number I choose is not already taken? And once ta... | common-pile/stackexchange_filtered |
Create state for object in Rails
Firstly I'm sorry for my english. Ha ha
So, I'm learning to create sites with Ruby on Rails so I started with that framework. I stuck for a few hours because I do not find the right method for something that I try to do.
I try to create a crowdfunding site. I have successfully installed... | common-pile/stackexchange_filtered |
Is it possible to link the 'view-source:' of an external page?
I tried using <a href="view-source:google.com">External Source</a> but that just returns a broken link.
I believe that this will be browser specific. Is there a particular browser that you are targeting?
Nope, just wondering if there was a standard for it... | common-pile/stackexchange_filtered |
How to update Partial View without full replacement
I have this partial view. This works, ie, when the user clicks the button, an ajax trip is made to the server, and it updates the partial view and it comes down and replaces the current div with the updated Div and shows the Promo Message.
However, it seems there sho... | common-pile/stackexchange_filtered |
How to change/locate your website icon?
I am trying to change the icon from my website , there is another icon already present but it doesn't seem to change. I also can't locate where that icon is initialized in the first place.
this is what I added to my html page from favicon to change my icon :
<link rel="... | common-pile/stackexchange_filtered |
Display status bar on landscape orientation for iOS 8
Currently using XCode6 at the moment. Since this version of XCode only supports iPhone4 and above with OS version (7.0.3 onwards).
I have this application solely designed with a landscape orientation to all of the views in the storyboard. Testing the application usi... | common-pile/stackexchange_filtered |
Stacking photo and content on top of one another in css media query
Would greatly appreciate any help! Thank you in advance!
I am coding a website and there is a portion whereby I have a picture and paragraphs of words align side by side. However, when I am adding media query, both of these elements don't seem to stack... | common-pile/stackexchange_filtered |
Git clone from CodeAurora.org, only a single repo, not the entire project
So, I was wondering there is any way to to clone this repo:
https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=tree;h=refs/heads/korg/linux-3.0.y;hb=refs/heads/korg/linux-3.0.y without cloning the entire project like this:
git clone gi... | common-pile/stackexchange_filtered |
Are women overrepresented in the field of child development studies?
I have the impression that many female scientists, especially after they gave birth to a child, start to develop a research interest in the learning, growing, and developmental behaviors of babies. I got this impression because over time I heard about... | common-pile/stackexchange_filtered |
Javascript validation and Zend_Form
I have extended Zend_Form to create my custom form that I will reuse on some pages of my site.
For this form I also created some JavaScript validation based upon jquery.
What I would like to do is add this JavaScript validation for the form in the sub-classed Zend_Form. So every time... | common-pile/stackexchange_filtered |
How to find values that occur specific number of times in Pandas Series?
Given the following Series:
sr = pd.Series([5, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8])
I want to find the values that occur 3 times. This is my solution which seems to work but looks very strange:
(sr.value_counts() == 3)[sr.value_counts() == 3].index.val... | common-pile/stackexchange_filtered |
Can Jetty be used as a Java EE lightweight application server?
In the scope of deploying small Java EE web applications at various client sites, I am searching for an easy application server solution.
I think I remember hearing that it was possible to use Jetty as a JavaEE 6 lightweight application server but I can't s... | common-pile/stackexchange_filtered |
Completely expandable loop macro that also works in tabular
Since I normally use tikz in my documents, I mostly use the \foreach \x in \list loop to repeat things. However, this famously fails in tabular environments and also everywhere where things must be expanded.
Thus I've written a \for macro which works in tabula... | common-pile/stackexchange_filtered |
Is a garmin oregon series GPS useful as a bike computer for navigation and ride tracking?
I'm considering purchasing a standalone GPS unit. I've heard good things about the Garmin Oregon series devices for touring since they can be used with commodity batteries.
Is a Garmin Oregon series GPS useful as a bike computer f... | common-pile/stackexchange_filtered |
Mongoid storing Array, for Hash defaulted field
I have a Hash field with default value as empty Hash field :host, :type => Hash, :default=> {}. When I save a record with no value for host, it stores it as an blank array instead of blank Hash.
Following is the document
{
"created_at": ISODate("2012-05-21T14:56:16.0... | common-pile/stackexchange_filtered |
Functional Central LImit Theorem and asymptotic distribution of a certain summation of random walk elements.
Setup: Let $X $ be a random walk in discrete time, i.e.,
$$ X_t = X_{t-1}+ \epsilon_t $$
where the $\epsilon_t $ are i.i.d. $N(0, \sigma^2). $
Question. I am trying to use Donsker's Functional Central Limit Theo... | common-pile/stackexchange_filtered |
Getting the signed data after signing it
Well when I studied signature files in Java, I aways read that you hash your file and attach the hash to the actual file, do the encryption, and send it to (for example) the server. In the server you decrypt the file, get the file, create a hash of it and if it's new hash is equ... | common-pile/stackexchange_filtered |
What is the layout of a real Apple supplied fusion drive?
Would someone who has a fusion drive that they bought directly from Apple please provide diskutil output sufficient to describe the choices they made?
I've seen lots of different sets of advice for how to DIY it, and that's fine, but I'd like to know how Apple i... | common-pile/stackexchange_filtered |
Is this an L-shape?
Background
An L-shape is defined as a polyomino which can be made by extending two rectangular legs in orthogonal directions from a full square (called a pivot). The size of the square should be at least 1, and the lengths of the two legs should also be at least 1.
These are some examples of L-shape... | common-pile/stackexchange_filtered |
Oracle performance lowered by using parenthesis
I've read this: Parenthesis() and SQL Query Performance
I have posted this: Oracle not using indexes if queried in wrong order
What we are experiencing right now is beyond my understanding, and I am asking for explanation.
Query:
SELECT * FROM PREMIUMACCOUNTBOOKING p WHER... | common-pile/stackexchange_filtered |
Graph portion of Excel table in Word with a macro
So for background, I get a excel workbook from another department that is full of a information for a specific account that I then take and use certain parts to create graphs in word. Is there a way I could create a macro what would grab the data from Ex. C22:H34, put i... | common-pile/stackexchange_filtered |
Jupyter Notebook Installation Failed
I just downloaded Jupyter Notebook 3.7.4 and tried to run it. But after some seconds, the console closes itself and the notebook won't start.
Edit: redownloaded Jupyter Notebook and installed it on C:, now this error pops up:
https://stackoverflow.com/questions/54346965/running-j... | common-pile/stackexchange_filtered |
Intellij structured search classes without fields
Utility classes don't have state, and so don't have fields. I want to find all utility classes in my code that are being instantiated.
I've added a private no-args constructor to all utility classes I know about, but there are some written before my time. I just found o... | common-pile/stackexchange_filtered |
The package product 'SwiftSyntaxMacros' requires minimum platform version 10.15 for the macOS platform, but this target supports 10.13
I created a new swift macro package in my Xcode project.
My Package.swift looks like:
import CompilerPluginSupport
import PackageDescription
let package = Package(
name: "TestMockabl... | common-pile/stackexchange_filtered |
Why is $Z^{p}-Z$ is always a multiple of $p$, Where $p$ is a prime, and $Z$ is a positive integer?
I came upon the conclusion that $Z^{p}-Z$ is always a multiple of $p$. $\ $Where $p$ is a prime, and $Z$ is a positive integer.
I have the following four questions:
a) Could someone provide a complete proof for the above ... | common-pile/stackexchange_filtered |
How to enable free execution for specific extrinsics using the SkipCheckIfFeeless
Context
I'm currently working on a faucet/claiming pallet that allows new users to claim a certain amount of tokens. We have some logic in place to gatekeep who can receive the tokens, and each user can claim once. I believe this claiming... | common-pile/stackexchange_filtered |
Changing optimizer in keras during training
I am developing a model using nadam optimizer. I was wondering if there is a way to switch to sgd during training if validation loss does not reduce for two epochs.
You can create an EarlyStopping callback that will stop the training, and in this callback, you create a funct... | common-pile/stackexchange_filtered |
Salesforce component issue
I'm facing an issue with Salesforce compact layout. One of our users reported that in some WorkOrder records, he can see the Alert component with "Alert details" field (see picture 1). In other records, the "Alert details" field is showed normally (picture 2). I tested same records and I can ... | common-pile/stackexchange_filtered |
How to insert the date into vim
In vim you can execute comands with "!". You can combine that with "r" to insert the output into your current buffer.
:r!date
Fri Jul 20 09:39:26 SAST 2012
will insert the date into a file.
Now when I try to do some more interesting stuff like date with different format +%F.
On ... | common-pile/stackexchange_filtered |
Retrieving Medium or Large Profile Image from Twitter with omniauth-twitter
I'm using omniauth-twitter gem to authenticate users through twitter. I am also using their Twitter profile image as their avatar for my site. However, the image I get from Twitter is low resolution. I know Twitter has better resolution pics... | common-pile/stackexchange_filtered |
calculating unique percent change in dataframe series groupby
I'm trying to calculate a version of percent change where the formula is (b-a)/(b+a) (if both a and b are 0, then it should return 0)
I need to groupby a dataframe, sort it, and then apply this function to each group.
I'm running into errors relating to mul... | common-pile/stackexchange_filtered |
Writing a script to update recurring tasks
I am trying to prepare sheet that will automatically move the completed tasks from tab to another and update the task's date to one from now.
What I want to achieve:
The row 2 from Monthly sheet should flow to completed task whenever the column E is updated to 'Done'.
The com... | common-pile/stackexchange_filtered |
Solving equation of form $a = \prod_i^N (c_i e^t + b)^{c_i}$
How can I go about solving the following equation for $t$?
$$
\prod_{i=1}^4 p_i^{c_i} = \prod_{i=1}^4 \left(c_i e^{-t}+\frac14\right)^{c_i}
$$
where $p_i \in (0,1)$, $c_i \in [-\frac14, \frac34]$, $\sum_{i=1}^4 p_i = 1$, and $\sum_{i=1}^4 c_i = 0$. In case it... | common-pile/stackexchange_filtered |
discord bot is showing online but doesnt show up need commands
So i keep getting the error "The application did not respond".
Yet my bot shows up as online on discord
and none of the new commands I made are showing up yet. However, the old ones I (currently deleted) are still there.
import { Client, Collection, Gatewa... | common-pile/stackexchange_filtered |
Struggling to get media through to whatsapp client
I am struggling to get the CURL to send media to my phone on WhatsApp. The body comes through the file but I can't seem to get the media through.
Here is my code:
$data = array (
"To" => "whatsapp:+2783272####",
"Body" => "check the owl out",
"From" => "wha... | common-pile/stackexchange_filtered |
Shortcut to Rotate 60 degree via Script
I have an object that's a hexagon tile and for quick editing I am trying to make a shortcut key to rotate the object 60 degrees along the z axis, direction doesn't matter.
Could someone show me a python script? Greatly Appreciated
Like below, only +60 degrees, not set to 60 degr... | common-pile/stackexchange_filtered |
How to use Scatter to move paddles in the official Kivy Pong tutorial?
Having completed the Pong Game tutorial from the official Kivy site I went on with their Crash Course. There in the very first video I saw this magic thing they call Scatter that pretty much enables you out-of-the-box to make UI things move with yo... | common-pile/stackexchange_filtered |
postgres cross tab with WHERE clause
I have this table:
CREATE TABLE response(session_id int, seconds int, question_id int,
response varchar(500),file bytea)
INSERT INTO response(session_id, seconds, question_id, response, file)
VALUES
(652,1459721866,31,0,NULL),(652,1459721866,32,1,NULL),(652,1459721866,33,0,NULL)... | common-pile/stackexchange_filtered |
How to virtualize hardware (the other way around)
Generally questions about virtualization means putting more virtual computers on 1 physical computer. What my question is about is the other way around. Namely: how to make from different physical machines 1 virtual computer?
The point is that I would like it to have th... | common-pile/stackexchange_filtered |
Should the Famicom and NES tags be synonyms?
I noticed that we have a nes tag but do not have a famicom tag. I recently asked a Famicom question (What is the Famicom "Pulse Line" of games? How many games are part of this line?) and used the nes tag instead of creating a new famicom tag.
Should we create a famicom tag... | common-pile/stackexchange_filtered |
How to show the right fragment in ViewPager when the tab is selected programmatically?
I have implemented ViewPager2 with TabLayout, but when I want to choose selected tab programmatically, only TabLayout gets updated and not ViewPager2. Here is my code:
class SettingsFragment : Fragment() {
...
override fu... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.