Exporting to HTML

Hi,
I need to export the content of editor to HTML format. Is there any inbuilt function to do, if no is there any plugin to do that?
I saw this issue https://github.com/react-page/react-page/issues/507 but the links given in that are giving 404.
Thanks

Or if not, is there any way to convert this serialised JSON to PDF or DOC?

you can use ReactDomServer to render to a html string:
import { HTMLRenderer } from "@react-page/renderer";
import ReactDOMServer from 'react-dom/server';

const html String = ReactDOMServer.renderToString(<HTMLRenderer state={yourEditorState} plugins={yourPlugins} />)


Trivial English fixes

Sweet changes! Thanks! @ujihisa

Oh it is great work! You saved a lot of people from this issue! And this PR is the origin of the fix. It is honored for mobber as me 😄


Continuous tapping on bold or italic toolbar option stuck.  [v9.3.1]

Is there an existing issue for this?

[X] I have searched the existing issues

Flutter Quill version
9.3.1
Steps to reproduce
Video link

Select Text example
Highlight (bold) first word and then second word
Come back to first word continuously try to bold/unbold that word it will stuck (bold toolbar option will be un-responsive)

Expected results
There should be easy toggling. For bold and italic toolbar option in editor.
Actual results
Stuck Bold And Italic on continuous tapping.
Additional Context

Screenshots / Video demonstration
[Upload media here]

Logs
[Paste your logs here]

@gauhun Can you confirm if this is still an issue?


pull request for e2e test at 01/31/2017 08:26:10

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Problem when adding simulated traffic in Rviz

I have followed the OpenPlanner tutorial (https://www.youtube.com/watch?v=FKM8v79X3_s&t=63s)
but I found the message such as
Performance Alert: Can't Find Lane Information in Global Path, Searching the Map :(
when I launched OpenPlannerSimulator2.launch and set the initial pose in Rviz.
I modified OpenPlannerSimulator2.launch so that "mapFileName" 's default value indicates vector map folder's location.

Thanks in advance.
Specifications

Ubuntu version: 14.04
ROS version: Indigo
Autoware branch: 1.7

Hi, I missed to tell you that the pink simulation car appeared in your tutorial does not appear in my case showing the messages mentioned above.
What can I do to fix this problem?
Thanks in advance.

if you want to use simulated cars, I recommend using branch feature/OpenPlanner
and follow tutorial
https://youtube.com/watch?v=BS5nLtBsXPE&list=PLVAImlqqGbr5G1EjscMom6_JcwjxCMX2g&t=0s&index=17

Dear @hadiTab  Maybe new feature is added, but should not affect the basic operation.
the video I referenced above for OpenPlanner 1.5 which represent the branch feature/OpenPlanner


Adding Cooper Hewitt collection API.

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide.

[x] Your changes are made in the README file, not the auto-generated JSON.

[x] Your additions are ordered alphabetically.

[x] Each table column should be padded with one space on either side.

[x] You have searched the repository for any relevant issues or PRs.

[x] Any category you are creating has the minimum requirement of 3 items.

Hello @rnackman
Thanks for the PR. This looks like a great API! One small favour, would you mind moving "Smithsonian Design Museum" into the description, please
Thanks!

Thanks!


Deprecating 32-bit MSI installer for Windows

What is changing?
SAM CLI currently releases MSI installers for Windows in both 32-bit and 64-bit flavors. We are planning on deprecating the 32-bit flavor with plans to invest more into improving the 64-bit installer in future.
If you are using a 64-bit hardware you should not be impacted. You can continue to use the 64-bit installer. Most laptops, desktops and cloud machines use 64-bit hardware because it offers more security, supports larger more than 4GB of RAM, and is even required to run Docker.
Am I impacted?
Following instructions from Microsoft's Support page to determine if you are running a 32-bit or 64-bit operating system.
If you are running a 64-bit operating system, you will not be impacted.
If you are running a 32-bit operating system and do not have a path to migrating to a 64-bit OS, let us know here.

https://github.com/awslabs/aws-sam-cli/releases/tag/v0.22.0 has only the 64 bit installer. Closing this issue.


Update sbt-microsites to v1.4.2

Codecov Report
Patch coverage has no change and project coverage change: +0.07 :tada:

Comparison is base (53246ee) 89.56% compared to head (a741833) 89.64%.

:exclamation: Current head a741833 differs from pull request most recent head 05ad2e5. Consider uploading reports for the commit 05ad2e5 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1106      +/-   ##
===========================================
+ Coverage    89.56%   89.64%   +0.07%
===========================================
  Files          124      124
  Lines        10057    10050       -7
  Branches       750      695      -55
===========================================
+ Hits          9008     9009       +1
+ Misses        1049     1041       -8

Impacted Files
Coverage Δ

...ore/src/main/scala/com/twitter/algebird/Fold.scala
67.21% <0.00%> (-2.02%)
:arrow_down:

...c/main/scala/com/twitter/algebird/MapAlgebra.scala
77.45% <0.00%> (-1.55%)
:arrow_down:

...re/src/main/scala/com/twitter/algebird/QTree.scala
78.57% <0.00%> (-1.20%)
:arrow_down:

...a/com/twitter/algebird/immutable/BloomFilter.scala
95.27% <0.00%> (-0.79%)
:arrow_down:

...c/main/scala/com/twitter/algebird/Eventually.scala
100.00% <0.00%> (ø)

.../scala/com/twitter/algebird/immutable/BitSet.scala
97.06% <0.00%> (+0.20%)
:arrow_up:

.../main/scala/com/twitter/algebird/HyperLogLog.scala
90.29% <0.00%> (+0.37%)
:arrow_up:

.../main/scala/com/twitter/algebird/BloomFilter.scala
95.23% <0.00%> (+0.38%)
:arrow_up:

.../main/scala/com/twitter/algebird/JavaMonoids.scala
79.66% <0.00%> (+1.69%)
:arrow_up:

...src/main/scala/com/twitter/algebird/Interval.scala
80.15% <0.00%> (+5.55%)
:arrow_up:

... and 1 more

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

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


az aks install-cli fails on windows

Describe the bug
az aks install-cli fails on windows
To Reproduce
az aks install-cli on windows
Expected behavior
installs kubectl
Additional context
C:\Users\scott\Desktop\foofoo> az aks install-cli
cannot import name 'SFTPAttributes'
Traceback (most recent call last):
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\knack\cli.py", line 197, in invoke
    cmd_result = self.invocation.execute(args)
  File "C:\Users\troyd\AppData\Local\Temp\pip-install-_jje8pgf\azure-cli-core\azure\cli\core\commands\__init__.py", line 262, in execute
  File "C:\Users\troyd\AppData\Local\Temp\pip-install-_jje8pgf\azure-cli-core\azure\cli\core\__init__.py", line 253, in load_arguments
  File "C:\Users\troyd\AppData\Local\Temp\pip-install-_jje8pgf\azure-cli-core\azure\cli\core\commands\__init__.py", line 141, in load_arguments
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\knack\commands.py", line 76, in load_arguments
    cmd_args = self.arguments_loader()
  File "C:\Users\troyd\AppData\Local\Temp\pip-install-_jje8pgf\azure-cli-core\azure\cli\core\__init__.py", line 440, in default_arguments_loader
  File "C:\Users\troyd\AppData\Local\Temp\pip-install-_jje8pgf\azure-cli-core\azure\cli\core\__init__.py", line 485, in get_op_handler
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\troyd\AppData\Local\Temp\pip-install-_jje8pgf\azure-cli-acs\azure\cli\command_modules\acs\custom.py", line 36, in <module>
  File "C:\Users\troyd\AppData\Local\Temp\pip-install-_jje8pgf\azure-cli-acs\azure\cli\command_modules\acs\acs_client.py", line 12, in <module>
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\paramiko\__init__.py", line 22, in <module>
    from paramiko.transport import SecurityOptions, Transport
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\paramiko\transport.py", line 70, in <module>
    from paramiko.sftp_client import SFTPClient
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\paramiko\sftp_client.py", line 41, in <module>
    from paramiko.sftp_attr import SFTPAttributes
ImportError: cannot import name 'SFTPAttributes'

cc/ @shanselman

@devigned I was unable to reproduce this behavior on Windows 10 with the current az CLI 2.0.54.
What version of the CLI are you using? Did you use the MSI Installer from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest ?

Can't reproduce as well using the latest CLI. Based on the stack trace, it was a pretty old drop dating back to when Troy did the release around last August.
Suggest close it and reactivate when there is a repro using newer builds


figure 1 and import data

Here is figure 1 updated.
I plotted only a sample of genes -- just to make sure nothing is off -- and divided the 295 proteins into 4 plots to make sure we can see the names of the proteins. The scale of the heatmaps is the same in the protein plots, so they are comparable.
The importing function is now edited and I think it works fine. The missing values are considered as NaNs.

Thank you, I will make a figure with clustergram in another branch.


Fix a false positive when bool modifier is used

Codecov Report

Merging #419 (c839563) into main (687236f) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #419   +/-   ##
=======================================
  Coverage   94.51%   94.51%
=======================================
  Files          75       75
  Lines        6530     6530
=======================================
  Hits         6172     6172
  Misses        272      272
  Partials       86       86

Impacted Files
Coverage Δ

internal/checks/alerts_comparison.go
100.00% <100.00%> (ø)

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


XMLParserError on Add Host EC2 ap-northeast-2

POST /v1/proxy/ec2.ap-northeast-2.amazonaws.com/ returns 403 and HTML document
that reads as follow;

<!-- If you are reading this, there is a good chance you would prefer sending an
"Accept: application/json" header and receiving actual JSON responses. -->
(snip)

Other URLs for different AZs return 200 and proper XML document.

See https://github.com/rancher/rancher/issues/3185


add watch mode for browser testing

Reason for PR
Watch mode is a convenient way to have live reload for testing but is currently missing from the existing test solutions in the project
Implementation
Use the esbuild API and CLI arguments to integrate web test runner watch with esbuild watch.
Esbuild watch uses incremental compilation for speed. Using esbuild watch only the relevant files should be re-compiled and web test runner watches these files with its native watcher.
Demo
https://github.com/TBD54566975/web5-js/assets/3495974/7146c266-8547-4cec-a378-6bd75eccf2b9

relates to #232

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

Project coverage is 91.77%.  Consider uploading reports for the commit 02adad3 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #324      +/-   ##
==========================================
+ Coverage   90.56%   91.77%   +1.21%
==========================================
  Files         112       73      -39
  Lines       29117    15765   -13352
  Branches     2085     1448     -637
==========================================
- Hits        26370    14469   -11901
+ Misses       2712     1270    -1442
+ Partials       35       26       -9

Components
Coverage Δ

api
96.69% <ø> (-1.22%)
:arrow_down:

common
95.00% <ø> (-3.68%)
:arrow_down:

credentials
94.32% <ø> (-0.94%)
:arrow_down:

crypto
100.00% <ø> (+6.18%)
:arrow_up:

dids
88.75% <ø> (-8.91%)
:arrow_down:

agent
88.08% <ø> (+9.24%)
:arrow_up:

identity-agent
56.81% <ø> (-39.89%)
:arrow_down:

proxy-agent
58.43% <ø> (-38.28%)
:arrow_down:

user-agent
55.22% <ø> (-41.49%)
:arrow_down:


Where can I find models of T2I V2 and V3?

Where can I find models of CRM T2I V2 and V3?

Haha, you are the first to noticed :) that's a PBR textures generation model I'm researching and training myself, and haven't finish it yet, but almost, I may release it after a month or two along with research paper for the whole development process.
Cheers, have a good day 👍

Great! I can't wait to try it. I have some thoughts about your texture projection process. We don't need to make 2nd mesh and texture refinement in 3D software if you could make all these happen.

Can you add an orthographic camera switch for Mesh Orbit Renderer and Explicit Target Color  Projection? In some cases, orthographic projection is much better than perspective one. That is a 90 FOV orthographic camera with a Target Distance of 1.0 and a radius of 2.0 based on a 1.0 unit cube, which is the CRM algorithm (the following image). This is based on my experiences on the UE texture projection project.

https://github.com/user-attachments/assets/28311bdb-ea41-4904-a202-452a598fcddb

Is it possible to bake all the PBR textures such as Albedo, Roughness, and Normal, (Metallic, AO, Cavity, etc.) at the same time? All of them can be converted from the Albedo texture using different methods. One of my favorites is Materialize.

Because we need mesh optimization before the texture projection process. Can you bring Mesh Anything the powerful mesh optimization algorithm into the 3D Pack world? This will make the 3D pack a more complete and practical toolkit for model reconstruction.

Hi @jakechai

I'll see if I can add that orthographic camera switch for Mesh Orbit Renderer and Explicit Target Color Projection
Right now, the Mesh class can only support single UV and single Albedo, single Metallic (Blue channel) & Roughness (Green channel) map, so as right now, Explicit Target Color Projection node support those three types of maps, I do have plan to extend the Mesh class's functionality more in the future
I have tried Mesh Anything multiple times before, so it's my colleagues, for both v1 and v2, but we all think it doesn't work as robust as advertised, most meshes are kind of unusable, so that is on hold as for now.

Hi @GeorgeSte thanks for the kind words, it uses 6 orthogonal MV normals to condition the shape, and one front view images to condition the appearance, and generate 6X3 MV views for Albedo, Metallic and Roughness respectively


Investigate adoption/support/applicability of LinkML to maintain schemas for HTAN

This following this thread (internal Sage Slack): https://sagebionetworks.slack.com/archives/C01ANC02U59/p1712264979812149
Would be worth chatting with Robert and Anh Nguyet in an upcoming sprint.

We might also want to see how CoreModels is looking as it gets spun up for Sage over the summer

24-11/12 Cross-pollinate efforts with MC2: https://github.com/mc2-center/data-models/issues/148

Working on modularization/ new schema here (using HTAN first): Building up from CDS sequencing/ imaging templates and adding HTAN specific entities if required

24-11/12 Close-out: Work ongoing and proceeding into next sprint


Updated IGListCollectionViewLayout to rely on layoutAttributesClass

…instead of just allocating a vanilla UICollectionViewLayoutAttributes.    I'm happy to add tests here, but don't really have much of an opinion either way on whether this should have an explicit test case or not.
Changes in this pull request
Issue fixed: #1134
Checklist

[x] All tests pass. Demo project builds and runs.
[x] I added tests, an experiment, or detailed why my change isn't tested.
[x] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x] I have reviewed the contributing guide

Fantastic, thank yoU!


Use danger-command for calls instead of danger command

Fixes https://github.com/danger/swift/issues/104 by callingdanger-command
e.g.
it calls
danger-ci --process danger-swift when you calldanger-swift ci

Warnings

:warning:
 Any changes to library code should be reflected in the Changelog.
Please consider adding a note there and adhere to the Changelog Guidelines.

  Generated by :no_entry_sign: dangerJS

Ace 👍


False positives on the English-only subset.

The English-only ngrams subset doesn't work too well. Is it trained on the same dataset as the others?
$content = 'Nostrum et sapiente in ipsam amet quas ut. Adipisci dolores nihil a facere est voluptas et nostrum. Nobis at laborum odit deleniti ut voluptatem. Modi recusandae ad ut incidunt minima molestiae.';

$eld = new LanguageDetector('ngramsM60-1.2rrx014rx6yos0gkkogws8ksc0okcwk.php');
$eld->cleanText(true);
$eld->detect($content);

Nitotm\Eld\LanguageResult {
  +language: "en",
  +scores: [
    "en" => 0.52298237476809,
  ],
  -numNgrams: 49,
  -avgScore: [...],
  language: "en",
  scores: [
    "en" => 0.52298237476809,
  ],
  isReliable(): true,
}

Much better results using the de/en/es/fr/it/nl subset, but I'm not excited about the additional memory usage of larger ngram subsets.
$content = 'Nostrum et sapiente in ipsam amet quas ut. Adipisci dolores nihil a facere est voluptas et nostrum. Nobis at laborum odit deleniti ut voluptatem. Modi recusandae ad ut incidunt minima molestiae.';

$eld = new LanguageDetector('ngramsM60-6.5ijqhj4oecso0kwcok4k4kgoscwg80o.php');
$eld->cleanText(true);
$eld->detect($content);

Nitotm\Eld\LanguageResult {#8965
  +language: "it",
  +scores: [
    "it" => 0.30525471552257,
    "en" => 0.29610196351268,
    "fr" => 0.28801600185529,
    "es" => 0.24844426406926,
    "nl" => 0.17167980828695,
    "de" => 0.15610892084106,
  ],
  -numNgrams: 49,
  -avgScore: [...],
  language: "it",
  scores: [
    "it" => 0.30525471552257,
    "en" => 0.29610196351268,
    "fr" => 0.28801600185529,
    "es" => 0.24844426406926,
    "nl" => 0.17167980828695,
    "de" => 0.15610892084106,
  ],
  isReliable(): false,
}

The isReliable() function can definitely be improved.
I would say, for now, ELD is not a good software to know if a string is from a specific language or not.
The main problem is that when ELD finds only one language on a string, it scores it very high; some accommodation in this regard, for very small subsets or with only one language, should be added.
I am currently finishing ver. 3.0.0, with a new scoring system, which will most likely not solve this issue, but I will leave this "issue" open, to attack this problem next at the ver. 3.0

Keep us posted on your journey to version 3.0 @nitotm!

It is taking me a bit longer, since I decided to integrate all changes that where long planed, new suggestions, and I keep finding things to improve.
Improvements in accuracy are great, also in efficiency, although since I have added more steps and a bigger database, I’m not sure if it’s finally going to be faster, but the additions are worth it.


Update quickstart-add-assets.md

Remove the OPC PLC from the Asset creation flow. We will have a dedicated section on how to install and use OPCPLC

@simonaarsene22
Thank you for your contribution. Would you take a moment to sign the Contributor License Agreement (CLA)? After the CLA is signed, someone can review your pull request. Thanks!

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@dominicbetts
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

Hi @simonaarsene22 - please don't merge this PR - the changes have already been made in the release branch we're using for M2.

Closing per https://github.com/MicrosoftDocs/azure-docs/pull/124341#issuecomment-2363293837.
#please-close


Please add 'Hemingway' theme

Hi there,
Could you please review and add the Hemingway theme to the list?
If something needs fixing please let me know.
Thanks!

Hi @tanksuzuki,
that's a nice and minimal theme.
use an absolute path for the screenshot in the README. Read here why. Could you also add a folder called static inside the exampleSite folder?

Hi @digitalcraftsman,
I have fixed that.
Could you please review again?
Thanks!

And done. Your theme should be listed soon on themes.gohugo.io.


Make reputation score abstract

Description
Starting a little bit on the consensus handler refactoring, and send out a small PR first just to make sure everyone is ok with the direction. As you can see in the PR, we are adding a bunch of types inside consensus-types as abstract trait types, including the Committee and ConsensusOutput, and then start implement functions on them for Narwhal.
The consensus handler code then calls these functions.
This PR focuses on abstracting the types needed by the reputation score updates.
Test Plan
CI

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Eventually I think there should be just one Committee implementation across Sui / Narwhal / Mysticeti. There are some amount of duplicated code across the different implementations right now.

Between Narwhal and Mysticeti, maybe. But probably not Sui. Sui's committee structure is persisted today and may be difficult to evolve.


spotTraderInsts type had been changed in api

I think the spotTraderInsts return field in the GetAccountConfiguration route had been changed to array from string, giving me an error.
The following is the error message each time I try to use the route:
[1] Deserialize JsonReaderException: Error reading string. Unexpected token: StartArray. Path 'data[0].spotTraderInsts', line 1, position 397. Path: data[0].spotTraderInsts, LineNumber: 1, LinePosition: 397, data: {
  "code": "0",
  "data": [
    {
      "acctLv": "2",
      "autoLoan": false,
      "ctIsoMode": "automatic",
      "greeksType": "PA",
      "ip": "",
      "kycLv": "0",
      "label": "copytrade_test1",
      "level": "Lv1",
      "levelTmp": "",
      "liquidationGear": "-1",
      "mainUid": "---",
      "mgnIsoMode": "quick_margin",
      "opAuth": "0",
      "perm": "read_only,withdraw,trade",
      "posMode": "long_short_mode",
      "roleType": "0",
      "spotOffsetType": "",
      "spotRoleType": "0",
      "spotTraderInsts": [],
      "traderInsts": [],
      "uid": "---"
    }
  ],
  "msg": ""
}

Thank you for your feedback and merge request

I've fixed in new version


DynamicMap consumes generators on initialization

If you create a generator with ten steps (say) you'll find you can only call next() on it nine times. This is because one call is consumed in the constructor (to help initialize the plotting system).
This initial call is still needed but it should only happen on display (i.e in the Renderer) and not in the constructor of DynamicMap itself.

The PR mentioned above has been merged, addressing this issue.


TypeError: can't pickle _thread.RLock objects  in example/train_and_evaluate.ipynb

Please make sure that this is a Bug or a Feature Request and provide all applicable information asked by the template.
If your issue is an implementation question, please ask your question on StackOverflow or on the TensorTrade Discord #help-desk channel instead of opening a GitHub issue.
System information

Have I written custom code (as opposed to using example directory):
OS Platform and Distribution (e.g. Mac Sierra, Windows 10, Linux Ubuntu 16.04):
TensorTrade version:
TensorFlow version:
Python version:3.7

You can obtain the TensorFlow version with:
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the current behavior
Describe the expected behavior
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
====      AGENT ID: 6c7e72ef-f098-42df-b71d-ef0322cc9190      ====
{'log_to_stderr': False, 'authkey': b'P.28\x94\xe4\xae\x8e\xb8CIU\xc3dO[\xad\x8b\x13\xcb\xdfPR\xb3\xcct\x84\xc7\x1e\xec\x9a\xd4', 'name': 'ParallelDQNTrainer-1', 'sys_path': ['D:\python\tensortrade\examples', 'D:\python\tensortrade', 'd:\programdata\anaconda3\envs\python37\python37.zip', 'd:\programdata\anaconda3\envs\python37\DLLs', 'd:\programdata\anaconda3\envs\python37\lib', 'd:\programdata\anaconda3\envs\python37', 'D:\python\tensortrade\examples', 'C:\Users\tianx\AppData\Roaming\Python\Python37\site-packages', 'd:\programdata\anaconda3\envs\python37\lib\site-packages', 'd:\programdata\anaconda3\envs\python37\lib\site-packages\win32', 'd:\programdata\anaconda3\envs\python37\lib\site-packages\win32\lib', 'd:\programdata\anaconda3\envs\python37\lib\site-packages\Pythonwin', 'd:\programdata\anaconda3\envs\python37\lib\site-packages\IPython\extensions', 'C:\Users\tianx\.ipython'], 'sys_argv': ['d:\programdata\anaconda3\envs\python37\lib\site-packages\ipykernel_launcher.py', '-f', 'C:\Users\tianx\AppData\Roaming\jupyter\runtime\kernel-16e69cd7-4dc5-4c6b-83f6-b434aeaa3d05.json'], 'orig_dir': 'D:\python\tensortrade\examples', 'dir': 'D:\python\tensortrade\examples', 'start_method': 'spawn'}
<ParallelDQNTrainer(ParallelDQNTrainer-1, initial)>
TypeError                                 Traceback (most recent call last)
 in
15 agent = ParallelDQNAgent(create_env)
16
---> 17 agent.train(n_envs=4, n_steps=200, save_path="agents/")
D:\python\tensortrade\tensortrade\agents\parallel\parallel_dqn_agent.py in train(self, n_steps, n_episodes, save_every, save_path, callback, **kwargs)
134                                                 eps_end,
135                                                 eps_decay_steps,
--> 136                                                 update_target_every) for _ in range(n_envs)]
137
138         self._start_optimizer_process(self.model,
D:\python\tensortrade\tensortrade\agents\parallel\parallel_dqn_agent.py in (.0)
134                                                 eps_end,
135                                                 eps_decay_steps,
--> 136                                                 update_target_every) for _ in range(n_envs)]
137
138         self._start_optimizer_process(self.model,
D:\python\tensortrade\tensortrade\agents\parallel\parallel_dqn_agent.py in _start_trainer_process(self, create_env, memory_queue, model_update_queue, done_queue, n_steps, n_episodes, eps_start, eps_end, eps_decay_steps, update_target_every)
73                                              update_target_every)
74
---> 75         trainer_process.start()
76
77         return trainer_process
d:\programdata\anaconda3\envs\python37\lib\multiprocessing\process.py in start(self)
110                'daemonic processes are not allowed to have children'
111         _cleanup()
--> 112         self._popen = self._Popen(self)
113         self._sentinel = self._popen.sentinel
114         # Avoid a refcycle if the target function holds an indirect
d:\programdata\anaconda3\envs\python37\lib\multiprocessing\context.py in _Popen(process_obj)
221     @staticmethod
222     def _Popen(process_obj):
--> 223         return _default_context.get_context().Process._Popen(process_obj)
224
225 class DefaultContext(BaseContext):
d:\programdata\anaconda3\envs\python37\lib\multiprocessing\context.py in _Popen(process_obj)
320         def _Popen(process_obj):
321             from .popen_spawn_win32 import Popen
--> 322             return Popen(process_obj)
323
324     class SpawnContext(BaseContext):
d:\programdata\anaconda3\envs\python37\lib\multiprocessing\popen_spawn_win32.py in init(self, process_obj)
87             try:
88                 reduction.dump(prep_data, to_child)
---> 89                 reduction.dump(process_obj, to_child)
90             finally:
91                 set_spawning_popen(None)
d:\programdata\anaconda3\envs\python37\lib\multiprocessing\reduction.py in dump(obj, file, protocol)
59     '''Replacement for pickle.dump() using ForkingPickler.'''
60     print(obj)
---> 61     ForkingPickler(file, protocol).dump(obj)
62
63 #
TypeError: can't pickle _thread.RLock objects

Did you resolve it, how? Are you tensortrade library for env creation?

I had pickle issues in the past while using recent python versions and\or recent modules versions (requirements.txt do not specify an upper bound).
In my environment I froze those packages like these:
numpy==1.20.3
plotly==5.3.1
scikit-image==0.18.3
typing-extensions==<IP_ADDRESS>

Can you try with those versions and let me know?
Also... the suggested way going forward is to abandon the built-in agents and rely to more robust training frameworks such as Ray. Have a look at this example: https://www.tensortrade.org/en/latest/examples/train_and_evaluate_using_ray.html
(closing in the meantime as it's working on old code, please comment again if needed)


PR-3724: Fix additional linkage issues.

This should fix a build issue with the webp_transform experimental plugin. It also fixes a potential problem with linking the example plugins, although I build them and have not seen this issue.

[approve ci autest]


Settings for 8266-01 extender with the printer

Hi
I need help. Here is my issue. I have a laser printer <IP_ADDRESS>:8018 on the ESP network (internal IP <IP_ADDRESS> and external <IP_ADDRESS>). I have a router <IP_ADDRESS>.
I already set route on the asus router <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>. Now I can ping internal ESP network <IP_ADDRESS> from the router. Also I can ping router <IP_ADDRESS> from internal network of the ESP.
But I can't ping the printer <IP_ADDRESS> from the router and I can't ping any device (ex. <IP_ADDRESS>) from the internal network of the ESP.
I tried to set nat ->0.
I tried to set portmap add but I received error with syntax. What is the syntax for this command? I wrote 8018 <IP_ADDRESS> 8018 but I received err.
Next step? Please what I have to do? I need visible a printer in my router network.
Thank you
Roman

The Syntax is:
portmap add tcp 8081 <IP_ADDRESS> 8081
Am 7. September 2019 23:19:05 schrieb Romancze<EMAIL_ADDRESS>
Hi
I need help. Here is my issue. I have a laser printer <IP_ADDRESS>:8018 on
the ESP network (internal IP <IP_ADDRESS> and external <IP_ADDRESS>). I
have a router <IP_ADDRESS>.
I already set route on the router. Now I can ping internal ESP network
<IP_ADDRESS> from the router. Also I can ping router <IP_ADDRESS> from
internal network of the ESP.
But I can't ping the printer <IP_ADDRESS> from the router and I can't ping
any device (ex. <IP_ADDRESS>) from the internal network of the ESP.
I tried to set nat ->0.
I tried to set portmap add but I received error with syntax. What is the
syntax for this command? I wrote 8018 <IP_ADDRESS> 8018 but I received err.
Next step? Please what I have to do? I need visible a printer in my router
network.
Thank you
Roman
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


the grid with advanced search can't remove saved search item

Short description
With version 2.0, the grid with advanced search can't remove saved search item
What is current behavior
can't remove saved search items
What is desired behavior
user can remove saved search
Link to jsfidle/codepan with sample code
the code in the demo: https://w2ui.com/web/demos/#/grid/16
Steps to reproduce or sample

open the demo from https://w2ui.com/web/demos/#/grid/16
create Advanced Search with las name value is "doe" then click search
click "Save" to save search
remove search condition by click "X" button
click "Search All Fields" to get saved searches items => the list items don't have the remove button

I have researched the problem and can create PR

@alexkuznetsov thank for your PR. With this typo fix, this issue is resolved.

@khuatbaha you are welcome 👍

@vitmalina Can you review my PRs?


Make prettier 'else if' JavaScript statements

This adds a special case to the "If" visitor for when the 'orelse' statement list only contains another single 'If' statement.
Take this source code, for example:
if a:
    print('a')
elif b:
    print('b')
elif c:
    print('c')
elif d:
    print('d')
elif e:
    print('e')
elif f:
    print('f')
elif g:
    print('g')

Without this patch, Transcrypt creates the following:
if (a) {
	print ('a');
}
else {
	if (b) {
		print ('b');
	}
	else {
		if (c) {
			print ('c');
		}
		else {
			if (d) {
				print ('d');
			}
			else {
				if (e) {
					print ('e');
				}
				else {
					if (f) {
						print ('f');
					}
					else {
						if (g) {
							print ('g');
						}
					}
				}
			}
		}
	}
}

With this patch, it would instead create:
if (a) {
	print ('a');
}
else if (b) {
	print ('b');
}
else if (c) {
	print ('c');
}
else if (d) {
	print ('d');
}
else if (e) {
	print ('e');
}
else if (f) {
	print ('f');
}
else if (g) {
	print ('g');
}

I'm not exactly sure if I should create a test for a patch like this, but if needed I can do that.

Hi, David, good to here from you again.
I greatly prefer your "flat notation".
Will look thoroughly into exactly what you change and, if it looks safe, merge it.
Thanks!

Looks good to me.
I'll merge it.


"Issues: New issue" contains "The following references to versions older than the current Edge release version were detected: env.CONTENT"

Repro steps:

In Stable or Canary channel of Microsoft Edge, go to: https://github.com/MicrosoftDocs/edge-developer
Click the Issues tab.
Click New issue.

Actual result:  Text appears in the text edit box: "The following references to versions older than the current Edge release version were detected: {{ env.CONTENT }}"
Expected result: No text should be in the new Issue.

This will be fixed by PR #1586.


Buyer Hub - should show Hashrate of running contracts

Hashrate field is missing from the Buyer Hub page.

Addressed


Mark Transformer as deprecated

The Transformer architecture is not being used anymore and it is becoming an unnecessary development burden.
For the moment, in this PR I am marking it as deprecated to be removed in a future release.
Please let me know if you think this is a bad idea or want to make a case for the Transformer.

I would remove it. And + it is the only model that does not have an appropriate citation/justification since to the best of my knowledge has not been used.

I am weary of straight-up removing it now in case there is someone using it that we are not aware of -.-


Am i doing something wrong? % not moving.

I did: python3 instagram.py rktkz /root/wordlists/mykeys.txt -m 3
This is what it looks like for me:
(I'm testing it on my own acc to see if it works then to actually put it to work)
[-] Wordlist: /root/wordlists/mykeys.txt
[-] Username: Rktkz
[-] Password: AlysonKurban1sm1n3.10
[-] Complete: 2.5641%
[-] Attempts: 1
[-] Browsers: 33
[-] Exists: True
first it was stuck @ 0% and it didn't say anything where it tells if the account exists or not
but it was going through the list looking like this:
[-] Wordlist: /root/wordlists/mykeys.txt
[-] Username: Rktkz
[-] Password: AlysonKurban1sm1n3.10
[-] Complete: 0.0%
[-] Attempts: 0
[-] Browsers: 33
[-] Exists:
(Different pass attempts)
now its stuck as shown b4 (First copy and paste)
Am I doing something wrong or is it tool not working currently?
I have used the tool months ago and it was the best tool to Bruteforce instagram accouns.
Please keep up your good work! (Take ur time and fix this tool) and reply to me whenever you have a chance to (:  +1:  .

No, you're not. Since this program is free and open to the public, everyone is using the same proxies.

No, you're not. Since this program is free and open to the public, everyone is using the same proxies.

So i just need to get a different proxy list.txt and rename it to the one you got or copy the proxies and paste it into the proxy list you made?


calls to log.Fatal() make me nervous

Errors happen all the time at scale.  I'm hesitant to deploy a service to production built with this knowing that log.Fatal() might be called and my application would exit.  I think log.Println/return pair would be sufficient in most of the cases.
Alternatively have it configurable with a package-level variable.

Sure. You are right.
I had it there cause I am using this package for debug only.
I will fix it right away.

I'm also using it for debugging purposes.  I have a file containing
// +build debugcharts

package main

import _ "github.com/mkevac/debugcharts"

so if I build with '-tags debugcharts' it's included in my binary.  (Maybe a nice snippet to add to the README?)

Interesting way turning it on/off.


SITL test is failing: copter mode stuck on STABILIZE

The SITL tests are currently failing on the master branch, both for Python 2 and Python 3.
The cause is a SITL test that's not passing: test_goto.py.
The apparent reason of the error is that the test times out when setting the mode to GUIDED.
I managed to run the unit test locally, and I can't get the SITL to switch to GUIDED: the vehicle remains stuck on STABILIZE. The GPS and the global location seem to be ok. The Vehicle is periodically receiving heartbeat updates containing the mode flag, so it's not a reception problem.
My hypothesis is that some update on the ArduPilot side, or in some dependencies, made the tests fail. From the commit history it's easy to see that the previous commits (that worked) are identical to the latest ones, which were simple documentation changes.
Any hints?

The problem is in pymavlink. The latest passing tests use pymavlink 2.4.0, and with that version the test passes.
I ran a bisect and pymavlink is OK until 2.4.8: the 2.4.9 release broke something.

Found the problematic commit: https://github.com/ArduPilot/pymavlink/commit/1fa59ff0bbc0999353b30feac3afe5cfd67c08a9

On Sat, 4 Jul 2020, Pietro De Nicolao wrote:

Found the problematic commit: ArduPilot/pymavlink@1fa59ff

Looks like my bad.  What version of ardupilot's being run in SITL by
default?!
I tend to run master ArduPilot when I'm using dronekit-python.
Fix here is probably to have dronekit-sitl pull a binary from ArduPilot's
firmware.ardupilot.org; I have a branch here which does that.
Peter

By default dronekit-sitl runs ArduPilot Copter v3.3. Probably it’s better to test against an updated firmware version as you said 👍

On Sun, 5 Jul 2020, Pietro De Nicolao wrote:

By default dronekit-sitl runs ArduPilot Copter v3.3. Probably it’s better to test against an updated firmware version as you said 👍

https://github.com/dronekit/dronekit-sitl/pull/145
So that kinda-sorta works.  At least far enough for the simple_goto.py
dronekit-python example to work with no extra arguments.
Really not happy with the parameters stuff, obviously.

Hi is there fix to this? I have been trying all sorts of things but havent been able to run the simple_goto.py.

Hi, in the meantime should we revert to using 2.9.1? (I noticed there's a 2 year gap on pypi)

Hi, in the meantime should we revert to using 2.9.1? (I noticed there's a 2 year gap on pypi)
Nevermind. I was able to uninstall pymavlink with
pip3 uninstall pymavlink

and then reinstall the older version with
pip3 install pymavlink==2.4.8

Did this work for you by just reinstalling an old version of pymavlink? It wasn’t working for me.

Hi, in the meantime should we revert to using 2.9.1? (I noticed there's a 2 year gap on pypi)
Nevermind. I was able to uninstall pymavlink with
pip3 uninstall pymavlink

and then reinstall the older version with
pip3 install pymavlink==2.4.8

Did this work for you by just reinstalling an old version of pymavlink? It wasn’t working for me.

Yeah reverting pymavlink to 2.4.8 did the trick for me. If you are having trouble in general I would suggest running the dronekit-python/examples/vehicle_state/vehicle_state.py to check if there is a bug in your code.

Hi, in the meantime should we revert to using 2.9.1? (I noticed there's a 2 year gap on pypi)
Nevermind. I was able to uninstall pymavlink with
pip3 uninstall pymavlink

and then reinstall the older version with
pip3 install pymavlink==2.4.8

Did this work for you by just reinstalling an old version of pymavlink? It wasn’t working for me.

Yeah reverting pymavlink to 2.4.8 did the trick for me. If you are having trouble in general I would suggest running the dronekit-python/examples/vehicle_state/vehicle_state.py to check if there is a bug in your code.

yes this reverting back to older version of pymavlink worked for me, i was having trouble in DO_SET_MODE change while executing the python script as it was stuck at stabalize, even now i can't change the mode in mavproxy but it works when i run the script
i was having pymavlink 2.4.12 and
reverted back to pymavkink 2.4.8
for now at least im able to run the script and need to find the issue with mavproxy

pymavlink 2.4.14 is junk also ... reverting to 2.4.8 fixed it

pymavlink 2.4.14 is junk also ... reverting to 2.4.8 fixed it

the fix doesnt work at this point, just ends up spitting a bunch of horse crap on my screen.

the fix doesnt work at this point, just ends up spitting a bunch of horse crap on my screen.

'''

AttributeError: 'MAVLink_vibration_message' object has no attribute 'instance_field'
ERROR:dronekit.mavlink:Exception in MAVLink input loop
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit\mavlink.py", line 211, in mavlink_thread_in
fn(self)
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit_init.py", line 1370, in listener
raise APIException('No heartbeat in %s seconds, aborting.' %
dronekit.APIException: No heartbeat in 30 seconds, aborting.
ERROR:dronekit.mavlink:Exception while receiving message:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit\mavlink.py", line 218, in mavlink_thread_in
msg = self.master.recv_msg()
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 456, in recv_msg
return None
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 372, in post_message
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 83, in add_message
'''
AttributeError: 'MAVLink_heartbeat_message' object has no attribute '_instance_field'
ERROR:dronekit.mavlink:Exception while receiving message:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit\mavlink.py", line 218, in mavlink_thread_in
msg = self.master.recv_msg()
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 456, in recv_msg
return None
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 372, in post_message
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 83, in add_message
'''
AttributeError: 'MAVLink_heartbeat_message' object has no attribute 'instance_field'
ERROR:dronekit.mavlink:Exception in MAVLink input loop
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit\mavlink.py", line 211, in mavlink_thread_in
fn(self)
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit_init.py", line 1370, in listener
raise APIException('No heartbeat in %s seconds, aborting.' %
dronekit.APIException: No heartbeat in 30 seconds, aborting.

'''

AttributeError: 'MAVLink_vibration_message' object has no attribute 'instance_field'
ERROR:dronekit.mavlink:Exception in MAVLink input loop
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit\mavlink.py", line 211, in mavlink_thread_in
fn(self)
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit_init.py", line 1370, in listener
raise APIException('No heartbeat in %s seconds, aborting.' %
dronekit.APIException: No heartbeat in 30 seconds, aborting.
ERROR:dronekit.mavlink:Exception while receiving message:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit\mavlink.py", line 218, in mavlink_thread_in
msg = self.master.recv_msg()
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 456, in recv_msg
return None
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 372, in post_message
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 83, in add_message
'''
AttributeError: 'MAVLink_heartbeat_message' object has no attribute '_instance_field'
ERROR:dronekit.mavlink:Exception while receiving message:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit\mavlink.py", line 218, in mavlink_thread_in
msg = self.master.recv_msg()
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 456, in recv_msg
return None
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 372, in post_message
File "C:\ProgramData\Anaconda3\lib\site-packages\pymavlink\mavutil.py", line 83, in add_message
'''
AttributeError: 'MAVLink_heartbeat_message' object has no attribute 'instance_field'
ERROR:dronekit.mavlink:Exception in MAVLink input loop
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit\mavlink.py", line 211, in mavlink_thread_in
fn(self)
File "C:\ProgramData\Anaconda3\lib\site-packages\dronekit_init.py", line 1370, in listener
raise APIException('No heartbeat in %s seconds, aborting.' %
dronekit.APIException: No heartbeat in 30 seconds, aborting.

By default dronekit-sitl runs ArduPilot Copter v3.3. Probably it’s better to test against an updated firmware version as you said 👍

how to run dronekit-sitl with updated firmware version?
thanks

I've been experiencing the same issue of telling my SITL to enter GUIDED mode, but it gets stuck in the loop waiting for the mode to change. I tried to downgrade to pymavlink==2.4.8, but I'm getting a legacy-install-failure. Has anyone experienced this?
I'm on a Mac with an M1 chip, if that helps. I've also noticed that downgrading about anything via pip usually ends in an error, but not necessarily the same error.
alexsharper@dhcp-10-105-11-95 ~ % sudo pip3 install pymavlink==2.4.8
WARNING: The directory '/Users/alexsharper/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting pymavlink==2.4.8
Downloading pymavlink-2.4.8.tar.gz (3.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 28.4 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Requirement already satisfied: future in /opt/homebrew/lib/python3.9/site-packages (from pymavlink==2.4.8) (0.18.3)
Requirement already satisfied: lxml in /opt/homebrew/lib/python3.9/site-packages (from pymavlink==2.4.8) (4.9.2)
Building wheels for collected packages: pymavlink
Building wheel for pymavlink (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
running bdist_wheel
running build
running build_py
Using message definitions from /private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/message_definitions
Building /private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/message_definitions/v1.0/python_array_test.xml for protocol 1.0
WARNING: Unable to load XML validator libraries. XML validation will not be performed
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/setup.py", line 109, in
setup (name = 'pymavlink',
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/opt/homebrew/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 136, in run
self.run_command(cmd_name)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/setup.py", line 103, in run
generate_content()
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/setup.py", line 64, in generate_content
if not mavgen.mavgen_python_dialect(dialect, mavparse.PROTOCOL_1_0):
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavgen.py", line 247, in mavgen_python_dialect
if not mavgen(opts, [xml]):
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavgen.py", line 142, in mavgen
xml.append(mavparse.MAVXML(fname, opts.wire_protocol))
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavparse.py", line 420, in init
m.crc_extra = message_checksum(m)
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavparse.py", line 447, in message_checksum
crc.accumulate_str(msg.name + ' ')
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavcrc.py", line 34, in accumulate_str
bytes.fromstring(buf)
AttributeError: 'array.array' object has no attribute 'fromstring'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pymavlink
Running setup.py clean for pymavlink
Failed to build pymavlink
Installing collected packages: pymavlink
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Running setup.py install for pymavlink ... error
error: subprocess-exited-with-error
× Running setup.py install for pymavlink did not run successfully.
│ exit code: 1
╰─> [58 lines of output]
running install
/opt/homebrew/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
Using message definitions from /private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/message_definitions
Building /private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/message_definitions/v1.0/python_array_test.xml for protocol 1.0
WARNING: Unable to load XML validator libraries. XML validation will not be performed
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/setup.py", line 109, in
setup (name = 'pymavlink',
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/command/install.py", line 670, in run
self.run_command('build')
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 136, in run
self.run_command(cmd_name)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/setup.py", line 103, in run
generate_content()
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/setup.py", line 64, in generate_content
if not mavgen.mavgen_python_dialect(dialect, mavparse.PROTOCOL_1_0):
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavgen.py", line 247, in mavgen_python_dialect
if not mavgen(opts, [xml]):
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavgen.py", line 142, in mavgen
xml.append(mavparse.MAVXML(fname, opts.wire_protocol))
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavparse.py", line 420, in init
m.crc_extra = message_checksum(m)
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavparse.py", line 447, in message_checksum
crc.accumulate_str(msg.name + ' ')
File "/private/tmp/pip-install-qkyxr4il/pymavlink_7b139926334f4849b671942012c96389/generator/mavcrc.py", line 34, in accumulate_str
bytes.fromstring(buf)
AttributeError: 'array.array' object has no attribute 'fromstring'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pymavlink
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Have you been able to find a solution to this? thank you!

I am also getting the same as above legacy-install-failure as above with Python3. I am on Windows 10. The installation works fine for python2.

i am having trouble on multiple systems. cant seem to figure out how to get
it to work on ubuntu or my local windows machine which had it working a
year ago but now its caput and im tooo scared to test it on my drone
because i need to demo it for my senior project.
Adam Dabdoub
Software Developer
c:<PHONE_NUMBER>
On Tue, Apr 4, 2023 at 6:55 PM Mujtaba @.***> wrote:

I am also getting the same as above legacy-install-failure as above with
Python3. I am on Windows 10. The installation works fine for python2.
—
Reply to this email directly, view it on GitHub
https://github.com/dronekit/dronekit-python/issues/1041#issuecomment-1496699633,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHJKTGIN2VUEMMXXCISAJGTW7SRHJANCNFSM4OQPXHGA
.
You are receiving this because you commented.Message ID:
@.***>

i am having trouble on multiple systems. cant seem to figure out how to get it to work on ubuntu or my local windows machine which had it working a year ago but now its caput and im tooo scared to test it on my drone because i need to demo it for my senior project. Adam Dabdoub Software Developer c:<PHONE_NUMBER>
…
On Tue, Apr 4, 2023 at 6:55 PM Mujtaba @.> wrote: I am also getting the same as above legacy-install-failure as above with Python3. I am on Windows 10. The installation works fine for python2. — Reply to this email directly, view it on GitHub <#1041 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJKTGIN2VUEMMXXCISAJGTW7SRHJANCNFSM4OQPXHGA . You are receiving this because you commented.Message ID: @.>

It works on Ubuntu for me, perhaps set up an associated Docker Image which uses Ubuntu and run your code on there?
Otherwise I can set up one and I'll link it in this chat.

I think it would be nice to have an official docker image that we can use
as a base so there less hiccups in getting into development because as it
stands, the tutorial is out of date if legacy users are having issues just
getting back into the code base.
Adam Dabdoub
Software Developer
c:<PHONE_NUMBER>
On Wed, Apr 5, 2023 at 8:48 AM Sarinle @.***> wrote:

i am having trouble on multiple systems. cant seem to figure out how to
get it to work on ubuntu or my local windows machine which had it working a
year ago but now its caput and im tooo scared to test it on my drone
because i need to demo it for my senior project. Adam Dabdoub Software
Developer c:<PHONE_NUMBER>
… <#m_4898225133774497299_>
On Tue, Apr 4, 2023 at 6:55 PM Mujtaba @.> wrote: I am also getting
the same as above legacy-install-failure as above with Python3. I am on
Windows 10. The installation works fine for python2. — Reply to this email
directly, view it on GitHub <#1041 (comment)
https://github.com/dronekit/dronekit-python/issues/1041#issuecomment-1496699633>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHJKTGIN2VUEMMXXCISAJGTW7SRHJANCNFSM4OQPXHGA
https://github.com/notifications/unsubscribe-auth/AHJKTGIN2VUEMMXXCISAJGTW7SRHJANCNFSM4OQPXHGA
. You are receiving this because you commented.Message ID: @.>
It works on Ubuntu for me, perhaps set up an associated Docker Image which
uses Ubuntu and run your code on there?
Otherwise I can set up one and I'll link it in this chat.
—
Reply to this email directly, view it on GitHub
https://github.com/dronekit/dronekit-python/issues/1041#issuecomment-1497431706,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHJKTGLOW3ZTUZHVMR4NE5TW7VS3JANCNFSM4OQPXHGA
.
You are receiving this because you commented.Message ID:
@.***>

The installation works fine for python2

Can you tell me how to install the desired version of pymavlink for python2, since pip is no longer supported for python2. Thank you !

After pymavlink version==2.4.8, the set_mode_apm function in pymavlik.mavutil.py changed, which cause failure on ardupilot MODE CHANGE.
In order to use new version like pymavlink version==2.4.41, you just need to comment the code on "mav.command_long_send" and change it back to old "mav.set_mode_send". Reboot your IDE, Then the problem solved!

After pymavlink version==2.4.8, the set_mode_apm function in pymavlik.mavutil.py changed, which cause failure on ardupilot MODE CHANGE. In order to use new version like pymavlink version==2.4.41, you just need to comment the code on "mav.command_long_send" and change it back to old "mav.set_mode_send". Reboot your IDE, Then the problem solved!

Yeah, that works. I guess, this is a good way to make it run on latest python versions that do not support pymavlink version 2.4.8
Previously, I used to use either python 3.6 or python 2.7 which were compatible with pymavlink==2.4.8


fix backlinks and mapping

Not sure if this is specific to my version of neuron (latest <IP_ADDRESS>), but I had to make some minor changes to get things to work.

It seems to be related to #36

It seems that it closes #36

Yes, that looks like the error I was getting.

+1 was hitting #36 -- this fixes it, latest version of neuron and nvim


Re-enable ES6 modules via Webpack when they stop breaking sourcemaps

We disabled them in https://github.com/facebookincubator/create-react-app/issues/1742 because of https://github.com/facebookincubator/create-react-app/issues/1638 (https://github.com/webpack/webpack/issues/4423).

It looks fine in 2.3.2. Though there are still some non-critical issues with adding a breakpoint in places with 1-to-many lines tranformation.

Yea, I think we actually merged a PR that re-enables them in master.

I believe one-to-many relations have always been a problem, but it's not blocking.

They were re-enabled in https://github.com/facebookincubator/create-react-app/pull/1894. 😄


Make the window zoom or miniaturize when double clicking the status bar

As discussed on Discord 😄

Wow fascinating! I did not know about AppleActionOnDoubleClick! This looks like it could, ultimately, be wonderful to include support for in https://github.com/chimeHQ/WindowTreatment. But that can be for another day!
Thank you so much for the contribution!


Lightmapper crash

Lightmapper crashes when spot or omni light is using realtime shadow update.

Repro:
https://playcanvas.com/editor/scene/1893038

Thanks for the issue, a nice find!


How can this be configured (e.g. s3 for cache in parameters.yml) and the image version should be specified or pullPolicy: IfNotPresent will mean it never changes

Thanks for the chart. I'm looking forward to trying this out. Just a few initial thoughts. Cheers!

Thank you @violuke for opening this issue.
We're still working on the Helm chart to add options to override the configuration in parameters.yml file, we'll release it soon.
regarding the image version, it is set in Chart.yaml file underappVersion variable, where it gets appended to the repository variable when used in the deployment.yml file.
for each new version, we'll release a new helm-chart as well to update the appVersion and add any changes needed.
for the pullPolicy: IfNotPresent if the current version e.g. flyimg/flyimg:1.4.12 is not in the current node, k8s will download it, otherwise use the existing one.
when we release a new version and the helm chart get updated, k8s will download the new requested version.
I hope I answered your questions :)

Ah, that makes sense. That's really useful, thank you for the reply :smile:


Should fire return the results of dispatchEvent?

A change was recently introduced to the $.fire helper in awesomeplete , that returns the value of this.dispatchEvent().
This is pretty useful, and I think it should also be introduced into Bliss's method.

What does dispatchEvent return? I thought it returns the element.

From MDN:

The return value is false if at least one of the event handlers which
handled this event called Event.perventDefault(). Otherwise it
returns true.

On Fri, Feb 5, 2016, 05:03 Lea Verou<EMAIL_ADDRESS>wrote:

What does dispatchEvent return? I thought it returns the element.
—
Reply to this email directly or view it on GitHub
https://github.com/LeaVerou/bliss/issues/162#issuecomment-180171019.

Oh yes, this sounds useful! How did I not know about this? Yes, we should totally add this to Bliss! PR?

Will do


Unable to integrate with existing registry

We've already got lots of repositories in our private registry. And when integrating with Portus, I found portus failed to write existing namespaces into portus database. It stuck at crono job, trying to fetch manifests of existing repositories, and got 401.
So is there anyway recommended to do integration with existing registry? Or grant user 'portus' the ability to fetch manifests, and grant team "portus" the right to access those existing registries?

Ok, so there are two things here:

Fetching a manifest returns a 401.
The catalog job does not create the namespaces from a registry that already had some namespaces in them.

The first point is more troublesome, and it means that you have something wrong in the configuration between Portus and your registry. Check the logs (log/development.log, or production.log if you're on production). Make sure that the registry is reachable. From the sources, you can do this with:
$ bundle exec rails r bin/client.rb catalog

The second point has been done on purpose. The point of the catalog job is to act as a job that keeps the consistency of what has been pushed since Portus has been installed. This job is not a migration tool from one registry to another. This is because creating a namespace involves:

Assigning it to a team.
Assigning the level of visibility of the namespace to be created.

This is tricky, and it cannot be done automatically by this job, since it might need intervention from an admin. Therefore, there should be some sort of migration tool that helps you with this process. We don't have this right now, and we haven't given enough thought to this. Thus, by now you should create the namespaces that you have on your registry by hand in Portus, configuring everything as you expect. This way, all your repos should be available in Portus after the catalog job runs again.

@mssola, the log is like this:
Started GET "/v2/token?account=portus&scope=registry%3Acatalog%3A%2A&service=myhub%3A443" for <IP_ADDRESS> at 2015-11-03 02:15:48 +0000
Cannot render console from <IP_ADDRESS>! Allowed networks: <IP_ADDRESS>, ::1, <IP_ADDRESS>/<IP_ADDRESS>
Processing by Api::V2::TokensController#show as JSON
  Parameters: {"account"=>"portus", "scope"=>"registry:catalog:*", "service"=>"myhub:443"}
  User Load (0.6ms)  SELECT  `users`.* FROM `users` WHERE `users`.`username` = 'portus'  ORDER BY `users`.`id` ASC LIMIT 1
   (0.3ms)  BEGIN
  SQL (0.4ms)  UPDATE `users` SET `current_sign_in_at` = '2015-11-03 02:15:48', `sign_in_count` = 177295, `updated_at` = '2015-11-03 02:15:48' WHERE `users`.`id` = 1
   (1.4ms)  COMMIT
  Registry Load (0.2ms)  SELECT  `registries`.* FROM `registries` WHERE `registries`.`hostname` = 'myhub:443' LIMIT 1
  CACHE (0.0ms)  SELECT  `registries`.* FROM `registries` WHERE `registries`.`hostname` = 'myhub:443' LIMIT 1  [["hostname", "myhub:443"]]
[jwt_token] [claim] {:iss=>"portus.test.lan", :sub=>"portus", :aud=>"myhub:443", :iat=>1446516948, :nbf=>1446516943, :exp=>1446517248, :jti=>"GjSDdf9cs8EAB1GAahezxBzp7X96LcPxSuw8UU4tRM", :access=>[{:type=>"registry", :name=>"catalog", :actions=>["*"]}]}
Completed 200 OK in 137ms (Views: 7.0ms | ActiveRecord: 3.0ms)

Started GET "/v2/token?account=portus&scope=repository%3Aalm_user_service_app%3Apull&service=myhub%3A443" for <IP_ADDRESS> at 2015-11-03 02:15:49 +0000
...
Completed 200 OK in 211ms (Views: 9.8ms | ActiveRecord: 4.1ms)

Started GET "/v2/token?account=portus&scope=repository%3Abusybox%3Apull&service=myhub%3A443" for <IP_ADDRESS> at 2015-11-03 02:15:49 +0000
...
Completed 200 OK in 156ms (Views: 8.2ms | ActiveRecord: 3.6ms)

Started GET "/v2/token?account=portus&scope=repository%3Achavezom%2Fgraphops-api%3Apull&service=myhub%3A443" for <IP_ADDRESS> at 2015-11-03 02:15:50 +0000
Cannot render console from <IP_ADDRESS>! Allowed networks: <IP_ADDRESS>, ::1, <IP_ADDRESS>/<IP_ADDRESS>
Processing by Api::V2::TokensController#show as JSON
  Parameters: {"account"=>"portus", "scope"=>"repository:chavezom/graphops-api:pull", "service"=>"myhub:443"}
  User Load (0.7ms)  SELECT  `users`.* FROM `users` WHERE `users`.`username` = 'portus'  ORDER BY `users`.`id` ASC LIMIT 1
   (0.3ms)  BEGIN
  SQL (0.4ms)  UPDATE `users` SET `last_sign_in_at` = '2015-11-03 02:15:50', `current_sign_in_at` = '2015-11-03 02:15:50', `sign_in_count` = 177301, `updated_at` = '2015-11-03 02:15:50' WHERE `users`.`id` = 1
   (1.0ms)  COMMIT
  Registry Load (0.2ms)  SELECT  `registries`.* FROM `registries` WHERE `registries`.`hostname` = 'myhub:443' LIMIT 1
  Namespace Load (0.2ms)  SELECT  `namespaces`.* FROM `namespaces` WHERE `namespaces`.`registry_id` = 1 AND `namespaces`.`name` = 'chavezom' LIMIT 1
Denied access on these grounds: Cannot find namespace chavezom
Completed 401 Unauthorized in 193ms (ActiveRecord: 2.8ms)

It seems after calling catalog api, portus will fetch manifests of those repositories. But since namespace "chavezom" is not in database yet, fetching manifest for "chavezom/graphops-api" failed.  By this way, we will never synchronize between registry and portus database.

I manually create a team and add namespace "chavezom", and this time crono job will have 200 to get manifest of "chavezom/graphops-api". But still I can't see "chavezom/graphops-api" and it's tags from portus UI, maybe the sync job is still blocked by other existing namespaces but unknown to portus.
Then I tried to push to chavezom/ using username<EMAIL_ADDRESS>and pushed successfully. We use ldap for authentication. But I still can't see new pushed repositories and tags from UI. Check web container's log, I saw web hook events arrived, but saying error "Cannot find user<EMAIL_ADDRESS>I guess it's because my username becomes "qinglinhpecom". I think this is a defect.

I manually create a team and add namespace "chavezom", and this time crono job will have 200 to get manifest of "chavezom/graphops-api". But still I can't see "chavezom/graphops-api" and it's tags from portus UI, maybe the sync job is still blocked by other existing namespaces but unknown to portus.

Are you sure that the catalog job has run again after you've created the namespace ? Could you print the logs after creating the chavezom namespace ? The fact that there are still namespaces to be created shouldn't matter.

Then I tried to push to chavezom/ using username<EMAIL_ADDRESS>and pushed successfully. We use ldap for authentication. But I still can't see new pushed repositories and tags from UI. Check web container's log, I saw web hook events arrived, but saying error "Cannot find user<EMAIL_ADDRESS>I guess it's because my username becomes "qinglinhpecom". I think this is a defect.

Is the email your username ? Anyways, maybe you're referring an error that was fixed with the PR #431. If that's the case, maybe upgrading to current master will fix your issue.
Moreover, you say that you check your web container's log. Does this mean that you're running all this in the compose setup ? If this is the case, be aware that currently this setup is a bit broken. Sadly, I haven't found any time to fix this situation yet... Maybe you could try our vagrant setup for now.

@mssola, I really appreciate your help. After updating, now notification works. I created a team and assign namespace "chavezom" for that team. Then image "chavezom/graphops-api" is pushed, I am able to see that repo and tag, which is really great.
But the problem is catalog job. I am sure crono job is working, as it is requesting catalog and manifests every 10 sec. From web container log, token requests are like
11/3/2015 10:04:12 PM[16] <IP_ADDRESS> - - [03/Nov/2015:14:04:12 +0000] "GET /v2/token?account=portus&scope=registry%3Acatalog%3A%2A&service=myhub%3A443 HTTP/1.1" 200 - 0.1421
11/3/2015 10:04:18 PM[9] <IP_ADDRESS> - - [03/Nov/2015:14:04:18 +0000] "GET /v2/token?account=portus&scope=repository%3Aalm_user_service_db%3Apull&service=myhub%3A443 HTTP/1.1" 200 - 0.1490
11/3/2015 10:04:18 PM[9] <IP_ADDRESS> - - [03/Nov/2015:14:04:18 +0000] "GET /v2/token?account=portus&scope=repository%3Achavezom%2Fgraphops-api%3Apull&service=myhub%3A443 HTTP/1.1" 401 - 0.0184
...repeating...

And crono container log is like
(0.1ms)  BEGIN
  Crono::CronoJob Exists (0.2ms)  SELECT  1 AS one FROM `crono_jobs` WHERE (`crono_jobs`.`job_id` = BINARY...
...
 INFO -- : Finished CatalogJob in 8.88 seconds\nI, [2015-11-03T10:44:08.779903 #10]  INFO -- : Perform CatalogJob\nI, [2015-11-03T10:44:18.736148 #10]  INFO -- : Finished CatalogJob in 9.96 seconds\nI, [2015-11-03T10:44:18.780219 #10]  INFO -- : Perform CatalogJob\nI, [2015-11-03T10:44:28.780542 #10]  INFO -- : Perform CatalogJob\nI, [2015-11-03T10:44:30.476589 #10]  INFO -- : Finished CatalogJob in 1.70 seconds\nI, [2015-11-03T10:44:38.780817 #10]  INFO -- : Perform CatalogJob\nI, [2015-11-03T10:44:41.538442 #10]  INFO -- : Finished CatalogJob in 2.76 seconds\nI, [2015-11-03T10:44:48.781137 #10]  INFO -- : Perform CatalogJob\nI, [2015-11-03T10:44:52.053523 #10]  INFO -- : Finished CatalogJob in 3.27 seconds\nI, [2015-11-03T10:44:58.781455 #10]  INFO -- : Perform CatalogJob\nI, [2015-11-03T10:45:02.708379 #10]  INFO -- : Finished CatalogJob in 3.93 seconds\nI, [2015-11-03T10:45:08.781799 #10]  INFO -- : Perform CatalogJob\nI, [2015-11-03T10:45:11.815960 #10]  INFO -- : Finished CatalogJob in 3.03 seconds\nI, [2015-11-03T10:45:18.782197 #10]  INFO -- : Perform CatalogJob\nI, [2015-11-03T10:45:19.331561 #10]  INFO -- : Finished CatalogJob in 0.55 seconds\nI, [2015-11-03T10:45:28.782524 #10]  INFO -- : Perform CatalogJob\nI, [2015-11-03T10:45:36.064394 #10]  INFO -- : Finished CatalogJob in 7.28 seconds\nI, [2015-11-03T10:45:38.782978 #10]  INFO -- : Perform CatalogJob\n', `updated_at` = '2015-11-03 10:45:43' WHERE `crono_jobs`.`id` = 1
   (0.1ms)  ROLLBACK
...

This log grows very fast, I have to clean it sometimes. But at least I am sure crono job is working. By the way I don't share volume between web and crono container, so their logs are separated and kept in the container.
As you know I already have a private registry in use. In order to integrate it with portus, I plan to ask user to create their own team and namespaces, e.g. "chavezom". Or push images to their default namespace, e.g. "qinglinhpecom". However, catalog job transaction seems never succeed, which is the most important issue I have to fix. I don't know if my direction is right or not, it would be great if you could help to check.
Thanks again.

I didn't use compose setup. The whole stuff I setup manually.

I tested bundle exec rails r bin/client.rb catalog and got error,
/portus/lib/portus/http_helpers.rb:108:in `request_auth_token': Cannot obtain authorization token: #<Net::HTTPUnauthorized:0x007faa1cfa8750> (Portus::HttpHelpers::AuthorizationError)
        from /portus/lib/portus/http_helpers.rb:46:in `perform_request'
        from /portus/lib/portus/registry_client.rb:92:in `block in add_tags'
        from /portus/lib/portus/registry_client.rb:91:in `each'
        from /portus/lib/portus/registry_client.rb:91:in `add_tags'
        from /portus/lib/portus/registry_client.rb:57:in `catalog'
        from bin/client.rb:19:in `<top (required)>'
        from /usr/local/bundle/gems/railties-4.2.2/lib/rails/commands/runner.rb:60:in `load'
        from /usr/local/bundle/gems/railties-4.2.2/lib/rails/commands/runner.rb:60:in `<top (required)>'
        from /usr/local/bundle/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:123:in `require'
        from /usr/local/bundle/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
        from /usr/local/bundle/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:90:in `runner'
        from /usr/local/bundle/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
        from /usr/local/bundle/gems/railties-4.2.2/lib/rails/commands.rb:17:in `<top (required)>'
        from bin/rails:8:in `require'
        from bin/rails:8:in `<main>'


Add events

This PR is for adding the events to the website that are needed to create the (minimal) conversion funnels of interest.
Using Splitbee, we'll track some core information about the usage of the website in the aggregate.
The core of this data-driven approach to R= at launch are the following funnels

/ --> /signup --> Sign up
Sign up --> Publish first module --> Publish second module

We're primarily interested in these two funnels at first.
Todo

[x] Sign up
[x] Publish first module
[x] Publish second module

This now sends an event to Splitbee whenever somebody hits the publish button. It does not at this point make a difference whether payment is completed, which may distort the data somewhat.
Publish module ${x} is the event name.


Fixes to Zookeeper Locking

Moved overarching node creation to loop
added error handling
check status of connection and reconnect if necessary

Closing outdated PRs


How to get the prediction after run run_optimization

Hi,
I am a new user of GPyOPT. I want to ask how to get the numerical prediction after a GP model is updated. In the 1D example on your website as follows, how can I obtain the prediction of a vector of X specified by me?
Thanks for your time.
--- Load GPyOpt
from GPyOpt.methods import BayesianOptimization
import numpy as np
--- Define your problem
def f(x): return (6x-2)**2np.sin(12*x-4)
bounds = [(0,1)]
--- Solve your problem
myBopt = BayesianOptimization(f=f, bounds=bounds)
myBopt.run_optimization(max_iter=15)
myBopt.plot_acquisition()

Hi,
To get the prediction of the model at x (a numpy array of inputs) you would need to do:
myBopt.model.model.predict(x)
Hope this helps!
Javier

Thank you for the reply. That helps.


Use the telemetry ID as the cluster ID

Now that crc includes segment, it would be great to be able to link odo, vscode, etc usage with crc.
Tools can report the cluster ID of the cluster they used. CRC can directly use a segment ID equal to its cluster ID.

My worry here is that it might make it easier to inadvertantly break the 'pseudonymous' nature of the segment ID? Some tools could collect cluster IDs together with other personal data, which would mean there would now be a 'real identity' <-> 'segment ID' mapping?

My worry here is that it might make it easier to inadvertantly break the 'pseudonymous' nature of the segment ID? Some tools could collect cluster IDs together with other personal data, which would mean there would now be a 'real identity' <-> 'segment ID' mapping?

If we add the cluster ID with segment one and then user start monitoring that means now we are capturing all the data using that ID so I would like it to be different as it is right now.

If we add the cluster ID with segment one and then user start monitoring that means now we are capturing all the data using that ID so I would like it to be different as it is right now.


Grow docidsetbuilder to number of results instead of max doc id returned

When creating results, we create a DocIdSetBuilder and grow the results to the max doc id returned in the query.
For instance, if we had 3 results: [2, 2000, 20,000,000], the DocIdSetBuilder would be grown to 20,000,000 docs. This would then cause Lucene to use a bitset instead of a sorted array of integers for the results.
In the case above, the iterator would take 20,000,000 bits (20 MB) instead of 3 * 32 bits/int = 96 bits.
Instead of calling DocIdSetBuilder.grow(maxDoc), we should call DocIdSetBuilder.grow(results.length). Then, lucene can internally handle the optimization of switching from sparse to dense.
We should benchmark this change as well to see if there are any improvements/degradations.

Experimental setup
I ran performance tests on the sift data set which has 1M 128D vectors with a 10K query set. I tested faiss HNSW with m=16, ef_search=64 and ef_construction=64. I setup cluster with 2.1 with 3 c5.xlarge leaders and 1 r5.2xlarge data nodes. The control cluster came from the official 2.1 release. The test cluster was based off of https://github.com/jmazanec15/k-NN-1/tree/change-docsize-iterator. I ran 3 iterations of each. I used 1 primary shard and 0 replicas. Benchmark code can be found in https://github.com/opensearch-project/k-NN/tree/main/benchmarks/osb.
Results
Control
Experiment 1
|                                                 Min Throughput | knn-query-from-data-set |     6.47 |  ops/s |
|                                                Mean Throughput | knn-query-from-data-set |    188.2 |  ops/s |
|                                              Median Throughput | knn-query-from-data-set |   211.49 |  ops/s |
|                                                 Max Throughput | knn-query-from-data-set |   231.17 |  ops/s |
|                                        50th percentile latency | knn-query-from-data-set |  39.0271 |     ms |
|                                        90th percentile latency | knn-query-from-data-set |  52.0604 |     ms |
|                                        99th percentile latency | knn-query-from-data-set |  81.5243 |     ms |
|                                      99.9th percentile latency | knn-query-from-data-set |  133.603 |     ms |
|                                     99.99th percentile latency | knn-query-from-data-set |  854.554 |     ms |
|                                       100th percentile latency | knn-query-from-data-set |   867.14 |     ms |
|                                                     error rate | knn-query-from-data-set |        0 |      % |

Experiment 2
|                                                 Min Throughput | knn-query-from-data-set |      10.87 |  ops/s |
|                                                Mean Throughput | knn-query-from-data-set |     234.99 |  ops/s |
|                                              Median Throughput | knn-query-from-data-set |     251.93 |  ops/s |
|                                                 Max Throughput | knn-query-from-data-set |     260.83 |  ops/s |
|                                        50th percentile latency | knn-query-from-data-set |    35.7589 |     ms |
|                                        90th percentile latency | knn-query-from-data-set |    44.9456 |     ms |
|                                        99th percentile latency | knn-query-from-data-set |    58.0603 |     ms |
|                                      99.9th percentile latency | knn-query-from-data-set |    503.916 |     ms |
|                                     99.99th percentile latency | knn-query-from-data-set |    517.919 |     ms |
|                                       100th percentile latency | knn-query-from-data-set |    1057.44 |     ms |
|                                                     error rate | knn-query-from-data-set |          0 |      % |

Experiment 3
|                                                 Min Throughput | knn-query-from-data-set |    20.74 |  ops/s |
|                                                Mean Throughput | knn-query-from-data-set |    232.5 |  ops/s |
|                                              Median Throughput | knn-query-from-data-set |   246.69 |  ops/s |
|                                                 Max Throughput | knn-query-from-data-set |   253.55 |  ops/s |
|                                        50th percentile latency | knn-query-from-data-set |  37.2449 |     ms |
|                                        90th percentile latency | knn-query-from-data-set |  45.7525 |     ms |
|                                        99th percentile latency | knn-query-from-data-set |   55.398 |     ms |
|                                      99.9th percentile latency | knn-query-from-data-set |  100.796 |     ms |
|                                     99.99th percentile latency | knn-query-from-data-set |  492.354 |     ms |
|                                       100th percentile latency | knn-query-from-data-set |  493.705 |     ms |
|                                                     error rate | knn-query-from-data-set |        0 |    %   |

Test
Experiment 1
|                                                 Min Throughput | knn-query-from-data-set |      6.72 |  ops/s |
|                                                Mean Throughput | knn-query-from-data-set |    188.53 |  ops/s |
|                                              Median Throughput | knn-query-from-data-set |    211.86 |  ops/s |
|                                                 Max Throughput | knn-query-from-data-set |    230.38 |  ops/s |
|                                        50th percentile latency | knn-query-from-data-set |   39.5459 |     ms |
|                                        90th percentile latency | knn-query-from-data-set |   52.3563 |     ms |
|                                        99th percentile latency | knn-query-from-data-set |    78.303 |     ms |
|                                      99.9th percentile latency | knn-query-from-data-set |   137.948 |     ms |
|                                     99.99th percentile latency | knn-query-from-data-set |   853.653 |     ms |
|                                       100th percentile latency | knn-query-from-data-set |   878.597 |     ms |
|                                                     error rate | knn-query-from-data-set |         0 |      % |

Experiment 2
|                                                 Min Throughput | knn-query-from-data-set |    10.67 |  ops/s |
|                                                Mean Throughput | knn-query-from-data-set |   233.56 |  ops/s |
|                                              Median Throughput | knn-query-from-data-set |   250.13 |  ops/s |
|                                                 Max Throughput | knn-query-from-data-set |   257.96 |  ops/s |
|                                        50th percentile latency | knn-query-from-data-set |  36.4199 |     ms |
|                                        90th percentile latency | knn-query-from-data-set |  45.4275 |     ms |
|                                        99th percentile latency | knn-query-from-data-set |  56.1804 |     ms |
|                                      99.9th percentile latency | knn-query-from-data-set |  126.153 |     ms |
|                                     99.99th percentile latency | knn-query-from-data-set |  519.331 |     ms |
|                                       100th percentile latency | knn-query-from-data-set |  524.645 |     ms |
|                                                     error rate | knn-query-from-data-set |        0 |      % |

Experiment 3
|                                                 Min Throughput | knn-query-from-data-set |    10.69 |  ops/s |
|                                                Mean Throughput | knn-query-from-data-set |   254.95 |  ops/s |
|                                              Median Throughput | knn-query-from-data-set |   273.35 |  ops/s |
|                                                 Max Throughput | knn-query-from-data-set |   281.37 |  ops/s |
|                                   50th percentile service time | knn-query-from-data-set |   33.038 |     ms |
|                                   90th percentile service time | knn-query-from-data-set |  41.4406 |     ms |
|                                   99th percentile service time | knn-query-from-data-set |  50.1554 |     ms |
|                                 99.9th percentile service time | knn-query-from-data-set |  511.439 |     ms |
|                                99.99th percentile service time | knn-query-from-data-set |  519.468 |     ms |
|                                  100th percentile service time | knn-query-from-data-set |  1054.82 |     ms |
|                                                     error rate | knn-query-from-data-set |        0 |      % |

Conclusion
Performance is similar on the given data set.

Seems that data for experiments 2 and 3 do not show much of improvement, and rather worse performance for some metrics. Are these results accurate?

@martin-gaievski For this experiment, Im not sure we will see too much improvement for a data set this small. Overall, the tests above show that the change does not cause any major regressions. We will need to see on a larger data set to see more subtle improvements.
I thought about running a 1B test, but I think the size of the change probably doesnt warrant it. I would like to group a few changes together before running 1B.


aiken uplc unflat incorrectly escapes strings

What Git revision are you using?
0.0.29
What operating system are you using, and which version?

[x] Linux / Ubuntu

Describe what the problem is?
The following flat program (hex<PHONE_NUMBER>015c0001) unflats into
(program
  0.0.0
  (con string "\")
)

This is an invalid uplc program. The backslash should be interpreted as an escape for the following ".
See this testcase in the original Plutus language testcases: https://github.com/input-output-hk/plutus/blob/master/plutus-conformance/test-cases/uplc/evaluation/builtin/constant/string/string4/string4.uplc
What should be the expected behavior?
The expected output is
(program
  0.0.0
  (con string "\\")
)

@nielstron team is interested in git sha1 version and if you are using 0.0.29 when it was released it was so long ago that they are likely to ask you to check against main branch.

This is the commit hash: 7e153ef5d74a39567da47163fbcac87fd0351d4f

I can confirm this issue persists on commit aa29636d50c3dc503ccc296dd4f9424b638951ba (which is the latest state of the repository as of now)


Enforcing 90 line length rule

Enforcing 90 line length rule as @FabioLuporini suggested and updating existing files accordingly.
Close issue 83 and 64 after merging.

I'm not the greatest fan of this for minor aesthetic reasons, but it's probably best in the long run. So merging...


Avoid infinite recursion for auto-fmt and auto-clippy

I got stack overflows after I fixed the -/_ typo 😆

@bors r+

:pushpin: Commit e6bbbac4e5031911901d88d217205b55b9a46a2e has been approved by oli-obk
It is now in the queue for this repository.

:hourglass: Testing commit e6bbbac4e5031911901d88d217205b55b9a46a2e with merge ac3e6433aa5967a1441eadba4e79d01e865b314d...

:sunny: Test successful - checks-actions
Approved by: oli-obk
Pushing ac3e6433aa5967a1441eadba4e79d01e865b314d to master...


Fix #569, Resolve CI warnings and add badge

Describe the contribution
Resolves warnings and adds badge to readme
Fix #569
Testing performed
Steps taken to test the contribution:

CI only

Expected behavior changes
No Travis-CI configuration warnings
System(s) tested on

Hardware: CI
OS: Ubuntu 18.04
Versions: bundle w/ this commit

Additional context
None
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

CCB 2020-04-01 - APPROVED


Showcase for the Arithmetics Language

This PR is needed first because I changed the language server: https://github.com/langium/langium/pull/1013/files
The PR got merged, so this PR is ready to go.

New

added showcase for the arithmetics language

Fixed

bug when having warnings inside of the code
bad responsiveness on smaller screen sizes

Honorable mention: Another banner for the arithmetics language is still needed

Could you find a better example calculation to show when the page is loaded? The "example1" module is nonsense and does not represent a good showcase (we should change this in the langium main repo, too).
A complex calculation that can be represented with the basic operators would be good, ideally also with a few helper functions and intermediate values / constants.

Could you find a better example calculation to show when the page is loaded? The "example1" module is nonsense and does not represent a good showcase (we should change this in the langium main repo, too).
A complex calculation that can be represented with the basic operators would be good, ideally also with a few helper functions and intermediate values / constants.

Definitely! I will work on a good representation/example for the arithmetics language!

Thanks @spoenemann!
I've added a banner for the arithmetics language and formatted the code of the Price Calculator.

@emilkrebs You forgot to address @spoenemann's last comment.

There is an unresolved conversation right above my last comment.

@msujew aah, sorry. I will resolve it and open a PR later that day.


[docs] Create a best practices article

Some of our competitors have such articles. We should promote smart assertions, page objects, using Roles for login and so on. [1]

I'll start a list, extend it please:

[ ] Smart Assertions
[ ] Page Objects
[ ] Roles for Login

[ ] File structure
[ ] Clean up on beforeEach
[ ] Testing only e2e scenarios / e2e tests appliance


Investigate what would be required to add meta-categories to Pybossa architecture

We want to be able to group together local theatres with a landing page for e.g. Margate or Plymouth. Each meta-category would have a description (e.g. x theatres in Margate, something history something) and a list of projects (e.g. volumes of playbills from the area).
So: Playbills / Meta-Category (Margate) / Category (volume of playbills Theatre name + date range).

So I think what we're really talking about here is creating separate instances of PyBossa for each meta-category (Playbills, Card Catalogues etc.). If we look at the playbills, we not only want to be able to group the current categories but want to create a playbills homepage, an about page and probably statistics and other pages specifically related to the playbills. If we start to think about what that looks like it's basically the model we already have but with the whole site tailored to one meta-category.
I reckon we basically want a root LibCrowds (Flask) application with a homepage and overall statistics and so on, then beneath that we can dispatch a PyBossa application for each meta-category. This shouldn't be too difficult to implement and I think makes more sense than making what would be some big changes to the core PyBossa code.
I'll set up an example of how this might look for the Playbills on our test server.

The only bit that might be tricky with the above approach is how to handle user statistics. Things like do we want to record all contributions to the Playbills/Card Catalogues separately, or do we want to record overall contributions for all project types. The first would be easier and possibly makes more sense?

This will now be dealt with under #52


Unlocked ruby versions

Trying to solve issue 2216 from XHT project.
As advised, I unlocked the ruby versions since the Dockerfile could not be built because of them (see here)
After I unlocked them, I built the image and lsof command is found. On the other hand, if I pull yegor256/xht image, lsof is not found.

@yegor256 Can you have a look? cc: @original-brownbear

@amihaiemil thanks


Correct value of SERVICE_CONFIG_LAUNCH_PROTECTED

SERVICE_CONFIG_LAUNCH_PROTECTED was given the value of 0x00000012 but that is incorrect. The correct value is 12 decimal, which is 0x0C in hexadecimal, not 0x12. 0x12 is actually 18, which is not a documented ChangeServiceConfig2W information level.
You can confirm this by checking the Microsoft documentation.
If you have the Windows SDK installed, you can also check the winsvc.h header, which says:
#define SERVICE_CONFIG_LAUNCH_PROTECTED         12

It doesn't appear that any Puppet code is actually using this constant, so having it set to the wrong value may not be causing any immediate harm. However, even so, it is better to have the correct value, someone might some day attempt to use actually use this constant, and having it set to the wrong value may cause confusion and delay.
(I have not signed the CLA, but this is a trivial patch, so per the Trivial patch exemption policy I don't need to.)

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Service Principal Check before Template Generation

It would be beneficial to add a check routine into the acs-engine that will validate the Service Principal prior to generating the templates. This will reduce issue as template will build out successfully even in SP is incorrect.

This is hard to do from ACS-Engine since the binary is not logged in like the cli.
We have a plan to go away from SP, so I'm marking this as won't fix.


Add PromptNode in a pipeline tutorial

I updated the tutorial according to your comments @agnieszka-m @TuanaCelik. Please take a one last look