text:
Blit item indexing does not take sorting into account

I'm using an older version of bgfx but the bug still appears to be here:
https://github.com/bkaradzic/bgfx/blob/83965f10e8156f8f21ceba8e1c0685f21866fd39/src/renderer.h#L31
The entries in m_blitKeys are sorted and m_blitItem is being indexed without taking that into account. It should be indexed with m_key.m_item.

I'll take a look. Do you have small repro?

Not small, no. It's all tied into a larger project. But it's easy to reason about.
m_blitKeys and m_blitItem are added to in pairs with the same index:
https://github.com/bkaradzic/bgfx/blob/83965f10e8156f8f21ceba8e1c0685f21866fd39/src/bgfx.cpp#L984
Only m_blitKeys is sorted:
https://github.com/bkaradzic/bgfx/blob/83965f10e8156f8f21ceba8e1c0685f21866fd39/src/bgfx.cpp#L1024
But each key records where its equivalent item is in the m_blitItem list:
https://github.com/bkaradzic/bgfx/blob/83965f10e8156f8f21ceba8e1c0685f21866fd39/src/bgfx.cpp#L1001
And here we can see both items being indexed with the same variable, rather than m_key.m_item:
https://github.com/bkaradzic/bgfx/blob/83965f10e8156f8f21ceba8e1c0685f21866fd39/src/renderer.h#L31

Yeah, I just wanted to repro bug, and once I fix it to make sure it works.

authors: bkaradzic dwilliamson

repo: bkaradzic/bgfx


text:
Stellvertretung mit der App ausüben (Sofort Stellvertretung)

UseCase:

Im Module  module=substitutionsAdmin#/substitutions/admin "Sofort Stellvertretung" klicken.
Essig Martin suchen
Ausüben klicken
Request /OAuth/Authorization/Substitutions/47/start abgebrochen im alten EventoWeb wird das Token geholt und der Stellvertretungsmodus ist aktiv.

Workaround: Nach einem Refresh des Portal ist die Stellvertretung in der Service Navigation eingetragen und kann benutzt werden.

Korrekt die Sofort Stellvertretung müsst direkt aktiviert sein.

source: gharchive/issue

repo: bkd-mba-fbi/webapp-schulverwaltung

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Portainer is down

In 90d06a0, Portainer ($PORTAINER_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portainer is back up in 328d50d.


text:
[Bug] Format Sorting (issues)

Checklist

[x] I've verified that I'm running youtube-dlc version 2020.10.31
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log
format code  extension  resolution note
249          webm       audio only tiny   60k , opus @ 50k (48000Hz), 61.86MiB
250          webm       audio only tiny   78k , opus @ 70k (48000Hz), 79.25MiB
140          m4a        audio only tiny  140k , m4a_dash container, mp4a.40.2@128k (44100Hz), 174.56MiB
251          webm       audio only tiny  148k , opus @160k (48000Hz), 154.31MiB
160          mp4        256x144    144p  122k , avc1.4d400c, 30fps, video only, 126.08MiB
278          webm       256x144    144p  123k , webm container, vp9, 30fps, video only, 117.27MiB
242          webm       426x240    240p  271k , vp9, 30fps, video only, 236.59MiB
133          mp4        426x240    240p  285k , avc1.4d4015, 30fps, video only, 282.09MiB
243          webm       640x360    360p  550k , vp9, 30fps, video only, 425.36MiB
134          mp4        640x360    360p  613k , avc1.4d401e, 30fps, video only, 602.69MiB
244          webm       854x480    480p  965k , vp9, 30fps, video only, 763.98MiB
135          mp4        854x480    480p 1196k , avc1.4d401f, 30fps, video only, 1.12GiB
247          webm       1280x720   720p 2284k , vp9, 30fps, video only, 1.49GiB
136          mp4        1280x720   720p 2345k , avc1.64001f, 30fps, video only, 2.25GiB
302          webm       1280x720   720p60 3364k , vp9, 60fps, video only, 2.44GiB
298          mp4        1280x720   720p60 3790k , avc1.640020, 60fps, video only, 3.34GiB
303          webm       1920x1080  1080p60 5398k , vp9, 60fps, video only, 4.24GiB
299          mp4        1920x1080  1080p60 6642k , avc1.64002a, 60fps, video only, 6.24GiB
18           mp4        640x360    360p  549k , avc1.42001E, 30fps, mp4a.40.2@ 96k (44100Hz), 741.09MiB
22           mp4        1280x720   720p 1834k , avc1.64001F, 30fps, mp4a.40.2@192k (44100Hz) (best)

Description
When there are combined files (audio+video) they will be selected over better quality but splitted tracks.
Some approach would be sorting in multiple steps

width/height
quality (measured by bitrate/codec - I know it's some annoying topic)

Any current open PRs doesn't address this particular issue.
https://github.com/blackjack4494/yt-dlc/blob/123049d1ce93d49350d68f3ed591569be51f081c/youtube_dlc/extractor/youtube.py#L2556
There are examples like this:
https://github.com/blackjack4494/yt-dlc/blob/123049d1ce93d49350d68f3ed591569be51f081c/youtube_dlc/extractor/alura.py#L70
How to add some sorting logic to sort_formats()

Here some example output after tweaking:
[info] Available formats for 7takIh1nK0s:
format code  extension  resolution note
140          m4a        audio only tiny  130k , m4a_dash container, mp4a.40.2@128k (44100Hz), 10.01MiB
249          webm       audio only tiny   53k , opus @ 50k (48000Hz), 3.86MiB
250          webm       audio only tiny   71k , opus @ 70k (48000Hz), 4.90MiB
251          webm       audio only tiny  137k , opus @160k (48000Hz), 9.15MiB
160          mp4        256x144    144p  101k , avc1.4d400c, 30fps, video only, 4.32MiB
278          webm       256x144    144p   97k , webm container, vp9, 30fps, video only, 6.51MiB
394          mp4        256x144    144p   81k , av01.0.00M.08, 30fps, video only, 5.34MiB
133          mp4        426x240    240p  200k , avc1.4d4015, 30fps, video only, 7.69MiB
242          webm       426x240    240p  207k , vp9, 30fps, video only, 9.56MiB
395          mp4        426x240    240p  177k , av01.0.00M.08, 30fps, video only, 9.54MiB
18           mp4        640x360    360p  441k , avc1.42001E, 30fps, mp4a.40.2@ 96k (44100Hz), 34.11MiB
134          mp4        640x360    360p  358k , avc1.4d401e, 30fps, video only, 13.92MiB
243          webm       640x360    360p  341k , vp9, 30fps, video only, 16.48MiB
396          mp4        640x360    360p  318k , av01.0.01M.08, 30fps, video only, 16.89MiB
135          mp4        854x480    480p  543k , avc1.4d401f, 30fps, video only, 19.89MiB
244          webm       854x480    480p  503k , vp9, 30fps, video only, 23.47MiB
397          mp4        854x480    480p  521k , av01.0.04M.08, 30fps, video only, 28.64MiB
22           mp4        1280x720   720p  927k , avc1.64001F, 30fps, mp4a.40.2@192k (44100Hz)
136          mp4        1280x720   720p 1504k , avc1.4d401f, 30fps, video only, 61.72MiB
247          webm       1280x720   720p 1317k , vp9, 30fps, video only, 63.26MiB
298          mp4        1280x720   720p60  880k , avc1.4d4020, 60fps, video only, 35.34MiB
302          webm       1280x720   720p60 1285k , vp9, 60fps, video only, 54.62MiB
398          mp4        1280x720   720p60 1160k , av01.0.08M.08, 60fps, video only, 70.91MiB
299          mp4        1920x1080  1080p60 3376k , avc1.64002a, 60fps, video only, 129.37MiB
303          webm       1920x1080  1080p60 3662k , vp9, 60fps, video only, 178.52MiB
399          mp4        1920x1080  1080p60 2098k , av01.0.09M.08, 60fps, video only, 129.17MiB (best)

I don’t think it’s a good idea to change the meaning of best to allow split formats, as there are cases where you need to use a merged format. I agree with changing the sort order though (and have already done so in my now private fork), I think a good start would be to change it to prioritize resolution and frame rate after quality. This would avoid formats with lower resolution being preferred just because they happened to have a higher bitrate, which actually happens sometimes on YouTube. A general “efficiency factor” for codecs regardless of extractor would be hard to get right as it’s dependent on the encoding settings used, but it might be possible, and the current order isn’t good either as it prefers less efficient codecs like H264 over AV1. But AV1 could also be problematic because it’s not compatible with everything and expensive to decode except on very recent hardware so there needs to be a way to change the preferred codec (I guess this could already be done by doing something like bestvideo[vcodec!*=av01] though).

#23 Allows provides ways of specifying if split videos and combined videos should be sorted together
#113 Allows the user to specify sort order.
With both these pull requests merged, you can use -S res,tbr -f bb*+ba/b --no-audio-multistreams to get the desired result

@blackjack4494 Pinging just in case you forgot about this thread

license: Unlicense


text:
!contains does not appear to be rendering, is this a user error?

What happened?
I am attempting to run the following query:
table expected_ship_date AS "Due", status AS "Status", key_ship AS "Deliverable", size AS "Size"
where contains(owner, "abc") AND !containsword(status, closed) AND !containsword(status, shipped) AND hold_until < date(today)
SORT priority
LIMIT 3

The following result appears:

The YAML for this file is as follows:

id: SSM-2022-01
creation_date: 2022-05-05
expected_ship_date: 2022-05-10
status: shipped
hold_until: 2022-05-17
priority: 0
key_ship: align AC process and associated emails to the new ops funnel
size: M
workstream: operations
flavour: IC maintenance work
owner: abc
organisations: SSM
I thought at first it might be my YAML, but according to this validator it is correct.
I have tried a variant of !contains with this query as well:
table expected_ship_date AS "Due", status AS "Status", key_ship AS "Deliverable", size AS "Size"
where contains(owner, "abc") AND !contains(status, closed) AND !contains(status, shipped) AND hold_until < date(today)
SORT priority
LIMIT 3

But the results remain the same.
I appreciate that this could be a user error, but the !contains syntax has worked for me previously. What am I missing?
DQL
table expected_ship_date AS "Due", status AS "Status", key_ship AS "Deliverable", size AS "Size"
where contains(owner, "abc") AND !containsword(status, closed) AND !containsword(status, shipped) AND hold_until < date(today)
SORT priority
LIMIT 3

JS
No response
Dataview Version
0.4.26
Obsidian Version
0.14.12
OS
Windows

Surround your text with quotes - !containsword(status, "closed"), !containsword(status, "shipped"). Without quotes, the query is trying to look for metadata called "closed" and "shipped", which does not exist.

That was it! Thank you!

authors: blacksmithgu flatlines

repo: blacksmithgu/obsidian-dataview


text:
Vicon Repository Broken?

Hi blandry,
is your vicon repository broken?
It's linked to anything. :/
Let me know.
formica

Hi Formica,
The Vicon library contains proprietary software so is not open.
Maybe we can think of a different solution for you.
Best,
Pete
On Friday, June 5, 2015, formica-multiuso notifications@github.com wrote:

Hi blandry,
is your vicon repository broken?
It's linked to anything. :/
Let me know.
formica
—
Reply to this email directly or view it on GitHub
https://github.com/blandry/crazyflie-tools/issues/20.

Yes like Pete said we would be happy to give you the client but there is a library in that repository that is proprietary to Vicon. It is their SDK (libViconDataStreamSDK_CPP.so). If you have that file through them we can just give you access to a copy of that folder without that file.
Cheers,
-Benoit

Thanks for the quick response.
I have not a Vicon systems, but an Optitrack system instead.
I was thinking to look at the vicon directory to learn how to adapt your project for an optitrack system.
Can you provide me some references, or infos that can help me?
Cheers,
-Roberto

The Vicon folder contains a client that listens to the vicon stream and publishes the position of the object being tracked using LCM. That's all it does. I will make a copy of the folder without the libraries so you can get an idea.

So I just double checked and the client example our client was based on is also copyrighted. But essentially if you get Optitrack to publish LCM messages of this type
package vicon_t;
struct vicon_pos_t
{
	int64_t timestamp;
	double q[6];
}

then the rest of the software should work. Does optitrack provide some dev library of some sort?

Following your hints I wrote this:
https://github.com/formica-multiuso/OptitrackViconLcmStub
I have to test it deeply. I don't know, right now, if the quaternion->euler convertion is correct...
The overall infrastructure and communication is working.
Work in progress..

roberto

This is awesome. Do you want us to link to your repo from crazyflie-tools? This way other people using Optitrack can find it right away.
Also for the quaternion conversion here are some implementations to test against (unfortunately I don't think we have any in C++ right now):
MATLAB: https://github.com/RobotLocomotion/drake/blob/master/util/quat2rpy.m
Python: quat2rpy in https://github.com/blandry/crazyflie-tools/blob/master/estimation/transforms.py
C: sensfusion6GetEulerRPY in https://github.com/peteflorence/crazyflie-firmware-2/blob/crazyflie2-build/modules/src/sensfusion6.c

Of course you can. It's free software, free as in freedom. ;)
I will check the quaternions conversion asap.
Rob

authors: blandry formica-multiuso peteflorence

repo: blandry/crazyflie-tools

license: mit

license_source: bigquery


text:
Update Character “ludwig-the-leprechaun”

Automatically generated by Netlify CMS

👷 Deploy Preview for dynamic-cheesecake-5fbd8b processing.

Name
Link

🔨 Latest commit
588e2f3e213ff12ba92123a761a1a95dadc3e593

🔍 Latest deploy log
https://app.netlify.com/sites/dynamic-cheesecake-5fbd8b/deploys/6326322a11b8ba0009aaf7a1

source: gharchive/pull-request

repo: blargoflatsome/fourshame


text:
Create Character “bass-note”

Automatically generated by Netlify CMS

👷 Deploy Preview for dynamic-cheesecake-5fbd8b processing.

Name
Link

🔨 Latest commit
c24c82d1f29bfb12b23bc66f662b07b05c2db309

🔍 Latest deploy log
https://app.netlify.com/sites/dynamic-cheesecake-5fbd8b/deploys/62eb313d25dace0008b12489


text:
Use dask to schedule chunks computation.

This is work in progress...

Closing to cleanup old PRs. Feel free to submit a new PR.

authors: postelrich stefanseefeld

repo: blaze/blaze


text:
编译时报错

In file included from ../components/Blinker/include/blinker_api.h:10,
from ../components/Blinker/src/api/blinker_api.c:13:
D:/ESP/ESP-IDF/components/json/cJSON/cJSON.h:269:22: note: expected 'cJSON * const' {aka 'struct cJSON * const'} but argument is of type 'const char '
CJSON_PUBLIC(cJSON) cJSON_AddStringToObject(cJSON * const object, const char * const name, const char * const string);

ESP8266_RTOS_SDK v3.4
ESP_IDF v4.3
请确保版本匹配

我的版本是对的，但是重装了好多次esp-idf依然不行,
./main/blinker_example_main.c: In function 'button1_callback':
../main/blinker_example_main.c:45:5: error: implicit declaration of function 'ESP_LOGI'; did you mean 'ESP_OK'? [-Werror=implicit-function-declaration]
ESP_LOGI(TAG, "button state: %s", val->s);
^~~~~~~~
ESP_OK
../main/blinker_example_main.c: In function 'app_main':
../main/blinker_example_main.c:71:50: error: 'button_callback' undeclared (first use in this function); did you mean 'button1_callback'?
blinker_widget_add(BUTTON_1, BLINKER_BUTTON, button_callback);
^~~~~~~~~~~~~~~
button1_callback
../main/blinker_example_main.c:71:50: note: each undeclared identifier is reported only once for each function it appears in
cc1.exe: some warnings being treated as errors
[928/934] Building C object esp-idf/Blinker/CMakeFiles/__idf_Blinker.dir/src/api/blinker_api.c.obj
../components/Blinker/src/api/blinker_api.c: In function 'blinker_va_print':
../components/Blinker/src/api/blinker_api.c:840:33: warning: passing argument 1 of 'cJSON_AddStringToObject' from incompatible pointer type [-Wincompatible-pointer-types]
cJSON_AddStringToObject(param, BLINKER_CMD_MESSAGE_ID, from_param->message_id);
^~~~~
In file included from ../components/Blinker/include/blinker_api.h:10,
from ../components/Blinker/src/api/blinker_api.c:13:
D:/ESP/ESP-IDF/components/json/cJSON/cJSON.h:269:22: note: expected 'cJSON * const' {aka 'struct cJSON * const'} but argument is of type 'const char '
CJSON_PUBLIC(cJSON) cJSON_AddStringToObject(cJSON * const object, const char * const name, const char * const string);
^~~~~~~~~~~~~~~~~~~~~~~
../components/Blinker/src/api/blinker_api.c: In function 'blinker_device_mqtt_init':
../components/Blinker/src/api/blinker_api.c:2368:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
pro_auth.uuid = blinker_mqtt_uuid();
^
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

我的是esp32 wroom.

从报错看和库关系不大，感觉你的编译环境是否没有配置好？

我查出原因来了，我是一直以为你们的example代码不会出错，但是实际上我在里面找到了几个错误，修复后编译成功了。

authors: cjkzwe coloz i3water

repo: blinker-iot/blinker-esp-idf


text:
闪烁之狐

https://blinkfox.github.io/2018/10/08/2018/10/qing-liang-ji-gun-dong-dong-hua-javascript-ku-aos.js/
从来没有真正的绝境，只有心灵的迷途

跟着大佬学知识

authors: blinkfox luokangyuan


text:
Blockhaus Afterparty by LUKSO with Google Cloud, SheFi & Guild

Luma: https://lu.ma/ok55cmmf
Join us in Berlin with [Google Cloud](https://twitter.com/googlecloud, SheFi, and Guild, with onsite activations by Proof:of by Ensō and DistrictVR, as we wrap UP Berlin Blockchain Week with a party you won’t want to miss.
THE PLAYGROUNDS:
☁ Rooftop: Google Cloud Zen Lounge
🥐 4th Floor: She-Fi and Snacks
🎛 3rd Floor: Pink Disco Zone
BEAT IMMERSION:
8pm - 10pm: Ahmed & Jappa (B-2-B)
10pm - 11:30pm: Denyo (DistrictVR)
11:30pm onwards: LEDFUT (DistrictVR)
DETAILS
📅 Date: May 24th, 2024
🕒 Time: 8pm - late
RSVP required for all attendees.
Create your Universal Profile before attending to be able to engage with the event activations – get started here.

Your event is live :) https://blockchainweek.berlin/24 please check if everything's correct

authors: kuzdogan louiejoconnor

repo: blockchainweek/data


text:
feat: add the ErrorFindingSwapsMolecule

Feature Request
Describe the Feature Request
This is the error Finding Swaps component.
Will appear when the OffersPage encounters an error while attempting to find swaps.
Definition of Done:

[ ]  Create the proposed component

Describe Preferred Solution

The name of the molecule: ErrorFindingSwapsMolecule

What we are looking for:

Style:

border-radius: 8px;
border: 1px solid var(--black-black-04-stroke, #353836);
background: var(--Black-Black-02, #212322);
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.20);

Layout:

Properties:

Related Code

SVG Icon to use

Additional Context
That component will appear when gets an error finding swaps.
The 'Add Swap Manually' button will open a modal to add manually the swap, passing the ID.

I realized we are going to need a default screen for when the connection is alright but the user still don't have any swaps to accept

I requested a new design already

This is duplicated in #97. Closing.

repo: blockful-io/swaplace-dapp


text:
Expose identity address and decentralized ID on user object

This PR exposes the identity address and decentralized ID on the user object for convenience.
Resolves #271

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Circling back on this, as it'd prevent a few apps I'm developing from having to manually decode tokens. Is this still a relevant change?

This should resolved/supersede also https://github.com/blockstack/blockstack.js/pull/273 I guess?

thanks for the heads up @vsund

authors: CLAassistant bitpshr larrysalibra vsund


text:
Update README.md

You have to run yarn sepeartely before running yarn bootstrap

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks! Merged in #525

authors: CLAassistant hstove johndmulhausen

repo: blockstack/ux


text:
Feat: addons/routes

Role to define routes.

Forgot to set version in vars.

Hello.
I am canceling this PR. New plans for it, it will be integrated to nic_nmcli.

repo: bluebanquise/bluebanquise


text:
Unexpected token error, around {fill-rule:evenodd;clip-rule:evenodd}

Hey, I'm running the generator on cryptoicon SVGs for a react native project, and this icon is giving me an error: Unexpected token, expected } (769:175) on .st0{fill-rule:evenodd;clip-rule:evenodd}
Steps to reproduce:
git clone https://github.com/AllienWorks/cryptocoins
cd cryptocoins
svg-icon-generate --svgDir ./SVG --destination ./Icon.js --native

then I try to import and use Icon.js into my project, and I see the error
Thanks!

Hi @andyklimczak,
could you share the generated Icon.js please? The line with BTCP-alt icon could be enough.
Do you have the latest version of the react-svg-icon-generator installed? I was trying to reproduce your issue and it works fine for me.
Alternatively, try to remove <style> tag from your svg:
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="-678 877.2 226.8 226.8"><switch><g><path d="M-516.3 1008.2c-5.5.9-8.2 1.3-13.7 1.6-2.5.2-5.1.3-7.6.4 7.3 5 12 11.9 9.6 21.5-4.4 17.9-27.8 15.5-45 11.6l-5.8 23.8-.3 1-7.6 30.9 19.4 4.8 8.1-32.4c33.3 6.3 58.3 3.8 68.8-26.4 6.6-18.7 1.8-33.1-8.3-42.1l-.6.3c-4.8 1.9-11.4 4.1-17 5"/><path d="M-522.5 924.3l8-32.1-19.5-4.9-7.8 31.2c-5.1-1.3-10.4-2.5-15.6-3.7l7.8-31.4-19.5-4.9-8 32.1c-4.2-1-8.4-1.9-12.5-2.9l-26.9-6.8-5.2 20.9s14.5 3.3 14.2 3.5c7.9 2 9.3 7.2 9.1 11.4l-5.8 23.4-5.1 20.4-11 44.1c-1 2.4-3.4 6-8.9 4.6.2.3-14.2-3.5-14.2-3.5l-9.7 22.4 25.4 6.3c4.7 1.2 9.3 2.4 13.9 3.6l-8.1 32.4 19.5 4.9 8-32.1 6.3-23.5 10.7-43c2.3.5 4.5 1 7.1 1.6 7.9 1.8 16.1 2.5 24.2 3.1 4.9.4 9.9.6 14.8.6 7.4-.1 14.9-1.5 21.9-3.8 5.9-2 12.8-4.5 17.2-9.1 5.1-5.4 7.6-12.6 8.7-19.8 3.6-23.8-14.4-36.5-39-45zm.5 45.1c-5.5 22.1-39.4 10.9-50.5 8.1l9.7-39c11.1 2.8 46.6 7.9 40.8 30.9z"/></g></switch></svg>

Definitely there should not be this part <Style>.st0{fill-rule:evenodd;clip-rule:evenodd}</Style> as style tags are either replaced during cleanup...  🤔  and also there is no Style component in react-native-svg
As I already suggested, try to replace code in your svg with this:
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="-678 877.2 226.8 226.8"><switch><g><path d="M-516.3 1008.2c-5.5.9-8.2 1.3-13.7 1.6-2.5.2-5.1.3-7.6.4 7.3 5 12 11.9 9.6 21.5-4.4 17.9-27.8 15.5-45 11.6l-5.8 23.8-.3 1-7.6 30.9 19.4 4.8 8.1-32.4c33.3 6.3 58.3 3.8 68.8-26.4 6.6-18.7 1.8-33.1-8.3-42.1l-.6.3c-4.8 1.9-11.4 4.1-17 5"/><path d="M-522.5 924.3l8-32.1-19.5-4.9-7.8 31.2c-5.1-1.3-10.4-2.5-15.6-3.7l7.8-31.4-19.5-4.9-8 32.1c-4.2-1-8.4-1.9-12.5-2.9l-26.9-6.8-5.2 20.9s14.5 3.3 14.2 3.5c7.9 2 9.3 7.2 9.1 11.4l-5.8 23.4-5.1 20.4-11 44.1c-1 2.4-3.4 6-8.9 4.6.2.3-14.2-3.5-14.2-3.5l-9.7 22.4 25.4 6.3c4.7 1.2 9.3 2.4 13.9 3.6l-8.1 32.4 19.5 4.9 8-32.1 6.3-23.5 10.7-43c2.3.5 4.5 1 7.1 1.6 7.9 1.8 16.1 2.5 24.2 3.1 4.9.4 9.9.6 14.8.6 7.4-.1 14.9-1.5 21.9-3.8 5.9-2 12.8-4.5 17.2-9.1 5.1-5.4 7.6-12.6 8.7-19.8 3.6-23.8-14.4-36.5-39-45zm.5 45.1c-5.5 22.1-39.4 10.9-50.5 8.1l9.7-39c11.1 2.8 46.6 7.9 40.8 30.9z"/></g></switch></svg>

Gotcha, that works but I've run into a different error, and could use your help understanding it.
I'll create a new issue so that this issue is not polluted. I'll leave it up to you if you want to close this or not. Thank you!

authors: andyklimczak janmarsicek

repo: blueberryapps/react-svg-icon-generator


text:
Use RecoverBlockNum & RecoverBlockSet

后面加上待下线机器的block恢复状态时，现有的GetStat ListRecoverBlocks会变得参数巨长无比。。整理一下封个结构体传进去

build

repo: bluebore/bfs


text:
Changed return of fortimanager status to value

This change puts fortimanager status in line with bgp neighbour info, ipsec tunnel status,...

As per https://github.com/bluecmd/fortigate_exporter/blob/master/CONTRIBUTING.md#naming-convention we should never break the API guarantee between the users by removing a label except if we ever do a 2.0 version. Sorry.

Hi @bluecmd how can we go ahead and set the target branch to a breaking change / future branch? As I feel that lowering the label cardinality is in favor of all users.
The way the fortimanager one is written is not how you would normally return a value and causes annoyances during dashboarding and alertmanager queries.
There is not one query returning the current status (which can be shown on a graph: fortigate_fortimanager_registration_status)

I disagree that this type of cardinality increase is a problem (you're replacing one timeseries with X amounts (X being bounded and small), but each have 1/X activity so encoding wise they are much cheaper than the original one by themselves) - but it has been ages since I checked in with the Prometheus devs on this so I cannot claim to be knowledgeable on Prometheus internals anymore. If you feel strongly about this, I would encourage you to raise the topic on the Prometheus mailing list to solicit firm evidence that this way it is done today is not a good way to do metrics.
W.r.t. to not one query to return the status. Why wouldn't sum(fortigate_fortimanager_registration_status) by (instance, status) != 0 work for you? That's generally how I display current enum status on e.g. Grafana.

Hi, except for the following I am currently not able to provide more documentation on this: https://prometheus.io/docs/practices/instrumentation/#do-not-overuse-labels & https://prometheus.io/docs/instrumenting/writing_exporters/#labels
It is not about being overused but just more optimised.


text:
Add eslint checking to default test

This should help prevent problems like the undefined immutable var. At least once we add circleci.

approve

authors: dancoates dxinteractive

repo: blueflag/redux-blueflag


text:
Safari - Multi file uploads don't work - Error: File is too small

Hi
To Reproduce this, Launch Safari on PC and go to demo site:
http://aquantum-demo.appspot.com/file-upload
Click add files, and select multiple files and click OK.
Each file gets an error "File is too small"
Safari Version: 5.1
OS: Windows 7
Work around for now, is to add one file at a time.

I'm aware of this issue.
Unfortunately, this seems to be a bug in the Windows version of Safari 5.1.
As far as I know there is no workaround other than to disable multiple file selection for this browser version.

SO I assume this means that it works fine on  OSX/iOS platforms?

Yes. The OSX version of Safari 5.1 properly handles multiple file selection.

Pitty does not work, otherwise thanks for the hard work!

repo: blueimp/jQuery-File-Upload


text:
(x) Enums as shared models

There are very likely situations where you would like to re-use enums throughout the code, imagine a specific state that is shared across collection fields.
Should this be sharedEnum?
Should we engulf this into a shared({ type: Shared.MODEL, model: {} }) ?
Should we have collection specific share-ability?

Implemented.

repo: bluelibs/bluelibs


text:
Unable to map route because it doesn't exist (yet it clearly exists)

In v1.3.0 (this works on v1.1.0, but not on v.1.3.0 after I updated).
Could not map route - Domain my-app-route.my-domain.io not found
The plugin appears to be unable to map the "live" route to the -new app, giving the error above. When I look at the routes for this space, I definitely see it in the list.
It should also be noted that (because IT bureaucracy) my app names contain underscores and my routes contain dashes (eg: my_app -> my-app.my-domain.io). When bgd is creating the route for the -new app, it creates the route as my_app-new.my-domain.io. That's not a technically  valid hostname, but cloud foundry (at least the version used on predix) doesn't seem to have a problem with it.

We are also affected by this problem.

@TobyRet, have you got similar underscores and dashes in your app names and domains?

What's happening under the covers is that the plugin is calling map-route, and that's failing. The call to map-route is old, but it's possible that the domain is now being read from the manifest in a way it hadn't before.
We've confirmed locally that the following should work around the problem. Before doing the first deploy, run
cf create-domain  my-app-route.my-domain.io
The person who runs create-domain needs to be the org manager, so it's possibly not appropriate for the plugin to do that invocation. The goal would be to get behaviour as close as possible to cf push. However, we should consider adding a more helpful error message.

I've confirmed, as well as reproducing with the bgd plugin, that I can reproduce a similar issue just with cf push. If an app hasn't ever been associated with a domain, the first usage of that domain will give the domain not found error. So I guess the next thing we need to know in this case is whether a cf push -f manifest.yml succeeds even though, for the same manifest, cf bgd -f manifest.yml fails.

I think this is similar to https://github.com/bluemixgaragelondon/cf-blue-green-deploy/issues/5.
Maybe we need to enable users to override the default smoke test route.  I think a single option --smoke-test-route would work.  The route could be handled the same way as route inside a manifest, i.e. it supports setting the domain, the hostname and the path.

Any update on this? I don't think create-domain is the right way to go. As the domain should be separate from the hostname.  But the routes section is looking at it as domains instead of hostname + domains

Could we see an example manifest, to see how the routes, domains, and hostnames are being defined in the manifest for these cases? For example, in the first comment, it looks like the hostname (my_app-new) is being handled separately from the domain (my-app-route.my-domain.io), but from your comment, @smitt04, it sounds like they're not?

applications:
- name: my-app
  routes:
  - route: my-app.example.io
  instances: 2
  memory: 512M
  disk_quota: 1G
  buildpack: python_buildpack
  stack: cflinuxfs2
  command: uwsgi --http :$PORT --wsgi-file run.py --master --processes 4 --threads 2 2>&1
  env:
    ENV: production

With this I get Could not map route: Domain my-app.example.io does not exist. The domain part is the example.io, while the hostname is my-app.  It works if I do cf map-route example.io --hostname my-app But not with the blue-green plugin.  If I do the cf create-domain my-app.example.io first then it works.  But thats not how it should be.

Ahh, I see the issue. Thanks for the extra information, that's really helpful.

This should now be fixed, in the staging repository. @smitt04 @jonvandermeulen @TobyRet , to pick up the fix
cf uninstall-plugin blue-green-deploy
cf add-plugin-repo bgd-staging https://garage-cf-plugins.eu-gb.mybluemix.net/
cf install-plugin blue-green-deploy -r bgd-staging

@holly-cummins it works, thanks.

For completeness, the root issue was that if there's a route defined we treat the route as the domain. So we need to handle that more carefully and correctly work out the domain. The fix was a more correct internal implementation that knows routes and domains are different. (The cf cli model we depend on was missing a lot of that support when the code was written, but it got added later after we raised an issue.)

authors: TobyRet bluemixgaragelondon dharries holly-cummins jonvandermeulen smitt04


text:
Support service principal in SimpleAccessPolicy

This makes it possible to add a service principal's uuid (as it has no identity/username...) to a SimpleAccessPolicy. Test included.
In support of C2QA / @jmaruland.

Commit c58f7fb is not really related, but it made it easier to test, and it's something we've been wanting.

repo: bluesky/tiled


text:
🛑 Skytalks SSL Website (v6) is down

In 861c399, Skytalks SSL Website (v6) (https://skytalks.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Skytalks SSL Website (v6) is back up in dfbad58 after 6 minutes.

repo: bluknight/skytalks-monitor


text:
Terraria Decompiler Outdated

Description
When decompiling Terraria using the provided tool , it complains that the TerrariaServer/Terraria is too new:
Error: TerrariaServer version 1.3.5.3. Expected 1.3.5.1
Error: Terraria version 1.3.5.3. Expected 1.3.5.1
Steps to Reproduce

Get the latest Terraria version
Run setup.bat
Press on decompile
Error happens

Expected behavior
That Terraria gets decompiled
Actual behavior
It complains
Reproduction frequency
Always
Versions
Latest
Mods
n/a
Additional Information
I would be willing to fix this issue. Though, what bits of code would I have to look at and how do I create those .patch files?

The only person who can actually fix this is me (and a fix is in the works, but I've been swamped by uni). For now the workaround is to obtain a copy of 1.3.5.1 somehow (consider asking in the Discord)

:D
However, I'd like to point out that I am perfectly capable of decompiling and fixing Terraria. (I'm one of the authors of Mechmod) In fact, I did it this week. (I only have to sort out one bug regarding the Localisation)
If I can help you somehow, I am willing to do it.

Fire me a PM on Discord in the next 15 mins

I'm very sorry, but, I have to go now. Can I do it tomorrow/on some other day?

Yeah anytime, I'll get back to you there.

Seems it's not merged into master? Any ETA for that?
Thanks for the awesome project!

Unfortunately not, ETA depends on my schedule at the moment

Hi @stefnotch @Kimi-Arthur @Chicken-Bones - A temporary workaround to this would be to download Terraria 1.3.5.1 from SteamDB using the Steam console:

Ensure Steam is closed, then launch Steam using the -console flag.

"C:\Program Files (x86)\Steam\Steam.exe" -console

Navigate to the CONSOLE tab at the top right of Steam and issue the following command:

download_depot  105600 105601 2659464619157023246

Wait until your download has finished.  You can somewhat gauge your progress based on the speeds listed in Steam at Library > Downloads.
Copy over the newly downloaded files from SteamDir/SteamApps/content/app_105600/depot_105601 to SteamDir/SteamApps/Terraria.

Oh, thank you. :D
Well, I'm already working on getting the decompiler to work with the latest Terraria version. :)

authors: Chicken-Bones Kimi-Arthur Murfalo stefnotch

repo: blushiemagic/tModLoader


text:
TileLoader.PostDraw called on inactive tiles

This should be fixed. I think the second calling of TileLoader.PostDraw is incorrectly positioned, but the gotos are a little confusing to decipher.
The effect of this is apparent with doors, since they simply set the tile inactive and leave the tile type value there when closed.

I'd say let's save this for 1.3.6, see if any of that code changed and we might fix it actually by just fixing the patches with a bit of luck.

authors: JavidPack Jofairden


text:
Message on succesful build

Hello, I am trying to make a success message which I am seeing from previous commits that it is implemented but I have not been able to make it work. The system works on failed builds and the comments are created according to the template on the root directory, but on success no message is made at all.
I would like to know if this is a bug, the feature is not finished being implemented yet, or I am doing something wrong. The name for the success template I am using is "travis-buddy-success-template.md" and the contents are the same as the template shown as the example in this repository. Obviously I dont have "on success: never" added in my travis and the default as shown in the Travis documentation webpage is "always".
Thanks for the help.

Hey @LuisFernando100,
This is a known bug we're facing, the success message feature is not widely used by repositories, as disabling it reduces spam and noise, and therefore it was barely tested in production, so we only found out it's broken few days ago. (Thanks to @nemchik)
Thanks for opening this issue, I'll let you know when its solved and tested on a fork of your repository.

@LuisFernando100,
I deployed the fix, you should start receiving success messages.

Yeah, it works now, thanks.
For the future, a similar feature for success templates could be made, but if its not widely used as you said then I guess for now its more than enough.

Hey @LuisFernando100, I agree, added.

repo: bluzi/travis-buddy


text:
安卓端获取定位失效

Your questions.
安卓端获取定位　已经添加了amap插件 在页面内也初始化了
this.$geo.get().then(data => {
          that.$notice.alert({
            title: '3333',
            message: '132312312'
          })
          locationLat = data.locationLat
          locationLng = data.locationLng
        })

这段方法没执行
Environment.

Mobile model: 华为
Mobile system: android 7.0
Dev platform: /windows
Node: 8.x.x
Npm: 5.x.x

What do you think may be caused by the analysis of the problem.

Reappearance of the problem (It's best to have a screenshot).

我小米8上运行实例代码，点击“插件|三方（选择集成）->定位”，总是显示获取位置失败

key 需要在哪配置呢?

repo: bmfe/eros


text:
Yap 3 beta 5.3 unable to process search results

Describe the bug
Search works but when it goes to read/send search results an error is generated
To examples below
[10-Mar-2019 01:37:31 Australia/Brisbane] PHP Notice:  Undefined variable: twilioClient in /home/naorgau/public_html/yap3/endpoints/meeting-search.php on line 32
[10-Mar-2019 01:37:31 Australia/Brisbane] PHP Notice:  Trying to get property of non-object in /home/naorgau/public_html/yap3/endpoints/meeting-search.php on line 32
[10-Mar-2019 01:37:31 Australia/Brisbane] PHP Fatal error:  Call to a member function create() on null in /home/naorgau/public_html/yap3/endpoints/meeting-search.php on line 32
[10-Mar-2019 01:42:48 Australia/Brisbane] PHP Notice:  Undefined variable: twilioClient in /home/naorgau/public_html/yap3/endpoints/meeting-search.php on line 32
[10-Mar-2019 01:42:48 Australia/Brisbane] PHP Notice:  Trying to get property of non-object in /home/naorgau/public_html/yap3/endpoints/meeting-search.php on line 32
[10-Mar-2019 01:42:48 Australia/Brisbane] PHP Fatal error:  Call to a member function create() on null in /home/naorgau/public_html/yap3/endpoints/meeting-search.php on line 32
What version are you running?
Yap (3.0.0-beta5.3)
Did this happen on prior versions to the one you are running?
No
To Reproduce
Steps to reproduce the behavior:

call the Twilio number
search using voice or keypad
meeting results found
4 fails on sending/reading meeting results

Expected behavior
read/send meeting result

I got the same error.

fixed in 3.0.0-beta5.4

@californiasteve can you test this bug fix?

Fixed for Oz

Oz?

Australia

Works as expected, says all meeting information through all five results.

repo: bmlt-enabled/yap


text:
Ластик

Реализовать возможность полного удаления svg-фигуры с помощью ластика.

#47


text:
Drop create delta table can result to internal error

DuckDB probably holds information in memory. Drop re-create a delta table can therefore cause an internal error (file not there anymore). In this case we should catch the error and do a manual refresh.

We should add a test fot this
Could also be that delta-rs caches

or this:
https://github.com/bmsuisse/lakeapi/blob/98952655b3342bbc4961129d8f1b13f6f2edb37c/bmsdna/lakeapi/context/df_duckdb.py#L221

authors: aersam dominikpeter

repo: bmsuisse/lakeapi


text:
Fixed a typo + little bit of rephrasing on CONTRIBUTING.md

I stumbled upon a typo in CONTRIBUTING.md, then I found the sentence confusing, so I rephrased it a little bit.

AWESOME. Thanks for this! 🎉
Merging!

authors: bnb darahak

repo: bnb/awesome-hyper


text:
Appdaemon4 HAOS Plugin and Hass-apps not working.

Hi,
I'm trying to get hass-apps working inside AppDaemon4.  I've followed all the instructions and I'm sure I've done everything by the book, the logs are showing that AppDaemon installs the hass-apps Python package during startup, but this is where the good news ends.
Installing collected packages: observable, cached-property, hass-apps
Successfully installed cached-property-1.5.2 hass-apps-0.20200319.0 observable-1.0.3
[cont-init.d] appdaemon.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:12:55] INFO: Starting AppDaemon...

Any apps placed in the config/appdaemon/apps folder do not seem to be able to refence the installed hass-apps package and just state:
2021-11-11 11:13:01.484407 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hass_apps_loader.py - ignoring
2021-11-11 11:13:01.489322 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/schedule_heating.py - ignoring

Full startup log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
 Add-on: AppDaemon 4
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.7.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 6.6  (amd64 / qemux86-64)
 Home Assistant Core: 2021.11.1
 Home Assistant Supervisor: 2021.10.8
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] appdaemon.sh: executing...
Looking in links: https://wheels.home-assistant.io/alpine-3.13/amd64/
Collecting hass-apps
  Downloading hass_apps-0.20200319.0-py3-none-any.whl (54 kB)
Requirement already satisfied: voluptuous~=0.11 in /usr/lib/python3.9/site-packages (from hass-apps) (0.12.1)
Collecting cached-property~=1.5
  Downloading https://wheels.home-assistant.io/alpine-3.13/amd64/cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Requirement already satisfied: appdaemon<5,>=3.0 in /usr/lib/python3.9/site-packages (from hass-apps) (4.1.0)

----TRUNCATED A BUNCH REQUIREMENT SATISFIED OUTPUT ---

Requirement already satisfied: oauthlib>=3.0.0 in /usr/lib/python3.9/site-packages (from requests-oauthlib>=0.5.0->msrest>=0.6.21->azure-keyvault-secrets==4.3.0->appdaemon<5,>=3.0->hass-apps) (3.1.1)
Installing collected packages: observable, cached-property, hass-apps
Successfully installed cached-property-1.5.2 hass-apps-0.20200319.0 observable-1.0.3
[cont-init.d] appdaemon.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:12:55] INFO: Starting AppDaemon...
2021-11-11 11:12:58.923614 INFO AppDaemon: AppDaemon Version 4.1.0 starting
2021-11-11 11:12:58.924626 INFO AppDaemon: Python version is 3.9.5
2021-11-11 11:12:58.925389 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2021-11-11 11:12:58.926353 INFO AppDaemon: Added log: AppDaemon
2021-11-11 11:12:58.927937 INFO AppDaemon: Added log: Error
2021-11-11 11:12:58.928995 INFO AppDaemon: Added log: Access
2021-11-11 11:12:58.930096 INFO AppDaemon: Added log: Diag
2021-11-11 11:12:59.017832 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2021-11-11 11:12:59.176110 INFO HASS: HASS Plugin Initializing
2021-11-11 11:12:59.177591 INFO HASS: HASS Plugin initialization complete
2021-11-11 11:12:59.179923 INFO AppDaemon: Initializing HTTP
2021-11-11 11:12:59.182640 INFO AppDaemon: Using 'ws' for event stream
2021-11-11 11:12:59.198090 INFO AppDaemon: Starting API
2021-11-11 11:12:59.215897 INFO AppDaemon: Starting Old Admin Interface
2021-11-11 11:12:59.217723 INFO AppDaemon: Starting Dashboards
2021-11-11 11:12:59.317093 INFO HASS: Connected to Home Assistant 2021.11.1
2021-11-11 11:12:59.371853 INFO AppDaemon: App 'hello_world' added
2021-11-11 11:12:59.375856 INFO AppDaemon: Found 1 total apps
2021-11-11 11:12:59.378295 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2021-11-11 11:12:59.381839 INFO AppDaemon: Running on port 5050
2021-11-11 11:12:59.489693 INFO HASS: Evaluating startup conditions
2021-11-11 11:12:59.527717 INFO HASS: Startup condition met: hass state=RUNNING
2021-11-11 11:12:59.529075 INFO HASS: All startup conditions met
2021-11-11 11:12:59.609248 INFO AppDaemon: Got initial state from namespace default
2021-11-11 11:13:01.457781 INFO AppDaemon: Scheduler running in realtime
2021-11-11 11:13:01.469940 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2021-11-11 11:13:01.484407 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hass_apps_loader.py - ignoring
2021-11-11 11:13:01.489322 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/schedule_heating.py - ignoring
2021-11-11 11:13:01.493325 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/hello.py
2021-11-11 11:13:01.516644 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello
2021-11-11 11:13:01.984273 INFO hello_world: Hello from AppDaemon
2021-11-11 11:13:01.988963 INFO hello_world: You are now ready to run Apps!
2021-11-11 11:13:01.995478 INFO AppDaemon: App initialization complete

User error!  I was saving my hass-apps app files as .py instead of .yaml.


text:
Update seo_extension_field.twig

Fix for #33.
Changed seovalues.meta_robots, which appears to be an invalid field in the form, allowing saved value to be retained when revisited.
Changed slug ID reference in JS to match permalink field ID.
Also corrected keywords label bound.

Thank you! 👍

authors: bobdenotter stevenknibbs

repo: bobdenotter/seo


text:
Auto tests

Implemented auto tests for User, Event models and Index view. Updated model save, need some workaround with timezones still

What’s different in automated tests is that the testing work is done for you by the system. You create a set of tests once, and then as you make changes to your app, you can check that your code still works as you originally intended, without having to perform time consuming manual testing.

repo: bodlan/calendly-pet


text:
🛑 MernDashboard is down

In b1d69b1, MernDashboard (https://merndashboardbackend.onrender.com/db-status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MernDashboard is back up in a628b11 after 14 minutes.

repo: bogotas/upptime


text:
Examples don't work

I need help. I'm trying to figure out how the calendar works, but the code I paste from the examples doesn't work. Why?
Compose Version: 1.3.1
Compose Calendar Version: 1.1.0

@n7arti Hi! As for the parameterName, there is an errorin Readme, it should be called initialMonth I will fix it shortly. As for the plusYears function, you are trying to invoke, you are using YearMonth from the kotlinx.datetime package. There is no plusYears function there, you have to either use java.time import, which I would suggest for your case, or use plus(1,  DateTimeUnit.YEAR) from kotlinx.datetime package

repo: boguszpawlowski/ComposeCalendar


text:
datashader on pypi

Why is Datashader still not on PyPi ? via a wheel, you can specify the dependancy on numba, then on llvmlite, ... etc ... etc... so the sentence Datashader is not currently available on PyPI, to avoid broken or low-performance installations that come from not keeping track of C/C++ binary dependencies such as LLVM (required by Numba). doesn't seem to make sense, and low performance is not an issue in worst case.

As far as I know all the issues mentioned there still apply:

The datashader team could make a wheel, but datashader doesn't include any binary components, so that wouldn't help anything
The numba team has not to my knowledge made a numba wheel; last I heard there were some technical issues that were preventing that, but I don't know the current status.
Once there is a numba wheel, we can very easily make a pip release of datashader, but until then there's no point
We could fairly easily make a low-performance version of datashader that does not depend on numba, but we don't have any interest in doing so -- we ourselves only use datashader for large datasets, so would never use some hobbled version of it anyway.

If you're interested in supporting low-performance datashader by making numba optional, I'd be happy to consider a PR, but otherwise I don't think there's anything that datashader can do about this...

authors: jbednar stonebig

repo: bokeh/datashader


text:
Pip Install Fails

When I install with pip as per the README, ipython cannot find the kernel.
Relevant errors:
[I 13:34:25.749 NotebookApp] Kernel started: 5a755bf0-2175-4f83-aafa-366e9d5d5560
/usr/bin/python: No module named hy_kernel
[I 13:34:28.751 NotebookApp] KernelRestarter: restarting kernel (1/5)
/usr/bin/python: No module named hy_kernel
[I 13:34:31.754 NotebookApp] KernelRestarter: restarting kernel (2/5)
/usr/bin/python: No module named hy_kernel
[I 13:34:34.764 NotebookApp] KernelRestarter: restarting kernel (3/5)
/usr/bin/python: No module named hy_kernel
[W 13:34:35.779 NotebookApp] Timeout waiting for kernel_info reply from 5a755bf0-2175-4f83-aafa-366e9d5d5560
[I 13:34:37.770 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel 5a755bf0-2175-4f83-aafa-366e9d5d5560 restarted
/usr/bin/python: No module named hy_kernel
[W 13:34:40.776 NotebookApp] KernelRestarter: restart failed
[W 13:34:40.776 NotebookApp] Kernel 5a755bf0-2175-4f83-aafa-366e9d5d5560 died, removing from map.
ERROR:root:kernel 5a755bf0-2175-4f83-aafa-366e9d5d5560 restarted failed!

[W 13:34:40.822 NotebookApp] Kernel deleted before session
[W 13:34:40.823 NotebookApp] 410 DELETE /api/sessions/471112b4-1085-4035-9c8b-cadf970242aa (127.0.0.1) 2.22ms referer=http://localhost:8888/notebooks/classwork/hoeferlab/linefit/04%20Usable%20Space-Hy.ipynb

I'll have a look at it... but it might be this weekend! hy_kernel certainly
needs some love.
what versions of things are you running? pip freeze might help.
On Thu, Nov 19, 2015 at 3:45 PM Will F notifications@github.com wrote:

When I install with pip as per the README, ipython cannot find the kernel.
Relevant errors:
[I 13:34:25.749 NotebookApp] Kernel started: 5a755bf0-2175-4f83-aafa-366e9d5d5560
/usr/bin/python: No module named hy_kernel
[I 13:34:28.751 NotebookApp] KernelRestarter: restarting kernel (1/5)
/usr/bin/python: No module named hy_kernel
[I 13:34:31.754 NotebookApp] KernelRestarter: restarting kernel (2/5)
/usr/bin/python: No module named hy_kernel
[I 13:34:34.764 NotebookApp] KernelRestarter: restarting kernel (3/5)
/usr/bin/python: No module named hy_kernel
[W 13:34:35.779 NotebookApp] Timeout waiting for kernel_info reply from 5a755bf0-2175-4f83-aafa-366e9d5d5560
[I 13:34:37.770 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel 5a755bf0-2175-4f83-aafa-366e9d5d5560 restarted
/usr/bin/python: No module named hy_kernel
[W 13:34:40.776 NotebookApp] KernelRestarter: restart failed
[W 13:34:40.776 NotebookApp] Kernel 5a755bf0-2175-4f83-aafa-366e9d5d5560 died, removing from map.
ERROR:root:kernel 5a755bf0-2175-4f83-aafa-366e9d5d5560 restarted failed!
[W 13:34:40.822 NotebookApp] Kernel deleted before session
[W 13:34:40.823 NotebookApp] 410 DELETE
/api/sessions/471112b4-1085-4035-9c8b-cadf970242aa (127.0.0.1) 2.22ms
referer=
http://localhost:8888/notebooks/classwork/hoeferlab/linefit/04 Usable Space-Hy.ipynb
—
Reply to this email directly or view it on GitHub
https://github.com/bollwyvl/hy_kernel/issues/19.

Hey, not sure if this is the same problem, but I had very similar error messages. Turns out the problem was that I had installed hy_kernel under Python 3 (since I now prefer developing using Python 3), but Jupyter was trying to start the kernel using /usr/bin/python, which is usually Python 2. (You can see this in the console output /usr/bin/python: No module named hy_kernel )
I worked around the problem by editing the file
~/.local/share/jupyter/kernels/hy/kernel.json
and changing the second line
"argv": ["python", "-m", "hy_kernel.hy_kernel", "-f", "{connection_file}"],
to
 "argv": ["python3", "-m", "hy_kernel.hy_kernel", "-f", "{connection_file}"],
That´s pretty quick-and-dirty though, a more permanent fix is needed. Also, not sure if this will solve the OP´s problem.

authors: bollwyvl hacdevilliers willzfarmer


text:
Selection when code folded

Fixed.

repo: bonecode/TBCEditor


text:
OnCustomLineColors's ALine parameter does not honor folded lines

OnCustomLineColors's ALine parameter does not honor folded lines

Fixed.

authors: EricGrange bonecode


text:
decrease needed amount and change decimals

Since the update to using the defined strategy, this changes the reported amount and our minimum needed

@brockelmore You do not need to change the decimal, the strategy decimals will be used.

authors: brockelmore e-asia

repo: bonustrack/snapshot-spaces


text:
Fix building on non windows with mono (test)

trying to fix https://github.com/boo-lang/boo/pull/127

closing in favour of https://github.com/boo-lang/boo/pull/128

repo: boo-lang/boo


text:
[김찬우] 레이 캐스팅 컴포넌트 추가 및 장식 렌더링 테스트

💡 완료된 기능

[x] 레이 캐스팅 컴포넌트
[x] 선물 상자 모델 렌더링

📷 완료된 기능 사진

레이캐스터가 현재 카메라 시점에서 광선을 쏘는 메서드  raycaster.intersectObjects(scene.children, true);  를 통해
광선을 통과한 object 들이 배열로 리턴되어 첫 번째 인덱스가 곧 현재 카메라 시점에서 본 첫번째 모델입니다.

issue #20 해결완료


text:
Add mingw extern c for intrinsics

Closes: #196

@Flamefire What is the proper way to pass a flag to b2 with boost-ci? I added https://github.com/boostorg/charconv/pull/197/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR749 but when the command is called it doesn't have the proceeding cxxflags: https://github.com/boostorg/charconv/actions/runs/9028608642/job/24809413066?pr=197#step:7:57

@Flamefire What is the proper way to pass a flag to b2 with boost-ci?

I had to look that up too as it isn't obvious: When writing the CI (shell) scripts we had to ensure compatibility with Boost repositories already in use without requiring all of them to update. Those used B2_CXXFLAGS=cxxflags=-flag which made the configs harder to read then necessary.
The detection of updated configs is done by setting B2_CI_VERSION=1 (which allows to do changes by increasing that at some point). So add BOOST_CI_VERSION: 1 to https://github.com/boostorg/charconv/blob/02c6e699166bdc31bcfd21c49b9c6b4e22971eab/.github/workflows/ci.yml#L20-L23, see https://github.com/boostorg/boost-ci/blob/cad342d3aafbc1d4faa995ada544c4b66bcdf4ad/.github/workflows/ci.yml#L29

@Flamefire What is the proper way to pass a flag to b2 with boost-ci?

I had to look that up too as it isn't obvious: When writing the CI (shell) scripts we had to ensure compatibility with Boost repositories already in use without requiring all of them to update. Those used B2_CXXFLAGS=cxxflags=-flag which made the configs harder to read then necessary.
The detection of updated configs is done by setting B2_CI_VERSION=1 (which allows to do changes by increasing that at some point). So add BOOST_CI_VERSION: 1 to
https://github.com/boostorg/charconv/blob/02c6e699166bdc31bcfd21c49b9c6b4e22971eab/.github/workflows/ci.yml#L20-L23
, see https://github.com/boostorg/boost-ci/blob/cad342d3aafbc1d4faa995ada544c4b66bcdf4ad/.github/workflows/ci.yml#L29

CI looks good with this addition. Thanks as always for the help.

authors: Flamefire mborland

repo: boostorg/charconv


text:
Fix markdown link to boost.org

A simple fix for the README

Merged in #337 rev b52b0ea6429c393485f8ea27ab5edd678823e65a. Thanks for the patch!

authors: jeanpehk raffienficiaud

repo: boostorg/test


text:
Footer on woocommerce /shop page is not full width

Hello Basti, I am facing this issue with the footer for some reason I can't seem to get it to appear full width on the assigned shop page for woocommerce. I understand that this page corresponds to content-product.php I have tried to manipulate it with no success and was wondering if you could point me to the right direction. I have made a woocommerce folder on my child theme and copied content-product.php there everything seems to be working fine it reacts to changes made on it but I am unable to make the footer fullwidth as in the rest of the pages. This is the shop page: https://akvrmvlakis.a2hosted.com/shop/ and I want to make the footer look like here on the home page: https://akvrmvlakis.a2hosted.com/ These are the contents of content-product.php:

/**
 * The template for displaying product content within loops
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/content-product.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce/Templates
 * @version 3.6.0
 */

defined('ABSPATH') || exit;

global $product;

// Ensure visibility.
if (empty($product) || !$product->is_visible()) {
  return;
}
?>

  <div <?php wc_product_class('card h-100 d-flex text-center', $product); ?>>
    <?php
    /**
     * Hook: woocommerce_before_shop_loop_item.
     *
     * @hooked woocommerce_template_loop_product_link_open - 10
     */
    do_action('woocommerce_before_shop_loop_item');

    /**
     * Hook: woocommerce_before_shop_loop_item_title.
     *
     * @hooked woocommerce_show_product_loop_sale_flash - 10
     * @hooked woocommerce_template_loop_product_thumbnail - 10
     */
    do_action('woocommerce_before_shop_loop_item_title');
    ?>

      <?php
      /**
       * Hook: woocommerce_shop_loop_item_title.
       *
       * @hooked woocommerce_template_loop_product_title - 10
       */
      do_action('woocommerce_shop_loop_item_title');
      /**
       * Hook: woocommerce_after_shop_loop_item_title.
       *
       * @hooked woocommerce_template_loop_rating - 5
       * @hooked woocommerce_template_loop_price - 10
       */
      do_action('woocommerce_after_shop_loop_item_title');

      /**
       * Hook: woocommerce_after_shop_loop_item.
       *
       * @hooked woocommerce_template_loop_product_link_close - 5
       * @hooked woocommerce_template_loop_add_to_cart - 10
       */
      do_action('woocommerce_after_shop_loop_item');
      ?>

Many thanks in advance and much love I'll move on with the translation as soon as I am done with this project.

Hi,
Seems there is a closing
 tag missing somewhere. Think this is in woocommerce.php, because this bug is on product pages too https://akvrmvlakis.a2hosted.com/product/folder-a4-1-όψη/.
Have you edited this file in your child? If so, delete it and start doing changes with a fresh copy of this file.
Does this help?

Hello Basti,
Indeed you were right! I placed a copy of woocommerce.php on my child theme and deleted from that file lines 36,37,38 and it worked. Both the /shop and product pages have a regular footer now like the rest of the site.  I am including you the part of code from woocommerce.php that caused the issue thank you so much for this It's much appreciated I've been stuck on it for days.
  <?php woocommerce_breadcrumb(); ?>

You‘re welcome 👍

authors: akvrmvlakis crftwrk

repo: bootscore/bootscore


text:
Question get tags

I use codeigniter and I encode my json data like
public function tags() {
$data = array();

$query = $this->db->get('category');

$results = $query->result_array();

foreach ($results as $result) {
	$data[] = array(
		'category_id' => $result['category_id'],
		'name' => $result['name']
	);
}

$this->output ->set_content_type('application/json');
$this->output->set_output(json_encode($data));
}

Which the json output results
[{"category_id":"1","name":"codeigniter"},{"category_id":"2","name":"php"},{"category_id":"3","name":"html"},{"category_id":"4","name":"css"},{"category_id":"5","name":"javascript"}]
I when I click on the input the list does not drop down for me to select category
What am I doing wrong? Bloodhound not defined but scripts are loaded.
<input type="text" id="input-tag" />

<script type="text/javascript">
$(document).ready(function() {

var categories = new Bloodhound({
    datumTokenizer: Bloodhound.tokenizers.obj.whitespace('text'),
    queryTokenizer: Bloodhound.tokenizers.whitespace,
    prefetch: "<?php echo base_url('questions/tags');?>"
});

categories.initialize();

var elt = $('#input-tag');
elt.tagsinput({
   itemValue: 'value',
   itemText: 'text',
   typeaheadjs: {
   name: 'tags',
   displayKey: 'text',
  source: categories.ttAdapter()
}
});

});

I spent a lot of time on this issue. You can fix it like this:
var categories = new Bloodhound({     datumTokenizer: Bloodhound.tokenizers.obj.whitespace('text'),     queryTokenizer: Bloodhound.tokenizers.whitespace,     remote:{        url: "<?php echo base_url('questions/tags');?>"     } });

repo: bootstrap-tagsinput/bootstrap-tagsinput


text:
New Vue warning in version 0.24.13

Describe the bug
Since version 0.24.13 i get this console message in both Firefox and Chromium when i run my Vue3 app:
[Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.
I can not find any wrongdoing in my code. Can it be a change in the bootstrap-vue-next code?
Reproduction
https://github.com/ErikVerheul/onebacklog
Used Package Manager
pnpm
Validations

[X] Have tested with the latest version. This is still alpha version and sometime things change rapidly.
[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

which file gives that error? You might be passing a ref of a ref or something like that, or watching route object (just based on 1min of googling).
Please provide a reproduction that doesn't require an installation of other software and configurations.

Sorry for the inconvenience. I should have put this as question. For what i could see in the browser debugger the problem has a relation with the use of JSON.stringify. But not in my code. I try to recreate the bug with stackblitz but without success until now.

only json.stringify are in table (when sorting/filterin) and tooltip/popovet directive. Maybe the way you are using them?

I pinpointed the cause of the warning to a change in git: fix directives on element update during interaction (#2170) at September 5 by Jukka. My debugger points at line 22  el.$__binding = JSON.stringify(binding)  in the file BPopover.ts and to line 23, with the same line content, in BTooltip.ts.
I am still trying to recreate the bug but without success until now.

@ErikVerheul could you try with the pull request if that fixes your warnings?
change the version in package.json to https://pkg.pr.new/bootstrap-vue-next/bootstrap-vue-next@2208 and run pnpm/npm/yarn i

YES! Problem solved, the warning is gone. I had to install pnpm and to run 'pnpm i'. However i got a totally unrelated error:
Uncaught TypeError: this.emitter is undefined     update 						quill.js:4401     quill @vueup_vue-quill.js:7147     ScrollBlot2 quill.js:7190     Scroll2 quill.js:4227     create quill.js:184
I look forward to your next release with your fix. Meanwhile i undo the changes pnpm introduced and use npm. I expect the new error to disappear.
By the way, i thank you for your effort to create this great peace of software.

I'll release a new one later today

authors: ErikVerheul xvaara

repo: bootstrap-vue-next/bootstrap-vue-next


text:
no_engine_registered

Hello, try to run and got an error:
{error,
{{shutdown,
{failed_to_start_child,gcm_server,
{bad_return_value,
{xml_parser,options,no_engine_registered,undefined}}}},
{gcm_ccs_app,start,[normal,[]]}}}
Could you please check your expat version?

Hi
Unfortunately I am travelling at the moment and dont have my dev machine with me so I cant replicate the issue till later this week. I suspect that the environment variables needed for the config on your GCM server are not being set.
These need to be set in the gcm_ccs.app.src file:
{pkg, "pkg.name.from.app"},
{gcm_sender_id, "GCM_SENDER_ID@gcm.googleapis.com"},
{pwd, "API_KEY"}
The can also be over-ridden in the rebar config. To confirm if this is the issue please run application:get_env(gcm_ccs, pwd). on your erlang node running gcm_ccs and see what the output is.
Thanks,

Hi, thanks for quick answer.
I found a solution.
Just installed expat 2.0.1 from sources, reconfigured and reinstalled exmpp.
Thanks.

authors: Prots boozelclark


text:
update to api@0.5.0

update to api@0.5.0 and add the offical tutorial code

@DanielRosenwasser can I merge this PR?

@DanielRosenwasser yes please :)

After speaking with @mhegazy, I'm not sure whether having this .d.ts here makes sense anymore, given than TypeScript 1.6 will do the "correct" node module resolution and find the supplied .d.ts files in node_modules/typescript.
What makes a little more sense is if you are writing a non-CommonJS app, in which case you might want to use our built\local\typescript_standalone.d.ts.

@DanielRosenwasser I think ide will need this. If you make typescript project ignore the node_modules folder in tsconfig.json.
Btw, I want keep all my d.ts files managed by the tsd. :)
Of course, if no need now, close this.  :)

tsc is not support for node_modules resolution for amd/umd.
I think this repository should maintain hosting .d.ts files.

Maybe you are right. I will think about it :+1:

i have created a PR for updating the typings at https://github.com/borisyankov/DefinitelyTyped/pull/6213. @vvakame if you do not think there is value in having these typings updated, feel free to close it.

authors: DanielRosenwasser TsumiNa mhegazy vvakame

repo: borisyankov/DefinitelyTyped


text:
Paralellize alerts

Create a goroutine per alert that runs the alert independently.
If one alert takes a long time, it will not affect other alerts.
The gorutine will maintain the current state for the alert, and will manage all mutations to that state (template rendering, status updating). It can then merge that state into the "global" schedule state via thread-safe mechanism. Global state will be essentially read-only.
Dependencies will be slightly affected. Alerts will still run the expressions from depended-upon alerts in real-time, but if the depended-upon alert is unknown or unevaluated, we will rely on the last known state in the global state.

Added with #1231

Dependencies will be slightly affected. Alerts will still run the expressions from depended-upon alerts in real-time, but if the depended-upon alert is unknown or unevaluated, we will rely on the last known state in the global state.

does this change dependency semantics from "use current dependency status" (as it was before), to "use either the current dependency status or the dependency status of the previous run" ?
if so, i wonder if there's a nice way to solve this, perhaps still orchestrating an order in between otherwise parrallel running alerts.

authors: Dieterbe captncraig

repo: bosun-monitor/bosun


text:
Variable Bracing doesn't work with Macros

template test {
	subject = {{.Last.Status}}: Slow rendering for {{.Group.route}} in {{.Lookup "country" "name"}}
	body = `
	{{ template "header" . }}
	Name: {{ .Lookup "country" "name" }}
	<br/>
	{{ .Eval .Alert.Vars.sample_count }}
	`
}

macro ct {
	#$filter = limit(sort(sum(q("zimsum:${metric_base}_count{$tagset}", $time, "")), "desc"), 5)
	$sample_count = sum(q("zimsum:${metric_base}_count{$tagset}", $time, ""))
	$stat = q("avg:${metric_base}_median{$tagset}", $time, "")
    warn = avg($stat) > lookup("country", "avg_threshold") && $sample_count > 1000
    #warn = $sample_count
}

alert ct.by_country {
   	template = test
	$route = *
	$tagset = country=*,route=$route,protocol=http
	$metric_base = time.client.dom_complete.by_country
	$time = "24h"
	macro = ct
}

returns:
conf: Test Config:2930:1: at <macro = ct>: unknown variable $metric_base_count
However
alert ct.by_country {
	template = test
	$route = Home/Index
	$tagset = country=*,route=$route,protocol=http
	$metric_base = time.client.dom_complete.by_country
	$time = "24h"
	$sample_count = sum(q("zimsum:${metric_base}_count{$tagset}", $time, ""))
	$stat = q("avg:${metric_base}_median{$tagset}", $time, "")
    warn = avg($stat) > lookup("country", "avg_threshold") && $sample_count > 1000
}

Works fine

Seems like this was fixed at some point, works okay now in master.


text:
Widget doesn't display after empty div container for versions > 0.7

I'm creating an instance of the widget using a js function called by a menu of buttons on the main page.
Before calling WebChat.default.init() I clean the div container, where the widget is located, using .empty().
The widget appears the first time the page is loaded. However, when clicking the button, the widget dissapears (as expected) but it doesn't appear anymore.
Both WebChat.isOpen() and WebChat.isVisible() return true even when the widget is not displayed on the page.
This behaviour only occurs for versions > 0.7. For <= 0.7, the widget reloads every time the button is clicked.
I know this is no forum but any help or workaround will be appreciated.

Hi, can you share a reproducible example ? Preferably with codepen or a similar tool ?

Hi, thanks for the reply.
The relevant parts of the code are:
<!DOCTYPE html>

  <meta charset="UTF-8">
  <title>Ayuntamiento - Chatbot</title>
  <link rel="stylesheet" href="static/css/main.css">

Català

Castellà

and
$(document).ready(function() {

  const load_chat = lang => {
    const container = $("#webchat");

    // remove the previous chat window, if any
    container.empty();

    // debug - don't preserve state upon page reload
    localStorage.clear();
    sessionStorage.clear();

    var initPayload = "/start";
    var socketUrl = "http://localhost:5005";
    var title = "Assistent Virtual d'Hisenda";
    var subtitle = "Ajuntament X";
    var inputTextFieldHint = "Escrigui aquí";
    var connectingText = "Connectant amb servidor ...";

    WebChat.default.init({
      selector: "#webchat",
      interval: 1000, // 1000 ms between each message
      initPayload: initPayload,
      customData: { 'lang': lang }, // arbitrary custom data. Stay minimal as this will be added to the socket
      socketUrl: socketUrl,
      socketPath: "/socket.io/",
      title: title,
      subtitle: subtitle,
      inputTextFieldHint: inputTextFieldHint,
      connectingText: connectingText,
      hideWhenNotConnected: false,  // TODO true
      fullScreenMode: false,
      profileAvatar: "./static/images/avatar.png",
      params: {
        storage: "local" // can be set to "local"  or "session". details in storage section.
      }
    });
    WebChat.open();
  };
  load_chat('ca');
});

CSS :
* {
	font-family: arial;
}

body {
	background-color: #CCC;
}

.languagepicker {
	background-color: #FFF;
	display: inline-block;
	padding: 0;
	height: 40px;
	overflow: hidden;
	transition: all .3s ease;
	margin: 0 50px 10px 0;
	vertical-align: top;
	/* float: left;*/
}

.languagepicker:hover {
	/* don't forget the 1px border */
	height: 81px;
}

.languagepicker a{
	color: #000;
	text-decoration: none;
}

.languagepicker li {
	display: block;
	/*vertical-align: middle;*/
	padding: 0px 20px;
	line-height: 40px;
	border-top: 1px solid #EEE;
}

.languagepicker li:hover{
	background-color: #EEE;
}

.languagepicker a:first-child li {
	border: none;
	background: #FFF !important;
}

.languagepicker li img {
	vertical-align: middle;
	margin-right: 5px;
}

.roundborders {
	border-radius: 5px;
}

.large:hover {
	/*
	don't forget the 1px border!
	The first language is 40px heigh,
	the others are 41px
	*/
  }

Thanks in advance

authors: MatthieuJnon leandroPGC

repo: botfront/rasa-webchat


text:
customcommands: add Size field to LightDBEntry

Add (approximate) Size to the LightDBEntry struct, set to the length of
the raw byte value.
It should be noted that, although this reading may be inaccurate,
internally we already limit the raw byte value to 100_000 in length;
thus, this change (and by extension this reading) is consistent with how
entry size is already determined.
As an added bonus, and because it was requested in
botlabs-gg/yagpdb#1590, I've also added the size reading to the therein
introduced view page.
I believe to recall that such a thing was either suggested in
#suggestions, or that it was requested in a drive-by comment in one of
the help channels; but I cannot find either.
Signed-off-by: Luca Zeuch l-zeuch@email.de

.ValueSize would be more in the context of what size it is

Fair enough. I've pushed a fixup just now.

authors: l-zeuch mrbentarikau

repo: botlabs-gg/yagpdb


text:
Feature: Paginator For OpenSearch Client

Describe the feature
Add paginator support for OpenSearch Client.
Use Case
With this feature, we can use paginator for the OpenSearch APIs with Max Results limit, instead of looping with NextToken manually. Something like
instances = []
opensearch = boto3.client('opensearch')
paginator = opensearch.get_paginator('describe_reserved_instances')
for page in paginator.paginate():
    instances.extend(page['ReservedInstances'])

Proposed Solution
Update paginators-1.json of opensearch
Other Information
No response
Acknowledgements

[x] I may be able to implement this feature request
[ ] This feature might incur a breaking change

SDK version used
Python SDK Botocore 1.x
Environment details (OS name and version, etc.)
macos

Thanks for the feature request and for creating that PR. Paginator models are owned and maintained upstream by service teams, because they are used across AWS SDKs. Therefore the OpenSearch team would need to release these paginator models directly in order for SDKs like Boto3 to use them.
I have created an internal feature request for that service team to add the paginator models from your PR. I'm going to close this since the feature request won't be tracked here, but please refer to the CHANGELOG for future updates.

authors: digglife tim-finnigan

repo: boto/botocore


text:
Implement GetObject workers for process pool

These workers will be ran to fulfill GetObject requests to complete a file download

@stealthycoin I update based on feedback and responded to a couple of your comments. It should be good to look at/reply back.


text:
MOB-27: Following and Unfollowing Functionality

What's up?
As a user of Artopia, one can follow or unfollow a user by simply clicking a button in the related user's profile page. This change should also be viewed from followers/following page in the profiles.
To Do

[x] A follow unfollow button should be implemented.
[x] Sudden and fast increase/decrease in the followers/following numbers should be provided. (before the backend request)

Deadline
27.12.2022 @13.00
Additional Information
No response
Reviewers
@ooodogodogodogo @mustafa-cihan

@MustafaEmreErengul works fine. closing.

authors: MustafaEmreErengul mustafa-cihan


text:
hdf5 chunks and compression options

This change introduces options for using hdf5 chunks and compression.

Codecov Report
Patch coverage: 81.15% and project coverage change: -0.01 :warning:

Comparison is base (36785cc) 80.81% compared to head (cff026f) 80.81%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #706      +/-   ##
==========================================
- Coverage   80.81%   80.81%   -0.01%
==========================================
  Files         189      189
  Lines       32163    32219      +56
==========================================
+ Hits        25993    26037      +44
- Misses       6170     6182      +12

Impacted Files
Coverage Δ

resqpy/property/property_collection.py
82.79% <57.14%> (-0.16%)
:arrow_down:

resqpy/olio/write_hdf5.py
65.62% <83.33%> (+5.62%)
:arrow_up:

resqpy/property/_property.py
91.26% <100.00%> (ø)

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: andy-beer codecov-commenter

repo: bp/resqpy


text:
Make codegen compatible with libbpf

This adds two changes to codegen which make the produced ELF files compatible with what libbpf expects:

libbpf identifies BPF programs by LLVM function names rather than by section names (as we do in bpftrace now) so sanitize the function name and unify it with function name. In particular, the LLVM function name is now <attach_point_name>_<usdt_index>_<probe_index> (where the _<usdt_index> part is optional) and the section name just prepends s_ to it.
BPF program license (GPL) is stored in codegen as a global string variable in the license section:

@LICENSE = global [4 x i8] c"GPL\00", section "license"

Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

Can you also make the section name compatible with libbpf ? Last time I played with veristat but it can't recognize the ELF file generated. Thanks.

Can you also make the section name compatible with libbpf ? Last time I played with veristat but it can't recognize the ELF file generated. Thanks.

Since the section name is now just "s_" + function_name, it is compatible, too.

Can you also make the section name compatible with libbpf ? Last time I played with veristat but it can't recognize the ELF file generated. Thanks.

Since the section name is now just "s_" + function_name, it is compatible, too.

I haven't tried this patch, but I don't think so. Libbpf expects canonical section names like "uprobe", "kprobe" etc.

I haven't tried this patch, but I don't think so. Libbpf expects canonical section names like "uprobe", "kprobe" etc.

Ah, sorry, I misunderstood your comment.
Yes, libbpf uses canonical section names for the purpose of auto-attachment of the BPF programs. Since we don't use libbpf to do the attachment, it is not necessary for us to use these. I have that on my todo list after #2334 is done.
On the other hand, if veristat requires the canonical section names and it makes sense to use veristat for bpftrace-generated ELFs, we may want to implement this independently. I wouldn't add it to this PR, though, since it may require more work than anticipated. For example, we support the kfunc:module:function syntax which was not supported by libbpf until very recently (and there may be more such cases). Once this PR is merged, I'll open an issue to track that.

authors: chenhengqi viktormalik

repo: bpftrace/bpftrace


text:
Provide the multiselect component

Is your feature request related to a problem? Please describe
In one of my projects we needed to use the select component with possibility of choosing more than one option.
Describe the solution you'd like
I think there is a possibility to add a new  select prop ( something like "isMulti": boolean) and let users choose as much options as they want.
If applicable, I can start working on the solution in due time.

Happy to take a contribution on this.

authors: etozhealkhipce nikku

repo: bpmn-io/properties-panel


text:
Investigate replacing custom connected-component labelling with 3rd party library

I've come across https://github.com/seung-lab/connected-components-3d, which seems like a mature and well used (~250 stars) library for connected component labelling. It would be good to investigate whether we can replace the custom connected component labelling with this library, to reduce the maintenance burden in cellfinder-core.

I've realised that one issue of using an external library is it might require loading all the planes in memory at once, which we don't want to do. So perhaps best to close this?

Would it? Could we not just call it only the planes currently in memory?

authors: adamltyson dstansby

repo: brainglobe/cellfinder-core


text:
Piotr szlagura active classname for every visible item

Deployed to https://beghp.github.io/gh-pages-rc-11- [ ] package.json:version has been updated with npm version patch (or major/minor as appropriate)- [ ] @brainhubeu/react-carousel version has been updated in docs-www/package.json to the same which is in package.json:version

@PiotrSzlagura
I see it's generally fixed but the first image, which is only partially shown, doesn't have the BrainhubCarouselItem--visible class.

I'm not sure whether it should.
And what is your expectation?

@piotr-s-brainhub My goal was to add this className only to elements that are fully visible, but as I mentioned in my PR's description it could (and probably will) not work well with offset.

I checked it works correctly - for each fully visible image, there's BrainhubCarouselItem--visible class.
Nothing is broken.
Regarding offset, we have already some problems with it (at least #341 ).

Not working in this scenario:

@humbak You're right, I never tested it with itemWidth set. This is weird though, shouldn't there always be 2 items per page, even though smaller width allows more?

@humbak Isn't that fault of itemWidth property which overrides slidesPerPage? I think in the scenario provided by you we should see 2 slides and appropriate offset around each slide, but instead of this we see multiple items

@PiotrSzlagura I focused more on itemWidth but I agree with you and @RobertHebel that we have here the second issue and that second is not connected to this feature.

Blocked because: We shouldn't merge it before itemWidth props will be also supported.
Nice to have: if it possible please add --partially-visable to items partially visabled

@humbak I think it's a good idea, though this PR is no longer mine and I'm not sure if I can make changes here

@PiotrSzlagura
in order to make changes, please open a PR from your fork to the main repo, PiotrSzlagura-active-classname-for-every-visible-item branch`

Closing this branch and opening the new one with feature/ prefix

authors: PiotrSzlagura RobertHebel humbak piotr-s-brainhub

repo: brainhubeu/react-carousel


text:
Online tutorial

We could implement "first time" tutorial features that will guide new users to navigate our various functionalities. For example, when user login for the first time, we could show text bubbles suggesting users to create a new project, then once a new project is created, how to upload a test dataset, show difference between clicking dataset v.s. selecting it, and how to launch visualizer, etc..
We should implement this so that we could also use this to show new features once they become available.

@soichih +1, we can do this also in preparation for the class in Spring.

I've been imagining something like this that gets displayed on the right hand size of the process page that will guide the user through the submission of various data processing steps. We could take what @bacaron has written and turn it into a automated tutorials that detects what users is doing, or has done, and guide the user step-by-step on what needs to be done to successfully run all necessary apps, and what each app does.

authors: francopestilli soichih

repo: brainlife/warehouse


text:
Jog wheel buggy on alternative Jog sources

The script by rd3d2 to focus the playlist also focusses when you use other Jog sources. This results in some buggy behaviour.
This should be fixed.

Fixed in https://github.com/bramdebouvere/fltouch/commit/af4bdb04b82728ea955e3a83651117db640fe8fc

repo: bramdebouvere/fltouch


text:
jQuery can't find sequenceDiagram function

This code gives error : "test.html:13 Uncaught TypeError: $(...).sequenceDiagram is not a function
at test.html:13"
<!DOCTYPE html>

A->B: Message

..because, jquery should be loaded first!!! like below
<!DOCTYPE html>

                Title: Simple diagram aasd
                Participant B
                Participant A
                A->B: Message
                B->A: egassem
                C->A: Request token
                A->B: Forward request
                B->>C: Send token

repo: bramp/js-sequence-diagrams


text:
[Feature Request] Real Power Sensor Device Association

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
I have a bunch of energy sensors in my apartment. Some of which are Power Strips (TP Link's Kasa smart power strips)
I have devices plugged into them, which are supported by multiple integrations. Let's say a Roku TV for example. It's frustrating that I can look at the Roku and see each integration that uses that device, except the power meter.
Describe the solution you'd like
I'd like to be able to add an energy sensor to the Roku TV, which is just cloning and hiding the real power sensor from the power strip. I think this integration could pull it off, I'd just need a secondary option to the "Real Power Sensor" which would be me providing a device to associate it to. (Basically, a virtual power for that device, from a "Real Power Sensor"
Describe alternatives you've considered
I've considered maybe reaching out to HA, on a way to associate entities between integrations. But, I think I need to come up with a more generic proposal before I go that route.
Additional context
None Applicable.

@DellanX I have added some feature #2056, however this only applies to the energy sensor generated by powercalc.
So with this feature you are able to attach the energy sensor to another device (in your case Roku TV)
On hindsight I'm reading your question again, but I think you were talking specifically about the power sensor (W), not the energy sensor (kWh).
The "Real power" option for powercalc is exactly the same as the "Riemann integral sum" helper which HA core provides, but with a few additional options.
The purpose is to create an energy sensor for an existing power sensor.
Your feature requests seems about replacing the existing power sensor with some proxy entity provided by powercalc.
But this is not something I'm going to add in powercalc, as it is out of scope for the integration. Don't want to "pollute" it with this kind of exotic feature, which almost nobody would use, and also difficult to understand for most users.
Your question essentially boils down to be able to attach a given entity to multiple devices, but I think this will never be possible in HA, as this requires massive architectural changes.
When you want some kind of proxy sensor you could just do with a template sensor in HA, and make a feature request for the ability to add a template sensor to a specific device. I think this feature was requested multiple times before on community forum, so you could also cast your vote there.

authors: DellanX bramstroker

repo: bramstroker/homeassistant-powercalc


text:
cannot measure on Monterey - ModuleNotFoundError: No module named 'decouple'

Hi, I have followed the instructions for measuring but Monterey 12.3.1 tells me:
Traceback (most recent call last):   File "/Users/stooovie/Downloads/homeassistant-powercalc-master/utils/measure/measure.py", line 16, in <module>     from decouple import Choices, config ModuleNotFoundError: No module named 'decouple'
It's the same in venv as well as native. I'm not a dev so I can't fix this myself. Please help.
EDIT: tried to install requirements.txt with pip3 instead of pip but now I'm getting
ImportError: cannot import name 'Mapping' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)

Did you also follow instructions here?
https://github.com/bramstroker/homeassistant-powercalc/blob/master/utils/measure/README.md
Looks like you did not install the dependencies correctly resulting in this error.
Anyway the docker image will be much easier to use as all the dependencies are already taken care of. And also python version etc. are fixed there.
Should be plug and play.
Just install docker desktop for MAC https://www.docker.com/get-started/. And follow the rest of the instructions. This should get you up and running.
hope this helps.

BTW on Windows 10 with Python 3.10, it´s the exact same issues. I´m following the instructions 1:1. .env.dist IS renamed to .env, the info inside is correctly filled in.
I´ll just use Docker, I didn´t have it installed (HA runs on Pi), so I tried just using native Python. Thanks.

@Stooovie what smart plug are you using? Power measurement is outdated means the measure script did not get an recent enought reading from the smart plug. It validates that the power reading was taken after the light setting was switched to another brightness/color, when this is not the case it tries 5 more times and aborting the script when still no reading.
So apparantly your smart plug does not report frequent enough. You could have a look into configuration of your smart plug it this can be changes.
You could also change the SLEEP_TIME to give the script some more time. Now it aborts after 10 seconds (5 times 2 seconds). When you set it to 5 it the script will take a little longer, but it will allow for 25 seconds.
Hope this helps a bit.

authors: Stooovie bramstroker


text:
Add Zigbee2Mqtt alias for LWA004 for autodiscovery

I added the alias, which is detected by zigbee2mqtt. This will allow the light to be autodiscovered.

Thanks for the contribution.

authors: bramstroker vahaldor


text:
Python 3 dependency

Unfortunately it's a bit of a problem for me to depend on Python 3. I tried modifying kernel.json to use Python 2, but it ran into a string processing error. Do you know if it would be difficult to make it work with Python 2? Thanks!

Hi,
The project does not intend to support Python 2 unfortunately :(

authors: brendan-rius thomasjm

repo: brendan-rius/jupyter-c-kernel


text:
chore(deps): update WPF to Caliburn.Micro 3.0.1

NOTE: could not update other platforms, we don't have them available at the moment

@brendankowitz Regarding this pending PR and another one ( #2 ), would you consider adding someone as a contributor, so to look after those?
Thank you
(Apologies for crossposting with Twitter, not sure how we can get in contact with you)

Thanks for the PR, since this nuget contains autofac integration for a number of platforms we should have a consistent package.
I will add you as a collaborator as it would be good to get everything up to date

Thanks for adding me/my team.
Only issue with this particular change was that on dev machine I could not open Windows Phone related projects, no WP8 SDK installed.
Let me see how it goes as soon as I manage to download & install SDK.

Perhaps it would be better to just remove the WP8 project. I would be ok this since WP10 is released.

I see (and that would be an easy start with project 😺 ). So looking at current projects:

Caliburn.Micro.Autofac.Packaging
Caliburn.Micro.Autofac.UniversalApps
Caliburn.Micro.Autofac.WinPhoneUniversal
Caliburn.Micro.Autofac.WP8
Caliburn.Micro.Autofac.WPF
samples\Sample-Win81
samples\Sample-WP7
samples\Sample-WP81
samples\Sample-WPF

are you suggesting to remove the following WP7/ WP8/ WP81 related ones?

Caliburn.Micro.Autofac.WP8
samples\Sample-Win81
samples\Sample-WP7
samples\Sample-WP81

Please, regarding removing WP8 projects, have a look at PR #3

Closing this PR as related work is happening now on branch caliburn-micro-3.0.1

authors: BrainCrumbz brendankowitz


text:
Issue with ordering of items when called through a parent.create

Example:
List -> ListItem -> Item
When creating a new List with item_ids the ordering of some elements will not be correct.
30.times { |t| Item.create(name: "Item #{t}") }

List.create(name: "List 1", item_ids: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30])

On the initial create the ordering is set correctly, however there's a secondary save which doesn't update the ordering of all the items which had an initial order of MAX_ORDER_NO=8388607.
Expected output:
ListItem.ordered.map(&:id)
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]

Actual output:
ListItem.ordered.map(&:id)
[1, 24, 25, 26, 27, 28, 29, 30, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]

Sample test case:
https://github.com/raffij/ranked-model-test

@raffij seems likes a possible bug. Changing the order is a viable work around:
list = List.create(name: "List 1")
30.times { |t| Item.create(name: "Item #{t}", list: list) }

And would avoid the second update to every item. This is just a work around though, it seems possible the issues is legit.

@mixonic agreed. That's going to be the current workaround, but wanted to let you know there was an issue.
The issue occurs because once the MAX_LIMIT is hit the subsequent changes are made directly in sql. Therefore the object position attribute doesn't get updated as no reload takes place.

Closing for now. Feel free to open if it's still an issue.

authors: brendon mixonic raffij

repo: brendon/ranked-model


text:
does tyro support datetime?

I apologize if I'm missing something; I used the documentation search feature and did not find anything.
I tried just naively hooking things up and passing both an ISO8601 datetime string and a unix timestamp in, but both result in an error about string not being compatible with integer. I don't have the error handy but I can go recreate it if that would be useful.

Hi @petergaultney!
I hadn't considered datetime support, but since it's in the standard library it seems like a reasonable thing to support. I added it in #155; can try to get it in a release soon. I'll also try to make error messages for types that we don't support less cryptic.
In the meantime here's an immediate workaround:
from datetime import datetime
from typing import Annotated

import tyro

def main(
    dt: Annotated[
        datetime,
        # lambda function is a hack because `datetime.fromisoformat` signature can't be inspected at runtime...
        tyro.conf.arg(constructor=lambda string: datetime.fromisoformat(string)),
    ],
) -> None:
    print(dt)

tyro.cli(main)

This should be supported in tyro==0.8.9!

authors: brentyi petergaultney

repo: brentyi/tyro


text:
log loaded driver when using jdbcUrl (Closes #1018)

This PR closes issue #1018.

@johnou Good catch.  That's what I get for merging at 4AM.

my bad. i could just leave the value of jdbcUrl out actually.

authors: brettwooldridge goekay

repo: brettwooldridge/HikariCP


text:
[api-v2-bug] The V2 API returns oauth_v2 as method with CDP (v3) keys

When accessing the SIWC (v2) api using CDP (v3) keys, the /v2/user/auth endpoint returns
{
  "data": {
    "method": "oauth_v2",
    "scopes": [ "redacted" ]
  }
}

which is obviously the wrong method.  There should be a return value for "v3_api" or "CDP_key" or something.  This may be why transaction endpoints are requiring the OAuth2 CB-2FA-Token field even with OAuth2 is not used.

Fixed via Coinbase Support

repo: brianddk/pyexch


text:
CPAN Modules that embed polyfill.io

The CDN hosted polyfill.io script appears to have been compromised by malware, https://stackdiary.com/polyfill-compromise-hits-100000-sites-in-a-supply-chain-attack/
A git grep of a copy of MetaCPAN shows the following modules may be using it:

Mojo-DOM-Role-Analyzer https://github.com/sdondley/Mojo-DOM-Role-Analyzer/issues/10
Mojolicious-Plugin-LazyImage https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-LazyImage-0.01 not in the index and git repo seems to have been deleted

I believe this is CVE-2024-38526
Note: WWW-Wappalyzer references polyfill.io but this seems to be for analysing tech used, and not actually embedding it.

I've emailed the author of Mojolicious-Plugin-LazyImage directly, since the git repo seems to be missing.

I forgot to tag this issue in 387ef538c13f8fb4bb67a801639aaa7c1ab7c8b3 and 5f6a039b779b3196f0c004ce0a7a56cb2e0fec27

Looking closely, that CVE refers to pdoc specifically as software that uses the compromised polyfill.

I see that the tests use polyfill as you noted, and since these tests are actually run by default by cpan clients, I consider this a problem.

Also, developers will use tests as examples.

For 387ef538c13f8fb4bb67a801639aaa7c1ab7c8b3 I'd leave it as all affected versions, as there's only 0.01 anyway. If/when a new version is released that fixes the issue, we can update that.

For 387ef53 I'd leave it as all affected versions, as there's only 0.01 anyway. If/when a new version is released that fixes the issue, we can update that.

I don't think CPAN::Audit can handle an "all versions". It needs something to compare to the current version. I can see the problem if there's another release that does not fix this though.

I've released a new CPAN::Audit that contains this advisory. Thanks,

authors: briandfoy robrwo

repo: briandfoy/cpan-security-advisory