Frequent warnings (Failed to open  for descriptor check) in vmdk_ops.log

Steps to reproduce:

Created a VMDK volume
Run docker run --rm -it -v v6:/data busybox ls -l /data in VM1
Run docker run --rm -it -v v6:/data busybox ls -l /data in VM2
Repeat step 2 & 3 several times

I see following warnings in ESX Service log. AFAICT they haven't resulted in any user visible failures.
05/18/16 23:51:26 2764794 [WARNING] Failed to open /vmfs/volumes/4bad174b-b67f5cfc-2fc6-0026b966a303/dockvols/v6.vmdk for descriptor check

Tried the steps mentioned. Didn't get the error messages. But at one point, the same disk was configured to both VMs. VM 1 was reset (via vim-cmd)during the test on VM1, I'm not sure if that contributed to this weird scenario. May be it did.
The volume kv was marked as "attached".  But still VM 2 was able to attach the same volume, there are no logs indicating a detach from VM1. Or may be a detach did happen (no logs) and the KV was marked as "detached".
So, VM2 was able to configure the disk later (when VM1 was still down). But once VM1 came up the disk was stuck in VM1 and can't be removed nor can VM2 attach the volume.
From the server side logs:
06/01/16 08:19:22<PHONE_NUMBER> [DEBUG  ] Found /vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols, returning
06/01/16 08:19:22<PHONE_NUMBER> [INFO   ] *** attachVMDK: /vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-9.vmdk to 1 VM uuid = 4225d240-b7f5-3825-e1c4-e69a08844980
06/01/16 08:19:22<PHONE_NUMBER> [DEBUG  ] controller_key = 1003 slot = 0
06/01/16 08:19:22<PHONE_NUMBER> [DEBUG  ] Set status=attached disk=/vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-9.vmdk VM name=1 uuid=4225d240-b7f5-3825-e1c4-e69a08844980
KV was marked as "attached".
06/01/16 08:19:23<PHONE_NUMBER> [INFO   ] Disk /vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-9.vmdk successfully attached. disk_slot = 0, bus_number = 3
06/01/16 08:19:23<PHONE_NUMBER> [DEBUG  ] executeRequest ret = {'Bus': '3', 'Unit': '0'}
06/01/16 08:19:23<PHONE_NUMBER> [DEBUG  ] lib.vmci_reply: VMCI replied with errcode 0
At this point VM1 has attached clone-vol-9. But reset happened and VM1 went down.
06/01/16 08:19:23<PHONE_NUMBER> [DEBUG  ] lib.vmci_get_one_op returns 7, buffer '{"cmd":"attach","details":{"Name":"clonevol-9"}}'
06/01/16 08:19:23<PHONE_NUMBER> [DEBUG  ] Found /vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols, returning
06/01/16 08:19:23<PHONE_NUMBER> [INFO   ] *** attachVMDK: /vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-9.vmdk to 2 VM uuid = 564d392b-3cb8-5a4a-862a-3df7a590d97e
06/01/16 08:19:23<PHONE_NUMBER> [DEBUG  ] controller_key = 1003 slot = 1
06/01/16 08:19:24<PHONE_NUMBER> [DEBUG  ] Set status=attached disk=/vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-9.vmdk VM name=2 uuid=564d392b-3cb8-5a4a-862a-3df7a590d97e
VM2 is also configured with the same volume clonevol-9!!! Disk kv is still marked as "detached" but configured to VM1 (down at this time).
06/01/16 08:19:24<PHONE_NUMBER> [INFO   ] Disk /vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-9.vmdk successfully attached. disk_slot = 1, bus_number = 3
06/01/16 08:19:24<PHONE_NUMBER> [DEBUG  ] executeRequest ret = {'Bus': '3', 'Unit': '1'}
06/01/16 08:19:24<PHONE_NUMBER> [DEBUG  ] lib.vmci_reply: VMCI replied with errcode 0
06/01/16 08:19:24<PHONE_NUMBER> [DEBUG  ] lib.vmci_get_one_op returns -1, buffer '{"cmd":"attach","details":{"Name":"clonevol-9"}}'
06/01/16 08:19:24<PHONE_NUMBER> [WARNING] VMCI Get Ops failed - ignoring and moving on.
Then detach happens on VM 2.
06/01/16 08:19:24<PHONE_NUMBER> [DEBUG  ] lib.vmci_get_one_op returns 7, buffer '{"cmd":"detach","details":{"Name":"clonevol-9"}}'
06/01/16 08:19:24<PHONE_NUMBER> [DEBUG  ] Found /vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols, returning
06/01/16 08:19:24<PHONE_NUMBER> [INFO   ] *** detachVMDK: /vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-9.vmdk from 2 VM uuid = 564d392b-3cb8-5a4a-862a-3df7a590d97e
06/01/16 08:19:24<PHONE_NUMBER> [DEBUG  ] findDeviceByPath: MATCH: dockvols/clonevol-9.vmdk
06/01/16 08:19:25<PHONE_NUMBER> [DEBUG  ] Set status=detached disk=/vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-9.vmdk
06/01/16 08:19:25<PHONE_NUMBER> [INFO   ] Disk detached /vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-9.vmdk
Now, KV is correctly marked as "detached", but the volume is configured in VM1 still.

The bug is as follows:

2 docker VMs in the same ESX host
one Docker VM is doing attach (or detach) operation and locking the .vmdk
another docker VM is doing volume ls operation and tried to enumerate all vmdks - and the ones locked by the first VM are reporting the above error. and silently skipped in 'ls' command

def vmdk_is_a_descriptor(filepath):
...
    if filepath.endswith('.vmdk') and os.stat(filepath).st_size < MAX_DESCR_SIZE:
        try:
            with open(filepath) as f:
                line = f.readline()
                return line.startswith('# Disk DescriptorFile')
...

Peeking into VMDK file and checking for '# Disk DescriptorFile' is additional safety check. Return TRUE if filepath.endswith('.vmdk') and os.stat(filepath).st_size < MAX_DESCR_SIZE.

We can't ignore the check on the descriptor file as otherwise we will report the flat disks as well to docker. A read-only open is sufficient to open the file (even if there is a lock on the file) and check the descriptor file.
For example:
Disk is in use by VM.
[root@localhost:/vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols] diskTool -i4q clonevol-39.vmdk
Failed to open disk 'clonevol-39.vmdk' : Failed to lock the file (16392).
Use read-only open option.
[root@localhost:/vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols] diskTool -irq clonevol-39.vmdk
Info:
capacity       : 104857600 bytes (100 MB) 204800 blocks
backing length : 104857600 bytes (100 MB)
spaceUsed      : 14680064 bytes (14 MB)
bottomLinkSpaceUsed : 14680064 bytes (14 MB)
unsharedSpace  : 14680064 bytes (14 MB)
unsharedSpace valid: yes
parentFileName : (null)
digestDisk     : (null)
digestType     : (null)
numLinks       : 1
CID            : 0xfffffffe
parentCID      : 0xffffffff
keyID          : 00000000
bottomEmpty    : TRUE
compressed     : no
nativeParentHint : (null)
immutableLength : 0 bytes
reclaimSpace   : 0 bytes (0 bytes)
logicalSectorSize  : 512 bytes
physicalSectorSize : 512 bytes
allocationType : thin
createType     : vmfs
device         : (null)
objType        : file
Files in chain from current link upwards:
/vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols/clonevol-39.vmdk

Don't intend to use diskTool, its only for reference.

There is a size check there, so flat files or digests won't be reported. And the vmdk is already open as readonky. So it should either be open as noio which may or may not help , or, as Prashant has suggested, open failure ignored with a log warning

The read-only open vis python open() is not the same as read-only via diskLib. DiskTool is using disklib to open the file.

are you agreeing that the failure should be simply ignored , or are you suggesting some other (not suggested in this thread) way of dealing with the failure ?


Fix Version Checker's hard-coded path for package.json

Summary
Currently, the version checker is hard-coded to use client/package.json. If client/package.json doesn't exist, then the version checker silently fails.
This PR changes the version checker to match Shakapacker v8's requirements, which are that the package.json exists at the root of the project directory.
Alternately, we'll need to make the package.json path configurable.
Pull Request checklist
Remove this line after checking all the items here. If the item is not applicable to the PR, both check it out and wrap it by ~.

[ ] Add/update test to cover these changes
[ ] Update documentation
[x] Update CHANGELOG file
Add the CHANGELOG entry at the top of the file.

Other Information
Remove this paragraph and mention any other important and relevant information such as benchmarks.

This change is

Summary by CodeRabbit

New Features

Introduced streaming server rendering support with a new helper for integrating streamed components.
Added a function for enhanced performance and progressive page loading using React 18's streaming capabilities.
Enabled console log replay during server rendering for better debugging.
Improved error handling during server rendering.

Bug Fixes

Corrected and renamed the ReactOnRails.registerStore method for clarity.

Chores

Updated the changelog to reflect new features and fixes.
Modified the path for the package.json used by the version checker.

@Judahmeek can you update this:

There's always an error shown, with very verbose attention-getting message that this will cause a crash on v15.
No crash, like current behavior


Style additions

I wanted to throw in a few from my list.
A couple I was not sure about:

P2SH-P2WSH (is this it or P2SH-wrapped P2WPKH or I have seen "nested" as well)
P2SH-P2WPKH

I've probably used every possible combination for P2SH-wrapped segwit stuff depending on what I thought sounded better in context.    I think it's good to put at least some of these on the abbreviation list but I'm not sure we want to restrict use of them to a single term.
Modulo the nit caught by the linter, this LGTM.  Thanks!

squashed and pushed a commit for @jnewbery 's feedback

ACK 49da4f6d98cb951189160e5181c7228516111907

Once everyone has their initial set of style rules merged, I suggest we keep a long-running issue open to collect new style rules, and only merge infrequently.

utACK 49da4f6d98cb951189160e5181c7228516111907 modulo sorting nit

If this gets modified again before merge, maybe it could also include DoS in the abbreviations, as that's a term I used in this upcoming week's newsletter.

I've sorted the Common nouns section, added DoS to the Unintroduced acronyms section, and merged. Please use #171 for any further suggestions for our style guide.


separated Font files (ttf) for each weight

Hi, is it possible to get or generate ttf file for each weight of icon sets (regular for my case).
The current TTF file is huge (1MB) and I want to add it to my android app APK. so I prefer to have only one weight.
thank you.

This is a nice idea we'll look into.

Moving this to @phosphor-icons/web and closing, since we did it in 2.0.0! 🎉


How to refresh the current route with passing or no route argumens?

How can I refresh the current route (URL) using beamer?

Hey @bambinoua
Generally a Page will not rebuild unless it's key has changed. I'm interested to know a use case for this that cannot be solved with state management. I would encourage "refreshing" the content of a page with state management and not with routing, but am open for suggestions.

Let's consider the case. I have a page with sidebar and content. Sidebar items depends on user permissions. For example we have this structure:
Dashboard
Accounts
Users
...

There is a feature which allows administrator to work as regula user (i.e. treat him as normal user without authenticating him as those user but just change its account from selector). This normal user has no permission to Dashboard, i.e. after changing user account the item Dashboard must be hidden:
Accounts
Users
...

And yes I can do this by state management. But the problem is the route /dashboard is still is active(!) and visible in browser and I have a problem with dashboard widget which does not contains required data. So I need initiate some refreshing to check if "new" user has permissions to show Dashboard and if no redirect him to NotFound page.
So how can I implement this using Beamer?

@bambinoua Ah, I see.
You should be able to achieve what you want by defining a BeamGuard for the dashboard and calling Beamer.of(context).update() after the permissions are switched. This update() will re-run the guards and you should be redirected accordingly.

Still waiting for help...

This update() will re-run the guards and you should be redirected accordingly.

It looks like guards are not re-run after update call. So is it a bug?


Manual merge requested for PR

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Please merge this PR

Other information
The names of the tokens ACF and FEED have been updated in the new PR. Manual merging is required

did you got the answer

No, the PR is still open. Can you please merge it?


add tests

We need to add tests for the following

[x] Community plotting
[x] geolytics importer
[ ] crs conversion (inplace)
[ ] Transition class (using Community as input)
[ ] alternative distance calcs for Sequence class (markov, arbitrary, trans)

whats should we test for in a Transition class?

@weikang9009 could you help me brainstorm on this a bit?

Sure. We can do that this afternoon?


Be able to absorb 100s of new users at once

Demand is high: https://news.ycombinator.com/item?id=17951478

as per my comment on HN, a good way to do this might be using headless chrome via puppeteer from within a Google Cloud Function or using AWS Lambda. IP rate limiting might not be an issue given how the network of worker nodes is set up.

Yet another option might be to use Google's networking module to purchase a large pool of IPs and proxy through them via a cloud function as described above. I'm pretty sure that is possible.

You might want to reach out to @zeit because they have a system that can build and deploy any Dockerfile and then auto scale as traffic increases. They will typically provide free or subsidized hosting for open source projects.
I am using zeit now to host a somewhat popular project with great success 😄
https://zeit.co/now

Maybe this can repo can help https://github.com/zeit/now-examples it's filled with lot of examples using Dockerfile deployments, also you can read more about it here https://zeit.co/blog/serverless-docker if you have questions let me know 😄

Yup. Now is the way to go. Or at least if the current plans are don't not enough, contact them, they may support OSS with some customized plan.
Now is just freaking zero pain and zero efforts, 3 characters on a terminal and nothing more, and gives so freaking much in return. It's not just a hype or whatever. This company is really pawning and rocketing the things.

One thing I would've recommended is to have a way to be notified when the service is available again when you removed the ability to join the queue. "We'll email you when your profile is ready" or even "we'll email you when our service can handle more profiles" would've been a better approach, though I am sure you were in a hurry to shut it off.

@ocdtrekkie Good idea, we have now created a twitter account: https://twitter.com/ghuserio . Thanks!

@AurelienLourot In case you weren't aware, Twitter is telling me that the profile is temporarily restricted when I try to visit.

We know and I just contacted Twitter about it https://twitter.com/brillout/status/1040643164774834176

Would love to use this if it is ready

@sam0x17 actually your profile is already there 😉 https://ghuser.io/sam0x17
@DiegoRBaquero yes still heavily working on scaling up. When this issue got opened we were serving about 200 profiles. Now there are 700 profiles and you are probably one of the 2000+ users who clicked "Get your profile" at some point, and we won't forget you 🙂 We're just kind of slow I admit. More details:

the scaling issues I'm working on as we speak
the roadmap
the number of profiles is now visible on the landing page

Waiting for my profile 😃

How soon can I expect that I'll be able to create my profile in ghuser.io? Would love to contribute as well.

:tada: we have just managed to catch up. Everyone who has ever clicked on 'Get your profile' up to yesterday should now have a profile. A few more facts:

We are not overloaded anymore. We serve 3k users and with the current design we can grow up to 7k users. Probably easily 20k users with a few tweaks. The bottleneck is GitHub's API rate limit but we're not yet out of ideas to go beyond, e.g. see https://github.com/ghuser-io/db/issues/13
About 10 people are joining every day at the moment. We don't have a satisfying automation implemented yet so when someone clicks on 'Get your profile', their username ends up in a queue which we process semi-automatically within 48 hours. Obviously this is one of the most urgent things to properly implement. This is what this issue is now about.
The code base got dirtier at many places because we tried to rush at some point and we are now investing some time into cleaning this up.
And as you may have noticed: we haven't stopped implementing new features :)

Update: Onboarding is currently stalled again: We are having an issue with our script that crawls GitHub (see https://github.com/ghuser-io/ghuser.io/issues/172). Good news though: We already have found a solution.

Update: #172 is fixed :tada: Onboarding is reopened.

cool. i shall wait patiently... 📦

no problem it was already a fake account
Le ven. 7 déc. 2018 à 01:12, John Saddington<EMAIL_ADDRESS>a
écrit :

cool. i shall wait patiently... 📦
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ghuser-io/ghuser.io/issues/143#issuecomment-445076951,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqUK5AYrWFY9D7-EV5C4y9_z8-D_59WYks5u2bJfgaJpZM4Wib8h
.


1056: makes map resizable to make DC visible

Description
Jira Ticket: SARAALERT-1056
Changes the county level maps settings to be resizable to DC is visible. The original code changes are not mine: David had a fix ready when I was assigned the task, and I've used his solution here.
(Feature) Demo/Screenshots
Screenshots pending
Important Changes

app/javascript/components/analytics/widgets/CountyLevelMaps.js - The only file changed, makes the user able to resize, drag, and wheel the map chart.

Testing
This fix was tested on the following browsers (submitter must check all those that apply):

[ ] Chrome
[x] Firefox
[ ] Safari
[ ] IE11

Please update the name of this PR to reflect the actual change.

This looks good to me! In the future if we ever run out of things to do, I like the idea of making DC a separately-clickable item (almost like the insular locations). But this seems like a good interim solution.

Closing PR. Will re-open almost duplicate PR (due to git issues).


LoadLibrary in the target process failed: win32 error code 1114

Using Windows 7, Python 3.8.10, hypno 1.0.3, pyinjector 1.3.0
py -m hypno <pid> "import traceback; traceback.print_stack()"
Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\site-packages\pyinjector\api.py", line 71, in attach
    yield injector
  File "C:\Program Files\Python38\lib\site-packages\pyinjector\api.py", line 94, in inject
    handle = injector.inject(encoded_library_path)
injector.InjectorException: ('injector_inject', -5, 'LoadLibrary in the target process failed: win32 error code 1114')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python38\lib\site-packages\hypno\__main__.py", line 20, in <module>
    main()
  File "C:\Program Files\Python38\lib\site-packages\hypno\__main__.py", line 16, in main
    inject_py(parsed_args.pid, parsed_args.python_code)
  File "C:\Program Files\Python38\lib\site-packages\hypno\api.py", line 49, in inject_py
    inject(pid, str(temp.name))
  File "C:\Program Files\Python38\lib\site-packages\pyinjector\api.py", line 97, in inject
    return handle
  File "C:\Program Files\Python38\lib\contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "C:\Program Files\Python38\lib\site-packages\pyinjector\api.py", line 77, in attach
    raise exception_cls(func_name, ret_val, error_str) from e
pyinjector.api.InjectorError: Injector failed with -5 calling injector_inject: LoadLibrary in the target process failed: win32 error code 1114

Thank you for the report! I don't think I've tested on windows 7. Was the traceback printed?

Actually only the first line is printed. Something simple like "print('asd\nasd')" is printed completely (but still shows the same error).

Thank you! I think it might be related to the current method I use to unload the library on windows which is a bit hacky. The fix is probably not very hard, I hope to get to try it in the next week or so.

Hey @Dobatymo, could you please try it from my branch? You can use pip install git+https://github.com/kmaork/hypno.git@windows_fix

Hi @kmaork
The error message is gone. And I think the reason that "only the first line" is printed, is that print_stack() doesn't work as I expected.
Using
from time import sleep
from traceback import print_stack
def asd():
    while True:
        print_stack()
        sleep(100)
asd()

The result is
  File "hypno_test.py", line 7, in <module>
    asd()
  File "hypno_test.py", line 5, in asd
    print_stack()  # <<< and above from the test file
  File "<string>", line 1, in <module>  # <<< from the injection

It seems the injection doesn't happen at the site of the current code execution (which is probably expected, just not by me).
Thanks for the quick fix of the error message though.

Ok great! Thank you for helping me with debugging the issue :)

hypno uses PyRun_SimpleString which accordint to https://docs.python.org/3/c-api/veryhigh.html#c.PyRun_SimpleStringFlags "Executes the Python source code from command in the main module"
So the print_stack() makes sense.

I released hypno==1.1.0 with the fix :) Btw for easier debugging (e.g. printing nice and accurate tracebacks) you can try using madbg

madbg doesn’t support windows does it?


[trantor] Update to 1.5.14

Please run command "./vcpkg x-add-version trantor --overwrite-version" and commit again.

@an-tao, When I tested the usage by trantor:x64-windows:
trantor provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(Trantor CONFIG REQUIRED)
  target_link_libraries(main PRIVATE Botan::Botan Trantor::Trantor)

I get this error:
1> [CMake] -- Detecting CXX compile features - done
1> [CMake] -- Found OpenSSL: optimized;F:/Feature-test/trantor/vcpkg/installed/x64-windows/lib/libcrypto.lib;debug;F:/Feature-test/trantor/vcpkg/installed/x64-windows/debug/lib/libcrypto.lib (found version "3.1.2")
1> [CMake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
1> [CMake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
1> [CMake] -- Looking for pthread_create in pthreads
1> [CMake] -- Looking for pthread_create in pthreads - not found
1> [CMake] -- Looking for pthread_create in pthread
1> [CMake] -- Looking for pthread_create in pthread - not found
1> [CMake] -- Found Threads: TRUE
1> [CMake] -- Configuring done (13.3s)
1> [CMake] CMake Error at usageTest/CMakeLists.txt:9 (target_link_libraries):
1> [CMake]   Target "test" links to:
1> [CMake]
1> [CMake]     Botan::Botan
1> [CMake]
1> [CMake]   but the target was not found.  Possible reasons include:
1> [CMake]
1> [CMake]     * There is a typo in the target name.
1> [CMake]     * A find_package call is missing for an IMPORTED target.
1> [CMake]     * An ALIAS target is missing.

CMakeLists.txt:
cmake_minimum_required (VERSION 3.8)

project(test)

find_package(Trantor CONFIG REQUIRED)
# Add source to this project's executable.
add_executable (test "usageTest.cpp")

target_link_libraries(test PRIVATE Botan::Botan Trantor::Trantor)

Please try the following:
find_package(Trantor CONFIG REQUIRED)
  target_link_libraries(main PRIVATE Trantor::Trantor)

Please try the following:
find_package(Trantor CONFIG REQUIRED)
  target_link_libraries(test PRIVATE Trantor::Trantor)

The test was successful. It seems that Botan::Botan should not be included in the provided usage.

Please try the following:
find_package(Trantor CONFIG REQUIRED)
  target_link_libraries(test PRIVATE Trantor::Trantor)

The test was successful. It seems that Botan::Botan should not be included in the provided usage.

How was that prompt generated?

Please try the following:
find_package(Trantor CONFIG REQUIRED)
  target_link_libraries(test PRIVATE Trantor::Trantor)

We should consider why Trantor::Trantor is not found instead of removing it.

We should consider why Trantor::Trantor is not found instead of removing it.

You should consider why it is in the usage output for trantor.

I don't think we need to be testing usage on every single update when the edits are only like-in-kind, which is why I merged https://github.com/microsoft/vcpkg/pull/34119 which already had the effect of this update. (I didn't know this PR existed at the time, sorry!)
Thanks for your contribution!


NIFI-10662 Upgrade Jackson BOM from 2.13.4 to <IP_ADDRESS>21013

Summary
NIFI-10662 Upgrades the Jackson Bill of Materials dependency from 2.13.4 to <IP_ADDRESS>21013 in order to mitigate CVE-2022-42003. The upgrade moves Jackson dependencies to <IP_ADDRESS>, which incorporates the resolution, also available in release candidate versions of Jackson 2.14.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Will review

Do we know where this dependency actually gets used? I didn't see it mentioned when running mvn dependency:tree -Dincludes=com.fasterxml.jackson:jackson-bom. Wondering whether it's required or not.

@thenatog The jackson-bom dependency manages the version for all Jackson 2 libraries, such as jackson-core and jackson-databind, which multiple components use. The Bill of Materials dependency sets the version, which avoids having to define the version when referencing particular libraries.


Fix Windows code after merge, plus add error handling

My turn to be insanely slow... :)
Windows code no longer worked after the merge, so that has been fixed, plus I've added error handling like in the Unix version

@danielcavanagh I just noticed this...is it still necessary?

no idea, sorry! i haven't used spoon in ages. just close it i suppose
On 7 Sep 2016 00:56, "Charles Oliver Nutter"<EMAIL_ADDRESS>wrote:

@danielcavanagh https://github.com/danielcavanagh I just noticed
this...is it still necessary?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/headius/spoon/pull/9#issuecomment-244977493, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABWyP3kqoBBxQi_dWFLR2OdS_0LnfzTWks5qnX8ygaJpZM4APwcx
.

@danielcavanagh Thanks!


Merge 1.8 into master

Proposed changes:

Merge 1.8.x into master after 1.8.3 release

This diff only shows the changelog difference because all other changes we already applied when 1.9.x was merged into master.


[Feature] add deactivate devices guide

Description of Change
This adds a user guide to clarify how to use the code42 devices list and code42 devices bulk deactivate commands in combination. We've had several internal questions about how to do this and what the capabilities are over the past few days, so I wanted to get something added to the documentation.
I've added the guide, but I'm not sure if there needs to be a changelog update for documentation changes. Should I put a line there?
Please also feel free to make any edits or changes you feel are necessary or recommended to the guide, it's very much a first draft at the moment.

Thanks. You don not need to include a changelog update for documentation changes, that's just for things that affect usage / functionality. I'm adding @annie-payseur to the review to give feedback on the docs.


--save by default

Since most people would want to save a dependency to bower.json when doing bower install <package> I suggest we make --save the default and introduce a --no-save flag. The default will only have an effect if there is a bower.json.

:+1:

:+1:

+1 for save-by-default/save-dev-by-default (true|false, default = false) and --no-save/--no-save-dev.

:+1:  I'm for this feature! Often forget to add --save, mostly I install package and want to save it to bower.json.

👍

I would suggest to make this configurable like npm does.
$ npm config set save=true
$ npm config set save-exact=true

http://blog.heroku.com/archives/2015/11/10/node-habits-2016#2-use-a-smart-npmrc

Good idea. I'll accept a PR enabling it for .bowerrc

I feel like https://github.com/bower/bower/pull/2161 is not just a neat solution but also enough to close this issue.
cc: @sheerun agree?

yup :)


Use apps/v1 k8s API to support k8s 1.16

Based on https://github.com/plotly/kubedog/commit/61c0f5cfdcf917dbd1e9d316c3028b2375e536e9 but reimplemented on kubedog 0.2.0.
Related to https://github.com/plotly/streambed/issues/14287, for discussion

@joaoalf Please review. Once this is approved I'll merge it into our 0.2-release branch and produce a kubedog binary suitable for use on DDS's 3.4-release if needed. (Following the discussion starting at https://github.com/plotly/streambed/issues/14287#issuecomment-605110075 I don't plan on merging to 3.4-release right now.)


Add extra argument to timer thread lambdas

The Timer gem uses two arguments. The lambdas originally accepted 1.

Thanks a lot for posting the pull request.


Bot crashes after after so long.

I've been using this bot for some time, and I'm sick of the "random" crashes. I've tried following other issues like the one about using pm2 but I just can't seem to get them to work properly with the bot. Any ideas?

If it's the ECONNRESET error, please follow issue #88 for updates. I'm currently testing some solutions.
If it's some other error, please send a screenshot of the error message here!

Cmd just closes with no errors that I can see.

Cmd just closes after so long and don't show any errors.

If you started the bot by running npm start in cmd, the console window should stay open with any errors. Regardless, I'm going to need the error message to be able to help you out here.
PM2 and other similar software are a way to auto-restart the bot when it crashes - it doesn't fix the underlying problem, but it does allow you to mostly ignore it until it's fixed. You should check out the PM2 documentation if you're having issues getting it to work.


[RFE] seccomp-advisor: print created profile name

Current situation
Actually, when you create a seccomp profile using seccomp-advisor, gadget just inform you it created a profile:
$ ./kubectl-gadget seccomp-advisor start -m seccomp-profile -n seccomp-demo -p hello-python
kWjvNEsM1MmAWskS

$ ./kubectl-gadget seccomp-advisor stop kWjvNEsM1MmAWskS
Successfully created seccomp profile

Impact
User has to use another command to get the profile name, which is not perfect in term of UX:
$ kubectl get seccompprofiles -A
NAMESPACE                    NAME           STATUS      AGE
gadget                       hello-python   Installed   4s

Ideal future situation
Profile name should be printed when created:
$ ./kubectl-gadget seccomp-advisor start -m seccomp-profile -n seccomp-demo -p hello-python
kWjvNEsM1MmAWskS

$ ./kubectl-gadget seccomp-advisor stop kWjvNEsM1MmAWskS
Successfully created seccomp profile: gadget/hello-python

As discussed here, please take into account that it might potentially be a list of profiles when we will start supporting more flexible filtering. Thanks!


Create Test Component for Contribution Session

The problem
Create DDSTestComponent
The solution
Show example of how to make a PR for the contribution deep dive session
Additional information

create test and must pass 80%
create storybook
add feature flag labels
...

Closing this, thank you @RaphaelAmadeu @ariellalgilmore !


Feature/gasfee

Codecov Report

Merging #137 (f627e34) into master (31edaeb) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

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

Merged into https://github.com/Anchor-Protocol/anchor-web-app/pull/138


[deployment example] oCIS with EOS

Description
oCIS with EOS deployment example
TODO

use sssd instead of nslcd? https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/configuring_services

look at init steps of the helm chart: https://gitlab.cern.ch/eos/eos-charts/-/tree/master

use official EOS docker image everywhere

setup everything automatically

archive https://github.com/owncloud-docker/eos-stack / delete docker images?

archive https://github.com/owncloud-docker/eos-base / delete docker images?

Ressources

https://eos-docs.web.cern.ch/quickstart.html
https://gitlab.cern.ch/eos/eos-docker/-/tree/master/image_scripts

Thanks for working on this @wkloucek - I did get it up and running following the instructions, I still get errors when sharing (eg with demo user Albert Einstein) - the following comes back in the API:

The error mentioned by @rpocklin seems to be caused by the addition of a "--position" flag to "eos acl" command around here: (https://github.com/cs3org/reva/blob/ed9517bc36eaaed3b448ca4fb3aca1c5e0df27cb/pkg/eosclient/eosbinary/eosbinary.go#L345)
This flag was added by https://gitlab.cern.ch/dss/eos/-/merge_requests/104/diffs and isn't present in the earlier docker containers used by the docker-compose.yml.
The file .../deployments/examples/ocis_eos/image/ocis/Dockerfile mentions
gitlab-registry.cern.ch/dss/eos/eos-all:4.8.57, but the command is not available until gitlab-registry.cern.ch/dss/eos/eos-all:4.8.60.

The error mentioned by @rpocklin seems to be caused by the addition of a "--position" flag to "eos acl" command around here: (https://github.com/cs3org/reva/blob/ed9517bc36eaaed3b448ca4fb3aca1c5e0df27cb/pkg/eosclient/eosbinary/eosbinary.go#L345)
This flag was added by https://gitlab.cern.ch/dss/eos/-/merge_requests/104/diffs and isn't present in the earlier docker containers used by the docker-compose.yml.
The file .../deployments/examples/ocis_eos/image/ocis/Dockerfile mentions gitlab-registry.cern.ch/dss/eos/eos-all:4.8.57, but the command is not available until gitlab-registry.cern.ch/dss/eos/eos-all:4.8.60.

Thanks for the hint. I tried it with a more recent version, but unfortunately the share receiver isn't able to list the share then... I think it needs newer EOS images for the MGM and FST, too. I'll do that when switching to the official EOS images


[question] What's the relationship between Components and Options, Plugins and Converters?

Search terms

Components, Options, Plugins
Question
I check the documentation,
Options, Plugins and Converters are all under Components. What's the relationship between them?

Such as Options  vs. Components ?

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

They are all rough groupings of some of TypeDoc's code which made sense to me when attempting to provide an overview of how typedoc works... there's potentially a better way to describe that, I haven't updated that page in a couple of years.


[Bug]: Knowledge base error when I use the Knowledge graph methord

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
0.11.0
Commit ID
none
Other environment information
No response
Actual behavior
An error occured when I use the Knowledge graph methrod in version 0.11.0:

Task has been received.
Start to parse.
Finish parsing.
Extracting entities.
Knowledge graph extraction error:'NoneType' object is not subscriptable
Knowledge graph extraction error:'NoneType' object is not subscriptable
1/1, elapsed: 66.27512523718178s, used tokens: 3887
1/1, elapsed: 90.88857838138938s, used tokens: 3861

The error logs was found from console of ragflow-server:

[INFO] [2024-09-15 07:42:43,610] [_internal._log] [line:96]: <IP_ADDRESS> - - [15/Sep/2024 07:42:43] "GET /v1/document/list?kb_id=5108961c733511ef82ce0242c0a8e007&page=1&page_size=10 HTTP/1.1" 200 -
[ERROR] [2024-09-15 07:42:47,859] [graph_extractor.call] [line:135]: error extracting graph
Traceback (most recent call last):
File "/ragflow/graphrag/graph_extractor.py", line 128, in call
result, token_count = self._process_document(text, prompt_variables)
File "/ragflow/graphrag/graph_extractor.py", line 166, in _process_document
response = self._llm.chat(text, [{"role": "user", "content": "Output:"}], gen_conf)
File "/ragflow/api/db/services/llm_service.py", line 250, in chat
txt, used_tokens = self.mdl.chat(system, history, gen_conf)
File "/ragflow/rag/llm/chat_model.py", line 45, in chat
ans = response.choices[0].message.content.strip()
TypeError: 'NoneType' object is not subscriptable
[ERROR] [2024-09-15 07:42:48,000] [graph_extractor.call] [line:135]: error extracting graph
Traceback (most recent call last):
File "/ragflow/graphrag/graph_extractor.py", line 128, in call
result, token_count = self._process_document(text, prompt_variables)
File "/ragflow/graphrag/graph_extractor.py", line 166, in _process_document
response = self._llm.chat(text, [{"role": "user", "content": "Output:"}], gen_conf)
File "/ragflow/api/db/services/llm_service.py", line 250, in chat
txt, used_tokens = self.mdl.chat(system, history, gen_conf)
File "/ragflow/rag/llm/chat_model.py", line 45, in chat
ans = response.choices[0].message.content.strip()
TypeError: 'NoneType' object is not subscriptable

Expected behavior
No response
Steps to reproduce
upload the document and process with Knowledge graph methord

Additional information
No response

It seems the response from LLM has error.

What's LLM you're using?

What's LLM you're using?

new-api with deepseek and glm4 api

What is new-api? Could you give me a reference?
For glm-4, do you mean you're using Zhipu SaaS for calling LLM?

What is new-api? Could you give me a reference? For glm-4, do you mean you're using Zhipu SaaS for calling LLM?

https://github.com/MartialBE/one-hub/blob/main/README.en.md
It's a copy of the one-api, which is an api hub toolkit.

I guess you need some development to integrate one-hub into chat_model.py.
However we don't have bandwidth for this.


Still hanging with large env

Hello,
after 5 hours we are stuck here

Regards,
Red.

Hello,
it seems to hang on Job 1
Large Size Environment Identified.
Jobs will be run in batches to avoid CPU Overload.
DEBUG: 2024-10-15_08_16_07 - Starting Processing Jobs in Large Mode.
DEBUG: 2024-10-15_08_16_07 - Total Resources Being Processed: 71398
DEBUG: 2024-10-15_08_16_07 - Resources Being Processed in ResourceJob_1: 5000
DEBUG: 2024-10-15_08_16_08 - Resources Being Processed in ResourceJob_2: 5000
DEBUG: 2024-10-15_08_16_09 - Resources Being Processed in ResourceJob_3: 5000
DEBUG: 2024-10-15_08_16_10 - Resources Being Processed in ResourceJob_4: 5000
DEBUG: 2024-10-15_08_16_12 - Resources Being Processed in ResourceJob_5: 5000
DEBUG: 2024-10-15_08_16_12 - Waiting Batch of Jobs to Complete.
DEBUG: 2024-10-15_08_16_13 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_16_28 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_16_43 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_16_58 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_17_13 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_17_28 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_17_43 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_17_58 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_18_14 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_18_29 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_18_44 - initial Jobs Running: 5
DEBUG: 2024-10-15_08_18_59 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_19_14 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_19_29 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_19_44 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_19_59 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_20_14 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_20_29 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_20_45 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_21_00 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_21_15 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_21_30 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_21_45 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_22_00 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_22_15 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_22_30 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_22_45 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_23_00 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_23_15 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_23_30 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_23_45 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_24_00 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_24_15 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_24_30 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_24_45 - initial Jobs Running: 1
DEBUG: 2024-10-15_08_25_00 - initial Jobs Running: 1
Azure Inventory [21% Complete.                                                                                ]
Processing Initial Resource Jobs [80% Complete.                                                                      ]

Regards,
Red.

Hello,
still running, same status
DEBUG: 2024-10-15_12_44_09 - initial Jobs Running: 1
DEBUG: 2024-10-15_12_44_24 - initial Jobs Running: 1
DEBUG: 2024-10-15_12_44_39 - initial Jobs Running: 1
DEBUG: 2024-10-15_12_44_54 - initial Jobs Running: 1
Azure Inventory [21% Complete.                                                                                ]
Processing Initial Resource Jobs [80% Complete.                                                                      ]
Regards,
Red.

Ok, I think we can assume it is getting stuck at some resource module.
What I would like to do now was to start removing the .ps1 files from the module folder to see what module file is dragging back the script, like if we remove the VM.ps1 and the script run way faster, it means this is the module causing the issue and we need to investigate what in the several loops there is causing the slow.

Hello,
renamed, just as a test, vm.ps1 and now it hangs here
DEBUG: 2024-10-16_11_32_08 - initial Jobs Running: 2
DEBUG: 2024-10-16_11_32_24 - initial Jobs Running: 2
DEBUG: 2024-10-16_11_32_39 - initial Jobs Running: 2
DEBUG: 2024-10-16_11_32_55 - initial Jobs Running: 2
DEBUG: 2024-10-16_11_33_10 - initial Jobs Running: 2
Azure Inventory [21% Complete.                                                                                ]
Processing Initial Resource Jobs [83% Complete.                                                                      ]
Would not be possible to have an "enhanced debug" displaying what Job 2 is doing and which script is executing ?
Otherwise we need to rename the script one by one, hoping to find the offending one.
Regards,
Red.

Actually no, Jobs exists within their on process and have little interaction with other processes.
The only way would be to actually create a log file for each process, and I believe it would be even more confuse to troubleshoot then renaming the files...
By the way, you don't need to do it one by one, you can remove entire folders of the .ps1 files to narrow down which module is causing the issue in the environment.

Hello,
I removed Network folder
DEBUG: 08:56:42 - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
DEBUG: 08:56:42 - GetAzureRMContextCommand end processing.
DEBUG: 2024-10-17_08_56_45 - Creating Overall Panel.
DEBUG: 2024-10-17_08_56_54 - Creating Charts.
WARNING: Failed adding PivotTable 'P0': Cannot index into a null array.
WARNING: Failed adding chart for pivotable 'P0': Cannot bind argument to parameter 'PivotTable' because it is null.
WARNING: Failed adding PivotTable 'P2': Cannot index into a null array.
WARNING: Failed adding chart for pivotable 'P2': Cannot bind argument to parameter 'PivotTable' because it is null.
DEBUG: 2024-10-17_08_56_58 - Validating if Excel is installed (Extra Customizations).
InvalidOperation: The property 'ChartStyle' cannot be found on this object. Verify that the property exists and can be set.
InvalidOperation: The property 'ChartStyle' cannot be found on this object. Verify that the property exists and can be set.
InvalidOperation: The property 'ChartStyle' cannot be found on this object. Verify that the property exists and can be set.
DEBUG: 2024-10-17_08_57_17 - Finished Charts Phase.
Report Complete. Total Runtime was: 21,79 Minutes
Total Resources: 71341
Total Advisories: 0
Total Policies: 14
But it merged cached info from yesterday running
DEBUG: 2024-10-17_08_48_02 - Checking if Should Generate Policy Sheet.
Get-Job: The command cannot find the job because the job name Policy was not found. Verify the value of the Name parameter, and
then try the command again.
DEBUG: 2024-10-17_08_48_02 - Checking if Should Generate Advisory Sheet.
Get-Job: The command cannot find the job because the job name Advisory was not found. Verify the value of the Name parameter,
and then try the command again.
DEBUG: 2024-10-17_08_48_02 - Generating Subscription sheet.
DEBUG: 2024-10-17_08_48_14 - Excel Jobs Compleated.
DEBUG: 2024-10-17_08_48_14 - Starting Ordering of Cached Files.
DEBUG: 2024-10-17_08_48_14 - Ordering Cached Files.

DEBUG: 2024-10-17_08_49_10 - Starting Reporting Phase.
Regards,
Red.

Hi @red-erik
That's interesting, without the network folder it ran in like 21 minutes, right?
Can you put the network folder back in and now just remove the Firewall and Load Balancer file?
I assume these are the most complex and likely to cause issues like that.
Regarding the script merging content from yesterday, this happened because the script was interrupted, so it was not able to delete the cache files.

Hello,
the offending module is the LoadBalancer one. Without it we are at 99% so I suppose it will finish soon.
Regards,
Red.

Hello,
confirmed, the Load Balancer script is the root cause.
Regards,
Red.


Different results between rsvg and resvg

VV.zip

Well, your files are malformed. You have duplicated id's for yellow and blue gradients in KOSZ_1223.svg. According to the SVG spec, I can choose any of them. And I choose the last one, which happens to be "empty".
Safari fails in the same way as resvg.
The only solution I can think of is to search for duplicated gradients on error.


Update users-revoke-access.md

Tagged important text.

@Gargi-Sinha : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@Gargi-Sinha: I'm sorry - only the author of this article, @curtand, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Hi @Gargi-Sinha  -  This PR was opened in the public repo. Contributors who work in the Product Manager role should work in the private repository for advanced quality validations and staging (you also can sign off directly in the private repo). To edit an article in the private repo from within the documentation, after you select Edit on an article page,  add “-pr” to the URL. Would you make the updates in the private repo? We'll close this PR. Thanks!


Slabs

Merging slabs. The collision detection isn't ready, but I am not sure if I want to go about it until a better item definition system is added or I decide against one. Hard coding is too inflexible.

Whoops! Don't merge this. Mistype! I meant to push to my fork,.


Proving our alorithm's effectiveness

Description
At some point, we will need to evaluate the effectiveness of our algorithm. Choosing the path for evaluation earlier allows us to structure our code accordingly, enabling it to work with the chosen solution.
We can consider the following options:

Utilizing accuracy metrics based on top-tier chess engines (as chess.org does).
2..Checking our algorithm's ELO rating on public chess websites, similar to the approach described in this GitHub repository: https://github.com/lichess-bot-devs/lichess-bot/blob/master/README.md.
Developing our own evaluation method based on our thesis."
Evaluating effectiveness of our algorithm is not needed.

Area
Other

stub instead of an algorithm:
`
Load and resize image
image = Image.open("Piece.png")
image = image.resize((87, 87))
image.save("Piece1.png")
image = pygame.image.load('Piece1.png').convert()
w_pawn_img = Image.open("w_pawn.png")
w_pawn_img = w_pawn_img.resize((87, 87))
w_pawn_img.save("w_pawn1.png")
w_pawn_img = pygame.image.load('w_pawn1.png').convert()
Make image see-through
image.set_alpha(200)
w_pawn_img.set_alpha(200)
b_pawn = image.get_rect()  # image.get rect method only decides size of rect based on image size
b_pawn.x, b_pawn.y = 0, 87
x = 0
while x <= 8:
exec(f"b_pawn{x} = b_pawn.copy()\n"
f"piece_position_list.append(NamedRect(b_pawn{x},'b_pawn'))\n"
     f"b_pawn{x}.x, b_pawn{x}.y = x*87,87")  # i added {x} to b_pawn

x = x + 1

PAWN
white_pawn = w_pawn_img.get_rect()
x = 0
while x <= 8:
exec(f"w_pawn{x} = white_pawn.copy()\n"
f"piece_position_list.append(NamedRect(w_pawn{x},'w_pawn'))\n"
f"w_pawn{x}.x, w_pawn{x}.y = x*87,522")
x = x + 1
`


Pretify of Splines

Will be possible to pretiffy Spline differently?
This is how it looks after pretiffy, could it be inline ?

Spline 10
-10 33
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 18
-18 33
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 35
-18 33
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 22
18 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 200
340 500
340 EndSpline`

Desired:

Spline
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-25 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
50 200
200 200
EndSpline

Yeah that'd definitely be better. Wanna whip up a PR?

I don't know web development, but can you point me where is this Prettify code? Where should I look at?


chore: upgrade react-notion-x to prevent code block render error

当前版本的 react-notion-x 在使用 typescript 代码时会出 bug，包括不渲染代码样式或者整个代码块不显示，这个问题在 react-notion-x 侧已经解决，需要更新依赖。
参考资料：
https://github.com/NotionX/react-notion-x/issues/62
https://github.com/NotionX/react-notion-x/pull/194

这项目应该无人维护了？这个pr我就先关了

@yuzhanglong Hey, this project is still under development, This project has not been maintained for the past few months for personal reasons. I will go and pick it up later this week


Add unit tests to verify-conformance bot

There are no tests associated with the verify-conformance bot and there is currently only smoke testing in the cncf-infra/k8s-conformance repo with mock data.
With the usage of godog, fake clients and test data, unit tests should be written.

unit test coverage is now at

ok  	cncf.io/infra/verify-conformance-release/pkg/common	0.002s	coverage: 100.0% of statements
ok  	cncf.io/infra/verify-conformance-release/pkg/plugin	0.062s	coverage: 13.4% of statements
ok  	cncf.io/infra/verify-conformance-release/pkg/suite	0.841s	coverage: 63.8% of statements

current unit test coverage is at

ok  	cncf.io/infra/verify-conformance-release/pkg/common	0.286s	coverage: 100.0% of statements
ok  	cncf.io/infra/verify-conformance-release/pkg/plugin	0.808s	coverage: 63.9% of statements
ok  	cncf.io/infra/verify-conformance-release/pkg/suite	1.216s	coverage: 99.3% of statements

plugin is a tricky one to test and there's still a few functions which should be covered, such as handle

thanks to https://github.com/cncf-infra/verify-conformance/pull/123, pkg/plugin coverage now at 79.7%


When using "Forced Original Position"; hangarmod load ignores position

When using "Forced Original Position"; hangarmod load ignores position
I saved a couple things to my hangar to test, tried to use hangarmod load to test forced position spawning while ignoring the cooldown - they spawned near my player instead of in the forced position they should have
Trying to do hm load from discord console breaks as well
Exception has been thrown by the target of an invocation.
https://i.imgur.com/XNBKXgr.png
low priority to me

You can now load grids from the console. They will force spawn where they were saved at.


🐛 [firebase_crashlytics] Settings Request Failed, not reporting to console

Bug report
I have been trying to implement the latest version of the Crashlytics package for flutter. I have been trying to induce test crashes for the past day and upon re-opening... Crashlytics is not reporting to Firebase console. Then through further investigation via the logcat for Crashlytics I found this error that I couldn't find a working solution for:
05-27 11:00:11.733 22505 22550 E FirebaseCrashlytics: Settings request failed.
05-27 11:00:11.733 22505 22550 E FirebaseCrashlytics: java.io.FileNotFoundException: https://firebase-settings.crashlytics.com/spi/v2/platforms
/android/gmp/1:113639551542:android:67d8dd84bb64db72111e97/settings?instance=cdafb210340de7c5ea2fcea21b5e25245adf56b4&build_version=12&display_
version=1.4.13&source=1

Steps to reproduce
Steps to reproduce the behavior:

Add Firebase Crashlytics Flutter Package
Add Plugin to app level build.gradle
Add dependency to project level build.gradle
Run a test crash
Re-launch app and run "adb logcat -s FirebaseCrashlytics"
See error

Expected behavior
I expect to not show any error in the log and report the test crash to Firebase Console.
Sample project
App level Build.gradle
Click To Expand

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    throw new GradleException("versionCode not found. Define flutter.versionCode in the local.properties file.")
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    throw new GradleException("versionName not found. Define flutter.versionName in the local.properties file.")
}
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'

android {
    compileSdkVersion 30

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.pikfarm.pikfarm"
        minSdkVersion 21
        targetSdkVersion 30
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        multiDexEnabled true
    }
    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
            storePassword keystoreProperties['storePassword']
        }
    }
    buildTypes {
        release {
            signingConfig signingConfigs.release
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.google.firebase:firebase-analytics:17.5.0'
    implementation 'com.google.android.material:material:1.3.0'
    implementation "androidx.multidex:multidex:2.0.1"
    implementation 'com.google.firebase:firebase-messaging:6.0.16'
    //implementation 'com.facebook.android:facebook-android-sdk:[5,6)'
}

Project Level Build.gradle
Click To Expand
buildscript {
    ext.kotlin_version = '1.3.50'
    repositories {
        google()
        jcenter()
       // mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.google.gms:google-services:4.3.8'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.6.1'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Crashlytics Service
Click To Expand
import 'package:firebase_crashlytics/firebase_crashlytics.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:pikfarm/shared/constants.dart';

class CrashReporting {
  static FirebaseCrashlytics crash = FirebaseCrashlytics.instance;
  static void init(BuildContext context) async {
    if (kDebugMode) {
      print("we in debug, crashlytics STOP");
      // Force disable Crashlytics collection while doing every day development.
      // Temporarily toggle this to true if you want to test crash reporting in your app.
      await crash.setCrashlyticsCollectionEnabled(false);
      if (await crash.checkForUnsentReports()) {
        await crash.sendUnsentReports();
      }
    } else {
      if (!crash.isCrashlyticsCollectionEnabled) {
        // set up the button
        Widget okButton = FlatButton(
          child: Text("Allow"),
          onPressed: () async {
            await crash.setCrashlyticsCollectionEnabled(true);
            await crash.setUserIdentifier(Constants.myUserId);
            Navigator.of(context).pop();
          },
        );

        Widget noButton = FlatButton(
          child: Text("Deny"),
          onPressed: () {
            Navigator.of(context).pop();
          },
        );

        // set up the AlertDialog
        AlertDialog alert = AlertDialog(
          title: Text("Enable Crash reporting"),
          content: Text(
            <--Redacted-->
          actions: [okButton, noButton],
        );

        // show the dialog
        showDialog(
          context: context,
          builder: (BuildContext context) {
            return alert;
          },
        );
      } else {
        print("crashlytics is up");
      }
      // Handle Crashlytics enabled status when not in Debug,
      // e.g. allow your users to opt-in to crash reporting.
    }
  }

  static void testCrash() {
    if (crash.isCrashlyticsCollectionEnabled) {
      // Collection is enabled.
      crash.crash();
    }
  }
}

Test crash
   onPressed: () {
                  CrashReporting.testCrash();
                  Navigator.push(
                      context,
                      MaterialPageRoute(
                          settings: RouteSettings(name: "/cart"),
                          builder: (context) => Cart()));
                }

Additional context
Click To Expand
My research came across a number of similar issues that didn't have a substantial solution. Many just said the issue went away automatically. The only caveat was that many people were using older versions of the SDK and the errors were worded differently. These same posters claimed that it was an authentication error with Firebase itself. I am at a loss and don't know what else to try.

I followed this documentation:

https://firebase.flutter.dev/docs/crashlytics/overview
https://pub.dev/documentation/firebase_crashlytics/latest/
https://firebase.google.com/docs/crashlytics/
https://firebase.google.com/docs/crashlytics/test-implementation

Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.0, on Microsoft Windows [Version 10.0.19042.985], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio
[√] IntelliJ IDEA Community Edition (version 2020.3)
[√] Connected device (3 available)

• No issues found!

Flutter dependencies
Click To Expand
Dart SDK 2.13.0
Flutter SDK 2.2.0
pikfarm 1.4.13+12

dependencies:
- another_flushbar 1.10.22 [pedantic flutter]
- cached_network_image 3.0.0 [flutter flutter_cache_manager octo_image]
- cloud_firestore_mocks 0.9.0+1 [flutter cloud_firestore cloud_firestore_platform_interface collection plugin_platform_interface quiver]
- cupertino_icons 1.0.3
- firebase_analytics 8.1.0 [firebase_analytics_platform_interface firebase_analytics_web firebase_core flutter meta]
- firebase_auth 1.2.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.2.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.0.4 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_messaging 10.0.0 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutte
r meta]
- firebase_storage 8.1.0 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flappy_search_bar 1.7.2 [flutter async flutter_staggered_grid_view]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_local_notifications 6.0.0 [flutter flutter_local_notifications_platform_interface platform timezone]
- flutter_masked_text 0.8.0 [flutter]
- flutter_money_formatter 0.8.3 [flutter intl]
- flutter_rating_bar 4.0.0 [flutter]
- flutter_spinkit 5.0.0 [flutter]
- flutter_typeahead 3.1.3 [flutter flutter_keyboard_visibility]
- geocoder 0.2.1 [meta flutter]
- geoflutterfire 3.0.0-nullsafety.4 [flutter cloud_firestore rxdart]
- geolocator 7.0.3 [flutter geolocator_platform_interface geolocator_web]
- google_maps_flutter 2.0.6 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- google_maps_webservice 0.0.20-nullsafety.5 [http meta json_annotation]
- image_cropper 1.4.0 [flutter]
- image_picker 0.7.5+3 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface image_picker_for_web]
- import_sorter 4.5.1 [args tint yaml]
- permission_handler 8.0.0+2 [flutter meta permission_handler_platform_interface]
- provider 5.0.0 [collection flutter nested]
- shared_preferences 2.0.6 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_prefere
nces_web shared_preferences_windows]
- stripe_sdk 5.0.0-nullsafety.0 [flutter http url_launcher mask_text_input_formatter flutter_slidable simple_animations supercharged awesome_ca
rd uni_links2 credit_card_validator collection]
- time_slider 0.1.0 [flutter]
- uri 1.0.0 [matcher quiver]
- uuid 3.0.4 [crypto]
- webview_flutter 2.0.7 [flutter]

dev dependencies:
- dependency_validator 3.1.0 [args build_config checked_yaml glob io json_annotation logging package_config path pub_semver pubspec_parse yaml]
- flutter_launcher_icons 0.9.0 [args image path yaml]
- flutter_native_splash 1.1.8+4 [image meta path xml yaml universal_io]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matc
her meta source_span stream_channel string_scanner term_glyph typed_data]
- test 1.17.4 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pedantic pool shel
f shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_p
rotocol yaml test_api test_core]

dependency overrides:
- intl 0.17.0 [clock path]
- test_api 0.4.0 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]

transitive dependencies:
- _fe_analyzer_shared 22.0.0 [meta]
- analyzer 1.6.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml peda
ntic]
- archive 3.1.2 [crypto path]
- args 2.0.0
- async 2.6.1 [meta collection]
- awesome_card 1.1.5 [flutter]
- boolean_selector 2.1.0 [source_span string_scanner]
- build_config 1.0.0 [checked_yaml json_annotation path pubspec_parse yaml]
- characters 1.1.0
- charcode 1.2.0
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.0 [meta path]
- clock 1.1.0
- cloud_firestore 2.2.0 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- cloud_firestore_platform_interface 5.1.0 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.1.0 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.15.0
- convert 3.0.0 [typed_data]
- coverage 1.0.2 [args logging package_config path source_maps stack_trace vm_service]
- credit_card_type_detector 2.0.0-nullsafety.0
- credit_card_validator 2.0.0-nullsafety.0 [credit_card_type_detector]
- crypto 3.0.1 [collection typed_data]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.0
- file 6.1.1 [meta path]
- firebase 9.0.1 [http http_parser js]
- firebase_analytics_platform_interface 2.0.1 [flutter meta]
- firebase_analytics_web 0.3.0+1 [firebase firebase_analytics_platform_interface flutter flutter_web_plugins meta]
- firebase_auth_platform_interface 4.2.3 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 1.1.3 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js met
a]
- firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.0.4 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 3.0.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.0.0 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 2.1.0 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 1.1.0 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js met
a]
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.0.2 [clock collection file flutter http image path path_provider pedantic rxdart sqflite uuid]
- flutter_keyboard_visibility 5.0.2 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_web flutter]
- flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_local_notifications_platform_interface 4.0.0 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 2.0.2 [flutter]
- flutter_slidable 0.6.0 [flutter]
- flutter_staggered_grid_view 0.3.4 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- frontend_server_client 2.1.0 [async path]
- geolocator_platform_interface 2.0.2 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.0.3 [flutter flutter_web_plugins geolocator_platform_interface]
- glob 2.0.1 [async collection file path pedantic string_scanner]
- google_maps_flutter_platform_interface 2.0.4 [flutter meta plugin_platform_interface stream_transform collection]
- http 0.13.3 [async http_parser meta path pedantic]
- http_multi_server 3.0.1 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.0.2 [archive meta xml]
- image_picker_for_web 2.0.0 [image_picker_platform_interface meta flutter flutter_web_plugins]
- image_picker_platform_interface 2.1.0 [flutter meta http plugin_platform_interface]
- io 1.0.0 [meta path string_scanner]
- js 0.6.3
- json_annotation 4.0.1
- logging 1.0.1
- mask_text_input_formatter 2.0.0-nullsafety.2 [flutter]
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mime 1.0.0
- nested 1.0.0 [flutter]
- node_preamble 2.0.0
- octo_image 1.0.0+1 [flutter flutter_blurhash]
- package_config 2.0.0 [path]
- path 1.8.0
- path_provider 2.0.2 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 2.0.0 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.1 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.11.0
- permission_handler_platform_interface 3.5.0 [flutter meta plugin_platform_interface]
- petitparser 4.1.0 [meta]
- platform 3.0.0
- plugin_platform_interface 2.0.0 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.1 [file path platform]
- pub_semver 2.0.0 [collection]
- pubspec_parse 1.0.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.0.1 [matcher]
- rxdart 0.27.0
- shared_preferences_linux 2.0.0 [flutter file meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.0 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.0 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 2.0.0 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider
_windows]
- shelf 1.1.4 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.0 [path shelf shelf_static]
- shelf_static 1.0.0 [convert http_parser mime path shelf]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- simple_animations 3.1.1 [flutter supercharged pedantic]
- sky_engine 0.0.99
- source_map_stack_trace 2.1.0 [path stack_trace source_maps]
- source_maps 0.10.10 [source_span]
- source_span 1.8.1 [collection path term_glyph]
- sqflite 2.0.0+3 [flutter sqflite_common path]
- sqflite_common 2.0.0+2 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- supercharged 2.0.0 [supercharged_dart flutter]
- supercharged_dart 2.0.0
- synchronized 3.0.0
- term_glyph 1.2.0
- test_core 0.3.24 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pedantic p
ool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api]
- timezone 0.7.0 [path]
- tint 2.0.0
- typed_data 1.3.0 [collection]
- uni_links2 0.6.0+2 [uni_links2_platform_interface uni_links_web2 flutter]
- uni_links2_platform_interface 1.0.0+2 [plugin_platform_interface flutter]
- uni_links_web2 0.1.0+2 [uni_links2_platform_interface flutter flutter_web_plugins]
- universal_io 2.0.4 [collection crypto meta typed_data]
- url_launcher 6.0.4 [flutter url_launcher_platform_interface url_launcher_linux url_launcher_macos url_launcher_windows url_launcher_web]
- url_launcher_linux 2.0.0 [flutter]
- url_launcher_macos 2.0.0 [flutter]
- url_launcher_platform_interface 2.0.3 [flutter plugin_platform_interface]
- url_launcher_web 2.0.0 [url_launcher_platform_interface meta flutter flutter_web_plugins]
- url_launcher_windows 2.0.0 [flutter]
- vector_math 2.1.0
- vm_service 6.2.0
- watcher 1.0.0 [async path pedantic]
- web_socket_channel 2.1.0 [async crypto stream_channel]
- webkit_inspection_protocol 1.0.0 [logging]
- win32 2.1.1 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.1.1 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

---

Thanks for the detailed report @cybertheory. I see couple of observations in your config.

According to the flutterfire documentation for the plugin, the project level build.gradle is listed to have classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.1', whereas, you have classpath 'com.google.firebase:firebase-crashlytics-gradle:2.6.1'

In your app level build.gradle, you have apply plugin entries at top of the file, whereas, in the documentation, it is mentioned to add the same at bottom of the file:

Can you make above changes and try again ?

I have visited the referenced issue and tried some of the solutions there. None of them worked. :(

I just tried removing the lines
implementation 'com.google.firebase:firebase-analytics:17.0.3' implementation 'com.google.firebase:firebase-crashlytics:17.4.1'
This was an attempt from a potential solution, that did not work either.

Thanks for the details. Can you try the same using plugin's official example to see if you see similar behavior ?

Ok so I got it working! This was completely by fluke and I guess it was an authentication/config error. For future reference: MAKE SURE TO USE THE SAME PACKAGE ID FOR YOUR FIREBASE PROJECT I had been using a different package id on my project. For some other reason, I decided to register a new app with the correct ID. This led to the crashlytics finally reporting!

Glad to know you got it resolved. Going ahead and closing this based on above comment.


Rebased LG-R100 Branch to current master

This isn't perfect yet, but it seemed to work and it shouldn't get lost in time.
Hope to have fixed my messups this time :)

Great! Only thing keeping me from merging this is the drift, which is assumed at the moment can be fixed with bias value from the firmware.

What means bias value from the firmware ? And was it merged to master ? Thanks.

Any news about this? I have a LG-R100, can I help in some way?


Can we add a second CLA admin to a project who is not an organization owner?

URL to the linked Repo/Org: github.com/connamara/quickfixn
I am the lead maintainer of the QuickFIX/n project, but I am not a github owner/admin of Connamara.
One of the Connamara org owners set up the CLA for QuickFIX/n, but we are unable to figure out how to add a second CLA admin.  Is it possible for him to give me the rights to manage the CLA of connamara/quickfixn without me being an owner of the Connamara org?

Unfortunately it is not possible to "give admin rights" to another user because we fully rely on GitHub's user/auth management. We do not have any other way to identify users role other than access GitHub's data. Sorry about it.

Ok, thanks.


Use line from missing terminator hint

Hello,
I noticed that ElixirLS wasn't able to pick up the line in case of a missing end in the middle of a file, and was highlighting the end of the file instead (which always takes some time to notice because it is far from the code being modified).
However, the Elixir compiler is often able to provide a useful hint with the probable line where the do actually started:
** (TokenMissingError) lib/has_error.ex:16:1: missing terminator: end (for "do" starting at line 1)

    HINT: it looks like the "do" on line 6 does not have a matching "end"

This PR picks up the suggested line from the hint in case of TokenMissingError.
PS: thanks a lot for maintaining ElixirLS :purple_heart:

I'm not a big fan of regex hacks but until there is no structured error api in elixir compiler we have no other option


Generate *_pb2.py files in custom folder

What should the feature do?
The *_pb2.py should be generated in a custom folder, chosen by the user (maybe via a command line argument). This way, instead of simply ignoring it, it could be created in a "build" folder and removed by a make clean on the full project which uses NanoPB.
In what situation would the feature be useful?
To be sure that make clean cleans everything and to get all generated files in the same folder.

Version 0.4.7 now reads environment variable NANOPB_PB2_TEMP_DIR. This can be set to a temp folder path, or to 1 to use system-wide temp folder. It is not yet enabled by default, but I might consider that in 0.5.0.


BUG: Validator is re-jailed after unjail and restarting pigeon. Multiple reports.

What is happening?

Section description
Provide as much context as you can. Provide relevant software versions, screenshots, copy & paste error messages and so on.
Give as much context as you can to make it easier for the developers to figure what is happening.

Pigeon fails with error that validator is jailed after unjail of validator and restart of paloma and pigeon:
Pigeon log files: https://gist.github.com/ERNcrypto/a840e8677496f7c4cf598f7677c102ea
pigeon configuration: https://gist.github.com/ERNcrypto/e8bdfb41873e027bc54982de120e8a54
Validator: palomavaloper1am3k7czusdcewv55nhaugu2drn38af9464n65p
Versions: pigeon v0.6.1 and palomad v0.7.0
How to reproduce?

Section description
Please write detailed steps of what you were doing for this bug to appear.

Unjail tx on palomad
Restart pigeon
Vadliator jailed after five minutes.

What is the expected behaviour?

Section description
If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.

Unjail tx on palomad
Restart pigeon
Validator pigeon recognized as active by paloma and network. Pigeon joins to reach consensus.

I have the same problem:

I have the same problem (Unjail, Restart pigeon, jailed again after five minutes).
Pigeon log files: https://gist.github.com/VitaValeriya/5cd24b9744dd3bf86ba2c60fb53d0a07
Pigeon configuration: https://gist.github.com/VitaValeriya/9a3d48077b6c2342e481749094658539
Validator: palomavaloper1espezfvhuagml6g0flw8jj6ajs2wud4ctwe5m0
Versions: pigeon v0.6.1 and palomad v0.7.0

Log of pigeon

Hey @D-Elektra and @VitaValeriya . Thanks for your reports. Could you please start pigeon with PIGEON_LOG_LEVEL=debug environment variable and paste the logs here?

Hey @D-Elektra and @VitaValeriya . Thanks for your reports. Could you please start pigeon with PIGEON_LOG_LEVEL=debug environment variable and paste the logs here?

pigeon start PIGEON_LOG_LEVEL=debug environment
chirp chirp
Enter keyring passphrase:
INFO[0002] starting relayer
INFO[0004] updating external chain infos
INFO[0004] sending account info to paloma                acc-address=0x0Ba5F0e6BDbc820EC58BC44f9c96A8A515Fb8Cfc chain-reference-id=eth-main chain-type=EVM
ERRO[0010] couldn't update external chain info           err="rpc error: code = InvalidArgument desc = account sequence mismatch, expected 1493, got 1492: incorrect account sequence: invalid request"
Error: rpc error: code = InvalidArgument desc = account sequence mismatch, expected 1493, got 1492: incorrect account sequence: invalid request

Hey @D-Elektra . You'd need to run it like this:
PIGEON_LOG_LEVEL=debug pigeon start

@Vizualni nothing different
PIGEON_LOG_LEVEL=debug pigeon start
chirp chirp
Enter keyring passphrase:
INFO[0007] starting relayer
INFO[0009] updating external chain infos
INFO[0009] sending account info to paloma                acc-address=0x0Ba5F0e6BDbc820EC58BC44f9c96A8A515Fb8Cfc chain-reference-id=eth-main chain-type=EVM
ERRO[0609] couldn't update external chain info           err="timed out after:<PHONE_NUMBER>00; timed out after waiting for tx to get included in the block"
Error: timed out after:<PHONE_NUMBER>00; timed out after waiting for tx to get included in the block

Hey @D-Elektra . You'd need to run it like this: PIGEON_LOG_LEVEL=debug pigeon start and not like this pigeon start PIGEON_LOG_LEVEL=debug environment

root@v609073:~# PIGEON_LOG_LEVEL=debug pigeon start
chirp chirp
panic: unable to locate keyring ENV variable
goroutine 1 [running]:
github.com/palomachain/pigeon/config.KeyringPassword(...)
/app/config/config.go:70
github.com/palomachain/pigeon/app.PalomaClient()
/app/app/app.go:124 +0x2fb
github.com/palomachain/pigeon/app.Relayer()
/app/app/app.go:56 +0x45
main.glob..func14(0x2381ac0, {0x14a2bc5?, 0x0?, 0x0?})
/app/cmd/pigeon/cmd_start.go:22 +0x8c
github.com/spf13/cobra.(*Command).execute(0x2381ac0, {0x2445330, 0x0, 0x0})
/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:856 +0x67c
github.com/spf13/cobra.(*Command).ExecuteC(0x2381840)
/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
main.main()
/app/cmd/pigeon/main.go:32 +0xbb

@VitaValeriya That's a keyring ENV variable problem. You'll need to make sure your ENV variables are set. Please check your variables.

@D-Elektra @VitaValeriya Please add gist of your pigeon logs after this change. Please set gas adjustment to 2.0 in your .pigeon/config.yaml and unjail and restart your pigeons   gas-adjustment: 2.0

@Vizualni after restart with pigeons gas-adjustment: 2.0 https://gist.github.com/ERNcrypto/1e0f4c4fc9791ab9cb9aea9278b126c0

I have the same behavior here.
Validator: palomavaloper1kludne80z0tcq9t7j9fqa630fechsjhxc324tt
Binary versions:

pigeon v0.6.1
palomad v0.7.0

Gas config:

gas-adjustment: 2
gas-prices: 0.01ugrain

Pigeon configuration: https://gist.github.com/vbloher/e93c263771139dab2f2bb2be05cead7c#file-pigeon_config-yaml
Pigeon logs: https://gist.github.com/vbloher/e93c263771139dab2f2bb2be05cead7c#file-pigeon_logs-log
In explorer I see that tx "Add External Chain Info For Validator" was successfully included in block - https://paloma.explorers.guru/transaction/C039519AA132B53AC17E77ECAD2EE1418EA413EDA194B3872C786064BADC94C9

@D-Elektra @VitaValeriya @vbloher will you please report your [tx index] value in your  .paloma/config/config.toml?

@D-Elektra @VitaValeriya @vbloher will you please report your [tx index] value in your .paloma/config/config.toml?

Exactly! I have tx_indexer="null"..
Set the parameter value to default - kv. Looks like everything goes well now

Closing as resolved. Paloma PIgeons misconfigured their settings in config.toml.


Allow selection of dataset(s)

Being the dataset(s) to which searches apply
Could be one or more --> list of dataset with checkboxes?
Make this a separate page where the user goes via a menu item Datasets > Select dataset. See #229
If user has access to only one dataset, perhaps the menu item should be hidden altogether?

@ocrasborn Done and live. Also made the menu items (#229).

I am not sure if this is the same thing, but I will explain how we have implemented this.
On the search page there is a box that lists all the datasets the user has access to. From that list the user can select none (meaning all are selected), one or many.
There really is no need for a page, unless you want to save your selection. Users will most likely have access to one dataset, so they don't need to select anything.

I just added the facility to assign the Dataset field in the Gloss Detail View.
It is checked if the selected Dataset is public or if the user has permission for this Dataset.

@susanodd This could be easily done in the django-admin. In my opinion having such choice on the gloss page is not very useful, as the value should never be changed.

Hmmmm. @vanlummelhuizen will have to answer that, he was the one who said to add the functionality.

@susanodd @henrinie I believe in NGT-signbank datasets will be used to make glosses available/editable to certain users/user groups. I can imagine there might be glosses that need to change dataset at some point (without necessarily changing sign language). @ocrasborn will know for sure.

I can't think of a use case right now, but yes, if they stay within a language that's a possibility we might one day want to explore.

I can imagine there might be glosses that need to change dataset at some point (without necessarily changing sign language).

This is an interesting idea I have never thought of before. I can't think of a situation in which a gloss would change dataset, could your provide some example so that I could understand this use case better?

If you have different data sets for the same language, it could simply be that you mis-place a new sign. But also from a more linguistic point of view, if you create subsets for a particular study, you might want to move new items your created for the smaller study to the more generic dataset for that language.

If you misplace a new gloss, you can easily change its dataset via django-admin (so no need to implement any features for this in my opinion).
If you want to use the same gloss in multiple datasets (like creating subset of glosses in one dataset), perhaps the key (ForeignKey) that links a Gloss to a Dataset should be changed to a ManyToManyField, so that one Gloss can have/be part of multiple Datasets?

@vanlummelhuizen : un-selecting NGT in the Dataset menu does not yet filter out NGT results in the search (or Show all signs from the Signs menu).

@ocrasborn, I've been working on this. Below please find some example screenshots.

Above, the Dataset NGT has been selected.
Below are the two queries, one for Glosses, the other for Glosses and Morphemes. (The query itself is a show all.) There are two screenshots so you can see that the Total of the Dataset page includes both glosses and morphemes.

Now here's the second example, now no datasets have been selected.

Below is the result of the query for Glosses (show all, for all datasets one is allowed to view.)

In this results screenshot, the text "Selected datasets:" (not yet in trans) probably ought to be something else, since nothing was actually selected. Maybe just "Datasets:".
Does the above dataset selection for the Gloss List View work the way you would like it to work?

Oh, a comment, it would seem the Django "guardian" is not working properly. I only have Access to View two datasets, but the (same code) seems to give different results in the Gloss List query since also the TestDatasetMicha, Norwegian Sign Language, and Shanghainese are also shown. We noticed this problem before, but it seems not to be working.

Okay, I fixed the bug about the guardian.
Here are the screenshots for the case when no datasets are selected. The Gloss List View (with show all glosses and morphemes) shows the datasets that the user has Access to.
The Select Dataset feature narrows the query list results to the Selected Datasets, otherwise it's all the Datasets the user can view.

This has been pushed to github, master branch.

@vanlummelhuizen and @susanodd , you seem to be working on this, so I'll assign the issue to you guys. In case it's already fully working, reassign to Onno so he can verify and close.

I'm happy; shall we close this, @vanlummelhuizen ?


SVG not displaying on Safari when app is published as web component

I'm using https://github.com/vuejs/vue-web-component-wrapper to build web component. When I serve app or build and open demo.html from dist svgs works fine on safari but when I inject this web component in another app (I tried with several angular apps) I see squares instead of svg files. When I remove vue-svg-loader and use external svg inside <img> tag everything is working. I don't know if this library is making this issue but without it everything works fine

I believe this issue is related to the use of const which isn't supported in strict mode.


i face some promble Dataset(2) in "text_datasets.py"

from datasets import Dataset as Dataset2

ImportError: cannot import name 'Dataset' from 'datasets' (unknown location)

Hi, I fix it by pip install datasets.


add ext-zip requirement

Hello,
I had ext-zip requirement in composer.json due to ZipArchive Usage.
When ext-zip isn't install, bin/gpm doesn't work.
Do you have a check config script, same as Symfony when installing for first time ?
bye

The Problems plugin runs the first page load and checks for other requirements, but not for Zip support, but it should do it.


Question: transactions query by address

Is there a way to query transactions by delegator's address? I see we have a signer info with a pub key now but i'm not sure if that's exactly what i'm looking for.

@ryuash you can query txs with the delegator_address as the structure of the tx is like this
"tx": {
        "@type": "/cosmos.tx.v1beta1.Tx",
        "body": {
          "messages": [
            {
              "@type": "/cosmos.staking.v1beta1.MsgUndelegate",
              "delegator_address": "desmos1fc3mdf0ue2f4suyg5vjj75jtaer0cl0dgqvy6u",
              "validator_address": "desmosvaloper1pr7q92pv395pe2tst24ejkthpfz4w5zsh0zpja",
              "amount": {
                "denom": "udaric",
                "amount": "250000000000"
              }
            }
          ],
          "memo": "",
          "timeout_height": "0",
          "extension_options": [],
          "non_critical_extension_options": []
        },
        "auth_info": {
          "signer_infos": [],
          "fee": {
            "amount": [],
            "gas_limit": "205261",
            "payer": "",
            "granter": ""
          }
        }

I think you will be able to query with jsonb like
{
 tx:{
    body:{
        messages:{
            "delegator_address":"desmos1fc3mdf0ue2f4suyg5vjj75jtaer0cl0dgqvy6u"
        }
    }
 }
}

@ryuash you can query txs with the delegator_address as the structure of the tx is like this
"tx": {
        "@type": "/cosmos.tx.v1beta1.Tx",
        "body": {
          "messages": [
            {
              "@type": "/cosmos.staking.v1beta1.MsgUndelegate",
              "delegator_address": "desmos1fc3mdf0ue2f4suyg5vjj75jtaer0cl0dgqvy6u",
              "validator_address": "desmosvaloper1pr7q92pv395pe2tst24ejkthpfz4w5zsh0zpja",
              "amount": {
                "denom": "udaric",
                "amount": "250000000000"
              }
            }
          ],
          "memo": "",
          "timeout_height": "0",
          "extension_options": [],
          "non_critical_extension_options": []
        },
        "auth_info": {
          "signer_infos": [],
          "fee": {
            "amount": [],
            "gas_limit": "205261",
            "payer": "",
            "granter": ""
          }
        }

I think you will be able to query with jsonb like
{
 tx:{
    body:{
        messages:{
            "delegator_address":"desmos1fc3mdf0ue2f4suyg5vjj75jtaer0cl0dgqvy6u"
        }
    }
 }
}

@ryuash If what Kwun's depicted doesn't work, we can try connecting each delegation/undelegation/etc to the proper transaction. This should be easily doable. Let me know if the above method works for your or it's too complicated

@ryuash If what Kwun's depicted doesn't work, we can try connecting each delegation/undelegation/etc to the proper transaction. This should be easily doable. Let me know if the above method works for your or it's too complicated

@kwunyeung Are we only displaying certain transaction messages in the individual pages? Not all message types have delegator_address. I had originally thought we wanted to display all transaction messages that were signed by the selected address. Please give me clarification on the activities component in validator_details and user_details.
@RiccardoM Since i had previously asked about filtering transaction messages by type I thought the current bdjuno isn't able to query/filter jsonb.
I updated the title. I was actually going to see how I can query all transactions initiated by the selected address (both validator and normal delegator addresses)

@kwunyeung Are we only displaying certain transaction messages in the individual pages? Not all message types have delegator_address. I had originally thought we wanted to display all transaction messages that were signed by the selected address. Please give me clarification on the activities component in validator_details and user_details.
@RiccardoM Since i had previously asked about filtering transaction messages by type I thought the current bdjuno isn't able to query/filter jsonb.
I updated the title. I was actually going to see how I can query all transactions initiated by the selected address (both validator and normal delegator addresses)

@ryuash I see. To query all transactions, you will have to query base on every message types. Different messages will have different fields in the transactions. Querying the auth_info is not enough as you can only get the transactions that are signed by the account but not all that related to the account. The address maybe in the to_address in a send or maybe it's in the withdraw_address.

@ryuash I see. To query all transactions, you will have to query base on every message types. Different messages will have different fields in the transactions. Querying the auth_info is not enough as you can only get the transactions that are signed by the account but not all that related to the account. The address maybe in the to_address in a send or maybe it's in the withdraw_address.

@kwunyeung @RiccardoM
Currently I have no way of querying messages at all.
In the Hasura docs example there is a table with a list of JSONB but in our data structure I get a transactions table with a messages key that's contains an array of JSONB. It seems i'm unable to query on that level

Our Schema:

Would it be logical/realistic to pull messages in to it's own table with a one-to-many relationship to transaction?

We may try creating a view for the messages.
https://github.com/hasura/graphql-engine/issues/2468#issuecomment-648160903

@ryuash I've added a message table. You can query it using
query Messages {
  message {
    index
    transaction {
      hash
    }
    type
    value
    involved_accounts_addresses
  }
}

Please let me know if this fixes the issue

@RiccardoM I'm unable to query involved_accounts_addresses
query:
query ValidatorActivities {
  message(where: {involved_accounts_addresses: {_in: ["desmosvaloper14dm0zdemeymhayucp7gchuus3k5m344f0p084p"]}}) {
    value
    type
    transaction_hash
    involved_accounts_addresses
    index
  }
}

results:
{
  "errors": [
    {
      "extensions": {
        "path": "$",
        "code": "constraint-error"
      },
      "message": "type \"_text[]\" does not exist"
    }
  ]
}

I found a related github issue https://github.com/hasura/graphql-engine/issues/2797

Hasura doesn't support array ATM.

@ryuash I've decided to solve this using Hasura custom functions. You can now query messages by a given address and which type is contained in a given array of types:
query MessageByAccount {
  messages_by_address(
    args:{
      addresses:"{desmosvaloper14dm0zdemeymhayucp7gchuus3k5m344f0p084p}",
      types:"{}",
      limit:1,
      offset: 0
    },
  ) {
    type
    involved_accounts_addresses
  }
}

Arguments

addresses
Array of addresses which should be searched for. The resulting messages will have the involved_accounts_addresses array containing any of these addresses. This is particularly useful for validators, where you can supply both desmos1.. and desmosvaloper1... addresses here. For accounts, you can simply pass only the desmos1... address.
Note that this is an array value, and thus it must provided as {value1, value2, ...}.
This argument is mandatory and cannot be skipped.
Providing an empty addresses will result in an empty result.

types
Array of types which should be searched for. The resulting messages will have the type that is any of the provided values. This is particularly useful when filtering for module, where you can supply for example "{cosmos.staking.v1beta1.MsgCreateValidator, cosmos.staking.v1beta1.MsgEditValidator}.
This is an array, thus its value must be provided as {value1, value2, ...}.
This argument is mandatory and cannot be skipped.
Providing an empty types ({}) will result in all types being valid.

limit
Limits the number of resulting rows.
This parameter is optional* with default value 100.

offset
Offsets the limit by the specified amount.
This parameter is optional* with default value 0.

Note
All the returned rows are sorted by height in a descending fashion.

Closing this as it had no more discussion to it

@RiccardoM Would it be possible to get the total number of transactions?  Need it for pagination purposes
total: transaction_aggregate {
    aggregate {
      count
    }
  }

I did a temporary work around until you have time to work on this (or if you can't then just close the issue)

closing as the work around seems pretty stable