qid int64 1 74.7M | question stringlengths 12 33.8k | date stringlengths 10 10 | metadata list | response_j stringlengths 0 115k | response_k stringlengths 2 98.3k |
|---|---|---|---|---|---|
973,205 | I hope my question matches the scope of this site.
I'm developing a [CMS](http://en.wikipedia.org/wiki/Content_management_system). Currently my logged in users are locked to their IP address for the session. Unfortunately a small portion of my userbase constantly jump between two or more IP addresses. Most of them pro... | 2019/06/28 | [
"https://serverfault.com/questions/973205",
"https://serverfault.com",
"https://serverfault.com/users/529579/"
] | >
> a small portion of my userbase constantly jump between two or more IP addresses.
>
>
>
Causes
======
Assuming that your users aren't actively trying to hide their real IP addresses by using an anonymising service...:
Most corporate examples I have seen are caused by larger companies and some ISP's using a cl... | >
> I wonder now, what are the risks in allowing my clients to constantly jump between IP addresses for a page request (for example, CSS files are requested by xxx.xxx.xxx.xxx and JavaScript files are requested by yyy.yyy.yyy.yyy)? Should I generally allow or prohibit that?
>
>
>
The primary risk is a malicious us... |
973,205 | I hope my question matches the scope of this site.
I'm developing a [CMS](http://en.wikipedia.org/wiki/Content_management_system). Currently my logged in users are locked to their IP address for the session. Unfortunately a small portion of my userbase constantly jump between two or more IP addresses. Most of them pro... | 2019/06/28 | [
"https://serverfault.com/questions/973205",
"https://serverfault.com",
"https://serverfault.com/users/529579/"
] | >
> a small portion of my userbase constantly jump between two or more IP addresses.
>
>
>
Causes
======
Assuming that your users aren't actively trying to hide their real IP addresses by using an anonymising service...:
Most corporate examples I have seen are caused by larger companies and some ISP's using a cl... | There a several reasons why a user may jump to a new IP address.
1. IPv6 privacy extensions, many IPv6 clients nowadays will jump around within the /64 on the lan.
2. Load balanced proxies, the clients request gets routed to one of several proxies each with a seperate IP.
3. NAT pools, the border nat is configured wit... |
973,205 | I hope my question matches the scope of this site.
I'm developing a [CMS](http://en.wikipedia.org/wiki/Content_management_system). Currently my logged in users are locked to their IP address for the session. Unfortunately a small portion of my userbase constantly jump between two or more IP addresses. Most of them pro... | 2019/06/28 | [
"https://serverfault.com/questions/973205",
"https://serverfault.com",
"https://serverfault.com/users/529579/"
] | >
> I wonder now, what are the risks in allowing my clients to constantly jump between IP addresses for a page request (for example, CSS files are requested by xxx.xxx.xxx.xxx and JavaScript files are requested by yyy.yyy.yyy.yyy)? Should I generally allow or prohibit that?
>
>
>
The primary risk is a malicious us... | >
> what are the risks in allowing my clients to constantly jump between IP addresses for a page request
>
>
>
From a security standpoint - zero risks.
Now, from a practical standpoint. It means you cannot use certain types of algorithms for either security or [DoS](https://en.wikipedia.org/wiki/Denial-of-service... |
973,205 | I hope my question matches the scope of this site.
I'm developing a [CMS](http://en.wikipedia.org/wiki/Content_management_system). Currently my logged in users are locked to their IP address for the session. Unfortunately a small portion of my userbase constantly jump between two or more IP addresses. Most of them pro... | 2019/06/28 | [
"https://serverfault.com/questions/973205",
"https://serverfault.com",
"https://serverfault.com/users/529579/"
] | >
> what are the risks in allowing my clients to constantly jump between IP addresses for a page request
>
>
>
From a security standpoint - zero risks.
Now, from a practical standpoint. It means you cannot use certain types of algorithms for either security or [DoS](https://en.wikipedia.org/wiki/Denial-of-service... | There a several reasons why a user may jump to a new IP address.
1. IPv6 privacy extensions, many IPv6 clients nowadays will jump around within the /64 on the lan.
2. Load balanced proxies, the clients request gets routed to one of several proxies each with a seperate IP.
3. NAT pools, the border nat is configured wit... |
973,205 | I hope my question matches the scope of this site.
I'm developing a [CMS](http://en.wikipedia.org/wiki/Content_management_system). Currently my logged in users are locked to their IP address for the session. Unfortunately a small portion of my userbase constantly jump between two or more IP addresses. Most of them pro... | 2019/06/28 | [
"https://serverfault.com/questions/973205",
"https://serverfault.com",
"https://serverfault.com/users/529579/"
] | >
> I wonder now, what are the risks in allowing my clients to constantly jump between IP addresses for a page request (for example, CSS files are requested by xxx.xxx.xxx.xxx and JavaScript files are requested by yyy.yyy.yyy.yyy)? Should I generally allow or prohibit that?
>
>
>
The primary risk is a malicious us... | There a several reasons why a user may jump to a new IP address.
1. IPv6 privacy extensions, many IPv6 clients nowadays will jump around within the /64 on the lan.
2. Load balanced proxies, the clients request gets routed to one of several proxies each with a seperate IP.
3. NAT pools, the border nat is configured wit... |
37,667,590 | We have multiple java web applications and processes that are deployed on a server. we would like to find a mean to easily monitor these applications and check their status remotely. by motoring we mean the following :
1. Check if the websites are up, send notifications by email otherwise.
2. Easily access or display ... | 2016/06/06 | [
"https://Stackoverflow.com/questions/37667590",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5612509/"
] | For monitoring Java applications as well as website availability, issuing custom commands in your servers and in general, monitor applications go for a general-purpose monitoring solution, like **Pandora FMS**. I'll try to answer your questions in order:
>
> 1. Check if the websites are up, send notifications by emai... | On Linux, you an use [monit](https://mmonit.com/monit/). You can use it to any monitor services such as apache as well as wildfly running behind apache. It is actually easy to configure and it also gives all that you have requested. |
37,667,590 | We have multiple java web applications and processes that are deployed on a server. we would like to find a mean to easily monitor these applications and check their status remotely. by motoring we mean the following :
1. Check if the websites are up, send notifications by email otherwise.
2. Easily access or display ... | 2016/06/06 | [
"https://Stackoverflow.com/questions/37667590",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5612509/"
] | For monitoring Java applications as well as website availability, issuing custom commands in your servers and in general, monitor applications go for a general-purpose monitoring solution, like **Pandora FMS**. I'll try to answer your questions in order:
>
> 1. Check if the websites are up, send notifications by emai... | If you want to monitor java processes, there is nothing better than MoSKito: <http://www.moskito.org>.
The only problem is that it covers much more, than you stated as your requirements, you will also get:
* health thresholds and notifications
* detailed performance metrics of your java code
* dashboards with most im... |
477,426 | I don't really care if the desktop environment is quick. What I want is a desktop environment that lets me open apps and get things done the fastest. I don't care about flashiness or anything.
READ: I am not looking for the desktop environment that is the lightest. I am looking for the one that lets me open an app an... | 2014/06/05 | [
"https://askubuntu.com/questions/477426",
"https://askubuntu.com",
"https://askubuntu.com/users/247505/"
] | There are a lot of lightweight GUIs out there I would look into:
[XFCE](http://www.xfce.org/) and
[LXDE](http://lxde.org/) | Your question is too broad, every desktop environment has its cherry :-) one likes that the other one that, it depends on one's person criteria, if your computer has at least 1GB ram, 1.5Mhz processor, they all will function normally.
What kinds of desktop environments are available that can fit your taste look [here]... |
293,628 | For most of the items, it's fairly obvious how to do this. A pickaxe can be used on blocks that give you experience (coal, redstone, not sure if diamonds do that)... and it will self-heal, supposing it has the Mending enchantment. Swords and axes (and bows) can be used to attack mobs and receive experience that way.
B... | 2016/12/06 | [
"https://gaming.stackexchange.com/questions/293628",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/133506/"
] | According to the [Minecraft Enchanting wikia page](http://minecraft.gamepedia.com/Enchanting):
>
> When an item with the enchantment is held (main hand, offhand, or armor slots), **XP orbs collected will repair the item at a rate of 2 durability per XP instead of adding the XP to the player's total**. If multiple ite... | To use mending on a shovel, hold it in your hand or off-hand while getting XP. |
293,628 | For most of the items, it's fairly obvious how to do this. A pickaxe can be used on blocks that give you experience (coal, redstone, not sure if diamonds do that)... and it will self-heal, supposing it has the Mending enchantment. Swords and axes (and bows) can be used to attack mobs and receive experience that way.
B... | 2016/12/06 | [
"https://gaming.stackexchange.com/questions/293628",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/133506/"
] | According to the [Minecraft Enchanting wikia page](http://minecraft.gamepedia.com/Enchanting):
>
> When an item with the enchantment is held (main hand, offhand, or armor slots), **XP orbs collected will repair the item at a rate of 2 durability per XP instead of adding the XP to the player's total**. If multiple ite... | If you're on Bedrock and can't hold shovels in your offhand (Shield slot), there's not a great solution, but mending is still useful on your shovel. The key fact is that whatever tool you're holding gets the mending *at the time you pick up the EXP orbs*, NOT whatever tool you used to complete the job.
When you mine E... |
293,628 | For most of the items, it's fairly obvious how to do this. A pickaxe can be used on blocks that give you experience (coal, redstone, not sure if diamonds do that)... and it will self-heal, supposing it has the Mending enchantment. Swords and axes (and bows) can be used to attack mobs and receive experience that way.
B... | 2016/12/06 | [
"https://gaming.stackexchange.com/questions/293628",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/133506/"
] | According to the [Minecraft Enchanting wikia page](http://minecraft.gamepedia.com/Enchanting):
>
> When an item with the enchantment is held (main hand, offhand, or armor slots), **XP orbs collected will repair the item at a rate of 2 durability per XP instead of adding the XP to the player's total**. If multiple ite... | You can smelt sand gathered from the shovel and get EXP from that easily. Hence the shovel does yield exp, just unconventially. The same theory is applied to shears, as gaining leaves allow you to easily build an enderman farm and thus gain loads of xp, fulling mending your shears.
Furthermore, we now explore the flint... |
293,628 | For most of the items, it's fairly obvious how to do this. A pickaxe can be used on blocks that give you experience (coal, redstone, not sure if diamonds do that)... and it will self-heal, supposing it has the Mending enchantment. Swords and axes (and bows) can be used to attack mobs and receive experience that way.
B... | 2016/12/06 | [
"https://gaming.stackexchange.com/questions/293628",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/133506/"
] | If you're on Bedrock and can't hold shovels in your offhand (Shield slot), there's not a great solution, but mending is still useful on your shovel. The key fact is that whatever tool you're holding gets the mending *at the time you pick up the EXP orbs*, NOT whatever tool you used to complete the job.
When you mine E... | To use mending on a shovel, hold it in your hand or off-hand while getting XP. |
293,628 | For most of the items, it's fairly obvious how to do this. A pickaxe can be used on blocks that give you experience (coal, redstone, not sure if diamonds do that)... and it will self-heal, supposing it has the Mending enchantment. Swords and axes (and bows) can be used to attack mobs and receive experience that way.
B... | 2016/12/06 | [
"https://gaming.stackexchange.com/questions/293628",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/133506/"
] | If you're on Bedrock and can't hold shovels in your offhand (Shield slot), there's not a great solution, but mending is still useful on your shovel. The key fact is that whatever tool you're holding gets the mending *at the time you pick up the EXP orbs*, NOT whatever tool you used to complete the job.
When you mine E... | You can smelt sand gathered from the shovel and get EXP from that easily. Hence the shovel does yield exp, just unconventially. The same theory is applied to shears, as gaining leaves allow you to easily build an enderman farm and thus gain loads of xp, fulling mending your shears.
Furthermore, we now explore the flint... |
3,482 | I often read on sports websites that X player **played through the pain** and helped his win the game.
What exactly does *through* mean here?
The dictionary meaning of *through* closest to the context seems to be
>
> from beginning to end of (an experience or activity, typically a tedious or stressful one)
>
>
> ... | 2013/03/05 | [
"https://ell.stackexchange.com/questions/3482",
"https://ell.stackexchange.com",
"https://ell.stackexchange.com/users/893/"
] | It's common in the context of physical sports to speak of [the pain barrier](http://thepainbarrier.co.uk/).
If you suffer some kind of injury (on the football pitch, say), your first instinct might be to stop moving so as to protect yourself from further damage. But of course, our bodies and our response patterns have... | The expression means that the player suffered an injury during play, which caused them some amount of pain. But the player chose to keep playing (and was able to play well and win, despite the pain) rather than have some other player take their place (or to forfeit the match, if it's an individual competition).
The ph... |
3,482 | I often read on sports websites that X player **played through the pain** and helped his win the game.
What exactly does *through* mean here?
The dictionary meaning of *through* closest to the context seems to be
>
> from beginning to end of (an experience or activity, typically a tedious or stressful one)
>
>
> ... | 2013/03/05 | [
"https://ell.stackexchange.com/questions/3482",
"https://ell.stackexchange.com",
"https://ell.stackexchange.com/users/893/"
] | It's common in the context of physical sports to speak of [the pain barrier](http://thepainbarrier.co.uk/).
If you suffer some kind of injury (on the football pitch, say), your first instinct might be to stop moving so as to protect yourself from further damage. But of course, our bodies and our response patterns have... | This phrase means that he played even though he had pain.
"Through" in this context is referring to the idea that he didn't let the pain stop him or slow him down, so he played right on through it.
This is just a common idiom that I think most native English speakers never stop to analyze. When they grew up they hear... |
153,797 | In one of my test papers at school, we had a true-false question which said "Irregular reflection can form an image." I marked it true, however I was not given any marks for the question.
I asked my teacher about it, he told me that the "lights scatter and do not form images." I was not satisfied with this explanatio... | 2014/12/17 | [
"https://physics.stackexchange.com/questions/153797",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/36376/"
] | Simply because two light rays intersect at a point it does not mean that an image is formed.

You need *millions* (not necessarily, but a lot) of light rays to intersect at a point to form an image.
? I tried googling for some, but most tutorials are too basic and cover things I already know. | 2008/12/02 | [
"https://Stackoverflow.com/questions/332800",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42303/"
] | [Regular-expressions.info has a tutorial section](http://www.regular-expressions.info/tutorial.html). This site is pretty comprehensive for regular expressions in general, although the emphasis is on support in scripting and programming languages.
The [J. Friedl book on mastering regular expressions](https://rads.stac... | [Here](http://cs.senecac.on.ca/~ctyler/regexps/regexps1.pdf) is an introductory article. [Here](http://www.dmoz.org/Computers/Programming/Languages/Regular_Expressions/FAQs,_Help,_and_Tutorials/) are some other tutorials.
The definitive book is [Mastering Regular Expressions](https://rads.stackoverflow.com/amzn/click/... |
641 | Where can I find X-Pod Playoff rules? LEGO doesn't seem to be hosting them anymore.
Asked because of [this question.](https://bricks.stackexchange.com/questions/615/are-the-x-pods-balanced) Hopefully it can be mirrored on a few sites so that it doesn't disappear again. | 2011/11/11 | [
"https://bricks.stackexchange.com/questions/641",
"https://bricks.stackexchange.com",
"https://bricks.stackexchange.com/users/74/"
] | [Here are the PDFs](http://www.host-a.net/u/pubby8/LEGO_Xpod_Playoff_Instructions_PDF.zip) donated by [Friend Of George](https://bricks.stackexchange.com/users/14/friend-of-george). [Here are the unit catalog PDFs.](http://www.host-a.net/u/pubby8/xpod_units_catalog.zip)
The starter kit for each pod has an inventory li... | Recently, I found a link to a website that has everything the Lego website had in a PDF format. Here it is: <http://korewanetadesu.com/pages/lego/xpod.html> |
641 | Where can I find X-Pod Playoff rules? LEGO doesn't seem to be hosting them anymore.
Asked because of [this question.](https://bricks.stackexchange.com/questions/615/are-the-x-pods-balanced) Hopefully it can be mirrored on a few sites so that it doesn't disappear again. | 2011/11/11 | [
"https://bricks.stackexchange.com/questions/641",
"https://bricks.stackexchange.com",
"https://bricks.stackexchange.com/users/74/"
] | I found [here](http://www.bzpower.com/forum/index.php?showtopic=333028) a link to the [LEGO website on archive.org](http://web.archive.org/web/20060316215213/www.lego.com/eng/create/activities/playoff/default.asp) with the X-Pod playoff section intact.
The download links for the rules and starter kits still seem to w... | Recently, I found a link to a website that has everything the Lego website had in a PDF format. Here it is: <http://korewanetadesu.com/pages/lego/xpod.html> |
57,268,223 | I've been studying about DDD and have some questions in respect to Value Object.
I created value objects for Email, Phone and Address then added validation to them by using their constructor. So far so good.
The thing is that I need the same Value Objects for different aggregate roots. Let's say I have 3 aggregate root... | 2019/07/30 | [
"https://Stackoverflow.com/questions/57268223",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8923100/"
] | Email, phone and address are concepts that don't belong to your domain, that I guess it is something related to hospitals or the like.
They would belong to another domain that we could call "people" or something like that, where you could define contact information concepts like those you mention (email, phone, addres... | Generally, there's nothing wrong with reusing value object types under multiple types of entities or aggregate roots. You just avoid code duplication.
The same isn't true for the instances. Two entities (of same or different type) should never share the same instance of a value object. This is true for both in-memory ... |
1,079 | It seems as though modern speech recognition (e.g., through Android, iOS phones) make use of grammar or sentence structure. (e.g., it might have a tough time distinguishing between "grammar" and "grandma" but can distinguish between "I'm going to see grandma" and "I'm reading a book on english grammar". (yes, I just tr... | 2012/04/06 | [
"https://cs.stackexchange.com/questions/1079",
"https://cs.stackexchange.com",
"https://cs.stackexchange.com/users/972/"
] | As far as I know, much of the speech recognition software is build using Hidden Markov Models (HMM) where observations are individual sound phonemes, and the states correspond to words (or some partitions of the words).
I don't think the systems take into account grammar or sentence structure in the sense that they e... | There is a pretty good description of the [technology that Vlingo is using for speech rec here](http://www.vlingo.com/about/technology). They are using Hierarchical Language Models (HLMs) which does look at the context of words with in an utterance to achieve better accuracy. Alas, after being sued by Nuance for patent... |
34,577,788 | I need to show a list of cards to user in sorted order(with respect to a property). That list comes from server. Should I perform sorting in android app or on server? Which one is better for performance?
Assume the maximum length of list to be in thousands. | 2016/01/03 | [
"https://Stackoverflow.com/questions/34577788",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4176416/"
] | The answer depends on the details.
How many clients do you have? how often do they ask for those cards?
How many objects are there to sort?
Server is usually faster,
since it sits typically on better hardware.
However, the server handles requests from many clients,
so if a multiple clients are asking for sort on the s... | There are many reasons for each solution.
If you implement sorting on server side, you'll get benefits like:
* Ability to easily swap algorithm according to new requirements. It could be rather critical for some apps;
* Implement sorting algorithms only once on server-side, not for each platform (in case for Android/i... |
34,577,788 | I need to show a list of cards to user in sorted order(with respect to a property). That list comes from server. Should I perform sorting in android app or on server? Which one is better for performance?
Assume the maximum length of list to be in thousands. | 2016/01/03 | [
"https://Stackoverflow.com/questions/34577788",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4176416/"
] | Interesting question, but very hard to answer definitely.
There are a number of things to consider, how many cards will appear in an Activity, how much processing power (Ram/CPU) does your server have, which database will you be using, is it configured correctly, are you avoiding unnecessary joins etc?
Personally, I'... | There are many reasons for each solution.
If you implement sorting on server side, you'll get benefits like:
* Ability to easily swap algorithm according to new requirements. It could be rather critical for some apps;
* Implement sorting algorithms only once on server-side, not for each platform (in case for Android/i... |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | Well... we have a lot of primary keys that are defined as a human readable code. Terrible idea, but not much choice in the matter.
It is very very handy to be able to fix that PK, and all dependent records, when someone realizes it is misspelled, or the meaning has changed. | You would need to do it if you chose your primary key as a natural key instead of a surrogate key, and then later found out that the user changed their surname, or that they wrote their SSN incorrectly on the application form.
Moral of story: don't use natural keys as primary keys. |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | Well... we have a lot of primary keys that are defined as a human readable code. Terrible idea, but not much choice in the matter.
It is very very handy to be able to fix that PK, and all dependent records, when someone realizes it is misspelled, or the meaning has changed. | For autogenerated keys, one example that I came across here (can't remember question) is if you need to merge two database tables together. In this case, you'll likely have duplicates unless your keys happened to be offset enough. |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | You would need to do it if you chose your primary key as a natural key instead of a surrogate key, and then later found out that the user changed their surname, or that they wrote their SSN incorrectly on the application form.
Moral of story: don't use natural keys as primary keys. | You might need to do this if using a natural primary key (one that has an actual meaning in the problem domain). If the meaning changed, then you'd need to cascade the change.
I supposed a bad example of this would be a database of buildings on a school campus, with the building name as a primary key (don't do this a... |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | For autogenerated keys, one example that I came across here (can't remember question) is if you need to merge two database tables together. In this case, you'll likely have duplicates unless your keys happened to be offset enough. | You might need to do this if using a natural primary key (one that has an actual meaning in the problem domain). If the meaning changed, then you'd need to cascade the change.
I supposed a bad example of this would be a database of buildings on a school campus, with the building name as a primary key (don't do this a... |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | For a synthetic, meaningless primary key like an autoincrementing column there should (with a few exceptions) never be any reason to update the PK value. If the PK is a user-visible value you might have to update it (which is one of the many arguments in favour of synthetic keys). An example of this situation is an ins... | You might need to do this if using a natural primary key (one that has an actual meaning in the problem domain). If the meaning changed, then you'd need to cascade the change.
I supposed a bad example of this would be a database of buildings on a school campus, with the building name as a primary key (don't do this a... |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | Well... we have a lot of primary keys that are defined as a human readable code. Terrible idea, but not much choice in the matter.
It is very very handy to be able to fix that PK, and all dependent records, when someone realizes it is misspelled, or the meaning has changed. | I had to change my PK several times, when exposing my PK to a third party system. From time to time they called us asking to change the PKs, to fit the records in their database (from time to time due to tech problem, the synchronization between there two systems - fails).
After several times we just stopped exposing... |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | Well... we have a lot of primary keys that are defined as a human readable code. Terrible idea, but not much choice in the matter.
It is very very handy to be able to fix that PK, and all dependent records, when someone realizes it is misspelled, or the meaning has changed. | For a synthetic, meaningless primary key like an autoincrementing column there should (with a few exceptions) never be any reason to update the PK value. If the PK is a user-visible value you might have to update it (which is one of the many arguments in favour of synthetic keys). An example of this situation is an ins... |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | Well... we have a lot of primary keys that are defined as a human readable code. Terrible idea, but not much choice in the matter.
It is very very handy to be able to fix that PK, and all dependent records, when someone realizes it is misspelled, or the meaning has changed. | You may get in this situation if you use natural primary key.
Here's one very fresh example: in Croatia government changed tax identification numbers for both companies and individuals. New law was introduced with January 1st 2010.
Last year, I was consultant in several projects where companies were changing natural... |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | Well... we have a lot of primary keys that are defined as a human readable code. Terrible idea, but not much choice in the matter.
It is very very handy to be able to fix that PK, and all dependent records, when someone realizes it is misspelled, or the meaning has changed. | You might need to do this if using a natural primary key (one that has an actual meaning in the problem domain). If the meaning changed, then you'd need to cascade the change.
I supposed a bad example of this would be a database of buildings on a school campus, with the building name as a primary key (don't do this a... |
2,285,310 | I've been reading up on foreign keys and such for postgres and I noticed that it allows a cascading update for foreign keys.
Well, my question is, **when would you need to update the primary key of a row?**
Apparently this guy needs to <http://www.oreillynet.com/onlamp/blog/2004/10/hey_sql_fans_check_out_foreign.ht... | 2010/02/17 | [
"https://Stackoverflow.com/questions/2285310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69742/"
] | I had to change my PK several times, when exposing my PK to a third party system. From time to time they called us asking to change the PKs, to fit the records in their database (from time to time due to tech problem, the synchronization between there two systems - fails).
After several times we just stopped exposing... | You might need to do this if using a natural primary key (one that has an actual meaning in the problem domain). If the meaning changed, then you'd need to cascade the change.
I supposed a bad example of this would be a database of buildings on a school campus, with the building name as a primary key (don't do this a... |
36,082,902 | I need to perform a function in C # to verify that the .NET 3.5 framework is installed on the client's machine.
How can I do this without using Registry.LocalMachine.OpenSubKey ( "Software \ Windows \ Microsoft.NET \ ..."), since this function has to be used on several different machines all with different ways to fram... | 2016/03/18 | [
"https://Stackoverflow.com/questions/36082902",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3979556/"
] | If .NET is installed on a machine it will have the registry keys as well. Microsoft states this as the method for detected the client's version of the .NET framework.
<https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx>
There is also a version object in the Environment class that has information about t... | Refer to this msdn article on this subject. That registry location will be the same on any machine with the framework installed, it is not a path to where the framework is installed so it is valid to use.
<https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx> |
43,420,216 | I have Java-based web server, and I also have DAO singleton object with method, whose SQL operations' logic must be synchronized in some way in order to guarantee data
integrity (method can be accessed from several Java threads simultaneously).
I was wondering to know **whether DB transaction wrapping (serializable l... | 2017/04/14 | [
"https://Stackoverflow.com/questions/43420216",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5405478/"
] | Yes, using transactions is better. With synchronizing in your code, locking on the class, the scope of that lock is your classloader, and standing up a second instance of your application will invalidate your locking, because the two instances are using different locks.
With database transactions you can have multiple... | Depends deeply in what is what you want to synchronize, synchronization is about resources, if you have more than one database in your code, and the data integrity problem is distributed, you need a transaction context, not only declaring it but knowing how to manage it properly.
Assuming you have a single database and... |
443 | The [12 Days of Christmas Lyrics](https://codegolf.stackexchange.com/q/4191/152) challenge has several solutions of the form "Use an external decompression utility on this file to create a solution.language file, then execute the decompressed file."
Does that count? If so, I'd expect every answer from now on to shave... | 2011/12/15 | [
"https://codegolf.meta.stackexchange.com/questions/443",
"https://codegolf.meta.stackexchange.com",
"https://codegolf.meta.stackexchange.com/users/152/"
] | Solutions that aren't 100% human-created aren't interesting in my eyes. The first one could have been, once, in the site's early days. But the trend I observe now is that they're becoming the default trick, just like UCS2 was a few months ago. So boooooring. And all the more demoralizing when the top voted answer in a ... | Most (all?) of the compressed solutions in that thread, including mine, *do* include a self-extractor. It might be implemented using an optional module/library, but if that library ships with the language by default (as Compress::Zlib does with Perl, for example), then I really don't see how it could be disallowed in g... |
77,001 | [A few years ago, Utah defined gold and silver as legal tender](https://www.soundmoneydefense.org/state-legal-tender-movement). If I understand this law correctly, this should mean that now that my business is in Utah, I can accept gold as a means of payment (I know about Goldmoney accounts, but technically this still ... | 2017/03/06 | [
"https://money.stackexchange.com/questions/77001",
"https://money.stackexchange.com",
"https://money.stackexchange.com/users/54189/"
] | Of course you can accept gold as payment.
Would anyone pay in gold? Would it have tax consequences on your federal taxes? These additional questions are off-topic on this site about personal finance. | Yes.
"There is, ...no Federal statute mandating that a private business, a person or an organization must accept currency or coins as for payment for goods and/or services."
Taken from the [US Department of the Treasury](https://www.treasury.gov/resource-center/faqs/Currency/Pages/legal-tender.aspx). |
77,001 | [A few years ago, Utah defined gold and silver as legal tender](https://www.soundmoneydefense.org/state-legal-tender-movement). If I understand this law correctly, this should mean that now that my business is in Utah, I can accept gold as a means of payment (I know about Goldmoney accounts, but technically this still ... | 2017/03/06 | [
"https://money.stackexchange.com/questions/77001",
"https://money.stackexchange.com",
"https://money.stackexchange.com/users/54189/"
] | Of course you can accept gold as payment.
Would anyone pay in gold? Would it have tax consequences on your federal taxes? These additional questions are off-topic on this site about personal finance. | Yes. But the question is do you want to have gold?
If you are going to buy gold anyway, and if you can get a good conversion rate between USD:gold, then why not?
If you are looking to use your earnings on things that you cannot buy using gold, then I'd recommend you take USD instead.
Have fun! |
77,001 | [A few years ago, Utah defined gold and silver as legal tender](https://www.soundmoneydefense.org/state-legal-tender-movement). If I understand this law correctly, this should mean that now that my business is in Utah, I can accept gold as a means of payment (I know about Goldmoney accounts, but technically this still ... | 2017/03/06 | [
"https://money.stackexchange.com/questions/77001",
"https://money.stackexchange.com",
"https://money.stackexchange.com/users/54189/"
] | Yes.
"There is, ...no Federal statute mandating that a private business, a person or an organization must accept currency or coins as for payment for goods and/or services."
Taken from the [US Department of the Treasury](https://www.treasury.gov/resource-center/faqs/Currency/Pages/legal-tender.aspx). | Yes. But the question is do you want to have gold?
If you are going to buy gold anyway, and if you can get a good conversion rate between USD:gold, then why not?
If you are looking to use your earnings on things that you cannot buy using gold, then I'd recommend you take USD instead.
Have fun! |
4,533,261 | I am studying Computer Systems and Networks engineering at London South Bank University.
I know a bit about object oriented programming languages like PHP, Java and about C++... and indeed would like to improve my knowledge of C++.
But my knowledge is more from books. I have no experience on real projects.
I was thinki... | 2010/12/26 | [
"https://Stackoverflow.com/questions/4533261",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/554208/"
] | Try to to work on some immediate projects using other libraries. For example: gtkmm, qt4, opengl, boost or Qt4. Make sure you also write document for it, UML would be great too. I used to start with GTK+, I wrote a simple text editor, then a mp3 player.
Then I switch to openGL to write games, then move back to play ... | Qt is defeinetely I nicely written library and worthwhile studying if you want to udnerstand more C++ |
4,533,261 | I am studying Computer Systems and Networks engineering at London South Bank University.
I know a bit about object oriented programming languages like PHP, Java and about C++... and indeed would like to improve my knowledge of C++.
But my knowledge is more from books. I have no experience on real projects.
I was thinki... | 2010/12/26 | [
"https://Stackoverflow.com/questions/4533261",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/554208/"
] | Try to to work on some immediate projects using other libraries. For example: gtkmm, qt4, opengl, boost or Qt4. Make sure you also write document for it, UML would be great too. I used to start with GTK+, I wrote a simple text editor, then a mp3 player.
Then I switch to openGL to write games, then move back to play ... | This is a book about participating in and leading open source project: [Producing OSS](http://producingoss.com/). |
151,075 | Recently I changed my password on my computer but for the past few days I keep entering the old one when trying to log in or unlock it. Is there a word or phrase in to describe this? Another example would be writing 2013 for the year out of habit even though you know it's 2014. | 2014/02/10 | [
"https://english.stackexchange.com/questions/151075",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/65337/"
] | Where "muscle memory" is the cause, "[force of habit](http://www.merriam-webster.com/dictionary/force%20of%20habit)" is the result:
>
> behavior made involuntary or automatic by repeated practice
>
>
> | I too have had the same issue. The best way to roll out new passwords, is to write it down for the first few days of the change, and then try to force yourself to remember it. This works for me, I also say the password out loud five times, this ensures a higher chance of remembering the password in future.
The term I ... |
151,075 | Recently I changed my password on my computer but for the past few days I keep entering the old one when trying to log in or unlock it. Is there a word or phrase in to describe this? Another example would be writing 2013 for the year out of habit even though you know it's 2014. | 2014/02/10 | [
"https://english.stackexchange.com/questions/151075",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/65337/"
] | In the past, this was attributed to [*facilitation*](http://www.merriam-webster.com/dictionary/facilitation?show=0&t=1392072241): the lowering of the threshold for reflex conduction along a particular neural pathway especially from repeated use of that pathway; the increasing of the ease or intensity of a response by r... | It's by/from rote memory or just "rote" |
151,075 | Recently I changed my password on my computer but for the past few days I keep entering the old one when trying to log in or unlock it. Is there a word or phrase in to describe this? Another example would be writing 2013 for the year out of habit even though you know it's 2014. | 2014/02/10 | [
"https://english.stackexchange.com/questions/151075",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/65337/"
] | There's no special word just for doing that with passwords that I know of.
However, the term for when you just do something physical like that without thinking about it because you done it a jillion times before is "[muscle memory](http://en.wikipedia.org/wiki/Muscle_memory)". Another example is working a combination ... | The adverbs I would use in such a situation are [**mindlessly**](http://www.thefreedictionary.com/mindlessly) "without intellectual involvement", and [**absentmindedly**](http://www.merriam-webster.com/dictionary/absentmindedly) "resulting from preoccupation or absence of mind".
>
> I absentmindedly typed my old pass... |
151,075 | Recently I changed my password on my computer but for the past few days I keep entering the old one when trying to log in or unlock it. Is there a word or phrase in to describe this? Another example would be writing 2013 for the year out of habit even though you know it's 2014. | 2014/02/10 | [
"https://english.stackexchange.com/questions/151075",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/65337/"
] | In the psychological research of human error, this is often called a "**Capture Error**" (a habit 'captures' the current stream of actions). Another example from Norman (1988) "The Psychology of Everyday Things":
"I was using a copying machine, and I was counting the pages. I found myself counting '1, 2, 3, 4, 5, 6, 7... | It's by/from rote memory or just "rote" |
151,075 | Recently I changed my password on my computer but for the past few days I keep entering the old one when trying to log in or unlock it. Is there a word or phrase in to describe this? Another example would be writing 2013 for the year out of habit even though you know it's 2014. | 2014/02/10 | [
"https://english.stackexchange.com/questions/151075",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/65337/"
] | Where "muscle memory" is the cause, "[force of habit](http://www.merriam-webster.com/dictionary/force%20of%20habit)" is the result:
>
> behavior made involuntary or automatic by repeated practice
>
>
> | How about *I entered an old password reflexively* (i.e., as a matter of reflex) or *irreflectively / unreflectingly* (without reflecting on what I should have been entering)? |
151,075 | Recently I changed my password on my computer but for the past few days I keep entering the old one when trying to log in or unlock it. Is there a word or phrase in to describe this? Another example would be writing 2013 for the year out of habit even though you know it's 2014. | 2014/02/10 | [
"https://english.stackexchange.com/questions/151075",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/65337/"
] | In the past, this was attributed to [*facilitation*](http://www.merriam-webster.com/dictionary/facilitation?show=0&t=1392072241): the lowering of the threshold for reflex conduction along a particular neural pathway especially from repeated use of that pathway; the increasing of the ease or intensity of a response by r... | How about *I entered an old password reflexively* (i.e., as a matter of reflex) or *irreflectively / unreflectingly* (without reflecting on what I should have been entering)? |
151,075 | Recently I changed my password on my computer but for the past few days I keep entering the old one when trying to log in or unlock it. Is there a word or phrase in to describe this? Another example would be writing 2013 for the year out of habit even though you know it's 2014. | 2014/02/10 | [
"https://english.stackexchange.com/questions/151075",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/65337/"
] | There's no special word just for doing that with passwords that I know of.
However, the term for when you just do something physical like that without thinking about it because you done it a jillion times before is "[muscle memory](http://en.wikipedia.org/wiki/Muscle_memory)". Another example is working a combination ... | It's by/from rote memory or just "rote" |
151,075 | Recently I changed my password on my computer but for the past few days I keep entering the old one when trying to log in or unlock it. Is there a word or phrase in to describe this? Another example would be writing 2013 for the year out of habit even though you know it's 2014. | 2014/02/10 | [
"https://english.stackexchange.com/questions/151075",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/65337/"
] | Where "muscle memory" is the cause, "[force of habit](http://www.merriam-webster.com/dictionary/force%20of%20habit)" is the result:
>
> behavior made involuntary or automatic by repeated practice
>
>
> | The adverbs I would use in such a situation are [**mindlessly**](http://www.thefreedictionary.com/mindlessly) "without intellectual involvement", and [**absentmindedly**](http://www.merriam-webster.com/dictionary/absentmindedly) "resulting from preoccupation or absence of mind".
>
> I absentmindedly typed my old pass... |
151,075 | Recently I changed my password on my computer but for the past few days I keep entering the old one when trying to log in or unlock it. Is there a word or phrase in to describe this? Another example would be writing 2013 for the year out of habit even though you know it's 2014. | 2014/02/10 | [
"https://english.stackexchange.com/questions/151075",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/65337/"
] | Where "muscle memory" is the cause, "[force of habit](http://www.merriam-webster.com/dictionary/force%20of%20habit)" is the result:
>
> behavior made involuntary or automatic by repeated practice
>
>
> | In the past, this was attributed to [*facilitation*](http://www.merriam-webster.com/dictionary/facilitation?show=0&t=1392072241): the lowering of the threshold for reflex conduction along a particular neural pathway especially from repeated use of that pathway; the increasing of the ease or intensity of a response by r... |
471,640 | If my Network Card has 4 ports can I do teaming (LBFO) ?
Or I need to have two Network Cards ? | 2013/01/23 | [
"https://serverfault.com/questions/471640",
"https://serverfault.com",
"https://serverfault.com/users/155661/"
] | Generally said - yes. Teaming is done for many reasons, among them bandwidth and hardware ressoruce splitting (every nic having a limited number of hardware queues).
No software I know of is "card based". They may have limits, but generally logically you do not team cards, but ports. Ethernet interfaces, to be more ex... | Possible: Most of the times, as bonding is done on interface-level but not on cards.
The question is more what you wish to gain:
* more speed - yes, but be aware that 4x 1G != 4G, as individual transfers can only use one physical interface in nearly all configurations
* more reliability - partly, but only on cable-le... |
196,521 | Are there any resources (Templates, tools, etc) that a sys admin would use to perform a capacity planning study? I am going to setup some servers on the cloud but I need to know how many I will need for my usage patterns (e.g. whether some can be consolidated or not), and the memory etc required.
Thanks | 2010/10/30 | [
"https://serverfault.com/questions/196521",
"https://serverfault.com",
"https://serverfault.com/users/11571/"
] | IMHO, the best capacity planning tools that exist are trending/graphing solutions like [Cacti](http://www.cacti.net/), [Munin](http://munin-monitoring.org/) or [Ganglia](http://ganglia.sourceforge.net/). Monitor and graph everything you can: cpu usage, load, memory usage, swap, disk space, disk i/o, network traffic, et... | Im from GISstackexchange, and was hunting around for something else and saw this Q.
Although, this [Capacity Planning tool](http://wiki.gis.com/wiki/index.php/Capacity_Planning_Tool) spreadsheet is specifcally for ArcGIS Server, may have some use for someone else who comes across this Q. Very detailed, and has videos o... |
31,606 | I was looking for data on ice resistance for these kinds of 1000 litres containers. I believe they are made of polyethylene with an outside aluminium structure. Given the physics of ice expansion, what could be the safe level of water inside if subjected to icing conditions ?
Does adding a half inflated bike tube insid... | 2019/10/21 | [
"https://engineering.stackexchange.com/questions/31606",
"https://engineering.stackexchange.com",
"https://engineering.stackexchange.com/users/17592/"
] | Ice has a volume about 10% bigger than water, so an inner tube is too small to do anything - unless it floats, see below.
Containers burst when the ice forms a plug and the trapped water then freezes and expands. One way to avoid that is float a beach ball in the tank. When the top of the water freezes over, the press... | If you leave roughly 10% on top empty it should be okay. Ice increases in volume by approximately 8%.
Leaving a half deflated bike tube will hardly help. Because ice formation starts from surface of the tank and by the time it gets to the tube it is too late.
Most of the plastic containers can flex a bit to accommoda... |
134,686 | I have a scene with a massive terrain. It took a long time to load (approximately 60 seconds) when I pressed play. I am in the editor.
I prefabbed it.
Now it only took about 5 seconds to load when I pressed play. Why?
My best guess is that there is some preloading done when it is prefabbed, but it only takes a few s... | 2016/12/20 | [
"https://gamedev.stackexchange.com/questions/134686",
"https://gamedev.stackexchange.com",
"https://gamedev.stackexchange.com/users/41345/"
] | What are Prefabs
----------------
The [Unity Documentation for Prefabs](https://docs.unity3d.com/Manual/Prefabs.html) simply describes it as
>
> A template from which you can create new object instances in the scene. Any edits made to a prefab asset are immediately reflected in all instances produced from it but yo... | Prefab is just for reusability and for a repeatable task it doesn't have any connection with preprocessing. When rendering process happens with any game objects and it has any retrace to the project panel unity make its meta file and store some information on it and for next time Unity uses that information for next ti... |
134,686 | I have a scene with a massive terrain. It took a long time to load (approximately 60 seconds) when I pressed play. I am in the editor.
I prefabbed it.
Now it only took about 5 seconds to load when I pressed play. Why?
My best guess is that there is some preloading done when it is prefabbed, but it only takes a few s... | 2016/12/20 | [
"https://gamedev.stackexchange.com/questions/134686",
"https://gamedev.stackexchange.com",
"https://gamedev.stackexchange.com/users/41345/"
] | So the original question ***"why do prefabs speedup loading"*** is an very interessting question.
You may check out the memory part of the profiler when working with prefabs.
Every asset you once prefabed will use memory for reference. Even when you unload and destroy the prefab - there is still some information kept... | Prefab is just for reusability and for a repeatable task it doesn't have any connection with preprocessing. When rendering process happens with any game objects and it has any retrace to the project panel unity make its meta file and store some information on it and for next time Unity uses that information for next ti... |
134,686 | I have a scene with a massive terrain. It took a long time to load (approximately 60 seconds) when I pressed play. I am in the editor.
I prefabbed it.
Now it only took about 5 seconds to load when I pressed play. Why?
My best guess is that there is some preloading done when it is prefabbed, but it only takes a few s... | 2016/12/20 | [
"https://gamedev.stackexchange.com/questions/134686",
"https://gamedev.stackexchange.com",
"https://gamedev.stackexchange.com/users/41345/"
] | What are Prefabs
----------------
The [Unity Documentation for Prefabs](https://docs.unity3d.com/Manual/Prefabs.html) simply describes it as
>
> A template from which you can create new object instances in the scene. Any edits made to a prefab asset are immediately reflected in all instances produced from it but yo... | additive to others answers. we have **flyweight pattern** that is concerned with memory and optimization. when you have lots of objects, flyweight pattern, shares the same data in same memory and allocates memory for new or different features. unity3d uses this pattern to work with prefabs.
other approach is in progr... |
134,686 | I have a scene with a massive terrain. It took a long time to load (approximately 60 seconds) when I pressed play. I am in the editor.
I prefabbed it.
Now it only took about 5 seconds to load when I pressed play. Why?
My best guess is that there is some preloading done when it is prefabbed, but it only takes a few s... | 2016/12/20 | [
"https://gamedev.stackexchange.com/questions/134686",
"https://gamedev.stackexchange.com",
"https://gamedev.stackexchange.com/users/41345/"
] | So the original question ***"why do prefabs speedup loading"*** is an very interessting question.
You may check out the memory part of the profiler when working with prefabs.
Every asset you once prefabed will use memory for reference. Even when you unload and destroy the prefab - there is still some information kept... | additive to others answers. we have **flyweight pattern** that is concerned with memory and optimization. when you have lots of objects, flyweight pattern, shares the same data in same memory and allocates memory for new or different features. unity3d uses this pattern to work with prefabs.
other approach is in progr... |
54,636,935 | **Basic Information:**
I have a tableView and each tableView cell **containing an image and few labels**.
I use tableView **prefetch data** method to make API calls to fetch data as the tableView scrolls.
**Issue:**
Sometimes I see **a particular cell showing an image of some other cell**.
This happens when I scroll ... | 2019/02/11 | [
"https://Stackoverflow.com/questions/54636935",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10151808/"
] | As an alternative to download charts you can use <https://github.com/railsjazz/rails_charts/>
It supports a column chart and you can download a chart if needed (just customize the toolbar) | Try using gem 'wicked\_pdf' which allows you to download pdf files using HTML views.
you simply write an HTML view and add your chart inside this view.
Refer to this <https://github.com/mileszs/wicked_pdf> for complete documentation on usage of this gem.
Hope this helps!! |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | There's no such thing as a post-scarcity society
================================================
Even if you have completely free energy and Star Trek-style replicators that get around any sort of precious metals limitations, some things will still be scarce. For example, living space. If you're confined to Earth, it... | Yes.
Just because things aren't scarce, doesn't mean that they are free. If nothing else, you have transportation costs (including labor).
Also, can everyone have as big of a house as they want?
Some people value the trappings of power. They will manipulate the system to maintain that power. That builds in a class/c... |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | There's no such thing as a post-scarcity society
================================================
Even if you have completely free energy and Star Trek-style replicators that get around any sort of precious metals limitations, some things will still be scarce. For example, living space. If you're confined to Earth, it... | Who gets to go to the moon? Who gets to choose who gets to go?
By 'Post scarcity' you seem to mean easy living, but for the imaginable future there will still be scarcity of something. This leads to politics and economics just with reduced stakes. ie losers need to wait a week to get on a rocket instead of starving.
... |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | Who gets to go to the moon? Who gets to choose who gets to go?
By 'Post scarcity' you seem to mean easy living, but for the imaginable future there will still be scarcity of something. This leads to politics and economics just with reduced stakes. ie losers need to wait a week to get on a rocket instead of starving.
... | There certainly can be inequality and class warfare even in a post-scarcity society. The general reason that this is true is that scarcity is not the only source of such conflict (neither does scarcity ensure this type of conflict: some poor people are very peaceful, some rich people are very violent).
As was pointed ... |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | Sure
====
Money will still matter. There will be people who are satisfied with the material goods of their post-scarcity welfare package. Perhaps they are concentrating on non-material goals, like being the best kung fu fighter in town, in the state, on the continent. Perhaps they are couch potatoes.
But others will ... | It depends on your definition of post-scarcity. If there is unlimited resources in the long term only (i.e. no possibility of complete consumption of a resource), then stratification must be possible as there will only be a finite amount available at the moment. Hell, you could make a good book out of a society where e... |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | There's no such thing as a post-scarcity society
================================================
Even if you have completely free energy and Star Trek-style replicators that get around any sort of precious metals limitations, some things will still be scarce. For example, living space. If you're confined to Earth, it... | There certainly can be inequality and class warfare even in a post-scarcity society. The general reason that this is true is that scarcity is not the only source of such conflict (neither does scarcity ensure this type of conflict: some poor people are very peaceful, some rich people are very violent).
As was pointed ... |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | **Yes: the prettiest girl/handsomest boy is always in short supply.**
The one they choose has more of them; so much for your egalitarian society.
After you have secured your mate, the focus shifts to your children, but it's the same fight.
Advantages that can be traded are wealth. Wealth quantified is money. Wealt... | Use author Ken McLeod's test of your society by asking his question: **Who cleans the toilets?**
Basically, think of some vital but low status and onerous/unpleasant task which must be done to keep the society ticking over. If you have magical self-cleaning toilets and self-running sewage systems (done by robots or wh... |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | What you are describing is essentially the world in [Down and Out in the Magic Kingdom](https://scribl.com/books/P56E4/down-and-out-in-the-magic-kingdom), by Corey Doctorow.
>
> Jules is a young man, barely a century old. He's lived long enough to
> see the cure for death and the end of scarcity, to learn ten langua... | Yes.
Once I saw a documentary on Lemurs in Madagascar, I believe from the BBC Nature series. These particular lemurs lived in the fruit trees, and there was enough food that they didn't even need to get up in the morning; just stretch their hand out and there was breakfast.
But, after breakfast was over, they went in... |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | What you are describing is essentially the world in [Down and Out in the Magic Kingdom](https://scribl.com/books/P56E4/down-and-out-in-the-magic-kingdom), by Corey Doctorow.
>
> Jules is a young man, barely a century old. He's lived long enough to
> see the cure for death and the end of scarcity, to learn ten langua... | **Yes: the prettiest girl/handsomest boy is always in short supply.**
The one they choose has more of them; so much for your egalitarian society.
After you have secured your mate, the focus shifts to your children, but it's the same fight.
Advantages that can be traded are wealth. Wealth quantified is money. Wealt... |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | Sure
====
Money will still matter. There will be people who are satisfied with the material goods of their post-scarcity welfare package. Perhaps they are concentrating on non-material goals, like being the best kung fu fighter in town, in the state, on the continent. Perhaps they are couch potatoes.
But others will ... | Yes....if your question is set in a world like Earth with humans having the current in-born biological "survival of the fittest" drive in action.
If this biological drive cannot be met by individuals competing for basic resources to live, then the wonderfully imaginative and resourceful human mind will look for other... |
73,356 | Let's assume post-scarcity in this case means everyone, regardless of income or employment status, has unlimited access to food (or bio-engineered food substitutes), a place to live, means of transportation, and information services like television, the internet and maybe even virtual reality. In an environment like th... | 2017/03/08 | [
"https://worldbuilding.stackexchange.com/questions/73356",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/21870/"
] | Who gets to go to the moon? Who gets to choose who gets to go?
By 'Post scarcity' you seem to mean easy living, but for the imaginable future there will still be scarcity of something. This leads to politics and economics just with reduced stakes. ie losers need to wait a week to get on a rocket instead of starving.
... | Without a more precise description of the society you’re depicting I’d have to say the question can be answered with both yes and no.
Just to clarify my understanding of the setting of your described world:
1. Food, housing, transportation and information services are made
available for every human individual to cons... |
13,849 | A Calculus class for 1st year students may have two subclasses (with *two different lecturers*) :
* The main class (which covers the theories and concept),
* and the 'response' class (which provides and explain how to solve problems in exercises)
---
**For the latter, what is the ideal way to teach?**
Some logical... | 2018/03/23 | [
"https://matheducators.stackexchange.com/questions/13849",
"https://matheducators.stackexchange.com",
"https://matheducators.stackexchange.com/users/9439/"
] | My approach would likely be as follows:
1. Reserve time for questions. In my experience this will not actually take much of the time. Don't be afraid to not answer certain questions. For example, "what do you think is on the next test" is usually not wise to entertain. Unless you are writing the test and have a specif... | 1. To the extent the class does not cover problem solving, you should cover a a few in lecture style as examples. I don't totally believe (maybe don't want to believe) that the regular class is all derivations and theory and no example problems. But if so, definitely showing some examples would be helpful.
2. Emphasis ... |
4,653,803 | I hope to migrate one project from iPhone to iPad.
My way is to copy all project files to a new path, then open the project in new directory and change the bundle identifier and provisioning profile.
I know I need to do some adjustment for UIViews etc in Interface Builder. There is no problem for me.
But I remember w... | 2011/01/11 | [
"https://Stackoverflow.com/questions/4653803",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/262325/"
] | Seems to me it would be simpler to create a new empty iPad app and import your files into it, then make changes from there. | I'm no expert yet but I do recall seeing a WWDC video on migrating app from iphone to ipad. You may want to check that out. |
6,744,744 | Hi I am working with a matrix of 448\*448 elements of real(signed) data and wanted to display it as grayscale image in C as i did in MATLAB using `imagesc`. Can anyone tell me which is the fastest and easiest library or code to display the grayscale image from the matrix in C?
Thanks. | 2011/07/19 | [
"https://Stackoverflow.com/questions/6744744",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/714813/"
] | Also look at [openCV](http://sourceforge.net/projects/opencvlibrary/) libs. These libs are quite good. It has both c and C++ interface. | Have a look at [CImg](http://cimg.sourceforge.net/). Although not C but C++, that should be able to do what you want. Unless of course C++ is a big nono for you. Whether or not it is fastest or easiest is not something I dare to claim. You'll have to figure that out yourself. |
6,744,744 | Hi I am working with a matrix of 448\*448 elements of real(signed) data and wanted to display it as grayscale image in C as i did in MATLAB using `imagesc`. Can anyone tell me which is the fastest and easiest library or code to display the grayscale image from the matrix in C?
Thanks. | 2011/07/19 | [
"https://Stackoverflow.com/questions/6744744",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/714813/"
] | ImageMagick has a native C API if you want to avoid OpenCV: [MagickWand](http://www.imagemagick.org/script/magick-wand.php). If you want better low-level capabilities you can try [MagickCore](http://www.imagemagick.org/script/magick-core.php). The ConstituteImage function supplied with MagickCore sounds like it would d... | Have a look at [CImg](http://cimg.sourceforge.net/). Although not C but C++, that should be able to do what you want. Unless of course C++ is a big nono for you. Whether or not it is fastest or easiest is not something I dare to claim. You'll have to figure that out yourself. |
6,744,744 | Hi I am working with a matrix of 448\*448 elements of real(signed) data and wanted to display it as grayscale image in C as i did in MATLAB using `imagesc`. Can anyone tell me which is the fastest and easiest library or code to display the grayscale image from the matrix in C?
Thanks. | 2011/07/19 | [
"https://Stackoverflow.com/questions/6744744",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/714813/"
] | As shobhonk suggested, take a look at [OpenCV](http://opencv.org), a computer vision and image processing library that works with C and C++. To accomplish something similar to **imagesc** in C++, I use the functions [imread and imshow](http://docs.opencv.org/doc/tutorials/introduction/display_image/display_image.html) ... | Have a look at [CImg](http://cimg.sourceforge.net/). Although not C but C++, that should be able to do what you want. Unless of course C++ is a big nono for you. Whether or not it is fastest or easiest is not something I dare to claim. You'll have to figure that out yourself. |
6,744,744 | Hi I am working with a matrix of 448\*448 elements of real(signed) data and wanted to display it as grayscale image in C as i did in MATLAB using `imagesc`. Can anyone tell me which is the fastest and easiest library or code to display the grayscale image from the matrix in C?
Thanks. | 2011/07/19 | [
"https://Stackoverflow.com/questions/6744744",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/714813/"
] | Also look at [openCV](http://sourceforge.net/projects/opencvlibrary/) libs. These libs are quite good. It has both c and C++ interface. | ImageMagick has a native C API if you want to avoid OpenCV: [MagickWand](http://www.imagemagick.org/script/magick-wand.php). If you want better low-level capabilities you can try [MagickCore](http://www.imagemagick.org/script/magick-core.php). The ConstituteImage function supplied with MagickCore sounds like it would d... |
6,744,744 | Hi I am working with a matrix of 448\*448 elements of real(signed) data and wanted to display it as grayscale image in C as i did in MATLAB using `imagesc`. Can anyone tell me which is the fastest and easiest library or code to display the grayscale image from the matrix in C?
Thanks. | 2011/07/19 | [
"https://Stackoverflow.com/questions/6744744",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/714813/"
] | Also look at [openCV](http://sourceforge.net/projects/opencvlibrary/) libs. These libs are quite good. It has both c and C++ interface. | As shobhonk suggested, take a look at [OpenCV](http://opencv.org), a computer vision and image processing library that works with C and C++. To accomplish something similar to **imagesc** in C++, I use the functions [imread and imshow](http://docs.opencv.org/doc/tutorials/introduction/display_image/display_image.html) ... |
55,741,919 | I encountered the following puzzling situation while installing a third-party library, in this case Virtual Treeview, which I will use as an example herein.
After following the installation procedure from INSTALL.txt, the new components appeared in Delphi's component palette, and can be added to a form.
However, buil... | 2019/04/18 | [
"https://Stackoverflow.com/questions/55741919",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/649133/"
] | Each target has its own library path. You have added the VT paths to the Win64 target, but need to do the same for the Win32 target.
Alternatively, remove the VT paths from the Win64 target search path, and add them instead to the target that applies to all projects, and then they will be inherited by the other projec... | The short answer is that the Library Path was not set correctly. And credit to David Heffernan for pointing that out.
But how and why?
The key piece that I missed was that the Library Settings dialog captures different sets of paths applicable to each of the different platform targets. So at the top of the Library Se... |
6,729,146 | How to include custom javascript file to amazon webstore? | 2011/07/18 | [
"https://Stackoverflow.com/questions/6729146",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/849451/"
] | Go to one of the main template pages under "Merchandising & Layout" click Properties on the top right and upload a js file to be included.
You can also place inline script tags within the widgets. | You can insert a script in the page with greasemonkey script, or userscript in the userscript folder in Chrome/Opera. |
6,729,146 | How to include custom javascript file to amazon webstore? | 2011/07/18 | [
"https://Stackoverflow.com/questions/6729146",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/849451/"
] | To include a custom js file in Amazon Webstore you:
1.From the homescreen click the customize url button
2.Select "use your own domain name" \* Even if you dont plan to use your own you still must choose this.
3.In the custom url field it should say either example.webstorepowered.com or example.hostedbyamazon.com, chan... | You can insert a script in the page with greasemonkey script, or userscript in the userscript folder in Chrome/Opera. |
6,729,146 | How to include custom javascript file to amazon webstore? | 2011/07/18 | [
"https://Stackoverflow.com/questions/6729146",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/849451/"
] | To include a custom js file in Amazon Webstore you:
1.From the homescreen click the customize url button
2.Select "use your own domain name" \* Even if you dont plan to use your own you still must choose this.
3.In the custom url field it should say either example.webstorepowered.com or example.hostedbyamazon.com, chan... | Go to one of the main template pages under "Merchandising & Layout" click Properties on the top right and upload a js file to be included.
You can also place inline script tags within the widgets. |
31,648,177 | I am using Enum Logic to populate the comboBox. The comboBox is populated correctly. But I want to set "--SELECT--" as the first option.
How can It be done?? | 2015/07/27 | [
"https://Stackoverflow.com/questions/31648177",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5159666/"
] | You would need to revoke the permission 'VIEW ANY DATABASE' from the role PUBLIC (SQL SERVER 2005 onwards) and give permission to the users only for the databases they need. This should make Object Explorer faster. | Rene,
Have you tried using the latest preview version of SSMS ([available here](https://msdn.microsoft.com/en-us/library/mt238290.aspx))? I believe the issue might have also been addressed in the SSMS 2014 Service Pack 1 release ([you can find that here](https://technet.microsoft.com/en-us/sqlserver/ff803383.aspx)) |
31,648,177 | I am using Enum Logic to populate the comboBox. The comboBox is populated correctly. But I want to set "--SELECT--" as the first option.
How can It be done?? | 2015/07/27 | [
"https://Stackoverflow.com/questions/31648177",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5159666/"
] | I had a similar issue with Sql Server 2014. It took me about 1 minute to expand the databases tree with only 10-15 databases listed.
The solution to me was to run the Sql Server 2014 setup and **repair** the installation. Even though nothing seems to be incorrectly installed this still fixed the issue for expanding t... | Rene,
Have you tried using the latest preview version of SSMS ([available here](https://msdn.microsoft.com/en-us/library/mt238290.aspx))? I believe the issue might have also been addressed in the SSMS 2014 Service Pack 1 release ([you can find that here](https://technet.microsoft.com/en-us/sqlserver/ff803383.aspx)) |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | Early in your career I see no harm and indeed some benefit to doing this a few times, but sooner or later employers are going to get wary of someone who appears not to stay too long. So, you may get new skills but you may find it harder to get a more responsible role in the future. That may not bother you, but if it do... | **Absolutely.**
*Unfortunately.*
I've sat on a couple of different hiring committees, and they both tended to place a higher value on the resumes where people jumped every 2-3 years... They always pay lip service to the idea of the "loyal" company-man that sticks around a business for numerous years, but they don't... |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | The world has changed. Two years used to be a short time to stay in a position, but its not anymore. In our minds it does seem short, but you have to consider what is really happening; what employers are actually seeing. One way to do this is by looking at the [BLS](http://www.bls.gov/news.release/nlsoy.t01.htm).
Jus... | Most job posts seem to require the "alphabet soup" you can get from job hopping. E.g. 3-5 years in Java, 3-5 Years in C++, 3-5 Years in .NET. Often a job like that needs someone who hopped 3 jobs because often you use just one in a job. Also most jobs I have had tend to repeat themselves over and over again after the f... |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | Unless you are working in a agile company constantly evolving, I would say yes, job hopping is very good for you.
It is not very good for employers, so be aware that this may be perceived as a bad thing.
Being a **freelance** working on short missions (6 to 12 months) is probably what you need. | There are no correct answer. Switch job if you feel that there are nothing more there that you can learn. |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | As I agree with many of the answers here already, I will speak from my experiences...
**Early in my career I job hopped** and I learned a ton. **However**, I didn't master anything until I stayed on a project for more than 3 years.
The fact is, you may get a title, but you will never get the respect of your fellow em... | If you are developing from a programming perspective or from a personal development or project skills perspective then I would generally advise staying (unless of course you really aren't enjoying it) - this will help to build your reputation as a 'stayer'
When looking at candidates for job roles I am always more inte... |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | Job hopping is one way of continuously learning new **technical** skills, true.
However, staying at a job for at least 3 to 5 years or more gives you the opportunity to learn the sociological and relationship skills that are also necessary to be a good software developer. | If you are developing from a programming perspective or from a personal development or project skills perspective then I would generally advise staying (unless of course you really aren't enjoying it) - this will help to build your reputation as a 'stayer'
When looking at candidates for job roles I am always more inte... |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | Job hopping is one way of continuously learning new **technical** skills, true.
However, staying at a job for at least 3 to 5 years or more gives you the opportunity to learn the sociological and relationship skills that are also necessary to be a good software developer. | There are no correct answer. Switch job if you feel that there are nothing more there that you can learn. |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | **Absolutely.**
*Unfortunately.*
I've sat on a couple of different hiring committees, and they both tended to place a higher value on the resumes where people jumped every 2-3 years... They always pay lip service to the idea of the "loyal" company-man that sticks around a business for numerous years, but they don't... | The world has changed. Two years used to be a short time to stay in a position, but its not anymore. In our minds it does seem short, but you have to consider what is really happening; what employers are actually seeing. One way to do this is by looking at the [BLS](http://www.bls.gov/news.release/nlsoy.t01.htm).
Jus... |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | Early in your career I see no harm and indeed some benefit to doing this a few times, but sooner or later employers are going to get wary of someone who appears not to stay too long. So, you may get new skills but you may find it harder to get a more responsible role in the future. That may not bother you, but if it do... | Job hopping is the most sure thing, you will get a raise of income. Not always, but most likely.
Job hopping should be a result of something bigger. Imagine what would be the coolest place you would like to work or do.
Find out the kind of skills needed for you to get there. Now, job hopping becomes the process for ... |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | Job hopping is the most sure thing, you will get a raise of income. Not always, but most likely.
Job hopping should be a result of something bigger. Imagine what would be the coolest place you would like to work or do.
Find out the kind of skills needed for you to get there. Now, job hopping becomes the process for ... | I would say "it depends". See [this answer](https://softwareengineering.stackexchange.com/questions/17009/is-needing-a-change-an-acceptable-reason-to-move-on-from-a-job/17277#17277) to my (broadly job-hopping-related) question for one of the problems with job hopping.
There is definitely a balance. And it really depen... |
65,928 | Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new... | 2011/04/07 | [
"https://softwareengineering.stackexchange.com/questions/65928",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/5148/"
] | If you are developing from a programming perspective or from a personal development or project skills perspective then I would generally advise staying (unless of course you really aren't enjoying it) - this will help to build your reputation as a 'stayer'
When looking at candidates for job roles I am always more inte... | There are no correct answer. Switch job if you feel that there are nothing more there that you can learn. |
4,980 | Paleomagnetism can be measured as the magnetic field at the time of rock forming is preserved in some minerals.
Could the paleomagnetism and the present magnetic field somehow influence the movements of tectonic plates? | 2015/06/10 | [
"https://earthscience.stackexchange.com/questions/4980",
"https://earthscience.stackexchange.com",
"https://earthscience.stackexchange.com/users/3009/"
] | The electromagnetic force and related field is a strong force at very small distances (governs the way the proton and electron are held to an atom) but is relatively weak over large distances. I don't see how that small force could act on processes involved in the convection of the mantle. If memory serves, the iron in... | The forces of a magnetic field on materials that are not ferromagnetic and not electric conductors are negligible compared to pressure, tension, and buoyancy. It is likely safe to ignore them for the upper mantle.
However, the lower mantle is a semiconductor with a significant thermal gradient, which induces electrica... |
19,962 | Today my father and I bathed my cat. He's going to be 1 year old in a couple months and this afternoon we noticed that his back (the entire back half of his body) started twitching. Sometimes the spasms are light, but sometimes they are so strong that it looks like he's going to explode.
I am familiar with feline hype... | 2018/03/19 | [
"https://pets.stackexchange.com/questions/19962",
"https://pets.stackexchange.com",
"https://pets.stackexchange.com/users/11759/"
] | The only answer is to TAKE IT TO THE VET RIGHT NOW. This sounds dangerous so you need to GO TO THE VET NOW.
Nobody on the internet can tell you for sure what is wrong. A vet needs to examine your cat to treat it GO TO THE VET.
Your cats life is in your hands, so please, TAKE IT TO THE VET. | She could be very cold. Try putting her under blankets or something. If that does not fix it head to the vet. |
19,962 | Today my father and I bathed my cat. He's going to be 1 year old in a couple months and this afternoon we noticed that his back (the entire back half of his body) started twitching. Sometimes the spasms are light, but sometimes they are so strong that it looks like he's going to explode.
I am familiar with feline hype... | 2018/03/19 | [
"https://pets.stackexchange.com/questions/19962",
"https://pets.stackexchange.com",
"https://pets.stackexchange.com/users/11759/"
] | to anyone wondering what it was, it turned out to be the shampoo we were using on him, it didn't react well, once we stopped using it, it never happened again. Sadly he's not with us anymore but he survived many things. | She could be very cold. Try putting her under blankets or something. If that does not fix it head to the vet. |
19,962 | Today my father and I bathed my cat. He's going to be 1 year old in a couple months and this afternoon we noticed that his back (the entire back half of his body) started twitching. Sometimes the spasms are light, but sometimes they are so strong that it looks like he's going to explode.
I am familiar with feline hype... | 2018/03/19 | [
"https://pets.stackexchange.com/questions/19962",
"https://pets.stackexchange.com",
"https://pets.stackexchange.com/users/11759/"
] | The only answer is to TAKE IT TO THE VET RIGHT NOW. This sounds dangerous so you need to GO TO THE VET NOW.
Nobody on the internet can tell you for sure what is wrong. A vet needs to examine your cat to treat it GO TO THE VET.
Your cats life is in your hands, so please, TAKE IT TO THE VET. | to anyone wondering what it was, it turned out to be the shampoo we were using on him, it didn't react well, once we stopped using it, it never happened again. Sadly he's not with us anymore but he survived many things. |
54,533 | If just considering the basic functionality of a switch, can I say that 2 devices connected (via ethernet cable) to a switch, is functionally equivalent to having those 2 devices directly connected to each other via ethernet cable? | 2018/11/08 | [
"https://networkengineering.stackexchange.com/questions/54533",
"https://networkengineering.stackexchange.com",
"https://networkengineering.stackexchange.com/users/51615/"
] | Practically, yes.
It's a layer-2 connection though, so it depends on what *exactly* you're asking about. Some frames don't cross switched connections (depending on the switch) like BPDUs and LLDP frames.
Technically, the layer-1 link ends on the switch and the 2nd device is connected by another L1 link. The switch in... | When a switch receives an ethernet frame, it looks at its mac address table to figure out out of which interface it need to send it to its destination. If two devices are connected directly then no such operations are involved.
Also your switch may be connected to a router and your devices maybe using that router as ... |
6,762,193 | Rather than going down the Silverlight/WPF route, i'd like to build my (single-user) application in HTML5 with MVC3 as the backend. Is this possible? Is it possible or practical to use this for a standalone desktop application?
I could set it up in IIS and off I go, but that's not the idea - its not portable, requires... | 2011/07/20 | [
"https://Stackoverflow.com/questions/6762193",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/289442/"
] | I have experimented with a standalone in-process .Net based web server that has the ability to host MVC apps - its certainly possible and you could use such a web server in a standalone application either in conjunction with a web browser control in a Windows application, or just with a normal browser similar to the wa... | The first option that comes to mind is to use [IIS Express](http://learn.iis.net/page.aspx/868/iis-express-overview/), which is basically a little IIS you can carry around in your pocket. I don't know what the installation story would be for your app in this case, though (whether you would have to install IIS Express, ... |
15,599 | I was in Northern Italy, and made some pictures there (with emphasis on sentimental value, not trying to do big art). Something I noticed both in real life and on the pictures is that the blue haze of the air was especially strong there, leading to washed-out pictures. Now I want to get the best out of my pictures. How... | 2011/09/11 | [
"https://photo.stackexchange.com/questions/15599",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/2099/"
] | I usually use this technique for pictures taken through windows, but I think it works here, too. In GIMP, I go to Colors | Curves and change the slope of the curve to use all of the available color information:

I like to set the new start/end points ... | Photoshop also comes with a feature called "Auto Levels". Applying first "Auto Levels" and then "Auto Color" works 95% of time for me in cases like this.
If this fails, then the manual levels/curves adjustment instructed by others will come handy. |
15,599 | I was in Northern Italy, and made some pictures there (with emphasis on sentimental value, not trying to do big art). Something I noticed both in real life and on the pictures is that the blue haze of the air was especially strong there, leading to washed-out pictures. Now I want to get the best out of my pictures. How... | 2011/09/11 | [
"https://photo.stackexchange.com/questions/15599",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/2099/"
] | The other way to do this is with levels. In Photoshop, you add a levels adjustment layer (it will be similar in GIMP) and then, in each channel (red, green, and blue) you pull both ends in to where the histogram starts for each respective end. For example:
. Something I noticed both in real life and on the pictures is that the blue haze of the air was especially strong there, leading to washed-out pictures. Now I want to get the best out of my pictures. How... | 2011/09/11 | [
"https://photo.stackexchange.com/questions/15599",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/2099/"
] | I usually use this technique for pictures taken through windows, but I think it works here, too. In GIMP, I go to Colors | Curves and change the slope of the curve to use all of the available color information:

I like to set the new start/end points ... | UPDATE: After having more time to look at this, i've added a variant at the bottom.
Personally, i like add an HDR Toning or similar step to the process; not strictly for the blue haze, but it seems to bring out details better when lost in haze. This assumes the photo makes it easy or possible to compensate for typical... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.