qid int64 1 74.7M | question stringlengths 0 58.3k | date stringlengths 10 10 | metadata list | response_j stringlengths 2 48.3k | response_k stringlengths 2 40.5k |
|---|---|---|---|---|---|
7,812 | I'd like to make some extra icepacks to put in my coolbag. The 2 commercial icepacks it comes with don't maintain the temperature for long enough, so I've tried supplementing them with plastic bottles of water that I've frozen. This works reasonably well but are there other containers that would work better and is ther... | 2015/07/27 | [
"https://lifehacks.stackexchange.com/questions/7812",
"https://lifehacks.stackexchange.com",
"https://lifehacks.stackexchange.com/users/5304/"
] | ### Use a mixture to modify the water's properties
You could use an antifreeze/water mixture that you put in a bottle. You will have a much lower freezing and higher boiling point that just water. This will allow you to keep your frozen packs at a lower temperature than plain ice for longer.
### Safety Concerns
You ... | The "R" value of the cooler insulation as well as the seal around the lid are important in retaining the cold. The size of the cooler is also important because the ratio of ice to the product you are trying to keep cool is also a factor. You can get pink RV anti-freeze used to winterize drinking water pipes and tanks i... |
7,812 | I'd like to make some extra icepacks to put in my coolbag. The 2 commercial icepacks it comes with don't maintain the temperature for long enough, so I've tried supplementing them with plastic bottles of water that I've frozen. This works reasonably well but are there other containers that would work better and is ther... | 2015/07/27 | [
"https://lifehacks.stackexchange.com/questions/7812",
"https://lifehacks.stackexchange.com",
"https://lifehacks.stackexchange.com/users/5304/"
] | ### Use a mixture to modify the water's properties
You could use an antifreeze/water mixture that you put in a bottle. You will have a much lower freezing and higher boiling point that just water. This will allow you to keep your frozen packs at a lower temperature than plain ice for longer.
### Safety Concerns
You ... | Place you whole cooler in extra isolation, like a good sleeping bag or several old blankets.
This works best if you do not have to open the cooler much or at all.
You can take out the beers all at once and keep them cool by rolling them, individualy, in a big towel.
That allows the cooler to stay at a steady tem... |
7,812 | I'd like to make some extra icepacks to put in my coolbag. The 2 commercial icepacks it comes with don't maintain the temperature for long enough, so I've tried supplementing them with plastic bottles of water that I've frozen. This works reasonably well but are there other containers that would work better and is ther... | 2015/07/27 | [
"https://lifehacks.stackexchange.com/questions/7812",
"https://lifehacks.stackexchange.com",
"https://lifehacks.stackexchange.com/users/5304/"
] | Insulate your cooler more effectively.
--------------------------------------
You didn't mention what type of cooler you are using, so I am guessing that you have a standard injection molded plastic cooler. If you have Styrofoam, then this answer won't work for you.
Drill a hole into the injection molded plastic at o... | The "R" value of the cooler insulation as well as the seal around the lid are important in retaining the cold. The size of the cooler is also important because the ratio of ice to the product you are trying to keep cool is also a factor. You can get pink RV anti-freeze used to winterize drinking water pipes and tanks i... |
7,812 | I'd like to make some extra icepacks to put in my coolbag. The 2 commercial icepacks it comes with don't maintain the temperature for long enough, so I've tried supplementing them with plastic bottles of water that I've frozen. This works reasonably well but are there other containers that would work better and is ther... | 2015/07/27 | [
"https://lifehacks.stackexchange.com/questions/7812",
"https://lifehacks.stackexchange.com",
"https://lifehacks.stackexchange.com/users/5304/"
] | Insulate your cooler more effectively.
--------------------------------------
You didn't mention what type of cooler you are using, so I am guessing that you have a standard injection molded plastic cooler. If you have Styrofoam, then this answer won't work for you.
Drill a hole into the injection molded plastic at o... | Place you whole cooler in extra isolation, like a good sleeping bag or several old blankets.
This works best if you do not have to open the cooler much or at all.
You can take out the beers all at once and keep them cool by rolling them, individualy, in a big towel.
That allows the cooler to stay at a steady tem... |
7,812 | I'd like to make some extra icepacks to put in my coolbag. The 2 commercial icepacks it comes with don't maintain the temperature for long enough, so I've tried supplementing them with plastic bottles of water that I've frozen. This works reasonably well but are there other containers that would work better and is ther... | 2015/07/27 | [
"https://lifehacks.stackexchange.com/questions/7812",
"https://lifehacks.stackexchange.com",
"https://lifehacks.stackexchange.com/users/5304/"
] | I've never done this myself, but I've camped with people who have used dry ice to keep things cold/frozen over the course of four days.
Dry ice is much colder than regular ice, so you may actually have to insulate things you don't want to freeze from it. Keep it at the bottom of the bag, or maybe move it to the top if... | The "R" value of the cooler insulation as well as the seal around the lid are important in retaining the cold. The size of the cooler is also important because the ratio of ice to the product you are trying to keep cool is also a factor. You can get pink RV anti-freeze used to winterize drinking water pipes and tanks i... |
7,812 | I'd like to make some extra icepacks to put in my coolbag. The 2 commercial icepacks it comes with don't maintain the temperature for long enough, so I've tried supplementing them with plastic bottles of water that I've frozen. This works reasonably well but are there other containers that would work better and is ther... | 2015/07/27 | [
"https://lifehacks.stackexchange.com/questions/7812",
"https://lifehacks.stackexchange.com",
"https://lifehacks.stackexchange.com/users/5304/"
] | I've never done this myself, but I've camped with people who have used dry ice to keep things cold/frozen over the course of four days.
Dry ice is much colder than regular ice, so you may actually have to insulate things you don't want to freeze from it. Keep it at the bottom of the bag, or maybe move it to the top if... | Place you whole cooler in extra isolation, like a good sleeping bag or several old blankets.
This works best if you do not have to open the cooler much or at all.
You can take out the beers all at once and keep them cool by rolling them, individualy, in a big towel.
That allows the cooler to stay at a steady tem... |
7,812 | I'd like to make some extra icepacks to put in my coolbag. The 2 commercial icepacks it comes with don't maintain the temperature for long enough, so I've tried supplementing them with plastic bottles of water that I've frozen. This works reasonably well but are there other containers that would work better and is ther... | 2015/07/27 | [
"https://lifehacks.stackexchange.com/questions/7812",
"https://lifehacks.stackexchange.com",
"https://lifehacks.stackexchange.com/users/5304/"
] | This may seem to be a simple approach but here it goes. 2 options:
1. 2 separate coolers, one for beers one for food. If you don't open the food cooler till the morning the cooling will last much longer.
2. The easier option: place your beers in the freezer as well not long enough for them to freeze but maybe 5 hours ... | The "R" value of the cooler insulation as well as the seal around the lid are important in retaining the cold. The size of the cooler is also important because the ratio of ice to the product you are trying to keep cool is also a factor. You can get pink RV anti-freeze used to winterize drinking water pipes and tanks i... |
7,812 | I'd like to make some extra icepacks to put in my coolbag. The 2 commercial icepacks it comes with don't maintain the temperature for long enough, so I've tried supplementing them with plastic bottles of water that I've frozen. This works reasonably well but are there other containers that would work better and is ther... | 2015/07/27 | [
"https://lifehacks.stackexchange.com/questions/7812",
"https://lifehacks.stackexchange.com",
"https://lifehacks.stackexchange.com/users/5304/"
] | This may seem to be a simple approach but here it goes. 2 options:
1. 2 separate coolers, one for beers one for food. If you don't open the food cooler till the morning the cooling will last much longer.
2. The easier option: place your beers in the freezer as well not long enough for them to freeze but maybe 5 hours ... | Place you whole cooler in extra isolation, like a good sleeping bag or several old blankets.
This works best if you do not have to open the cooler much or at all.
You can take out the beers all at once and keep them cool by rolling them, individualy, in a big towel.
That allows the cooler to stay at a steady tem... |
175,583 | >
> **Possible Duplicate:**
>
> [Where does this concept of “favor composition over inheritance” come from?](https://softwareengineering.stackexchange.com/questions/65179/where-does-this-concept-of-favor-composition-over-inheritance-come-from)
>
>
>
I have colleagues at work who claim that "Inheritance is an a... | 2012/11/12 | [
"https://softwareengineering.stackexchange.com/questions/175583",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/65385/"
] | You're sort of looking at it backwards. Composition isn't preferred because of some unseen benefit of composition, it's preferred because it avoids the drawbacks of inheritance. Inheritance adds the significant benefit of substitutability. However, that benefit comes with the significant cost of tight coupling. Inherit... | I think the difference between the two things is in their intent. Is the class you are writing really meant to be used as replacement / specialisation of its Base class or is it just using some functionality? If the First Case is true you should go with inheritance. If the latter is true go for composition. In my exper... |
11,708,005 | I want to know how to put text to a website's textbox with VB.NET.
Like when you complete a textbox and press enter.
Something like this:
Dim web as webbrowser
web.document.textbox(1).insert("text") | 2012/07/29 | [
"https://Stackoverflow.com/questions/11708005",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1494250/"
] | it would look something like this:
```
WebBrowser1.Document.GetElementById("login_password").SetAttribute("value", TextBox2.Text)
``` | As giuseppe has suggested, you need to search for the element in the document and then set it's value property. for example following code logins into website by setting its userId and password textboxes and clicking the submit button.
```
Dim htmlDoc=WebBrowser1.Document
Dim elem_Input_UsrName As HtmlElement = htmlDo... |
11,708,005 | I want to know how to put text to a website's textbox with VB.NET.
Like when you complete a textbox and press enter.
Something like this:
Dim web as webbrowser
web.document.textbox(1).insert("text") | 2012/07/29 | [
"https://Stackoverflow.com/questions/11708005",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1494250/"
] | it would look something like this:
```
WebBrowser1.Document.GetElementById("login_password").SetAttribute("value", TextBox2.Text)
``` | This will help 100%:
```
webbrowser1.document.getElementById("yourtextboxidinwebsite").innertext = textbox1.text
``` |
11,708,005 | I want to know how to put text to a website's textbox with VB.NET.
Like when you complete a textbox and press enter.
Something like this:
Dim web as webbrowser
web.document.textbox(1).insert("text") | 2012/07/29 | [
"https://Stackoverflow.com/questions/11708005",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1494250/"
] | it would look something like this:
```
WebBrowser1.Document.GetElementById("login_password").SetAttribute("value", TextBox2.Text)
``` | I get a way that if u want to receive from the website itself another way I need to receive results from the website into the text box. U can use this method.
first, make a web browser to load the page
WebBrowser1.Navigate("https://tools.keycdn.com/geo")
then this
```
TextBox1.Text = WebBrowser1.Document.GetElem... |
725,817 | I'm seeing a strange problem with the ADFS updatepassword page. We're batch-creating users, and they are trying to change their passwords. However, roughly 50% of the accounts can't change their password, the following event is logged:
>
> Password change failed for following user:
>
>
> Additional Data
>
>
> U... | 2015/09/30 | [
"https://serverfault.com/questions/725817",
"https://serverfault.com",
"https://serverfault.com/users/38771/"
] | I've seen these types of problems (though not that specific one) because of the minimum password age policy. If set to 1 day it means that once the user changes their password, they cannot do so again for 1 day.
So when you bulk create you need a dummy password because you can't create a user without one and then the ... | I'm not terribly familiar with using ADFS to change passwords, but in my experience, AD doesn't get that specific with why a new password was rejected. It's usually just an error that the new password violated some aspect of the password policy (history, complexity, length, minimum age, etc).
In the interest of troubl... |
242,604 | Working to remove the Gift Card feature on Magento 2 Cart summary section. Having issue getting this working.
Have created the following file:
```
.../app/design/frontend/***/***/Magento_Checkout/layout/checkout_cart_index.xml
```
The following code is not working to remove the giftcard block:
```
<page xmlns:xsi=... | 2018/09/17 | [
"https://magento.stackexchange.com/questions/242604",
"https://magento.stackexchange.com",
"https://magento.stackexchange.com/users/48552/"
] | After reading the first proposed solution which had already been tested, searched and found the module block in gift-card-account and this is the solution in the same file I was using in my question:
```
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ur... | The `Gift Card` is in `module-gift-message` and not in `module_checkout`so :
>
> /app/design/frontend/{Vendor}/{themeName}/Magento\_GiftMessage/layout/checkout\_cart\_index.xml
>
>
>
```
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:fr... |
242,604 | Working to remove the Gift Card feature on Magento 2 Cart summary section. Having issue getting this working.
Have created the following file:
```
.../app/design/frontend/***/***/Magento_Checkout/layout/checkout_cart_index.xml
```
The following code is not working to remove the giftcard block:
```
<page xmlns:xsi=... | 2018/09/17 | [
"https://magento.stackexchange.com/questions/242604",
"https://magento.stackexchange.com",
"https://magento.stackexchange.com/users/48552/"
] | To remove the Gift Card Message block from the cart page I tried the layout block remove instructions but it throughs me a JS error in the console for missing gift-message component.
I found the below solutions that works for me in proper way by dislabling the gift message component for Cart page.
>
> Create File:... | The `Gift Card` is in `module-gift-message` and not in `module_checkout`so :
>
> /app/design/frontend/{Vendor}/{themeName}/Magento\_GiftMessage/layout/checkout\_cart\_index.xml
>
>
>
```
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:fr... |
242,604 | Working to remove the Gift Card feature on Magento 2 Cart summary section. Having issue getting this working.
Have created the following file:
```
.../app/design/frontend/***/***/Magento_Checkout/layout/checkout_cart_index.xml
```
The following code is not working to remove the giftcard block:
```
<page xmlns:xsi=... | 2018/09/17 | [
"https://magento.stackexchange.com/questions/242604",
"https://magento.stackexchange.com",
"https://magento.stackexchange.com/users/48552/"
] | After reading the first proposed solution which had already been tested, searched and found the module block in gift-card-account and this is the solution in the same file I was using in my question:
```
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ur... | To remove the Gift Card Message block from the cart page I tried the layout block remove instructions but it throughs me a JS error in the console for missing gift-message component.
I found the below solutions that works for me in proper way by dislabling the gift message component for Cart page.
>
> Create File:... |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | Personally, I feel that the beauty of the badges is in their names. Some are very creative and others are well, some may say abstract.
As much as part of me is curious/excited to see how the graphical badges might turn out, I feel that it will dilute the names' impact.
Having say that, maybe someone can come out with... | For some reason, this reminded me of [a scene from *Time Bandits*](http://www.youtube.com/watch?v=jmS_hMnFNVM#t=1m12s). View last few seconds starting from about 1:12. |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | You can see graphical badges on some of the Stack Exchange sites -- epic advice and VFX overflow come to mind.
While I fully support this kind of customization for SE, I am not sure it really fits well with the highly-text oriented, no frills nature of the trilogy at the moment. | For some reason, this reminded me of [a scene from *Time Bandits*](http://www.youtube.com/watch?v=jmS_hMnFNVM#t=1m12s). View last few seconds starting from about 1:12. |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | It doesn't sound real useful even for visual effect, since the badges are only seen when you look at your profile page or the badge page. | For some reason, this reminded me of [a scene from *Time Bandits*](http://www.youtube.com/watch?v=jmS_hMnFNVM#t=1m12s). View last few seconds starting from about 1:12. |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | My eyes are already bleeding | You can see graphical badges on some of the Stack Exchange sites -- epic advice and VFX overflow come to mind.
While I fully support this kind of customization for SE, I am not sure it really fits well with the highly-text oriented, no frills nature of the trilogy at the moment. |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | Personally, I feel that the beauty of the badges is in their names. Some are very creative and others are well, some may say abstract.
As much as part of me is curious/excited to see how the graphical badges might turn out, I feel that it will dilute the names' impact.
Having say that, maybe someone can come out with... | You can see graphical badges on some of the Stack Exchange sites -- epic advice and VFX overflow come to mind.
While I fully support this kind of customization for SE, I am not sure it really fits well with the highly-text oriented, no frills nature of the trilogy at the moment. |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | Personally, I feel that the beauty of the badges is in their names. Some are very creative and others are well, some may say abstract.
As much as part of me is curious/excited to see how the graphical badges might turn out, I feel that it will dilute the names' impact.
Having say that, maybe someone can come out with... | It doesn't sound real useful even for visual effect, since the badges are only seen when you look at your profile page or the badge page. |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | We do have a very large community here.
Of programmers, system administrators and computer power users.
I'm not sure I'd count too heavily on this community for engaging, attractive, consistent (from a design language perspective) graphical icons.
Now, if you want a bunch of awesome freehand MS Paint art, you are to... | For some reason, this reminded me of [a scene from *Time Bandits*](http://www.youtube.com/watch?v=jmS_hMnFNVM#t=1m12s). View last few seconds starting from about 1:12. |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | You can see graphical badges on some of the Stack Exchange sites -- epic advice and VFX overflow come to mind.
While I fully support this kind of customization for SE, I am not sure it really fits well with the highly-text oriented, no frills nature of the trilogy at the moment. | It doesn't sound real useful even for visual effect, since the badges are only seen when you look at your profile page or the badge page. |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | My eyes are already bleeding | It doesn't sound real useful even for visual effect, since the badges are only seen when you look at your profile page or the badge page. |
38,330 | Well, the faq does say no question is too small and I haven't found this question asked elsewhere so...
I'd like to suggest the introduction of icons for the badges, as seen in Team Fortress 2, Day of Defeat: Source or even Kongregate. Imagine your favourite badge transformed with a colourful and amusing image!
With ... | 2010/02/04 | [
"https://meta.stackexchange.com/questions/38330",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/142697/"
] | My eyes are already bleeding | We do have a very large community here.
Of programmers, system administrators and computer power users.
I'm not sure I'd count too heavily on this community for engaging, attractive, consistent (from a design language perspective) graphical icons.
Now, if you want a bunch of awesome freehand MS Paint art, you are to... |
32,156,993 | How do I override the string representation for a single function in Python?
What I have tried:
```
>>> def f(): pass
...
>>> f
<function f at 0x7f7459227758>
>>> f.__str__ = lambda self: 'qwerty'
>>> f
<function f at 0x7f7459227758>
>>> f.__repr__ = lambda self: 'asdfgh'
>>> f
<function f at 0x7f7459227758>
>>> f.... | 2015/08/22 | [
"https://Stackoverflow.com/questions/32156993",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/852604/"
] | You can't. `__str__` and `__repr__` are special methods and thus are [always looked up on the type](https://docs.python.org/2/reference/datamodel.html#special-method-lookup-for-new-style-classes), not the instance. You'd have to override `type(f).__repr__` here, but that then would apply to *all* functions.
Your only ... | As explained by MartijnPieters, you can't do it without going through a class. But you can easily write a decorator which completely hides the added complexity:
```
from functools import update_wrapper
class _CustomReprFunc(object):
def __init__(self, fn, repr_):
self.fn = fn
self.repr = repr_
... |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | Well I responded to some posts above that had incorrect information, but I figured I should just post my own response to better explain.
Anonymous is made up of basically 2 subgroups:
1. Skiddies (script kiddies) and newbies who have only the most basic security knowledge, and just sit in their IRC and basically be ... | Maybe you should read [this PDF](http://cryptome.org/0003/anonymous-barr.pdf). They are not so anonymous. The LOIC tool used for DDOS, leaks the original IP of the person using it. You can use the browser (JavaScript) version of the same tool, maybe hiding behind Tor.
HBGary Federal exposed their names and addresses i... |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | In addition to the answers that have already been given, another reason it is so hard to catch **anonymous** is because **anonymous** can be anyone, literally. I mean this in two ways. First, hackers can use a combination of malware, spyware, and bots to access and use/loop through other peoples computers anywhere in t... | Maybe you should read [this PDF](http://cryptome.org/0003/anonymous-barr.pdf). They are not so anonymous. The LOIC tool used for DDOS, leaks the original IP of the person using it. You can use the browser (JavaScript) version of the same tool, maybe hiding behind Tor.
HBGary Federal exposed their names and addresses i... |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | One of the most important aspects of an attack like this is covering your tracks. There are lots of different ways to do this, as it depends on the technology. To address your specific questions:
When they DDoS: If the flood was coming from their own machines, then it would be fairly easy to track them. The problem li... | In addition to the answers that have already been given, another reason it is so hard to catch **anonymous** is because **anonymous** can be anyone, literally. I mean this in two ways. First, hackers can use a combination of malware, spyware, and bots to access and use/loop through other peoples computers anywhere in t... |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | One of the most important aspects of an attack like this is covering your tracks. There are lots of different ways to do this, as it depends on the technology. To address your specific questions:
When they DDoS: If the flood was coming from their own machines, then it would be fairly easy to track them. The problem li... | [Here is an article](http://www.scientificamerican.com/article.cfm?id=tracking-cyber-hackers) asking (and answering) just that very question from the Scientific American site posted this month. The short answer to the question is spoofing of source addresses and the use of proxies. |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | The thing about a DDoS is that you use *other people's* IPs, not your own. It's relatively simple to become untraceable on the Internet -- just route your traffic though a host that is not keeping traffic logs. As someone who frequently has to try to track these people down, I can tell you what an impossible nightmare ... | Maybe you should read [this PDF](http://cryptome.org/0003/anonymous-barr.pdf). They are not so anonymous. The LOIC tool used for DDOS, leaks the original IP of the person using it. You can use the browser (JavaScript) version of the same tool, maybe hiding behind Tor.
HBGary Federal exposed their names and addresses i... |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | There are NUMEROUS ways for a hacker to cover their tracks..
Here is one very generalized example:
A hacker can compromise a third party machine and use it to do attacks on the hackers behalf. Because the system is compromised, the hacker can delete/modify logs. A hacker can also piggyback machines, such as, log into... | Several post discuss the technical difficulties in finding the persons behind these groups. It is not at all easy to backtrack their activity when using many machines to create a sense of anonymity.
Another very important aspect is that the police, the intelligence communities around the globe and the different counti... |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | Maybe you should read [this PDF](http://cryptome.org/0003/anonymous-barr.pdf). They are not so anonymous. The LOIC tool used for DDOS, leaks the original IP of the person using it. You can use the browser (JavaScript) version of the same tool, maybe hiding behind Tor.
HBGary Federal exposed their names and addresses i... | **Hackers can be caught, Anonymous cannot.** Anonymous is such a lose collective that it is not materially hurt by law enforcement striking out at its individual hackers. However, it does respond violently against any organization that attempts to do so. This means
* Its very hard to strike down Anonymous just by catc... |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | From some experience with law enforcement and forensics, I can say one of the biggest issues is that ISPs really don't want to have to track users. Once they get beyond a certain level of management they lose 'common carrier' status and become liable for an awful lot of what their customers may do.
Also, many countrie... | There is one thing that hasn't been mentioned yet: the human factor.
These groups do not have a hierarchy as such, instead they form around a set of ideas. Most of the time, the only idea in common is "the governments are wrong, we must do justice by hacking", which is probably a feeling that's only getting stronger, ... |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | My answer pokes at the original question. What makes you think that they don't get caught?
The CIA and DoD found Osama bin Laden.
Typical means include OSINT, TECHINT, and HUMINT. Forensics can be done on Tor. Secure deletion tools such as sdelete, BCWipe, and DBAN are not perfect. Encryption tools such as GPG and Tr... | [Here is an article](http://www.scientificamerican.com/article.cfm?id=tracking-cyber-hackers) asking (and answering) just that very question from the Scientific American site posted this month. The short answer to the question is spoofing of source addresses and the use of proxies. |
2,231 | I'm not security literate, and if I was, I probably wouldn't be asking this question. As a regular tech news follower, I'm really surprised by the [outrage](http://en.wikipedia.org/wiki/Anonymous_%28group%29#Activities) of [Anonymous (hacker group)](http://en.wikipedia.org/wiki/Anonymous_%28group%29), but as a critical... | 2011/02/21 | [
"https://security.stackexchange.com/questions/2231",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/1152/"
] | Well I responded to some posts above that had incorrect information, but I figured I should just post my own response to better explain.
Anonymous is made up of basically 2 subgroups:
1. Skiddies (script kiddies) and newbies who have only the most basic security knowledge, and just sit in their IRC and basically be ... | [Here is an article](http://www.scientificamerican.com/article.cfm?id=tracking-cyber-hackers) asking (and answering) just that very question from the Scientific American site posted this month. The short answer to the question is spoofing of source addresses and the use of proxies. |
53,928,105 | I am trying to access my database every 30 seconds, however, whenever the method executes I can clearly see a performance dip in the application.
So far this is my current code:
```
var timer = Timer()
override func viewDidLoad() {
super.viewDidLoad()
scheduledTimerWithTimeInterval()
}
func scheduledTimerW... | 2018/12/26 | [
"https://Stackoverflow.com/questions/53928105",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9964910/"
] | Use Grand Central Dispatch :
```
DispatchQueue.global(qos: .background).async {
getDatabaseInfo()
}
``` | You can try with below code.
```
var timer = Timer()
override func viewDidLoad() {
super.viewDidLoad()
scheduledTimerWithTimeInterval()
}
func scheduledTimerWithTimeInterval(){
timer = Timer.scheduledTimer(timeInterval: 30, target: self, selector: #selector(self.updateCounting), userInfo: nil, repeats: ... |
53,928,105 | I am trying to access my database every 30 seconds, however, whenever the method executes I can clearly see a performance dip in the application.
So far this is my current code:
```
var timer = Timer()
override func viewDidLoad() {
super.viewDidLoad()
scheduledTimerWithTimeInterval()
}
func scheduledTimerW... | 2018/12/26 | [
"https://Stackoverflow.com/questions/53928105",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9964910/"
] | You can just run the timer directly on the background queue by using a `DispatchSourceTimer`:
```
private var timer: DispatchSourceTimer?
func startTimer() {
let queue = DispatchQueue(label: Bundle.main.bundleIdentifier! + ".timer")
timer = DispatchSource.makeTimerSource(queue: queue)
timer!.schedule(dead... | You can try with below code.
```
var timer = Timer()
override func viewDidLoad() {
super.viewDidLoad()
scheduledTimerWithTimeInterval()
}
func scheduledTimerWithTimeInterval(){
timer = Timer.scheduledTimer(timeInterval: 30, target: self, selector: #selector(self.updateCounting), userInfo: nil, repeats: ... |
1,812,405 | Determining the image of a function $\psi:\mathbb{R}^2 \rightarrow \mathbb{R}^2$, $\psi(x,y) = (x^2 - y^2, x^2 + y^2)$
I made some observations about $\psi$:
$\psi$ isn't injective, since $\psi(-x,-y) = \psi(x,y)$.
The restriction $\psi\_{|D}$, where $D = \{(x,y) \in \mathbb{R}^2 | x,y>0\}$ makes $\psi$ injective, si... | 2016/06/04 | [
"https://math.stackexchange.com/questions/1812405",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/-1/"
] | Let $(a,b)$ be arbitrary in $\mathbb{R}^2$ and consider $\phi(x,y) = (a,b)$, so:
$$\left\{\begin{array}{rcl}
x^2-y^2 & = & a \\
x^2+y^2 & = & b
\end{array}\right. \iff
\left\{\begin{array}{rcl}
x^2 & = & \frac{a+b}{2} \\
y^2 & = & \frac{b-a}{2}
\end{array}\right.$$
This is only possible when $a+b \ge 0 \iff b \ge -a... | Take any $(a,b)\in \mathbb{R}^2$ and try to find a preimage:
We want to find $(x,y)\in D$ such that $x^2-y^2=a$ and $x^2+y^2=b$.
Hence, you have: $2x^2=a+b$ and $2y^2=b-a$ so $\psi(\sqrt{\frac{a+b}2},\sqrt{\frac{b-a}2})=(a,b)$
However, you have to make sure that both expressions for $x$ and $y$ makes sense i.e. that $... |
15,417,588 | OK now I know that this question has been asked before several times on SO but none of the answers have worked for me.
I am attempting to create a custom preference for my project. More specifically it is a preference with a [`HorizontalListView`](http://www.dev-smart.com/archives/34) attached directly underneath it. ... | 2013/03/14 | [
"https://Stackoverflow.com/questions/15417588",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1679658/"
] | but why you wrote
```
<custom:ListViewPreference
```
it should be
```
<com.example.ebookreader.ListViewPreference
```
As your package, where class placed, called | Generally, you need to use the full path to a component:
```
<com.example.ebookreader.ListViewPreference
android:id="@+id/font_selector"
android:key="font"
android:title="Font"
android:summary="Edit Font"
/>
```
I have never seen the use of "Custom:" as an element. |
47,788,964 | When I run the following code
```
public class Program
{
public static void Main()
{
string s = "480";
Console.WriteLine(1 == -1 ? 0 : s[1]);
Console.WriteLine(s[1]);
}
}
```
I get
```
56
8
```
I don't understand how I get 56. | 2017/12/13 | [
"https://Stackoverflow.com/questions/47788964",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3208848/"
] | Your `0 : s[1]` converts the `char` in `s[1]` to an integer. And the value of `8` in the ASCII table is `56`.
You want to use a `char` on the left hand side too (using single quotes):
```
Console.WriteLine(1 == -1 ? '0' : s[1]);
``` | s[1] is the int value of the char.
The question operator implies an integer from the zero meaning it is an int. It converts the char to int. |
47,788,964 | When I run the following code
```
public class Program
{
public static void Main()
{
string s = "480";
Console.WriteLine(1 == -1 ? 0 : s[1]);
Console.WriteLine(s[1]);
}
}
```
I get
```
56
8
```
I don't understand how I get 56. | 2017/12/13 | [
"https://Stackoverflow.com/questions/47788964",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3208848/"
] | From the [Documentation on the ?: Operator](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/conditional-operator:)
>
> "Either the type of first\_expression and second\_expression must be the same, or an implicit conversion must exist from one type to the other."
>
>
>
and
>
> "The... | s[1] is the int value of the char.
The question operator implies an integer from the zero meaning it is an int. It converts the char to int. |
47,788,964 | When I run the following code
```
public class Program
{
public static void Main()
{
string s = "480";
Console.WriteLine(1 == -1 ? 0 : s[1]);
Console.WriteLine(s[1]);
}
}
```
I get
```
56
8
```
I don't understand how I get 56. | 2017/12/13 | [
"https://Stackoverflow.com/questions/47788964",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3208848/"
] | Your `0 : s[1]` converts the `char` in `s[1]` to an integer. And the value of `8` in the ASCII table is `56`.
You want to use a `char` on the left hand side too (using single quotes):
```
Console.WriteLine(1 == -1 ? '0' : s[1]);
``` | >
> I don't understand how I get 56.
>
>
>
in the first line it is interpreted as UTF-16 code of the char `8`:
```
Console.WriteLine(1 == -1 ? 0 : s[1]);
```
Using the conditional operator you give here the choice between an `int` `0` and a `char` so the compiler converts the latter implicitly to an `int` (whic... |
47,788,964 | When I run the following code
```
public class Program
{
public static void Main()
{
string s = "480";
Console.WriteLine(1 == -1 ? 0 : s[1]);
Console.WriteLine(s[1]);
}
}
```
I get
```
56
8
```
I don't understand how I get 56. | 2017/12/13 | [
"https://Stackoverflow.com/questions/47788964",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3208848/"
] | From the [Documentation on the ?: Operator](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/conditional-operator:)
>
> "Either the type of first\_expression and second\_expression must be the same, or an implicit conversion must exist from one type to the other."
>
>
>
and
>
> "The... | >
> I don't understand how I get 56.
>
>
>
in the first line it is interpreted as UTF-16 code of the char `8`:
```
Console.WriteLine(1 == -1 ? 0 : s[1]);
```
Using the conditional operator you give here the choice between an `int` `0` and a `char` so the compiler converts the latter implicitly to an `int` (whic... |
22,204 | Ven. Members of the Sangha (of Bhikkhus), Ven. fellows, valued Upasaka and Upasika, dear readers and interesed,
This question is intellectual and theoretical, or literary, but also/merely inviting self-reflection; but of course it can also be answered with words of the Buddha in "should-form" (in the later case, excha... | 2017/08/19 | [
"https://buddhism.stackexchange.com/questions/22204",
"https://buddhism.stackexchange.com",
"https://buddhism.stackexchange.com/users/11958/"
] | Generally Buddhist take refuge in Buddha, Dhamma, and Sangha.
In that regard, I would say I support Sangha. Because they protect Dhamma. Which helps to attain Buddhahood. Generally, Sangha means Ariya Sangha. But here I meant any person who can guide me in the right direction. | If I ever knew , I forgotten many times before remembering.
I forget and get caught up into the world. I suppose I am loyal to the world but more and more I am loyal to the naked truth of the Dhamma.
On the frontlines of the world is were learning is, right in the defilement! I don't know if I need a monastery. I don'... |
22,204 | Ven. Members of the Sangha (of Bhikkhus), Ven. fellows, valued Upasaka and Upasika, dear readers and interesed,
This question is intellectual and theoretical, or literary, but also/merely inviting self-reflection; but of course it can also be answered with words of the Buddha in "should-form" (in the later case, excha... | 2017/08/19 | [
"https://buddhism.stackexchange.com/questions/22204",
"https://buddhism.stackexchange.com",
"https://buddhism.stackexchange.com/users/11958/"
] | >
> **self-reflecting...**
>
>
>
*Atta-manasikara-self-reflecting*.
>
> **In regard of what are... able to claim being loyal?**
>
>
>
Anatta ([SN 22.59](http://www.accesstoinsight.org/tipitaka/sn/sn22/sn22.059.mend.html)). Sunnata ([SN 35.85](http://www.accesstoinsight.org/tipitaka/sn/sn35/sn35.085.than.html... | If I ever knew , I forgotten many times before remembering.
I forget and get caught up into the world. I suppose I am loyal to the world but more and more I am loyal to the naked truth of the Dhamma.
On the frontlines of the world is were learning is, right in the defilement! I don't know if I need a monastery. I don'... |
22,204 | Ven. Members of the Sangha (of Bhikkhus), Ven. fellows, valued Upasaka and Upasika, dear readers and interesed,
This question is intellectual and theoretical, or literary, but also/merely inviting self-reflection; but of course it can also be answered with words of the Buddha in "should-form" (in the later case, excha... | 2017/08/19 | [
"https://buddhism.stackexchange.com/questions/22204",
"https://buddhism.stackexchange.com",
"https://buddhism.stackexchange.com/users/11958/"
] | Everyone who can give me the whole 6 benefits: 1)own benefit, 2)other benefits, 3)public benefit, 4)this life benefit, 5)next life benefit, and 6)nibbāna benefit.
**Everyone** mean I try listen everyone.
**The whole** mean I trust in no separate benefits.
Infinity, until I will parinibbāna. | If I ever knew , I forgotten many times before remembering.
I forget and get caught up into the world. I suppose I am loyal to the world but more and more I am loyal to the naked truth of the Dhamma.
On the frontlines of the world is were learning is, right in the defilement! I don't know if I need a monastery. I don'... |
10,422,335 | that opens Minecraft.exe, and logs in when clicked. Is this possible? | 2012/05/02 | [
"https://Stackoverflow.com/questions/10422335",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | Hmm, Is this what you want; it should work:
```
@echo off
"%cd%\minecraft.exe" username password serverip
```
edit the username, password and ip to your liking.
---
A Better Solution in my opinion:
Just figured it out, the batch file doesn't work, however; when set up as a shortcut it does! So create a new short... | <http://www.minecraftwiki.net/wiki/Tutorials/Setting_up_a_server#Start_the_Minecraft_Server_.28.jar_version.29>
To start the jar version of Minecraft on Windows, create a new file in Notepad, and paste in
java -Xms512M -Xmx1G -jar minecraft\_server.jar
Save the file as startserver.bat, and place the file in the same f... |
42,537,222 | I have functions that include different javax Query annotations like : `@QueryParam` , `@Context` , `@PathParam` etc..
is there a way to exclude these parameters when calling joinPoint.getArgs()?
Example:
```
@POST
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
@Path("{p... | 2017/03/01 | [
"https://Stackoverflow.com/questions/42537222",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1386966/"
] | Assuming you really use **full AspectJ and not Spring AOP** like so many others, you should be aware of the fact that in full AspectJ `@annotation(XY)` potentially matches not just `execution()` joinpoints but also `call()`, i.e. your advice will be triggered twice. Even worse, if other places than method executions ar... | I don't think there's a magic way to do this, so go with the obvious:
* define your argument acceptance criteria;
* iterate over the args and filter based on the previously defined criteria and that's it.
It seems that your acceptance criteria is that the arg is not annotated with these **javax** annotations, right ?... |
42,537,222 | I have functions that include different javax Query annotations like : `@QueryParam` , `@Context` , `@PathParam` etc..
is there a way to exclude these parameters when calling joinPoint.getArgs()?
Example:
```
@POST
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
@Path("{p... | 2017/03/01 | [
"https://Stackoverflow.com/questions/42537222",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1386966/"
] | Assuming you really use **full AspectJ and not Spring AOP** like so many others, you should be aware of the fact that in full AspectJ `@annotation(XY)` potentially matches not just `execution()` joinpoints but also `call()`, i.e. your advice will be triggered twice. Even worse, if other places than method executions ar... | this snippet code works for me:
```
Annotation[][] anns = ((MethodSignature) thisJoinPoint.getSignature()).getMethod().getParameterAnnotations();
parameterValues = thisJoinPoint.getArgs();
signature = (MethodSignature) thisJoinPoint.getSignature();
parameterNames = signature.getParameterNames();
if (parameterValues... |
134,341 | I am designing a simple 16 bit adder circuit in Digilent's Xilinx Spartan 6 FPGA. The Verilog design accepts two 16 bit inputs A and B and returns the 16 bit sum C = A+B. I am ignoring carry in and carry out.
I want to send A and B from PC to FPGA using serial port as well send the sum C from FPGA to PC using serial p... | 2014/10/14 | [
"https://electronics.stackexchange.com/questions/134341",
"https://electronics.stackexchange.com",
"https://electronics.stackexchange.com/users/35416/"
] | I would suggest either writing a UART module from scratch or finding one online. Then all you would need to do is write a wrapper that interfaces the UART to your registers. Here is one possible open source Verilog UART module that I wrote a while ago:
<https://github.com/alexforencich/verilog-uart>
This particular m... | Ken Chapman (Xilinx employee) provides a simple and lightweight UART module as an external I/O device for his 8-bit processor (PicoBlaze). These UART modules (RX and TX) can be used on every Xilinx FPGA. Each module has a simple byte interface. This processor and it's periphery comes with a lot of documentation and exa... |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | VirtualBox can run VMWare VMDK images, which gives you a lot more options. (There are also ways to convert VMDK virtual hard drives to native VirtualBox format.) You can almost certainly find what you want here: <http://www.vmware.com/appliances/>
Why not intstall the VirtualBox support software and just use shared fo... | [Linux from Scratch](http://www.linuxfromscratch.org/)
I just finished doing just what you want to do, to have a base very minimal Linux OS for dev work. I did the install by hand because I wanted to, but they have automated installers for it. Final disk use is around 700MB.
Normally I'd just use [Gentoo](http://www.... |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | Turnkey linux has a number of preconfigured server images that will work in virtualbox
<http://www.turnkeylinux.org/>
<http://www.turnkeylinux.org/docs/installation-appliances-virtualbox> | VirtualBox can run VMWare VMDK images, which gives you a lot more options. (There are also ways to convert VMDK virtual hard drives to native VirtualBox format.) You can almost certainly find what you want here: <http://www.vmware.com/appliances/>
Why not intstall the VirtualBox support software and just use shared fo... |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | >
> If such a thing doesn't exist, I'd still appreciate suggestions of the best distro to use that will get me to my requirements fastest without a lot of tweaking.
>
>
>
I don't believe you'll easily find anything prebuilt that matches your requirements. I'd suggest [Ubuntu Server](http://www.ubuntu.com/server) t... | If I understand your question correctly, you are wanting a VBox image that is a pre-made linux distro that you will run, but ssh into to communicate, to do some non-gui development? But you do not have a lot of RAM?
I guess my first concern is that even with just running a CLI interface, won't VBox take up your RAM a... |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | Turnkey linux has a number of preconfigured server images that will work in virtualbox
<http://www.turnkeylinux.org/>
<http://www.turnkeylinux.org/docs/installation-appliances-virtualbox> | [Linux from Scratch](http://www.linuxfromscratch.org/)
I just finished doing just what you want to do, to have a base very minimal Linux OS for dev work. I did the install by hand because I wanted to, but they have automated installers for it. Final disk use is around 700MB.
Normally I'd just use [Gentoo](http://www.... |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | VirtualBox can run VMWare VMDK images, which gives you a lot more options. (There are also ways to convert VMDK virtual hard drives to native VirtualBox format.) You can almost certainly find what you want here: <http://www.vmware.com/appliances/>
Why not intstall the VirtualBox support software and just use shared fo... | If I understand your question correctly, you are wanting a VBox image that is a pre-made linux distro that you will run, but ssh into to communicate, to do some non-gui development? But you do not have a lot of RAM?
I guess my first concern is that even with just running a CLI interface, won't VBox take up your RAM a... |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | You can try [virtualboximages.com](http://virtualboximages.com/) - they have plenty of distros, but they charge a token sum ($.99-3.99) per download - which, i assume, goes to cover their bandwidth costs. | [Linux from Scratch](http://www.linuxfromscratch.org/)
I just finished doing just what you want to do, to have a base very minimal Linux OS for dev work. I did the install by hand because I wanted to, but they have automated installers for it. Final disk use is around 700MB.
Normally I'd just use [Gentoo](http://www.... |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | You can try [virtualboximages.com](http://virtualboximages.com/) - they have plenty of distros, but they charge a token sum ($.99-3.99) per download - which, i assume, goes to cover their bandwidth costs. | If I understand your question correctly, you are wanting a VBox image that is a pre-made linux distro that you will run, but ssh into to communicate, to do some non-gui development? But you do not have a lot of RAM?
I guess my first concern is that even with just running a CLI interface, won't VBox take up your RAM a... |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | Turnkey linux has a number of preconfigured server images that will work in virtualbox
<http://www.turnkeylinux.org/>
<http://www.turnkeylinux.org/docs/installation-appliances-virtualbox> | You can try [virtualboximages.com](http://virtualboximages.com/) - they have plenty of distros, but they charge a token sum ($.99-3.99) per download - which, i assume, goes to cover their bandwidth costs. |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | Turnkey linux has a number of preconfigured server images that will work in virtualbox
<http://www.turnkeylinux.org/>
<http://www.turnkeylinux.org/docs/installation-appliances-virtualbox> | If I understand your question correctly, you are wanting a VBox image that is a pre-made linux distro that you will run, but ssh into to communicate, to do some non-gui development? But you do not have a lot of RAM?
I guess my first concern is that even with just running a CLI interface, won't VBox take up your RAM a... |
199,696 | Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since last time I did that it took me a full day to get something that remotely did what I wanted.
I've got a few semi-weird re... | 2010/10/15 | [
"https://superuser.com/questions/199696",
"https://superuser.com",
"https://superuser.com/users/50442/"
] | Turnkey linux has a number of preconfigured server images that will work in virtualbox
<http://www.turnkeylinux.org/>
<http://www.turnkeylinux.org/docs/installation-appliances-virtualbox> | >
> If such a thing doesn't exist, I'd still appreciate suggestions of the best distro to use that will get me to my requirements fastest without a lot of tweaking.
>
>
>
I don't believe you'll easily find anything prebuilt that matches your requirements. I'd suggest [Ubuntu Server](http://www.ubuntu.com/server) t... |
160,224 | I've read everywhere that you can't have more than 4 partitions because of GPT on intel Macs. But what happens if you make more than 4? On my iMac I have EFI, Macintosh HD, Windows, Linux, and Linux swap partitions and I am able to boot from all three operating systems with rEFIt. So, I have 5 partitions, so why does i... | 2010/07/05 | [
"https://superuser.com/questions/160224",
"https://superuser.com",
"https://superuser.com/users/5408/"
] | Intel-based Macs use the GUID Partition Table (GPT) by default. GPT in turn supports up to 128 partitions by default (that value can be increased if necessary, although most partition tools don't enable you to do so). Thus, there's no problem with having more than four partitions on an Intel-based Mac.
The limitation ... | It's not because of GPT. It's because of MBR. There are many problems with MBR and GPT compatibility which limit partition number to 4. If you aren't using MBR at all, which could be happening, everything should work fine. New versions of windows support GPT, so there is a chance that MBR isn't being used.
If you are... |
160,224 | I've read everywhere that you can't have more than 4 partitions because of GPT on intel Macs. But what happens if you make more than 4? On my iMac I have EFI, Macintosh HD, Windows, Linux, and Linux swap partitions and I am able to boot from all three operating systems with rEFIt. So, I have 5 partitions, so why does i... | 2010/07/05 | [
"https://superuser.com/questions/160224",
"https://superuser.com",
"https://superuser.com/users/5408/"
] | It's not because of GPT. It's because of MBR. There are many problems with MBR and GPT compatibility which limit partition number to 4. If you aren't using MBR at all, which could be happening, everything should work fine. New versions of windows support GPT, so there is a chance that MBR isn't being used.
If you are... | The problem here is that, as cmurphy says, Windows (x64) can't use Apple's EFI implementation(which is basically EFI 1.1). It needs either UEFI (EFI 2.0) or BIOS. But because Windows has an [artificial limitation](http://www.rodsbooks.com/gdisk/booting.html) of tying up UEFI to GPT disks and BIOS to MBR disks, it needs... |
160,224 | I've read everywhere that you can't have more than 4 partitions because of GPT on intel Macs. But what happens if you make more than 4? On my iMac I have EFI, Macintosh HD, Windows, Linux, and Linux swap partitions and I am able to boot from all three operating systems with rEFIt. So, I have 5 partitions, so why does i... | 2010/07/05 | [
"https://superuser.com/questions/160224",
"https://superuser.com",
"https://superuser.com/users/5408/"
] | Intel-based Macs use the GUID Partition Table (GPT) by default. GPT in turn supports up to 128 partitions by default (that value can be increased if necessary, although most partition tools don't enable you to do so). Thus, there's no problem with having more than four partitions on an Intel-based Mac.
The limitation ... | I found [this article](http://www.rickycampbell.com/the-intel-mac-partitioning-system-efi-and-gpt/) which explains the partitioning scheme.
Essentially, if I understand the article correctly, there is an “Extended Boot Record” on one of the partitions on one of the primary four partitions which describes the extra "ex... |
160,224 | I've read everywhere that you can't have more than 4 partitions because of GPT on intel Macs. But what happens if you make more than 4? On my iMac I have EFI, Macintosh HD, Windows, Linux, and Linux swap partitions and I am able to boot from all three operating systems with rEFIt. So, I have 5 partitions, so why does i... | 2010/07/05 | [
"https://superuser.com/questions/160224",
"https://superuser.com",
"https://superuser.com/users/5408/"
] | I found [this article](http://www.rickycampbell.com/the-intel-mac-partitioning-system-efi-and-gpt/) which explains the partitioning scheme.
Essentially, if I understand the article correctly, there is an “Extended Boot Record” on one of the partitions on one of the primary four partitions which describes the extra "ex... | The problem here is that, as cmurphy says, Windows (x64) can't use Apple's EFI implementation(which is basically EFI 1.1). It needs either UEFI (EFI 2.0) or BIOS. But because Windows has an [artificial limitation](http://www.rodsbooks.com/gdisk/booting.html) of tying up UEFI to GPT disks and BIOS to MBR disks, it needs... |
160,224 | I've read everywhere that you can't have more than 4 partitions because of GPT on intel Macs. But what happens if you make more than 4? On my iMac I have EFI, Macintosh HD, Windows, Linux, and Linux swap partitions and I am able to boot from all three operating systems with rEFIt. So, I have 5 partitions, so why does i... | 2010/07/05 | [
"https://superuser.com/questions/160224",
"https://superuser.com",
"https://superuser.com/users/5408/"
] | Intel-based Macs use the GUID Partition Table (GPT) by default. GPT in turn supports up to 128 partitions by default (that value can be increased if necessary, although most partition tools don't enable you to do so). Thus, there's no problem with having more than four partitions on an Intel-based Mac.
The limitation ... | While Windows 7 x86\_64 supports GPT, it only supports UEFI or BIOS. Windows 7 does not support "Apple EFI" which is an amalgam of Intel EFI 1.1, and some bits of Apple's own and some bits of UEFI 2.x. It is not strictly a UEFI 2.x implementation which is what all non-Mac OS operating systems require. So this in effect... |
160,224 | I've read everywhere that you can't have more than 4 partitions because of GPT on intel Macs. But what happens if you make more than 4? On my iMac I have EFI, Macintosh HD, Windows, Linux, and Linux swap partitions and I am able to boot from all three operating systems with rEFIt. So, I have 5 partitions, so why does i... | 2010/07/05 | [
"https://superuser.com/questions/160224",
"https://superuser.com",
"https://superuser.com/users/5408/"
] | Intel-based Macs use the GUID Partition Table (GPT) by default. GPT in turn supports up to 128 partitions by default (that value can be increased if necessary, although most partition tools don't enable you to do so). Thus, there's no problem with having more than four partitions on an Intel-based Mac.
The limitation ... | The problem here is that, as cmurphy says, Windows (x64) can't use Apple's EFI implementation(which is basically EFI 1.1). It needs either UEFI (EFI 2.0) or BIOS. But because Windows has an [artificial limitation](http://www.rodsbooks.com/gdisk/booting.html) of tying up UEFI to GPT disks and BIOS to MBR disks, it needs... |
160,224 | I've read everywhere that you can't have more than 4 partitions because of GPT on intel Macs. But what happens if you make more than 4? On my iMac I have EFI, Macintosh HD, Windows, Linux, and Linux swap partitions and I am able to boot from all three operating systems with rEFIt. So, I have 5 partitions, so why does i... | 2010/07/05 | [
"https://superuser.com/questions/160224",
"https://superuser.com",
"https://superuser.com/users/5408/"
] | While Windows 7 x86\_64 supports GPT, it only supports UEFI or BIOS. Windows 7 does not support "Apple EFI" which is an amalgam of Intel EFI 1.1, and some bits of Apple's own and some bits of UEFI 2.x. It is not strictly a UEFI 2.x implementation which is what all non-Mac OS operating systems require. So this in effect... | The problem here is that, as cmurphy says, Windows (x64) can't use Apple's EFI implementation(which is basically EFI 1.1). It needs either UEFI (EFI 2.0) or BIOS. But because Windows has an [artificial limitation](http://www.rodsbooks.com/gdisk/booting.html) of tying up UEFI to GPT disks and BIOS to MBR disks, it needs... |
20,011,854 | What I want to do might be better achieved with a database, however I have very limited experience with them, and only have to change the information infrequently.
What I have is a sheet where each row has 8 cells of relevant data.
What I want to do in another sheet is to enter a number into 1 cell, and have a group ... | 2013/11/15 | [
"https://Stackoverflow.com/questions/20011854",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2329155/"
] | Check out the INDIRECT() function.
For cell A2 in your example on the second sheet, enter:
```
=INDIRECT("Sheet1!"&"A"&$A$1)
```
Expand this formula to the apply to other target cells by changing the "&"A" portion to reference columns B, C, D, etc. from Sheet1 as needed in your grid per the following example:
```
... | You can do this using the `INDIRECT` function
```
Returns the reference specified by a text string.
References are immediately evaluated to display their contents.
Use INDIRECT when you want to change the reference to a cell within a
formula without changing the formula itself.
```
<http://office.microsoft.com/en... |
62,565,369 | I tried to add jquery library file to assets folder and I added the directory to scripts in angular.json but when I run `ng serve` Angular told me Jquery library does not exist and I am using angular version 9.
I don't know where the problem any help please.
This the error message:
```
An unhandled exception occurred... | 2020/06/24 | [
"https://Stackoverflow.com/questions/62565369",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8297550/"
] | To add jquery in angular have to follow below steps.
Step-1
>
> Add jquery file in **index.html** file into the head tag
>
>
>
```js
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
```
Step-2
>
> Also need to install two npm packages
>
>
>
```js
npm i jquery@3.5.1
npm i @types/... | Thanks for your answer your way it's worked, But I found other way by install bootstrap directly `npm install bootstrap --save` and include the libraries to angular.json:
```
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.css",
"src/styles.css"
],
"scripts": [
... |
3,742 | Usually one constructs a graph and then asks questions about the adjacency matrix's (or some close relative like the [Laplacian](http://en.wikipedia.org/wiki/Laplacian_matrix)) eigenvalue decomposition (also called the [spectra of a graph](http://en.wikipedia.org/wiki/Spectral_graph_theory)).
But what about the revers... | 2010/12/11 | [
"https://cstheory.stackexchange.com/questions/3742",
"https://cstheory.stackexchange.com",
"https://cstheory.stackexchange.com/users/834/"
] | Cvetcovic et all in Section 3.3 of "Recent results in the theory of graph spectra" [goes over](http://yaroslavvb.com/upload/save/cstheory-cvetcovic-spectra.pdf) algorithms for constructing graphs given spectrum in some special cases | One other obstacle in defining your question is that the are isospectral (same eigenvalues) but non-isomorphic graphs. So given a list of eigenvalues in such a case, which graph do you want? Maybe you just want an algorithm to return one random element of the set of such non-isomorphic graphs? |
3,742 | Usually one constructs a graph and then asks questions about the adjacency matrix's (or some close relative like the [Laplacian](http://en.wikipedia.org/wiki/Laplacian_matrix)) eigenvalue decomposition (also called the [spectra of a graph](http://en.wikipedia.org/wiki/Spectral_graph_theory)).
But what about the revers... | 2010/12/11 | [
"https://cstheory.stackexchange.com/questions/3742",
"https://cstheory.stackexchange.com",
"https://cstheory.stackexchange.com/users/834/"
] | Even asking whether a graph with a given spectrum exists is a tough question. This is witnessed by the [open problem](https://en.wikipedia.org/wiki/Moore_graph) of determining whether there exists a graph of girth 5 diameter 2 and order 3250 whose spectrum (if it exists) is known. | One other obstacle in defining your question is that the are isospectral (same eigenvalues) but non-isomorphic graphs. So given a list of eigenvalues in such a case, which graph do you want? Maybe you just want an algorithm to return one random element of the set of such non-isomorphic graphs? |
15,337 | I have a Vauxhall Corsa "C" (2003)(EU) which is a standard 16v 1.2 petrol, the engine is chain driven and sits at 50k. I don't think it was well looked after (service wise) in previous lifes.
Recently it sounds a bit more like a diesel when cold, but not too loud -and a common issue with the Corsa, however at the mome... | 2015/02/06 | [
"https://mechanics.stackexchange.com/questions/15337",
"https://mechanics.stackexchange.com",
"https://mechanics.stackexchange.com/users/9353/"
] | Corsa's (actually Vauxhalls/Opels in general) sometimes have noisy hydraulic lifters. I drove mine for 60 thousand kilometers with this noise before I upgraded to a Turbo Coupe and gave the car to my mom. No problems so far. The Coupe had the same stupid tick. Again, I drove it for 30 thousand kilometers before trading... | I think this is a dual overhead camshaft engine. In that case, one of your lifters or springs may be going bad. This would slow down the return of the lifter as the cam moves away from it. that would create a momentary space and then a click when the lifter contacts the cam again. Just a guess.
Your mechanic probably ... |
15,337 | I have a Vauxhall Corsa "C" (2003)(EU) which is a standard 16v 1.2 petrol, the engine is chain driven and sits at 50k. I don't think it was well looked after (service wise) in previous lifes.
Recently it sounds a bit more like a diesel when cold, but not too loud -and a common issue with the Corsa, however at the mome... | 2015/02/06 | [
"https://mechanics.stackexchange.com/questions/15337",
"https://mechanics.stackexchange.com",
"https://mechanics.stackexchange.com/users/9353/"
] | I think this is a dual overhead camshaft engine. In that case, one of your lifters or springs may be going bad. This would slow down the return of the lifter as the cam moves away from it. that would create a momentary space and then a click when the lifter contacts the cam again. Just a guess.
Your mechanic probably ... | I'm going with a leaking exhaust manifold for the ticking. Try tightening the manifold bolts a little. They will have a torque specification but hand tight will have a noticeable affect on the ticking if the manifold is your problem. Go back later and torque them properly. As far as the car running at 2000 RPM on start... |
15,337 | I have a Vauxhall Corsa "C" (2003)(EU) which is a standard 16v 1.2 petrol, the engine is chain driven and sits at 50k. I don't think it was well looked after (service wise) in previous lifes.
Recently it sounds a bit more like a diesel when cold, but not too loud -and a common issue with the Corsa, however at the mome... | 2015/02/06 | [
"https://mechanics.stackexchange.com/questions/15337",
"https://mechanics.stackexchange.com",
"https://mechanics.stackexchange.com/users/9353/"
] | Corsa's (actually Vauxhalls/Opels in general) sometimes have noisy hydraulic lifters. I drove mine for 60 thousand kilometers with this noise before I upgraded to a Turbo Coupe and gave the car to my mom. No problems so far. The Coupe had the same stupid tick. Again, I drove it for 30 thousand kilometers before trading... | I'm going with a leaking exhaust manifold for the ticking. Try tightening the manifold bolts a little. They will have a torque specification but hand tight will have a noticeable affect on the ticking if the manifold is your problem. Go back later and torque them properly. As far as the car running at 2000 RPM on start... |
15,337 | I have a Vauxhall Corsa "C" (2003)(EU) which is a standard 16v 1.2 petrol, the engine is chain driven and sits at 50k. I don't think it was well looked after (service wise) in previous lifes.
Recently it sounds a bit more like a diesel when cold, but not too loud -and a common issue with the Corsa, however at the mome... | 2015/02/06 | [
"https://mechanics.stackexchange.com/questions/15337",
"https://mechanics.stackexchange.com",
"https://mechanics.stackexchange.com/users/9353/"
] | Corsa's (actually Vauxhalls/Opels in general) sometimes have noisy hydraulic lifters. I drove mine for 60 thousand kilometers with this noise before I upgraded to a Turbo Coupe and gave the car to my mom. No problems so far. The Coupe had the same stupid tick. Again, I drove it for 30 thousand kilometers before trading... | I had similar ticking noise when accelerating after changing my engine oil on Toyota Corolla 1NZE. I came to find out that the oil does not reach to the most parts of the engine and it was caused by a poor performance of the oil strainer. The strainer was blocked by some bad oil left overs. Get the straigner cleaned an... |
15,337 | I have a Vauxhall Corsa "C" (2003)(EU) which is a standard 16v 1.2 petrol, the engine is chain driven and sits at 50k. I don't think it was well looked after (service wise) in previous lifes.
Recently it sounds a bit more like a diesel when cold, but not too loud -and a common issue with the Corsa, however at the mome... | 2015/02/06 | [
"https://mechanics.stackexchange.com/questions/15337",
"https://mechanics.stackexchange.com",
"https://mechanics.stackexchange.com/users/9353/"
] | I had similar ticking noise when accelerating after changing my engine oil on Toyota Corolla 1NZE. I came to find out that the oil does not reach to the most parts of the engine and it was caused by a poor performance of the oil strainer. The strainer was blocked by some bad oil left overs. Get the straigner cleaned an... | I'm going with a leaking exhaust manifold for the ticking. Try tightening the manifold bolts a little. They will have a torque specification but hand tight will have a noticeable affect on the ticking if the manifold is your problem. Go back later and torque them properly. As far as the car running at 2000 RPM on start... |
62,698,801 | I have .csv files (abc.csv, def.csv, etc...) in the directory and I would like to count of rows in every file and save the single file having name column and count column. My expected output as below :
```
df = name count
abc ....
def ....
ghi ....
```
I am doing something like below to get cou... | 2020/07/02 | [
"https://Stackoverflow.com/questions/62698801",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13838014/"
] | Put the name/line count of each file into lists, and then create your DataFrame once the loop is over:
```
import os
import pandas as pd
path = '/some/path/to/file'
names, counts = [], []
for filename in os.listdir(path):
with open(filename, 'r', encoding="latin-1") as fileObj:
names.append(filename)
... | using pandas and pathlib
```
from pathlib import Path
import pandas as pd
path_to_csv = 'your\\dir'
file_info = pd.DataFrame( {file.name :
pd.read_csv(file).shape for file in Path(path_to_csv).glob('*.csv')})\
.T.rename(columns={0 : 'rows', 1 : 'columns'})
print(file_info)
rows columns
... |
150,243 | I have to redesign an existing M2-Shop with a given style guide.
That guide defines structures for headlines, sub-lines, product etc. like a style guide does.
My problem is that there is no given structure in the less structure to change that easily.
Is that even possible to have a let's say boilerplate for CSS?
The... | 2016/12/14 | [
"https://magento.stackexchange.com/questions/150243",
"https://magento.stackexchange.com",
"https://magento.stackexchange.com/users/20318/"
] | I would never recommend writing a module to hide an attribute, in most cases this can be done via the admin panel. Here is how to disable fax via the admin panel.
**This is for Magento EE 2.1.1**
1. Goto `Stores - Attributes - Customer Address`
2. Click on the attribute fax and set `use in customer segment` to no
**... | Add the following code in your `style.css` and it will remove the Fax field only from your Checkout page in frontend.
>
> .checkout-index-index .field[name="shippingAddress.fax"] { display:
> none; }
>
>
> |
150,243 | I have to redesign an existing M2-Shop with a given style guide.
That guide defines structures for headlines, sub-lines, product etc. like a style guide does.
My problem is that there is no given structure in the less structure to change that easily.
Is that even possible to have a let's say boilerplate for CSS?
The... | 2016/12/14 | [
"https://magento.stackexchange.com/questions/150243",
"https://magento.stackexchange.com",
"https://magento.stackexchange.com/users/20318/"
] | I would never recommend writing a module to hide an attribute, in most cases this can be done via the admin panel. Here is how to disable fax via the admin panel.
**This is for Magento EE 2.1.1**
1. Goto `Stores - Attributes - Customer Address`
2. Click on the attribute fax and set `use in customer segment` to no
**... | One can remove the Fax field from the Magento checkout Page by setting `Show Fax to No` as seen in the screenshot below. My store is on Magento CE 2.3.4
[](https://i.stack.imgur.com/wQFb8.png) |
3,283,693 | If $S=\left\{ A=\begin{bmatrix}A\_1&0 \\ 0&A\_2 \end{bmatrix} \in \mathbb{M}\_4(\mathbb{C}): det A\_1=detA\_2 \right\}$. Then is this set open in $\mathbb{M}\_{4}(\mathbb{C})$ with usual topology. If not then what are the interior points. I would like some hints towards this. Also if someone could suggest a book to stu... | 2019/07/05 | [
"https://math.stackexchange.com/questions/3283693",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/303760/"
] | The area of a circular sector is given by:
$$A\_{\text{circular sector}} = \frac{r^2}{2} (\theta - \sin(\theta))$$
The intersection of two circles is just twice this:
$$A\_{\text{intersection}} = r^2 (\theta - \sin(\theta))$$
The height of the rectangle can be found using simple trigonometry:
$$h = 2r \sin\left(\f... | To compute the area $B$ of the rectangle, we need its width and height.
The width $w$ is easy to compute, as we know the widest points are at $(d-r,0)$ and $(r,0)$, thus
$$ w=2r-d $$
The height $h$ can be computed by noticing that the high/low point lies as $(d/2,+a)$ and $(d/2,-a)$ width $a$ being the corresponding ... |
3,283,693 | If $S=\left\{ A=\begin{bmatrix}A\_1&0 \\ 0&A\_2 \end{bmatrix} \in \mathbb{M}\_4(\mathbb{C}): det A\_1=detA\_2 \right\}$. Then is this set open in $\mathbb{M}\_{4}(\mathbb{C})$ with usual topology. If not then what are the interior points. I would like some hints towards this. Also if someone could suggest a book to stu... | 2019/07/05 | [
"https://math.stackexchange.com/questions/3283693",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/303760/"
] | The area of a circular sector is given by:
$$A\_{\text{circular sector}} = \frac{r^2}{2} (\theta - \sin(\theta))$$
The intersection of two circles is just twice this:
$$A\_{\text{intersection}} = r^2 (\theta - \sin(\theta))$$
The height of the rectangle can be found using simple trigonometry:
$$h = 2r \sin\left(\f... | 1. If you have two circles of the same radii, then it's easier as the setup is symmetric. They overlap over a region of length $2d-r$, so that is how long one side of the rectangle is. This also allows you to find the other side by a basic trigonometric argument which is something you would need to calculate their area... |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | Aaron Beall's answer is excellent. It may be worth knowing that if "lib" is not specified in the tsConfig.JSON file a default list of libraries are injected. The default libraries injected are:
► For --target ES5: DOM,ES5,ScriptHost
► For --target ES6: DOM,ES6,DOM.Iterable,ScriptHost
In other words: We must specify th... | As of angular 11 and thx to [typescript 3.9](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html) this is now the new config.
```json
"compilerOptions": {
"target": "es2018",
"module": "es2020",
"lib": ["es2020", "dom"],
}
```
### Why `es2020` instead of `esnext`?
>
> In Type... |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | Aaron Beall's answer is excellent. It may be worth knowing that if "lib" is not specified in the tsConfig.JSON file a default list of libraries are injected. The default libraries injected are:
► For --target ES5: DOM,ES5,ScriptHost
► For --target ES6: DOM,ES6,DOM.Iterable,ScriptHost
In other words: We must specify th... | You can also add `esnext` to your --lib instead of 'es2019'
```
"compilerOptions": {
"target": "es2015",
"lib": ["dom", "esnext"]
}
```
It worked for me. |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | I tried most answers and they didn't work for me.
IDE: VScode
but this did
```sh
npm i -D @types/node
``` | You can also add `esnext` to your --lib instead of 'es2019'
```
"compilerOptions": {
"target": "es2015",
"lib": ["dom", "esnext"]
}
```
It worked for me. |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | If you're are in a lower version than es2019, you can implement a shim to provide similar functionality to `.flat()` and `.flatMap()` provided by later libraries.
To flat single level array
```
arr.reduce((acc, val) => acc.concat(val), []);
```
To flat multi level array
```
function flatDeep(arr, d = 1) {
retur... | I tried most answers and they didn't work for me.
IDE: VScode
but this did
```sh
npm i -D @types/node
``` |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | If you're are in a lower version than es2019, you can implement a shim to provide similar functionality to `.flat()` and `.flatMap()` provided by later libraries.
To flat single level array
```
arr.reduce((acc, val) => acc.concat(val), []);
```
To flat multi level array
```
function flatDeep(arr, d = 1) {
retur... | You can also add `esnext` to your --lib instead of 'es2019'
```
"compilerOptions": {
"target": "es2015",
"lib": ["dom", "esnext"]
}
```
It worked for me. |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | You should add `es2019` or `es2019.array` to your `--lib` setting for TypeScript to recognize `array.flat()` and `flatMap()`.
Example:
```
{
"compilerOptions": {
"target": "es5",
"lib": [
"es2019"
]
}
}
```
Previously this was available as part of `esnext` or `esnext.array`, but it's now offic... | You can extend the global array interface while you wait for stability, at which point it will be added to the default library.
```
interface Array<T> {
flat(): Array<T>;
flatMap(func: (x: T) => T): Array<T>;
}
``` |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | As of angular 11 and thx to [typescript 3.9](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html) this is now the new config.
```json
"compilerOptions": {
"target": "es2018",
"module": "es2020",
"lib": ["es2020", "dom"],
}
```
### Why `es2020` instead of `esnext`?
>
> In Type... | You can also add `esnext` to your --lib instead of 'es2019'
```
"compilerOptions": {
"target": "es2015",
"lib": ["dom", "esnext"]
}
```
It worked for me. |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | If you're are in a lower version than es2019, you can implement a shim to provide similar functionality to `.flat()` and `.flatMap()` provided by later libraries.
To flat single level array
```
arr.reduce((acc, val) => acc.concat(val), []);
```
To flat multi level array
```
function flatDeep(arr, d = 1) {
retur... | Aaron Beall's answer is excellent. It may be worth knowing that if "lib" is not specified in the tsConfig.JSON file a default list of libraries are injected. The default libraries injected are:
► For --target ES5: DOM,ES5,ScriptHost
► For --target ES6: DOM,ES6,DOM.Iterable,ScriptHost
In other words: We must specify th... |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | If you're are in a lower version than es2019, you can implement a shim to provide similar functionality to `.flat()` and `.flatMap()` provided by later libraries.
To flat single level array
```
arr.reduce((acc, val) => acc.concat(val), []);
```
To flat multi level array
```
function flatDeep(arr, d = 1) {
retur... | You can extend the global array interface while you wait for stability, at which point it will be added to the default library.
```
interface Array<T> {
flat(): Array<T>;
flatMap(func: (x: T) => T): Array<T>;
}
``` |
53,556,409 | I'm using Chrome 70 and Chrome does add methods `.flatMap`, `.flatten`, `.flat`. So my code does run as expected. Unfortunately, TypeScript doesn't like it.
```
// data.flatMap lint error
export const transformData = (data: any[]) => data.flatMap(abc => [
parentObj(abc),
...generateTasks(abc)
]);
```
The warni... | 2018/11/30 | [
"https://Stackoverflow.com/questions/53556409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3648961/"
] | Aaron Beall's answer is excellent. It may be worth knowing that if "lib" is not specified in the tsConfig.JSON file a default list of libraries are injected. The default libraries injected are:
► For --target ES5: DOM,ES5,ScriptHost
► For --target ES6: DOM,ES6,DOM.Iterable,ScriptHost
In other words: We must specify th... | I tried most answers and they didn't work for me.
IDE: VScode
but this did
```sh
npm i -D @types/node
``` |
17,824,212 | I want to write a sql query wherein the fourth letter should be `'x'` and there should be `'m'` anywhere in the whole word. I am having a list of over 5000 words.
I tried the command
```
where name like '___x%m%'
```
but that would only give me those where `x` is the fourth letter and there is m after x, but how t... | 2013/07/24 | [
"https://Stackoverflow.com/questions/17824212",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/569014/"
] | You can do this:
```
where name like '____x%' and name like '%m%'
``` | Simply have the 2 conditions:
```
WHERE name LIKE '___x%' AND name LIKE '%m%'
```
Assuming the \_\_\_x part works for you. |
70,478,973 | I have list which contains a map List<Map<String, Object>> map has two keys which is a id and the amount. I want to sort the list descending order base on the amount key, if the amount is same for two elements in the list then sort it based on the id. How can I do this ?
```
List<Map<String, Object>> list = new A... | 2021/12/25 | [
"https://Stackoverflow.com/questions/70478973",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11383967/"
] | Your model is not wrong as suggested in comments - your NetworkP2P might be missing only one column (Reciever), which could work as optional foreign key (to satisfy your sentence "Not all Phone numbers match the ones that Subscribers have."), but it looks more log than relational table.
Query for your desired output:
... | Two joins to Subscriber should do it.
>
>
> ```
> SELECT
> nw.SubscriberID AS Caller
> , rcvr.SubscriberID AS Receiver
> , callr.PhoneNumber AS CallerPhone
> , nw.AddresseeNumber AS ReceiverPhone
> FROM NetworkP2P nw
> JOIN Subscriber callr ON callr.SubscriberID = nw.SubscriberID
> LEFT JOIN Subscriber rcvr ON rc... |
49,161,709 | My data looks something like this:
```
dat <- data.frame(Model = rep(c("OM", "EM-1", "EM-2", "EM-3"), each = 3),
Run = rep(c(1,2,3), time=4),
Value = c(2,10,5,20,26,7,8,15,33,11,31,7))
```
Where I have values from multiple models across several runs, in this case 4 models with 3 runs each... | 2018/03/07 | [
"https://Stackoverflow.com/questions/49161709",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2666272/"
] | Yes, your coding technique is good (or at least acceptable).
Using `break` is perfectly fine in `for` loops. In fact, it suggest you may have advanced knowledge about `Java` as you already demonstrate that you know that `break` will end the loop.
The same goes for using `return` multiple times as it demonstrates that... | I refactored the method into smaller methods to show you an example of what I meant in my comment. See below. Multiple `return` or `break` statements, as well as a lot of variables, all in one method, can be hard to read. By breaking the logic up into smaller pieces it's more manageable. Three steps - find the breaking... |
20,032 | I've just started implementing bullet into my Ogre project. I followed the install instructions here: <http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+1>
And the rest if the tutorial here:
<http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+2>
I got that to work fine however now I wanted to extend it to a handle a... | 2011/11/21 | [
"https://gamedev.stackexchange.com/questions/20032",
"https://gamedev.stackexchange.com",
"https://gamedev.stackexchange.com/users/11299/"
] | I've never used Bullet, but in Havok you could constrain a model on certain axes. If you can constrain rotation of your model on both horizontal axes that may stop it from falling over. Alternatively Havok let you have a special type of physics called a CharacterProxy, each from you could for it to face straight up, an... | A capsule shape will fall and roll around according to its physical properties. If you want to couple your camera to a physics object, why not use btBoxShape (or the Ogre equivalent) instead?
I don’t really know what you’re trying to do, but my suggestion would be to have the camera separate from the physics. That wa... |
20,032 | I've just started implementing bullet into my Ogre project. I followed the install instructions here: <http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+1>
And the rest if the tutorial here:
<http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+2>
I got that to work fine however now I wanted to extend it to a handle a... | 2011/11/21 | [
"https://gamedev.stackexchange.com/questions/20032",
"https://gamedev.stackexchange.com",
"https://gamedev.stackexchange.com/users/11299/"
] | I actually just finished writing this for my capsule object yesterday.
You just need to call btRigidBody::setAngularFactor(btVector3(Yaw, Pitch, Roll)); Calling it with all 0s will prevent your object from rotating on any angle.
Here is where I originally found the answer: <http://www.bulletphysics.org/Bullet/phpBB3/... | A capsule shape will fall and roll around according to its physical properties. If you want to couple your camera to a physics object, why not use btBoxShape (or the Ogre equivalent) instead?
I don’t really know what you’re trying to do, but my suggestion would be to have the camera separate from the physics. That wa... |
20,032 | I've just started implementing bullet into my Ogre project. I followed the install instructions here: <http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+1>
And the rest if the tutorial here:
<http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+2>
I got that to work fine however now I wanted to extend it to a handle a... | 2011/11/21 | [
"https://gamedev.stackexchange.com/questions/20032",
"https://gamedev.stackexchange.com",
"https://gamedev.stackexchange.com/users/11299/"
] | I actually just finished writing this for my capsule object yesterday.
You just need to call btRigidBody::setAngularFactor(btVector3(Yaw, Pitch, Roll)); Calling it with all 0s will prevent your object from rotating on any angle.
Here is where I originally found the answer: <http://www.bulletphysics.org/Bullet/phpBB3/... | I've never used Bullet, but in Havok you could constrain a model on certain axes. If you can constrain rotation of your model on both horizontal axes that may stop it from falling over. Alternatively Havok let you have a special type of physics called a CharacterProxy, each from you could for it to face straight up, an... |
5,388,194 | Is there a Java Web Framework, with mvc, thrid-party integration APIs, libraries and tools? Something like Zend Framework for PHP? | 2011/03/22 | [
"https://Stackoverflow.com/questions/5388194",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/268912/"
] | There are a lot of Java web Frameworks, here you have a list with lots of them: <http://java-source.net/open-source/web-frameworks>
The most "famous" would be Struts, JSF or Spring mvc framework (not in that particular order). | You also have [AppFuse](http://appfuse.org/display/APF/Home)
>
> **AppFuse** is an open source project and
> application that uses open source
> tools built on the Java platform to
> help you develop Web applications
> quickly and efficiently. It was
> originally developed to eliminate the
> ramp-up time found... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.