How to convert or interpret different specific variable types between each other?

Question
There are many specific variable types in the opencv_dart package. How can I convert or interpret different specific variable types between each other, such as Mat to VecMat, or List to VecPoint?
For instance, I need to use the calcHist() method, but how can I pass a VecMat as the first parameter when I only have a Mat? How do I pass VecI32, VecF32, VecVecPoint or how do I create these types of variables from other Dart native variable types?
Mat calcHist(
  VecMat src,
  VecI32 channels,
  Mat mask,
  VecI32 histSize,
  VecF32 ranges, {
  Mat? hist,
  bool accumulate = false,
}) {
  hist ??= Mat.empty();
  cvRun(
    () => cimgproc.CalcHist(
      src.ref,
      channels.ref,
      mask.ref,
      hist!.ref,
      histSize.ref,
      ranges.ref,
      accumulate,
    ),
  );

  return hist;
}```

All classes extend Vec (except those extend CvVec like Vec3b) stand for vector wrappers, i.e., VecMat is a wrapper of vector<Mat>.
The Vec has a constructor Vec.fromList(), which allows you construct a Vec from a dart List, you can also try to call extension methods like cvd or asList to construct them. (But I gradually realize that .cvd may not be a good method name, may change it to asVec or something in the future.)
You can refer to test/ to find the examples.
https://github.com/rainyl/opencv_dart/blob/62d50b2a6b84d00ef58b1148c5db8610e4a4c8f8/test/imgproc/imgproc_test.dart#L192-L197

Also, as for calcHist, according to the document of official opencv, https://docs.opencv.org/4.x/d6/dc7/group__imgproc__hist.html#ga4b2b5fd75503ff9e6844cc4dcdaed35d , the input must be a vector or a pointer, so you have to wrap your single image to a VecMat, e.g.,
final myimg = ...;
final VecMat imgs = cv.VecMat.fromList([myimg]);
// or
final VecMat imgs = [myimg].cvd;

Thanks a lot! 👍

Extension asVec() was added for List such as List and List in v1.2.2, if no further problems, I am going to close this issus, feel free to reopen it if you still have problems.


Error using pyhdb: File "/usr/lib/python2.6/site-packages/pyhdb-0.2.3-py2.6.egg/pyhdb/init.py", line 71

File "/usr/lib/python2.6/site-packages/pyhdb-0.2.3-py2.6.egg/pyhdb/init.py", line 71
clean_params = {'%s' % rm_hana_prefix(key): val for key, val in params.iteritems()}
I get this with the latest code as well as 0.2.3 release.
Running on Centos 6.5. Please advise.

Yes, we are aware of this problem, Python 2.6  is not supported in the moment (even though the docs claim it is). We are currently evaluating whether we continue 2.6 support or not.
The best current option is to use Python 2.7. Sorry for the inconvenience this might cause.

Please be so kind and update your docs, I wasted a lot of my time with this...


Scheduled Tasks - product_download.media.cleanup failed

PHP Version: 8.2   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
Execute Task without error.
Actual behaviour:
Task exits with:
Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1104 The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay" at ExceptionConverter.php line 118 {"exception":"[object] (Doctrine\DBAL\Exception\DriverException(code: 1104): An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1104 The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay at /is/htdocs/wp13707735_6J5JOPKX6E/www/www.spexx.org/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:118)\n[previous exception] [object] (Doctrine\DBAL\Driver\PDO\Exception(code: 1104): SQLSTATE[42000]: Syntax error or access violation: 1104 The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay at /is/htdocs/wp13707735_6J5JOPKX6E/www/www.spexx.org/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1104 The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay at /is/htdocs/wp13707735_6J5JOPKX6E/www/www.spexx.org/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130)"} []
How to reproduce:
Manually start Task product_download.media.cleanup in Tools Plugin (Friends of Shopware)

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-39400
[created from NEXT-39400, comment 509236]


Smart Ctrl+C

On Linux, Ctrl+C should copy text if there exists selection, otherwise it should send SIGINT to the current command.

As usual, please vote.

I like your reasoning but I'd be against making them smart, is it okay to pop a message first time user presses C-c that interrupt is C-S-c? I don't want the situation where a program was interrupted because my selection was messed.

@SRGOM good point, inconsistent behavior can cause mistakes. What do you think if we always copy on Ctrl+C and interrupt on double Ctrl+C press?

That does sound a good middle path. On that note- I'm assuming you're doing this as a default behavior and your code actually reads from a config file a list of keystrokes/chords to map to actions? In which case C-c-c for interrupt sounds like a better default. If someone is "power user" enough to need C-c at it's original place, they'd be enough "power user" to edit config!

That does sound a good middle path. On that note- I'm assuming you're doing this as a default behavior and your code actually reads from a config file a list of keystrokes/chords to map to actions? In which case C-c-c for interrupt sounds like a better default. If someone is "power user" enough to need C-c at it's original place, they'd be enough "power user" to edit config!


Uploaded files dictionary isn’t request safe

The uploaded files dictionary as a global works ok when running locally but doesn’t work correctly in heroku cloud. I think this is because global variables aren’t safe between requests in a proper WSGI environment.
The manifestation of this is different results of “available files” and 404s when trying to download files that have been uploaded.
Need to add the dictionary to a persistent context or to something like a redis store.

Fixed but only by using a hard coded directory. This causes other problems, primarily that any files in that directory are accessible through the web app, even if they haven't been uploaded through the app. This isn't great.
Should be resolved by https://github.com/rdpickard/uplily/issues/4


YARN-10997. Revisit allocation and reservation logging

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
31m 49s

trunk passed

+1 :green_heart:
compile
1m  5s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
0m 58s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 48s

trunk passed

+1 :green_heart:
mvnsite
1m  3s

trunk passed

+1 :green_heart:
javadoc
0m 50s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 53s

trunk passed

+1 :green_heart:
shadedclient
20m 50s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 53s

the patch passed

+1 :green_heart:
compile
0m 58s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 58s

the patch passed

+1 :green_heart:
compile
0m 49s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
0m 49s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 39s

the patch passed

+1 :green_heart:
mvnsite
0m 52s

the patch passed

+1 :green_heart:
javadoc
0m 40s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 37s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 55s

the patch passed

+1 :green_heart:
shadedclient
20m 26s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
101m 17s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 36s

The patch does not generate ASF License warnings.

189m 48s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3606/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3606

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 65b9936654b5 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / fe14824ca528e3254d534eca357d7fd5088ec628

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3606/1/testReport/

Max. process+thread count
970 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3606/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Thanks @9uapaw  for working on this fix.
Thanks @brumi1024  for the review.
Latest state LGTM, committed to trunk. Can you check if this needs to be backported to older branches (e.g. 3.3, 3.2, 3.1)?
Thanks.


use logging framework; add sample usage where missing; add license wh…

…ere missing
Signed-off-by: SreeV<EMAIL_ADDRESS>

@sreev  I approved the PR, but you'll want to fix the build before we can merge.

It's not clear to me why the test is failing

It's not clear to me why the test is failing

@julienledem it's related to code formatting:
/tests/extractors/sql/test_parser.py:21:1: E303 too many blank lines (3)

Ah right! I was not reading that right. @sreev please fix the formatting and merge.


Appstudio update test-component-pac-iusi

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-iusi-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
17 seconds
init

✅ Succeeded
24 seconds
clone-repository

✅ Succeeded
2 minutes
sast-snyk-check

✅ Succeeded
1 minute
build-container

✅ Succeeded
16 seconds
inspect-image

✅ Succeeded
47 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
42 seconds
clamav-scan

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
4 seconds
show-summary

Pipelines as Code CI/test-component-pac-iusi-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
48 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
26 seconds
sast-snyk-check

✅ Succeeded
26 seconds
inspect-image

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
21 seconds
deprecated-base-image-check

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
45 seconds
clamav-scan

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
5 seconds
show-summary


Close button (x) should automatically appear when dialogController.settings.lock = true

I'm submitting a bug report

Library Version:
"aurelia-dialog": "1.0.0-beta.3.0.1",

Please tell us about your environment:

Operating System:
Windows 7 (although it's true for others I've tested on)

Node Version:
v7.7.4

NPM Version:
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm info ok
3.8.6

JSPM OR Webpack AND Version
aurelia-cli (AMD)

Browser:
all

Language:
ESNext

Current behavior:
When dialogController.settings.lock = true - meaning the user cannot click outside the dialog to dismiss - so it's more like a dialog and not a popover - the upper right hand corner close (x) button does not appear. However if you set dialogController.settings.lock = false it does appear. Seems backwards to me... In the latter case I can just click outside the dialog to make it go away - no need for the X. Seems like it should appear when the user has no ability to dismiss the dialog by default. Or at the least it should probably be a setting as to when it does and does not appear.
Expected/desired behavior:
The 'X' close button should probably be an option/setting to show.

According to this blog post, announcing the updated version - 1.0.0-rc.1.0.3 there is a bindable property showCloseButton.
Add it to the <ux-dialog-header> tag like this:
<ux-dialog-header showCloseButton.bind="false">

Working as intended.
We acknowledged that the lock is too involved, that's why we introduced the keyboard and overlayDismiss settings as well as the bindable property show-close-button, as @JSeligsohn mentioned. lock is still present since we wanted to keep the breaking changes at minimum. It is used to init settings that were not set, keeping the beta version behavior.


[REQUEST] Make OB Smoother & Logging Options

When i get many hits [1000+] OB get hangs, crashes or even exits automatic...
also it use many resources {CPU,RAM} and makes whole windows slower
specially when using OB for information gathering...
and there is many problems with logs
i think this options could make OB better :
- option to stop logging hits at all
it's good to be in config's options, and in OB's Settings both
- option to stop logging hits in Runner!
If 'Logging Hits' is enabled in settings and config, this will be needed
- option to keep hits logs in db and showing them in 'Hits DB'
It's really bad that last ver. of OB can't keep hit's logs
i know it could make DB very big, but it's needed sometimes
- option to limit OB to keep only last {-} of 'hits', 'customs' and 'to checks' in runner.
after hiding them from 'Runner', just forgot their logs too
showing all of them and cache all logs will just make lot of problems
- option to stop whole 'Runner Bots Display Mode'
when thread is a lot, it makes OB laggy
- limit showing captured data in 'Runner' details
it cause no big problems but it's better to see only first 100 chars of captured data and also showing linebreaks as "\n" in captured data, if captured data was too much, user can copy it and paste on notepad to see all of it
Look at this!

i can't even what was the data/creds

The real question here is why are you capturing so much data, dump it to a file instead.

Is this just a "display" issue or do you want a hard limit on the amount of data that can be captured? Should we just truncate the displayed text while maintaining the long string in the database?

yes, the last one (- limit showing captured data in 'Runner' details) is just a "display" issue

but :

option to stop logging hits
option to keep hit's log in db, and showing them in 'Hits DB'

is all about logging
sometimes we don't need hit's log at all, it could use ram and cpu, and make DB bigger (if OB saves it in DB) we need to disable hits log, like bot log that is disabled by default
sometimes we need hit's log, but after we close runner bot, we lose our hits logs
we need to have our hit's log in "Hits DB"


Connector

Is an action importer which help  you plan and automate the migration on Azure DevOps, CircleCI, GitLab, Jenkins, and Travis CI pipelines to GitHub Actions.
https://gh-actions-importer-two.vercel.app/

Header
Header
Header
Header
Header

Cell
Cell
Cell
Cell
Cell


[DOC-2868] Fix broken link

Fix broken link
Rename 'security' to 'Security Configurations'
Fix positions of topics in AWS
Signed-off-by: Smriti S<EMAIL_ADDRESS>

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Incorporated these changes in https://github.com/harness/developer-hub/pull/1246 and https://github.com/harness/developer-hub/pull/1223


Is there a reason insertAspect doesn't return the ECInstanceId of the new aspect?

Is your feature request related to a problem? Please describe.
I'm working on a synchronizer library and would like to be able to locate an ElementAspect in the iModel after I've inserted it. Unfortunately insertAspect has a void return type, unlike insertElement and insertModel. Is this due to an implementation detail of aspects?
I assume updateAspect requires the iModel ID of the aspect like the other object types to perform an update.
public insertAspect(aspectProps: ElementAspectProps): void {
  try {
    this._iModel.nativeDb.insertElementAspect(aspectProps);
  } catch (err: any) { ... }
}

public insertElement(elProps: ElementProps): Id64String {
  try {
    return elProps.id = this._iModel.nativeDb.insertElement(elProps);
  } catch (err: any) { ... }
}

Describe the solution you'd like.
public insertAspect(aspectProps: ElementAspectProps): Id64String { ... };

Describe alternatives you've considered.
I considered a linear pass over the aspects to locate the one I'm looking for, but I can't write application data to an ElementAspect because it lacks a jsonProperties property. I can however store a map from source identifiers to iModel identifiers in the related element's jsonProperties.

An "iModel Id" identifies an iModel, not a thing inside an iModel. The term you are looking for is "ECInstanceId" which is a 64-bit unsigned integer identifying a row in a table associated with an ECClass within the iModel.
Can you explain what kind of application data you want to store in the iModel and why?

My synchronizer's job is mapping source files to an iModel. In order to insert or update an element, model, or aspect I need to know its ECInstanceID. For elements and models, this is easy.

Elements can be located by their Code or a (kind, external identifier) tuple in a given ExternalSourceAspect scope using ExternalSourceAspect.findBySource.
Models have exactly one modeled element and the modeled element can be fetched.

For aspects, there's updateAspect which accepts an ElementAspectProps with a nullable id property but there's no way to obtain that ECInstanceID from the iTwin API. I guess I could create instances of ElementUniqueAspect or ElementMultiAspect because those seem to populate that id property for you, but then the classFullName property is wrong and they're also abstract in BIS. Right now the API feels inconsistent because insertAspect swallows the ECInstanceID.
I'm planning on storing a JSON object in the related element's jsonProperties that maps some external identifier of the aspect (my library calls it anchor) to its ECInstanceID so that it can be accessed in constant time after parsing the map (which I guess is actually linear in the number of aspects, but it seems faster than IModelDb.Elements.getAspects).

The implementation of insertElementAspect inside the addon could return you the ECInstanceId. However, there is no single Aspect table - there are two: ElementMultiAspect and ElementUniqueAspect - so the ECInstanceId alone will not fully identify the aspect.
@jffmarker isn't ExternalSourceAspect already the right way to track the provenance of element aspects?

@jffmarker isn't ExternalSourceAspect already the right way to track the provenance of element aspects?

Yup. Look for references to ExternalSourceAspect on https://www.itwinjs.org/learning/writeaconnector/... so that'll give you a concrete aspect class to work with.
@abeesh

I thought there isn't a built-in way to track the provenance of element aspects, because the source of ElementOwnsExternalSourceAspects is an Element, and aspects don't derive from elements, they're a separate "thing." The core tests use getAspects with a class that extends ElementAspect and has a custom property to locate an aspect.

@jackson-at-bentley  your suggestion to update insertAspect to return the aspects instanceId is a good suggestion.  Since we have other API which requires the aspect instance Id we should return the id when we insert an aspect.  @calebmshafer do you agree to adding this to the backlog?

#4137's native component added this (returning of the ECInstanceId), but was reverted. When it is remerged this could be considered done.


sync subtree in prep for next release

Ack. I messed up the merge conflict in the changelog, but I've got to modify it anyway for this release so I'll just correct it then to speed things along


Sharing

Issue:
Add sharing links
https://github.com/suwebdev/nifty-club/wiki/User-Story:-Sharing
Size:
sm
Priority:
Low
Reasoning:
This should be done in this sprint because it is a small size item that can be done quickly but it will complete the visual "look" of each poem page and provide the sharing capability deemed necessary.

Added code for social icons for sharing.


update delius config for contact log notifications

What does this pull request do?
update delius config for contact log notifications
What is the intent behind these changes?
get the 'referral sent' notification showing up in delius.

👍 LGTM; could we leave a note on why the codes changed, please? (For me, it's important to know what external change has to be reflected in the future)

paging @mxco86  for this

👍 LGTM; could we leave a note on why the codes changed, please? (For me, it's important to know what external change has to be reflected in the future)

The codes have now been confirmed on the Delius side as-per this:https://github.com/ministryofjustice/hmpps-interventions-service/pull/115


Fixes logic for Verify functions

Logic doesn't work according to what's documented, logic ends up accepting every non authenticated request and failing when the secret is correct

Fixed it in the wrong place, new pull requests fix better


Toolchain file fails when using ALIAS or INTERFACE targets

The toolchain breaks cmake if your project uses alias or interface targets. I have a fix for this that I'll submit as a pr soon.

The PR in question has been merged.

Thanks for the issue and subsequent PR 👍


Stuck Loading on Title Screen

I have been using Stremio for a week with the Torremtio and Comet addons. It was working for a few days but now I am stuck on the loading title screen unable to watch anything. I have a debrid through Torbox and I believe I set everything up correctly. I turned on hardware accelerated decoding, cleared cache, uninstall/reinstall Torrentio and Comet addons and Stremio too.
The error that appears on my screen says "Playback error. Please try again"
I am stuck and don't know what else I can do

Not related to the addon itself, as the addon is not responsible for the streaming itself. Something's probably with your network.


Add codespots to npm copycats

Original: https://www.npmjs.com/package/typescript-react-intl/v/0.2.2
Copy: https://codespots.com/library/item/3095

Thanks a lot!


How can i save my FAISS index file locally?

Hello everyone.
I'm trying to make a chat assistant with multiple agents that pull information from very heavy books (can range from 500 to 10.000 pages) and to speed up the process of consulting each book i'd like to use FAISS's module on langflow.
The module creates the indexes and requests them just fine, but it doesn't seem to be saving the index file to the path that i specify. I suspect that it's saving it to the local memory, which means that i would have to load each book and create it's indexes every time.
How should i be using the FAISS module so i can save each index file locally?
Operating System
Windows 10
Langflow Version
1.1.1
Python Version
3.12.6
Screen Shots
first piece of the flow (creates the index file based on the PDF i've loaded)

second piece of the flow (pulls the info from the index to use as contex to answer the user's question)

Flow File
FAISS_indexes.json

I am running langflow's image on docker, so i'm setting up my Persist Directory path as "./data".
Which should look like this when looking at it from the root directory:
docker_dir/
├── deploy/
├── docker/
├── docker_example/
├── docs/
├── langflow/
├── scripts/
├── src/
│   ├── backend/
│   ├── data/  <-- (my persist directory's target)
│   ├── frontend/
├── test-result/


Fixes 1.0 Error

Got this error from working with Terraform 1.05
│ To reduce the risk of accidentally exporting sensitive data that was
│ intended to be only internal, Terraform requires that any root module
│ output containing sensitive data be explicitly marked as sensitive, to
│ confirm your intent.
│
│ If you do intend to export this data, annotate the output value as
│ sensitive by adding the following argument:
│     sensitive = true

ci fails as tests run without credentials.. will reopen PR from inside mineiros-io

merged in #77  thanks for your input.. we will prepare a fix release asap. cc @soerenmartius


[core] prepare for 2022 Sep releases

update CHANGELOG files

@deyaaeldeen do you want me to update core-lro CHANGELOG too, or you can do it in another PR?

API change check
API changes are not detected in this pull request.

@jeremymeng I am already updating the changelog in my PR so no need to do it here too.

Going to override. Failures are due to timeout because no build agents are available.

/check-enforcer override


Mod overrides pose application

In BipedEntityModelMixin, despite setAngles not being marked as an @Overwrite, it still unconditionally cancels the original method. This creates compatibility issues with any other mods modifying the model's pose in that method and a more compatible way would be to use individual injections. One example is Essential's emotes.
Reproduction steps:

Add Shield Fixes
Add Essential
Join a world/server
Attempt to use an emote

Related: #4

Done


Unexpected action in mask definition

Hello to everyone!
I am experiencing the following issue with the cache allocation feature:
I am trying to define the mask of a Class of Service to be 0x80000, and another one to be 0x7FFFF, (so I am trying to achieve an isolation scheme).
pqos -e 'llc:1=0x80000;llc:2=0x7ffff'
However, after receiving the appropriate message of success, I see that the mask of the COS which was defined as 0x80000, is instead 0xC0000, which means that I am getting an extra way of associativity, and the isolation is not achieved.
I inserted debug messages in the process of defining the mask, but in no point did I find an error or a change in the mask, until the call to msr_write in host_allocation.c
CPU: Intel Xeon CPU E5-2699 v4 @ 2.20GHz

“Hardware OR’s in 19th bit, because that is mandatory to set bit 19 and 18.” Hence, when mask 0x80000 echoed effective way mask will be 0xC0000".  I hope that explains behavior you are seeing.

Thank you for your answer pvautee!
Yes, that explains the behavior! I changed the masks, and now I have the allocation that I expected!


Fixed apt cache update

Apt cache update was triggered by a notify. A notify handler is running at the end of the Ansible block. As this role is used as dependency for other roles (like elan.opencast_elasticsearch), the trigger will run to late.
Example:
- name: Deploy Elasticsearch
  hosts: elasticsearch
  roles:
    - elan.opencast_elasticsearch <-- opencast repository isn't known on clean system without apt update run, role will fail
    <-- triggers would run here

Apt cache should be updated by this role and not by others.

The tests are failing due to broken molecule tests. This is handled by #5.


G keys assigned as F keys

Summary
In "Solid Color Layer", "Toolbar Layer" and other layers, the G keys, when assigned, are seen as F keys (G1 = F1, G2 = F2, [...]). Even in the "Affected Keys" box, F1 appears instead of G1.
If selected with the UI (instead of being pressed), only the color of the (G) keys can be changed, they won't behave as intended with the Toolbar Layer.
Keyboard: G910
Aurora Version:
v0.6.4b
Previously an Issue?
Don't know.

Aurora can't detect the G keys (or any macro keys) being pressed. It only detects whatever you set them to (which in your case seems to be the F keys).

Thanks


adds s3 file storage

that was fast!
On Wed, May 18, 2016 at 5:33 PM, Durim Morina<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/crowdresearch/crowdsource-platform/pull/701
Commit Summary

adds s3 file storage

File Changes

M csp/settings.py
https://github.com/crowdresearch/crowdsource-platform/pull/701/files#diff-0
(8)
M local_settings_default.py
https://github.com/crowdresearch/crowdsource-platform/pull/701/files#diff-1
(2)
M requirements.txt
https://github.com/crowdresearch/crowdsource-platform/pull/701/files#diff-2
(1)

Patch Links:

https://github.com/crowdresearch/crowdsource-platform/pull/701.patch
https://github.com/crowdresearch/crowdsource-platform/pull/701.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/crowdresearch/crowdsource-platform/pull/701


Hello, how to configure in lazyvim

I am a nvim novice, I so configuration error, not clear how to configure normal
    {         'RobertPietraru/bloc.nvim',         keys = { {             "<leader>cbc",             "<cmd>require('bloc').create_cubit('cubit_name', 'parent/folder/relative/path')<cr>",             -- function ()             --     require('bloc').create_cubit('cubit_name', 'parent/folder/relative/path')             -- end,             desc = "bloc cubit"         }, {             "<leader>cbb",             "<cmd>require('bloc').create_bloc('bloc_name', 'parent/folder/relative/path')<cr>",             -- function ()             --     require('bloc').create_bloc('bloc_name', 'parent/folder/relative/path')             -- end,             desc = "bloc bloc"         } },     }

Hello, if you go through the entire README you'll see my configuration. Personally, I don't use lazyvim so I cannot help you with that unfortunately.
My plugin only does the snippets and the code generation. You have to find a way to get the path you want and the name of the bloc your own way.
Here's some suggestions though. Find a way to get the selected folder in the file navigator you have and then a way to read text input. Afterwards just use the functions I've provided and you're good to go.

Thanks for your reminding, I spent some time to learn neo-tree api, and it has been compatible with lazyvim. But it still had problems with line breaks, and I submitted a fork
    {
        'ClzSkywalker/bloc.nvim',
        keys = { {
            "<leader>cb",
            desc = "flutter bloc"
        }, {
            "<leader>cbc",
            function()
                local state = require("neo-tree.sources.manager").get_state("filesystem")
                local node = state.tree:get_node()
                local inputstr = vim.fn.input("Cubit Name:", "")
                require('bloc').create_cubit(inputstr, node.path .. '/')
            end,
            desc = "bloc cubit"
        }, {
            "<leader>cbb",
            function()
                local state = require("neo-tree.sources.manager").get_state("filesystem")
                local node = state.tree:get_node()
                local inputstr = vim.fn.input("Bloc Name:", "")
                require('bloc').create_bloc(inputstr, node.path .. '/')
            end,
            desc = "bloc bloc"
        } },
    }


consume ebpf 0.20.0 and clean up

Description
Describe the purpose of and changes within this Pull Request.
Take a dependency on eBPF version 0.20.0 and clean up our pre-release build dependency for arm64. This change makes XDP the authoritative source of eBPF program definitions for XDP hooks, which had previously been in the eBPF-for-Windows repo.
Testing
Do any existing tests cover this change? Are new tests needed?
CI.
Documentation
Is there any documentation impact for this change?
No.
Installation
Is there any installer impact for this change?
No.

ebpf arm64 nuget is broken


tvOS missing in main project "Supported Platforms" setting

The PINRemoteImage main project is missing the tvos and tvossimulator values in the Supported Platforms setting.
If you're using a Git submodule, you cannot use PINRemoteImage with tvOS without adding these parameters, which means you have to fork and cannot pull directly from this repo.

Good catch! Would you mind submitting a pull request to address?

@garrettmoon Certainly! Give me a few mins.

https://github.com/pinterest/PINRemoteImage/pull/401

Thanks for the fix @jorystiefel. Saved me a bunch of time figuring out what was happening with it. Working on my side 👍

@ay8s testing it right now, please hold...

Going to close this out since I believe #408 addresses.


Link goes to 404 error

The SelectionFollowsFocus link is broken. Should go to https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.navigationview.selectionfollowsfocus#Windows_UI_Xaml_Controls_NavigationView_SelectionFollowsFocus

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

ID: bb5d9ab5-9358-bc88-a404-30c8c13d283f
Version Independent ID: b1d70c70-d49f-e824-3258-4277a65baa1b
Content: NavigationViewShoulderNavigationEnabled Enum (Windows.UI.Xaml.Controls) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.ui.xaml.controls.navigationviewshouldernavigationenabled.yml&version=GBlive&_a=contents
Product: uwp
Git Login: jwmsft
Microsoft Alias: jimwalk

Link works now.


[BUG]

Describe the bug
When using chains as tools the new version streams both an answer that tool 1 doesnt know and then streams tool 2 answer. It doesnt adhere to my system prompt anymore.
To Reproduce
Steps to reproduce the behavior:

Create 2 tools from flows. One that doesnt know and one which does.
Ask it to always use tool 1 first. If tool 1 doesnt know then use tool 2.
Embed to a page, ask questions that tool 2 knows and then it will stream both that it doesnt know and right after the answer.
See output.

Expected behavior
To be able to sort out the answer that doesnt know. Prompt adherence seems off and it worked great in previous version.
Screenshots
If applicable, add screenshots to help explain your problem.
Flow
If applicable, add exported flow in order to help replicating the problem.
Setup

Installation [render]
Flowise Version [flowise 2.1.1, embed 2.0.1]
OS: [Windows]
Browser [chrome]

Additional context
Worked better in previous version. Creates a problem with to flowtools that should complement each other.

Do you have an example chatflow we can use to replicate?

No, I've looked into it and from what I can see, even though its a bit laggy the test chat concatenates the answer and remove the streaming answer from the tool that doesn't know. I'm thinking this could be an issue with the latest embed instead?


Jvenstad/argh 2

@mpolden
this is the same PR as the closed one, but without the merge pull from the remote, after rebasing on fresh master.

👍


[dv/xprop] Change code to be more xprop-friendly

Xprop is a simulation feature that improves the SV semantics when conditions contain 'X values. Change RTL or DV code to enable more xprop instrumentation.
This change is to vendor files, so it may need special treatment.
Addresses some of #16723
Signed-off-by: Guillermo Maturana<EMAIL_ADDRESS>

Thanks a lot for proposing those xprop improvements for Ibex, @matutem.
I have ported your changes to https://github.com/lowRISC/ibex/pull/1964. Once that PR is merged, the changes will have to be vendored into OT. I'm thus closing this PR.


Add option to replace JSON encoder

Add jsonDecoder, jsonEncoder fields to AWSClient and use when encoding/decoding json

Reduced to JSON encoder as JSON decoder isnt used. Instead a dictionary decoder is used on the processed JSON decoded dictionary

No longer desired


Fix layered HDR texture import with lossless compression

Fixes #97827
The layered texture importer was missing some code from the 2D importer.

Thanks!


Filtering system change request

Please change flitering system Uri to Attribution Uri on the admin page so that the admin page users can search with live or dead but known urls.
1.)YouTube submissions do not have domain part (I mean http://www.youtube.com/) in uri .
2.) Website submissions do have waybackportion in their uri
3.) Yahoo image items have uri  such as http://photoarchive.c.yimg.jp/res/emgphoto-0237/093/71237_sr.jpg but the live link is http://archive.shinsai.yahoo.co.jp/entry/71237/.

I added attribution_uri so that you can search with either one. Is this acceptable?

Yes!  Thank you again. I will tell Anna about the change.


Broadcast to a single peer

The problem with blasting transactions to multiple peers is that it increases the chance of landing on a surveillance node. This isn't a problem when using Tor; it is mainly a problem for clearnet connections.
This change ensures that we broadcast to just one peer and then wait for a roundtrip confirmation in the form of an inventory message from other connected peers.
This is marginally slower than the blasting strategy but it increases both privacy for clearnet connections and gives us certainty in the form of verifying that our transaction has propagated through the network.
The selected broadcast peer is given 10 seconds for our transaction(s) to appear on the network, after which we rotate the peer.
Other changes:

bump version to 0.4.0 for both lib and bin
redo the Report struct to better reflect completion outcomes
deprecate the --tesnet switch in bin in favor of --network
remove the send_unsolicited option (unnecessary)

Hi @alfred-hodler !
I'm not very familiar with Rust. How can I try this PR locally?
Is broadcasting to only one peer the only strategy now? (If yes, it is a good thing, IMHO.)
Also, does the tool wait for random time for each peer before disconnecting it in the end? (To avoid time correlation.)

How can I try this PR locally?

git clone https://github.com/alfred-hodler/pushtx
git checkout single-peer-broadcast
cargo run -- --network testnet # (or mainnet or signet)

Is broadcasting to only one peer the only strategy now?

Yes.

Also, does the tool wait for random time for each peer before disconnecting it in the end? (To avoid time correlation.)

It doesn't wait because there are many other heuristics that we could be identified by. We are sending a very identifiable version message, so something would have to be done on that front too, which is very hard. If that level of surveillance is a concern, such as targeted heuristics, we just need to use Tor -- at that point these heuristics and fingerprints don't really matter anymore.

Does this broadcast always to a single peer, regardless of whether Tor is available or not? I think a good strategy would be:

If Tor is available, then send to a few .onion peers or even IPv4 or IPv6 peers via the Tor proxy at the same time. Wait, if not received back, repeat.
If Tor is not available, then send to a single IPv4 or IPv6 peer directly via clearnet. Wait, if not received back, repeat.

@vasild

If Tor is available, then send to a few .onion peers

that is suboptimal, since ISP can see a spike of Tor traffic on the sender end and correlate it with the appearance of a transaction in mempool.
If do this, at least add a flag please. I would like to have Wasabi grade privacy and they send to one peer even though Tor (and onion) is used. And it works quite fast in Wasabi, because most peers do their job of broadcasting transaction further.

I'm trying to build it on Debian Sid. Earlier Debian versions have too old rustc and it refused to build.
Still failing to build it.
$ rustc --version
rustc 1.74.1

pushtx$ cargo run -- --help
   Compiling typenum v1.17.0
   Compiling version_check v0.9.4
   Compiling libc v0.2.155
   Compiling proc-macro2 v1.0.83
   Compiling generic-array v0.14.7
   Compiling unicode-ident v1.0.12
   Compiling cc v1.0.98
   Compiling bitcoin-internals v0.2.0
   Compiling quote v1.0.36
   Compiling secp256k1-sys v0.9.2
   Compiling crossbeam-utils v0.8.20
   Compiling log v0.4.21
   Compiling autocfg v1.3.0
   Compiling slab v0.4.9
   Compiling syn v2.0.65
   Compiling hex_lit v0.1.1
   Compiling hex-conservative v0.1.2
   Compiling utf8parse v0.2.1
   Compiling anstyle-parse v0.2.4
   Compiling bitcoin_hashes v0.13.0
   Compiling crypto-common v0.1.6
   Compiling block-buffer v0.10.4
   Compiling colorchoice v1.0.1
   Compiling anstyle-query v1.0.3
   Compiling anstyle v1.0.7
   Compiling is_terminal_polyfill v1.70.0
   Compiling bitcoin v0.31.2
   Compiling byteorder v1.5.0
   Compiling socks v0.3.4
   Compiling anstream v0.6.14
   Compiling crossbeam-channel v0.5.13
   Compiling digest v0.10.7
   Compiling secp256k1 v0.28.2
   Compiling mio v0.8.11
   Compiling socket2 v0.5.7
   Compiling bech32 v0.10.0-beta
   Compiling thiserror v1.0.61
   Compiling strsim v0.11.1
   Compiling nohash-hasher v0.2.0
   Compiling heck v0.5.0
   Compiling anyhow v1.0.86
   Compiling clap_lex v0.7.0
   Compiling cfg-if v1.0.0
   Compiling keccak v0.1.5
   Compiling dns-lookup v2.0.4
   Compiling sha3 v0.10.8
   Compiling clap_builder v4.5.2
   Compiling clap_derive v4.5.4
   Compiling peerlink v0.8.0
   Compiling thiserror-impl v1.0.61
   Compiling env_filter v0.1.0
   Compiling data-encoding v2.6.0
   Compiling fastrand v2.1.0
   Compiling hex v0.4.3
   Compiling pushtx v0.4.0 (/home/user/pushtx/pushtx)
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in `impl` method return types
   --> pushtx/src/p2p/client.rs:126:56
    |
126 |     fn receiver(&self) -> &crossbeam_channel::Receiver<impl Into<super::Event<PeerId>>> {
    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information

error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
  --> pushtx/src/p2p.rs:39:56
   |
39 |     fn receiver(&self) -> &crossbeam_channel::Receiver<impl Into<Event<P>>>;
   |                                                        ^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information

For more information about this error, try `rustc --explain E0562`.
error: could not compile `pushtx` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

@vasild I agree with @starius in that it's not really necessary to broadcast to multiple peers. Transaction propagation seems to be very fast. Connecting to at least one onion peer would be nice if we have Tor, but to get there some refactoring is needed since the primary way of getting peers is currently through DNS seeds and those don't return onion domains. This is something that we can put on the roadmap for the future.
@starius It seems that some generic constructs weren't compatible with your version of Rust. I've just issued an update, please pull and try again.

@alfred-hodler It builds now.
It works! I tested it a couple of times in signet. Thank you very much for the tool! I'll definitely add it to my favorite tool collection and use instead of Wasabi to broadcast transactions!
One thing which is confusing is that it expects me to type Ctrl+D after entering the transaction. I pressed just Enter instead and thought that it is not working. Can you catch Enter as well, not only Ctrl+D, please? Or at least print in the prompt that the user has to press Ctrl+D after typing the transaction.
Another thing. I know that terminals don't work very well with long inputs (longer than 4096 characters). I ran into this issue in incli tool when entered a large transaction and it only caught first 4096 characters. I don't have such a transaction now, so I can't test. Can you test that it is entered correctly? Also, if you catch a parsing error for the transaction and the length of the input is around 4096 characters, you can print a warning to the user explaining that the transaction is too long to enter in the stdin and that they should save it to a file and profile file name in -f option.
Also, I see that option --tor-mode has the following options:
          - try:  Use Tor if available. If not available, connect through clearnet
          - no:   Do not use Tor even if available and running
          - must: Exclusively use Tor. If not available, do not broadcast

What if the user is forwarding all network traffic to Tor using operating systems capabilities (e.g. running in QubesOS behind Whonix Gateway). Then port 9050 may not be available locally, but just normal network traffic is sent through Tor and *.onion sites work in any browser (are resolved to local IP space and handled automatically by the gateway). Will the tool use onion peers in this case or will it thing that Tor is not available, because port 9050 is not available? Don't we need another option for this mode (e.g. "gateway")?

We are sending a very identifiable version message, so something would have to be done on that front too, which is very hard.

Can you also deal with this, please? E.g. send some popular user agent.

One thing which is confusing is that it expects me to type Ctrl+D after entering the transaction. I pressed just Enter instead and thought that it is not working. Can you catch Enter as well, not only Ctrl+D, please? Or at least print in the prompt that the user has to press Ctrl+D after typing the transaction.

Ctrl-D (or Ctrl-Z on Windows) means "end of stream" and that's a pretty standard way to terminate stdin. Tools that read their input through stdin always take this approach and don't terminate on Enter. cat, wc and other standard Linux tools are good examples of this, as well as gpg, which also just takes input indefinitely until you signal the end of stream.
More interactive programs might indeed handle different types of input, but this tool is meant to follow a Unix philosophy. In the end, if we terminated with Enter, we wouldn't be able to enter multiple transactions, which is possible right now (whether this is a good idea is a different discussion).

Another thing. I know that terminals don't work very well with long inputs (longer than 4096 characters). I ran into this issue in incli tool when entered a large transaction and it only caught first 4096 characters. I don't have such a transaction now, so I can't test. Can you test that it is entered correctly? Also, if you catch a parsing error for the transaction and the length of the input is around 4096 characters, you can print a warning to the user explaining that the transaction is too long to enter in the stdin and that they should save it to a file and profile file name in -f option.

The 4096 char limit seems to be real. It's something I can deal with in the next version.

What if the user is forwarding all network traffic to Tor using operating systems capabilities (e.g. running in QubesOS behind Whonix Gateway). Then port 9050 may not be available locally, but just normal network traffic is sent through Tor and *.onion sites work in any browser (are resolved to local IP space and handled automatically by the gateway). Will the tool use onion peers in this case or will it thing that Tor is not available, because port 9050 is not available? Don't we need another option for this mode (e.g. "gateway")?

The tool wouldn't use onion peers either way because we are getting them through DNS seeds, which return A type records -- meaning that domain names (which includes .onion) aren't included there. We have some hardcoded onion peers but that's just in our hardcoded lists -- which are used only for fallback in case the DNS method doesn't work.
Some redesign/refactor there might be needed to get this to work. I'd be interested in getting some help in the form of a high quality PR.

Can you also deal with this, please? E.g. send some popular user agent.

If you're using the library, you can override the user agent right now. The binary uses the default one. The problem with the whole user agent business is that the version message contains a lot more than that, such as our block height and local time. Unless you set those too, it's obvious you're an "unusual" peer. I generally don't think anyone should ever be broadcasting transactions through clearnet, but if they are indeed doing that, fiddling with the user agent won't really help them hide better.

Few more ideas :)

Ctrl-D (or Ctrl-Z on Windows) means "end of stream" and that's a pretty standard way to terminate stdin.

Can you mention Ctrl+D / Ctrl+Z on Windows in the prompt message, please? I was waiting for few minutes after pressing Enter, thinking that the tool is stick, until I remembered Ctrl+D thing :)

if we terminated with Enter, we wouldn't be able to enter multiple transactions, which is possible right now

After reading and parsing the first transaction the tool could make next prompt like this:
Successfully parsed 1 transaction, transmitting 0.01 BTC in mainnet, having 1 input and 2 outputs.
Outputs:
1xxxx: 0.005 BTC
3xxxx: 0.005 BTC
Would you like to (b)roadcast the transaction, (r)ead more transactions or (q)uit? (b/r/q)

This will make the tool more interactive, not like wc or cat, but will safeguard the user against accidentally sending wrong transaction.
If can be disabled with --force or something.
Also, cat mode can be enabled explicitly by passing - as input file name (to run automatically, from scripts).

We have some hardcoded onion peers but that's just in our hardcoded lists -- which are used only for fallback in case the DNS method doesn't work.

Bitcoin Core has a large list of hardcoded onion (and other types of) peers. Does it make sense to ember the whole list into the tool?
https://github.com/bitcoin/bitcoin/blob/master/contrib/seeds/nodes_main.txt

I'd be interested in getting some help in the form of a high quality PR.

If only I had Rust skills to do it. I'll ask my friends who write in Rust to take a look :)

Unless you set those too, it's obvious you're an "unusual" peer.

Some idea. Let's connect to the first peer with some default settings (e.g. default user agent, block height = 0 etc), memorize what it responded and connect to the second peer using data returned by the first peer. Then connect to the third peer using the data returned by the second peer etc.

Can you mention Ctrl+D / Ctrl+Z on Windows in the prompt message, please? I was waiting for few minutes after pressing Enter, thinking that the tool is stick, until I remembered Ctrl+D thing :)

Here you go: 90ad6b924c30677115206e6911c87bea9ea706fd

After reading and parsing the first transaction the tool could make next prompt like this:
Successfully parsed 1 transaction, transmitting 0.01 BTC in mainnet, having 1 input and 2 outputs.
Outputs:
1xxxx: 0.005 BTC
3xxxx: 0.005 BTC
Would you like to (b)roadcast the transaction, (r)ead more transactions or (q)uit? (b/r/q)

Ok, that's an interesting take on this tool. Initially I envisioned it a simple BYOW (Bring Your Own Wallet) solution where you do all the validation elsewhere and just pipe the output into this. Your suggestion would make this tool more of a full fledged "swiss army knife" in some sense and that would come with its own complexity.

Bitcoin Core has a large list of hardcoded onion (and other types of) peers. Does it make sense to ember the whole list into the tool?
https://github.com/bitcoin/bitcoin/blob/master/contrib/seeds/nodes_main.txt

We already have those, but we're only using them for fallback. The problem with using them as a primary source is that these would be very outdated compared with what DNS seeds are returning and only to be used as last resort when you're out of other options.

Some idea. Let's connect to the first peer with some default settings (e.g. default user agent, block height = 0 etc), memorize what it responded and connect to the second peer using data returned by the first peer. Then connect to the third peer using the data returned by the second peer etc.

That would take too long, since handshakes take a while to complete. Right now we connect to a bunch of peers in parallel and this proposal would make that process serial/sequential. The whole process would take longer than now, and I'm not sure that it's worth it.
We could just expose a -u / --user-agent option and let the user pass whatever they want there.
Either way, we should probably move this type of discussion elsewhere.

Let's connect to the first peer with some default settings (e.g. default user agent, block height = 0 etc), memorize what it responded and connect to the second peer using data returned by the first peer

The pattern of connect-send-tx-disconnect is unique enough to distinguish that this is the first broadcast of the transaction, most likely by its owner. The individual fields in the version message cannot obfuscate this, but they can undesirably reveal further information if they are not generic enough (e.g. clock, odd height). This may allow linking repeated broadcasts to an otherwise unrelated transactions.

We could just expose a -u / --user-agent option ...

Given the above that would bring zero-value, but it would make it possible for the user to shoot themselves in the foot by specifying an unique user agent.


Notifications | Make email field a requirement in user profile and change language to reflect use of email (eg communication) |1|

Currently there are two email entry options on the user profile. It is not clear that once you have entered the BCeID email address that you must enter another email for notification purposes.
Desired Changes:

"BCeID Email Address" to "Email address associated with BCeID user account"
"Email" to "Alternate email address (to receive notifications)"

If "Alternate email address (to receive notifications)" field is left blank, then default to the email address in the "Email address associated with BCeID user account" field for notification purposes
https://trello.com/c/i79vHLeZ/2059-notifications-make-email-field-a-requirement-in-user-profile-and-change-language-to-reflect-use-of-email-eg-communication-1

 Notifications | Make email field a requirement in user profile and change language to reflect use of email (eg communication) |1|


backend for admin ui for original/updated author/date editing

todo:

[ ] save the original author if that is passed up from the ui

fixes: https://github.com/participedia/api/issues/510, https://github.com/participedia/usersnaps/issues/520

going to merge this, but we still need the backend work to make saving the original author work. i will add a new issue for that work.


Sound null-safety

Hey!
It'd be awesome to support sound null safety, now that it's on stable (Flutter 2.0.0)

I can try working on a PR to use as a starting point if I have time but I'd love to have some help on reviewing it

Yes! that'd be awesome, we're also internally getting on the null-safety bandwagon, at last. If you want to take a stab at it, please do! I'll be happy to review. Otherwise, I should get to it this week.


Update Task Factory company, link, and version

Task Factory is now owned by SolarWinds and the version currently is 2021.8.
Please update link to: https://www.solarwinds.com/task-factory

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

ID: 16d4ef48-6270-324e-5821-8557cf332320
Version Independent ID: da6ae67f-4d00-63fb-63b4-b615a78317aa
Content: Customize the setup for an Azure-SSIS Integration Runtime - Azure Data Factory
Content Source: articles/data-factory/how-to-configure-azure-ssis-ir-custom-setup.md
Service: data-factory
Sub-service: integration-services
GitHub Login: @chugugrace
Microsoft Alias: chugu

@usedtoliveonmars
Thanks for your feedback! We will investigate and update as appropriate.

@usedtoliveonmars
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


not working in china

i think a lot of apps can not work normally in china. so many limited to internet. so brew cask is not good for me though i love it

That is unfortunate, but there isn’t anything we can do about it.


groupby().apply().reset_index(drop = False) not working when reset_index(drop = True) does work

I am using groupby().apply() with a function that returns more than one row for each group, and getting some new multi index that is not working with dask.
I need to reset the index, without going via pandas (memory bound)
When i try to use dask's reset_index without dropping the old index with the following code:
import pandas
import dask.dataframe as dd

def makeStuff(x):
    import itertools
    import pandas
    vals = [x[2].values.tolist(), x[3].values.tolist()]
    d = list(itertools.product(*vals))
    return pandas.DataFrame.from_records(d)

a = [(1,2,3,4),(5,6,7,8), (1,2,3,6)]
b = pandas.DataFrame.from_records(a,columns=[1,2,3,4])

ddf = dd.from_pandas(b, npartitions=1)
g = ddf.groupby(1).apply(lambda x: makeStuff(x), meta={2:int, 3:int})

#not working with error:
print g.reset_index().compute()

I get this error

Length mismatch: Expected axis has 4 elements, new values have 3 elements
When i use
print g.reset_index(drop = True).compute()
I don't get an error but i lose the old groupby column values.
I found a work around, I duplicate the groupby columns, then groupby one of the copies and add the groupby column values to the new df returned from the apply. But i guess i am missing something, seems reset_index(drop = False) should work...
@TomAugspurger

I think the issue is with your meta:
In [78]: g._meta.index
Out[78]: RangeIndex(start=0, stop=0, step=1)

This is incorrect, since it should be  a MultiIndex, which confuses dask.
In [99]: meta = pd.DataFrame(columns=[2, 3], dtype=int, index=pd.MultiIndex([[], []], [[], []], names=[1, None]))

In [100]: ddf.groupby(1).apply(lambda x: makeStuff(x), meta=meta).reset_index().compute()
Out[100]:
   1  level_1  2  3
0  1        0  2  3
1  1        1  2  3
2  1        2  2  3
3  1        3  2  3
4  5        0  6  7

@TomAugspurger Thanks! will try that asap

It worked, thanks, could you explain a bit why it works or point to me to some information about meta with multiindex?
@TomAugspurger

Is there a specific part you’re confused about?
Dask dataframe tracks metadata about the types. The error message here was from reset_index failing with the wrong number of columns. That’s because with your origins meta, reset index added a single column. With the real data it added 2, one for each level.
Dask could maybe try to be a bit smarter here with the index, but for the moment defining your MI explicitly in the meta is best.
Get Outlook for iOShttps://aka.ms/o0ukef

From: thebeancounter<EMAIL_ADDRESS>Sent: Sunday, December 3, 2017 6:25:52 AM
To: dask/dask
Cc: Tom Augspurger; Mention
Subject: Re: [dask/dask] groupby().apply().reset_index(drop = False) not working when reset_index(drop = True) does work (#2929)
It worked, thanks, could you explain a bit why it works or point to me to some information about meta with multiindex?
@TomAugspurgerhttps://github.com/tomaugspurger
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dask/dask/issues/2929#issuecomment-348761520, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABQHIjNYBIpHCqlQO0gfaBgwsO0by7jBks5s8pNPgaJpZM4QrVM4.

I'm still getting this problem here.
The problem is that I'm using
        balanced_schema = dd.utils.make_meta(images_df)

To acquire the meta from the input dataframe.
I later do
        balanced_df = images_df.groupby(self.images_column_class_id)
        balanced_df = balanced_df.apply(self.balance_class, meta=balanced_schema)
        return balanced_df

And this ends up with a multindex that looks like:
> balanced_df.compute().index

MultiIndex([(0,  '1'),
            (1, '14'),
            (2,  '5'),
            (3,  '7'),
            (4,  '9'),
            (5, '11'),
            (6, '13'),
            (7, '15'),
            (8, '17'),
            (9, '19')],
           names=['image_class_id', 'image_id'])

So now how am I supposed to construct this kind of index for the meta attribute?
When I try to use the index parameter of make_meta it doesn't seem to work.

If I try to use something like:
        balanced_schema = pd.DataFrame(
            columns=images_df.columns,
            index=pd.MultiIndex([[],[]], [[],[]], names=['image_class_id', 'image_id'])
        )
        balanced_schema = balanced_schema.astype(dtype={
            'image_width': np.int64,
            'image_height': np.int64,
            'image_path': str,
            'image_class_id': np.int64
        })

        balanced_df = images_df.groupby(self.images_column_class_id)
        balanced_df = balanced_df.apply(self.balance_class, meta=balanced_schema)
        balanced_df.reset_index().compute()

I get another error:
ValueError: Metadata inference failed in `reset_index`.

You have supplied a custom function and Dask is unable to
determine the type of output that that function returns.

To resolve this please provide a meta= keyword.
The docstring of the Dask function you ran should have more information.

Original error is below:
------------------------
ValueError('cannot insert image_class_id, already exists')

Traceback:
---------
  File "/nix/store/fzqxpf40mj6cz3acgcjmp06dcvff87da-python3.7-dask-2.2.0/lib/python3.7/site-packages/dask/dataframe/utils.py", line 170, in raise_on_meta_error
    yield
  File "/nix/store/fzqxpf40mj6cz3acgcjmp06dcvff87da-python3.7-dask-2.2.0/lib/python3.7/site-packages/dask/dataframe/core.py", line 4714, in _emulate
    return func(*_extract_meta(args, True), **_extract_meta(kwargs, True))
  File "/nix/store/fzqxpf40mj6cz3acgcjmp06dcvff87da-python3.7-dask-2.2.0/lib/python3.7/site-packages/dask/utils.py", line 854, in __call__
    return getattr(obj, self.method)(*args, **kwargs)
  File "/nix/store/rsaj71j3gifgqdw6ywrms2shlkkdlp6a-python3.7-pandas-0.25.0/lib/python3.7/site-packages/pandas/core/frame.py", line 4689, in reset_index
    new_obj.insert(0, name, level_values)
  File "/nix/store/rsaj71j3gifgqdw6ywrms2shlkkdlp6a-python3.7-pandas-0.25.0/lib/python3.7/site-packages/pandas/core/frame.py", line 3571, in insert
    self._data.insert(loc, column, value, allow_duplicates=allow_duplicates)
  File "/nix/store/rsaj71j3gifgqdw6ywrms2shlkkdlp6a-python3.7-pandas-0.25.0/lib/python3.7/site-packages/pandas/core/internals/managers.py", line 1172, in insert
    raise ValueError("cannot insert {}, already exists".format(item))

@CMCDragonkai can you provide a minimal example?

The balancing code is complicated, it takes each partition and returns a new partition which has the same columns but more or less rows.

Do you have a minimal example?

Ok I created one:
import pandas as pd
import dask.dataframe as dd

df = pd.DataFrame(
    {
        'image_id': [1,2,3,4,5],
        'image_class_id': [1,1,0,0,2],
        'data': [0,1,2,3,4]
    })

df.set_index('image_id', inplace=True)

df = dd.from_pandas(df, npartitions=1)

df_meta = dd.utils.make_meta(df)

def balance_class(partition):
    row = partition.iloc[0]
    row = row.copy()
    row['data'] = 4
    return partition.append([row])

balanced_df = df.groupby('image_class_id')
balanced_df = balanced_df.apply(balance_class, meta=df_meta)

# we want just the image_id as the index at the end
balanced_df = balanced_df.reset_index(drop=True)

df_output = balanced_df.compute()

So basically I need something like:
balanced_df.reset_index(level=0, drop=True)

Your meta is incorrect. You're saying that the index name is image_class, but it's actually image_class_id
In [29]: balanced_df = df.groupby('image_class_id')
    ...: balanced_df = balanced_df.apply(balance_class, meta=df_meta)
    ...:

In [30]: df_meta.index.name
Out[30]: 'image_id'

In [31]: balanced_df.index.name
Out[31]: 'image_id'

In [33]: balanced_df.compute()
Out[33]:
                  image_class_id  data
image_class_id
0              3               0     2
               4               0     3
               3               0     4
1              1               1     0
               2               1     1
               1               1     4
2              5               2     4
               5               2     4

In [34]: balanced_df.compute().index.names
Out[34]: FrozenList(['image_class_id', None])

That is just what is provided by df_meta = dd.utils.make_meta(df). But even if I get the correct name, that doesn't help me reset the index back to the original image_id.


fix(componentMemberOrder): fixed watch-follows-props / grouping for multiple watched props

Hi Nate,
Thanks for creating tslint-stencil!
Our team is currently implementing it and we are running into a couple issues. This PR is the first of a couple I will create over the next few days. Hopefully you are open to PRs. I've tried to keep changes to a minimum, but this PR specifically needed some extra lines to not get hacky.
I've already spotted some other stuff that my changes will simplify, so I might refactor those if you'd like that.
If I can improve the PRs in any way please let me know.
Thanks, Patrick

Very open to PRs, thank you! I have been totally swamped lately, so the help is much appreciated—feel free to refactor whatever looks like it can be simplified.

Thanks for the quick merges!


refactor(helper-cli): Drop the --package-configuration-file option

The set of package configurations as either of the following:

--package-configuration-file specifies a single file containing all package configurations.
--package-configuration-dir specifies a directory containing a hierarchical file structure with each file containing a single package configuration.

Using --package-configuration-file has the drawbacks that it normally leads to very large files which are unnecessarily hard to get an overview of and to maintain. At the same time it seems not to provide any benefits. So, drop the --package-configuration-file option as it does not add value in order to keep things simple.
Note that there are further helper-cli commands with a --package-configuration-file option left by intention. However, these have different semantics.
BREAKING CHANGE: --package-configuration-file can not be used to specify a single package curation file containing a list             of package configurations. Package configuration should be organized in a hierarchical structure instead and passed via --package-configuration-dir.

Note that there are further helper-cli commands with a --package-configuration-file option left by intention. However, these have different semantics.

Could you please go into more detail here in the commit message? What are these different semantics? Why can't files grow large in those cases?

Also, what about --package-configuration-file in non-helper CLI commands? ARe you planning to remove these in a follow-up?

Also, what about --package-configuration-file in non-helper CLI commands? Are you planning to remove these in a follow-up?

Yes.

Failing test is unrelated.


Participant grid hot fixes

An issue with parsing sequencing group external IDs context
Pagination was not working when selected manually
Swapping lodash broke column values from meta
Better logic for hiding empty (but present) columns by default
Fixed an issue for family links showing undefined for no families

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

Project coverage is 79.79%. Comparing base (7c88308) to head (9a96e2f).

Files
Patch %
Lines

models/models/web.py
64.28%
10 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #845   +/-   ##
=======================================
  Coverage   79.79%   79.79%
=======================================
  Files         168      168
  Lines       14127    14141   +14
=======================================
+ Hits        11272    11284   +12
- Misses       2855     2857    +2

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


Right click on transition arrow not working

Description of the bug
There is a transition-specific right click menu, it currently only comes up if you right click on the label of the transition. It won't come up if you right click the arrow itself.

To reproduce

Be in project of any type
Right click on transition (arrow part specifically)
Transition edit/delete menu doesn't come up

Expected behavior
The transition right click menu (with edit and delete options) should also come up when the arrow part of the transition is clicked (as well as when the label is clicked which is what currently happens, this should not be changed).
Additional information
No response

Ah I remember this now.
Because of #342 the edge corresponds to multiple transitions so you cant right click the edge anymore to get the context menu for the transition
Future groups could support this by mimicking JFLAP in that double clicking the edge will edit the first transition. Implementation would go somewhere around here
https://github.com/automatarium/automatarium/blob/a627642210a95bad2dce27d7aa60a39d452922f2/frontend/src/components/TransitionSet/TransitionSet.tsx#L173-L179


PP-5366 - use inputmode and pattern attribute on numeric fields

The Design System team have done some accessibility testing on input type="number" and deemed them problematic. They have suggested using
input type="text" inputmode="numeric" pattern="[0-9]*"
instead as documented here https://github.com/alphagov/govuk-frontend/issues/1449

@jonheslop make sure you pair this change with novalidate https://github.com/alphagov/govuk-design-system/issues/941#issuecomment-506286337


default url route to use pretty url and query params format together

What steps will reproduce the problem?
my problem is i have an old api which is still working with non pretty urls. but my new api is working with pretty urls. would like to have them in same application.
What is the expected result?
pretty urls, and non pretty urls works together
What do you get instead?
only one is working
Additional info

Q
A

Yii version
2.0.27

PHP version
7.1.32

Operating system
Linux

sollution would be to create a default UrlRule which could be added as rules in UrlManager. The Rule would look like this:
class DefaultUrlRule extends BaseObject implements UrlRuleInterface
{

    /**
     * Parses the given request and returns the corresponding route and parameters.
     * @param UrlManager $manager the URL manager
     * @param Request $request the request component
     * @return array|bool the parsing result. The route and the parameters are returned as an array.
     * If false, it means this rule cannot be used to parse this path info.
     */
    public function parseRequest($manager, $request)
    {
        Yii::debug('Pretty URL not enabled. Using default URL parsing logic.', __METHOD__);
        $route = $request->getQueryParam($manager->routeParam, '');
        if (is_array($route)) {
            $route = '';
        }

        return [(string) $route, []];
    }

    /**
     * Creates a URL according to the given route and parameters.
     * @param UrlManager $manager the URL manager
     * @param string $route the route. It should not have slashes at the beginning or the end.
     * @param array $params the parameters
     * @return string|bool the created URL, or false if this rule cannot be used for creating this URL.
     */
    public function createUrl($manager, $route, $params)
    {
        return $manager->createUrl([$route] + $params);
    }
}

Hi,
i hope i can clarify this: so i have a yii2 advanced template with one api application. My old urls looks like following:
/index.php?r=api/v1/room/1
the new ones:
/api/v2/room/1
it would be ideally be still in same yii2 application but different modules. On modules level i cannot touch the url manager (of course in this point it is already in full work) So this is the reason i need a way have them work together. As I saw in code for now it can work only one way. It should get pretty or not pretty urls.
My solution would give a rule to urlmanager which can parse urls from non pretty format.

'enablePrettyUrl' => true, does not disable non-pretty URLs. 'enableStrictParsing' => true, does but you haven't mentioned it so I assume you don't have it turned on.

Hi,
this is my url: /index.php?r=v1/photo/check-token&XDEBUG_SESSION_START=
my urlmanager settings:
'urlManager' => [
'enablePrettyUrl' => true,
'enableStrictParsing' => false,
'showScriptName' => false,
'rules' => [
['class' => UrlRule::class, 'controller' => 'v2/user'],
...
if i am looking into the code UrlManager line 330             $pathInfo = $request->getPathInfo();
this give me back an empty string (which is correct according docu above method - A path info refers to the part that is after the entry script and before the question mark (query string).) but this should hold my route. (which is coming from r=) but it does not care about the r= query param anywhere there.
any suggestion?

I need a reproducible test case to suggest anything. Currently I'm not sure what the problem is.


Docs and examples

The branch is named dense subset, because I'll probably also add fused subsetting + dense layers.

Ehh, this is enough docs to start handing it off to students to take a look, so I'm going to merge and the substantive changes can come in a separate PR.

Oh crap, I thought coverage=true/Julia nightly/ubuntu-latest/x64/pull_request were code coverage runs 😅.


{"log":"time=\"2018-02-07T17:54:51Z\" level=info msg=\"rancher id [8744]: Container with docker id [421c48331766a1247dc912bba70da94ec4be55073de2df13a095040c72347c2a] has been started\" \n","stream":"stdout","time":"2018-02-07T17:54:51.533583098Z"}
{"log":"time=\"2018-02-07T17:54:51Z\" level=info msg=\"Reply: 3323215d-9e3d-44eb-a877-deb96fa31b38, compute.instance.activate, 1ihm8740:instanceHostMap\" \n","stream":"stdout","time":"2018-02-07T17:54:51.540755503Z"}
{"log":"time=\"2018-02-07T17:54:51Z\" level=info msg=\"Reply: 0b72f051-649c-497e-a254-91b7307e5ce1, compute.instance.activate, 1ihm8741:instanceHostMap\" \n","stream":"stdout","time":"2018-02-07T17:54:51.543290417Z"}
{"log":"time=\"2018-02-07T17:54:59Z\" level=warning msg=\"stat /var/lib/rancher/state/info.json: no such file or directory\" \n","stream":"stdout","time":"2018-02-07T17:54:59.381571772Z"}
{"log":"time=\"2018-02-07T17:55:19Z\" level=error msg=\"retry check cloud provider\" count=5 error=\"EC2MetadataRequestError: failed to get EC2 instance identity document\\ncaused by: RequestError: send request failed\\ncaused by: Get http://<IP_ADDRESS>/latest/dynamic/instance-identity/document: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)\" \n","stream":"stdout","time":"2018-02-07T17:55:19.698478343Z"}
{"log":"time=\"2018-02-07T17:55:49Z\" level=warning msg=\"stat /var/lib/rancher/state/info.json: no such file or directory\" \n","stream":"stdout","time":"2018-02-07T17:55:49.698598373Z"}
{"log":"time=\"2018-02-07T17:56:10Z\" level=error msg=\"checking aws cloud provider error after 6 attempts, last error: EC2MetadataRequestError: failed to get EC2 instance identity document\\ncaused by: RequestError: send request failed\\ncaused by: Get http://<IP_ADDRESS>/latest/dynamic/instance-identity/document: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)\" \n","stream":"stdout","time":"2018-02-07T17:56:10.009514829Z"}
{"log":"time=\"2018-02-07T17:56:31Z\" level=info msg=\"Received event: Name: compute.instance.deactivate, Event Id: f9156c8e-4423-4608-8127-d7bc49ff8211, Resource Id: 1ihm8739\" \n","stream":"stdout","time":"2018-02-07T17:56:31.099042427Z"}
{"log":"time=\"2018-02-07T17:56:41Z\" level=info msg=\"rancher id [8742]: Container with docker id [3caa0b653c8ed65923cf139831d93757360ff1784713c70b545791cf0b341306] has been deactivated\" \n","stream":"stdout","time":"2018-02-07T17:56:41.308351904Z"}
{"log":"time=\"2018-02-07T17:56:41Z\" level=info msg=\"Reply: f9156c8e-4423-4608-8127-d7bc49ff8211, compute.instance.deactivate, 1ihm8739:instanceHostMap\" \n","stream":"stdout","time":"2018-02-07T17:56:41.317915348Z"}
{"log":"time=\"2018-02-07T17:56:42Z\" level=info msg=\"Received event: Name: storage.volume.remove, Event Id: da89c993-7911-42ce-a2f5-a69e7d5c8ae3, Resource Id: 1vspm10235\" \n","stream":"stdout","time":"2018-02-07T17:56:42.939989506Z"}
{"log":"time=\"2018-02-07T17:56:42Z\" level=info msg=\"rancher id [1vspm10235]: Volume with name [] has been removed\" \n","stream":"stdout","time":"2018-02-07T17:56:42.974602968Z"}
{"log":"time=\"2018-02-07T17:56:42Z\" level=info msg=\"Reply: da89c993-7911-42ce-a2f5-a69e7d5c8ae3, storage.volume.remove, 1vspm10235:volumeStoragePoolMap\" \n","stream":"stdout","time":"2018-02-07T17:56:42.974621375Z"}
{"log":"time=\"2018-02-07T17:56:42Z\" level=info msg=\"Received event: Name: compute.instance.deactivate, Event Id: 89da9458-046d-492a-9e1c-67068182e1da, Resource Id: 1ihm8740\" \n","stream":"stdout","time":"2018-02-07T17:56:42.986736572Z"}
{"log":"time=\"2018-02-07T17:56:42Z\" level=info msg=\"Received event: Name: compute.instance.deactivate, Event Id: d02a46e9-793b-4478-8ac7-1f468b03968d, Resource Id: 1ihm8741\" \n","stream":"stdout","time":"2018-02-07T17:56:42.987803152Z"}
{"log":"time=\"2018-02-07T17:56:43Z\" level=info msg=\"rancher id [8743]: Container with docker id [dd8dc2600f6ac8414e85b6ccc444d14d89ec04674caf473e3a600d003bbb7230] has been deactivated\" \n","stream":"stdout","time":"2018-02-07T17:56:43.193293029Z"}
{"log":"time=\"2018-02-07T17:56:43Z\" level=info msg=\"rancher id [8744]: Container with docker id [421c48331766a1247dc912bba70da94ec4be55073de2df13a095040c72347c2a] has been deactivated\" \n","stream":"stdout","time":"2018-02-07T17:56:43.193367669Z"}
{"log":"time=\"2018-02-07T17:56:43Z\" level=info msg=\"Reply: d02a46e9-793b-4478-8ac7-1f468b03968d, compute.instance.deactivate, 1ihm8741:instanceHostMap\" \n","stream":"stdout","time":"2018-02-07T17:56:43.204204496Z"}
{"log":"time=\"2018-02-07T17:56:43Z\" level=info msg=\"Reply: 89da9458-046d-492a-9e1c-67068182e1da, compute.instance.deactivate, 1ihm8740:instanceHostMap\" \n","stream":"stdout","time":"2018-02-07T17:56:43.204405029Z"}
{"log":"time=\"2018-02-07T17:56:46Z\" level=info msg=\"Received event: Name: storage.volume.remove, Event Id: 8b3a942a-c7d0-4e30-a17e-bbab5379a2d7, Resource Id: 1vspm10236\" \n","stream":"stdout","time":"2018-02-07T17:56:46.78463293Z"}
{"log":"time=\"2018-02-07T17:56:46Z\" level=info msg=\"rancher id [1vspm10236]: Volume with name [] has been removed\" \n","stream":"stdout","time":"2018-02-07T17:56:46.826962746Z"}
{"log":"time=\"2018-02-07T17:56:46Z\" level=info msg=\"Reply: 8b3a942a-c7d0-4e30-a17e-bbab5379a2d7, storage.volume.remove, 1vspm10236:volumeStoragePoolMap\" \n","stream":"stdout","time":"2018-02-07T17:56:46.826984783Z"}
{"log":"time=\"2018-02-07T17:56:47Z\" level=info msg=\"Received event: Name: storage.volume.remove, Event Id: e16492ff-69b0-4b31-b362-ac4578d11246, Resource Id: 1vspm10237\" \n","stream":"stdout","time":"2018-02-07T17:56:47.020049436Z"}
{"log":"time=\"2018-02-07T17:56:47Z\" level=info msg=\"rancher id [1vspm10237]: Volume with name [] has been removed\" \n","stream":"stdout","time":"2018-02-07T17:56:47.055475927Z"}
{"log":"time=\"2018-02-07T17:56:47Z\" level=info msg=\"Reply: e16492ff-69b0-4b31-b362-ac4578d11246, storage.volume.remove, 1vspm10237:volumeStoragePoolMap\" \n","stream":"stdout","time":"2018-02-07T17:56:47.055508281Z"}
{"log":"time=\"2018-02-07T17:56:49Z\" level=info msg=\"Received event: Name: storage.image.activate, Event Id: 6edc915b-dbb5-450a-95c3-6b9001acc4c1, Resource Id: 1ispm8739\" \n","stream":"stdout","time":"2018-02-07T17:56:49.618055614Z"}
{"log":"time=\"2018-02-07T17:56:49Z\" level=info msg=\"Reply: 6edc915b-dbb5-450a-95c3-6b9001acc4c1, storage.image.activate, 1ispm8739:imageStoragePoolMap\" \n","stream":"stdout","time":"2018-02-07T17:56:49.619098261Z"}
{"log":"time=\"2018-02-07T17:56:49Z\" level=info msg=\"Received event: Name: storage.volume.activate, Event Id: f747f30d-5e6a-4c0b-85e8-84c1fe7bd634, Resource Id: 1vspm10244\" \n","stream":"stdout","time":"2018-02-07T17:56:49.653033611Z"}
{"log":"time=\"2018-02-07T17:56:49Z\" level=info msg=\"Reply: f747f30d-5e6a-4c0b-85e8-84c1fe7bd634, storage.volume.activate, 1vspm10244:volumeStoragePoolMap\" \n","stream":"stdout","time":"2018-02-07T17:56:49.653557271Z"}
{"log":"time=\"2018-02-07T17:56:49Z\" level=info msg=\"Received event: Name: compute.instance.activate, Event Id: 00c77db2-4e17-4396-aa50-4da86e29c733, Resource Id: 1ihm8748\" \n","stream":"stdout","time":"2018-02-07T17:56:49.739189294Z"}
{"log":"time=\"2018-02-07T17:56:50Z\" level=info msg=\"rancher id [8751]: Container with docker id [8b97818941c7cc59f2835f32675b1404db2492f631306527b1e2682f3051021f] has been started\" \n","stream":"stdout","time":"2018-02-07T17:56:50.04283538Z"}
{"log":"time=\"2018-02-07T17:56:50Z\" level=info msg=\"Reply: 00c77db2-4e17-4396-aa50-4da86e29c733, compute.instance.activate, 1ihm8748:instanceHostMap\" \n","stream":"stdout","time":"2018-02-07T17:56:50.300970199Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Received event: Name: storage.image.activate, Event Id: d183f5fa-dea6-4f90-8f98-ae025a9afa4d, Resource Id: 1ispm8741\" \n","stream":"stdout","time":"2018-02-07T17:56:51.180868729Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Reply: d183f5fa-dea6-4f90-8f98-ae025a9afa4d, storage.image.activate, 1ispm8741:imageStoragePoolMap\" \n","stream":"stdout","time":"2018-02-07T17:56:51.182290214Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Received event: Name: storage.image.activate, Event Id: 4c405ea4-a7de-4424-a390-40a9c450675d, Resource Id: 1ispm8742\" \n","stream":"stdout","time":"2018-02-07T17:56:51.188835605Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Reply: 4c405ea4-a7de-4424-a390-40a9c450675d, storage.image.activate, 1ispm8742:imageStoragePoolMap\" \n","stream":"stdout","time":"2018-02-07T17:56:51.190057848Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Received event: Name: storage.volume.activate, Event Id: c24094f5-fd79-477c-ae1b-ab89a798779e, Resource Id: 1vspm10246\" \n","stream":"stdout","time":"2018-02-07T17:56:51.216634447Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Reply: c24094f5-fd79-477c-ae1b-ab89a798779e, storage.volume.activate, 1vspm10246:volumeStoragePoolMap\" \n","stream":"stdout","time":"2018-02-07T17:56:51.217252092Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Received event: Name: storage.volume.activate, Event Id: 5d474508-add8-4c3b-8946-a2ea551c2b86, Resource Id: 1vspm10245\" \n","stream":"stdout","time":"2018-02-07T17:56:51.224269677Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Reply: 5d474508-add8-4c3b-8946-a2ea551c2b86, storage.volume.activate, 1vspm10245:volumeStoragePoolMap\" \n","stream":"stdout","time":"2018-02-07T17:56:51.224925535Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Received event: Name: compute.instance.activate, Event Id: 126e7169-a6cd-45b1-ae38-3bdd76ec61fd, Resource Id: 1ihm8750\" \n","stream":"stdout","time":"2018-02-07T17:56:51.306629646Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Received event: Name: compute.instance.activate, Event Id: 3fc31a67-5f66-41a9-8260-a05063083f0e, Resource Id: 1ihm8749\" \n","stream":"stdout","time":"2018-02-07T17:56:51.317178912Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"rancher id [8753]: Container with docker id [6d0cfb2f658fce741af7c94487545a243f2767cebbe5476e1f65f7b4ceed28ad] has been started\" \n","stream":"stdout","time":"2018-02-07T17:56:51.507691249Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"rancher id [8752]: Container with docker id [032a79e19b9f3114f0007e334c887c0136f5190eedccc45966584048a329913d] has been started\" \n","stream":"stdout","time":"2018-02-07T17:56:51.587529204Z"}
{"log":"time=\"2018-02-07T17:56:51Z\" level=info msg=\"Reply: 126e7169-a6cd-45b1-ae38-3bdd76ec61fd, compute.instance.activate, 1ihm8750:instanceHostMap\" \n","stre

@nexcode Hello, Did you solve this problem?

@nexcode Hello, Did you solve this problem?

Hi, we don't use rancher anymore

My problem was the rancher server door. After I left the default (8080) stopped giving problem.


Draw a Polyline with GPS coordinates

Hi everyone,
For my company, I must develop a function who draw a path with GPS coordinates. Indeed, my company use GPS to track runners during multiple race.
So, i tried many differents way to draw my polyline, my last version is:
`_public.drawPolyline = function(pool, id, points, color, opacity, weight) {
try {
var l = points.length;
var latlngs = [];
var j=1;
for (var i = 0; i < l; i++) {
latlngs[i] = new ol.geom.Point(ol.proj.transform([points[i].longitude, points[i].latitude], 'EPSG:4326', 'EPSG:3857'));
};
            var style = new ol.style.Style({
                stroke: new ol.style.Stroke({
                    color: color,
                    width: weight,
                    opacity: opacity,
                    radius: 6
                })
            });
            //Check if pool exists, else create it
            if (!_private._polyline.containsKey(pool)) {
                _private._polyline.put(pool, new jQuery.Hashtable())
            }
            var currentPool = _private._polyline.get(pool);
            //Check if line exists, if yes, update path
            if (currentPool.containsKey(id)) {
                var vectorLayer = currentPool.get(id).layer;
                vectorLayer.setVisible(true);
            } else {
                var linefeature = new ol.source.Vector('Path', {styleMap: style});
                var comp = new ol.geom.LineString(latlngs);
                var featurecomp = new ol.Feature({
                    name: "Comp",
                    geometry: comp
                });
                var vector = new ol.layer.Vector({
                    title: pool,
                    visible: true,
                    source: linefeature
                });
                linefeature.addFeatures(featurecomp);
                currentPool.put(id, linefeature);
                currentPool.put(id, { "type": "Path", "url": id, "layer": vector });
                var vectorLayer = currentPool.get(id).layer;
                vectorLayer.setVisible(true);
            }
        } catch (e) {
            console.log(e.message);
        }
    }`

So, I wanted to draw a Polyline with a function with differents parameters: - pool: an Hashtable storing my polyline - id: not important - points: Contain an array of objects ( {"location":[{"id":1854703,"latitude":42.831,"longitude":0.30087,"altitude":0,"hpl":0,"vpl":0,"speed":4,"direction":258,"date":"2012-08-25 03:43:23","device_id":786,"datereceived":"2012-08-25 03:43:23"})
According to my test server, I have no error in my logs, but, I still don't have a polyline drawed.
If someone could help me with this, it would be great.
Regards, Onchman.

http://stackoverflow.com/questions/40717579/draw-a-polyline-with-gps-coordinates
Please keep discussion central and do not cross-post


Using iPhone as a NFC Tag

Hello everybody,
I want build an mobile app, using iPhone as a NFC Tag, touch it on NFC Reader. NFC Reader can get data from iPhone. Can i do it ?

Hi, the scenario you describe is not possible because iOS doesn't have API to act as NFC tag.

Close due to no further activity


[FEATURE REQUEST] Implement a set_margin_all method for WidgetExt

I often use the same margins for my widgets and find using the methods in WidgetExt rather repetitive. To reduce redundant code I'd like to have a method set_margin_all() that sets all margins at once.
This would reduce this code:
let margin = 10;
widget.set_margin_bottom(margin);
widget.set_margin_end(margin);
widget.set_margin_start(margin);
widget.set_margin_top(margin);

to just one line:
widget.set_margin_all(10);

Maybe there's already a solution for this I'm not aware of and of course I could just implement my own trait for this but I think this could be useful for others, too.

Upstream removed such method in GTK 4. I don't see why we should do it here.

Well to be more precise, before there used to be a property margin other than the other specific margin ones which was confusing. I would open an issue upstream asking for providing such helper method if possible

Upstream doesn't want this feature, so I'm closing this issue as well: https://gitlab.gnome.org/GNOME/gtk/-/issues/4145.


ISSUE: Since updating to the latest zwavejs2mqtt in HA, keymaster no longer finds it

Describe the bug
Since the update, I now get this error message in my logs:
This error originated from a custom integration.

Logger: custom_components.keymaster.binary_sensor
Source: custom_components/keymaster/binary_sensor.py:49
Integration: keymaster (documentation, issues)
First occurred: 10:19:02 AM (8 occurrences)
Last logged: 10:21:53 AM

Z-Wave integration not found

Environment (please complete the following information):

OS: Home Assistant OS 8.4
Type of system that HA is running on: RPi4B
Home Assistant version: core-2022.7.7
Component version: v0.0.82
Z-Wave integration name:zwavejs2m1tt
Lock make and model: Schlage BE469

Logs
This error originated from a custom integration.

Logger: custom_components.keymaster.binary_sensor
Source: custom_components/keymaster/binary_sensor.py:49
Integration: keymaster (documentation, issues)
First occurred: 10:19:02 AM (8 occurrences)
Last logged: 10:21:53 AM

Z-Wave integration not found

Screenshots
none
Additional context
Only noticed the logs today, after the update earlier today.

Really?  No one else has this problem?  It is not allowing me to add or delete codes. Stopped sending notifications.

The zwavejs integration is loaded?

Yeah. And I reloaded both integrations. All zwave entities are connected and working. I gave up, deleted one of the keymaster integrations and started over. It works now, but the other one is still problematic.


Design API endpoints to serve data to applications

We need some kind of way for our applications to access our data. And that doesn't include dumping the entire database into JSON and sending it to the app. We should be smart about it.
For example, we might have an endpoint like /api/categories, which would list all the categories. Then we need some to get tours by category, waypoints/landmarks by tour, etc.
DoD: Documentation of API endpoints and expected output. This could be through something like Swagger docs, or through our wiki. Maybe both, I don't know.

Completed initial design of swagger doc. PoW can be found at docs/swagger.yaml


Implement Google Drive Uploading

After the file is saved, we need to store it in a users Google Drive
AC
Prompts for Google Drive permission on startup
After navigating away from camera reocrding page, which triggers the save, upload to Google Drive.
Research -
This is probably hard. Example Github repo to do something similar in .net maui: https://dev.to/jaymalli_programmer/gsuitgoogle-api-integration-in-net-maui-3kch
Here is an android integration w/ drive to store pictures: https://github.com/googlearchive/drive-android-quickstart

in the process of this, need a SHA-1 for my OAuth cred generation??

Issues: Google Play console is shut down cause i let it get expired. I need to create a new one, and probably create a custom email domain that i can utilize for this stuff.


[AutoPR postgresql/resource-manager/mysql/resource-manager] Swagger update to include Azure Active Directory Api for PG and MySQL

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6701

(message created by the CI based on PR content)


Add unsubscribe interactionType

@sawhneyh @prabhum2 Please review

@sawhneyh @prabhum2 Please help approve and merge. Thanks.

Thank you @sawhneyh for reviewing and approving. @prabhum2 Can you help merge this?


make indicator MenuOptions strings

Change indicator MenuOptions to strings so people can use "invisible" characters for things like coloring.
Also make MenuOption for "line indicator width" to support multiple character indicators lining up correctly.

Close with 0b513d8