Scanner sc - Output number to 2 decimal places
How to round a number to n decimal places in Java
What is a 'multi-part identifier' and why can't it be bound? I continually get these errors when I try to update tables based on another table. I end up rewriting the query, change the order of joins, change some groupings and then it eventually works, but I just don't quite get it.  What is a 'multi-part identifier'? When is a 'multi-part identifier' not able to be bound? What is it being bound to anyway? In what cases will this error occur? What are the best ways to prevent it?    The specific error from SQL Server 2005 is:     The multi-part identifier "..." could not be bound.   Here is an example:  UPDATE  [test].[dbo].[CompanyDetail]  SET Mnemonic = [dbBWKMigration].[dbo].[Company].[MNEMONIC],                 [Company Code] = [dbBWKMigration].[dbo].[Company].[COMPANYCODE]  WHERE [Company Name] = **[dbBWKMigration].[dbo].[Company].[COMPANYNAME]**   The actual error:     Msg 4104, Level 16, State 1, Line 3 The multi-part identifier   "dbBWKMigration.dbo.Company.COMPANYNAME" could not be bound. How does AdamW weight_decay works for L2 regularization? hello I have a question about weight regularization in Adam apparently the weight_decay in the AdamW function  has the same impact as an L2 regularization my questions are: is that parameter the same as lambda that we have in the regularization term?  how does it exactly work? and what is its impact on the model complexity? Given $S \in B(Y^{*}, X^{*})$, does there exist $T\in B(X,Y)$ such that $S=T^{*}$? In  it says that flagged comments can be handled automatically if flagged repeatedly (3 + (score / 3) flags = deletion). Which is great; mods are busy people.  In , the venerable Bill the Lizard says that if all comments on a post are obsolete, you can flag the post (or one of the comments) with a custom flag saying that they're all obsolete, and the mod can remove them with one fell swoop. Problem is, that requires a mod.  What should I do when some of the obsolete comments are mine? I can't flag my own comments, and I don't like raising custom flags if I can avoid it.  You're wondering why I don't just delete them. There are two scenarios where I don't, at least not immediately:   Someone has commented with incorrect information. In that situation, I reply to the comment telling them how they've got it wrong. (Sometimes, of course, they quite correctly reply telling me how I got it wrong, which is neither here nor there&nbsp;&mdash; we still end up with obsolete comments. :-) ) Frequently, they reply saying "you're right" but (near universally) leave the comment lying around. I can (and do) then comment again saying "Let's clean these up" and flag their comments as obsolete. But I can't flag mine. Nor do I want to remove mine while the incorrect comment is still there; it leaves a confusing situation for anyone coming to the post later. Someone has commented with correct information. In that situation, if appropriate (e.g., the post author isn't busily editing at the same time and I know enough to do it properly), I'll edit the comment into the post and reply with "You're right, edited that in." and flag their comment as obsolete. These are rarely removed by the commenter. And again I can't flag mine.   The first scenario is the more problematic, since I can go back 10-20 minutes later and remove my "edited that in" comment and there's no harm if their comment is still there.  I currently bookmark and check back periodically, but that's labor-intensive and I'd like a better way.  Ideally, I'd want to tie my comment to one I've flagged so that it's deleted automatically if the other one is (by flagging, or by the commenter). That's a fair bit of development, though, I'm guessing.  What should I do? Go with a custom flag saying "The conversation between X and me is now obsolete," even though that means dumping it on a mod? Was Yoda wrong about the limits of telekinesis? In Empire Strikes Back, Yoda  that an object's size doesn't matter and that the difficulty of levitating an X-Wing was only in his mind. If the upper limits of telekinesis are determined by belief, what's to stop a Jedi/Sith from pulling a moon out of orbit, moving an entire solar system, or splitting an atom with the Force? Some fields like Economics and Maths have their work in progress published as "working papers" with notes like "work in progress, do not cite or quote without the author's permission."Sometimes they upload these to their own websites or to their universities websites. I don't see much of this going on in my own field (sociology). I have heard from people that are afraid of having their work scooped or that fear that work published in this way will not be considered as "unpublished" by journals and conferences.  What are the advantages of making work in progress available in this way? How to find out what's accessing a particular hard drive on Windows? Possible Duplicate:          My HDD on a dock just started making noises like it's being accessed but I don't see any program accessing it.  Is there a program that shows which HDD is accessed by which program in percentages similar to how the task manager shows which programs use the most CPU? I'm getting an error in WSL while trying to use .  I followed all the install steps successfully on Windows 10 x64 using the steps at , then Ubuntu for Windows with GitHub desktop .  But I'm blocked at the latest steps.  It's where I trying to download or train the model in Windows. Using for example the Ubuntu Linux prompt, I navigate manually to the appropriate place and type a following command like the one below (I also tried in su mode)  bash pretrained_models/download_pix2pix_model.sh facades_label2photo   I get an immediate error, always the same, similar to these:  root@Azure:/mnt/c/Users/vincent/Downloads/vision/pytorch-CycleGAN-and-pix2pix# bash pretrained_models/download_pix2pix_model.sh facades_label2photo pretrained_models/download_pix2pix_model.sh: line 2: $'\r': command not found Note: available models are edges2shoes, sat2map, and facades_label2photo pretrained_models/download_pix2pix_model.sh: line 4: $'\r': command not found ]pecified [facades_label2photo pretrained_models/download_pix2pix_model.sh: line 6: $'\r': command not found mkdir: cannot create directory ‘./checkpoints/facades_label2photo\r_pretrained\r’: No such file or directory pretrained_models/download_pix2pix_model.sh: line 10: $'\r': command not found WARNING: timestamping does nothing in combination with -O. See the manual for details.  : No such file or directoryhphoto pretrained_models/download_pix2pix_model.sh: line 12: $'\r': command not found pretrained_models/download_pix2pix_model.sh: line 13: $'\r': command not found   Any idea? Ok. So I read books as a kid, this may have been mid to late 1980s. Definitely before 1993. These details I remember, they might be from the same book or from several:   Slower than light space travel with severe time dilation. There were boardings of space ships, but the fighting odds could be very uneven because a foe could be from your future or your past, depending on when you started your space journey, because of relativistic time dilation. No faster than light travel, no time travel either. Just regular physics. To fight better in melee, soldiers would have (more or less willingly, I think they knew beforehand) false memories or notions implanted of the enemy as horrible human beings so soldiers could kill them more easily without remorse. Towards the end of the story, veterans of the war are described as not quite feeling at home after the war. One planet (home?) or country is described as inhabited entirely of clones, Adams and Eves, I think homosexual, or that sexuality could be switched deliberately. I think the veterans find at the end a refuge somewhere more like the home they are used to. The reason so much has changed is of course the time dilation. They spent maybe decades in the war, while on the planets centuries or millenia passed. I think one moral (there may be many more I missed as a child) of the story was the futility of war. If I recall correctly, the war was resolved in a way that made the efforts of the veterans seem for nothing. Zero probability and impossibility I read a comment under :     There are plenty of events that can occur that have zero probability.   This reminds me that I have seen similar saying before elsewhere, and have never been able to make sense out of it. So I was wondering    if zero probability and impossibility mean the same? if an event with zero probability doesn't mean that the event is impossible to occur, how probability theory represents/describes impossibility?   Thanks and regards! Looking for a short story about a man who is visiting a planet where you get your position/job through playing a game I read this story 8-15 years ago in German. I'm not sure but I think the book had 2 short, totally different stories in it.  The story was about a man who was sent (I think kinda forced to go) to a planet where he should play a game everyone on that planet plays. I think the goal was to beat their leader and conquer the world like this?  The better you are at the game, the higher is your position in the society. I remember that at the end he was playing against the leader and they had a long back and forth game, but I'm not sure who won.  They played the game on a different planet that had only one stripe of forest around the whole planet and a fire that goes around it. But thats only the location they were playing.  The man was chosen because he was the best player in every game if I remember correctly.  The game was a board like game where you have troops or armies that you move around. It was not an easy game everyone just could play. Changing timezone in PHP Alright, quick question.  A server is running in Eastern Time. PHP program needs to make date calculations using Central time.  At the moment, I am putting this line at the very top of my script:  putenv("TZ=US/Central");   Is that the best way to go about that or is there some PHP trick I'm not aware of?  Cheers. A. These kinds of problem are to be avoided. B. These kind of problems are to be avoided.  Are both A and B grammatical? If not, why not? If so, after having noticed the parallelism between A and C, and between B and D, could we say that C and D are &quot;standard&quot; English, too?  C. These kinds of problem are ones to avoid. D. These kind of problems are ones to avoid. Ubuntu boots on terminal only, how do I recover the GUI desktop? Why does `md5sum` not give the same hash as the Internet does? I want to find the md5 hash of the string "a", but running echo "a" | md5sum gives me another hash than what I get if I search the internet (for example using  or ).  Running echo "a" | md5sum gives me "60b725f10c9c85c70d97880dfe8191b3", but it should be "0cc175b9c0f1b6a831c399e269772661".  If I make a reverse hash lookup for "60b725f10c9c85c70d97880dfe8191b3", I do however get "a". How to install the latest versions of NodeJS and NPM? I noticed over at the  website that node is currently at v 0.12.0.  Can someone let me know how to install the latest version of node together with npm (terminal commands please)? What is the best (or preferred method) of setting a url parameter on a visualforce page embedded on a standard layout page?    This is easy to do when creating a custom link or a button, but I don't get how to do this on page load via the Apex Controller for the page.   When using a custom button you can do something like /apex/MyPageName?parameter=value  Can I use something like this?   ApexPages.currentPage.getParameters().put('Id',myId) What should I look for when buying a used bicycle? I'm moving to a city where I can ride a bicycle to the grocery store, coffee shop etc. I want to purchase a decent used bicycle. I'm leaning towards a bike that's in between a "10-speed" or road-bike and a mountain bike. What should I look for when choosing a particular bike?  I've never purchased a used bicycle. Other than classifieds (e.g., Craigslist), what types of places can I look? What other issues should I consider, such as size, visual appearance, leaking tires, etc.? How can I make sure it's not stolen? I'm currently working on building a predictive model for a binary outcome on a dataset with ~300 variables and 800 observations. I've read much on this site about the problems associated with stepwise regression and why not to use it.  I've been reading into LASSO regression and its ability for feature selection and have been successful in implementing it with the use of the "caret" package and "glmnet".   I am able to extract the coefficient of the model with the optimal lambda and alpha from "caret"; however, I'm unfamiliar with how to interpret the coefficients.    Are the LASSO coefficients interpreted in the same method as logistic regression? Would it be appropriate to use the features selected from LASSO in logistic regression?   EDIT  Interpretation of the coefficients, as in the exponentiated coefficients from the LASSO regression as the log odds for a 1 unit change in the coefficient while holding all other coefficients constant. Is there a name for "the string of characters typed randomly on a keyboard home row"?