text:
[BUG] Error [ERR_UNHANDLED_ERROR] when trying to play music

Bug Description
play and playlist not working
I also tried it with the example code from the documentation and get the same error
Reproduction Steps
Steps to reproduce the behavior:

Use play or playlist command
Bot join the VC but doesn't play the music
following error message in the log node:internal/errors:464
 ErrorCaptureStackTrace(err);
 ^
 Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('Missing catch or finally after try')
     at new NodeError (node:internal/errors:371:5)
     at Player.emit (node:events:379:17)
     at FFmpeg.<anonymous> (C:\Users\sylvy\OneDrive\Discord\Bots\StewwaBot-V14\node_modules\discord-music-player\dist\managers\Queue.js:242:29)
     at FFmpeg.emit (node:events:402:35)
     at PassThrough.<anonymous> (C:\Users\sylvy\OneDrive\Discord\Bots\StewwaBot-V14\node_modules\discord-ytdl-core\index.js:1:1100)
     at PassThrough.emit (node:events:402:35)
     at runMicrotasks (<anonymous>)
     at processTicksAndRejections (node:internal/process/task_queues:96:5) {
         code: 'ERR_UNHANDLED_ERROR',
         context: 'Missing catch or finally after try'
     }

Versioning:

OS: Windows 10
Node Version [16,13,2]
discord-music-player [9.0.2]
@discordjs/opus [0.8.0]
discord.js [14.2.0]

I had the same issue, turns out the latest version of ytdl-core is broke, downgrading to 4.10 fixed it for me.

I downgraded ytdl-core to the version 4.10 and I still get the same error
I tried other versions too, but nothing worked

I downgraded ytdl-core to the version 4.10 and I still get the same error I tried other versions too, but nothing worked

Make sure the ytdl-core version actually downgraded by checking it's package.json in node_modules.

Yes, it's downgraded
here the ytdl-core package.json
{
  "name": "ytdl-core",
  "description": "YouTube video downloader in pure javascript.",
  "keywords": [
    "youtube",
    "video",
    "download"
  ],
  "version": "4.10.1",
  "repository": {
    "type": "git",
    "url": "git://github.com/fent/node-ytdl-core.git"
  },
  "author": "fent <fentbox@gmail.com> (https://github.com/fent)",
  "contributors": [
    "Tobias Kutscha (https://github.com/TimeForANinja)",
    "Andrew Kelley (https://github.com/andrewrk)",
    "Mauricio Allende (https://github.com/mallendeo)",
    "Rodrigo Altamirano (https://github.com/raltamirano)",
    "Jim Buck (https://github.com/JimmyBoh)"
  ],
  "main": "./lib/index.js",
  "types": "./typings/index.d.ts",
  "files": [
    "lib",
    "typings"
  ],
  "scripts": {
    "test": "nyc --reporter=lcov --reporter=text-summary npm run test:unit",
    "test:unit": "mocha --ignore test/irl-test.js test/*-test.js --timeout 4000",
    "test:irl": "mocha --timeout 16000 test/irl-test.js",
    "lint": "eslint ./",
    "lint:fix": "eslint --fix ./",
    "lint:typings": "tslint typings/index.d.ts",
    "lint:typings:fix": "tslint --fix typings/index.d.ts"
  },
  "dependencies": {
    "m3u8stream": "^0.8.6",
    "miniget": "^4.0.0",
    "sax": "^1.1.3"
  },
  "devDependencies": {
    "@types/node": "^13.1.0",
    "assert-diff": "^3.0.1",
    "dtslint": "^3.6.14",
    "eslint": "^6.8.0",
    "mocha": "^7.0.0",
    "muk-require": "^1.2.0",
    "nock": "^13.0.4",
    "nyc": "^15.0.0",
    "sinon": "^9.0.0",
    "stream-equal": "~1.1.0",
    "typescript": "^3.9.7"
  },
  "engines": {
    "node": ">=10"
  },
  "license": "MIT"
}

Just to make sure, would you be able to try with version 4.10.0 which is what works for me?

Still not working
4.9.2 4.9.1 and 4.9.0 doesn't work too

I kept trying with different versions and now it's working with ytdl-core 4.10.0 and discord-music-player 9.0.0

I have the same issue. It worked fine for quite a while, and now it suddenly broke - even the old version (I was using 8.3.1).
Tested on dmp 9.0.0 & 9.0.2, ytdl-core 4.10.0 - doesn't work.

authors: ChubbyStewwa Eithoo Zowlyfon

repo: SushiBtw/discord-music-player


text:
Add contributors image in readme file

pls assign me this issue

@AnshuPathak-88825 Go ahead.

@Susmita-Dey pls merge PR

source: gharchive/issue

repo: Susmita-Dey/TextUtils

license: MIT

license_type: permissive

license_source: github-api


text:
Issue four

Description 📜

Domain of Contribution 📊

[ ] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[ ] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev HTML/CSS/JS
[ ] Frontend Dev React/Angular/Vue
[ ] Golang
[ ] Interview Prep
[ ] Java_Domain
[ ] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[ ] Python_Domain
[ ] Rust
[ ] Statistics
[ ] UI/UX

/assign

repo: Suvraneel/Automated-assign-labeler


text:
🛑 swiftfiddle.com/runner/nightly-main is down

In c273eb7, swiftfiddle.com/runner/nightly-main (https://swiftfiddle.com/runner/nightly-main/run) was down:

HTTP code: 504
Response time: 5047 ms

Resolved: swiftfiddle.com/runner/nightly-main is back up in 2e77f11 after 31 minutes.


text:
TikTok(抖音国际版)逆向，全球的小姐姐们，我来啦！

推荐收录
链接
https://juejin.im/post/5c19a38ae51d453e0a209256?utm_source=gold_browser_extension
理由
[此处填写您的推荐理由]
推荐人信息
如果收录这个资源，我们会在点评后面说明推荐信息人。

@GesanTung 这篇你俩哈

authors: ParsifalC linwenbang

repo: SwiftOldDriver/iOS-Weekly


text:
swift-metrics doc upload doesn't clear uploading stage

It seems up to date but for some reason it isn't setting the status to ok when it's done, even after re-running the build (via Gitlab, not a re-trigger).
{
    "updated_at": "2024-05-17 07:43:47.989879+00",
    "url": "https://github.com/apple/swift-metrics.git",
    "file_count": 578,
    "mb_size": 4,
    "latest": "default_branch",
    "reference": "main",
    "status": "uploading",
    "error": null,
    "log_url": null,
    "job_url": "https://gitlab.com/finestructure/swiftpackageindex-builder/-/jobs/6875958029",
    "version_id": "5a4fcc66-b32a-47b5-8627-208632cca5fc",
    "platform": "macos-spm",
    "swift_version": {
        "major": 5,
        "minor": 10,
        "patch": 0
    },
    "build_id": "d5d65a36-062f-4c5a-ad74-d1acbac31da7"
}

Both build id and version id are still valid as of this moment.

Issue persists even after deleting and re-triggering the build.

Unzipping fails for some reason:
2024-05-27T09:31:59+0000 warning Lambda : lifecycleIteration=0 [AWSLambdaRuntimeCore] lambda handler returned an error: unzipFail

Reproducible, this seems to be a problem in the Zip library we use: https://github.com/marmelroy/Zip/issues/265

Switched out zip library, will keep issue open until I've tested this in the actual lambda and have deployed it.

That fixed it


text:
No available targets are compatible with triple

hello,
so I want to try this library to see if I can make apps with it.
but when I try the steps in https://github.com/carson-katri/swiftwebui-scripts, I get error when running the command (make), and I get the following error :
cd testingAppweUI &&
swift build --triple wasm32-unknown-wasi &&
cp .build/debug/testingAppweUI ../dist/SwiftWASM.wasm &&
wasm-strip ../dist/SwiftWASM.wasm &&
gzip ../dist/SwiftWASM.wasm --best
Fetching https://github.com/carson-katri/SwiftWebUI
Fetching https://github.com/MaxDesiatov/Runtime
Fetching https://github.com/kateinoigakukun/JavaScriptKit
Cloning https://github.com/kateinoigakukun/JavaScriptKit
Resolving https://github.com/kateinoigakukun/JavaScriptKit at 1edcf70
Cloning https://github.com/MaxDesiatov/Runtime
Resolving https://github.com/MaxDesiatov/Runtime at wasi-build
Cloning https://github.com/carson-katri/SwiftWebUI
Resolving https://github.com/carson-katri/SwiftWebUI at develop
error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-wasi"'
error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-wasi"'
1 error generated.
1 error generated.
[0/7] Compiling _CJavaScriptKit dummy.c
make: *** [build] Error 1
thank you for making this

The Makefile is for a kludge Docker container build?   Are you trying to create a deployable docker container?
I just use Xcode 12.   Create a MacOS Tool project.  Import the Swift package.   Then hit the Build button in Xcode.
https://www.alwaysrightinstitute.com/swiftwebui/

to see if I can make apps with it

No, you can't.
To repeat the very front page:

Disclaimer: This is a toy project! Do not use for production. Use it to learn more about SwiftUI and its inner workings

If you are interested in Wasm, you might want to checkout this one: https://github.com/TokamakUI/Tokamak

ok, thank you for your help.

repo: SwiftWebUI/SwiftWebUI


text:
AssertionError: The num_classes (80) in Shared2FCBBoxHead of MMDataParallel does not matches the length of CLASSES 4) in CocoDataset

AssertionError: The num_classes (80) in Shared2FCBBoxHead of MMDataParallel does not matches the length of CLASSES 4) in CocoDataset
使用coco数据集训练Swin-Transformer-Object-Detection时，配置好数据集路径，开始训练之后出现这个错误

你没修改你的类别数

I would close this issue as it is the same as #114

authors: eduo97 impiga zkungithub


text:
🛑 SBI Autogestion is down

In a3acd7e, SBI Autogestion (https://autogestion.sbi.uy) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SBI Autogestion is back up in 7dbd361 after 18 days, 15 hours, 10 minutes.

repo: Switch-Software-Solutions/status-page


text:
upload imgs

upload imgs

repo: Syclight/SQLBuilder


text:
Add QuickLogic EOS S3/PP3E support

This PR adds support for QuickLogic's EOS-S3 and PolarPro3E device.
This PR is probably too big to reviewed and merged, so we can discuss here how to split it into smaller ones and merge.
Beside QL specific changes, there are some generic fixes, this is probably sth we can extract from this PR.

Can you rebase onto master?

This is blocked by https://github.com/SymbiFlow/python-symbiflow-v2x/pull/32 @mithro can you take a look on V2X fasm annotations?

So I think that the PR shouldn't be merged in this form. We had split it into several smaller ones:

https://github.com/SymbiFlow/symbiflow-arch-defs/pull/1393 (merged) was related to changes in common CMake stuff
https://github.com/SymbiFlow/symbiflow-arch-defs/pull/1420 Is related to changes to the timing importer

The rest of Quicklogic related changes is confined to the quicklogic directory and a PR has not been issued yet. Still, its going to be blocked by V2X https://github.com/SymbiFlow/python-symbiflow-v2x/pull/32

source: gharchive/pull-request

authors: kgugala mithro mkurc-ant

repo: SymbiFlow/symbiflow-arch-defs

license: ISC


text:
WIP: Add arty support

This PR is to add arty support. It relies to the harness that can be generated with https://github.com/SymbiFlow/prjxray/pull/724.
Currently it is still under WIP because there is the use of an environmental variable which is a workaround to select the different fabric parts. We need to modify the CMake structure to allow a same ARCH to have different PARTs. Right now it is not possible to have same ARCH with different PARTs, therefore, the if ("$ENV{BOARD}" STREQUAL "arty")  statement is currently necessary.
To allow the arty board usage do the following in the root directory of arch-defs:

BOARD=arty make env

There is also an addition of a simple uart loopback test and a counter test specific only to arty (this because only one led could be enabled).

Update on this PR:
to use the arty board cmake has to be run with an additional option:
cmake -DBOARD=arty ...
The cmake build system has to be modified to allow a cleaner way in using different parts for the same architecture. IMO this PR is good to go for the short term.

The cmake build system has to be modified to allow a cleaner way in using different parts for the same architecture. IMO this PR is good to go for the short term.

Ya, once the ROI is removed sharing the architecture should be significantly easier, as just the ioplacement changes between arty and basys3.

Updated cmake build system to allow same archs to have different parts. This makes easier the definition of new devices and boards

Assuming this has been tested on both basys3 and arty3, LGTM!

Assuming this has been tested on both basys3 and arty3, LGTM!

Tested on both devices and both correctly compile and the basic tests to work on HW.
I'll wait for green travis

authors: acomodi litghost


text:
Unconnected CARRY4s

sovle the bug of Unconnected CARRY4s

@the-centry Why was this PR closed?

authors: jaromharris the-centry

license: isc

license_source: bigquery


text:
Invalid Activity generated as missing hadRole field

The hadRole is a required field and it is missing in the Activity generated.  Currently, we do not have a good ontology for roles on associations, so you will need to make one up for now.
http://sbols.org/v2#sequenceEditor
Also, PROV-O is now supported in libSBOLj, so please revise your code to use the native methods to avoid these kind of problems.

SEP 19 recommends using sbol:design, sbol:build, sbol:test, or sbol:learn on Associations (as well as Usages)
Bryan

I guess that could work to use sbol:design.  Not very precise but it could serve for now.

On Oct 18, 2017, at 6:18 PM, bbartley notifications@github.com wrote:
SEP 19 recommends using sbol:design, sbol:build, sbol:test, or sbol:learn on Associations (as well as Usages)
Bryan
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SBOLDesigner/issues/196#issuecomment-337763808, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWD95fcvDrBgDc2pcVcbaA1pAdlLVuLks5stpVDgaJpZM4P98aP.

I am using:
http://sbols.org/v2#sequenceEditor
Is this ok for now?

Is this for Association?
I think it is okay though not a true ontology term as of yet.  Might be a good thing to discuss with sbol-dev at some point.
Chris

On Nov 28, 2017, at 11:37 AM, Michael Zhang notifications@github.com wrote:
I am using:
http://sbols.org/v2#sequenceEditor http://sbols.org/v2#sequenceEditor
Is this ok for now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SBOLDesigner/issues/196#issuecomment-347621210, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWD929vybcCB-X_CEvJx40q0mQqGd7fks5s7FLVgaJpZM4P98aP.

Correct, this is for Association.
I'll close the issue for now, but we can change the exact term after it gets discussed more.

authors: bbartley cjmyers michael13162

repo: SynBioDex/SBOLDesigner


text:
eirby/console tab fixes

resolves #253
resolves #245
and fixes requests from #288

https://github.com/TBD54566975/ftl/assets/1058725/157d169b-510a-4140-a3b8-7a893ffa71d4

Very nice, looking awesome.

I still need to add the error message component to replace commented out throws in https://github.com/TBD54566975/ftl/pull/320/files#diff-34604a63c516e886f158e2569fb4f0bb03afa023ad49bb1d287422c43736a091. I think I'm going to move isValidTab out of the component.

https://github.com/TBD54566975/ftl/assets/1058725/cad5aeb1-a13d-468d-a27b-234726478bee

https://github.com/TBD54566975/ftl/assets/1058725/15ac49bb-1e80-4c14-9a2d-d1ccbb6e2a34

authors: EdwardIrby alecthomas


text:
Add select credentials test vector with multiple Fields

In the test vectors for the Presentation Exchange "select credentials" feature, no test case has an Input Descriptor with more than one Field.
test-vectors/presentation_exchange/select_credentials.json
Add a new test vector that has an Input Descriptor with multiple Fields.
This is necessary to demonstrate a bug in the web5-go implementation of SelectCredentials. It might also be present in other language SDKs.
It will also exercise the AND relationship of multiples Fields in an InputDescriptor

related to #171

authors: decentralgabe tomdaffurn


text:
VoxelPaintStack

Get VoxelPaintStack to work in dock and VoxelInstance3D

working


text:
Optional: Implement Cookie/Session Based Authentication

https://www.youtube.com/watch?v=TDe7DRYK8vU

Complete - Going with JWT's


text:
Unify references - Ratan

Hey @eric-mb ,
Sorry for the late response to your comment on #16 . I was on vacation. Here are the unified references. Let me know if it is ok.

Its better but still not conform with the guidelines. For example. the edition (e.g., "2nd ...") of the conference is still part of the reference.

authors: eric-mb rxvl-d

repo: TIBHannover/va-bib


text:
Pregnancy Dating - drop range question and adjust calendar restrictions

#1306

repo: TIP-Global-Health/eheza-app


text:
🛑 CHECKS EU API is down

In 870a040, CHECKS EU API ($CHECK_API_EU) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CHECKS EU API is back up in fa79d5e.

repo: TKS-IT/status-page


text:
🛑 CHECKS EU is down

In 31ff596, CHECKS EU (https://tkschecks.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CHECKS EU is back up in aaa8fa8.


text:
Add Icons

Requirements

Using a conditional, dynamically add an icon corresponding to the weather conditions in the current and future weather predictions

Completed by leveraging OpenWeather's built-in icon-coding system


text:
clip_grad_norm_ in fsdp

Hi @siddk, I modified the VLM model but the program is stuck when running self.clip_grad_norm() in base_strategy.py
https://github.com/TRI-ML/prismatic-vlms/blob/874c5bbff52b248294a3ab97006491a7faa698e6/prismatic/training/strategies/base_strategy.py#L214
The related code in fsdp.py is
https://github.com/TRI-ML/prismatic-vlms/blob/874c5bbff52b248294a3ab97006491a7faa698e6/prismatic/training/strategies/fsdp.py#L241-L243
But I don't find any vlm.clip_grad_norm_ implementation.

Did clip_grad_norm work, or has it been turned off in fsdp.py?

Hey @zeyuanyin; the call to clip_grad_norm_ is actually invoking this function in PyTorch's native FSDP wrapper class.
The issue with this function is that it expects all parts of the model to have the same dtype; I did something semi-dumb in the code assuming the ViT would also be frozen, casting its weights directly to bfloat16 here which I realize is inflexible with other training schemes.
I'm going to find some time to make this a config flag, but in the meantime, could you try removing the offending casting line and see if things work ok?

authors: siddk zeyuanyin

repo: TRI-ML/prismatic-vlms


text:
Nachrichten: Effekt-Zeit und Flags

Ich versuche gerade zu testen, ob das "Börsennews"-Cleanup funktioniert - tut es natürlich nicht.
Ziel: einmal unsichtbare Initial-Trigger-Nachrichten (Typ 0), selbst-anstoßende Folgenachrichen (Typ 2)
Warum: weil meiner Ansicht nach nur Nachfolgenachrichten angestoßen werden sollten (Vermeiden von Dopplern durch Anstoßen und Auswahl als Initialnachrichten)
Ich bekomme allerdings nicht hin, dass Nachfolgekette nicht bricht. Testweise wollte ich die Börsennachrichten alle 1-2 Stunden senden. Das klappt einige Male, dann kommen aber gar keine mehr - auch wenn ich die Nachricht auf nicht skippable setze und der Effekt eintritt auch wenn die Nachricht nicht gesendet wird.
Möglicherweise ist das Problem, dass der Trigger zwar definitiv feuert, die Nachricht dann aber nicht in die Auswahl kommt und damit auch der nächste Trigger nicht mehr existiert. Ich habe noch nicht probiert, ob sendImmediately hilft (aber das könnte auch bedeuten ohne Verzögerung, aber nur, wenn überhaupt ausgewählt).
Ggf. sind regelmäßige Nachrichten gar nicht wirklich im Konzept, aber in diesem Fall sollten die Börsennachrichen sich auch nicht selbst triggern. Sauberer wären sie dann als Initialnachrichten, die an Wochentagen verfügbar sind (über availability?).

Vielleicht kannst Du nochmal schauen, ob es ein Problem im Code ist oder ob meine Konfigurationsidee so nicht funktionieren kann. Meine Erwartung ist, dass ein News-Effekt mit Wahrscheinlichkeit 100 auch definitiv stattfindet. Wenn eine Nachfolgenachricht angestoßen wird, muss sie auch verfügbar sein. Lediglich neue Startnachrichten sollten zurückgehalten werden.

Wieso muss seine Nachricht automatisch verfuegbar sein?
Wenn eine Nachricht eine andere zu 100% ausloest, ist das ein "wollen".
Die ausgeloeste Nachricht kann ja bspweise nur in den 90ern verfuegbar sein. Eine zweite ausgeloeste Nachricht nur in den 0ern.
Beide sollen aber zu 100% ausgeloest werden..also kaeme es in 1990-2009 auf alle Faelle zu der Folgenachricht.

Wenn es aber keine Einschränkung der Verfügbarkeit für die Nachfolgenachricht gibt, warum wird sie dann bei 100% Wahrscheinlichkeit nicht immer angeboten.
Wie gesagt, Ausgangspunkt sind die Börsennachrichten, die sich selbst triggern. Wenn die Kette einmal unterbrochen ist, kommen sie potentiell nie wieder (nach dem Refactoring). Ansonsten sehe ich für sie überhaupt keinen Grund, sich selbst zu triggern. Sie könnten einfach per Verfügbarkeit immer wieder als Initialnachricht gesendet werden. Die Idee hinter dem Trigger ist ja wahrscheinlich, dass sie regelmäßig an Arbeitstagen gesendet werden können. Das geht aber schief, wenn man sich nicht auf den Trigger verlassen kann.
Im Test habe ich sie sich alle 1-2 Stunden triggern lassen. Das geht 4 bis 5 mal gut. Danach kommt die Nachricht nie wieder.

... Ich habe die Effekt-Zeit wie happenTime bei einer Initialnachricht interpretiert. Dort hast Du den Unterschied mit happenTime (muss) und availability (kann) herausgestellt; und ich finde es sinnvoll, dass eine solche Unterscheidung möglich ist. Wenn die aktuelle Implementierung diesen Unterschied für Nachfolgenachrichten(!) nicht vorsieht (und auch das unskippable-Flag dafür nicht geeignet ist), kann ggf. ein neues Flag useEffectTimeAsHappenTime für Nachfolgenachrichten eingeführt werden.

Ging es denn vor dem Refactoring fehlerfrei durch?
Wenn nicht, kann ich da schauen, woran es liegt...

Das ist halt schwer zu sagen. Im aktuellen Datenbankstand ist die Börsennachricht ja vom Typ 0, steht also prinzipiell wieder als Initialnachricht zur Verfügung, hat initial eine happenTime, die aber per Flag zurückgesetzt wird und sie triggert sich selbst (aber nur arbeitstäglich), so dass es nicht so leicht ist, das über einen längeren Zeitraum zu beobachten.
Die Frage ist ja vorrangig: was ist das aktuell erwartete (implementierte) Verhalten bei Trigger mit Zeit und 100% Wahrscheinlichkeit. Wenn die Nachricht dann angeboten werden muss, stimmt etwas noch nicht (außer ich habe noch ein "keep/reset"-Flag vergessen zu setzen. Wenn sie nur angeboten werden soll, gibt es eine "Konzeptionslücke", da mit nicht erzwingen kann, dass die Nachricht angeboten wird (wenn unskippable+keep/reset nicht ausreichen).

Das Problem wurde mit den Fixes zur Zeitberechnung behoben.

authors: GWRon nittka

repo: TVTower/Documentation


text:
Use it for the crack detection

Thanks for this awesome project.
I want to do crack detection, but I think the examples are all for the drive database, how can I modify it to use it for the crack database and detection?

Thank you for your attention and support！ Using LIOT to the crack dataset is very simple. The first way, You can use LIOT.py to transfer RGB crack to LIOT crack off-line! In more detail, You can change Img_dir and Save_dir to define which dataset you want to transfer and where to save it.  Also, remember to uncomment the following two lines to save the image.
"deal_filename = save_path[:-4] + ".tiff""
"tifffile.imsave(deal_filename,Deal_img)"
Second, we will also try to release a faster version to trans LIOT online for training more convenient in the coming months.
Hope we can help you！

In the offline way, you can use these LIOT crack images to any existing method or pipeline!

Thanks for your reply,I have transferred the data through LIOT.py.
But I don't know how to apply the LIOT data to the prepare_datasets.py.
I'm not sure what data should correspond to original_imgs_test and groundTruth_imgs_test and borderMasks_imgs_test

The perpare_datasets.py is for DRIVE. Thus, for the CrackTree dataset, you can make some changes in this script. The ground truth test image corresponds to the  groundTruth_imgs_test and LIOT crack test images correspond to original_imgs_test. And crack doesn't need border masks_img_test. You can split the test and train the dataset as you want.  For training or testing, you can also your existing method to train and test LIOT images.

So you also don't need prepare_datasets.py. If you train the crack detection in your way, you can load LIOT images and ground truth as RGB images before!

Thanks for your reply,I will try it.

repo: TY-Shi/LIOT


text:
test server is down!

The upload and download test servers are down! Any solution to make the server come back live?!

You need to change the server URL
Ex: abc.com/file.pdf or xyz.com/image.png

@qcuong97  Checkout https://pub.dev/packages/flutter_internet_speed_test

authors: qcuong97 shaz-tech ziyadmansy


text:
Package metadata not found for td-watson

Hi, I've been using watson for a few years on arch linux. I started getting the following error simply by running watson. I don't know if it's an AUR issue or something wrong with watson itself:
Traceback (most recent call last):
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/watson", line 33, in <module>
    sys.exit(load_entry_point('td-watson==2.1.0', 'console_scripts', 'watson')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/watson", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for td-watson

Hi @NickRaleigh :wave: You closed this issue. Should we understand that you fixed it? If so, how? Thank you for your answer.

@jmaupetit yes, I found a fix. It was related to an issue with archlinux's package manager. I'll leave the solution below in case another arch user runs into the same problem.
I installed watson with paru. I could fix the issue by doing the following things:

Remove watson: paru -R watson
Delete cache: rm -rf ~/.cache/paru/clone/watson
Reinstall watson: paru watson

I just encountered the same issue with Manjaro. I use yay package manager, but the idea is sensibly the same: uninstall watson, re-install it, and enjoy :tada:

authors: NickRaleigh jmaupetit

repo: TailorDev/Watson

license: mit


text:
Add option to display program version (fixes #51)

Moves the version number from setup.py into watson/version.py, from where it is imported by watson/watson.py and read via exec by setup.py. Exec is used, so that the version number isn't accidentally imported from an installed version of Watson. The version is in a separate module, so setup.py doesn't have to import/exec watson/watson.py, which would trigger dependencies. The mechanism can also be used to move additional package metadata - such as author, license, etc. - into version.py (it should then probably be renamed).
I used "Watson" (capitalized) as the program name, when displayed by click. I hope that's right, but it can easily be changed.

:+1:

:+1:

authors: SpotlightKid jmaupetit willdurand


text:
Issue about paddings

Hi
Thanks for your work but i have a problem: If i add this library to my project my other view's paddings are not working. Do you know how to resolve this problem?

Sorry for the late response.
Can you reproduce on the sample app module in Spotlight?
I can check it out if you can modify the app to show your problem.

I'm closing this due to inactivity.
Please feel free to reopen this with more detailed information.
I'm willing to help you.

authors: TakuSemba tolgaytoklar

repo: TakuSemba/Spotlight


text:
fix(TDI-41943): Integrate new version of Daikon in TCOMPv0 to support Java 11

What is the current behavior? (You can also link to an open issue here)
Integrate new version of Daikon in TCOMPv0 to support Java 11
What is the new behavior?
Integrate new version of Daikon in TCOMPv0 to support Java 11
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Pull request test result: failure :x:

https://ci-common.datapwn.com/job/components_wwang-talend_TDI-41943

can't pass the test now after upgrade the daikon, will check it

Pull request test result: failure :x:

Pull request test result: failure :x:

Please note that most of this work had been done in https://github.com/Talend/components/tree/rmannibucau/java11-support - no need to upgrade daikon BTW - and that upgrading daikon is not sufficient to run on java11. Maybe you can take back this branch to make it merged?

Pull request test result: failure :x:

not valid anymore
feel free to reopen

authors: build-talend-common gonchar-ivan rmannibucau wwang-talend

repo: Talend/components


text:
Ready to accept the pull requests

Hello Everyone we are ready to take part in Hactoberfest

Hello can we connect on LinkedIn if possible to connect on -Goutam Popli

Hello Can we add android app project

Yes
But make sure to add new folder inside projects
On Fri, Sep 29, 2023, 00:08 ROHIT KUMAR @.***> wrote:

Hello Can we add android app project
—
Reply to this email directly, view it on GitHub
https://github.com/TammyAlok2/Hactoberfest2023_ADSC2/issues/1#issuecomment-1739828106,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2EBLSMMSMNT66UTSDY2O3TX4W73DANCNFSM6AAAAAA5J2XC34
.
You are receiving this because you authored the thread.Message ID:
@.***>

I wish to contribute. Kindly assign this to me.

Hello, Can you please assign this task to me.Thank you.


text:
Docs - Searching the docs on v5 brings you to v4 docs

Describe the bug
Hi! I wanted to report an issue with the docs website - not the library itself. Using the Algolia search while you are browsing the v5 docs will bring you to the v4 docs.
It's not instantly obvious that you're looking at the wrong thing either since the only clear thing that is different is the logo version in the top left. Seems like the docsearch indexes need to be updated?
Your minimal, reproducible example
See steps to reproduce below
Steps to reproduce

Go to https://tanstack.com/query/latest/docs/react/overview
Hit cmd+k, type "useQuery" and select the first result
You are brought to https://tanstack.com/query/v4/docs/react/reference/useQuery (v4)

Expected behavior
You are brought to the v5 useQuery docs (or of whatever version you are currently looking at, ideally? Browsing v3 seems to also bring you to v4)
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
All!
Tanstack Query adapter
None
TanStack Query version
v5
TypeScript version
No response
Additional context
No response

we're aware and working on it. It's an upstream issue with Algolia DocSearch

it's fixed 🎉

authors: TkDodo olivierbeaulieu

repo: TanStack/query


text:
useQueries results are not stable even with memorization attempts

Describe the bug
I'm not able to memorize the result of useQueries. Every time the component renders, the useQueries creates a new result object which is not stable.
I tracked the issues here: https://github.com/TanStack/query/issues/2991 but this didn't solved the issue
Even your example on https://tanstack.com/query/latest/docs/framework/react/reference/useQueries is not stable:
// Your example: --- FAIL
  const ids = [1, 2, 3];
  const results = useQueries({
    queries: ids.map((id) => ({
      queryKey: ["post", id],
      queryFn: () => fetchPost(id),
      staleTime: Infinity,
    })),
  });

  // Try to memorize --- FAIL
  const queries = useMemo(() => {
    return [4, 5, 6].map((id) => ({
      queryKey: ["post", id],
      queryFn: () => fetchPost(id),
      staleTime: Infinity,
    }));
  }, []);

  const results2 = useQueries({
    queries: queries,
  });

  // Another try to memorize --- FAIL
  const queriesComplete = useMemo(() => {
    return {
      queries: [7, 8, 9].map((id) => ({
        queryKey: ["post", id],
        queryFn: () => fetchPost(id),
        staleTime: Infinity,
      })),
    };
  }, []);

const results3 = useQueries(queriesComplete);

Your minimal, reproducible example
https://codesandbox.io/p/devbox/vp3mys?file=%2Fsrc%2FApp.jsx%3A13%2C16
Updated*
Steps to reproduce

Open the sandbox
type text within the input
See, that the counters going up, thats because the useEffect deps are not stable

Expected behavior
I need a way to get a stable array results and the inner result too which coming from useQuery.
All my components rerender, even if they don't need to. My workaround was to put the entire useQueries in a lower memorized component and lift all states upwards which is really bad.
You may even want to add some documentation, if you found a way to solve this. The useQueries hooks is really annoying to use currently.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Windos
Tanstack Query adapter
react-query
TanStack Query version
5.18.1
TypeScript version
4.4.4
Additional context
No response

The problem here is also, that combine does also run every time and we have no chance of memorization for calcuations :/
You may even add a second paramter to combine which is used as dependencyArray like parameter as like useMemo, because useMemo can also be used for this. combine is really useless, without memorization and dependencyarray parameter
I have to declare a component for every useQueries to avoid performance issues

I need a way to get a stable array results and the inner result too which coming from useQuery.

why do you need that? The returned array is a new array every time. Each object inside it is also new, but the data property is stable.
combine is one way to address it, you can memoize function calls to combine separately with something like reselect, memoize-one or or other memoization techniques.

Your minimal, reproducible example

Your devbox link 404s for me

The devbox was private and should now be accessible.
why do you need that? The returned array is a new array every time. Each object inside it is also new, but the data property is stable.
Yeah the query result may stable but the returned array is not stable and since you could have O(n) queries would mean, you have to iterate over them if you don't want to use combine. The result array of useQueries has to be stable or you have to iterate over them always and can't use the useMemo hook.
With combine, its running all the time even if no result of query in useQueries has changed. That does not seem right, because the combine should return the memorized result of combine instead.
Additional, with the memorization attemt, what I actually mean is that you could use other variables in the combine function, which should only trigger the recumputation of the result of combine if the variables used in combine have changed.

I updated the devbox and added the simulation of combine problem

The result array of useQueries has to be stable or you have to calculate the actual result every time some if some state changes and can't use the useMemo hook.

to calculate the "actual result" - that's why we introduced combine

what I actually mean is that you could use other variables in the combine function, which should only trigger the recomputation of the result of combine if the variables used in combine have changed.

yeah we have that for select, but haven't added it to combine yet.

yeah we have that for select, but haven't added it to combine yet.
yeah it would be nice.
Addtional, I think my approch with the variables coming from outside is false. I think the right approch would be :
combine: (result, context) => result
context: () => ({ variableFromOutside }) <--- this object may come from useMemo or some a internal shallow compare?
with this, its like the context used for mutations but we can memorize the context, so if the the variables coming from context changes or any result from useQueries change, then we execute the combine function again.
I think, this would be a nice solution to avoid the usage from other libs, which people may not know of / how to use them

I think the only thing missing is to remember the combine function and not execute it when the identity of the function is the same, so that consumers can memoize it with useCallback. This would be the same as how select works:
https://github.com/TanStack/query/blob/b32ad24f5d2ac79eb8dee32047195e2bb9267b2b/packages/query-core/src/queryObserver.ts#L461-L481
do you want to contribute this ?

Yeah a useCallback makes actually more sense. Whats left is the results paramter to be stable, so that the useCallback function is only executed if the results object has changed.
I didn't even know that select can be used with useCallback, because I found no documentation for this.

Ran into the same issue here.
For the time being my workaround is to piggyback on react's deps list to check if there are any changes in the query results, since actual data, isFetching and all other props of query result are already memoized.
If anyone needs this, here is a wrapper that returns same useQueries result, just memoized:
const useQueriesMemoized = (...args) => {
  const queries = useQueries(...args);
  const memoizedQueriesResult = useMemo(() => {
    return queries;
  }, [...queries.flatMap((x) => Object.keys(x).concat(Object.values(x)))]);
  return memoizedQueriesResult;
};

@TkDodo hi, hope this finds u well.
Can we not always make useQuery return a stable reference? Or could useQueriesMemoized also be included in react-query itself?
Have a good day!

Do you me a useQueries? +1 with this. I also run into the same issue.

For the ones who want stable references, you can always implement your own useStable hook, which will stabilize any object. Here is an implementation that uses replaceEqualDeep from react query (see Implementing the useStable(value) hook with React Query).
import { useEffect, useRef } from "react";
import { replaceEqualDeep } from "@tanstack/react-query";

export function useStable<T>(value: T) {
  const ref = useRef(value);
  const stable = replaceEqualDeep(ref.current, value);
  useEffect(() => {
    ref.current = stable;
  }, [stable]);
  return stable;
}

Usage: const stableQueries = useStable(queries);.
Note: for the sake of performance, maybe don't stabilize the whole object returned by useQueries. Instead map the queries array to a new one that contains queries with only the props you're actually using.

authors: BigSamu C3ntraX CentraXx TkDodo Woyken foxaltus


text:
Export default hydration methods for easier extension in dehydrateOptions

Export defaultShouldDehydrateQuery and defaultShouldDehydrateMutation to make it easier to retain the default behavior when extending these in the dehydrateOptions

Codecov Report
Base: 96.36% // Head: 92.44% // Decreases project coverage by -3.91% :warning:

Coverage data is based on head (ca24297) compared to base (eab6e2c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4751      +/-   ##
==========================================
- Coverage   96.36%   92.44%   -3.92%
==========================================
  Files          45       89      +44
  Lines        2281     3758    +1477
  Branches      640      987     +347
==========================================
+ Hits         2198     3474    +1276
- Misses         80      268     +188
- Partials        3       16      +13

Impacted Files
Coverage Δ

...rc/createWebStoragePersistor-experimental/index.ts

src/react/Hydrate.tsx

src/core/utils.ts

src/react/useInfiniteQuery.ts

src/core/queryClient.ts

src/core/onlineManager.ts

src/devtools/utils.ts

src/devtools/devtools.tsx

src/react/reactBatchedUpdates.ts

src/core/infiniteQueryObserver.ts

... and 124 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

authors: codecov-commenter nahtnam


text:
Chart options docs

Moved the Chart options docs bellow the data model section.
Added same formatting as react-query docs.

:tada: This PR is included in version 3.0.0-beta.35 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: lautapercuspain tannerlinsley

repo: TanStack/react-charts


text:
Contextmenu support

Adding contextmenu support
Can you explain the best way to add contextmenu support to rows? I think it is wrap row component with handler. If i think right, please explain how i can manualy render row with some wrapper in right way
I want try to use this library
Thank you!

Please ask this question in the slack channel :) https://react-chat-signup.herokuapp.com/

Has this been answered or support added?  The link in the reply from August 8, 2017 is broken.

Test

authors: fearintino gewesp tannerlinsley

repo: TanStack/table


text:
feat(angular-table): adds Angular adapter for tanstack/table

Adds angular adapter for tanstack/table

so how does this adapter work? I just see config files. Could a basic example using the adapter be created in the examples dir?

Sure, definately

@crutchcorn , I'm not really well-versed in how the Angular ecosystem works. Would you be able to help with this? FYI @lachlancollins too

Thanks for your work @jrgokavalsa . Going to bring in more help polishing this and getting more docs ready before we ship. Your continued involvement will still be appreciated.

@jrgokavalsa, I noticed the lib directory that is being referenced in the public-api.ts file is not available in this PR, this is most likely due to lib being ignored by .gitignore

Yeah, that's what I was confused about. It seems the actual adapter is not in this PR yet.

Yeah he might have to change the folder name to something else

hi 👋 do I see correctly that the actual adapter (lib folder) is outside of that PR?
packages/angular-table/src/public-api.ts:
export * from '@tanstack/table-core'
export * from './lib/flexrender.directive'
export * from './lib/index'

@JeanMeche Updated the library with selection example and moved flexrender.directive to index.ts file

@imaksp @crutchcorn @jrgokavalsa @Lord-AY @JeanMeche I think that today I will solve merge conflicts, and then merge this into a branch off of main. That way, anyone can work off of the work of the adapter and make a PR to get this over the finish line. I think there might be some work left to do before shipping this.

https://github.com/TanStack/table/pull/5432

authors: KevinVandy Lord-AY ducin jrgokavalsa


text:
Multicast ipv6 addressing ff02::1%

Hi,
I have some nodes which work on ipv6 connected to my Pi, i have a python program running with Coapthon and i am able to communicating with them using their unicast ip. Therefore when i want to use multicast coap (with the addres ff02::1%fslthr0, where fslthr0 is my TUN interface) it doesnt work. Any solution? This library allows the use of an ipv6 multicast address with interface (%fslthr0)?
Note: I can ping the nodes using the all addres ff02::1%fslthr0. But if I only ping ff02::1 it doesn work, so i need to put ff02::1%fslthr0 address in coapthon.
Best
Diego C.

Can you ping without specifying the interface with unicast addresses?
Il giorno gio 7 giu 2018 alle ore 10:30 dcomins notifications@github.com
ha scritto:

Hi,
I have some nodes which work on ipv6 connected to my Pi, i have a python
program running with Coapthon and i am able to communicating with them
using their unicast ip. Therefore when i want to use multicast coap (with
the addres ff02::1%fslthr0, where fslthr0 is my TUN interface) it doesnt
work. Any solution? This library allows the use of an ipv6 multicast
address with interface (%fslthr0)?
Note: I can ping the nodes using the all addres ff02::1%fslthr0. But if
I only ping ff02::1 it doesn work, so i need to put ff02::1%fslthr0 address
in coapthon.
Best
Diego C.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Tanganelli/CoAPthon/issues/114, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGb2-mLhJwFEtyg1owflYnIXwXmooHEeks5t6OSagaJpZM4Ud9hq
.

Yes, I ping with no problems without specifying the interface with unicast addresses. But for pinging a multicast address in ipv6 it is mandatory to specify the interface, see: https://superuser.com/questions/840767/ipv6-multicast-address-for-all-nodes-on-network
Txthings library also had problems with this multicast issue, see the second comment from "sjlongland": https://github.com/mwasilak/txThings/issues/16

Tanganelli can you fix this issue? I think there are many people interested on it.

Yes, I will try to fix it in the next weeks. Sorry but I am really busy at
the moment.
Il giorno lun 11 giu 2018 alle ore 13:41 dcomins notifications@github.com
ha scritto:

Tanganelli can you fix this issue? I think there are many people
interested on it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Tanganelli/CoAPthon/issues/114#issuecomment-396200524,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGb2-gdC9DK0be-B9PzQWA978ynbHB5eks5t7kltgaJpZM4Ud9hq
.

Ok, I really appreciate it. Thanks in advance.
Diego C.

Have you made some advances Tanganelli?

I struggled with this issue and found the solution to be binding the socket to my interface. After doing so, multicast sending worked!! =)
in client\coap.py, for binding to the wpan0 interface, I added:
self._socket.setsockopt(socket.SOL_SOCKET, 25, str("wpan0" + '\0').encode('utf-8'))

Is this solved? I am trying to multicast aswell to ff03::1 or ff02::1 :) I could not get, @pchwalek solution to work.

authors: Tanganelli aslehv dcomins pchwalek

repo: Tanganelli/CoAPthon


text:
Introduce onCanGoBackChange & onCanGoForwardChange props

WKWebview does not trigger onProgress and onNavigationStateChange when navigation occurs in SPA.
The issue is solved by adding key-value observers for canGoBack and canGoForward methods and calling the corresponding functions passed as props from React.
<WKWebview
  onCanGoBackChange={ (canGoBack: boolean) => {} }
  onCanGoForwardChange={ (canGoForward: boolean) => {} }
/>

Please don't forget to create PR and add comment on stack overflow.

authors: Enet mkhazov

repo: TangleInc/react-native-wkwebview


text:
How to use gif?

Hi
is there a way to load gifs into .image?
Thank you

No, but you could achieve gif by CustomSlide
https://github.com/TangoAgency/material-intro-screen/issues/107

authors: MagicJohnJang fabyGT

repo: TangoAgency/material-intro-screen


text:
peers_mutex_ deadlock

Description
after recent changes our node deadlocks on peers_mutex_ mutex.
Last time back trace looked like this
#6  0x00007fd6533049d3 in boost::shared_mutex::lock (this=0x556f3e1f15c8) at /root/.conan/data/boost/1.71.0/_/_/package/4df9db66fa51fc4b08f492b90f2f6e935011ec3a/include/boost/bind/bind.hpp:1287
#7  boost::unique_lock<boost::shared_mutex>::lock (this=0x7fd5b27f2f00) at /root/.conan/data/boost/1.71.0/_/_/package/4df9db66fa51fc4b08f492b90f2f6e935011ec3a/include/boost/thread/lock_types.hpp:346
#8  0x00007fd653464c2e in boost::unique_lock<boost::shared_mutex>::unique_lock (m_=..., this=0x7fd5b27f2f00) at /root/.conan/data/boost/1.71.0/_/_/package/4df9db66fa51fc4b08f492b90f2f6e935011ec3a/include/boost/thread/lock_types.hpp:121
#9  taraxa::TaraxaCapability::addPendingPeer (this=0x556f3e1f0fe0, node_id=...) at /opt/taraxa/src/network/taraxa_capability.cpp:90
#10 0x00007fd653465408 in taraxa::TaraxaCapability::onConnect (this=0x556f3e1f0fe0, session=...) at /opt/taraxa/src/network/taraxa_capability.cpp:230

some details
p peers_mutex_
$2 = {state = {shared_count = 1, exclusive = false, upgrade = false, exclusive_waiting_blocked = true}

fixed by https://github.com/Taraxa-project/taraxa-node/pull/1032

repo: Taraxa-project/taraxa-node


text:
registerDataFrameAsTable throwing error

Hi,
I was trying to load some data from Cassandra (2.1.5), using Spark (1.3.1) using pyspark-cassandra. It took some time to set pyspark-cassandra working. I was able to call CassandraTable and get the RDD and even print them .But when I use sqlContext. registerDataFrameAsTable(...) it throws error. My code is given below.
#-------------------------------------------------------------
from pyspark import SparkConf
from pyspark.sql import SQLContext
import pyspark_cassandra
from pyspark_cassandra import CassandraSparkContext, RowFormat, Row, UDT, WriteConf
conf = SparkConf().set("spark.cassandra.connection.host", "127.0.0.1").set("spark.cassandra.connection.native.port","9042")
sc = CassandraSparkContext(conf = conf)
tabled = sc.cassandraTable("keyspace1", "table1")
print users
sql = SQLContext(sc)
#----Works upto here---
sql.registerDataFrameAsTable(tabled, "tabled")
#The above line didnt work and throws error
sc.stop()
#---------------------------------------------------------------------------
The error message is :
File "~/spark-1.3.1-bin-hadoop2.6/python/pyspark/sql/context.py", line 324, in registerDataFrameAsTable
raise ValueError("Can only register DataFrame as table")
ValueError: Can only register DataFrame as table
Would you please let me know what I am doing wrong here in above code.
Thanks
Rajesh R

Hi Rajesh,
Sorry for the late response. I've been swamped with another project the last couple of months, so my 'maintainership' of pyspark-cassandra is suffering. I hope to make up for it in Q3 of this year.
As for your error above:

An {{RDD}} (which is the type of the object returned {{cassandraTable(...)}}) is not a {{DataFrame}}. Hence the {{ValueError}}. You would first have to convert the RDD to a DataFrame with {{toDF(...)}}. This is however very, very inneficient. Especially in Pyspark.
If you wan't to work with Cassandra and Spark DataFrames however, I suggest you take a look at http://rustyrazorblade.com/2015/07/cassandra-pyspark-dataframes-revisted/. Rusty explains in this post how this is done the right way.

Best regards,
Frens Jan

Yes I was able to fix this issue one week ago and having said that Rusty's blog helped me generally in otherways. Thank you for the help and reply.

authors: frensjan rajeshradhakrishnan

repo: TargetHolding/pyspark-cassandra


text:
运行"tcbf plot-syn-pair"遇到了问题

您好！谢谢提供这个工具，运行速度超级快
第一个问题是
"FileNotFoundError: [Errno 2] No such file or directory: 'out/Step1/sppA.bound.bed'"
大概是boundary的文件找不到？
我检查了一下发现是因为Step1中的是sppA.boundary.bed，所以手动改了名字改成了sppA.bound.bed
第二个问题是FileNotFoundError: [Errno 2] No such file or directory: 'out/Result/one_to_many/sppA.txt'
这个是因为输出的文件名字是叫 onetomany, 所以手动改了输出文件夹的名字
最后遇到的问题是
ValueError: Length mismatch: Expected axis has 0 elements, new values have 4 elements
这个我不知道该作何更改了= =
以下是完整的log:
Traceback (most recent call last):
File "/home/kuangzhr17/miniconda3/bin/tcbf", line 4, in
import('pkg_resources').run_script('tcbf==1.0', 'tcbf')
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 722, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 1572, in run_script
exec(script_code, namespace, namespace)
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/tcbf-1.0-py3.9.egg/EGG-INFO/scripts/tcbf", line 173, in
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/tcbf-1.0-py3.9.egg/EGG-INFO/scripts/tcbf", line 158, in plot_syn_pair
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/tcbf-1.0-py3.9.egg/tcbf/plot_tad_structure.py", line 424, in plot_synteny
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/tcbf-1.0-py3.9.egg/tcbf/plot_tad_structure.py", line 415, in plot_main
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/tcbf-1.0-py3.9.egg/tcbf/plot_tad_structure.py", line 337, in plot_boundary_pair
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/pandas/core/generic.py", line 6218, in setattr
return object.setattr(self, name, value)
File "properties.pyx", line 69, in pandas._libs.properties.AxisProperty.set
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/pandas/core/generic.py", line 767, in _set_axis
self._mgr.set_axis(axis, labels)
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/pandas/core/internals/managers.py", line 227, in set_axis
self._validate_set_axis(axis, new_labels)
File "/home/kuangzhr17/miniconda3/lib/python3.9/site-packages/pandas/core/internals/base.py", line 85, in _validate_set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 0 elements, new values have 4 elements

我的命令行是:
tcbf plot-syn-pair -o 4spp --reference sppA --chrom Chr1 --start 76510000 --end 80280000 --plot example.pdf

感谢您使用我们的软件，这个绘图中间文件名可能在之前改代码的时候忘了改了。我会在假期之后改一下代码。
对于最后的报错，你可以检查一下输入的基因组区域包含的TAD是否在tcbf的输出文件中其他物种有对应的TAD，如果该区域无保守的TAD,可能会有此错误。
如果还有其他问题且比较急，欢迎加我微信交流。微信号为  hexin19981001
---Original---
From: @.>
Sent at: 2023年12月30日(Sat) PM3:49
To: @.>;
Cc: @.***>;
Subject: Re: [TcbfGroup/Tcbf] 运行"tcbf plot-syn-pair"遇到了问题 (Issue #1)
我的命令行是:
tcbf plot-syn-pair -o 4spp --reference sppA --chrom Chr1 --start 76510000 --end 80280000 --plot example.pdf
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

您好! 谢谢你的回复，我又产生了几个疑问
一、Tcbf如何统计不同保守程度的边界
e.g. ‘被所有物种共享的边界’/‘被N个物种共享’/‘物种特有的边界’
我的想法是：
1.1 翻阅输出文件TAD_groups.tsv后，我发现如果某个Group中的边界对应了所有物种
比如下图，那这样的边界或者Group就是‘所有物种共享的’，N’个物种共享的边界‘同理。

1.2 ‘物种特有的边界’则是Unassignd_TAD.tsv。
1.3 我的疑问是，有时候某物种在一个Group里面会有好多边界，也就是TAD_groups_count.tsv，有很多行的数字都大于1 (1.3.1)，这是否对应在画图的时候存在一个边界对应多个边界的情况 (1.3.3)，如下图。。一个边界对应多个边界的情况有何处理的方法吗

1.1 你的想法是对的。
1.2 特异性的边界包括 Unassigned_TAD 和  TAD_groups_count.tsv中某个Group中所有成员来自同一个物种  如  2 0 0 0 这样的
1.3 这里软件会计算同源TAD边界数最多的一个区域进行绘制，比如说你对A物种1-10Mb的区域中10个TAD边界进行保守TAD边界计算，分别对应到了B物种的1-8Mb的8个边界和20-25Mb区域的6个边界，绘图则仅绘制1-8Mb的同源区域。

谢谢你的回复！
对于  4  4  4  4 / 5  4  3  3 / 这样全都不是1的边界应该怎么处理比较合适呢
这表明每个物种都有多个TAD边界内都有相同的基因？
我想的是可能简单过滤掉这样的边界

这个取决于你的研究问题，如果想要得到多物种比较保守的TAD边界数量，就可以认为4个都是保守的边界。就像同源基因一样。

这个取决于你的研究问题，如果想要得到多物种比较保守的TAD边界数量，就可以认为4个都是保守的边界。就像同源基因一样。

我的命令行是: tcbf plot-syn-pair -o 4spp --reference sppA --chrom Chr1 --start 76510000 --end 80280000 --plot example.pdf

您好，可以添加一下您的微信么，我有几个问题想请教一下。谢谢

authors: HeXinSysu TcbfGroup dengyang111 kuangzhuoran

repo: TcbfGroup/Tcbf


text:
[#197] QuestionBox 컴포넌트 v1.1.0

📝작업 내용
QuestionBox 가독성을 위한 간단한 작업을 했습니다.
📷스크린샷(필요 시)

✨PR Point
가독성을 위하여 line-height, word-break 적용하였습니다.
더 추가할만한게 있으면 말씀해주세요 !
테스트 코드
import QuestionBox from '@/components/common/QuestionBox';

const TestPage = () => {
  // 요기다가 하시면 됩니다
  return (
    <>
      <QuestionBox
        rightItem={<button />}
        question="API란 무엇인가요? 키윙서비스란 무엇인가요?! 추천받습니다"
        answer="키윙은 면접을 대비하기에 최고인 곳입니다. 다같이 키윙 서비스를 많이 이용해봅시다 키윙 파이팅 파이팅 영원하라 키윙 서비스는 신입 개발자나 전문가들이 IT 기업의 면접에 대비할 수 있도록 도와주는 온라인 플랫폼입니다. 이 서비스는 면접 질문, 프로그래밍 과제, 기술적인 질문에 대한 답변 및 피드백을 제공하여 사용자들이 면접에 대비할 수 있도록 지원합니다. 윙 서비스는 다양한 기업과 직무에 따른 면접 질문들을 제공합니다. 사용자는 이를 통해 자신이 준비해야 할 주요 질문들을 파악할 수 있습니다. 또한 각 질문에 대한 모범 답변과 함께 사용자가 작성한 답변을 제공하여 개선할 수 있도록 돕습니다. 기술적인 질문과 피드백: 사용자가 면접에서 받을 수 있는 기술적인 질문들을 모은 자료와 함께, 실시간으로 피드백을 제공합니다. 이를 통해 사용자는 자신의 기술적인 능력을 향상시키고, 부족한 부분을 보완할 수 있습니다.

커뮤니티 및 지원: 사용자들은 키윙 커뮤니티를 통해 다른 면접 준비자들과 정보를 공유하고 토론할 수 있습니다. 또한 서비스 플랫폼 내에서 질문을 하거나 문의를 할 수 있는 지원 기능을 제공하여 사용자들이 더 나은 면접 준비 경험을 할 수 있도록 돕습니다.

진단 및 추적: 사용자의 진행 상황을 추적하고 개인의 강점과 약점을 식별합니다. 이를 통해 사용자는 면접 준비의 진척 상황을 파악하고 개선할 수 있는 방향을 찾을 수 있습니다.

"
      />
    </>
  );
};

export default TestPage;

넵머지하겠습니다 ! ! ! @SoJuSo  @kim-hyunjoo @JaeHyunGround


text:
🛑 vyper.me is down

In d1d9244, vyper.me (https://yapi.vyper.me/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: vyper.me is back up in bdb34d6 after 8 minutes.

repo: TeamPiped/piped-uptime


text:
🛑 adminforge.de is down

In 96d03a6, adminforge.de (https://pipedapi.adminforge.de/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: adminforge.de is back up in 7cf274f after 23 minutes.


text:
🛑 chauvet.pro is down

In 14a2dbf, chauvet.pro (https://pipedapi.chauvet.pro/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: chauvet.pro is back up in 45d800f.


text:
🛑 minionflo.net is down

In 3b267b7, minionflo.net (https://api.piped.minionflo.net/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: minionflo.net is back up in ecd168a after 8 minutes.


text:
🛑 kavin.rocks (Official) is down

In 8f87f4b, kavin.rocks (Official) (https://pipedapi.kavin.rocks/healthcheck) was down:

HTTP code: 502
Response time: 162 ms

Resolved: kavin.rocks (Official) is back up in af925b1 after 9 minutes.


text:
🛑 kavin.rocks (Official) is down

In f2c4ced, kavin.rocks (Official) (https://pipedapi.kavin.rocks/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: kavin.rocks (Official) is back up in 9a26a11 after 41 minutes.


text:
🛑 minionflo.net is down

In aa36c7f, minionflo.net (https://api.piped.minionflo.net/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: minionflo.net is back up in 03857b4 after 34 minutes.


text:
🛑 il.ax is down

In f8718b3, il.ax (https://pa.il.ax/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: il.ax is back up in 7ed9e57 after 8 minutes.


text:
🛑 vern.cc is down

In cecfa48, vern.cc (https://pdapi.vern.cc/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: vern.cc is back up in f730022 after 35 minutes.


text:
🛑 smnz.de is down

In e3ca3f6, smnz.de (https://pipedapi.smnz.de/healthcheck) was down:

HTTP code: 503
Response time: 864 ms

Resolved: smnz.de is back up in 107267d after 11 minutes.


text:
🛑 esmailelbob.xyz is down

In 7c7042e, esmailelbob.xyz (https://pipedapi.esmailelbob.xyz/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: esmailelbob.xyz is back up in a59798a.


text:
🛑 privacydev.net is down

In 656a78a, privacydev.net (https://api.piped.privacydev.net/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: privacydev.net is back up in c6582b8.


text:
🛑 vern.cc is down

In 8fc2bec, vern.cc (https://pdapi.vern.cc/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: vern.cc is back up in 20d1fae.


text:
🛑 esmailelbob.xyz is down

In ec82660, esmailelbob.xyz (https://pipedapi.esmailelbob.xyz/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: esmailelbob.xyz is back up in ce3df01.


text:
🛑 esmailelbob.xyz is down

In e0c6402, esmailelbob.xyz (https://pipedapi.esmailelbob.xyz/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: esmailelbob.xyz is back up in 160f1a4.


text:
🛑 Tax Portal is down

In 999d77a, Tax Portal (https://portail.tax.gov.ma) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tax Portal is back up in f19cd04.

repo: TebbaaX/DownTime-Score


text:
ci: Removed sdk for v3.1.422

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] Implemented tests for new features.
[x] I tested the features already implemented.
[x] Added usage examples in the readme.

:tada: This PR is included in version 2.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


text:
Can't replace Pictures in Modpack

Solder seems not to replace old pictures with new ones. If I want upload a new picture as modpack-background it seems to upload but the old one did not get replaced in soldier.
Any known problems here?

Can you check your 'app/storage/logs' for any errors?
I am assuming it fails silently since you provided no error message or screenshot

No errorlog created for it. So it seems not to fail with a error message.

Are you using Amazon S3?

Nope. I have an own Linux-Server.

Okay. It's changed now. Maybe this only appears when it's pushed to the Launcher?

Yes, Modpack resources are now mainly distributed from the Platform. Solder is just a back-up source now.

authors: GenPage NitroxydeX

repo: TechnicPack/TechnicSolder


text:
This seems to be for version 1.15.2

I built the project and loaded into mc 1.16.1, but launcher failed saying this mod is for 1.15.2

@mechanicAS in Youtube TechnoVision had a video where he was updating TO 1.16.1 Forge-maybe you need to update it yourself?  What are your thoughts, @TechnoVisionDev?
Github user, @shubhayshah

hmm you may need to re-install it

authors: YodaForce157 mechanicAS shubhayshah


text:
Enable CI for MinGW

Add CI infrastructure to build this library on Windows using MinGW.

I'm working on this on and off. Is there a way to specify a specific version of a package in msys2? I'm having trouble getting the boost path to update when downloading the archive and I couldn't find a way to install specific boost versions via msys/pacman

As far as I know, pacman (the package manager used by MSYS2) does not allow specifying package versions (easily).
Personally I don't think that we have to go through the trouble of doing a CI in an MSYS2 environment. Windows with MinGW should do it (along with cmake and the other utils necessary).
MinGW itself can be installed using a regular installer: https://sourceforge.net/projects/mingw/
I don't have any experience working with Github actions - maybe they already provide some way of installing MinGW on a Windows machine? We're certainly not the only people using MinGW in a CI pipeline.

No but I suspect we are in the minority of people using mingw with github actions who also need c++20 support (i.e gcc 8.2.0 doesn't cut it). The choco package pulls from that source forge repo but the only build offering >8 doesn't have thread support.

No experience with Github actions - We use jenkins & GoCD at our company. But something like this looks promising: https://github.com/marketplace/actions/install-mingw
MinGW-w64 is currently shipping with GCC 10.3 (which is also what I use to build this library on Windows). Should be fine, no? Am I missing something obvious here? ^^

Nope not obvious :p. That should install msys but I'm currently using this which is the one recommended by msys2 (docs). Problem is this part doesn't want to work because this gives a windows path like D:\a\malloy\... which msys2 doesn't like (7z cannot find the path). At least I think thats the problem :p.
Alternatively what I could do is just have it use the msys2 boost package. It wouldn't let us test specific versions but it would indicate whether the built failed with the latest msys2 which might be all we really need. I'd leave it disabled for now since it will always fail until the package updates to 1.76.
Also also, do you have an msys2/mingw build in jenkins or gocad? If so we could integrate those instead (I assume gocad has github integration?)

[...] gives a windows path like D:\a\malloy... which msys2 doesn't like (7z cannot find the path). At least I think thats the problem :p.

is there a way to intercept the path(s) and do some awk/sed/grep to modify them? MSYS2 exposes Windows drives as /c, /d and so on instead of c:/ and d:/. Seems like an easy fix if there's a way to rewrite those somewhere.

Alternatively what I could do is just have it use the msys2 boost package. It wouldn't let us test specific versions but it would indicate whether the built failed with the latest msys2 which might be all we really need. I'd leave it disabled for now since it will always fail until the package updates to 1.76.

I think that would be a reasonable approach.

Also also, do you have an msys2/mingw build in jenkins or gocad? If so we could integrate those instead (I assume gocad has github integration?)

Yep, that is all there. My biggest problem there is that GoCD does not really provide a good means of accessing build status / logs outside the scope of an authenticated user (at least as per my knowledge). It's a CD system after all, not a CI system.
We do have a Jenkins setup as well but we removed most of the build agents when we moved to GoCD.

is there a way to intercept the path(s) and do some awk/sed/grep to modify them? MSYS2 exposes Windows drives as /c, /d and so on instead of c:/ and d:/. Seems like an easy fix if there's a way to rewrite those somewhere.

Yes, yes there is :p I was already doing it for backslashes in the paths but I didn't think of doing it for the drive letters :woman_facepalming:. It now installs boost and configures correctly. However, on build, it looks like its not linking to the standard library

It now installs boost and configures correctly. However, on build, it looks like its not linking to the standard library

I don't mean to be picky but if it does not link the STL I take it that the configuration didn't happen correctly? 😜
Can you share the output of the config and the build stage?

This is the build: https://github.com/0x00002a/malloy/runs/2952650629?check_suite_focus=true and yes, true :p

One thing that comes to mind (especially from past experiences when setting up Windows/MSYS2 build agents for Jenkings & GoCD: The commands (such as cmake and ninja) need to happen within the MSYS2 environment. The configuration stage reports:
System is unknown to cmake, create:

This smells a bit like that.
For jenkins this was rather easy as all I had to do is launching the Jenkins build agent (Java) within MSYS2: https://silizium.io/post/jenkins_msys2/
If I recall correctly, most CI/CD solutions execute calls through the OS' native command interface. In case of Windows that would be cmd.exe. This page is linked in my notes: https://www.msys2.org/wiki/Launchers/
This might be relevant/helpful too: https://stackoverflow.com/questions/26809898/invoke-msys2-shell-from-command-prompt-or-powershell
Obviously I can be completely wrong here.

Yep I needed the mingw version of cmake, and also to install base-devel (:woman_facepalming:)

repo: Tectu/malloy


text:
Derive parameter trait

Mostly ergonomic, but will also allow having more involved Parameters trait methods, such as allow_unused which would be nice to have (this would currently be used only for the visualization section)
#[derive(Parameters)]
#[section_name = "my_parameters"]
struct MyParameters {
    ...
}

This will also simplify adding parameters a bit and automatically add the important #[deny_unknown_fields] attribute

Remembering which parameter sections may be unused is kind of tricky because by definition, they are unused so we can't remember their label as they get added. I actually don't see a way to automatically add all sections which may be unused to any kind of list because that list would have to be modifyable at compile time and I don't even know if thats possible.

repo: Tehforsch/raxiom


text:
README: Fix screenshot link with URL-encoded path

Title says it all. The README's top-most screenshot wasn't showing up without a URL-encoded path.

Thanks! :)

authors: Tehnix zacacollier

repo: Tehnix/spaceneovim


text:
Unable to run test suite from a clean copy

Hi there!
I've just forked this project and want to run the test suite on my laptop... I'm wondering if there is some extra setup step that I'm missing.
If that's the case, I may revise the README.md and begin contributing to this project 😃
What I've done so far
✅ 1. fork and clone the repo
✅ 2. create a virtual env and install the dependencies from  requirements.txt and requirements_dev.txt with pip install -r
🔴 3. Run python setup.py test (I've tried also python -m pytest .)
Helpful things

this a freeze of my current env:

$» pip freeze
alabaster==0.7.12
Appium-Python-Client==0.50
Babel==2.8.0
behave==1.2.5
certifi==2019.11.28
chardet==3.0.4
coverage==4.3.1
coveralls==1.1
docopt==0.6.2
docutils==0.14
extras==1.0.0
fixtures==3.0.0
fuzzywuzzy==0.18.0
idna==2.9
imagesize==1.2.0
Jinja2==2.11.1
lettuce==0.2.23
linecache2==1.0.0
MarkupSafe==1.1.1
mock==2.0.0
needle==0.5.0
nose==1.3.7
parse==1.15.0
parse-type==0.5.2
pbr==5.4.4
Pillow==7.0.0
py==1.8.1
Pygments==2.2.0
pytest==2.9.2
python-mimeparse==1.6.0
python-subunit==1.4.0
pytz==2019.3
requests==2.23.0
requests-mock==1.2.0
screeninfo==0.3.1
selenium==3.141.0
six==1.14.0
snowballstemmer==2.0.0
Sphinx==1.5.1
sure==1.4.11
testtools==2.4.0
traceback2==1.4.0
typing==3.7.4.1
unittest2==1.1.0
urllib3==1.25.8

The failing tests are from toolium/test/test_visual_test.py

[...]
toolium/test/test_visual_test.py ....................FF.....FFF.FFF..FF....FF..
[...]
================================== 12 failed, 316 passed, 1 error in 39.14 seconds ===================================

Some failing example outputs

self = <needle.engines.imagemagick_engine.Engine object at 0x1059c3190>
output_file = '/Users/martero/workspace/bundle/toolium/toolium/test/output/visualtests/2020-03-24_151907_firefox/01_screenshot_ios_web__screenshot_suffix.png'
baseline_file = '/Users/martero/workspace/bundle/toolium/toolium/test/resources/ios_web_exclude.png', threshold = 0.1

    def assertSameFiles(self, output_file, baseline_file, threshold=0):
        diff_file = output_file.replace('.png', '.diff.png')

        compare_cmd = self.compare_command.format(
            compare=self.compare_path,
            baseline=baseline_file,
            new=output_file,
            diff=diff_file)
        process = subprocess.Popen(compare_cmd, shell=True,
                                   stdout=subprocess.PIPE,
                                   stderr=subprocess.PIPE)
        compare_stdout, compare_stderr = process.communicate()

>       difference = float(compare_stderr.split()[1][1:-1])
E       ValueError: could not convert string to float: b'ompare'

or
self = <needle.engines.imagemagick_engine.Engine object at 0x10591f510>
output_file = '/Users/martero/workspace/bundle/toolium/toolium/test/output/visualtests/2020-03-24_151907_firefox/01_screenshot_ios__screenshot_suffix.png'
baseline_file = '/Users/martero/workspace/bundle/toolium/toolium/test/resources/ios_excluded.png', threshold = 0.1

    def assertSameFiles(self, output_file, baseline_file, threshold=0):
        diff_file = output_file.replace('.png', '.diff.png')

        compare_cmd = self.compare_command.format(
            compare=self.compare_path,
            baseline=baseline_file,
            new=output_file,
            diff=diff_file)
        process = subprocess.Popen(compare_cmd, shell=True,
                                   stdout=subprocess.PIPE,
                                   stderr=subprocess.PIPE)
        compare_stdout, compare_stderr = process.communicate()

>       difference = float(compare_stderr.split()[1][1:-1])
E       ValueError: could not convert string to float: b'ompare'

=== EDIT ===
Python version
I suspect it's related to python3 since running 2to3 writes some changes,
Python 3.7.5
$» pip --version
pip 20.0.2 from /Users/martero/.virtualenvs/toolium/lib/python3.7/site-packages/pip (python 3.7)

thanks!

@rgonalo any advise or tip here?
thanks!

You are right, unit tests assume that ImageMagick is installed, but they should not.
I have updated unit tests to use PilEngine instead of ImageMagick: https://github.com/Telefonica/toolium/pull/168.
Let me know if it works for you.

Thanks! #168 did it :)
===================== 328 passed in 47.34 seconds =====================

authors: manutero rgonalo

repo: Telefonica/toolium


text:
Markup Title in documentation

I would like to request to add something in documentation in the title about Markups.
That's great. Let us know what's on your mind and please try to be specific.
You also can chat with us on Telegram

Please, open issues in the appropriate repositories. This issue applies to the TelegramBots/book repository.

authors: tuscen yungstepik


text:
Terraform lxc: Device ids

The PVE API does not provide the id parameter for device configuration, e.g., the network interfaces (net[n]) or the mountpoints (mp[n]). Instead, the devices are expected to be added as configuration maps with the suffix n. For instance:
"net1":"name=eth0,bridge=vmbr0,hwaddr=B6:DA:AE:0E:55:22,ip=dhcp,ip6=dhcp,type=veth"
"net2":"name=eth1,bridge=vmbr0,hwaddr=92:AD:68:14:BE:56,ip=dhcp,ip6=dhcp,type=veth"

This poses the question, if it is necessary for users of the Terraform provider to explicitly specify the device id. For qemu resources it is necessary to specify the id explicitly.
This issue exists to discuss the two approaches for lxc resources:

specify ids explicitly
or create helper functions for implicit handling of the device ids (transparent to the users of the Terraform provider)

For this reason, two patches exists that are identical in their behavior, but different in configuration (.tf):

https://github.com/Telmate/terraform-provider-proxmox/compare/master...in0rdr:fix/issues/44/copy_code
https://github.com/Telmate/terraform-provider-proxmox/compare/master...in0rdr:fix/issues/44/remove_id

The differences in configuration for Terraform users:
# approach (1) with explicit id
    network {
        id = 1
        name = "eth0"
        bridge = "vmbr0"
        ip = "dhcp"
        ip6 = "dhcp"
    }

# approach (2) with implicit id
    network {
        #id = 1
        name = "eth0"
        bridge = "vmbr0"
        ip = "dhcp"
        ip6 = "dhcp"
    }

From the code perspective, approach (2) looks prettier to me.

@in0rdr I'm with you. I think the id field can be generated. I vote approach 2. I don't see a need to reference it. If we have our networks in a map, similar to how I'm using my dynamic block, then I can still have an ID field, just not use it in the network block definition, thus not loosing any functionality that I can think of right now.

@gentoo9ball Thank you for the review.

won't an 'if' block suffice to include/exclude the id field?

That should do the trick.

why shouldn't ID be generated automatically for Qemu VMs as well?

IDs allow you to specify the absolute order/placement of your devices explicitly, including some kind of "distance" measure (e.g., you could start with id 4 followed by a device with id 88). I am unsure how this is useful. Maybe your application requires the storage mounts (/dev/sd{a,b,c,..}) in a certain order? But then you could simply shift the devices and arrange them in ascending order in the list of devices (with implicit ids). The order is important, but only relative to the other devices. And how could the absolute id be important for network interfaces? The order maybe, I agree, but as just argued before this is always relative to the other devices in the list. The relative order of the devices can still be changed without explicit knowledge of their ids. Thus, I created #102. For the Qemu device IDs, maybe it is necessary to test such an approach with implicit IDs (and create another ticket..)

repo: Telmate/terraform-provider-proxmox


text:
Close immediately upon backdrop onTap

Is there a setting to make the bottom sheet close immediately when backdrop is tapped?
It seems there is a default delay in the animation when closing.
Opening is much quicker.
Thank you!

I was adding a transform to the backdrop, which seems to have caused the delay.

repo: Temzasse/react-modal-sheet


text:
[Dialog] header 结构变化

tdesign-react 版本
0.44.2
重现链接
No response
重现步骤
header={false} 时关闭按钮在左边是符合预期的吗

期望结果
0.41.1 下是在关闭按钮是在右边的

看起来新版本里有对 header 结构做过更改
因为业务中有对 dialog 做样式上的调整，如果 dialog 组件结构的再次更改是有必要的，请在 change log 标明
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response

这里关闭按钮往左侧移动是不对的，0.45.0 新版本已经处理

authors: bemzhao honkinglin

repo: Tencent/tdesign-react


text:
1.0.8版本使用Teleport之后导致样式scoped deep写法无法生效

tdesign-vue-next 版本
1.0.8
重现链接
No response
重现步骤
相关issue https://github.com/Tencent/tdesign-vue-next-starter/issues/423
期望结果
setting内的样式通过:deep的方式对radio等组件进行样式的复写 但是升级到1.0.8之后都无法生效了 导致样式错乱 不确定是否与teleport的改动有关系  但是看改动内容drawer有关的只有这部分变动 目前Starter中因为样式都有setting最外层包裹可以保证不影响其他样式 暂时去掉了scoped

实际结果
No response

框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response

这个问题解决了吗？

这个问题解决了吗？

not yet

相关: https://github.com/vuejs/core/issues/2669

authors: Sight-wcg arieslee uyarn

repo: Tencent/tdesign-vue-next


text:
feat: 优化没有主插件情况下的进程托管处理 (closed #1815)

PR
CheckList（PR Assigners）
确认已完成以下操作：

[ ] 已将分支与当前合入分支同步
[ ] 已在关联 Issue 中补充「功能自测」部分内容
[ ] 已更新关联 Issue 的状态 backlog -> todo -> for test -> tested（需通过测试同学测试） -> done
[ ] 将 PR 添加上 pr/reviewable

CheckList（PR Reviewers）
确认已完成以下操作：

[ ] 检查关联 Issue 「功能自测」部分内容
[ ] 必要时打回 pr/reviewable，要求重新修改
[ ] 及时 Approve

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2bea8e0) 74.71% compared to head (9be3639) 74.70%.

Additional details and impacted files
@@              Coverage Diff               @@
##           v2.4.4-dev    #2095      +/-   ##
==============================================
- Coverage       74.71%   74.70%   -0.01%
==============================================
  Files             404      404
  Lines           28259    28259
==============================================
- Hits            21114    21112       -2
- Misses           7145     7147       +2

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

前置条件
托管进程：由Agent自动拉起进程
重载操作会检查二进制，如果没有二进制直接失败，不会导致脏进程
方案
故采取先重载后托管的方式；在重载检查二进制失败；就不会再有托管操作时的反复拉起进程。

authors: Huayeaaa codecov-commenter

repo: TencentBlueKing/bk-nodeman


text:
修改 README

修改readme

@lidongyx 李东老师，快来看我。

repo: TencentCloudBase/tcb-solutions-healthy


text:
feat(icon-button-toggle): create new web component icon-button-toggle

Description

Created a new web component called cv-icon-button-toggle.
It extends the functionality from mwc-icon-button-toggle
What's included?

Icon button toggle component which can be toggled on/off and disabled.
It has the below properties:

aria-label: Accessible label for the button.
on: To toggle the button on/off.
onIcon: Icon to display when on is true.
offIcon: Icon to display when on is false.
disabled: To disable the button.
ariaLabelOn: aria-label of the button when on is true. If set, ariaLabelOff must also be set.
ariaLabelOff: aria-label of the button when on is false. If set, ariaLabelOn must also be set.

Test Steps

[x] npm run storybook
[x] Navigate to Icon Button Toggle component in the side nav
[x] Test the component

General Tests for Every PR

[x] npm run start still works.
[x] npm run lint passes.
[x] npm run stylelint passes.
[x] npm test passes and code coverage is not lower.
[x] npm run build still works.

Screenshots

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

v8.9.0
GitHub release

Your semantic-release bot :package::rocket:

repo: Teradata/covalent


text:
Release 5.0.0-beta2

Needed following the Java source level change for client-logging

This was released 6 days ago.

repo: Terracotta-OSS/terracotta-core


text:
Investigate missing warnings and errors for nested configuration

Start with:

[ ] Warnings for unconverted tableStyle properties
[ ] Legends
[ ] Look at other

Also need next steps for people. The CLI could print out URLs for migration guide, v8 docs, our GitHub discussions, etc.

Before releasing this new version we should set the cli script as the "bin" script: https://github.com/TerriaJS/catalog-converter/issues/44

estimate: 2

[x] tableStyle - PR #46
[x] legends - not applicable because v7 legends are either URL string or array of URL strings.
[x] I scanned other places where the helper functions are called and I couldn't spot any which does not handle unknown props.

repo: TerriaJS/catalog-converter


text:
Event Based Examples

Updates the two event based shopping examples to the Serverless "library" refactoring of the toolkit.
Also fixes "long running threads" in Binders Issue, meanign that tests and exmaple halt immediately on closing the BinderStore.

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

authors: CLAassistant NigeWarren

repo: Tesco/mewbase


text:
Add Trailing_Zeroes of factorial into math folder

🚀 Feature
Problem statement: Given an integer n, return the number of trailing zeroes in n!
This problem would be implemented into this
Have you read the [Contributing Guidelines on Pull Requests]
Yes

/assign

/assign

Hey, @ishitakapoor26 The issue is already assigned to me!! If you think You can contribute in another programming language then please make an issue and proceed!!

repo: TesseractCoding/NeoAlgo


text:
oddevensort program added

Thanks for contributing to NeoAlgo!
Please remove this before submitting your PR.
Don't forget to visit our website!
All Submissions:
Before starting:
PLEASE PLEASE PLEASE READ AND CHECK THE BOXES BELOW

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked the issues to see if your request isn't assigned to someone else?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] If your submission is to improve an existing code, have you created an issue to specify that?
[ ] Don't tag anyone unless specifically requested to do so
[ ] Don't create any subfolders unless specifically requested to do so.

New Code Submissions:

[ ] Does your code work locally?
[ ] Have you cleaned your code for better readability? (no extra unnecessary lines, etc.)
[ ] Have you updated the README.md file to add the link to your code?

Yes sure !

@ricardoprins done with the changes.


text:
🛑 Proxy is down

In 251796a, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 55974f8.

repo: TetraGG/Upptime


text:
🛑 Proxy is down

In 75ab73f, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 04c0ff0.


text:
🛑 Jellyfin is down

In bc7fe5b, Jellyfin (https://jellyfin.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in 4448375.


text:
🛑 Jellyfin is down

In 1be5927, Jellyfin (https://jellyfin.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in dde4e85.


text:
🛑 Proxy is down

In f4f6721, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in ed35e21.


text:
🛑 Jellyfin is down

In 11703ed, Jellyfin (https://jellyfin.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in 036c168.


text:
Support backend workflow version control for async multi-user scenario

Currently we can only perform the undo redo service on the frontend and it is cached only in the browser, which means that after closing the browser or refreshing it the previous saved version of workflow will disappear. In the backend, it uses the endpoint PersistWorkflow to update the workflow, for auto-save or saving by the user, it only does the replacing/updating in the backend, we will lose previously saved version and cannot restore, we want it to be changed to having multiple version of previous workflow stored and have certain kind of version control over merging these workflow histories when it comes to an async multi-user scenario
Todo is to first explore the easier case, which is the system without user system--One user, Sequential. Then, Some research should be conducted for similar cases of the harder async multi-user scenario. Similar implementation like Google Doc can be investigated for this purpose. Progress will be posted under this issue.
versioned autosave workflow
Autosaving a workflow while maintaining the previous versions means this setting

The change is frequent (cache intermediate actions)
The difference is relatively small (compute the difference)
Persist the difference (write the difference)
List versions (list the number of versions)
Retrieve a version (apply patch)

MLflow tracking is an example application that uses Git to version a model. Since our workflow change is frequent and the underling representation is not code, this doesn't directly apply to us.
Automatiko and Temporal.io do workflow version control but the setting is different as the assumption is the version is not frequent or how to apply the new version to an ongoing execution of the workflow.

Next step is to follow the 5 steps above to do the version control. similar to Google's Autosave and Chrome's Autosave.
Since our workflow is internally represented as a JSON object. Tools to compute the difference and apply patches are listed below.

Json-patch
zjsonpatch

https://www.figma.com/blog/how-figmas-multiplayer-technology-works/
https://www.figma.com/blog/behind-the-feature-autosave/
A company called Figma has its CTO and engineering posting these two blogs that states the problem clearly, and their app's collaborative property is very much the same with Texera, I read all these two articles , they explain and Problem pretty well with vivid video and stuff, but I don't actually understand its final solution for the problem, a little bit vague. Think I need to revisit and try to understand it and find out whether it is suitable for our system.

https://en.wikipedia.org/wiki/Operational_transformation#Critique_of_OT
https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type#G-Counter_(Grow-only_Counter)
It seems that there are currently two possible solution for this scenario
Two wikipedia links regarding to this topic, read part of it, still investigating ,found many useful paper links under these links
Operational transformation (OT) is a technology for supporting a range of collaboration functionalities in advanced collaborative software systems. OT was originally invented for consistency maintenance and concurrency control in collaborative editing of plain text documents. Its capabilities have been extended and its applications expanded to include group undo, locking, conflict resolution, operation notification and compression, group-awareness, HTML/XML and tree-structured document editing, collaborative office productivity tools, application-sharing, and collaborative computer-aided media design tools. In 2009 OT was adopted as a core technique behind the collaboration features in Apache Wave and Google Docs.
A conflict-free replicated data type (CRDT) is a data structure which can be replicated across multiple computers in a network, where the replicas can be updated independently and concurrently without coordination between the replicas, and where it is always mathematically possible to resolve inconsistencies that might come up

https://www.youtube.com/watch?v=3ykZYKCK7AM
Watched this short talk of engineer of Google Wave, it seems that for a server-client model, to solve the issue we are having, it needs Operational transformation on the server, so need to investigate more on the OT and its relevant algorithm.

TODO:
Watch these two Google Tech Talk
1.Issues and Experiences in Designing Real-time Collaborative Editing Systems
https://www.youtube.com/watch?v=84zqbXUQIHc
2.Differential Synchronization
https://www.youtube.com/watch?v=S2Hp_1jqpY8

TODO:
https://research.google.com/pubs/archive/35605.pdf
Read Google's paper about Differential Synchronization

https://softwareengineering.stackexchange.com/questions/202815/how-to-save-during-real-time-collaboration
Very useful stackexchange question regarding this issue:
It suggests two way of implementing this:

Use Google' realtime API which has OT implemented inside.
General Solution:

let server be the multiplexer , it always has the most up-to-date view of the document.
2)For conflict resolving: Find a third party algorithm/module, doing this alone is tough , if can't use third party algorithm then simply prompt the user.
3)When a new user joins, give them the most recent document and automatically start streaming the commands to them. The server has the most recent view and thus can dish it out automatically.
4)Backup to the database at certain intervals. Decide how often you want to back up (every 5 minutes or maybe every 50 changes.) This allows you to maintain the backup you desire.
Drawbacks:
1)Throughput of the server could bottleneck performance
2)Too many people reading/writing could overload the server
3)People may become out of sync if a message is lost, so you may want to make sure you synchronize at regular points. This means sending out the whole message again, which can be costly, but otherwise people might not have the same document and not know it.

TODO:
Implement single user saving strategy and restoring operation.

Libraries available regarding this issue will be posted following and be updated for further evaluation.

Library1 GSON
Link to library: https://github.com/google/gson/blob/master/UserGuide.md#TOC-Versioning-Support
Provider: Google
Stars: 19.9k
Maintaining status: Still updating and maintaining
Brief introduction: It provides a set of operation for Json Object, the part that is useful for our project is its versioning support
How it do versioning:  use '@Since' annotation on Classes, Fields and, in a future release, Methods, etc.
Advantage:
Disadvantage: Very limited documentation, functionality not clear(e.x. We don't know whether it can handle nested json object)
Demo usage: `public class VersionedClass {
@Since(1.1) private final String newerField;
@Since(1.0) private final String newField;
private final String field;
public VersionedClass() {
this.newerField = "newer";
this.newField = "new";
this.field = "old";
}
}
VersionedClass versionedObject = new VersionedClass();
Gson gson = new GsonBuilder().setVersion(1.0).create();
String jsonOutput = gson.toJson(versionedObject);
System.out.println(jsonOutput);
System.out.println();
gson = new Gson();
jsonOutput = gson.toJson(versionedObject);
System.out.println(jsonOutput);`
Expected output: `{"newField":"new","field":"old"}
{"newerField":"newer","newField":"new","field":"old"}`

Library2 Json-Version-Control (UPDATING)
Link to library: https://github.com/datoMarjanidze/json-version-control

Library3 node-rus-diff (UPDATING)
Link to library: https://github.com/mirek/node-rus-diff
...

Library4 jsondiffpatch
Link to library: https://github.com/benjamine/jsondiffpatch
Provider: benjamine
Stars: 3.8k
Maintaining status: Still maintaining
Brief introduction:  A javascript library that can perform json's diff/patch/unpatch operation
How it help our task  : It can help our task as the above library do, do json diff to produce the delta change of the workflow to save and patch and unpatch to  restore and check out to certain version.
==============================================================================
Testing:  Finished a  trial using it over our workflow, data is a real workflow in a production environment, changes like moving operators' position, adding/deleting an operators, change operator properties, change linking status between operators are tested. Hardcoded 8 demo workflows with these gradual changes.
Result: For correctness, it performs good. It can perform diff over two workflow in a reasonable way, also it has the function of both patch() and unpatch() to either apply the delta forward or backward. For performance evaluation, its way of storing the changes outperforms the above libraries(  json-version-control and node-rus-diff ) because it can handle the nested array well that it won't store unnecessary information (For example, same case of changing a workflow operator's property, it will only store the changed operator instead of the whole list of all operators) and the format of its changes is pretty clear to me. It also provides some utility function such as deepclone of a json object.
The format of changes it stores:
This is the delta produced after modification of the 'limit' property of the limit operator from 2 to 3.

For more trial, it has a live demo online that you can try on here
Short comment about this library:  This library is worth trying in my opinion, it can fulfill our requirement and guarantee both correctness and performance, also it has support and its license is MIT license.

Recent work regarding comparison of different storing strategy, basic implementation design, and library evaluation and its performance test:
versioning_design_and_esting.pptx

Have some frontend change for the versioning part

add a button in the navigation bar to show/hide version history table (user can also click the metadata to perform the show/hide)

popluate all the version log history into a table in the right of the canvas

Discussion 1/13: closed it as we implemented it for a single user case for multiple versions.

authors: Rkyzzy zuozhiw

repo: Texera/texera


text:
Updated bad Code(still bad though)!

Hi Parag,
Ignore the previous request, kindly check this one!
Thanks
Rajesh

@rajesh9625 Please decline or withdraw the previous pull request.

@chenlica  Declined the previous request!
Thanks
Rajesh

@renacimiento  deleted the unnecessary code, could you kindly review once again!

@renacimiento  made the suggested changes, merged and closed the branch!

repo: TextDB/textdb


text:
Validation for checkboxes does not work with the new builder

Hi,
required checkboxes don't validate at all using the new builder. There is no ngModel.$error on the checkboxes. I used my previous plunkr with the current tag 0.8.10.
http://plnkr.co/edit/qvsyjw?p=preview

Hi @punknroll,
I first had a moment of "wait, what? Didn't I just fix the checkboxes?"... then I read the issue again and checked out your plunkr :)
I've made a fix for the bug, also migrated the radios/radios-inline fixes for validation to the angular-schema-form-bootstrap decorator. It needed changes to both repos so make sure to update them.
(ASF 0.8.11 and decorator 0.1.2)
Also you probably want to add a "minItems": 1 validation to your array. "Required" doesn't fail on an empty array, it only fails on undefined.
cheers

Cool thanx!

authors: davidlgj punknroll

repo: Textalk/angular-schema-form


text:
Debug Text Runtime Shit

Debug text breaks at runtime

so it does

repo: The-Newcastle-Gang/SpeedFun