All boardsБлинчикиInternationalЛес

Тред разработки борды (Board development)


#123592

Тред разработки борды (Board development)

1080×10771.50Mb

Прошлый (Previous) >>4410 ➡


Формат смайлов (Smiles requirements) >>122797 ➡

Редактирование профилей (Idol profiles editing) >>123590 ➡

#123884## Admin ##

At 2018-05-09 between 01:00 and 06:00 (GMT +3) we will perform maintenance on our main network router in order to update its software. The router will be restarted, however, it should not be any noticeable network downtime.

#123913
64×6429.53Kb
32×3220.50Kb

:miggi_smug:

#125161
64×6429.53Kb
32×3220.50Kb

:thighnotes_lol:

#125175

added

#126395
64×6429.53Kb
32×3220.50Kb

:jisoo_smile:

#126446
1400×2100544.65Kb

>>126395

she is jisu :jisu_smile:

#128386## Admin ##

At 2018-05-18 between 01:00 and 06:00 (GMT +3) we will perform maintenance on our main network routers by upgrading network capacity between them. However, it should not be any noticeable network downtime.

#129611## Admin ##

At 2018-05-24 between 00:00 and 06:00 (GMT +3) we will perform maintenance on our main network routers by upgrading network capacity between them. However, it should not be any noticeable network downtime.

#131867## Admin ##

At 2018-05-31 between 00:00 and 06:00 (GMT +3) we will perform data center network maintenance, which can lead to short-term (up to 2 minutes) network outage.

#132487

В новой версии хрома переделали дефолтный плеер и теперь вебмки на паузу не поставить.

#132488

И регулирование звука по пизде пошло

#136559## Admin ##

At 2018-06-15 between 00:00 and 06:00 (GMT +3) we will perform maintenance on our main network routers by updating and restarting. Expect downtime no more than 2 minutes.

#139281

>>139114

Это Дженни вообще-то

#142032

>>142026

is smile2 and 3 really okay as a name

2 is kinda smug and 3 is like

:bibi_smile3:

#142375

Ok, added as happy, it's a bit more consistent.

#149716## Admin ##

At 2018-08-16 between 00:00 and 06:00 (GMT +3) we will perform data center network maintenance, which can lead to short-term (up to 5 minutes) network outage.

#151785
>

Ошибка загрузки сайтаThe operation failed for reasons unrelated to the database itself and not covered by any other error code.

Що делот

#151817

>>151785

С indexeddb чего-то, там разные могут быть причины.

Если кликнуть на иконку слева от адреса, там выбрать More information и на вкладке Security нажать "Clear Cookies and Site Data", должно помочь.

#151818

>>151817

Куки/кеши чистил, не помогло, в инкогнито вкладке проблема пропадает

#151819

>>151818

Там не куки, а база indexeddb, может ты её не очистил и она как-то побилась.

Попробуй как я сказал или ещё F12 -> вкладка Storage -> дерево Indexed DB, там правой кнопкой на cutechan и удали его.

#151821

>>151820

Это в обычном режиме или в приватном? В обычном должна сразу после захода создаваться.

У тебя в about:config по поиску indexeddb там ничего не изменено случайно?

#151822

>>151821

И в обычном и в приватном

Из кукисов только смайлы недавние создает

Все по умолчанию

#151823

>>151822

А если новый профиль создать (через about:profiles можно) и через него зайти, будет база и ошибка?

#151824

>>151823

Базы нет, в хранилище вообще пусто, ошибка есть

#151829

>>151828

Правда непонятно почему новый профиль не помог. Там же storage должен быть свой

#151835## Admin ##

Please take a note, that on 2018-08-27 from 22:00 till 24:00 (GMT +3) we will perform our nodes software update during which we will change servers configuration and initiate their reboot.

#152446
32×322.59Kb
64×648.06Kb

>>152445

would it be a lot of work to swap these, i just finished it

it's more in line with the existing ones i think

i need second attempts at everything

#155718## Admin ##

At 2018-09-11 between 23:00 and 06:00 (GMT +3) we will upgrade Linux kernel for all Standard VPS, KVM Linux VPS and KVM Linux Windows nodes to version 2.6.32-042stab133.2. Kernel upgrade is necessary to ensure service security and stability. Due to maintenance all servers in listed nodes bellow will be rebooted, expect downtime no more than 15 minutes.

#158577

>>155718

Даунтайм меньше 10 минут

#164241## Admin ##

At 2018-09-26 between 23:00 and 06:00 (GMT +3) we will perform data center network maintenance, which can lead to short-term (up to 5 minutes) network outage.

#165425
64×6413.06Kb
32×323.59Kb

>>158758

another attempt at :bibi_lol:

#165428
64×6412.96Kb
32×323.54Kb

or maybe this one

#170658
64×649.58Kb
32×322.88Kb

sunny_doubtful (or sunny_cynical, whatever you think is most fitting)

#170660
64×648.90Kb
32×322.82Kb

won_bored

#170680
64×649.06Kb
32×322.98Kb

>>170658

this might be better


jiho_cynical

#177371## Admin ##

Node was rebooted at short notice. Otherwise everything seems to be working.

#185862## Admin ##

At 2018-11-16 between 2018-11-16 22:00 and 2018-11-17 06:00 (GMT +2) we will perform data center network maintenance during which every rack commutator will be changed. This maintenance can lead to short-term (up to 2 minutes) network outages.

#191768## Admin ##

At 2018-11-28 between 22:00 and 2018-11-29 10:00 (GMT +2) we will perform data center network maintenance, except for Storage VPS nodes, which can lead to short-term (up to 1 minutes) network outage.

#194573## Admin ##
2448×1278415.67Kb

I've started working on CDN support.

Found pretty cool option with one of the best CDN in the world (Akamai) for not such a big price.

Just need to write some code for cutechan to support different storage mechanism and we're ready to migrate.

#196531## Admin ##

We will have small downtime today due to migration to CDN.

#196603## Admin ##

Starting the migration

#196608## Admin ##

Migration is over. Enjoy the new CDN.

#197414## Admin ##

We are writing to inform you that on the night of December 10 to December 11 (from Monday into Tuesday) from 11:30 PM (UTC+3) to 4:00 AM (UTC+3), scheduled maintenance will be performed on Cloud Storage software.

Network connectivity with STORAGE API will suffer from short interruptions up to 20-30 seconds.

#199120## Admin ##

Be prepared to the downtime and IP address change tomorrow.

#217631## Admin ##

We had planned node reboot, it's just message from the hoster was not quite clear so I didn't post it here.

#219420## Admin ##

At 2019-01-31 between 01:00 and 06:00 (GMT +2) we will perform data center network maintenance, which can lead to short-term (up to 2 minutes) network outage.

#220487
64×6412.40Kb
32×325.61Kb

nunu_gasm

#223793## Admin ##

At 2019-02-12 between 22:00 and 02:00 (GMT +2) we will upgrade Linux kernel for all OpenVZ 7 nodes. Kernel upgrade is necessary to ensure service security and stability. Due to the maintenance of all servers in listed nodes, bellow will be rebooted, expect downtime no more than 30 minutes.

#233701## Admin ##

At 2019-03-14 between 01:00 and 06:00 (GMT +2) we will perform data center network maintenance, which can lead to short-term (up to 2 minutes) network outage.

#237188

Подскажите, есть ли возможность каким-то образом добавить эту борду в dashchan?

#237248Кагами

>>237188

Там вроде специальная поддержка нужна, т.к. движок нестандартный. Теоретически можно сделать, т.к. дашчан опенсорс, но мне лень.

#237303

>>237248

Но ведь было бы классно, я уверен, многие бы хотели, чтобы кьютичан был в дэшчане. Чисто теоретически, сколько бы это стоило?

#237325

>>237303

Наверно можно найти того, кто баксов за 100 сделает. Но точно не я

#237490
900×4781.09Mb00:06

kagami can you make this work with kqts pls?

#237492
929×664279.21Kb

like this

#237498Кагами

>>237490

I might try a bit later

now I have a lot of other not yet finished projects

#238914## Admin ##

we would like to inform you that at 2019-03-27 12:00 (GMT +2) we will migrate your server kpop.re to another node in order to ensure service stability and quality. Expected downtime is up to 15 minutes.

#257948## Admin ##

At 2019-05-16 between 23:00 and 2019-05-17 06:00 (GMT +3) we will upgrade Linux kernel for all Linux VPS and Container VPS nodes to version 2.6.32-042stab137.1. Kernel upgrade is necessary to ensure service security and stability. Due to maintenance all servers in nodes will be rebooted, expect downtime no more than 15 minutes.

#303719
728×22130.23Kb

Небольшое предложение

Добавить функцию сжатия прикрепленных изображений. Возможно что-то вроде иконки как на картинке, либо какого-нибудь переключателя Чтобы не грузить 3-5Мб оригиналы и не забивать хостинг

#339591## Admin ##

At 2019-12-12 between 23: 00 and 2019-12-13 05:00 (GMT +2) we will upgrade Linux kernel for all Container VPS nodes to version 2.6.32-042stab141.3. Kernel upgrade is necessary to ensure service security and stability. Due to maintenance all servers in listed nodes bellow will be rebooted, expect downtime no more than 15 minutes.

#342727## Admin ##

At 2019-12-17 from 22:30 till 23:30 (GMT +3) we will perform routine maintenance in order to avoid RAM module failure. Expect downtime no more than 30 minutes.

#345404## Admin ##

At 2019-12-23 between 23:00 and 02:00 (GMT +2) we will perform data center network maintenance, which can lead to short-term (up to 10 minutes) network outage.

#368329## Admin ##

We would like to inform you that at 2020-02-20 23:00 (GMT +3) we will migrate your server(s) to another node. Migration is neccesary in order to ensure your service stability and quality. Expected downtime is up to 15 minutes.

#411252## Admin ##

We will have small downtime soon.

#416838## Admin ##

We will migrate no another server now. Prepare for downtime until DNS records will be updated.

#416842## Admin ##

Migrated.

#417033

Борда с русского айпи не работает (ростелеком)

#417353
1787×645266.09Kb

>>417095

Если через консоль браузера надо пинговать, то я не ебу как

#417368

>>417365

блять, оказалось, что всего-то надо было hosts почистить

#417374

>>417372

Зато узнал о существовании немецкой локализации

#417546

когда уже можно будет листать фоточки стрелками ?

2020 -- где НТП ?

#440356

five square or horizontal files just barely don't fit into one row, this has been a source of frustration for posters in the past


diff --git a/less/_base.less b/less/_base.less
index 8fbec6e8..c7766f72 100644
--- a/less/_base.less
+++ b/less/_base.less
@@ -1,6 +1,3 @@
-//////////////////////////////
-// THIRD-PARTY
-//////////////////////////////
 
 @import (inline) "node_modules/normalize.css/normalize.css";
 @import (inline) "node_modules/font-awesome/css/font-awesome.css";
@@ -950,7 +947,7 @@ body {
 
   box-sizing: border-box;
   min-width: 200px;
-  max-width: 1000px;
+  max-width: 1100px;
   background: @postBG;
   box-shadow: @postShadow;
   word-wrap: break-word;
#440559

>>440356

>

-//////////////////////////////

>

-// THIRD-PARTY

>

-//////////////////////////////

#464503## Admin ##

Our provider is currently experiencing network issues so there might be problems accessing the site or images.

#467214
517×494628.50Kb
2369×11636.93Kb

Hey kag

I noticed this png of all smiles is sent on first load of a thread or board or all. But I could not find where in the files exactly this is done. I understand that it is used to show each smile in posts via background-position as a background-image.


why I'm bringing this up is mobile data. that smiles.png is 644kB and thus very wasteful for mobile data users on ever pageload where it isn't cached already. would it not be better to serve mobile users the smile pictures individually when needed in a lazy load fashion like images are?


since most smiles are almost never used, the amount of smiles that would need to be loaded individually would need much less mobile data than 644kB right? even if the smiles are loaded as pngs the biggest ones are 11kB so there would have to be over 58 different smiles in the loaded posts (usually last 100) to cost more than the 644kB AllSmiles.png

Also not only mobile data is to be considered but also loading time on mobile. the AllSmiles.png is by far the one thing that makes site load slower.


What do you think, would a mobile only implementation make sense? Would effort be too big?


#467299Кагами

>>467214

>

I noticed this png of all smiles is sent on first load of a thread or board or all. But I could not find where in the files exactly this is done.

browser downloads it once it encounters smile in the thread via background-image rule in the CSS

>

that smiles.png is 644kB and thus very wasteful for mobile data

it's 2.1M for retina users btw (2x version)

>

on ever pageload where it isn't cached already

it's being requested only once, then it should be cached forever by the browser (well at least for several months)

>

would it not be better to serve mobile users the smile pictures individually

it was done intentionally that way...

there's request/metadata/parsing/etc overhead when you download small images individually

>

since most smiles are almost never used

it's possible to remove unused smiles

also maybe split smiles in groups, so you download smiles-part1.png, smiles-part2.png, etc, once you see it

right now it shouldn't be a huge problem...

>

AllSmiles.png is by far the one thing that makes site load slower

it doesn't freeze other network requests, you just don't see the smiles until the sprite is loaded, also it happens only once

#467322

>>467299

>

then it should be cached forever by the browser (well at least for several months

oh alright that makes it less of a problem, I didn't know how long it would be cached.

>

maybe split smiles in groups, so you download smiles-part1.png, smiles-part2.png, etc, once you see it

this would make sense, just putting the 50 most used smiles in one and less used one in another. You're right if it gets cached that long it wont really matter for browsing but I guess first time users would still benefit.

>>467301

thanks for showing me


Another thing:

I've just looked a bit into how the post feeds work but on mobile it is not the best experience. whenever you put browser into background and switch to another app and then at some point resume, most posts that were made in the meantime don't show, usually only the very latest post is updated. this leads to a lot of conplete reloads of the page or missed posts.

Do you know why this happens?

sorry for dumb questions btw gotta learn golang a little bit

#467407

>>467322

>

put browser into background and switch to another app and then at some point resume, most posts that were made in the meantime don't show, usually only the very latest post is updated

yeah, thread synchronization via websocket is badly written, it requests only for ~5 latest posts after reconnect

need to rewrite it properly...

>

gotta learn golang a little bit

#467466

>>467407

I wonder if this behavior still exists in meguca, would be something weird to overlook considering how many features they have...

maybe they are doing something else entirely, I can't really tell

#467577

>>467466

fork was made a long time ago, meguca has changed a lot since then, so it's impossible to merge

fix is not that hard, I'm just don't have enough time for that currently

#467582

>>467577

>

I'm just don't have enough time for that currently

don't worry about it, chingu

#471658

Это фиаско, братан

#472573

Are deleted posts actually deleted or are they saved somewhere in the db?

#472599## Admin ##

>>472573

they could be saved in backup if it was older than 1 day, otherwise actually deleted

#472637

>>472630

no but it would have been cool to have all posts including deleted ones as a dataset.

#472645

>>472630

>>472637

*forgot to add:

if you can db.getallposts() and save it in some useful way(.csv or .txt) and upload on an uploadsite I would be very grateful If not it's ok, I will just have to do a little scraper.

I want to use the posts for sentiment analysis and other stuff


#472656

>>472645

what boards do you need?

I can dump post_id,date,post_body information

#472657

>>472656

/int/ and /wood/

reply count is not available right? that would be interesting too but I can do that manually later on

#472668

>>472657

>

reply count is not available right? that would be interesting too but I can do that manually later on

it's available but you can build such map by yourself, just by searching for ">>\d+" in post body

#484698

hey kag, we finally made :smiles: changes. pls accept pull request when you have time

#485340Кагами

>>484698

sure, thanks, will do a bit later

#485344Кагами

>>485342

2 hours downtime because of docker update, service wasn't able to restart itself correctly...


Oct 18 06:57:03 kpop.events systemd[1]: Starting Daily apt upgrade and clean activities...
Oct 18 06:57:12 kpop.events systemd[1]: Stopping cutechan service with docker compose...
Oct 18 06:57:12 kpop.events systemd[1]: Stopping kpopnet service with docker compose...
Oct 18 06:57:14 kpop.events docker-compose[1759187]: Stopping kpopnet_kpopnet_1 ...
Oct 18 06:57:14 kpop.events docker-compose[1759186]: Stopping cutechan_cutechan_1 ...
Oct 18 06:57:15 kpop.events kernel: veth0037635: renamed from eth0
Oct 18 06:57:15 kpop.events systemd-networkd[693]: veth0a28b98: Lost carrier
Oct 18 06:57:15 kpop.events kernel: db: port 2(veth0a28b98) entered disabled state
Oct 18 06:57:15 kpop.events kernel: db: port 1(veth7d1226e) entered disabled state
Oct 18 06:57:15 kpop.events kernel: device veth7d1226e left promiscuous mode
Oct 18 06:57:15 kpop.events kernel: db: port 1(veth7d1226e) entered disabled state
Oct 18 06:57:15 kpop.events systemd-udevd[1759138]: vethfce82cd: Failed to get link config: No such device
Oct 18 06:57:16 kpop.events docker-compose[1734582]: cutechan_cutechan_1 exited with code 2
Oct 18 06:57:16 kpop.events docker-compose[87257]: kpopnet_kpopnet_1 exited with code 2
#493089

Добрый день, мистер Кагами. Хотелось бы уточнить, а точнее попросить у вас обновить "Борам". Это возможно?

#493267

>>493262

Ютуб длл. Или это не поможет? По опросам, многие используют, но без возможности прямой скачки через сам конвертер. Не очень удобно если честно.

#493346

>>493345

Ты меня переоцениваешь. Но я попробую.

#493519

>>493345

Когда на гитхабе обновите примерно?

#508628

since vlive added this url format it would be nice for them to also embed

for example https://www.vlive.tv/post/1-19990273

you can still get the videoSeq from embedded json, beware that this url format might not have videos: https://www.vlive.tv/post/1-19758287

seems like the embeds still work the same once you have the videoSeq >>508512 ➡

{
  "postDetail": {
    "post": {
      "url": "https://vlive.tv/post/1-19990273",
      "title": "이런저런💬",
      "postId": "1-19990273",
      "officialVideo": {
        "videoSeq": 224269,
        "type": "VOD",저런💬",