Svelteosis not working on https://mitosis.builder.io/

I am interested in helping provide a fix!
Yes
Which generators are impacted?

[ ] All
[X] Angular
[ ] HTML
[ ] Preact
[ ] Qwik
[ ] React
[ ] React-Native
[ ] Solid
[ ] Stencil
[X] Svelte
[ ] Vue
[ ] Web components

Reproduction case
https://mitosis.builder.io/
Expected Behaviour
It should generate output to other frameworks
Actual Behaviour
It not currently working and No proper docs for using svelteosis. Also I tried using angularToMittosis, it not picking up the template, i am ready to work on the angular part if I get to understand how it all works together, am just getting to mess around with AST, so am not really good at it yet, but am ready to learn and do a fix if am pointed to the right resources. Thanks
Additional Information
No response

duplicate of https://github.com/BuilderIO/mitosis/issues/1327


Squeeze tooltip in the sections panel

Closes #535.
So far this hasn't been an issue since the tooltips would overflow the side panel, however in #534 we added overflow-y: auto to the panel, which implies we cannot have overflow-x: visible (W3C implicitly specifies that - ref).
Best solution I came up with is to wrap the tooltip content to a fixed number of characters, and show it at the bottom to have less chance of overflowing in either direction.
Examples

Could we instead take the tooltip from within the sidebar and have it occupy any space, including over the notebook if necessary?

@josevalim the way we handle tooltips is that we wrap an element in <span class="tooltip"> and this span is positioned relatively to the wrapped element and reacts on hover. Consequently, the tooltip element needs to be within the sidebar. An alternative tooltips approach is to handle everything with JS and use absolute positioning, but this has its own positioning challenges and may also be tricky to properly register/unregister hover handlers as LV updates patches the DOM.

Hey @jonatanklosko, I'm afraid this solution still causes horizontal scrollbar when the branching section is itself a "very very very long Section" :/
Don't know if this is known and done on purpose ("best solution I came up with" in your message), or not.

I knew there would be an edge cases if the session is short/long enough, but now I realised that the icon doesn't wrap (purposely), and consequently long names would always suffer from that. Attempted a further fix in #537.


Uptime ITN analysis script

Create a go script and modify the current delegation_backend in order to:

[ ] The delegation_backend should include the public IP of the Block Producer in the submission name
[ ] The script needs to query the names of the submission files inside the S3 bucket (GCP for now)
[ ] Multiple BPs could run with the same key so distinguish them by IP
[ ] From these names include only the ones that are at least 15 minutes away from each other
[ ] Print out in text the outcome -> create a html table from it in the future

You could also run multiple bp/nodes at the same server. Ip is not a good idea.

how to ensure that filenames behind uptime service will not over write each other
how to determine files to analize uptime

Consider having it outside mina monorepo and don't depend on mina repo

Current situation:
Pushing for reviews and CI pass on the PR.
Features:

Application can read and add submissions from multiple buckets if the time window falls on two days
Prints out in uptime percentage
Print out to an excel sheet
Creates new sheet each week
AWS compatible
Constructs identities based on what the BP sends (pub-key, ip, graphql-port)
Always works with UTC time
Execution time and working interval is configurable

cc: @georgeee


add my validator to genesis

Dear Sir,
I have plan going to mainnet. kindly for check and add my genesis validator.
Best Reagrds
Dwiyan

Genesis has already been published.  Please refer this doc to spin a validator node https://github.com/comdex-official/networks/blob/main/mainnet/02-validator-post-gentx.md


✨ Set Pause annotation on BMH when the cluster is paused

What this PR does / why we need it:
This PR adds a pause annotation on the BMH associated to the M3M as soon as the object is paused and removes it when it is resumed. This feature is needed for pivoting. It also sets the BMH status in a statusannotation on the BMH to allow for a seamless pivoting.

/cc @kashifest
/cc @fmuyassarov
/cc @furkatgofurov7

/test-integration

/hold for the discussion on https://github.com/metal3-io/baremetal-operator/pull/565

/hold cancel

/lgtm


Cervical Cancer Screening White Paper Approved by VA SMEs to share w CDS Connect

CDSK_CCWP_O5O14O22CervCan_final_508_KBS_SMEApproved.docx
CDSK_CCWP_O5O14O22CervCan_final_508_KBS_SMEApproved.docx
There are 2 documents attached.  One is the final, approved by SMEs.  The other is the result of a Word document compare.  This was necessary because VA SMEs accepted some changes along the way in the approved document.  This is ready for conversion to DocBook

Who will be updating the white paper XML?

@preston Nikhil (@ntuteja) is updating the white paper XML

Nikhil Tuteja
Linda Wedemeyer, MD, RN, MS
Physician Informatician
Knowledge Based Systems (KBS)
Clinical Informatics and Data Management Office (CIDMO)
323-422-2113
From: Preston Lee<EMAIL_ADDRESS>Sent: Wednesday, May 08, 2019 10:49 AM
To: OSEHRA/vha-kbs-knarts<EMAIL_ADDRESS>Cc: Wedemeyer, Linda<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [OSEHRA/vha-kbs-knarts] Cervical Cancer Screening White Paper Approved by VA SMEs to share w CDS Connect (#481)
Who will be updating the white paper XML?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OSEHRA/vha-kbs-knarts/issues/481#issuecomment-490584195, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJEGBVPLL5DPNX4LBSCIIUTPUMG67ANCNFSM4HLSI4ZA.


Problems with Webpack

Hi Guys,
I'm trying to use angular-oauth2 with webpack, but I get this error

Any idea?
I installed as you mention in the README file, but when I try to call it, seems like it try to read the local bower packages
require('angular');
require('angular-cookies');
require('query-string');
require('angular-oauth2');

even if i use
require('../../node_modules/angular-oauth2/dist/angular-oauth2.min.js');

You still need to run bower install.
BTW, using NPM you can use the original source module.

Thanks for your answer, I installed angular-oauth2 with bower, I'm getting this error now, But I guess is something else, I'm trying to solve it.

Thanks

Did you resolved your problem?
Closing the issue, doesn't seems to be a angular-oauth2 problem.

I have the same issue. I got this error:

Same issue here, doesn't look like webpack and angular-oauth2 like each other


Vsphere barebones atomic actions

VSphere
Status

pack extension, work in progress

Description
Creation of atomic acitons allowing or basic VM creation from scratch (non templated). Actions/flows are prefixed with vm_hw to signify they are targetting the VM hardware not OS interaction via vmtools.
These actions are intented to create a VM, power it on and then allow a build server to take over OS deployment.
Checklist (tick everything that applies)

[x] Metadata: pack.yaml, icon, structure (required for new packs)
[x] Version bump (required for changed packs)
[x] Code linting (required, can be done after the PR checks)
[ ] Tests (not required but really recommended)

Pretty sure pyVmomi v6 changed the way SSL certificate verification is handled. If you want to use a self-signed certificate with v6 you need to pass a SSL context into connect.SmartConnect() in st2contrib/packs/vsphere/actions/vmwarelib/actions.py.
For an example take a look at this code from https://github.com/dnaeon/py-vconnector/blob/master/src/vconnector/core.py:
        if not ssl_context:
            ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
            ctx.verify_mode = ssl.CERT_NONE
            self.ssl_context = ctx
        else:
            self.ssl_context = ssl_context

...
            self._si = pyVim.connect.SmartConnect(
                host=self.host,
                user=self.user,
                pwd=self.pwd,
                sslContext=self.ssl_context,
            )

Hi Andrew.
I had seen mention of that in the past. Although if i understand things right I needs a minimum of python 2.7.9, because of the ssl module. Which isn't available via apt-get on ubuntu (2.7.6 is deamed latest, at least by my ubuntu server).
I want to eventually have our config management system build out st2 instances and therefore don't really want to deviate from what is available by the standard avenues for package installation.
I may be missing some info but for later python releases don't you have to deploy from source?
Paul

I'm not sure on the 2.7.9 requirement, but it could be working for us because we're using StackStorm w/ Python 2.7.11 built from source on CentOS.

@paul-mulvihill #467 should fix the "weird" test issues you were seeing.
I will merge it into master once tests pass and then you can also merge master into your branch to get that change.

And passing checks now!
Would it be an idea to include CONTRIBUTORS.md & CHANGELOG.md files to this pack too?

@jjm Yeah, feel free to add CONTRIBUTORS.md file.
You can use a somewhat common format of Firstname Lastname <email> per line.

Yes contributors.md makes sense.
I am +1 to this change.

Think i've handled any technical comments. Anything else you think needs resolving before we consider merging this?


12/21 update

Change tokenomics to Economics and remove sections about token.

Why removing this information?


No Configs Given

I have been able to use IG:DM software but now for some reason a sign in red comes up saying "error no configs given" could this please be fixed

i know its so annoying fgs


Pattern: testimonial band: guidelines

Wonil-Suh1 created the following on Aug 06:
Original issue: https://github.ibm.com/webstandards/digital-design/issues/1393

The guidelines work has been deferred until resources are available.  The design kit and components will continue.

Closing this issue as all other issues related to this work have been closed by the stalebot.


Prompt is lost when error occurs

Bug Report
Installation Method
I used pip inside a conda environment.
Environment

Open WebUI Version: [e.g., v0.3.11]

Ollama (if applicable): [e.g., v0.2.0, v0.1.32-rc1]

Operating System: macOS Sonoma 14.6

Browser (if applicable): Firefox

Confirmation:

[X] I have read and followed all the instructions provided in the README.md.
[X] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.
[X] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

On Open WebUI first use I write a prompt, press enter.
The UI indicates that no model was selected.
I select a model.
I click on Send to start a new conversation using the prompt I wrote.

Actual Behavior:

On Open WebUI first use I write a prompt, press enter.
The UI indicates that no model was selected.
The prompt disappeared.

Description
Bug Summary:
When an error occurs the prompt input is reset, and the user has to rewrite their prompt.
Reproduction Details
Steps to Reproduce:
See actual behavior or:

Go to the homepage and select a model
Start uploading a large file
/!\ Before the file is uploaded /!\ write a prompt and press enter
An error message states that the file is not uploaded yet
The prompt has disappeared

Additional Information
This bug was introduced by https://github.com/open-webui/open-webui/commit/0319e63999bf795c24cbd6a53c66da28ec7dba3f because the resetting of the prompt happens in 2 places in the handler and in submitPrompt. Maybe there's a reason why it was introduced but it creates unexpected behaviour (especially for new users aka me). To me, the prompt = ''; lines (now 2055 and 2090) should be removed.
For a history of prompt resetting:

21/05/24 https://github.com/open-webui/open-webui/commit/5eb9b00f8d92aabb215281b3389ac942872c3849 : resetting the prompt is done just before prompt is sent (line 314)
09/06/24 https://github.com/open-webui/open-webui/commit/bb15eb016e388baa55c92fb1d4b8ffdafe0f4353 : resetting the prompt is moved from before prompt is sent to the beginning, because of "message input delay"
10/06/24 https://github.com/open-webui/open-webui/commit/78272aed8dc5c3ab82c2bdb3cbd9ec4b57459c73 : resetting was moved from beginning of function to before prompt is sent
05/10/24 : 0319e63#2013
resetting is still done just before prompt is sent but also line 2013 and 2048

Also is it necessary to perform these 2 lines ?
https://github.com/open-webui/open-webui/blob/c2d1a3164e0a310f77a88ede2938c6adb58a334f/src/lib/components/chat/Chat.svelte#L696
https://github.com/open-webui/open-webui/blob/c2d1a3164e0a310f77a88ede2938c6adb58a334f/src/lib/components/chat/Chat.svelte#L709
Because prompt is bound :
https://github.com/open-webui/open-webui/blob/c2d1a3164e0a310f77a88ede2938c6adb58a334f/src/lib/components/chat/Chat.svelte#L2073

Just saw that it was fixed in dev, just beware this line prompt = ''; is present multiple times.
Also, what about chatTextAreaElement.value = '';.


Fix error in tf.linalg.triangular_solve docstring

The description for adjoint=True vs False was the wrong way around. I've also added a (perhaps more natural) explanation using matmul directly.

@gbaned Hi, I am not able to sign the Google CLA because the form claims that my GitHub username is invalid!

@st--  Can you please make sure to use same GitHub username and email-id associated with it.  Thank you.

The problem might be because you use a github-noreply private email.
Until CLA is signed, we cannot review the PR

Could you confirm that I understand correctly, it is ONLY possible to contribute to tensorflow (/ other Google projects) if I make my email address public in the git commit, and I cannot propose commits under my github-users-noreply address?
I've attached the error message I get when trying to sign the CLA.

@mihaimaruseac let me know if you can figure out a way around my issues with getting the CLA signed. Alternatively, I am happy to make these changes public domain, if that helps. Or you could simply take inspiration from my changes and re-do them in your own way. I would just be keen for this obvious mistake in the official docs to be fixed!

@st-- It still shows CLA is pending, can you please sign CLA. Thank you!

I still can't add my github user name to the Google CLA form (see screenshot above). I don't want to make my personal gmail address public in the Git commit message - but I can't associate GitHub's<EMAIL_ADDRESS>address with my Google account because it's not an actual email service. Unless I've missed something somewhere, I don't see how I can resolve this any other way.
I hereby put the changes I proposed in commit https://github.com/tensorflow/tensorflow/pull/55697/commits/ad651b682ca3154e5877b9fdf6df5728a943d186 into the public domain and waive all my rights to it to the extent possible. I hope that should allow you to just fix the docstring yourself, if you can't get the system to work with me.

@st-- It still shows CLA is pending, any update on this PR? Please. Thank you!

Hi @st-- Sorry for the delay, it still shows CLA is pending, any update on this PR? Please. Thank you!

I've signed an Individual CLA, but your form does not let me fill in my GitHub user-name, so it seems to not associate it with my commit. I'm afraid I can't see what I can do about this. Please let me know once the

Hi @st-- Sorry for the delay, it still shows CLA is pending, any update on this PR? Please. Thank you!

Hi @st-- It still shows CLA is pending, please sign. Thank you!

@gbaned I've signed it, but your form still does not let me enter my GitHub username and claims it is invalid, please fix it. Thank you!

Hi @mihaimaruseac Still it is showing CLA pending for @st-- . Can you please assist on above comments Thank you!

Hi @mihaimaruseac Can you please assist on above comments from @st--. Thank you!

Hi @mihaimaruseac Can you please assist on above https://github.com/tensorflow/tensorflow/pull/55697#issuecomment-1372435983 from @st--. Thank you!

Hi @mihaimaruseac Can you please assist on above https://github.com/tensorflow/tensorflow/pull/55697#issuecomment-1372435983 from @st--. Thank you!

Hi @mihaimaruseac Can you please assist on above https://github.com/tensorflow/tensorflow/pull/55697#issuecomment-1372435983 from @st--. Thank you!

Hi @mihaimaruseac Can you please assist on above https://github.com/tensorflow/tensorflow/pull/55697#issuecomment-1372435983 from @st--. Thank you!

Hi @st-- It shows Need CLA. Can you please make sure to use same GitHub username and email-id associated with it. Thank you.

Hi @st-- Any update on this PR? Please. Thank you!

@gbaned I just tried again, but the Google CLA form still refuses to accept my current GitHub user name as valid. I'm afraid I'm not willing to change my username just because Google's CLA form doesn't know what makes a valid GitHub username.

@gbaned I just tried again, but the Google CLA form still refuses to accept my current GitHub user name as valid. I'm afraid I'm not willing to change my username just because Google's CLA form doesn't know what makes a valid GitHub username.

Hi @st-- We cannot review this PR without CLA singed. Shall we close this PR? Thank you!

Hi @st-- I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please sign the CLA and feel free to reopen. Thank you for your contribution.

@gbaned I'm sorry to see that you are unable to provide a form that actually allows me to sign it. I am perfectly willing to sign the CLA, and I tried signing the CLA multiple times, but unfortunately it always claims that my username were invalid (when it's not, as you can see in me being logged in and writing comments on GitHub).

Actually, I just realized I have signed the CLA - the issue is that the CLA tool doesn't let me enter my GitHub username to associate it with the CLA, so your CLA checker does not realize that I did, in fact, sign the CLA.


"bad protocol" Error

I tried with several WebSocket clients and I am constantly getting "bad protocol" error.
Is the code functional?
I am using an example "copas echo server" with freshly installed lua5.1 on Debian Linux:
drasko@Lenin:~/lua$ lua5.1 server.lua
bad protocol

I tried test with both this code from the browser (both Chrome and Firefox):
<!doctype html>

    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">

WebSocket Echo example

    <button id="btnTest" type="button" class="btn btn-primary btn-lg">Primary</button>

And also this code from Python: https://github.com/liris/websocket-client
Same result - "bad protocol".
Best regards,
Drasko

thanks for reporting. strange, the code is used on daily basis...
how did you install it?

I installed it via luarocks.
I installed luarocks via apr-get.

Reinstalled now from git - built with
luarocks make rockspecs/lua-websockets-scm-1.rockspec

following the instructions.
Still same thing - "bad protocol"
How can I debug?

could you try to add the 'echo' protocol, please:
ws = new WebSocket("ws://" + host + ":" + port + uri, "echo");

i just tried to connect from browser to the "echo-server-copas.lua" manually and it worked fine. (besides the automated tests are passing).

you could debug with a "real" debugger (like zerobrane studio) or by adding prints to the sources.
the interesting spot should be "server_copas.lua" lines 100 to 111 (this is where the "bad protocol" error is generated.

ahhh... i just compared the README.md echo server example and there is no default protocol specified, that means that u MUST define the protocol:
ws = new WebSocket(..., "echo");
the second param the the websocket ctor ("echo") is the important thing here!

Yes, indeed! Thanks, it is working now.
But why are we obliged to define the protocol like this? Can you please elaborate on this, it would be very helpful!
I have been used this JavaScript code before with other WebSocket servers (like Tornado, etc..), and I have never defined protocol before.

you can define a "default" handler, which will be chosen if no protocol  has been provided by the client:
https://github.com/lipp/lua-websockets/blob/master/API.md#configdefault
the copas echo server (https://github.com/lipp/lua-websockets/blob/master/examples/echo-server-copas.lua) does both, as it provides a "explicit" echo protocol handler and a "default" handler (which - in this case- is the same.
@drasko is http://we-io.net/index.html your project?
maybe this could be of use for you: http://jetbus.io


mocha 4.0.0 hangs with mocha-mongoose

Prerequisites

[x] Checked that your issue isn't already filed by cross referencing issues with the common mistake label
[x] Checked next-gen ES issues and syntax problems by using the same environment and/or transpiler configuration without Mocha to ensure it isn't just a feature that actually isn't supported in the environment in question or a bug in your code.
[x] 'Smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, your usage of Mocha, or Mocha itself
[x] Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with:
node node_modules/.bin/mocha --version(Local) and mocha --version(Global). We recommend avoiding the use of globally installed Mocha.

Description

when running with:
    "mocha-mongoose": "^1.2.0",
    "mongoose": "^4.12.0"

It hangs:
https://travis-ci.org/amongouser/mocha-mongoose-hang/builds/283281361
works fine for mocha 3.x:
https://travis-ci.org/amongouser/mocha-mongoose-hang/builds/283280299
Steps to Reproduce
see this code: https://github.com/amongouser/mocha-mongoose-hang
Expected behavior: Runs ok like 3.x
Actual behavior: Hangs
Reproduces how often: 100%
Versions
see travis builds
Additional Information
mocha-mongoose issue: https://github.com/elliotf/mocha-mongoose/issues/22

see #3044; please read CHANGELOG before upgrading to a major release


Incorrect progress position - Range component

Ionic version:  (check one with "x")
[ ] 1.x
[X] 2.x
I'm submitting a ...  (check one with "x")
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
If the range is small then

or

Expected behavior:
The progress should be followed with knob
Related code:
<ion-range min="0" max="5" debounce="500"...>

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v6.4.0
Xcode version: Xcode 8.2.1 Build version 8C1002

I'm unable to reproduce in my test. Can you provide a more complete example? A plunkr that reproduces the issue will help to. There is link in the original issue template that you should provide.

Here's the example.
http://plnkr.co/edit/TpKsGXCkPCOoSplT9lmY?p=preview
<ion-range min="0" max="5" debounce="500"
        [(ngModel)]="fanSpeed" id="fan-speed" mode="ios" (ionChange)="adjustFanSpeed()">
  </ion-range>

Thanks for the plunker! This is probably related to: https://github.com/driftyco/ionic/issues/6812


unix GPU CI fails randomly

Description
I submited PR of tensordot operators to master branch, and failed the unix GPU test for test_parallel_random_seed_setting_for_context from time to time (http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-gpu/detail/PR-15820/4/pipeline). This failure seems to happen randomly. Error messages:
======================================================================
FAIL: test_operator_gpu.test_parallel_random_seed_setting_for_context

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)

File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 620, in newfunc
return func(*arg, **kw)

File "/work/mxnet/tests/python/gpu/../unittest/common.py", line 177, in test_new
orig_test(*args, **kwargs)

File "/work/mxnet/tests/python/gpu/../unittest/test_random.py", line 549, in test_parallel_random_seed_setting_for_context
assert same(samples_imp[i - 1], samples_imp[i])

AssertionError:
-------------------- >> begin captured logging << --------------------
common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1666910558 to reproduce.
--------------------- >> end captured logging << ---------------------
@haojin2 @reminisce

@mxnet-label-bot add [flaky, test, ci]

[2020-05-01T23:59:35.381Z] ________________ test_parallel_random_seed_setting_for_context _________________
[2020-05-01T23:59:35.381Z]
[2020-05-01T23:59:35.381Z]     @with_seed()
[2020-05-01T23:59:35.381Z]     def test_parallel_random_seed_setting_for_context():
[2020-05-01T23:59:35.381Z]         seed_to_test = 1234
[2020-05-01T23:59:35.381Z]         dev_type = mx.context.current_context().device_type
[2020-05-01T23:59:35.381Z]         for dtype in ['float16', 'float32', 'float64']:
[2020-05-01T23:59:35.381Z]             samples_imp = []
[2020-05-01T23:59:35.381Z]             samples_sym = []
[2020-05-01T23:59:35.381Z]             # Collect random number samples from the generators of all devices, each seeded with the same number.
[2020-05-01T23:59:35.381Z]             for dev_id in range(0, mx.context.num_gpus() if dev_type == 'gpu' else 1):
[2020-05-01T23:59:35.381Z]                 with mx.Context(dev_type, dev_id):
[2020-05-01T23:59:35.381Z]                     ctx = mx.context.current_context()
[2020-05-01T23:59:35.381Z]                     # Avoid excessive test cpu runtimes.
[2020-05-01T23:59:35.381Z]                     num_temp_seeds = 25 if dev_type == 'gpu' else 1
[2020-05-01T23:59:35.381Z]                     # To flush out a possible race condition, run multiple times.
[2020-05-01T23:59:35.381Z]                     for _ in range(20):
[2020-05-01T23:59:35.381Z]                         # Create enough samples such that we get a meaningful distribution.
[2020-05-01T23:59:35.381Z]                         shape = (200, 200)
[2020-05-01T23:59:35.381Z]                         params = { 'low': -1.5, 'high': 3.0 }
[2020-05-01T23:59:35.381Z]                         params.update(shape=shape, dtype=dtype)
[2020-05-01T23:59:35.381Z]
[2020-05-01T23:59:35.381Z]                         # Check imperative. `uniform` uses parallel rng.
[2020-05-01T23:59:35.381Z]                         seed = set_seed_variously_for_context(ctx, 1, num_temp_seeds, seed_to_test)
[2020-05-01T23:59:35.381Z]                         rnds = mx.nd.random.uniform(**params)
[2020-05-01T23:59:35.381Z]                         samples_imp.append(rnds.asnumpy())
[2020-05-01T23:59:35.381Z]
[2020-05-01T23:59:35.381Z]                         # Check symbolic. `uniform` uses parallel rng.
[2020-05-01T23:59:35.381Z]                         X = mx.sym.Variable("X")
[2020-05-01T23:59:35.381Z]                         Y = mx.sym.random.uniform(**params) + X
[2020-05-01T23:59:35.381Z]                         x = mx.nd.zeros(shape, dtype=dtype)
[2020-05-01T23:59:35.381Z]                         xgrad = mx.nd.zeros(shape, dtype=dtype)
[2020-05-01T23:59:35.381Z]                         yexec = Y.bind(ctx, {'X' : x}, {'X': xgrad})
[2020-05-01T23:59:35.381Z]                         set_seed_variously_for_context(ctx, seed, num_temp_seeds, seed_to_test)
[2020-05-01T23:59:35.381Z]                         yexec.forward(is_train=True)
[2020-05-01T23:59:35.381Z]                         yexec.backward(yexec.outputs[0])
[2020-05-01T23:59:35.381Z]                         samples_sym.append(yexec.outputs[0].asnumpy())
[2020-05-01T23:59:35.381Z]             # The samples should be identical across different gpu devices.
[2020-05-01T23:59:35.381Z]             for i in range(1, len(samples_imp)):
[2020-05-01T23:59:35.381Z]                 assert same(samples_imp[i - 1], samples_imp[i])
[2020-05-01T23:59:35.381Z]             for i in range(1, len(samples_sym)):
[2020-05-01T23:59:35.381Z] >               assert same(samples_sym[i - 1], samples_sym[i])
[2020-05-01T23:59:35.381Z] E               assert False
[2020-05-01T23:59:35.381Z] E                +  where False = same(array([[ 5.83024027e-01,  1.67935735e+00,  8.77294878e-01,\n         2.51641507e+00,  2.95223944e+00,  2.75676270e+00,\n...-1.33459247e-01,\n        -7.95632855e-01,  1.66822078e+00, -1.47758483e-01,\n         1.39249882e+00, -2.99302394e-01]]), array([[ 5.83024027e-001,  1.67935735e+000,  8.77294878e-001,\n         2.51641507e+000,  2.95223944e+000,  2.75676270e...59247e-001,\n        -7.95632855e-001,  1.66822078e+000, -1.47758483e-001,\n         1.39249882e+000, -2.99302394e-001]]))
[2020-05-01T23:59:35.381Z]
[2020-05-01T23:59:35.381Z] tests/python/unittest/test_random.py:560: AssertionError

http://jenkins.mxnet-ci.amazon-ml.com/blue/rest/organizations/jenkins/pipelines/mxnet-validation/pipelines/unix-gpu/branches/master/runs/1928/nodes/349/steps/510/log/?start=0


Chore: Update CWA-Parent to 2.0.1

Update the parent pom (cwa-parent) to the last released version.
This PR will update several dependencies within this project.
Please do a full integration test before merging this PR.
Also please have a look on the Release Notes of this new CWA-Parent version.

@Morphyum lgtm


Suggestion

The sample app is cool. I am wondering why there are some unnecessary stuff, for ex:
if (subscription == null || (subscription != null && subscription.isUnsubscribed())){...}
Logically, you don't need this part: subscription != null &&
Thanks.

.map((item) -> randomItems ? (new Random().nextInt(20 - 0) + 0) : item )


Parallel file structure for kubectl and helm options

Currently, the file path for kubectl-by-minor-version is set as
/opt/cnct/kubernetes/K8S_MINOR_VERSION/bin/kubectl
and the one for helm as
/opt/cnct/kubernetes/K8S_MINOR_VERSION/bin/helm/helm
and that doesn't make sense; kubectl and helm should either live in the same bin folder, or have each their own folders.

that's a weird one.  should be bin/helm not bin/helm/helm

Fixed it in the Dockerfile and did some refactory cleanup (we only need to build the version bins once, not twice).

ToReview:

make sure linked PR covers this ticket

^^ @coffeepac is that a reminder to yourself? or does it imply action on my part?

@guineveresaenger that is for whoever comes by to review this issue.  we shouldn't be self-reviewing tickets.


fix Monolog3+ compatibility

https://keboola.atlassian.net/browse/PST-715

I don't think it's that much of a BC break


Add "name" labels so we know what the images are supposed to be tagged as

I'm not sure I understand this. Do you build the images locally without a tag then want to verify which registry repo to push it to after the fact?

When you do a local build of a multi-image Dockerfile, you can't specify which image to tag as what -- -t only applies to the last image. Then you need to docker tag the other images by hand which means you need to docker inspect the images to find out which hash is which. The label makes it easier to read the inspection -- otherwise you'd have to figure it out from the steps or something.


List Mode Only Issue

Reported via Magento Connect (sic):

I the List Mode Setting is Only List, the Module doesn´t work, because switch($defaultMode) in Row 68 of Init.php (Block) returns the default clause. So item in Row 76 of Init.phtml was set to grid and not list.
You can solve the Bug if you change Row 76 of Init.php (Block) from
$productListMode = 'grid';
to
$productListMode = $defaultMode;

This was already corrected:
https://github.com/Strategery-Inc/Magento-InfiniteScroll/blob/master/app/code/community/Strategery/Infinitescroll/Block/Init.php

Ah, he was probably using an older version of the extension then. Thanks Damian!


Would backport of chain_width to 1.4.x be considered?

Hello,
Thank you for your work on rustfmt!
Over in rustls we're using rustfmt 2.0 (built from source), because we're using the chain_width option reintroduced in this version. I've read in #4582 the issues with releasing/stabilising 2.0, and these seem clear to me.
However, would the maintainers accept a PR that backported support for chain_width to the 1.4 release line?
Thanks,
Joe

Absolutely! I was actually already planning to backport the changes that made the granular *_width options (includes chain_width) public and available to users.
Doing so is second on my rustfmt code/development to-do list, though most of my bandwidth these days is preoccupied with the typical admin/support/maintenance/etc. work so not sure exactly when I'd be able to get around to it myself.
PRs are always appreciated as well, but this is definitely something that will get done either way.


fix(argocd): generate frontend plugin assets for argocd plugin

Description
Argocd plugin wrapper is generating backend dynamic plugin assets (dist-dynamic) instead of frontend dynamic plugin assets. I have fixed the export-dynamic options and add scalprum config in package.json
Which issue(s) does this PR fix
https://issues.redhat.com/browse/RHTAPBUGS-1324

/assign @Fortune-Ndlovu

/chery-pick release-1.3

/cherry-pick release-1.3


Base-64 Plugin is not browser native/compatible without build step

Hey Michael, I hope all is well, I have a pretty urgent request that will need to be addressed to continue to allow Capacitor to work out of the box for browsers.
Import * as base64 from 'base64-js' uses UMD exports and causes the browser to throw an error when ran natively. This is found in your web-utils.js file.
I would recommend using This Base64 package from NPM which will allow you to use native es6 imports and then leave it up to the end user to transpile/build. It will also support code splitting/tree shaking to ensure that you only include what you use from the package.
It also is one of the most widely used Base64 packages on NPM at around 5 million per week downloads.
I can gladly make a PR using the more up to date base64 package. Please let me know how we can move forward on this as quickly as possible or how I can help in any way.
All the best,
-Tsavo

Hey,
it's a quick fix I think I can easily do it myself and release a new beta today.
I use JEST for testing. Do you know a way to test for such errors? I would want to prevent such bugs in the future.

No problem, that would be huge if you could get an update out for that. Off
the top of my head I don't know any explicit way to test for this in JEST
but I'll gladly do some research for you and send over some links!
Thanks again !
-Tsavo
On Mon, Mar 11, 2019, 3:38 PM Michael Oberwasserlechner <
<EMAIL_ADDRESS>wrote:

Hey,
it's a quick fix I think I can easily do it myself and release a new beta
today.
I use JEST for testing. Do you know a way to test for such errors? I would
want to prevent such bugs in the future.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/moberwasserlechner/capacitor-oauth2/issues/29#issuecomment-471691531,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZTSEzE7TImanCl8l0pjEA5xNzw02zs1ks5vVrC7gaJpZM4bpYRF
.

The new lib does not support conversion from arraybuffer to base64.
So I'm going to remove all base64 lib dependency completely and use the code from https://github.com/niklasvh/base64-arraybuffer directly.
I Have to add a few tests for that and will release the a new version tomorrow.

Okay awesome, if you would like I can convert the base64 lib to ESM and
publish it to not as base64-esm if that would help. Instead of base64-js.
Either way thank you for taking care of this!
Cheers 🍻
-T
On Mon, Mar 11, 2019, 5:02 PM Michael Oberwasserlechner <
<EMAIL_ADDRESS>wrote:

The new lib does not support conversion from arraybuffer to base64.
So I'm going to remove all base64 lib dependency completely and use the
code from https://github.com/niklasvh/base64-arraybuffer directly.
I Have to add a few tests for that and will release the a new version
tomorrow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/moberwasserlechner/capacitor-oauth2/issues/29#issuecomment-471728607,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZTSE5JXGywgc13Qx_vIA-sKBamlptb9ks5vVsRogaJpZM4bpYRF
.

Tried to make a PR but it I don't have auth to do so - either way, I hope the following helps/saves you some time!
// ESM Base64 file.
~root~/base64/index.js (Or in your case probably some .TS version
let lookup = [];
let revLookup = [];
let Arr = typeof Uint8Array !== "undefined" ? Uint8Array : Array;

let code = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
for (let i = 0, len = code.length; i < len; ++i) {
    lookup[i] = code[i];
    revLookup[code.charCodeAt(i)] = i;
}

// Support decoding URL-safe base64 strings, as Node.js does.
// See: https://en.wikipedia.org/wiki/Base64#URL_applications
revLookup["-".charCodeAt(0)] = 62;
revLookup["_".charCodeAt(0)] = 63;

export const getLens = b64 => {
    let len = b64.length;

    if (len % 4 > 0) {
        throw new Error("Invalid string. Length must be a multiple of 4");
    }

    // Trim off extra bytes after placeholder bytes are found
    // See: https://github.com/beatgammit/base64-js/issues/42
    let validLen = b64.indexOf("=");
    if (validLen === -1) validLen = len;

    let placeHoldersLen = validLen === len ? 0 : 4 - (validLen % 4);

    return [validLen, placeHoldersLen];
};

// base64 is 4/3 + up to two characters of the original data
export const byteLength = b64 => {
    let lens = getLens(b64);
    let validLen = lens[0];
    let placeHoldersLen = lens[1];
    return ((validLen + placeHoldersLen) * 3) / 4 - placeHoldersLen;
};

const _byteLength = (b64, validLen, placeHoldersLen) => {
    return ((validLen + placeHoldersLen) * 3) / 4 - placeHoldersLen;
};

export const toByteArray = b64 => {
    let tmp;
    let lens = getLens(b64);
    let validLen = lens[0];
    let placeHoldersLen = lens[1];

    let arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));

    let curByte = 0;

    // if there are placeholders, only get up to the last complete 4 chars
    let len = placeHoldersLen > 0 ? validLen - 4 : validLen;

    for (let i = 0; i < len; i += 4) {
        tmp =
            (revLookup[b64.charCodeAt(i)] << 18) |
            (revLookup[b64.charCodeAt(i + 1)] << 12) |
            (revLookup[b64.charCodeAt(i + 2)] << 6) |
            revLookup[b64.charCodeAt(i + 3)];
        arr[curByte++] = (tmp >> 16) & 0xff;
        arr[curByte++] = (tmp >> 8) & 0xff;
        arr[curByte++] = tmp & 0xff;
    }

    if (placeHoldersLen === 2) {
        tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4);
        arr[curByte++] = tmp & 0xff;
    }

    if (placeHoldersLen === 1) {
        tmp =
            (revLookup[b64.charCodeAt(i)] << 10) |
            (revLookup[b64.charCodeAt(i + 1)] << 4) |
            (revLookup[b64.charCodeAt(i + 2)] >> 2);
        arr[curByte++] = (tmp >> 8) & 0xff;
        arr[curByte++] = tmp & 0xff;
    }

    return arr;
};

export const tripletToBase64 = num => {
    return lookup[(num >> 18) & 0x3f] + lookup[(num >> 12) & 0x3f] + lookup[(num >> 6) & 0x3f] + lookup[num & 0x3f];
};

export const encodeChunk = (uint8, start, end) => {
    let tmp;
    let output = [];
    for (let i = start; i < end; i += 3) {
        tmp = ((uint8[i] << 16) & 0xff0000) + ((uint8[i + 1] << 8) & 0xff00) + (uint8[i + 2] & 0xff);
        output.push(tripletToBase64(tmp));
    }
    return output.join("");
};

export const fromByteArray = uint8 => {
    let tmp;
    let len = uint8.length;
    let extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes
    let parts = [];
    let maxChunkLength = 16383; // must be multiple of 3

    // go through the array every three bytes, we'll deal with trailing stuff later
    for (let i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
        parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength));
    }

    // pad the end with zeros, but make sure to not forget the extra bytes
    if (extraBytes === 1) {
        tmp = uint8[len - 1];
        parts.push(lookup[tmp >> 2] + lookup[(tmp << 4) & 0x3f] + "==");
    } else if (extraBytes === 2) {
        tmp = (uint8[len - 2] << 8) + uint8[len - 1];
        parts.push(lookup[tmp >> 10] + lookup[(tmp >> 4) & 0x3f] + lookup[(tmp << 2) & 0x3f] + "=");
    }

    return parts.join("");
};

Then obviously as you know. The Web-Utils.ts
Line 162:
import {fromByteArray} from "../Base64-esm";

Line 178:
You'll no longer need the base64.someExport prefix.
const encoded = fromByteArray(new Uint8Array(buffer));

Hopefully this saves you some time.
Cheers!
-T

LOL, Im so dumb... I just saw your commit disregard the above... So sorry 🤦♂


Some questions about the paper

hi Kevin,
I have read the paper, and I have a question about chapter 3.2.1: how do you get the Suffix in the prompt? Is the event generated from the back to the front?

Events are generated in breath-first expansion order, e.g., 1, 2, 3, 1.a, 1.b, 2.a, 2.b, 3.a, 3.b, 1.a.i, 1.a.ii, etc.


Feature/json v2 support

We should also update the README

@Truba General PoV Readme update, new JSON readme, and migration guide will be added as a part of #32 PR :)


kots upstream upgrade does not work

When running:
kots upstream upgrade <app> --namespace <ns>

KOTS always returns:
Error: Unexpected response from the API: 500

Fixed in replicatedhq/kotsadm#1416


cannot NPM install dev version

Configuration
I am trying to install dev version of the package. Our android project is using androidX, but the release version of this package relies on older undroid libraries (like annotation) and others.
So wanted to try the release version, however getting NPM installation error

pm ERR! code 1
npm ERR! Command failed: git submodule update -q --init --recursive
npm ERR! warning: templates not found in /tmp/pacote-git-template-tmp/git-clone-b596bfd6
npm ERR! error: Server does not allow request for unadvertised object 81ca1ae6413c1c301dfedc590a8a70ca2997c129
npm ERR! Fetched in submodule path 'ios/RNTrackPlayer/Vendor/AudioPlayer', but it did not contain 81ca1ae6413c1c301dfedc590a8a70ca2997c129. Direct fetching of that commit failed.
npm ERR!

Linux Fedora 31
RN 0.60.4
npm 6.12

#703


Pagination of PagedFilterTable with fixed height does not work

If a PagedFilterTable has a fixed height, so that it does not grow vertically with the count of table rows (instead you want to scroll in the table body), the pagination is buggy.
Once you hit the "next page" button, the totalPagesLabel shows a wrong number. Moreover, you dont land on the proper "next" page.
Example: itemsPerPage is 25, but there is only space for 15 rows. User need to scroll to find the additional 10 rows. 100 Items total = 4 totalPages.
When you hit "next button" the totalPages go up to 7 ( = 100 / 15) and you land on a page, that starts with item number 16.
The problem is, that pagedfiltertable "abuses" the CustomTable.pagelength field. This variable stores how many items are effectively shown (in the example: 15).
But PagedFilterTable uses it, as if it was always (pageLength == itemsPerPage), which is only true, if the height of the table is undefined.
You can workaround with overwriting CustomTable.changeVariables and removing the "pagelength" variable - the client sends this variable in order to tell the server: "Hey, only space for 15 Rows here" - this workaround of removing client's "pagelength" variable prevents the pagelength variable to be overwritten by the client... BUT causes strange UI behaviour in return, for example if you select a row in the table that is below the 15-row border: you scroll down to such a row, click on it => and there is a strange jump-bug...
Core problem is: pagelength should not be used to store the itemsPerPage, as it seems to be heavily used by the vaadin framework / CustomTable for UI-Rendering purpose, which is in conflict to its use in PagedFilterTable for pagination purpose.

I was able to work around this problem by basically copying the source of PagedFilterTable and changed getPageLength to container.getPageLength.  Still doing some testing but initial results look very promising.  Attached is my example
example.docx


Fix incorrect memory read when capacity changes in RD Graph.

Originally spotted by @darksylinc, ASAN randomly reported a rare error that could happen when checking dependencies in the render graph. If the command list was resized and capacity increased, the internal contents of the vector would be re-allocated. This usually imposes no problems as all accesses are done through indices, but in this particular bit of code, a reference was held to the element and used after the potential resize could happen.
The end result was likely benign in most cases, but upon a code review the fix makes sense. No behavior changes should be expected. This change is only relevant to 4.3.

Thanks!


suggestion: cleaner status bar

Really like the plugin. I just wish the message in the status bar didn't take up so much space.
git: last update X minutes ago is a little wordy.
I think it would look a lot nicer if, instead, it looked something like <github icon> X min or at least git: X min.
I know that status bar message is also used to show when commits and pushes are made. I think it would be fine to keep those messages pretty much unchanged since they only appear for a few seconds. It's the "last update" message that's visible the vast majority of the time.
btw sorry if an issue isn't the best way to make a suggestion.

Are you on the latest version? I just released a new version addressing this issue. See #147 and 1.18.0

GAH I promise I looked for existing issues! Updated now. Thanks


Make required ports like 7001 8080 and 5699 configurable.

Make required ports like 7001 8080 and 5699 configurable please. Those ports are unavailable in my situation. /(ㄒoㄒ)/~~

#90, it will be released in v3.2.0


Add a popover close button, spell note popover

Ref Popovers #49
I have a popover example working:

Also, added a close button.
Moving or dragging a popover is not an easy topic in Roll20. We don't really have that kind of control.

This seems good.
For the future, it might be worth experimenting with a way to make the note appear in new space under the spell, when you click on the note icon and  not disappear when you click on a different one. That way, a player can keep open whatever notes they want.
(A lot of my career has been based on being able to see exactly you want, all at once, without having to click around.)

I made a few style adjustments.
Next will be to add the backdrop. I have an idea on how to handle this.


⚠ Cioos Pacific CKAN has degraded performance

In eb1c66c, Cioos Pacific CKAN (https://catalogue.cioospacific.ca) experienced degraded performance:

HTTP code: 200
Response time: 10035 ms

Resolved: Cioos Pacific CKAN performance has improved in c748267 after 52 minutes.


bash train not working

it this normal and in ./data i have my train.txt fil in arabic
bash train.sh ./data
=== Removing Pre-trained Models ===
=== Cleaning Data ===
Traceback (most recent call last):
File "data_clean/data_clean.py", line 68, in
with codecs.open(args.train_file_output, 'w', 'utf-8') as fout:
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/codecs.py", line 904, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: '/wdata/train_cleaned.txt'
=== Building Dictionary Based Model ===
Traceback (most recent call last):
File "post_process/save_dictionary.py", line 45, in
with open(args.dict_output, 'w') as fout:
FileNotFoundError: [Errno 2] No such file or directory: '/wdata/train_dict.json'
=== Data Pre-processing ===
Traceback (most recent call last):
File "pre_process_train.py", line 21, in
encoder = strRealTimeEncoderWrapper(args)
File "/home/zakaria/Downloads/ArabicNER/abnlp/encoder/str_encoder.py", line 35, in init
self.build_pipelines(arg)
File "/home/zakaria/Downloads/ArabicNER/abnlp/encoder/str_encoder.py", line 281, in build_pipelines
self.pipeline_dict[key] = strWERealTimePipeline(arg['strEncoder'][key])
File "/home/zakaria/Downloads/ArabicNER/abnlp/encoder/str_encoder.py", line 66, in init
self.build_pipeline(arg)
File "/home/zakaria/Downloads/ArabicNER/abnlp/encoder/str_encoder.py", line 159, in build_pipeline
for line in f.readlines():
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/codecs.py", line 709, in readlines
return self.reader.readlines(sizehint)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/codecs.py", line 618, in readlines
data = self.read()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/codecs.py", line 496, in read
newdata = self.stream.read()
MemoryError
=== Training Model 0 ===
Traceback (most recent call last):
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 40, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: '/wdata/sner0/log/'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_ner.py", line 32, in
pw = wrapper(os.path.join(conf.cp_root, args["checkpoint_name"]), args["checkpoint_name"])
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/torch_scope/wrapper.py", line 361, in init
self.writer = SummaryWriter(log_dir=os.path.join(path, 'log/'))
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 44, in directory_check
os.makedirs(path)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/wdata'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
=== Training Model 1 ===
Traceback (most recent call last):
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 40, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: '/wdata/sner1/log/'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_ner.py", line 32, in
pw = wrapper(os.path.join(conf.cp_root, args["checkpoint_name"]), args["checkpoint_name"])
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/torch_scope/wrapper.py", line 361, in init
self.writer = SummaryWriter(log_dir=os.path.join(path, 'log/'))
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 44, in directory_check
os.makedirs(path)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/wdata'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
=== Training Model 2 ===
Traceback (most recent call last):
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 40, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: '/wdata/sner2/log/'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_ner.py", line 32, in
pw = wrapper(os.path.join(conf.cp_root, args["checkpoint_name"]), args["checkpoint_name"])
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/torch_scope/wrapper.py", line 361, in init
self.writer = SummaryWriter(log_dir=os.path.join(path, 'log/'))
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 44, in directory_check
os.makedirs(path)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/wdata'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
=== Training Model 3 ===
Traceback (most recent call last):
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 40, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: '/wdata/sner3/log/'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_ner.py", line 32, in
pw = wrapper(os.path.join(conf.cp_root, args["checkpoint_name"]), args["checkpoint_name"])
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/torch_scope/wrapper.py", line 361, in init
self.writer = SummaryWriter(log_dir=os.path.join(path, 'log/'))
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 44, in directory_check
os.makedirs(path)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/wdata'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
=== Training Model 4 ===
Traceback (most recent call last):
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 40, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: '/wdata/sner4/log/'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_ner.py", line 32, in
pw = wrapper(os.path.join(conf.cp_root, args["checkpoint_name"]), args["checkpoint_name"])
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/torch_scope/wrapper.py", line 361, in init
self.writer = SummaryWriter(log_dir=os.path.join(path, 'log/'))
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 44, in directory_check
os.makedirs(path)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/wdata'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
=== Training Model 5 ===
Traceback (most recent call last):
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 40, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: '/wdata/sner5/log/'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_ner.py", line 32, in
pw = wrapper(os.path.join(conf.cp_root, args["checkpoint_name"]), args["checkpoint_name"])
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/torch_scope/wrapper.py", line 361, in init
self.writer = SummaryWriter(log_dir=os.path.join(path, 'log/'))
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 44, in directory_check
os.makedirs(path)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/wdata'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
=== Training Model 6 ===
Traceback (most recent call last):
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 40, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: '/wdata/sner6/log/'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_ner.py", line 32, in
pw = wrapper(os.path.join(conf.cp_root, args["checkpoint_name"]), args["checkpoint_name"])
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/torch_scope/wrapper.py", line 361, in init
self.writer = SummaryWriter(log_dir=os.path.join(path, 'log/'))
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 44, in directory_check
os.makedirs(path)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/wdata'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
=== Training Model 7 ===
Traceback (most recent call last):
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 40, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: '/wdata/sner7/log/'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_ner.py", line 32, in
pw = wrapper(os.path.join(conf.cp_root, args["checkpoint_name"]), args["checkpoint_name"])
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/torch_scope/wrapper.py", line 361, in init
self.writer = SummaryWriter(log_dir=os.path.join(path, 'log/'))
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 44, in directory_check
os.makedirs(path)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/wdata'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
=== Training Model 8 ===
Traceback (most recent call last):
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 40, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: '/wdata/sner8/log/'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_ner.py", line 32, in
pw = wrapper(os.path.join(conf.cp_root, args["checkpoint_name"]), args["checkpoint_name"])
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/torch_scope/wrapper.py", line 361, in init
self.writer = SummaryWriter(log_dir=os.path.join(path, 'log/'))
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 44, in directory_check
os.makedirs(path)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zakaria/anaconda3/envs/py37/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/wdata'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True

you need to set the path correctly. mainly `/data', and '/wdata'

wish version of torch


EDF.decode overflows for large physical minimum/maximum

It multiplies by pmax - pmin which difference will overflow if you're within a factor of 2 of the maxfloat(Float32), and the multiplication will likely overflow if you're within ~32k (typemax(Int16)) of maxfloat(Float32).
However, I think that this is not really likely to be an issue; both our implementation and that used in PyMNE (EDFlib) write the physical min/max in a decimal form with at most 8 ASCII characters and no scientific notation, so the biggest value they can represent is well below the values that cause overflow here.  So IMO it's better to fix this by adding a check to teh SignalHeader constructor that prevents you from constructing headers that would overflow; as a bonus it might be good to throw an error if the stringified physical min/max are >8 characters (rather than waiting until you try to actually write the file to find out).
If we don't wanna restrict the signal header to values that can be stringified into 8 ASCII characters, I think because we're first dividing by the digital range (max - min) in decode, we should probably err on the side of caution and prevent anything that would cause overflow for any integer dmin/dmax values (cna't rule out that someone would put some kind of cursed very small fractions in there but that gives you something on the order of 1e8, so 1e12 with the 1e4 from the typemax(Int16) before multiplying by the physical range.  So if we cap those to 1e20 we'll be safe I think, and that still seems well outside the range of values you're likely to encounter in the real world...

xref https://github.com/beacon-biosignals/EDF.jl/issues/31
Tangentially relevant but EDF+ has a specification for how to handle values that are too large to be represented in 2 bytes. (Spoiler alert: you just take a log.)


.NET client tutorials should use named arguments everywhere

As one can see in tutorial 1, our tutorials use named arguments in some places but not everywhere. We should do that across the board as it makes the code a lot clearer to beginners.

Why is this closed? We haven't merged #63 yet.

Oops. Yep, you merged the tutorials not the website


netscanner error: Something went wrong Error: Permission denied (os error 13)

sudo /home/thomasbratt/.cargo/bin/netscanner
netscanner error: Something went wrong
Error: Permission denied (os error 13)
Location:
/home/thomasbratt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netscanner-0.4.1/src/utils.rs:148:5
ls -al /home/thomasbratt/.cargo/bin/netscanner
-rwsr-xr-x. 1 thomasbratt thomasbratt 18M 2024-03-15 12:40:18 /home/thomasbratt/.cargo/bin/netscanner
ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 08:bf:b8:08:91:e4 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
link/ether 10:68:38:68:bf:e8 brd ff:ff:ff:ff:ff:ff

Hello,
Either run netscanner with sudo or change permissions on that binary file.
Please read https://github.com/Chleba/netscanner/blob/main/README.md where you may copy those instructions.

Interesting.
From the code, I can tell there is a problem with permissions to create directories. You may try to change groups or permissions (or both) to your .cargo folder. That could solve this issue.
Please let me know if it was the case.

As we can see here: https://github.com/Chleba/netscanner/blob/30e3fbb9394e397231147b34bdac966de648ae80/src/utils.rs#L148
We're calling file system function that want to create some directories. In this case data directory.
You can change path of those directories in the .envrc file (https://github.com/Chleba/netscanner/blob/main/.envrc) so that it you point into a folder where your user have perrmissions.

btw. try changing group of netscanner binary file to root:thomasbratt - that should help. Let me know how it went.

@thomasbratt any luck?

Because of no other pieces of information, I'm closing this issue that was happening thanks to incorrect permissions.


Range Sum Query - Immutable(Leetcode)

Aim

I would like to add the solution of this problem in Leetcode folder of DS-ALGO-Practice.

Details

Problem:-Range Sum Query - Immutable.
Link:-https://leetcode.com/problems/range-sum-query-immutable/

I would like to work on this issue Under LGM-SOC'21.
@Ayush7614 @Saurabh4626 @ravikr126 sir Please assign it to me.

Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

@Saurabh4626 @ravikr126 @Ayush7614 Please Assign me this issue. I will solve it in java.
LGM-SOC'21


ANC release v0.0.5

Type Release

@ndegwamartin There are failing test, @ellykits You can have a look at these


Copula fit takes longer time

Hi Team,
Thank you for this wonderfull package.
I was working on simulating spatially variable genes using a dataset with approximately 1,000 genes and 15,000 spots. For fitting the marginal distribution, I used the following formula:
mu_formula = 's(spatial1, spatial2, bs = "gp", k=20) + s(spatial1, spatial2, bs = "gp", k=20, by=logLS) + batch'
This formula incorporates spatial effects, spot-specific library size effects, and batch effects. While the code successfully completes the marginal fitting step, it fails to fit the Gaussian copula even after running for 10 days (number of cores=32). Is there something wrong with my approach? I would greatly appreciate any advice on this.

Hi,
Thank you for your interest in our package! That sounds weird since 99% of the problems occur in the marginal fitting step.
I have two guesses. The first one is that your memory is not large enough; you may subset your genes or spots to see if it works with lower dimension. The second one is that the marginal fitting results some abnormal values for some genes; in this case, your model may work for A subset of genes but not for B subset.
PS: I personally think s(spatial1, spatial2, bs = "gp", k=20, by=logLS) is a little bit too complicated; I would probably treat logLS as the linear "offset." Of course, this is your reasonable setting and it is not related to the problem you met.
Best,
Dongyuan

Hi Dongyuan,
Thank you for your valuable feedback. I believe I have allocated enough memory, so hopefully, that should be sufficient. When I subset for a smaller dataset, it works. The issue might be due to the large number of spots. If that is the case, what could be the reason for the high computational time, especially during the copula fitting?  I would greatly appreciate any thoughts you may have on this.
Thank you.
Sincerely,
Lahiru.

Hi Lahiru,
Did you use 'gaussian' copula? Thanks!
Best regards,
Dongyuan

Hi Dongyuan,
Yes. I used that one.
Sincerely,
Lahiru

Hi Dongyuan,
I also noticed that when I use the number of cores =1or 2 the algorithm is much faster than using many cores.

Interesting! Two possibilities:

If the speed is increased for both the marginal fitting and copula fitting, it means that the memory has been over-charged; you may need to improve it since each core will be allocated some memory.
If the speed is only related to the copula, then it is related to the R package coop (for fast correlation estimation). I can fix it today and update the package.

Let me know your results. Thanks!
Best,
Dongyuan

Yesterday I used 2 cores with 980 genes and approximately 4500 spots. After 8 hours, the simulation is finished.
I was thinking about extending the number of spots to 9000.
"it means that the memory has been over-charged; you may need to improve it since each core will be allocated some memory" I am not sure what you meant here. Could you please clarify it?
Thank you for your support on this.
Sincerely,
Lahiru.

Oh, sorry, the text has been auto-corrected. I mean that the memory is not large enough. For example, one core will need 1 GB for the computation. If you use 10 cores with 1 GB you will get frozen on your computer.

I am using a Server to run the code therefore it will be ok. I will experiment bit more. If you made any update to the code please let me know

Sure. I will update the code today and let you know when I finish that.

Thank you.

@Lahiru-lsb Sorry for the late reply> I was busy with my orientation in the past few days. I have updated the package and you may test it. I add new options for the correlation estimation in fit_copula.

Thank you. I will check it.
Lahiru.
On Fri, Nov 8, 2024 at 2:06 PM Dongyuan @.***> wrote:

@Lahiru-lsb https://github.com/Lahiru-lsb Sorry for the late reply> I
was busy with my orientation in the past few days. I have updated the
package and you may test it. I add new options for the correlation
estimation in fit_copula.
—
Reply to this email directly, view it on GitHub
https://github.com/SONGDONGYUAN1994/scDesign3/issues/65#issuecomment-2463667396,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEKHZ36RDPV7GJHBGOFGSUTZ7QTCPAVCNFSM6AAAAABRDLNKJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRTGY3DOMZZGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi Dongyuan,
I hope you are doing well. I have another question and hope you can help me to clarify this.
When I am using the function fit_marginal, I noticed that for the mu parameter, it is recommended to use a single smooth function. Could you please explain the reason for this recommendation?
"mu_formula
A string of the mu parameter formula. It follows the format of the formula in bam. Note: if the formula has multiple smoothers (s()) (we do not recommend this)"
Thank you.
Sincerely,
Lahiru

Hi Lahiru,
Two reasons:

We extract the smoother by using regular expression. We haven't tested if it works correctly for multiple smoother, especially if we set edf_flexible = TRUE (select the best number of knots k automatically).
It will usually double or triple the computation time.

There is no reason that it will not work by the model formulation.

Thanks for the explanation.
On Wed, 27 Nov 2024 at 2:23 pm, Dongyuan Song @.***>
wrote:

Hi Lahiru,
Two reasons:

We extract the smoother by using regular expression. We haven't
tested if it works correctly for multiple smoother, especially if we set edf_flexible
= TRUE (select the best number of knots k automatically).
It will usually double or triple the computation time.

There is no reason that it will not work by the model formulation.
—
Reply to this email directly, view it on GitHub
https://github.com/SONGDONGYUAN1994/scDesign3/issues/65#issuecomment-2502620731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEKHZ33MCWJIANNA4YBN2BL2CU3KTAVCNFSM6AAAAABRDLNKJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBSGYZDANZTGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


(feat) Should use a multiblock to create a dimensional gateway structure

As a player I would like the multiblock structure to be configurable like Extreme Reactor / TCon
so that I can determine where to place controls and automation ports.
multiblock should use telepad blocks as construction blocks, should have one or more Dimensional Transceiver blocks, a new "dimensional prober" and "dimensional rift" blocks.
new blocks require tormented enderman heads, a nether star and combined with a soul vial that's captured a "dimensional rift"
There's a percentage chance that rifts are formed on breaking an ender pearl or portal blocks. Ender dust can also be used to create a ender compass for locating eyes of ender, nether portals, and end portals.
Rifts if stabilized will open to new dimensions (defaulting to a void world or randomly creating a portal to another existing dimension). Dimensions will be randomly chosen and (if looking glass is included) displays the other side to ensure its safe or not..
Dimensional gateways act as chunk loaders but operate with redstone to enable/disable themselves.

Should just use the current telepad and provide an "upgraded" block that creates dimensional gateway. This includes a dimensional panel.


Feature: Add 'Open in New Window' checkbox to Pages

By default, when a Page is redirected to a different URL (instead of displaying the page contents), it opens in a new window/tab. This feature would add a checkbox in the views/pagesAddNewView.js and templates/pagesAddNew.html that would all the user to select weather or not they want the link in the navigation bar to open the redirect URL in a new window or the existing window. It would toggle the link property between target="_blank" or target="".

This feature has been developed and exists in the unstable branch. It will be incorporated into the master branch when v0.00.05+ is released.


Add more dynamic version examples

Context
I stumbled upon missing a bit more context about the supported version ranges in Gradle. There is also a Issue about that https://github.com/gradle/gradle/issues/5603 though this is not a fully fledged explanation it is a small improvement of the current doc. I would propose to add a additional paragraph e.g. in customizing_dependency_resolution_behavior.adoc
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Thanks very much for the PR.


500 error downloading fedora:latest

I attempted to download the official Fedora image using Kitematic 0.8.7 on OSX 10.11 (El Capitan). I got
server error
500
No command specified

This seems like the fedora image doesn't specify how to run the container. Please use the command line to run it with the proper switches.
Thanks!

Yep, that works (docker run -it fedora bash). Thanks.


OTGCORE-253: Adding support for Arm Virtual Hardware

This change adds a new enumeration type to the set of possible boardType values to enable Arm Virtual Hardware targets to be represented in CMSIS systems.

There has been much discussion on the merits and otherwise of this change and possible alternative implementations. Needs further work to resolve.


major rework - see mini changelog inside vsi2tif.py

bit unsure how you add contribution in LICENSE correctly

LICENSE is probably fine.
Overall it looks good. I'm a little too busy to go fully into the code. I was expecting some small edits :P But I can take your word for it ;) I will test it as soon as I have the chance.
I'm assuming you have tested this on your workstation, right? Are you using Ubuntu 18.04?
Also, did you benchmark the CLI vs. Python solution btw? I was interesting in testing something similar, but went with the "simple" approach for convenience. Would be good to test on an open WSI. If you have time, test with OS-1 from here:
http://openslide.cs.cmu.edu/download/openslide-testdata/Olympus/

Ja well started with small changes and then suddenly... :D
tested on HUNT cloud with Ubuntu 16.04.7 LTS
libvips-tools 8.2.2-1
python 3.8.3
pyvips 2.1.13
bfconvert 6.5.1
I have not performed a proper benchmark yet. I stumbled across something about speed here: https://libvips.github.io/libvips/API/current/using-cli.html but on second read its apparently only relevant for chaining because of the filesystem operations. Anyway, the step from vsi to btf is much slower so parallel processing is probably the way to go. I just found the pyvips module simpler to use :).

Yes, I found something similar regarding pyvips. I have actually tried to use it in one of my pipelines for reading WSIs on the fly during training.
But yes, that is what I experience as well. The first step being the bottleneck. However, I think memory usage became a challenge when I tried to do WSI-level parallel processing. Don't recall. Haven't tried this in about a year :P


TypeHandler was not used when parsing @SelectKey result

How to reproduce
	@Insert("insert into t (xxx, createdAt) "
			+ "values (..., now() ")   //MySQL DB
	@SelectKey(statement = "select id, createdAt from t where id =  last_insert_id()"
			+ "", keyProperty = "id,createdAt" + "", keyColumn = "id,createdAt"
			+ "", before = false, resultType = java.util.Map.class)
	public void saveNewBean(T t);

And I got type mismatch error:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: Error selecting key or setting result to parameter object. Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'createdAt' of 'class T' with value '2015-12-11 16:21:33.0'

createdAt is of  java.util.Calendar type.  I've written a type handler for it.  It works well for commons select statements, but it seems during population of @SelectKey results the type handler is not used.
Btw, "createdAt" is not really a key.  I used it as a property of the composite key just because there was no other way to put this db-generated value back to the "t" bean I passed in, if annotation-based MyBatis was used.  Am I right?  Is there any simple way to do it?

I think that the type handler is not used because the results of the query are mapped to java.util.Map.
Have you tried specifying a bean class with id and createdAt as the resultType?
If it still doesn't work, please create a test case and I will look into it.
p.s.
I usually set creation date in Java code before inserting.

I used the type handler globally.  It should work no matter what the query results are mapped to.
	<typeHandlers>
		<typeHandler javaType="java.util.Calendar"
			handler="xxx.CalendarTypeHandler" />
	</typeHandlers>

Anyway, I used a interceptor to automatically set createdAt, and let the key only contain "id" property, hence worked around this issue.

It should work no matter what the query results are mapped to.

Wrong.
It works only when the type of the java property is java.util.Calendar.
In your case, query results are mapped to java.util.Map<Object, Object>.
Anyway, it's good to know you could solve the problem :smile:


Run plugin after hygiene pass

Describe the feature
I would like to configure my plugin to run after the hygiene pass. I am writing a transformer to assist with serializing javascript closures for remote execution. An important aspect of this process is to analyze closures to detect "free variables" - i.e. variables captured by a closure. I then inject that information at runtime to enable closure serialization.
let a;

function closure() {
  return a; // a is captured
}

The injected information contains a string literal for the variable name, "a".
decorate(closure, () => ([a, "a"]))

The problem I'm having is that the hygiene pass can rename the a variable depending on the context, e.g. a1, which invalidates the string literal I've injected.
I was pursuing the workaround of disable_hygiene, but it seems like it's not possible to enable this from .swcrc ...
Babel plugin or link to the feature description
No response
Additional context
No response

Found a workaround.


add SQL/PPL transport request/response models

Signed-off-by: Zhongnan Su<EMAIL_ADDRESS>Description

Add the transport interfaces for SQL plugin, to enable sending PPL/SQL query between other plugin in transport calls
Define corresponding request/response data models that any plugin can consume
Related PR in SQL plugin won't pass CI, until this PR is merged and artifacts is released to central repo.

Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@zhongnansu This looks old and unattended. Do you still want this merged? I'll find someone to CR.

@zhongnansu Are you still blocked on review for this PR?

@dblock @getsaurabh02 Yes, I need to merge this in. At that time I don't want it to affect 2.0 release. Now since 2.0 is cut, I can contribute this feature. will update the PR today and re-request review, thx

I have concern regarding to maintenance the transport layer interface. Ideally, SQL/PPL should be a module of Opensearch, then other application plugins could directly use it. Could we consider move Transport interface to SQL/PPL for now. Then we can decide later how we want to separate them when we have real use case?

Ideally, SQL/PPL should be a module of Opensearch, then other application plugins could directly use it

I like this idea. @penghuo , can you create an issue on core and let's discuss if we can move this to modules so other plugins can directly use it. What do you think could be the changes needed for other plugins to use SQL/PPL without much modifications.

I have concern regarding to maintenance the transport layer interface. Ideally, SQL/PPL should be a module of Opensearch, then other application plugins could directly use it. Could we consider move Transport interface to SQL/PPL for now. Then we can decide later how we want to separate them when we have real use case?

@penghuo @praveensameneni Thanks for the feedback. Separating SQL/PPL codebase into 2 repos without doesn't seem like a long term maintainable solution. Besides, like your previous comment mentioned,  without a response wrapper, the client will find it difficult to use just pure json. I'll close this PR and link to your new issue


Training Cotatron has a problem

Thanks for your code.
This is a question when I train at Cotatron.
What can I do to address this question?

Hi, it is a code for the checkpoint prefix and we fix that part with git commit hash.
It seems that you do not run your code on git folder. I recommend to erase kwargs prefix=get_commit_hash().


AttachPointerParser regressions

Use this issue to track AttachPointParser regressions that occurred in #1117 .

I currently believe it's impossible to parse an attachpoint definition correctly. That being said, I am very open to being proven wrong.

Looking at bigger languages like rust, C++, go, and C, notice how for functions there's always a leading identifier for functions (analogue to bpftrace probe): fn, void|int|..., func.


Optionally accept a pre-existing open tap device fd instead of a name

This allows a more privileged parent process to take care of opening
/dev/net/tun etc and simply pass the open fd to the ukvm child, meaning ukvm
does not now require access to the tun device.
https://github.com/mato/docker-unikernel-runner/pull/4 makes use of this new functionality.

Looks good. Thanks!


Allow computer (DNS) names instead of F5 node names

Computer name resolution and route domain suffix support (i.e. %n) was recently added to the Address parameter in the Posh-LTM-Rest[https://github.com/joel74/POSH-LTM-Rest/] PowerShell Module upon which this extension is based.
Exposing this new functionality is a good first step, but I think some discussion is warranted to get it right.

closing due to lack of discussion...ask me to re-open or submit a new issue if still desired.


Update compress_spooler.rb

Fixes issues #2 and #3

The code looks good, would be nice to have 3 tests: 2 for encode/decode, and one for the buffer fix.

decode an event w/ a float "@timestamp_f" field => check if the "@timestamp" field is correct and "@timestamp_f" is no longer there
encode a simple event => check if "@timestamp_f" has a correct float and "@timestamp" isn't there
send X events that fill the buffer and see that the flush happens at the Xth instead of X+1th

Hello, I am not much of a ruby developer, so if you tell me how to write the test I will do so. Or point out where to learn to do them.
Thanks

For decode test, you can see examples in https://github.com/logstash-plugins/logstash-codec-cef/blob/master/spec/codecs/cef_spec.rb#L16-L31
For encode, https://github.com/logstash-plugins/logstash-codec-rubydebug/blob/master/spec/codecs/rubydebug_spec.rb#L14-L25
The line codec also has good specs for encode/decode.
I'm available to further help you with this :)

@Bradox do you need any other help to make the tests for this? we can meet on irc if you want

@Bradox I apologies It took really longs for us to come back here. Logstash took a quite big chance of changes, so I updated the code in this PR, and merged it together with some tests at #7. Thanks for your contribution, is much appreciate it!

purbon

@Bradox Let me know if you got more data on the timestamp issue, for now I can not reproduce it, looking forward to get more data on it.


[SMALLFIX] Use static imports for standard test utilities in class JournalShutdownIntegrationTest

Merged build finished. Test PASSed.

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