Slack not showing unread channels + wrong “No unread” indication

slack webapp have been acting very weird lately.

When I first log into slack, it shows everything correctly, like coloring the unread channels in bold white and providing the correct unread count.

On refresh, slacks stops showing the unread channels in bold white. I can still see them in the All Unreads though, which still makes this tool usable.

But, when I click on any starred channel and then back to All Unreads, I see that all is read, though it isn’t!!!

Again, refresh shows the correct number of unreads but doesn’t show the unread channels.

I tried signing out and in. Tried clearing the cookies.

I’m using a fresh install on Ubuntu 18.04 on chrome v 75.0.3770.100. Same issue on firefox as well.

enter image description here

How do I enable or bond the 80mHz channels on a Cisco 3502i AP in autonomous mode?

I have a Cisco AIR-CAP3502I-A-K9 using F/W ap3g1-k9w7-xx-153-3.JF5 in autonomous mode. I have tried everything I can think of (Google has NOT been my friend) to configure the 5gHz radio to use 300mBps? I have I can get the additional channels configured using:

speed 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.

CLI command but the most I get on a speed test is about 27 Mbps using an iPhone 7 plus with only 2 clients connected to the AP.

I have also followed the following Serverfault page with no luck either – YES, this is a post I posted, and at the time, it “appeared” to work, but NOT really: What is the correct way of enabling 300mbps on a cisco 3502i?

So what am I Missing?

My AP configuration with masked fields follows.

! ! Last configuration change at 17:59:43 -0700 Sun Jun 9 2019 by Cisco ! NVRAM config last updated at 17:59:47 -0700 Sun Jun 9 2019 by Cisco ! NVRAM config last updated at 17:59:47 -0700 Sun Jun 9 2019 by Cisco version 15.3 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname ap ! ! logging rate-limit console 9 enable secret XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ! no aaa new-model clock timezone -0700 -7 0 no ip source-route no ip cef ip domain name XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ! ! ! ! dot11 pause-time 100 dot11 syslog ! dot11 ssid 4ff0-58    authentication open     authentication key-management wpa version 2    guest-mode    infrastructure-ssid    wpa-psk ascii XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ! dot11 ssid 7ab0-24    authentication open     authentication key-management wpa version 2    guest-mode    infrastructure-ssid    wpa-psk ascii XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ! ! ! no ipv6 cef ! ! username Cisco password XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ! ! bridge irb ! ! ! interface Dot11Radio0  no ip address  !  encryption mode ciphers aes-ccm   !  ssid XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  !  antenna gain 0  speed  basic-11.0 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.  channel 2462  station-role root  no dot11 extension aironet  world-mode dot11d country-code US indoor  bridge-group 1  bridge-group 1 subscriber-loop-control  bridge-group 1 spanning-disabled  bridge-group 1 block-unknown-source  no bridge-group 1 source-learning  no bridge-group 1 unicast-flooding ! interface Dot11Radio1  no ip address  !  encryption mode ciphers aes-ccm   !  ssid XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  !  antenna gain 0  peakdetect  dfs band 3 block  speed  basic-6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.  channel width 40-above  channel 5180  station-role root  no dot11 extension aironet  world-mode dot11d country-code US indoor  bridge-group 1  bridge-group 1 subscriber-loop-control  bridge-group 1 spanning-disabled  bridge-group 1 block-unknown-source  no bridge-group 1 source-learning  no bridge-group 1 unicast-flooding ! interface GigabitEthernet0  no ip address  duplex auto  speed auto  bridge-group 1  bridge-group 1 spanning-disabled  no bridge-group 1 source-learning ! interface BVI1  mac-address 70ca.9b98.f5bf  ip address dhcp client-id GigabitEthernet0  ipv6 address dhcp  ipv6 address autoconfig ! ip forward-protocol nd ip http server no ip http secure-server ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag ! ! bridge 1 route ip ! ! ! line con 0 line vty 0 4  login local  transport input all ! sntp server 132.163.96.1 sntp broadcast client end 

How to search a YouTube channel’s videos by duration

I’m trying really hard to find a specific video on a YouTube channel that has nearly 1000 videos. The channel has a lot of short videos (<10 minutes), but the video I’m looking for was at least 20 or 30 minutes long. I’ve tried everything from a metadata grabber that crawls all the videos and compiles their metadata into an excel spreadsheet, but the data includes everything but duration. I’ve tried culling the videos based on their titles but there’s still too many to go through. I really need a way to either search or sort the channel’s videos by duration, but I’ve had no such luck.

I know YouTube lets you do a general search by either short, medium, or long duration, but I can’t find any way to do this search only for only the videos of a specific channel.

I also know I watched the video at some point in the past year and a half or so, so if there’s any way to find it in my own watch history I’d be glad to do that, too. Again, though, there’s too many videos in my history to go through them without sorting first by the specific channel and then by duration.

Any help is greatly appreciated.

Hauppauge WinTV-quadHD doesn’t recognize dvb-c channels

I just bought a Hauppauge WinTV-quadHD, but can’t get it running on Ubuntu-Mate with my cable provider (KabelBW).

What I already did: 1. download the firmware files and place them in /lib/firmware dvb-demod-si2168-b40-01.fw v4l-cx23885-avcore-01.fw 2015 v4l-cx23885-enc.fw

  1. tried to run it using mplayer with a config that worked for an usb stick on the same machine (i removed the usb stick before I tested the hauppauge card)

Playing dvb://1@Das Erste. dvb_tune Freq: 314000000 Cache fill: 0.00% (0 bytes) dvb_streaming_read, attempt N. 6 failed with errno 0 when reading 16384 bytes

Btw. the firmware file is 16382 bytes long. This is a coincidence, I guess, right?

  1. start w_scan (w_scan -fc -cDE -M -t3) after rebooting resulting in “ERROR: Sorry – i couldn’t get any working frequency/transponder\nNothing to scan!!” after outputting plenty of messages like:

    858000: sr6900 (time: 03:57.392) signal ok: QAM_AUTO f = 858000 kHz S6900C999 (0:0:0) Info: no data from PAT after 2 seconds deleting (QAM_AUTO f = 858000 kHz S6900C999 (0:0:0))

So it seems that it detects something, but can’t identify channels?! Btw. the start options of w_scan were the same I used for the usb stick, but I also used other options, like without

  1. checked lspci and logs. To my non-expert-eye everything looks unambiguous. The logs tell me, that one of the firmware files was loaded. Not sure if the others are needed to. Here some parts of the logs:

lspci:

05:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04) 06:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04) 

kern.log

kern.log:56081:Jun  4 09:57:51 media kernel: [    9.131207] cx25840 8-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes) kern.log:56089:Jun  4 09:57:51 media kernel: [    9.227551] si2168 6-0064: Silicon Labs Si2168-B40 successfully identified kern.log:56108:Jun  4 09:57:51 media kernel: [    9.590510] tveeprom: Hauppauge model 166101, rev B4I6, serial# 4036112173 

Any ideas what is going wrong here? If you need I can upload the logs for you.

Thank you in advance Jürgen

why my anaconda channels don`t have the package which i want

i want to install trochcpu&torchfile for my conda environment,but The Error is the channels dont the packages, i dont konw why ?

Current channels:    - https://conda.anaconda.org/conda-forge/win-64   - https://conda.anaconda.org/conda-forge/noarch   - https://conda.anaconda.org/bioconda/win-64   - https://conda.anaconda.org/bioconda/noarch   - https://mirrors.ustc.edu.cn/anaconda/pkgs/free/win-64   - https://mirrors.ustc.edu.cn/anaconda/pkgs/free/noarch  To search for alternate channels that may provide the conda package you're looking for, navigate to      https://anaconda.org  and use the search bar at the top of the page.  

In China, useful Anacondachannels is very rare.I have change my channels three time.but it doesnt work.

Django channels 2 ошибка при использовании get_channel_layer() – возвращает None

Помогите понять, что я делаю не так.

Приложение состоит из 3-х частей. 1)Вебсокет-сервер, который отсылает данные. 2)Вебсокет-клиент, которые принимает эти данные и обрабатывает. В случае получения определенных данных выдает сообщение в лог. 3)Собственно django и django-channels – в случае сообщения в лог, должно отправляться сообщение через django-channels с информацией про такое событие на HTML-страницу. Для отправки такого сообщения, через djang0-channels, использую функцию channel_layer = get_channel_layer(). Функция возвращает None и поэтому я не могу использовать метод channel_layer.send(), что бы отправить сообщение.

Код

В settings.py настройка channel layer

    CHANNEL_LAYERS = {     'default': {         'BACKEND': 'channels_redis.core.RedisChannelLayer',         'CONFIG': {             "hosts": [('127.0.0.1', 6379)],         },     }, } 

Я использую redis на windows 7 и redis есть в PATH. Когда ввожу в cmd: redis-cli ping получаю PONG в ответ. Вроде как редис-сервер работает.

ws_server.py

from numpy import random as npr import asyncio import websockets  mu, sigma = 0.5, 0.1   async def send_number(websocket, path):     sequence_number = 1     while True:         sended_number = npr.normal(mu, sigma)         await websocket.send("{},{},{},{}".format(sended_number, sequence_number, mu, sigma))         sequence_number += 1         await asyncio.sleep(1)  start_server = websockets.serve(send_number, 'localhost', 8765)  asyncio.get_event_loop().run_until_complete(start_server) asyncio.get_event_loop().run_forever() 

ws_client.py

import asyncio import websockets from datetime import datetime import logging  from channels.layers import get_channel_layer from asgiref.sync import async_to_sync from django_softconstruct.websocket_message.consumers import MessageConsumer   from django.conf import settings settings.configure(DEBUG=True)  logging.basicConfig(format='%(name)s - %(levelname)s : %(message)s', level=logging.INFO) logger_ws_client = logging.getLogger('ws_client')   async def recv_hand_message():     async with websockets.connect('ws://localhost:8765') as websocket:         while True:             number_seqnuber = await websocket.recv()             number = float(number_seqnuber.split(',')[0])             sequence_number = int(number_seqnuber.split(',')[1])             mu = float(number_seqnuber.split(',')[2])             sigma = float(number_seqnuber.split(',')[3])             if number > mu:                 deviation = number - mu             else:                 deviation = mu - number              if deviation > sigma * 2:                 logger_ws_client.info("Time - {}, number - {}, sequence_number - {}".format(datetime.today(),                                                                                             number,                                                                                             sequence_number))             channel_layer = get_channel_layer()             # print(dir((channel_layer)))             await channel_layer.send("deviation_message", {                 "type": "chat.message",                 "text": "Hello there!",             })   asyncio.get_event_loop().run_until_complete(recv_hand_message()) asyncio.get_event_loop().run_forever() 

consumer.py

import json from channels.generic.websocket import WebsocketConsumer from asgiref.sync import async_to_sync from channels.consumer import SyncConsumer   class MessageConsumer(WebsocketConsumer):      def connect(self):         async_to_sync(self.channel_layer.group_add)("deviation_message", self.channel_name)         print('channel_name______{}'.format(self.channel_name))         self.accept()      def disconnect(self, close_code):         async_to_sync(self.channel_layer.group_discard)("deviation_message", self.channel_name)         pass      def websocket_receive(self, text_data):         async_to_sync(self.channel_layer.group_send)(             "deviation_message",             {                 "type": "deviation_message",                 "text": text_data,             },         )      def deviation_message(self, event):         self.send(text_data=event["text"]) 

HTML-страница

{% load staticfiles %} <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>Message notifier</title>     <script></script> </head> <body>     <h1>         Message notifier         <textarea id="message" cols="100" rows="1"></textarea><br/>     </h1>     <script>         var messageSocket = new WebSocket('ws://' + window.location.host + '/djch' + '/');         messageSocket.onmessage = function(e) {             var data = JSON.parse(e.data);             var message = data['message'];             document.querySelector('#message').value = message;         };          messageSocket.onclose = function(e) {             console.error('Chat socket closed unexpectedly');         };     </script> </body> </html> 

Запуск приложения:

  1. python manage.py runserver
  2. python ws_server.py
  3. python ws_client.py Когда доходит до исполнения строчки

    await channel_layer.send(“deviation_message”, { “type”: “chat.message”, “text”: “Hello there!”, })

Получаю ошибку AttributeError: ‘NoneType’ object has no attribute ‘send’

Весь трейсбек

Traceback (most recent call last):   File "ws_client.py", line 43, in <module>     asyncio.get_event_loop().run_until_complete(recv_hand_message())   File "c:\python37-32\Lib\asyncio\base_events.py", line 568, in run_until_complete     return future.result()   File "ws_client.py", line 37, in recv_hand_message     await channel_layer.send("deviation_message", { AttributeError: 'NoneType' object has no attribute 'send' 

Помогите понять почему получаю None, при условии, что конфиг для channel_layers есть и в consumer я регистрирую группу. Возможно ли, что settings.configure(DEBUG=True) не дает мне полного доступа к settings.py и по этому channel_layers пустой?