text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
jquery ui selectable() and sortable() combine
I am using a twitter jquery plugin to display a list (ul/li) of twitter posts .
Also I want my users to be able to rearrange the posts as they want and I want the moved post to be marked.
I saw a post here how to do so.
If I use this the selectable function doesn't work(... | common-pile/stackexchange_filtered |
Clustering with probabilities
I will ask my question beginning by an example (I am novice in stats)
I have a set of probabilities from a given observation A={0.3,0.2,0.001, 0.02, ...}
I want to partition A on subsets or clusters so as each one will contain the closest probabilities. And after, i will be interested in c... | common-pile/stackexchange_filtered |
Initialization of the data source failed - Excel 2016
I'm trying to refresh a query in Excel 2016 (new install) and I get the above error. I've looked around, the problem seems quite common, but none of the answers seem to fit my issue.
In Excel, I have a couple of tabs of data in Excel tables. I use Get & Transform to... | common-pile/stackexchange_filtered |
Does this code make sense? C++ copy return vs ptr in
Which version of this code is better (or is there an even better way to do it)?
Copy out
void TranslatMat(float x, float y, float z) {
Matrix matTranslation = {
1.0f, 0.0f, 0.0f, x,
0.0f, 1.0f, 0.0f, y,
0.0f, 0.0f, 1.0f, z,
0.0f, 0.0f,... | common-pile/stackexchange_filtered |
How to find the coordinates of the point on a sphere closest to another point?
Take the sphere $x^2 + y^2 + z^2 = 4$ and find the point on it that is closest to the point $(3,1,-1)$ without using calculus.
The point on a surface closest to a point not on the surface (called an "external point") lies on a normal line ... | common-pile/stackexchange_filtered |
AWS Cognito: Getting error in Auth.signIn (Validate that amazon-cognito-identity-js has been linked)
I'm new to Amplify integration with Cognito and working on a react-native app using Amplify with Cognito for Authentication. I have configured the user pool and Federated Identity in the AWS console.
I have created my o... | common-pile/stackexchange_filtered |
Filter last word after matching a string
I need to filter out some hexadecimal value from a return string of a command in bash for example:
hexVal=`mmc extcsd read /dev/mmcblk1 | grep 'Max Enhanced Area Size'`
Will return the value of hexVal as:
Max Enhanced Are Size [MAX_ENH_SIZE_MULT]: 0x000bd8
Now, I need the valu... | common-pile/stackexchange_filtered |
how to set UIView background programmatically
in the interface builder,i can find the background tag,and select the color and the opacity.
if I create the UIView programmatically,if I want to change color,I can set the backgroundColor property
the question is if I want to change the opactiy,What is the property should ... | common-pile/stackexchange_filtered |
What is the percentage of Earth's hemisphere seen from different orbital heights or distances?
We often see photos of Earth from space, but it is rarely clear what percentage of Earth's hemisphere is actually visible from any particular orbit.
• Is there a graphic or diagram that would show the percentage of Earth's he... | common-pile/stackexchange_filtered |
How to center the view on the "Time Cursor" in the Video Sequence Editor?
I have three markers in the timeline, and I am working in one of these three areas in the sequencer around the 3rd mark:
I try to use the first marker in the timeline, so that the sequencer jumps to that position without having to zoom out in th... | common-pile/stackexchange_filtered |
Mint leaves look chewed up and burned
I have a mint plant outdoors in a pot that grew rapidly and then suffered from some insect which just loved eating it. It's in a mostly sunny spot next to a high bed. I sprayed it with a solution of water, liquid soap and canola oil. But later, it looks like the leaves are burnt--n... | common-pile/stackexchange_filtered |
How to update filter on wpf datagrid?
i want to filter wpf datagrid, and i do that in this way,i use datagridcolumnsheader and put a textbox in headers and use them filter each column:
private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
{
textSearch = (sender as TextBox).Text;
... | common-pile/stackexchange_filtered |
Get occurrences of a string in a list of strings.
I have 2 textboxes and a button, when the button is clicked I want it to take a list I have created and have put into lower case and check the amount of occurrences each string appears.
My code:
Private Sub FlatButton1_Click(sender As Object, e As EventArgs) Handles Fla... | common-pile/stackexchange_filtered |
Is it legal for police to use their lights to go through a red light?
Many of us have seen this. A police car stops at a red light and after ten seconds with no cross-traffic, they put their lights on only (no siren) drive across the intersection against the red light, then turns off their lights on the other side and ... | common-pile/stackexchange_filtered |
Force NSLocalizedString to use a specific language using Swift
With swift, how can I force my app to read data from a specific Localizable.strings.
I put this in didFinishLaunchingWithOptions before instantiate the ViewController but it still show me the App in English.
NSUserDefaults.standardUserDefaults().removeObjec... | common-pile/stackexchange_filtered |
Please make entries in "responses" link to the respones directly
When following a link in the "activity" page, you are directed to the entry directly. That is, if the activity was a comment, you directly jump to the comment.
But in the "responses" page, if you follow an entry and the entry relates to a question, you m... | common-pile/stackexchange_filtered |
What non-symmetric matrices satisfy $x^TAx>0,\forall x\neq 0$
Let $A\in R^{n\times n}$ be a matrix. It is positive definite if and only if $A$ is symmetric and $x^TAx>0,\forall x\in R^n$.
My question is: if $x^TAx>0,\forall x\in R^n$ but $A$ is not symmetric, what does $A$ look like?
I have an example. For a rotation m... | common-pile/stackexchange_filtered |
How to obtain the bibtex item for a question with a program or HTTP request?
Which request should my program send to mathoverflow.net to get the bibtex, which is so well hidden behind the share button?
Rephrased: what I'm after is something analogous to a link like:
adsabs.harvard.edu/cgi-bin/nph-bib_query?bibcode=2011... | common-pile/stackexchange_filtered |
Angularjs ui-router add parent url parameter to current state
This is my app state
.state('app', {
url: "/?:site_id",
templateUrl: "/controls/angular/templates/partial/app.html",
abstract: true
})
.state('app.popup', {
url: "popup",
templateUrl: "/controls/angular/templates/popup.html",
... | common-pile/stackexchange_filtered |
Eclipse won't export as a JAR
I realize similar questions have been asked, but mine seems to be unique. When I attempt to export my project as a JAR the project itself does not appear in the export window. Can anyone help me?
Also, I'm not sure if this changes anything, but I used a Java Decompiler to decompile the sou... | common-pile/stackexchange_filtered |
use of undeclared identifier 'git_diff_perfdata' with libgit2
I'm trying to write some code that uses git_diff_perfdata from the Libgit2 library.
git_diff_perfdata s;
However, when compiling on my Mac I get the error:
use of undeclared identifier 'git_diff_perfdata'
My understanding is that Libgit2 is meant to be us... | common-pile/stackexchange_filtered |
Angular 4 unexpected end of json in service get
I' m getting unexpected end of JSON error when i use this code in the service to get a client:
import { Injectable } from '@angular/core';
import { Http, Response, Headers, RequestOptions } from '@angular/http';
import { Observable } from 'rxjs';
import 'rxjs/add/operator... | common-pile/stackexchange_filtered |
Check if the given time is between two times (Hour,Minute) format
I have next 6 fields in MySQL.
TIME_RIGHT_NOW_HOUR (INT)
TIME_RIGHT_NOW_MINUTE (INT)
TIME_WORKING_FROM_HOUR (INT)
TIME_WORKING_FROM_MINUTE (INT)
TIME_WORKING_TO_HOUR (INT)
TIME_WORKING_TO_MINUTE (INT)
Hour and minutes are in 24 time format.
I need to ch... | common-pile/stackexchange_filtered |
Redirection to another tab from within a tab fails in Microsoft Teams
I have installed an app in a tab and wanted to redirect to another tab.
The url of the tab is of the form https://teams.microsoft.com/l/channel/<entityId>/<tabId>?label=Wiki&groupId=<groupId>&tenantId=<tenantId>
For doing this I have tried the follo... | common-pile/stackexchange_filtered |
Centroid of a non-polygonal concave shape determined by an equilateral triangle an its incircle
I have a diagram here of an equilateral triangle ABC, centre O, where circle centre O has tangents which are all three sides of the triangle ABC. M is the midpoint of AB, and F is the intersection of arc DE and line MC. I kn... | common-pile/stackexchange_filtered |
Percent in url next js
I want to create an url using:
const click = () => {
router.push(
{
pathname:`/cars?{color}${doors}$`,
},
undefined,
{
shallow: true,
},
);
When i hit the button which trigger the function i get in url: /cars%3Fcolor=red&doors=5. How to c... | common-pile/stackexchange_filtered |
Best practices for bringing in content from other sites?
This answer features a bunch of blockquotes, with text that came copy-pasted from another website. The text was presented with a link back to the original material, but something about it just doesn't seem in line with what is expected on this site.
It's certain... | common-pile/stackexchange_filtered |
Need a SQL statement to filter rows
There is a table which look like this:
I need to retrieve only highlighted records. And I need a query which should work on bigger table where are millions of records are exists.
Criteria:
There are 4 sets, 1st and 3rd have the similar values but 2nd and 4th sets have different valu... | common-pile/stackexchange_filtered |
Why there are 65520 dnp3 source addresses instead of 65536?
DNP3 link-layer source and destination addresses are 16 bits each. It means it can have 2^16 = 65536 total different addresses. Based on official DNP3 docs, there are 65536 destination addresses, which I understand. But there are only 65520 source addresses, w... | common-pile/stackexchange_filtered |
how to make layout to be in front? androidstudio
<LinearLayout
android:id="@+id/toplayout"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintBottom_toTopOf="@id/filterlayout"
app:layout_constraintEnd_toEn... | common-pile/stackexchange_filtered |
How to checkout to a different branch in submodules?
We are have 2 rails projects for which /models are common for both of the projects and so we maintained a separate repo by using submodules concept.
Now in project1 I created a branch rails3_upgrade from master for my submodules i.e., in app/models.
how can I checkou... | common-pile/stackexchange_filtered |
What's Flow State, and what does it mean to the SE community?
I recently became aware that Stack Exchange is running a conference called Flow State. The banner on Stack Overflow says:
Register to virtually attend our inaugural conference focused on our products, with relevant content for all developers everywhere.
A ... | common-pile/stackexchange_filtered |
How to apply data into useState constant?
I was trying to set a value to a input, and I usead setState to update the value of the Input, but now I cant use the variable I was going to use in the Value inside Input.
This is the Input
<input
type="text"
className="mt-1 focus:ring-indigo-500 focus:border-[#604d9b] block w... | common-pile/stackexchange_filtered |
qt pyside - qsql*model, qabstractitemmodel and qtreeview interaction
I want to produce a simple enough application which uses a QTreeView widget to show hierarchical data from a SQLite3 (flat) table, use QDataWidgetMapper to populate some lineedit fields, allow user to edit, which in turn updates the table. Simple & b... | common-pile/stackexchange_filtered |
how to configure a vpn service on ubuntu
I want to make my navigation in secure way and I won't buying vpn services as expressvpn etc.. openvpn can do this by installing on the PC that I use to navigate?
If yes can you link me any guide to configure it ?
Thanks a lot.
might this help: /609772/vpn-plugin-for-14-04?
b... | common-pile/stackexchange_filtered |
With a magic item that has no overall restrictions, but special bonuses when used by a certain race, can a L13 Rogue gain that bonus?
Imagine a homebrew weapon, for example, a dagger that behaves like a normal +1 dagger to everyone except elves, who are conferred an additional bonus as well other abilities or effects. ... | common-pile/stackexchange_filtered |
How can I separate a filename from folders in ActionScript?
How can I separate a filename from a folder in a string in ActionScript? It should split the variable and save it in two separate variables that I can use later on.
I guess I'd have to use a regex but I'm not that good at regexes.
For example:
var filepath = "... | common-pile/stackexchange_filtered |
I2C communication with Wire.h(ESP32)
I trying to connect with nitric oxide sensor over I2C bus. I'm using Wire.h library.
http://semeatech.com/uploads/SensorModule/7-Smart_EN-v1.0.pdf <- Aplication note
My code:
Wire.beginTransmission(0x0B);
Wire.write(0x00);
Wire.write(0x01);
byte err = Wire.endTransmission(false);
Wi... | common-pile/stackexchange_filtered |
How to disable zooming in Windows Mobile?
Is there some way of disabling zooming in Windows Mobile smartphones? For example HTC Titan.
I have this in my head html section:
<meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' />
But I am still able to zoom in and ou... | common-pile/stackexchange_filtered |
Import own class file in .java
Hey an question i have this compiled .class file that contains in the .java file this:
package my.mypackage;
public class MyClass {
//SPACE START
public static void space(int spacecount) {
int spacepos = 1;
while (spacepos <= spacecount) {
System.out.println(""... | common-pile/stackexchange_filtered |
Nested Data reformat
I am trying to use D3js and having some problems getting data in the format I want. What I have is an array of objects that each have a key and values, each value has an id and fields (A, B). I am trying to have an array of objects that each have a key and values, each value must have the fields (A... | common-pile/stackexchange_filtered |
Font-face not working for firefox or on mobile phones?
I've included some fonts in my css like this
@font-face {
font-family: 'veneer';
src: url('/fonts/Veneer_10.eot');
src: url('/fonts/Veneer_10.eot?#iefix') format ('embedded-opentype'),
url('/fonts/Veneer_10.ttf') format ('truetype'),
url('/fonts/Veneer_10... | common-pile/stackexchange_filtered |
At what point in their employment should security policies be explained to an employee?
There are the basic things that need to be explained to every employee about a security policy. For example:
How sensitive information must be handled.
How to properly maintain your ID, and password, as well as any other accounting... | common-pile/stackexchange_filtered |
NodeJs with Express and Handlebars - handlebars.engine is undefined
I am following the tutorials in O'Reilly's "Web Development with Node & Express" by Ethan Brown.
They use handlebars as the view engine.
Here is my code:
var express = require ('express'),
handlebars = require('express3-handlebars'),
app = expr... | common-pile/stackexchange_filtered |
ms access syntax error invalid column specification (#0)
I am doing a union of two queries.
The queries run individually without an issue yet the union throws up this query. Any ideas?
The Query is
SELECT CStr([REFERENCE]) AS CostID,CSng([RATE]) AS HRates FROM [Qry 1 Project Budget pt1 labour rates]
UNION ALL ... | common-pile/stackexchange_filtered |
Async thunk breaks react app in useEffect
I’ve been working on a react crud application to teach myself redux toolkit, and I can’t seem to get a particular async function to work. I’m trying to fetch recipes from a certain user from firebase - this function worked when I was just playing around and didn’t have any user... | common-pile/stackexchange_filtered |
How can I specify types on a camel to snake case conversion function
I have a function that converts the case of a target string, array, or object from camel case to snake case.
convertCamelToSnake (target) {
// Complex logic to convert target depending on what type it is
return convertedTarget
}
I want to specify... | common-pile/stackexchange_filtered |
Memory managment. Dealloc. iOS
Is this correct?
- (void)dealloc {
[super dealloc];
[stageObjects release];
}
Or should I call
[super dealloc]
Always after all releases, I mean last line of this function?
You must always call [super dealloc]; last. After all, this very object might always be deallocated af... | common-pile/stackexchange_filtered |
Is there a school of informal logic that treats it as determining how to transcribe arguments into formal logic?
I've noticed it is often nontrivial to transcribe informal arguments into formal logic, but most introductory texts on formal logic make a show of it. Is this for pedagogical reasons only, or is there more a... | common-pile/stackexchange_filtered |
Extracting levels of a factor from column number-R
I have a data.frame (df) with column name v1 which is a factor. Like:
df
# v1
# --
# a
# b
# c
When I want to get levels of the factor I get:
By column name:
levels(df$v1)
# [1] "a" "b" "c"
By column number:
levels(df[1])
# NULL
Why do I get NULL when I use column n... | common-pile/stackexchange_filtered |
Refresh ListView from update ViewModel
I am trying to bind a ListView (AllDocuments) to a List of Objects (DocumentSummary). I am trying to do the binding using mostly XAML. But I am having difficulty getting my ListView to refresh. The call to get the data MainPage.xaml.cs.OnButtonClick is working just fine. The o... | common-pile/stackexchange_filtered |
Trying to receive emails AND store them into an S3 bucket
I'm trying to store emails i receive into an s3 bucket, i followed this tutorial and multiple others :
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-getting-started.html
My MX record is set to my mail.Domain like this :
Domain MX 10 mail.... | common-pile/stackexchange_filtered |
Linking source installed pandas to homebrew'd python
I am attempting to install the python package pandas.
All my existing python gear has been installed using home-brew / easy_install / pip, however pip and easy_install both fail on pandas -- claiming that i do not have numpy > 1.6 (though when in python numpy.__ver... | common-pile/stackexchange_filtered |
R: create index for xts time object from calendar week , e.g. 201501 ... 201553
I know how to get the week from an index, but don't know the other way around: how to create an index if I have the calendar weeks (in this case, from an SAP system with 0CALWEEK as 201501, 201502 ... 201552, 201553.
Found this:
How to Par... | common-pile/stackexchange_filtered |
Oracle sql make strings inside single qoutes
What I wanted is to place every string inside single qoutes even if it is delimited by a dot something like this:
Input: Hi.Hello.World
Output: 'Hi'.'Hello'.'World'
Note: Inputs can be 2 or more words delimited by a dot
You could try this:
SELECT '''' || REPLACE(string, '.'... | common-pile/stackexchange_filtered |
Comparing 2 HashSets for common object
I have one question, I have two HashSets,
Set<String> list1 = new HashSet<String>(oldList1);
Set<String> list2 = new HashSet<String>(oldList2);
And I would like to check if a "String" in list1 is present in list2. What would be the fastest way to go trough this? Keeping in mind ... | common-pile/stackexchange_filtered |
What are the legal tournament formats for MtG?
What are the current legal tournament formats for Magic: The Gathering? What are the differences/definitions of each format? At what point do sets rotate in/out of a format?
You can visit the Banned / Restricted Lists for DCI-Sanctioned Magic: The Gathering Tournaments ... | common-pile/stackexchange_filtered |
Getting document ID when decoding firestore document using Swift Codable
I'm using a class to decode retrieved firestore documents, and it works as expected if I don't want to manipulate the data:
class Room: Identifiable, Codable {
@DocumentID public var id:String?
var name:String
}
However if I try to use ... | common-pile/stackexchange_filtered |
free language/database for standalone application
Can you advice me please on a "free" language and database that I can use to create a standalone application e.g. simple HR application w/ (forms,reports and queries) that I can copy and use in my flash memory ?
what platform(s) does it need to run on?
Almost any lang... | common-pile/stackexchange_filtered |
Error while running a test: "You must add a reference to assembly..."
I am trying to launch a test but I obtain this error
The type 'System.Web.Security.MembershipUser' is defined in an
assembly that is not referenced. You must add a reference to assembly
'System.Web.ApplicationServices, Version=<IP_ADDRESS>, Cul... | common-pile/stackexchange_filtered |
jQuery: check the type of SVG element
How can I check the type of an svg object in JavaScript or jQuery?
I want to check whether a tag is of type SVGAnimatedString.
When I output the object to the console it outputs the following:
console.log(this.href);
SVGAnimatedString // is an object and can be expanded
In my code... | common-pile/stackexchange_filtered |
inline javascript function call - missing ] after element list
I have a code:
var data = $('<span onclick="someFunction(' + element + ');"><a href="#">Element information</a></span>');
where element is a object.
Also, I have a function defined:
someFunction: function(element) {
console.log(element);
.... // some... | common-pile/stackexchange_filtered |
Hibernate, search by primary key returns all from table
I have this issue with Hibernate that when i try to retrieve unique result using criteria hibernate returns all the content from the table.
Session session = HibernateUtil.beginTransaction();
Customer c = new Customer();
c.setCustId(custId);
Example ex = Example.... | common-pile/stackexchange_filtered |
How to use translation strings in flutter, and use Multiple languages
Kindly guide How to use multiple languages in Flutter, how to give the option to the user to switch between languages.
I have some strings to use in Flutter for multiple languages
English
"sensor_title": "SENSORS",
"sensor_gyroscope_title": "GYROSCOP... | common-pile/stackexchange_filtered |
st_transform does not work
I am trying to transform a geometry from srid 4326 to 26915.
SELECT
ST_Transform(s.geompos, 26915)
FROM sites s
But i got error :
ERROR: could not form projection (LWPROJ) from 'srid=4326' to 'srid=26915'
SQL state: XX000
I am on ubuntu 22.04, Postgresql 14, postgis :
POSTGIS="3.2.2 628da5... | common-pile/stackexchange_filtered |
What is the meaning of 奴 this poem from 红楼梦?
Poetry is never easy to understand. 奴 is used twice in this poem. I think this 奴 means I or me, in a sense of 'me, this poor slave'.
怪奴底事倍伤神?半为怜春半恼春。
怜春忽至恼忽去,至又无言去不闻。
昨宵庭外悲歌发,知是花魂与鸟魂。
花魂鸟魂总难留,鸟自无言花自羞。
愿奴胁下生双翼,随花飞落天尽头。
天尽头,何处有香丘?
一般的女性第一人称谦称罢了,我所读过的版本也作“侬”
我读的有:尔今死去侬收葬... | common-pile/stackexchange_filtered |
Multilingual database - Get all languages of post
I want to write an application where multilingual data is stored in a database. There are posts with an unique ID which are written in several languages (at least 2 languages, other languages will possibly be added). I already looked through several posts of stackoverfl... | common-pile/stackexchange_filtered |
Solve the ODE $y(1+x^3)y'+x^2(1+y^2)=0$
Solve the ODE $y(1+x^3)y'+x^2(1+y^2)=0$,
How do you solve this?
Separating and integrating I obtain:
$- \frac{1}{2} \ln(1+y^2) = \frac{1}{3} \ln(1+x^3) + C$,
Then exponentiating:
$(1+y^2)^{-\frac{1}{2} }= (1+x^3)^{\frac{1}{3}} e^C$
And then:
$y^2=A(1+x^3)^{-\frac{2}{3}}-1$; $A=e... | common-pile/stackexchange_filtered |
Number field that deletes non-numbers without clearing previous numbers?
I am using:
<input type="text" onkeyup="this.value = this.value.replace(/\D/g, '')">
I use it to prevent the user from entering anything except a number into a field on my page. However, I noticed that if the user types a number first but then ac... | common-pile/stackexchange_filtered |
Automate Dbeaver SQL Export
Dbeaver recently pushed an update to allow you to code an export. The documentation lists the export function as
@export {"type": "csv", "producer": {...}, "consumer": {...}, "processor": {...}}
I'm not sure how to format this to get the code to run. The JSON text in the documentation looks ... | common-pile/stackexchange_filtered |
glassfish servlet: how to know the referer url? if possible
with the HttpServletRequest object, we can have the getRequestURL, which shows the ressource requested, but in my case I would like to know from where the request comes:
I tried also getRemoteAddr() and getLocalAddr() that prints my local IP, (as I am running ... | common-pile/stackexchange_filtered |
Can pytest be made to fail if nothing is asserted?
Today I had a failing test that happily succeeded, because I forgot a rather important line at the end:
assert actual == expected
I would like to have the machine catch this mistake in the future. Is there a way to make pytest detect if a test function does not assert... | common-pile/stackexchange_filtered |
Weird phenomenon with the perfect squares of numbers under 14.
In math class (algebra 1), a classmate of mine realized this weird thing when asked the square or 21. In her head, knowing that $12^2$ = 144, she said 12 flipped is 21 so 144 flipped is 441, which is, in fact $21^2$. This doesn't work once you go past 14.
M... | common-pile/stackexchange_filtered |
Format of DateTime field not recognized by Spring
I am developing web application using Spring 3.2.4. I have some forms with fields containing date and time. Piece of my jsp:
<form:form method="post" action="/add" modelAttribute="licence">
...
<form:input type="datetime" path="beginDate"/>
<form:input type=... | common-pile/stackexchange_filtered |
The particle size distribution in this exposure tells us we're looking at classic wind-sorted material - notice how consistently it sits in that 20 to 60 micrometer range.
But the question is whether this accumulated rapidly or slowly. Look at these darker bands - they suggest periods when soil formation outpaced depo... | sci-datasets/scilogues |
Retain root privileges during long processes
I have a bash script that makes a backup of my data files (~50GB). The script is basically something like this:
sudo tar /backup/mydata1 into old-backup-1.tar
sudo tar /backup/mydata2 into old-backup-2.tar
sudo rsync /mydata1 to /backup/mydata1
sudo rsync /mydata2 to /backup... | common-pile/stackexchange_filtered |
Resizing Photoshop CS6 from 30" Cinema display to 21" iMac (OS 10.8.5)
I am using old Photoshop CS6 on 21" iMac (OS 10.8.5) with 30" Cinema display. When I take only my iMac on a trip, if I had Photoshop sized for the 30" display, the bottom right of the workspace runs outside the 21" active monitor. How can I resize i... | common-pile/stackexchange_filtered |
Is there a limit on how many questions can be asked in a given time frame?
I'm new to the site, and part of a group that is relatively new to Pathfinder. I've been asking a lot of questions (I think, anyway) and I can't help but wonder if I'm breaking a rule. I have more questions to ask, but I'm worried about getting ... | common-pile/stackexchange_filtered |
Ubuntu 12.10 64 bits not booting on a Dell Inspiron 15z Puissance (French) in UEFI mode
When trying to start Ubuntu from my USB key in UEFI mode (it works in Legacy mode, but I have to keep Windows) on a Dell Inspiron 15z , Grub starts, but when I choose any option, I get a black screen and my USB key stop teling me it... | common-pile/stackexchange_filtered |
Don't show job descriptions writing in languages the user cannot read
At the moment when you live in the Netherlands, Stack Overflow Jobs will show jobs from Germany, while this is fine, this creates the problem of Stack Overflow jobs assuming that I understand the German language.
An example here:
The job description... | common-pile/stackexchange_filtered |
How to correctly recreate sklearn (python) logistic regression predict_proba outcome for a binary classification
I have tried to recreate the outcome from sklearn's logistic regression predict_proba using the logistic/sigmoid function. However, I end up slightly off with my result. I am only looking at a binary classi... | common-pile/stackexchange_filtered |
PyCharm: How to run with prompt for params?
I am parsing the command line arguments in my Python code:
parser = argparse.ArgumentParser()
parser.add_argument('-e', '--epochs', type=int, default=50)
parser.add_argument('-ts', '--train-size', type=int, default=None)
parser.add_argument('-ti', '--title', default=None)
arg... | common-pile/stackexchange_filtered |
Will we write all the code in views python file?
I'm just learning Django. My English is not good, I apologize in advance.
Can't I create separate files for each view, such as Codeigniter or Laravel?
Do I have to write the codes of all pages in a single file? This is very difficult and complicated for me. There will ... | common-pile/stackexchange_filtered |
2007 Hyosung GT250R not starting, some repairs have been made
Hoping to find some good advice on fixing my (above mentioned) motorcycle. I'll try to keep it brief but with as much details as I can.
I had an issue with the bike and it sucked up some varnish from not properly winterizing the bike. I've since cleaned and ... | common-pile/stackexchange_filtered |
Resolution independent UNet implementation?
I'm wondering what's the easiest way to make a UNet model work with varying input resolutions? What I mean is that if I downsample 3 times, then with e.g. a 320x320 size image the spatial dimensions of feature layers will be:
320 -> 160 -> 80 -> 40 -> 80 -> 160 -> 320
On the... | common-pile/stackexchange_filtered |
Java classpath command line with opencsv writer
How to include all jar files in Java? I'm using command prompt.
My jar files is stored on C:\test\java
jarfiles is:
commons-io.jar, commons-lang.jar, opencsv.jar
And my java program is also stored on C:\test\java
I've searched on google but it seems I cannot find the pro... | common-pile/stackexchange_filtered |
Translation of Ex. 4:8–9
Sh'mos 4:8–9:
וְהָיָה אִם לֹא יַאֲמִינוּ לָךְ וְלֹא יִשְׁמְעוּ לְקֹל הָאֹת הָרִאשׁוֹן וְהֶאֱמִינוּ לְקֹל הָאֹת הָאַחֲרוֹן.
וְהָיָה אִם לֹא יַאֲמִינוּ גַּם לִשְׁנֵי הָאֹתוֹת הָאֵלֶּה וְלֹא יִשְׁמְעוּן לְקֹלֶךָ וְלָקַחְתָּ מִמֵּימֵי הַיְאֹר וְשָׁפַכְתָּ הַיַּבָּשָׁה וְהָיוּ הַמַּיִם אֲשֶׁר תִ... | common-pile/stackexchange_filtered |
How to uncheck checkboxes on a button click?
I have the following 3 input checkboxes, after checking the checkboxes, I would like to clear all the checked items after the "Clear Checkbox" button is clicked. I attempted the following but it doesn't work.
Stackblitz working Example
app.component.html
<ul *ngFor="let d of... | common-pile/stackexchange_filtered |
Procedure in PL/SQL with create and cursor
Can we have a Procedure with
First create a table suppose
create table INCOME_GROUP(income_compare_groups varchar(100)) ;
Then insert data into this table.
insert into INCOME_GROUP values (10-20);
Then Use this table into a cursor.
CURSOR c1 IS(select *from INCOME_GROUP)... | common-pile/stackexchange_filtered |
Inheritance vs composition: How would you implement an "unordered list"? Subclass of list, or composition?
This came up at work and left me thinking about the best way to model this:
In Python, we have the built-in list container, which is a mutable sequence. Equality between two lists is defined as equality of all ite... | common-pile/stackexchange_filtered |
Is centrifugal force equal in magnitude to the centripetal force in the frame of a body undergoing circular motion?
I was working out the minimum tangential velocity required for a swing to complete a full revolution and assumed the centripetal force is equal to the centrifugal force, so that I could set the weight for... | common-pile/stackexchange_filtered |
How to save string value to another string in c# Windows Applications
I have a user_name defined above in class Form1 : Form
And user_name is defined above as,
string user_name = "Rammy";
and i want to use this user_name in below line, but it is not executing, and giving error "A field initializer cannot reference the... | common-pile/stackexchange_filtered |
What is the space of closed curves (regardless of scale)?
Consider the set of closed curves in $\mathbb{R}^2$ trough the origin and do the quotient by the following:
Two curves are equivalent if one can be reparametrized into the other
Two curves are equivalent if (the appropiate reparametrized versions) one is a scal... | common-pile/stackexchange_filtered |
How can I prevent twine from wrecking spindle bearings in a mower?
I have a grasshopper 725D mower. This is a 3 blade ztr mower.
Blades are mounted on 1"shaft that passes through a pair of 1" x 2" x 1/2" bearings. Bearings rest on a step in the spindle case, and also have a sleave that supports the centres. The spin... | common-pile/stackexchange_filtered |
SVN Merge Between Sibling Branches
In SVN I have two branches, 1.0 and 2.0. If I fix an issue in 1.0, how do I merge that fix into 2.0 and vice versa?
Consider the following scenario:
I make a fix on the 1.0 branch and it creates a new file A (rev X).
I do a plain merge with just that fix from 1.0 to 2.0 (rev X+1)
I ... | common-pile/stackexchange_filtered |
symmetric relation definitions
Definition One: A relation over a set $X$ is symmetric if for all $a,b$ $\in X$, $(a,b)\in R$ if and only if $(b,a)\in R$.
Definition Two: A relation over a set $X$ is symmetric if for all $a,b$ $\in X$, $(a,b)\in R$ if $(b,a)\in R$.
Am I correct to believe that, if I want to prove a rel... | common-pile/stackexchange_filtered |
Why is my Datepicker not updating the value of input field?
I have an input field whose value I want to change when I select a date in my date picker but its not doing that. The reason I want to change the value of the input field is because I want to eventually submit this as a part of a form and for that value has to... | common-pile/stackexchange_filtered |
Central limit theorem for sequence of r.v.s with "extending" uniform distributions
Does the Central Limit Theorem hold for independent r.v. $U_n \sim \mathrm{U}([0,n])$? Are there any deterministic $a_n, b_n$ such that
$$
\frac{\sum_{k=1}^n U_k - a_n}{b_n} \implies \mathrm{N}(0,1)
$$
I guess the answer is no. Do I have... | common-pile/stackexchange_filtered |
Deserializing Json With Unknown Key - ASP.Net Core 3.1
I'd like to deserialize the following JSON with .Net 3.1
My difficulty is the "1234" key for this object is unknown when this object is serialized. How could I deserialize this? The values I want to keep are the nested "first_name" and "last_name" attributes
{
"... | common-pile/stackexchange_filtered |
Can diffusion create a vacuum?
As I understand it, helium diffuses at appreciable rates even through materials like glass or metal that are essentially impermeable to atmospheric gases.
So if I have a metal canister filled with helium at atmospheric pressure, the helium will diffuse into the walls of the canister and f... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.