qid int64 1 74.7M | question stringlengths 15 58.3k | date stringlengths 10 10 | metadata sequence | response_j stringlengths 4 30.2k | response_k stringlengths 11 36.5k |
|---|---|---|---|---|---|
538,868 | I have a question to those who are really proficient in MHD generation. There exist some claims that degree of interaction between flowing molecules (gases) and ions on one hand and flowing molecules (gases) and electrons on other hand is vastly different. Therefore movement of ions in a gas flow will occur much faster... | 2020/03/27 | [
"https://physics.stackexchange.com/questions/538868",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/225219/"
] | In the absence of a magnetic field the velocity of the ions and electrons in a gas will be on average exactly that of the gas.
no net charge will be transferred.
The magnetic field is needed to make the charged particles move differently to the fluid and to separate based on their charge between the electrodes.
MHD w... | Can MHD work on "cold plasma"? Is there any efficient and technically feasible ways to create a lot of cold plasma in water vapor for example (which is a one of main component of combustion exhaust)? What about electric discharges or some radiation (lasers, microwaves)? What about dissociating water vapor to ions rater... |
3,665,283 | When looking at dI/dt we have a term gamma\*I, this is the rate in which infectious become recovered.
Why is this dependent on I, the number of infectious people?
Since if you have lots infectious people, wont it take the same amount of time for them to recover as a smaller group of people? So this rate should be a ... | 2020/05/08 | [
"https://math.stackexchange.com/questions/3665283",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/534839/"
] | If we have $I$ infected people and the recovery rate of the disease is $\gamma$, then in one time cycle, $\gamma I$ people recover from the infection. The time required for these people to recover is constant; it's just that due to more number of people being infected, more number of people will also recover from the d... | Imagine a situation where each infected individual recovered in one day. So when you have $10$ infected individuals you have $10$ recoveries in one day. But when you have $100$ infected, you have $100$ recoveries in one day. The number of recoveries per day
is proportional to the number of infected individuals. |
3,665,283 | When looking at dI/dt we have a term gamma\*I, this is the rate in which infectious become recovered.
Why is this dependent on I, the number of infectious people?
Since if you have lots infectious people, wont it take the same amount of time for them to recover as a smaller group of people? So this rate should be a ... | 2020/05/08 | [
"https://math.stackexchange.com/questions/3665283",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/534839/"
] | If we have $I$ infected people and the recovery rate of the disease is $\gamma$, then in one time cycle, $\gamma I$ people recover from the infection. The time required for these people to recover is constant; it's just that due to more number of people being infected, more number of people will also recover from the d... | The others have addressed the question, I just want to add to other answers. The term $1/\delta$ reflects the expected (or average) time an infected individual spend being infected. For example, for Covid-19, the expected time for a person to be infected is about 2-3 weeks. This is how you could estimate this rate, by ... |
3,665,283 | When looking at dI/dt we have a term gamma\*I, this is the rate in which infectious become recovered.
Why is this dependent on I, the number of infectious people?
Since if you have lots infectious people, wont it take the same amount of time for them to recover as a smaller group of people? So this rate should be a ... | 2020/05/08 | [
"https://math.stackexchange.com/questions/3665283",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/534839/"
] | Imagine a situation where each infected individual recovered in one day. So when you have $10$ infected individuals you have $10$ recoveries in one day. But when you have $100$ infected, you have $100$ recoveries in one day. The number of recoveries per day
is proportional to the number of infected individuals. | The others have addressed the question, I just want to add to other answers. The term $1/\delta$ reflects the expected (or average) time an infected individual spend being infected. For example, for Covid-19, the expected time for a person to be infected is about 2-3 weeks. This is how you could estimate this rate, by ... |
32,965,609 | I have a setup where I use a service to log a user in and autofill the CreatedBy, UpdatedBy, ... fields for my entities. Because of this my SaveChanges method looks like this:
```
public override int SaveChanges()
{
var modifiedEntries = ChangeTracker.Entries()
.Where(x => x.Entity is IAuditableEntity
... | 2015/10/06 | [
"https://Stackoverflow.com/questions/32965609",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/980087/"
] | In your code, if there is no user logged in (so no `activeUserId`) it will break with an exception on `First()`:
```
var username = Users.First(x => x.Id == activeUserId).UserName;
```
And so the line:
```
if (String.IsNullOrEmpty(username))
```
will never be true.
I would take a nullable variable into the meth... | My current work-around is creating an other SaveChanges-method when seeding the database which sets a default user.
```
internal int SaveChangesWithDefaultUser()
{
var modifiedEntries = ChangeTracker.Entries()
.Where(x => x.Entity is IAuditableEntity
&& (x.State == EntityState.Added || ... |
10,330,593 | I'm using apache POI for reading **xlsx** files by adding below dependencies
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.8</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
... | 2012/04/26 | [
"https://Stackoverflow.com/questions/10330593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/801631/"
] | I have made it run for these dependencies:
```
def poiVersion='3.9'
compile 'org.apache.poi:poi:'+poiVersion
compile 'org.apache.poi:poi-ooxml:'+poiVersion
compile 'org.apache.poi:poi-ooxml-schemas:'+poiVersion
```
When I try for others it does not work:
3.10 : is not known to maven central
3.... | I use 3.7 but have you try adding
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>3.8</version>
</dependency>
``` |
10,330,593 | I'm using apache POI for reading **xlsx** files by adding below dependencies
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.8</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
... | 2012/04/26 | [
"https://Stackoverflow.com/questions/10330593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/801631/"
] | I tried using `poi 3.10`, `3.11` and `3.12 beta` with Grails and get this error as well.
After downloading and including <http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/poi/ooxml-schemas/1.0/ooxml-schemas-1.0.jar> the error is gone. | I use 3.7 but have you try adding
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>3.8</version>
</dependency>
``` |
10,330,593 | I'm using apache POI for reading **xlsx** files by adding below dependencies
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.8</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
... | 2012/04/26 | [
"https://Stackoverflow.com/questions/10330593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/801631/"
] | I used poi with version 3.12. The following dependency is also required:
`compile 'org.apache.poi:ooxml-schemas:1.1'`
see also <http://poi.apache.org/faq.html#faq-N10025> | I use 3.7 but have you try adding
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>3.8</version>
</dependency>
``` |
10,330,593 | I'm using apache POI for reading **xlsx** files by adding below dependencies
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.8</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
... | 2012/04/26 | [
"https://Stackoverflow.com/questions/10330593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/801631/"
] | I used poi with version 3.12. The following dependency is also required:
`compile 'org.apache.poi:ooxml-schemas:1.1'`
see also <http://poi.apache.org/faq.html#faq-N10025> | I have made it run for these dependencies:
```
def poiVersion='3.9'
compile 'org.apache.poi:poi:'+poiVersion
compile 'org.apache.poi:poi-ooxml:'+poiVersion
compile 'org.apache.poi:poi-ooxml-schemas:'+poiVersion
```
When I try for others it does not work:
3.10 : is not known to maven central
3.... |
10,330,593 | I'm using apache POI for reading **xlsx** files by adding below dependencies
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.8</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
... | 2012/04/26 | [
"https://Stackoverflow.com/questions/10330593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/801631/"
] | I have made it run for these dependencies:
```
def poiVersion='3.9'
compile 'org.apache.poi:poi:'+poiVersion
compile 'org.apache.poi:poi-ooxml:'+poiVersion
compile 'org.apache.poi:poi-ooxml-schemas:'+poiVersion
```
When I try for others it does not work:
3.10 : is not known to maven central
3.... | This is happening due to inconsistency is the poi jars.
You can download latest jars and it will start working.
you can add latest jar files for all below:
Commons-compress ,
ooxml-schemas ,
poi-scratchpad ,
poi-ooxml ,
poi ,
poi-ooxml-schemas ,
dom4j ,
poi-excelant |
10,330,593 | I'm using apache POI for reading **xlsx** files by adding below dependencies
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.8</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
... | 2012/04/26 | [
"https://Stackoverflow.com/questions/10330593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/801631/"
] | I used poi with version 3.12. The following dependency is also required:
`compile 'org.apache.poi:ooxml-schemas:1.1'`
see also <http://poi.apache.org/faq.html#faq-N10025> | I tried using `poi 3.10`, `3.11` and `3.12 beta` with Grails and get this error as well.
After downloading and including <http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/poi/ooxml-schemas/1.0/ooxml-schemas-1.0.jar> the error is gone. |
10,330,593 | I'm using apache POI for reading **xlsx** files by adding below dependencies
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.8</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
... | 2012/04/26 | [
"https://Stackoverflow.com/questions/10330593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/801631/"
] | I tried using `poi 3.10`, `3.11` and `3.12 beta` with Grails and get this error as well.
After downloading and including <http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/poi/ooxml-schemas/1.0/ooxml-schemas-1.0.jar> the error is gone. | This is happening due to inconsistency is the poi jars.
You can download latest jars and it will start working.
you can add latest jar files for all below:
Commons-compress ,
ooxml-schemas ,
poi-scratchpad ,
poi-ooxml ,
poi ,
poi-ooxml-schemas ,
dom4j ,
poi-excelant |
10,330,593 | I'm using apache POI for reading **xlsx** files by adding below dependencies
```
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.8</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
... | 2012/04/26 | [
"https://Stackoverflow.com/questions/10330593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/801631/"
] | I used poi with version 3.12. The following dependency is also required:
`compile 'org.apache.poi:ooxml-schemas:1.1'`
see also <http://poi.apache.org/faq.html#faq-N10025> | This is happening due to inconsistency is the poi jars.
You can download latest jars and it will start working.
you can add latest jar files for all below:
Commons-compress ,
ooxml-schemas ,
poi-scratchpad ,
poi-ooxml ,
poi ,
poi-ooxml-schemas ,
dom4j ,
poi-excelant |
50,400,559 | I am working project with ace-1.3-master template and try to instal button dropdown who I put in most the bottom on the page of HTML.
[](https://i.stack.imgur.com/1ruZt.jpg)
My problem is the button not display fully of it's content and user need to sc... | 2018/05/17 | [
"https://Stackoverflow.com/questions/50400559",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4639849/"
] | result = client.query("SELECT P\_askbid\_midprice1 FROM DCIX\_OB WHERE time > '2018-01-01'")
this should work | you might be able to use [Pinform](https://github.com/sinarezaei/pinform) which is some kind of ORM/OSTM (Object time series mapping) for InfluxDB.
It can help with designing the schema and building normal or aggregation queries.
```
cli.get_fields_as_series(OHLC,
field_aggregations={'close': [AggregationMode.MEA... |
52,745,013 | I'm trying to dynamically allocate a character array in c++ using smart pointers based on the user input like
```
std::cout<<"Input a word: ";
std::cin>>std::unique_ptr<char[]>ch_array(new char[]);
```
So when the user inputs the string it only consumes the necessary amount of bytes. Since it keeps giving me an erro... | 2018/10/10 | [
"https://Stackoverflow.com/questions/52745013",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9381647/"
] | Once an error is "caught," it won't propagate up. You'll need to throw something after you've caught the error once if you want it to go up any further. Something like:
```
try {
await function1();
await function2();
await function3().catch(err => {
function3ErrorHandler(err);
throw err;
});
} catch (e... | The catch block in your outer method will not catch the exception thrown from `function3`, if it is already catched within `fuction3`. |
52,745,013 | I'm trying to dynamically allocate a character array in c++ using smart pointers based on the user input like
```
std::cout<<"Input a word: ";
std::cin>>std::unique_ptr<char[]>ch_array(new char[]);
```
So when the user inputs the string it only consumes the necessary amount of bytes. Since it keeps giving me an erro... | 2018/10/10 | [
"https://Stackoverflow.com/questions/52745013",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9381647/"
] | Once an error is "caught," it won't propagate up. You'll need to throw something after you've caught the error once if you want it to go up any further. Something like:
```
try {
await function1();
await function2();
await function3().catch(err => {
function3ErrorHandler(err);
throw err;
});
} catch (e... | [](https://i.stack.imgur.com/8dr9E.png)
It will trigger first:
```
await function3().catch(err => { /*...*/ })
```
Before triggering:
```
} catch (err) { /*...*/ }
``` |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | This is called polymorphism and it's one of the most powerful aspects of Java.
Polymorphism allows you to treat different objects the same.
It's a great way to create re-usable, flexible code.
Unfortunately it's a part of Java that new programmers often take awhile to understand.
The example you've provided involve... | Simply putting all `Cows` are `Animals`. So JAVA understands that when `Cow extends Animal`, a Cow can also be called as Animal.
This is Polymorphism as others have pointed out. You can extend `Animal` with `Dog` and say that Dog is also an Animal. |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | This is basically a concept of standardization.
We know that each animal have some common features. Let us take an example of eating and sleeping, but each animal can have different way of eating or sleeping ... then we can define
```
public abstract class Animal
{
public abstract void Eat();
pu... | Simply putting all `Cows` are `Animals`. So JAVA understands that when `Cow extends Animal`, a Cow can also be called as Animal.
This is Polymorphism as others have pointed out. You can extend `Animal` with `Dog` and say that Dog is also an Animal. |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | This is basically a concept of standardization.
We know that each animal have some common features. Let us take an example of eating and sleeping, but each animal can have different way of eating or sleeping ... then we can define
```
public abstract class Animal
{
public abstract void Eat();
pu... | This is an inheritance 101 question.
It allows objects that share common functionality to be treated alike.
It also allows specific implementations to be supplied at runtime that are subclasses of an abstract type.
I could probably ramble on for ages. Perhaps thus question is just too broad to answer here. |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | This is at the heart of polymorphism and abstraction. For example, it means that I can write:
```
public void handleData(InputStream input) {
...
}
```
... and handle *any* kind of input stream, whether that's from a file, network, in-memory etc. Or likewise, if you've got a `List<String>`, you can ask for eleme... | In another class/method you might want to use different implementations of the same interface. Following your example, you might have something like:
```
public void feed( Animal animal ) {
animal.getHome().insertFood(animal.getFavFood());
}
```
Now you can implement the details in your animal classes and don't... |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | On a simpler note, this enables polymorphism. For example you can have several objects that derive from Animal and all are handle similar.
You could have something like:
```
Animal[] myAnimal = {new Cow(), new Dog(), new Cat()};
foreach (Animal animal in myAnimal)
animal.Feed();
```
The Feed() method must then ... | Simply putting all `Cows` are `Animals`. So JAVA understands that when `Cow extends Animal`, a Cow can also be called as Animal.
This is Polymorphism as others have pointed out. You can extend `Animal` with `Dog` and say that Dog is also an Animal. |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | On a simpler note, this enables polymorphism. For example you can have several objects that derive from Animal and all are handle similar.
You could have something like:
```
Animal[] myAnimal = {new Cow(), new Dog(), new Cat()};
foreach (Animal animal in myAnimal)
animal.Feed();
```
The Feed() method must then ... | In another class/method you might want to use different implementations of the same interface. Following your example, you might have something like:
```
public void feed( Animal animal ) {
animal.getHome().insertFood(animal.getFavFood());
}
```
Now you can implement the details in your animal classes and don't... |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | On a simpler note, this enables polymorphism. For example you can have several objects that derive from Animal and all are handle similar.
You could have something like:
```
Animal[] myAnimal = {new Cow(), new Dog(), new Cat()};
foreach (Animal animal in myAnimal)
animal.Feed();
```
The Feed() method must then ... | This is an inheritance 101 question.
It allows objects that share common functionality to be treated alike.
It also allows specific implementations to be supplied at runtime that are subclasses of an abstract type.
I could probably ramble on for ages. Perhaps thus question is just too broad to answer here. |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | This is at the heart of polymorphism and abstraction. For example, it means that I can write:
```
public void handleData(InputStream input) {
...
}
```
... and handle *any* kind of input stream, whether that's from a file, network, in-memory etc. Or likewise, if you've got a `List<String>`, you can ask for eleme... | On a simpler note, this enables polymorphism. For example you can have several objects that derive from Animal and all are handle similar.
You could have something like:
```
Animal[] myAnimal = {new Cow(), new Dog(), new Cat()};
foreach (Animal animal in myAnimal)
animal.Feed();
```
The Feed() method must then ... |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | This is at the heart of polymorphism and abstraction. For example, it means that I can write:
```
public void handleData(InputStream input) {
...
}
```
... and handle *any* kind of input stream, whether that's from a file, network, in-memory etc. Or likewise, if you've got a `List<String>`, you can ask for eleme... | This is basically a concept of standardization.
We know that each animal have some common features. Let us take an example of eating and sleeping, but each animal can have different way of eating or sleeping ... then we can define
```
public abstract class Animal
{
public abstract void Eat();
pu... |
13,640,833 | I wonder why it is allowed to have different type of object reference?
For example;
```
Animal cow = new Cow();
```
Can you please give an example where it is useful to use different type of object reference?
**Edit:**`Cow extends Animal` | 2012/11/30 | [
"https://Stackoverflow.com/questions/13640833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1002790/"
] | This is at the heart of polymorphism and abstraction. For example, it means that I can write:
```
public void handleData(InputStream input) {
...
}
```
... and handle *any* kind of input stream, whether that's from a file, network, in-memory etc. Or likewise, if you've got a `List<String>`, you can ask for eleme... | This is an inheritance 101 question.
It allows objects that share common functionality to be treated alike.
It also allows specific implementations to be supplied at runtime that are subclasses of an abstract type.
I could probably ramble on for ages. Perhaps thus question is just too broad to answer here. |
14,212,032 | >
> **Possible Duplicate:**
>
> [I would like to control Form1 from Form2](https://stackoverflow.com/questions/3146576/i-would-like-to-control-form1-from-form2)
>
>
>
I'm a newbie to `C#` and I can't find the answer I'm looking for in google, so I'm hoping someone here could help me. I'm only practicing to tra... | 2013/01/08 | [
"https://Stackoverflow.com/questions/14212032",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1957558/"
] | Make a public variable and pass it the value from your text box and then onto your second form.
```
public static string myVar;
myVar = txtForm2.Text;
```
and when you return to the first form:
`txtForm1.Text = Form2.myVar;` | Try this ;)
On Form1:
```
private void button1_Click(object sender, EventArgs e)
{
Form2 frm2 = new Form2(textBox1.Text);
frm2.Show();
this.Hide();
}
```
On form2:
```
public partial class Form2 : Form
{
public string textBoxValue;
public Form2()
{
InitializeCom... |
14,212,032 | >
> **Possible Duplicate:**
>
> [I would like to control Form1 from Form2](https://stackoverflow.com/questions/3146576/i-would-like-to-control-form1-from-form2)
>
>
>
I'm a newbie to `C#` and I can't find the answer I'm looking for in google, so I'm hoping someone here could help me. I'm only practicing to tra... | 2013/01/08 | [
"https://Stackoverflow.com/questions/14212032",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1957558/"
] | In your Form2 you should have some like:
```
private void btnForm2_Click(object sender, EventArgs e)
{
this.Hide();
}
public String GettxtForm2()
{
return txtForm2.Text;
}
```
Now in form1 you can acces that txtForm2 with something like:
```
Form2 form2 = new Form2();
//on click btnForm... | Try this ;)
On Form1:
```
private void button1_Click(object sender, EventArgs e)
{
Form2 frm2 = new Form2(textBox1.Text);
frm2.Show();
this.Hide();
}
```
On form2:
```
public partial class Form2 : Form
{
public string textBoxValue;
public Form2()
{
InitializeCom... |
14,212,032 | >
> **Possible Duplicate:**
>
> [I would like to control Form1 from Form2](https://stackoverflow.com/questions/3146576/i-would-like-to-control-form1-from-form2)
>
>
>
I'm a newbie to `C#` and I can't find the answer I'm looking for in google, so I'm hoping someone here could help me. I'm only practicing to tra... | 2013/01/08 | [
"https://Stackoverflow.com/questions/14212032",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1957558/"
] | in `Form1`:
```
public void SetTextboxText(String text)
{
txtForm1.Text = text;
}
private void btnForm1_Click(object sender, EventArgs e)
{
var frm = new Form2(this); // pass parent form (this) in constructor
frm.Show();
}
```
in `Form2`:
```
Form _parentForm;
public Form2(Form form)
{
_parentForm... | Try this ;)
On Form1:
```
private void button1_Click(object sender, EventArgs e)
{
Form2 frm2 = new Form2(textBox1.Text);
frm2.Show();
this.Hide();
}
```
On form2:
```
public partial class Form2 : Form
{
public string textBoxValue;
public Form2()
{
InitializeCom... |
3,913,250 | I have a special situation where I need to query a service to get information for n users at a specific time each day. The problem is that if I do this all at once it will put the service offline / crash it.
So to overcome this it would be better to run this for x number of users every 10 seconds or so until x = n and... | 2010/10/12 | [
"https://Stackoverflow.com/questions/3913250",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/338547/"
] | Why not just have one cron script that runs daily, and just calls the other script every ten seconds until the other script says it's done (e.g. returns a value that says "nothing more to process")?
Or one script that runs daily and just runs through the chunks of users in a loop, sleep()ing every X users...
Bear in ... | You could use 'at' in combination with 'cron'. Set up a cron job that runs a single task once a day, and that task is (I don't have a UNIX box in front of me at the moment, so there may be the odd syntax error).
```
0 9 * * * at now + 10 secs /path/to/shellscript 1
```
The argument being the run count. When the she... |
3,913,250 | I have a special situation where I need to query a service to get information for n users at a specific time each day. The problem is that if I do this all at once it will put the service offline / crash it.
So to overcome this it would be better to run this for x number of users every 10 seconds or so until x = n and... | 2010/10/12 | [
"https://Stackoverflow.com/questions/3913250",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/338547/"
] | Why not just have one cron script that runs daily, and just calls the other script every ten seconds until the other script says it's done (e.g. returns a value that says "nothing more to process")?
Or one script that runs daily and just runs through the chunks of users in a loop, sleep()ing every X users...
Bear in ... | multiple ways to do this:
* Have a script that runs part of the job, putting all data in a variable that you serialize the data and the state. I have implemented a scheduler controller for code igniter to fetch metro routes one at the time <http://www.younelan.com/index.php?&repository=DCExplorer> . It may be more com... |
3,913,250 | I have a special situation where I need to query a service to get information for n users at a specific time each day. The problem is that if I do this all at once it will put the service offline / crash it.
So to overcome this it would be better to run this for x number of users every 10 seconds or so until x = n and... | 2010/10/12 | [
"https://Stackoverflow.com/questions/3913250",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/338547/"
] | You could use 'at' in combination with 'cron'. Set up a cron job that runs a single task once a day, and that task is (I don't have a UNIX box in front of me at the moment, so there may be the odd syntax error).
```
0 9 * * * at now + 10 secs /path/to/shellscript 1
```
The argument being the run count. When the she... | multiple ways to do this:
* Have a script that runs part of the job, putting all data in a variable that you serialize the data and the state. I have implemented a scheduler controller for code igniter to fetch metro routes one at the time <http://www.younelan.com/index.php?&repository=DCExplorer> . It may be more com... |
24,446,638 | Why the following behavior is allowed by most implementations of C ? If we a use a variable itself to define it, like this:
```
#include <stdio.h>
int main()
{
int a = 9;
int b = ( a +b );
printf("%d",b);
}
```
I know that the **garbage** value of `b` will be used but there should be some compile time w... | 2014/06/27 | [
"https://Stackoverflow.com/questions/24446638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2679770/"
] | **Explanation**
In a C function, all of your local variable declarations happen straight away. Essentially, the compiler translates your code into:
```
int a;
int b;
// start of function
a = 9;
b = a + b;
// end of function
```
So you can see, that there is always a variable `b`, it exists for the whole runtime of ... | The philosophy is that people who program in C know what they are doing, and you can get a lot of efficiency gain out of allowing undefined behavior, in this case with an uninitialized variable.
[This article](http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html) specifically mentions the example of u... |
24,446,638 | Why the following behavior is allowed by most implementations of C ? If we a use a variable itself to define it, like this:
```
#include <stdio.h>
int main()
{
int a = 9;
int b = ( a +b );
printf("%d",b);
}
```
I know that the **garbage** value of `b` will be used but there should be some compile time w... | 2014/06/27 | [
"https://Stackoverflow.com/questions/24446638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2679770/"
] | The philosophy is that people who program in C know what they are doing, and you can get a lot of efficiency gain out of allowing undefined behavior, in this case with an uninitialized variable.
[This article](http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html) specifically mentions the example of u... | Appendix J (which is non-normative) suggests that the behavior is *undefined*:
>
> The value of an object with automatic storage duration is used while it is
> indeterminate (6.2.4, 6.7.9, 6.8).
>
although I can't find explicit language in any of the referenced sections to support that (then again, my blood caffein... |
24,446,638 | Why the following behavior is allowed by most implementations of C ? If we a use a variable itself to define it, like this:
```
#include <stdio.h>
int main()
{
int a = 9;
int b = ( a +b );
printf("%d",b);
}
```
I know that the **garbage** value of `b` will be used but there should be some compile time w... | 2014/06/27 | [
"https://Stackoverflow.com/questions/24446638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2679770/"
] | **Explanation**
In a C function, all of your local variable declarations happen straight away. Essentially, the compiler translates your code into:
```
int a;
int b;
// start of function
a = 9;
b = a + b;
// end of function
```
So you can see, that there is always a variable `b`, it exists for the whole runtime of ... | In effect, you will get 4 bytes of memory (assuming an `int` is 4 bytes) that keep whatever was there in the first place, then have that value added to the value of `b` . You can read more about C's undefined behavior here : <http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html> |
24,446,638 | Why the following behavior is allowed by most implementations of C ? If we a use a variable itself to define it, like this:
```
#include <stdio.h>
int main()
{
int a = 9;
int b = ( a +b );
printf("%d",b);
}
```
I know that the **garbage** value of `b` will be used but there should be some compile time w... | 2014/06/27 | [
"https://Stackoverflow.com/questions/24446638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2679770/"
] | In effect, you will get 4 bytes of memory (assuming an `int` is 4 bytes) that keep whatever was there in the first place, then have that value added to the value of `b` . You can read more about C's undefined behavior here : <http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html> | Appendix J (which is non-normative) suggests that the behavior is *undefined*:
>
> The value of an object with automatic storage duration is used while it is
> indeterminate (6.2.4, 6.7.9, 6.8).
>
although I can't find explicit language in any of the referenced sections to support that (then again, my blood caffein... |
24,446,638 | Why the following behavior is allowed by most implementations of C ? If we a use a variable itself to define it, like this:
```
#include <stdio.h>
int main()
{
int a = 9;
int b = ( a +b );
printf("%d",b);
}
```
I know that the **garbage** value of `b` will be used but there should be some compile time w... | 2014/06/27 | [
"https://Stackoverflow.com/questions/24446638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2679770/"
] | **Explanation**
In a C function, all of your local variable declarations happen straight away. Essentially, the compiler translates your code into:
```
int a;
int b;
// start of function
a = 9;
b = a + b;
// end of function
```
So you can see, that there is always a variable `b`, it exists for the whole runtime of ... | I'm surprised that GCC doesn't spit out any warnings about the use of an uninitialized variable there (compiling with `-Wall -Wpedantic` didn't give me anything). With that being said, though, C makes absolutely no assumptions about what you're doing.
Suppose, for example, you're developing for an embedded system, an... |
24,446,638 | Why the following behavior is allowed by most implementations of C ? If we a use a variable itself to define it, like this:
```
#include <stdio.h>
int main()
{
int a = 9;
int b = ( a +b );
printf("%d",b);
}
```
I know that the **garbage** value of `b` will be used but there should be some compile time w... | 2014/06/27 | [
"https://Stackoverflow.com/questions/24446638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2679770/"
] | **Explanation**
In a C function, all of your local variable declarations happen straight away. Essentially, the compiler translates your code into:
```
int a;
int b;
// start of function
a = 9;
b = a + b;
// end of function
```
So you can see, that there is always a variable `b`, it exists for the whole runtime of ... | One thing that you can do thanks to the semantics, that the variable exists right after its name ends, is a nice circular list initialization:
```
struct node {
struct node *next;
void *data;
}
struct node circular = { .next = &circular, .data = NULL };
```
This would not be possible to initialize like that, if... |
24,446,638 | Why the following behavior is allowed by most implementations of C ? If we a use a variable itself to define it, like this:
```
#include <stdio.h>
int main()
{
int a = 9;
int b = ( a +b );
printf("%d",b);
}
```
I know that the **garbage** value of `b` will be used but there should be some compile time w... | 2014/06/27 | [
"https://Stackoverflow.com/questions/24446638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2679770/"
] | **Explanation**
In a C function, all of your local variable declarations happen straight away. Essentially, the compiler translates your code into:
```
int a;
int b;
// start of function
a = 9;
b = a + b;
// end of function
```
So you can see, that there is always a variable `b`, it exists for the whole runtime of ... | Appendix J (which is non-normative) suggests that the behavior is *undefined*:
>
> The value of an object with automatic storage duration is used while it is
> indeterminate (6.2.4, 6.7.9, 6.8).
>
although I can't find explicit language in any of the referenced sections to support that (then again, my blood caffein... |
24,446,638 | Why the following behavior is allowed by most implementations of C ? If we a use a variable itself to define it, like this:
```
#include <stdio.h>
int main()
{
int a = 9;
int b = ( a +b );
printf("%d",b);
}
```
I know that the **garbage** value of `b` will be used but there should be some compile time w... | 2014/06/27 | [
"https://Stackoverflow.com/questions/24446638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2679770/"
] | I'm surprised that GCC doesn't spit out any warnings about the use of an uninitialized variable there (compiling with `-Wall -Wpedantic` didn't give me anything). With that being said, though, C makes absolutely no assumptions about what you're doing.
Suppose, for example, you're developing for an embedded system, an... | Appendix J (which is non-normative) suggests that the behavior is *undefined*:
>
> The value of an object with automatic storage duration is used while it is
> indeterminate (6.2.4, 6.7.9, 6.8).
>
although I can't find explicit language in any of the referenced sections to support that (then again, my blood caffein... |
24,446,638 | Why the following behavior is allowed by most implementations of C ? If we a use a variable itself to define it, like this:
```
#include <stdio.h>
int main()
{
int a = 9;
int b = ( a +b );
printf("%d",b);
}
```
I know that the **garbage** value of `b` will be used but there should be some compile time w... | 2014/06/27 | [
"https://Stackoverflow.com/questions/24446638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2679770/"
] | One thing that you can do thanks to the semantics, that the variable exists right after its name ends, is a nice circular list initialization:
```
struct node {
struct node *next;
void *data;
}
struct node circular = { .next = &circular, .data = NULL };
```
This would not be possible to initialize like that, if... | Appendix J (which is non-normative) suggests that the behavior is *undefined*:
>
> The value of an object with automatic storage duration is used while it is
> indeterminate (6.2.4, 6.7.9, 6.8).
>
although I can't find explicit language in any of the referenced sections to support that (then again, my blood caffein... |
50,829,399 | I cloned a website using the duplicator plugin and made changes to it. When logged in as admin I see the changes but when I use an incognito browser it still shows the cloned version (old version). I can see the changes when I do a hard refresh of the browser, but refreshing again reverts to the old copy. I tried empty... | 2018/06/13 | [
"https://Stackoverflow.com/questions/50829399",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4206751/"
] | (finally know how to use this) Actually found the solution thanks to a friend.
The "peer chaincode invoke " doesn't have the flag "peerAddresses". The code given on the Hyperledger fabric tutorial documentation might be outdated or incorrect.
This can be seen in the Reference documentation : <https://hyperledger-fab... | Problem was resolved by changing chaincode instantiation by changing "and" to "or".
Since I had skipped the environment variables step, default was peer0.org1 (i.e. org1MSP). Nothing was set for org2MSP. Thus it was in no position to award permissions in the first place.
```
peer chaincode instantiate -o orderer.exam... |
73,302,997 | I have two repositories. A and B.
Inside A, I have a docker image. Let's say it's name is `ghcr.io/org/a`
Inside B, I have an action that wants to use this package. Both repos are private.
Here's my action code:
```
- name: Log in to GitHub Container Repository
run: |
echo "${{ secrets.GITHUB_TOKEN }}... | 2022/08/10 | [
"https://Stackoverflow.com/questions/73302997",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17810064/"
] | You need to check if `active` includes `"c1"`.
```js
const menu = [
{
name: "Home",
icon: "ri-home-4-line",
layoutCode: "",
active: ["h1"]
},
{
name: "Cust",
layoutCode: "",
icon: "ri-user-2-fill",
active: ["c1", "c2"]
}
];
const result = menu.filter(m => m.active.includes("c1"... | `active`is an array. Try:
```
json_menu.menu.filter(record => record.active.includes('c1'))
``` |
73,302,997 | I have two repositories. A and B.
Inside A, I have a docker image. Let's say it's name is `ghcr.io/org/a`
Inside B, I have an action that wants to use this package. Both repos are private.
Here's my action code:
```
- name: Log in to GitHub Container Repository
run: |
echo "${{ secrets.GITHUB_TOKEN }}... | 2022/08/10 | [
"https://Stackoverflow.com/questions/73302997",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17810064/"
] | You need to check if `active` includes `"c1"`.
```js
const menu = [
{
name: "Home",
icon: "ri-home-4-line",
layoutCode: "",
active: ["h1"]
},
{
name: "Cust",
layoutCode: "",
icon: "ri-user-2-fill",
active: ["c1", "c2"]
}
];
const result = menu.filter(m => m.active.includes("c1"... | You can use `includes` instead of `===`
```
json_menu.menu.filter(record => record.active.includes('c1'))
``` |
73,302,997 | I have two repositories. A and B.
Inside A, I have a docker image. Let's say it's name is `ghcr.io/org/a`
Inside B, I have an action that wants to use this package. Both repos are private.
Here's my action code:
```
- name: Log in to GitHub Container Repository
run: |
echo "${{ secrets.GITHUB_TOKEN }}... | 2022/08/10 | [
"https://Stackoverflow.com/questions/73302997",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17810064/"
] | You need to check if `active` includes `"c1"`.
```js
const menu = [
{
name: "Home",
icon: "ri-home-4-line",
layoutCode: "",
active: ["h1"]
},
{
name: "Cust",
layoutCode: "",
icon: "ri-user-2-fill",
active: ["c1", "c2"]
}
];
const result = menu.filter(m => m.active.includes("c1"... | json\_menu.menu.filter(record => record.active.includes('c1'))
use includes function to check item in array |
28,078,047 | I'm writing a very simple contact form that will allow blue collar workers to submit safety concern notices over our intranet. Contact form is displayed in HTML and asks for a Name, a From email, and the message to be sent. It always sends to our safety email.
The server and port are correct. It's an Exchange 2010 ser... | 2015/01/21 | [
"https://Stackoverflow.com/questions/28078047",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4470820/"
] | The answer is simple, if mail host field has an FQDN defined(xx.yy.com) instead of an IP address, the server should be able to resolve the FQDN. Else it would trigger an error called Invalid domain name.
Hope this helps! | Basically, for SMTP "greetings", Swiftmailer is doing :
```
$response = $this->executeCommand(
sprintf("EHLO %s\r\n", $this->domain), [250]
);
```
and this 'Domain' value comes from `$_SERVER['SERVER_NAME']`.
So you just have to change `server_name` value in nginx or `ServerName` in ... |
28,078,047 | I'm writing a very simple contact form that will allow blue collar workers to submit safety concern notices over our intranet. Contact form is displayed in HTML and asks for a Name, a From email, and the message to be sent. It always sends to our safety email.
The server and port are correct. It's an Exchange 2010 ser... | 2015/01/21 | [
"https://Stackoverflow.com/questions/28078047",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4470820/"
] | Just to add to [Dilraj Rajan](https://stackoverflow.com/a/45822669/10907864) answer.
Do not add the `http://` or `https://` prefix to your URL when defining your **FQDN** (Fully Qualified Domain Name).
**That is**;
Do not define **FQDN** like this `http://example.com`'
Rather define **FQDN** like this: `example.com... | Basically, for SMTP "greetings", Swiftmailer is doing :
```
$response = $this->executeCommand(
sprintf("EHLO %s\r\n", $this->domain), [250]
);
```
and this 'Domain' value comes from `$_SERVER['SERVER_NAME']`.
So you just have to change `server_name` value in nginx or `ServerName` in ... |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | Actually, scratch that. Do this: edit /etc/gdm3/custom.conf and uncomment the line:
#WaylandEnable=false
The issue also doesn't seem to appear in a fresh install of Ubuntu 18.10.
Go [here](https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1798790) and press the affects me button to raise awareness. Feel free to pr... | I had the same issue on Zorin 15 - which is based on Ubuntu 18. Fortunately, I can still SSH to the box.
I simply did **sudo apt-get remove gnome-shell** and then **sudo apt-get install gnome-shell** |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | My Ubuntu is 18.04.2 LTS, and I got the exactly the same problem. I tried many ways searched from google but failed.
The final solution for me is (which I don't know why it works):
1. First you need to login after "Started bpfilter".
Type: your\_username→enter→password,
Then you will get a terminal which is the sam... | Installing LightDM worked for me. I'm on an iMac late 2013 with Ubuntu 19.04 and kernel 5.0.0-23-generic. I installed SLiM first, but since I run a two-monitor setup, the login screen was just messed up. |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | On Ubuntu 18.10. kernel 4.18.0-12-generic, GNOME Shell 3.30.1 - X11, since a Dec 9 update, login kept hanging on `Started bpfilter` -- I think a possible conflict between systemd and bpfilter (I think managed by the kernel.) The following suggested fixes had no effect on my system:
1. Removing nVidia drivers (my lapt... | I had the same issue on Zorin 15 - which is based on Ubuntu 18. Fortunately, I can still SSH to the box.
I simply did **sudo apt-get remove gnome-shell** and then **sudo apt-get install gnome-shell** |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | On Ubuntu 18.10. kernel 4.18.0-12-generic, GNOME Shell 3.30.1 - X11, since a Dec 9 update, login kept hanging on `Started bpfilter` -- I think a possible conflict between systemd and bpfilter (I think managed by the kernel.) The following suggested fixes had no effect on my system:
1. Removing nVidia drivers (my lapt... | If you are using **ubuntu 18.10** on **VirtualBox** and have been playing with settings of the virtual machine, it might help to set **Settings->Display->Enable 3d acceleration** back on. |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | I just had the same set of symptoms with the best results from the previous post:
1. Recovery Mode
2. apt-get install slim
3. dpkg-reconfigure gdm3
4. reboot | Installing LightDM worked for me. I'm on an iMac late 2013 with Ubuntu 19.04 and kernel 5.0.0-23-generic. I installed SLiM first, but since I run a two-monitor setup, the login screen was just messed up. |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | Ok, I might get downvoted to oblivion and get my answer privilege taken away because this is only an improvement (Or I would like to think so) but I have to answer this.
**Note:** this is an improvement over @zanna 's answer in this same thread, but I don't have comment privilege yet so I'm posting this as a separate ... | Installing LightDM worked for me. I'm on an iMac late 2013 with Ubuntu 19.04 and kernel 5.0.0-23-generic. I installed SLiM first, but since I run a two-monitor setup, the login screen was just messed up. |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | I just had the same set of symptoms with the best results from the previous post:
1. Recovery Mode
2. apt-get install slim
3. dpkg-reconfigure gdm3
4. reboot | If you are using **ubuntu 18.10** on **VirtualBox** and have been playing with settings of the virtual machine, it might help to set **Settings->Display->Enable 3d acceleration** back on. |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | My Ubuntu is 18.04.2 LTS, and I got the exactly the same problem. I tried many ways searched from google but failed.
The final solution for me is (which I don't know why it works):
1. First you need to login after "Started bpfilter".
Type: your\_username→enter→password,
Then you will get a terminal which is the sam... | I had the same problem and found out that I caused it by editing the banner section in the file
```
/etc/gdm3/greeter.dconf-defaults.
```
I had to make the lines for *banner, message and comment* again and it did not hang anymore. |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | I had the same problem and found out that I caused it by editing the banner section in the file
```
/etc/gdm3/greeter.dconf-defaults.
```
I had to make the lines for *banner, message and comment* again and it did not hang anymore. | Installing LightDM worked for me. I'm on an iMac late 2013 with Ubuntu 19.04 and kernel 5.0.0-23-generic. I installed SLiM first, but since I run a two-monitor setup, the login screen was just messed up. |
1,084,550 | Today I have updated from my Ubuntu 18.04 to 18.10 by software upgrade app ( coudn't wait till tomorrow ). It took a bit of time, but at the end of it I was asked to restart my PC. Upon restarting, I get to boot runtime.
The boot log on screen passed numerous processes like gnome manager and stopped on "Started bpfil... | 2018/10/17 | [
"https://askubuntu.com/questions/1084550",
"https://askubuntu.com",
"https://askubuntu.com/users/883002/"
] | I just had the same set of symptoms with the best results from the previous post:
1. Recovery Mode
2. apt-get install slim
3. dpkg-reconfigure gdm3
4. reboot | I had the same issue on Zorin 15 - which is based on Ubuntu 18. Fortunately, I can still SSH to the box.
I simply did **sudo apt-get remove gnome-shell** and then **sudo apt-get install gnome-shell** |
5,802,555 | I'm trying to **reduce the padding** between the fields of my ExtJS form.
I am able to change the style of the **field data** with the style tag in the Items collection like this:

```
//form right
var simple_form_right = new Ext.FormPanel({
fra... | 2011/04/27 | [
"https://Stackoverflow.com/questions/5802555",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4639/"
] | There's [`labelPad`](http://dev.sencha.com/deploy/ext-3.3.1/docs/source/Form.html#cfg-Ext.form.FormPanel-labelPad) which defaults to 5px apparently, and [`labelStyle`](http://dev.sencha.com/deploy/ext-3.3.1/docs/source/Component.html#cfg-Ext.Component-labelStyle) if you need more than that. | You can make use of the `labelStyle` property available for form fields.
Here is an example:
```
items: [{
fieldLabel: 'Company',
name: 'company',
labelStyle: 'padding: 10px 10px;'
}]
``` |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | Here's a list of thing I used to get familiar with DX controlls:
1. As [Aseem Gautam](https://stackoverflow.com/questions/2499140/starting-in-devexpress/2499186#2499186)'s answer web casts gives good overall prospective
2. To get more detailed picture you can look through few sample apps
3. DX documentation, knowledge... | Best is to watch the online webcasts. |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | Here's a list of thing I used to get familiar with DX controlls:
1. As [Aseem Gautam](https://stackoverflow.com/questions/2499140/starting-in-devexpress/2499186#2499186)'s answer web casts gives good overall prospective
2. To get more detailed picture you can look through few sample apps
3. DX documentation, knowledge... | Professional DevExpress ASP.NET Controls by Wrox
<http://www.wrox.com/WileyCDA/WroxTitle/Professional-DevExpress-ASP-NET-Controls.productCd-0470500832.html> |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | Best is to watch the online webcasts. | I would recommend the devexpress site as the best source. They even have online demos that will help a lot. |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | you can find some demonstration here :
<http://demos.devexpress.com/ASP/> | I would recommend the devexpress site as the best source. They even have online demos that will help a lot. |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | you can find some demonstration here :
<http://demos.devexpress.com/ASP/> | <https://www.devexpress.com/ClientCenter/Downloads/#Documentation>
 |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | <https://www.devexpress.com/ClientCenter/Downloads/#Documentation>
 | View the [online videos](http://tv.devexpress.com/) at the Developer Express site. |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | Professional DevExpress ASP.NET Controls by Wrox
<http://www.wrox.com/WileyCDA/WroxTitle/Professional-DevExpress-ASP-NET-Controls.productCd-0470500832.html> | View the [online videos](http://tv.devexpress.com/) at the Developer Express site. |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | Here's a list of thing I used to get familiar with DX controlls:
1. As [Aseem Gautam](https://stackoverflow.com/questions/2499140/starting-in-devexpress/2499186#2499186)'s answer web casts gives good overall prospective
2. To get more detailed picture you can look through few sample apps
3. DX documentation, knowledge... | <https://www.devexpress.com/ClientCenter/Downloads/#Documentation>
 |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | you can find some demonstration here :
<http://demos.devexpress.com/ASP/> | Best is to watch the online webcasts. |
2,499,140 | I am looking at integrating DevExpress to a webapp Im doing in asp.net C#.
Finding it difficult to get a good article or book on how to begin. any where to find these? | 2010/03/23 | [
"https://Stackoverflow.com/questions/2499140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/291743/"
] | Best is to watch the online webcasts. | View the [online videos](http://tv.devexpress.com/) at the Developer Express site. |
10,733,795 | in Firefox-preferences you can select if passwords should be stored and if fields should be auto-filled. If I visit the site of my bank I wondered how it is handled that I won't be asked if I want to store password or username!?
Which markup is necessary to prevent auto-fill or auto-complete in webforms? Thanks in adv... | 2012/05/24 | [
"https://Stackoverflow.com/questions/10733795",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1342614/"
] | ```
<form autocomplete="off">
```
Doesn't work on ff3 though, as far as I remember
<https://developer.mozilla.org/en/How_to_Turn_Off_Form_Autocompletion> | I'm adding this bit for a different point of view. Why not honeypot it stop chrome from botting your fields. It appears to work cross browser for me. Worth a shot.
<http://benjaminjshore.info/2014/05/chrome-auto-fill-honey-pot-hack.html> |
30,644,566 | I want to fade in 4 div boxes, one by one.
In css they have the opacity = 0.
Here my JavaScript code:
```
function fadeIn() {
var box = new Array(
document.getElementById('skill1'),
document.getElementById('skill2'),
document.getElementById('skill3'),
document.getElementById('skil... | 2015/06/04 | [
"https://Stackoverflow.com/questions/30644566",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4973774/"
] | By the time your your timeout runs, the loop has finished processing, so `i` will always be the last iteration. You need a closure:
```
for(var i = 0; i < box.length; i++) {
(function(index) {
setTimeout(function() {
box[index].style.opacity = "1";
}, index*500);
})(i)
}
``` | The problem is the scope. When anonymous function executes inside timeout `i` variable has the last value of the `i` in the iteration. There are two solutions:
1) Use an [IIFE](http://benalman.com/news/2010/11/immediately-invoked-function-expression/):
```
for (var i = 0; i < box.length; i++) {
(function (i) {
... |
66,503 | I watched a [video](https://www.youtube.com/watch?v=mICxKmCjF-4) that said that Republicans pushed the nation to the right. But I am getting the sense that Republicans are in a sense "maxed out" in pushing to the right ideologically.
Are Democrats moving left pushing the United States as a whole to the left? | 2021/07/18 | [
"https://politics.stackexchange.com/questions/66503",
"https://politics.stackexchange.com",
"https://politics.stackexchange.com/users/29035/"
] | It is a bit misguided to cast this as a Republican/Democrat issue, since the origins of it go back before the [Southern Strategy](https://en.wikipedia.org/wiki/Southern_strategy), where a large cohort of historically Democratic southern segregationists switched to the Republican party, reversing the conservative/libera... | There is definitely a reformist movement within the Democratic party (Bernie, Taylor, et. al.) that pushes towards a more socially responsive government to address prevailing socio-economic problems, including: public health, education, climate change, incentive to the alternative energy industry, minimum wage, etc. Th... |
66,503 | I watched a [video](https://www.youtube.com/watch?v=mICxKmCjF-4) that said that Republicans pushed the nation to the right. But I am getting the sense that Republicans are in a sense "maxed out" in pushing to the right ideologically.
Are Democrats moving left pushing the United States as a whole to the left? | 2021/07/18 | [
"https://politics.stackexchange.com/questions/66503",
"https://politics.stackexchange.com",
"https://politics.stackexchange.com/users/29035/"
] | There is definitely a reformist movement within the Democratic party (Bernie, Taylor, et. al.) that pushes towards a more socially responsive government to address prevailing socio-economic problems, including: public health, education, climate change, incentive to the alternative energy industry, minimum wage, etc. Th... | I think it's pretty clear that they are. What policy issues have Republicans and the right conclusively won in the past ~100 years? Pretty much just gun rights as far as I can tell, and even there one can make an argument they've lost at least some ground. Abortion, gay marriage, the welfare state, drug legalization, e... |
66,503 | I watched a [video](https://www.youtube.com/watch?v=mICxKmCjF-4) that said that Republicans pushed the nation to the right. But I am getting the sense that Republicans are in a sense "maxed out" in pushing to the right ideologically.
Are Democrats moving left pushing the United States as a whole to the left? | 2021/07/18 | [
"https://politics.stackexchange.com/questions/66503",
"https://politics.stackexchange.com",
"https://politics.stackexchange.com/users/29035/"
] | That would depend entirely on what you mean by left and right.
If you wanted to measure "push to the right" in terms of, say "fiscal responsibility", it is trivial to find plenty of people who will argue that the GOP did not push the USA to the right in the slightest.
If you look at the ACA and it's acceptance by a m... | There is definitely a reformist movement within the Democratic party (Bernie, Taylor, et. al.) that pushes towards a more socially responsive government to address prevailing socio-economic problems, including: public health, education, climate change, incentive to the alternative energy industry, minimum wage, etc. Th... |
66,503 | I watched a [video](https://www.youtube.com/watch?v=mICxKmCjF-4) that said that Republicans pushed the nation to the right. But I am getting the sense that Republicans are in a sense "maxed out" in pushing to the right ideologically.
Are Democrats moving left pushing the United States as a whole to the left? | 2021/07/18 | [
"https://politics.stackexchange.com/questions/66503",
"https://politics.stackexchange.com",
"https://politics.stackexchange.com/users/29035/"
] | It is a bit misguided to cast this as a Republican/Democrat issue, since the origins of it go back before the [Southern Strategy](https://en.wikipedia.org/wiki/Southern_strategy), where a large cohort of historically Democratic southern segregationists switched to the Republican party, reversing the conservative/libera... | I think it's pretty clear that they are. What policy issues have Republicans and the right conclusively won in the past ~100 years? Pretty much just gun rights as far as I can tell, and even there one can make an argument they've lost at least some ground. Abortion, gay marriage, the welfare state, drug legalization, e... |
66,503 | I watched a [video](https://www.youtube.com/watch?v=mICxKmCjF-4) that said that Republicans pushed the nation to the right. But I am getting the sense that Republicans are in a sense "maxed out" in pushing to the right ideologically.
Are Democrats moving left pushing the United States as a whole to the left? | 2021/07/18 | [
"https://politics.stackexchange.com/questions/66503",
"https://politics.stackexchange.com",
"https://politics.stackexchange.com/users/29035/"
] | That would depend entirely on what you mean by left and right.
If you wanted to measure "push to the right" in terms of, say "fiscal responsibility", it is trivial to find plenty of people who will argue that the GOP did not push the USA to the right in the slightest.
If you look at the ACA and it's acceptance by a m... | It is a bit misguided to cast this as a Republican/Democrat issue, since the origins of it go back before the [Southern Strategy](https://en.wikipedia.org/wiki/Southern_strategy), where a large cohort of historically Democratic southern segregationists switched to the Republican party, reversing the conservative/libera... |
66,503 | I watched a [video](https://www.youtube.com/watch?v=mICxKmCjF-4) that said that Republicans pushed the nation to the right. But I am getting the sense that Republicans are in a sense "maxed out" in pushing to the right ideologically.
Are Democrats moving left pushing the United States as a whole to the left? | 2021/07/18 | [
"https://politics.stackexchange.com/questions/66503",
"https://politics.stackexchange.com",
"https://politics.stackexchange.com/users/29035/"
] | That would depend entirely on what you mean by left and right.
If you wanted to measure "push to the right" in terms of, say "fiscal responsibility", it is trivial to find plenty of people who will argue that the GOP did not push the USA to the right in the slightest.
If you look at the ACA and it's acceptance by a m... | I think it's pretty clear that they are. What policy issues have Republicans and the right conclusively won in the past ~100 years? Pretty much just gun rights as far as I can tell, and even there one can make an argument they've lost at least some ground. Abortion, gay marriage, the welfare state, drug legalization, e... |
41,130,231 | There might come some follow up questions for this (and yes this is homework), but we have to solve a maze in my Java programming class (complete beginner) with using a recursive method. Now my problem is not the actual solving (yet, I am sure it will soon be my problem), but the fact that we have been given a part of ... | 2016/12/13 | [
"https://Stackoverflow.com/questions/41130231",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4311126/"
] | It seems that there is a `Zoomed` type family that is used to specify what kind of "effect" we will have when we zoom. In some cases, the `Zoomed` type instance for a monad transformer appears to piggyback on the `Zoomed` for the underlying monad, for example
```
type Zoomed (ReaderT * e m) = Zoomed m
```
Given that... | As additional to the answer @danidiaz.
---
Basically, you can avoid `Zoom` instance by this way:
```
bufDo :: BufAction () -> Alteration ()
bufDo = Alteration . zoom (editor . buffers . traverse) . runBufAction
``` |
10,505,139 | I want to give users some formatting options like Reddit or stackOverFlow do, but want to keep it in PHP. How can parse a string in PHP such that it recognizes patterns like `**[anything here]**`?
explode() doesn't seem to solve the problem as elegantly as I'd like. Should I just use nested ifs and fors based on explo... | 2012/05/08 | [
"https://Stackoverflow.com/questions/10505139",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1382662/"
] | This has already been done countless times by others, I'd recommend using existing libraries.
For example, you can use Markdown: <http://michelf.com/projects/php-markdown/> | Check regular expressions:
```
$string = '*bold* or _underscored_ or even /italic/ ..';
// italic
$string = preg_replace('~/([^/]+)/~', '<i>$1</i>', $string);
// bold
$string = preg_replace('/\*([^\*]+)\*/', '<b>$1</b>', $string);
// underscore
$string = preg_replace('/_([^_]+)_/', '<u>$1</u>', $string);
echo $string... |
32,989,494 | I have a json string as shown below
```
{
"college": {
"id": "RPD4007",
"address": "#302, 1 st cross"
},
"deparment": {
"department1": {
"name": {
"maths": {
"chapter": 1,
"name": "algebra",
"module_id": "01"
},
"e... | 2015/10/07 | [
"https://Stackoverflow.com/questions/32989494",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4136289/"
] | I think you are making jsonObject for two times.
Just do something like this
you have String that contains JSON DATA
Make an object for that which you did
```
string json_string = EntityUtils.toString(response.getEntity());
jObj = new JSONObject(json_string);//json object
```
then make a loop to get the object insi... | The answers here: [JSON order mixed up](https://stackoverflow.com/a/4920304/4201441)
As a consequence, JSON libraries are free to rearrange the order of the elements as they see fit. This is not a bug. |
3,657,996 | I encountered a exercise problem listed below:
The probability that a driver will have an accident in 1 month is 0.02. Find the probability that he will have 3 accidents in 100 months.
I am thinking of a random variable that will best describe the situation. It seems that I should pick exponential random variable, bu... | 2020/05/04 | [
"https://math.stackexchange.com/questions/3657996",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/676553/"
] | Let $X\_i$ describe "having an accident the $i$th month". It's a Bernoulli B(0.02). Set $$S\_{100}=X\_1+...+X\_{100}.$$
$S\_{100}$ is a binomial $Bin(100,0.02)$. You wish to estimate
$$\mathbb P(S\_{100}=3).$$
That can be compute brute force, or using Poisson approximation. | Thank Lulu for give me hints about how to proceed with Poisson random variable
I am using Poisson Random Variable to solve this problem (will attempt using Binomial brute force method later)
Given that
$$p\_{X}(1)=e^{-\lambda }\frac{\lambda ^{1}}{1!}=0.02$$
We are looking for the probability when n = 100, k=3, $\l... |
3,657,996 | I encountered a exercise problem listed below:
The probability that a driver will have an accident in 1 month is 0.02. Find the probability that he will have 3 accidents in 100 months.
I am thinking of a random variable that will best describe the situation. It seems that I should pick exponential random variable, bu... | 2020/05/04 | [
"https://math.stackexchange.com/questions/3657996",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/676553/"
] | This answer is implementing the Binomial brute force method described above:
Let $X\_{i}$ be number of accidents in a month, and we have
$$p\_{X\_{i}}(k)=\frac{n!}{k!(n-k)!}p^{k}(1-p)^{n-k}$$
Also, we are given that $p\_{X\_{1}}(1)=\frac{1!}{1!(1-1)!}p^{1}(1-p)^{0}=p=0.02$
We are looking for $S\_{100}=X\_{1}+X\_{2}... | Thank Lulu for give me hints about how to proceed with Poisson random variable
I am using Poisson Random Variable to solve this problem (will attempt using Binomial brute force method later)
Given that
$$p\_{X}(1)=e^{-\lambda }\frac{\lambda ^{1}}{1!}=0.02$$
We are looking for the probability when n = 100, k=3, $\l... |
63,931,616 | I am doing colab, and I found something weird see this:
pd.head()
[](https://i.stack.imgur.com/kSo3v.png)
But I want to do like this:
[](https://i.stack.imgur.com/Gue6H.png)
Any solution for this problem?
T... | 2020/09/17 | [
"https://Stackoverflow.com/questions/63931616",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5027619/"
] | Unless you are printing a dataframe using `print` google colab automatically displays the data in table format. If in some cases it doesn't you can force it to show using [`display`](https://ipython.readthedocs.io/en/stable/api/generated/IPython.display.html)
You can use `display` form ipython to print mutiple tables.... | Add:
At the first time %load\_ext google.colab.data\_table doesn't work.
So do `%load_ext google.colab.data_table` first,
And fo `%unload_ext google.colab.data_table`
then do `pd.head()` will works well ! |
19,598,262 | I've been struggling to install jekyll on my mac, don't know much about ruby or configuring/debugging these messages.
I'm getting the following when running "sudo gem install jekyll"
```
Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native exte... | 2013/10/25 | [
"https://Stackoverflow.com/questions/19598262",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2023195/"
] | use this command :
```
$ sudo xcode-select -r
```
then
```
$ sudo gem install jekyll
```
Hope this help you. | Besides upgrading xcode, as rayrashmi suggested, you have to actually *open* it so the command-line tools are properly installed.
(I am assuming you installed the command-line tools from xcode before upgrading to mavericks, if you haven't they're under `Preferences → Downloads → Components`, [official info here](http:... |
309,857 | I have ubuntu 12.10 and I can't play dvd movies. I tried every kmplayer vlc gnomeVLC could not read the file (Input/output error).
```
File reading failed:
VLC could not read the file (Input/output error).
File reading failed:
VLC could not read the file (Input/output error).
Your input can't be opened:
VLC is unable ... | 2013/06/18 | [
"https://askubuntu.com/questions/309857",
"https://askubuntu.com",
"https://askubuntu.com/users/168327/"
] | This might be caused by not having the correct codecs installed. To be able to play DVDs on Ubuntu, there are a few things you need to do first:
1. Install `ubuntu-restricted-extras`, either through the software center or the terminal using the following command: `sudo apt-get install ubuntu-restricted-extras`
2. Inst... | You need Medibuntu for this - here is documentation - what to do :
<https://help.ubuntu.com/community/Medibuntu> |
309,857 | I have ubuntu 12.10 and I can't play dvd movies. I tried every kmplayer vlc gnomeVLC could not read the file (Input/output error).
```
File reading failed:
VLC could not read the file (Input/output error).
File reading failed:
VLC could not read the file (Input/output error).
Your input can't be opened:
VLC is unable ... | 2013/06/18 | [
"https://askubuntu.com/questions/309857",
"https://askubuntu.com",
"https://askubuntu.com/users/168327/"
] | For Ubuntu `16.04` i needed to do some more. I needed to install `libdvdread4` and `libdvdcss` The first one can be installed through `apt`. For the latter one the installation steps are written in detail in
`/usr/share/doc/libdvdread4/README.css` or [here](https://www.videolan.org/developers/libdvdcss.html). After ad... | You need Medibuntu for this - here is documentation - what to do :
<https://help.ubuntu.com/community/Medibuntu> |
309,857 | I have ubuntu 12.10 and I can't play dvd movies. I tried every kmplayer vlc gnomeVLC could not read the file (Input/output error).
```
File reading failed:
VLC could not read the file (Input/output error).
File reading failed:
VLC could not read the file (Input/output error).
Your input can't be opened:
VLC is unable ... | 2013/06/18 | [
"https://askubuntu.com/questions/309857",
"https://askubuntu.com",
"https://askubuntu.com/users/168327/"
] | This might be caused by not having the correct codecs installed. To be able to play DVDs on Ubuntu, there are a few things you need to do first:
1. Install `ubuntu-restricted-extras`, either through the software center or the terminal using the following command: `sudo apt-get install ubuntu-restricted-extras`
2. Inst... | For Ubuntu `16.04` i needed to do some more. I needed to install `libdvdread4` and `libdvdcss` The first one can be installed through `apt`. For the latter one the installation steps are written in detail in
`/usr/share/doc/libdvdread4/README.css` or [here](https://www.videolan.org/developers/libdvdcss.html). After ad... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 3