HN user

teytra

23 karma
Posts0
Comments31
View on HN
No posts found.
Prime Number Grid 11 months ago

Set columns to 6, and the pattern is changed in an "interesting" way.

All primes are n*6 +/- 1 (after the primes 2 and 3 that are "special").

Since English is not my mother tounge, I looked it up.

Oxford actually has (as one of three definitions):

either member of a married couple or of an established unmarried couple. "she lived with her partner"

a person with whom one has sex; a lover. "make sure that you or your partner are using an effective method of contraception"

When I was younger I had a period I often was thinking about prime numbers (before I got old and started thinking about the Roman Empire).

I noticed the same as you, and IIRC the (some?) ancient greeks actually had an idea about 1 as not a number, but the unit that numbers were made of. So in a different class.

2 and 3 are also different, or rather all other primes from 5 and up are neighbours to a multiple of 6, (though not all such neighbours are primes of course).

In base-6 all those primes end in 5 or 1. What is the significance? I don't know. I remember that I started thinking that 2*3=6, maybe the sequence of primes is a result of the intertwining of numbersystems in multiple dimensions or whatever? Then I started thinking about the late republic instead. ;)

But if exact dates/time is shown you have the possibility to mentally subtract one hour from what the time is, and look for that.

With 1 hour/week/month/year you cannot go the other way, it is too vague.

But web pages and apps should provide a quick and easy way of changing between the too formats.

I like the RP2040 2 years ago

This confuse us foreigners trying to use the English language even more than it must confuse regular english speakers.

Not only did you (you guys, y'all, plural you, whatever...) mix up ye with you, using only the object form, but also started using it for thou and thee. Also, it was thy/thine not yours in the singular form.

I suggest you "fix" your language by reintroducing these words, they (plural they) are not completely lost yet (ref: dialects and the Bible).

https://langeek.co/en/grammar/course/8/archaic-pronouns#revi...

Or... Maybe both the word viking and vik as in Viken comes from the same verb vikja that means to move (away). The idea being that a vik is where the costline moves away from the "sea road", the "NorWay" ;)

By the way, another word used for Viken (when used for the Oslofjord) is Folden, which means "the fold", so it is where the costline moves or folds away. Also, the counties on the west and east side of Oslofjord was until resently Vestfold and Østfold (meaning west and east (of the) fold)

Snorri uses it in several sagas (given time I might look it up, but not now).

In the christian middle ages it could be used as a translation for the word for pirat. So talking about "the age of the vikings" is really like talking about "the age of the pirats", where the people themselves are norse, danes or swedes etc.

Probably just folk etymology (and from the 18th-19th century?).

Note that the county of Viken was established in 2020, (though roughfly based on a historical name).

The first documented viking raids to England was described as coming from Hordaland, on the west side of (southern) Norway, while Viken is/was on the east side (and partially in Sweden today).

Also, people from Viken was in old norse called víkverir, not vikings.

TABs should be used for indentation, making it line up pretty.

SPace is for separating words.

Modern editors (and old ones too) should be able to show what is a TAB, so there is no reason to be confused.

The problem is that people think of TABs as a certain number of spaces, as if an indentation must be a certain number of spaces. In Python or Yaml etc, the logical construct is to have "one indentation level" for things like the statemants that belong to an if, or whatever. Requiring people to put in a somewhat randomly chosen number of spaces is just silly. It is "one level", so the logical choise would have been to put in one symbol to designate this fact, then use the settings of the editor to show it as you want (how many "spaces" to move), and this can change depending on personal choice, the monitor you use, etc.

One of the nice things with Python compared to, say C, is that what you see visually is what you get. I.e. if you use TAB and not spaces to indent lines or are very careful about how many spaces you put in, but then you lose the ability to quickly change the visual representation.

In C you actually use indentation when you write code to make it readable for humans, but the machine doesn't care, so there is a disconnect between the visual and how it is parsed.

You have to both use indentation add a lot of curly-braces to your code. In Pyhon you don't have this double-work.