Export annotations for local dataset and reimport them in a fresh label studio creates duplicates

Dear label-studio team,
I have come across an issue of which I am not sure about how to classify it.
I would say label-studio does not behave according to my expectations, which can be one of two things:
A bug in label-studio or a bug in my expectations:
When I have an instance of label-studio running on localhost and I have also added the local storage as cloud storage I experience the following:

Two people are working on two instances where the local storage directory structure is identical, i.e. they have the same local datasets.
Then I want to import the annotations of one person to the label studio instance of the other person.
Since both have the same local data, syncing the local storage leads to the same annotation tasks.
The first person exports the data in JSON format.
The second person imports the JSON file and the annotated tasks are correctly listed, but in addition the same tasks exist without annotations.

My expectation was that label-studio detects that and just adds the annotations.
Or is using the import function not the right way to go here?
Best regards,
Gregor

@gregor-mittag could you check the latest commits from master? Hope it's fixed now.

@makseq thanks for taking care of my issue!
However, I am currently on vacation without access to my computer. I will check when I am back in 2 weeks.

Back from vacation!
@makseq when you ask me to check the latest commits from master, do you mean to follow the instructions here? https://github.com/heartexlabs/label-studio#install-for-local-development
Or are there some pre-releases or nightly releases available?

@gregor-mittag Hope you had a lovely vacation :slightly_smiling_face: !
Yes, I meant those instructions. We put the latest versions (similar to nightly builds) into the master branch.
Have you tried it already?

@makseq Thanks for the confirmation!
I tried it with the master branch (commit ID: 0e5536602c1b96489028dcb9a65471c0a903bbde).
However, the issue is still the same:
I first set up the local storage and synced it leading to the following result:

After importing the JSON file with 42 annotations, I get the following:

Unfortunately, I cannot send you the data and annotations to try it out yourself.
Do you have an idea on how to create a minimal example?

Hi, @gregor-mittag ! I think you're trying to import 42 annotations separately from the 121 tasks created from the bucket sync. When importing data, every JSON item creates new tasks disregarding any existence. Therefore, it sums up to 163 tasks in total, which is expected.
In case you want to attach annotations to already created tasks, I suggest you might try using the API, collecting corresponding tasks IDs beforehand.
Tell me if I'm missing something, and glad to help you further.

@niklub I think your guess is correct.
I was actually hoping to get this task done without writing some script, but it seems to me that it shouldn't be too complicated to do so.
I'll reopen this issue if I run into problems.
Thanks, @makseq, @niklub for your help and suggestions!


CSS not reachable

Please investigate why after push last changes in working project. CSS files not reachable or disspear from static.

You have misconfigured your environment, I am unable to reproduce. Check if you are using the "local" docker compose with DEBUG=0, this might cause the issue.

I using everything as was. Before 2 months. I updated to newer version and now this issue appear. Any suggestions?

Can you try reverting the patch introduced with https://github.com/opengisch/qfieldcloud/pull/865/files ? Does it start working? If so, you have been exploiting a bug and you are using development configuration for your production environment. DEBUG variable should be 1 if you are using override.local.yml.

Yes when I reverting changes everything regarding css looks okey. Please check that again. Or just conntact to me.

And also as I see that when debug=1 it works fine.

Glad it works. Please contact us on sales [at] qfield.cloud for more info.

But still strange that after update qfieldcloud from github, it not work normally with debug=0. Also mode using production.


Fix checkpoint callback & Trainer.test(_) issue for TPUs

What does this PR do?
Fix checkpoint callback issue for TPUs when set False & `trainer.test(..).
Fixes #6230
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

@SeanNaren Thanks for bringing it up! We could keep a look on it for next couple of days, I have seen instances when the TPU Pods used to get killed mid testing. Afk, will create an Issue and track it.

@Borda

All tests are passing. Had to do a tweek. Will investigate it soon.


Specification not rendering on GitHub

For some reason the spec can no longer be previewed on GitHub. I'm not sure if this an ephemeral problem, a GitHub bug or something wrong with our files (see https://github.com/orgs/community/discussions/86715).

Old versions like https://github.com/Materials-Consortia/OPTIMADE/blob/6f1e115094ec256c262df712a35c86f4d3e6d1c7/optimade.rst fail to render when they definitely used to (Firefox Developer Edition, no extensions)

Originally posted by @ml-evs in https://github.com/Materials-Consortia/OPTIMADE/issues/493#issuecomment-1889488011

Clearly something changed on GitHub's side; even going back to the original rst file right after we converted the specification doesn't render.

Feel free to pretend to be another effected project in my linked discussion :P I think this must have changed in the last hour or so...

I think a fairly high level of complexity is needed to trigger this; here is a somewhat long rst file that still renders correctly: https://github.com/httk/rsttools/blob/main/docs/rstslide/presentation.rst

I'll remove our custom roles and try to commit again to #493, see if it makes a difference

After some fixes on GitHub's end, we are now mostly back to where we were. The only thing that no longer renders is the table of contents (and hopefully they are working on this). Given that we have HTML builds now anyway (tracked by #501), I will close this issue.


fix the issue of s3 disable LogDeliveryWrite permission

Issue #, if available:
Description of changes:
Checklist:

[yes ] Have you successfully deployed to an AWS account with your changes?
[ yes] Have you successfully deployed to an AWS China account with your changes?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully tested with your changes locally?
[ ] If new dependencies have been added, have they been pinned to specific versions?
[ ] Is this change also required on the AWS Solution version?
[ ] Have you updated openapi.yaml if you made updates to API definition (including add, delete or update parameter and request data schema)?
[ ] If you had to run manual tests, have you considered automating those tests by adding them to end-to-end tests?
[ ] If you are updating the changelog and vending out a new release, have you updated versionNumber and versionDate in .defaults.yml

AS review ticket id:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #152 (bc36e96) into mainline (2ba2cd9) will increase coverage by 12.96%.
The diff coverage is n/a.

:exclamation: Current head bc36e96 differs from pull request most recent head 1b3e701. Consider uploading reports for the commit 1b3e701 to get more accurate results

Additional details and impacted files

@@              Coverage Diff              @@
##           mainline     #152       +/-   ##
=============================================
+ Coverage     52.18%   65.15%   +12.96%
=============================================
  Files           351      164      -187
  Lines         17508     8931     -8577
  Branches       2675     1312     -1363
=============================================
- Hits           9137     5819     -3318
+ Misses         7370     2753     -4617
+ Partials       1001      359      -642

see 192 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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


docs(readme): add a Table Of Contents or create a Minisite

Summary

It would be great to have a simple Table of Contents at the top of the README.md.
* Numbered list w/ Titles
It'd be even better to have a static site with better ux than readme.md.
* Titles & Descriptions
* Screenshots
* Tags and/or Categories

Why?
There are quite a few cloud functions now and it's hard to know what is in here without following the repo activity or spending time+ to grok.

I will try to add more comments with additional information, or submit a PR if I can!

:+1: Actually I have some plan to create a standalone minisite for this repo. Just a plan now as I didn't even get started yet. (And sure, a ToC in the mean time would make sense and be nice)
With a minisite we could also list other (3rd party) repos and maybe also allow Firebase samples that are not Cloud Functions specific.

I believe this is now solved in a few ways:

There is a TOC
We can customize the UX here: https://firebaseopensource.com/projects/firebase/functions-samples/


[flutter_tools] initial support for enable experiment in web builds

Description
Initial support for providing --enable-experiment to dart2js for web release builds and to the frontend for web debug builds. This is not exposed at the flutter build web level yet, since I'm also waiting on some shared code in https://github.com/flutter/flutter/pull/54613
Also fixes a formatting error in the test, and passes defines to both stages of dart2js
https://github.com/flutter/flutter/issues/52819

@yjbanov I remember some discussion that we should be providing the defines to both stages, but I don't recall where that happened.

Hmm, analyzer doesn't like the non-nullable, I guess we'll have to set an analyer override?
  error • This requires the 'non-nullable' experiment to be enabled • dev/integration_tests/web/lib/null_safe_main.dart:7:7 • experiment_not_enabled

My idea: update the analysis shard to look for a non_nullable marker in the project directory. If its present, run flutter analyze --enable-experiment=non_nullable

Updated to remove flutter analyze changes, instead excluding the null safety files from analysis. This should be safe since it is only 2 files, and each one is built/run in presubmit testing

The prebuild task finished but did not report back:https://cirrus-ci.com/task/6098705312907264
Landing, since everything is green.

In order to build the app from the Android module (android/) with null safety, I found that the following flag has to be added to compiler options:
-Pextra-front-end-options=--enable-experiment%3Dnon-nullable


pkg/platform doesn't work on mac

Hi,
Swarm would love to use pkg/platform unfortunately, it doesn't compile on mac
$ GOOS=darwin go build
# github.com/docker/docker/pkg/platform
../docker/pkg/platform/platform.go:18: undefined: runtimeArchitecture

ping @tiborvass

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@vieux #19816  :)

works now


Add feature to official Agility plugin

Any particular reason you don't add this functionality to the Agility plugin instead of having it as a separate plugin-hub plugin? It would be nice for a lot of people! Thanks for making it!

This was originally a PR submitted to core Runelite (see here: https://github.com/runelite/runelite/pull/14307) but Adam didn't have time to review it, so it was broken out into its own plugin. It's unfortunate, but that's how it played out.
Thanks for the support, I'm actually blown away by how many people installed it so far without me telling anyone about it!


Refactoring BlockingChannel and SSLBlockingChannel for better code reuse

This change optimizes the code and allows for a better code reuse

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1cfd7fe). Click here to learn what that means.
The diff coverage is 87.23%.

@@            Coverage Diff            @@
##             master    #1305   +/-   ##
=========================================
  Coverage          ?   72.19%
  Complexity        ?     6347
=========================================
  Files             ?      460
  Lines             ?    36349
  Branches          ?     4599
=========================================
  Hits              ?    26242
  Misses            ?     8894
  Partials          ?     1213

Impacted Files
Coverage Δ
Complexity Δ

...java/com.github.ambry.network/BlockingChannel.java
82.35% <85.71%> (ø)
14 <1> (?)

...a/com.github.ambry.network/SSLBlockingChannel.java
86.66% <89.47%> (ø)
2 <1> (?)

Continue to review full report at Codecov.

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


All workflows are called 'typeguard.py' in monitoring

Seems duplicated as #924

There is stack-walking code like this to pick names, in parsl/dataflow/dflow.py. Without digging into this, my immediate suspicion is that this bit of code is walking up the call stack and immediately finding the typeguard decorator. Adding "typeguard.py" to parsl_file_names might fix this.
        self.workflow_name = None
        if self.monitoring is not None and self.monitoring.workflow_name is not None:
            self.workflow_name = self.monitoring.workflow_name
        else:
            for frame in inspect.stack():
                fname = os.path.basename(str(frame.filename))
                parsl_file_names = ['dflow.py']
                # Find first file name not considered a parsl file
                if fname not in parsl_file_names:
                    self.workflow_name = fname
                    break

PR #959 is fixing this.

Isn't this already fixed ?

@yadudoc the change in #959 looks like it would fix this yeah. it's not fixed till that PR is merged to master though and there seems some unrelated controversy.

sorry about that, closing as a dupe


Provide a recommendation (to data collectors like health systems) for screening tools useful for HE research

Liz, Jimmy, Brianne to collect / present resources like the ones they have looked at for an AMIA paper

@Akanksha798 This hasn't been started yet. If you have some good recommendations or want to get the conversation going, please feel free to do so! The Teams chat for the health equity workgroup would be a good place to start organizing this


How does one configure this?

Using "open settings" from the LogSeq plugin page opened two text files but unfortunately I closed them and now it doesn't open them again.

there's not much of the way in configuration yet, but after installing it, you should see a phone with sms icon, that if you click takes you to phonetonote-logseq page. on that page you need a ptn_key block, and nested underneath that you put your ptn_key. then you click the phone icon again, and it should fetch your notes. i should really get that into the readme 😅

Ah. Ok, I didn't notice that icon.
I clicked it, and briefly get
make a block called ptn_key on this page and put your ptn_key under it but then the message disappears, just FYI

I don't see the little phone icon.  I unpacked/loaded the plugin.  Not sure what I am doing wrong

Ah. Ok, I didn't notice that icon.
I clicked it, and briefly get make a block called ptn_key on this page and put your ptn_key under it but then the message disappears, just FYI

yea, towards the very top of my dev todo list is making the ui/ux better here, I just used the default logseq error message as a quick mvp

I don't see the little phone icon. I unpacked/loaded the plugin. Not sure what I am doing wrong

@bcohen44 can you open the dev console and see if there's any errors there?
i'ts possible you need to manually make the phonetonote-logseq page. I thought I was trying to make it if it doesn't exist, but that might not be working/tested against latest logseq release

ok, following new README directions.  I get this:

irbt-9135m:phonetonote-logseq-master bcohen$ yarn build
yarn run v1.22.17
$ parcel build --public-url . --no-source-maps index.html
/bin/sh: parcel: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
irbt-9135m:phonetonote-logseq-master bcohen$

hey @bcohen44, that's missing a , after false, which is why ptn_key is sqigglied on the next line. in any event, i'd suggest reinstalling from the marketplace so you get the latest version


Endless video playlist.

Hello.
I have 5 videos. And I want to play this playlist forever. The 1st video will start automatically after the 5th video. How can it be implemented? Thank you.

Hi,
You have several tutorials and examples on our website. Take a look to this:
http://www.videogular.com/examples/creating-a-simple-video-playlist/
Docs: http://videogular.com/docs/#/api


bos open stalls after connecting to peers

Using bos v8.0.2 and lncli version 0.12.1-beta, the bos open command to batch open many channels stalls after establishing peer connections to all the nodes listed.
I have confirmed that the command successfully establishes the peer connections. When I run the same command again, it no longer shows connecting _to: indicating that the nodes are already peers.
Heres the example output:
$ bos open 03ef9148e4e0f120c55c05ed91f77bb1adf256694391bf81a07f835a6384348dd4 --amount 1000000 02ad6fb8d693dc1e4569bcedefadf5f72a931ae027dc0f0c544b34c1c6f3b9a02b --amount 1000000 038a7f830db2bdc5474a9b61e505814a5b5b6ef3f0c9ce513c4d21d5b9bfbb26e2 --amount 1000000 03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f --amount 1000000

-
  node:              Boltimore
  channels_per_peer: 1.17
-
  node:                        rompert.com🔵
  channels_per_peer:           1.04
  is_accepting_large_channels: true
-
  node:              BitcoinForAll
  channels_per_peer: 1.33
-
  node:                        ACINQ
  channels_per_peer:           1.25
  is_accepting_large_channels: true

opening_to:
  - Boltimore: 0.01000000
  - rompert.com🔵: 0.01000000
  - BitcoinForAll: 0.01000000
  - ACINQ: 0.01000000

This is all the command outputs. It does not show anything else even after waiting for 10+ mins. The bos open process uses 0% CPU as well.

Potentially it is waiting for one of these peers to respond and it isn't, I'd try them one by one and then press enter to cancel to identify if there is a problematic one

I let the command run for over 20 mins and it finally returned. I also ran them separately and identified the problem node. Is there any risk paying the funding transaction even though it may have taken more than 10 mins for the bos open command to return anything? Is the funding_deadline displayed still accurate?

The funding deadline is still accurate yes I would just avoid that peer

Ok, I ignored the advise and tried to fund the opening transaction with the misbehaving peer anyways. After pasting the hex, the open command returned:
err:
  - 503
  - UnexpectedErrorValidatingChanFunding
  -
    err:
      message: 2 UNKNOWN: no funding intent found for pendingChannelID(088cc947b43d31677aac670b13d10e1725d3b372ba820a20fa91fd2474287cda)
      stack:
        - Error: 2 UNKNOWN: no funding intent found for pendingChannelID(088cc947b43d31677aac670b13d10e1725d3b372ba820a20fa91fd2474287cda)
        -     at Object.callErrorFromStatus (/home/bos/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
        -     at Object.onReceiveStatus (/home/bos/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/@grpc/grpc-js/build/src/client.js:176:52)
        -     at Object.onReceiveStatus (/home/bos/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
        -     at Object.onReceiveStatus (/home/bos/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
        -     at /home/bos/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
        -     at processTicksAndRejections (internal/process/task_queues.js:75:11)

With the pending channel ID being the one with the bad peer.
So I gave up and ran it again without the bad peer and everything works! Thanks for your help! I saved so much on fees!

It runs a safety check before allowing the broadcast to try and save you from problems
I think it could do more and show you more about what's going on but that would require LND changes


feat(connector-quorum): remove hard dependency on keychain

feat(quorum): remove hard dependency on keychain
Removed hard dependency on keychain for Quorum plugin.
Updated old test cases and added new test cases.
resolves #1161
Signed-off-by: TonyRowntree<EMAIL_ADDRESS>

Codecov Report

Merging #1191 (eb0d4ba) into main (b0688e8) will increase coverage by 0.01%.
The diff coverage is 73.52%.

:exclamation: Current head eb0d4ba differs from pull request most recent head 37b4256. Consider uploading reports for the commit 37b4256 to get more accurate results

@@            Coverage Diff             @@
##             main    #1191      +/-   ##
==========================================
+ Coverage   71.76%   71.78%   +0.01%
==========================================
  Files         270      270
  Lines        9420     9483      +63
  Branches     1113     1128      +15
==========================================
+ Hits         6760     6807      +47
- Misses       2087     2096       +9
- Partials      573      580       +7

Impacted Files
Coverage Δ

...pescript/generated/openapi/typescript-axios/api.ts
84.44% <ø> (ø)

.../main/typescript/plugin-ledger-connector-quorum.ts
76.29% <73.52%> (-1.00%)
:arrow_down:

...or-quorum/src/main/typescript/model-type-guards.ts
35.29% <0.00%> (+5.88%)
:arrow_up:

Continue to review full report at Codecov.

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

@TonyRowntree Is this ready for review?

@TonyRowntree Is this ready for review?

is is ready now

@TonyRowntree Did you modify something on the branch permissions of your fork? I'm trying to update it but says

Update branch attempt failed
Couldn't update "rm-keychain-dependancy-quorum": At least 1 approving review is required by reviewers with write access.

@TonyRowntree Did you modify something on the branch permissions of your fork? I'm trying to update it but says

Update branch attempt failed
Couldn't update "rm-keychain-dependancy-quorum": At least 1 approving review is required by reviewers with write access.

I did add some branch protection. I have disabled it temporarily if you would like to try again


Parallel face recognition

Is there any form to recognize people in a parallel form? Because i tried it using a image and my face and it only recognize one face.
How can i do this?

Hi @AlvaroN1997 , can you show how are you doing this?


Add markdown rule

Hello, I've made a few attempts and want to know if I'm on the right track.
I'm importing project details in markdown files and I've set the webpack option within static.config.js as follows:
webpack: (config, { defaultLoaders }) => {
    const renderer = new marked.Renderer()
    config.module.rules.push({
      test: /\.md$/,
      loader: 'html!markdown?gfm=false',
      options: renderer,
    })
    return config
  },

When running the project I get a series of errors:
Failed to rebuild.
./node_modules/grid-styled/dist/index.js
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
|
'use strict';

|
Object.defineProperty(exports, "__esModule", {
|   value: true

./node_modules/react-dom/index.js
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
|
'use strict';

|
function checkDCE() {
|   / global REACT_DEVTOOLS_GLOBAL_HOOK /

./node_modules/react/index.js
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
|
'use strict';

|
if (process.env.NODE_ENV === 'production') {
|   module.exports = require('./cjs/react.production.min.js');

And the errors continue quite a bit. Obviously I'm not configuring webpack correctly. I assume that if it had anything to do with the html loader definition in my new rules that it would fail at an HTML item and tell me so. Your docs seem high-quality, I just believe I'm missing something. Any direction would be greatly appreciated, thank you.

Hi @josephdburdick!
This might not be what is giving rise to your issue, but I think you want to give the renderer as an option in options, and not as the entire options object:
webpack: config => {
  const renderer = new marked.Renderer()

  config.module.rules.push({
    test: /\.md$/,
    use: [{
      loader: 'html-loader',
    }, {
      loader: 'markdown-loader',
      options: {
        renderer,
      },
    }],
  })

  return config
},

@EmilTholin  Thanks for pointing that out. I made the change and I'm still facing a SyntaxError. I believe that Webpack isn't registering the config because it's parsing this as as Javascript.
Resulting terminal ouptu from running the project:
{ SyntaxError: /Users/jb/Projects/internal/presentday/src/data/projects/aoa-ny/aoa-ny.md: Invalid left-hand side in prefix operation (1:2)
> 1 | ---
    |   ^
  2 | order: 10
  3 | name: aoa-ny
  4 | title: AOA NY
    at Parser.pp$5.raise (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:4454:13)
    at Parser.pp$2.checkLVal (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:3233:14)
    at Parser.checkLVal (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:6145:22)
    at Parser.pp$3.parseMaybeUnary (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:3464:12)
    at Parser.pp$3.parseExprOps (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:3404:19)
    at Parser.pp$3.parseMaybeConditional (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:3381:19)
    at Parser.pp$3.parseMaybeAssign (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:3344:19)
    at Parser.parseMaybeAssign (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:6474:20)
    at Parser.pp$3.parseExpression (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:3306:19)
    at Parser.pp$1.parseStatement (/Users/jb/Projects/internal/presentday/node_modules/babylon/lib/index.js:1906:19)
  pos: 2,
  loc: Position { line: 1, column: 2 },
  _babel: true,
  codeFrame: '\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 1 | \u001b[39m\u001b[33m--\u001b[39m\u001b[33m-\u001b[39m\n \u001b[90m   | \u001b[39m  \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\n \u001b[90m 2 | \u001b[39morder\u001b[33m:\u001b[39m \u001b[35m10\u001b[39m\n \u001b[90m 3 | \u001b[39mname\u001b[33m:\u001b[39m aoa\u001b[33m-\u001b[39mny\n \u001b[90m 4 | \u001b[39mtitle\u001b[33m:\u001b[39m \u001b[33mAOA\u001b[39m \u001b[33mNY\u001b[39m\u001b[0m' }
error Command failed with exit code 1.

That's frustrating. I added the webpack code I wrote above to the static.config.js in a fresh styled-components example in<EMAIL_ADDRESS>and added this example Markdown to a .md file, and it worked.
Could you create a repository isolating your issue?

Nope. ‘.md’ needs to be added to the code whitelist.
https://github.com/nozzle/react-static/blob/master/src/commands/index.js
We tryied to add common extensions. When ever Babel parses non js files you’ll see the token error.

I created a very basic example of how it can be done. Maybe it can be of some help.

I appreciate the examples you guys have produced, it has helped me get a better idea as to what the problem is and what the solution could be.
First, I understand the approach with static.config.js, is there a way however to import the .md file inside the static.config.js file so produce the data that would be summoned within a route definition? For example, I have a route for "projects" and each :id for the project is the name of the markdown or frontmatter file that would be pulled from src/projects/projectID.md

@josephdburdick Ah, gotcha. In your src files you need to use webpack, but in the static.config.js file you can use any Node utility you like, e.g:
import { markdown } from 'markdown'

// ...

export default {
  getRoutes: () => {
    return [
      {
        path: '/about',
        component: 'src/containers/About',
        getProps: () => ({
          markdown: markdown.toHTML(fs.readFileSync('./src/test.md', 'utf-8')),
        })
      },
    ]
  },
}

I added an example to the same repository.


Transaction: save to file, show exceptions. Instrumentation

Hi,

How can I save pinpoint transaction to file?
My transaction is marked with flame sign, meaning it has exceptions. How can I see in pinpoint what exactly exception was there?
What classes does Pinpoint instrument? How can I manage it, like adding classes/packages to be instrumented?

@Benzion18

How can I save pinpoint transaction to file?

Currently, there is no extracting data function in open source

My transaction is marked with flame sign, meaning it has exceptions. How can I see in pinpoint what exactly exception was there?

Select the red dots on the scatter chart(top right corner of the first page)

What classes does Pinpoint instrument? How can I manage it, like adding classes/packages to be instrumented?

Actually, Pinpoint automatically takes care of this. Check the homepage for the list


Delay pattern decodding

In the paper the delay pattern makes a streaming decoding. However, i failed to find the method like build_delay_input_ids. The model seems has no tts adapter? so I'm not sure this is correct: now the model is parrel decoding rather than delay parrel decoding.

hi,

please refer to: https://github.com/gpt-omni/mini-omni/tree/main?tab=readme-ov-file#faq, the open-source version do not support tts-adapter
the model is delayed pattern, you can print: list_output at each inference step to confirm.

hi,

please refer to: https://github.com/gpt-omni/mini-omni/tree/main?tab=readme-ov-file#faq, the open-source version do not support tts-adapter
the model is delayed pattern, you can print: list_output at each inference step to confirm.

谢谢解答，我这里还列出几个问题不太清楚：

解码相关
`    if n_tensors == 7:
for i in range(0, len(flattened_output), 8):
     tensor1.append(flattened_output[i + 1])
     tensor2.append(flattened_output[i + 2])
     tensor3.append(flattened_output[i + 3])
     tensor3.append(flattened_output[i + 4])

     tensor2.append(flattened_output[i + 5])
     tensor3.append(flattened_output[i + 6])
     tensor3.append(flattened_output[i + 7])
     codes = [
         list_to_torch_tensor(tensor1).to(device),
         list_to_torch_tensor(tensor2).to(device),
         list_to_torch_tensor(tensor3).to(device),
     ]

`

我的理解是delay pattern在并行token生成（1-7）时高层token会condition on前一个token，这符合RVQ的建模。snac码的特点是encoder出口到decoder入口分辨率提高。我将上面代码对应到snac的码表中，发现是一个前序遍历，按照我的理解（可能是错的？）第二层的序号5会condition on到第三层的序号3、4，所以，用右边的层序遍历是否有合理性呢。还有就是，分成7层而不是对应的3层是出于减少自回归步骤，降低延迟的考量吗？（此外，为什么选择snac编码呢，是因为snac压缩率高还是snac也是你们的工作呢）
另外，论文中 Prior to generating audio tokens, padding with N tokens ensures that the corresponding text tokens are produced first。这里的N是1还是平均序列长度呢。

训练相关：stage1是为了获得asr/tts能力，观察到词表有进行audio token扩充，但是在这个stage训练中LLM是冻结的，从输入到LLM出口只对adapter进行了训练。那在自回归teacher forcing训练audio token时，与连续的feature不同，离散token的声学表征空间看起来并没有与LLM文本空间对齐，这里让我比较困惑。此外，看到论文dataset部分，asr/tts表示为A1|T1，这里是指ASR、TTS的训练样本都是有audio + text tokens自回归训练吗，即sequence为混合text/audio token，还是说分别为asr->text token，tts->audio token。
在stage1中，用到的数据集都是较为干净的数据集，比如tts用的VCTK、Libritts，以及有声读物librispeech。没有用更为复杂场景的数据（比如Gigaspeech）是因为考虑到对audio token的影响吗?
请问开源版本中的音色是来源于指令微调的GPT-4o吗，如果想自定义音色，在这个框架上有什么建议吗？

期待您的解惑
==================================================
My understanding is that during delayed parallel token generation, the high-level token will condition on the previous token, aligning with the modeling of RVQ. The characteristic of the snac code is that the resolution from the encoder to the decoder is enhanced. When I map the above code to the snac codebook, I find it corresponds to a preorder traversal. According to my understanding (which may be incorrect?), the index 5 in the second layer will condition on the indices 3 and 4 in the third layer. Therefore, is there a rationale for using the right-side level order traversal? Additionally, is the reason for dividing into 7 layers instead of the corresponding 3 layers to reduce autoregressive steps and lower latency? (Moreover, why choose snac encoding? Is it because snac has a high compression rate, or is snac also part of your work?)
Furthermore, in the paper, it states: “Prior to generating audio tokens, padding with N tokens ensures that the corresponding text tokens are produced first.” Here, does N refer to 1 or the average sequence length?
Regarding training: Stage 1 aims to acquire ASR/TTS capabilities. It is observed that the vocabulary has been expanded with audio tokens; however, in this stage, the LLM is frozen, and only the adapter is trained. When training audio tokens with autoregressive teacher forcing, unlike continuous features, the discrete token’s acoustic representation space does not seem to align with the LLM’s text space, which confuses me. Additionally, I noticed in the dataset section of the paper that ASR/TTS is represented as A1|T1. Does this mean that both ASR and TTS training samples involve autoregressive training with audio + text tokens, i.e., the sequence is a mix of text/audio tokens, or does it mean ASR -> text tokens and TTS -> audio tokens separately?
In Stage 1, the datasets used are relatively clean, such as VCTK and LibriTTS for TTS, as well as the audiobook LibriSpeech. Is the reason for not using more complex scenario data (like GigaSpeech) due to concerns about its impact on audio tokens?
Is the timbre in the open-source version derived from instruction-tuned GPT-4o? If one wants to customize the timbre, what suggestions do you have within this framework?


Object doest support property or method reLoop

中文用户注意：

尽量用英文描述你的 issue
不要把内容堆彻在标题上，逻辑清晰地写在内容区
贴代码要提前格式化好，有颜色高亮那种，贴文本，不要贴图片
提问题前，必须仔细阅读 REMADE.md + 在已关闭的问题中寻找与自身相关的问题，90% 的可能它已经被解决
如果无法做到提一个合格、优秀的问题，则问题会被 close + block

BUG REPORT TEMPLATE
Vue.js version and component version
^2.5.3
Reproduction Link

A minimal JSBin, JSFiddle, Codepen, or a GitHub repository that can reproduce the bug.
You could start with this template: https://jsfiddle.net/39epgLj0/

Steps to reproduce
What is Expected?
No error.
What is actually happening?
I see: Object doest support property or method reLoop in the console. I have not yet what causes it consistently. I can say is see it with hot reloads and I am seeing it more consistently this morning when looking at my project in ie11. It happens every time there and may be related to a redirect in vuejs from a server response error.

Maybe related: https://github.com/nolimits4web/Swiper/issues/2336

v3.0.3 fix it.

Awesome, thank you.


Feat mysql dotenv

Description
Implemented .env feature to store the secrets

Summary by CodeRabbit

New Features

Overhauled the README.md for improved guidance on the project.
Introduced multiple YAML configurations for validating data across various data sources (CSV, PostgreSQL, MySQL, Oracle, SharePoint).
Added a command-line application for processing YAML configuration files for data comparison tasks.

Bug Fixes

Enhanced the .gitignore file to exclude temporary and environment-specific files.

Tests

Added unit tests for new functionalities, including data validation configurations and connector classes.

@paramveerbright1982 - Can you create a new PR using release/1.0.0 as the branch to merge into?


Virtual scroll: element out of cdkVirtualFor

Open this stackblitz : https://stackblitz.com/edit/angular-c8pvrm
when i scroll down and scroll up ,  before the other elements bind ,   The yellow element appears a little earlier and disappears

Hi, looking at your example, you put the yellow card inside the viewport, which I believe to be an unsupported use case.
The viewport can only manage content that is created using cdkVirtualFor, or to create a parent element for those that needs one.
Also, your itemSize does not reflect what your content is in size.

(revisiting older issues as part of a triaging fix-it)
@shanehsu is right- the virtual scroll viewport should only contain elements managed by cdkVirtualFor


fix: Events page mobile #382

Issue  📐

I , Sutthinart Khunvadhana, have worked for #382

Guidelines 🔐
I accept the fact that i have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

My pull request closes #382

Screenshots 📷
Here are the pictures of changes that i have made 🔽

Always get the issue assigned first before making a PR :)

Always get the issue assigned first before making a PR :)

Acknowledge and will follow the open source community convention


Post not showing under published section, but is published.

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

Even though the post is published (see pictures above), it shows up under the “draft” category.
Note : I have already changed my timezone to the correct one (ECT).
Expected Behavior
Post should be shown under the "published" section.
Steps To Reproduce

Have a fresh Laravel install
Install canvas without the Vite part / without Unsplash
Log in with the default user
Create a new post
Hit publish with the current date & time
Check that the post is shown as published in the top left corner of the editor
Check the canvas/posts route to see posts
Notice the post is still shown under “draft”, even though it is marked as published.

Environment
- PHP Version : 8.1.2
- Laravel Version : 9.37.0
- Database driver & version : sqlite 1.7.0

Anything else?
No response

Thanks in advance for the help !! 🤠

@noahdigesu I wasn't able to reproduce this on my end.

Very confusing - did a new install, and it now works... Oh well, I guess it's better like that ahah


gcov:adjust gcov configuration name and delete non-existent dependencie

Summary

adjust gcov configuration name and delete non-existent dependencie

Impact
No
Testing
No

[Experimental Bot, please feedback here]
No, this PR does not meet the NuttX requirements.
Missing Information:

Summary:

Why is the change necessary? What problem does it solve?
What exactly is being changed? Be specific about the gcov configuration name and the "non-existent dependency."
How does the change work?

Impact:

While you mark most as "No," you must provide details if a change does impact users, builds, hardware, documentation, security, or compatibility.  Don't just assume "No" is sufficient.

Testing:

"No" is not acceptable. You must provide testing logs to demonstrate the change's functionality. Include:

Specific build hosts and target environments used
Clear "before" and "after" logs showing the problem and the solution

Example of Improved Summary:
"This PR addresses an issue where the gcov configuration was incorrectly named 'xyz' instead of 'abc', causing build failures. Additionally, a non-existent dependency on library 'def' has been removed from the Makefile to streamline the build process."
Remember: A good PR is detailed, provides context, and offers evidence of testing.


sparse point cloud noise in backside of camera direction L515

Hello,
I'm using L515 to capture point cloud (PCL) data at resolution 1024 x 768, 30 fps.
The captured PCL looks great at regions visible to the camera eye.
For the backside (invisible to the camera) regions, I expect no PCL will be obtained. However, sparse noise appears in those regions. The density of those patterns is arbitrary. So it's impossible to filter out using some filters.

Is there any way to address this issue?
Thanks.

Hi @robopassio  A way to remove sparse data in PCL without having to filter by depth values would be to apply a StatisticalOutlierRemoval filter to exclude loose points that are not joined to a large area.  A script example of using this PCL filter with the L515 camera model is at https://github.com/IntelRealSense/librealsense/issues/9658#issuecomment-914647767
    ```

//Use a filter to reduce noise
pcl::StatisticalOutlierRemovalpcl::PointXYZ statFilter;
statFilter.setInputCloud(cloud_downsampled);
statFilter.setMeanK(10);
statFilter.setStddevMulThresh(0.2);
statFilter.filter(*cloud);

As I mentioned, applying an outlier removal will not be a good approach due to the variation of pcl density.
So I'm looking for a camera configuration (before reading data) that can be addressed that. Is that possible?
Also, does that kind of noise always happen in the practice of LiDAR sensors?

This issue is quite related to mine. However, the method to resolve that is not clear. Could you please give me few suggestions?

I see, you mean the density of the points is changing, meaning that they will not consistently be outliers.  Thanks very much for the clarification.
Whilst I cannot speak for the performance of non-RealSense lidar devices, there are certain scenarios where the quality of results from an L515 lidar depth camera may reduce.  This could include natural sunlight entering through a window (as the L515 is sensitive to IR light sources) or pointing the camera directly at a smooth surface (tilting the camera at an angle can provide better results for such surfaces).  The L515 will also tend to look through transparent objects such as empty drinks bottles and pick up the solid  depth detail behind the bottle.
An L515 user guide document with image improvement tips can be obtained from the link below.
Regarding https://github.com/IntelRealSense/librealsense/issues/7117#issuecomment-694684795 I could not determine from the comments which filtering techniques the RealSense user was applying.
https://support.intelrealsense.com/hc/en-us/articles/360051646094-Intel-RealSense-LiDAR-Camera-L515-User-Guide
Setting the L515's Visual Preset camera configuration as Short Range may help to reduce noise.  C++ code for doing so is below.
auto sensor = profile.get_device().firstrs2::depth_sensor();
sensor.set_option(rs2_option::RS2_OPTION_VISUAL_PRESET,
rs2_l500_visual_preset::RS2_L500_VISUAL_PRESET_SHORT_RANGE);

Regarding https://github.com/IntelRealSense/librealsense/issues/7117#issuecomment-694684795 I could not determine from the comments which filtering techniques the RealSense user was applying.

I think this issue is quite popular in recording PCL using L515. I think it was resolved by a postprocessing step. Hope you or other guys (maybe @RealSenseSupport ) could suggest a specific technique to resolve that.

The only depth post-processing filter supported by the RealSense SDK for L515 is the Temporal filter.

If the Temporal filter has its Filter Smooth Delta setting increased to its maximum of '100' then it may result in a reduction of black holes in the far background and a little less fluctuation of values.
Before

After

Enabling an option called Invalidation Bypass can also fill in holes.
Invalidation Bypass disabled

Invalidation Bypass enabled

Could you provide further information about the following statement from your opening comment, please: "The captured PCL looks great at regions visible to the camera eye.  For the backside (invisible to the camera) regions, I expect no PCL will be obtained".
Are the 'backside'and 'invisible' regions areas of the scene that are not being picked up by the depth sensing for some reason?  It looks as though there should be a solid bathroom there but for some reason a lot of the detail is not being picked up.
It would be very helpful if you could provide an RGB image of the scene so that I can see whether there are lighting conditions or materials that might be making it difficult for those areas of the scene to have depth detail detected.
Thanks very much for your patience!

Hi @robopassio  Do you require further assistance with this case, please?  Thanksl

Hi @MartyG-RealSense,

Are the 'backside'and 'invisible' regions areas of the scene that are not being picked up by the depth sensing for some reason?

Yes, the backside of the object, that is not visible to the camera, should not have any PCL. However, as you can see from the posted image, the sparse noise happen. Also, refer to the comment, it is called as "tails" of the object. My issue is very similar to that one. We don't want to have any noise in the edge or "tail" PCL at invisible regions to the camera. Is that possible?

Perhaps you could reduce background noise by increasing the value of the L515's RS2_OPTION_CONFIDENCE_THRESHOLD setting from its default value of '1'.  This setting is the confidence level threshold used by the depth algorithm pipe to set whether a pixel will get a valid range or will be marked with invalid range.
Here is an example use:
depth_sensor.set_option(RS2_OPTION_CONFIDENCE_THRESHOLD, 0);

You can see the effect on distant noise in the RealSense Viewer by adjusting the Confidence Threshold slider in the 'L500 Depth Sensor > Controls' section of the Viewer's options side-panel.


Add an email opt-in on landing page

This is a plus for the bounty judgers, to have a live site with an email opt-in.

@onggunhao Implemented a draft opt-in component. Can you update with an optimized component

@tspoff Did you implement the back-end for the Email opt-in ?


convert to esm

I know you are converting everything to ESM in your one piece and you have a plan laid out. But i just wish to be pinged when it's done.
Thanks in advance ❤

This is now open for contribution. I don't have time right now to do the work myself.

Need to replace proxyquire with something that works for ESM: https://github.com/sindresorhus/hasha/blob/20f46afaed6f68af4ff63a3b4f2fa72ccab8b368/test.js#L36
Convert to named exports:

hasha.async => hash
hasha => hashSync
hasha.stream => hashStream
hasha.fromStream => hashFromStream
hasha.fromFile => hashFromFile
hasha.fromFileSync => hashFromFileSync

https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-move-my-commonjs-project-to-esm


how to train my imageset with .bmp format

I wan't to train my dataset in faster-rcnn,but I meet the error like that
FileNotFoundError: [Errno 2] No such file or directory: 'data/VOCdevkit/VOC2007/JPEGImages/001.jpg'
it‘s because that my JPEGImages have the picture 001.bmp
I change the demo in mmdetection/tools/convert_datasets/pascalvoc.py in line 84 and another place from the .jpg to .bmp
img_paths = [
f'VOC{year}/JPEGImages/{img_name}.bmp' for img_name in img_names
]
filename = f'JPEGImages/{img_id}.bmp'
while it doesn't work,how can I do,thank you!

modify this function

modify this function

it doesn't work

@tingfengwanxiao it's a little strange, i tested several images which format is bitmap, i could train the model normally

@tingfengwanxiao it's a little strange, i tested several images which format is bitmap, i could train the model normally

Have you only modify the demo there?is there any cache file I must clear to make a new load?

Yes, I only modified the load_annotations function of xml_style.py


Multiple initialisation of my gmail gadget

Hi Team,
Gmail.js works excellent. I have a very minor issue which is whenever I open an email a single button should appear as below:-

Now when I click the right arrow and immediately click the left arrow, I see two buttons as below:-

I have written the following code to initialise gmail.js:-
var main = function(){
gmail = new Gmail();
gmail.observe.on("load", function(){$("#gmailJsModalWindowOk").hide();
        $("#gmailJsModalWindowCancel").hide();
       $("#order_search").hide();
        newToolBar();
    });
};
Where am I going wrong ?

Without knowing how and when main() get's called, it's hard to tell. It definitely looks like this code is getting run twice though.
The first thing I'd do would be to add some logging, which preferably should also include a stacktrace, so that you can see when and how your code is called.
If this code is getting called twice, the problem is in how you wire up main(), and not in gmail.js.

Hey thanks for the lead, I got it fixed by a small hack
if(document.getElementById('my_id')==null){ //button appear}else{//do nothing}
Will continue testing this again and post issues if found. I am closing the ticket.


Possibility to move

A simple implementation for moving.
You can move just by clicking in the direction you want to go. The higher you click the further you can go (up to 80m). There is no interface where you can move to yet.
Sometimes the panoramaView needs to rotated and then the view isn't loaded fast in high resolution, but I couldn't figure out, how to fix that.

That's huge, thank you so much


Question about get_k_closest

Hello nateraw, nice implementation of lda2vec!
I am investigating the use of lda2vec to get the most similar phrases in a text. Initially I have a dataframe with M number of rows, where M are the number of phrases.
I train lda2vec for some epochs and then I use the function get_k_closest(idx of phrase I want to check, in_type='doc',vs_type='doc', k = 2), would this be the idea?
The thing with this is that I am not sure if the indices of the docs are the same that the ones that come with my dataframe at the beginning.
Thanks!

The document embedding indexes should be in the same order as your input dataframe. Just make sure you pass in the idxs as a numpy array of indexes of documents you'd like to check. Let me know if you come across issues with this function...it may have a couple bugs.
        """
        Args:
        idxs - numpy array of indexes to check similarity to
        in_type - string denoting what kind of embedding to check
                  similarity to. Options are "word", "doc", and "topic"
        out_type - same as above, except it will be what we are comparing the
                   in indexes to.
        k - Number of closest examples to get
        idx_to_word - index to word dictionary mapping. If passed, it will translate the indexes.

        NOTE: Acceptable pairs include
        word - word
        word - topic
        topic - word
        doc - doc
        """

Thanks I just have done that.
Does it makes sense that the results are very bad?
I used the original hyperparameters with my own dataset and training with 10 epochs. (No google news pretrained embedings).
I cant understand the printed loss. Initially it is something like this loss: 5.035, word2vec: 5.035, lda: 3805
The word2vec and loss are the same which go down but lda goes up.

Please train longer. >20 epochs you will start to see the results


React in Production / Large App Overview

Would be cool to see a review of a larger app, tools/libraries used, conventions, etc - could maybe show adding process of adding a new feature to the app.

Hi @aconanlai. I feel that this topic would be too big for a 15-minute video. I'll close the issue for now, but please feel free to reopen it if you'd like to further discuss the issue.
Again, thanks for the suggestion, please don't feel discouraged to make further suggestions in the future because this one wasn't used.


python37Packages.uproot-methods: 0.9.1 -> 0.9.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.uproot-methods is: "Pythonic mix-ins for ROOT classes"
meta.homepage for python37Packages.uproot-methods is: "https://github.com/scikit-hep/uproot-methods"
meta.changelog for python37Packages.uproot-methods is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.9.2 with grep in /nix/store/jai81npxjfbbqjzc3afy4asbq31hz9p5-python3.7-uproot-methods-0.9.2

directory tree listing: https://gist.github.com/b2b397a8e6977723ba9ca61bd9916561

du listing: https://gist.github.com/b256fe29eac16c1bb821fb810b0af3ba

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

18 total rebuild path(s)

6 package rebuild(s)

4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
6 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python37Packages.uproot
python37Packages.uproot-methods
python38Packages.uproot
python38Packages.uproot-methods
python39Packages.uproot
python39Packages.uproot-methods

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jai81npxjfbbqjzc3afy4asbq31hz9p5-python3.7-uproot-methods-0.9.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jai81npxjfbbqjzc3afy4asbq31hz9p5-python3.7-uproot-methods-0.9.2
ls -la /nix/store/jai81npxjfbbqjzc3afy4asbq31hz9p5-python3.7-uproot-methods-0.9.2/bin

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

2 packages failed to build:

python37Packages.uproot
python38Packages.uproot

2 packages built:

python37Packages.uproot-methods
python38Packages.uproot-methods

Maintainer pings
cc @costrouc for testing.

newer version on master


node issues deleted /var/lib/longhorn [QUESTION]

Question
Hello,
Our node memory was full and the node itself stopped working due to disk pressure.
In the end, the only way to fix it was to rm -rf the folder /var/lib/longhorn.
(before doing that all the pv and pvc were deleted)
The problem now is that longhorn cannot schedule the node anymore.
The allocated amount is a negative number 0 / -42.32 Gi and the scheduled replicas are 0.
The other two nodes are healthy.
Environment:

Longhorn version: 1.1.1
Kubernetes version: 1.20.6
Node config

OS type and version ubuntu 18.04
CPU per node: 40
Memory per node: 109 Gb
Disk type ssd
Network bandwidth and latency between the nodes: N/A

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Baremetal

Additional context
Add any other context about the problem here.

I fixed the issue by cordoning-draining-deleting-restarting the node and when it was automatically added back the daemonset fixed the issue with the storage.

Since Longhorn storage some metadata inside the /var/lib/longhorn. Removes all the files would make the metadata missing either.
Deleting the node and restart would make Longhorn create the fresh new metadata back.


fixes error message check for release not existing

This is a quick fix for now, a better fix would be to use the
ReleaseHistory GRPC method to check if the release exists or not,
similar to how helm upgrade does this
(https://github.com/kubernetes/helm/blob/master/cmd/helm/upgrade.go#L154)

This is the relevant change in tiller 2.7.1 that broke this, btw: https://github.com/kubernetes/helm/commit/0647a7b17a76cb0c89ed6bea1c063344ced098ed


add a context store for currying test data

We've found in tests that there can be times we want to assert on data across multiple pages.
To support that we've added a context map to the drivers to store whatever information folks find useful.
This should be general purpose enough to support other use cases as well.
LMK what you think! Thanks!

🎉


correct the position of ending quote in sample code

@nashcft: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

Thanks!


⚠ Bofrost.be has degraded performance

In 412b347, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1253 ms

Resolved: Bofrost.be performance has improved in 6558aa7.


Dragen WTS 4.2 pipeline

Create dragen transcriptome 4.2 tool
Create dragen transcriptome 4.2 QC pipeline for multiQC reference samples
- tested using wfr.51ed3e9ce6f047ecbba1f4f87bccc1c8
Create dragen transcriptome 4.2 pipeline
- tested using wfr.d228c87fd926443e973cf9d57fe31e0c

Great work! Did you also want to add these to the production_workflows project?

@alexiswl - updated in c86e17f (#376)

 Update Dragen transcriptome pipeline to v4.2.4

On hold, waiting for explanation on multiqc changes:

rrna pct
qualimap coverage profile

 Portal Release - Ocicat: Switch to DRAGEN 4.x

As discussed in meetring today merge in #384 into this branch and then point to new multiqc tool in WTS workflow

then point to new multiqc tool in WTS workflow

Done in aeba7d4 (#376)

Do you want to rerun wfr.d228c87fd926443e973cf9d57fe31e0c with the new multiqc and we'll merge this in

Can you also run cwl-ica add-workflow-to-project /path/to/dragen-transcriptome-pipeline__4.2.4.cwl --project production_workflows, saves having to do a second PR later down the track? We've also run all of the WGS pdacs so onto the WTS now and we need a production workflow version

That's done here https://github.com/umccr/cwl-ica/pull/376#issuecomment-1647028787 already?

That's done here #376 (comment) already?

Awesome!
Can you rerun wfr.d228c87fd926443e973cf9d57fe31e0c?

Running with wfr.c8ada35671a54106bae01fa9c9bea4a5


comm-comm netlify integration broken?

It seems like changes on the html code for the website are not published to the netlify page. Could it be possible that the integration is broken when we moved from dat-land to datproject?

The last successful publish was yesterday. But now the build is failing:

6:13:28 PM: Build ready to start
6:13:30 PM: build-image version: 8e315e54bc4032a32e73290be556cde4f8348c12
6:13:30 PM: build-image tag: v2.8.2
6:13:30 PM: buildbot version: 45cd00068410d70db72c9672cdd014995488e12a
6:13:30 PM: Fetching cached dependencies
6:13:31 PM: Starting to download cache of 183.3MB
6:13:32 PM: Finished downloading cache in 1.38671661s
6:13:32 PM: Starting to extract cache
6:13:38 PM: Finished extracting cache in 5.692668783s
6:13:38 PM: Finished fetching cache in 7.185043828s
6:13:38 PM: Starting to prepare the repo for build
6:13:38 PM: Preparing Git Reference refs/heads/master
6:13:39 PM: Starting build script
6:13:39 PM: Installing dependencies
6:13:40 PM: Started restoring cached node version
6:13:40 PM: Finished restoring cached node version
6:13:40 PM: Attempting node version 'v11.7.0' from .nvmrc
6:13:41 PM: v11.7.0 is already installed.
6:13:42 PM: Now using node v11.7.0 (npm v6.5.0)
6:13:42 PM: Attempting ruby version 2.3.6, read from environment
6:13:44 PM: Using ruby version 2.3.6
6:13:44 PM: Using PHP version 5.6
6:13:44 PM: Started restoring cached node modules
6:13:44 PM: Finished restoring cached node modules
6:13:44 PM: Installing NPM modules using NPM version 6.5.0
6:14:01 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/website/node_modules/core-js
6:14:01 PM: > node -e "try{require('./postinstall')}catch(e){}"
6:14:02 PM: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
6:14:02 PM: The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
6:14:02 PM: > https://opencollective.com/core-js
6:14:02 PM: > https://www.patreon.com/zloirock
6:14:02 PM: Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
6:14:03 PM: npm WARN
6:14:03 PM:  optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
6:14:03 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:14:03 PM: added 146 packages from 117 contributors, removed 116 packages, updated 276 packages and audited 10387 packages in 18.026s
6:14:03 PM: found 1 low severity vulnerability
6:14:03 PM:   run `npm audit fix` to fix them, or `npm audit` for details
6:14:03 PM: NPM modules installed
6:14:03 PM: Started restoring cached go cache
6:14:05 PM: Finished restoring cached go cache
6:14:05 PM: Installing Go version 1.10
6:14:05 PM: unset GOOS;
6:14:05 PM: unset GOARCH;
6:14:05 PM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64';
6:14:05 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64/bin:${PATH}";
6:14:05 PM: go version >&2;
6:14:05 PM: export GIMME_ENV='/opt/buildhome/.gimme_cache/env/go1.10.linux.amd64.env';
6:14:05 PM: go version go1.10 linux/amd64
6:14:05 PM: Installing missing commands
6:14:05 PM: Verify run directory
6:14:05 PM: Executing user command: npm run ci
6:14:05 PM: ><EMAIL_ADDRESS>ci /opt/build/repo/website
6:14:05 PM: > npm run get-data && npm run test && npm run build
6:14:06 PM: ><EMAIL_ADDRESS>get-data /opt/build/repo/website
6:14:06 PM: > npm run get-meetings && npm run get-readme
6:14:06 PM: ><EMAIL_ADDRESS>get-meetings /opt/build/repo/website
6:14:06 PM: > node -r esm get-meetings.js
6:14:08 PM: (node:1280) ExperimentalWarning: The fs.promises API is experimental
6:14:08 PM: Deprecation Warning: `behaviour` is a nonstandard option. Use `behavior` instead.
6:14:08 PM: Yay! all done, Number of issues processed 30 resulting in 30 meetings.
6:14:09 PM: ><EMAIL_ADDRESS>get-readme /opt/build/repo/website
6:14:09 PM: > node -r esm get-readme.js
6:14:10 PM: (node:1303) ExperimentalWarning: The fs.promises API is experimental
6:14:10 PM: Deprecation Warning: `behaviour` is a nonstandard option. Use `behavior` instead.
6:14:10 PM: Readme updated
6:14:10 PM: ><EMAIL_ADDRESS>test /opt/build/repo/website
6:14:10 PM: > standard && npm run test-deps
6:14:13 PM: ><EMAIL_ADDRESS>test-deps /opt/build/repo/website
6:14:13 PM: > dependency-check . && dependency-check . --extra --no-dev -i tachyons
6:14:13 PM: Fail! Modules in package.json not used in code: tachyons, bankai, choo-scaffold, dependency-check, esm, gh-got, ics, smh-markdowner, standard
6:14:13 PM: npm
6:14:13 PM:  ERR! code ELIFECYCLE
6:14:13 PM: npm
6:14:13 PM:  ERR!
6:14:13 PM: errno 1
6:14:13 PM: npm
6:14:13 PM:  ERR<EMAIL_ADDRESS>test-deps: `dependency-check . && dependency-check . --extra --no-dev -i tachyons`
6:14:13 PM: npm
6:14:13 PM:  ERR! Exit status 1
6:14:13 PM: npm
6:14:13 PM: ERR!
6:14:13 PM: npm ERR!
6:14:13 PM:  Failed at the<EMAIL_ADDRESS>test-deps script.
6:14:13 PM: npm ERR!
6:14:13 PM:  This is probably not a problem with npm. There is likely additional logging output above.
6:14:13 PM: npm
6:14:13 PM: ERR!  Exit status 1
6:14:13 PM: npm ERR!
6:14:13 PM: npm ERR! Failed at the<EMAIL_ADDRESS>test script.
6:14:13 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
6:14:14 PM: npm ERR!  Exit status 1
6:14:14 PM: npm
6:14:14 PM:  ERR!
6:14:14 PM: npm ERR! Failed at the<EMAIL_ADDRESS>ci script.
6:14:14 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
6:14:14 PM: npm
6:14:14 PM: ERR! A complete log of this run can be found in:
6:14:14 PM: npm ERR!     /opt/buildhome/.npm/_logs/2020-03-11T01_14_14_447Z-debug.log
6:14:14 PM: Skipping functions preparation step: no functions directory set
6:14:14 PM: Caching artifacts
6:14:14 PM: Started saving node modules
6:14:14 PM: Finished saving node modules
6:14:14 PM: Started saving pip cache
6:14:14 PM: Finished saving pip cache
6:14:14 PM: Started saving emacs cask dependencies
6:14:14 PM: Finished saving emacs cask dependencies
6:14:14 PM: Started saving maven dependencies
6:14:14 PM: Finished saving maven dependencies
6:14:14 PM: Started saving boot dependencies
6:14:14 PM: Finished saving boot dependencies
6:14:14 PM: Started saving go dependencies
6:14:16 PM: Finished saving go dependencies
6:14:16 PM: Error running command: Build script returned non-zero exit code: 1
6:14:16 PM: Failing build: Failed to build site
6:14:16 PM: failed during stage 'building site': Build script returned non-zero exit code: 1
6:14:16 PM: Finished processing build request in 45.665035996s

Thank you for checking. I added a github action that checks for npm errors (so they are visible without the access to netlify) - and removed the duplicate dependency-check which seems to cause that error https://github.com/datproject/comm-comm/commit/b8abb69ec0eed898a9f9342e349dbff12b7f92c0

Now the deploy should work - but it seems like there is still an old version online?!

I am using the https://github.com/datproject/comm-comm/commit/21610d4480370d4138318e7b63d424ef1fd4bb5a as a reference point.

It wasn't getting triggered with new updates to master (only issue updates). I changed the link repo from dat-land to datproject, so hopefully that will fix.
In meantime, did a manual build and that succeeded.

Thanks!


Fixed typo in Docs > Integrations > Prisma

Overview

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests / types / typos

Description
Fixed typo Prisma section under Integrations. Changed "fully type safety" to "fully type-safe"

Thanks @adcar for your help 💪


hub checkout asks for username and password

This is annoying, as I normally use a SSH key for authentication.
$ hub checkout https://github.com/python/cpython/pull/1785
github.com username: pitrou
github.com password for pitrou (never stored): ^C

I've tried using a git URL instead but of course it doesn't work:
$ hub checkout git@github.com:python/cpython/pull/1785
error: pathspec 'git@github.com:python/cpython/pull/1785' did not match any file(s) known to git.
$ hub checkout git@github.com:python/cpython.git/pull/1785
error: pathspec 'git@github.com:python/cpython.git/pull/1785' did not match any file(s) known to git.

By attempting the checkout a pull request URL, you are using a hub-specific feature (as opposed to plain git), and hub features need to access the GitHub API. GitHub API can only be accessed over HTTPS, using either username/password or Personal Access (OAuth) token. This is completely separate from what git does when cloning/pushing/pulling, since git can use SSH keys, but GitHub API can't be accessed using SSH keys.
The summary of this story is, if you want to use hub features, you will have to authenticate (one time) with your username and password, and there is no possibility to use SSH keys, due to technical restrictions of the API.


setting RPC urls when initializing

When creating a bloctoSDK instance, would it be possible to pass all RPC and chains we want to potentially use? to avoid using wallet_addEthereumChain on the flow? I'm not sure if this makes sense, I'm currently exploring Blocto wallet.
I mean something like this
import BloctoSDK from '@blocto/sdk'

const bloctoSDK = new BloctoSDK({
    ethereum: {
       1: 'https://mainnet.infura.io/v3/YOUR_INFURA_ID',
       5: 'https://rpc.ankr.com/eth_goerli',
    },

    // (optional) Blocto app ID
    appId: 'YOUR_BLOCTO_APP_ID',
});

Thanks

Yes, technically it's possible. I think it will be great to initial sdk instance and load switchable chains in one move.
@mordochi How do you think about priority of this api change?

Hi, @glitch-txs, thank you for bringing up this topic!
Our team appreciate this idea and will schedule to implement this enhancement
Before we've done such updates, you can just configure the chains with loadSwitchableNetwork
export const supportedChains = [
  {
    name: "Ethereum Mainnet",
    chainId: "0x1",
    rpcUrls: ["https://mainnet.infura.io/v3/ef5a5728e2354955b562d2ffa4ae5305"],
    environment: "mainnet",
  },
  {
    name: "Arbitrum Mainnet",
    chainId: "0xa4b1",
    rpcUrls: ["https://arb1.arbitrum.io/rpc"],
    environment: "mainnet",
  },
  ...
];

const bloctoSDK = new BloctoSDK({
  // Default chain
  ethereum: {
    chainId: "0x1",
    rpc: "https://mainnet.infura.io/v3/ef5a5728e2354955b562d2ffa4ae5305",
  },
  appId: process.env.REACT_APP_DAPP_ID,
});

bloctoSDK.ethereum.loadSwitchableNetwork(supportedChains);

Hope this will serve your use case for now :)

Thanks for the idea. I've designed a new config structure, starting from v0.9.0. Now, we can load multiple chain settings when creating a BloctoSDK instance.
const bloctoSDK = new BloctoSDK({
  ethereum: {
    defaultChainId: '0x1',
    switchableChains: [
      {
        chainId: '0x1',
        rpcUrls: ['https://mainnet.infura.io/v3/...'],
      },
      {
        chainId: '0xa4b1',
        rpcUrls: ['https://arb1.arbitrum.io/rpc'],
      },
      ...
    ],
  },

  // (optional) Blocto app ID
  appId: 'YOUR_BLOCTO_APP_ID',
})

This structure is more complex but has several advantages. One is compatibility with EIP-3085 AddEthereumChainParameter, and also it provides space to add more config params in the future.
Again, thank you so much for your valuable suggestion regarding our BloctoSDK. We truly appreciate your insightful input.


Workflows: add build and push to Dockerhub workflow

Since now we are using the new docker build infra, the old image building and publishing workflow, based on dockerhub runners, is broken.
Replace it with a new one, this time fully based on Github, to standardize the image publishing process.
DOCKER_USERNAME and DOCKER_PASSWORD of the registry must be added to repo secrets for this to work.
In order to separate the flow of tagged and untagged builds, workflows are splitted: one works only on tags, the other on everyday push events. Examples:

When a change is merged into a release branch, say release-1.2, new images with 1.2-snapshot tag are built and pushed to astarte's dockerhub;
When a change is merged into the master branch, new images with snapshot tag are built and pushed to astarte's dockerhub;
When a new Github release, say v1.2.0, is made, new images with 1.2.0 tag are build and pushed to astarte's dockerhub
When a new Github pre-release, say v1.2.0-rc.1, is made, new images with 1.2.0-rc.1 tag are build and pushed to astarte's dockerhub

(also, a small astartectl version bump)
This PR is based, based on #956.
Since this is not a small change, discussion on how/where/why to publish images is welcome.

I think that we should include also the astarte-tools to the publish to dockerhub workflow

@matt-mazzucato  Not all tools are currently being built on all versions. For example, there exists only a snapshot version of astarte_import. We should decide what to do for those. It would make sense to version everything, imo

It would make sense to version everything

@Annopaolo I agree with that!

It would make sense to version everything

@Annopaolo I agree with that!

I checked if everything could be done in a single file. I got crazy. So, we'll have 4 files: release/snapshot and apps/tools.


it's iOS PhoneGap Developer a little bit outdate?

cordova and all plugin is updated: http://cordova.apache.org/news/2015/04/21/tools-release.html to a major version, but seem iOS PhoneGap Developer still in 2014-11-27?

Hi @wozzup
Ya, we're still on the<EMAIL_ADDRESS>versions of the plugins. We were busy fixing some things internally and didn't want to upgrade just yet but we just finished :). We'll be updating to the new cordova soon.


Can a snap occur only on mouseup?

This is not so much an issue but rather a question, since I have just found this wonderful library.
I want to know whether a snap can occur only after releasing the mouse button (basically a snap only on mouseup). Is this possible? Thank you in advance!

Hi @PedanticHacker, thank you for the comment.
Sorry, I couldn't understand that well.
Do you mean that you want to make the element move toward a wall or something when a mouse button was released on the element in a place near the wall or something?

Well, I am trying to make a drag&drop chessboard. So a dragged chess piece should snap to the center of a chessboard square only after a mouse button release. Is that possible?

It seems that the behavior is not the Snap of the library because the element did already finish the moving. And also, it is unrelated to dragging, it is just a moving an element.
You can do that easily. For example: https://jsfiddle.net/3uzbjpdk/

Honestly, I don't know why I asked you this. It was a premature question. I can't even make a simple drag. My code below doesn't work. Please tell me what on Earth am I missing.
<!doctype html>

DRAG!

I copied your code and pasted it to JSFiddle, then that seems to work fine.
https://jsfiddle.net/wom8hq6k/
I also don't know why you asked.
Of course I hope that I help you if I can. However, as I said in my first comment (https://github.com/anseki/plain-draggable/issues/92#issuecomment-861091401), I couldn't understand what you want to do, sorry.
Of course the library supports HTML and SVG.
If you want to know about the library, see document:
https://anseki.github.io/plain-draggable/
There is an example for SVG also in the document.

Do you want to make an UI like this?
https://jsfiddle.net/70xskwvp/
However, I think that this is not good UI for usability.

FYI;
Both Python and JavaScript (i.e. ECMAScript) are easy to acquire, learn, and use, also those are called LL (Lightweight Languages).
Therefore, you may be able to learn ECMAScript if you could learn Python.

Thanks for all this.
Let me be more elaborate here. My HTML code posted was being rendered in the current latest version of the Chrome browser on Windows 10. On hovering the mouse pointer over the draggable element, the cursor changes from an arrow (as it always is) to an open hand. And then during dragging, the cursor changes from the open hand to a closed hand, but the element is not actually dragged, it stays at the same coordinates. I noticed while inspecting the code in Chrome during dragging that transform=translate(0, 0) is always at those coordinates, that's why the actual drag does not occur. I don't understand why my code works on JSFiddle but not in Chrome.

Try this: https://github.com/anseki/plain-draggable/issues/92#issuecomment-861593825
And read again CSS.
Maybe, your mistake is that you didn't give space for the draggable element moving.
And also, see this: https://github.com/anseki/plain-draggable/issues/92#issuecomment-861596452
Is this not what you want?

I've fiddled with my code on JSFiddle (my fiddled code here: https://jsfiddle.net/4wjmby05/) and removed all CSS code. Now the dragging is not possible. How can CSS play such a major role in the dragging part?
Also, why can't I use g elements as draggable targets? I think it's because the g element doesn't have a bounding rect. But would it work if I enclose it inside an element that does have a bounding rect?

Could you answer to the my question (https://github.com/anseki/plain-draggable/issues/92#issuecomment-861675421) before your new questions?
Because that may help me to understand what you want to do.

Maybe, your mistake is that you didn't give space for the draggable element moving.

Well, your documentation says that the draggable element will get as much space as is provided by its parent. And since my draggable  is a direct child of the , then that draggable  should get as much space as the  has. So I don't understand why the dragging is restricted.

Could you answer to the my question (https://github.com/anseki/plain-draggable/issues/92#issuecomment-861675421) before your new questions?
Because that may help me to understand what you want to do.

You seem to mistake the size of  and the size of the document.

That is correct behavior. That is specification of HTML and CSS, it is unrelated to PlainDraggable. By default, moving of the draggable element is restricted to the inside of its parent element (See document: https://anseki.github.io/plain-draggable/#options-containment). Since you removed the CSS, the space for moving also was removed. Check the size of  element and
 element by using DevTools of your browser.
Yes, elements that have a bounding-box are accepted. See document: https://anseki.github.io/plain-draggable/#constructor
That initializes animation. See document: https://developer.mozilla.org/en-US/docs/Web/CSS/transition

Your questions are unrelated to PlainDraggable. You should learn HTML and CSS before ECMAScript and PlainDraggable because you will handle DOM with ECMAScript. You confuse more if you don't learn these.
That is, you should learn in this order:

HTML
CSS
ECMAScript
DOM
PlainDraggable

And also, I couldn't understand what you want to do because you never answer to the my question.

And also, I couldn't understand what you want to do because you never answer to the my question.

I want to create a chessboard with draggable pieces. See image below.

Look at this:
#item:not(.plain-draggable-dragging) {
  transition: transform 100ms ease-in;
}

I have asked what is this, and you answered:

That initializes animation. See document: https://developer.mozilla.org/en-US/docs/Web/CSS/transition

I am interested in finding out why the :not thing has to be there in CSS. Well, I googled about :not, but now I don't understand why transition has to happen only for the #item which classes are not .plain-draggable-dragging. This is confusing to me.

Could you answer to the my question before your new questions?
Because that may help me to understand what you want to do. (Unfortunately, your image doesn't help me because the image never work, important thing is its behavior.)
My question is here: https://github.com/anseki/plain-draggable/issues/92#issuecomment-861596452
Please understand that I hope that I help you. Can't you understand my wrong English? The, you never answer to the my question? If so, sorry. And please read my comment again please.

Do you want to make an UI like this?
https://jsfiddle.net/70xskwvp/
However, I think that this is not good UI for usability.

Yes, my UI should resemble your example UI. But instead of a 5×5 grid, I want to have an 8×8 grid, and instead of a draggable blue rectangle, I want to have SVG pieces that will be draggable and snap to the center of a square when dropped. The snapping in your example UI is exactly what I want, maybe 50ms ease-in instead of 100ms ease-in.

Thank you for the answering to the my question. That very helps me to understand what you want to do.
Also, could you reply to the my answers (https://github.com/anseki/plain-draggable/issues/92#issuecomment-862330942)?
For example, did you understand the size of  element?
You did new questions instead of replying to me, but those are related to your new questions. That is, those are important information for your new questions. Please understand it.

 I will try with drag & drop that HTML5 provides.

It's OK. :smile:
So, could you close this issue?

HTML, CSS and Javascript are very interesting, however. It's too bad you didn't want to answer my questions.

Yes, you should learn those as I said (https://github.com/anseki/plain-draggable/issues/92#issuecomment-862330942).
When you learned those in the order that I recommended, you should understand your questions.
Also, as I said repeatedly, your idea is not good UI for usability. You maybe know that.
Sorry that you discontented with my answers. We may have been able to help you more if you reply. Understand that you have to give information to help you.
Good luck :smile:


gemini-intro gist, "KeyError: 'variants'

After a fresh install of gemini, and following the tutorial at
https://gist.github.com/arq5x/9e1928638397ba45da2e#file-gemini-intro-sh
the first command fails:
gemini query -q "SELECT name FROM samples" learnSQL.db
...
KeyError: 'variants'

Looking at the sqlite database,  I see only one table in leanSQL.db, with only these columns:

sample_id
name
family_id
paternal_id
maternal_id
sex
phenotype
ethnicity

Perhaps the 'variants' column will be found in another table?
I am running macos 10.11.2, and version 0.19.0 of gemini.
Thanks,

Paul

Hi, gemini was expecting there to be a variants table since it can't do much without one.
I've fixed this here: https://github.com/arq5x/gemini/pull/768
and it will be out in gemini version 0.19.1 soon.

this is now in 0.19.1


CSharp → C#

https://docs.microsoft.com/en-us/sql/connect/ado-net/step-3-proof-of-concept-connecting-to-sql-using-ado-net?view=sql-server-2017

Verified editorial corrections to code fencing.


Conditional result is incorrect when providing generics parameters to a type within a class

Bug Report
🔎 Search Terms

Conditional
Generics

🕗 Version & Regression Information
In 4.7.4

This changed between versions 4.4.4 and 4.7.4

⏯ Playground Link
Playground link with relevant code
💻 Code
interface IIObj<GValue> {
  transform: (value: GValue) => GValue;
}

export type TEmptyArrayIfEqual<Gval1, Gval2> = Gval1 extends Gval2 ? [] : IIObj<Gval1>;

class Test<GGeneric> {
  prop1: TEmptyArrayIfEqual<GGeneric, GGeneric> = []; // Type '[]' is not assignable to type 'TEmptyArrayIfEqual<GGeneric, GGeneric>'.(2322)
  prop2: TEmptyArrayIfEqual<number, number> = []; // works
}

🙁 Actual behavior
prop1 is not assignable to []
🙂 Expected behavior
prop1 should be assignable to empty array since same type(GGeneric )is provided as GVal1 & Gval2 params

Resolving of conditional types involving unbound generic type arguments is deferred. At that point the compiler doesn't know what TEmptyArrayIfEqual<GGeneric, GGeneric> resolves to, because the compiler doesn't know what type GGeneric is.

@MartinJohns Thanks for the answer! So if I'll strict GGeneric(link) it should solve the 2nd case you have mentioned, right?
Resolving of conditional types involving unbound generic type arguments is deferred
Is there a way I can make the generic type arguments "bound"?

Thanks for the answer! So if I'll strict GGeneric(link) it should solve the 2nd case you have mentioned, right?

never extends number. never extends every type.

Resolving of conditional types involving unbound generic type arguments is deferred
Is there a way I can make the generic type arguments "bound"?

It is bound as soon as the compiler has an actual type for it. For example new Test<number>, now the type argument is bound to the type number.
This is a design limitation.

Generics are kind of like, if you write a function:
function foo(x: number) {
    console.log(x);
}

Inside the function, you only know x will be a number, you can't assume anything else about it besides what its type annotation requires.  x is basically in superposition.  So you're forced to write a function that works predictably for all possible numbers that the caller might use, lest you end up with weird bugs later.
With generics, it's like that, but with types, which puts you on a pretty tight leash because the compiler actually cares about types in a way it doesn't about individual values.  In class Test<GGeneric> the code inside the class must work for any type GGeneric can be, which can be literally any type at all, and the compiler actually tries to enforce this.  That's limiting enough, but in your case you also have a conditional type involved, and so long as you're in a context where the input to the conditional type isn't known, TS treats it as essentially opaque - it's only resolved to a usable type once TS has a concrete type to work with.

I'm not sure I understand...
if I change the left side of the condition like so:
type TEmptyArrayIfEqual<Gval1, Gval2> = Gval1 extends Gval2 ? [] : {};

It works. So typescripts correctly understand that the left side of the condition ([]) is that type it should resolve to. Why does it matter that I change the other type to include Gval1 ?
Why doesn't the explanation about the possibility of "never" doesn't hold in the first case?

I think if we had been smarter, conditional types would have had restrictions on what kind of things you could write, with special syntax to opt into nonlinear behavior. See also https://twitter.com/SeaRyanC/status/1369397210094448643

If by "nonlinear behavior" you're referring to distribitivity then yes, I've always thought it was... less than ideal that whether a conditional type was distributive was based on semantics (whether the input is a naked type parameter) rather than purely syntactic.
@RyanCavanaugh Was my analysis of the situation above accurate?

I mean writing a conditional type like T extends U ? A : B where A and B are disjoint.

@RyanCavanaugh Can you explain how the issue in the twitter post relates to the issue above?

The type Gval1 extends Gval2 ? [] : IIObj<Gval1>; is suspect because it can't correspond to a real runtime behavior, since this type claims to e.g. make a distinction between string | number and string, but if you're given a string at runtime there's no way to tell if it might have legally been a number.


CI for Node

Part of lesson https://github.com/kastagg/github-actions-for-ci/issues/1

nextPlayer


Add v3 release annotations to help page

These are the same definitions added to the gnomad_qc repo. @mattsolo1 if you approve, could you add a link to the downloads page that is similar to the HGDP+1KG MT blurb?  Something along the lines of "For more information on release fields, see the v3 Hail Table annotation descriptions..."

Sorry @mattsolo1! I linked the wrong page in my question! https://gnomad.broadinstitute.org/downloads#v3-hgdp-1kg was what I intended to link. I think adding the blurb right after "The variant dataset files below contain all subsets (non-cancer, non-neuro, non-v2, non-TOPMed, controls/biobanks, 1KG, and HGDP)." within the variants section in your screenshot would be good.


Livery request

Pls add livery for the dc-3. (has anyone realized that geofs messed up, it's not the dc-3 but the dc-2, dc-3 has sharper nose.)
https://th.bing.com/th/id/R.eb3830d3f0e8681875a42bcf87b78d65?rik=RoFe6yGJv4mXUg&riu=http%3A%2F%2Fimg.wp.scn.ru%2Fcamms%2Far%2F53%2Fpics%2F258_2.jpg&ehk=Fp1qKzdlyVRO6X1txpBrf2PoFGhd30T6RaTWCpUnNRg%3D&risl=&pid=ImgRaw&r=0

Dc3 liveries are difficult to make. I have a long-long list, but I don't think I will ever get to the end. Btw write me which one you would like

And regarding to the dc3 vs dc2 issue: The nose of the dc3 and c47 variants was not not the same on the thousands of planes built (landing light for example). The most significant difference between the dc3 and dc2 is the vertical stab.
dc3

dc2


Input bootstrap element is deprecated

<Input> has been deprecated in favour of <FormControl>
ValidatedInput should be using FormControl.

+1

@jgautheron Would you consider publishing your fork to npm? It seems to contain all the latest updates - and I don't think this package is maintained anymore. Thanks!

@boriswexler  Actually it didn't work out for me so I used redux-form 5.x, works fine with react-bootstrap.


Remove TypeId

coverage: 72.641% (-1.4%) from 74.045%
when pulling 41f0ec845f09ec7799cf6364e6603b30d4f7dfc2 on remove-type-id
into a29ad39e4915f25e50e35fc928f45359bc84cf88 on master.


[T4A3][W11-B4] Charlton Lim

Ready for review.

@cadmusthefounder
Some comments added. Please ack & close the PR after reading comments.


Permission management

I think this one is important since not all users should be able to delete/create/edit contents, so we need to set certain permissions

admin
content manager
 editors
student

Example is to implement something similar to what we have in the first version https://github.com/SparkEdUAB/SparkEd/blob/master/imports/api/accounts/methods.js

No, I'm not currently blocked on this

@OlivierJM @YewoMhango I have created the following default roles:

Admin
Content manager
Editors
Student

@OlivierJM @YewoMhango I have created the following default roles:

Admin
Content manager
Editors
Student

Okay, thanks

Thank you @brianmuks
@YewoMhango any ideas on when we are likely to get this ?

I think Monday

@YewoMhango any updates on this ?

Well, I started implementing it, including the administrative pages for handling roles and permissions, but it turns out there are some other endpoints which Brian is still working on, so I'm waiting for those

@brianmuks any progress on those ?

This feature is pretty done on my end. I just need to work on jwt-token feature

We are already talking on this. I tried sharing the postman documentation
but things didn't work out. So I will be manually providing the end points.
On Mon, 8 Jul 2024 at 13:29, Olivier JM Maniraho @.***>
wrote:

@brianmuks https://github.com/brianmuks kindly sync with @YewoMhango
https://github.com/YewoMhango on this and provide him with all the
details
—
Reply to this email directly, view it on GitHub
https://github.com/SparkEdUAB/sparked-next/issues/70#issuecomment-2213761255,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCPXPJHJO45ZA3TAVUIRFTZLJZYRAVCNFSM6AAAAABGBTOSJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJTG43DCMRVGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
[image: imuks.org]
Brian Mukuka
[image: https://]about.me/brianmuks
http://about.me/brianmuks

Thanks @YewoMhango can you contact him, he tells me it is already merged. 🤦♂

Oh, okay, I see. I just called now again, and he says he rechecked the code and saw that the specific part I was referring to had actually not been added. So he said he will be creating a PR for that soon


A wallet registry that vends ‘handles’

In this PR we introduce types to represent Wallet Standard wallets and accounts that are specifically designed for use in React applications. React developers can treat these like immutable data structures:

Apps can memoize renders across time because two ReactWallet or ReactWalletAccount objects that are referentially equal can be understood not to have changed over time (ie. all of the accounts, chains, and features are the same)
Any time referential equality is not found, the subtree therein can be understood to have changed.

At the same time, we maintain weak references between every instance of ReactWallet and the underlying Wallet, and ReactWalletAccount and the underlying ReactWalletAccount such that the underlying wallet can be accessed by any (internal) method that needs it.
In subsequent PRs in this stack you will find hooks that materialize the concrete implementation of a feature belonging to a ReactWallet (eg. standard:connect) by following the weak reference between a ReactWallet and its underlying Wallet, then binding a callback to the relevant feature.
To understand more about how this registry is used, see https://app.graphite.dev/github/pr/anza-xyz/wallet-standard/53, https://app.graphite.dev/github/pr/anza-xyz/wallet-standard/54, and https://app.graphite.dev/github/pr/anza-xyz/wallet-standard/55.

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

#54
#53
#52
#51  👈
#50
#49
#48
master

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

Join @steveluscher and the rest of your teammates on  Graphite

Would it make sense to separate the WalletHandle concept from wallet-standard/react…

Oh, yes. That's the idea. I guess I need to evict this stuff into some other package and then either drop the INTERNAL_ONLY suffixes, or add DO_NOT_USE_OR_YOU_WILL_BE_FIRED to every one.
Oh boy.


Need to create zookeeper myid files for replicated mode

Need to  add the server id found in the 'myid' file found in the defined 'dataDir'. The server id is a single digit that matches the server.=<server_address>: syntax in /etc/zoo.cfg
Example of how to create the myid file if the localhost was server.1=:
<EMAIL_ADDRESS>echo 1  >  /var/lib/zookeeper/data/myid

<EMAIL_ADDRESS>echo 2  >  /var/lib/zookeeper/data/myid

<EMAIL_ADDRESS>echo 3  >  /var/lib/zookeeper/data/myid

dataDir=/var/lib/zookeeper/data
[root@h-10 calyptos]# cat /etc/zookeeper/zoo.cfg
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir=/var/lib/zookeeper/data
# the port at which the clients will connect
clientPort=2181
#
# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
# Purge task interval in hours
# Set to "0" to disable auto purge feature
#autopurge.purgeInterval=1

server.1=<IP_ADDRESS>:2888:3888
server.2=<IP_ADDRESS>:2888:3888
server.3=<IP_ADDRESS>:2888:3888

https://github.com/eucalyptus/calyptos/issues/76


Fix :x closing Atom instead of the current pane

x was being matched with xall instead of xit, so add an alias.
Fixes #167 .
Changes Proposed in this Pull Request:

Make x an alias to xit

I have written tests for:

Bugs fixed

The specs are failing due to atom/text-buffer#224.


repopulate multiselect after server validation failed

i want to reselect the old options in the multiselect dropdown after the page refreshes (ie. if server validation fails and returns you back to the page), how do I do this?

found solution at https://github.com/silviomoreto/bootstrap-select/issues/626