text stringlengths 15 59.8k | meta dict |
|---|---|
Q: R: source_gist not working I am trying to use source_gist from the devtools package but I am encountering an error:
> library(devtools)
> source_gist("524eade46135f6348140")
Error in r_files[[which]] : invalid subscript type 'closure'
Thanks for any advice.
A: Agree this is a bug, which I see you've submitted.
A t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38345894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Update Column using Row Number based on primary key column in SQL Server I have table in below format
UserID SeqID RowNum
1 8041 0
1 8045 0
1 8045 0
2 6587 0
2 5624 0
I want to update the RowNum column based on the userId column as follows
Us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29821645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: problem while creating table from maven spring mvc I am not able to auto-create table from maven spring mvc.
I was doing a spring mvc project using maven. By far i have got no errors but when i am trying to create table in my database using applicationconfig.xml it is not working. i have searched over the internet b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53790356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does comparison operator works with null int? I am starting to learn nullable types and ran into following behavior.
While trying nullable int, i see comparison operator gives me unexpected result. For example, In my code below, The output i get is "both and 1 are equal". Note, it does not print "null" as well.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15777745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "198"
} |
Q: Task scheduler to execute powershell script does not get response to webRequest I have Powershell script that has below code
$instance_id=(Invoke-WebRequest -URI http://169.254.169.254/latest/meta-data/instance-id)
Write $_ "webrequest command output = " $instance_id >> C:/auto_register.log
$instance_id=$ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50332964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Overlap of DNA in Python programming The output should be the similarity length, in this case 15(length)
Can anyone helps me?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/41323063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run schedule task in c# blazor every 30 second I am writing a blazor server side application. I have like 100 Binance API or more to work with. How can I run a scheduled task that will monitor each API on given amount of time. Or is there any better way to approach approach to this?
A: You can add a backgrou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65899465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convert a JavaScript import to an array? I have a NPM package that I need to load most of the modules for. I can do the import statement like this:
import * as primeng from 'primeng/primeng';
But in my @NgModule Angular declaration, I need to explicitly list out every single element in the imports section:
@NgModule... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42515223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use keras model.predict with placeholders input? I'm trying to feed keras predict method with tf placeholders while providing real data later.
I do
z = model.predict(x*y, steps=1) where x and y are tf placeholders.
Then I do sess.run(tf.variables_initializer([z], feed_dict = {x: <x>, y: <y>})) where <x> and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58645384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: wxPython hypertreelist set item to checked I'm trying to build a simple interface with hypertreelist. Basically, what I want to do, is set the item to a checked state. There is the function .IsChecked() to retrieve the checkbox status on an item, but no SetCheck() or SetValue(). Any idea on how to do this?
I suppose... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24811389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Manipulating audio to bypass content ID detection I'm using YouTube's "auto-generated" captions feature to generate transcripts of mp3 files. I do this by first converting the mp3 to a blank mp4, uploading to YouTube, waiting for the auto generated captions to appear, then extracting the SRT file.
The issue I'm havi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45833389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: for loop not working in js the SelectSeat Function doesnt do anything.. cant figure our why...i have called it from the html onclick event.
<html>
<head><link rel="stylesheet" type="text/css" href="mandigo.css">
<center> <b><i><font size="25" color="Blue"> Ticket Booking </b></i> </font>
<script>
var seat = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30694391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Java ArrayList reference I am creating an ArrayList of objects using generics. Each thread does come calculating and stores the object in the the array list.
However when looking at the ArrayList which is static and volatile all the object attributes are set as null. My thoughts are something to do with the garbage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27083770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mounting up number of calling move constructor? I'm new to C++14 and am experimenting a make_vector builder for constructing elements of std::vector in one line, and in place. For example the usage of the builder will look like:
make_vector<AnyStruct>()
<< AnyStruct(1)
<< AnyStruct(2)
<< AnyStruct(3);
So I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72833941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java MapStruct always convert boolean to false I have 2 classes.
First:
@Getter
@Builder
@Document("user")
public class UserDocument {
@Id
private String id;
private final String username;
private final String email;
private final String password;
private final Set<RoleDto> roles;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62269466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to pass parameters value from a template yaml file to main pipeline when i try to run this pipeline on azure devops, i got the error "Unexpected property RunChangeLogic". How can I troubleshoot this?
It seems it doesn't accept the parameter from the template EntryPoint.yaml. Is there anything else I need to do?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72094645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to remove embeded objects from word using c# interop? I am trying to get pdf/word/excel embeded documents & remove it.
but, instead of embededOleObject it detects is as an MSOPicture type.
I am using document.InlineShapes & iterating it inlineshape and checking it's type.
It detects as MSOPicture insted of embde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65826437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get full message including header from Grails JMS? I want to get the full message (header & body) from an ActiveMQ connection using Grails and JMS.
The code below just returns the message body. When I uncomment the "static adapter = " line, I get the header and an abbreviated version of the header. How do I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27113771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to access sapply output including lmer I'm trying to estimate and simulate various models. I can fit many models with sapply but somehow, I'm unable to access the output.
models <- sapply("accept.progov ~ ptot_dev+swacceptcn+(swacceptcn|coal.general)", FUN = function(X) lmer(X, data=dbq))
I got that far, that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30766521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: DeprecationWarning: use options instead of chrome_options error using Brave Browser With Python Selenium and Chromedriver on Windows I want to use Selenium (installed: ver 3.141.0.dist-info) on Python (3.8) which is installed on my Windows 7 64,
I Use Brave Browser Version 1.17.73 Chromium: 87.0.4280.67 (Official Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65029629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javascript Module pattern and closures I'm trying to get my head around the module pattern in Javascript and have come across various different ways that I can see to do it. What is the difference (if any) between the following:
Person = function() {
return {
//...
}
};
person1 = Person();
functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25325019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Trouble With Classes and Functions I'm basically writing a module for a basic pygame drawing app. im using a Tk window to get the three color values for a custom color. i have a file that opens a Tk window and askes for 3 color values made but i cant figure how to get it all to work well and im starting to get confu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16877242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: remove laravel cache by asterix I create cache like this:
@foreach ($menu->items as $key => $item)
<div class="{{ $itemclass or 'menu-item'}}">
@switch($item->type)
@case("CustomUrlItem")
<a href="{{ $item->meta }}">{{ $item->title }}</a>
@b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49102614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React memo prevProps is giving initial value always, not actual previous props Main component:
const AProfileFilter = ({ data = []) => {
const [getData, setData] = useState([]);
const [getStore, setStore] = useState([]);
useEffect(() => {
setData(prepareFilterData(data));
}, [data]);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66345959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to share a common object between separate solutions while they still need same Having trouble serializing object from one C# solution, then persisting it and picking it up with another solution, and then de-serializing directly to the same object type in a different solution.
When transferring the object to it'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41766659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Code to make div appear after a certain amount of time I'm looking for code that makes a div appear after a certain amount of time on a site. Here's the sort of thing I'm talking about:
<div class="container">
<div class="secretpopout">
This is the div I want to pop out after a couple of minutes.
</div>
</div>
I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2567832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Ruby: Should strings in a frozen array also be individually frozen? Ruby 2.2.3, Rails 4.2.1
I have a large number of arrays of strings that I define as constants for use throughout an application. They are various sets of ISO country codes, language codes, that sort of thing, so two to four characters, numbered in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33777440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Getting fonts, sizes, bold,...etc I'm having trouble finding stuff on accessing Windows fonts or predefined fonts, and sizes. So for my java program I have a JComboBox with fonts, sizes, and colors. The problem is that I need to pre-Enter the fonts, sizes and colors. How would I be able to get the predefined fonts, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6965038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Accept parameters of URL in .NET CORE I'm new in .NET CORE and I would like if its possible to change the default format for request urls. Let me explain. I have two get method on a controller for get a list and get info of 1 element
[Route("api/[controller]/")]
[ApiController]
public class Department : ControllerBa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64251829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Save and call random variables I'm attempting to have my code create a number of random values, save those values, then allow me to manipulate those random values to create a number of profiles.
I'm currently having issues with both saving the numbers and with global and local values.
I have tried this so far:
impor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50862710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamically create a class inherited from neomodel.StructuredNode Python's library neomodel provides the ability to define a relationship with a class that hasn't been defined yet, by using its name as string, which works fine as follows:
from neomodel import StructuredNode, RelationshipTo
# if Foo is already define... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71510797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to use cd command properly in batch file? I am new to batch scripting, just trying to write a simple batch file that would go to the directory that I frequently use, without having to do cd everytime.
@ECHO OFF
CD /
CD D:
CD programming/
when I save and try to run this it gives error:
the system cannot find the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62064095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Automated installation with Brew/cask in apps folder I want create an automated script to use on a post installation.
For this reason i want use brew and cask to make it all.
So, i think that my script should start with that to install brew:
echo << "Installing homebrew..."
if test ! $(which brew); then
echo "Ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34384384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how can I add admonition in angular-markdown-editor Directive How can I add admontiton in markdown editor.
like this.
https://python-markdown.github.io/extensions/admonition/
| {
"language": "en",
"url": "https://stackoverflow.com/questions/50904225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How could I select a column based on another column in mySQL? The following script works fine. But I want to write it in one line rather than three lines. 'Size" is passed from my main program and its used here to test. Simply I want to get Price based on size.
Table columns :
LISTING_ID, PRICE_LARGE_PRICE, PRICE_SM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53415405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to run multiple locusts each with different parameters? I am trying to load our online gaming platform which has many games in it that can be accessed/played via RESTful endpoints.
I want to use locust to simulate players where each player plays a certain kind of a game. I want to have a player locust class some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60535363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Changing welcome screen of Nginx Hi i have setup nginx and works fine. I have added some config to accept the subdomain and that is also working fine no problem. My major concern is i have a meteor app that takes the username and creates nginx subdomain config in the fly. and currently i have listed * in my A/AAAA ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30630398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SWT incorrectly detects key combinations I have two languages on my Windows 10 (english and russian). I run the following code snippet:
public static void main(String[] args) throws Exception {
Display display = new Display();
Shell shell = new Shell(display);
shell.setSize(640, 480);
shell.setLocati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38783375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JAXB serializer from java objects to xml I'm a newbie of XML programming, I'm trying to write some java objects to a well formed and valid XML file (with respect to a DTD file),
I found out that I can do this kind of things using JAXP with Java.
My application is going to retrieve some data using an interface, and t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28198055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make radio buttons Sorry for this question, but is it possible to make radio buttons instead of select list from this piece of code?
function _nodereview_form_review(&$form, $axis, $node) {
static $options;
if (!isset($options)) {
$options = array(
20 => -2,
40 => -1,
60 => 0,
80 => 1,
10... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1266711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to do something at the end of a Youtube video I'm currently launching a Youtube video using this piece of code:
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("vnd.youtube://"+token));
activity.startActivityForResult(intent, SmartBrowserWebViewActivity.ACT_YOUTUBE);
It works great. But I would like at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Smart shell script to search for text in file name with error handling I am trying to get a shell script built with some error handling but I have limited knowledge. I am searching for any files with a string say tests in it. However if this string is found I would to report an error. I can use the find . -name "*te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22553962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In angular form how to get an array of Client object and use the id value as a value in a form group's member We have an API POST method called CreateEvent(obj) that takes an object. One of the properties in the object is an int ClientId
We have a GET method called GetClients() that returns the list of Client object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65360316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to convert this Delphi function to a C# Method? and How? I have been working on a conversion from Delphi to C#. This is not normally something I deal with. So, I come here humbly to ask for some help.
Here is what I have so far:
Delphi code:
program Project1;
{$APPTYPE CONSOLE}
{$R *.res}
uses
S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55957723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are there different types of race conditions? I know there are data races, can other race conditions be broken down into distinct categories?
Ultimately all race conditions are due to data being accessed in the wrong order, therefore leading threads to misbehave, but data races are a very specific case where data is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61963836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: setInterval, clearInterval, setTimeout conflict messing up slideshow I've got a slideshow that autoplays on document.ready by triggering my left arrow click on setInterval. I'm trying to stop the autoplay when the nav arrows are clicked, while still allowing the arrows to navigate the slides.
This accomplishes that.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20156097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Databricks - Reduce delta version compute time I've got a process which is really bogged down by the version computing for the target delta table.
Little bit of context - there are other things that run, all contributing uniform structured dataframes that I want to persist in a delta table. Ultimately these are all ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74306338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: overloading primitive variables code is
public class TestOverload {
public static void print(Float f, double d) {
System.out.println("Float,double");
}
public static void print(float f, double d) {
System.out.println("float,double");
}
public static void print(int f, double d)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10479234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Not reading utf-8 marks I have a .txt file on my sdcard with utf-8 marks e.g.:
"Jak przetrwać wśród czarnych dziur"
And this is how I try to read them from this file:
public static void readBooksFromTxtFile(Context context, String filePath, ArrayList<SingleBook> books) {
BufferedReader in;
try {
in =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35297566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Visual C++: ATL Implementation of an Interface I guess this is a real dumb question, but I couldn't find an answer. I'm trying to implement an COM interface using ATL. According to this I should use the Implement Interface Wizard. My question is how can I find the desired interface in this wizard. Do I have to go ov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14180516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: VBScript Search Excel Workbook for Value from another Workbook I am new to VB scripting, so please, bear with me! I am trying to create a script that uses worksheets from two different excel workbooks. It opens the first worksheet and iterates through a specified range. I want it to then take the value of each ce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32484268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best way to unset a flag in C when using Enum that is signed I'm trying to use enum in C to create a flags variable, as discussed here: Flags, enum (C)
How should I reset a single enum flag, when the compiler represents the enum as signed?
Problem:
Say I declare my flags type like this:
typedef enum {
FL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70551075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to get time difference between two ZonedDateTimes and pretty print it like "4 hours, 1 minute, 40 seconds ago"? This is how I call getTimeBetween function:
getTimeBetween(ZonedDateTime.now().minusHours(4).minusMinutes(1).minusSeconds(40), ZonedDateTime.now());
And I expect this output:
4 hours, 1 minute, 40 sec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41447096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ios: Wrong image loading from php script In my app, I use a php script that redirects to an image. After I changed the picture on the server, the app on only one device continued to load the older picture. I don't save the picture locally anywhere, and I load the picture from the server every time. The right picture... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19205718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Given a sample of random variables, and n, how do I find the ecdf of the sum of n Xs? I can't fit X to a common distribution so currently I just have X ~ ecdf(sample_data).
How do I calculate the empirical distribution of sum(X1 + ... + Xn), given n? X1 to Xn are iid.
A: To estimate the distribution of that sum, yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10651170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to load Notes for Projects in Salesforce I have notes in my Pipedrive tool for each deals. Now i need to migrate those notes for each deal in Pipedrive to my Salesforce. How can I get the notes for each project loaded to its corresponding project. I try loading notes by giving project ID through Data Loader Wiza... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50718804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: hide tabs in Access 2010 with vba I'm using Access 2010 and I'd like to hide the tabs, when the person is not admin. My admin variable is stored Temp Variable.
How can I do that?
Best regards
Matthias
A: Hiding and showing the tabs (ie a tab for an open access object - ie a form, query, report, etc) is a setting fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31854360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to login on divshot cli inside a vagrant box? Divshot has a nice command line interface. The first thing you should do after installing it with npm is to login.
divshot login
It should open a browser tab/window, you login on the divshot website and you authorise the CLI client by pressing a button at the end o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29150307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Scala: Is it possible to indicate a generic class which implements a certain method I thinks it's easier to explain it with a simple example. (help rephrasing the title is welcome ;-)
I'd like to implement a squared method and, using implicit def, automatically add it to any class that supports the *-operator.
With ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8866030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: c# how can return value from class? I have class !
class Reg_v_no_string
{
public static string key_place = "";
public static string key = "";
public static string value = "";
public string reg_value(string key_place, string key)
{
string value = string.Empty;
RegistryKey kla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11621672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: New elements vanish when function ends I have created a simple form that allows the user to create a number of blank tables with a variable number of rows and columns. The code generates no errors, and briefly creates the new table elements, but when the function ends the tables vanish. What am I doing wrong?
functi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46477056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Placing a revolution slider on a wordpress woocommerce store So I am trying to place a Revolution slider on top of our Wocommerce shop pages, a lot like we already have on all of our other pages bar the shop.
I've provided the screenshots of how it is now and how I'd like it to look.
We're using a custom theme.
I kn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47249208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Formatting error in NPOI I'm developing an accountancy software, which will also create a report in Excel format (.xls).
I've used NPOI in almost every project that requires an Excel report, without any major problem.
But i'm now facing a problem, and can't seem to find any solution browsing the Internet.
As you ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43662756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Google Cloud Build GitHub App - auto trigger for all projects in organization Up until a few weeks ago, when installing the Google Cloud Build GitHub app in a GitHub organization, it was possible to specify that all GitHub projects within that organization would create a build trigger.
Yesterday I noticed that this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55257410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django Haystack faceting multivalued strings -- unknown field tags_exact The content on my site is tagged with strings of variable length, and I want to do faceted search on these tags. For example, a story might have tags, "civil war," "general grant," and "battle of gettysburg." I want to be able to do faceted s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12967184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: How to get CSV to write colums (using API) I am trying to create a spreadsheet out of API data, but I am having trouble getting it to work. The .csv file will only contain the last line of information it collected. What I want is 2 columns, both with about 2800 items in each. Instead I have 2 columns with on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50351426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: step by step solr katta integration I am trying to find the solr and katta integration.
But didn't find any good tutorial for the same.
Could you please give me step by step integration of katta and solr.
Many thanks in advance.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/6076182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to show warning of empty field on form validation? these are my code for form validation :
<form action="<?php echo base_url().'data_laporan/tambah_aksi';?>"method="post" enctype="multipart/form-data">
<div class="form-group">
<label>Jenis Laporan</label>
<select class="f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68350159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create table on cluster of clickhouse error When I create table as follows:
CREATE TABLE partition_v3_cluster ON CLUSTER perftest_3shards_3replicas(
ID String,
URL String,
EventTime Date
) ENGINE = MergeTree()
PARTITION BY toYYYYMM(EventTime)
ORDER BY ID;
I get errors:
Query id: fe98c8b6-16af-44a1-b8c9-2bf10d9866ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68114856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Returning generated HTML from .NET Core controller I have a .NET Core 2 app that needs to be able to return generated HTML from a controller. I've been able to get it returning the HTML as plain text, but not to persuade the browser that it's HTML and render that; as soon as an HTML content type is provided, the con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56120838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Month number to month name in php I think the title is clear!
I want to make to take a number between 1-12 and give back the name of the month in that number (and if possible I want to have custom names for months).
A: Make an array for your month names like so
$montnames = ['', "jan", "feb", "mar", "apr", "may", "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51999716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Testing Parse Server Cloud Code on Node.js fails "Parse.Cloud.beforeSave is not a function" I'm attempting to implement automated tests in my parse server repository that I run in node.js in my development environment. However, it appears that some of the functions available in the parse cloud code SDK are not avail... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41967668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't get div height when including javascript in Django template I'm trying to use the flot plugin for jquery and it keeps on complaining that a div has a width/height of zero. I'm actually including the javascript for this in a Django template. So my template file looks like:
<style>
#graph {
width: 100px;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1467288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding to instance based on if statements? I'm a new coder trying to create a simple "Sword crafting" terminal app in ruby.
So I've got a class with a few instanced variables I want to iterate upon depending on the users input (@strength and @speed). So here, if the user inputs that the grip is "straight" i want it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66948006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to prevent PyMongo from mutating inserted dict? If a document doesn't have an _id field, MongoDB automatically assigns a proper _id field for inserted document, I get that and that's fine for me.
But why pymongo mutates the inserted dict by adding _id field?
I want to use the inserted dict after it gets inserted... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48732280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Initializing class object I am new to Java. I apologize if I ask a simple thing.
I wrote the below code but it seems that it doesn't initialize properly. because when I print the size of list1 it show the size = 0!! However, it should be 4!
public static class MyClass{
public List <Integer> list1
/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19502577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is this a proper way of using AJAX with jQuery and PHP? I need some help. I'm going use AJAX (for the first time) and I'd like you to tell me whether the way I am going to show you is optimal.
Let's say that I have a select element.
<select class="update-db" data-id="25" data-original-value="2">
<option value="1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32314969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convert array of objects into number for inject sum I am using Ruby 1.9.2, Rails 3.1. I have the following:
# review.rb
def calculate_rating
all_rating = Review.select("rating").where("reviewable_id = ?", self.reviewable_id)
all_rating.inject(:+)
end
# reviews_controller.rb
def create
@reviewable = find_revie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8564174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I select specific parts of an image in android? If you have used photoshop, they have a tool that allows you to select parts of an image in order to edit specific locations within an image. Such as having a picture of a basketball and selecting that basketball with the use of the lasso tool in photoshop so y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12290271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is good naming form for variables in loops JS? Hi so as I mentioned in the title I have a bunch of loops within loops in my code and most of them use a variable to loop through stuff. I call my variables ia, then ib then ic and so on. What is good form for the naming of these variables?
Here is some code that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34076316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ code execution time depends on code structre I came across this great youtube tutorial and in one of the slides I saw something I didn't understand. Why is this happening? Is this compiler related?
Version #1 looks like this:
const int N = 5000;
float a [N*N];
for (int x=0; x<n; ++x)
for(int y=0; y<N; ++y)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52905839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using where clause for R Variable in R script to use it in SQL statement I have two tables; viz
table1 = PID (primary key) + 20 other columns & 200 records from database1 AND
table2 = [Serial no] (primary key) + 10 other columns & 300 records from database2.
I am trying to extract values from table2 where PID = [S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45544722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PGM image not opening I have a pgm file which is well formatted like this
P2
# CREATOR: GIMP PNM Filter Version 1.1
19 19
0 71 73 74 73 73 74 73 71 70 71 74 72 69 68 71 72 66 69
70 70 74 70 69 69 69 69 71 68 70 72 66 70 71 69 65 68 69
66 72 73 74 74 73 70 73 72 66 70 68 67 68 68 68 67 66 69
66 72 78 74 74 73 71 71 7... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52790205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a destructor for a pointer in c++? string * str=new string;
delete str;
when I delete 'str' which points to an object, do two destructors get called - one for the pointer itself, and one for the object it points to?
What would the pointer's destructor do?
A: The concept of destructor is applicable only to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16436797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Prevent table cells from breaking across page when converting html to pdf Using Google Apps Script, I have an html template that I fill and then send out (via fax and/or email) as a pdf. The template includes a two-column table with questions/answers.
If there are enough rows, the table breaks across pages in the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64235450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Random number generator for python based discord bot What I am trying to do is when someone enters the command !random (argument) I want the bot to generate a number between 1 and what they put as the argument. But whenever I try to do this it gives me around 6 different errors that are very long and make no sense t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49577305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Example for customizing the ignored pattern list in Django's collectstatic Like other questions here, I want to ignore my .scss files when running collectstatic. But because I'm using Heroku, which runs a collectstatic automatically, I would rather customize collectstatic's ignore pattern list rather than change the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57921970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Revoke drive access through Google Play Services Is there a way to revoke drive access granted through Google Play Services?
Referring to this article:
https://developer.android.com/google/auth/api-client.html
I granted access to g drive from my app like so:
mGoogleApiClient = new GoogleApiClient.Builder(this)
.addA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24558356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Django - deleting users with on_delete=models.CASCADE causes problems with signals.post_delete We are using Django 3.1 for our websites. We have a model, User, which is related to two SiteProfile models for two websites, and is also related to other models such as Friend and UserEmailAddress. All the relations are w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66305134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: F# unit of measure to model area How can I use F# unit of measure to model the area of certain geometries.
The code i have so far is this but it isn't quite compiling.
[<Measure>] type radius
[<Measure>] type PI
[<Measure>] type area
let convertRadiusToArea (r:float<radius>) : float<area> =
// let pi = System.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58064063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NSG Configuration Management I am looking for a tool or some way to manage the Azure NSG configuration. NSG rules are changed manually on ad-hoc basis at the moment. I am looking to implement this NSG config change in more scripted fashion so that I can track the changes history as well.
I am looking at Git based re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65912291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Macosx yosemite installing mysql-python config error I am trying install mysql-python but always throw error. The command is "pip install mysql-python". I searched in google and tried everything but i am still getting error.
I am using mamp, MAMP's path is "/Applications/MAMP". I tested mysql with php and there is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29407584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i make a println list of random numbers with no duplicates? is there a way I can make the drawerList() method look at the output from the drawerNumber() and add them to an array. I want to store the outputs into an array list in order to find the duplicates and print out both the stored values and possibly ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19942167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How does this endian conversion work? A QNX library called gfpr.h contains the line
#define ENDIAN_LE16(__x) (__x)
which is used as follows
var1 = ENDIAN_LE16(var1);
to convert the endianness of (unsigned short) var1. How does this work? __x and x__ must have some special meaning to the preprocessor?
A: __... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38151312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Live Reload of SCSS in React JS using Webpack I would like to ask if there's a way that the compiling of .scss file to .css is included in webpack hot reload, I use to always run npm run build to convert my .scss to .css
Here's my webpack.config:
var autoprefixer = require('autoprefixer');
var ExtractTextPlugin = re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36963473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can the argument for Switch statement have an expression to eliminate a variable used for comparison? This program simulates a simple menu driven calculator with +, -, *, and / operations
#include <stdio.h>
#include <conio.h>
int main()
{
float a = 0, b = 0;
printf(" Enter two numbers: ");
scanf(" %f %f"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27648935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: docker push doesn't use the correct repository and fails I'm trying to push a docker image to an Azure container repository and even after successfully "logging in" the push command tries to push it to docker.io and then fails.
Note: I am using Windows 10 Pro and have set up docker to to use the minikube docker dam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45556753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom DetailView like function returns the same set of data - Django I have a view with a list of items and want to create a detail view of those items so i can update, enable or disable items, the problem I have is I always get the same set of data no matter what item I click on to get the details of.
I've posted... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51544256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: multiple triggered subsystem + algebraic loop, initialisation problem I have a Simulink diagram which contains multiple triggered subsystem with different timestamp. In this model I also got a feedback loop inducing an algebraic loop. Therefore the signal must be initialised, in order to do that, I used a Memory blo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62446969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should Job/Step/Reader/Writer all be bean? As fars as all the examples from the Spring Batch reference doc , I see that those objects like job/step/reader/writer are all marked as @bean, like the following:
@Bean
public Job footballJob() {
return this.jobBuilderFactory.get("footballJob")
.li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67599478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.