gin

Mostly codeless game development: new school game engines / Robert Ciesla

Online Resource




gin

Debugging game history: a critical lexicon / edited by Henry Lowood and Raiford Guins; editorial assistant, A.C. Deger

Hayden Library - GV1469.3.D43 2016




gin

Social, casual and mobile games: the changing gaming landscape / edited by Tama Leaver, Michele Willson

Hayden Library - GV1469.15.S63 2016




gin

Dangerous games: what the moral panic over role-playing games says about play, religion, and imagined worlds / Joseph P. Laycock

Hayden Library - GV1469.6.L395 2015




gin

Pro Java 9 games development: leveraging the JavaFX APIs / Wallace Jackson

Online Resource




gin

Java game development with LibGDX: from beginner to professional / Lee Stemkoski

Online Resource




gin

Multiplayer online games: origins, players, and social dynamics / Guo Freeman

Hayden Library - GV1469.17.S63 F74 2018




gin

Beginning iOS AR Game Development: Developing Augmented Reality Apps with Unity and C# / Allan Fowler

Online Resource




gin

Tabletop role-playing games and the experience of imagined worlds / Nicholas J. Mizer

Dewey Library - GV1469.6.M59 2019




gin

Beginning game programming with Pygame Zero: coding interactive games on Raspberry Pi using Python / Stewart Watkiss

Online Resource




gin

[ASAP] Insight into the Origin of Chiral-Induced Spin Selectivity from a Symmetry Analysis of Electronic Transmission

Journal of Chemical Theory and Computation
DOI: 10.1021/acs.jctc.9b01078




gin

RSS Feeds for Engineers

RSS or news feeds are one way to keep up on whats happening in the industry. Here are some tips to get the most out of them.

RSS Feeds for Engineers




gin

Emerging Social Media Channels & Trends

Social media trends are like friends; they come and go.

However, the best friends and trends end up sticking around and evolving into permanent parts of our lives with qualities such as integrity, dependability, trust, quality and even ROI.

complete article




gin

Emerging Social Media Channels & Trends

Social media trends are like friends; they come and go.

However, the best friends and trends end up sticking around and evolving into permanent parts of our lives with qualities such as integrity, dependability, trust, quality and even ROI.

The bad friends and trendamies need to get weeded out before too much time, and resources get depleted.

complete article




gin

Bengal arranging special trains to bring back 30,000 stranded people: Official




gin

Engineering yolk–shell P-doped NiS2/C spheres via a MOF-template for high-performance sodium-ion batteries

J. Mater. Chem. A, 2020, 8,8612-8619
DOI: 10.1039/D0TA02568B, Paper
Liqin Wang, Zhanli Han, Quanqing Zhao, Xiuyun Yao, Youqi Zhu, Xilan Ma, Shide Wu, Chuanbao Cao
The stable yolk–shell P-doped NiS2/C spheres were successfully fabricated via MOFs template, and first adopted phytic acid as P source. Due to the unique framework and synergistic effect, P-doped NiS2/C sample displayed high sodium storage capacity.
The content of this RSS Feed (c) The Royal Society of Chemistry




gin

Sodium phthalate as an anode material for sodium ion batteries: effect of the bridging carbonyl group

J. Mater. Chem. A, 2020, 8,8469-8475
DOI: 10.1039/D0TA01281E, Paper
Liang-Yu Wang, Chao Ma, Xiao Wei, Baobao Chang, Kai-Xue Wang, Jie-Sheng Chen
The bridging carbonyl group initiates the insertion of sodium ions and activates the ortho-carbonyl functional groups of sodium phthalate.
The content of this RSS Feed (c) The Royal Society of Chemistry




gin

Ferrites: emerging light absorbers for solar water splitting

J. Mater. Chem. A, 2020, Advance Article
DOI: 10.1039/D0TA01554G, Review Article
Jeong Hun Kim, Hyo Eun Kim, Jin Hyun Kim, Jae Sung Lee
Ferrites are promising photoelectrode materials for solar water splitting to produce clean and storable hydrogen energy.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




gin

The Andrée expedition: From the diary of Virginia Woolf / Dominick Argento

MEDIA PhonCD Ar37 song




gin

Dear Evan Hansen: original Broadway cast recording / music and lyrics by Benj Pasek, Justin Paul

MEDIA PhonCD P263 dea




gin

A Bronx tale: original Broadway cast recording / music by Alan Menken ; lyrics by Glenn Slater

MEDIA PhonCD M526 bro




gin

The greatest showman: original motion picture soundtrack / original songs by Benj Pasek & Justin Paul

MEDIA PhonCD P263 gre




gin

The bad-tempered electronic keyboard: 24 preludes and fugues / Anthony Burgess ; Stephane Ginsburgh, keyboard

MEDIA PhonCD B912 bad




gin

Vespro Della Beata vergine / Claudio Monteverdi

MEDIA PhonCD M765 ves h




gin

Proust's duchess: how three celebrated women captured the imagination of fin-de-siècle Paris / Caroline Weber

Browsery PQ2631.R63 Z9818 2018




gin

Asperger's children: the origins of autism in Nazi Vienna / Edith Sheffer

Browsery RJ506.A9 S5257 2018




gin

Food on the move: dining on the legendary railway journeys of the world / edited by Sharon Hudgins

Browsery TF668.F663 2019




gin

Wasteland: the Great War and the origins of modern horror / W. Scott Poole

Browsery PN1995.9.H6 P64 2018




gin

The occasional virgin / Hanan al-Shaykh ; translated from the Arabic by Catherine Cobham

Browsery PJ7862.H356 A2 2018




gin

Black girl baking: wholesome recipes inspired by a soulful upbringing / Jerrelle Guy, founder of Chocolate for Basil

Browsery TX763.G89 2018




gin

Growing Up Aboriginal in Australia / edited by Anita Heiss

Browsery GN666.G76 2018




gin

Hanging out, messing around, and geeking out: kids living and learning with new media / Mizuko Ito, Sonja Baumer, Matteo Bittanti, danah boyd, Rachel Cody, Becky Herr-Stephenson, Heather A. Horst, Patricia G. Lange, Dilan Mahendran, Katynka Z. Martín

Browsery HQ799.2.M352 H36 2019




gin

The new mind readers: what neuroimaging can and cannot reveal about our thoughts / Russell A. Poldrack

Browsery RC349.D52 P65 2018




gin

Negative margins in CSS

I’m writing the Box Model chapter of the new book and came to the point where I had to treat negative margins. To my surprise, I found that there is no systematic treatment of negative margins anywhere. So I had to figure it out for myself. Below is my initial draft of the negative margin section.

The latest specification only says: “Negative values for margin properties are allowed, but there may be implementation-specific limits.” and leaves it at that. Not extremely helpful. MDN is mostly silent as well, and Rachel Andrew’s big overview article doesn’t mention negative margins at all.

That’s odd, especially since negative margins are a very old functionality that I might even have used in my very first CSS test somewhere back in 1998. (Unless I used position: relative; I can’t remember.)

But anyway, here is, apparently, the first-ever systematic treatment of negative margins in simple situations.

Negative margins in CSS

It is possible to give margins a negative value. This allows you to draw the element closer to its top or left neighbour, or draw its right and bottom neighbour closer to it. Also, there is an exception we’ll get to in a minute.

Here is our test element: a simple container with three paragraphs in it. Note that the paragraphs have a width of 250px. This is extremely important, due to the exception we’ll get to in a minute.

First paragraph with a bit of text in it to provide some content.

Second paragraph with a bit of text in it to provide some content.

Third paragraph with a bit of text in it to provide some content.

Negative margin-top and -bottom

To start, let’s give the first paragraph a -15px margin-bottom. Essentially, when the browser calculates the point where the second paragraph should start, it moves that point 15px upward. From then on the browser lays out all paragraphs as normal.

First paragraph with margin-bottom: -15px.

Second paragraph with a bit of text in it to provide some content.

Third paragraph with a bit of text in it to provide some content.

Therefore the second paragraph, being the bottom neighbour of the first one, is draw 15px closer to the first paragraph. The margin between the second and third paragraphs remains intact; the browser calculates it normally. Thus, the rest of the vertical rhythm is preserved.

This trick is useful for subtle tweaks, where the content of one element should slightly overlap the content of the one above it.

Now let’s give the second paragraph a -15px margin-top. As you see, this yields exactly the same effect. Again, the second paragraph is moved upward by 15px, and the subsequent paragraphs follow.

First paragraph with a bit of text in it to provide some content.

Second paragraph with margin-top: -15px.

Third paragraph with a bit of text in it to provide some content.

Margin collapsing

Also note that margin collapsing behaves different when you use negative margins. This, at least, is specified in CSS 2.1:

In the case of negative margins, the maximum of the absolute values of the negative adjoining margins is deducted from the maximum of the positive adjoining margins. If there are no positive margins, the maximum of the absolute values of the adjoining margins is deducted from zero.

In the last example, the first paragraph still has its default margin-bottom of 1em (Chrome; can’t find Firefox’s value).

Normally, the browser would take the first paragraph’s margin-bottom and the second one’s margin-top, figure out which one is larger, and apply that margin between the two, which would yield max(-15px,1em) = 1em. That’s not how it works, though.

In case of negative margins we take the absolute values of the two adjoining margins (15px for the second paragraph; 1em for the first), and deduct the smaller (15px) from the larger (1em). This yields about 1px (depending on the font size, of course).

Thus, negative margins are actually allowed to pull elements closer to their neighbours without being hindered by regular margin collapsing.

Now we treated negative margin-top and -bottom fully. It’s an occasionally useful effect.

Negative margin-left and -right

Negative margin-left and -right work the same, provided the element has a width. Here we apply margin-left: -10px and margin-right: 10px.

First paragraph with margin-left: -10px.

Second paragraph with margin-right: -10px.

Third paragraph with a bit of text in it to provide some content.

As you see, the first paragraph is now offset 10px to the left, while retaining its width. Thus, its right edge also moves 10px to the left.

The second paragraph with the negative margin-right is unaffected. The negative margin-right would influence any element to the right of the second paragraph, but there aren’t any.

To show negative margin-right in its full glory, let’s float the paragraphs, so that they have a right neighbour. Here is the reference element.

First paragraph with a bit of text in it to provide some content.

Second paragraph with a bit of text in it to provide some content.

Third paragraph with a bit of text in it to provide some content.

Now we’re going to sprinkle some negative margins on the paragraphs.

First paragraph with margin-right: -10px.

Second paragraph with margin-top: -10px.

Third paragraph with margin-bottom: -10px.

As you see, the second paragraph is now drawn 10px closer to the first one due to the first’s negative margin-right. This is exactly the same effect as with a negative margin-bottom.

Also note that the second paragraph has a negative margin-top, which means it is offset 10px upward. The third paragraph has a negative margin-bottom, which has no effect, since it does not have a bottom neighbour.

Remember: margin collapsing does not work on margin-left and -right; just on -top and -bottom. Therefore we do not have to worry about it in this case.

If we give the second paragraph a margin-left: -10px, the same happens. Just like with top and bottom, left and right are interchangeable for this effect.

First paragraph with a bit of text in it to provide some content.

Second paragraph with margin-left: -10px.

Third paragraph with a bit of text in it to provide some content.

So far, negative margin-left and -right behave exactly like negative margin-top and -bottom.

width: auto and negative margin-right

Now let’s change the behaviour of negative margin-right by giving the paragraphs width: auto. They do not have a fixed width any more; instead they fill up their parent element completely while respecting its padding. That’s how width: auto works.

The paragraph with margin-left: -10px is still offset 10px to the left, but its width grows. Thus, its right edge is not offset but stays where it is.

Reference paragraph

First paragraph with margin-left: -10px.

Second paragraph with margin-right: -10px.

Third paragraph with margin-left: -10px; margin-right: -10px

The negative margin-right now does the same thing. It offsets the paragraph’s right margin by 10px to the right, and the paragraph’s width increases, causing its left edge to stay where it is. This only happens when an element has width: auto. As we saw before, elements with a fixed width behave quite differently.

Finally, the third paragraph has both. Both its left and its right margins are offset by 10px, essentially negating the container’s padding: 10px;.

This is by far the most common use case for negative margins. You give a container a padding so that its contents have some breathing space. However, you want the header to span the entire container, ignoring the padding. Negative margins are the way to go.

This is a header

This is a regular content paragraph.

This is a regular content paragraph.

These are the header styles; the container has padding: 10px

h5 {
	margin-left: -10px;
	margin-right: -10px;
	padding-left: 10px;
	margin-top: 0;
	margin-bottom: 0;
	background-color: grey;
	color: white;
	/* no width, so defaults to width: auto */	
}

Again, this is only possible if the header has width: auto. Fortunately that’s the case in 99% of real-world use cases.

This is how negative margins behave in simple situations. Now that I established a baseline I can look into how they behave in flexboxes and grids.



  • CSS for JavaScripters

gin

Solar photovoltaic power optimization : enhancing system performance through operations, measurement, and verification / Michael Ginsberg

Ginsberg, Michael (Energy consultant), author




gin

Difference equations for scientists and engineering: interdisciplinary difference equations / Michael A. Radin (Rochester Institute of Technology, USA)

Dewey Library - QA431.R3255 2019




gin

Stochastic processes in science, engineering, and finance / Frank Beichelt

Online Resource




gin

Worked examples in mathematics for scientists and engineers / G. Stephenson

Dewey Library - QA43.S79 2019




gin

Recent Advances in Mathematics and Technology: Proceedings of the First International Conference on Technology, Engineering, and Mathematics, Kenitra, Morocco, March 26-27, 2018 / edited by Serge Dos Santos, Mostafa Maslouhi, Kasso A. Okoudjou

Online Resource




gin

Mathematical methods in physics, engineering, and chemistry / Brett Borden and James Luscombe

Barker Library - QC20.B67 2020




gin

Elon Musk's SpaceX, Jeff Bezos' Blue Origin selected by NASA to b...

Elon Musk's SpaceX, Jeff Bezos' Blue Origin selected by NASA to b...




gin

Metals, culture and capitalism: an essay on the origins of the modern world / Jack Goody, St John's College, Cambridge

Hayden Library - TN615.G66 2012




gin

Quenching control and distortion: proceedings of the 6th International Quenching and Control of Distortion Conference, including the 4th International Distortion Engineering Conference, September 9-13, 2012, Radisson Blu Aqua Hotel, Chicago, IL, USA / edi

Hayden Library - TN672.I527 2012




gin

Metal matrix composites: materials, manufacturing and engineering / edited by J. Paulo Davim

Hayden Library - TA481.M48 2014




gin

CBI begins probe into liquor sale during lockdown: Bedi

Lieutenant Governor Kiran Bedi on Friday said the Central Bureau of Investigation has started a probe into illegal sale of liquor during the lockdown.




gin

Like Sunny Leone's Ragini MMS 2 trailer?

Here's looking at the film's trailer.




gin

Cation doping and strain engineering of CsPbBr3-based perovskite light emitting diodes

J. Mater. Chem. C, 2020, Accepted Manuscript
DOI: 10.1039/D0TC01332C, Review Article
Dexin Yang, Dexuan Huo
All-inorganic cesium lead bromide demonstrates better thermal and chemical stability compared to their hybrid counterparts, and thus it can provide a base for high stability and performance of CsPbBr3-based perovskite...
The content of this RSS Feed (c) The Royal Society of Chemistry




gin

Origin of aggregation-induced enhanced emission: role of pseudo-degenerate electronic states of excimers formed in aggregation phases

J. Mater. Chem. C, 2020, Advance Article
DOI: 10.1039/C9TC07067B, Paper
Wataru Ota, Ken Takahashi, Kenji Higashiguchi, Kenji Matsuda, Tohru Sato
The origin of aggregation-induced enhanced emission (AIEE) is investigated considering cyano-substituted 1,2-bis(pyridylphenyl)ethene (CNPPE) as an example.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




gin

Efficiency enhancement in inverted organic light-emitting device with TiO2 electron injection layer through interfacial engineering

J. Mater. Chem. C, 2020, Accepted Manuscript
DOI: 10.1039/D0TC01040E, Paper
Chunxiu Zang, Hui Wang, Shihao Liu, Wenbin Guo, Letian Zhang, Wenfa Xie
TiO2 is widely used in optoelectronic device especially organic solar cells due to the excellent optical and electrical properties. While its application in organic light-emitting devices (OLEDs) as electron injection...
The content of this RSS Feed (c) The Royal Society of Chemistry




gin

Phase control for quasi-2D blue emitters by spacer cation engineering

J. Mater. Chem. C, 2020, Accepted Manuscript
DOI: 10.1039/D0TC01631D, Paper
Ho Won Tam, Tik Lun Leung, Wenting Sun, Fangzhou Liu, Chao Ma, Chun Sing Kam, Ivor Lončarić, Luca Grisanti, Juraj Ovčar, Željko Skoko, Jasminka Popović, Aleksandra Djurisic
Effect of the alkylammonium tail length in phenyl-alkyl spacer cations in quasi-2D Ruddlesden-Popper perovskites on the phase distribution in low n films (n=2 stoichiometry) is investigated. The increase in the...
The content of this RSS Feed (c) The Royal Society of Chemistry