## Should your font size change based on size and orientation of the device?

I am created a cross platform app and I was wondering if and when fonts should scale based on the size of the screen. Also, I was wondering if the scales of fonts should change based on the orientation of the device or on very large/very wide devices.

For example, I have one screen which has the text as the main subject of the screen. This font looks a bit odd on different devices when it doesn’t scale.

On buttons, however, the font looks fine without scaling.

Also, there are certain titles that look fine with rotations and others that look atrocious.

Are there any guidelines about which, if any bits of text, should scale and based on what (ppi, size of phone)? I know the common web standard is rem, but that doesn’t exist in mobile in certain cases (including mine).

## Is the default orientation for mobile devices hardware or software specific?

I have noticed that when switching between one mobile application to another, sometimes the orientation of the user interface changes so that I have to rotate the screen 180 degrees so that it is facing the right way. I assume that if the software or hardware recognizes the direction that the user is holding the device, or at least the orientation that the most recent application is set at, then it should not change the orientation.

This leads me to wondering if there is actually a default orientation for devices which is configured in the hardware, and if there is also some configuration of the software as well (and that they sometimes are configured to unintentionally clash).

Is there are default orientation in landscape view for mobile devices? And if so do they exist in hardware and/or software configurations?

## Disable orientation lock shortcut Super + O in ubuntu 18.04 gnome

I’m having an issue where pycharm can’t detect Super + O because it’s being picked up by gnome for the orientation lock shortcut. I can disable orientation lock in dconf editor, but the shortcut seems to remain there. How might I get that shortcut back? Thank you!

## Determine the number of self-crossings for an irregular orientation of an n-pointed star, whose vertices lie on the boundary of a circle

I need to create an algorithm that will output the number of self-crossings for an irregular orientation of an n-pointed star, whose vertices lie on the boundary of a circle. The sample input is as follows:

5 24.0 168.0 312.0 96.0 240.0 

Where the first integer is n (the number of vertices), proceeded with n lines, each describing the positions of the vertices, taken in order, which form the star. Each vertex is in a unique position on the boundary of the unit circle, specified in degrees from the normal axis. All degree measures will be in the range [0,360).

The sample output for the sample input would be:

5 crossings 

To tackle this problem, I was thinking of maybe separating the unit circle into quadrants and determine whether there are crossings depending on the positions of the vertices in their respective quadrants. However, I haven’t been able to think of a way to implement this.

I was wondering if anyone could provide perhaps a high-level idea or a push in the right direction which could help me think of an algorithm.

Thank you.

## What’s the orientation of the Rope Trick hole?

The Rope Trick spell specifies

Holding one end of a 60-foot or shorter rope causes the other end to rise up until the rope is fully perpendicular to the ground. At the high end, a portal opens to an extradimensional space into which eight medium or smaller creatures can fit by climbing up the rope. The rope can also be dragged up into the space to hide the entrance and the portal itself is invisible.

Spells and attacks are unable to enter or exit the extradimensional space, but those within can see out of it as through a 3 by 5 foot window centered over the high end of the rope.

If everything inside the extradimensional space has not exited beforehand, it will fall out when the spell ends.

Our group has been playing under the assumption that the window is positioned vertical relative to the ground plane, because that’s the way most windows we see are positioned. This would mean that you climb into the hole as if on top of a cliff edge at the end of the rope and you then have a view of the world as if you’d be looking out of any normal building window.

However, this seems to be in contradiction with popular depictions on the internet.

The difference would be surprisingly relevant to some standard strategies we have been employing.

How is the Rope Trick portal positioned relative to the ground plane/gravity/the rope?

## Show 3D camera orientation options in a more user friendly way

Currently we have the following camera options for the 3D preview of an object in our software.

I can imagine for some users that it’s hard to visualize in their head which part of the object will be visible. How can I make this more user friendly for the users? Should I put icons next to the options?

## Sony Vaio Duo 11 touchppad and screen orientation not working on Ubuntu 19.04

I recently installed Ubuntu 19.04 on my Sony Vaio Dduo 11 ultrabook. Complete spec: https://www.cnet.com/products/sony-vaio-duo-11-svd11215cyb-11-6-core-i7-3517u-8-gb-ram-256-gb-ssd-qwerty/

The touchpad has 3 buttons (right click, left click, middle for scrolling). None of them work, but I can move the cursor using the touchpad.

The switch for automatic screen orientation also doesn’t work (when I press it – it is just like the super key.)

I tried:

apt upgrade && apt dist-upgrade.  kevin@mypc:~\$   uname -a Linux mypc 5.0.0-20-generic #21-Ubuntu SMP Mon Jun 24 09:32:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux 

Findng resources for this ultra book is pretty difficult. In Windows 10, the touchscreen buttons work fine, even before I install any driver.

Any help on this problem will be appreciated.

## Questioning Pillars of Object Orientation

In this talk at DDD Amsterdam ’18, on The Systemics of the Liskov Substitution Principle, Romeu Moura says

you have object orientation when you have

1. encapsulation
2. decoupling
3. coherence
4. cohesion

And when someone asked about “Interface”, which is documented as a “Pillers of Object Orientation” in many computer science textbooks along with “Polymorphism and Abstraction”, he says

inheritance is there to help these four

Can anyone please tell me where I can find a document or a book reference claiming Romeu Moura is correct?

## Can we approximate harmonic maps which are a.e. orientation-preserving with maps which preserve orientation globally?

Let $$\mathbb{D}^n$$ be the closed unit disk, and let $$f:\mathbb{D}^n \to \mathbb{R}^n$$ be harmonic; suppose that $$n \ge 2$$, and that $$\det df >0$$ a.e. on $$\mathbb{D}^n$$.

Are there harmonic maps $$\omega_n: \mathbb{D}^n \to \mathbb{R}^n$$, such that $$\det d\omega_n >0$$ everywhere on $$\mathbb{D}^n$$, and $$\omega_n \to f$$ in $$W^{1,2}( \mathbb{D}^n,\mathbb{R}^n)$$?

## Change orientation in androidx86

How can I fully rotate my screen and not only resize it like in the picture?

In already tried several rotation apps in the play store. I tried via root shell the commands: wm size, settings put system accelerometer_rotation 0 and settings put system user_rotation 0 both are working fine on my phone, but not on my tablet.