VirtualMini

Everything in the world !

Stack Exchange

Latest news from Stack Exchange with daily update to provide the family news, health news, online news, world news, sports news, video news, food news, national news, politics news and many more from Stack Exchange.



my intended position means a colleague's job disappears, should i give him a heads-up?

i'm wondering if i'm being loyal enough and how much of a heads up i should give a colleague whose job will disappear.my place of work has been reorganising, and one of the consequences is the previously existing datawarehouse has disappeared. my co-worker whose main responsibility was managing this datawarehouse seems to be expecting he will do something similar when we get a replacement for the datawarehouse.however, i know that under the intended new setup, providing the business with insight will entail more responsibilities than just database administration. i know this because i was asked to apply for the new function (and i intend to apply).should i tell him? how should i tell him and what? to clarify: my intention is to help him. i know something he does not and it concerns h...





geometry - find r such that the man covers shortest distance.

refer to gimusi's drawing:let a' be the reflection of a with respect to the given line. if a',b,c are collinear then length ac + length cb is shortest.proof:line a'b intersects the given line at c.choose any other path from a to b, i.e a point d $\not =$ c.consider the $\triangle$ a'db .the sum of 2 sides of a triangle is greater than the third side.hence: length a'd + length db $\gt$ length a'b, or, since length a'd = length ad , and length a'b = length ac + length cb, we have:length ad + length db >length ac + length cb.





ct.category theory - are categories of fibrant objects idempotent complete?

if the associated $\infty$-category $c$ is stable, one may consider all possible verdier quotients, each of which would define a new structure of category of fibrant objects. the fact that all these verdier quotients are idempotent-complete is equivalent to the vanishing of $k$-theory of $c$ in degree $-1$. therefore, whenever you start from a singular algebraic variety of positive dimension, some verdier quotient of the category of perfect complexes on the given variety $x$ gives an example of a category of fibrant objects which is idempotent-complete (as it consists of bounded complexes of vector bundles) but whose localization is not idempotent-complete, because $k_{-1}(x)$ is not zero. this means that, even if the underlying category is very nice, essentially anything may happen, unle...





chaos in musician's program - rebus

don't have the answer but i have some suggestions i think pronouncing #=sharp would be too easy, maybe "hash" instead, that would be dash[], i think of "dashboard" but i don't see why []=board. then i thought about something else, you say he uses a keyboard but not a piano keyboard, maybe a computer keyboard. in this case [] is the syntax for an array in some programming languages but i can't get anything in that direction :( édit also d# is equivalent to eflat (eb), maybe search in that direction. in europe d is ré and e is mi (maybe it is only true for "latin" country though). i found out that mib is something related to networks, it seems there're 2 types of objects in mib hierarchy: scalar and tabular, that would stick with the array





world war two - when planning barbarossa, did germany conceive of the soviet migration of heavy industry?

indeed, the germans rested their planning on the almost outlandish ideas of ideology, resulting overconfident optimism and not on facts they knew, ought to know or could have known. concerning industry, capability, manpower and organisation, all estimates were way off the mark. the germans charged general thomas with the economic planning of the to be expected consequences of operation barbarossa. the second study called for by hitler proposed answers of an economic kind which general thomas as head of the war economy and armaments department was charged to answer.[…]thomas thus delivered a report lavish in discussion of the long-term economic benefits to be derived from occupying the soviet union and entirely dismissive of contradictory evidence previously produced as well as the dubiou...





code golf - given a number, print out its "collective sum"

given a number as input, print out its collective sumwhat is a collective sum?consider the number 13214, the inputlooping through each of the digits starting from the left, we will be able to obtain its collective sum.1 means look at the first digit, and add it to the sum, sum = 13 means look at the "first 3 digits" and add it to the sum, sum = 1 + 1322 means look at the "first 2 digits" and add it to the sum, sum = 1 + 132 + 131 means look at the first digit, and add it to the sum, sum = 1 + 132 + 13 + 14 means look at the "first 4 digits" and add it to the sum, sum = 1 + 132 + 13 + 1 + 1321total sum = 1468 and this is your outputspecial cases:if we encounter a 0, then clearly we keep the sum the samethe number 1301 would have a sum = 1 + 130 + 1 = 132 if we encounter a number th...





a new hope - why does the death star have a trash compactor?

the death star is 160 km across, or 80 km radius. it is a mixture of air and metal and other substances.if we assume it is roughly as dense as water (as it looks roughly as dense as a ocean going ship, which is roughly as dense as water), it weighs roughly 2 * 10^18 kg. (if it was solid iron it would be only 8x denser, so this probably isn't off by more than an order of magnitude)earth weighs 6 * 10^24 kg and has a roughly 6400 km radius.thus the death star has a surface gravity of (1/3 * 10^-6)/(80 km / 6400 km)^2, or 0.2% of earth's gravity. that isn't bad. but it has an escape velocity of roughly 60 meters/second (or 220 km/h or 140 miles/hour).so if you throw a baseball out into the vacuum, it will fall back and land somewhere else on the death star, even if you are a professional p...





interviewing - should i tell the interviewee i'll be leaving the company?

a point that hasn't been addressed is the size of the company (or team or whatever). how important you are to the decision to join the company will depend on just how many people there are working there and your place in the team. it may not be enough that you aren't working with them directly - in a small firm that's not such a clear distinction.in other words your "weight" is stronger the smaller the company or team is.why does this matter? well, your company may not want you to reveal that you are leaving, but if you are an important part of a decision for the candidate joining, not telling the interviewee about it is bad industrial relations. it may end up with an unhappy employee in the future, or someone leaving early. all bad, not just for the interviewee but for the company - ...





world war two - when planning barbarossa, did germany conceive of the soviet migration of heavy industry?

i'm wondering if hitler or others conceived of this possibility when they were planning barbarossa?(note: much of this is derived from wikipedia, i don't have the referenced sources.)it seems they conceived the opposite. they were so confident the soviet army would be unable to function without their supplies from european russia that they would stand their ground and fight. the battle would be over before winter 1941 and the invasion would end at the urals.the operational goal of barbarossa was to reach the ural mountains and form a new frontier there, the a-a line from arkhangelsk through gorky to rostov. this would cut off most of the soviet's industrial, food, and oil production, and give a clear geographical defense line. arkhangelsk was used to supply the whites in wwi; with it se...





are we doing something horribly wrong security-wise? is there a better way to handle passwords?

if you need to log into a foreign account of someone else, you need his username and password. there's no way around that. you can't hash or encrypt1 them, you need the plain values.of course that's a nightmare, as the users need to disclose their credentials to you. they trust that you're not abusing them. assuming that you are not intentionally abusing them (like selling them on the black market as a part of your business model), you need to prevent leakage. that includes data breaches in your infrastructure or database admins being able to access them. so the best practice here would to not store them at all. your companies business is to help the user with filling out forms, not providing a password manager service. to "make it easier for [the users] to remember" their credential...





family - how to convey who will be asked to join my wife and me in the delivery room without causing offense?

first of all, this is your decision. some women want everyone possible in the room with them; others don't want the mob. it's intensely personal and there's a lot going on.some mothers really want to be there; others don't. so part of this involves both potential grandmothers' reaction. it's also a rule in ob-gyn circles that all babies are born at 5 am, so there's the time factor to think about if you're not going with induced labor/c-section. that said, keep the first sentence in mind. you make the decision, and you are the ones to call and say "it's time". i'd first ask what the moms' feelings are. that will have some impact on this. if they don't want to be there, and you don't want them there, then it's easy. "we'll call you when the baby's here". if they want to b...





code golf - given a number, print out its "collective sum"

given a number as input, print out its collective sumwhat is a collective sum?consider the number 13214, the inputlooping through each of the digits starting from the left, we will be able to obtain its collective sum.1 means look at the first digit, and add it to the sum, sum = 13 means look at the "first 3 digits" and add it to the sum, sum = 1 + 1322 means look at the "first 2 digits" and add it to the sum, sum = 1 + 132 + 131 means look at the first digit, and add it to the sum, sum = 1 + 132 + 13 + 14 means look at the "first 4 digits" and add it to the sum, sum = 1 + 132 + 13 + 1 + 1321total sum = 1468 and this is your outputspecial cases:if we encounter a 0, then clearly we keep the sum the samethe number 1301 would have a sum = 1 + 130 + 1 = 132 if we encounter a number th...





dnd 5e - can you wear slippers under your boots?

'common sense', in this case, means whatever makes sense to you. people don't ordinarily agree on the truth of 'common sense' cases, they are just likely to act belligerently or incredulously towards those who disagree on the matter. when the rules say you should 'use common sense to...', they mean you should make it up according to what seems right to you, and then treat it like objective fact. assuming you are the dm, if you think it's reasonable for a character to wear slippers under other footwear, then that's what's reasonable in your game world. if someone else thinks it should be impossible to wear two foot coverings at once, because 'it's just silly', and they're dming, then that's what's true in their game world. the rule you quote is designed to explicitly move aw...





code golf - quickly regrouping lists

grouping takes a list and splits it into new lists of equal adjacent elements. for example[1,1,2,1,1] -> [[1,1],[2],[1,1]] if you then take the length of these groups you get a new list of integers[1,1,2,1,1] -> [2,1,2] your task is to write a program that takes a list of positive integers and find the number of times you can group and length it before the resulting list has a single element. for example the list [1,2,3,3,2,1] can be regrouped 4 times[1,2,3,3,2,1] [1,1,2,1,1] [2,1,2] [1,1,1] [3] this is code-golf so answers will be scored in bytes with fewer bytes being better.[1,2,3,3,2,1] -> 4 [1,2,3,4,5,6,7] -> 2 [1,1,1,1,1,1] -> 1 [2] -> 0 [1,2,4] -> 2 [1,2,2,1,1,2] -> 4 [1,2,2,1,1,2,1,2,2] -> 5 [1] -> 0





how to write a 'fish out of water' character?

i believe the best option would be to look at real life 'fish out of the water'. in real life, there are two main reasons for being such a fish, imo. 1. lack of interesti'm not particularly old, but i sometimes feel completely out of my depth while talking to my students about some topics. for some of those topics, i'll make an effort and learn about them, but for others i simply don't bother. when my students talk about these or those youtubers, i have a general idea who/what they are, but the details mean nothing to me. hip-hop or reality tv shows are two other points i'm not interested in, and so i have no idea who does what where or when, and why it is considered funny (sorry, guys, but watching a youtuber teach you how to open a door is not hilarious in my world). my lack of int...





i am a citizen of three countries. i am going to travel to not two but all three countries. how do i book the tickets, on which passports?

this answer assumes that each of the countries allows you to be a citizen of the other two countries, and that your name is the same in all three passports.it doesn't usually matter what passport you give the airline when you book the ticket. you can generally check in for different flights on the same ticket using different passports.each time you check in, show the passport of the country where you will arrive at the end of that trip, even if that's not the passport you used to enter the country you're leaving. if you are using another passport for visa-free transit, or if you used another passport to enter the country you're leaving, show the relevant passport to the airline if they ask about it. if the agent looks concerned, you can offer to show the passport without waiting for a ...





interviewing - should i tell the interviewee i'll be leaving the company?

as part of my job, i interview several candidates for various positions every week. i've already handed in my notice and i'm currently working my notice period.one big factor for people when deciding to join (or not to join) a company is the people, and that especially includes the interviewers. it has happened to me that someone i interviewed joined the company and i left shortly after that, leading that person to quit as well, given that i was one of the reasons for him/her to join the company. this is more expensive than the candidate deciding not to accept the offer at all. at the same time, i believe teams should be as transparent and honest as possible, without harming their business, of course.should i let the interviewee know that i'm leaving the company? this would be done i...





code golf - there are two new sheriffs in town – identifying djmcmego pairs!

base ten abuse incoming...!ạµṣi;iṡ$ṣḅ‘ a dyadic link, accepting equal length lists of integers (all in [0,9]) as each of its left and right arguments, which returns:zero (falsy in jelly) if they are a djmcmego pairnon-zero (truthy in jelly) if they are not a djmcmego pairtry it online!...or see the test-suite (the footer parses the input; employs ternary if, ?, to convert to djmcmego and nah for each case; and formats the output)how?given two lists each of n(>=4) digits (all are necessarily in [0,9])...first finds the list of absolute differences (all also necessarily in [0,9]);then calculates a, the n-1 deltas between the sorted elements...note (a) all of these are necessarily in [0,9] with a total sum of at most 9;then calculates b, the signs of n-1 deltas between the ele...





family - how to convey who will be asked to join my wife and i in the delivery room without causing offense?

first of all, this is your decision. some women want everyone possible in the room with them; others don't want the mob. it's intensely personal and there's a lot going on.some mothers really want to be there; others don't. so part of this involves both potential grandmothers' reaction. it's also a rule in ob-gyn circles that all babies are born at 5 am, so there's the time factor to think about if you're not going with induced labor/c-section. that said, keep the first sentence in mind. you make the decision, and you are the ones to call and say "it's time". i'd first ask what the moms' feelings are. that will have some impact on this. if they don't want to be there, and you don't want them there, then it's easy. "we'll call you when the baby's here". if they want to b...





dnd 5e - how can i recover a missing body part without using wish?

it is on the bard, cleric, and druid spell lists. you can also use a wish to duplicate this spell without needing to worry about it going badly (evil genie does not apply when duplicating spells up to 8th level).one of the effects of the spell is:the target’s severed body members (fingers, legs, tails, and so on), if any, are restored after 2 minutes. if you have the severed part and hold it to the stump, the spell instantaneously causes the limb to knit to the stump.emphasis addedthere is also a magical item that could help. the ring of regeneration (dmg 191) is very rare (and requires attunement). one effect of the ring, is that you can regrow missing body parts after 1d6+1 days if you have at least 1 hp for that whole time. so dropping to 0 at all would reset the timer.