[Bug]: Failed to launch the browser process!

Bug description
An error is thrown when I use the following code！
 const browser = await puppeteer.launch({
         headless: true
 });

error message:
Failed to launch the browser process!\n/opt/video-url-analysis/node_modules/_puppeteer<EMAIL_ADDRESS>error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n

I saw the tips about node 14.0.0 Chrome is downloaded but fails to launch on Node.js 14 , but I use the node version is v14.18.1!
What do I need to do to run it!
Puppeteer version
13.1.0
Node.js version
v14.18.1
npm version
6.14.15
What operating system are you seeing the problem on?
Linux
Relevant log output
Failed to launch the browser process!\n/opt/video-url-analysis/node_modules/_puppeteer<EMAIL_ADDRESS>error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n

I'm having this same issue after deploying in Heroku. In local is working perfectly, but in Heroku it fails. I've followed the
guidelines adding the buildpack and so, but same error.
This is how I initialize the browser:
 browser = await puppeteer.launch({             headless: true,             args: ['--no-sandbox', '--disable-setuid-sandbox'],         });
The error I get:
Error: Failed to launch the browser process!
Here the buildpacks added in Heroku

Now I've solved it！install libXScrnSaver in the server and can run it!
sudo yum -y install libXScrnSaver-1.2.2-6.1.el7.x86_64

I think that's not valid for me in Heroku. Thanks anyway for your answer. I'll keep searching

Just in case anyone comes here with same problem for Heroku, I created an issue in the libpack library for Heroku. Hopefully it will be discuss there:
https://github.com/jontewks/puppeteer-heroku-buildpack/issues/94

@davicente What does the command do?
I am getting bash: yum: command not found as error.

@zhaosheng808 What does the command do?
I am getting bash: yum: command not found as error.

@zhaosheng808 What does the command do?
I am getting bash: yum: command not found as error.

I don't know the specific principle of this, but I have performed the following operations and the problem has been solved
sudo yum -y install libXScrnSaver-1.2.2-6.1.el7.x86_64

and
sudo yum install -y chromium

you can see this issues https://github.com/puppeteer/puppeteer/issues/5361

Now I've solved it！install libXScrnSaver in the server and can run it!
sudo yum -y install libXScrnSaver-1.2.2-6.1.el7.x86_64

Its also worked for me Thank You @davicente

You may install the buildpack on the server using github repo: https://git.centos.org/rpms/libXScrnSaver/

In Ubuntu you have to:
    apt install chromium-browser
    apt install libxkbcommon0
    apt install libxshmfence1
    apt install 1622  apt-get install ca-certificates
    apt install fonts-liberation
    apt install libasound2
    apt install libatk-bridge2.0-0
    apt install libatk1.0-0
    apt install libc6
    apt install libcairo2
    apt install libcups2
    apt install libdbus-1-3
    apt install libexpat1
    apt install libfontconfig1
    apt install libgbm1
    apt install libgcc1
    apt install libglib2.0-0
    apt install libgtk-3-0
    apt install libnspr4
    apt install libnss3
    apt install libpango-1.0-0
    apt install libpangocairo-1.0-0
    apt install libstdc++6
    apt install libx11-6
    apt install libx11-xcb1
    apt install libxcb1
    apt install libxcomposite1
    apt install libxcursor1
    apt install libxdamage1
    apt install libxext6
    apt install libxfixes3
    apt install libxi6
    apt install libxrandr2
    apt install libxrender1
    apt install libxss1
    apt install libxtst6
    apt install lsb-release wget
    apt install xdg-utils
    apt install

bbb

puppeteer

Getting the error Failed to launch both playwright and puppeteer

I have same issue
in locally it work perfectly but when i copy it into docker i have got an error
Error: Unable to launch browser, error message: Failed to launch the browser process!
 /usr/src/node_modules/puppeteer/.local-chromium/linux-1022525/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory```

In Ubuntu you have to:
    apt install chromium-browser
    apt install libxkbcommon0
    apt install libxshmfence1
    apt install 1622  apt-get install ca-certificates
    apt install fonts-liberation
    apt install libasound2
    apt install libatk-bridge2.0-0
    apt install libatk1.0-0
    apt install libc6
    apt install libcairo2
    apt install libcups2
    apt install libdbus-1-3
    apt install libexpat1
    apt install libfontconfig1
    apt install libgbm1
    apt install libgcc1
    apt install libglib2.0-0
    apt install libgtk-3-0
    apt install libnspr4
    apt install libnss3
    apt install libpango-1.0-0
    apt install libpangocairo-1.0-0
    apt install libstdc++6
    apt install libx11-6
    apt install libx11-xcb1
    apt install libxcb1
    apt install libxcomposite1
    apt install libxcursor1
    apt install libxdamage1
    apt install libxext6
    apt install libxfixes3
    apt install libxi6
    apt install libxrandr2
    apt install libxrender1
    apt install libxss1
    apt install libxtst6
    apt install lsb-release wget
    apt install xdg-utils
    apt install

we were using azure web apps
after some restart we need to execute above
in order make puppter working

In Ubuntu you can try;
sudo apt install libxkbcommon0 libxshmfence1 ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils to install all the packages togather

In Ubuntu you can try;
sudo apt install libxkbcommon0 libxshmfence1 ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils to install all the packages togather

worked for me Thank You

In Ubuntu you can try;
sudo apt install libxkbcommon0 libxshmfence1 ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils to install all the packages togather

thanks, man. can you explain why it's working after installing all the packages?

In Ubuntu you can try;
sudo apt install libxkbcommon0 libxshmfence1 ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils to install all the packages togather

Thank you!


Add documentation for quirks when building tags

This adds a section about a quirk when triggering builds against tags through the API or a schedule (anything but a webhook from GitHub).
The section looks like:

I also updated the agent configuration page in the BUILDKITE_GIT_FETCH_FLAGS section to link to this page and the same from the API page for creating a build section

:tada:

:raised_hands: yay


Fix "Internal error ... local variable 'errstr' referenced before assignment during BoundFunction(...)"

In cc673c1 a change had been introduced in numba/core/types/functions.py:399 which includes two problems that can occur (only) when config.DEVELOPER_MODE is active:

it uses the errstr variable before assignment
it does not use the real function call to _bt_as_lines(bt)

This pull request fixes both problems.

@jalsti thanks for submitting this, I have queued it for review.

@jalsti could you potentially add the code and configuration you used to trigger it? Maybe that can form the basis of a test?

Minimal example would be to set developer mode, start ipython:
$ export NUMBA_DEVELOPER_MODE=1
$ ipython3

and use following snippet, which triggers the problem here (with Numba 0.50.0 and 0.50.1)
import numba
@numba.jit("int64[:,:,::1](int64[:,:,::1])")
def trigger_5952(rgb):
    foo = rgb.max(-1)

(Normally the parameter going into the function was here an RGB image as Numpy array, but the above seems enough to trigger the problem.)

Thanks for the example. I've made this into a test here: https://github.com/stuartarchibald/numba/commit/3523ea5a5e698f4280bf8be6bcc6c15b339b796a, I think with this applied, the above patch can be accepted as it demonstrably fixes the issue. Many thanks for reporting this and for supplying a fix!

Thank you very much.

@jalsti no problem, thank you for helping with this! I've applied 3523ea5 to this branch. @esc please could you verify and approve as you see fit, thanks.

Thanks @esc


Skdahale/issue149

Fixes #
Describe the changes you have made in this PR -
Screenshots of the changes (If any) -
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

@Skdahale what is this PR for? Which issue it is solving? For now I am closing this PR as it looks irrelevant to me currently. Please raise an issue explaining the problem and then raise a PR with respect to that issue.


Missing getters for constructor parameters

This Ceylon class:
class C(Float f) satisfies Comparable<C> {
    shared actual Comparison compare(C other) {
        return f<=>other.f;
    }
    shared actual String string = "C(" f.string ")";
}

turns into this js code:

function $C(){}
$C.T$all={'C':$C}
for($ in $$$cl15.$IdentifiableObject.T$all){$C.T$all[$]=$$$cl15.$IdentifiableObject.T$all[$]}
for($ in $$$cl15.$Comparable.T$all){$C.T$all[$]=$$$cl15.$Comparable.T$all[$]}
for(var $ in CeylonObject.prototype){
    var $m=CeylonObject.prototype[$];
    $C.prototype[$]=$m;
    if($.charAt($.length-1)!=='$'){$C.prototype[$+'$CeylonObject$']=$m}
}
for(var $ in $$$cl15.$Comparable.prototype){
    var $m=$$$cl15.$Comparable.prototype[$];
    $C.prototype[$]=$m;
    if($.charAt($.length-1)!=='$'){$C.prototype[$+'$$$cl15.$Comparable$']=$m}
}
function C(f, $$c){
    if ($$c===undefined)$$c=new $C;
    $$$cl15.Comparable($$c);

    //MethodDefinition compare at comparables.ceylon (2:4-4:4)
    function compare(other){
        return f.compare(other.f);
    }
    $$c.compare=compare;

    //AttributeDeclaration string at comparables.ceylon (5:4-5:51)
    var $string=$$$cl15.StringBuilder().appendAll($$$cl15.ArraySequence([$$$cl15.String("C(",2),f.getString().getString(),$$$cl15.String(")",1)])).getString();
    function getString(){
        return $string;
    }
    $$c.getString=getString;
    return $$c;
}

So the compare method fails because other.f is undefined. I think the class definition is missing the getF() and of course assigning f as a property to $$c.

hmmm turns out the compiler adds $$c.f=f if the prototypeStyle flag is on. But there's no else to do something different if the flag is off...

The JsCompiler passes optimize flag to the GenerateJsVisitor in place of the prototypeStyle flag...

I guess that's intentional because in closure style the parameters are usually accessed through the closure. But that doesn't work here. Interesting, I didn't even know that this is allowed in Ceylon.

Yes, the prototype style is the optimized version.

@gavinking
This points to a problem with closure style: a closure hides values from all other objects while a non-shared member in Ceylon is only hidden from other classes, but still visible to other instances of the same class.

@ikasiuk I thought I had already accounted for that by looking to see if the value was "captured". But I might have missed it...

@gavinking
Yes, you are right. I wasn't aware that non-shared member attributes/methods which are accessed this way also count as captured. But it seems to work as expected, except for class parameters. And that's just because the attribute is only added to the object in prototype style in this case. So that should be easy to fix.

@ikasiuk OK, good, thanks for checking.


Count Data

Description
It would be very useful to add metadata describing the availability of raw count data and standardize how to access it for given h5ads better.
Context
When using h5ads from the census, many have count data in the .raw.X slot, however, others have it in the original .X slot or don't have it all.
Impact
There are countless normalization methods for single cell data and it's difficult to tell which were used for a given dataset. Providing raw count data allows us to run our own normalizations in a standardized way.
Alternatives you've considered
There are some automatic scanpy checks that are possible but it is still wasteful to download a dataset that doesn't have raw data.
Ideal behavior
All h5ads should have raw count data available in a standardized slot, perhaps .raw.X, and you should be able to filter queries to the census for datasets that only have count data.

All data in Census is supposed to have raw counts...
https://chanzuckerberg.github.io/cellxgene-census/cellxgene_census_docsite_schema.html#data-included-in-the-census
Can someone comment on whether this is being enforced?

@davemcg
Hi Dave, all data in the Census are raw counts. It is currently enforced as part of our build process of the Census.
I believe @Yanay1 is referring to the source H5AD files that are used to build the Census. These files can be downloaded with the api via:
cellxgene_census.download_source_h5ad() see reference doc here.
@Yanay1 Since these files are part of the CELLxGENE ecosystem and they are RNA data then they are required to have raw counts (see the corresponding schema requirement here). In addition, data contributors may include normalized values.
That leads to two scenarios:

An H5AD only has raw counts
An H5AD has both raw counts and normalized values.

There's a simple heuristic you can follow to alway fetch the raw counts:

If adata.raw.X exists then those are the raw counts.
If atada.raw.X does NOT exist, then the raw counts are in adata.X

Please let me know if this resolves your question.

Thanks - that is helpful. I couldn't find any discussion about data processing - are there any standards about how the quantification happens? Someone could be using CellRanger, or STAR, or kbtools, or alevin-fry. Then there are several different options for the genome/transcriptome models.....

That helps, thanks!


Flash: Retry failed payment attempts

See each commit

I will have a closer look after it's out of draft. You think we can merge https://github.com/bpfkorea/agora/pull/1721? I'll rebase against v0.x.x after.

Down the road we should probably add a max retry count and an increasing delay between each attempt.


cherry-pick bugfix commit

Changes
https://github.com/katanomi/pkg/commit/7199d5c761c08801d5fd1f2c504accc161cc4c22
https://github.com/katanomi/pkg/commit/cfb454b308a3ce7714e32ae95f7e58b79a4535cf

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] spec PR link included
[ ] Follows the commit message standard
[ ] Meets the contributing guidelines (including
functionality, content, code)
[ ] Test cases with documentation and functionality works as expected using current and related github repos (MUST deploy and check)
[ ] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes

/lgtm


Retinanet

The try-except clauses added to eval.py are less than ideal. It would probably be better to rewrite eval.py (perhaps moving the FasterRCNN-specific code to /luminoth/models/fasterrcnn/eval.py?) before merging this branch.

Uh, justo cuando iba a revisarlo. 😞


Adding Python course in pt-br

Adding Python course in pt-br
What does this PR do?
Add Resource(s)
For resources
Description
Add Python course in pt-br
Why is this valuable (or not)
The best algorithms in python course in pt-br
How do we know it's really free?
It's an open website
For book lists, is it a book?
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Good resource. Please check the Travis-CI linter results.

Thanks, and welcome to free-programming-books!


dont merge

test

doesnt seem to notify if another language is added in later commits :(

@c-ehrlich it doesn't tag Yevhenii.

@c-ehrlich it doesn't tag Yevhenii.

Fixed in #1168


Using dataset_path with / character and --log_samples command line option causes failure

When using a dataset path with a "/" such as:
dataset_path: EleutherAI/asdiv
where the yaml is placed in a directory and passed in the cli with directory
--task=my/directory
If you include --log_samples, it will fail, because it is trying to write a file which contains / in the filename.
Without --log_samples it works fine.
Due to this code in
main.py
re.sub("/|=", "__", args.model_args), task_name

To recreate:
python ./lm_eval --model hf     --model_args pretrained=google/flan-t5-base --limit 1 --output_path output --log_samples  --device cuda:0 --task lm_eval/tasks/asdiv

Suggested solution: replace the special characters in the task_name as well.

I think the standard way is to include the folder containing the configs through --include_path lm_eval/tasks/asdiv and specify the tasks using --tasks asdiv,...

Hi @baberabb .  Thank you. This solved my problem.


Improve inference for apply nodes if FN node is from a parameter

Use case:
def cast(t, x):
    return t(x)

In such case, t comes with an abstract type and never goes through inference logic (as it's a parameter node, not a constant nor an apply). So, inference for apply t(x) won't be able to get inference function for t. This PR tries to fix it.

Check apply's FN node abstract to get either inference function if available, or lookup inference in inferrers if FN has an abstract type.
Add a utility method dispatch_inferences() to set multiple signatures for an inference.
use dispatch_inferences() for constructors inferences: bool, int, float.
Add a test for this case (test_scalar_cast).

Extracted from #421
@breuleux @abergeron

@breuleux PR updated.


fix: accommodate for optional properties in index signature

Description
This is an alternative to #86, which fixes the index signatures not supporting optional (undefined) values.
#86 modifies the Json type adding undefined to it, which may be considered not technically correct. This PR proposes an alternative way that doesn't touch the Json type.
Type of Change

Bug fix

Does this introduce a breaking change?
No.
Are documentation updates required?
No.
Testing information
Build the project and verify the TS compiler doesn't show errors in decode.d.ts for optional properties. Example:
Property 'alg' of type 'string | undefined' is not assignable to 'string' index type 'Json'.

Checklist

[x] Code is commented where needed
[x] Unit test coverage for new or modified code paths
[x] npm run test passes
[ ] Changelog is updated
[ ] Tag 1 of @person1 or @person2

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

@janniks anything else I can do to help landing this?

I think it looks good 👍🏻 Thanks for the ping. I'll add a second reviewer as well.

@janniks @zone117x can this be merged (and ideally released)? :)


Server initialization failed

I have no idea what's going on here
VSCode v1.33.1
Node v12.0.0
GraphQL for VSCode v1.13.1
[Info  - 12:04:52 PM] NODE_PATH value is: /Users/Andy/node_modules
[Info  - 12:04:53 PM] Module '@playlyfe/gql' loaded from<EMAIL_ADDRESS>[Error - 12:04:53 PM] Server initialization failed:
Request initialize failed with message: options.cwd must be a string
Expected: string
Actual: null

Seems like the workspaceRoot is empty... Can you try opening the project folder in vscode?


Add svg title tag

Thanks! Hm, I think maybe we should call this titleTag instead of title, to match the name that we use for HTML title tag? (the name title is taken by the title attribute in the html namespace)

Done

Thanks!


mitogen.core.Channel calls Sender._init (missing underscore?)

mitogen.core.Channel.__init__() calls Sender.__init_(), rather than Sender.__init__(). That's not intentional, right?

Definitely not :) That code has barely been touched since 2007 until I refactored it into Sender/Receiver a few weeks back.. it should work now


Multiplication of Matrix Added in JAVA #727

Multiplication of Matrix Added in JAVA #727
#727 Done in JAVA
@nakul-19 @plazzy99 @OjusWiZard @rudrakshi99
Please Review It.

@rish-singhal Fixes #727 I have Resolved My regular Mistakes, Please Review it !


How do I run a Before step before multiple tests (by using multiple tags)?

How do I run a Before step before multiple tests (by using multiple tags)?
In the example given in the docs, I can run this step before tests tagged with @foo:
// this will only get called before scenarios tagged with `@foo`
Before({ tags: "@foo" }, () => {
  beforeWithTagCounter += 1;
});

What if I want to run this step before tests tagged with @foo and @bar?

Can you use the or-operator, as described in Cucumber's documentation?

If you mean something like this, I tried and it did not work:
Before({ tags: "@foo and @bar" }, () => {
  doSomething();
});

No, like this.
Before({ tags: "@foo or @bar" }, () => {
  doSomething();
});

No, like this.
Before({ tags: "@foo or @bar" }, () => {
  doSomething();
});

Yeah, that worked. Thank you, @badeball .

I'm glad! I'm then considering this closed for now.


Using Swift 2 doesn't seem to like Just

I got these build issues, any ideas? I'm new to Swift and Xcode and need some help :smile:

.../Pods/Just/Just/Just.swift:116:23: Expected expression in 'return' statement
.../Pods/Just/Just/Just.swift:748:35: Expected expression in assignment
.../Pods/Just/Just/Just.swift:753:43: Expected expression in assignment
.../Pods/Just/Just/Just.swift:257:22: Use of undeclared type 'LazyMapCollection'
.../Pods/Just/Just/Just.swift:260:24: Use of undeclared type 'LazyMapCollection'
.../Pods/Just/Just/Just.swift:163:21: '[String]' does not have a member named 'forEach'
.../Pods/Just/Just/Just.swift:634:13: '[(String, String)]' does not have a member named 'appendContentsOf'
.../Pods/Just/Just/Just.swift:647:47: '[String]' does not have a member named 'joinWithSeparator'

@DiogoNeves please use the latest Xcode beta (Xcode 7 beta 6 as of right now).

I am. Although, I noticed the Pods framework has iOS 8 as a target, do I need to change that?
Thanks


Added Antelope 5 minute FLAC file modification.

NOTE!!!  This PR should not be merged until testing of the new FLAC files and associated uframe metadata streams is complete.

OBE


If something goes wrong while running flutter test on a mac it leaves behind SkyShell processes in the dock

Even now I have three SkyShell processes sitting in my dock even though it's been ~ an hour since I last ran flutter test.  Also, during flutter test you see tons of SkyShell instances launching and closing in the dock.  Beautiful but weird.

To hide from the dock we can set LSUIElement=0 in the Info.plist to not appear in the dock: https://developer.apple.com/library/mac/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/20001431-108256
That won't be the behavior you'll want when you're running non-headless, but I'm not sure it's configurable at runtime.  @chinmaygarde
But the real bug is that these processes get left around, which is likely a bug in our usage of package:test.  @devoncarew

I don't think this is still an issue?  @chinmaygarde @cbracken.  Speculatively closing.

No. This is no longer an issue.


Color palette customization options

Redefine a color palette (or a PDF++ toolbar component) as anything that satisfies the following:

It has a state represented byinterface ColorPaletteState {
    colorName: string | null;
    actionIndex: number; // index of a custom copy format (or color palette action)
    displayTextFormatIndex: number;
    writeFile: boolean;
    selectToCopy: boolean;
    autoPaste: boolean;
}

It supports getState(): ColorPaletteState; and setState(state: ColorPaletteState): void;

Provide several classes that implement the above requirements, and leave the choice to the user.

Thanks. I guess that's a dream for developers.
But for non developers like me it can be overwhelming.
Regarding the closed FR:
Icons for custom copy formats can be inserted with emojis (just copy and paste an emoji into the custom copy format, and done, for example bookmark icons or for headings > good thing, you can write "##" in the custom copy format for a heading, and this heading is then appearing in the outline sidebar! I do this with bookmarks too! So in my outline sidebar I have all the custom copy formats with headings and bookmarks for my PDF directly in my note file!)
With your new context menu this request is not that important anymore: Assign custom copy formats to single markers.
Why? Because it's solving clicks: right click the menu instead of going to the top menu palette everytime.


Support PNG download

Currently the user can download .svg images of created graphs. However, hardly any tool supports processing of .svg files. Therefore, I propose to also support .png download, making this the primary option. If possible, we should also crop the viewport around a graph.

I have implemented a simple version of this here. https://github.com/graphsense/graphsense-dashboard/commit/3a58090652fed236bf15c6de94a18053afcf186b
styling is not perfect yet.


feat(kcl): add kcl to package

Description of your changes
add kcl to xpkg

Fixes #
I have:

[ ] Read and followed Upbound's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

/test-examples="examples/kcl/network-xr.yaml,examples/kcl/eks-xr.yaml,examples/kcl/pod-identity-xr.yaml"


Publish-NavContainerApp -useDevEndpoint and NavUserPassword

If I do useDevEndpoint with NavUserPassword, I receive an undefined $credential variable error.
Publish-NavContainerApp : The variable '$Credential' cannot be retrieved because it has not been set.
At Docker.ps1:37 char:1

Publish-NavContainerApp `

  + CategoryInfo          : InvalidOperation: (Credential:String) [Publish-NavContainerApp], RuntimeException
  + FullyQualifiedErrorId : VariableIsUndefined,Publish-NavContainerApp

script.txt
output.txt

Should be fixed in <IP_ADDRESS> - just released.

Confirmed: This is now working in <IP_ADDRESS>.

Thanks


[BUG] Labels for multiple choice captures

Describe the bug
In a Capture template, the template prompts the user to select three different VALUE choices. Each of the three values have three options, all with the same values: 0⃣, 🔼, ⏫. Here's an example template:
- {{DATE:HH:mm}} {{VALUE:Title}}
- sugar::{{VALUE:0⃣,🔼,⏫}}
- salt::{{VALUE:0⃣,🔼,⏫}}
- fat::{{VALUE:0⃣,🔼,⏫}}

The problem is that all of these look the same and I can't tell which choice I am making. It seems like there needs to be a label as well.
Furthermore, when I select an option for the first value, I am not prompted for the other two values. They are just set to whatever the first value is. This bug makes what I am doing not possible. I am able to work around this problem by naming the options uniquely, such as 0⃣🧂, 🔼🧂, ⏫🧂. Adding the "salt" icon to the values also helps identify which question I'm answering, but it isn't an ideal solution.
It appears there is a fix for the label problem for {{FIELD:fieldName}}, with the prompt now showing Enter value for fieldName. But it really seems like multiple choice VALUE items need labels too.

Desktop (please complete the following information):

OS: MacOS
Browser Chrome
Version 113

I was going to report the same problem. This really makes hard to create any complex template. As a workaround I'm using either templater (using JS calls) or scripts, none of them are ideal for most people.
I thought this was a bug, but maybe it is just not implemented

This problem becomes more of an issue when you use macros.  I want to capture the priority using the choice selection and then reuse the variable "priority" in a latter step of the macro.  Since I can't label the choice, I don't see how to do this.


Move PLEG events for pause container under podsandbox package

We should not generate PLEG container events for sandboxes unless its podsandbox containers.
Signed-off-by: Maksym Pavlenko<EMAIL_ADDRESS>

/test pull-containerd-sandboxed-node-e2e

/test pull-containerd-sandboxed-node-e2e

Why do we need this change? I think this change actually breaks the events.
When sending the events, we will include runtime.PodSandboxStatus in the events. Before sending the event, we will first call getPodSandboxStatus to get the status for the pod sandbox, and then include it in the event:
https://github.com/containerd/containerd/blob/4f39b164f3a52b121a11e2ac91f5fa147ca39ca0/pkg/cri/sbserver/helpers.go#L526-L531
However, after this PR, the GenerateAndSendContainerEvent for sandbox created event is moved into Controller.Start, which is before sandboxStore.Add(). So getPodSandbox now fails because the pod sandbox info is not added.

Why do we need this change?

Higher level, if you run a VM behind sandbox, why'd we want to generate container events for it?

Why do we need this change?

Higher level, if you run a VM behind sandbox, why'd we want to generate container events for it?

Yeah the container events are actually used for both sandbox updates and container updates. So even if you run VMs behind sandboxes, the events should still provide info about the sandboxes.
If we want to move the events to podsandbox package, we will need to find a way to get PodSandboxStatus in the events. As of now, the events were sent before the sandbox is added to the store so getPodSandboxStatus doesn't work, and the event is ignored.
(This actually breaks the test but there is bug in the test that silently ignores the error when an event is missing. I will fix the test once this is addressed)
Since this breaks the CRI contract, I would propose to move the sandbox created and started event back to sbserver/sandbox_run, until we find a better way to get pod sandbox status inside controller.

ok, I'm a bit confused.
Before this PR, when running new sandbox, there are 2 events generated.
// Send CONTAINER_CREATED event with both ContainerId and SandboxId equal to SandboxId.
// Note that this has to be done after sandboxStore.Add() because we need to get
// SandboxStatus from the store and include it in the event.
c.cri.GenerateAndSendContainerEvent(ctx, id, id, runtime.ContainerEventType_CONTAINER_CREATED_EVENT)

and
// Send CONTAINER_STARTED event with ContainerId equal to SandboxId.
c.cri.GenerateAndSendContainerEvent(ctx, id, id, runtime.ContainerEventType_CONTAINER_STARTED_EVENT)

So if we run a VM behind, we generate container events, even though we don't run containers.
Getting PodSandboxStatus is totally fine.

until we find a better way to get pod sandbox status inside controller

Would Controller.Status work for this?

sync'ed with @mxpv on Slack.
With current implementation, the PLEG events are generated before sandboxstore.Add is called. So the event cannot get sandbox status by either calling cri.PodSandboxStatus or Controller.Status.
The conclusion here is that we will move the event generations back to sbserver/, and will move them to podsandbox package after sandboxstore.Add is moved to Controller.


Table of Contents formatting broken

Hey guys, sorry I had a crazy few weeks but am back to help! I noticed the table of contents for the extension md files are a little messed up. Any idea what the problem is?

Looks like Github changed something in their markdown parser,
I updated all files in #16

Thank you @omaralbeik!


Correctly handly QSelf in riker macro

Currently the riker macro does not correctly handle the qself field of the TypePath. This can lead to conflicts, if you use an associated trait type with two different structs, because they only differ by the QSelf part.
In order to correctly handle this, we need to pattern match on QSelf and handle all type enum values that are actually possible in this case (maybe all, but that needs to be evaluated).
This relates to #154 and #155.

@hardliner66 @leenozara is solving this issue necessary before a new version is released? In this case I would implement it (if you are not already working on that yourself).

@hardliner66 @leenozara is solving this issue necessary before a new version is released? In this case I would implement it (if you are not already working on that yourself).

I personally think it's more of an advanced feature. But we would still be shipping with incomplete generics support.
So while I don't think it is strictly necessary for a new release, I think it still would be better if we would implement it directly. I'm also interested in your opinions on the topic.

I personally think it's more of an advanced feature. But we would still be shipping with incomplete generics support.
So while I don't think it is strictly necessary for a new release, I think it still would be better if we would implement it directly. I'm also interested in your opinions on the topic.

Ok, I agree that it is better to have a complete implementation right now rather than having to fix it later on.
I'll try to make a PR within the next days for you to review, but right now I can't estimate how complex it will be because I don't know the different enum types that have to be handled.

Ok, I agree that it is better to have a complete implementation right now rather than having to fix it later on.
I'll try to make a PR within the next days for you to review, but right now I can't estimate how complex it will be because I don't know the different enum types that have to be handled.

I tried to build a basic proof of concept yesterday, but you need to recursively create a string from the type. I also changed name from returning an Ident to a string, because depending on the type, we need to call get_name recursively again.
Maybe it would be easier to use the Debug impl of QSelf to generate an ident we can work with?

I tried to build a basic proof of concept yesterday, but you need to recursively create a string from the type. I also changed name from returning an Ident to a string, because depending on the type, we need to call get_name recursively again.
Maybe it would be easier to use the Debug impl of QSelf to generate an ident we can work with?

My first attempt was to use Debug, but from what it looks like, this only uses the default derived Debug, and parsing that into a proper name isn't easier that using directly the enum.
But looking at that Type enum, I come to think that Type is used in multiple places and not something specific for QSelf because most of these types I think aren't even possible in a Self type (e.g. BareFn). And considering that, I actually would only handle Type::Path (which can be done recursively), and ignore the rest of the types (they would still be possible to use if somebody ever needs that, but just not mentioned in the name). Please correct me if I am doing any wrong assumptions.

My first attempt was to use Debug, but from what it looks like, this only uses the default derived Debug, and parsing that into a proper name isn't easier that using directly the enum.
But looking at that Type enum, I come to think that Type is used in multiple places and not something specific for QSelf because most of these types I think aren't even possible in a Self type (e.g. BareFn). And considering that, I actually would only handle Type::Path (which can be done recursively), and ignore the rest of the types (they would still be possible to use if somebody ever needs that, but just not mentioned in the name). Please correct me if I am doing any wrong assumptions.

I just looked at the possible enums and these are the ones I think are actually possible:
TypeArray, TypeParen, TypePath, TypePtr, TypeReference, TypeSlice and TypeTuple.
Maybe TypeGroup is possible as well, but I'm not sure about that.
Also I think that TypeInfer is actually possible, but I don't think we can get the type the compiler infers. That means that we should actually throw some kind of error to tell the user to not use the underscore.

I just looked at the possible enums and these are the ones I think are actually possible:
TypeArray, TypeParen, TypePath, TypePtr, TypeReference, TypeSlice and TypeTuple.
Maybe TypeGroup is possible as well, but I'm not sure about that.
Also I think that TypeInfer is actually possible, but I don't think we can get the type the compiler infers. That means that we should actually throw some kind of error to tell the user to not use the underscore.

I implemented a possible solution for this issue, by calling generating the name for Type recursively, please have a look whether this is a acceptable solution. Please note that by considering also the QSelf property, the names get quite long, maybe we should discuss shortening them to e.g. just the first letter of the names within the path, so instead of TestModGenericMessage name it TMGMessage.
@hardliner66 I only modified the test to check QSelf with type Type::Path, it would be great if you could add some tests for the other enums types you mentioned above, since I am not sure how this would look like.

I implemented a possible solution for this issue, by calling generating the name for Type recursively, please have a look whether this is a acceptable solution. Please note that by considering also the QSelf property, the names get quite long, maybe we should discuss shortening them to e.g. just the first letter of the names within the path, so instead of TestModGenericMessage name it TMGMessage.
@hardliner66 I only modified the test to check QSelf with type Type::Path, it would be great if you could add some tests for the other enums types you mentioned above, since I am not sure how this would look like.

The names do get quite long and I think this is something we should work on, but just shortening them will probably lead to conflicts. We might be able to do something fancier in order to shorten them, but for now I would just leave them as is.

The names do get quite long and I think this is something we should work on, but just shortening them will probably lead to conflicts. We might be able to do something fancier in order to shorten them, but for now I would just leave them as is.

@hardliner66 @leenozara is there any update from you side about this PR / anything that is still missing?

There is nothing missing from my side.


dita-ot: allow install plugins

Describe the bug
The dita-ot package has a built-in feature to install plugins, as described in the official documentation. However, on NixOS, this feature does not work as expected. When attempting to install a plugin, dita-ot tries to write directly to the Nix store, which is not allowed.
Steps To Reproduce

Open a shell with the dita-ot Nix package installed.
Run the command dita install org.dita.docbook.
Observe the error message indicating that a directory in the Nix store cannot be created.

Possible solutions
There are two potential approaches to resolving this issue:
Imperative approach

If dita-ot supports multiple plugin directories, configure it to install plugins to a user-writable directory instead of the Nix store.
Add the user-writable plugin directory to the dita-ot plugin path.

Declarative approach

Introduce a NixOS option to install dita-ot with additional plugins. This could be an array of plugin IDs, zip files, or other installation sources.
During the Nix configuration build process, install the specified plugins into the Nix Store alongside the dita-ot package.

Notification of maintainer: @rrcomtech

Hi fellow Nix-user,
thank you very much for your inquiry. That is indeed something that I did not think about when I created the package. Sadly, I'll not have time to work on this until the mid of November.
If you want to do it yourself, please go ahead :)
Just some thoughts from my side on the two solution suggested here:

I like the declarative approach more as it is more the "Nix"-way to do things. You have everything you need right in the Nix-store and do not need any executable on your system. The imperative approach might be the one being more understandable, but you'll have stuff outside the nix store (aka mutable objects) that destroy reproducibility (i.e., you run the same Nixified project twice and might get different results).


cups: 2.0.4 -> 2.1.0

Test build succeeded on my machine.

Please don't merge this. We should carefully test the new version of CUPS. Did you read the full changelog and/or update instructions? What about our printing tests? Did you try to print a page with your printer?

Oh. If this is a more complicated topic with CUPS, I will close this PR now. I have no printer and therefor cannot test this, I'm sorry for opening this PR!  :open_mouth:


Clean up .NET Framework migration guide

simplify TOC titles
add individual migration guides to the TOC
clarifications

This is complete now.


Issue with generating class

This is my input data:
http://pastebin.com/BZ9PCd1m
Its JSON array, but output class doesn't contain any collection. Output data:
-----------------------------------com.example.Example.java-----------------------------------

package com.example;

import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

@Generated("org.jsonschema2pojo")
public class Example {

@SerializedName("name")
@Expose
public String name;
@SerializedName("dial_code")
@Expose
public String dialCode;
@SerializedName("code")
@Expose
public String code;

}

![screenshot from 2016-09-08 12 09 42](https://cloud.githubusercontent.com/assets/5079340/18339483/61a56ec4-75bd-11e6-9137-5218ce3ebdfb.png)

Please look into it.

Glad to contribute you.
Thanks.

At the top level you have an array. We can't represent this array as an object, you should use a List and put Example objects inside it.


PCL incompatibility

Hi,
First, of all, I'd like to thank you for developing and sharing your work! I'm very much looking forward to trying treeseg out! Unfortunately, I'm having some issues getting started. I followed the instructions on the main page, but there appears to be an incompatibility with the latest PCL library. When I run cmake, I get this error:
CMake Error at CMakeLists.txt:4 (find_package):
Could not find a configuration file for package "PCL" that is compatible
with requested version "1.9".
The following configuration files were considered but not accepted:
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake, version: 1.8.1

Any ideas?
Thank you very much!

seems like you have installed pcl 1.8.1 instead of 1.9 or greater ?
you may need to install pcl from another source to get a newer version

Hi,
Sorry, the ubuntu on my virtual machine wasn't compatible with the more recent PCL libraries.
Thank you very much!


Pooling not working with Django 1.7

I followed all of the steps in the README to configure Django to use this library for pooling but when monitoring the connections I couldn't see the pooling behavior.
After some debugging, I couldn't see anywhere that was using db_pool to get connections so I patched base.py and overrode get_new_connection on DatabaseWrapper as follows:
def get_new_connection(self, conn_params):
        return db_pool.connect(**conn_params)

With this patch it seems the pooling is working as expected. I can see the connections being reused and the checkout|checkin|connect log messages that I couldn't before.
Has something changed in Django that could have broken this (I couldn't see anything with a quick look through history)?

Would you like to try databases setting:
DATABASES['default']['CONN_MAX_AGE'] = None
That solve my problem with Django 1.7.1, postgres 9.3.5

Yes, this package is incompatible with CONN_MAX_AGE


Problems with creating platforms for the tutorial intervention study

Hi,
I am facing problems when I am trying to create a platform in the genetic variation.
First it looks like this:

And then I get this error message:

Best
Mikkel Tullin

Were you working on dashin.eu/interventionstudies-test or dashin.eu/interventionstudies all along?
There was a misconfiguration in our test instance that caused a redirection to production when switching modules. If you were working on the test instance please try again now

I was only workin on dashin.eu/interventionstudies. I have just tried again but with no luck...

The platform 'Genetics tutorial' already exists, platform names must be unique.
This should be given as feedback but contained an error causing the Grails Runtime Exception you encountered.
I tried to reproduce it but not with the same name, my bad.
It will be fixed in the next release!

Ok


FastSpeech2 + DaftExprt style Refernce Encoder

FastSpeech2 + DaftExprt style Refernce Encoder with conditioning on Encoder, Variance Adapter and Decoder.
The issue during mismatch of mask and self attn shape is resolved, however, the results are not good. This is some unknown bug, despite the training logs showing promising results.

LGTM merging


textarea:focus blue border issue

Trying to remove the blue border from a textarea that is focussed, i notice that it cannot be done using simply textarea:focus.
This works for other input elements, but for some reason the textarea needs ".form-group" in front like this:
input[type="text"]:focus, .form-group textarea:focus, input[type="email"]:focus {
outline: none;
box-shadow:none !important;
border:1px solid #422918;
}
This seems rather user-unfriendly

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.

This is a saved reply.

@jezaman
You said it works for other input elements. It is not true, because in your example you wrote something like this:
input[type="text"]:focus{
}

Instead of something like this:
input:focus{
}

In the CSS there are different rules with different strength.
The less specific is the less stronger.
In the above example the input is less specific than input[type="text"]. In the bootstrap the input elements get their outline, box-shadow and border styles agains a class called form-control, that is more specific than a html tag. This is why textarea:focus does not work as you expected.
I guess you can use the class to overwrite the styles like this:
.form-control:focus {
  outline: none;
  box-shadow:none !important;
  border:1px solid #422918;
}

Closing per above comment. Thanks for the analysis @sigee.


diambra run .. stuck on Windows 11 due to "connectex: ... connection .. refused .."

This seems to be a docker-for-win issue with the portmapping but for the sake of it, lets track it here.
We did the following already to isolate the issue:

[x] Run docker run -p 80:80 nginx -> Reachable on localhost:80
[x] Run docker run -p <IP_ADDRESS>:80:80 nginx -> Unreachable
[x] Run engine with net=host without cli as described here and...

[x] Connect to localhost:50051 -> failed
[x] Connect to host.docker.internal:50051: <IP_ADDRESS>:50051: connectex: No connection could be made because the target machine actively refused it.

[x] diambra run --env.host=<IP_ADDRESS> and..

[x] grpcurl -plaintext <IP_ADDRESS>:50051 list: Failed to dial target host "<IP_ADDRESS>:50051": context deadline exceeded
[x] grpcurl -plaintext localhost:59667 list: Failed to dial target host "localhost:59667": dial tcp [::1]:59667: connectex: No connection could be made because the target machine actively refused it."
[x] grpcurl -plaintext host.docker.internal:59667 list: Failed to dial target host "host.docker.internal:59667": dial tcp <IP_ADDRESS>:59667: connectex: No connection could be made because the target machine actively refused it.

[x] diambra test diambra/agent-random-1:main
[ ] Manually connect to grpc from container as described here

Apparently diambra test diambra/agent-random-1:main works, further pointing toward a docker-for-win issue.

Closing in favor of diambra/arena#62


Add support for CSV encoding for BATCH messaging

As noted elsewhere, this is relatively trivial to implement engineering-wise but non-trivial config-wise/spec-wise, and specifically because there isn't and never has been an exact "CSV spec".
"CSV" is not a spec
Rather, CSV should be consider to be a family of related formats, which may or may not be comma delimited. Wikipedia article (unintentionally) does a pretty good job of highlighting the challenges here:
From https://en.wikipedia.org/wiki/Comma-separated_values (emphasis mine):

The CSV file format is not fully standardized. Separating fields with commas is the foundation, but commas in the data or embedded line breaks have to be handled specially. Some implementations disallow such content while others surround the field with quotation marks, which yet again creates the need for escaping if quotation marks are present in the data.
The term "CSV" also denotes several closely-related delimiter-separated formats that use other field delimiters such as semicolons.[2] These include tab-separated values and space-separated values. A delimiter guaranteed not to be part of the data greatly simplifies parsing.
Alternative delimiter-separated files are often given a ".csv" extension despite the use of a non-comma field separator. This loose terminology can cause problems in data exchange. Many applications that accept CSV files have options to select the delimiter character and the quotation character. Semicolons are often used instead of commas in many European locales in order to use the comma as the decimal separator and, possibly, the period as a decimal grouping character.

Commonly unsupported options
Examples of classic challenges when using CSV files as an interchange format:

Ambivalence towards column headers.

Notoriously, Snowflake doesn't read file headers - it only specifies a number of header rows to skip, and it expects all fields are provided in ordinal number order matching the filespec.

Newlines triggering "next record" regardless of escaping/quoting.

Many CSV parsers do not correctly parse newlines when provided as content within provided data. A config-level option for taps may be required to replace newline characters with another string, such as  ';' or '' (empty string). Sometimes it is preferable to replace the newline character with '\n', and then the dbt layer or another post-processing step may replace the string '\n' with an actual newline character.

Unsupported character encodings.

This occurs most often when dealing with cross-OS or cross-region interchange. To my knowledge, this is best mitigated by explicitly requiring encoding to be utf-8.

Not re-inventing the wheel
As has been helpful in other contexts, I'll propose we start with an already existing spec for config.

Details
According to ChatGPT these are the most popular ways to process CSV files with Python:

csv.reader(): This is a built-in Python library that provides a fast and efficient way to read CSV files. It returns an iterator that can be used to iterate over the rows in the CSV file. This is the most popular method of reading CSV files in Python.
pandas.read_csv(): This is a popular method of reading CSV files in Python. It uses the pandas library, which provides high-performance, easy-to-use data structures and data analysis tools. It returns a DataFrame object that can be used to manipulate the data.
numpy.loadtxt(): This is another popular method of reading CSV files in Python. It uses the numpy library, which provides a powerful array computing and linear algebra toolset. It returns an array object that can be used to manipulate the data.
csv.DictReader(): This is similar to csv.reader(), but it returns a dictionary object for each row, with the keys being the column headers and the values being the row data. This can be useful if you need to access specific columns of the data.

Essentially, this would point us towards one of three libraries csv, pandas, or numpy. The csv library is the only one shipped with standard libraries. The pandas and numpy libraries would each require an additional import (and each with their own dependencies).
If we prioritize serial and incremental reading/writing, I think csv.reader() or csv.DictReader() makes good sense, with csv.reader() likely having better performance, and csv.DictReader() having an advantage of pre-processing the dataset into dict objects, which we need to do anyway.
If we prioritize flexibility or configuration, the pandas config options may be more robust and expressive overall. The pandas library also has pre-built dialects for Excel and other common formats. What I don't know (personally) is whether pandas's prioritization of in-memory analytics would introduce any penalty versus other serial one-record-in-one-record-out methods which may have a lower RAM footprint.
Another disadvantage of using pandas is that we then need to ship potentially all SDK taps and targets with the pandas library in order to have true universal interop.

UPDATE: Proposal using polars as config base here: https://github.com/meltano/sdk/issues/1584#issuecomment-1499263096
Distinction of config dialect vs actual implementation details.
We can optionally decouple the configuration dialect from how the files actually get processed - although pragmatically speaking, it is easier and more stable if we keep these aligned, at least for the default SDK implementations.
It's also worth calling out that, whatever configuration dialect we chose, native processors will need a translation step. So, if we chose the Pandas config dialect, for instance, which accepts an "Excel" dialect, any source or target receiving this instruction will have to translate this config detail into some set of config parameters that the connected system can understand.
Raising an exception for unsupported dialect options
We likely would need to introduce a new exception class which would be used specifically for the purpose of raising and catching cases where config options are unexpected or unhandled. The raising of this exception might not fail the entire sync operation, but rather this could trigger base-level SDK-driven processors...
Graceful failover to SDK processing in case of unsupported dialects
Of course, if a connected system like Snowflake or Redshift cannot natively understand the dialect options that the user provides, we may have to send these processing directives to the SDK-backed native processors. In this way, we can guarantee that any CSV file sent within our range of expected config options will be successfully processed, even if it cannot be understood natively by the source or target system.
While this graceful failover is nice from a usability perspective, it may produce unexpected effects performance-wise. If the user expects a CSV to be natively processed by target-snowflake, for instance, but the specific dialect is not natively supported by Snowflake (or the dev's Snowflake implementation), then records will be loaded much slower than the end-user might otherwise expect. Which leads us to the next point, regarding an end-user option to fail when native processing is expected but not actually available...
Config option to restrict to native batch-processing only
To mitigate the above, it might be worthwhile to introduce something like a "batch_config": {"require_native_processor": true} config that gives users the ability to fail a pipeline if the config dialect cannot be natively processed by the upstream or downstream system. While this is especially needed for CSV, which has an almost infinite cross-product of dialect options, it also could apply to JSONL and parquet parsing - wherein the tap or target could abort rather than go through the SDK-backed conversion of records to files, which will always be slower than a native bulk export or bulk import operation.

@edgarrmondragon, @kgpayne - Not an urgent priority, but I'm curious if you've got thoughts/suggestions on the above. Personally, I'm leaning towards a standardization based on the csv standard library config options, but I may be missing other viable options. It might also be worth considering tap-spreadsheets-anywhere's implementation as well, since that is well known and already has proven success in the ecosystem.

I'll add that polars only has a single Python dependency: typing_extensions. In that regard, it's only beat by sticking to the standard library.

I like the idea of using Polars, and you both make good arguments. I especially appreciate the prioritization of streaming the CSV set rather than loading the entire set quickly, rather than loading the full set into memory. Just looking at the docs, it also has great lazy processing capabilities.
Taking then the polars read_csv() and write_csv() config options...

Details
https://pola-rs.github.io/polars/py-polars/html/reference/api/polars.read_csv.html

We could propose (as a starting point) support for these config options:

encoding - The file encoding to use.

For our cases, we should probably only support utf-8 in first iteration. We could leave this config value out of our implementation (with utf-8 as a spec requirement), or else treat it as an enum with only one accepted value.

has_header - Indicate if the first row of dataset is a header or not. If set to False, column names will be autogenerated in the following format: column_x, with x being an enumeration over every column in the dataset starting at 1.
separator - Single byte character to use as delimiter in the file.
quote_char - Single byte character used for csv quoting, default = ". Set to None to turn off special handling and escaping of quotes.
null_value - A string representing null values (defaulting to the empty string).
skip_rows - Start reading after skip_rows lines.
skip_rows_after_header - Skip this number of rows when the header is parsed.
eol_character - Single byte end of line character.

The few things I see almost everyone mess up with csv generation is

The separator chosen can also come up in your data, you have to have some way to escape that character (Quote enclosing works)
If using quote_char you need a way to escape quotes that are in your data set as it's possible the data itself has ",
Data can contain line feeds, this should be handled somehow, either using quote_char's or providing an alternate mapping for line feeds

If you solve those couple things (along with enforcing utf-8) that solves almost every class of issue I've hit over lots and lots of csvs (I think we were ingesting them from ~70 unique sources, in ~700 implementations)

@visch - Good points, and yes, I can confirm I've seen each of these in the wild also.
In comparing against my last comment, the one thing I think we're missing that I've seen in other implementations is the escape_char or escape mechanism for the quote_char appearing in the string itself. (Your number 2 above.)
I'll check into this ☝ and see how Polars handles it.
Your number 3 point is noted above in my "Dealing with newline issues" section. Probably we can start with an assumption that targets will need to handle newlines within the data stream. However, we should also plan for a follow-on story that introduces a tap-level option to replace \n with '\n' if the developer of the target knows that the target chokes when (natively) parsing newlines.

I think we're very close to a final proposal here.
Let me see if I can summarize:
Spec proposal summary
1. SDK-base taps will ship with support for "encoding": "csv" within batch_config for taps.
If users specify "encoding": "csv" and an optional encoding_config: {...} (or similar for providing the spec details), then SDK-based taps will automatically emit CSV files as their BATCH output. (No dev work required from tap maintainer.)
2. SDK-based targets will ship with ability to accept CSV batch files.
This doesn't require any target-level config, because the BATCH record type spec already includes the necessary info regarding encoding and config options.
3. .csv.gz support will be configurable by using {encoding: csv, compression: gzip} just as we already have support for .jsonl.gz files.
Not explicitly mentioned above, but we should assume that we want compatibility with gzip, just as with .jsonl.gz.
4. Taps and targets can optionally add handling for native CSV processing.
If a native handler is provided by the developer, than the SDK will delegate this work to the tap or target implementation method(s), rather than using the built-in SKD handlers.
5. Taps will fail if they receive invalid options for CSV config.
If any options are provided that do not match the agreed-upon config options, the tap will fail (SDK can handle this automatically so again, tap developers don't need to write this logic.
TBD
We have yet to decide if the SDK should have any default CSV config for taps - or if the absence of a CSV config spec should just generate the "best practice" config that we want implementations to use by default.

Note to readers: I've added the Accepting Pull Requests label. Let us know here or in slack if you would like to contribute!

Just wanted to comment that there is a CSV-related RFC4180, defining CSV format for MIME attachments.
The good news is that I think the spec above meets most if not all of it - specifically, it defines quote escaping using the doubled double-quote.
Also a question - does the unsupported item 3 "Non-handling of newlines in record data." mean that newlines in record data will not be handled, or that they will be (the implied double-negative is confusing)?  This is an important requirement for just about any CSV handling - for example, the presence of addresses just about guarantees multi-line values.

Assuming stalebot messed this one up @edgarrmondragon ?

Yeah, this is still relevant


Pattern:  Table of Contents Production level QA testing

User Story

As a [user role below]:
developer using the ibm.com Library Table of Contents

I need to:
have a version of the pattern or component that has been tested for accessibility compliance as well as on multiple browsers and platforms

so that I can:
be confident that my ibm.com web site users will have a good experience

Additional information

Browser Stack link
Browser Standard
Browser versions to be tested:  Tier 1 browsers will be tested with defects created as Sev 1 or Sev 2.  Tier 2 browser defects will be created as Sev 3 defects.
Platforms to be tested, by priority:  1)  Desktop  2)  Mobile  3)  Tablet
Mobile & Tablet iOS versions: 13.1 and 13.3
Mobile & Tablet Android versions: 9.0 Pie and 8.1 Oreo
Browsers to be tested:  Desktop: Chrome, Firefox, Safari, Edge, IE, Mobile: Chrome, Safari, Samsung Internet, UC Browser, Tablet: Safari, Chrome, Android
Accessibility Checklist
Creating a QA bug
Design specs on Abstract
Functional specs (#1063)
Dev issue (#1201)

Acceptance criteria

[ ] Accessibility testing is complete.  Pattern is compliant.
[ ] All browser versions are tested
[ ] All operating systems are tested
[ ] All devices are tested
[ ] Defects are recorded and retested when fixed

@RobertaJHahn @Praveen-sr @chetankan
Table of Contents design specs are now available on Abstract: https://share.goabstract.com/dbaeb532-b588-4138-8a07-3d04f01b4f34?

@Praveen-sr @chetankan The development is finished on this pattern.  It is ready for your testing to begin.

First round of QA and accessibility testing is finished.

@Praveen-sr @chetankan Could you do a second round of testing on this pattern.

@RobertaJHahn : Sure.

@Praveen-sr @chetankan You have completed the second round of testing on this pattern.  I am closing it.


Salesforce text fields

@RachelRVasquez You've committed compiled files.

@fuhton Files have been removed.


fix: ethers v5.4.1

EthersJS 5.4.0 releases support for EIP1559 new transaction format
This library was previously written to be tightly coupled to the keys in the transaction request (why? not sure) - this was causing a malformed transaction request with ethers 5.4.1 as it was putting in unexpected object keys
This has been fixed in this release - update if you find that your transactions seem to be getting sent but not showing up as confirmed.

:tada: This PR is included in version 1.3.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make polynomial evaluation only take constant memory

Currently polynomial evaluation requires linear memory: https://github.com/scipr-lab/zexe/blob/6bfe574f7adea14b97ff554bbb594988635b1908/ff-fft/src/polynomial/dense.rs#L97
Instead it should only require a constant amount of memory using horner's method. An example of this is here: https://github.com/scipr-lab/libiop/blob/master/libiop/algebra/polynomials/polynomial.tcc#L99

That precludes parallelization; I don't know if the trade-off is worth it. (Especially because the polynomial itself requires linear memory)

The parallelization works effectively the same in both cases.
With the current method, you compute all of the powers of x by repeated multiplication, so you have to split that up in order to parallelize. (Start each process at x^{deg / thread_id})
Its effectively the same for parallelizing horners method, you have each process start handling things at x^{deg / thread_id}.
I'd be a bit surprised if the cost of allocating and de-allocating memory wasn't a notable percentage of the evaluation time, though maybe that is the case since this library primarily uses large fields.

Even in "evaluation-heavy" protocols like Marlin, we only evaluate like at most 30 polynomials, and the cost is actually negligible compared to FFT and MSM costs

I meant allocations take a notable percentage of the polynomial.evaluate() runtime.
You're right, In the total run-time of the entire SNARK, maybe it is a micro-optimization! Depends on your SNARK & compiler.
This is probably super low priority.


[HELP] how to compile?

yarn install

result:
var TurndownService = (function (domino) {
  'use strict';
……

What is domino?

domino is a DOM implementation. It is a dependency conditionally included in Node.js (non-browser) build. Unfortunately I haven't tried Turndown with yarn, but npm dependency should respect browser vs. non-browser usage, see #334.
In general:

you need the build dependent on domino if you are not running in browser
you should the build not dependent on domino in browser, as browsers have their own DOM implementation indeed

If this is a question, then it's answered.
If this is something like #378, then it's fixed in 7.1.1.
Closing.


Improving allowing new users to skip welcome tutorial.

As Zulip proliferates, the likelihood that a user who is new to a realm isn't new to Zulip increases. It would be nice if those users could skip the welcome tutorial.

Yeah, currently you can hold down the enter key, but I think the easiest solution here would be to add a "skip" button in the first tutorial prompt.  The code is all in static/js/tutorial.js, and I bet this would be a quick project for a new developer to Zulip who is familiar with javascript, so I've tagged this as bite-size.

I'll work on this

I merged @gregmccoy's tutorial work, but I think there's two outstanding things we want to do:

Make possible to use "tab+enter" to skip the tutorial from the keyboard
Tweak the CSS a bit to make it prettier.  The current thing isn't bad, but given that this is literally users' first interaction with Zulip, we should probably make it really nice :)

So I've reopened this issue with a new title :)

@hackerkid do you want to take a quick look at improving this?

@timabbott Working on this. Please let me know if you have something specific in mind regarding the CSS.

For the CSS, I was just thinking something to make it look nice (the spacing between elements is kinda awkward above, for example).

@timabbott
If we remove the redundant welcome we get this

Keeping welcome and trying two different buttons

Which one you think is better?

I think the first is definitely the best; I'd consider using the gray button style with the rest of the first one, though.
Also, I would probably add a bit more vertical space on either side of the buttons.

@timabbott What do you think about this? I have added the vertical space.

Looks great!

Merged #1087.

I think this is resolved.


[#1887] improvement: reject all requests from unregistered apps in shuffle server

What changes were proposed in this pull request?
Reject all requests from unregistered apps in shuffle server
Why are the changes needed?
For better performance.
Fix: #1887
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UT

Codecov Report
Attention: Patch coverage is 1.38889% with 142 lines in your changes missing coverage. Please review.

Project coverage is 53.15%. Comparing base (0a60834) to head (444176e).
Report is 15 commits behind head on master.

Files
Patch %
Lines

...pache/uniffle/server/ShuffleServerGrpcService.java
0.00%
116 Missing :warning:

...niffle/server/netty/ShuffleServerNettyHandler.java
0.00%
25 Missing :warning:

.../org/apache/uniffle/server/ShuffleTaskManager.java
66.66%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1923      +/-   ##
============================================
+ Coverage     53.12%   53.15%   +0.02%
+ Complexity     3002     2873     -129
============================================
  Files           448      435      -13
  Lines         24482    22822    -1660
  Branches       2282     2151     -131
============================================
- Hits          13006    12130     -876
+ Misses        10669     9918     -751
+ Partials        807      774      -33

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks for your review. @jerqi @rickyma @maobaolong


Replace Mongo database by REST API calls to StoreManager #47

Coverage decreased (-17.2%) to 82.552% when pulling 4e7c6c85eb3aa3e6137de605ef22c3314e0588f1 on issue_47 into d8da4c043824c5084b63e2bd816bc917abe778e0 on dave-2.0.

Coverage decreased (-10.3%) to 89.422% when pulling 2b74d8c15e9ed4e14446c2da8ea78b7e641f3945 on issue_47 into d8da4c043824c5084b63e2bd816bc917abe778e0 on dave-2.0.

Coverage increased (+0.1%) to 99.859% when pulling 6304315ca79dca895bbf55fcc6f33e293d5aaf5e on issue_47 into d8da4c043824c5084b63e2bd816bc917abe778e0 on dave-2.0.

Coverage increased (+0.1%) to 99.859% when pulling 21f398a1e4b4a416948ce4a8aee37519e3219b52 on issue_47 into d8da4c043824c5084b63e2bd816bc917abe778e0 on dave-2.0.

Coverage increased (+0.1%) to 99.859% when pulling dfb5e66d5a1c18e180286b87d4955ed5e1d7e017 on issue_47 into d8da4c043824c5084b63e2bd816bc917abe778e0 on dave-2.0.

Coverage increased (+0.1%) to 99.859% when pulling be0035f0a6b3af82ae36c2dc78d26512cca77a62 on issue_47 into d8da4c043824c5084b63e2bd816bc917abe778e0 on dave-2.0.

Coverage increased (+0.1%) to 99.859% when pulling 5f21c50ed71522ba66e132628982e2672f00fb48 on issue_47 into d8da4c043824c5084b63e2bd816bc917abe778e0 on dave-2.0.


Inside a Python venv, the Raku kernel bombs in notebook session, but restarts (-ish)

The following are observations whilst running jupyter-notebook in a venv.
The background is that OpenSuse 15.4 has "alternate" Pythons, version 3.10 can be
installed by the package manager (zypper/YAST) alongside version 3.7, the latter
being the 'system' Python.
The more up-to-date version 3.10 python can then be used as the venv, with extra
functionality provided by python packages (incl. Jupyter) being installed locally
in the users home dir.
Manually activating the venv session, and then running jupyter-notebook ....
Opening a (new / pre-existing) Raku notebook in jupyter-notebook :

The jupyter console shows that Raku fires up
The Raku kernel then bombs (red button), though the notebook session continues
the errors in the jupyter log are Raku-derived (messaging to undefined comm id)
but then the Raku kernel automatically restarts in the session
the still running notebook seems to fully operational and the kernel is stable
the jupyter log warns of a root kernel, which it didn't the first time

Choosing to open a (new / pre-existing) Python notebook instead :

The Python notebook kernel does not bomb

However there are two 'startup' messages in the console log
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[IPKernelApp] WARNING | No such comm: xxxxxxxxxx-xxxx-xxx-xxx-xxxxxxxxxx

these messages don't get displayed in the raku scenario (above)

the two messages seem to be a 'feature' of running jupyter under a venv

they've been reported as issues for some time, but they apparently are not due
to significant errors, and maybe aren't going to be fixed anytime soon.

Manually closing down jupyter, then deactivating the venv ....
I wonder if these two dubious messages are causing the raku kernel behaviour above?

Thanks for the detailed report. Interesting.  If I'm following...it sounds like some bespoke error handling by the python kernel.  Could you add the specific error messages coming from the raku kernel that you are seeing?

Here's the raku-specific section of the jupyter log.
2022-09-01T10:53:00.334537+01:00 (6) info: iopub: sending execute_input message
2022-09-01T10:53:00.430829+01:00 (6) debug: shell got a message: kernel_info_request
2022-09-01T10:53:00.431460+01:00 (6) info: shell: sending kernel_info_reply message
2022-09-01T10:53:00.453474+01:00 (6) info: iopub: sending status message
2022-09-01T10:53:00.487660+01:00 (8) debug: ctl got a message: kernel_info_request
2022-09-01T10:53:00.498667+01:00 (6) debug: shell got a message: kernel_info_request
2022-09-01T10:53:00.499069+01:00 (6) info: shell: sending kernel_info_reply message
2022-09-01T10:53:00.514786+01:00 (6) info: iopub: sending status message
2022-09-01T10:53:00.541061+01:00 (6) debug: shell got a message: kernel_info_request
2022-09-01T10:53:00.541371+01:00 (6) info: shell: sending kernel_info_reply message
2022-09-01T10:53:00.560442+01:00 (6) info: iopub: sending status message
2022-09-01T10:53:00.581844+01:00 (6) debug: shell got a message: comm_open
2022-09-01T10:53:00.583664+01:00 (6) info: iopub: sending comm_close message
2022-09-01T10:53:00.609212+01:00 (6) debug: shell got a message: comm_msg
2022-09-01T10:53:00.609917+01:00 (6) debug: comm_msg for vvvvvvvv-wwww-xxxx-yyyy-zzzzzzzzzzzz
2022-09-01T10:53:00.611014+01:00 (6) debug: sending method	request_states to vvvvvvvv-wwww-xxxx-yyyy-zzzzzzzzzzzz
2022-09-01T10:53:00.659629+01:00 (6) error: shell: No such method 'in' for invocant of type 'Any'.  Did you mean 'min'?
2022-09-01T10:53:00.666729+01:00 (6) error: trace:   in method throw at SETTING::src/core.c/Exception.pm6 line 64
in any throw_or_die at gen/moar/Metamodel.nqp line 60
in any report-method-not-found at gen/moar/BOOTSTRAP/v6c.nqp line 5117
in any  at gen/moar/BOOTSTRAP/v6c.nqp line 5055
in method send-to-comm at /home/uuu/.raku/sources/.... (Jupyter::Kernel::Comms) line 32
in block  at /home/uuu/.raku/sources/.... (Jupyter::Kernel) line 237
in block  at /home/uuu/.raku/sources/.... (Jupyter::Kernel) line 131
in block  at /home/uuu/.raku/sources/.... (Jupyter::Kernel) line 126
in block  at /home/uuu/.raku/sources/.... (Jupyter::Kernel) line 124
in block  at SETTING::src/core.c/Promise.pm6 line 295
in block  at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 899
in block  at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 266
in block  at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 247
in method run-one at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 244
in block  at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 285
Was thinking similar, that if the "error" message (seen in the python scenario) doesn't have a valid comm id, then the variable doesn't get resolved by Raku, and so the "in" method fails. The python kernel might have a neat way of ignoring these dubious messages?

Okay -- I made this into a warning, so that the kernel at least doesn't crash.  Any better?

Unfortunately I still see the same behaviour, but maybe I'm doing something wrong?

Here is the workflow (edited)

uuuu:~/Documents> source ~/.venv/py310env/bin/activate
(py310env) uuuu:~/Documents> zef install --force-install Jupyter::Kernel
===> Searching for: Jupyter::Kernel
===> Updating fez mirror: https://360.zef.pm/
===> Updated fez mirror: https://360.zef.pm/
===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
===> Testing: Jupyter::Kernel:ver<0.0.18>
===> Testing [OK] for Jupyter::Kernel:ver<0.0.18>
===> Installing: Jupyter::Kernel:ver<0.0.18>
1 bin/ script [jupyter-kernel.raku] installed to:
/home/uuuu/.raku/bin
(py310env) uuuu:~/Documents> jupyter-kernel.raku --generate-config --force
Creating directory /home/uuuu/.local/share/jupyter/kernels/raku
Writing kernel.json to /home/uuuu/.local/share/jupyter/kernels/raku/kernel.json
Copying logo-32x32.png to /home/uuuu/.local/share/jupyter/kernels/raku
Copying logo-64x64.png to /home/uuuu/.local/share/jupyter/kernels/raku
Congratulations, configuration files have been successfully written!
Happy Perling! <- jupyter console --kernel=raku

here is the jupyter console

(py310env) uuuu:~/Documents> jupyter-notebook
[I 22:25:17.637 NotebookApp] Loading IPython parallel extension
[I 2022-09-03 22:25:18.062 LabApp] JupyterLab extension loaded from /home/uuuu/.venv/py310env/lib64/python3.10/site-packages/jupyterlab
[I 2022-09-03 22:25:18.063 LabApp] JupyterLab application directory is /home/uuuu/.venv/py310env/share/jupyter/lab
[I 22:25:18.067 NotebookApp] Serving notebooks from local directory: /home/uuuu/Documents
[I 22:25:18.067 NotebookApp] Jupyter Notebook 6.4.12 is running at:
[I 22:25:18.067 NotebookApp] http://localhost:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[I 22:25:18.067 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[I 22:25:18.067 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 22:25:18.092 NotebookApp]
To access the notebook, open this file in a browser:
    file:///home/uuuu/.local/share/jupyter/runtime/nbserver-eeeee-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 or http://<IP_ADDRESS>:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

[I 22:25:30.778 NotebookApp] Creating new notebook in
[I 22:25:31.888 NotebookApp] Kernel started: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz, name: raku
Welcome to Rakudo™ v2022.07.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2022.07.
[I 22:25:32.979 NotebookApp] Adapting from protocol version 5.0 (kernel zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz) to 5.3 (client).
[W 22:25:33.127 NotebookApp] 404 GET /static/components/codemirror/mode/raku/raku.js?v=wwwwwwwwwww (<IP_ADDRESS>) 7.970000ms referer=http://localhost:8888/notebooks/Untitled1.ipynb?kernel_name=raku
[I 22:25:34.876 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
WARNING:root:kernel zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz restarted
Welcome to Rakudo™ v2022.07.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2022.07.

and here is the jupyter log ...

2022-09-03T22:25:33.156275+01:00 (7) debug: shell got a message: comm_msg
2022-09-03T22:25:33.157217+01:00 (7) debug: comm_msg for bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2022-09-03T22:25:33.158247+01:00 (7) debug: sending method	request_states to bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2022-09-03T22:25:33.206534+01:00 (7) error: shell: No such method 'in' for invocant of type 'Any'.  Did you mean 'min'?
2022-09-03T22:25:33.213315+01:00 (7) error: trace:   in method throw at SETTING::src/core.c/Exception.pm6 line 64
in any throw_or_die at gen/moar/Metamodel.nqp line 60
in any report-method-not-found at gen/moar/BOOTSTRAP/v6c.nqp line 5117
in any  at gen/moar/BOOTSTRAP/v6c.nqp line 5055
in method send-to-comm at /home/uuuu/.raku/sources/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv (Jupyter::Kernel::Comms) line 32
in block  at /home/uuuu/.raku/sources/.... (Jupyter::Kernel) line 237
in block  at /home/uuuu/.raku/sources/.... (Jupyter::Kernel) line 131
in block  at /home/uuuu/.raku/sources/.... (Jupyter::Kernel) line 126
in block  at /home/uuuu/.raku/sources/.... (Jupyter::Kernel) line 124
in block  at SETTING::src/core.c/Promise.pm6 line 295
in block  at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 899
in block  at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 266
in block  at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 247
in method run-one at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 244
in block  at SETTING::src/core.c/ThreadPoolScheduler.pm6 line 285
2022-09-03T22:25:33.231596+01:00 (1) info: iopub: sending stream message
2022-09-03T22:25:35.611379+01:00 (1) info: starting jupyter kernel
2022-09-03T22:25:35.632372+01:00 (1) debug: read /home/uuuu/.local/share/jupyter/runtime/kernel-yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.json
2022-09-03T22:25:35.632972+01:00 (1) debug: listening on tcp://<IP_ADDRESS>
2022-09-03T22:25:35.633975+01:00 (1) debug: setting up control on aaaaa
2022-09-03T22:25:35.668687+01:00 (1) debug: setting up shell on bbbbb
2022-09-03T22:25:35.669423+01:00 (1) debug: setting up iopub on ccccc
2022-09-03T22:25:35.669968+01:00 (1) debug: setting up hb on ddddd
2022-09-03T22:25:35.836046+01:00 (6) info: iopub: sending execute_input message
2022-09-03T22:25:37.019068+01:00 (6) debug: shell got a message: comm_info_request
2022-09-03T22:25:37.021909+01:00 (6) debug: comm_info_request ${:target_name("jupyter.widget")}
2022-09-03T22:25:37.022721+01:00 (6) info: shell: sending comm_info_reply message

Just zef install Jupyter::Kernel won't get the latest version from git -- you'll want to
git clone github.com:bduggan/p6-jupyter-kernel
cd p6-jupyter-kernel
zef install --force-install .

If it works, then I'll release a new version :-)

or  zef install --force-install http://github.com/bduggan/p6-jupyter-kernel.git should work too

Ah, I did wonder if the update hadn't yet reached the repo. Thank for the zef tips, I'm still a bit of a novice on the dev workflow stuff :)
Pleased to report, the Raku kernel no longer crashes in the jupyter notebook session running within a Python venv ( tried both new / existing notebooks ).
Thankyou, @bduggan, for this excellent module.

for completeness, this is how the jupyter log looks now
2022-09-04T12:39:19.789387+01:00 (7) debug: shell got a message: comm_msg
2022-09-04T12:39:19.790070+01:00 (7) debug: comm_msg for vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
2022-09-04T12:39:19.791137+01:00 (7) debug: sending method	request_states to vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
2022-09-04T12:39:19.791633+01:00 (7) warning: could not find comm for vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv, dropping message
2022-09-04T12:39:23.645296+01:00 (7) debug: shell got a message: comm_info_request
2022-09-04T12:39:23.647298+01:00 (7) debug: comm_info_request ${:target_name("jupyter.widget")}
2022-09-04T12:39:23.648263+01:00 (7) info: shell: sending comm_info_reply message
:)

Great!


Release v0.10.5

Release summary
Version number: v0.10.5
Release details
Autonomy:

Makes sure the alias gets used when fetching service packages #1947
Updates the agent runtime docker image to execute aea build when building the runtime image #1954
Adds support for terminate and unbond actions on autonomy service command group #1956
Generalises the star.sh script on the autonomy runtime docker image to deal with different types of keys #1964
Makes ledger plugins optional for CLI tools  #1973

Plugins:

Removes the hardware wallet plugin as a dependency from contract packages  #1973
Fixes the ledger plugin version specifiers on the test plugin  #197

Chores:

Pins typing_extensions to >=<IP_ADDRESS> to avoid dependency conflicts with solana plugin #1964
Bumps docker to v6.1.2 #1975

Docs:

Adds information on required agent components  #1967

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the main branch (left side), from develop
[ ] I've updated the dependencies versions to the latest, wherever is possible.
[ ] Lint and unit tests pass locally (please run tests also manually, not only with tox)
[ ] I built the documentation and updated it with the latest changes
[ ] I've added an item in HISTORY.md for this release
[ ] I bumped the version number in the __init__.py file.
[ ] I published the latest version on TestPyPI and checked that the following command work:
pip install project-name==<version-number> --index-url https://test.pypi.org/simple --force --no-cache-dir --no-deps
[ ] After merging the PR, I'll publish the build also on PyPI. Then, I'll make sure the following
command will work:
pip install project-name-template==<version_number> --force --no-cache-dir --no-deps
[ ] After merging the PR, I'll tag the repo with v${VERSION_NUMVER} (e.g. v0.1.2)

There are docs that do not make sense anymore, e.g.:

https://github.com/valory-xyz/open-autonomy/blob/ec046b5951be575236d8e85037afc7db58309fd1/CONTRIBUTING.md?plain=1#L18-L19
https://github.com/valory-xyz/open-autonomy/blob/ec046b5951be575236d8e85037afc7db58309fd1/Makefile#L94
https://github.com/valory-xyz/open-autonomy/blob/ec046b5951be575236d8e85037afc7db58309fd1/docs/configure_service/analise_test.md?plain=1#L9-L22


Plugin request: footnote indexer

Typora is a great editor but for more serious writing you need footnotes, and managing them manually is cumbersome. It would be great to make this Obsidian plugin, Tidy Footnotes, available for Typora. I'm sure lots of authors would appreciate it, see here.

Ok, I will have a try.

plugin-footnotes released! And plugin core need to update to 2.3.22.

Excellent, will give it a try later today!


Air-light 7.5.0 fails Theme Check for the official WordPress theme directory

One or more errors were found for Air-light.
WARNING: file_get_contents was found in the file inc/hooks/acf-blocks.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.Line 48: $block['icon'] = file_get_contents( $icon_path );

Found 2 more errors when done theme check on fresh install-
REQUIRED: The theme uses the register_taxonomy() function in the file inc/includes/taxonomy.php. register_taxonomy() is plugin-territory functionality and must not be used in themes. Use a plugin instead.
Line 61: register_taxonomy( $slug, $object_types_slugs, $args );
Line 64: // custom taxonomies for custom post types. Use register_taxonomy_for_object_type()
Line 69: $register_result[ $object_type ] = register_taxonomy_for_object_type( $slug, $object_type );

REQUIRED: The theme uses the register_post_type() function in the file inc/includes/post-type.php. register_post_type() is plugin-territory functionality and must not be used in themes. Use a plugin instead.
Line 48: * @see http://codex.wordpress.org/Function_Reference/register_post_type
Line 58: return register_post_type( $slug, $args );

@Zhoha28 Couple of problems in your comment:

Why did you comment on this old, closed issue? Did you use version 7.5.0? Always open a separate issue if the comment is not related to the issue at hand.

Did you check against the theme version you downloaded from GitHub or did you check after installing from the official theme directory? Because if you did install from GitHub and check that, it should fail, because it's a dev theme and not official one. As you can see in trac, latest version passes all the tests. Otherwise it would not be there at all, logic, right?

It seems you used the GitHub version that indeed has those files, on purpose. However, these files are not present in the official version and are removed in the build process, see here.
This is all documented in the Wiki as well.
Recarding to the official theme version, please leave any feedback items at trac and next time: 1st make sure you have gone through wiki, readme and issues and then open a separate issue if you think there is one. Thank you.


ISPN-8478 Keep the core tests running within 1G of heap

https://issues.jboss.org/browse/ISPN-8478
https://issues.jboss.org/browse/ISPN-7011
https://issues.jboss.org/browse/ISPN-8839

merged. Thanks @danberindei !


Save TPM2.0 Model + Firmware information in a file in  /persist/config

This will be useful when the device is in a problem state (not accessible any more, especially in headless systems), where with a troubleshooting usb stick, we can retrieve this information along with other pieces of info taken with PR#1427

Can this be closed by #1427?

Can this be closed by #1427?

Yes it can be closed. Closing


搜索卡顿

Expected behavior (预期行为)
点击侧栏搜索，弹出搜索框；搜索文章，流畅输入，快速查询结果
Actual behavior (实际行为)
有时打不开搜索框；搜索文章，输入很卡顿
Steps to reproduce the behavior (重现步骤)
点击主页侧栏的搜索，有时打不开搜索框；在搜索弹出框输入，非常卡顿
NexT Information
Add the  ✔  sign before an item which is affected by this behavior.
NexT Version:

Master
Latest Release   ✔
Old version -

NexT Scheme:

All schemes
Muse
Mist
Pisces   ✔

Other Information (Like Browser, System, Screenshots)

打不开搜索框

输入卡顿

Try to use master branch, this bug should be fixed.


IN operator fails when nil is passed as the array to search in

I've noticed that the in operator is failing when receiving nil values as the array.
Context:
We have been using JSONLogic for a couple of years now to evaluate rules on serialized objects at runtime. Most of the time, we don't know the actual values of the variables used in the rules since they are built by serializing objects retrieved from our database.
Current behavior:
When the variable (array to search in) doesn't exist in the object, a nil value is passed as the array, so in that case the gem is failing due to a NoMethodError: undefined method include?' for nil:NilClass`.
Here you can see an example:
rule = {"in" => ["value_to_search", {"var" => "array"}]}
variable = {"array" => nil} (Consider that nil is the value after some processing at runtime)

JSONLogic.apply(rule, variable)

The output:

@bhgames I will be placed to open a PR to fix it. Please let me know if it makes sense to you.


Feature Request: Include Locked Tiles in Tile Scroll

It appears any locked tiles do not show up in Tile Scroll. Is it possible to include this in the module? If not, feel free to close this. Apologies if this is not the correct way to use GitHub Issues.

Hello! It seems you haven't read the Before Posting an issue as indicated at the top of the Repository Readme (https://github.com/theripper93/Levels/blob/v9/ISSUES.md) The Issue has been closed.
If you are reporting a bug, feel free to follow the steps here (https://theripper93.com/#/faq/issues) and reopen the issue with all the relevant information.


Minor tweaks to help with startup perf.

@karrtikr Look at the new API i added to run after activation.


New Exploit? 7/29/2020

@lenis0012 Just today, I was hit with a wave of attacks on my server.    After changing their passwords, they still gained access to those players!  There was no multiple attempts recorded trying to gain access to those accounts in the log, they just immediately were able to login as those players.
The players were able to talk, execute commands, drop items out of the inventory, open chests, everything.  I do not think that anyone hacked my server computer and gained access to it as all the other services and files are fine on it.  I am checking that now just in case, BUT the passwords stored in the database are all hashed properly so that shouldn't be possible I believe?
I'm sorry I cannot provide more information but there is nothing special/ out of the ordinary in the logs.  I don't see/know of any debug option in the configs to get more information.  ??? Maybe they used another plugin on my minecraft server to exploit and get around the blocks that loginsecurity has... I will try another login plugin and report back if they are able to do it again with the other plugin.
Plugin version: LoginSecurity-3.0.2-Spigot.jar
I see that the latest version 3.0.3 just improves translation handling, so I don't think that version would help/ change anything about this problem.
I am storing accounts and passwords in a MySQL database, and not the sqlite option, if that also changes anything.
Thank you for reading my report.  Please advise me on what to do next to try and provide you with more information.

I think I figured it out........ There is no exploit in this plugin, it was another plugin that allowed this it seems.  The person who did the hack explained how they did it to me an hour after it happened and I can reproduce it on my end...  I will close this issue.  I don't know how to delete it, sorry for the false alarm.


LibWeb: More progress on IndexedDB

Lots of boilerplate in this diff, so its not as big as it seems😅
https://wpt.live/IndexedDB/idbfactory_open.any.html
Old stats:
passes: 19/29
fails: 10/29
New stats:
passes: 23/29
fails: 6/29

@stelar7 you might want to add the new files to the GN build as well (not required to merge, but people might like it regardless).


Android error, that occurs when picking multiple photos

Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
This is the function, where the error occurs:
Future pickPhoto() async {
    List<Media> _result =
        await ImagesPicker.pick(count: 4, gif: false, maxSize: 5000);

    if (_result != null) {
      setState(() {
        _gif = null;
        _video = null;
        _photos = _result.map((media) => File(media.path)).toList();
      });
    }
  }

Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
This is the function, where the error occurs:
Future pickPhoto() async {
    List<Media> _result =
        await ImagesPicker.pick(count: 4, gif: false, maxSize: 5000);

    if (_result != null) {
      setState(() {
        _gif = null;
        _video = null;
        _photos = _result.map((media) => File(media.path)).toList();
      });
    }
  }

hey, bro. I don't understand what you mean, I am not good at android.
May you commit a pr for this issue?

@nikolajjsj  on my MI 6, this is only warning.

@nikolajjsj on my MI 6, this is only warning.

I was not able to compile app, because of this warning


more features required

This is extremely basic for HR requirements. Can some additional features be added here?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: eaf3e258-8176-f91f-2631-b68017b12866
Version Independent ID: b70573b8-977b-1cf3-72c9-eaafdbe38615
Content: Using Human Resources Functionality - Business Central
Content Source: business-central/hr-manage-human-resources.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: sgroespe

Please suggest on Ideas: https://experience.dynamics.com/ideas/


Avoid ADVANCE_C'ing past EOF when looking for double-character symbols

May be related to #107. Doesn't directly appear to fix it but nevertheless it was uncovered by it.

Closing in favour of #109


[DOCS] Add transfer learning tutorial

Description

This PR adds a tutorial on Transfer Learning. The tutorial explains how to train an LGBM model using M3 Monthly data and then use the trained model to predict the AirPassengers dataset.
This procedure produces more accurate forecasts than AutoARIMA and ETS.
Checklist:

[x] This PR has a meaningful title and a clear description.
[x] The tests pass.
[x] All linting tasks pass.
[x] The notebooks are clean.

LGTM


mod: max size of upload files update

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


Checking for typos in Making Great Explanation...

You wrote a lot... pretty good scripting... I will send you feedback

Hey Luis: I found a few typos in your writing:
line 85 TrumScript is missing a "p", try TrumpScript
line 88 If you wanna be a programmer which Trump hire for handle the great technology America has, or the cibernetic data, better yet the billions of dollars Trump has, what you need to know is:
try
If you wanna be a programmer for which Trump hires for handling the great technology America has, or the cybernetic data, or better yet, the billions of dollars Trump has, what you need to know is:
line 92 has been describe, try has been described
That's all Luis Make the change and we can do a pull request to the owners :)


[Proposal] add the loading SAE from Huggingface utils to TransformerLens

Proposal, Motivation, Pitch
The great utils here: https://github.com/jbloomAus/SAELens/blob/007141e67a447f8dfe8d6797a6fba0fc4fce61bd/sae_lens/toolkit/pretrained_saes.py#L22 would really help https://github.com/TransformerLensOrg/TransformerLens/pull/584 work for arbitrary SAEs on HuggingFace (as suggested by @danbraunai ).
How would @jbloomAus you feel about me adding (a version of) that util to TransformerLens and then making the SAELens code use those instead?
Alternatives
Copy and pasted code in TransformerLens
Additional context
N/A
Checklist

[x] I have checked that there is no similar issue in the repo (required)

My high level take is that transformer lens probably should have a util like this but I wouldn't want to depend on it in SAELens. SAE Lens can't depend on another library for something this fundamental.