Загрузите GEDCOM-файл на ВГД   [х]
Всероссийское Генеалогическое Древо
На сайте ВГД собираются люди, увлеченные генеалогией, историей, геральдикой и т.д. Здесь вы найдете собеседников, экспертов, умелых помощников в поисках предков и родственников. Вам подскажут где искать документы о павших в боях и пропавших без вести, в какой архив обратиться при исследовании родословной своей семьи, помогут определить по старой фотографии принадлежность к воинским частям, ведомствам и чину. ВГД - поиск людей в прошлом, настоящем и будущем!
Вниз ⇊

Программирование на службе генеалогии


← Назад    Вперед →Страницы:  1 2 Вперед →
Модератор: abv
abv
Модератор раздела

abv

Красногорск, Моск.обл.
Сообщений: 2143
На сайте с 2004 г.
Рейтинг: 914
Заранее прошу извинения за офтопик.
Но обещаю, что по мере возможности эту тему я буду связывать с программистской проблематикой генеалогических поисков и анализа генеалогической информации.

Turing developers - рекрутинговая компания, созданная выпускниками Стенфорда, выходцами из Гугл и Фейсбук, работающая в тесном контакте с топ-компаниями из Силиконовой долины.

Нужно быть совершенно сумасшедшим, чтобы отсюда, из России, Подмосковья, с моим минимальным багажом знаний и навыков, при моем почтенном возрасте, думать что, у меня может что-то получиться.
Слава богу, я сумасшедший (возможно, начинают уже сказываться возрастные особенности и ложные иллюзии).

Чтобы стать Тьюринг инженером, нужно пройти много этапов, и будет это все нескоро. В лучшем случае пару лет это займет, если раньше с круга не сойду.
Но как говорил один персонаж, попитка - не питка.
Вот тут обзор на 40 страниц.

Для начала заполнил анкету (это, и как вижу, дальнейшее пока тоже, бесплатно). Потом заполнил опрос (Survey) из 57 вопросов.

Первое событие намечено на пятницу - это Turing Welcome Call - 20-минутная беседа по Zoom с их сотрудником - он расскажет, с чем их едят, посмотрит, что я собой представляю, как у меня с языком дело обстоит, и есть ли хоть несколько извилин в мозгу.
[26.11: Состоялся анекдот: встретились индус и русский, поговорить по-английски. Он извилины не считал, торопил со сдачей тестов. А чего меня торопить - я сам знаю, что сначала надо малость готовиться - сдавать-то тесты не ему, а мне]

Дальше надо будет пройти несколько тестов (Tech Stack tests) по избранным мной языкам, системам и пакетам. Пока выбрал Python и Django.
Если тест провален, следующая попытка через полгода. Поэтому предстоит тщательно готовиться. Вот этот этап прохождения тестов и займет большой срок.

Потом будет Live Coding Challenge - очевидно, онлайн сессия в Slack.

Что будет дальше, пока не знаю.

03.12 Теперь знаю. Ничего не будет. Coding Challenge сдал еще 29.11 - и тишина.. И бэкслеши со слешами стоят..
Торопиться не надо, слющай, да? Они будто прочитали мои слова - прислали письмо - теперь им резюме давай приглаживай. Ну чё - мы люди не гордые (не шибко, да и с чего бы) - бум приглаживать и прихорашивать, авось чё и выйдет из энтого..
Разберусь только малость с Django-Cousera-MSU для начала.

04.12 Сдал тест по Django

06.12 Веселые ребята трудятся в этом turing - с ними не скучно, всегда найдется, чем заняться (будто я страдаю от безделья).
Recommended tests
Based on your skills and the jobs that are currently available, we recommend you take at least 2 of the following tests to increase your chances of being matched.
  • DevOps
  • AWS
  • 06.12.21 passed (45 минут на 29 вопросов) Flask
  • Google Cloud Platform
  • Docker
  • Kubernetes
  • ReactJS


Вот что другие говорят про Turing https://www.quora.com/Has-anyo...-with-them

Оказывается, есть еще компании, похожие на Turing (т.е. компании, которые имеют сертификацию навыков и дальнейшее трудоустройство)

Прикрепленный файл: turing status.jpg
---
Персональная история русскоязычного мира
http://personalhistory.ru
info@personalhistory.ru
Новости из царской России
Яндекс-дзен https://zen.yandex.ru/id/5eee495659f4f25be9052961
medium.com https://medium.com/me/stories/public
Дневник https://forum.vgd.ru/5623/
https://1russia.wordpress.com/
Лайк (1)
abv
Модератор раздела

abv

Красногорск, Моск.обл.
Сообщений: 2143
На сайте с 2004 г.
Рейтинг: 914
Надеюсь, эту тему (не дай бог и дневник в целом) не прикроют из-за офтопика.

Для подготовки к тесту по Питону хорошо подходит сайт realpython.com
Там есть Python Tutorials, Video Courses, Quizzes, Learning Paths, Community
Полноценное участие на realpython.com платно, но бесплатная часть тоже внушительная и содержит замечательные материалы.
Есть даже материалы по тому, как лучше готовиться к собеседованию по Питону https://realpython.com/courses...practices/ [дохлый номер: открытая часть поверхностна, а остальное, даже если качеством и лучше, - платно]

Далее - замечательный список руководств (tutorials), каждое из которых сопровождается тестом (quizz), так что можно проверить усвоение материала.
  • Basic Data Types in Python https://realpython.com/quizzes/python-data-types/
    Test your understanding of the basic data types that are built into Python, like numbers, strings, and Booleans.
    tutorial https://realpython.com/python-data-types/
  • How to Run Your Python Scripts https://realpython.com/quizzes/run-python-scripts/
    One of the most important skills you need to build as a Python developer is to be able to run Python scripts and code. Test your understanding on how good you are with running your code.
    tutorial https://realpython.com/run-python-scripts/
  • + HTTP Requests With the "requests" Library https://realpython.com/quizzes/python-requests/
    Test your understanding of the Python "requests" library for making HTTP requests and interacting with web services.
    tutorial https://realpython.com/python-requests/
    Your Score: 85% - мой результат. Более-менее, но там всего 7 вопросов, которые освещены в tutorial, по идее лучше бы 100%.
  • + Speed Up Your Python Program With Concurrency https://realpython.com/quizzes/python-concurrency/
    This is a quiz that will review topics covered in our Speed Up Your Python Program With Concurrency tutorial.
    tutorial https://realpython.com/python-concurrency/
    Your Score: 71% You completed Real Python's Python Concurrency quiz with 5 correct answers out of 7 questions.
    Сделал две ошибки, в сущности, по невнимательности
    If you have a CPU-bound program and you’re going to use the multiprocessing library, what’s a good number of processes to create?
    -- One process for each CPU
    -- As many as possible [Incorrect]
    -- 1000 [Incorrect]
    -- 1 [Incorrect]
    How many CPUs will a standard asyncio program use?
    -- As many as your computer has [Incorrect]
    -- Two [Incorrect]
    -- One
    -- None [Incorrect]
    -- As many as you tell it to [Incorrect]
  • + Python Conditional Statements https://realpython.com/quizzes...tatements/
    Test your understanding of Python conditional statements
    tutorial https://realpython.com/python-conditional-statements/
    Which of the following are valid if/else statements in Python, assuming x and y are defined appropriately:
    Not: if x < y: if x > 10: print('foo')
    Not: if x < y: print('foo') else: print('bar')
    What is the value of this expression: 'a' + 'x' if '123'.isdigit() else 'y' + 'b'
    Answer: 'ax'
    Your Score: 100% You completed Real Python's Python Conditional Statements quiz with 9 correct answers out of 9 questions.
  • + Python Dictionaries https://realpython.com/quizzes/python-dicts/
    Test your understanding of Python dictionaries
    tutorial https://realpython.com/python-dicts/
    Suppose x is defined as follows: x = ['a','b',{'foo': 1,'bar':{'x' : 10,'y' : 20,'z' : 30},'baz': 3},'c','d']
    What is the expression involving x that accesses the value 30?

    x[2]['bar'] x[2]["bar"]["z"] Ошибка связанная с неправильным пониманием слова "accesses"
    Which of the following could be a valid dictionary key:
    len механическая ошибка не поставил галочку, хотя знал, что надо
    d = {'foo': 100, 'bar': 200, 'baz': 300} What method call will delete the entry whose value is 200?
    del d['bar'] d.pop("bar") 1-й ответ неправилен (хотя удаляет пару) потому, что
    [q]
    this question specifically asks for a method to remove an entry, so using a del statement here would be incorrect
    [/q]

    Suppose you have a dictionary d1. Which of the following effectively creates a variable d2 which contains a copy of d1:
    d2=d1 This does make d2 point to an object equal to d1—but the same object, not a copy. See:
    [q]
    d2 == d1, d2 is d1
    (True, True)
    [/q]

    Your Score: 55% You completed Real Python's Python Dictionaries quiz with 5 correct answers out of 9 questions.
    Как говаривал О. Бендер перед экскурсией на горный провал: "Это провал, подумал Штирлиц"
  • +(24.11) How to Iterate Through a Dictionary in Python https://realpython.com/quizzes/python-dictionary-iteration/
    Dictionaries are one of the most important and useful data structures in Python. Learning how to iterate through a Dictionary can help you solve a wide variety of programming problems in an efficient way. Test your understanding on how you can use them better!
    tutorial https://realpython.com/iterate-through-dictionary-python/
    Your Score: 100% You completed Real Python's Python Dictionary Iteration quiz with 8 correct answers out of 8 questions.
  • +(24.11) How to Use Python lambda Functions https://realpython.com/quizzes/python-lambda/
    Python lambdas are little, anonymous functions, subject to a more restrictive but more concise syntax than regular Python functions. Test your understanding on how you can use them better!
    tutorial https://realpython.com/python-lambda/
    What is the output of the following code snippet? func = lambda x: return x; print(func(2))
    SyntaxError Досадная невнимательность
    Consider the following list as an input: numbers = [1, 2, 3] Which of the following would produce the result: [2]
    Not: list(filter(lambda x: 2, numbers)) двойка конвертируется в тип bool b и принимает значение True
    Your Score: 75% You completed Real Python's Python Lambda Functions quiz with 6 correct answers out of 8 questions.
  • +(25.11) Python Lists and Tuples https://realpython.com/quizzes/python-lists-tuples/
    Test your understanding of Python lists and tuples.
    tutorial https://realpython.com/python-lists-tuples/
    a = ['foo', 'bar', 'baz', 'qux', 'quux', 'corge']
    max(a[2:4] + ['grault']) # 'qux' # max('baz', 'qux', 'grault') = 'qux' !!
    Your Score: 81% You completed Real Python's Python Lists and Tuples quiz with 9 correct answers out of 11 questions.
  • +(25.11) Python Operators and Expressions https://realpython.com/quizzes/python-operators-expressions/
    Test your understanding of Python variables and object references.
    tutorial https://realpython.com/python-operators-expressions/
    Your Score: 81% You completed Real Python's Python Operators and Expressions quiz with 9 correct answers out of 11 questions.
  • +(25.11) Python Program Structure https://realpython.com/quizzes/python-program-structure/
    Test your understanding of Python program structure.
    tutorial https://realpython.com/python-program-structure/
    Your Score: 100% You completed Real Python's Python Program Structure quiz with 8 correct answers out of 8 questions.
  • +(25.11) Python Sets https://realpython.com/quizzes/python-sets/
    Test your understanding of Python sets
    tutorial https://realpython.com/python-sets/
    Your Score: 80% You completed Real Python's Python Sets quiz with 8 correct answers out of 10 questions.
  • +(25.11) Python Strings and Character Data https://realpython.com/quizzes/python-strings/
    Test your understanding of Python strings and character data.
    tutorial https://realpython.com/python-strings/
    Your Score: 90% You completed Real Python's Python Strings and Character Data quiz with 10 correct answers out of 11 questions.
  • +(27.11) Python Threading https://realpython.com/quizzes/python-threading/
    This is a quiz that will review topics covered in our An Intro To Threading tutorial.
    tutorial https://realpython.com/intro-to-python-threading/
    What does a threading.Lock do?
    [v] Wait until a thread is finished [Incorrect]
    [ ] SHIFT TO ALL CAPS
    [ ] Pass messages between threads
    [ ] Synchronize threads [Incorrect]
    [ ] Allow only one thread at a time to access a resource [Incorrect]
    Race conditions are …
    [ ] Something you should add to your code
    [ ] Two threads incorrectly accessing a shared resource [Incorrect]
    [v] Testing which thread completes first [Incorrect]
    [ ] The weather on race day
    Your Score: 66% You completed Real Python's Python Threading quiz with 4 correct answers out of 6 questions.
  • +(27.11) Python Variables https://realpython.com/quizzes/python-variables/
    Test your understanding of Python variables and object references.
    tutorial https://realpython.com/python-variables/
    Your Score: 100% You completed Real Python's Python Variables quiz with 9 correct answers out of 9 questions.
  • +(27.11) Python "while" Loops https://realpython.com/quizzes/python-while-loop/
    Test your understanding of Python while loops
    tutorial https://realpython.com/python-while-loop/
    Will the print() statement on line 5 be executed in this case:
    a = ['foo', 'bar', 'baz', 'qux', 'corge']
    while a:
    print(a.pop())
    else:
    print('Done.')
    [Yes]
    Your Score: 77% You completed Real Python's Python "while" Loops quiz with 7 correct answers out of 9 questions.
  • +(27.11) Python CSV Parsing https://realpython.com/quizzes/python-csv/
    This quiz will check your understanding of what a CSV file is and the different ways to read and write to them in Python.
    tutorial https://realpython.com/python-csv/
    Your Score: 71% You completed Real Python's Reading and Writing CSV Files in Python quiz with 5 correct answers out of 7 questions.
  • +(27.11) Reading and Writing Files in Python (Guide) https://realpython.com/quizzes/read-write-files-python/
    A quiz used for testing the user's knowledge of the topics covered in the Reading and Writing Files in Python article.
    tutorial https://realpython.com/read-write-files-python/
    Your Score: 100% You completed Real Python's Reading and Writing Files in Python quiz with 8 correct answers out of 8 questions.
  • +(27.11) How to Round Numbers in Python https://realpython.com/quizzes/python-rounding/
    Test your knowledge of rounding numbers in Python.
    tutorial https://realpython.com/python-rounding/
    Your Score: 100% You completed Real Python's Rounding Numbers in Python quiz with 10 correct answers out of 10 questions.
  • +(27.11) Splitting, Concatenating, and Joining Strings in Python https://realpython.com/quizzes/python-split-strings/
    In this quiz, you can test your Python skills when it comes to the most fundamental string operations: splitting, concatenating, and joining.
    tutorial https://realpython.com/python-string-split-concatenate-join/
    Your Score: 100% You completed Real Python's Splitting, Concatenating, and Joining Strings in Python quiz with 7 correct answers out of 7 questions.


28.11 Python test (42 вопроса, 45 мин.) успешно сдан
Как оказалось, этого (т.е. одного теста, а не нескольких) достаточно, чтобы был доступен CodeChallenge (2 задачи с общим временем 30 мин.).
Сдал подготовительный к нему Practice Test, результат (успешно или нет) вышлют на емайл, если я правильно понял.
29.11 Успешно сдал Coding Challenge
Были две задачки (на 30 мин. времени). Показались интересными.
30.11 То торопили - давай-давай. А коснулось дела - тишина. И бэкслеши со слешами стоят.. Может, оклемаются еще..
Ну мое дело - сторона. Буду продолжать, по крайней мере, в отношении Django (и, быть может, Javascript). Уж больно понравились мне тесты в turing - такого объективного и прозрачного тестирования в русских аналогах (1С-франчайзи) не встречал.
03.12 Они откликнулись - говорят, что я должен резюме подработать.
04.12 Сдал тест по Django (26 вопросов за 45 минут)

Еще tutorials (которым не соответствуют, к сожалению, quizz-ы)


См. также курсы


Книги RealPython (которые можно найти в интернете)


Learning paths


Get FREE Python Courses by Real Python https://realpython.com/free-courses-march-2020
Your Purchases
---
Персональная история русскоязычного мира
http://personalhistory.ru
info@personalhistory.ru
Новости из царской России
Яндекс-дзен https://zen.yandex.ru/id/5eee495659f4f25be9052961
medium.com https://medium.com/me/stories/public
Дневник https://forum.vgd.ru/5623/
https://1russia.wordpress.com/
abv
Модератор раздела

abv

Красногорск, Моск.обл.
Сообщений: 2143
На сайте с 2004 г.
Рейтинг: 914
Офтопик в офтопике.
Я же обещал, что буду притягивать генеалогию за уши, чтобы дневник не прикрыли - уж больно удобно здесь описывать свои же действия, в основном, для собственной памяти.

Московский листок : [большая политическая внепартийная газета]. - М., 1881-1918 https://personalhistory.ru/papers/m_listok.htm
Эта страница со ссылками на годы, номера и страницы создана автоматически, с помощью программы на Питоне.
Номера за каждый месяц упорядочены по датам и размещены в клеточках таблицы, где по строкам - месяцы, а по столбцам - дни месяца (а сверху в клеточке № по порядку с начала года).
Программа (за счет выбора отображения в виде строка=месяц, колонка=номер/дата) помогла даже выявить штук 10 ошибок в нумерации
[q]

if [year, number, day] == [1899, 231, 30]:
day = 20
elif [year, number, day] == [1899, 281, 10]:
day = 9
elif [year, number, day] == [1900, 57, 28]:
day = 26
elif [year, number, day] == [1901, 326, 21]:
day = 23
elif [year, number, day] == [1902, 341, 7]:
day = 8
elif [year, number, day] == [1904, 208, 29]:
day = 27
elif [year, number, day] == [1913, 10, 11]:
day = 12
elif [year, number, day] == [1913, 224, 39]:
day = 29
elif [year, number, day] == [1914, 292, 18]:
day = 19
elif [year, number, day] == [1914, 300, 30]:
day = 31
elif [year, number, day] == [1916, 249, 27]:
day = 28
elif [year, number, day] == [1917, 164, 20]:
day = 21
elif [year, number, day] == [1917, 249, 15]:
day = 16
[/q]

Программа работает не быстро - около 2.5 часов на 15 лет, газеты около 5000 номеров и около 27 тыс. страниц

Когда я пройду второй tutorial (Concurrency) из realPython, вероятно, попробую ускорить формирование Моск. листка.
---
Персональная история русскоязычного мира
http://personalhistory.ru
info@personalhistory.ru
Новости из царской России
Яндекс-дзен https://zen.yandex.ru/id/5eee495659f4f25be9052961
medium.com https://medium.com/me/stories/public
Дневник https://forum.vgd.ru/5623/
https://1russia.wordpress.com/
abv
Модератор раздела

abv

Красногорск, Моск.обл.
Сообщений: 2143
На сайте с 2004 г.
Рейтинг: 914
Хотите похохотать?
(from https://realpython.com/python-program-structure/)
[q]
Deep Dive: Fortran and Whitespace

The earliest versions of Fortran, one of the first programming languages created, were designed so that all whitespace was completely ignored. Whitespace characters could be optionally included or omitted virtually anywhere—between identifiers and reserved words, and even in the middle of identifiers and reserved words.

For example, if your Fortran code contained a variable named total, any of the following would be a valid statement to assign it the value 50:

total = 50
to tal = 50
t o t a l=5 0
This was meant as a convenience, but in retrospect it is widely regarded as overkill. It often resulted in code that was difficult to read. Worse yet, it potentially led to code that did not execute correctly.

Consider this tale from NASA in the 1960s. A Mission Control Center orbit computation program written in Fortran was supposed to contain the following line of code:

DO 10 I = 1,100
In the Fortran dialect used by NASA at that time, the code shown introduces a loop, a construct that executes a body of code repeatedly. (You will learn about loops in Python in two future tutorials on definite and indefinite iteration).

Unfortunately, this line of code ended up in the program instead:

DO 10 I = 1.100
If you have a difficult time seeing the difference, don’t feel too bad. It took the NASA programmer a couple weeks to notice that there is a period between 1 and 100 instead of a comma. Because the Fortran compiler ignored whitespace, DO 10 I was taken to be a variable name, and the statement DO 10 I = 1.100 resulted in assigning 1.100 to a variable called DO10I instead of introducing a loop.

Some versions of the story claim that a Mercury rocket was lost because of this error, but that is evidently a myth. It did apparently cause inaccurate data for some time, though, before the programmer spotted the error.
[/q]


Не смешно? Не страшно.
Читайте тогда это: https://www.python.org/dev/peps/pep-0020/
[q]
The Zen of Python
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
[/q]
---
Персональная история русскоязычного мира
http://personalhistory.ru
info@personalhistory.ru
Новости из царской России
Яндекс-дзен https://zen.yandex.ru/id/5eee495659f4f25be9052961
medium.com https://medium.com/me/stories/public
Дневник https://forum.vgd.ru/5623/
https://1russia.wordpress.com/
abv
Модератор раздела

abv

Красногорск, Моск.обл.
Сообщений: 2143
На сайте с 2004 г.
Рейтинг: 914
Как весело проиграть на бирже 100 долларов, найденные на дороге

(источник: https://realpython.com/python-rounding/ How to Round Numbers in Python)
[q]
How Much Impact Can Rounding Have?
Suppose you have an incredibly lucky day and find $100 on the ground. Rather than spending all your money at once, you decide to play it smart and invest your money by buying some shares of different stocks.

The value of a stock depends on supply and demand. The more people there are who want to buy a stock, the more value that stock has, and vice versa. In high volume stock markets, the value of a particular stock can fluctuate on a second-by-second basis.

Let’s run a little experiment. We’ll pretend the overall value of the stocks you purchased fluctuates by some small random number each second, say between $0.05 and -$0.05. This fluctuation may not necessarily be a nice value with only two decimal places. For example, the overall value may increase by $0.031286 one second and decrease the next second by $0.028476.

You don’t want to keep track of your value to the fifth or sixth decimal place, so you decide to chop everything off after the third decimal place. In rounding jargon, this is called truncating the number to the third decimal place. There’s some error to be expected here, but by keeping three decimal places, this error couldn’t be substantial. Right?

To run our experiment using Python, let’s start by writing a truncate() function that truncates a number to three decimal places:

>>> def truncate(n):
... return int(n * 1000) / 1000
The truncate() function works by first shifting the decimal point in the number n three places to the right by multiplying n by 1000. The integer part of this new number is taken with int(). Finally, the decimal point is shifted three places back to the left by dividing n by 1000.

Next, let’s define the initial parameters of the simulation. You’ll need two variables: one to keep track of the actual value of your stocks after the simulation is complete and one for the value of your stocks after you’ve been truncating to three decimal places at each step.

Start by initializing these variables to 100:

>>> actual_value, truncated_value = 100, 100
Now let’s run the simulation for 1,000,000 seconds (approximately 11.5 days). For each second, generate a random value between -0.05 and 0.05 with the uniform() function in the random module, and then update actual and truncated:

>>> import random
>>> random.seed(100)

>>> for _ in range(1000000):
... randn = random.uniform(-0.05, 0.05)
... actual_value = actual_value + randn
... truncated_value = truncate(truncated_value + randn)
...

>>> actual_value
96.45273913513529

>>> truncated_value
0.239
The meat of the simulation takes place in the for loop, which loops over the range(1000000) of numbers between 0 and 999,999. The value taken from range() at each step is stored in the variable _, which we use here because we don’t actually need this value inside of the loop.

At each step of the loop, a new random number between -0.05 and 0.05 is generated using random.randn() and assigned to the variable randn. The new value of your investment is calculated by adding randn to actual_value, and the truncated total is calculated by adding randn to truncated_value and then truncating this value with truncate().

As you can see by inspecting the actual_value variable after running the loop, you only lost about $3.55. However, if you’d been looking at truncated_value, you’d have thought that you’d lost almost all of your money!

Note: In the above example, the random.seed() function is used to seed the pseudo-random number generator so that you can reproduce the output shown here.
[/q]


[q]
Shocking as it may seem, this exact error caused quite a stir in the early 1980s when the system designed for recording the value of the Vancouver Stock Exchange truncated the overall index value to three decimal places instead of rounding. Rounding errors have swayed elections and even resulted in the loss of life.

How you round numbers is important, and as a responsible developer and software designer, you need to know what the common issues are and how to deal with them. Let’s dive in and investigate what the different rounding methods are and how you can implement each one in pure Python.
[/q]
---
Персональная история русскоязычного мира
http://personalhistory.ru
info@personalhistory.ru
Новости из царской России
Яндекс-дзен https://zen.yandex.ru/id/5eee495659f4f25be9052961
medium.com https://medium.com/me/stories/public
Дневник https://forum.vgd.ru/5623/
https://1russia.wordpress.com/
abv
Модератор раздела

abv

Красногорск, Моск.обл.
Сообщений: 2143
На сайте с 2004 г.
Рейтинг: 914
Другая песня - Django

RealPython рекомендует
Курсы особенно не поиспользуешь - большая часть каждого из курсов платна.
У tutorials другая беда - нет к ним quizzes
  • - [Course] Get Started With Django: Build a Portfolio App https://realpython.com/courses/django-portfolio-project/
    Learn the basics of creating powerful web applications with Django, a Python web framework. You'll build a portfolio website to showcase your web development projects, complete with a fully functioning blog.
    Бесплатна только начальная часть курса
  • [Tutorial] Get Started With Django Part 2: Django User Management https://realpython.com/django-user-management/
    Learn how to extend your Django application with a user management system, complete with email sending and third-party authentication.
  • [Course] Get Started With Django Part 3: Django View Authorization https://realpython.com/courses/django-view-authorization/
    Django View Authorization: Restricting Access
    This course covers how to restrict your web pages to users with different roles through Django view authorization. You'll learn about HttpRequest.user objects, view decorators that authenticate, and how to notify your users with the Django messages framework.
  • [Course] Python Application Layouts and Project Structures https://realpython.com/courses...plication/
    Structuring a Python Application
    This course is a reference guide to common Python application layouts and project structures for command-line applications, web applications, and more.
  • [Course] Django Migrations 101 https://realpython.com/courses/django-migrations-101/
    With this course you’ll get comfortable with Django migrations and learn how to create database tables without writing any SQL, how to automatically modify your database after you changed your models, and how to revert changes made to your database.
  • [Tutorial] Digging Deeper Into Django Migrations https://realpython.com/digging-deeper-into-migrations/
    In this step-by-step Python tutorial, you'll not only take a closer look at the new Django migrations system that is integrated into Django but also walk through the migration files themselves.
  • [Course] Make a Location-Based Web App With Django and GeoDjango https://realpython.com/courses...geodjango/
    Learn how to use Django and GeoDjango to build a location-based web application from scratch. You’ll be building a simple nearby shops application that lists the shops closest to a user’s location.
  • [Tutorial] How to Provide Test Fixtures for Django Models in Pytest https://realpython.com/django-pytest-fixtures/
    Learn how to use fixtures to simplify your testing in pytest. If you use Django, pytest fixtures can help you write tests that are painless to update and maintain even as you make changes to your models.
  • [Course] Django Redirects Tutorial https://realpython.com/courses/django-redirects/
    Learn everything you need to know about HTTP redirects in Django. All the way from the low-level details of the HTTP protocol to the high-level way of dealing with them in Django.
  • [Tutorial] Modeling Polymorphism in Django With Python https://realpython.com/modeling-polymorphism-django-python/
    Modeling polymorphism in relational databases can be a challenging task, but in this article, you'll learn several modeling techniques to represent polymorphic objects in a relational database using the Django object-relational mapping (ORM).
  • [Tutorial] What You Need to Know to Manage Users in Django Admin https://realpython.com/manage-users-in-django-admin/
    Learn what you need to know to manage users in Django admin. Out of the box, Django admin doesn't enforce special restrictions on the user admin. This can lead to dangerous scenarios that might compromise your system.
  • [Course] Customize the Django Admin With Python https://realpython.com/courses/django-admin-customization/
    Learn how to customize Django's admin with Python. You'll use AdminModel objects to add display columns, calculate values, link to referring objects, and search and filter results. You'll also use template overriding to gain full control over the admin's HTML.
  • [Tutorial] How to Create an Index in Django Without Downtime https://realpython.com/create-django-index-without-downtime/
    Get a solid understanding of the limitations of Django migrations by tackling a well known problem: creating an index in Django with no downtime.
  • [Tutorial] How to Write an Installable Django App https://realpython.com/installable-django-app/
    Learn how to create an installable Django app. You'll cover everything you need to know, from extracting your app from a Django project to turning it into a package that's available on PyPI and installable through pip.
  • [Tutorial] How to Move a Django Model to Another App https://realpython.com/move-django-model/
    Learn how to move a Django model from one app to another using Django migrations. You'll explore three different techniques and learn some helpful guidelines for choosing the best approach for your situation and needs.
  • [Course] Building HTTP APIs With Django REST Framework https://realpython.com/courses/django-rest-framework/
    This course will get you ready to build HTTP APIs with Django REST Framework. The Django REST framework (DRF) is a toolkit built on top of the Django web framework that reduces the amount of code you need to write to create REST interfaces.



LinkedIn recommends (13 results for the search of "Django"):
Они хитренькие, но не так уж. Курсы все платные (зато с сертификатом). Но если успеешь пройти и получить сертификат, а потом отменить регистрацию, то и усе.
Да к тому же, LinkedIn доступен в России только через VPN (я вынужден использовать Tor browser)
В 2020 получил 8 сертификатов, зарегистрировавшись в "Start free month" (если за месяц успеешь получить сертификаты, можно снять регистрацию)
[q]

Start your 1-month free trial. Cancel anytime.
Monthly
1-month free trial
then RUB2,239.00/month*
Save 33%
Annually
1-month free trial
then RUB1,489.00/month*
We’ll remind you 7 days before your free trial ends. You won’t be charged until December 29, 2021.
[/q]

Зарегистрировался. Теперь надо окончить курсы до 29 декабря 2021, иначе в конце пути придется рассчитаться.
17.12.21 Окончил все 10 курсов и отменил подписку "Learning Premium"
Ох! Я забыл, что сертификат дается за прохождение курса, а последнее означает всего лишь честный просмотр видео. Так что для настоящей учебы придется искать что-то другое..


10 Best and Free Django courses Online with certifications https://onlinecoursetutorials....fications/
  • Becoming a Django Developer from Linkedin Learning [см. выше]
  • Try Django: Learn and Master the Python Programming Web Framework (SkillShare) [нет сертификатов]
  • Python Django Tutorial – Full Stack Web Developer Bootcamp (Udemy) [сертификат, сегодня цена со скидкой 2190р ]
  • Django 2.2 & Python | Web Development Training (Udemy) [упражнения, сертификат, сегодня цена со скидкой 849р]
  • Django 1.1 for Beginners Certificate Course (Udemy) [упражнения, сертификат, сегодня цена со скидкой 649р]
  • Django Courses & Tutorials Online (Pluralsight) [free trial 10 дней, насчет цены и сертификата неясно]
  • Free Django Tutorial & Training (LinkedIn Learning – Lynda) [опять LinkedIn - см. выше]
  • Learn Python Django From Scratch – Udemy [упражнений нет, сертификат, сегодня цена 649р]
  • A beginner’s guide to Django – Free from Udemy [упражнений и сертификата нет, бесплатно]
  • +? Building Web Applications in Django -Coursera+MichiganSU [сертификат, пробный период 7 дней, после него 2827р в месяц] [начал курс] 02.11 закончил курс, получил сертификат https://coursera.org/share/c1379f5a9cf396cb2b41d2139043c697

30.11 Сам по себе курс от Coursera+MSU (рассчитан на 4 недели, но закончить придется за неделю, до 06.12, иначе попаду на деньги) на любителя - просто серия видео-бесед; однако там есть
1) в каждой неделе по два их внутренних теста
2) в трех из четырех недель - какие-то внешние (от другого производителя) великие и ужасные
Auto-grader: Django Tutorial part 2, Auto-grader: Django Tutorial part 3, Auto-grader: Django Tutorial part 4

Вот откуда торчат ушки и растут ноги у великих и ужасных:
Django for Everybody https://www.dj4e.com/
[q]
Technology
This site uses Tsugi framework to embed a learning management system into this site and handle the autograders. If you are interested in collaborating to build these kinds of sites for yourself, please see the http://www.tsugi.org/ website.
[/q]


Готовиться буду по

1. Создал проект в VisualStudioCode в соответствии с их руководством.
2. Теперь буду идти в VSC по руководству https://docs.djangoproject.com/en/3.0/intro/tutorial01/, танцуя не от печки, а от "Creating the Polls app"
3. Week1 https://docs.djangoproject.com/en/3.0/intro/tutorial02/
3. Week2 https://docs.djangoproject.com/en/3.0/intro/tutorial03/
4. Week3 https://www.py4e.com/html3/14-objects https://docs.djangoproject.com...c-display/
5. Week4 https://docs.djangoproject.com/en/3.0/intro/tutorial04/ https://docs.djangoproject.com.../builtins/

01.12 Week1 test1 88,88 % (8 из 9) test2 100% test3 85,71 % (6 из 7) Над тестом 2 (великим и ужасным) пришлось изрядно попотеть (из-за необходимости результат на проверку помещать на хостинг) https://borisalekseev.pythonanywhere.com/admin/
02.12 Week2 test1 100 % (8 из 8) test2 100% test3 90,90 % (10 из 11) https://borisalekseev.pythonanywhere.com/polls/
02.12 Week3 test1 100 % (9 из 9) test2 90 % (9 из 10)
02.12 Week4 test1 ?? test2 ?? test3 100%

До смешного доходит, право слово. Новая морковка появилась (а срок-то прежний - до 06.12). Оказывается этот курс входит в специализацию "Django for Everybody" https://www.coursera.org/specializations/django, в которой всего 4 курса, включая этот

05.12 Отменил подписку досрочно, не сдав два последних курса (и не получив оставшиеся два сертификата). Другие задачи на горизонте, да и резюме для turing надо подправить наконец..

16.12.21 TutsNode - Free Educational Tutorials https://tutsnode.com/ в частности https://tutsnode.com/django-essential-training/
---
Персональная история русскоязычного мира
http://personalhistory.ru
info@personalhistory.ru
Новости из царской России
Яндекс-дзен https://zen.yandex.ru/id/5eee495659f4f25be9052961
medium.com https://medium.com/me/stories/public
Дневник https://forum.vgd.ru/5623/
https://1russia.wordpress.com/
abv
Модератор раздела

abv

Красногорск, Моск.обл.
Сообщений: 2143
На сайте с 2004 г.
Рейтинг: 914
---
Персональная история русскоязычного мира
http://personalhistory.ru
info@personalhistory.ru
Новости из царской России
Яндекс-дзен https://zen.yandex.ru/id/5eee495659f4f25be9052961
medium.com https://medium.com/me/stories/public
Дневник https://forum.vgd.ru/5623/
https://1russia.wordpress.com/
abv
Модератор раздела

abv

Красногорск, Моск.обл.
Сообщений: 2143
На сайте с 2004 г.
Рейтинг: 914
Объявил о намерении создать собственную базу генеалогической информации на основе СУБД https://forum.vgd.ru/post/5/ro...#pp4017151
https://forum.vgd.ru/post/5/62699/p4017161.htm#pp4017161
Если и когда будет проявлен некоторый интерес со стороны публики.
---
Персональная история русскоязычного мира
http://personalhistory.ru
info@personalhistory.ru
Новости из царской России
Яндекс-дзен https://zen.yandex.ru/id/5eee495659f4f25be9052961
medium.com https://medium.com/me/stories/public
Дневник https://forum.vgd.ru/5623/
https://1russia.wordpress.com/
abv
Модератор раздела

abv

Красногорск, Моск.обл.
Сообщений: 2143
На сайте с 2004 г.
Рейтинг: 914
Что делают другие (которые уже что-то сделали):
  • 16.12.21 Памяти героев Великой войны 1914–1918 https://gwar.mil.ru/about/ - 6 666 243 записи из Картотеки Бюро по учету потерь на фронтах войны 1914–1918 гг., 5 606 545 записей, полученных из дел с именными списками потерь солдат и офицеров Первой мировой войны, 3 465 033 записи – из документов по военнопленным. Перечень воинских захоронений и мемориальных комплексов отображаются в виде списка или на современной карте. Представленные электронные копии паспортов 476 захоронений содержат записи о 8 133 известных и 38 940 неизвестных воинах, а также современные фотографии большинства захоронений и их 3D-модели. Информационный ресурс также содержит 845 168 записей о награждениях.
  • 16.12.21 Российский Родословный Фонд https://rgfond.ru/ - 305451 персон, 8255 изображений персон
  • 16.12.21 Интерактивные карты Галиции https://maps.geshergalicia.org...ia7FcF_3Fk
  • 16.12.21 Волков Сергей Владимирович. Высшее чиновничество Российской империи. Краткий словарь https://history.wikireading.ru/hUWDnus38Y
  • 16.12.21 Списки выпускников учебных заведений г. Москвы http://www.genarh.ru/spis.htm
  • 16.12.21 Петербургские сайты полезные для генеалогов http://petergen.com/personal.shtml
    в частности
    Сайт Александра Александровича Бовкало http://petergen.com/bovkalo/index.html
    и его "Списки выпускников духовных учебных заведений" http://petergen.com/bovkalo/duhov.html

---
Персональная история русскоязычного мира
http://personalhistory.ru
info@personalhistory.ru
Новости из царской России
Яндекс-дзен https://zen.yandex.ru/id/5eee495659f4f25be9052961
medium.com https://medium.com/me/stories/public
Дневник https://forum.vgd.ru/5623/
https://1russia.wordpress.com/
Лайк (1)
kbg_dnepr

Днипро (бывш. Днепропетровск)
Сообщений: 7153
На сайте с 2008 г.
Рейтинг: 4322
Еще из сделанного:

ГЕНЕО forum.genoua.name/index.php - практически БД репрессированных на Украине (к сожалению, не знаю статистики)

abv
Сайт genoua.name/ пустой
На форуме
GENEO-ГЕНЕО → ГЕОГРАФИЧЕСКИЙ УКАЗАТЕЛЬ forum.genoua.name/viewforum.php?id=280
Это оно? Или БД персоналий (а не геогр. мест) имеет другой адрес?
---
Катерина
Глушак (Брянск.) Ковалев, Федосенко (Могилевск.)
Оглотков (Горбат. у. НГГ) Алькин Жарков Кульдишов Баландин (Симб. губ.)
Клышкин Власенко Сакунов Кучерявенко (Глухов)
Кириченко Бондаренко Белоус Страшный (Новомоск. Днепроп.)
← Назад    Вперед →Страницы:  1 2 Вперед →
Модератор: abv
Генеалогический форум » Дневники участников » Дневники участников » Дневник abv » Новости » Программирование на службе генеалогии [тема №126531]
Вверх ⇈