Added CSP Syntax

As the user shared the information and syntax for CSP. So I have updated the content.
Problem: https://github.com/MicrosoftDocs/windows-itpro-docs/issues/1803

@ManikaDhiman - Can you please assist to check, approve and merge the content of this PR based on issue #1803?
Thank you.

Can you please qoute an example as the requested change is confusing

Suggested changes applied.


Display AppMap hierarchy

Closes https://github.com/getappmap/appmap-intellij-plugin/issues/421
AppMaps are now displayed in a hierarchy:

<module name>

<recorder type> (<language name> + <recorder name>)

<AppMap name>

The tree hierarchy is expanded by default
The indexed data of AppMaps had to be enhanced to provide the data needed to group AppMaps
Adds unit tests for empty AppMaps, AppMaps in one module and AppMaps in two modules of a project

I've been trying to get this to work locally by using the runIde command, but the extension isn't running the index --watch and scan --watch commands:

@jansorg this seems to be a problem on develop, so I think it might be an issue with my machine. I'll try to figure it out.


Feature Request Accept Another Link tag resource for localization

Attach (recommended) or Link to PDF file here:
Configuration:
Web browser and its version: Chrome 123.0.6312.105
Operating system and its version: Mac OSX Sonoma 14.3.1
PDF.js version: 4.0.379'
Is a browser extension: No
This is a feature request. in viewer.js, only 1 linkn tag is retrieved with this code.
static async #getPaths() {
    const {
      href
    } = document.querySelector(`link[type="application/l10n"]`);
    const paths = await (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_2__.fetchData)(href, "json");
    return {
      baseURL: href.replace(/[^/]*$/, "") || "./",
      paths
    };
  }

maybe something like this, if i add a second one so it does not get ignored.
const links = document.querySelectorAll('link[type="application/l10n"]');
const hrefs = Array.from(links).map(link => link.href);

i want to add my own translations independent of files of pdf.js. I did this with webL10n and it worked ok but currently, it does not with the fluent lib since only 1 link tag is processed.
Steps to reproduce the problem:

Add a second link tag resource for localization pointing to a different locale.json and folder as well as the language files.
In dev console, call PDFViewerApplication.l10n.get('key') to see if it gets loaded.

What is the expected behavior? (add screenshot)
If feature is added, other translation files will also be loaded.

This seems to be essentially covered by http://mozilla.github.io/pdf.js/getting_started/#introduction (emphasis mine):

The viewer is built on the display layer and is the UI for PDF viewer in Firefox and the other browser extensions within the project. It can be a good starting point for building your own viewer. However, we do ask if you plan to embed the viewer in your own site, that it not just be an unmodified version. Please re-skin it or build upon it.


Move building of wheels to Github action

Currently built manualy on CircleCI. To be able to support MacOS and Win, we ned to move to Azure Pipeline.

or to github actions? I could help there a little, I already had a working setup for linux & mac wheels for a https://github.com/valhalla/valhalla wrapper with cibuildwheel. I can share the config later if you're interested.

Cosidering that I haven't started on this task and you already have working builds with github action, I have no issues with switching.
Yes, please share the config.

the code is closed by now, below is the config. a few comments:
like I said, it was a cmake-based build, so likely your usage of cibuildwheel will change. I forked the manylinux image and pre-installed all dependencies so it's easier on CI (valhalla used to have big ones..). for windows I remember the below didn't work, somehow there were problems with vcpkg (it's longer ago and the logs are gone). maybe there are better ways these days to handle the windows build chain. although it's mostly header libs here in vroom, so I guess it's enough to get the sources from somewhere on the web. the few linked dependencies here are optional and I couldn't easily build glpk for windows so plan mode is harder on win too.

actions.yml

name: manylinux_2_24 & Windows 2019
on:
  push:
    branches:
      - "release_branch"
    tags:
      - "*"
    paths-ignore:
      - '**.md'
      - '.circleci/*'
      - '.azure-pipelines.yml'
      - 'run-route-scripts/*'
      - 'test/*'
      - 'test_requests/*'
      - '.vcpkg_deps.txt'
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-10.15, windows-2019]
env:
CIBW_ARCHS: x86_64
VCPKG_DIR: ${{ github.workspace }}\vcpkg
VCPKG_REF: 'f4bd6423'
steps:
  - name: Checkout
    uses: actions/checkout@v2
    with:
      submodules: recursive

  - name: Install Python
    uses: actions/setup-python@v2
    with:
      python-version: '3.x'

  - name: Install cibuildwheel
    run: python -m pip install cibuildwheel==2.0.0

  - name: Build Linux wheels
    if: matrix.os == 'ubuntu-20.04'
    run: |
      python -m cibuildwheel --output-dir wheelhouse
    env:
      CIBW_BUILD: cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64
      CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/gis-ops/manylinux:valhalla_py
      CIBW_TEST_COMMAND: cd {project}/test/bindings/python && python -m unittest test_utrecht.py -v
      CIBW_BEFORE_BUILD: 'python -m pip install --upgrade pip'

  - name: Build Mac wheels
    if: matrix.os == 'macos-10.15'
    run: |
      brew install ninja cmake protobuf cmake ccache libtool boost libspatialite pkg-config luajit curl wget czmq lz4 spatialite-tools unzip
      pip3 install requests
      git clone https://github.com/kevinkreiser/prime_server --recurse-submodules && cmake -B build . && cmake --build build && make -C build install
      python -m cibuildwheel --output-dir wheelhouse
    env:
      CIBW_BUILD:	cp37-macosx_x86_64 cp38-macosx_x86_64 cp39-macosx_x86_64
      CIBW_TEST_COMMAND: cd {project}/test/bindings/python && python -m unittest test_utrecht.py -v
      CIBW_BEFORE_BUILD: 'python -m pip install --upgrade pip'

  - name: Install vcpkg
    if: matrix.os == 'windows-2019'
    run: |
      git clone https://github.com/microsoft/vcpkg ${{ env.VCPKG_DIR }}
      git -C ${{ env.VCPKG_DIR }} checkout ${{ env.VCPKG_REF }}
      echo.set(VCPKG_BUILD_TYPE release)>> ${{ env.VCPKG_DIR }}\triplets\x64-windows.cmake
      call ${{ env.VCPKG_DIR }}\bootstrap-vcpkg.bat
      ${{ env.VCPKG_DIR }}\vcpkg.exe version
    shell: cmd

  - name: Install Win deps
    if: matrix.os == 'windows-2019'
    uses: lukka/run-vcpkg@v7
    with:
      setupOnly: false
      vcpkgDirectory: ${{ env.VCPKG_DIR }}
      appendedCacheKey: ${{ hashFiles('./.vcpkg_deps.txt') }}-${{ env.VCPKG_REF }}
      vcpkgTriplet: x64-windows
      vcpkgArguments: '@${{ github.workspace }}/.vcpkg_deps.txt'
      doNotUpdateVcpkg: true
      useShell: cmd

  - name: Build Windows wheels
    if: matrix.os == 'windows-2019'
    run: |
      dir ${{ env.VCPKG_DIR }}\scripts\buildsystems
      dir ${{ env.VCPKG_DIR }}\installed\x64-windows\include
      dir test\bindings\python
      python -m cibuildwheel --output-dir wheelhouse
    shell: cmd
    env:
      CIBW_BUILD: cp37-win_amd64 cp38-win_amd64 cp39-win_amd64
      CIBW_TEST_COMMAND: ''
      CIBW_ARCHS_WINDOWS: AMD64
      CMAKE_TOOLCHAIN_FILE: ${{ env.VCPKG_DIR }}\scripts\buildsystems\vcpkg.cmake
      LUA_INCLUDE_DIR: ${{ env.VCPKG_DIR }}\installed\x64-windows\include\luajit
      LUA_LIBRARIES: ${{ env.VCPKG_DIR }}\installed\x64-windows\lib\lua51.lib

  - name: Upload artifacts
    uses: actions/upload-artifact@v2
    with:
      path: ./wheelhouse/*.whl

upload_pypi:
needs: [build_wheels]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
with:
name: artifact
path: dist
  - uses<EMAIL_ADDRESS>    with:
      user: ${{ secrets.TWINE_USERNAME }}
      password: ${{ secrets.TWINE_PASSWORD }}
      repository_url: https://test.pypi.org/legacy/

while porting your flow to our valhalla bindings (thanks again, I could finally get rid of the cmake abomination;)), I stumbled across this one: https://github.com/pybind/python_example/tree/1f4f73582cbfc2a0690b3930680abeab39820c03/.github/workflows. pretty slim

This job is now complete.


Updated 'deploy.yml' for testing.

Added deploy.yml for environment deployment.

Updated environment variables to:
NAME             VALUE                                      UPDATED
APPS_DIR         /g/data/vk83/apps                          about 1 minute ago
ENVIRONMENT_DIR  /g/data/vk83/apps/conda/access-ram         less than a minute ago
MODULE_DIR       /g/data/vk83/modules/conda/access-ram      less than a minute ago
PACK_DIR         /scratch/tm70/tm70_ci/access-ram-condaenv  about 1 hour ago


chore(docs): improve documentation

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

GitHub release
v1.5.2

Your semantic-release bot :package::rocket:


Input matrix header / rownames

Supplying a raw matrix of numbers throws ERROR: Must supply headered matrix!
Does this mean inputs must have headers in the format of your example inputs (something like bin#|genome|chr:bp-bp)? Would be helpful to document either way (apologies my perl is too rusty to figure this out from the source).

Yes the matrix must have headers.
(will add additional documentation)
Header format is:
name|assembly|chr:start-end
e.g.
bin1|hg19|chr1:200000-240000
(header name must be unique)
This script only works on symmetrical, binned data (fixed size bin).

Great, thanks!


Engagement Metadata Management - API changes

Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-443
Description of changes:

Task: Remove "default_values" from metadata taxa.
Replace with "preset values", metadata entries that are not assigned to an engagement.
Task: Update authorization documentation in the API blueprint. Update
metadata management to rely on normal authorization check functions.
Task: Clean up metadata management code and tests.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

There were merge issues due to a divergent commit history so this PR will be closed. @NatSquared will be wrapping this work into another larger PR for later.


Documentation mentions non-existing constant 'kFIRMessagingRegistrationTokenRefreshNotification'

Documentation mentions: kFIRMessagingRegistrationTokenRefreshNotification, but I think it should be this one, which I found in the code: kFIRMessagingInstanceIDTokenRefreshNotification.

Nice catch, @EddyVerbruggen! This is my fault. The notification name wasn't correctly written in the code. I'll be adding kFIRMessagingRegistrationTokenRefreshNotification to the source to match the docs. You can use kFIRMessagingInstanceIDTokenRefreshNotification for now. When I add the correct name, I'll mark this one as deprecated, and nudge people to move over to this name.

Awesome, thanks @rsattar!

The change is in which has the correct constant. I'm going to close this issue for now, but FYI the change will be available in the next release of Messaging. Thanks again @EddyVerbruggen!


Logging and API Key Leakage Concerns in OpenAI Project Submission

Thank you very much for the author's contribution. This is a great project! However, I have some questions. In this submission, the address for OpenAI API has been changed, and it seems that withlogging is used for logging. The default deployment of the project may pose risks of API key leaking. Would it be more reasonable to use other methods for logging?
commit:
https://github.com/whoiskatrin/chart-gpt/commit/a86112d64c99db26a0f414db029e493bbf83bdff

I don't think it poses any risks of API key leaking. It's deployed on our private Vercel env, and all the secrets are hidden.


Accredible Volunteer badges

@SallyMcGrath  I have created a mock version of a code review badge
This has helped me highlight some things I am not sure of.

Will the growth from 1 -5 in the field (example code review) be a pathway?
Would we refer to the levels themselves on the badge? i.e include 1/2/3 etc
Regarding the branding of the volunteer badges, you mentioned the Experience badge would shade from white to black. Based on the mock-up I have done, where do you see this colour variation sitting?

In the framework I shared, I defined volunteer badges as pentagons. I've edited your badge to match the framework (which isn't fixed in stone or anything, but might make things clearer) I defined.
https://dashboard.accredible.com/issuer/dashboard/group/616062/information-and-appearance

Ah, I picked the one I chose as it had 5 sides, so was a pentagon.
This one you have selected is a hexagon?

Ah! Ok cool - understood.

In my mind I was thinking hexagons are the bestagons, so obviously I chose hexagons. But unaccountably I wrote pentagon throughout. But pentagons are undoubtedly evil!
https://www.youtube.com/watch?v=thOifuHs6eY


Update LiteCore, enable Collections support in Replicator and bugs fixes

Updated LiteCore to 92b21fd.

Enable collection support in replicator.

Implemented CBLReplicator_PendingDocumentIDs2 and CBLReplicator_IsDocumentPending2.

In both filter and conflict resolver, ensure to check the collection spec against the collections in the config. This is for avoid ing unexpected bugs.

Fixed missing collection info in ReplicatedDocument event after resolving conflicts.

Fixed property encryption bug that doesn’t use config’s documentPropertyEncryptor and _conf.documentPropertyDecryptor.

Do not allow to use outer level filters & conflict resolver if database is not set. NOTE: This is different from the other platforms as CBLReplicatorConfiguration is just a struct and cannot automatically links the outer level filters & conflict resolver config with the default collection’s ones in the CBLReplicatorConfiguration.collections.

Do not allow to use propertyEncryptor and propertyDecryptor if database is not set.

Replicator Tests with Collections are not included in this PR.

This is not a released version of LiteCore, so be aware that these builds cannot go to QE.

I has been waiting for the LiteCore build issues to get resolved but the code itself is ready to review.


Slash Commands

Your Rocket.Chat.Android version: latest
Need support for /commands

@geekgonecrazy Do you have a link for the docs on that?

This one might be kind of hard to dynamically do... The slashcommands are generally intercepters on client side, though not always.
https://github.com/RocketChat/Rocket.Chat/blob/develop/packages/rocketchat-slashcommand-asciiarts/shrug.js


Fix external sites opening in new tabs [#OSF-6426]

Purpose

External links from the profile page, OSF for meetings pages, or forward widgets open tabs in a new window, which could lead to some undesirable effects (see tickets for more detail)

Changes

Remove "_blank" target from link in forward widget on configured projects
Remove "_blank" target from log link for changed forward URL
Remove "_blank" target from link in external websites in the user profile
Remove "_blank" target from external conference website URL

Side effects

None anticipated

Ticket
https://openscience.atlassian.net/browse/OSF-6426

Manual testing indicated that putting rel="noreferrer" in the anchor tags instead of removing target="_blank" might be a better solution -- it effectively strips window.opener from the new tab without removing desired functionality. Given that we're not using window.opener anywhere, this shouldn't cause any issues.

I think @billyhunt  checked with @saradbowman, and I believe everyone was okay with losing that functionality in these instances. I'm good with the solution as implemented unless anyone objects.

Unless this solution is less secure, but I don't believe it is.

As I understood it, it also wasn't losing functionality so much as providing a clearer UI by not using a new tab. Happy to change it to whatever though.

Sara confirmed, desired behavior is implemented. Dropping this in RTM 🀄

@erinspace The article you cite is referring specifically to opening new browser windows (not tabs), which is 100% terrible.
As far as opening external links in new tabs, that's up for debate:

Point: http://uxmovement.com/navigation/why-external-links-should-open-in-new-tabs/
Counterpoint: http://www.aphoenix.ca/why-external-links-should-not-open-in-new-tabs-01/

I was actually surprised to find a Google Docs link that opened a new tab today:

I don't feel strongly either way, and I hate to be the one to open bikeshedding season. So unless Sara or Nici have objections, I think this is good to merge.

I am OK with anything - just someone tell me which do to.

Ah, just saw Matt's comment. OK, looks like this is good to merge


Add linux aarch64 wheel build support

Add linux aarch64 wheel build support.
Related to https://github.com/letmaik/rawpy/issues/159 @letmaik Could you please review this PR?

Thanks for this, seems to work fine, the only concern I have is CI runtime. Normally, a job takes not more than 5 min. Here, due to QEMU, the longest one took 3 hours (Python 3.6). The fastest 42 min (Python 3.9). The reason for the big differences is that older Python versions tend to not have aarch64 wheels for dependencies available, so need to be built from source.
I would say, because aarch64 is cutting edge and those users likely run the latest Python version I would be ok with only providing aarch64 wheels for Python >= 3.9. Let me know if that works for you, giving that you're an early adopter :)
If you're happy with that, just remove the older entries from the CI yaml. Also, it would be good if you could do a little test by manually installing the aarch64 wheel from the CI artifacts: https://github.com/letmaik/rawpy/actions/runs/1452826967 (see bottom).

For all python versions which is taking more time if we can increase the version of the dependencies for which Linux AArch64 wheels are available, will this be ok for you? else you could go with releasing wheel for python-version >= 3.9.

Also, it would be good if you could do a little test by manually installing the aarch64 wheel from the CI artifacts: https://github.com/letmaik/rawpy/actions/runs/1452826967 (see bottom).

I have manually tested the Linux aarch64 wheels and it is working fine.

For all python versions which is taking more time if we can increase the version of the dependencies for which Linux AArch64 wheels are available, will this be ok for you? else you could go with releasing wheel for python-version >= 3.9.

This affects numpy as build dependency, and matplotlib and scikit-image as test dependencies. For the test dependencies, the latest versions are already used, and there are just no aarch64 wheels for Python 3.6. Given that Python 3.6 is EOL very soon, I would not worry about that and remove it from the matrix (for aarch64). Regarding numpy, increasing the minimum version seems ok. Could you figure out what the minimum numpy version for 3.7 and 3.8 is that has aarch64 wheels and then use that?

@letmaik I have updated the code with minimum numpy version.


Playlist syncing with Android

Hi,
I have a feature request based on a common scenario:

Let's say I factory reset my Android phone, for whatever reason. All music files would be canceled.
My phone has limited storage, and y music library is larger than that so I'm used to select the music I'm more likely to listen to in those days
What I normally do, is select the album folders I want one by one, and copy them into my phone

So, my request is: why don't create a playlist in Museeks, so that it can be synced to my phone? A bit like iTunes handles iPhones.
Case scenario:

I create a playlist in Museeks
I plug my phone into my PC
I sync (manually, or automatically), that playlist to my phone, in a default folder or in a custom one.

Such a feature is already handled by "Lollypop music player", but it runs on Linux only. I would even economically contribute to such a feature, it would be a step forward to drop iTunes for me, as it became very resource heavy on my PC.
I'm curious to hear what you think about this :)

Thank you for the feature request, Museeks does not aim to have these kind of features soon (keep it minimal/functional).
I will close it for now.


Fixed additional lu pivot bugs

I was having some issues with .solve; the lu decomposition failed for some simple matrices that had obvious solutions (I added the smallest one to the lu test.) It turns out that there were still lingering bugs in the pivot selection code. It didn't take into account that the optimal pivot for a given column can be changed by previous steps in the decomposition, which in some cases meant that the selected pivot was zero while other candidates were non-zero. I fixed the problem by computing the pivot matrix at the same time as the lower and upper matrices.
It seems to work, but you might want to check it just to be sure - I had to change the entire decomposition method.

@mabruckner: just wanted to pop in and say thank you for taking the time for both finding the bug and providing a fix!
I'm not intimately familiar with the details of LU decomposition at the moment, so I cannot comment on whether or not the algorithm looks as it should, but the fact that it passes tests (and especially the latest one you've added) seems to suggest so! I just made a review comment on the use of recursion. As I stated there, I'm worried that the recursive implementation may overflow the stack for large matrices. Have you by any chance tried it with some relatively large matrices to see what happens?
Perhaps it could be rewritten in an iterative manner?

Done, it was pretty easy to modify the code to be iterative.

This looks neat! It also has the advantage of being more efficient. If all the tests are passing I'm not sure what more I can do to check the algorithm. Do you have a reference I could compare against? It would also be helpful to include this in the module docs if you have one.
I've only looked through briefly but will do a more thorough check soon and then hopefully merge!

Sorry, I wasn't really working from a reference, just experience with similar code.

No problem, this looks good to me. Later I'll check it over again quickly and hopefully merge it in.

Thanks for your work on this, will merge now!


MudTextField: Fix clickable area in multiline fields

Description
Close #9936
How Has This Been Tested?
Add a viewer test page named TextFieldAutoGrowTest
Type of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

before

after

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Great, doesn't seem to suffer from this problem: https://github.com/MudBlazor/MudBlazor/pull/9945#issuecomment-2409120207
Cc @versile2 thoughts?

This is almost identical to my first attempt I will find it and why I didn't go with it when I get home.

Refer to #9945 your changes work so long as there is no maxlines set. The instant a scrollbar shows up on a textarea it disables padding which is why the original creator used margin. What I would suggest is creating a new element using divcontenteditable and have a textarea invisible underneath. But that is far more involved and I'm not sure of the browser support.

Refer to #9945 your changes work so long as there are no maxlines set. The instant a scrollbar shows up on a textarea it disables padding which is why the original creator used margin. What I would suggest is creating a new element using divcontenteditable and have a textarea invisible underneath. But that is far more involved and I'm not sure of the browser support.
@charles7668 if you could confirm this with another gif showing the behavior and/or other suggestions on a fix.

I add mask image to solve MaxLines problem

nice fix, let's see if we can apply it more universally, still a few missed.

Updated

@danielchalmers

Sorry, I'm not going to be able to review this immediately because I'm not familiar with the mask-image solution or possible side effects. Do you have any references from other libraries that implement it this way? Thanks

Sorry, I'm not going to be able to review this immediately because I'm not familiar with the mask-image solution or possible side effects. Do you have any references from other libraries that implement it this way? Thanks

I'm not sure if any UI library uses mask-image to implement this feature.
According to the mask-image documentation, this property applies an alpha channel mask to an element
However, I can provide an example of a UI library that uses the onclick event to handle focus. Here's an implementation from Material-UI:

I think these two approaches can also solve this problem, but they have different intentions:

Using Click Event:

We need to handle the onclick event to focus the div and then trigger the real click event.
This approach keeps the textarea at its real height.

Using Image Mask and Padding:

The real size of the textarea will be affected.
However, the style will more closely resemble a textfield with an input, and there’s no need to manually handle the click event.

If choose the click solution, I will close this PR, and @versile2 could consider reopening #9945 again.

This is not my field of expertise but it looks good to me.

Apologies, still intend to review this just very busy

Thank you!


Sandbox-preload-extended Broken on latest Electron

Sandbox-preload-extended uses a preload script to attach functions to window. This no longer works in the latest Electron versions (at least >= 1.8) when you have either sandbox: true or contextIsolation: true in webPreferences, which is the case here.
I saw @kewde post here about it from a few weeks ago, so it seems like this is a known issue, but I didn't see anything about it in the issue tracker here.
Besides just pointing out that the example is broken, though, I was wondering if anyone knows how we are supposed to call Electron or Node APIs at all from a renderer process when either of these options (sandbox and contextIsolation) are turned on? If the preload script does not share the same window object as the page that's loaded, it seems like there is no way to do it...
What I am trying to achieve is an Electron app that 1) loads a remotely-hosted web app, and 2) is totally locked down security-wise except for a tiny hole punched between the renderer and the Node/Electron APIs where I can have my front-end call some native functionality.

After many days of research and fiddling with the IPC, I've concluded that the best way is to go the protocol route.
I will be deprecating this repository in favor of registerStreamProtocol. It allows you to set a custom protocol and communicate between the renderer & main.

@kewde I've created an issue in my repository linking to your page.


Don't use f-strings in log messages

See here, it is a security problem: https://bugs.python.org/issue46200

Also, I believe f-strings are evaluated whether the logging call is active or not. For example, if you have a line that says logger.debug('{}'.format(msg)) it will cause the string formatting to be done even if you're using the info level logging setting.


If the preferences window is minimized ('iconified'), selecting 'Preferences' does not show the window as expected

What's missing is a call to 'deiconify()' on the window before pulling it to the front.

@pwdirks create a PR for this and it can be merged in.

@pwdirks create a PR for this and it can be merged in.

Closed w. merge of latest change on branch pwd-243-limit-to-single-preferences-panel-at-runtime.

Closed w. merge of latest change on branch pwd-243-limit-to-single-preferences-panel-at-runtime.


Deno Support

Are there any plans for supporting Deno runtime?
It's already possible to import algoliasearch via esm.sh and skypack, however it seems that using XMLHttpRequest makes it impossible.
Thanks!

We have not had any requests in the past for Deno support, so have not yet looked into any quick wins. There's a couple options I see:

polyfill XHR<EMAIL_ADDRESS>pass a custom requester when creating the algoliasearch client, which uses fetch

I'd love to hear when you try these options out

Thank you for your quick response!
Maybe the second option is better but the first one worked!
import algoliasearch from<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
const client = algoliasearch(APP_ID, API_KEY);
const index = client.initIndex('manual_site');

index.saveObject(object);

@Haroenv maybe you could drop XMLHttpRequest and use fetch? XMLHttpRequest is pretty dated.
This is a problem on Cloudflare workers too.

You can use the fetch requester since a couple years, sorry for not closing this issue.
import algoliasearch from 'algoliasearch';
import { createFetchRequester } from '@algolia/requester-fetch';

const client = algoliasearch('', '', { requester: createFetchRequester() })

You can use the fetch requester since a couple years, sorry for not closing this issue.
import { createFetchRequester } from '@algolia/requester-fetch';

@Haroenv Thank you for the info. How do you import that in Deno?

The same way @alexphiev, what's not working?

In Deno, don't you need to add npm:@algolia/requester-fetch? @Haroenv

Yes, if you use a dependency you need to add that :)


Update README

Hello. Recently I integrated this library in a project of mine and noticed the DotLottieConfig did not exist, only the Config class, so I suppose it was renamed and not integrated in the README, so this fixes it if welcome.

Thanks @alexaldev for taking the time to point out the inconsistency and for updating the README! We appreciate your contribution and have merged your fix.


Add Code of Conduct file

Description
A Code of Conduct serves as a guideline for expected behaviour, ensuring that contributors and participants feel safe, respected, and valued within our community space.
Current Behavior
Currently, the repository lacks a Code of Conduct file, which is an essential component for fostering a healthy and inclusive open-source community.
Proposed Enhancement
I would like to add the code of conduct file.
Use Case
Please assign this issue to me under GSSOC 24
Blockers
No response
Additional Information/ Attachments
No response

I would like to work on this issue. Please assign it to me

HI @suhanipaliwal what is ETA and how do you want to proceed with this issue? I have some inputs, if you can make it quick I'll be happy to assign you

Hi @suhanipaliwal  Kindly find the code-of-conduct of the project Code-of-conduct.
And if you feel this issue is not following the code-of-conduct. Kindly close the issue.
Looking forward to have you as a contributor in the project :) We have a long way to go
p.s: Feel free to join our discord server: https://discord.gg/FEKasAdCrG and assign roles for yourself in the group, The likely-hood of contributing in the project will be really high :)

Hey @krishnaacharyaa We recommend that every repo has a code of conduct. If you don’t feel comfortable creating your own Code of Conduct from scratch we highly recommend using one of the templates provided by GitHub. If you do use a template, please read through the template and ensure that you can and will abide by the Code of Conduct.
Please follow these instructions on how to add a Code of Conduct.
Sample: https://github.com/Recode-Hive/Stackoverflow-Analysis/blob/main/CODE_OF_CONDUCT.md
Please assign this task to  me

Really sorry sir , I didn't mean to spam . I think, I just misunderstood the things as I am  just a new Contributor to GSSOC . Please assign me the issue , I would be more concerned next time .
Once again really sorry sir !!

@krishnaacharyaa  , I'd like to work on this issue under GSSOC. Could you please add the necessary label and tag to the issue and assign it to me? if @aasthakourav20  is not working on issue .

@officeneerajsaini interested in contributing in the github-actions part? Join the discord server we'll discuss.
And @aasthakourav20 how much time is it taking? You have file content you just have to add the file, do copy paste and raise the PR, hope it is a easy task

Really sorry , I was  facing some problems in pulling request, even after making changes , it's showing no changes .
But I would work upon it  , will resolve this surely

Hey @krishnaacharyaa , I did the necessary changes, please check out

First off I am not able to see the PR.
And who's code of conduct is this? I don't want this content, I have it here https://app.eraser.io/workspace/wQGMaE4BqFTVZ0tigke3 Just copy paste,
And kindly follow contributing guidelines, else your PR will not get merged.
Take your time read the guidelines see, how merged PRs have their commit message and raise a PR

Really sorry , I was  facing some problems in pulling request, even after making changes , it's showing no changes .
But I would work upon it  , will resolve this surely

You need any help ? I'm here

Thankyou so much guys for your cooperation.

Thankyou so much guys for your cooperation.

Ping me on discord . Search on discord group my username name is "officeneerajsaini" .

@krishnaacharyaa  please add gssoc or level tags  this issue.

@krishnaacharyaa please add gssoc or level tags this issue.

First let someone raise a valid PR, while valid PR is getting merged I'll add it even if it is missed here, shouldn't be much  of a problem


Check the return value of ASN1_STRING_length

ASN1_STRING_length gets the field 'length' of msg, which
can be manipulated through a crafted input.
Add a check to avoid error execution of OPENSSL_malloc().
CLA: trivial

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Yes - my approval stands for 1.1.1 too.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master and 1.1.1 branches. Thank you for the contribution.


shepherd: don't try to recover nodes which have OSInstallationReport set

The shepherd currently attempts to reboot nodes which have been installed successfully, i.e. have OSInstallationReport set.

Fixed in https://review.monogon.dev/c/monogon/+/1672


Monero Genesis marker tx

Seems maybe monero has an added genesis that monero-generator doesnt account for? Im just learning how to make this work. Extensions/core/monero.json maybe needs to be updated??? Anyone more involved in this project i can talk to, and help get this working?

Contact request sent feel free to reach out
On Mar 15, 2018 9:17 PM, "FengShuiCoin DEV"<EMAIL_ADDRESS>wrote:

Seems maybe monero has an added genesis that monero-generator doesnt
account for? Im just learning how to make this work.
Extensions/core/monero.json maybe needs to be updated??? Anyone more
involved in this project i can talk to, and help get this working?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/forknote/monero-generator/issues/7, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AMMA55YcEXyfiqDuaT7KCWANznxcLmCoks5texKwgaJpZM4StHL4
.

Telegram: Interchained
Discord: Interchained
On Mar 15, 2018 9:21 PM, "Mark Evans Jr."<EMAIL_ADDRESS>wrote:

Contact request sent feel free to reach out
On Mar 15, 2018 9:17 PM, "FengShuiCoin DEV"<EMAIL_ADDRESS>wrote:

Seems maybe monero has an added genesis that monero-generator doesnt
account for? Im just learning how to make this work.
Extensions/core/monero.json maybe needs to be updated??? Anyone more
involved in this project i can talk to, and help get this working?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/forknote/monero-generator/issues/7, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AMMA55YcEXyfiqDuaT7KCWANznxcLmCoks5texKwgaJpZM4StHL4
.

You have working monero-generator?

Discord link??

Yes
Search discord: interchained

Send invite link i cant find how to search server
On Mar 15, 2018 18:42, "Mark Allen Evans"<EMAIL_ADDRESS>wrote:

Yes
Search discord: interchained
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/forknote/monero-generator/issues/7#issuecomment-373576931,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ah8Oa8Z8vXFOR5IMpaEX7DZKw2Co9kttks5texh8gaJpZM4StHL4
.

  I don't have a group.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/forknote/monero-generator/issues/7#issuecomment-373578702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ah8Oa3lg549zwQnr667znMXCR6r2k6HMks5texsMgaJpZM4StHL4
.

Fixed: https://github.com/forknote/monero-generator/commit/ae7d4e2b065acdd8524c5bbf7613003425bf7b41
Pull request are more than welcomed, if some of you guys have fixes for other issues.

@pmitchev have discord? Has there been any successful cross overs with this yet?

Ive tried with defaults in configs and non has worked wownero seems to be closest

Guys be careful interchained not sure about this guy but he feels sketchy af. Full of false promises. Luckily for me i trust my own skills more than words of stranger. I might have quick fix monero-generator of my own. Just testing now.

I'm not helping you because you're aggressive and pushy
Good luck

Your entitled to your opinion but i feel like your some type of trickster.
Im not aggressive im defensive about my project. And i am a person who gets
things done right away. I dont play around.
Theres no point in you doing my project for me when i can do it my self.
Only i asked if you want to share your method. You never offered any proof
of what you said you can do. Then you delete and remove all contact. So
theres something very scamy about you. I dont trust you
Im open to help and share with others who are interested in this. For now i
will finish my test and confirm its working 100% first.
On Sat, Mar 17, 2018, 16:03 Mark Allen Evans<EMAIL_ADDRESS>wrote:

I'm not helping you because you're aggressive and pushy
Good luck
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/forknote/monero-generator/issues/7#issuecomment-373959349,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ah8Oa6j0iczn1YVQytoh6v9XO_9JvPzSks5tfZZHgaJpZM4StHL4
.

Please make pull requests if possible. For genesis tx hex you can use forknoted or http://forknote.net/create/#/ for now. Be aware the Emission speed factor is not the same thing in Monero, and Difficulty target must be 60*N

@pmitchev yea caught that error when building from src. If you build from src you will also have issue with blob block in cryptonote_format_utils.cpp. I also dont get the seed node or dns look up i guess can just change in net_node.h seed.monero.se to server ip <IP_ADDRESS>:8081.
Have you had successful cross over from cryptonote to monero code yet @pmitchev?


cost_buddy_budget Lambda throws error

Describe the bug
No data on Grafana UI probably because cost_buddy_budget throws error. Please refer screenshot attached for error details. I just modified the excel file with my account details and got this error. The thing to note here is, I tried with the default excel sheet also still got the same issues.
To Reproduce

Deploy the resources.
I can see the Grafana UI.
Step function works perfectly fine.
While invoking cost_buddy_budget it shows the attached Error.

Expected behaviour
Data should be populated in Grafana.
Screenshots

Desktop (please complete the following information):

OS: [ MacOS]
Browser [ chrome ]

It seems like column "202005" missing from your excel sheet, these month column names nomenclature is 'YYYYMM'.
Budget allocation is done on a monthly basis.
Allocate a budget for the current month for each account in the excel sheet.

Yeah I added that column too but still see the error. I think this is problematic
2020-05-28 12:28:56,909 - __AccountBudget__ ERROR Unable to read sheet name data_accounts and also 2020-05-28 12:28:57,069 - __AccountBudget__ ERROR Unable to read sheet name Billing_accounts


loading indicator

can i replace loading indicator by this lib https://github.com/Juanpe/SkeletonView ?!

I don't any experience on the SkeletonView. But if you can get the UIView object from it, you can make it conform to Kingfisher's Indicator.
Basically, you need to specify a view to add to and remove from the target image view. And also implement the startAnimatingView and stopAnimatingView to make it animatable if you need.
See more on this topic here.


Upstream error: ISO host sent data with no client connected!

I get the error Upstream error: ISO host sent data with no client connected! every time I try to send data (just using postman):
Send:
{
	"0":"1804",
	"3":"000000",
	"11":"000004",
	"12":"191213185350",
	"24":"831"
}

Response:
{
    "result": "",
    "errors": [
        "Gateway timeout"
    ]
}

2019-12-13 18:53:42 - : New HTTP socket
2019-12-13 18:53:42 - : Client http:::ffff:<IP_ADDRESS>:63623 connected
2019-12-13 18:53:42 - : Client http:::ffff:<IP_ADDRESS>:63623 sent data
2019-12-13 18:53:42 - :

http:::ffff:<IP_ADDRESS>:63623
================================================================================================

     [Echo Response]

     Message Type Indicator [0].......................1804
     Bitmap [1].......................................2030010000000000
     Processing Code [3]..............................000000
     System Trace Audit Number [11]...................000004
     Time, Local Transaction [12].....................191213185350
     Function Code [24]...............................0831

================================================================================================

2019-12-13 18:53:42 - : Writing to queue http:::ffff:<IP_ADDRESS>:63623 [0]
2019-12-13 18:53:42 - : New queue item 6
2019-12-13 18:53:42 - : Processing queue [pending 1 / total 1]
2019-12-13 18:53:42 - : Queue keys dump: 6
2019-12-13 18:53:42 - : Upstreaming data for http:::ffff:<IP_ADDRESS>:63623
2019-12-13 18:53:42 - : [.....0................SP.1]
2019-12-13 18:53:42 - : [00 18 18 04 20 30 01 00 00 00 00 00 00 00 00 00 00 04 19 12 13 18 53 50 08 31]
2019-12-13 18:53:42 - : Got data from ISO-host (24b)
2019-12-13 18:53:42 - : [.....0................SP]
2019-12-13 18:53:42 - : [00 16 18 14 20 30 00 00 00 00 00 00 00 00 00 00 00 04 19 12 13 18 53 50]
2019-12-13 18:53:42 - : Upstream error: ISO host sent data with no client connected! Ignoring...

ISO host says
================================================================================================

     [Echo Response]

     Message Type Indicator [0].......................1814
     Bitmap [1].......................................2030000000000000
     Processing Code [3]..............................000000
     System Trace Audit Number [11]...................000004
     Time, Local Transaction [12].....................191213185350

================================================================================================

2019-12-13 18:53:42 - : Processing queue [pending 0 / total 1]
2019-12-13 18:53:42 - : Queue keys dump: 6
2019-12-13 18:54:17 - : Queue notice: http:::ffff:<IP_ADDRESS>:63623 reached queue timeout
2019-12-13 18:54:17 - : Dropping the client http:::ffff:<IP_ADDRESS>:63623

Any idea?

By default each client is identified within the queue by it's Terminal ID (DE 41) and message STAN (DE 11, system trace audit number). There is no Terminal ID in your case, so either you need to provide it or use ther queueMessageKeyFields=11 (default is 11,41).

Will improve the debug information a bit later for this to be more clear.

Yes, it works ✅


Array comparison functions should use MethodHandle

Fix https://github.com/facebook/presto/issues/2444 and https://github.com/facebook/presto/issues/2530

@cberner any comments are appreciated

rebased

@cberner closed and rebased in https://github.com/facebook/presto/pull/2625


I compare ComputeLibrary with arch x86_64,how can i run test in pc?

I compare ComputeLibrary with arch x86_64,how can i run test in pc?
(base) chenxin@Nitro-AN515:~/Downloads/armnn-onnx/ComputeLibrary/build/tests$ ./benchmark_graph_mnist --example_args=--target=x86_64
Version = arm_compute_version=v20.05 Build options: {'extra_cxx_flags': '-fPIC', 'benchmark_tests': '0', 'validation_tests': '0', 'arch': 'x86_64'} Git hash=b'6a7771e460abeac7d401d6d38a0fcf0a0d2c3cbe'
CommandLine = ./benchmark_graph_mnist --example_args=--target=x86_64
CL_DEVICE_VERSION = OpenCL 1.2 CUDA
Iterations = 1
Running [0] 'Examples/benchmark_graph_mnist'
WARNING: Skipping invalid option '--target=x86_64'!
Threads : 1
Target : NEON
Data type : F32
Data layout : NHWC
Tuner enabled? : false
Cache enabled? : false
Tuner mode : Normal
Tuner file :
Fast math enabled? : false
ERROR: in generate_build_options src/core/CL/CLCompileContext.cpp:262: Non uniform workgroup size is not supported!!
Executed 1 test(s) (0 passed, 0 expected failures, 0 failed, 1 crashed, 0 disabled) in 0 second(s)
(base) chenxin@Nitro-AN515:~/Downloads/armnn-onnx/ComputeLibrary/build/tests$ ./benchmark_graph_mnist --example_args=--target=CL
Version = arm_compute_version=v20.05 Build options: {'extra_cxx_flags': '-fPIC', 'benchmark_tests': '0', 'validation_tests': '0', 'arch': 'x86_64'} Git hash=b'6a7771e460abeac7d401d6d38a0fcf0a0d2c3cbe'
CommandLine = ./benchmark_graph_mnist --example_args=--target=CL
CL_DEVICE_VERSION = OpenCL 1.2 CUDA
Iterations = 1
Running [0] 'Examples/benchmark_graph_mnist'
Threads : 1
Target : CL
Data type : F32
Data layout : NHWC
Tuner enabled? : false
Cache enabled? : true
Tuner mode : Normal
Tuner file :
Fast math enabled? : false
ERROR: in generate_build_options src/core/CL/CLCompileContext.cpp:262: Non uniform workgroup size is not supported!!
Executed 1 test(s) (0 passed, 0 expected failures, 0 failed, 1 crashed, 0 disabled) in 0 second(s)

Hi @mathpopo
If I understand your question correctly and based on your log, it looks like you want to compare two results from ACL's OpenCL benchmark executions on an Arm-based machine and on an x86_64 machine which I suppose supports OpenCL.
If my understanding is correct, the execution of OpenCL backend on x86_64 is not our supported use case even if it might be possible theoretically. In addition to that, it wouldn't give you much meaningful information since you'll lose all the Arm-specific optimization on an x86_64 machine which essentially makes the comparison is a bit unfair.
In the case of NEON, for your information, I don't think we can execute NEON backend on an x86_64 machine at all as the backend is completely written using NEON intrinsics which is not executable on the x86_64 machine.
I hope it helps.
Thanks.

@sanpar02   i just modify arch from arm to X86_64,Any other modification?

Hi @mathpopo
Sorry if I wasn't clear enough.
What I was trying to say was that executing Compute Library on x86_64 is not a supported use case.
I understand ArmNN's ExecuteNetwork binary supports the execution on x86_64 (although as far as I understand the implementations are not optimized for performance), Compute Library doesn't support the same use case.
Thanks.

@sanpar02  thank you for you help.i just use armnn (in x86_64 pc)
(base) chenxin@Nitro-AN515:~/Downloads/armnn-onnx/armnn/build$ ./ArmnnQuantizer --help
Convert a Fp32 ArmNN model to a quantized ArmNN model.
Options:
-h [ --help ]                   Display help messages
-f [ --infile ] arg             Input file containing float 32 ArmNN Input
Graph
-s [ --scheme ] arg (=QAsymmU8) Quantization scheme, "QAsymmU8" or "QAsymmS8"
or "QSymm16", default value QAsymmU8
-c [ --csvfile ] arg            CSV file containing paths for RAW input
tensors
-p [ --preserve-data-type ]     Preserve the input and output data types
-d [ --outdir ] arg             Directory that output file will be written to
-o [ --outfile ] arg            ArmNN output file name
(base) chenxin@Nitro-AN515:~/Downloads/armnn-onnx/armnn/build$ ./ArmnnQuantizer -f /home/chenxin/Downloads/models/vision/classification/mobilenet/model/mobilenetv2-7.armnn -c /home/chenxin/Downloads/models/vision/classification/mobilenet/model/mobilenetv2-7.csv -d /home/chenxin/Downloads/models/vision/classification/mobilenet/model/ -o /home/chenxin/Downloads/models/vision/classification/mobilenet/model/mobilenetv2-7-int8.armnn
(base) chenxin@Nitro-AN515:~/Downloads/armnn-onnx/armnn/build$ ./ArmnnConverter -f onnx-binary -m /home/chenxin/Downloads/models/vision/classification/mobilenet/model/mobilenetv2-7.onnx -i data -s 1 3 224 224 -o mobilenetv20_output_flatten0_reshape0 -p /home/chenxin/Downloads/models/vision/classification/mobilenet/model/mobilenetv2-7.armnn
so i doubt maybe computerlibrary can be used in x86_64( optimized for performance  is not important)
and ,  i donot have a device using opencl,so i select x86_64

Hi @mathpopo
Theoretically, if you have any Linux-based boards equipped with Arm's Mali GPUs should be fine.
We have some tutorials using Raspberry Pi and Hikey960 here, but again, any of the boards with Arm Mali GPUs should be fine.
I hope it helps.
Thanks.

@sanpar02
Raspberry Pi  can use opencl?need mail.so?

@sanpar02  Adreno(TM) 506  opencl  cost too much time ,because which need Adreno self optimization?
/benchmark_graph_mnist --example_args=--target=CL                             <
Version = arm_compute_version=v20.05 Build options: {'arch': 'arm64-v8a', 'neon': '1', 'opencl': '1', 'embed_kernels': '1', 'extra_cxx_flags': '-fPIC', 'benchmark_tests': '0', 'validation_tests': '0', 'os': 'android'} Git hash=b'6a7771e460abeac7d401d6d38a0fcf0a0d2c3cbe'
CommandLine = ./benchmark_graph_mnist --example_args=--target=CL
CL_DEVICE_VERSION = OpenCL 2.0 Adreno(TM) 506
Iterations = 1
Running [0] 'Examples/benchmark_graph_mnist'
Threads : 1
Target : CL
Data type : F32
Data layout : NHWC
Tuner enabled? : false
Cache enabled? : true
Tuner mode : Normal
Tuner file :
Fast math enabled? : false
Wall clock/Wall clock time:    AVG=4061.0000 us
Executed 1 test(s) (1 passed, 0 expected failures, 0 failed, 0 crashed, 0 disabled) in 7 second(s)
HWBKK-Q:/data/local/tmp $ ./benchmark_graph_mnist
Version = arm_compute_version=v20.05 Build options: {'arch': 'arm64-v8a', 'neon': '1', 'opencl': '1', 'embed_kernels': '1', 'extra_cxx_flags': '-fPIC', 'benchmark_tests': '0', 'validation_tests': '0', 'os': 'android'} Git hash=b'6a7771e460abeac7d401d6d38a0fcf0a0d2c3cbe'
CommandLine = ./benchmark_graph_mnist
CL_DEVICE_VERSION = OpenCL 2.0 Adreno(TM) 506
Iterations = 1
Running [0] 'Examples/benchmark_graph_mnist'
Threads : 1
Target : NEON
Data type : F32
Data layout : NHWC
Tuner enabled? : false
Cache enabled? : false
Tuner mode : Normal
Tuner file :
Fast math enabled? : false
Wall clock/Wall clock time:    AVG=1895.0000 us
Executed 1 test(s) (1 passed, 0 expected failures, 0 failed, 0 crashed, 0 disabled) in 0 second(s)

Hi @mathpopo
I will have to double-check but as far as I understand RPi doesn't support OpenCL officially.
Thanks.


Run Kubernetes command in "TERMINAL" window in VS Code

Directly show and run that command in “TERMINAL” window. For example, I have a Kubernetes cluster which have 2 pods. I select one pod and click “Get”, the command “kubectl get pod/xxx -o wide” will be executed in “TERMINAL” window. And I also could see the output after this command is executed. Such an experience is also adopted by docker extension, maven extension, Ansible extension and others in VS Code.

Migrate @itowlson's comments:

@itowlson: I feel we need a clearer design philosophy around how this is meant to work. When is a command meant to be run in a terminal? How many terminals do we create? If there are multiple terminals then how does the user tell which is which? We can use issue #43 to discuss possible approaches (and how other extensions do it) if that would help.

@kyliel @squillace  Any opinions about this?

When is a command meant to be run in a terminal?

For ui operations, if it is be done by one single kubectl command, then i'd like to run it in terminal.
The typical cases are create/get/delete/describe/logs/expose/exec/scale/cluster-info
Otherwise, hide the detail by using the normal kubectl.invoke.
The typical cases are run/sync/diff/debug

How many terminals do we create? If there are multiple terminals then how does the user tell which is which?

I'd like to share the terminal. Although vscode-docker extension always run command in a new terminal, but i feel like the shared terminal is more friendly because k8s extension provides more ui commands (> 20) than docker.

@itowlson, And it is better to get commands in command palette run in terminal tool. For example, if I select "Kubernetes Create", a command "kubectl create -f xxx.yaml" is shown on the terminal and executed on the terminal. Then I know what is happening.

@kyliel Yeah, I think we're all agreed that it's desirable, I just want to align on the design and behaviour so Jinbo doesn't get dragged back and forth through a series of reviews with one person saying "I think it should work like this" and then someone else saying "no, I think it should work like this."  My question is about refining the detail, not questioning the broad principle.

@itowlson, Sorry for confusion. So far Jinbo's work is to get commands in the explorer (the tree shown under "Kubernetes" tab in above picture) execute in TERMINAL. What I mentioned is we also should get same behavior for commands in command palette (click ctrl+shift+P, type "Kubernetes: xxx). Below is an example for "Kubernetes: Get" in command palette.

click ctrl+shift+P, type "Kubernetes: Get".

If any active windows, the output will be shown as "info" (not in the window of OUTPUT or TERMINAL).


Change the height of innerBottomWidget

How to increase the size of the bottom widget. When we set cellsize, all three widgets takes the same cell size. But I need more space on the bottom widget. How can I do this? Thanks

I would like to know this too.

This is a great Widget but I would also love to expand the InnerWidget to any size, not just an automatic double of the FrontWidget size...

Hope too

any update in this ?

Do you mind if I try to implement that issue?

Is anyone able to find solution to this?  @shubhamvishnu  @Attiv @uisuru @sciados @hunghuy201280


operator mondoo-operator (0.8.1)

Signed-off-by: Christian Zunker<EMAIL_ADDRESS>

/merge possible

/merge possible


Errror Happen when use Batch_Normal Layer?

when  i use batch_norm layer in network, it fail when the first epoch end. the error message list below.How can I fixed it?
code like below:
             data = mx.symbol.Convolution(data=data, kernel=self.kernel_size, num_filter=self.feature_count,                                          name=self.name, pad=self.pad)
 data = mx.symbol.BatchNorm(data=data,name=self.name+"batch_normal")
report errors:
checkpoint to "output/data_normal_deepyannet/data_normal_deepyannet-0001.params"
[10:44:59] /home/meter/Desktop/mxnet/dmlc-core/include/dmlc/logging.h:235: [10:44:59] src/operator/./cudnn_batch_norm-inl.h:138: Check failed: (cudnnBatchNormalizationForwardInference(s->dnn_handle, CUDNN_BATCHNORM_SPATIAL, &a, &b, io_desc_, x.dptr_, io_desc_, y.dptr_, mean_desc_, gamma.dptr_, beta.dptr_, moving_mean.dptr_, moving_inv_var.dptr_, param_.eps)) == (CUDNN_STATUS_SUCCESS)
[10:44:59] /home/meter/Desktop/mxnet/dmlc-core/include/dmlc/logging.h:235: [10:44:59] src/engine/./threaded_engine.h:306: [10:44:59] src/operator/./cudnn_batch_norm-inl.h:138: Check failed: (cudnnBatchNormalizationForwardInference(s->dnn_handle_, CUDNN_BATCHNORM_SPATIAL, &a, &b, io_desc_, x.dptr_, io_desc_, y.dptr_, mean_desc_, gamma.dptr_, beta.dptr_, moving_mean.dptr_, moving_inv_var.dptr_, param_.eps)) == (CUDNN_STATUS_SUCCESS)
An fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging.
terminate called after throwing an instance of 'dmlc::Error'
what():  [10:44:59] src/engine/./threaded_engine.h:306: [10:44:59] src/operator/./cudnn_batch_norm-inl.h:138: Check failed: (cudnnBatchNormalizationForwardInference(s->dnn_handle_, CUDNN_BATCHNORM_SPATIAL, &a, &b, io_desc_, x.dptr_, io_desc_, y.dptr_, mean_desc_, gamma.dptr_, beta.dptr_, moving_mean.dptr_, moving_inv_var.dptr_, param_.eps)) == (CUDNN_STATUS_SUCCESS)
An fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging._

When I set batch_size below 1024,everything is OK,but when the batch_size is bigger than 1024,this error happens.

Sounds like a cudnn issue. cudnn probably doesn't support batchsize > 1024. I suggest you ask on nvidia forum


Command line script execution takes aaaaaaaages

Hi Daniel, we have noticed that our build process was taking a really long time and the main culprit was a Tabular Editor script task. This script runs in around 1 second in the UI but takes over 5 minutes in command line
Nothing obvious using msbuild but when running the command below manually
start /b /wait 'C:\Users\bgerhardi\Source\Vega\VegaDW\build\TabularEditor.exe' C:\Users\bgerhardi\Source\Vega\VegaDW\src\VegaDW.Cube\database.json -SCRIPT "C:\Users\bgerhardi\Source\Vega\VegaDW\build\RecreateAllAutoDerivatives.cs" -BIM  C:\Users\bgerhardi\Source\Vega\VegaDW\output\Model.bim -OVERWRITE -VSTS
I get hundreds of
Dependency tree built in 214 ms
Dependency tree built in 212 ms
Dependency tree built in 207 ms
Dependency tree built in 278 ms
scrolling through. I guess it is the writing of these messages that is causing the long delay.
We are running v2.7.4 still but is there any way that we can stop these messages and have this run faster?

Thanks for reporting. I'll provide a fix for the latest version (2.8.5).
To work around the issue with any other version of Tabular Editor, surround your script with the following code:
dynamic handler = Model.GetType().GetFields(
    System.Reflection.BindingFlags.Instance |
    System.Reflection.BindingFlags.NonPublic
).FirstOrDefault(f => f.Name == "Handler").GetValue(Model);

handler.BeginUpdate("script");

// ...
// < YOUR SCRIPT HERE >
// ...

handler.EndUpdate();

Thanks Daniel, I'm getting the following error
##vso[task.logissue type=error;sourcepath=C:\Users\bgerhardi\Source\Vega\VegaDW\build\RecreateAllAutoDerivatives.cs;l
  inenumber=0;columnnumber=0;code=CS1701]Assuming assembly reference 'Microsoft.AnalysisServices.Tabular, Version=15.7.
  0.2, Culture=neutral, PublicKeyToken=89845dcd8080cc91' matches 'Microsoft.AnalysisServices.Tabular, Version=<IP_ADDRESS>,
   Culture=neutral, PublicKeyToken=89845dcd8080cc91', you may need to supply runtime policy
  ##vso[task.logissue type=error;sourcepath=C:\Users\bgerhardi\Source\Vega\VegaDW\build\RecreateAllAutoDerivatives.cs;l
  inenumber=0;columnnumber=0;code=CS0518]Predefined type 'Microsoft.CSharp.RuntimeBinder.Binder' is not defined or impo
  rted
  ##vso[task.logissue type=error;sourcepath=C:\Users\bgerhardi\Source\Vega\VegaDW\build\RecreateAllAutoDerivatives.cs;l
  inenumber=42;columnnumber=1;code=CS1969]One or more types required to compile a dynamic expression cannot be found. A
  re you missing a reference?
  ##vso[task.logissue type=error;sourcepath=C:\Users\bgerhardi\Source\Vega\VegaDW\build\RecreateAllAutoDerivatives.cs;l
  inenumber=322;columnnumber=1;code=CS1969]One or more types required to compile a dynamic expression cannot be found.
  Are you missing a reference?

Any ideas?

also that reminds me, if I try to run this in the UI I get this

It seems to give me this now any time I have any syntax errors in my script (instead of actually giving me the errors)
We install (unzip) TabularEditor to our build folder so all the libraries are in the same folder. You can see the versions:

any ideas on how to resolve this also? Perhaps we just need to upgrade.

The errors you are seeing indicate a mismatch between the version of the Microsoft.AnalysisServices DLL's available, and the ones used by the version of Tabular Editor that you're running.
To make sure that you have the correct versions, grab the .MSI file of 2.7.4, install it locally on your machine, and then copy the DLL's from the installation folder to your build folder. Alternatively, I think it should be possible to download older versions of Microsoft.AnalysisServices DLLs from NuGet: https://www.nuget.org/api/v2/package/Microsoft.AnalysisServices.retail.amd64/<IP_ADDRESS> - if you unzip the .nupkg file, it should contain the DLLs as well.

If you're still having issues with 2.8.5 using the latest version of the Microsoft.AnalysisServices DLLs, try to delete the TOMWrapper.dll / TOMWrapper14.dll file from your %AppData%\..\Local\TabularEditor folder and restart Tabular Editor.

Thanks for the suggestions Daniel, it helped me work out what was going on,
it turned out that another part of our build setup process was overwriting the dll's with a different version. I've isolated it now in its own folder to prevent this.

Fixed in 2.8.6.


feature request: implement @package and / or @library

It would be nice to be able to tag files part of the same software or library with a @package or @library item.

I'm curious how this would work? Do you have bash packages/libraries that consist of one file, or do you use a package manager like npm, bpkg, basher, or basalt and wish to label every single file with @package or @library?

@package may be tagging the source repository of the software/function/file, or something else. It is purely informative and help organizing code.


How to get log file and export output to pdf file?

I'm trying to create demo iOS app using Tesseract-OCR-iOS library. I want to get log file and write output to pdf file. After investigating, I set some parameter into config file as below:
debug_file                         tesseract.log
tessedit_create_pdf          T
But I can not find log file and *.pdf file. Where am I wrong?
Thanks and best regards.

I might be wrong, but an issue might occur due to the forbidden write permissions in the app root directory. Can you prove that tess doesn't try to create those files in the current folder? Can you also try any absolute full paths to any writable folders?

Exactly! I did try an absolute path to Documents folder, and a log file has appeared in it.

Thanks for your quick reply but can you get more detail? How to set absolute path? Like as below?
debug_file absolutepath

I put the following line to the config file:
debug_file /Users/yourUser/Documents/tesseract.log
Also I did try the code in simulator.
The log is not empty. But you should at least initialize a tesseract and perhaps recognize any image.
I guess that 'debug_file' is a init time variable. So it's possible to set it only from the config file, or config dictionary while call to init... Don't use 'setVariableValue:forKey' for that purpose. It won't work.

Thank you so much. I can get log file without problem. I have another question about generate output to pdf file. Currently, does library support to do this?

Yes, it is. But as I've already told the default output for pdf is the executable folder, which is write protected. You should try to change output dir, if it's possible with some config variables. If it's not, you might take a look on upstream tesseract sources. TessPDFRenderer could be a starting point for your investigations. If you succeed pls don't forget to submit a pull request, so we all are able to use this functionality.

Yes.. I got it. That's exactly what I thought. :).   Again, thank you for your support.

You're welcome. Feel free to ask any questions. We'll try to provide with so many support as we can.

Finally, I've written a code, which generates pdf NSData, which could be saved to Documents folder, for example. Inspite of tesseract generates an output, it's corrupted.
So I'm trying to understand what's wrong with my code.

I've succeeded with this and with PDF output. I'll upload it soon.

Pls, refer to #186.
The following things should be mentioned regarding the patch:

Leptonica has been built with libz, libpng, libjpeg and liftiff.
Building script has been changed for that.
https://github.com/ashtons/libtiff-ios repository is used to build dependent libraries. The whole repository should be downloaded into 'TesseractOCR/libtiff-ios-master' folder. And all 3 .sh scripts should be run before running the build_dependencies.sh script.
Podfile.lock has been updated to support CocoaPods 0.36.4

There are still few issues with PDF output:

For example, I couldn't produce PNG output for the original well_scaned_page.png file. The reason possibly is in the PDF renderer when given Truecolor PNG input files. So I've changed the format of the file from PNG to JPEG and it works fine. Refer tests for details.
Most recent Tesseract code related to PDF generation has been changed significantly. So it'll take some efforts to update to a new upstream tess code. Also, I've faced a few linker issues, while trying this. Perhaps, I'll need some help for this.


Ruby public methods missing after a class method call without arguments

Language: ruby
AerialInfo:
Aerial Info
-----------
Filetype: ruby
Configured backends:
  treesitter (supported) (attached)
  lsp (supported)
  markdown (not supported) [Filetype is not markdown]
  asciidoc (not supported) [Filetype is not asciidoc]
  man (not supported) [Filetype is not man]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct

The minimal amount of code that demonstrates the missing symbol:
class Test
  something # calling w/o args

  def self.myclass; end # this is visible
  def mypublic1; end # this is not visible
  def mypublic2; end # this is not visible
  private
  def myprivate; end # this is visible
end

class Test
  something 1 # calling with args

  ... # all works ok
end

Expected symbol: Function

P.S. This is query version fixed by ChatGPT 🙄 , sorry I'm not huge pro of TS syntax. It fixes the bug, and methods are shown now. New sections added are (body_statement....
Guess, please review if that makes sense.
(class
  name: [
    (constant)
    (scope_resolution)
  ] @name
  (#set! "kind" "Class")) @symbol

(call
  ((identifier) @scope
    (#any-of? @scope "private" "protected" "public"))?
  .
  (argument_list
    (method
      name: (_) @name
      (#set! "kind" "Method")) @symbol))

(body_statement
  [
    (_)
    ((identifier) @scope
      (#any-of? @scope "private" "protected" "public"))
  ]*
  .
  (method
    name: (_) @name
    (#set! "kind" "Method")) @symbol)

(singleton_method
  object: [
    (constant)
    (self)
    (identifier)
  ] @receiver
  ([
    "."
    "::"
  ] @separator)?
  name: [
    (operator)
    (identifier)
  ] @name
  (#set! "kind" "Method")) @symbol

(singleton_class
  value: (_) @name
  (#set! "kind" "Class")) @symbol

(module
  name: [
    (constant)
    (scope_resolution)
  ] @name
  (#set! "kind" "Module")) @symbol

; For Rspec, Rake, and Shoulda
(call
  method: (identifier) @method @name
  (#any-of? @method
    "describe" "it" "before" "after" ; Rspec
     "namespace" "task" "multitask" "file" ; Rake
     "setup" "teardown" "should" "should_not" "should_eventually" "context")
  ; Shoulda
  arguments: (argument_list
    [
      (string
        (string_content) @name)
      (simple_symbol) @name
      (pair
        key: [
          (string
            (string_content) @name)
          (hash_key_symbol) @name
        ])
      (call) @name
    ])?
  (#set! "kind" "Method")) @symbol @selection

; this is new section of the code that fixes the issue
(body_statement
  [
    (singleton_method)
    (method)
  ] @method_def)

(body_statement
  [
    ((identifier) @scope
      (#any-of? @scope "private" "protected" "public"))
    (method
      name: (_) @name
      (#set! "kind" "Method")) @symbol
  ] @public_scope)

(body_statement
  (singleton_method
    object: [
      (constant)
      (self)
      (identifier)
    ] @receiver
    ([
      "."
      "::"
    ] @separator)?
    name: [
      (operator)
      (identifier)
    ] @name
    (#set! "kind" "Method")) @symbol
  (#set! "scope" "public"))

PS2 it is possible to just save this new file to .config/nvim/queries/ruby/aerial.scm and TS picks it over the file provided with plugin. Works as a temporary solution, w/o need for a local repo clone.

Should be fixed now


checkpoint_file is not updated with metric values when using EvalResult

🐛 Bug
When using pl.EvalResult(checkpoint_on=some_metric_val), the filename specified in ModelCheckpoint is not updated with metric value passed with checkpoint_on.
Also how to add other values like global_step or something else with the new Result class to the checkpoint filepath?
Code sample
https://colab.research.google.com/drive/1Os9oSPK_rwwutcFdZTDsBaMc2IrqkSrP#scrollTo=3BJmPqHwX6WA
Expected behavior
Should update the metric value in checkpoint_file.
Environment
pl: master
env: colab

@edenlightning looks like setting both logger=False and prog_bar=False won't do anything. If this is intended, maybe we should add a warning or something.
Also saw another issue, if I don't log anything in validation_step then logged values in validation_epoch_end won't be logged too even if we set logger=True. Updated the notebook attatched above for the same to verify.

Edited the original bug with the current issue.

@edenlightning it's resolved in a recent PR. Forgot to close it. Will close now.


Receiving a None response

When doing
    reg_id = sample_reg_id
    response = gcm.plaintext_request(registration_id=reg_id, data=data)

The response variable comes as "None". Why so?

Found out that it's raising an MissingRegistration error.

@amportugal Which version of python-gcm are you using? (from where did you install it?)

@mnemonicflow I used version 0.2 and have  the same error, after I debug, request is missing header Content-Type: application/x-www-form-urlencoded;charset=UTF-8 ( https://developers.google.com/cloud-messaging/http )
Missing header is reason gcm request sometime success but sometime error. (With request error, I tested by manual request with the same content just add header Content-Type: application/x-www-form-urlencoded;charset=UTF-8)
Thanks.

@truyet That has been fixed in master branch https://github.com/geeknam/python-gcm/blob/master/gcm/gcm.py#L278 . But this problem might be related #84 which I investigated here: https://github.com/geeknam/python-gcm/issues/84#issuecomment-147240625
We plan to release 0.3 version, in the meantime try the master branch.

@nemonicflow Yes, I used code in master branch and see you fixed it, thank you. But I think you need review retries in gcm request  function (plaintext_request, json_request) because it is looped while gcm request is success.

0.3 is now live: https://pypi.python.org/pypi/python-gcm

@truyet I will have a look at it. But I haven't found that to be the case. I will try to test your assertion.

@truyet the problem with the loop inside plaintext_request has been fixed. See #98
Getting a None response from plaintext_request when success is a legitimate return value in case where there is no error and the token hasn't changed. (i.e. wasn't replaced by a canonical_id)
We need to provide a way to return the message id when success but still be backwards compatible with old clients that except None as the return value when success.


Broken link on (i) sign on marketplace.threefold.io

Description

Go to https://marketplace.threefold.io/marketplace/#/
Press on (i) sign (Go to How-To Manual) on any of the marketplace deployments (see attachment)

Broken link opens: https://now10.threefold.io/docs/dmcircles/. Now10.threefold.io is not functioning.  Should be https://now.threefold.io/

Version information

OS: Any
project commit/version: As of 26 Oct 2020 available on https://marketplace.threefold.io/marketplace/#/
Browser: Any

not an issue anymore

not an issue anymore


Crash on start

It crashes on Huawei U3 II (android 5.1). Music plays though. Sadly I can't provide logs.

Bummer! I wonder what the issue is.... Without any logs, I can't troubleshoot the problem. Thanks for letting me know, though.

Also, which version are you on? Is it version 1.0 (still on F-Droid) or version 1.2 (on Play Store)?
I have made some updates and improvements. Perhaps if you update to the newer version?
If you use F-Droid, you could also download from my github, under android folder in this repository is the version 1.2 apk to test.
Hope that helps!

Same thing on my f-droid 5.1.1/22, just plays a short sound and closes. It almost seems like it's closing itself becaus there's no OS's error messsage.

Would you be willing to download the apk from here?
https://github.com/alaskalinuxuser/app_critical_velocity/blob/master/android/criticalvelocity_1_2.apk
and try that? I wonder if it is an F-Droid problem, because the play store downloads have all worked thus far for my friends and family that do not use f-droid.

Nope, still doesn't work.
Am 14. Juni 2017 20:17:26 MESZ, schrieb AlaskaLinuxUser<EMAIL_ADDRESS>
Would you be willing to download the apk from here?
https://github.com/alaskalinuxuser/app_critical_velocity/blob/master/android/criticalvelocity_1_2.apk
and try that? I wonder if it is an F-Droid problem, because the play
store downloads have all worked thus far for my friends and family that
do not use f-droid.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/alaskalinuxuser/app_critical_velocity/issues/1#issuecomment-308515558

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9/p≡p gesendet.

Okay, good to know. Hmm....
What is your screen resolution?

480x854
Am 15. Juni 2017 05:57:06 MESZ, schrieb AlaskaLinuxUser<EMAIL_ADDRESS>
Okay, good to know. Hmm....
What is your screen resolution?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/alaskalinuxuser/app_critical_velocity/issues/1#issuecomment-308621829

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9/p≡p gesendet.

That should work. The game is set to stretch to fill the screen at 480x800. I'm sorry, this is my first time using libGDX in an app. I'm not sure why it doesn't work on your phones. I will look into it.

Okay, I may have found it. The way that I am loading the textures is taking 150 MB of ram to load on my phone. That may be a bit overkill..... I am going to implement etc1 compression to cut that down to (hopefully) around 50 MB instead.... I will let you know when it is done, and then you can try that.

Oops, never-mind, I was off by a digit. It is only using about 15 MB of ram. So that's not it.

Okay, try this:
https://github.com/alaskalinuxuser/app_critical_velocity/blob/master/android/criticalvelocity_1_3.apk
This was based on editing tags to ensure that your phone chooses to run in GL ES 2.0, rather than 1 or 3. That was an issue that others have had in the past. Maybe it will help?

It doesn't work. I've also tested it on another phone with higher screen resolution (1280x720) and it works. So it's likely a resolution issue.

Nope, still exactly the same thing.
Am 15. Juni 2017 20:30:53 MESZ, schrieb HenriDellal<EMAIL_ADDRESS>
It doesn't work. I've also tested it on another phone with higher
screen resolution (1280x720) and it works. So it's likely a resolution
issue.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/alaskalinuxuser/app_critical_velocity/issues/1#issuecomment-308829124

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9/p≡p gesendet.

Alright, thanks for bearing with me guys. Could you try this last one?
https://github.com/alaskalinuxuser/app_critical_velocity/blob/master/android/criticalvelocity_1_4.apk

Nothing changed. At least on my device.
Am 16. Juni 2017 15:27:10 MESZ, schrieb AlaskaLinuxUser<EMAIL_ADDRESS>
Alright, thanks for bearing with me guys. Could you try this last one?
https://github.com/alaskalinuxuser/app_critical_velocity/blob/master/android/criticalvelocity_1_4.apk
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/alaskalinuxuser/app_critical_velocity/issues/1#issuecomment-309025957

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9/p≡p gesendet.

Sorry guys, it looks like my game only works on larger screens.
I learned that I as the programmer need to specify in the manifest what screen sizes work. Sorry about the confusion, this is my first game with the libGDX engine. I would have to completely remake the game for smaller screens. I don't have time to do that, so I guess I just have to limit it to larger screens.
In the latest commit, I made the changes to support only larger screens.
https://github.com/alaskalinuxuser/app_critical_velocity/commit/ac20aa0b126b93a9d435a98f9b8ee818b41ff689

Okay! I found the problem with smaller screens! I ran this through the emulators attempting on screens that were 320x240 and 800x400, all of which crash. After reviewing the logs, I found the problem was actually in the commands for spacing and gaps between the upper and lower walls.
The issue is due to halving the screen overall size number minus the gap. Well, on small screens, the gap is bigger than the screen, so that makes a negative number. You cannot pull a random from a negative number. You can pull a random negative number, but not input a negative number as the random threshold.
So, check out commit: https://github.com/alaskalinuxuser/app_critical_velocity/commit/c89049d4d9fd1204c81fdce63c17f1de98bd3d5f
There are a few screen shots from the emulators, but you should now be able to play on a screen that is only 320x240. However, as the screen gets smaller, the space ship gets "bigger" and the game becomes very difficult on very small screens.

You can test this out with the 2.7 apk!

Cool! I'll wait for the Fdroid buikd though.
Am 25. Juli 2017 23:25:27 MESZ, schrieb AlaskaLinuxUser<EMAIL_ADDRESS>
You can test this out with the 2.7 apk!
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/alaskalinuxuser/app_critical_velocity/issues/1#issuecomment-317877253

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9/p≡p gesendet.

As you can see, it is not very practical on very small screens (320x240 or smaller).

Is it even technically possible?
Am 25. Juli 2017 23:52:31 MESZ, schrieb AlaskaLinuxUser<EMAIL_ADDRESS>

As you can see, it is not very practical on very small screens (320x240
or smaller).
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/alaskalinuxuser/app_critical_velocity/issues/1#issuecomment-317883794

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9/p≡p gesendet.

Well, now the game is set based on screen size, so the thrust, speed, spacing is adjusted as the screen gets smaller. The spacing gets closer, but doesn't move up or down much. I played for a while on the small, medium, and large screens. Small screen seems a bit ridiculous, because you can't see much, so I didn't think it was too fun on that small of a screen. Medium seemed fine, and large was the best.
Also, you should test out 2.8 for me, as fdroid has not advanced passed 1.0 for some reason.


DOC: small tweaks to 1.9.0 release notes

Argh, I found "source build times" a little awkward, but I just made it worse. Thanks for catching that Warren. Either "improving our build performance" or "reducing our build times" works. I'll push your proposed rephase.

oh sorry about that, I got confused as well.


Route to get AWS accounts properties with filters on the IDs.

What is the status on this one ? We agreed the “work in progress” tag meant the PR is not ready for review. Is this still the case ?


Automatic Namespace Injection in Bulk Data

TODO:

[x] Rewrite documentation to match
[x] Revise generate_dataset_mapping to match.
[x] Unit test
[x] Integration test
[ ] Test on real projects

[x] Volunteers for Salesforce

[x] Data load in namespaced org
[x] Data load in managed org
[x] Data extraction from managed org
[x] Mapping generation from managed org
[x] Data deletion in managed org
[x] Legacy data load in managed org
[x] Legacy data extraction in managed org
[x] Legacy data delete in managed org

[ ] CaseMan

[ ] Data load in NPSP org
[ ] Data load in non-NPSP org

Critical Changes

The load_dataset, extract_dataset, and delete_data tasks now support automatic namespace injection. When mapping files and options (for delete_data) are specified without namespaces, and the target org only contains the given schema with the project's namespace attached, CumulusCI automatically resolves the schema reference to the namespaced field or object. This makes it easier for projects to use a single mapping file for unmanaged orgs, namespaced scratch org, and managed orgs.
This behavior is on by default, and may be disabled with an option. This option is believed to be backwards-compatible. However, projects that subclass built-in data loading classes, or which use data loading tasks in very unusual ways, might be impacted.

Changes

The load_dataset and extract_dataset commands support a drop_missing_schema option. This option causes CumulusCI to silently ignore elements in a dataset or mapping that are not present in the target org. This option is useful when building datasets that support additional, optional managed packages, which may or may not be installed.
The generate_dataset_mapping task generates mappings in line with the latest revisions of load/extract functionality: fields are specified as a list; the table tag is omitted; and namespaces are stripped.

Issues Closed

Overall looks very nice. Looking forward to it!!!

@davidmreed should we adjust generate_dataset_mapping to strip the package namespace if present?

@davisagli I think so.
I'm trying to come up with a scenario where that would break something, but I think the key is that if the mapping starts with no namespaces and the logic implemented here is applied (which does nothing in case of ambiguity), it's safe in all three contexts save for one circumstance.
If the target org is managed and contains a field that is packaged and one not packaged with the same API name, a mapping needs to explicitly reference them both, and stripping the namespace would be wrong. But if that happens, the project is doing something profoundly strange in the first place (or, more likely, has broken unpackaged metadata), and it's a pretty easy situation to detect.

I'm building the new version of generate_dataset_mapping in a child branch to this one, to be pushed shortly.

Added revision of generate_dataset_mapping to this branch.

@davisagli Yes, I am. I will aim to do that today.

All hands-on tests passed successfully. @davisagli


Custom config file verification

This PR adds the validation on given file by:
1- first checking whether file exists or not
2- if the file extension is (.conf)
3- if the required 5 headers exists in the file content
This addresses issues #29 #28 #27 and #26.
Some refactoring can be done in new methods. Feel free for recommendations.

Hi, thanks for contribution.
Could you please share your own test results?
Also there is a check in:
def all_procedure(prepare, backup, partial, verbose, log, defaults_file):
     logger.setLevel(log)
     config = GeneralClass()

+    validate_file(defaults_file)

So if you have noticed GeneralClass() called above validate_file() function. I think it is better to create object after validation.

Merged.


Fixing failing test: test_complex.fn_imcos

Summary
This test was failing locally due to what looks to be a rounding error.  This fix changes the test to allow either value.
failures:

---- test::engineering::test_complex::fn_imcos stdout ----
thread 'test::engineering::test_complex::fn_imcos' panicked at base/src/test/engineering/test_complex.rs:82:5:
assertion `left == right` failed
  left: "-6.58066304055116+7.58155274274655i"
 right: "-6.58066304055116+7.58155274274654i"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    test::engineering::test_complex::fn_imcos

test result: FAILED. 450 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.15s

Yes, I saw this. This depends on the processor architecture.

See also: d2bab6608bdd940d51ce520bb2a04d1f23973d60

@nhatcher will take over this one.  Closing.


[SPARK-30821][K8S]Handle container failure in executor pods with multiple containers

What changes were proposed in this pull request?
Checking of all containers in the executor pod when reporting executor status.

Why are the changes needed?
A pod remains "running" as long as there is at least one running container. This prevents Spark from noticing when a container has failed in an executor pod with multiple containers. If either the executor process or one of its sidecars has failed, it needs to be rescheduled.

Does this PR introduce any user-facing change?
No

How was this patch tested?

(not tested yet, will edit later)

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Test build #119111 has started for PR 27568 at commit 5e0baf4.

Test build #119111 has finished for PR 27568 at commit 5e0baf4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119111/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/23854/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/23854/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23854/
Test PASSed.

How do I run the Kubernetes unit tests on their own? sbt projects doesn't list kubernetes (or yarn or mesos)

Test build #119578 has started for PR 27568 at commit b417a82.

Test build #119578 has finished for PR 27568 at commit b417a82.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119578/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/24308/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/24308/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24308/
Test PASSed.

Test build #119726 has started for PR 27568 at commit dd7d3b9.

Test build #119726 has finished for PR 27568 at commit dd7d3b9.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119726/
Test FAILed.

Test build #119727 has started for PR 27568 at commit 0b89736.

Test build #119727 has finished for PR 27568 at commit 0b89736.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119727/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/24453/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/24454/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/24453/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24453/
Test PASSed.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/24454/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24454/
Test FAILed.

Can one of the admins verify this patch?

I'd really like to see this PR merged in, do you have the cycles to work on it @khogeland or should we e-mail the dev@ list to see if someone wants to pick it up?

I'm no longer on the team that needed this, so I probably can't give it much time. @mgilham if y'all still need this maybe you could take over?

@khogeland Thank you for driving this. I will take over it.

@holdenk I will start to work on it. Please remove the Stale tag.

@gongx Great. Let me know if you want me to change the source branch on this PR.

@khogeland Are you able to re-open this ticket ?

You can also just go ahead and make a new PR and ping me on it :)

@holdenk Just a quick update on this. I'm in the same team as @gongx, and I'm currently working on this feature. However, since this is the first time for me I to work with Spark project (actually first time touch maven and scala), I'm still learning a lot on the maven setup and scala-lang. I will make the new PR as soon as I can, but I guess I might need a few more days for it. Thanks for the understanding!

Sure no rush, there is a lot going on in the world :)


adding policy for centralized alert management

Signed-off-by: Joydeep Banerjee<EMAIL_ADDRESS>Adding sample policies to configure centralized alert management. Attached are 3 policies with a README. Actually, as I have seen, this does not interfere even if ACM Observability is enabled. Please verify.

/retest-required

/test test-e2e

@ch-stark This was list of 3 policies which we were thinking of adding as examples..

/test test-e2e

/retest

/retest

/retest


Improved support for string enums

Another string enum PR.
fixes #2153
fixes #3057
Changes:

Fixed #2153. Typescript types are now generated for string enums.
String enums now support the skip_typescript and js_name options, just like C-style enums.
Bindings now generate a non-exported array for the string enum variants and reference the array when converting to and from WASM.
Improved error messages. This together with 1. fixes #3057.

Everything (except skip_typescript) is tested in crates/cli/tests/reference/enums.rs.
1. Typescript types
String enums now generate TS types. Example:
/// The name of a color.
#[wasm_bindgen]
#[derive(PartialEq, Debug)]
pub enum ColorName {
    Green = "green",
    Yellow = "yellow",
    Red = "red",
}

/**
 * The name of a color.
 */
export type ColorName = "green" | "yellow" | "red";

I used a union type of string literal to represent the fact that there is no exported object on the JS side.
A const enum also would have been possible. In fact, this would have been the better option in a way, because it would allow users to use string enums just like regular enums, e.g. ColorName.Green. However, const enums do not allow using string literals directly (e.g. const _: ColorName = "green" does not type check), and because const enums are not supported by some bundlers.
2. js_name and skip_typescript
My goal was to make string enums and C-style enums are similar as possible, so I added support for these 2 attributes while I was at it. (In general, the code handling the implementation of string enums and C-style enums is now quite similar. Maybe it could be more unified in the future, but maybe that goes too far.)
skip_typescript is important to support, since users might have worked around the lack of string enum types with typescript_custom_section before (e.g. I did that in my project). While most of these custom type defs can be removed now, some users may wish to keep their types, and this option allows them to do so.
js_name is here for consistency and because it's useful.
3. Bindings
Instead of creating an array with all string enum variants for each conversion, I changed the bindings to create one global array. So instead of ["a", "b", "c"][index] for each conversion, it now generates _StringEnum_values[index].
I used _{name}_values as the name of the constant, because I wanted to avoid name collisions. I wasn't sure what the best way of doing this is, so I just made up a naming scheme that I feel is unlikely to be used by WASM bindgen users.
4. Improved error messages
As pointed out in #3057, the error messages for mixed string-and-C-style enums were not ideal.
I fixed this by changing how string enums are detected. Now, when an enum contains one variant with a string discriminate, it's assumed to be a string enum. This makes it easier to give relevant error messages.
I also changed a few enum error messages that make it sound like only C-style enums are supported.

Just prefix it with __wbindgen and a namespace. E.g. __wbindgen_enum_*.

Thank you for the suggestion. I used your __wbindgen_enum_*.

After reading through the comments in #3057, I noticed that I didn't correctly generate the types for non-public string enums.
Aside from that, I also fixed the error messages mentioned in #3057 to resolve the issue.

Btw, seems like there's a race condition in raytrace_parallel. Here's the output:
running 2 tests
test raytrace_parallel ... FAILED
test wasm_audio_worklet ... ok

failures:

error: test failed, to rerun pass `-p example-tests --test shell`
---- raytrace_parallel stdout ----
thread 'raytrace_parallel' panicked at /home/runner/work/wasm-bindgen/wasm-bindgen/crates/example-tests/src/lib.rs:467:25:
called `Result::unwrap()` on an `Err` value: ()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    raytrace_parallel

Missing a changelog entry

Will add.

Its pretty weird, that C-style enums are exported in JS with a frozen object but string enums aren't at all.

The object is just how TypeScript does enums. Here's an example where you can see the JS output of tsc for a simple enum. The only difference to WASM bindgen is that TS doesn't freeze the object.

Not sure about the history here, but intuitively I would also not export C-style enums as well. Maybe something to consider for the next breaking change.

If you're suggesting to remove the exported frozen object for C-style, then please don't. That would make the bindings for C-style enums completely useless. I mean, try using the following function on the JS side:
#[wasm_bindgen]
pub fn foo(a: SomeEnum) {}

#[wasm_bindgen]
pub enum SomeEnum {
    A = 123,
    B = 624,
    C = 24891,
}

I don't want to write foo(624) in JS. I want to be able to write foo(SomeEnum.B) and that can only be achieved with an object for SomeEnum at runtime.
The only reason why string enums are useful without a frozen object is that JS/TS devs like using string literals instead of TS enums in certain places. Here's an example of this in NodeJS' crypto API. This can create pretty nice strongly-typed APIs like hash.digest("base64").
That all said, C-style enums and string enums are still handled inconsistent as you noted. C-style enums are proper TS enums, but string enums are type only. I think one way to resolve this would be to make both TS enums by default and support type-only string enums via an option (e.g. #[wasm_bindgen(type_only)]). This would also open up the path for mixed C-style and string enums. E.g.
#[wasm_bindgen]
pub enum Foo {
  A = 1,
  B = 3,
  C = "foo",
}

could become
// .d.ts
export enum Foo {
  A = 1,
  B = 3,
  C = "foo",
};

// .js
export const Foo = Object.freeze({
  A: 1, "1": "A",
  B: 3, "3": "B",
  C: "foo", "foo": "C",
});

On the ABI side, mix enums would still use u32, just like C-style enums and string enums.
Well, it's a breaking change for string enums, so whatever.

feel free to ignore it, I can just restart these jobs manually until they succeed

No worries. I can just push an empty commit to trigger a re-run.

Its pretty weird, that C-style enums are exported in JS with a frozen object but string enums aren't at all.

The object is just how TypeScript does enums. Here's an example where you can see the JS output of tsc for a simple enum. The only difference to WASM bindgen is that TS doesn't freeze the object.

Not sure about the history here, but intuitively I would also not export C-style enums as well. Maybe something to consider for the next breaking change.

If you're suggesting to remove the exported frozen object for C-style, then please don't.

Just to clarify: as a maintainer of wasm-bindgen I don't make judgement calls on JS/TS exports because I don't have any expertise in that area. Please bear with me while I come to very naive conclusions while learning about it.
In any case, I abstain from doing any changes in this area without some significant input from others who know what they are talking about!

The reason why I'm suggesting removing the JS export is because enums inherently do not possess a JS equivalent. Generating JS bindings from WebIDL also has no conversion, which is something I would rather follow then doing some custom conversion.

I don't want to write foo(624) in JS. I want to be able to write foo(SomeEnum.B) and that can only be achieved with an object for SomeEnum at runtime.

That's very understandable, but I think this should be explicitly opted into instead of doing our own custom conversion implicitly.

Please bear with me while I come to very naive conclusions while learning about it.

No worries. I just wanted to explain why the current state, despite being inconsistent, is useful.