Lodash related error trying to use the latest version 4.0.1

Hey there!
Tried to execute a simple node script and got the following error:
.../dist-raw/node-internal-modules-esm-resolve.js:366
    throw new ERR_MODULE_NOT_FOUND(
          ^
CustomError: Cannot find module '.../node_modules/lodash/compact' imported from .../node_modules/google-spreadsheet/dist/index.mjs
    at finalizeResolution (.../node_modules/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:366:11)
    at moduleResolve (.../node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:801:10)
    at Object.defaultResolve (.../node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:912:11)
    at .../node_modules/ts-node/src/esm.ts:218:35
    at entrypointFallback (.../node_modules/ts-node/src/esm.ts:168:34)
    at .../node_modules/ts-node/src/esm.ts:217:14
    at addShortCircuitFlag (.../node_modules/ts-node/src/esm.ts:409:21)
    at resolve (.../node_modules/ts-node/src/esm.ts:197:12)
    at resolve (.../node_modules/ts-node/src/child/child-loader.ts:15:39)
    at nextResolve (node:internal/modules/esm/loader:164:28)

Tried to downgrade the version to 3.x and it worked. I believe it might be related to changes in the new version.
My package.json deps:
  "devDependencies": {
    "@apify/tsconfig": "^0.1.0",
    "@swc/core": "^1.3.62",
    "@types/node": "^20.2.5",
    "commitizen": "^4.3.0",
    "cz-conventional-changelog": "^3.3.0",
    "husky": "^8.0.3",
    "nodemon": "^2.0.22",
    "snazzy": "^9.0.0",
    "ts-node": "^10.9.1",
    "ts-standard": "^12.0.2",
    "typescript": "^5.1.3"
  },
  "dependencies": {
    "crawlee": "^3.3.3",
    "dotenv": "^16.1.4",
    "google-auth-library": "^8.8.0",
    "google-spreadsheet": "^4.0.1",
    "playwright": "*"
  },

My simple script:
import { GoogleSpreadsheet } from 'google-spreadsheet'
import { JWT } from 'google-auth-library'

const jwt = new JWT({...})
const doc = new GoogleSpreadsheet('my_sheet_id', jwt)

await doc.loadInfo()
await doc.updateProperties({ title: 'renamed doc' })

@igormartimiano - checking it out now!

@igormartimiano - please try v4.0.2.
Apologies for the hassle!

@theoephraim No worries! Worked like a charm, thank you.


The following required packages were not found

$ yay -S gdb ninja gcc cmake meson libxcb xcb-proto xcb-util xcb-util-keysyms libxfixes libx11 libxcomposite xorg-xinput libxrender pixman wayland-protocols cairo pango seatd libxkbcommon xcb-util-wm xorg-xwayland libinput libliftoff libdisplay-info cpio tomlplusplus

$ git clone --recursive https://github.com/hyprwm/Hyprland
$ cd Hyprland
$ make all && sudo make install
--   Package 'hyprlang', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
  The following required packages were not found:

   - hyprlang>=0.3.2

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
  CMakeLists.txt:104 (pkg_check_modules)

$ sudo pacman -S hyprlang
$ make all && sudo make install

idk, maybe arch packaging is broken, try installing hyprlang from source


Add BitTorrentChain network (BTT)

Description

[X] Symbol: BTT
[X] ChainId: 199
[X] Website: https://bittorrentchain.io/
[X]  Block-Explorer: https://scan.bittorrentchain.io/
[X] slip-0044 type: None

Additional comments
First PR #211

This has already been merged here: https://github.com/LedgerHQ/app-ethereum/commit/6b24a045ce2762369c21477725eb0cf4dc74a18a


Show list of current incidents

On the first page the result of the "scope" response shall be shown. In the first approach, the incident data of the own unit shall be parsed and be shown on the first page.
Per incident an own list item shall be shown.

Incidents are now displayed after the first manual refresh or when swiping back to the incident list page (first page). They are alsow fetched on app start but the response takes too long for the task to finish.


Adding in raw AMQP message support

Enabling raw AMQP message support with two pieces:

ReceivedEventData now has a RawAMQPMessage, of type AMQPAnnotatedMessage. The AMQPAnnotatedMessage is the same as what we have in azservicebus except it doesn't need some unexported fields since we don't do message settlement.
EventDataBatch has a new function (AddAMQPAnnotatedMessage) which takes an AMQPAnnotatedMessage as a parameter. It functions exactly the same as it's EventData counterpart (AddEventData).

There are a few new .go files for AMQP support, but they are largely duplicates of what we have in azservicebus.

/azp run go - azeventhubs

/azp run go - azeventhubs


browserWindow: adding devtools-focused event

Fixes #981
Depends on https://github.com/atom/brightray/pull/96

Thanks!


Feature request: alternative data download options for Chinese users

Hi, thanks for creating this great package!
I'm a user from China and I saw that many data processing functions download data from Google drive. Since Google is blocked in China, these function calls always time out, which makes the functionalities unusable. It would be nice if the data can have a secondary storage option, and if connection to the first source times out, the function calls can also try another unblocked source. Or maybe the data can be stored somewhere else that's accessible.

we will consider it. thanks!!

we have updated the google drive link to a github link. Now it works for Chinese users. thanks for your issues!!

Wow that was fast :D Thanks!


Feature/news list styles

Codecov Report

Merging #60 into master will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master     #60      +/-   ##
=========================================
- Coverage    3.98%   3.96%   -0.02%
=========================================
  Files          78      78
  Lines         678     681       +3
  Branches      180     182       +2
=========================================
  Hits           27      27
- Misses        651     654       +3

Impacted Files
Coverage Δ

src/components/NewsPage/components/expand_text.tsx
0.00% <0.00%> (ø)

src/components/NewsPage/newsPageList.tsx
0.00% <0.00%> (ø)

src/components/NewsPage/types/half_news.tsx
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


A11y_SQLAzureDataStudio_AddAzureAccount_AddAzureAccount_Keyboard:The focus order is not logical after the "select subscription" dropdown has been closed.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11y_SQLAzureDataStudioBenchmark;#A11yMAS;#A11ySev2;#A11yTCS;#SQL Azure Data Studio;#Benchmark;#DesktopApp;#MacOs;#MAS2.4.3;#Keyboard;
Environment Details:
Application Name: Azure Data Studio
Version: 1.15.0-insider
Commit: 3a8b74a
Date: 2020-02-11T05:49:41.181Z
VS Code: 1.42.0
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.3.0
Mac OS:10.15.3
Additional Details:
Mac OS:10.15.3
MAS References:MAS2.4.3
Repro Steps:

Launch Azure Data Studio application.
Connect to server with windows credentials.
Navigate to Connections from left menu.
Select Azure, navigate to + button & hit enter.
Navigate to Add account button in right side window & hit enter.
Tab to the "select subscription" button.

Actual:
On navigating to the button "select subscription" press enter an option list opens on escape it is closed and next tab key focus moves to controls under the commonly used heading
Expected:
The focus after closing the options list should be on the button "select subscription".
User Impact:
Keyboard users will not be able to navigate to the items under the account after a subscription has been selected.
Attachment link for Reference:
A11y_SQLAzureDataStudio_AddAzureAccount_AddAzureAccount_9232.zip

not sure whether we can control where the focus goes to

this is a vscode popup we are leveraging, please find a way for vscode to repro the issue and open  a bug there, then resolve this one as upstream.

https://github.com/microsoft/vscode/pull/92969

@aaomidi not sure how long will it take for vscode to fix the issue, I am thinking of making the change directly in ADS now. there might be a merge conflict, but that is easy to resolve. what do you think?

We can do it and put the SQL CARBON EDIT on top of it.

@aaomidi yes, please do.

Verified the bug, issue is not repro'ing.
GithubTags:#Closed;
PFA for reference
9232_closed.zip

GitHubTags:#SQLADS-MAC-Feb2020;


Pull Request for Issue #2115

@scanum  hi!  This PR solve the issue #2115, I remove the reference in the document for the website www.skypepreview.com because this site does not exist anymore and does not have a replacement. This site referenced a bug/error notification when SFB was in a preview version ! please review and merge !

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@rowille Hi Bob, changes look correct. Could you please confirm and merge? Thanks!!

@rowille Hi Bob, any updates on this? Thanks!


Cursor jumps to end of the text when editing invalid json

bad internet connection and me not having enough coffee :( sorry for the double posting


fix(docs): dark mode typo

📝 Description
Fix typo exits > exists

Summary by CodeRabbit

New Features

Updated documentation for implementing dark mode in applications using NextUI and Next.js.
Introduced a theme switcher component for toggling between light and dark modes.
Added instructions for using the use-dark-mode hook in React applications.

Bug Fixes

Corrected minor typos in dark mode documentation.

covered in my use-theme PR (3169).


Added Translations for Hindi language

Added 'hi' translations for Hindi language for India.

I signed it!

Thanks for the translation!


use evaluation and training time to estimate runtime

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

BTW: Agreed with David that we don't want to extend the table by another column for cumulative time, but rather compute this in the back-end.
Could you quickly check the other blackbox conversion scripts and enter a comment whether 'runtime' there is per epoch or cumulative?

sure, I will send another PR for the other scripts


IRGen: Give ObjC metadata symbols internal linkage.

This preserves the symbol names in (unstripped) binaries, so we can use them for link ordering and
memory usage analysis.

@swift-ci Please test


[ha/test_storage.py] Investigate stale metadata when bringing 6th node

On some of our runs of the test_storage.py, the cluster reports stale metadata when bringing up a new data with one of the existing storage devices.
Follow-up post: https://forum.opensearch.org/t/node-comeback-up-with-stale-metadata/20209

After investigating this issue, we have generated a document describing the problem in details and potential solutions: https://charmhub.io/opensearch/docs/h-attached-storage


Updating documentation title attribute

There were a bunch of DOS-CRs in this PR (or the other one?) anyhow, conflicts. Closing this PR because it's easier to open a new one than fix a foreign forked on the command line. https://github.com/prebid/prebid.github.io/pull/3566


specifying action limits in the manifest is not working

The Openwhisk manifest spec for action limits:
https://github.com/apache/openwhisk-wskdeploy/blob/master/specification/html/spec_actions.md#valid-limit-keys
The manifest spec limits keys we care about that are supported in the Openwhisk API are:

timeout
memorySize
logSize
concurrentActivations

However, the Openwhisk API only supports these keys:

timeout
memory
logs
concurrency

Repro
Deploy an action with this manifest:
application:
  actions: actions
  web: web-src
  runtimeManifest:
    packages:
      my-package:
        license: Apache-2.0
        actions:
          generic:
            function: actions/generic/index.js
            web: 'yes'
            runtime: 'nodejs:14'
            annotations:
              require-adobe-auth: false
              final: true
            limits:
              concurrentActivations: 300

Then run:
$ aio app deploy
$ aio rt action get my-package/generic

Note that the action metadata output will not show concurrency set to 300.
Workaround
For the action limits, use these keys for the corresponding limits keys in the spec:

timeout
memory
logs
concurrency

Fix
Before the config is passed to the Openwhisk client library, the limits keys need to be mapped accordingly (see above)

This is merged, which would suggest we close this issue, however we now have 2 ways of specifying the same thing.
We may be better off reverting the fix, and simply updating our documentation to only support concurrency and leave concurrentActivations out


feat(CreateTearsheet): #1076 create tearsheet custom step

Contributes to #1076
This PR adds a new prop, initialStep, that allows for opening the create tearsheet to a custom step.
What did you change?
CreateTearsheet.js
CreateTearsheet.test.js
CreateInfluencer.js
useResetCreateComponent.js
How did you test and verify your work?
Storybook, yarn test /CreateTearsheet/

A continuation from our Slack conversation:
Is there a way to let the developer explicitly know that we're setting the currentStep to 1 because they provided a number that didn't correlate to a step?
Potentially adding a warning to that useEffect in the useReactCreateComponent hook?

Yes good idea @sydrosa! I've update the useResetCreateComponent.js hook to log a warning if an invalid initialStep is provided.


[Regression] Test client's response.status_code is always 500 when an exception is raised

Expected Behavior
What used to happen before, i.e. on
raise NotFound()

the test client's response.status_code should be 404.
Actual Behavior
It's always 500.
Environment
See my failing Travis CI builds:

https://travis-ci.org/poliedro-polimi/Crowdfunding-Backend
One of the tests that fails because of this issue: link
Code that makes it fail: link

Python version: >3.5, pypy3 (not tested on other versions)
Flask version: 1.0.2 from pypi (worked as expected in 0.12.2)
Werkzeug version: 0.14.1

I can't reproduce the issue. Please include a minimal example here to demonstrate the issue.
The following does not raise an assertion error:
from werkzeug.exceptions import NotFound
from flask import Flask

app = Flask(__name__)

@app.route('/')
def index():
    raise NotFound()

client = app.test_client()
response = client.get('/')
assert response.status_code == 404


Wrong version in const.py?

Hi,
Is the version in const.py correct?
VERSION = "0.1.0"

The latest release version is 0.1.9.

No, sorry, it seems to be updated when the release is generated.


bootstrap.py recently started failing with permission error

Last week on master, this did not happen.  Ubuntu 14.04 LTS
/usr/bin/python /home/adam/src/electron/script/update.py
Traceback (most recent call last):
File "vendor/brightray/vendor/gyp/gyp_main.py", line 18, in
sys.exit(gyp.script_main())
File "vendor/brightray/vendor/gyp/pylib/gyp/init.py", line 532, in script_main
return main(sys.argv[1:])
File "vendor/brightray/vendor/gyp/pylib/gyp/init.py", line 525, in main
return gyp_main(args)
File "vendor/brightray/vendor/gyp/pylib/gyp/init.py", line 501, in gyp_main
params, options.check, options.circular_check)
File "vendor/brightray/vendor/gyp/pylib/gyp/init.py", line 129, in Load
params['parallel'], params['root_targets'])
File "vendor/brightray/vendor/gyp/pylib/gyp/input.py", line 2730, in Load
check, generator_input_info)
File "vendor/brightray/vendor/gyp/pylib/gyp/input.py", line 596, in LoadTargetBuildFilesParallel
parallel_state.pool = multiprocessing.Pool(multiprocessing.cpu_count())
File "/usr/lib/python2.7/multiprocessing/init.py", line 232, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 138, in init
self._setup_queues()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 234, in _setup_queues
self._inqueue = SimpleQueue()
File "/usr/lib/python2.7/multiprocessing/queues.py", line 352, in init
self._rlock = Lock()
File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 147, in init
SemLock.init(self, SEMAPHORE, 1, 1)
File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in init
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied
None
Traceback (most recent call last):
File "./script/bootstrap.py", line 142, in
sys.exit(main())
File "./script/bootstrap.py", line 34, in main
run_update()
File "./script/bootstrap.py", line 138, in run_update
execute_stdout([sys.executable, update])
File "/home/adam/src/electron/script/lib/util.py", line 152, in execute_stdout
raise e
subprocess.CalledProcessError: Command '['/usr/bin/python', '/home/adam/src/electron/script/update.py']' returned non-zero exit status 1

Looks like you don't have permission. here might be the answer for you: http://stackoverflow.com/questions/2009278/python-multiprocessing-permission-denied

Aha, thanks. I rebooted that machine for the first time in a while, and permissions must have reverted to the broken state.


Add users for testing on public SDR test server

From email:
Paul – please could you set up accounts for Wouter, Jonas, Claus & Sharif on the SDR prototype?

Intending to automate the addition of users as an Ansible playbook which can be run by an Admin

I created a single testing account for Kate (one of the NHM digitisers) with the following test tasks:

Login
Import a workflow (Telkia's DLA tool and collections)
Run a workflow
View outputs and download data
Copy and edit the “PinnedInsect-TenRow-Example.csv”
Repeat steps 3 and 4 using your edited specimen file and make some notes on how good the regions of interest are

If the test tasks work then we will create accounts for the users listed above.
@OliverWoolland depending on how successful the initial testing is, we should try and add shared data and shared workflows to make these steps easier.
Full instructions for the test:
Importing a workflow

Click on the “Workflow” link at the top of the screen
Click “Import”
Click “Browse” and upload the attached “Galaxy-Workflow-DLA-Collections-test.ga”
Click “Import workflow”

Running a workflow

Download “PinnedInsect-TenRow-Example.csv” and move it somewhere accessible
On the righthand side click on “Unnamed history” and rename it something sensible (like “My first workflow test”) so you have some context – consider a workflow like a mini project for a submitted dataset or testing
Click on the “Workflow” link at the top of the screen
Click on the run workflow button (looks like a blue rectangle with a white “play” arrow inside)
Click on the grey folder button to the right of the field which has “No txt dataset available.”
Click “Upload”
Click “Choose local files”
Select “PinnedInsect-TenRow-Example.csv” from wherever you moved it
Click “Start” and wait for the status bar to go to 100%
Click “Select” – you should see the dataset appear in your history with a green background
Click “Run Workflow”
Wait for a few minutes – the workflow will run through all of the steps (and substeps), each of which should go from grey (waiting) to peach? (running/in-progress) to green (complete)

Viewing outputs and downloading data

Click on (what should be) Step 48 in your history once the workflow has run – it should have a title like “SDR Teklia worker-dla on collection 37 and collection 36”
Click on one of the split_files – this should expand and give you more information
Click on the tiny graph button with hover over label “Visualise this button” to the left of the “?” button
Click ROI Visualisation – this should show you a visualisation of the regions of interest (ROI)
Once you have finished looking at any of the split_files click on the link under the “History” heading “< Back to [your history name]”
Click on the last step of the workflow labelled “sdr_output” to expand the workflow step
Click on the tiny left most button with the floppy disk icon with hover over label “Download” – this should download a zip file containing a folder “Bundled_Collection”

Copy and edit the “PinnedInsect-TenRow-Example.csv”

Open file in Excel
Find some “standard pinned insect” images from any project – the recent micro macros would be great
Update the “Catalog number”, “ Image URI”, “Higher classification” fields (if you are feeling lazy or are short for time, just change the Image URIs – if you have the time, add in your name and ORCID)

Using the following test files: Test files.zip

Initial test went well - tested external (non-NHM VPN/wired/wireless) and no firewall blocks.
Kate will share some feedback on the model/tool results an usability but these will be moved into a separate evaluation/UAT issue.
Next step is to add some additional users as per previous comments.

Added initial users. Evaluation and further testing will be done in #100 and more broadly, as part of D8.4 #79


Applicable vulnerability column for audit command

[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.
[ ] All static analysis checks passed.
[ ] This pull request is on the dev branch.
[ ] I used gofmt for formatting the code before submitting the pull request.

The updated flow description of the audit command is explained here:

The output of audit (the following logic applies to all output formats - table, Sarif & json):

When the user is entitled for JAS the output will include a new “Applicable” column:

The new column can have three values: “Yes”, “No” and “unknown”
When the value is “Yes” it is colored in red.
This column is a second sort according to that order: Yes > unknown > No

When the user is not entitled for JAS the output will not include the applicable column:

I have read the CLA Document and I hereby sign the CLA

@orto17, Great Work 😊 !
Please consider my inline comments.


Scroll handle is not positionned properly when scrolling the recycling view

Hello and thank you for this project.
I have noticed an issue when the list contains a small number of elements.
It can be reproduced by only keeping the first 20 or so items in the countries.json file of the sample app.
When scrolling using the scroll handle everything is going fine :

but when dragging down the list itself to the end, the scroll handle doesn't go until the bottom, even though I have reached the last element in the list :

Is it related to the TODO item mentioned in the README ( Make handle size flexible to item count in adapter) or is it a bug?

Hmm, this surely looks like a bug and is not related to the TODO mentioned. Thanks for letting us know!

Hmm, this surely looks like a bug and is not related to the TODO mentioned. Thanks for letting us know!

Is this issue the same as I show here, after modifying the sample a bit:
KK5iETTupT.zip
RecyclerView-FastScroller.zip
BasicAdapter - changed number of items to 10.
recycler_view_list_item_center.xml - changed item height to 100dp

Is this issue the same as I show here, after modifying the sample a bit:
KK5iETTupT.zip
RecyclerView-FastScroller.zip
BasicAdapter - changed number of items to 10.
recycler_view_list_item_center.xml - changed item height to 100dp

@AndroidDeveloperLB Yes your video is the issue that I have

@AndroidDeveloperLB Yes your video is the issue that I have

@bperel Thank you. Do you know of any workaround of this?

@bperel Thank you. Do you know of any workaround of this?

No, I didn't find a workaround: my project can't use the library until this bug is fixed since it prevents the user from scrolling through the content properly

No, I didn't find a workaround: my project can't use the library until this bug is fixed since it prevents the user from scrolling through the content properly

@bperel OK thank you.

@bperel OK thank you.

I have the same issue.


Show where tool versions are defined when calling rtx current

When calling asdf current, part of the information displayed is where each tool version is defined. This is super helpful to understand what has been used to source the environment you're currently in.
For rtx current, however, only the tool versions are currently displayed.
It would be nice if rtx could show where tool versions are sourced from, similarly to how asdf does it.
Example output from asdf current
❯ asdf current
bun             0.7.3           Not installed. Run "asdf install bun 0.7.3"
golang           system         /Users/jens/.tool-versions
just               system       /Users/jens/.tool-versions
kubectl         1.22.17         /Users/jens/.tool-versions
nodejs          20.5.0          /Users/jens/Repos/my-repo/.tool-versions
pnpm            8.6.12          Not installed. Run "asdf install pnpm 8.6.12"
poetry           1.5.1          /Users/jens/.tool-versions
yarn               1.22.19      /Users/jens/.tool-versions
zigmod           r86            /Users/jens/.tool-versions

Just use rtx ls

Look at that! I wasn't aware of this, but that 100% solves what I'm asking. I'll close this ticket, thank you for the swift response.


Please add me to the Kivy Garden

Link for a merged garden PR or a proposed new flower:
https://github.com/ophermit/xpopup

The repo will have to be transferred to me or someone else from the team, see the bottom of repo settings.
Thanks for taking the time to contribute. :+1:

Request to transfer has been sent. Thanks for attention!

@ophermit, you've been invited to become a kivy-garden member, once accepted, you should have write access to https://github.com/kivy-garden/garden.xpopup.


Move maintainer meeting into the public

The maintainer meeting will move into the public for transparency and community-building.
The rough steps involved:

[x] Draft meeting request (@funnelfiasco)
[x] Approve content (maintainers)
[ ] Create meeting (OpenSSF Ops)
[ ] Announce public meeting (@funnelfiasco)

@guacsec/guac-maint any concerns with the following?
Title: GUAC Maintainers meeting
Date/time: Mondays at 11 AM Eastern
Description:
Regular meeting for GUAC maintainers to coordinate development work. The meeting is open to interested community members, but is primarily for maintainer discussion. For general questions and discussion, join us in #guac on the OpenSSF Slack.

LGTM

Meeting request sent to Ops

Meeting created: https://www.google.com/calendar/event?eid=NjBrdDZ0MzVsbTRiNjNqbGhpajVxMXQ0MGJfMjAyNDA2MDNUMTUwMDAwWiBzNjN2b2VmaHA1aTlwZmx0YjVxNjduZ3Blc0Bn&ctz=America/New_York
It will start on June 3! (I've asked them to create and attach a Google Doc, which will be done momentarily). I'll make a public announcement next week.


[Feature]  Cuda12 wheel?

Motivation
Hi, my local setup is CUDA 12.2 on Ubuntu adm64 python3.11
After installing serve lmdeploy package
pip install lmdeploy[serve]

It encountered this error:
/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/gradio/components/button.py:89: UserWarning: Using the update method is deprecated. Simply return a new object instead, e.g. `return gr.Button(...)` instead of `return gr.Button.update(...)`.
  warnings.warn(
Traceback (most recent call last):
  File "/home/hangyu5/anaconda3/envs/lmdeploy/bin/lmdeploy", line 8, in <module>
    sys.exit(run())
             ^^^^^
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/lmdeploy/cli/cli.py", line 135, in run
    fire.Fire(cli, name='lmdeploy')
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/fire/core.py", line 475, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
                                ^^^^^^^^^^^^^^^^^^^^
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/lmdeploy/cli/serve.py", line 42, in gradio
    run(model_path_or_server,
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/lmdeploy/serve/gradio/app.py", line 34, in run
    run_local(model_path_or_server, server_name, server_port, batch_size,
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/lmdeploy/serve/gradio/turbomind_coupled.py", line 131, in run_local
    InterFace.async_engine = AsyncEngine(model_path=model_path,
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/lmdeploy/serve/async_engine.py", line 30, in __init__
    from lmdeploy import turbomind as tm
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/lmdeploy/turbomind/__init__.py", line 2, in <module>
    from .turbomind import TurboMind
  File "/home/hangyu5/anaconda3/envs/lmdeploy/lib/python3.11/site-packages/lmdeploy/turbomind/turbomind.py", line 23, in <module>
    import _turbomind as _tm  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory

Seemes it only expecting cuda11. Would you release wheels for CUDA12.1? It is quite popular since pytorch has that version of cuda
Related resources
No response
Additional context
No response

The prebuilt package is built on cuda 11.8 platform.
@irexyc Can you provide a guide about wheel built on cuda 12.x platform?

@yhyu13
可以试一下看看能不能用
https://github.com/irexyc/lmdeploy/releases

可以参考一下build文档中的这个章节
需要将这个文件中的 11.8 改成 12.2

May I know whic cuda11.8 docker image that you used for building the wheel? There are plenty of these docker images

可以参考一下build文档中的这个章节
需要将这个文件中的 11.8 改成 12.2

May I know which cuda11.8 docker image that you used for building the wheel? There are plenty of these docker images

ok, I found it https://github.com/irexyc/lmdeploy/commit/2a48db3c8e18fc6ca6cf3f511d2f8076f7b6c54e

cuda 12.x wheel will be attached to the release note rather than uploading to pypi.
The prebuilt package will still be complied with cuda 11.8

不用。cuda 12 的预编译包在 release note 中

所有的都是cuda12的。pypi网站上的是cuda11的。


device_plugins: Add link to certified operator

Signed-off-by: Hersh Pathak<EMAIL_ADDRESS>

looks good to me!


:memo: Docs: Complete first draft of guides

Description
More docs
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #874   👈

This stack of pull requests is managed by Graphite.


Bug with terminal

I think sending and recieving each character base64-encoded, similar to how I do it with https://github.com/hello-smile6/libv86-terminal-forwarding/ , might fix it.

Sorry, I'm not sure I understand. What's the expected behavior, and what behavior is being demonstrated in the screenshot?

Sorry, I'm not sure I understand. What's the expected behavior, and what behavior is being demonstrated in the screenshot?

The text is strange when I use NodeJS. I'd expect it to work like running it on the same device. If data is being lost in transmission, you could always base64-encode terminal data before sending it.

Can you please explain what you mean by "strange", as in: what's the expected output, and what behavior are you actually seeing? Also, I won't be able to reproduce this without knowing what input you're giving.

Can you please explain what you mean by "strange", as in: what's the expected output, and what behavior are you actually seeing? Also, I won't be able to reproduce this without knowing what input you're giving.

I was running child_process with Node, then typing in the first letter of the word os once I did const os=require("os")

I don't know what "running child_process" means. Can you please clarify exactly what you're typing, and in what order? A video would be even better.
In the following screenshot, I executed require('child_process').exec('ls -lA'), then const os=require("os"), then typed o. I don't see anything out of the ordinary:

I don't know what "running child_process" means. Can you please clarify exactly what you're typing, and in what order? A video would be even better.
In the following screenshot, I executed require('child_process').exec('ls -lA'), then const os=require("os"), then typed o. I don't see anything out of the ordinary:

I'll open up a clean Chromium instance once I manage to delete enough files, then I'll record a video.

This thread is being closed automatically by Tidier because it is labeled with "waiting on response" and has not seen any activity for 90 days. But don't worry—if you have any information that might advance the discussion, leave a comment and I will be happy to reopen the thread :)


Licence clarification

[Enter feedback here]
https://learn.microsoft.com/en-us/microsoft-365/compliance/dlp-microsoft-teams?view=o365-worldwide#dlp-licensing-for-microsoft-teams
In the above section, Does F5 Information Protection & Governance include Teams DLP? If yes, can you please update this page?
The below article clearly says F5 IP&G includes Teams DLP
https://learn.microsoft.com/en-us/office365/servicedescriptions/microsoft-365-service-descriptions/microsoft-365-tenantlevel-services-licensing-guidance/microsoft-365-security-compliance-licensing-guidance#microsoft-purview-data-loss-prevention-data-loss-prevention-dlp-for-teams

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

ID: ebaab3f7-d1d4-c649-efe8-f24913da4f3e
Version Independent ID: c5710ebf-0ca5-ab46-c490-64ebc308defe
Content: Data loss prevention and Microsoft Teams - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/dlp-microsoft-teams.md
Service: o365-seccomp
GitHub Login: @chrfox
Microsoft Alias: chrfox

@bubhat Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/12041
Once the author approves, the changes will be live.
Thanks
Sri

@bubhat Thanks for your feedback! New issues and pull requests for this content are closed while we update this content to support upcoming feature improvements.


5P42

Use the preview tab to see the example given below. Edit the relevant information and preview the changes before submitting. You may delete these instructions.

Key
Value

ID
5P42

Source
Vaaran Bhai Gurdas Ji

Page
22

Line
jIvn mukiq krwie, sbdu iswixAw [

Correction
THIS ≠ THAT

PROOF (EDITION)
Image:

Correction:
iswixAw ≠
Proof:
Vaaran Bhai Gurdaas Ji | November 2011 | Shamsher Singh Ashok | SGPC, Sri Amritsar
Image:


Shortcut for RTL and LTR

Please add a keyboard shortcut for changing the "writing direction" between REL and LTR.

Declined


"Minimum notice" time is actually a maximum

Hi,
I had a case with Microsoft support about the scheduled events api<PHONE_NUMBER>000482). The outcome of this case was that essentially what you describe in the docs as a minimum notice time is actually a maximum notice time
https://github.com/MicrosoftDocs/azure-docs/blob/9d665d3588e5d09c8f650a4d646a14a5264b3e6d/articles/virtual-machines/linux/scheduled-events.md?plain=1#L213
Greetings
Klaas

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

ID: 479d877a-81a0-5436-76d9-898303c5bbec
Version Independent ID: f352ae78-1d3f-a780-554c-fc304ada5a69
Content: Scheduled Events for Linux VMs in Azure - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/scheduled-events.md
Service: virtual-machines
Sub-service: scheduled-events
GitHub Login: @EricRadzikowskiMSFT
Microsoft Alias: ericrad

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

@Klaas-
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.
@adwilso
Can you please check and add your comments on this doc update request as applicable.

Thanks for your contribution to our documentation
We are moving to a new user feedback system. As part of that effort, we are creating a content request in our backlog to address this gap and are closing this GitHub issue. The updated content will be published shortly.

Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Zoom control icons disappear after configuring zoomControlOptions position

Issue description
zoomControlOptions position is not working
Steps to reproduce and a minimal demo of the problem
<agm-map
[latitude]="lat"
[longitude]="lng"
[zoom]="zoom"
[zoomControl]="true"
[zoomControlOptions]="{position: 'TOP_LEFT'}"
(mapClick)="mapClicked($event)"
(mapReady)="onMapReady($event)">
_Use https://plnkr.co or similar -- try this template as a starting point: http://plnkr.co/edit/YX7W20?p=preview
https://stackblitz.com/edit/angular-google-maps-demo-7cmc4g?file=app/app.component.html
What steps should we try in your demo to see the problem?
Current behavior
Zoom controls disappear
Expected/desired behavior
Should show on the position specified
angular2 & angular-google-maps version
angular 5.0, latest angular-google-maps version
Other information

I've never used this option myself and I don't currently have a handy Angular project with me where I can quickly try this, but upon inspecting the source code, I see that ZoomControlOptions (the type you're supposed to give it) is using ControlPosition, which is an enumeration, not a string; you're giving it a string.

thx, lazarljubenovic. I am new to typescript.
Can you give me some code example how to pass the right param?
I want to place the controls RIGHT_TOP

Need to import googlemap types
npm install @types/googlemaps
Then in the component import the types.
import { } from 'googlemaps';
Then need to define the position for use
zoomPosition: google.maps.ControlPosition = google.maps.ControlPosition.TOP_RIGHT;
Then pass that through interpolation to the element
[zoomControlOptions] = "{position: zoomPosition}"
Works when I try it in your stackblitz example above.

@timcblank Many thx for your help. I got 'ReferenceError: google is not defined' error. How to fix it?

"google" is defined as a type from the types install with the project. You get access to those types from import. Make sure you've also included the AgmModule with your app module and any lazy loaded modules using AGM correctly as well. That info should be part of the getting started bit on the website for this library.

@timcblank thx for the tips.
Adding AgmModule to the app module didn't fix the issue.
Only after I added  to the index.html. It started working. But adding to the index.html isn't the right way, is it?

I use Agm with ionic 3.x. To help other people. Here is what I did:

npm install @types/googlemaps
ts.
import { } from 'googlemaps';
declare const google: any;

zoomPosition: any //Defined the variable above the constructor
onMapReady(map) {
google.maps.ControlPosition = google.maps.ControlPosition.TOP_RIGHT;
this.zoomPosition = google.maps.ControlPosition;
}
3.html:
<agm-map
[latitude]="lat"
[longitude]="lng"
[zoom]="zoom"
[zoomControlOptions] = "{position: zoomPosition}"
(mapClick)="mapClicked($event)"
(mapReady)="onMapReady($event)">
@timcblank thanks again. People like you deserve lots of respect.

@lolaswift not sure how you got it working
it is not working for me
this is what i did
import { } from 'googlemaps';
declare const google: any;
zoomPosition = google.maps.ControlPosition.TOP_LEFT
i still get 'ReferenceError: google is not defined'
any help will be appreciated!
thanks

@sumitdaga
You need to run it in your mapReady function.
onMapReady(map) {
map.setOptions({
zoomControl: 'true',
zoomControlOptions: {
position: google.maps.ControlPosition.RIGHT_CENTER
}
});
}
Don't forget to have mapReady on your template like this:
<agm-map
[latitude]="lat"
[longitude]="lng"
[zoom]="zoom"
(mapClick)="mapClicked($event)"
(mapReady)="onMapReady($event)">

@lolaswift
Thanks a lot ! ...it worked !
still curious though, how the stackblits example of timcblank worked !
thanks anyway

@sumitdaga
I am not sure. I guess it has something to do with lazyloading. You can only set those options when the map is ready.

All googlemap types are imported through the command
import { } from 'googlemaps';
You don't need to declare the variable google at all. It becomes available inside the MapsAPILoader load function or onMapReady function or inside a function called from the map element on callback. You can't use the google types outside that.

All you need is to:
import { ControlPosition } from '@agm/core/services/google-maps-types';
and then:
zoomControlOptions: {
      position: ControlPosition.TOP_LEFT
 }

thanks!  @shoudaos
this makes more sense!

@shoudaos. Many thanks!

➡ Im closing this because I don't see any bug. Feel free to reopen if you still think there's a bug or comment below.

@SebastianM I am alson stuck with this issue
<agm-map #gm [latitude]="center?.lat" [longitude]="center?.lng" [zoom]="zoom"   [usePanning]='true'
[zoomControlOptions]="{position: 'TOP_LEFT'}">

can you please give a right example

@mahfuzur . I do it like this
ts:
import { ControlPosition } from '@agm/core/services/google-maps-types';
onMapReady(map) {
map.setOptions({
  zoomControl: 'true',
  zoomControlOptions: {
    position: ControlPosition.TOP_LEFT
  }
});

}
html:
<agm-map [latitude]="lat" [longitude]="lng" [zoom]="zoom" (mapClick)="mapClicked($event)" (mapReady)="onMapReady($event)">

I feel like this is an issue, or the documentation should be updated. The documentation tells me I can do
[zoomControlOptions]="{position: LEFT_TOP}"
Instead I have to do
public mapReadyHandler(map): void {
        this.map = map;
        this.map.setOptions({
            zoomControlOptions: {
                position: google.maps.ControlPosition.LEFT_TOP
            }
        });
    }

@mahfuzur . I do it like this
ts:
import { ControlPosition } from '@agm/core/services/google-maps-types';
onMapReady(map) {
 map.setOptions({
 zoomControl: 'true',
zoomControlOptions: {
position: ControlPosition.TOP_LEFT
 }
 });
}
html:
<agm-map [latitude]="lat" [longitude]="lng" [zoom]="zoom" (mapClick)="mapClicked($event)" (mapReady)="onMapReady($event)">

thanks you! this solution helped me

I understand this post is closed, but for anyone looking for a solution to move the control position here is it:
 public getMapInstance(map) {     this.map = map;     map.setOptions({       zoomControl: 'true',       zoomControlOptions: {         position: google.maps.ControlPosition.LEFT_TOP       }     });   }

don't follow @lolaswift or @diomededavid 's advice ;)
set position to ControlPosition.TOP_LEFT, importing ControlPosition from @agm/core
If all else fails, you can look up the position value from here:
TOP_LEFT: 1
TOP_CENTER: 2
TOP: 2
TOP_RIGHT: 3
LEFT_CENTER: 4
LEFT_TOP: 5
LEFT: 5
LEFT_BOTTOM: 6
RIGHT_TOP: 7
RIGHT: 7
RIGHT_CENTER: 8
RIGHT_BOTTOM: 9
BOTTOM_LEFT: 10
BOTTOM_CENTER: 11
BOTTOM: 11
BOTTOM_RIGHT: 12
CENTER: 13

and set position to the number value.
In AGM2.0 this will be addressed comprehensively


Mina-QA: archive node can't sync properly

Description
Node can't sync for 4 hours. During synchronization, node crashed several times

Coda client status
Coda daemon status
-----------------------------------

Global number of accounts:       77
Block height:                    293
Max observed block length:       589
Local uptime:                    54m15s
Ledger Merkle root:              jwWvAMnXXtuwJSPM9LLdEhHNzYsS2zhJHZ3yESJrwVk7561M6BV
Protocol state hash:             3NKZ4aEhB88vLUgjR7vt7d8ZjZQ2ed7H8KCMuqM1H5pnndTxDnLY
Chain id:                        a5f4406aa626266738860c5a6a5ffdff32c6eb55c61b0640a543916ba0808ba5
Git SHA-1:                       [DIRTY]6dc573d304cf05e3d0107b61901b3b816ab06b15
Configuration directory:         /root/.coda-config
Peers:                           16 (<IP_ADDRESS>:56661 <IP_ADDRESS>:10511 <IP_ADDRESS>:10001 <IP_ADDRESS>:10503 <IP_ADDRESS>:10506 <IP_ADDRESS>:8302 <IP_ADDRESS>:10401 <IP_ADDRESS>:10909 <IP_ADDRESS>:10501 <IP_ADDRESS>:10508 <IP_ADDRESS>:10509 <IP_ADDRESS>:55742 <IP_ADDRESS>:10001 <IP_ADDRESS>:10504 <IP_ADDRESS>:10502 <IP_ADDRESS>:10510)
User_commands sent:              0
SNARK worker:                    None
SNARK work fee:                  25000000
Sync status:                     Synced
Block producers running:         1 (B62qp6PvbR69ip9a1ZRy47ryGqVSWVrWJ19fhPVDJBZ6x2S8AKyL5Lc)
Best tip consensus time:         epoch=0, slot=1100
Next block will be produced in:  in 1.821h
Consensus time now:              epoch=0, slot=2179
Consensus mechanism:             proof_of_stake
Consensus configuration:
	Delta:                     0
	k:                         290
	Slots per epoch:           7140
	Slot duration:             2m
	Epoch duration:            9d22h
	Genesis state timestamp:   2020-10-25 19:36:43.000000Z
	Acceptable network delay:  2m

Addresses and ports:
	External IP:    <IP_ADDRESS>
	Bind IP:        <IP_ADDRESS>
	Libp2p PeerID:  12D3KooWFJHxaxu5fWLkNYbuuAC5w4eFAQE6HVRo4m2jG7ZWDq12
	Libp2p port:    8302
	Client port:    8301

Environment
Git SHA-1: [DIRTY]6dc573d304cf05e3d0107b61901b3b816ab06b15
Host OS: Ubuntu 20.04
Using containerization: docker
CPU: i5 6400
RAM: 16 GB

Steps to reproduce

Forwarded ports on my router: 8302, 8303\TCP

Create docker from ubuntu:18.04 image
Standard installation from the repository, according to the instructions from #qa-task-force pin message
Commit changes to new docker image
Run new docker instance

docker run -d \
  --restart always \
  --entrypoint /root/daemon_start.sh \
  --volume /home/mina/crypto/mina/keys:/root/keys \
  --volume /home/mina/crypto/mina/daemon_start.sh:/root/daemon_start.sh \
  --volume /home/mina/crypto/mina/coda-config:/root/.coda-config \
  --env KEYPATH=/root/keys/my-wallet \
  --env CODA_PRIVKEY_PASS=12345 \
  --name mina-qa-test \
  -p 8302:8302 \
  -p 8303:8303 \
  --log-opt max-size=100m \
  --log-opt max-file=3 \
  c29r3/mina-qa-test

daemon_start.sh
The values PEER1 and PEER2 are omitted, as this is non-public information
#!/bin/bash
coda daemon -peer $PEER1 \
-peer $PEER2 \
-config-file /root/daemon.json \
-generate-genesis-proof true \
-block-producer-key "${KEYPATH}" \
-log-level Info

LOGS
https://drive.google.com/drive/folders/1dqXZDTkhRW_3dtFjm6wUgM5xtFRDIbKt?usp=sharing

UPD:
As a result, the node was synchronized
Coda daemon status
-----------------------------------

Global number of accounts:       81
Block height:                    603
Max observed block length:       602
Local uptime:                    4h24m57s
Ledger Merkle root:              jxrZL2tDGqDVvMQkA7bmmju6LpEEE91tNmDGccLeGhK26MsUt3Z
Protocol state hash:             3NLU2WfkBMGqxhf7fvUpvxuUXiSsMbAsCUUYBCJdtMnoaUTt6RPp
Chain id:                        a5f4406aa626266738860c5a6a5ffdff32c6eb55c61b0640a543916ba0808ba5
Git SHA-1:                       [DIRTY]6dc573d304cf05e3d0107b61901b3b816ab06b15
Configuration directory:         /root/.coda-config
Peers:                           17 (<IP_ADDRESS>:10508 <IP_ADDRESS>:10511 <IP_ADDRESS>:10502 <IP_ADDRESS>:10503 <IP_ADDRESS>:10001 <IP_ADDRESS>:56661 <IP_ADDRESS>:10506 <IP_ADDRESS>:59956 <IP_ADDRESS>:8302 <IP_ADDRESS>:10510 <IP_ADDRESS>:48646 <IP_ADDRESS>:10401 <IP_ADDRESS>:10501 <IP_ADDRESS>:10509 <IP_ADDRESS>:55742 <IP_ADDRESS>:10001 <IP_ADDRESS>:10909)
User_commands sent:              0
SNARK worker:                    None
SNARK work fee:                  25000000
Sync status:                     Synced
Block producers running:         1 (B62qp6PvbR69ip9a1ZRy47ryGqVSWVrWJ19fhPVDJBZ6x2S8AKyL5Lc)
Best tip consensus time:         epoch=0, slot=2283
Next block will be produced in:  in 20.757m
Consensus time now:              epoch=0, slot=2284
Consensus mechanism:             proof_of_stake
Consensus configuration:
	Delta:                     0
	k:                         290
	Slots per epoch:           7140
	Slot duration:             2m
	Epoch duration:            9d22h
	Genesis state timestamp:   2020-10-25 19:36:43.000000Z
	Acceptable network delay:  2m

Addresses and ports:
	External IP:    <IP_ADDRESS>
	Bind IP:        <IP_ADDRESS>
	Libp2p PeerID:  12D3KooWFJHxaxu5fWLkNYbuuAC5w4eFAQE6HVRo4m2jG7ZWDq12
	Libp2p port:    8302
	Client port:    8301

It appears as though your node was crashing during the bootstrap phase due to the following error:
(monitor.ml.Error
  ("Merkle_mask.Masking_merkle_tree.Make(Inputs).Attached.Dangling_parent_reference("a96310ae-8398-3f5e-b988-e52deb3a198a")")
  ("Raised at file "src/lib/merkle_mask/masking_merkle_tree.ml", line 101, characters 10-50"
    "Called from file "src/lib/merkle_mask/masking_merkle_tree.ml", line 245, characters 6-26"
    "Called from file "src/lib/staged_ledger/staged_ledger.ml", line 499, characters 37-71"
    "Called from file "src/lib/staged_ledger/staged_ledger.ml", line 510, characters 52-67"
    "Called from file "src/lib/staged_ledger/staged_ledger.ml", line 509, characters 6-110"
    "Called from file "src/lib/staged_ledger/staged_ledger.ml", line 556, characters 20-213"
    "Called from file "list.ml", line 117, characters 24-34"
    "Called from file "src/deferred1.ml", line 17, characters 40-45"
    "Called from file "src/job_queue.ml" (inlined), line 131, characters 2-5"
    "Called from file "src/job_queue.ml", line 171, characters 6-47"
    "Caught by monitor coda"))

We have seen this crash before. Here are some prior reasons why we have seen this:
https://github.com/MinaProtocol/mina/issues/4480#issuecomment-593602222
https://github.com/MinaProtocol/mina/issues/4041#issuecomment-565174413
If the latter of those two explanations is still valid, it's possible that the fix for this could be to finally implement RFC 28 (introduced here #4100). #4157 captures the work necessary for this. More investigation is required before I can confirm that this is the root cause in this case, though. We will need to recreate this condition, as it appears the necessary information required to debug this is not available in the logs that were uploaded with the crash (they look as if they were generated from a subsequent run of the daemon, and not from the same run the crash happened in). The short log in the crash is not useful due to too much libp2p output during graceful shutdown.

Seeing the issue on testnet 4.1, please find below tgz for crash report.
coda_crash_report_2020-12-20_23-29-03.925296.tar.gz

2020-12-20 23:44:01 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
exn: {
"sexp": [
"Merkle_mask.Masking_merkle_tree.Make(Inputs).Attached.Dangling_parent_reference("82f2fd52-da10-3147-62ad-e0d8d961accb", "File \"src/lib/transition_router/transition_router.ml\", line 508, characters 61-68")"  ],
"backtrace": [
"Raised at file "src/lib/merkle_mask/masking_merkle_tree.ml", line 116, characters 10-57",
"Called from file "src/lib/merkle_mask/masking_merkle_tree.ml", line 121, characters 6-26",
"Called from file "src/lib/network_pool/transaction_pool.ml", line 1165, characters 29-65",
"Called from file "src/lib/network_pool/transaction_pool.ml", line 1178, characters 18-30",
"Called from file "src/lib/network_pool/network_pool_base.ml", line 101, characters 15-67",
"Called from file "src/lib/pipe_lib/strict_pipe.ml", line 155, characters 28-37",
"Called from file "src/deferred0.ml", line 56, characters 64-69",
"Called from file "src/job_queue.ml" (inlined), line 131, characters 2-5",
"Called from file "src/job_queue.ml", line 171, characters 6-47"
]
}
2020-12-20 23:44:01 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
2020-12-20 23:44:01 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
2020-12-20 23:44:01 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
2020-12-20 23:44:01 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
2020-12-20 23:44:01 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
2020-12-20 23:44:01 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
2020-12-20 23:44:01 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
2020-12-20 23:44:01 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
2020-12-20 23:44:01 UTC [Error] Unconsumed item in cache: $cache
cache: "cached item was not consumed (cache name = "Transition_handler__Unprocessed_transition_cache")"
☠  Coda Daemon crashed.

Closing as a duplicate of #6949.

Closing as a duplicate of #6949.


Do not escape HTML in package.json output.

The Go JSON encoder escapes characters such as < and > in its output by default, resulting in "author" strings like foo<EMAIL_ADDRESS>being read from package.json correctly, but on any writes gx does to the file it is written as foo<EMAIL_ADDRESS>jq seems to unescape these when reading, which kept the issue from surfacing in sharness tests.
This was done as a safety precaution to keep HTML from being embedded in JSON payloads, but this does not seem to apply in the case of a package.json file.
This patch modifies the package.json writing logic to not escape HTML.

LGTM, thanks @noffle!

Travis isnt happy, its go version is still 1.5.3 so it doesnt support that HTML Escape option yet, mind bumping the version to 1.7?

Good catch! Bumped to 1.7.

Sweet, :ship: :hourglass:


where is train.fea.penzhan2.lab.oid_X152_min10.yaml?

I cant found the config file train_yaml="train.fea.penzhan2.lab.oid_X152_min10.yaml" for image captioning, can you provide the download path？

Hi,
Please find the dataset for COCO caption at https://github.com/microsoft/Oscar/blob/master/VinVL_DOWNLOAD.md#datasets
The train_yaml is "train.yaml". You don't need other YAML files for training.

img: train.img.tsv
hw: train.hw.tsv
label: train.label.tsv
feature: train.feature.tsv
caption: train_caption.json
can't run with this yaml file


Update docs to reflect changes in error handling

Summary
Updated the error handling section of the docs to reflect changes made in PR #525
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

@seratch Let me know how that looks!

@wongjas Can you create an issue to bring these changes to Japanese document?


unable to complete complete proof request in iOS+Safari

Steps to reproduce:

Install BC Walle, Get a lawyer and person credential, and fully terminate the app (optionally)
open Safari, and go to ACM login page, start the login flow from the same device, and tap on  "Continue with BC Wallet")
BC Wallet app opens, accept the proof request, wait about 20s on the wallet app, and switch to Safari
vc-authn login page is stuck on "accept proof request in your wallet"

@cvarjao, @loneil and myself did some collaborative troubleshooting.
It appears that the issue might be caused by the notification of successful verification being dispatched BEFORE the websocket is re-established after the browser comes out of background mode.
Handling delivery of the payload in the correct order should fix the problem. #636 might be an option to recover too.


Solar generation giving negative values.

Been running this setup for 5 days now and i noticed my solar saving values and self powered values being zero or negative in the savings graph.
Not sure if a bug or a configuration error

Hi @externalz  - Nice graph!  Lots going on here.  Technically what you are seeing is a "bug".  You had something like a Storm Watch charge event that used grid power to charge up your Powerwalls at about 21:00.
The cost calculation doesn't know how to factor in a grid>powerwall flow.  What happens is that it basically subtracts it out from the solar>home bucket (since it only knows about "to_pw" and assumes it was solar doing that).  Technically it's not wrong (you paid for that grid usage) but makes it a bit confusing by subtracting it from solar>home.
Here are the equations used to calc the savings with variable we can pull from history (sum):

tp = to powerwall
tg = to grid
fp = from powerwall
s = from solar

# powerwall > home - assumes all power from PW (charged from solar) = savings
SELECT fp FROM (SELECT sum("from_pw")  * 0.19 AS fp FROM kwh.http WHERE  $timeFilter tz('America/Los_Angeles'))

# solar > home - assumes all solar not going to PW or grid is going to the home = savings
SELECT s - (tp + tg) FROM (SELECT sum("solar") * 0.19 AS s,  sum("to_pw")  * 0.19 AS tp, sum("to_grid") * 0.19 AS tg FROM kwh.http WHERE  $timeFilter tz('America/Los_Angeles'))

# solar > grid - assumes all power going to grid = savings
SELECT tg FROM (SELECT sum("to_pw")  * 0.19 AS tp, sum("solar") * 0.19 AS s, sum("to_grid") * 0.19 AS tg FROM kwh.http WHERE  $timeFilter tz('America/Los_Angeles'))

# total - sum of the three above
SELECT tg + (s - tp - tg ) + fp FROM (SELECT sum("to_pw")  * 0.19 AS tp, sum("solar") * 0.19 AS s, sum("to_grid") * 0.19 AS tg, sum("from_pw") * 0.19 AS fp FROM kwh.http WHERE  $timeFilter tz('America/Los_Angeles'))

I'm not sure how to accomodate a Storm Watch type charge events.  I'm open to ideas.
Thanks for sending!
PS -  separate item.  I noticed that you have a slight older dashboard-animation.json running where the alert threshold was too short which is causing some markers on the grid graph:

It's fine, but if you want to fix going forward so that it only places markers when you have an actual power outage, you can download and import the latest dashboard-animation.json or edit that panel with these settings:

Thank you so much for this detailed reply.
Now that you have explained how this works, i have a better understanding of the calculations. The pulling from the grid was from my time of use settings as its winter here with a low solar output.
Adding this info to the wiki might be a good idea?
Lastly this may require a seperate thread but the grid flow animation when using a reverse proxy times out like this picture.
Is this something that can be fixed?

Viewing it locally is fine.

Thanks @externalz !
I agree, we should add a comment about how the "savings" is calculated.  I'll see what I can do to get that added to the README.
On the disappearing animation, two thoughts:

The only time I have seen that is if you are loading the same animation in another browser window on the same machine.  It seems that the iFrames do not like to share.  Only one will work.  Load the dashboard in just one window and see if that helps.

If that is not your case, what reverse proxy are you using or did you mean pyPowerwall?  The iFrame renders a javascript animation from the Powerwall web portal that makes many API calls directly back to the pyPowerwall proxy (those API calls are how it determines power flow values, etc.).  It could be that some connectivity issues are happening causing a timeout.  If you force a refresh, does it start work?  Also, what browsers are you using?  I tested in Chrome, Safari and Brave.  Sorry for all the questions, but would be helpful to know for any others seeing the same thing.

Thanks again for the feedback.

Thanks for the tips Jason, i use HAproxy on pfsense to reverse proxy into my VM's running on seperate VLANS.
Everything else works correctly except the powerflow meter, (took too long to respond) error.
Tried all the usual suspects, different browsers, cache clearing etc
I guess  its a problem with my HAProxy setup, when i get time to fix and troubleshoot i will reply back here if i find anything.
Thanks again.


Multiple module output on same line

Current state:
Current output is limited to one module per line.
Output can be customised with things added to in plain text or altered it via the {} option, however multiple modules output cannot be combined onto the same line.
Format options from my config as example:
--os-format {3}
--terminal-format {1} ->
--shell-format {6}
--wm-format {2} [{3}]
--disk-format {1}/{2}GB [{4}%]
--packages-format [{2}] flatpak [{12}]

Output:
Arch Linux
alacritty ->
zsh
Hyprland [Wayland]
322.365/341.789GB [94%]
[514] flatpak [0]

Wanted state:
Combining output whilst allowing users to add custom information.
Format Options combining terminal and shell modules:
--os-format {3}
--terminal-format {1} -> --shell-format {6}
--wm-format {2} [{3}]
--disk-format {1}/{2}GB [{4}%]
--packages-format [{2}] flatpak [{12}]

Output:
Arch Linux
alacritty -> zsh
Hyprland [Wayland]
322.365/341.789GB [94%]
[514] flatpak [0]

Why the change is sensible:
Offers a greater ability to customise the output with the information provided.

This is pretty difficult to implement, given the current structure. Would it be enough for you if i expose the shell values to the terminal format string? Internal they are already detected by a common method.

Yes that should work.
Would it mean that options {1} - {3} are the same terminal-format options and then the shell-format options are tacked on to the end, {1} - {7}, getting shifted over 3 places to start at {4}?
Or would it be a fixed value, using the shells default "{3} {4}" output that can be added onto the teminal-format string as an additional entry?

Can we close this as won't fix for now, or do you need something else?


Benchmarks should be more accurate, more attention to details please

Thanks for benchmarking.
I've noticed that not all libraries are in the same condition. For instance, loyd/clickhouse.rs uses LZ4 by default, that's a reasonable default, but the best library uses no compression by default. Disabling it increases performance x2 on my machine.
So, more I would like to see more attention to such details.

Although, I understand that the main reason for the benchmark is to make loud statements:

Column-oriented design that operates directly with blocks of data
Dramatically more efficient
Up to 100x faster than row-first design around SQL
Up to 700x faster than HTTP API

I agree with them, however:

Row-first design vs column-first design for cases where only one column is fetched is an incorrect statement. So, this is just incorrect proof of the efficient column-based design.
RowBinary over HTTP can easily be much slower than Native, but it's not only about client-library performance but also the implementation of HTTP in CH.


Can't run a basic test.

Issue Type
Bug report
Molecule and Ansible Details
(.venv) [root@molecule httpd]# ansible --version
ansible 2.5.0
  config file = None
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /root/.venv/lib/python2.7/site-packages/ansible
  executable location = /root/.venv/bin/ansible
  python version = 2.7.5 (default, Aug  4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]

(.venv) [root@molecule httpd]# molecule --version
molecule, version 2.11.0

Molecule installation method (one of):  pip
Ansible installation method (one of): pip
Desired Behavior
I followed all the steps on the quick-start but it didn't go as smoothly as it should've.  (CentOS 7)
yum install -y epel-release
yum install -y python-pip gcc python-devel openssl-devel
pip install virtualenv
virtualenv --no-site-packages .venv
source .venv/bin/activate
pip install molecule ansible docker-py
molecule init role -r httpd -d docker
cd httpd
molecule test

Actual Behaviour (Bug report only)
(.venv) [root@molecule httpd]# molecule test
--> Validating schema /root/httpd/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix

└── default
    ├── lint
    ├── destroy
    ├── dependency
    ├── syntax
    ├── create
    ├── prepare
    ├── converge
    ├── idempotence
    ├── side_effect
    ├── verify
    └── destroy

--> Scenario: 'default'
--> Action: 'lint'
--> Executing Yamllint on files found in /root/httpd/...
Lint completed successfully.
--> Executing Flake8 on files found in /root/httpd/molecule/default/tests/...
Lint completed successfully.
--> Executing Ansible Lint on /root/httpd/molecule/default/playbook.yml...
Lint completed successfully.
--> Scenario: 'default'
--> Action: 'destroy'

    PLAY [Destroy] *****************************************************************

    TASK [Destroy molecule instance(s)] ********************************************
    changed: [localhost] => (item=None)

    TASK [Wait for instance(s) deletion to complete] *******************************
    failed: [localhost] (item=None) => {"attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

    PLAY RECAP *********************************************************************
    localhost                  : ok=1    changed=1    unreachable=0    failed=1

ERROR:
An error occured during the test sequence.  Cleaning up.
--> Scenario: 'default'
--> Action: 'destroy'

    PLAY [Destroy] *****************************************************************

    TASK [Destroy molecule instance(s)] ********************************************
    changed: [localhost] => (item=None)

    TASK [Wait for instance(s) deletion to complete] *******************************
    failed: [localhost] (item=None) => {"attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

    PLAY RECAP *********************************************************************
    localhost                  : ok=1    changed=1    unreachable=0    failed=1

ERROR:

Here's the full output with --debug.

Looks like a problem connecting to docker.  If you're using linux you need to ensure docker is setup to run without sudo.

@retr0h I'm using the Centos 7 base image on Digitalocean.
Also, I'm running everything as root so it shouldn't be an issue I guess?
Where would I go about adding the user to the docker group in this case? I haven't used virtualenv before so I'm not sure if adding the user outside the env would work since docker is only installed inside the env.

Hi @chopraaa
Have you installed docker on the host used for executing the molecule test command? I see this message in the end of the log file: "msg": "Error connecting: Error while fetching server API version: ('Connection aborted.', error(2, 'No such file or directory'))" so it seems to me no docker is installed and thus no /var/run/docker.sock is available.

@dj-wasabi Thank you for the heads up. I realised I hadn't started the service. >.>
Running molecule test afterwards gives me this:
(.venv) [sammy@molecule httpd]$ molecule test
--> Validating schema /home/sammy/httpd/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix

└── default
    ├── lint
    ├── destroy
    ├── dependency
    ├── syntax
    ├── create
    ├── prepare
    ├── converge
    ├── idempotence
    ├── side_effect
    ├── verify
    └── destroy

--> Scenario: 'default'
--> Action: 'lint'
--> Executing Yamllint on files found in /home/sammy/httpd/...
Lint completed successfully.
--> Executing Flake8 on files found in /home/sammy/httpd/molecule/default/tests/...
Lint completed successfully.
--> Executing Ansible Lint on /home/sammy/httpd/molecule/default/playbook.yml...
Lint completed successfully.
--> Scenario: 'default'
--> Action: 'destroy'

    PLAY [Destroy] *****************************************************************

    TASK [Destroy molecule instance(s)] ********************************************
    changed: [localhost] => (item=None)

    TASK [Wait for instance(s) deletion to complete] *******************************
    ok: [localhost] => (item=None)

    TASK [Delete docker network(s)] ************************************************

    PLAY RECAP *********************************************************************
    localhost                  : ok=2    changed=1    unreachable=0    failed=0

--> Scenario: 'default'
--> Action: 'dependency'
Skipping, missing the requirements file.
--> Scenario: 'default'
--> Action: 'syntax'

    playbook: /home/sammy/httpd/molecule/default/playbook.yml

--> Scenario: 'default'
--> Action: 'create'

    PLAY [Create] ******************************************************************

    TASK [Log into a Docker registry] **********************************************
    skipping: [localhost] => (item=None)

    TASK [Create Dockerfiles from image names] *************************************
    failed: [localhost] (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

    PLAY RECAP *********************************************************************
    localhost                  : ok=0    changed=0    unreachable=0    failed=1

ERROR:
An error occured during the test sequence.  Cleaning up.
--> Scenario: 'default'
--> Action: 'destroy'

    PLAY [Destroy] *****************************************************************

    TASK [Destroy molecule instance(s)] ********************************************
    changed: [localhost] => (item=None)

    TASK [Wait for instance(s) deletion to complete] *******************************
    ok: [localhost] => (item=None)

    TASK [Delete docker network(s)] ************************************************

    PLAY RECAP *********************************************************************
    localhost                  : ok=2    changed=1    unreachable=0    failed=0

Output with --debug:
(.venv) [sammy@molecule httpd]$ molecule --debug create
--> Validating schema /home/sammy/httpd/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix

└── default
    ├── create
    └── prepare

--> Scenario: 'default'
--> Action: 'create'
DEBUG: ANSIBLE ENVIRONMENT
---
ANSIBLE_CONFIG: /home/sammy/httpd/molecule/default/.molecule/ansible.cfg
ANSIBLE_FILTER_PLUGINS: /home/sammy/.venv/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/filters:/home/sammy/httpd/molecule/default/.molecule/plugins/filters:/home/sammy/httpd/plugins/filters
ANSIBLE_LIBRARY: /home/sammy/.venv/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries:/home/sammy/httpd/molecule/default/.molecule/library:/home/sammy/httpd/library
ANSIBLE_ROLES_PATH: /home/sammy/httpd/molecule/default/.molecule/roles:/home/sammy

DEBUG: MOLECULE ENVIRONMENT
---
MOLECULE_DEBUG: 'True'
MOLECULE_DEPENDENCY_NAME: galaxy
MOLECULE_DRIVER_NAME: docker
MOLECULE_EPHEMERAL_DIRECTORY: /home/sammy/httpd/molecule/default/.molecule
MOLECULE_FILE: /home/sammy/httpd/molecule/default/molecule.yml
MOLECULE_INSTANCE_CONFIG: /home/sammy/httpd/molecule/default/.molecule/instance_config.yml
MOLECULE_INVENTORY_FILE: /home/sammy/httpd/molecule/default/.molecule/ansible_inventory.yml
MOLECULE_LINT_NAME: yamllint
MOLECULE_PROVISIONER_NAME: ansible
MOLECULE_SCENARIO_DIRECTORY: /home/sammy/httpd/molecule/default
MOLECULE_SCENARIO_NAME: default
MOLECULE_VERIFIER_NAME: testinfra

DEBUG: SHELL REPLAY
ANSIBLE_CONFIG=/home/sammy/httpd/molecule/default/.molecule/ansible.cfg ANSIBLE_FILTER_PLUGINS=/home/sammy/.venv/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/filters:/home/sammy/httpd/molecule/default/.molecule/plugins/filters:/home/sammy/httpd/plugins/filters ANSIBLE_LIBRARY=/home/sammy/.venv/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries:/home/sammy/httpd/molecule/default/.molecule/library:/home/sammy/httpd/library ANSIBLE_ROLES_PATH=/home/sammy/httpd/molecule/default/.molecule/roles:/home/sammy MOLECULE_DEBUG=True MOLECULE_DEPENDENCY_NAME=galaxy MOLECULE_DRIVER_NAME=docker MOLECULE_EPHEMERAL_DIRECTORY=/home/sammy/httpd/molecule/default/.molecule MOLECULE_FILE=/home/sammy/httpd/molecule/default/molecule.yml MOLECULE_INSTANCE_CONFIG=/home/sammy/httpd/molecule/default/.molecule/instance_config.yml MOLECULE_INVENTORY_FILE=/home/sammy/httpd/molecule/default/.molecule/ansible_inventory.yml MOLECULE_LINT_NAME=yamllint MOLECULE_PROVISIONER_NAME=ansible MOLECULE_SCENARIO_DIRECTORY=/home/sammy/httpd/molecule/default MOLECULE_SCENARIO_NAME=default MOLECULE_VERIFIER_NAME=testinfra

DEBUG: COMMAND
/home/sammy/.venv/bin/ansible-playbook --inventory=/home/sammy/httpd/molecule/default/.molecule/ansible_inventory.yml --diff /home/sammy/httpd/molecule/default/create.yml -vvv

    ansible-playbook 2.5.0
      config file = /home/sammy/httpd/molecule/default/.molecule/ansible.cfg
      configured module search path = [u'/home/sammy/.venv/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries', u'/home/sammy/httpd/molecule/default/.molecule/library', u'/home/sammy/httpd/library']
      ansible python module location = /home/sammy/.venv/lib/python2.7/site-packages/ansible
      executable location = /home/sammy/.venv/bin/ansible-playbook
      python version = 2.7.5 (default, Aug  4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
    Using /home/sammy/httpd/molecule/default/.molecule/ansible.cfg as config file
    Parsed /home/sammy/httpd/molecule/default/.molecule/ansible_inventory.yml inventory source with yaml plugin

    PLAYBOOK: create.yml ***********************************************************
    1 plays in /home/sammy/httpd/molecule/default/create.yml

    PLAY [Create] ******************************************************************
    META: ran handlers

    TASK [Log into a Docker registry] **********************************************
    task path: /home/sammy/httpd/molecule/default/create.yml:13
    skipping: [localhost] => (item={'image': u'centos:7', 'name': u'instance'})  => {
        "changed": false,
        "item": {
            "image": "centos:7",
            "name": "instance"
        },
        "skip_reason": "Conditional result was False"
    }

    TASK [Create Dockerfiles from image names] *************************************
    task path: /home/sammy/httpd/molecule/default/create.yml:25
    <<IP_ADDRESS>> ESTABLISH LOCAL CONNECTION FOR USER: sammy
    <<IP_ADDRESS>> EXEC /bin/sh -c 'echo ~ && sleep 0'
    <<IP_ADDRESS>> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683 `" && echo ansible-tmp-1522138911.41-192194340823683="` echo /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683 `" ) && sleep 0'
    Using module file /home/sammy/.venv/lib/python2.7/site-packages/ansible/modules/files/stat.py
    <<IP_ADDRESS>> PUT /home/sammy/.ansible/tmp/ansible-local-26949ABFrg3/tmpnkYqhS TO /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/stat.py
    <<IP_ADDRESS>> EXEC /bin/sh -c 'chmod u+x /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/ /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/stat.py && sleep 0'
    <<IP_ADDRESS>> EXEC /bin/sh -c '/home/sammy/.venv/bin/python2 /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/stat.py && sleep 0'
    Using module file /home/sammy/.venv/lib/python2.7/site-packages/ansible/modules/files/file.py
    <<IP_ADDRESS>> PUT /home/sammy/.ansible/tmp/ansible-local-26949ABFrg3/tmplS1aiw TO /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/file.py
    <<IP_ADDRESS>> EXEC /bin/sh -c 'chmod u+x /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/ /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/file.py && sleep 0'
    <<IP_ADDRESS>> EXEC /bin/sh -c '/home/sammy/.venv/bin/python2 /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/file.py && sleep 0'
    <<IP_ADDRESS>> PUT /home/sammy/.ansible/tmp/ansible-local-26949ABFrg3/tmpZVNBjU/Dockerfile.j2 TO /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/source
    <<IP_ADDRESS>> EXEC /bin/sh -c 'chmod u+x /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/ /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/source && sleep 0'
    Using module file /home/sammy/.venv/lib/python2.7/site-packages/ansible/modules/files/copy.py
    <<IP_ADDRESS>> PUT /home/sammy/.ansible/tmp/ansible-local-26949ABFrg3/tmppZKRTx TO /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/copy.py
    <<IP_ADDRESS>> EXEC /bin/sh -c 'chmod u+x /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/ /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/copy.py && sleep 0'
    <<IP_ADDRESS>> EXEC /bin/sh -c '/home/sammy/.venv/bin/python2 /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/copy.py && sleep 0'
    <<IP_ADDRESS>> EXEC /bin/sh -c 'rm -f -r /home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/ > /dev/null 2>&1 && sleep 0'
    failed: [localhost] (item={'image': u'centos:7', 'name': u'instance'}) => {
        "changed": false,
        "checksum": "92bbda64c044759fddbb2411f0ec18cc32be7181",
        "diff": [
            {
                "after": "# Molecule managed\n\nFROM centos:7\n\nRUN if [ $(command -v apt-get) ]; then apt-get update && apt-get upgrade -y && apt-get install -y python sudo bash ca-certificates && apt-get clean; \\\n    elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; \\\n    elif [ $(command -v yum) ]; then yum makecache fast && yum update -y && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \\\n    elif [ $(command -v zypper) ]; then zypper refresh && zypper update -y && zypper install -y python sudo bash python-xml && zypper clean -a; \\\n    elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; fi\n",
                "after_header": "/home/sammy/.ansible/tmp/ansible-local-26949ABFrg3/tmpZVNBjU/Dockerfile.j2",
                "before": ""
            }
        ],
        "invocation": {
            "module_args": {
                "attributes": null,
                "backup": false,
                "checksum": "92bbda64c044759fddbb2411f0ec18cc32be7181",
                "content": null,
                "delimiter": null,
                "dest": "/home/sammy/httpd/molecule/default/.molecule/Dockerfile_centos_7",
                "directory_mode": null,
                "follow": false,
                "force": true,
                "group": null,
                "local_follow": null,
                "mode": null,
                "original_basename": "Dockerfile.j2",
                "owner": null,
                "regexp": null,
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": "/home/sammy/.ansible/tmp/ansible-tmp-1522138911.41-192194340823683/source",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": {
            "image": "centos:7",
            "name": "instance"
        },
        "msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!"
    }

    PLAY RECAP *********************************************************************
    localhost                  : ok=0    changed=0    unreachable=0    failed=1

ERROR:

Starting the Docker service would indeed help yes. 😄
Ok, or install the libselinux-python package with yum or apt-get would suffice as well.

@dj-wasabi Na, the host already had libselinux-python already installed. Here's a more detailed explanation of what went wrong.

I just experiment the same issue, but I have selinux disabled.
CentoOS 7
Docker 17.12
Ansible <IP_ADDRESS>
I don't use virtualenv

I don't use virtualenv

You should

Now using it. Tried to copy file like mentioned before, but still no result

Just been hitting the selinux issue whilst using Molecule on a Fedora 28 laptop.
SELinux is set to: Permissive and the python2-libselinux package is installed.
Managed to get this working by copying the directory over as mentioned above, however I also had to copy over the .so file too.
cp -r /usr/lib64/python2.7/site-packages/selinux .venv/lib/python2.7/site-packages
cp /usr/lib64/python2.7/site-packages/_selinux.so .venv/lib/python2.7/site-packages

ty @rosstimson works well here with python3.6 too.

I also have the same issue, use "molecule --debug test",   can find this error message, "Failed to import docker or docker-py - No module named docker. Try pip install docker or `pip install docker- Py",  and "pip install docker"  can solve it.

@zengshing Check if your user is added to the docker group.

I also had this problem - without using SELINUX or anything and no-sudo access for docker given.
my resolution was eventually very similar to @zengshing , but to remove docker
pip uninstall docker
pip install docker-py

As of March 12 2019 there is a published shim package for selinux modules: https://pypi.org/project/selinux/
pip install selinux should now fix this issue instead of copying /usr/lib/python*/site-packages/selinux to your virtual environments.
I was able to build a working molecule 2.20.1 testing environment with:
pip install testinfra==3.0.5 molecule ansible docker-py selinux

I hit this myself on Ubuntu 19.04 whilst trying to run molecule converge.
I ensured that I was in the correct group for docker first (newish system) by running:
docker run hello-world. However, the error persisted. On further investigation it is indeed SELinux related.
Versions:
ansible: 2.7.8
virtualenv: 16.7.2
python: 2.7.16
pip: pip 19.2.1

I can confirm that the above suggestion worked for me:
pip install testinfra==3.0.5 molecule ansible docker selinux


How to project lidar points obtained from L515 to color image?

My projection result seems to wrong.　Is there any solutions to fix it?

Hi @kinggreat24  What method are you using to align depth to color please?  Is it a point cloud in the 3d mode of the RealSense Viewer program or with a script that you have created yourself?

Hi @kinggreat24 What method are you using to map depth to color please? Is it a point cloud in the 3d mode of the RealSense Viewer program or with a script that you have created yourself?

I wrote a c++ program myself to project the lidar points obtained with the topic /camera/depth/color/points, the detailed processes were  as follows.

Firstly, I transformed the points to camera coordinate using the extrinsic obtained by the topic /camera/extrinsics/depth_to_color. Then the points were projected to the image plane using the camera Intrinsic matrix got from the topic /camera/color/camera_info. Finally, those 2D points were drawn to color image(/camera/color/image_raw) which had been undistorted already.

Can you give me some tips?  Thanks very much.

The point cloud looks good, but the projection result is not well.

I see from the image that you have kindly provided that you are visualizing the topics in RViz.  It sounds as though you are using the RealSense ROS wrapper and wrote a C++ node script.  Is that correct, please?
If you are using the RealSense ROS wrapper, an easier approach to produce a pointcloud where color is mapped to depth may be to use the pointcloud example in the wrapper documentation and visualize the pointcloud in RViz.
https://github.com/IntelRealSense/realsense-ros#point-cloud

I see from the image that you have kindly provided that you are visualizing the topics in RViz. It sounds as though you are using the RealSense ROS wrapper and wrote a C++ node script. Is that correct, please?
If you are using the RealSense ROS wrapper, an easier approach to produce a pointcloud where color is mapped to depth may be to use the pointcloud example in the wrapper documentation and visualize the pointcloud in RViz.
https://github.com/IntelRealSense/realsense-ros#point-clou


How can I suppress scroll?

On the original perfect-scroll bar there is an option to suppressScrollY or suppressScrollX. Is there any way to achieve this with react-perfect-scrollbar?

You can access the original props through the options prop.
<PerfectScrollbar options={{ supressScrollY: true }}><...</PerfectScroll>

On the original perfect-scroll bar there is an option to suppressScrollY or suppressScrollX. Is there any way to achieve this with react-perfect-scrollbar?

You can access the original props through the options prop.
<PerfectScrollbar options={{ supressScrollY: true }}><...</PerfectScroll>


🐛 Voting on non-Info gov actions not enabled on protocol major version 10

Area
Voting Pillar
Domain
sanchogov.tools
Which wallet were you using?
N/A
Context
Voting on non-info action (eg. Hard fork) is not enabled on current Sanchonet which is on full governance mode (protocol major version 10)

Steps to reproduce

Connect any wallet as a DRep
Select any non-info governance action
On the governance action details page, check if voting is enabled or not. Compare by checking any info gov action.

Actual behavior
It is currently not possible to vote on non-info governance actions.
Expected behavior
It should be possible to vote on non-info governance actions.

The issue also fixed and deployed on sanchonet deployments. So, this issue can be closed.
CC: @bosko-m

Closing as per the comment above.


Cartographic Polygon and Polygon Imagery layer default values

I suggest we implement the following default values to make using cartographic polygons and polygon overlays a little easier
Imagery Overlay

[x] Overlay Render Method - clipping - same as Unreal, also less confusing as it won't immediately make the tileset black

Cartographic Polygons - defaults when creating by any method

[ ] point3f[] points = [(-1000, 0, -1000), (-1000, 0, 1000), (1000, 0, 1000), (1000, 0, -1000)] - Helpful to have some pre-existing points for the user to grab and edit, vs trying to draw from scratch.  Unreal does this. (especially as raycasting to tilesets is not currently available)
[x] uniform token type = "linear" - Helpful to avoid accidental use of curves which aren't supported
[x] uniform token wrap = "periodic" - Ensures the polygon is closed

cc @corybarr

Setting point3f[] points = [(-1000, 0, -1000), (-1000, 0, 1000), (1000, 0, 1000), (1000, 0, -1000)] in the USD schema leads to a crash in Omniverse when a CesiumCartographicPolygonPrim is created. I'm seeing if this is solvable, but it might have to be done at the Python level during prim creation.

@corybarr does that crash happen in https://github.com/CesiumGS/cesium-omniverse/pull/626?

point3f[] points = [(-1000, 0, -1000), (-1000, 0, 1000), (1000, 0, 1000), (1000, 0, -1000)] - Helpful to have some pre-existing points for the user to grab and edit, vs trying to draw from scratch.  Unreal does this. (especially as raycasting to tilesets is not currently available)
Create an issue with the title `point3f[] points = [(-1000, 0, -1000), (-1000, 0, 1000), (1000, 0, 1000), (1000, 0, -1000)]` - Helpful to have some pre-existing points for the user to grab and edit, vs trying to draw from scratch.  Unreal does this. (especially as raycasting to tilesets is not currently available). Press Enter to convert to an issue instantly. Press Alt-Enter to open the create new issue form in the current tab. Press Shift-Enter to open the create new issue form.

[x]  uniform token type = "linear" - Helpful to avoid accidental use of curves which aren't supported
Create an issue with the title `uniform token type = "linear"` - Helpful to avoid accidental use of curves which aren't supported. Press Enter to convert to an issue instantly. Press Alt-Enter to open the create new issue form in the current tab. Press Shift-Enter to open the create new issue form.

[x]  uniform token wrap = "periodic" - Ensures the polygon is closed

@lilleyse It does happen in #626. The crash's trace doesn't go through our code.

Setting point3f[] points = [(-1000, 0, -1000), (-1000, 0, 1000), (1000, 0, 1000), (1000, 0, -1000)] in the USD schema leads to a crash in Omniverse when a CesiumCartographicPolygonPrim is created. I'm seeing if this is solvable, but it might have to be done at the Python level during prim creation.

Since some attributes require setting other attributes, I tried adding curveVertexCounts and extent. I still got the crash. Given that, I copied all attributes from a working CesiumCartographicPolygonPrim but still get the instantiation-time crash.


ability to bring back/add tags for an event

Would like to see tags added to an event as an additional field.
Not sure if 3rd party services such as 360wichita/eventbrite offers that but maybe it could be added as a part of manual submission as a start?

Reason:

easier to search for events that interest me.
can do fun stuff such as an event recommender based on my interests/activities

I pulled all the tagging features out because they were hard to normalize and maintain so without a really solid system for tagging all events I felt like it didn’t provide a lot of value.  That said I’m not opposed to bringing it back if somebody wants to take a stab at it.
I wonder if full text search could be an option? It would be hard to generate recommendations from that but it would be a lot more straightened to implement 🤷🏼♂


Control covers in an alternate geographical location

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
The geo location and sun positioning appears tied to the location of the HA instance. While this makes perfect sense as a default, I'm managing a few smart devices at a remote location for my elderly parents.
Describe the solution you'd like
I've configured the remote location with it's own sun2 instance in my local HA and it would be great to be able to use this as an optional config item or to input the individual lat/long location of the cover if the geo position is used directly.
Describe alternatives you've considered
None
Additional context
None

While it may appear straightforward to incorporate adjustable locations for sun positioning, the reality is more complex. The current sun positioning data is sourced from Home Assistant's core sun integration, which relies on the location settings of your Home Assistant instance. To enable location adjustments, I would need to reimplement a portion of the sun integration within this one. This seems somewhat redundant and could potentially introduce unnecessary complexity.


WORK:5249248:- Point2Site and SKU/Resize Gateway support

Hi @Nilambari, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (nilamd). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

LGTM

Addressed the review comments. Can you Please help with the merge? Thanks!


httpBody is nil in ResponseRetrier

What did you do?
After updating to Alamofire 5, I can't retrieve response body in ResponseRetrier's retry(_ request: Request, for session: Session, dueTo error: Error, completion: @escaping (RetryResult) -> Void) function.
What did you expect to happen?
Access to httpBody from the request parameter.
What happened instead?
nil instead of the JSON HTTP response body.
Alamofire Environment
**Alamofire version: 5.0.4
**Xcode version: 11.4
**Swift version: 5.1
**Platform(s) running Alamofire: iOS
**macOS version running Xcode: 10.15.4

Can you provide a code snippet that demonstrates the issue?

class ViewController: UIViewController {

    var session: Session!

    override func viewDidLoad() {
        super.viewDidLoad()

        let interceptor = Interceptor(adapters: [], retriers: [Retrier()])
        session = Session(interceptor: interceptor)
        session.request("https://google.com/test").validate().response { _ in

        }
    }
}

class Retrier: RequestRetrier {

    func retry(_ request: Request, for session: Session, dueTo error: Error, completion: @escaping (RetryResult) -> Void) {
        print(request.request?.httpBody) // nil
    }
}

I couldn't also retrieve it form request.delegate.data like before.

Are you attempting to access the bodyData of the URLRequest that is being made, or the Data that came back in the response (which is what request.delegate.data was)?

Response data.

Then you can access it off of the request by casting it to DataRequest: (request as? DataRequest)?.data. However, in Alamofire 5 the retry pipeline has been extended to cover response serialization as well, so you could do your parsing there and produce an error that contains the information you need in your retrier.

Thanks you. Is there any documentation for response serialization in retry pipeline?
I'm using Moya also, so I don't know if this could be used with it also.

Retry from serialization works the same as retry elsewhere: if you produce an error it will trigger the retriers. For serialization this requires a custom serializer, which we discuss in our documentation. In the serializer, any error that is thrown will trigger a retry attempt. Our existing serializers will trigger retry for things like parsing failure. You could build your own serializer that throws errors for condition.
Moya should work with these technologies but you'd have to investigate to be sure.


fix: dashboard styles

update modal, spacing, and added PM 1 section

Thanks @iamgabesanchez! I cherry picked the commit from here over to the dashboard branch. All looks good 👍


Utilities -> "Repair Permission" throws "Kext rejected due to improper filesystem permissions"

Hey!
First of all, awesome tool! New golden standard app for the Hackintosh community!
Keep up the good work.
My issue
When I run Utilities -> Rebuild KextCache & Repair Permissions I get this red coloured error log in the end:
Kext rejected due to improper filesystem permissions: <OSKext 0x7fa446621880 [0x7fff912328c0]> { URL = "file:///Library/Apple/System/Library/Extensions/AppleKextExcludeList.kext/", ID = "com.apple.driver.KextExcludeList" }
/Library/Apple/System/Library/Extensions/AppleKextExcludeList.kext does not authenticate; omitting.

Hackintool Versions (basically any) : 3.2.4 (0324)   -   <IP_ADDRESS>0
Catalina 10.15.4 (19E287)
Clover 5108
GateKeeper disabled
What can it be?
So it's the famous blacklist kext: AppleKextExcludeList.kext...
I already tried to do these steps with no success

replace the kext with the original copy found at:

(S/L/Templates/Data/Library/Apple/System/Library/Extensions/AppleKextExcludeList.kext

manually fix permissions
chowned and rooted the sh1t out of it
fix parent dir folder permissions

sudo chmod -R 755 /System/Library/Extensions/AppleKextExcludeList.kext
sudo chown -R root:wheel /System/Library/Extensions/AppleKextExcludeList.kext

...and nothing :(
..Google is also not a good friend.
How can I fix this? Maybe this is system integrity protection related? I have SIP off.
Maybe I messed up the file (I was playing with it):
My AppleKextExcludeList.kext file size on latest Catalina 10.15.4 (19E287) is:
3 024 179 bytes

Yours too?
PS: Rhetorical question/suggestion: why don't you add "Clover+OC Configurator in One" functionality too (all in one)?

OMG, the issue is:
/Library/Apple/System/Library/Extensions/AppleKextExcludeList.kext

and not:
/System/Library/Extensions/AppleKextExcludeList.kext

How could I miss this 🤦
the fix is:
sudo chmod -R 755 /Library/Apple/System/Library/Extensions/AppleKextExcludeList.kext
sudo chown -R root:wheel /Library/Apple/System/Library/Extensions/AppleKextExcludeList.kext


Announce http route returns an error, but actually does work

Weird... @PoroCYon?

What error does it return?

Pretty sure it's in command.go, returns an unknown error message. Beyond that, not too sure. The other peer does properly receive an announce and save a new peer though, so that's all good.


Implement systemd-pkcs11 support

Forking discussion off #96
Booster has systemd-tpm2 and systemd-fido2 tokens support. It would be great to add the systemd-pkcs11 tokens as well.
Booster needs a way to communicate with the pkcs11 device using some command-line tool and perform the same operation as systemd's code does.
Here is what I have
➜  ~ sudo pkcs11-tool --module /usr/lib/libykcs11.so --show-info
[sudo] password for anatol:
Cryptoki version 2.40
Manufacturer     Yubico (www.yubico.com)
Library          PKCS#11 PIV Library (SP-800-73) (ver 2.20)
Using slot 0 with a present token (0x0)

Now I am trying to use systemd-cryptsetup and it fails:
sudo systemd-cryptenroll --pkcs11-token-uri=auto /dev/loop0
No suitable PKCS#11 tokens found.

So it is not clear for me what is going on here.

I'm against this. While PKCS#11 support would be nice, it's not clear to me how common the usage is to justify the feature. Besides, a more contemporary protocol/standard such as FIDO2 should generally be preferred instead as it's modern, future proof and requires no additional preparation.


Pause/play doesn't preserve playing rate

If you're playing at 2x speed and pause and then play again, it still shows 2x but the episode plays at regular speed.

easy fix