I've often heard this kind of sentence where one substitutes the conjunction "like" for "as".  Is it acceptable in written English?  Is it considered wrong in spoken English?
I know that like is a preposition but why not using it as conjunction?  Examples:        It's as if I'm walking on air   It's like I'm walking on air      What is the difference?
How to install Hp laser jet 1020 plus printer? Hibernate JPA Sequence (non-Id) Is it possible to use a DB sequence for some column that is not the identifier/is not part of a composite identifier?   I'm using hibernate as jpa provider, and I have a table that has some columns that are generated values (using a sequence), although they are not part of the identifier.  What I want is to use a sequence to create a new value for an entity, where the column for the sequence is NOT (part of) the primary key:  @Entity @Table(name = "MyTable") public class MyEntity {      //...     @Id //... etc     public Long getId() {         return id;     }     //note NO @Id here! but this doesn't work...     @GeneratedValue(strategy = GenerationType.AUTO, generator = "myGen")     @SequenceGenerator(name = "myGen", sequenceName = "MY_SEQUENCE")     @Column(name = "SEQ_VAL", unique = false, nullable = false, insertable = true, updatable = true)     public Long getMySequencedValue(){       return myVal;     }  }   Then when I do this:  em.persist(new MyEntity());   the id will be generated, but the mySequenceVal property will be also generated by my JPA provider.  Just to make things clear: I want Hibernate to generate the value for the mySequencedValue property. I know Hibernate can handle database-generated values, but I don't want to use a trigger or any other thing other than Hibernate itself to generate the value for my property. If Hibernate can generate values for primary keys, why can't it generate for a simple property? Show images related to features in QGIS? Say for example, if there's a point data with old trees, then when you use the identify tool, you can see the photograph of the tree  Or even one level further, the labels displaying these images right away without any clicking needed  I believe the term is file streaming? If there is only the Macbook 12 inch USB-C charger nearby, can it be used to charge other USB-C devices, such as any Android phones that also use USB-C? (will it be "too powerful" and damage other devices?)  Vice versa, if there is a Quick Charge 2.0 or 3.0 USB-C charger from other devices nearby, can it be used to charge the Macbook 12 inch?  The main concern is about whether it could damage the device or battery. Best practices for catching and re-throwing .NET exceptions Is there a way to take a mesh, cut it with seams or sharp edges and flatten it, so that the faces stay the same shape and size?  Making paper models is one aspect, where you could use that technique.  No, I'm afraid SZ0Return is not going to do it properly.  And misusing the UV-unwrap is only a last option.    Note, while it's an option to revert to Blender 2.49 which had a script to do this, I'd like a solution that I can use inside the current workspace. I want to write a function in Python that returns different fixed values based on the value of an input index.    In other languages I would use a switch or case statement, but Python does not appear to have a switch statement.  What are the recommended Python solutions in this scenario? Path connectedness of the set $\{(x,y):(x+1)^{2}+y^{2}\leq 1\}\cup\{(x,y):y=x\sin(\frac{1}{x}),x>0\}$ Let $A$ be the following subset of $\mathbb{R}^{2}$:$$A=\{(x,y):(x+1)^{2}+y^{2}\leq 1\}\cup\{(x,y):y=x\sin(\frac{1}{x}),x&gt;0\}$$ Then  $1.$ $A$ is connected.  $2.$ $A$ is compact.  $3.$ $A$ is path connected.  $4.$ $A$ is bounded.  It is clear that $A$ is unbounded as the graph of $x\sin(\frac{1}{x})$, so option $2$nd and $4$th are not correct. Again $A$ is connected by using the fact that closure of connected set is connected. But i am confused about path connectedness of $A$. Please help me about path connectedness of $A.$ Thanking you. I've been messing around with Unity and broke something, how do I "start over"? onConfigurationChanged not getting called How can I translate CMYK to Pantone colors? In particular, how do I translate CMYK 90C 85M 80Y 63K to a Pantone color? Cannot dismiss scrollbar in code box, blocks view This question is a duplicate of  (but this question can't be marked as a duplicate because that question is on meta.stackoverflow.com, and this question is on meta.stackexchange.com).  I'm seeing a bug on stackoverflow.com. I'm not sure if the culprit is Stack Overflow, Google Chrome, or macOS.  (Below I refer to a "code box". By that I mean some text that begins with 4 spaces when editing a question or answer.)  When I hover over a code box that contains one long line of code, a horizontal scrollbar appears. When I stop hovering over the code box, very frequently (maybe 3 out of 4 times) the scrollbar does not disappear. Clicking elsewhere on the page also does not dismiss the scrollbar. The only way to dismiss it is to refresh the page.  ...After experimenting more, it appears to always happen if I enter the box from below, but not always when I enter from above. It seems to be triggered by hovering over the lower half of the box.  Also if I enter from the top and scroll to the right, then until I refresh the page again that scrollbox will behave normally (only show a scrollbar when scrolling, and disappear after). In that case the scrollbar also has a different appearance, being much less tall (maybe a quarter of the height of the code box rather than half as tall).  Further, if I get a box and scrollbar into that functional state and then hover over the lower part of the box for a bit, then sometimes eventually it will break and stay broken until refresh again.  And in any case hovering over the lower part of the box causes the scrollbar to get taller.  Here is a screenshot of the issue:        Google Chrome 71.0.3578.98 (Official Build) (64-bit)  macOS High Sierra 10.13.6  Here is a code box that repros the issue for me:  fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo   Here is another:  foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo I am interested in displaying some things (e.g.: title page) in full color on screen, while having the same object/page display in a black and white friendly form when printed.  According to , there is built-in functionality in the PDF specification for Screen-Only objects and Screen-And-Print objects.  There may also be a way to add a layer on top of the B&amp;W page that only displays the full color page on screen via the PDF 1.5 Optional Content Groups feature.  Similarly,  demonstrates the selective printing of text via ocg-p.  But it is not clear how I can use this package in the way that I need to.  My scenario is compounded by the fact that my color page text is white on a dark background.  MWE:  This code presents the way I am currently switching back and forth between color and b&amp;w.  I change the printincolor bool variable to make the change.  \documentclass[11pt]{article}  \usepackage[demo]{graphicx} \usepackage{etoolbox}  \providebool{printincolor} % Will set color title page and section headings \setbool{printincolor}{false}  % Setup color if needed \ifbool{printincolor}{% \usepackage[pagecolor=none]{pagecolor}% \definecolor{MyBlue}{HTML}{1b3667}% \usepackage{afterpage}}{}  \begin{document}  % Begin Title Page {  \thispagestyle{empty}   \ifbool{printincolor}{%   \pagecolor{MyBlue}%   \afterpage{\nopagecolor}}{}   \begin{center}   {\ifbool{printincolor}{\color{white}\sffamily}{\sffamily}%  Set text color white or leave [default] black   \ifbool{printincolor}{\includegraphics[width=1.5in]{logo-gold}}{\includegraphics{logo-blue}}% put logo gold or blue   \\ \vskip 1in   \begin{huge}         \textbf{Title}         \vskip 0.1ex\rule{0.5\textwidth}{0.8pt}\vskip 1ex         Subtitle         \\         \end{huge}   \vfill\vfill   \begin{large}    Authors:\\   John Doe and Jane Doe\\   \end{large}   }   \end{center} }  \end{document}   How can I layer (or otherwise display) two versions of the title page in a way that color displays on screen, but black and white is printed? Is the Higgs boson an elementary particle? If so, why does it decay? The  is an excitation of the Higgs field and is very massive and short lived. It also interacts with the Higgs field and thus is able to experience mass.   Why does it decay if it is supposed to be an elementary particle according to the standard model? Why is the derivative of a circle's area its perimeter (and similarly for spheres)? Evaluate  $$\int\frac{e^xdx}{(e^{2x}-1)(e^x+1)}$$  I tried to decompose the integrand into A and B partial fractions.  No success. Mock vs MagicMock Remove line containing certain string and the following line Prove that $\left| f'(x)\right| \leq \sqrt{2AC}$ using integration Suppose that $f(x)$ is a $C^2$ function on $\mathbb{R}$ such that $\left| f(x) \right| \leq A$ and $\left| f''(x) \right| \leq C $ for $x \in \mathbb{R}$. Prove that $\left| f'(x)\right| \leq \sqrt{2AC}$. Is Innate Spellcasting counterspellable? On p.85 of Xanathar’s Guide to Everything, there’s a section clarifying that you need to perceive a spell being cast (by either a verbal, somatic or material component) in order to counterspell it.  It then goes on saying this :     If the need for a spell’s components has been removed by a special ability, such as the sorcerer’s Subtle Spell feature or the Innate Spellcasting trait possessed by many creatures, the casting of the spell is imperceptible.   The thing is that many monsters’ Innate spellcasting specify that only material components are discarded (not verbal or somatic). So I am not sure whether you can actually counterspell innate spellcasting when the stat block only mentions removing material components.  There seems to be  supporting that such spells could be counterspelled (although it is confusing a bit).  It basically comes down to whether the above quote’s “many creatures” refers to all creatures with innate spellcasting, or only those that forgo all spell components to innanely cast. So, which is it ?