text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Keyboard opacity
It is possible to change the keyboard opacity on Windows Phone 7.5? I saw an article that explains how to create a custom keyboard but it was not quite what I wanted to do. I want to use the WP7 keyboard.
No, you can't change the layout of the software keyboard on Windows Phone.
And what about this ... | common-pile/stackexchange_filtered |
Examples of coexact sequences of groups which are not exact
Say a sequence $A\overset{f}{\to}B\overset{g}{\to}C$ of group morphisms is coexact if $\operatorname{Coker}f= \operatorname{Im}g$.
The first isomorphism theorem ensures that exactness implies coexactness. In an abelian category they coincide (because the prope... | common-pile/stackexchange_filtered |
force creating object when using raw_id_fields in Django
I'm using raw_id_fields in my admin.py to change the ForeignKey's select box to an input box.
When saving the form, it checks if the object that I wrote in the ForeignKey box exists, if not, it raises an error saying "Select a valid choice. That choice is not one... | common-pile/stackexchange_filtered |
Is it possible to run an animation while angular is updating a component?
Take the following (simiplified) code as an example:
/* TimeLine component */
<ul class="timeline">
<li *ngFor="let message of messages; let i = index; trackBy: trackByFn">
<timeLineItem [message]="message"></timeLineItem>
</li>
<... | common-pile/stackexchange_filtered |
Python save images in three channels and float type (to avoid losing precision)
I have a picture with pixels in float32 type. I want to retain float type in my image in deep learning tasks.
However, from what I know PIL image save function only supports uint8 data type, but I don't want to convert my float32 data to ui... | common-pile/stackexchange_filtered |
How can I obtain a function satisfying the following conditions?
I'm sorry, I don't know what else to specify on the title..
the domain is all real numbers which $x \ne 1$
$\lim\limits_{x \to \infty}$$f(x)=2$
$\lim\limits_{x \to -\infty}$$f(x)=-2$
$\lim\limits_{x \to \ 1+}$$f(x)=-\infty$
$\lim\limits_{x \to \ 1-}$$f(x)... | common-pile/stackexchange_filtered |
What is the minimal way to write a free function to get the member of a class?
(This question popped to my mind after reading this one and its accepted answer.)
Assume a class Foo that you cannot modify, that has a public member bar, but no getter for it.
You might want to write a function to get that memeber when pass... | common-pile/stackexchange_filtered |
Why does PowerShell not work if I use WinRS?
I have a file "test.ps1" and its content is as below:
$getRSDBName =
{
Add-PSSnapIn Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$rsdb = Get-SPRSDatabase
return $rsdb
}
$rsdb = invoke-command -scriptblock $getRSDBName
$rsdb
It work if I ca... | common-pile/stackexchange_filtered |
Hexagons are best for tiling 2D space in terms of perimeter vs area. What's best for 3D space?
If you think of the bee-hive problem, you want to make 2D cells that divide the plane of honey into chunks of area while expending the least perimeter (since the perimeter of the cells is what takes up resources/effort). The ... | common-pile/stackexchange_filtered |
Java: Reading a pdf file from URL into Byte array/ByteBuffer in an applet
I'm trying to figure out why this particular snippet of code isn't working for me. I've got an applet which is supposed to read a .pdf and display it with a pdf-renderer library, but for some reason when I read in the .pdf files which sit on my ... | common-pile/stackexchange_filtered |
Arel: Need help converting SQL statement into Arel code for Rails
Trying to get the following SQL to work in a Rails query.
The Query:
select addr.*
from addresses addr
join users u
on addr.addressable_type = 'User'
and addr.addressable_id = u.id
join customers c
on c.id = u.actable_id
and u.actabl... | common-pile/stackexchange_filtered |
For a SQL Server page, is there a distinction between being "in memory" and "in the buffer pool"?
The following excerpt is in Chapter 10 of T-SQL Querying by Itzik Ben-Gan. He is listing the benefits of In-Memory OLTP tables over traditional pages.
You can also dispense with the considerable infrastructure used to tra... | common-pile/stackexchange_filtered |
Bison: distinguish variables by type / YYERROR in GLR-parsers
I'm working on a parser, using GNU bison, and I'm facing an interesting problem. My actual problem is a bit different and less interesting in general, so I will state it a bit differently, so that an answer would be more useful in general.
I need to distingu... | common-pile/stackexchange_filtered |
Author's name repeated for abbreviated work in biblatex philosphy-modern bibliography
I'm using the philosophy-modern citation style in biblatex, and I cite two works by the same author, for one which I use an abbreviation and for the other of which I don't. In the bibliography, it ends up printing the author's name tw... | common-pile/stackexchange_filtered |
Express router is not routing to the correct path even though the path works
I am trying to use Express router in order to have my app.js file be less packed with code but I am having issues getting it to route to the correct place.
The page that it should be routed to is localhost:5000/users/login but it is instead ro... | common-pile/stackexchange_filtered |
Difficulty understanding the presence of a resistor in a current feedback amplifier
In the OPA695 data sheet, page 24, fig 51 (current feedback amplifier), what is the purpose of the resistor? Why are these values of resistance (806 Ω) in the divider bridge?
Sometimes (but not in this case, I think) a resistor is put... | common-pile/stackexchange_filtered |
Java DB error when creating a table in Netbeans
I am creating a table within my database in Netbeans (Java DB).
I have created the database and I am connected to it.
This is my first and only table:
and the error I am receiving is this:
I am an amateur when it comes to databases and I have tried searching high and lo... | common-pile/stackexchange_filtered |
SQL - Optimize the execution time
I am trying to fetch data from stackexchange database. My query is:
select distinct top 50 U.Id, U.DisplayName, U.Reputation,
Tags = stuff( (SELECT ','+p2.Tags
FROM posts p2 join votes V on p2.id = V.PostId
where V.VoteTypeId=5 and ... | common-pile/stackexchange_filtered |
Use Laravel-filemanager without editor
I am planning to use the Laravel-filemanager laravel-filemanager in my project. In the documentation it is described to integrate with the CKEditor. But I want to use this file manager separately for a input field.
So your question is: How can I use this without CKEditor?
@Dees0... | common-pile/stackexchange_filtered |
Spring system - 3 DoF system and its properties while changing stiffness
I was given the attached 3 degree of freedom spring system with the purpose of analyzing it.
I came up with the following equation of motion
and then I ran Matlab to calculate the corresponding natural frequencies and mode shapes using eigenva... | common-pile/stackexchange_filtered |
Why are the axial and circumferential normal stresses in an axially loaded fluid cylinder equal?
Some background: I posted this question on the shear rigidity of a fluid cylinder in a sloppier form earlier.
Thanks to some helpful feedback from Chet Miller I went back and reviewed tensors before reframing the question.
... | common-pile/stackexchange_filtered |
Is a double times an unsigned unsigned long always a double?
unsigned long long i = 1000;
Shouldn't now 0.1*i be automatically converted into a double? Why then isn't the compiler warning me when I pass 0.1*i into a function parameter that expects an unsigned long long? I thought the compiler was supposed to warn of s... | common-pile/stackexchange_filtered |
FSL Service Appointment Schedule more than 2 records in dependent mode (Same Start)
I have following requirement:
"As an dispatcher agent I want to schedule up to 3 or more Service Appoitments for the same time to different Service Resources."
In Field Service Lightning we have a feature to create Scheduling Dependenci... | common-pile/stackexchange_filtered |
Python internal entity mocking
I'd like to test a method, whether it calls a specific method of a temporary internal object or not. (ConfigParser.read)
So the object is created inside, and it's not accessible from the outside after the method exits.
Using python 2.7
In foobar.py
import ConfigParser
class FooBar:
... | common-pile/stackexchange_filtered |
Laravel sending mail from different email addresses
So I am working on a CRM using laravel and it has to have a built in mail box. The users emails and passwords on the app are going to be same as for the emails on the IMAP server. My question is should connect to each different email account when sending an Email or c... | common-pile/stackexchange_filtered |
Java List of List of List, better solution?
I created a class name objectA that has lets say 4 variable:
Date time; String text; int var1, int var2
I need to create a list of ObjectA(). And then group them first by Time, second by var1, and then by var2.
This is because i want to be able to compare lists that has diffe... | common-pile/stackexchange_filtered |
Next.js 13.3 appends txt to URLs when navigating pages
I'm a student just starting to study the web.
I built a project with SSG (output: "export") for uploading to Cloudflare pages.
I am using Next.js version 13.
I used something called app routing, but when I build with SSG, I get "txt" in the URL address when I go t... | common-pile/stackexchange_filtered |
SQLite3 Database - No such collation sequence error
I am getting no such collation sequence: en_US error when I try to do a select count(*) from OR insert a record into a particular table in the database.
I am no database expert but I tried to google the error and what I understand is that the table is created with COL... | common-pile/stackexchange_filtered |
Qubits from fermions?
I'm confused about qubits and fermions/bosons. I would like to look at a specific example:
Take an electron (which is a fermion) with its spins as a qubit system. A spin up state is the $\lvert 0 \rangle$ state, and a spin down state is the $\lvert 1 \rangle$ state. If I want a two qubits state, f... | common-pile/stackexchange_filtered |
requests.html .find method returns empty array (css selector has no problem)
I am trying to scrape the opensea's rankings page.
The code below returns the right HTML Element object.
But the next one returns an empty array
# this one works fine
from requests_html import HTMLSession
url = 'https://opensea.io/rankings'
... | common-pile/stackexchange_filtered |
A
Look at this hydrogen line from Vega - it's significantly broader than the same line from our lab spectrum. The width difference has to mean something about the stellar atmosphere.
B
The atoms in Vega's photosphere are moving much faster than in our controlled lab conditions. Each hydrogen atom has a slightly differ... | sci-datasets/scilogues |
I have nothing to show for the last five years but graduate school and I can't finish/want to leave this field
I have no formal work experience. I have a BA in sociology and went into graduate school for education. Instead of following my instincts or really thinking about whether I could teach childhood as a job, I to... | common-pile/stackexchange_filtered |
Can the About page be improved?
New user comments say, "this site's on/off-topic definition is kind of confusing compared to other SE sites", and, "I took the tour".
The "tour" must be a reference to the About page (because the hyperlink to that page from the Help button on the top-of-page banner says, "Tour - Start he... | common-pile/stackexchange_filtered |
putting query in exec
SET @count = 0
SET @select = ''
WHILE @count < @c_count
BEGIN
SET @count = @count+1.
SET @select = @select+'cinema'+cast(@count AS VARCHAR)+'+'
END
SET @select = SUBSTRING(@select, 1, LEN(@select) - 1)
select @qty = qty from #qty
SET @buffer = 'UPDATE #table SET total_sales = '+@select
PRI... | common-pile/stackexchange_filtered |
How can I set ImplementationFlags of MethodBuilder to AggressiveInlining
What I am trying to do is to set the ImplementationFlags of MethodBuilder to AggressiveInlining. I am building some things at runtime just to avoid virtual method invocations, so any additional performance gain is very welcome.
It is weird but it ... | common-pile/stackexchange_filtered |
When should I raise LookupError in python?
Python's built-in exception documentation defines LookupError as:
The base class for the exceptions that are raised when a key or index used on a mapping or sequence is invalid: IndexError, KeyError. This can be raised directly by codecs.lookup().
Should this base class be u... | common-pile/stackexchange_filtered |
Detect internal order/created in administration
We have built a custom payment provider, see http://pmc.digital/pt/blogue/junho-2016/integracao-mb-way-com-kentico-cms/ (PT only sorry, see https://translate.google.com/translate?hl=en&sl=pt&tl=en&u=http%3A%2F%2Fpmc.digital%2Fpt%2Fblogue%2Fjunho-2016%2Fintegracao-mb-way-c... | common-pile/stackexchange_filtered |
Can I do This With Numpy Instead of a For Loop in Python?
I am implementing a variant of the the ants algorithm in a discrete 2d grid. The design is similar to how Reinforcement Learning environments work, where there is a state variable, and action(s) to transition the environment from one state to another. The state ... | common-pile/stackexchange_filtered |
GitHub Actions: read from artifact and assign to variable?
Workflow artifact "tag.txt", created in the first job, has only this inside "1.0.0".
In the second job, the artifact is downloaded and unpacked, and I would like to read the "1.0.0" line of text from the "tag.txt" file and assign it to an env variable to use it... | common-pile/stackexchange_filtered |
setxkbmap command and set local keyboard
Suppose the following code of shell:
setxkbmap us ## set keyboard layout to English language
## OR
setxkbmap ir ## set keyboard layout to Persian language
### OR
setxkbmap ru ## set keyboard layout to Russian language
I need to set only my keyboard layout for my one program , ... | common-pile/stackexchange_filtered |
Nemo Filemanager suddenly looks different
Today I started Nemo and noticed it's new (ugly) look which looks like some kind of fallback mode:
When looking at the package history, I only see recent updates of phonon packages and the installation of wireshark and minitube. The current version is 2.0.8, downgrading to ver... | common-pile/stackexchange_filtered |
SqlAlchemy 2 foreign_keys and _user_defined_foreign_keys attributes not found on relationship property
I am getting AttributeError: _user_defined_foreign_keys on relationship fields in my versioned table.
Table one is a type table:
class Base(AsyncAttrs, DeclarativeBase):
pass
class NotificationType(Base, Versione... | common-pile/stackexchange_filtered |
In website filters, is it correct to include "ago" in, for example, "Earlier than one year ago"?
On one of the websites I have recently visited, it allowed me to filter the articles published by month/year. The wordings were something like this,
Earlier than one year ago (29000)
one year ago - one month ago (1500)
one ... | common-pile/stackexchange_filtered |
Proguard outjar throwing new errors
I'm trying to obfuscate a jar file with proguard through its gui.
My project uses gradle, but I couldn't make it work, I didn't find tutorials and I don't understand much about gradle, so the documentation is difficult for me to understand.
This is my proguard config:
-injars 'build\... | common-pile/stackexchange_filtered |
SSD1306 as a framebuffer with fbtft driver on a raspberry pi 2
I am facing an issue when trying to use my oled screen as a standard and simple linux framebuffer.
I followed these instructions for the wiring
https://learn.adafruit.com/ssd1306-oled-displays-with-raspberry-pi-and-beaglebone-black/wiring
And try to load t... | common-pile/stackexchange_filtered |
bolt manufacturing normal distribution problem
The diameter of a bolt in a manufacturing process distributes $N(μ,σ^2)$, a bolt is considered fit if it's diameter's deviation from the mean is less than 2.
What's the probability that a single bolt is fit?
I still don't have a very good grasp on normal distribution and a... | common-pile/stackexchange_filtered |
Why the change in wording?
In this question I woriginally wrote:
Philosophical zombies are beings that look like human beings, act like them, drink, eat, talk, and get f****d like human beings.
this was changed to:
Philosophical zombies are beings that look like human beings, act like them, drink, eat, talk, and in ... | common-pile/stackexchange_filtered |
Issue in promoting app from beta to production
I had uploaded an app to Beta and had a few users test it, it was fine and later I moved it to production and it got published as well. After it got published, it isn't working. This is the error it shows:
Cannot open the html file 'http://localhost:0/':
uriPort <= 0: ... | common-pile/stackexchange_filtered |
Unique alphanumeric key generation in MSSQL
I have table with char(4) field which is used as key. Value for that is generated (max + 1). But not it has reached to it's max(9999). Cannot change the data type of the column since that is used it so many places.
I came up with a solution like below...
9999 -> A000...A999-... | common-pile/stackexchange_filtered |
Validate DateTime with FluentValidator
This is my ViewModel class:
public class CreatePersonModel
{
public string Name { get; set; }
public DateTime DateBirth { get; set; }
public string Email { get; set; }
}
CreatePerson.cshtml
@model ViewModels.CreatePersonModel
@{
ViewBag.Title = "Create Person";
}
... | common-pile/stackexchange_filtered |
RealityKit – ARView with '.ar' mode + ARView with '. nonAR' mode
I want to create an AR experience with a full screen video with AR elements, and in addition a small view at the bottom of the screen to show some relevant 3D objects.
In the past, I used to implement such features with an ARSCNView for the AR part, and a... | common-pile/stackexchange_filtered |
How to allow horizontal overflowing in a richtextbox control in vb.net?
I'm Working on an application that uses RichTextbox to display and edit text. The Problem is, if a line will gets longer than the textbox's width it will breaks up to the next line.
How can I allow user to enter long lines into the Rich Textbox?
T... | common-pile/stackexchange_filtered |
Conversion of integer pointer to integer
Tried following code to check what happens when we convert integer pointer to a integer .
#include<stdio.h>
#include<stdlib.h>
int main()
{
int *p;
int a;
p = (int *)malloc(sizeof(int));
*p = 10;
a = (int)p;
printf("%d\n... | common-pile/stackexchange_filtered |
How to validate boolean values from HTML5 to vmWare Orchestrator?
I'm presenting a vmWare Orchestrator workflow on a website using Ruby and HTML5.
When I run the workflow inside Orchestrator it validates and runs the workflow.
When the workflow is presented on my website I receive 400 code validation errors when subm... | common-pile/stackexchange_filtered |
Fix a tomcat6 error message "/bin/bash already running" when starting tomcat?
I have a Ubuntu 10.04 machine that has tomcat6 on it. When I start tomcat6 with /etc/init.d/tomcat6 start I get
* Starting Tomcat servlet engine tomcat6
/bin/bash already running.
and the server fails to start. Unfortunately, there is nothi... | common-pile/stackexchange_filtered |
What would be the result of a body decreasing safe speed in a banked circular arch?
A banked circular arch of radius $r$ makes angle $\theta$ with the ground. Any moving body of mass $m$ having speed $v$ can cross the arch safely. If they fall off from the arch for increasing speed what happens when they decrease speed... | common-pile/stackexchange_filtered |
Discount Coupon Codes with the opt-in functionality in Marketing Cloud
I am trying to send the discount coupon codes upon opting-in to my contacts with the below conditions:
Initial Opt-in email - Opt-in to our emails and we’ll give you a discount code (click button to opt-in)
Coupon code email - Here’s your unique co... | common-pile/stackexchange_filtered |
Toggling SIM2 on and off
Is there any widgets available for toggling the SIM2 turn on and off. I have Samsung J7 dual sim phone and for internet/data, I use SIM2. For getting maximum battery life, I would like to turn off the SIM2 and turn it on whenever I need internet.
Please let me know if you know any android featu... | common-pile/stackexchange_filtered |
How to encrypt files in cocoa?
How can I encrypt (256 bit AES) files on a Mac in a Cocoa application? I've been having trouble with this for a very long time. Also, would I have to extract the contents of the file before I encrypt? Clear step by step instructions would be much appreciated. I am a noobie when it comes t... | common-pile/stackexchange_filtered |
Rails order / sort dates based on two different dates
Each record contains two fields - field1 and field2. Both contain dates.
For reach record: 1 field might have been filled in, for another it might be 2 of the fields or none at all.
I'd like to in the most efficient way possible order them based on this.
So it would... | common-pile/stackexchange_filtered |
Unable to access html page
Hello i dont know what the problem.. why when i click on button about us i am not able to be in the new page, but the url in the website change. The page reads only the extended block but the new one no.
this is the template (only the one related to the buttons)
<div class="btn-group cust-dr... | common-pile/stackexchange_filtered |
Spring batch job launching same job with incremented parameters
I am looking to process a large tree, level by level. Job 1 would have parameter 1, job 2 would get parameter 2, etc ... Each job calling the next one while there is still a level to process.
I have a tasklet in which the data is processed, then inside I t... | common-pile/stackexchange_filtered |
AttributeError: 'WSGIRequest' object has no attribute 'user'
I'm running my Django code, but get this error
AttributeError: 'WSGIRequest' object has no attribute 'user'
My Django version is 1.8.2, and here is my middleware class of setting.py
MIDDLEWARE_CLASSES = (
'khxia.middlewares.PeeweeConnectionMiddleware',
'dj... | common-pile/stackexchange_filtered |
Extract Excel VBA filenames from string
I want to extract file names from a string. The length of the string and the length of the file name are always different.
Must be done with VBA!
String:
href ist gleich: "abc/db://test.pdf|0|100">Bsp.:
I would like that:
test.pdf
I do not know how to proceed.
It would also be ni... | common-pile/stackexchange_filtered |
Unit testing class with flow collection in init
How can I best go about unit testing flows that are collected in a class's init function?
The only solution I've come up with so far requires hard-coded delays.
Consider a sample implementation of a NotificationService and a UserSession that uses said service.
class Notif... | common-pile/stackexchange_filtered |
Meeting with Student Ombuds tomorrow - any advice please on how to do so effectively?
I'm meeting with the Student Ombuds, to deal with bullying and harassment situations with my school. I've gotten legal involvement, and this is with respect to my disabilities.
I take exams with accommodations, due to some disability ... | common-pile/stackexchange_filtered |
Download a file from a specific link and store it in device iOS?
I am currently working on a iOS application in which I show a download link to download a Excel sheet. I want to save that downloaded file to a location of my iOS device where all my downloaded applications are stored by default, so that I can access it l... | common-pile/stackexchange_filtered |
Find files of the same type in the same directory with Python
Is there a way to find all the files of a particular file type that is specified and recursively call them to be read until you have read all of the files? (This is in Ubuntu)
For example:
In directory /home you have files a.png, b.txt, c.txt, d.txt, e.jpeg
... | common-pile/stackexchange_filtered |
Using AWS Cloudwatch Agent to Monitor Openstack IaaS cloud
Please, I do want to know if it is possible to monitor instances in openstack using AWS Cloudwatch agent or using any other AWS resource. If not possible, what will be my best tool(s) to go for as we currently have instances running in openstack but don't have ... | common-pile/stackexchange_filtered |
What is the correct way to subscribe to a websocket from a Rails server
I'd like to subscribe to a websocket from my Rails server so that every time a message is received I can create a background job.
Faye::WebSocket::Client seems to do the trick but i'm not sure where to put it (thread, separate process?). Ideally i ... | common-pile/stackexchange_filtered |
In RSA, how does the CPU deal with this huge modulus (8192 bits)?
Whilst I understand how the RSA algorithm works, I don't understand how the CPU operates when it needs to use the mod function with a huge number $n$, for example.
$n = 8192$ bits;
$c = m^e \mod n$;
In essence my question is how does the CPU deal with ... | common-pile/stackexchange_filtered |
Laravel @push not working in create_category.blade.php
Created a template folder inside views folder and in header.blade.php and added the following code
<ul id="sidebar">
@stack('sidebar')
</ul>
And created another category.blade.php inside views folder and added the following code
@include('template/hea... | common-pile/stackexchange_filtered |
3 Way Switch Wiring Diagram
I have switch-switch-light fixture that stopped working (after I tried to replace with a digital wall timer switch, which ended not working) - changed all switches around with other existing ones in use and even the light fixture and still the light does not turn on - I do get power in the c... | common-pile/stackexchange_filtered |
Copy file from linux to windows share with C# (.NET core)
I'm using .NET core for an application running on a Linux machine (a docker container, to be exact)
How can I copy a binary file from there to a windows network share (including username & password)?
All solutions I've found were windows specific, but nothing re... | common-pile/stackexchange_filtered |
Reading PCM audio file is giving sometimes wrong samples
I have a 16 bit, 48kHz, 1-channel (mono) PCM audio file (with no header but it would be the same with a WAV header anyway) and I can read that file correctly using a software such as Audacity, however when I try to read it programatically (in C++), some samples j... | common-pile/stackexchange_filtered |
Max array size using #define
Possible Duplicate:
stack overflow c++
I have the following program for generating prime numbers:
#include<iostream>
#include<cmath>
#include<algorithm>
#define MAX 10000000
using namespace std;
int main(int argc, const char *argv[])
{
bool prime[MAX+1];
fill_n(prime,MAX+1,tr... | common-pile/stackexchange_filtered |
Drawing parallels on map
Example http://bl.ocks.org/mbostock/5731693 shows the equator drawn on an equirectangular map, which then transitions to another projection. On the equirectangular projection, the equator is just a straight line running horizontally.
Funny things happen though if I move the parallel to another ... | common-pile/stackexchange_filtered |
Can there be a price difference between online checkin and checking in at the airport?
I've just heard that some airlines, low-cost-carriers in particular can charge a fee if you check in at the airport rather than having checked in online in advance.
Is this true? Are there some airlines or airports or countries or ki... | common-pile/stackexchange_filtered |
I get a 404 only in firefox/IE while Chrome/Safari works fine
I found a strange behaviour in firefox. While everything works fine with Chrome, firefox leads to 404 page on most links. So the main URL works, but subdirectory like url.com/news/ not. When I use private mode in firefox it works. When I clear the cache it ... | common-pile/stackexchange_filtered |
Automatic way to classify if a time series has a peak in a particular month/qtr of the year
I have around 20 Million time series(say of product demands or merchant's activity for a few past years). I am looking to develop:
An automated way to classify these time series as being regular or seasonal(Seasonal here means ... | common-pile/stackexchange_filtered |
Fedex Ground not showing
I have tried everything, and still can't get ground shipping to show. I've changed the packaging method, I've turned off Residential Delivery (set to no), I've added home delivery. Nothing works.If there are any other suggestions, I'd sure appreciate the help. Currently using Magento CE 1.9.4
... | common-pile/stackexchange_filtered |
is there a way to check if a param contains a class or a class instance?
I want the wrapper my_function to be able to receive either a class or class instance, instead of writing two different functions:
>>> from module import MyClass
>>> my_function(MyClass)
True
>>> cls_inst = MyClass()
>>> my_function(cls_inst)
... | common-pile/stackexchange_filtered |
How does iTunes track/identify a song in its music library?
This may not sound like a programming issue, but I'm trying to implement similar rating feature like iTunes does, and I'm curious about how iTunes track a song like this:
After I rate a song in iTunes, even though I change the meta tags(artist/title/album), it... | common-pile/stackexchange_filtered |
"Invalid escape sequence found in "" string." reported from JSON call using RestKit
The web service call is failing with the message "Invalid escape sequence found in "" string." being shown through objectLoader:didFailWithError: method.
The JSON that is being fetched from the server has some \ characters and that appe... | common-pile/stackexchange_filtered |
how to capture a video using a rtsp link using node.js
i have a rtsp link and i need to in some moments capture few seconds and save that file in my computer like a mp4 file or something like
i tried to use that code but doesnt worked for me
const ffmpeg = require('fluent-ffmpeg');
// RTSP stream URL
const streamUrl =... | common-pile/stackexchange_filtered |
Audio stream playing in React app with a websocket connection
I am sending an audio to websockets server, which responds with a stream. Since data comes in chunks, I am not able to play it seamlessly in the browsers, as new data gets appended to the existing audioBlob. I am not a novice React or Front-end for that matt... | common-pile/stackexchange_filtered |
Angles of a quadrilateral from a ratio.
I cant seem to find the angles here any suggestions ?
A quadrilateral has angles in the ratio 1:2:3 and a fourth angle that is 31 degrees larger than the smallest angle.What is the difference in degree between the middle two angles ?
Let x be the degrees of the smallest angl... | common-pile/stackexchange_filtered |
Create posts without login from frontend
I am new to WordPress development ,I am using wp_insert_post() to create posts from front end, This function works fine when I have already logged in but I need to implement this without any login .
can you please guide me the exact way how this can be achieved .
$post = array(... | common-pile/stackexchange_filtered |
Programmatically creating a custom block
I followed the steps from https://www.webwash.net/programmatically-create-block-drupal-8/.
I have a view already created and I want to render this view in this block.
I can't find a good documentation for build() function.
The reason is that I want to hide the view for a role i... | common-pile/stackexchange_filtered |
export alias in makefile
I have Maven 3.6.3 installed in my machine and I use mvn to run it.
I defined an alias in .bashrc as follows : alias mvn3=mvn
So now I can do :
mvn3 dependency:copydependencies
Now, I have a makefile with the following command :
dependencies:
mvn3 dependency:copydependencies
But when I run
... | common-pile/stackexchange_filtered |
Construct a field of 27 elements and find the structure of its additive group.
My attempt:
To construct a field of 27 elements. We need a 3 degree irreducible polynomial over $\mathbb F_{3}$. We know that such a polynomial $x^{3}+2x^{2}+1$ is irreducible over $\mathbb F_{3}$. Then we can construct a field
$\mathbb F_{2... | common-pile/stackexchange_filtered |
Making InDesign break all words but not hyphenate them
I'm looking for a way to make InDesign break words regardless of good design practices and not hyphenate them.
For instance:
The quick brown fo
x jumps over the l
azy dog.
I would have done it manually, but this is text that will go over many pages. Also I'm not s... | common-pile/stackexchange_filtered |
Why Japan makes most of Manga's which supplied to the world?
Almost 99% Manga are written in Japan. Why is that so? Do they have any culture which support it? e.g. Naruto, One Piece, Death Note, Fairy Tale, Bleach etc.
Well ... Mangas are from Japan initially, so it already explain why they are the ones publishing the... | common-pile/stackexchange_filtered |
Windows 8.1 File History not opening
My problem is that something uses large amounts of space on my main partition (100 GB out of 250 GB). I looked for everything and by now I suspect the Windows File History to be the one taking up the space. (see below for steps I did to find the space user). Now when I go to Control... | common-pile/stackexchange_filtered |
1
Dana Morris: The client's optimization problem has been bugging me for weeks. We can get decent approximations when their constraint graphs are dense, but performance crashes completely once we drop below a certain threshold.
2
Jamie: What kind of threshold are you seeing? Is it gradual or more like a cliff?
3
Dana... | sci-datasets/scilogues |
Characters conversions between Windows and OSX
Premise
I was not able to give a proper title to the question, please help if you can improve it. I would also like some help with tags.
Question
I'm in MATLAB (Win 8.1) trying to read files from another hard disk, which is a HFS+ drive with OSX.
for k = 1:10000 //%lot of ... | common-pile/stackexchange_filtered |
Tridion.ContentManager.Log file not getting generated
I created an event system that uses Tridion.Logging DLL to write log statements. Following is a sample log statement from the event system code.
Logger.Write("[EventsUtilities.ComponentSave]: ", "Starting page creator ",
LoggingCategory.General, System... | common-pile/stackexchange_filtered |
Multiple selectedvalues from single combobox selection
I have a combobox that displays items from an ObservableCollection (which contains several directory links.
I then have several treeviews and datatables, all of which needs to reference the directories based on the combobox selection. I know I've seen a similar que... | common-pile/stackexchange_filtered |
How to refactor this Ruby sanitize hash method to make it more idiomatic?
This method takes a hash and returns a new hash without sensitive information. It does not modify the hash passed in.
Is there a more Ruby-like, idiomatic way of doing it?
def sanitize hash
new_hash = hash.dup
protected_keys = [ :password, 'p... | common-pile/stackexchange_filtered |
Far-too-simple proof of (limited) Debreu representation theorem; where's the error?
Debreu's theorem: Let $X$ be a topological space that is connected separable or second countable. A binary relation relation $\succsim$ on $X$ is complete, transtitive, and continuous if and only if there exists a continuous function $... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.