Performance of (alpha) UMLS Linker on MedMentions ?

Hi,
Just wondering if you have any results regarding the performance of the alpha UMLS linker on MedMentions, using the mention span detector you trained for en_core_sci_*.
Also, I see an F1 of 69.26 on https://allenai.github.io/scispacy/, this is the span detection performance of the latest en_core_sci_md on the test set for full data right (not st21pv) ? Is data from st21pv ever used?
The MedMentions paper only reports results for TaggerOne with a very beefy setup (0.9TB RAM!), it'd be really useful to have another baseline using scispacy, even in this alpha stage.
Thanks,
Dan

Hi Dan,
Thanks - are you specifically interested in the performance when combined with the mention span detector (i.e using predicted mention spans and not gold mention spans)?
Yes, the 69.26 F1 is the span detection F1 for the latest en_core_sci_md/sm (I can't actually remember which one, but they are essentially the same). However, this does not include performance when considering the semantic types predicted by the model, because we don't actually use those at all yet in the linker.
You are correct that the st21pv is not used at all.
Wow I did not know that TaggerOne requires 1TB RAM 😭 😭 😭
I've added some statistics below based on our development version of the linker, which was not integrated into the library. As such there may be small differences in numbers:
Document level scores
This evaluation is at the document level, based on the "bag of entities" in an abstract. I.e we are measuring the recall of gold concepts in the aggregated list of all mention candidates in the document. This is meaningful because quite often, we actually care about document level metrics (search, displaying in a UI) in practice. Additionally, it helps with the abbreviation problem, because quite often a mention will be defined in full and then used as an abbreviation.
Base Configuration

No abbreviation substitution
Mentions generated based on en_core_web_md

K
Base
+Noun Chunks
Gold Mentions

1
57.34
60.41
72.35

2
62.6
65.96
78.52

10
71.73
75.83
86.33

40
78.22
82.3
91.13

60
79.85
83.91
92.31

80
80.65
84.66
92.79

100
81.17
85.19
93.13

Soft Matching Mention level scores

No abbreviation substitution
Mentions generated based on en_core_web_md
predicted mentions are compared based on a "soft overlap", meaning that we take it to be a match with any gold mention with which it overlaps at all.

K
Recall@K

1
49.36

2
54.27

10
62.64

40
68.62

60
70.09

80
70.91

100
71.49

Finally, it's also helpful to measure normalised recall@1, where we consider only results for which the gold mention is present in the generated candidates for a given K. You can get an approximation of this just by dividing K=1/K=N (this is not quite accurate as it's possible that when we throw away entities which we can't generate candidates for, the set that is left is easier overall, so this is a slight underestimate probably). E.g normalised soft matching with predicted mentions and K=80 == 69.6% Accuracy.
Hopefully those numbers are useful for understanding the performance!
There are many pitfalls when evaluating EL systems, it's really pretty annoying. P,R and F1 really don't give you enough of an idea of how the system is performing as a whole. Let me know if you need to know anything specific about it!
Mark

Hi Mark,
Thanks for such a detailed response, it's definitely helpful! Yes, I'm interested in mention span detection and entity linking (concept recognition), under similar conditions as the MedMentions paper (though more interested on the full dataset too).
This evaluation is under slightly different conditions from the MedMentions paper (they focused on st21pv, 'hard' matches) but these results seem to suggest that your lightweight approach (even in alpha) can be competitive with the paper's very impractical baseline (maybe even better for document-level).
I'm also realizing that evaluating EL, particularly for MedMentions, won't be as straightforward as it should be... P/R/F1 are a bit harsh indeed, specially considering that span detection in this dataset seems quite challenging. Even with gold spans I expect that recall@1 should be very hard given the number of closely related concepts (incl. many without annotations in the training set!).
In any case, MedMentions seems like a great dataset otherwise, it's only really lacking detailed evaluation results. It's still very recent though.
I have a couple of questions on this, mostly to make sure I'm understanding everything:

When you say that 'we don't actually use [semantic types] at all yet in the linker', are you referring to the concept annotations on MedMentions ? The linker does match predicted spans to UMLS concepts (and thus sematic types), the difference here is that you're only considering the aliases from the UMLS KB, right?

I don't think I understand the normalised recall@1 you describe. Doesn't evaluating under a scenario where you throw away spans that didn't include the gold mention (concept) lead to overestimating performance instead of underestimating? I also didn't understand how the approximation through K works, and where the accuracy comes from.

Thanks once again, this is great!
Dan

No problem!
In answer to your questions:

Right, the concept annotations are not used because we only are looking at string similarity to aliases from the kb.

Yes this is a bit complicated. It basically comes down to the following:

There are 3 things we want to evaluate when doing end to end linking: 1) mention detection, 2) candidate generation and 3) choosing the right candidate. It's clear how to ablate the mention detection - just use gold mentions. To do the same thing with respect to the candidate selection part, you can say "for the mentions for which the top K contains the gold concept (i.e we did the generation step successfully), what is my accuracy with respect to this subset?". This separates out performance between the generation step and the selection step. The reason I then took the recall@1/recall@k is that the linker is currently only based on string similarity, so to get a single output you just take the one with the highest score. The reason that this is not quite accurate is that it is possible that the datapoints that you remove for a given K are "hard" in some sense, and the accuracy over this subset for top 1 is actually higher than over the whole dataset (this is likely to be the case), which is why this number is a lower bound of the normalized accuracy.
I am currently working on some integration stuff with allennlp (see https://github.com/allenai/allennlp/pull/3040) to make it easier to hook in more complicated models, and I also want to try the entity linker from spacy too.
I've just re-read the medmentions paper and it seems like they added much more detail about the st21pv subset - previously when I'd read it I thought it was much more specific to IR. I think possibly we should switch over to this subset as it sounds more likely to reflect what people actually want out of an entity linker.
It seems like some useful evaluations would be the following:

P/R/F1 on the st21pv subset with gold mentions
mention detection P/R/F1 on the st21pv subset

It would also be helpful to know the coverage of our kb on this subset as well as what % of annotated concepts in this subset have definitions. I will try to work on these things over the next couple of weeks.

Ok, i'm training a mention detector now. It should be done soon, that will give a good first indication about whether removing the other types makes everything easier. The other stuff (with the kb) might take a bit longer, but i'll update this thread as I go.

Hi Mark,
Thanks for keeping on providing more details.
We're going to be working on this over the next couple of weeks (with some breaks though), so I think I can help with those evaluations (we should need them too).
I've started experimenting with scibert, converting MedMentions to conll format and training a mention detector with it's default NER model, and I'm seeing a significant improvement on F1 ("test_f1-measure-overall": 0.7646). Still need to confirm a few things though (e.g. https://github.com/allenai/scibert/issues/50).
I'll let you know more as I make progress too. Still not sure if I'm more interested in the full data or st21pv, but am interested to know your results on st21pv in any case.
Thanks

Hi Dan,
Thanks - are you specifically interested in the performance when combined with the mention span detector (i.e using predicted mention spans and not gold mention spans)?
Yes, the 69.26 F1 is the span detection F1 for the latest en_core_sci_md/sm (I can't actually remember which one, but they are essentially the same). However, this does not include performance when considering the semantic types predicted by the model, because we don't actually use those at all yet in the linker.
You are correct that the st21pv is not used at all.
Wow I did not know that TaggerOne requires 1TB RAM 😭 😭 😭
I've added some statistics below based on our development version of the linker, which was not integrated into the library. As such there may be small differences in numbers:
Document level scores
This evaluation is at the document level, based on the "bag of entities" in an abstract. I.e we are measuring the recall of gold concepts in the aggregated list of all mention candidates in the document. This is meaningful because quite often, we actually care about document level metrics (search, displaying in a UI) in practice. Additionally, it helps with the abbreviation problem, because quite often a mention will be defined in full and then used as an abbreviation.
Base Configuration

No abbreviation substitution
Mentions generated based on en_core_web_md

K	Base	+Noun Chunks	Gold Mentions
1	57.34	60.41	72.35
2	62.6	65.96	78.52
10	71.73	75.83	86.33
40	78.22	82.3	91.13
60	79.85	83.91	92.31
80	80.65	84.66	92.79
100	81.17	85.19	93.13
Soft Matching Mention level scores

No abbreviation substitution
Mentions generated based on en_core_web_md
predicted mentions are compared based on a "soft overlap", meaning that we take it to be a match with any gold mention with which it overlaps at all.

K	Recall@K
1	49.36
2	54.27
10	62.64
40	68.62
60	70.09
80	70.91
100	71.49
Finally, it's also helpful to measure normalised recall@1, where we consider only results for which the gold mention is present in the generated candidates for a given K. You can get an approximation of this just by dividing K=1/K=N (this is not quite accurate as it's possible that when we throw away entities which we can't generate candidates for, the set that is left is easier overall, so this is a slight underestimate probably). E.g normalised soft matching with predicted mentions and K=80 == 69.6% Accuracy.
Hopefully those numbers are useful for understanding the performance!
There are many pitfalls when evaluating EL systems, it's really pretty annoying. P,R and F1 really don't give you enough of an idea of how the system is performing as a whole. Let me know if you need to know anything specific about it!
Mark

Suppose I have the gold mentions available from Oracle. How can I provide the gold mentions to the entity linking model during inference? In other words, is there a way to avoid mention detection?

FYI, I've since explored this further on a short paper at ECIR. The (preliminary) code is available here.
The MedLinker codebase is quite modular, and allows for providing gold mentions. It was used to produce results with gold mentions when writing the paper. The predict() method in the MedLinker class accepts gold spans as a parameter.
There's little to no documentation/testing for that project though, and I haven't worked on that project for some time...
It's also possible that there's this functionality in scispacy, in which case you're probably better off relying on that.

FYI, I've since explored this further on a short paper at ECIR. The (preliminary) code is available here.
The MedLinker codebase is quite modular, and allows for providing gold mentions. It was used to produce results with gold mentions when writing the paper. The predict() method in the MedLinker class accepts gold spans as a parameter.
There's little to no documentation/testing for that project though, and I haven't worked on that project for some time...
It's also possible that there's this functionality in scispacy, in which case you're probably better off relying on that.

Thanks, Dan! This is super helpful.


how to use mssql and how to login mssql from command line

Info:

Docker version ($ docker --version): Docker version 17.03.1-ce, build c6d412e
Client:
Version:      17.03.1-ce
API version:  1.27
Go version:   go1.7.5
Git commit:   c6d412e
Built:        Tue Mar 28 00:40:02 2017
OS/Arch:      darwin/amd64

Server:
Version:      17.03.1-ce
API version:  1.27 (minimum version 1.12)
Go version:   go1.7.5
Git commit:   c6d412e
Built:        Fri Mar 24 00:00:50 2017
OS/Arch:      linux/amd64
Experimental: true

Laradock commit ($ git rev-parse HEAD): c35445b066245f9b300016042dca4df3f2c314ae
System info (Mac, PC, Linux): Mac
System info disto/version: OS X EI Capitan Version 10.11.6

Issue:
What seems to be going wrong?
i edited my laradock .env to make my project can connect to sql server.
its work fine when i connect to remote server such like <IP_ADDRESS>
but i cant connect to my localhost sql server i did
docker-compose up -d nginx adminer mssql
and docker ps is
CONTAINER ID        IMAGE                COMMAND                  CREATED             STATUS              PORTS                                      NAMES
55406b546bdc        laradock_adminer     "docker-php-entryp..."   7 seconds ago       Up 6 seconds        <IP_ADDRESS>:8080->8080/tcp                     laradock_adminer_1
466fdf1d0bc6        laradock_mssql       "/bin/sh -c '/bin/..."   11 seconds ago      Up 9 seconds        <IP_ADDRESS>:1433->1433/tcp                     laradock_mssql_1
c2a9a42adf63        laradock_nginx       "nginx"                  7 days ago          Up 7 seconds        <IP_ADDRESS>:80->80/tcp, <IP_ADDRESS>:443->443/tcp   laradock_nginx_1
db39867fd2c2        laradock_php-fpm     "docker-php-entryp..."   7 days ago          Up 8 seconds        9000/tcp                                   laradock_php-fpm_1
4c20c1582b05        laradock_workspace   "/sbin/my_init"          7 days ago          Up 9 seconds        <IP_ADDRESS>:2222->22/tcp                       laradock_workspace_1

how can i login my local sql server like mysql?
i know how to login to mysql
docker-compose exec mysql bash
mysql -u root -p
but its not work to mssql.
anyone help?

Expected behavior:
What should be happening instead?
i want to login from command line to my local sql server

Reproduce:
How might we be able to reproduce the error?

Relevant Code:
// place code here

my .env
...
WORKSPACE_INSTALL_MSSQL=true
...
PHP_FPM_INSTALL_MSSQL=true
...
MSSQL_DATABASE=homestead
MSSQL_PASSWORD=root
MSSQL_PORT=1433
...
ADM_INSTALL_MSSQL=true
...

Did you read the official documentation from Microsoft?
You should be able to use this:
sqlcmd -S <servername> -U <username> -P <YourPassword>
This issue seems related to Microsoft SQL Server and not Laradock. Please refrain from posting issues not related to Laradock.

thank you.
finally i found the reason.
docker-compose up -d mssql
docker logs mssql

and
sqlservr: This program requires a machine with at least 3250 megabytes of memory.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : TCP Provider: Error code 0x2749.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..

it seems memory is not enough so please tell me
where is the mssql's memory setting? i want to set it to 4GB
anyone help?

sqlservr: This program requires a machine with at least 3250 megabytes of memory.

Basically, your VM (or your system, if you are under Linux) should have more than 4GB available, as the Microsoft SQL Server Docker Image says.
AFAIK docker-compose.yml can reserve and limit a designated memory pool but only on version 3 of the file.

@ItaloBC  thank you

Personally I would recommend MySQL or MariaDB, they don't require 4GB to start, unless your project demands such RDBMS.


[1pt] Create Book class

All Book class properties visible in the diagram should be defined and set up in the constructor method
can_be_archived?() in the Book class
should override the method from the parent class
should return true if the parent's method returns true OR if cover_state equals to "bad"
otherwise, it should return false

We have done this task


Gateway improvement

Test cluster:
url: https://a0e9229aa874c11e79b47068a851b90d-1998669183.us-west-2.elb.amazonaws.com
cluster name: bigt2a

@michael-ax I wonder if you could help me test the Jira part of APIs.


Plans for supporting DartDDC as long-lived connection (serve)

current build pipeline uses compileDDC, which is a dev compiler, but always takes few seconds.
Are you guys planning to use serve command and make long-lived (socket) connection, and use the benefits of serve command? -- AOT/JIT - hot reloading of flutter application on dartpad

No, this is not something that's currently on our roadmap. A stateless backend is one of the core design choices that was made for DartPad way back when it was first architected, and it would be a major undertaking to change it.
It would certainly be an interesting experiment, though, if you wanted to see how far you could get in a fork.

This will require something like Web Sockets support in Cloud Run to enable running an instance of the analyser per active user. This could get quite expensive, however, as the servers will be mostly idle as they wait for the users to type in new code to analyze and compile.


Fix missing backslash on the etcd command

Signed-off-by: rosenlo<EMAIL_ADDRESS>Summary: Fix missing backslash on the etcd command
Relevant Issues: #775
Type of change: /kind bug
Test Plan: N/A
Changelog Message:
Fix missing backslash on the etcd command

@pixie-labs-buildbot test this please

Thanks for your contribution!
We require commits to be GPG signed and for the PR description to match our template.
Would you mind following the signing guide and also updating the PR description to match the template?

Thanks for your contribution!
We require commits to be GPG signed and for the PR description to match our template. Would you mind following the signing guide and also updating the PR description to match the template?

Sure, please review again.

@pixie-labs-buildbot test this please


docs: remove outdated Beta reference from CONTRIBUTING.md

View rendered CONTRIBUTING.md

Thanks for opening this, but we'd appreciate a little more information. Could you update it with more details?

I guess in this case the title is self explanatory enough, if not let me know what else should be added


bstation/bilibili.tv

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
Trying to download on HD resolution on bilibili.tv, already adding the cookies, but, maxed out on 480p, there is no DRM, tested out on other player

Verbose log
[debug] Command-line config: ['-vU', 'https://www.bilibili.tv/id/play/34475/338159', '--cookies', 'cookies.txt', '-F']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.04.08 [7884ade65] (zip)
[debug] Python version 3.8.10 (CPython 64bit) - Linux-5.15.35-flippy-72+o-aarch64-with-glibc2.29
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Optional libraries: certifi, sqlite
[debug] Proxy map: {}
Latest version: 2022.04.08, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[debug] [BiliIntl] Extracting URL: https://www.bilibili.tv/id/play/34475/338159
[BiliIntl] 338159: Downloading webpage
[BiliIntl] 338159: Downloading video formats
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[BiliIntl] 338159: Downloading subtitles list
[BiliIntl] 338159: Downloading subtitles for English
[BiliIntl] 338159: Downloading subtitles for ภาษาไทย
[BiliIntl] 338159: Downloading subtitles for Tiếng Việt
[BiliIntl] 338159: Downloading subtitles for Bahasa Indonesia
[BiliIntl] 338159: Downloading subtitles for 中文（简体）
[info] Available formats for 338159:
ID EXT RESOLUTION │  FILESIZE PROTO │ VCODEC          VBR ACODEC         ABR MORE INFO
──────────────────────────────────────────────────────────────────────────────────────
0  mp4 audio only │  12.03MiB https │ audio only          mp4a.40.2   68754k
1  mp4 audio only │  23.50MiB https │ audio only          mp4a.40.2  134243k
2  mp4 audio only │  56.56MiB https │ audio only          mp4a.40.2  323170k
3  mp4 426x240    │  18.64MiB https │ avc1.64001E 106518k video only         240P
4  mp4 640x360    │  33.52MiB https │ avc1.64001E 191523k video only         360P
5  mp4 852x480    │  49.62MiB https │ avc1.64001E 283527k video only         480P

So, what is your question?

Ah yes, how to deal with that? Is any can i do to download HD video from there?

I think you wanted to file a site feature request?

I think you wanted to file a site feature request?

I think so 😅

Can you try username+password instead of cookies?

Can you try username+password instead of cookies?

Yes, its fully working! Thank you!
[debug] Command-line config: ['-vU', 'https://www.bilibili.tv/id/play/34475/338159', '-u', 'PRIVATE', '-p', 'PRIVATE', '-F']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.04.08 [7884ade65] (zip)
[debug] Python version 3.8.10 (CPython 64bit) - Linux-5.15.35-flippy-72+o-aarch64-with-glibc2.29
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Optional libraries: certifi, Cryptodome, sqlite
[debug] Proxy map: {}
Latest version: 2022.04.08, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[BiliIntl] Downloading login key
[BiliIntl] Logging in
[debug] [BiliIntl] Extracting URL: https://www.bilibili.tv/id/play/34475/338159
[BiliIntl] 338159: Downloading webpage
[BiliIntl] 338159: Downloading video formats
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[BiliIntl] 338159: Downloading subtitles list
[BiliIntl] 338159: Downloading subtitles for English
[BiliIntl] 338159: Downloading subtitles for ภาษาไทย
[BiliIntl] 338159: Downloading subtitles for Tiếng Việt
[BiliIntl] 338159: Downloading subtitles for Bahasa Indonesia
[BiliIntl] 338159: Downloading subtitles for 中文（简体）
[info] Available formats for 338159:
ID EXT RESOLUTION │  FILESIZE PROTO │ VCODEC          VBR ACODEC         ABR MORE INFO
──────────────────────────────────────────────────────────────────────────────────────
0  mp4 audio only │  12.03MiB https │ audio only          mp4a.40.2   68754k
1  mp4 audio only │  23.50MiB https │ audio only          mp4a.40.2  134243k
2  mp4 audio only │  56.56MiB https │ audio only          mp4a.40.2  323170k
3  mp4 426x240    │  18.64MiB https │ avc1.64001E 106518k video only         240P
4  mp4 640x360    │  33.52MiB https │ avc1.64001E 191523k video only         360P
5  mp4 852x480    │  49.62MiB https │ avc1.64001E 283527k video only         480P
6  mp4 1280x720   │  85.70MiB https │ avc1.64001F 489683k video only         720P


VxBadge - Ellipse

The VxBadge as type ellipse must be constrained with minimum width as badge height like this:
I see into VxRound widget at base of VxBadge that the code when we make the container is wrong at row 62:
 Container(
        height: tempSize,

must became
Container(
      constraints: BoxConstraints(maxHeight: tempSize, minHeight: tempSize, minWidth: tempSize),

this will allow you not to have an oval circle when creating the badge.

I’ll fix this
On Fri, 1 Oct 2021 at 8:53 PM, Massimo Caroccia @.***>
wrote:

The VxBadge as type ellipse must be constrained with minimum width as
badge height like this:
I see into VxRound widget at base of VxBadge that the code when we make
the container is wrong at row 62:
Container(
height: tempSize,
[image: image]
https://user-images.githubusercontent.com/6574219/135645849-188f44ff-ad80-45ff-841d-89da9e8e99f7.png
must became
Container(
constraints: BoxConstraints(maxHeight: tempSize, minHeight: tempSize, minWidth: tempSize),
[image: image]
https://user-images.githubusercontent.com/6574219/135645928-aa10effd-431d-4a26-852a-b4b5b79d4a49.png
this will allow you not to have an oval circle when creating the badge.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/iampawan/VelocityX/issues/132, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADAI5HCYBI4FDJWLYTORRL3UEXG7VANCNFSM5FE55Q5Q
.


Adapt transformers code to new agent streaming option

cc @freddyaboulton

We can think about the second point a bit more. Just the first point needs to be addressed before merge imo.

@freddyaboulton I've updated the code to have both Observations and Final answer in code blocks, with a Final answer: prefix for the final answer:

IMO it looks quite good, what do you think?

Awesome thanks for the PR @aymeric-roucher !


Question about query operators

Just an advice if you can turn on questions for the project.
Are there any query filter operators (and, or, not)?
The current filters are inherently "or" or "and" or depends on the field?
Can anyone change or add functionality to filters?
Thanks

Hello @rudiservo!
May I ask what kind of query you want to execute?
All query functions are currently temporary APIs that will be replaced soon by the query API that will provide such functionality.
For now, the filter is intended to be simple without dealing with the complexity required by combining operators AND/OR/NOT in the correct precedence (e.g. (debit_account_id=? OR credit_account_id=?) AND code=?).
Also, feel free to join our Community Slack

@batiati thank you very much.
I am just trying to understand current limitations for current data model and if I wanted to add more models in the future for a personal project if I had to add those function to tigerbeetle or there would be some functionality built in for it.
But you where very informative, thank you.
BTW the slack link on the docs does not work.

Thanks for pointing out the Slack link!
Fixed here https://github.com/tigerbeetle/tigerbeetle/pull/2379 :rocket:


ISPN-14579 Various RESP commands are requesting wrong size for buffer

https://issues.redhat.com/browse/ISPN-14579
https://issues.redhat.com/browse/ISPN-14544
Make sure empty String is sized properly for MGET. Also fix test failure to do proper assertion now.

Integrated into main, thanks @wburns!


[W6.1e][F09-B3]Joseph Thomas Brough

Made the Command.execute method abstract, as instructed by comment

@thehelpfulbees Accepting this PR with minimal review. No issues spotted!


basinhopping with both bounds and constraints fails both

From working on https://github.com/scipy/scipy/pull/7819#issuecomment-327995047, here's a case where having both bounds and constraints enabled leads to bizarre behavior that violates both.  I don't know where the actual problem is.  Yellow dots are the local minima found during each step.  Blue is an (exclusion) constraint, and red is out of bounds:
Neither:

Bounds only (red):

Constraints only (blue):

Bounds (red) and constraints (blue):

It finds lots of incorrect minima, many of which violate the bounds or the constraints or both.
I think these are using different minimizers, though.  The "both" case seems to be slsqp.
Reproducing code example:
Code for above: https://gist.github.com/endolith/6f89b1cb0baa98688a5bc49e590ce196
Scipy/Numpy/Python version information:
0.19.0 1.13.1 sys.version_info(major=3, minor=6, micro=1, releaselevel='final', serial=0)

Could this be worked around just by converting the bounds to constraints?

Here's a much simpler example:
import numpy as np
from numpy import sin
import matplotlib.pyplot as plt
from scipy import optimize

x = np.linspace(-20, 40, 1000)
plt.plot(x, sin(x))

# -4 < x < 4
cons = ({'type': 'ineq', 'fun': lambda x: abs(x) - 4})
plt.axvspan(-4, 4, color='blue', alpha=0.3, linewidth=0)

bnds = ((-10, 30),)
plt.axvspan(x.min(), bnds[0][0], color='red', alpha=0.2, linewidth=0)
plt.axvspan(bnds[0][1], x.max(), color='red', alpha=0.2, linewidth=0)

plt.xlim(x.min(), x.max())
plt.ylim(-3, 3)
plt.tight_layout()

for x0 in x:
    minres = optimize.minimize(sin, x0,
                               constraints=cons,
                               bounds=bnds,
                               )

    plt.plot(minres.x, minres.fun, 'ro', markersize=3.5)

no bounds, no constraints:

bounds only:

constraints only (flaw around x=20):

bounds and constraints (flaw around x=20 and also out of bounds):

Actually, I guess this really is a problem with basinhopping and not with slsqp, which correctly returns success=false along with the invalid values when it can't find its way into bounds.  The problem is just that basinhopping keeps invalid values, which I've already been discussing in https://github.com/scipy/scipy/pull/7819
import numpy as np
from numpy import sin
import matplotlib.pyplot as plt
from scipy import optimize

x = np.linspace(-20, 40, 1000)
plt.plot(x, sin(x))

# -4 < x < 4
cons = ({'type': 'ineq', 'fun': lambda x: abs(x) - 4})
plt.axvspan(-4, 4, color='blue', alpha=0.3, linewidth=0)

bnds = ((-10, 30),)
plt.axvspan(x.min(), bnds[0][0], color='red', alpha=0.2, linewidth=0)
plt.axvspan(bnds[0][1], x.max(), color='red', alpha=0.2, linewidth=0)

plt.xlim(x.min(), x.max())
plt.ylim(-3, 3)
plt.tight_layout()

for x0 in x:
    minres = optimize.minimize(sin, x0,
                               constraints=cons,
                               bounds=bnds,
                               )

    if minres.success:
        m = 'go'
    else:
        m = 'ro'

    plt.plot(minres.x, minres.fun, m, markersize=3.5)

bounds and constraints:

bounds only:

constraints only (flaw near x=20):

neither:

The problem at x = 20 with constraints on might be its own bug, though?  Is it just a local minimum due to numerical noise or something?

I guess this is really a duplicate of https://github.com/scipy/scipy/issues/7799


Intermittent failures of Pvnet

Every 3 hours or so, it fails for an hour

This was at 08.17 UTC
The current NWP goes back to 2024-09-17 06:00.

main config is here


There is no validation for the entered connection string when attaching a PostgreSQL account

OS: All
Build Version: 20200910.1
Repro steps:

Copy connection string for PostgreSQL server.
Attach Database Accounts -> PostgreSQL -> Enter an invalid connection string (such as change the database name or delete part of the string).

Expect:
There is a validation for the entered connection string.
Actual:
There is no validation for the entered connection string.

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Add support for requester pays bucket in PrestoS3FileSystem

Added support for S3 buckets with "Requester Pays" enabled.
https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html

@findepi I couldn't find a way to test this using a single AWS account. Had to use 2 accounts.

@cla-bot check

Merged, thanks!

I fixed the merge conflict and merged as 8c65b0af99a44b05207fed32ec5e0017d357d4d0


THERE SHOULD BE A VIMEO FOUNDATION ICON

Lots of people use VIMEO as a VIDEO PLATFORM. There should be a VIMEO Foundation icon added.

Same answer than https://github.com/zurb/building-blocks/issues/228#issuecomment-304219235.
Note that both Ionicons and Font Awesome provide Vimeo icons!

They do indeed. Why is not in Foundaton Icons? If we are going to use Font Awesome - which I agree is Awesome ir Ionicons - why is there a Foundation Icons?

So because there is not VIMEO icon - i have to use Font Awesome. That makes a lot of sense.

If we are going to use Font Awesome - which I agree is Awesome ir Ionicons - why is there a Foundation Icons?

Foundation Icons is a pretty old project created when there were just few similar projects.
There is now pretty popular projects with tons of icons (675 icons in Font Awesome 4.7.0).
Maintaining a icons font requires huge time investment so I guess ZURB decided to stop Foundation Icons development and focus on their other projects (Foundation for Sites, Foundation for Emails, more recently Building Blocks...etc.).


Should isPriorityHigher be unit tested?

#100 brought it to our attention that there are no unit tests for isPriorityHigher.
This should be considered added.

There is hardly anything that is unit-tested in this library.

There is hardly anything that is unit-tested in this library.

Feel free to close this one and add a more general issue regarding unit testing.

Done.


Implement of the geolocation background feature

Implement of the geolocation background feature
Fixed app crash when geolocation feature was implemented in release build mode

Mangga di komen2 gans. @jaluowen @gaganugraha33 @aldiiii


Introduce Mesh ID, for aggregating telemetry

Add a Mesh UID to Istio to support the specific use case of aggregating telemetry from multiple Istio meshes in one place, and then being able to query it, distinguishing which mesh particular entries came from.
(There are other uses for Mesh UID, relating to multicluster and cross-mesh service identity, but these are out of scope.)
This was approved by the P&T WG on 7/17/19 and referred for a Config and Security discussion of where to store it. The response was to store this in MeshConfig.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[x] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Details

MeshConfig should support a mesh_uid attribute

if the mesh admin specifies a value, we should use it; otherwise we should autogenerate a UUID value. (I don't know exactly the flow, so where it would be stored in this case.)

Define and populate a mixer attribute destination.mesh.uid
Change the Stackdriver adapter's config to consume the new attribute and attach it to metrics.

Additional context
See this doc for more details: https://tinyurl.com/y45s5x2d

@kyessenov, @geeknoid suggested you can implement this, but I don't have privs to assign to you.

Did networking & environments approve adding things to MeshConfig?

No. I have spoken with P&T, Config, and Security. And I assumed that Config could sign off on adding something to MeshConfig. Do I also need to reach out to those groups?

@costinm FYI, we're planning to make these changes.

Costin commented at https://discuss.istio.io/t/fyi-adding-mesh-uid-for-an-initially-limited-telemetry-use-case/3287/2 (and I asked a followup)

Changes:

Call this “Mesh ID” (not “Mesh UID”)
Admin can specify this in values.yaml; the value is eventually exposed in the istio-sidecar-injector ConfigMap (not in MeshConfig)
Default value when not specified by the admin will be the mesh’s Trust Domain. (Do not autogenerate a UUID.)

See https://discuss.istio.io/t/proposal-adding-mesh-uid-for-telemetry/3118/3


Fix typo.

Coverage remained the same at 100.0% when pulling 48d9a73619a6e9e0f77a08f6a192507c0befe525 on nslocum:patch-1 into 92d16dee5fa768c70aec61d6c9d1e21e5005cdac on reactjs:master.

Codecov Report

Merging #301 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #301   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          15     15
=====================================
  Hits           15     15

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 92d16de...48d9a73. Read the comment docs.

Great, thanks!


add phone; drop phone and area code

Issue #, if available:
#16
Description of changes:
Add phone column to schema.
Drop both phone and area code from categorical processing.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Added phone
Added segmentation inference scripts
Added a CFN parameter for clustering/segmentation to control the above for preprocessing

@sunbc0120 tested both templates on my end - should be good to review.


[WIP] Statevector widget

fix https://github.com/Qiskit/qiskit.org/issues/2307
Test url: https://platypus-pr-214.ecy0akwlcpw.us-south.codeengine.appdomain.cloud/course/examples/widgets

@korgan00 is this ready for review or is it still WIP?


Remove comment in xc7 guide

fixes #65

@kgugala - I'm okay with this temporary fix, however the tuttest tool should understand how comments work?

Well, the original idea for tuttest was not to be language specific and not really provide some of the functionality that you had since requested (which are bash-specific). It's the --single-command option which introduced the bug, but to fix it properly we'd need to make tuttest understand comments in various languages. Bash as such is of course easy to fix, so I think we'll just make this fix in single-command since it's kinda bash-specific anyhow.

@mgielda -- Well, shouldn't bash understand that # is a comment and just execute nothing?

I have forgotten why we needed --single-command? I wonder if --single-command should actually be generating a script file which it then executes?

I actually think this is not acceptable to merge and we have to fix the underlying issue.

@kgugala  can you apply the approach #68 here instead?

@kgugala can you apply the approach #68 here instead?

done

Ok, now we have a real CI feedback. It seems we have two problems:

on old OSes seems that LiteX fails
we hit 50min timeout of Travis

I would suggest merging this and open separate issue for (1) -- probably in LiteX using ubuntu:trusty fail as an example.
As for (2) I would suggest temporarily not test the longest test in tuttest (LiteX? Linux/LiteX?). Long term we would have to migrate from Travis, but I know its not trivial because of storage limitations of Github Actions and we need a short term solution.


Launching FSI results in an error

Logs are as follows:
WARNING: Promise with no error callback:85
winjs.base.js:46Objecterror: Error: pr.catch is not a function
    at Object.onFail (/Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/fable_external/Helpers-729269674.js:73:24)
    at /Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/Components/Fsi.js:97:30
    at /Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/fable_external/Helpers-729269674.js:35:15
    at Object.create (/Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/fable_external/Helpers-729269674.js:32:16)
    at start (/Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/Components/Fsi.js:75:25)
    at /Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/Components/Fsi.js:255:16
    at t.$executeContributedCommand (/Users/7sharp9/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:10:25694)
    at t.e.handle (/Users/7sharp9/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:10:10602)
    at s (/Users/7sharp9/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:7:21356)
    at p (/Users/7sharp9/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:7:22033)exception: nullhandler: undefinedid: 85parent: undefinedpromise: n.Class.derive._oncancel__proto__: Object
messageService.ts:128pr.catch is not a functione.doShow @ messageService.ts:128
messageService.ts:128Failed to spawn FSI, please ensure it's in PATHe.doShow @ messageService.ts:128

OSX with mono 4.6.1

It fails at this point:

Looks like this is the promise and not pr hence the: Error: pr.catch is not a function

Thanks a lot for the information @7sharp9. I'd have to debug this to see what's going on. Another solution could be to use the Promise helpers in fable-powerpack, which have unit tests and seem to be working fine. I can send a PR to replace them if @Krzysztof-Cieslak wants. fable-powerpack relies on latest fable-compiler alpha to be used as a lib, but we can also just put the code in ionide-helpers.

Should be fixed in 2.9.0


Added filter selecting strings containing characters outside a given encoding

@janpf these are great changes: Would you also like to evaluate it using the prebuilt evalutation engine:
python evaluate.py -f TextEncodingFilter

@janpf these are great changes: Would you also like to evaluate it using the prebuilt evalutation engine:
python evaluate.py -f TextEncodingFilter

I added the results to the Readme

This looks fine to me overall.

Thank you very much for your changes. Your changes are merged. As the field of NLP has largely focussed on high-resource languages and domains, if possible, we also encourage you to add a transformation in your mother tongue and/or a low-resource language which might need more attention from the NLP community. This is not mandatory.


Equivalent of numpy.insert for DataSet / DataArray?

Is there a simple way of inserting, say, a time-step in an xarray.DataArray?
Background
I have a year of gridded daily data with a few missing time steps. Each existing time step is represented by a file on disk.  (To be specific: For 2016, there should be 366 files, but there are only 362.) In many cases, it would be nice to be able to just add masked data whereever a day is missing from the original data.

@willirath is your time data equally spaced? If so, you should be able to use the new version of DataArray.resample() available on the master (and scheduled for the 0.10.0 release) which supports upsampling/infilling.
Should work something like this, assuming each timestep is a daily value on the time axis:
ds = xr.open_mfdataset("paths/to/my/data.nc")

ds_infilled = ds.resample(time='1D').asfreq()

That should get you nans wherever your data is missing.

Does exactly what I need.  Thanks!

Shoud I provide a minimal real-world-example?

@willirath Never hurts!

Not really minimal but shows a real use:

from pathlib import Path
import matplotlib.pyplot as plt
import xarray as xr

# create data path
daily_data_path = Path("/obs_data/") / "ASCAT" / "v1.x.x" / "data/Daily/Netcdf"

# get data files and open mf dataset
data_files_2016 = daily_data_path.glob("2016/??/??/*.nc")
raw_data_set = xr.open_mfdataset(data_files_2016).isel(latitude=300,
                                                       longitude=0)

# Resample with filling gaps by NaN's and shift to match original time axis
infilled_data_set = raw_data_set.resample(time="1D").asfreq()
infilled_data_set.time.data += (raw_data_set.time.data[0] -
                                infilled_data_set.time.data[0])

# extract wind speeds
rws = raw_data_set.wind_speed
iws = infilled_data_set.wind_speed.rename("resampled_wind_speed")

# and plot (with a slight offset to be able to distinguish the lines)

fig, ax = plt.subplots(2, 1)

(iws+1).plot(ax=ax[0]);
rws.plot(ax=ax[0]);
ax[0].legend(["resampled", "original"], loc=0, ncol=2);

(iws+1).sel(time=slice("2016-08-01", "2016-10-01")).plot(ax=ax[1]);
rws.sel(time=slice("2016-08-01", "2016-10-01")).plot(ax=ax[1]);

Note the gaps that are more clearly visible in the lower panel.


[BEAM-22] Close Readers in InProcess Read Evaluators

The readers were formerly left open, which prevents release of any
resources that should be released or additional on-close behavior.

R: me!


Reanalyse empty results only

For situations where the app was down for a while

👍
https://github.com/alexandermendes/pybossa-analyst/releases/tag/v1.2.0


The pre-training weights download slowly

Describe the bug
command: ‘’ns-train nerfacto --data data/nerfstudio/poster --load_dir load_checkpoint/alexnet-owt-7be5be79.pth”
Even though I download the weights locally, I still download the pre-trained weights when I run the bar command。
Expected behavior
How do I load the downloaded weights into the model?
Screenshots

The weights that are being downloaded are for the LPIPs metric. What version of nerfstudio are you using? The latest version  has some changes with the metrics that may solve this issue.

Thank you, @tancik .My cuda version and tinycudann version are 11.3 and 1.4 respectively. I tried several versions of nerfstudio and found that 0.0.17 works for this step. Could you tell me which newer version solves this problem (LPIPs metric).

Can you try the latest version of nerfstudio.

Thank you @tancik, I will consider updating the latest graphics driver later and try the latest version. Thanks again for your advice.


New version: Mozilla.Thunderbird version 115.1.1

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Manifest Error: Duplicate installer entry found.


Updates from 0.2.x stable branch

Update changelog, and pick a small change that hadn't make its way into master yet.
Contributor Checklist:

[ ] I have added or updated my entry in the creators.json file
[ ] I have added a changelog entry for my contribution
[ ] I have added/updated documentation for all user-facing changes
[ ] I have added/updated test cases

Reviewer Checklist:

[ ] /azp run libertem.libertem-live-data passed

/azp run libertem.libertem-live-data


refactor(FMP-257): rename CrossChainDepositLayout -> DepositFlow

Current dependencies on/for this PR:

main

PR #49   👈

PR #50

This comment was auto-generated by Graphite.


Ctrl+V does not work

I'm using Sublime 2 x64.

Create a new *.ts file (or use any existing one)
Type some text, highlight it, press 'Ctrl+C'.
Press 'Ctrl+V'.

Nothing will be pasted. You can paste anywhere else though, and in non-ts sublime files. You can also use the mouse to right click and paste, it seems only the keyboard shortcut 'Ctrl+V' is busted.

I'm still having this issue under ST3. Using v0.1.3 of this plugin.


Coupon code shouldn't be returned in "listing" call

Nowadays validity of coupon codes is checked against local data retrieved by /ob/listing API call. Anyone with the dev console open can go through the returned JSON and find coupons in listing.coupons.
This obviously allows anyone to purchase items with a discount even without getting the coupon code from the vendor.
Instead, the validity of a coupon code should be checked on the server side. If the coupon code is valid, Coupon model could be updated with the coupon itself (or its hash) and then later used in the final step as a last validity check before the buyer is requested to pay.

The listing api returns the hashes of the coupon, but the purchase api requires the unhashed coupon codes, which are checked on the server like you suggest.
Knowing the hash only lets you confirm if the entered coupon code matches the hash after you hash it, which makes an extra trip to the server unnecessary. It doesn't tell the user what the correct coupon code is.

Thanks for clearing that up. I couldn't find any listing with coupon codes so I was just (wrongly) assuming the code is plain text as I didn't see any call that was checking against the server.
Closing.

What happens is when the user enters the coupon code the client hashes it and checks it against the hashes in the listing, so the user can be told if it's a valid code before sending it to the purchase API.
A different implementation could skip that, and just send the entered coupon code, which would return an error from the purchase API if it wasn't a valid code.

Another thing of note is that I think when you are on your own node and calling /ob/listing for your own listing, then it will return the plain text codes. If you do the same for another node's listing, it will only return the hashes.


Add unit cost model for builtins (SCP-2815)

If you run uplc with the -t -1 options it reports the number of times each AST constructor is evaluated, but used to ignore builtins. This extends it to report how often each built-in function is executed as well, using a unit-cost cost model for builtins.  This might make it a bit easier to diagnose inaccuracies in the costing functions for builtins.

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

Examples of output.
With -t, the same as before:
$ cabal exec uplc evaluate -- -i validation-flat/vesting-1.flat --if flat -t
CPU budget:    646456348
Memory budget: 1861958

Const              4287312            14400
Var              137789444           462800
LamAbs           111053290           373000
Apply            146870209           493300
Delay             46892475           157500
Force             79613002           267400
Builtin           22359523            75100

startup                100              100
compute          548865255          1843500
AST nodes             6246

BuiltinApp        97590993            18358
Time spent executing builtins:  15.10%

EqualsByteString               1807492               16
ChooseList                     4950000             1056
AddInteger                      788836                8
SndPair                       12300000             2624
UnBData                        3300000              704
LessThanEqualsInteger           293284                2
TailList                      14550000             3104
MultiplyInteger                  83952                2
EqualsInteger                  9237156               67
LessThanInteger                 180187                1
FstPair                        9600000             2048
UnIData                        1350000              288
UnListData                     2550000              544
HeadList                      14700000             3136
IfThenElse                          86               86
UnConstrData                  21900000             4672

Total budget spent:       646456348          1861958
Predicted execution time: 646.456 μs

With -t -1:
$ cabal exec uplc evaluate -- -i validation-flat/vesting-1.flat --if flat -t -1

Const                  144
Var                   4628
LamAbs                3730
Apply                 4933
Delay                 1575
Force                 2674
Builtin                751

startup                  0
compute              18435
AST nodes             6246

BuiltinApp             745

EqualsByteString                    16
ChooseList                          33
AddInteger                           4
SndPair                             82
UnBData                             22
LessThanEqualsInteger                2
TailList                            97
MultiplyInteger                      1
EqualsInteger                       67
LessThanInteger                      1
FstPair                             64
UnIData                              9
UnListData                          17
HeadList                            98
IfThenElse                          86
UnConstrData                       146


UnboundLocalError: local variable 'scale' referenced before assignment

Hi
I want to run ffirst example
python3 ./p.py
Traceback (most recent call last):
  File "/home/a/Dokumenty/mandelbrot_planes/log/python/abel/./p.py", line 2, in <module>
    original = abel.tools.analytical.SampleImage(name='Gerber').func
  File "/home/a/.local/lib/python3.10/site-packages/abel/tools/analytical.py", line 486, in __init__
    X, Y = np.meshgrid(self.r*scale, self.r*scale)
UnboundLocalError: local variable 'scale' referenced before assignment

What is wrong ?
My settings
Ubuntu 22.04 LTS

python3 -V
Python 3.10.4

 pip install PyAbel
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: PyAbel in ./.local/lib/python3.10/site-packages (0.8.5)
Requirement already satisfied: setuptools>=16.0 in /usr/lib/python3/dist-packages (from PyAbel) (59.6.0)
Requirement already satisfied: scipy>=0.14 in /usr/lib/python3/dist-packages (from PyAbel) (1.8.0)
Requirement already satisfied: numpy>=1.6 in /usr/lib/python3/dist-packages (from PyAbel) (1.21.5)
Requirement already satisfied: six>=1.10.0 in /usr/lib/python3/dist-packages (from PyAbel) (1.16.0)

TIA
Adam

I guess, you are trying the example from out development version (called “latest” on Read the Docs) but using the “stable” PyAbel version from PyPI — this is what pip installs. If you want to use what you see here, in GitHub master branch, you need to install it manually (using git or from the ZIP file, click the green button “Code” on the home page).
If it's not essential to use that particular sample image, then just use the default (original = abel.tools.analytical.SampleImage().func, without name=...), it should work.

@DanHickstein, @stggh, this makes me think that we need to tweak the README further, such that instead of

Note: This readme is best viewed as part of the PyAbel Documentation.

always pointing to “latest”, it should on PyPI point to “stable”:

Note: This readme is best viewed as part of the PyAbel Documentation.

I don't know, however, how to make RST distinguish between GitHub and PyPI...

Now this should work with the new PyAbel version (0.9.0), and the links are made version-specific, so such ploblems hopefully will not reoccur...


arkade: 0.8.62 -> 0.9.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/alexellis/arkade/releases.
meta.description for arkade is: Open Source Kubernetes Marketplace
meta.homepage for arkade is: https://github.com/alexellis/arkade
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.9.0 with grep in /nix/store/lfykq9qna16bisqid9h0calqlvyi992p-arkade-0.9.0
found 0.9.0 in filename of file in /nix/store/lfykq9qna16bisqid9h0calqlvyi992p-arkade-0.9.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
arkade

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lfykq9qna16bisqid9h0calqlvyi992p-arkade-0.9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A arkade https://github.com/r-ryantm/nixpkgs/archive/266609b0e275a24699df5def4d42f739cb2db01c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lfykq9qna16bisqid9h0calqlvyi992p-arkade-0.9.0
ls -la /nix/store/lfykq9qna16bisqid9h0calqlvyi992p-arkade-0.9.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

arkade

Maintainer pings
cc @welteki @techknowlogick for testing.


Prediction interval for binary classification?

Hi,
Would be very usefull to be able to predict prediction interval for the predict_proba scores returned by a binary classifier. Is it on the road map?
Thanks!

Hi,
Thanks for the suggestion! It is not planned for the near future, but the natural approach would be to include Venn (or Venn-ABERS) predictors for handling this; see discussion #20.
Best regards,
Henrik
P.S. I converted this issue to a discussion.


Idea: Output join_cols in sample rows output for the report

For the individual column comparisons, the join_cols are always outputted followed by the values in df1, df2.
However for the Sample Rows Only in df1/df2, the first 10 columns are outputted.
Suggestion would be to force the output to show the join columns in this as well, as sometimes (for whatever reason) the join columns are not in the first 10.
Having it present would make downstream investigations of mismatches easier, instead of having to use the pandas df index to locate the join columns (assuming your join columns are also typically the lookup columns for investigations).

@behanjc I think this makes sense. If you have a simple snippet could you paste it would just ground the intent here. But basically maybe as a rule always have the join cols to start in the output and then throw the "first" 10 (not including the joins)

@behanjc Just wanted to follow up on this. If this isn't relevant I'll close this issue. Feel free to reopen it up.


Singup passphrase screen

@keybase/react-hackers
@cjb this has the user card you can use

@keybase/react-hackers bump

@chrisnojima :thumbsup:, you'll want to s/globalColorsDZ2/globalColors/g and s/ dz2 //g


Image creation support

Add scripts for build rootfs:

Required binaries: /sbin/init and /bin/kata-agent
rootfs based on  Clear Linux
rootfs based on Fedora
rootfs based on CentOS 7
Agent is build from source code
Build in docker containers ( make easy for distros does no have requried packages)
README

Add script to build image:

Created image based in rootfs directory

Image format: gpt format,
only one partition (root)
Partition format ext4 to use as DAX device.

Check if agent and init is intalled
README

Missing:

Evaluate need packages ( remove core-utils )

Note: I am building Clear Containers agent after https://github.com/kata-containers/agent/pull/1 is merged we can move to kata repository.

Hi @jcvenegas - this looks good. My only remaining query is the HAVE_SYSTEMD one. I know we need that for the CC agent currently so I guess we can resolve that issue on a future PR (particularly since the kata agent doesn't use HAVE_SYSTEMD).
lgtm.

https://github.com/kata-containers/agent/pull/41  will add make install target to change the agent installation to kata agent.

@bergwolf  could review the changes you asked? Added rootfs based in LTS distro (centos) , now the agent kata-agent.

LGTM

@bergwolf feels free to merge if that last iteration looks good to you.


Add handling for Flush to server, fix locking.

  * (M) rib/rib.go
  * (M) rib/rib_test.go
    - Ensure that the DeleteXXX functions handle locking correctly, such
      that they always hold a lock when accessing the map.
    - Add lockless deleteXXX functions that can be called internally
      when the client has a lock on the entire RIB. This is needed in
      order to ensure that inter-client locks can be held (e.g.,
      when removing all entries with Flush).
  * (M) server/server.go
  * (M) server/server_test.go
    - Add support for Flush removing entries from the server RIB.
    - Add test coverage for Flush.

Thanks @sthesayi -- I think this wasn't so much a bug in the locking, just an assumption that wasn't quite right.
Essentially, Flush says to remove all entries - and to do that we want some way to be able to make sure that someone else doesn't add something during the Flush being run. The DeleteXXX methods that we have today had fine-grained locks that were used to retrieve the current entry (added a read-lock which was missing) and then remove it (write-lock). This isn't the right behaviour for Flush.
To that end, I refactored Flush to use a delete-but-I-already-hold-the-lock method - this meant that we could take the RIB lock at the beginning of the flush call, and then use that lock throughout (avoiding the deadlock of running both).
I don't think there's anything different about the lock design here that sounds too concerning -- but I'm more than happy to talk it through. This RIB-level lock is the simplest implementation - and seems to be working fairly well thus far, but I'm sure at some point there might be a performance requirement to think through it more.
Let me know if you're concerned about anything above, and we can review it further/redesign.

This explanation is great and I gathered the same during the review. I agree that the RIB level lock is the simplest and safe one to think of and this can be revisited when a performance issue shows up. I would presume a Flush is a relatively rare operation, such as executing during startup, etc edge cases. In all other normal cases, individual deletes are more likely.
LGTM


Failed to list *v1alpha1.EndpointGroupBinding

Hello.
Helm version: 0.7.1
There is an error "Failed to list *v1alpha1.EndpointGroupBinding" in the logs:
W0417 14:23:07.413229       1 reflector.go:535] pkg/mod/k8s.io/client-go@v0.28.8/tools/cache/reflector.go:229: failed to list *v1alpha1.EndpointGroupBinding: endpointgroupbindings.operator.h3poteto.dev is forbidden: User "system:serviceaccount:aws-ga-controller:aws-global-accelerator-controller-manager" cannot list resource "endpointgroupbindings" in API group "operator.h3poteto.dev" at the cluster scope
Reason:
Cluster role global-accelerator-manager-role contains wrong apiGroups for endpointgroupbindings resource.
According to spec of CRD, it should be operator.h3poteto.dev instead of operator.aws.h3poteto.dev

Here is PR for config/rbac, but please fix it at helm chart as well.

I updated the helm chart, please use helm chart v0.7.2.


[bug] Using double quotes in strings breaks the generated code

Currently Mindustry does not provide a way to create escaped double quotes like "\"".
This means that any code that follows similar to the following example is not parsed properly by mindustry:
print`a ' * 2 is "`;
printFlush();

The proposed solution is a hack, the compiler could convert each double quote into two single quotes to get somewhat similar results.

This is also related to #177.


SPWebAppPolicy: arry of Members delimited with "," or not?

Tested on PS5.1 with SharePointDSC v5.0.0
The list of Members in an SPWebAppPolicy throws an error when it is delimited with an "," while ReverseDSC does put an "," delimiter between the Members. Either reverseDSC or DSC contains a bug.
Output from ReverseDSC:
    SPWebAppPolicy 053f1e72-e106-0000-0000-5783a3759000
    {
        Members                = @(
            MSFT_SPWebPolicyPermissions {
                Username = $xx.UserName
                IdentityType = 'Native'
                PermissionLevel = 'Full Read'
                ActAsSystemAccount = $False
            },
            MSFT_SPWebPolicyPermissions {
                Username =  $xx.UserName
                IdentityType = 'Claims'
                PermissionLevel = 'Full Read'
                ActAsSystemAccount = $False
            },
            MSFT_SPWebPolicyPermissions {
                Username =  $xx.UserName
                IdentityType = 'Claims'
                PermissionLevel = 'Full Read'
                ActAsSystemAccount = $False
            });
        PsDscRunAsCredential   = $xx;
        SetCacheAccountsPolicy = $False;
        WebAppUrl              = "https://xx/";
    }

This throws an error because of the "," delimiter, removing the "," solves the issue:
SPWebAppPolicy WebAppPolicy
{
WebAppUrl            = "http://sharepoint.contoso.com"
Members              = @(
MSFT_SPWebPolicyPermissions {
Username           = "contoso\user1"
PermissionLevel    = "Full Control"
ActAsSystemAccount = $true
==>         },
MSFT_SPWebPolicyPermissions {
Username        = "contoso\Group 1"
PermissionLevel = "Full Read"
IdentityType    = "Claims"
}
)
PsDscRunAsCredential = $SetupAccount
}
The error:
At line:1295 char:19

},
~
Missing expression after unary operator ','. At line:1296 char:17
MSFT_SPWebPolicyPermissions {

Unexpected token 'MSFT_SPWebPolicyPermissions' in expression or statement.

Have tracked this issue back to an issue in ReverseDsc. Am working on fixing that, before I can update the required version in SPDsc.

Fixed in ReverseDsc v<IP_ADDRESS> via PR [microsoft/ReverseDSC#25].
Working on the PR for SPDsc to use this version now.


Replaced mock data with live data

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2337  👈
#2335
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite


pixel mark

This…

Adds a pixel mark for generating raster images from xy-samples with fill (and optionally opacity).
Adds the imageRendering property to the image mark (and pixel mark).
Fixes an unfiled bug with boolean color scales that contain nullish values in the domain.
Avoids computing the strokeWidth channel for marks that don’t support stroke.

I still need to write documentation, but I think this is functionally complete. I’m not 100% sure about the implementation, since adding and subtracting the default 0.5 can introduce tiny rounding errors (that go away when rounding during rendering, but still it would be nice to avoid them). I slightly wonder if it would be better to instead implement this as a canvas-based rect mark? Most other marks might want canvas-based rendering too… and in theory we Plot could even stack canvas and SVG elements rather than using svg:image (though that would break downloading).
Related #1122 #984.

We could probably learn a trick or two from @yurivish's unbelievably fast https://observablehq.com/@twitter/zoomable-density-scatterplot Writing the colors directly in the canvas data would probably be faster than using fillRect, since we don't need (nor want) anti-aliasing.

I often want a discrete quantitative scale, where I could draw a bar for a given unit, and it would have a width of 1 unit (minus insets).
For example, when drawing a bar chart for yearly data, I would prefer to write: x: {type:"linear", unit: 1} and use Plot.barY, than having to derive x1 and x2 with Plot.map and using Plot.rectY.
This option is slightly different from interval: 1, in that the bars would be ordinal-discrete, and centered on the unit, instead of covering [0, 1] we would cover [-0.5, 0.5]. And the scale would have a bandwidth. But (thinking out loud) maybe it is something we can do as an extension of interval: 1) an option to center things, and 2) add a bandwidth on the (continuous) scale.

I think we also need to support mixBlendMode internally (with context.globalCompositeOperation), for when we have several pixels at the same location?

Okay, I added mixBlendMode support, but it’s pretty much unusably slow presumably because it’s not hardware optimized.
I also added opacity support (as a fallback for fillOpacity, since both map to globalAlpha).

I've documented the pixel mark. Many of the common options do not work, but that's expected.

Closing in favor of #1196.


Compiling Error

I know it is something wrong with me cause everybody else can compile, but I get error
fatal error: sys/_lock.h: No such file or directory
I am on fedora. Help appreciated!

It happened to me and I think it was because I didn't do "sudo pip install -r requirements.txt"

git clone --recursive https://github.com/TheOfficialFloW/PPPwn

PPPwn.zip
@lompaket
precompiled


tesla api example : failing getting the partner token

I cannot go further the step of getting the partner token.
It does not appear in the URL (node '&code=') however, a code appears in the error page with a copy button, which I used as a code. Tried several times but failed each time. Any help welcome ! Here is the trace (private info hidden):
$ python main.py
Welcome to the guided tour of the tesla_api library
Registering a developer account
Please go to the following URL and register a developer account and your app (Python program):
https://developer.tesla.com/
Press [Enter] to continue, when registration is complete or  to cancel...
OpenSSL 1.1.1g FIPS  21 Apr 2020
The keys already exist in the directory 'lib/tesla_api/TeslaKeys'
Please push the public key 'lib/tesla_api/TeslaKeys/com.tesla.3p.public-key.pem' to your domain at the following URL:
https://skypaas.com/.well-known/appspecific/com.tesla.3p.public-key.pem
optional: put the php script 'tesla_api/WWW-example/index.php' to your https://skypaas.com/ directory to ease the code retrieval for later customer registration
Press Enter to continue, when the public key is pushed...
Getting the partner token...
Registering the partner account and domain .com
log Debug Tesla Command url: /api/1/partner_accounts
log Debug response status: 412, Precondition Failed, {"response":null,"error":"Root domain .com must match registered allowed origin on https://developer.tesla.com/dashboard/app-details/","error_description":"","txid":""}
return value register partner account: None
Something went wrong during registration, check logging
log Error The file tesla_tokens.json was not found.
The token file does not yet exist - we register the customer account now...
web-browser opened with URL:
https://auth.tesla.com/oauth2/v3/authorize?&client_id=&locale=en-US&prompt=login&redirect_uri=https:///&response_type=code&scope=openid%20offline_access%20user_data%20vehicle_device_data%20vehicle_cmds%20vehicle_charging_cmds%20energy_device_data%20energy_cmds&state=e7002213af7560aba03a1ebc3c782ec5
complete registration and watch, if the following random number is not disturbed in the response.
e7002213af7560aba03a1ebc3c782ec5
Next step is to exchange the Code for tokens.
You find the code in the URL, the tesla server redirects you to.
The page likely shows a 400 Bad Request, this is normal
The code can be found between &code and &state in the url
Please enter the 'code' from the URL:
--- token data {'error': 'invalid_auth_code', 'error_description': 'The authorization code is invalid. It may have already been used or expired. Request a new sign in session to generate a new code.', 'referenceID': . For more information, visit: https://developer.tesla.com/docs/fleet-api#help-and-support'}
Traceback (most recent call last):
File "main.py", line 118, in
tesla_api.tesla_register_customer(myTesla)
File "lib/tesla_api/tesla_api_2024.py", line 517, in tesla_register_customer
myTesla.exchange_code_for_tokens(myTesla.client_id, CLIENT_SECRET, user_input_code)
File "lib/tesla_api/tesla_api_2024.py", line 165, in exchange_code_for_tokens
expiry_time = datetime.datetime.now() + datetime.timedelta(seconds=token_data.get('expires_in'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unsupported type for timedelta seconds component: NoneType
$

It looks like you got earlier errors:
log Debug response status: 412, Precondition Failed, {"response":null,"error":"Root domain .com must match registered allowed origin on https://developer.tesla.com/dashboard/app-details/","error_description":"","txid":""}
I managed to get it working a few days ago, but the instructions regarding '/'s in config.py seemed the wrong way around for the lines 13 and 14: tesla_redirected_domain and tesla_redirect_uri
I ended up with the format below:
tesla_redirect_domain = "xxx.yyy.zzz/"  # NO https:// !!!
tesla_redirect_uri = "https://xxx.yyy.zzz/cgi-bin/ProcessToken.py"  # start with https:// and include a tailing '/'!
I do not speak php so used a python script to extract my token but index.php should work just as well


Webpack alias to relative paths

Hello Lean,
I'd like to make another contribution, thinking how to make larger projects we have a issue in the JavaScript module system, that is about relative paths, nobody like paths like this:
import lang from '../../../../lang'

So I decided to do some Webpack alias, something like:
import lang from '@lang'

Feel free to disagree this approach and change whatever you want.

Hi @fabioars. Your did a cool change but I think that it is very optionate. I don't think that most people use alias. Anyway, thanks for the contribution


Improve / refactor RingBuffer iterators

The implementation of ring_buffer::{Iter,IterMut} is pretty much a copy of the other. The duplication can be eliminated by using a macro (see implementation of iterators in libcore). Also both Iter and IterMut use the default methods provided by the Iterator trait; the Iterator implementation for those two could override the default methods for better performance.

Triage: Still needs to be implemented.

Hi @japaric,
check out https://github.com/XOSplicer/heapless/commit/57452a8138f70eeeb8bffcef51b1a870286cf06c if you have the time.
I have never worked with macros before, so some things might be a little rough.
If you like the changes, I can open a PR.


Poor error message when secrets-encryption only enabled on primary server

Environmental Info:
K3s Version:
k3s version v1.20.6+k3s1 (8d043282)
go version go1.15.10

Node(s) CPU architecture, OS, and Version:

Linux k3s-500-2 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:

Bootstrapping High Availability with Embedded DB. Primary server configured; attempting to add second. Third server yet to be configured
Describe the bug:

The first server is bootstrapped and had --secrets-encryption enabled.
When bootstrapping the second server, --secrets-encryption is omitted.
The only log messages produced are:
Apr 20 12:42:34 k3s-500-2 k3s[1535]: time="2021-04-20T12:42:34.674014114Z" level=info msg="Starting k3s v1.20.6+k3s1 (8d043282)"
Apr 20 12:42:34 k3s-500-2 k3s[1535]: time="2021-04-20T12:42:34.716012083Z" level=info msg="Managed etcd cluster not yet initialized"
Apr 20 12:42:34 k3s-500-2 k3s[1535]: time="2021-04-20T12:42:34.720594759Z" level=fatal msg="starting kubernetes: preparing server: failed to write to : open : no such file or directory"
Apr 20 12:42:34 k3s-500-2 systemd[1]: k3s.service: Main process exited, code=exited, status=1/FAILURE

Steps To Reproduce:

Install K3s on primary:  K3S_TOKEN=SECRET k3s server --cluster-init --secrets-encryption`
After primary is configured, install K3s on secondary: K3S_TOKEN=SECRET k3s server --server https://<ip or hostname of server1>:6443 (omit --secrets-encryption)

Expected behavior:

A more concise error message describing the failure. The HA docs should also indicate which options must be replicated on all server nodes

Attaching the strace from our Slack conversation, in case its useful later:
[pid  3469] newfstatat(AT_FDCWD, "/var/lib/rancher/k3s/server/tls/etcd", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
[pid  3467] <... nanosleep resumed>NULL) = 0
[pid  3469] openat(AT_FDCWD, "/var/lib/rancher/k3s/server/tls/etcd/peer-ca.key", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0600 <unfinished ...>
[pid  3467] nanosleep({tv_sec=0, tv_nsec=20000},  <unfinished ...>
[pid  3469] <... openat resumed>)       = 8
[pid  3469] epoll_ctl(3, EPOLL_CTL_ADD, 8, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=582465096, u64=139810357884488}}) = -1 EPERM (Operation not permitted)
[pid  3469] epoll_ctl(3, EPOLL_CTL_DEL, 8, 0xc0015ad864 <unfinished ...>
[pid  3467] <... nanosleep resumed>NULL) = 0
[pid  3469] <... epoll_ctl resumed>)    = -1 EPERM (Operation not permitted)
[pid  3467] nanosleep({tv_sec=0, tv_nsec=20000},  <unfinished ...>
[pid  3469] write(8, "-----BEGIN EC PRIVATE KEY-----\nM"..., 227) = 227
[pid  3469] close(8 <unfinished ...>
[pid  3467] <... nanosleep resumed>NULL) = 0
[pid  3469] <... close resumed>)        = 0
[pid  3467] nanosleep({tv_sec=0, tv_nsec=20000},  <unfinished ...>
[pid  3469] newfstatat(AT_FDCWD, ".", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
[pid  3469] openat(AT_FDCWD, "", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0600) = -1 ENOENT (No such file or directory)
[pid  3467] <... nanosleep resumed>NULL) = 0
[pid  3467] nanosleep({tv_sec=0, tv_nsec=20000},  <unfinished ...>
[pid  3469] write(2, "\33[31mFATA\33[0m[2021-04-20T02:03:4"..., 140FATA[2021-04-20T02:03:42.734753028Z] starting kubernetes: preparing server: failed to write to : open : no such file or directory
) = 140
[pid  3469] exit_group(1 <unfinished ...>
[pid  3473] <... futex resumed>)        = -1 (errno<PHONE_NUMBER>3709551385)
[pid  3474] <... futex resumed>)        = ?
[pid  3471] <... futex resumed>)        = ?
[pid  3462] <... futex resumed>)        = ?
[pid  3473] +++ exited with 1 +++
[pid  3474] +++ exited with 1 +++
[pid  3472] <... futex resumed>)        = ?
[pid  3470] <... futex resumed>)        = ?
[pid  3469] <... exit_group resumed>)   = ?
[pid  3468] <... epoll_pwait resumed> <unfinished ...>) = ?
[pid  3467] <... nanosleep resumed> <unfinished ...>) = ?
[pid  3472] +++ exited with 1 +++
[pid  3471] +++ exited with 1 +++
[pid  3470] +++ exited with 1 +++
[pid  3469] +++ exited with 1 +++
[pid  3467] +++ exited with 1 +++
[pid  3468] +++ exited with 1 +++
+++ exited with 1 +++

This was fixed with https://github.com/k3s-io/k3s/pull/6409


Android requests failed

Hi. I am using fetch method with https protocol. On Android devices and emulator getting this error -> error get data TypeError: Network request failed
Thx

Are you sure the URL you are trying to reach is reachable from the device?

@rmevans9  Yes, absolutely
Error is ->
TypeError: Network request failed
at XMLHttpRequest.xhr.onerror (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:24746:8)
at XMLHttpRequest.dispatchEvent (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:10657:15)
at XMLHttpRequest.setReadyState (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:26317:6)
at XMLHttpRequest.didCompleteResponse (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:26163:6)
at RCTDeviceEventEmitter.emit (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:9896:23)
at MessageQueue.callFunction (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7493:34)
at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7364:8
at guard (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7304:1)
at MessageQueue.callFunctionReturnFlushedQueue (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7363:1)
at onmessage (http://localhost:8081/debuggerWorker.js:44:56)

@Clcll did you resolve this yet?  I'm running into the same error but only on Android API 21 or below.

Resolved this issue just now, swapped out my SSL cert for one issued by LetsEncrypt.  Other issues/posts about this suggest to check to see if your SSL cert is trusted, but my SSL cert was just fine in my case, not sure what in particular was wrong with my old SSL cert.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/android-requests-failed


User-definable functions for builtin Haskell syntax

It would be nice if we could make some of the functions that are currently defined in the Prelude (such as if_then_else_) user-definable instead, and perhaps even allow multiple Agda functions that compile to the same Haskell syntax. Here is a list of some functions for which this could be done:

[x] Tuple constructors _,_, _,_,_, ...
[ ] if_then_else_
[ ] case_of_
[ ] Integer and string literals
[ ] enumFromThenTo
[ ] ...

See also #74 for some motivation

The types of if_then_else_ and case_of_ are now more general so there's less need for having multiple versions of them, and for literals and ranges the need to have multiple versions of them is a bit dubious too. So since we have the most important part done, I will close this now so it can be added to the 1.3 milestone.


Add the global concurrency-safe increment counter

Proposal
As a user for this plugin, I would like to use global counter, e.g. for IDs or for cursor-alike APIs. To do that, there should be a concurrency-safe increment logic, maybe offered as a handlebars Marco. Other similar methods would be nice as well
As a bonus point, it would be nice to use the storage API to ensure that it remains concurrency-safe even when HA-alike features re used, but I think it is for the future and needs API review together with @tomakehurst
References
No response

It would be great @tomakehurst !
Do not forget to register for Hacktoberfest too 👼

Just reached this while trying to fix a bug with redundant updates: somehow I either need a lock or a concurrent update mechanism for a store which also works in HA. @tomakehurst if I can support in any way I'm happy to contribute.


revert app name change in azure yaml

What was the driving factor for this change? Causes fracture in the telemetry (or none reported) and outside of the standards.
cc:// @kristenwomack

Hi @spboyer ! The app failed to deploy when the name change was made, hence reverted it back.
I opened this issue to track changing the name back:
https://github.com/Azure-Samples/agent-openai-python-prompty/issues/83


add enumeration class

#28 "Use enumeration instead of enum in domain model" - I have made this change.

Hi @KennyGitStyle
Thank you so much for your time and contribution.
The issue needs more changes to be done, if you still like to do it see the following tips:
(I should have added this tips to the issue before)

Remove BoardMemberAccessLevel and UserType from contract enums because they are not used anymore
Remove ContractEnumeration.cs from Contracts because they belong to Domain Model
Move your BoardCardType definition into CardType  value object
Refactor Card behaviors in Board aggregate with new CardType value object
Refactor Card Domain Events and Integration Events with new CardType value object (in the Read side, we still want to use CardType enum)
Refactor Card use cases with new CardType value object. Here we need to prevent the outside world to be aware of our changes, so try to map the CardType enum given from the request to CardType value object in use cases then pass it to the Domain behaviors

Now, if the task is large, It's no problem ignoring it. You're always welcome to do another tasks. Also, if you have any question, I am glad to help.

Ok, thats fine!


🐞 [BUG] - <issue 4 : navbar dark button>

Issue Verification

[X] I have verified that this is a new bug report.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Describe the bug
navabr dark button place is not fixed position
Expected behavior
it should be fixed
Steps to reproduce
No response
Additional Context

hey @jfmartinz , please assign to me as GSSOC'24


Fix lazy-loading for tiled images with multiple slices

Fixes #177
Tests will fail until tlnagy/exampletiffs#10 is approved

Just approved https://github.com/tlnagy/exampletiffs/pull/10


Supporting gollvm/llvm-goc

Greetings.
I am interested to help with arranging a separate CI pipeline, for an alternative compiler:
https://go.googlesource.com/gollvm/
. Currently x86_64, Aarch64 arch. are supported.

Hey @advancedwebdeveloper we are in the process of reviewing old issues. If you can make gollvm work and send us a PR we would be interested in reviewing it. Unfortunately, we do not have capacity for developing such a switch ourselves.

Hey @advancedwebdeveloper we are closing this issue for now, please feel free to reopen.


To configure behaviour of drone when geofence is violated

examples/geofence.py
In simulation drone continues it's path after violating geofence as obvious the behaviour of drone is not defined.
Can anyone guide me how can i define the behaviour of drone after violation of geofence .I am not able to configure how to catch the warning of geofence violation so i can execute the required behaviour of drone

I believe this is done on the PX4 side. So you should be able to set this through parameters, via the param plugin.
Does that make sense?

Yes it does makes sense. Can you guide with an example showing how to set parameters as I am not well versed with programming

Thanks I got it how to set param using param plugin .
thank you for your help.


Score not found

Do not display the "Score not found" messages when --scores-less-than is used.

Fixed


https://github.com/github/docs/issues?q=is%3Aopen+label%3Alocalization+mentions%3Ah869B

What article on docs.github.com is affected?

What part(s) of the article would you like to see updated?

Additional information

https://github.com/github/docs/issues/4085#issue-817973182


Error for PDP algorithm

Hello!
I have the next problem:
9 stops
3 vehicles
start stops for each vehicle: 0 0 1
end stops for each vehicle: 3 2 1
pick-up drop-off pairs: [7 5][6 8][4 3]
this is how I set the pairs:
		for (int32 i = 0; i < m_vPickups.size(); i++)
		{
			int32 delivery = m_vDeliveries[i];
			operations_research::RoutingIndexManager::NodeIndexnode(delivery);
			int32 delivery_index = manager->NodeToIndex(operations_research::RoutingIndexManager::NodeIndex(delivery));

			if (delivery_index == -1) //delivery_index is one of the endStops
			{
				for (int32 j = 0; j < manager->num_vehicles(); j++)
				{
					int32 endIndex = manager->GetEndIndex(j);
					operations_research::RoutingIndexManager::NodeIndex endNode = manager->IndexToNode(endIndex);
					if (endNode.value() == delivery)
					{
						delivery_index = endIndex;
						break;
					}
				}
			}

			operations_research::RoutingIndexManager::NodeIndex pickupNode(m_vPickups[i]);
			int64 pickup_index = manager->NodeToIndex(pickupNode);

			solver.AddConstraint(solver.MakeEquality(routing->VehicleVar(pickup_index), routing->VehicleVar(delivery_index));

			if (!routing->IsStart(pickup_index) && !routing->IsEnd(delivery_index))
			{
				if (distanceDimension != nullptr)
					solver.AddConstraint(solver.MakeLessOrEqual(distanceDimension->CumulVar(pickup_index), distanceDimension->CumulVar(delivery_index)));
				if (timeDimension != nullptr)
					solver.AddConstraint(solver.MakeLessOrEqual(timeDimension->CumulVar(pickup_index), timeDimension->CumulVar(delivery_index)));

				routing->AddPickupAndDelivery(pickup_index, delivery_index);
			}

		}

In connectivity.h is this function:
  // Compresses the path for node.
  NodeIndex CompressPath(NodeIndex node) {
    CheckNodeBounds(node);
    NodeIndex parent = node;
    while (parent != class_[parent]) {
      CheckNodeBounds(class_[parent]);
      CheckNodeBounds(class_[class_[parent]]);
      parent = class_[parent];
    }
    while (node != class_[node]) {
      const NodeIndex old_parent = class_[node];
      class_[node] = parent;
      node = old_parent;
    }
    return parent;
  }

The problem is that sometimes I receive an error because stop 3 is one of the end stops, and also is used in the pdp pairs. His index is 8 and class_.size() is also 8 and class_[parent] is out of bounds, and class_[class_[parent]] returns this: "Exception thrown: read access violation. std::vector<int,std::allocator >::operator returned 0x15C8DDBC810."
Sometimes when class_[8] is used it returns 0, so it works, and sometimes it is out of bounds, so it returns an error.
What should I do?

duplicate node 3, one for drop stop and one for vehicle end

But why sometimes it works and sometimes it doesn't for the same input?


Increase success GitHub actions

Resolves #57 (to some extent)
In previous CI builds, it appears we adjusted for limited memory in Github Actions by extending the page. However, particularly on Windows, there were issues where CI failed due to disk space exhaustion errors.
On the other hand, starting with GraalVM version 22.2, it's possible to build using less memory. Therefore, by addressing this memory shortage, the tests have become more stable, though not perfect. Currently, GC occurs occasionally, but it doesn't take an excessive amount of time. Builds are possible using roughly 5GB of memory.
Others:

On the first run in Windows, the compiler crashes for 3 or 4 jobs. However, some of these can be passed by re-running.

I chose the GraalVM CE version because it has fewer errors compared to the Oracle version.

setup-graalvm has been updated to match the new scheme starting from GraalVM 22.0.
On macOS, there are frequent errors during Docker preparation, so I've extended the timeout duration.

Umm... while my previous test went fairly well, it's still uncertain😢 .
However, the errors mentioned below no longer occur, so I believe we've made some progress.
Run npm install
...
npm ERR! ERROR: Failed to set up Chromium r869685! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
npm ERR! [Error: ENOSPC: no space left on device, write] {
npm ERR!   errno: -4055,
npm ERR!   code: 'ENOSPC',
npm ERR!   syscall: 'write'
npm ERR! }


Increment cluster counter and delete orphaned meter in MetricsStore

Change to store the cluster counter value directly instead of remembering each counter reported by client or worker.
This is helpful: (1) to reduce the space needed to store reported metrics (2) because counter value is historical summarized value. There is no need to delete the orphaned counter value.
For all other metrics, we keep the original way: store all the original reported metrics and update the cluster metric value periodically.
But to make it more accurate, a delete orphaned metrics logic is added. Metrics reported by worker/client which hasn't reported for a long period of time (configurable) will be deleted. This can help us to get more accurate throughput value. worker/client report throughput as the last 1 minute rate which does not make sense if it's orphaned.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7991/
Test FAILed.

alluxio.server.auth.DelegationTokenFaultToleranceIntegrationTest.getDelegationTokensFault(alluxio.server.auth.DelegationTokenFaultToleranceIntegrationTest)
16:43:30    Run 1: DelegationTokenFaultToleranceIntegrationTest.before:136 �� IO java.lang.Runtime...
16:43:30    Run 2: DelegationTokenFaultToleranceIntegrationTest.before:136 �� IO java.lang.Runtime...
16:43:30
16:43:30  alluxio.server.ft.ZookeeperFailureIntegrationTest.zkFailure(alluxio.server.ft.ZookeeperFailureIntegrationTest)
16:43:30    Run 1: ZookeeperFailureIntegrationTest.zkFailure:80 �� Timeout Timed out waiting for a...
16:43:30    Run 2: ZookeeperFailureIntegrationTest.zkFailure:80 �� Timeout Timed out waiting for a...
16:43:30
16:43:30  alluxio.server.ft.journal.MultiMasterJournalTest.testCheckpointReplay(alluxio.server.ft.journal.MultiMasterJournalTest)
16:43:30    Run 1: MultiMasterJournalTest.testCheckpointReplay:53 �� IO java.lang.RuntimeException...
16:43:30    Run 2: MultiMasterJournalTest.before:47 �� IO java.lang.RuntimeException: alluxio.exce...
16:43:30
16:43:30  alluxio.server.ft.journal.MultiMasterJournalTest.testTtl(alluxio.server.ft.journal.MultiMasterJournalTest)
16:43:30    Run 1: MultiMasterJournalTest.before:47 �� IO java.lang.RuntimeException: alluxio.exce...
16:43:30    Run 2: MultiMasterJournalTest.testTtl:70 �� IO java.lang.RuntimeException: alluxio.exc...

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7994/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7995/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8000/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8004/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8013/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8016/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8020/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8029/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8034/
Test PASSed.

@calvinjia Addressed the comments, reduced the string concatenation, PTAL, thanks

alluxio-bot, merge this please


Consider using shorter file names for caching

The caching feature of this plugin creates very long file names. Just the path from node_modules
node_modules\.cache\uglifyjs-webpack-plugin\content-v2\sha512\2b\ce\fc932e4e75182464ea021da42584368afdfca38facdf52f2b9bf48e468a80d644f1f62c363fd2f2687c8047061725b4cf511b0ec8c3d05dc047de250bf64 is 192 characters alone.  Windows has a max file path length of 260 characters, so it's easy to exceed 260 if the solution is nested in the file tree.
I've turned caching off to get around this, but would be a nice improvement for devs on Windows.

@JohnReagan Thanks for issue, we can't solve this problem here, original issue https://github.com/zkat/cacache/issues/122

Help me to understand why the length of files in .cache associated with your plugin cant be fixed?  I cant even delete the folder or file...

Because we don't create filename, it is doing by cacache


Automated tests for the CRUD spec (currently only "find")

@vkarpov15 Looks like the cloning of the "specifications" repo is working.