Git Product home page Git Product logo

infomate.club's Introduction

Hi there 👋 I'm Vasily

  • 🇩🇪 I live in Berlin, Germany.
  • 🐍 I'm an engineer at Parity Technologies.
  • 🤖 Most of the time I'm writing on Python and Go. Sometimes JavaScript.
  • 🚀 I love pet-projects. They help me grow professionally all my life.
  • ✏️ I write articles on my blog (in Russian): vas3k.ru.
  • ✉️ You can shoot me an email at [email protected].

🛠 My fancy badge area

python golang postgres redis aws k8s terraform html javascript css React Vite django docker swagger fastapi asyncio git github pycharm prometheus GitLab CI jupyter pandas kafka conda homeassistant ElasticSearch openstreetmap raspberry pi stripe Ethereum latex

🐶 My pet-projects

vas3k.club is a small IT-lifestyle community with private and paid memberships that has emerged around my blog vas3k.ru and satellite chat-rooms. We are trying to build a helpful and candid ecosystem, which the Internet has lost a long ago. Therefore, we carefully select and filter new members and do not seek wild growth. The whole development process is open and managed on GitHub. The project attracted many volunteers who improve it together.

Timetable widget for my Smart Home dashboard. It uses the BVG (Berlin Transport) API to get trains, buses and trams arriving at the specified stop and allows you to plan your trips. Community liked the widget and it is now being used by hundreds of people.

Fast and simple media upload proxy on Go. Supports images and videos. Can resize and transcode them in-flight and cache the result. Optimized for small projects and blogs. Not meant to be used by anyone except me :D

My little experiment around information consumption, biased news and fighting FOMO. Unlike social networks, where newsfeeds make up by tops and likes, I made a site that aggregates several (sometimes opposite) news sources on one page and allows to analyze them myself. A small number of people really loved it and uses it every day.

🤝 Connect with me

me@vas3k.ru linkedin twitter vas3k.ru vas3k.com

infomate.club's People

Contributors

alvicsam avatar dependabot[bot] avatar dotterian avatar eisenest avatar jtraub avatar leitsius avatar maxlipsky avatar nermolaev avatar pinchukdiana avatar romutchio avatar rulikkk avatar sasha-mikhailov avatar savinovd avatar sneksik avatar tiulpin avatar vas3k avatar vitalii-honchar avatar vovinacci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

infomate.club's Issues

Ошибка при создании баз данных

Возможно, очень простой вопрос, но если делать в точности как написано в README, то при выполнении команды python3 manage.py migrate появляется нижеследующая ошибка. Никогда не работала с postgres и Django, поэтому она мне непонятна. Проверено на двух разных установках Ubuntu 20.04 и 18.04.

`Traceback (most recent call last):
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
self.connect()
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
connection = Database.connect(**conn_params)
File "/home/tatyana/.local/lib/python3.6/site-packages/psycopg2/init.py", line 126, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not translate host name "postgres" to address: Name or service not known

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/home/tatyana/.local/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/tatyana/.local/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/tatyana/.local/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/tatyana/.local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/home/tatyana/.local/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
res = handle_func(*args, **kwargs)
File "/home/tatyana/.local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 87, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 18, in init
self.loader = MigrationLoader(self.connection)
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/migrations/loader.py", line 49, in init
self.build_graph()
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/migrations/loader.py", line 212, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
if self.has_table():
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 56, in has_table
return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 256, in cursor
return self._cursor()
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 233, in _cursor
self.ensure_connection()
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
self.connect()
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/utils.py", line 89, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
self.connect()
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/tatyana/.local/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
connection = Database.connect(**conn_params)
File "/home/tatyana/.local/lib/python3.6/site-packages/psycopg2/init.py", line 126, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: could not translate host name "postgres" to address: Name or service not known
`

Обновление страницы

Предлагаю добавить в майн.жс что-то типа

document.addEventListener("visibilitychange", function() {
  if (document.visibilityState === 'visible') {
    UPDATEBOARD();
});

ибо переключаешься на вкладку через пару дней, а там старье, но доска нагло врет, что последний пост был 5 минут назад, хотя там уже 2 дня как мхом поросло.

"Unused" boards removed

Why did you do such a thing?

Even if those boards were no longer actively maintained, who's to say they couldn't nor wouldn't be useful as a reference list?

Theme switcher bug related to mac default color scheme

There is still a visual bug with a theme switcher:

First case:

  • MacOS user has a dark theme
  • It's the first load ('theme' param in localStorage does not exist)
    Result:
    The site loaded with a correct color theme but switcher itself in a wrong position ( screenshot attached )

Screenshot 2020-01-13 at 16 58 09

Second case:

  • MacOS user is changing his OS theme with site opened in browser
    Result:
    The site's color theme doesn't follow the OS theme changing.

PR is coming =)

Add CI support

Hi,

To be able to run linters against PRs to ensure, shall we add external CI integration? For example, https://travis-ci.org/ is free for open-source projects.
Target goal is to be able to run linter and mypy to ensure that PR quality didn't drop.
Later this could extended with tests and other fancy things if necessary.

What do you think? I can create PR to have this in place.

No data loaded, all categories are empty (errors in logs)

No data loaded, all categories are empty

Steps to reproduce (default steps from readme):

  1. docker-compose up --build
  2. It starts loading data and logs seems to be OK
  3. open https://localhost:8000
  4. See empty categories (like "Latest article is None")
  5. Console reports errors while using interface
  6. Exception happened during processing of request from ('X.X.X.X', XXXXX)

Tested Environment:

  • Debian 11 Bullseye
  • Docker version 20.10.3
  • docker-compose version 1.25.5

Need an endpoint for Telegram -> RSS parsing

I used three different services to get RSS feeds from Telegram channels. One of them got me banned, the second one returns an error 500 from time to time, the third was Chinese and it inserts hieroglyphs into the feeds :D

I think it's time to use some github library and write our own parser. It would be nice to have an endpoint that takes the Telegram channel name and returns its RSS. Don't forget about pics and videos.

If anyone want to help me with that — feel free to comment below and open a PR.

Too long title and not centered

As I suppose, there should be some length limit for title for a correct display. Or may be topic title should be "Кибер безопасность".

image

Improve text summarization by loading language-specific stopwords

Thanks for an amazing project!

Seems like newspaper3k does not detect the language of the paper by default to fetch appropriate stop-words
(see https://github.com/codelucas/newspaper/blob/f622011177f6c2e95e48d6076561e21c016f08c3/newspaper/article.py#L372)
Since summarization algo is extremely sensitive to extracted keywords, the quality of the summary can be improved by loading list of keywords manually. It can be accomplished by simply putting

newspaper.nlp.load_stopwords("ru")

in scripts/update.py

For example
Before:

В Лондоне выставят на аукцион первый известный документ о первой российской кампании по вакцинации — письмо Екатерины II о необходимости при
вивок от черной оспы.
Екатерина II первой в России привилась от оспы.
Это произошло в октябре 1768 года — в разгар эпидемии болезни в России и Европе.
Вот два графика, которые это доказывают В Западной Европе (как и в России) растет заболеваемость ковидом.
Вот два графика, которые это доказывают В Западной Европе (как и в России) растет заболеваемость ковидом.

After:

В Лондоне выставят на аукцион первый известный документ о первой российской кампании по вакцинации — письмо Екатерины II о необходимости прививок от черной оспы.
Речь идет о письме императрицы к генералу-фельдмаршалу графу Петру Румянцеву, которое было написано во время путешествия Екатерины II в Крым.
В тексте она объясняет, как организовать вакцинацию от черной оспы на государственному уровне, поскольку без нее жителям страны грозит «великий вред особливо в простом народе».
Письмо Екатерины II выставят на торги общим лотом с портретом императрицы работы художника Дмитрия Левицкого 1 декабря.
Последняя вспышка натуральной или черной оспы была зафиксирована и ликвидирована в Сомали в 1977 году.

cant scroll

Cant scroll at the right part of the window (to the right of the headings) when it open at fullscreen

Hardcoded ALLOWED_HOSTS

Когда пытаешься запустить у себя контейнер на сервере, и попытаться достучаться до него с другого ПК, падает с ошибкой, что в ALLOWED_HOSTS такого адреса нет. Для себя это решается хардкодом своего адреса, но было бы круто с этим как-то разобраться, чтобы желающие могли развернуть у себя без проблем.

vc и dtf удалили rss-ленту

https://vc.ru/rss и https://dtf.ru/rss теперь отдают 404. Писал им в поддержку, получил следующий ответ:

Здравствуйте!
Сейчас мы не поддерживаем полнотекстовые RSS.

Так что возможно стоит удалить их из подборки (либо поискать альтернативные способы получения фида)

Can't connect to local host?

Hello, great project. I was able to run the containers however I'm having an issue with safari or chrome connecting to the local host. I'm running a local version not a production version. Has anyone experience this similar issue?

Screenshot 2024-03-10 at 4 12 48 PM Screenshot 2024-03-10 at 4 18 24 PM

I've added the port 5432 as this was a recommendation in the previous issue that had comments.

I'm using Docker, VS Code, and running on Mac.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.