c++ convert std::wstring to std:string
How to convert wstring into string?
Kuratowski-Zorn Lemma with pre-order (quasi-order, proset) instead poset? What would happen if we would use pre-order (there is no weak-antisymmetry, only reflexivity and transitivity) in  Kuratowski-Zorn Lemma instead of partial order?      Suppose that we have set P which is preordered and  has the property   that every chain (i.e. totally ordered subset) has an upper bound in   P. Then the set P contains at least one maximal element.   Is this statement true in ZFC? If not, what can we postulate to make it true? I think it can be false, or at least we need to postulate something more (or not?), but I am just missing something and don't see it.  P.S.      I wanted to put tags with combination of words like: Kuratowski Zorn Lemma Pre-order Proset, but it seems that none of them exist and I need to have 300+ reputation to create new ones, thus I only typed (set-theory) :( If someone with bigger reputation could make this topics' tags more precise, I would be grateful :) Can I use a Thunderbolt display for a macbook pro with a mini display port? Shape of confidence interval for predicted values in linear regression $\int_{0}^{\infty}\frac{\sin^{2n+1}(x)}{x} \mathrm {d}x$ Evaluate Integral How to evaluate potential advisers on grounds other than their research/publications? While accepting an offer to grad school, one is basically entering into a lasting relationship with one's adviser - most likely, someone whom the applicant has never met before, and the only exposure has been through the potential adviser's website/publications. It is in the interest of both parties to ensure (to the greatest possible extent) that there are no personal/professional traits of either that hamper the formation of a pleasant working relationship - no-one would want to go through the ordeal of having to change advisers midway!  While the faculty has a chance to have a good look at the applicant's profile as well as his motivations (through his grades and SOP), the applicant doesn't have a similar opportunity. So, I'm interested to know what parameters can be used to gauge a potential fit. I've thought of the following:   Past students:  Did anyone ever drop out/change advisers midway, and if so, for what reasons? These would be a bit hard to find though, as I don't expect the faculty concerned would list them on their website. It would be great if anyone could let me know how to find out the list of incoming students to a department for any year. Publication rate, taking into account the venues where they were accepted. Time taken to graduate - though I accept this is more dependent on the student, a median figure should be telling ... What they did post Ph.D. - did anyone get tenure if they went into academia, or is almost everyone unable to break out of being a post-doc?  Tenure status: I'm a bit unsure about this, so wanted the community's opinions about it. Just so that I'm clear, I'm only trying to calibrate the applicant's expectations about the working style of his potential adviser - and hence need to know to what extent are the following "typical" assumptions valid.  Tenured professor  A full professor is more likely to get grant funding, hence less time spent on TAship - but could also mean less time/effort spent on interactions with students (either being busy with other projects/talks, or due to more commitments to family at that age).  Tenure-track faculty (Assistant profs)  More likely to be young and energetic, and could translate to more time spent on one-to-one discussions with grad students - but funding may prove to be an issue, and may have to be on TA for a longer period.   What other factors would be relevant in this matter, and to what extent am I correct/incorrect in either the factors considered, or for undertaking this exercise at all? Destroy chunked block like Minecraft butt, bottom, buttock and ass? A woman's butt was allegedly touched by a man several times during a commute on the MRT.   How to use butt, bottom, buttock and ass? I am confusing with these words. Why should I use the keyword "final" on a method parameter in Java? I can't understand where the final keyword is really handy when it is used on method parameters.    If we exclude the usage of anonymous classes, readability and intent declaration then it seems almost worthless to me.   Enforcing that some data remains constant is not as strong as it seems.    If the parameter is a primitive then it will have no effect since the parameter is passed to the method as a value and changing it will have no effect outside the scope.  If we are passing a parameter by reference, then the reference itself is a local variable and if the reference is changed from within the method, that would not have any effect from outside of the method scope.    Consider the simple test example below. This test passes although the method changed the value of the reference given to it, it has no effect.  public void testNullify() {     Collection&lt;Integer&gt; c  = new ArrayList&lt;Integer&gt;();           nullify(c);     assertNotNull(c);            final Collection&lt;Integer&gt; c1 = c;     assertTrue(c1.equals(c));     change(c);     assertTrue(c1.equals(c)); }  private void change(Collection&lt;Integer&gt; c) {     c = new ArrayList&lt;Integer&gt;(); }  public void nullify(Collection&lt;?&gt; t) {     t = null; } I'm trying to find the name of a lower-budget science fiction film that was available for viewing on demands on MIT student cable in the late 1990s.  I suspect the film was made earlier in that decade, and it definitely seemed to have been influenced by RoboCop.  The plot involves characters is a somewhat dystopian near future.  One of the characters (named Hawkins, I think) is initially in a wheelchair, and that is interfering with his relationship with the woman he loves.  (He watches virtual reality simulations of himself having sex with her when he's alone at home.)  Maybe halfway through the movie, he decides there's no hope for their relationship, so he lets the bad guys turn him into a RoboCop-like cyborg.  I think he ends up fighting the other main characters, but I don't remember how the movie ends.  The film was clearly shot cheaply but competently.  The color palette was rather drab, I think, and there were few indoor sets.  It's possible that the film never got a normal release of any kind, since I don't know where the students at MIT cable got ahold of it.  So does anybody know what this film was? I need to reset my password. I have followed these steps:    However, then I go to "root" or "netroot" recovery options, it tells me:  Give root password for maintenance (or type Control-D to continue)   Clearly, I do not know the root password. If I type CTRL+D, I return to the list of options. From  I read:  Under chapter 'The Other Way':  4. Highlight the line that begins kernel and press 'e' to edit`   But in the grub configuration file I have no line that starts with kernel. Only:  setparams 'Ubuntu...' recordfail set gxfpayload... insmod part_msdos insmod ext2 set root=... search --no-floppy... linux /boot/vmlinuz-2.6.38... initrd /boot/initrd.img-2.6....   Those are all lines in my GRUB. Which line should I edit? Or is there another way to reset my password? How to make left-right transition of overlay image ffmpeg Brand new laptop, two years in storage, will the battery be ok? I have an opportunity to buy a brand new (sealed box) EliteBook 8470p laptop for a good price.  The date of manufacture goes back to around March 2013, which is bang on two years ago.  Given that it's been two years, what state will the supplied Lithium-Ion battery be in? Still usable? When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many different figures for the total size of my files? Can't computers add?  Speaking of adding: when I add the “Used” and “Available” columns of df, I don't get the total figure. And that total figure is smaller than the size of my partition. And if I add up my partition sizes I don't get my disk size! What gives? Can I connect to SQL Server using Windows Authentication from Java EE webapp? Retrieving the last record in each group - MySQL Show that $3p^2=q^2$ implies $3|p$ and $3|q$ When the ball is being bounced by the goalkeeper from his hands and a player steals it without touching the goalkeeper (while the goalkeeper is not touching the ball) and scores, is it legal or not?   shows what I'm talking about. How does the built-in debugger decide what to highlight? latex table border dont appear / to big / to small What are suitable TV sizes and viewing distances for couch surfing on a 1080p LCD HDTV?