## factoids – Where is the longest visible line of sight on Earth from point A to point B?

We’ve had some interesting questions on being able to see country A from B, and on visibility for miles in every direction.

For a 6 ft tall person, the horizon in a ‘flat’ area is meant to be about 5km. Obviously the higher you are, the further you can see, if nothing is obscuring your view.

So somewhere on Earth (point A) presumably, you can see all the way, unobscured to Point B, which is further away than any other two visible points on earth.

Where would this line be – that is, between which two points A and B?

## Google Sheets: Line Graph of alternating columns. 1st Column as label

Month Notes January Notes February
Net Worth \$500 \$600
Liabilities \$50 \$40
Credit Cards \$10 \$20
Credit Card 1 \$5 \$10
Credit Cards 2 \$5 \$10
Savings & Checking \$400 \$500
Investments \$100 \$200

I have a google spreadsheet I use for tracking monthly financials that looks something like this. I use a new tab or sheet per year.
I was looking to add a Dashboard to the first tab that would display an individual line for each row.

Essentially I want the row and column labels to be the same I have here but translate the numerical values into a line graph.

I have attempted to select all of the cells with the respective data manually. I have tried selecting the ranges – but with my notes columns and there are detailed rows underneath each of the rows displayed here i.e. credit cards have a row each for each card, etc. So the rows and columns in the sheet are not exactly contiguous. I’m pretty sure I’ll have to manually click each item. I have also tried selecting a row with the column intended become that row’s label and the numeric values in that row as the plotted lines – but that doesn’t seem to work very well either. Especially if I try to add more than one row. to display multiple lines.

## Vim: z+enter does not bring the current line to the top, instead it’s moved 5 lines from top

In VIM, normally, z+enter will scroll the current line the cursor is on to the top of the screen (call it line 0). On RHEL8.4 z+enter only brings the line close (to line 5) but not to the top.

Similarly, z+- will not scroll the current line to the bottom of the screen but 5 lines away.

The rest of VIM seems fine for going to lines and h-j-k-l’ing around.

-John

## Line Graph of Financial Data in Google Sheets

Month Notes January Notes February
Net Worth \$500 \$600
Liabilities \$50 \$40
Credit Cards \$10 \$20
Credit Card 1 \$5 \$10
Credit Cards 2 \$5 \$10
Savings & Checking \$400 \$500
Investments \$100 \$200

I have a google spreadsheet I use for tracking monthly financials that looks something like this. I use a new tab or sheet per year.
I was looking to add a Dashboard to the first tab that would display an individual line for each row.

Essentially I want the row and column labels to be the same I have here but translate the numerical values into a line graph.

I have attempted to select all of the cells with the respective data manually. I have tried selecting the ranges – but with my notes columns and there are detailed rows underneath each of the rows displayed here i.e. credit cards have a row each for each card, etc. So the rows and columns in the sheet are not exactly contiguous. I’m pretty sure I’ll have to manually click each item. I have also tried selecting a row with the column intended become that row’s label and the numeric values in that row as the plotted lines – but that doesn’t seem to work very well either. Especially if I try to add more than one row. to display multiple lines.

## gui design – Decrease the font size or break to a new line with multiple languages?

Languages that have accents in their alphabet will benefit from an increase in line-height. When you have a lot of accents they can get ‘caught’ with descenders of the glyphs above.

Second of all, some languages that are not latin based, for instance Arabic will benefit from a slightly bigger font size. This will then dictate your line-height.

Remember the so called typographic triangle where the measure (the number of characters per line) competes with the font size and it’s line-height. Plus you have to take into account the typographic hierarchy; so headers (H1-H6), paragraphs, lists etc.

Finally when you have a responsive website it gets even more complicated with device width. Smartphones will benefit from a slightly bigger font than desktop so this will feed into the measure and line height. There are lots of solutions out there, mostly SASS/SCSS based but it takes some work.

## Forum Tag Line or Slogan

Does your forum have a tag line or slogan to briefly announce what your forum is about? I was thinking about having one for Crafter Craze but I’m not sure what I want to use that would stand out.

## virtual reality – Unity XR Ray / Line renderer on the floor

When using Unitys XR system, the teleport ray / line renderer i stuck on the floor. Turning the XR rig also turns the line, so the line is stuck on 0,0,0 on the XR Rig

I’ve played with most settings but can’t find why the line isn’t being translated to the action based controllers position. Using Debug.Log shows the action based position from the controller is correct.

I’m following LevelUp’s tutorial on how to create a grab and teleport manager to enable having several action based XR controllers at once: https://www.youtube.com/watch?v=wGvh7Suo1h4

Disabling the other XR Controller (Action-Based) controllers seems to resolve the issue but I need them enabled to be able to teleport and grab with the same controller.

Has anyone else had this issue? Any tips on troubleshooting or reasons for why this would happen?

## architecture – Assumptions versus no assumptions – where do you draw the line?

In our line of work as software engineers, we can write code that assumes various things outside its scope or architectural boundary, in order to save performance, time, and on defensive coding techniques that in the unlikely event of a meteor falling down – your program to still hold strong.

I’m not sure when working on a project, just what kind of assumptions are generally okay, and what aren’t?

When writing a library, I’m more inclined to see logic behind writing code with zero assumptions, as you have no idea what the clients/users of your API will be doing, but I’m still not sure if that is actually a good thing to do.

The benefits of assuming something is true, are enormous, but every time we assume something, our code in an essence depends on that fact staying true as time passes.

A few examples of assuming various things:

If you know that method `A` will be called only from method `C` and `D`, which provide serialized access to the method `A`, you can decide to skip creating a synchronization specific to `A` in the event it is ever called from two places at the same time, because you know that access to it will always be serialized at a higher level (through `C` and `D`).

If your application will be hosted on Azure, or any trusted computer, where you know nobody would ever tamper with it – you wouldn’t specifically need to handle events outside your control, such as a thread aborting due to someone on the host machine doing some evil things.

If you know that a given class that has been created by your application is registered as a singleton in a dependency injection system, you can skip writing defensive code in it that throws an exception in the event that fact is changed, because then the code/logic in that class would be wrong.

How much assumptions is too much? Where is the balance in writing code with no assumptions, to writing code with many assumptions?

## gui design – Decrease the font size or break to a new line for multi-languages?

I would like to know what is the better way to deal with the following issue:

a website support multi-languages, some of them fit in one line of a container but others are not.

Is it better to reduce the font size on those which aren’t fit? (which I believe may ruin the user experience) or keep the size but break it to a new line?

Thanks.

## ag.algebraic geometry – Fujita’s ampleness conjecture for very ample line bundles

Let $$X$$ be a smooth projective variety of dimension $$d$$; $$mathcal A$$ a very ample invertible $$mathcal O_X$$-module. I know that $$omega_X otimes_{mathcal O_X} mathcal A^{otimes d}$$ (instead of $$omega_X otimes_{mathcal O_X} mathcal A^{otimes d + 1}$$) is generated by global sections unless $$(X, mathcal A) = (mathbf P^d, mathcal O_{mathbf P^d}(1))$$ (see, for example, Karen Smith’s A tight closure proof of Fujita’s freeness conjecture for very ample line bundles) . So I wonder whether it is true that $$omega_X otimes_{mathcal O_X} mathcal A^{otimes d + 1}$$ (instead of $$omega_X otimes_{mathcal O_X} mathcal A^{otimes d + 2}$$) is very ample unless $$(X, mathcal A) = (mathbf P^d, mathcal O_{mathbf P^d}(1))$$?