update failed: MongoError: not okForStorage

Hi. When I add my html ng-repeat="order in customer.book.orders" get this error on browser console ' update failed: MongoError: not okForStorage' if I try to update something. Currently I solved this by adding a watch on 'customer.book.orders' and set a copy of values to scope with angular.copy. But it doesn't feel right. The dot notation should work but somehow it does not. push and slice also does not work properly in this situation. I have to write extra logic because I need update  and track the changes on this array.Do you know something about it ?

I think I know what's the reason and where is the problem..
Can you create a repo that reproduces this so I can run, check and fix this?

@catsoft any chances to get a reproduction?

@catsoft just tested it with the new version and it works fine.
Let me know if it doesn't work for you


[2.5.5] Update message isn't formatted correctly.

Describe the bug
The messagebox at the update message is using the GitHub format. And isn't displaying these formats correctly.
To Reproduce
Steps to reproduce the behavior:

Load up an older version of YAM that requires an update.
Look at the popup

Expected behavior
The description should be formatted correctly.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
App version: 2.5.5

Thanks, it seems that the markdown text of the release changelog is not parsing correctly. I will try to correct it as soon as possible.

Thanks, it seems that the markdown text of the release changelog is not parsing correctly. I will try to correct it as soon as possible.


bug: errors when using "ask cody to explain" an error

Version
1.2
Describe the bug
Using the "ask cody to explain" an error always gives this message:

Cannot read properties of undefined (reading 'match')

Expected behavior
An explanation of the error.
Additional context
No response

Same error here. Also "Ask Cody to fix" gives me "retrieved codebase context before initialization"

Thanks for reporting!
PR to fix: https://github.com/sourcegraph/cody/pull/3015
@cbjerg That error should be fixed in the latest release, if not please LMK and I'll take another look


Access this.props.toRoute from an extern sidemenu

Hello,
First thing, sorry if this question is a bit stupid, i'm really new to react.
I'm using this router inside a side-menu and i've some trouble to access the toRoute() props. after a post on stack-overflow (http://stackoverflow.com/questions/34156981/how-to-implement-routes-inside-side-menu-with-react-native) i was able to route with this.refs.router.refs.navigator.push (wow). but I've no back-button on router. I think i'm doing wrong and it should have a better way to do this. Any tips ?
More informations just here  :

So, on the screenshot, imagine i've this function inside my menu component :
  nextPage: function(page) {
    this.props.NextPageClick(page);
    this.context.menuActions.toggle();
    if (this.props.onPress) {
      this.props.onPress(e);
    }
  },

solved by using :
 this.refs.router.onForward(route, this.refs.router.refs.navigator);


Rviz2 crash when loading camera laser scan.

I  conver depth image  to laser scan by the  depthimage_to_laserscan package. Rviz2 crash when loading camera laser scan.
[INFO] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [rviz2]: OpenGl version: 3 (GLSL 1.3)
[INFO] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [rviz2]: Creating 1 swatches_
[ERROR] [rviz2]: Vertex Program:rviz/glsl120/indexed_8bit_image.vert Fragment Program:rviz/glsl120/indexed_8bit_image.frag GLSL link result : active samplers with a different type refer to the same texture image unit
terminate called after throwing an instance of 'std::runtime_error'
what():  cannot store a negative time point in rclcpp::Time
Aborted (core dumped)

Hi @MengNan-Li, I noticed the error had an error related to storing a negative value as a time. Can I ask for a sample image/camera_info pair that you attempted to send that causes this error?
I wasn't able to create the issue until I set the header.stamp.sec to -1:
depth_msg_.header.frame_id = "map";
depth_msg_.header.stamp.sec = -1;

[INFO] [1632349832.427020105] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1632349832.427109032] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[INFO] [1632349832.442226727] [rviz2]: Stereo is NOT SUPPORTED
terminate called after throwing an instance of 'std::runtime_error'
  what():  cannot store a negative time point in rclcpp::Time
Aborted (core dumped)

This shouldn't crash RViz so I'll be making a fix for the time-related error but I don't believe there's anything inherently wrong with depthimage_to_laserscan as it does not generate this negative number.

I'm closing this as could not reproduce and haven't had a response for some time. If this comes up again please re-open.


Version 2.2.0

fixed issue where isEnabled did not properly propagate indexes when headers/footers used
Added methods for checking if position is a header/footer.
added method for getting a position from a raw position thats reported by a listview or recyclerview.

@dylanrjames check this out when you got time.


docs: Button

:tada: This issue has been resolved in version 7.26.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


DropIn UI: Function.prototype.apply: Arguments list has wrong type

The Drop In UI hangs at the ajax loading stage on my page. Then it gives me the error in the console:
Function.prototype.apply: Arguments list has wrong type braintree-dropin-internal.min.js

Are you linking to <script src="https://js.braintreegateway.com/v2/braintree.js"></script>?

Yes. Here is a snipped from code. All of this is wrapped in form tag. I also tried moving the script section outside of the form tag (leaving only dropin on form tag) and I still have issues. Also on https site, though I'm using self-signed cert for now.

  <script src="https://js.braintreegateway.com/v2/braintree.js"></script>
  <script>
    braintree.setup("<?php echo $payment_nonce; ?>", "dropin", {
      container: "dropin",
      paypal: {
        singleUse: true,
        amount: 10.00,
        currency: 'USD'
      }
    });
    </script>

@dshaw002 We took a look at this and couldn't reproduce the issue, even when using a site with a self-signed cert. Could you tell us a few things?

What browser(s) you see this error in
The stack trace (if you could take a screenshot of the trace, that'd be perfect)
Any relevant merchant settings

Sorry for delay.

Chrome

3. I think merchant settings are fine.
I got the dropin UI to work on another page on the site. I used simplest settings. Also tried that on the this page and got the same error. I think it's something with page formatting. Let me know if this helps you out.

I figured out the issue. Working on a template file and it included prototype.js. It creates a conflict with the braintree script (or maybe it's just when prototype.js and jQuery together...). Thank you for your assistance in this issue!

@dshaw002 thats a good catch and thanks for finding that. We will do some digging of our own to see if there is a way to prevent this in the future.

It's definitely an issue with Prototype and jQuery. We still have prototype in an app for legacy reasons and run both just fine but we namespace to "jQ".
I tried namespacing it like the following but it won't work:
`
`

I was having the same problem but have resolved it by simply updating our old Prototype lib which was 1.6.1 to 1.7.3. Patch until we can fully convert all our old Prototype code.
In case someone runs into the same issue and simply removing Prototype isn't an option.


fix: update list of projects

A couple more hidden AWS workshops I stumbled across the other day, it's easier to link to learn to cloud than curate my own list of projects to share with people 😝 They're nice since they're quite strict and opinionated and also incorporate decent "business" like use-cases, so not just hello world, or todo apps 🙏 🚀

Hey @loujaybee thanks for adding the aws project links. I see you also included a gitpod.yml file in here. In order for us to include this, could you provide instructions on how people can use this. For example this is what another user provided us when they added a .devcontainer

Just noticed this is still open, will re-open again in future with docs, etc 🙏


Development test frontend workloads

Related Issues
https://github.com/threefoldtech/js-sdk/issues/1810

Codecov Report

Merging #1811 (aac5eac) into development (1104c02) will increase coverage by 0.12%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development    #1811      +/-   ##
===============================================
+ Coverage        32.35%   32.47%   +0.12%
===============================================
  Files              134      136       +2
  Lines            12855    13192     +337
===============================================
+ Hits              4159     4284     +125
- Misses            8696     8908     +212

Impacted Files
Coverage Δ

jumpscale/tools/notificationsqueue/__init__.py
33.33% <0.00%> (-66.67%)
:arrow_down:

jumpscale/packages/admin/services/stellar.py
37.03% <0.00%> (-51.43%)
:arrow_down:

jumpscale/tools/servicemanager/servicemanager.py
62.88% <0.00%> (-20.45%)
:arrow_down:

jumpscale/tools/notificationsqueue/queue.py
30.43% <0.00%> (-14.50%)
:arrow_down:

jumpscale/clients/stellar/__init__.py
29.82% <0.00%> (-7.02%)
:arrow_down:

...ckages/threebot_deployer/chats/restart_threebot.py
36.48% <0.00%> (-2.65%)
:arrow_down:

jumpscale/sals/nginx/nginx.py
85.06% <0.00%> (-2.15%)
:arrow_down:

jumpscale/packages/admin/actors/wallet.py
20.43% <0.00%> (-1.41%)
:arrow_down:

jumpscale/packages/admin/actors/admin.py
29.90% <0.00%> (-1.17%)
:arrow_down:

jumpscale/sals/zos/kubernetes.py
26.66% <0.00%> (-0.92%)
:arrow_down:

... and 24 more

Continue to review full report at Codecov.

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


Website improvements

Job VTB Documentation on 15bf3ef wanted to post the following:
View the site here
This comment will be updated on new commits.


"Uda", "Bădulești" are listed in the drop-down menu

Description:
When user writes "Uda" and "Bădulești" the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Uda"

Expected results
The location appears in the drop-down menu as "Sat Uda, ARGEȘ (Uda)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Bădulești"

Expected results
The location appears in the drop-down menu as "Sat Bădulești, ARGEȘ (Uda)"


Get-RscNasShare?

Hi,
Is there a cmdlet for NAS Shares in RSC? Get-RubrikNASShare doesn’t show any NAS share since the we migrated to RSC from CDM.
Cannot find NAS under the FileList in PowerShell Gallery | RubrikSecurityCloud
I need to change the script that we use in our monitoring system, SCOM.

Take a look at the New-RscQueryNas -Operation Share query to see if that gives you what you need.

Hi Chris,
I did not get the results I wanted
New-RscQueryNas -Operation Share
Op    Var                  Field

Share {[fid, [vardict]{}]} RubrikSecurityCloud.Types.NasShare
What I want to see is the list of shares and there status
This is how we monitor their status in SquardUp.
$nasshare=Get-RubrikNASShare
$nasshare | add-member -membertype Noteproperty "state" -Value ""
foreach ($nas in $nasshare){
$nas.state = if ($nas.status -eq "Connected")
{'Healthy'}
else
{'Critical'}
}
$nasshare | sort-object name
Med vänlig hälsning
Fari Sah
Fari Sah  |  IT-tekniker
Skogsstyrelsen  |  IT-enheten
55183 Jönköping
036-35 93 00 (växel)  |  036-35 94 31 (direkt)
<EMAIL_ADDRESS>|  skogsstyrelsen.sehttps://skogsstyrelsen.se/
Så behandlar vi personuppgifterhttps://skogsstyrelsen.se/gdpr
@.***
Från: Chris Lumnah @.>
Skickat: den 19 mars 2024 19:06
Till: rubrikinc/rubrik-powershell-sdk @.>
Kopia: Sah Fari IT-enheten @.>; Author @.>
Ämne: [EXTERNT] Re: [rubrikinc/rubrik-powershell-sdk] Get-RscNasShare? (Issue #54)
Take a look at the New-RscQueryNas -Operation Share query to see if that gives you what you need.
—
Reply to this email directly, view it on GitHubhttps://ddec1-0-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3A%2F%2Fgithub.com%2Frubrikinc%2Frubrik-powershell-sdk%2Fissues%2F54%23issuecomment-2007823045&umid=05d00176-4fa9-47dd-8172-68a48ad9e838&auth=89f4a07cc39245e508f65055e50ab28ead4ccc3d-804ab8285c0d620c4c2da73152874d25b15785fd, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARXZQJBYSKRZNICYIFYZ3ODYZB5ABAVCNFSM6AAAAABETVJGJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBXHAZDGMBUGU.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

The cmd I was providing was the high level cmd to allow you to dig deeper into what you may be after. For just a list of your NAS shares, look at the below.
$query = New-RscQueryNas -Operation Systems
$query.invoke().nodes

Get-RscNasShare will be release in version 1.1 , please re-open issue if you're still running into problems.


AttributeError: Has no attribute 'unit_dim'

In the environment LBF, it raise this error. I want to know the meaning of 'unit_dim'.

Hi, sorry for the very late response.
It seems your issue is unrelated to EPyMARL but instead an issue with the LBF environment. Please check the LBF environment repo where we have recently pushed an update which might resolve your issue. If your issue is not addressed already, please raise an issue in that repository. Thanks!


Add permalink for beta announcement

Previously, there was no permalink set for the beta announcement, which caused the beta announcement URL to be bonnyci.org/beta/README.md. Now, the beta announcement URL is bonnyci.org/beta, which fits our existing pattern.
Signed-off-by: Matt Langbehn<EMAIL_ADDRESS>

@SpamapS yeah, that falls on me. When I was adding these headers, lore was still a submodule and I didn't want to mess with the filepaths. The permalink jazz was a workaround for that.


No releaseId or tagName provided, skipping all uploads... But they are provided

Hey,
when executing the action with the intend to generate a release I get following log(only last line is intresting).
-> No releaseId or tagName provided, skipping all uploads...
I will also share my action, I provided both of them :/
  Finished `release` profile [optimized] target(s) in 5m 23s
        Warn Signing, by default, is only supported on Windows hosts, but you can specify a custom signing command in `bundler > windows > sign_command`, for now, skipping signing the installer...
    Bundling bastion_0.0.1_amd64.deb (/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/deb/bastion_0.0.1_amd64.deb)
    Bundling bastion-0.0.1-1.x86_64.rpm (/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/rpm/bastion-0.0.1-1.x86_64.rpm)
    Bundling bastion_0.0.1_amd64.AppImage (/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage)
    Bundling /home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage.tar.gz (/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage.tar.gz)
    Finished 3 bundles at:
        /home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/deb/bastion_0.0.1_amd64.deb
        /home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/rpm/bastion-0.0.1-1.x86_64.rpm
        /home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage
        /home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage.tar.gz (updater)
    Finished 1 updater signature at:
        /home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage.tar.gz.sig
Looking for artifacts in:
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/deb/BASTION_0.0.1_amd64.deb
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/rpm/BASTION-0.0.1-1.x86_64.rpm
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/BASTION_0.0.1_amd64.AppImage
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/BASTION_0.0.1_amd64.AppImage.sig
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/BASTION_0.0.1_amd64.AppImage.tar.gz
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/BASTION_0.0.1_amd64.AppImage.tar.gz.sig
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/deb/bastion_0.0.1_amd64.deb
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/rpm/bastion-0.0.1-1.x86_64.rpm
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage.sig
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage.tar.gz
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage.tar.gz.sig
Found artifacts:
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/deb/bastion_0.0.1_amd64.deb
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/rpm/bastion-0.0.1-1.x86_64.rpm
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage.tar.gz
/home/runner/work/bastion-app/bastion-app/src-tauri/target/release/bundle/appimage/bastion_0.0.1_amd64.AppImage.tar.gz.sig
No releaseId or tagName provided, skipping all uploads...

Action:
name: "publish"

on:
  push:
    branches:
      - production

# This is the example from the readme.
# On each push to the `release` branch it will create or update a GitHub release, build your app, and upload the artifacts to the release.

jobs:
  publish-tauri:
    permissions:
      contents: write
    strategy:
      fail-fast: false
      matrix:
        include:
          # - platform: "macos-latest" # for Arm based macs (M1 and above).
          #   args: "--target aarch64-apple-darwin"
          # - platform: "macos-latest" # for Intel based macs.
          #   args: "--target x86_64-apple-darwin"
          - platform: "ubuntu-22.04" # for Tauri v1 you could replace this with ubuntu-20.04. # ubuntu-22.04
            args: ""
          # - platform: "windows-latest"
          #   args: ""

    runs-on: ${{ matrix.platform }}
    steps:
      - uses: actions/checkout@v4

      - name: setup node
        uses: actions/setup-node@v4
        with:
          node-version: lts/*

      - name: install Rust stable
        uses: dtolnay/rust-toolchain@stable
        with:
          # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
          targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

      - name: install dependencies (ubuntu only)
        if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
        run: |
          sudo apt-get update
          sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
        # libwebkit2gtk-4.1-dev
        # webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
        # You can remove the one that doesn't apply to your app to speed up the workflow a bit.

      - name: install frontend dependencies
        run: npm install # change this to npm, pnpm or bun depending on which one you use.

      - uses: tauri-apps/tauri-action@v0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          TAURI_PRIVATE_KEY:  ${{ secrets.BASTION_KEY_PRIVATE }}
          TAURI_KEY_PASSWORD: ${{ secrets.BASTION_KEY_PASSWORD }}
          SIGN: "1"
          SIGN_KEY: ${{ secrets.BASTION_SIGNING_KEY_PRIVATE }}
          APPIMAGETOOL_SIGN_PASSPHRASE: ${{ secrets.APPIMAGETOOL_SIGN_PASSPHRASE }}
          releaseId: v__VERSION__
          tagName: bastion-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
          releaseName: "BASTION v__VERSION__"
          releaseBody: "See the assets to download this version and install."
          releaseDraft: true
          prerelease: false
          args: ${{ matrix.args }} --verbose
  notify-webserver:
    runs-on: ubuntu-latest
    needs: publish-tauri  # Run only after the Tauri build is successful
    steps:
      - name: Trigger web server update (example)
        run: |
          curl -X POST https://bastion-software.com/api/app/version/new_release \
            -H "Content-Type: application/json" \
            -d '{"version": "${{ steps.publish-tauri.outputs.release_tag }}"}'

Your workflow is broken, all the tauri-action args were merged with env (env vars), it should look more like this
      - uses: tauri-apps/tauri-action@v0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          TAURI_PRIVATE_KEY:  ${{ secrets.BASTION_KEY_PRIVATE }}
          TAURI_KEY_PASSWORD: ${{ secrets.BASTION_KEY_PASSWORD }}
          SIGN: "1"
          SIGN_KEY: ${{ secrets.BASTION_SIGNING_KEY_PRIVATE }}
          APPIMAGETOOL_SIGN_PASSPHRASE: ${{ secrets.APPIMAGETOOL_SIGN_PASSPHRASE }}
        with: # <- THIS LINE
          releaseId: v__VERSION__
          tagName: bastion-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
          releaseName: "BASTION v__VERSION__"
          releaseBody: "See the assets to download this version and install."
          releaseDraft: true
          prerelease: false
          args: ${{ matrix.args }} --verbose


CI / Kind enhancements

This PR contains a list of small bug fixes / enhancements done in our ginkgo and kind code base. Best if reviewed by commit basis.

/test


Switch Travis CI to Ubuntu Trusty, provides C++11 compiler

Also removes unsupported versions of Node as these were failing due to the use of standard for linting.
CI tests now take less than half the time to run.

Thank you.


fix: Fix broken unit test and update tracked browsers value

Fixes unit tests which weren't running due to a missing jest config
https://github.com/jsdom/jsdom/issues/2304
And updates the number of expected tracked browsers from 18 => 19 as per the api response from caniuse-lite

@dmfrancisco can we merge it, please?

@ssong Thanks again and sorry for the wait! I just published the new version.

@dmfrancisco no worries! Happy I could help :)


Mavenised project

I have made these changes for my benefit but am sending a PR incase you feel these changes would be advantageous for others. None of the code has been modified, just the project structure - however I would recommend that you test before accepting (I haven't had a chance to check yet, but will make any required fixes).
Advantages:

IDE independence (works in most major IDE without the need for any changes to the project)
Cross platform build system (same command to build whatever the system)
Simple build process mvn build and done
Dependency resolution done by client automatically
First step towards the maven ecosystem

Now tested with starter bot vs. starter bot, nothing written to err.txt.
out.txt:
setting up game
Starting game...
stopping...
winner: draw
Saving the game...
Done.

Is that correct? Can you not actually analyse or see the game output in terms of what the bots do? Only have the starter bot for now to test with and got the same with your repository and following your instructions, but somehow feel like there should be more? Like a list of the moves played by each player?

I'll have a look at your changes this week. The output is correct, but if you want to see what the bots do, modify the Process method in IOPlayer class.

Yes, I worked it out. What I might do is put some event hooks in then
anyone can use this like an API to make any front end that they like. I am
all about modularity - will probably separate the engine to a separate
module so it can be shared between the game specific engines.
Would you be interested in hosting a Maven repo for theaigames.com? I can
help with setting that up if you would like, otherwise i will set a repo
for my forks so that the dependencies can be automatically resolved between
machines over the internet.
On 7 Apr 2015 09:01, "JimVanEeden"<EMAIL_ADDRESS>wrote:

I'll have a look at your changes this week. The output is correct, but if
you want to see what the bots do, modify the Process method in IOPlayer
class.
—
Reply to this email directly or view it on GitHub
https://github.com/theaigames/warlight2-engine/pull/1#issuecomment-90442680
.


Move tensor->flow passes to Dialect/Flow/Conversion/TensorToFlow.

General cleanup and the tensor->flow conversions will be useful outside of iree/compiler/InputConversion/Common/, particularly for detensoring (https://github.com/google/iree/issues/1159).

Moved all patterns in iree/compiler/InputConversion/Common/ConvertUpstreamToIREE.cpp into iree/compiler/Dialect/Flow/Conversion/TensorToFlow/ConvertTensorToFlow.cpp and folded that pass into IREE::Flow::createConvertToFlowTensorOpsPass
Moved tensor->flow patterns and their tests from iree/compiler/Dialect/Flow/Transforms/ into the new Flow/Conversion/TensorToFlow directory. Changed them from OpRewritePatterns to OpConversionPatterns. linalg->flow passes remain in their original location
Updated pattern names, test case names, comments, etc. following the renaming in https://github.com/llvm/llvm-project/commit/060208b4c8b78b2456b8440d9597c9f584676bf4 / https://github.com/google/iree/commit/7f89eb64ee471895fe45493061c61b9cdca79194

(The commit history isn't well organized, LMK if you'd prefer for me to split this into a more cohesive set of commits for review and/or non-squash merge)


[WIP] Update SIWE Message Build

Description
This PR updates how the SIWE message is built. It adds a Session Key manager and a message builder (that uses the updated Recap library)
Type

[x] New feature (non-breaking change which adds functionality)

Diligence Checklist

[x] This change requires a documentation update
[ ] I have included unit tests
[ ] I have updated and/or included new integration tests
[ ] I have updated and/or included new end-to-end tests
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

This PR adds some good stuff like the notepad example and message building in SSX, but it's quite stale. We'll drop it for now, and revisit when technically relevant


Using my own data

I would like to train the network on my own data, but am not finding many hints on how I might do it. If I were to do this (if it's possible), for each data example, would I need to have for all of: point clouds+normals, normalized meshes, and rendered views like is mentioned for ShapeNet in the README? Or do I only need some of these? I would appreciate it if you could tell me what exactly I would need to train on my own data and if you have any tips.

Hi @acerio98,
If you want to train the autoencoder, you need 3D point clouds
If you want to train the single-view-reconstruction, you need 3D point clouds + renderings,
Let me know if you have further questions,
Thibault
PS : I'll release an upgraded version of the code in a few months and keep in mind to include the possibility to seamlessly train on your own data

Hm..I tried just putting my data in the ShapeNet folders but the dataset.py script seems to be checking for renderings even if I only want the autoencoder. To train on my own data for the autoencoder, do I have to add my own class to dataset.py? If so, I'm not really sure what parts I can copy from the ShapeNet class definition and what I would have to redefine for my own class definition. Do you have any suggestions?

If you want to train on your own data, it's probably easier to write your own dataloader.


Bug: NSec Notification

In 0.6.0 nsecs are falling under bitcoin address alerts.

closed by https://github.com/BrantaOps/branta-core/pull/75


Numbering automation broken in "Blog: Posts" exercise

Describe the issue
Numbering seems to be automated, but where steps should be identified with increasing numbers, the page only displays "1" repeatedly.
Reproduction Steps (If Applicable)
Steps to reproduce the behavior:
Open "Blog: Posts" and view
Expected behavior
Expectations is for numbers to increase, thereby creating numbered steps/problems
*Screenshots

*

Good catch. I think these used to be in order, so the markdown auto-incremented them. Then it broke when we added the example solutions.


Sorting on rows with customfunc.

I would like to know if sorting on predetermined arrays is possible.
How to pass a custom sorting function if I would like to sort a row in predetermined fashion.
Row has values like ["W1", "P2", "M1", "S5"] the customfunc should give ["M1", "P2","S5","W1" ]
All the sorting should be as per this array -->["EX", "M4", "M3", "M2", "M1", "P6", "P5", "P4", "P3", "P2", "P1", "S6", "S5", "S4", "S3", "S2", "S1", "U4", "U3", "U2", "U1", "T4", "T3", "T2", "T1", "W4", "W3", "W2", "W1"]
Something similar to this please?
sort: {
                    customfunc: function(a, b) {
                        if(a.trim() == 'Touch Screen Phones'){
                         return -1;
                        }
                        if(a < b) return -1;
                        if(a > b) return 1;
                        return 0;
                    }
                 }
                 }
             },
             }

This is my trial:
function () {

//create a new array for storage
	var newArray = [];
	var order = ["EX" , "M4", "M3", "M2", "M1"
                           , "P6", "P5", "P4", "P3", "P2", "P1"
                           , "S6", "S5", "S4", "S3", "S2", "S1"
                           , "U4", "U3", "U2", "U1"
                           , "T4", "T3", "T2", "T1"
                           , "W4", "W3", "W2", "W1"];

	for (var i = 0; i < order.length; i++) {
		loopbreak:
			for (var j = 0; j < array.length; j++) {
				if (array[j] === order[i]) {
              				newArray.push(array[j]);
					array.splice(j,1);
						break loopbreak;
								}
							}
						}
		return newArray;}

Many thanks.

I have sorted the data before loading and it solved my problem. Being able to do with function would be a great feature as it adds to dynamic nature of the tool.


Meetg/version testing

Description
Upgrade version in omnibus
Issues Resolved
Build is now successfully created and tested to all the listed environment
Checklist:

[ ] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

Closing this out since this repo is going EOL on the 31st


[Bug] [Module Name] sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: gpts_app

Search before asking

[X] I had searched in the issues and found no similar issues.

Operating system information
Linux
Python version information
3.10
DB-GPT version
main
Related scenes

[ ] Chat Data
[ ] Chat Excel
[ ] Chat DB
[ ] Chat Knowledge
[ ] Model Management
[ ] Dashboard
[ ] Plugins

Installation Information

[X] Installation From Source

[ ] Docker Installation

[ ] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
GPU Count:1 24G
Models information
LLM_MODEL=glm-4-9b-chat
What happened
本地部署报错：
Traceback (most recent call last):
File "/home/ec2-user/workdir/DB-GPT/dbgpt/serve/agent/db/gpts_app.py", line 1233, in init_native_apps
gpts_dao.remove_native_app(chat_excel_app.app_code)
File "/home/ec2-user/workdir/DB-GPT/dbgpt/serve/agent/db/gpts_app.py", line 834, in remove_native_app
app_qry.delete()
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 3161, in delete
result: CursorResult[Any] = self.session.execute(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2306, in execute
return self._execute_internal(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2191, in _execute_internal
result: Result[Any] = compile_state_cls.orm_execute_statement(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/orm/bulk_persistence.py", line 1946, in orm_execute_statement
return super().orm_execute_statement(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/orm/context.py", line 293, in orm_execute_statement
result = conn.execute(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1421, in execute
return meth(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 514, in _execute_on_connection
return connection._execute_clauseelement(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1643, in _execute_clauseelement
ret = self._execute_context(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1849, in _execute_context
return self._exec_single_context(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1989, in _exec_single_context
self._handle_dbapi_exception(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2356, in _handle_dbapi_exception
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1970, in _exec_single_context
self.dialect.do_execute(
File "/opt/conda/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: gpts_app
[SQL: DELETE FROM gpts_app WHERE gpts_app.team_mode = ? AND gpts_app.app_code = ?]
[parameters: ('native_app', 'chat_excel')]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
2024-11-28 08:47:07 ip-172-31-32-169.ec2.internal dbgpt.app.initialization.embedding_component[10507] INFO Register local LocalEmbeddingFactory
2024-11-28 08:47:07 ip-172-31-32-169.ec2.internal dbgpt.model.adapter.embeddings_loader[10507] INFO [EmbeddingsModelWorker] Parameters of device is None, use cuda
2024-11-28 08:47:07 ip-172-31-32-169.ec2.internal dbgpt.app.initialization.embedding_component[10507] INFO
What you expected to happen
success
How to reproduce
http://docs.dbgpt.cn/docs/quickstart/
按照文档顺序执行，sqlite3数据库
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

check your database schema with dbgpt.sql

Hi, i also met this problem. And my container could not start. I don't know how to solve this error.
I pull the image from dockerhub.

How did you deploy start dbgpt server? docker or source code?


Specifying Task RetryCount in WorkflowTask instead of TaskDef

Hi,
I think defining the retryCount on the WorkflowTask provides a more customizable way to fine tune tasks for a given workflow.  There may be some workflows that want to retry the task x number of times, whereas other workflows do not even want to retry the task at all.  By specifying the retryCount on the WorkflowTask instead of the TaskDef this can be achieved. Do you guys see any issues with this?

i think it should be on both. A WorkflowTasks' retryCount can override TaskDefs' retryCount.

Thanks for the feedback and the suggestions.
As @unikzforce mentioned,

A WorkflowTasks' retryCount can override TaskDefs' retryCount and if a WorkflowTask doesn't specify a retryCount , it could fallback to TaskDefs' retryCount

This gives the most configurable way to achieve this.
Please feel free to submit a PR and we will be happy to review and merge.


Troubleshooting CodeLensOopProvider Sample

Installed products

Visual Studio: Professional 2019 Version 16.6.1

Description
The CodeLensOopProviderVsix sample does not work as documented. When debugging it, I hit an exception from the dependent LibGit2Sharp library used by CodeLensOopProvider project.
Error: The type initializer for 'LibGit2Sharp.Core.NativeMethods' thew an exception.
Steps to recreate

Clone this repository.
Open CodeLensOopSample/src/CodeLensOopProviderVsix.sln
F5 - start debugging.
In the experimental instance: Open CodeLensOopSample/src/CodeLensOopProviderVsix.sln

Current behavior
MessageBox appears with stack trace.
Stack trace image (can't copy message box text):

Expected behavior
CodeLens has "Commit Details" link available.

Did you update the LibGit2Sharp packages in the project? That's when I've hit the same error. Downgrading to the original version fixed it.


Marker dragging does not work

I add marker like:
val marker = Marker(
            MarkerOptions(
                ...
                draggable = true
            )
        ).apply {
            isDraggable = true
        }
mapObjectManager.addObject(marker)

But it is not dragging.
Also TouchEventsObserver added on map envokes onTap() but never onDrag* callbacks.

Hi @Divasik
You are right. It was a bug we confirm it. The issue has been fixed in version 1.6.3 released a month ago.
We should close the topic earlier but lost out attention. Sorry about that.


Unable to update extensions: "Command 'Extensions: Update All Extensions' is not enabled in the current context."

VSCode Version: 1.7.1
OS Version: Windows 10 14393

I was unable to update any of my extensions after I updated to 1.7.1. Trying to execute "ext update" from the command palette I was prompted with "Command 'Extensions: Update All Extensions' is not enabled in the current context." And the command in contextual menu was grey and not clickable.
Googled the error message but there seems to be  no relevant mentions.
Steps to Reproduce:

Press F1 to bring up command palette and type "ext update" and choose " Update all extensions".
Click the "..." button on the extension tab and the command in the contextual menu is grey.

The extensions appear like they have updates to install? Can you show us a screenshot?

Sorry, it appears I was having network issues. There was an error prompt saying "connect ETIMEDOUT <IP_ADDRESS>:443" once I opened VS Code and did a extension search, and after I switched to another connection it went fine.


Migrate where/when we filter for the freshest XBRL data

Overview
This was done in conjunction with @jdangerx !
What problem does this address?
It came to our attention in #3857 that filter_for_freshest_data being inside of the XBRL io_manager was... a lot! It included a pretty slow step that was mostly a validation step.
What did you change?

move the filter_for_freshest_data processing out of the io_manager into transform.ferc1. this took the longest to figure out where/when in the process this should happen.... we ended up putting it in ferc1_transform_asset_factory because that is where the raw tables get concatenated when there is more than one input raw table. So that is the last place where we have individual raw tables.
move the __compare_dedupe_methodologies into a validation test
move the unit tests
also added a little defensive check in ferc1_transform_asset_factory to make sure all of the raw tables either have an instant or duration table... because we had a type in one of the input tables 😬

Implications??

after this any non-ferc1 raw xbrl table that gets extracted will no longer be filtered in this way. That actually seems like it is going to be a problem for the annual 714 table that @aesharpe  is processing in #3856.

Testing
How did you make sure this worked? How can a reviewer verify this?
# To-do list
- [x] Run all of the core_ferc1 assets!
- [ ] Run `make pytest-coverage` locally to ensure that the merge queue will accept your PR.
- [x] Review the PR yourself and call out any questions or issues you have
- [ ] Update the [release notes](https://catalystcoop-pudl.readthedocs.io/en/nightly/release_notes.html): reference the PR and related issues.

ah i re-added this to the merge queue w/o pushing my changes.... oopsies.


allow region to contain numbers

Chrome and some other software (SQL Server it seems) use es-419 for "Spanish as spoken in Latin America". node-accept-locale currently chokes on this.

Here's the official IANA subtag registry so I think "419" is legit.

@focusaurus I will take a look

@focusaurus After looking at your case with es-419–It seems like I made a mistake about language vs. locale naming. After some research language tags are not synonymous with just language.  The name locale was used widely before the usage of language tags for major i18n libraries. There is one major difference between language tags and locale identifiers and that is explained by w3c:

A major difference between language tags and locale identifiers is the meaning of the region code. In both language tags and locales, the region code indicates variation in language (as with regional dialects) or presentation and format (such as number or date formats). In a locale, the region code is also sometimes used to indicate the physical location, market, legal, or other governing policies for the user.

So I might make a withdraw of my deprecation of accept-language and deprecate accept-locale instead.
Sorry for any inconvenience made. I will make this change ASAP. I can ping you when I'm done.

@focusaurus I have deprecated accept-locale in favor of accept-language. It can now parse the language tag es-419. in case, you are still using l10ns, I would recommend using it with request-languge. It's middleware to figure out your Accept-Language header or stored cookie. It will also give you an endpoint to change the language cookie value if want.


Page Visibility API: visibilitychange on Windows screen lock/unlock

BUG=XWALK-5503
Some OSs (e.g. Windows and Linux) don't mark windows as hidden on screen
lock or when other opaque windows fully cover them.
Note that e.g. OSX and Android do this while Windows and Linux don't.
OnSoftVisibilityChanged enables that OS window state is kept as is (on
Linux and Windows) and that e.g. power saving PageVisibility API is still
properly triggered.
The first patch here targets Windows and screen lock.

@darktears could you please review? I'll post it to upstream review too.

@darktears  Updated the signatures to make them more common. Patch is still handling screen lock only. Could you please review this? Thanks.

@astojilj that's ok to land it here but do you think that Google would be interested to have the patch upstream. It sound legit to me that when I lock the screen the app get the event and can pause a game say.
@pozdnyakov any other feedback?

About upstream: initiated the CL discussion here:
https://codereview.chromium.org/1746013002
I'll submit the bug and handle the Linux case there too. It is a bug - don't see it's a problem to get people interested to get it upstream.

@pozdnyakov Thanks. Updated patch; 2 issues fixed, didn't act on some of the nits.

lgtm


Request for Access to Training Data

Hi @QuanEvans,
Thank you for sharing this project and providing the model. However, I encountered an issue while trying to access the training data in the link of README.md file. Could you please provide access to the training data or share a link where it can be downloaded?
Thank you in advance for your assistance.

Hi @gabrielbianchin
I've reuploaded the file. Could you please check the link again and let me know if you're able to access the training data now?
https://seq2fun.dcmb.med.umich.edu/InterLabelGO/InterLabelGO+.tar.xz
Thanks for your patience!

Hi @QuanEvans,
Thank you for reuploading the file. I was able to access the training data successfully.
I appreciate your quick assistance!


fix: resolve to module scope for top level statements

Fixes #280.
scopeManager.acquire(node) returns null in these cases.
The fix is to only return the global scope for the root Program node (consistent with other eslint parsers) and SvelteScriptElement (as I would expect it as it is for me also a root node)
Some notes:

There seems to always be a module scope as in the parseForESLint method the sourceType is always overwritten to "module"
Are there other scenarios where scopeManager.acquire returns null?

Hmm... Fixing this bug seems a bit difficult. I would like to close this PR and work on this fix.


[Question] Skype not showing Attachments

System Information (Required)

SDK Language: .NET/C#
SDK Version: 3.9.0

Hello!
When I'm sending an attachment (VideoCard, AnimationCard, AudioCard, etc), I have to add in the MediaUrl a Profile field, otherwise, Skype Android (and maybe ios) crashes. However, if I add this profile field (i either put "sd", or "hd") it makes the attachment not load.
If I do not add this profile field, it renders the attachment perfectly on Skype Desktop, but crashes android app.
Has anyone found a workaround?
Thanks a lot!

There are known issues with audio/video card not working on Skype mobile. We're investigating.

Thanks @nwhitmont !
I do not want to hurry, but is there any ETA?
Just wondering.

@xjose97x I don't have a specific ETA, but I do know the Skype mobile team is working on it.

Alright. Thank you Nils!

please continue the conversation here is needed

Is there a way to send files or documents as attachments from Bot to User in Skype.


NameError: uninitialized constant Libpayroll

Hi,
when I run irb -Ilib -rpayroll_calculator it is throwing error,
2.4.1 :001 > Libpayroll.calculate_sui_tax(9000, 0.34)
NameError: uninitialized constant Libpayroll
	from (irb):1
	from /Users/user/.rvm/rubies/ruby-2.4.1/bin/irb:11:in `<main>'

can u please give me solution ?

Hey, it solved  when I use
irb -Ilib -rlibpayroll  instead of irb -Ilib -rpayroll_calculator
Thanks for example with code


Add Who said it best

@pangyuehung I reviewed your app and it looks like your Learn more about actual socialism link doesn't work.
Thanks for your contribution. However, I don't think I will be including this app on the site. If you want to submit a separate PR for the README changes that will be fine.

link doesn't work

Fixed. No problem, thanks for the consideration


Create initial agenda for BI Developer Fundamentals training

Create initial agenda for BI Developer Fundamentals training

Done. Added to drive.


scalapb_proto_library doesn't support custom TypeMappers anymore?

Hi!
After switching on aspect-based protobuf compilation (#700) it seems like it's no longer possible to use custom TypeMapper from ScalaPB. At the first glance the reason is that bazel tries to generate scala code from proto_library (%name-fast rule) but there is no way to specify scala libraries for proto_library (at least I haven't found).
It feels like it used to work before because previously bazel was using scalapb_proto_library with its deps to generate final scala code, where you can specify additional custom classes.
I've also prepared small example which reproduces this issue.
Bazel version - 0.25.2
rules_scala - b2e12827240fc488bbe5ebbbbcbc7a4f12ca02f2

cc @ianoc-stripe who may have some ideas.
Would you be willing to make PR with a unit test that you would like to pass and we can see how we can get it to pass. My guess is that we will need to add the ability of adding extra dependencies to the scalapb toolchain since we can't customize the individual aspect generated targets in any way that I know of.

@sholokhov you can add the dependencies to the scalapb toolchain which lets you add more deps. It will get added to all of the scalapb targets in one swoop in the repo.
You can define
https://github.com/bazelbuild/rules_scala/blob/master/scala_proto/scala_proto_toolchain.bzl#L46
part of your toolchain to contain the reference to your scala libraries.

@ianoc thanks for helping, but now it fails with following error (during well-known proto files compilation):
sholokhov$ bazel build //scala-app:messages_scala_proto
INFO: Analyzed target //scala-app:messages_scala_proto (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /private/var/tmp/_bazel_sholokhov/557977177af35e2d2806c45eff908f1d/external/com_google_protobuf/BUILD:248:2: scala @com_google_protobuf//:descriptor_proto-fast failed (Exit 1) scalac failed: error executing command bazel-out/host/bin/external/io_bazel_rules_scala/src/java/io/bazel/rulesscala/scalac/scalac @bazel-out/darwin-fastbuild/bin/external/com_google_protobuf/descriptor_proto-fast_scalac_worker_input

Use --sandbox_debug to see verbose messages from the sandbox
error: error while loading Object, Missing dependency 'object scala in compiler mirror', required by /modules/java.base/java/lang/Object.class
error: scala.reflect.internal.MissingRequirementError: object scala in compiler mirror not found.
        at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:24)
        at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:25)
        at scala.reflect.internal.Mirrors$RootsBase.$anonfun$getModuleOrClass$4(Mirrors.scala:61)
        at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61)
        at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:73)
        at scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:179)
        at scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackage$lzycompute(Definitions.scala:196)
        at scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackage(Definitions.scala:196)
        at scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackageClass$lzycompute(Definitions.scala:197)
        at scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackageClass(Definitions.scala:197)
        at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1464)
        at scala.tools.nsc.Global$Run.<init>(Global.scala:1194)
        at scala.tools.nsc.Driver.doCompile(Driver.scala:46)
        at scala.tools.nsc.MainClass.doCompile(Main.scala:32)
        at scala.tools.nsc.Driver.process(Driver.scala:67)
        at io.bazel.rulesscala.scalac.ScalacProcessor.compileScalaSources(ScalacProcessor.java:219)
        at io.bazel.rulesscala.scalac.ScalacProcessor.processRequest(ScalacProcessor.java:69)
        at io.bazel.rulesscala.worker.GenericWorker.run(GenericWorker.java:114)
        at io.bazel.rulesscala.scalac.ScalaCInvoker.main(ScalaCInvoker.java:41)
two errors found
java.lang.RuntimeException: Build failed
        at io.bazel.rulesscala.scalac.ScalacProcessor.compileScalaSources(ScalacProcessor.java:244)
        at io.bazel.rulesscala.scalac.ScalacProcessor.processRequest(ScalacProcessor.java:69)
        at io.bazel.rulesscala.worker.GenericWorker.run(GenericWorker.java:114)
        at io.bazel.rulesscala.scalac.ScalaCInvoker.main(ScalaCInvoker.java:41)
Target //scala-app:messages_scala_proto failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.926s, Critical Path: 1.70s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

I've updated my repo with example, can you take a look please? Am I missing something?
P.S: Correct me if I'm wrong, but if this schema works it means that all those implicit deps are gonna be propagated in all scalapb_proto targets. But if I have service specific mappers, I don't want to include them in other services. So there is no workaround for it so far?

@sholokhov in the example, (sorry i should have been clearer on this) when you set the implicit compile deps you replace the existing ones.
https://github.com/ianoc/bazel-scalapb-example/commit/42c3eec1ada8abeb4c32bdfa84048cacff22509c
would show you making the example work. This obviously isn't great here since we are referencing something in private in the rules_scala for that default list (Internally we replace all of these deps pointed to targets fetched via bazel-deps, so we don't see this sort of challenge :/ ).
We could make that a more public reference of DEFAULT_COMPILE_DEPS or add another toolchain entry to append a set of the users deps too.
But to try understand what you generally do here/if this is a good fit. The case in that repo looks to be mapping types on a message object, is that your main use case or services?
Currently the aspect based model aligns pretty closely with the java proto rules aspects, the main deviation right now is that we have combined scala type generation with the grpc service generation. The java rules only use the aspect for the types but not the services. If there was a solid motivation that only applied to services it might make sense for us to split the two up too and not use the aspect for grpc.
Another alternative is that if we trust the user not to 'cross' paths with the aspect and thus possibly generate 2 different sets of code for the same proto we could bring back some of the proto -> src jar/library methods too.

Thanks for help, now it works for me despite that I don't really like to have a reference on private part of rules_scala. I think the idea with DEFAULT_COMPILE_DEPS is actually pretty good.

But to try understand what you generally do here/if this is a good fit. The case in that repo looks to be mapping types on a message object, is that your main use case or services?

We have a monorepo with all our services which are mostly gRPC based and services with type mappers are an exceptions. But the bad thing now is that we have one service that depends on mongo db driver and we use mapper to map some mongo entities:
message Example {
    string _id = 1 [(scalapb.field).type = "org.bson.types.ObjectId"];
}

So now the only way to make it work is actually include dependency on mongo db in proto toolchain which will affect all our services, even if they don't need mongo at all.
Another thing (the same problem actually) - if we have some service specific types (like Gender in example) - we also forced to include them in toolchain, so they're gonna be propagated to all our grpc/proto services, so it feels really messy :(

This is super interesting to see/hear. We don't use the type converters ourselves today either, so we haven't ran into this problem. Though it does sound thorny. I don't believe the java protobuf supports this at all so it doesn't come up there. Separating the grpc bindings from the scala generation itself doesn't sound like it would help here since this is all on the message types.
There are 3 shapes of solutions here i can think of off hand:

Have a more manual proto -> scala_library rule around like the old one.
The draw back here is you can have duplicate classes(which the old setup did a lot of) which may not be the same depending on configuration. and you wouldn't get nice aspect based transitive wins around the classpath too easily.
Add to the toolchain a Map[String, List[String]] where we try set the strings in the values here as dependencies when the Label we are evaluating matches the string key. (There isn't a Map[Label, List[Label]] attr type) .
Main downside here is that this has to be configured centrally in the toolchain, but you would keep all the aspect related wins too.

This is also blocking me in migrating our Scala codebase to Bazel. Is it impossible to add extra dependencies to targets that are aspect based @ianoc @ittaiz ?

@purkhusid Have you read the thread thoroughly?
@ianoc gave a way to add extra deps which isn't that good but works and suggested two more solutions which aren't implemented but might be given we understand the need and use-cases.
cc @simuons who is our (Wix) master of bazel+proto

@ittaiz The workaround posted earlier in the thread is no longer viable. The implicit_compile_deps option is no longer there.
It was removed in https://github.com/bazelbuild/rules_scala/pull/763.
Of the 2 solutions that @ianoc proposed i think 2. is better. Adding a bunch of dependencies to the toolchain will result in a lot of cache invalidation.
What I was wondering is if it´s possible to have our cake and eat it too i.e. if it´s possible to have the rule aspect based and also add extra deps on the target level. I´m not experienced enough with aspects to know the answer but it would be awesome if some aspect expert could chime in.

oh, in that case I'm fairly certain it's not an option.
#763 ? Are you sure? That PR wasn't merged.
Also I saw that @liucijus had an opinion here

@ittaiz Sorry, wrong link. Here is the right one https://github.com/bazelbuild/rules_scala/pull/801

right, that one I know.

@ittaiz Do you use the aspect based rules at wix or do you have something custom? If you have a custom rule, is it something that you could share?

We use the aspect based rules. @simuons can you share a bit more about what you're working on since I have a feeling it somewhat correlates to @purkhusid's needs

Hi @purkhusid, currently at wix we use aspects based rules. But right now we are moving to combination of aspects based rules for messages and custom rules for services.
We want to use aspects for messages because messages might include other messages from other protos and we want to traverse that deps tree and generate all code needed.
Services on the other hand do not refer other services from other protos. So we do not need deps traversal here. Also we have different flavours of grpc code so we use different generators. Basically that custom rule takes proto_library as inputs for protoc and scala_library as inputs for scalac. And it generates code to direct proto_library only (doesn't traverse deps).
We do not use scalapb options. And I'm not sure that separation of rules would help in your case (sine you need extra deps for messages/aspects). Theoretically you could use that "direct" rule for messages (and add needed dependencies) as well but should be careful to avoid duplicate code.
Looks like this separation of rules applies in java to. java_proto_library generates code for messages (and is aspects based) and for grpc there is a separate rule https://github.com/grpc/grpc-java/blob/master/java_grpc_library.bzl#L171
Just sharing what we have at wix as you asked.

@simuons Are you planning on adding this rule to rules_scala? Would it be something similar to what I'm trying to accomplish here: https://github.com/bazelbuild/rules_scala/pull/1114 ?
I'm also curious what you mean by "be careful to avoid duplicate code"?

@purkhusid

Would it be something similar to what I'm trying to accomplish here: #1114 ?

Yes it looks very similar. In addition I need ability to change generator and take more than one proto_library as inputs (for legacy reasons not really important).

Are you planning on adding this rule to rules_scala?

Probably yes, but not sure in which form. I would contribute it as a whole rule if I'll make it general enough or it might be a set of functions which would ease writing such rule (if the end rule would contain to many Wix specifics).  For example generate_code and compile_generated_code. You also saw a need to extract those.

I'm also curious what you mean by "be careful to avoid duplicate code"?

It's less of a problem in #1114 since you generating code and compiling it for single proto_library. It was a lot worse when we were generating code for all transitive protos. However it might happen with your proposal as well. Imagine you have proto file //proto/a and two packages which generate code for that proto //pkg1 and //pkg2. So both would generate code in their own context and you would end up with two jars with same content //pkg1/a.jar and //pkg2/a.jar. Aspect give this nice property where generation happens in context of //proto and both packages //pkg1 and //pkg2 would point to same jar. I hope I'm not confusing you.

Ah, that clears things up, If I understand you correctly then this would not be a problem if the rule would require all dependencies to be declared. E.g.
proto_library(
  name = "proto1"
  ...
)

proto_library(
  name = "proto2"
  deps = [":proto1"]
)

new_scala_proto_library(
  name = "scala_proto1"
  proto = ":proto1",
)

new_scala_proto_library(
  name = "scala_proto2"
  proto = ":proto2",
  deps = [""scala_proto1"]
)

I was trying to go that route with my rule in #1114 but I'm not experienced enought with bazel/rules_scala to figure out how I exclude the transitive dependencies in the compilation.
I think this is the route that rules_go went with but there you do have gazelle to help you with the build file generation.

Any progress on this?  I ran into several of these problems recently as well.  I'm also dealing with a large monorepo, so just "add a new common dependency that applies to all scala_proto_library targets is a terrible approach (and probably a nonstarter, sadly).  Further, even if I DID this approach, i think it cannot apply to TypeMappers that map Message types (since to compile the TypeMapper implicit you need access to the generated code for the Message you're mapping, but to produce that you now need to be able to compile the TypeMapper (which was added as a toolchain dep for scalapb).  Ouch!


error on long startup time

i have a lot of node_modules (was 400MB) in my dev dependencies, that flow uncanningly parses on startup. i manually ignored a lot of them by hand in my .flowconfig and got down to 30 secs, but if status waits for the server to start, it outputs "flow server still initializing. If it was just started this can take some time. Retrying..." to stderr and gulp-flowtype fails.
ironically one of the biggest dirs is gulp-flowtype with 56MB...

forcing "check" by using weak: true or such currently is a work around. too bad, that "node_modules" can't be ignored because of the "internal error: [...] can't find node_modules/react/package.json" error and --all will even scan through all files in there instead of the given input file to check. :/
gulp and the server process of flow seem not to be huge friends. that we build in a docker container (and thus kill the server every time) doesn't help either.

Hi,
Thanks for the info. I'll look into this asap.
The 56MB for gulp-flowtype is probably to do with the flow binary it downloads to run.
Cheers,
Charlie

i went with "-lib nonExistingDir" for now.
actually, is it just me or is "--all" plain unusable? for me it always causes a full scan of node_modules/{react, react-intl,react-router,...} and does not come up at all, even calling the flow binary manually.
i wonder whether i'm doing something wrong generally.

just to close this out, stderr output is now actually ignored by gulp-flowtype, so the above hack isn't needed any more


Question/Potential Feature: Or Field Selector

is there any reason kubernetes does not have an Or fieldSelector? It currently contains an And fieldSelector. This is the relevant file: https://github.com/kubernetes/apimachinery/blob/master/pkg/fields/selector.go
If not, I would be happy to implement it (or atleast try).

/sig api-machinery
I vaguely recall this being deliberate and having something to do with the reverse lookup.
Permitting an OR clause would make it possible to express e.g. 3SAT problems as a label selector, making it impossible in the general case to determine if it is possible for any set of labels to match. I can imagine that being important for some systems, but I'm not sure if it's important for ours.


[Findable] Feedback form

See https://www.figma.com/file/JOUDXkKfgivRNFdBsWDPEH/AnVIL-Data-Explorer?type=design&node-id=1160-20415&mode=dev

See mock and mock and mock and mobile mock.

Duplicate of https://github.com/clevercanary/data-explorer/issues/406


Add more types found in download

Add some additional types found in downloads from my accounts

@sdtom Thank you for sharing the changes.


API request failed: Invalid org token (http status 401)

Environment
"vue": "^3.4.25",
"nuxt": "3.11.2",
"@sentry/node": "^8.25.0",
"@sentry/profiling-node": "^8.25.0",
"@sentry/vite-plugin": "^2.22.0",
"@sentry/vue": "^8.25.0",

Steps to Reproduce
Build project with the following vite configuration:
vite: {
    plugins: [
      sentryVitePlugin({
        disable: !process.env.SENTRY_AUTH_TOKEN,
        sourcemaps: {
          filesToDeleteAfterUpload: '*.map',
        },
        org: process.env.SENTRY_ORG,
        project: process.env.SENTRY_PROJECT,
        authToken: process.env.SENTRY_AUTH_TOKEN,
      }),
    ],
  },

# Sentry configs
SENTRY_ORG=my-org
SENTRY_PROJECT=my-project
SENTRY_AUTH_TOKEN=my-auth-token
SENTRY_ENV=production
SENTRY_ENABLED=true
SENTRY_DSN=https://my-dsn

I double checked all my env variables and they are all correctly set.
I found this issue from the Android SDK: https://github.com/getsentry/sentry-android-gradle-plugin/issues/694
perhaps cpuld be the same issue here? We are using EU data region as well in our organization.
Expected Result
Sentry vite plugin should upload source maps correctly.
Actual Result

Hi, this looks off! I know you wrote that you double checked all your env vars but can you check again that you didn't fatfinger the auth token and also that you used the auth token from the right org?
Also, can you share the first few 10 or so characters from your auth token, and you can also verify your token by base64 decoding the token delimited by _ characters.

I can confirm creating a new org and setting data region to US fixed the problem and sourcemaps are uploaded correctly:

Please have a look at this ASAP - very critical for js applications hosted in EY using the vite plugin

@AndersCV Have you already tried creating a new token for the EU region?

@lforst I tried creating a new token for the EU region and it worked! I'm sorry I must have somehow used an incorrect AUTH_TOKEN.


feat: Support setting sort/facet on search index

Describe your changes
This allows setting sort, and facet on a field while defining a search index.
How best to test these changes
Issue ticket number and link

Codecov Report
Base: 57.19% // Head: 28.47% // Decreases project coverage by -28.72% :warning:

Coverage data is based on head (3b82832) compared to base (98f0acf).
Patch coverage: 80.48% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #843       +/-   ##
===========================================
- Coverage   57.19%   28.47%   -28.72%
===========================================
  Files         175      175
  Lines       19366    19404       +38
===========================================
- Hits        11077     5526     -5551
- Misses       7330    13230     +5900
+ Partials      959      648      -311

Impacted Files
Coverage Δ

server/metadata/tenant.go
40.81% <50.00%> (-21.86%)
:arrow_down:

schema/search.go
43.16% <57.14%> (-28.81%)
:arrow_down:

schema/fields.go
67.44% <83.33%> (-17.91%)
:arrow_down:

schema/collection.go
68.44% <100.00%> (-20.33%)
:arrow_down:

server/search/factory.go
0.00% <0.00%> (-100.00%)
:arrow_down:

lib/container/priority_queue.go
0.00% <0.00%> (-100.00%)
:arrow_down:

server/quota/namespace.go
0.00% <0.00%> (-98.37%)
:arrow_down:

server/search/sorted_hits.go
0.00% <0.00%> (-95.84%)
:arrow_down:

schema/lang/go.go
0.00% <0.00%> (-90.63%)
:arrow_down:

schema/lang/java.go
0.00% <0.00%> (-90.63%)
:arrow_down:

... and 113 more

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

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


[release/1.7 backport] Update runner images to macOS13

Backports https://github.com/containerd/containerd/pull/10781 to release/1.7

This change upgrades the runner images in CI to macOS 13. macOS 12 runners are being deprecated.
See https://github.com/actions/runner-images/issues/10721 for more information.
(cherry picked from commit 7b1809851348d33b0b06729aa50b82a343ea8c80)

@akhilerm opened https://github.com/containerd/containerd/issues/10786 for the test flake


Doorbell notifications with camera preview

Just another thing, I remember seeing another attempt to deliver doorbell notifications with camera preview in the past, for EZVIZ doorbells if I'm not mistaken.
I recall they had a bug report regarding the notification delivered on Apple TVs, they did come through, but with not camera snapshot, so I thought of testing it. It seems like it also happens with this plugin.

Originally posted by @sadanro100 in https://github.com/0x5e/homebridge-tuya-platform/issues/48#issuecomment-1356656773

+1


PR: Add encoding handling to stderr file in the IPython Console

Fixes #4191

Tests :-p

Yes, that's what's missing. The test needs to go in plugins/tests/test_ipythonconsole.py and it needs to go like this

Start a console
Write some message in the cp437 encoding to its stderr_file.
Use _read_stderr to get those contents.
Assert that the result of _read_stderr is the same content written to stderr_file.

Great work @dalthviz!! I think this is ready, so nothing else to do for me than merge ;-)


[Tracking] Parser recovery

We want the language server to work at all times no matter how malformed the users code is, currently the language server will only work if the code is able to compile which is not usually the case during development.
Below is list of open issues that outline various scenarios where the parser should recover from and return parsed and typed AST's still.

https://github.com/FuelLabs/sway/issues/4911
https://github.com/FuelLabs/sway/issues/4910
https://github.com/FuelLabs/sway/issues/4909
https://github.com/FuelLabs/sway/issues/4908
https://github.com/FuelLabs/sway/issues/4729

related to #4865

Sure, thanks for all the good work getting these done.


It takes up too much memory

please complete the following information:

OS version:  Mac Catalina
Editor version :	1.48.2
Programming language:  js, ts
TabNine extension version: 3.0.0

版本: 1.48.2
提交: a0479759d6e9ea56afa657e454193f72aef85bd0
日期: 2020-08-25T10:09:08.021Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.6.0

If the issue is related to TabNine failure, please provide log files:
Type TabNine::config in your editor, the logs are located at the bottom of the page
Editor console logs:
Help -> Toggle Developer Tools
Issue Details:
It takes up too much memory，Every time you open a VsCode window, TabNine creates a process and takes up an equally large amount of memory？

Hi @tomoat
Thanks for the feedback!
We are aware of this issue, and already working on a solution!
We believe a new version solving this issue will be released very soon (about 2 weeks time).
On this note, if you wish to be among the users who'll get an early version, we would love to see you among our Beta users community, and welcome you to join.

It's still take up too much memory


primer and adapter trimming group

Hello,
Why isn't there a primer and adapter trimming group?  This would include software such as Porechop and pychopper

Hi,
We have a category called quality trimming I think which would fit the broader category of what you are asking for. Pychopper and Porechop are also in the database but have not been categorised in this category. This will get updated in the next release.
Thanks for your interest!
Shani.


fix(Navigation): some fixes

Summary
Type

Bug

Summarise concisely:
What is expected?
Fix <NavigationComponent /> to have correct empty state, pin / unpin to be div instead of button and fix on click on pin / unpin

Missing some tests right ?


Add support for RISCV V1.0 vector extension

Add ISA support to Mavis
Add ISA Olympia extension (json files)

For this issue, what are the next steps for it? I see that Mavis has vector ISA support (https://github.com/sparcians/mavis/blob/main/json/isa_rv64v.json)

You'll need to create an Olympia json file that parallel's the Mavis one and place it here:
https://github.com/riscv-software-src/riscv-perf-model/tree/master/arches/isa_json
Then, I suggest you write a handful of json files that test the vector addition.  Make sure vector load/stores go to the load/store unit and arithmetic ones go to newly added vector units.
You might need to add a vector scoreboard.
This should be a good start.

@AaronGChan Hi! I'd like to ask how the current progress is going. Have you encountered any problems?

@AaronGChan Hi! I'd like to ask how the current progress is going. Have you encountered any problems?

Hi @gglangg,
Currently still working through the uarch design of a VPU to model before starting the implementations. I have a discussion up currently, and I will be adding current design/considerations for out-of-order. We've been discussing in the SIG between having an in-order vs out-of-order VPU, with the in-order being much simpler to implement. I've been busy with school, so haven't had too much time to work through this yet, but trying to allocate more time.
Some design points/assumptions we were planning on making to make implementation easier for now:
Assume always that VL=VLMAX
Ignore masks

FYI, https://github.com/chipsalliance/t1 is also another lane based implementation for RVV

Current implementation will incorporate a vector unit as an execution unit. The design is thus a unified system, where both vector and scalar instructions pass through most stages together, with a separate vector issuequeue for vector instructions. Documentation for current design can be found at https://github.com/riscv-software-src/riscv-perf-model/discussions/89.
Summary of Work that needs to be Done for Vector Support:

[] VSET/basic vector-vector operations (In-progress)
[] Complex Vector instructions (Gather, Scatter)
[] Vector Load/Store
[] Vector tracing support in Dromajo, identify workloads #173
[] Mask Support

Future Work:

[] Vector Coprocessor Design
[] Split VRF, lane design
[] VSET Predictor


Enable pango_font_info_test and fix crash for MacOS with M1

pango_font_info_test passes on Linux. On MacOS with M1 it at least no longer crashes and passes most parts of that test.

See also issue #2599.

build is failing for ubuntu:
[ 92%] Building CXX object src/training/CMakeFiles/text2image.dir/pango_font_info.cpp.o
/home/travis/build/tesseract-ocr/tesseract/src/training/pango_font_info.cpp: In function ‘PangoGlyph tesseract::get_glyph(PangoFont*, gunichar)’:
/home/travis/build/tesseract-ocr/tesseract/src/training/pango_font_info.cpp:76:3: error: ‘hb_font_t’ was not declared in this scope
   hb_font_t* hb_font = pango_font_get_hb_font(font);
   ^
/home/travis/build/tesseract-ocr/tesseract/src/training/pango_font_info.cpp:76:14: error: ‘hb_font’ was not declared in this scope
   hb_font_t* hb_font = pango_font_get_hb_font(font);
              ^
/home/travis/build/tesseract-ocr/tesseract/src/training/pango_font_info.cpp:76:51: error: ‘pango_font_get_hb_font’ was not declared in this scope
   hb_font_t* hb_font = pango_font_get_hb_font(font);
                                                   ^
/home/travis/build/tesseract-ocr/tesseract/src/training/pango_font_info.cpp:77:3: error: ‘hb_codepoint_t’ was not declared in this scope
   hb_codepoint_t glyph;
   ^
/home/travis/build/tesseract-ocr/tesseract/src/training/pango_font_info.cpp:78:43: error: ‘glyph’ was not declared in this scope
   hb_font_get_nominal_glyph(hb_font, wc, &glyph);
                                           ^
/home/travis/build/tesseract-ocr/tesseract/src/training/pango_font_info.cpp:78:48:m error: ‘hb_font_get_nominal_glyph’ was not declared in this scope
   hb_font_get_nominal_glyph(hb_font, wc, &glyph);

The new code requires Pango 1.44. I now added the old code as a fallback for older Pango versions, so please retry.

pango_font_info_test passes on Linux. On MacOS with M1 it at least no longer crashes and passes most parts of that test.

Which parts do not pass? Mayby you can add TODO above each one?

It looks like on MacOS the test sees all MacOS fonts instead of the limited set which is installed in test/testing. I don't know the reason for that, but it explains the failure of several test steps.

The was design to work with the FontConfig backend, even on macOS, and it appears that your pango version uses the CoreText backend.

It's from Homebrew, and that should work with FontConfig.
text2image --list_available_fonts --fonts_dir tesseract/test/testing works.

[...] it appears that your pango version uses the CoreText backend.

You are right, thank you. The test passes with export PANGOCAIRO_BACKEND=fc.

It workes with text2image thanks to this code:
https://github.com/tesseract-ocr/tesseract/blob/45413e6c423207ee631df7c33dbcdb59eaf3cf54/src/training/text2image.cpp#L720-L726

thanks


grunt task doesn't work after new version of purifycss was released

After updating npm packages, my grunt purifycss task stopped working with error message

Warning: Maximum call stack size exceeded Use --force to continue.

It worked well before updating. One difference is version of purifycss dependency.

Thanks for reporting this. Can I see the way you use the task?

Can you force it to use v1.1.1 of PurifyCSS and let me know if that works? That'll help me debug

My grunt task
purifycss: {
	options: {},
	target: {
		src: ['build/*.html', 'build/javascript/*.js'],
		css: ['build/stylesheets/*.css'],
		dest: 'build/stylesheets/style.css'
	}
},

how I use it
grunt.registerTask('styles', 'Build styles only', ['clean:stylesheets', 'sass:build', 'autoprefixer', 'purifycss', 'cssmin' ]);

It works well with purify-css version 1.0.17, but throws the error when version is 1.1.6. Please advice me how to force grunt-purifycss to use v1.1.1 of PurifyCSS
Thanks

Can you show me the log of the list of files Source files / Style files that gets logged out when you run the task?
You can force it to use v1.1.1 by deleting the purify-css folder inside at /node_modules/grunt-purifycss/node_modules/purify-css. Then do a npm install<EMAIL_ADDRESS>and then run the task
Before you do that, be sure to get me the list of files that get logged out :)

For both  v1.1.6 and v1.1.1 the log is the same:
Running "purifycss:target" (purifycss) task
Source Files:  [ 'build/account-dashboard-black.html',
  'build/account-dashboard-gold.html',
  'build/account-dashboard-platinum.html',
  'build/account-dashboard-red.html',
  'build/account-dashboard-request-card-overlay.html',
  'build/account-join-discovery.html',
  'build/account-le.html',
  'build/account-my-claim-details.html',
  'build/account-my-preferences.html',
  'build/account-profile-password.html',
  'build/account-registration-confirmation.html',
  'build/account-reservatioin.html',
  'build/account-reservatioins-and-stay-cancel-overay.html',
  'build/account-reservatioins-and-stay.html',
  'build/account-stay-claims.html',
  'build/destinations-list.html',
  'build/destinations-map.html',
  'build/forgot-password.html',
  'build/generic-about-gha.html',
  'build/generic-contact-us-thanks.html',
  'build/generic-contact-us.html',
  'build/generic-press.html' ]
Source Files:  [ 'build/javascript/booking.js',
  'build/javascript/file-input.js',
  'build/javascript/form-reset.js',
  'build/javascript/google.maps.js',
  'build/javascript/infobubble.js' ]
Source Files:  [ 'build/javascript/vendor/jquery-ui.min.js',
  'build/javascript/vendor/jquery.min.js',
  'build/javascript/vendor/jquery.mobile.min.js',
  'build/javascript/vendor/modernizr.min.js',
  'build/javascript/vendor/respond.min.js' ]
Style Files:  [ 'build/stylesheets/style.css' ]
Warning: Maximum call stack size exceeded Use --force to continue.

Aborted due to warnings.

But works great with 1.0.17.
Thanks for the tip it's useful.

Do you think you can email me your build/stylesheets/style.css<EMAIL_ADDRESS>I'd like to figure out this bug

Done

@kennyt Did you find a solution for the issue?

hi there!
I have install<EMAIL_ADDRESS>but it didn't help me.
I have also tried<EMAIL_ADDRESS>but result the same.
@kennyt, any updates for this issue?
Thanks!

Hi @kennyt,
I have the same issue, tried increase node's stack-size but it brings Segmentation fault and memory allocation issues.
Any news about this?
Thanks.

@diaborn19 I tested, it is caused by color.js that is dependency of grunt-html-validation. Not sure how this relates to purifycss. But error is in color.js and it is encountered during purifycss's work.

How can i grunt purifycss on ng build --prod ???

How can I grunt purifycss on ng build --prod commnad ??


how to transfer with XG1

hi,
i am working on a application that the app should Settle workers' wages every night,
i use EBICS and want to use XG1 order but not found any sample file for mytestfile.xml in send-xg1-order.js.
I apologize for my bad English
thanks.

i am working on a application that the app should Settle workers' wages every night,
@dalmif Which bank are you using and in which country? Any SEPA XML file (CGI format) should probably work. It really depends a bit on what the bank is expecting in terms of format and layout of the file.

@Herrie82 thanks for answer.
the bank is UBS on Switzerland. (this)
i attached the available orders list.
i think i should use Credit Transfer.
when i use XG1 or XE2 and etc... the response of bank is [EBICS_OK] but not any transaction is done.

@dalmif Yes it seems you need either XE2 (which seems to be a Swiss specific format) or XG1 (Global CGI format).
So XG1 might be the correct one to use. Do other order types work for you? Did you check if the bank enabled XG1 for you? You can do this with HKD or HTD order type. It should show you the user(s) and their permissions/enabled order types.
I have this for example as part of my HKD response:
<Permission AuthorisationLevel="T">
            <OrderTypes>HCA HCS HIA HVE HVS INI PUB RFT SPR **XG1**</OrderTypes>
</Permission>

In general the XG1 order itself shouldn't give you much feedback except that it sent the file and the reference retrieved from the bank. To get the actual status of the file submitted you would need to submit a different order type.
When I look at http://media.topal.ch/Public/Downloads/ISO20022/EBICS/Financial_Institut/UBS/ubs_keyport_connection_parameters.pdf it seems you might need Z01 or ZE1.
Also from that document I don't see XG1 anymore, but only XEA for CGI payments.

@Herrie82 thanks a lot.
my response in HKD order:
      <Permission AuthorisationLevel="E">          <OrderTypes>RFT XE2 XEA XG1</OrderTypes>       </Permission>       <Permission AuthorisationLevel="T">          <OrderTypes>HCA HCS HIA HVE HVS INI PUB SPR</OrderTypes>       </Permission>
and the file that upload for bank is:
`xml

msg20210329224925323645259754ee07
2021-03-29T22:49:25.322+00:00
1
2.00

Calanthejazz

pmt20210329224925323606259754ee21
TRF
1
2.00

SEPA

2021-03-29
Name

IBAN

BIC

SLEV

pii1020210329524925324606259754f1e9
pete1020212329224925324606259754f3b

2.00

BIC

NAME

IBAN

Test payment  1

`
note: the number and IDs has been changed on xml.
but amount for transfer is 2 CHF (Swiss Franc) for test. (Is it possible that the order will not be executed because the amount for transfer is small?)

@dalmif I have been reworking the code for the samples a bit. I'm waiting for @nanov to review my suggestions. This should make the whole testing a lot more straightforward as well. It still won't solve your issue directly, but it should give a bit more flexibility in terms of testing: https://github.com/node-ebics/node-ebics-client/pull/58

thanks a lot @Herrie82,
i solve my problem with check error contains in Z01 order.
i ordered with XG1 and SEPA but i used CHF for currency.
when i found error on Z01 order, i changed currency to EUR and everything work well.


Use Self Service icon as the 'overlayicon'

Thanks for all your work on v10.
This PR uses the Self Service icon as the 'overlayicon' in the mini progress dialog.

Thank you, it looks great. It's only for Jamf, so think we need to consider if it's running in other MDM. We have tests for that, so maybe a test for that here as well.
I can help, I'm just thinking loud here.

Oh, I realise you only changed the supporting files for Jamf. I will rest my rambling of other MDM solution, but probably copy your idea (again, again).
Thank you, I put it on the milestone.

Thanks, @Theile.

Thank you!


feat(ens): Text records

Description
ENSIP-5: Text Records: https://docs.ens.domains/ens-improvement-proposals/ensip-5-text-records

Solution

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

master

PR #10

PR #11

PR #12   👈

This stack of pull requests is managed by Graphite.


Slippery Character

The current physics-handling box of the player character is not a mesh and cannot have a material applied to it, meaning that certain keys won't be modifiable such as friction.
Change the physbox to a mesh and migrate the nodes for it.

physics box is now an object that supports bullet physics.


4.x

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: codingfishman:x: ottomao


Environment variable does not update

Setting an environment variable in the docker-compose file does not update the value in the command field. The value of the variable that's used is an old value which has since been changed.
This is the relevant portion of the compose file :
services:
rabbitmq:
image: rabbitmq:3-management
hostname: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
volumes:
- ./data/rabbitmq:/var/lib/rabbitmq
- /etc/localtime:/etc/localtime:ro
master:
build:
context: ./worker
dockerfile: Dockerfile
environment:
- testDir=/home/scalability/stats/MDMS/Elrond/2.7.000/20170204T1837/20170204T1843-T0_VM_18_IR_30_IT_1200_TR_35_TT_4112_API_0
image: satish/worker
depends_on:
- rabbitmq
volumes:
- /home/mdmsadmin/obim/script:/opt
- /home/scalability/stats/MDMS:/home/scalability/stats/MDMS
- /mnt:/mnt
- /var/log:/var/log
- /etc/localtime:/etc/localtime:ro
command: bash -c "while ! nc -z rabbitmq 5672; do echo "waiting for rabbit to start listening" ; sleep 2; done; python master_log.py --dir $${testDir};"
worker:
image: satish/worker
depends_on:
- rabbitmq
- master
command: bash -c "while ! nc -z rabbitmq 5672; do echo "waiting for rabbit to start listening" ; sleep 2; done; python worker_log.py ;"
volumes_from:
- master
In this case, when I run "docker-compose scale rabbitmq=1 master=1 worker=5", the "testDir" value that's replaced is not the one that set in the env variable i.e. "/home/scalability/stats/MDMS/Elrond/2.7.000/20170204T1837/20170204T1843-T0_VM_18_IR_30_IT_1200_TR_35_TT_4112_API_0", but instead, it's one that was set earlier during an earlier run.  I read that the environment variables are set everytime the containers that carry the services run. Since that is not happening here, is this a bug?
I am not sure of the steps to reproduce, but from my description, if someone could try something similar, would be very useful.
Output of docker version:
docker-compose version 1.9.0, build 2585387
**Output of `docker info`:**

Containers: 9
Running: 6
Paused: 0
Stopped: 3
Images: 11
Server Version: 1.12.5
Storage Driver: devicemapper
Pool Name: docker-253:0-18749-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 1.134 GB
Data Space Total: 107.4 GB
Data Space Available: 4.603 GB
Metadata Space Used: 4.03 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.143 GB
Thin Pool Minimum Free Space: 10.74 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Use --storage-opt dm.thinpooldev to specify a custom block storage device.
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.135-RHEL7 (2016-09-28)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge null overlay host
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-514.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.64 GiB
Name: devpx-docker
ID: EK6D:GJXW:XDJB:QUOG:GVAJ:IIL7:K3BP:EM2R:XN5P:H4YS:ZCSI:4RTO
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Insecure Registries:

**Additional environment details (AWS, VirtualBox, physical, etc.):**
This is a CentOS 7 VM.

since this is related to docker-compose, can you reopen this in the docker-compose issue tracker?https://github.com/docker/compose/issues/


Textarea does not mark as dirty when its value autofilled by browser (WebKit, Chromium 43)

As in the cases of issues #903 and #959 textfield component does not notified about value change.
When page is just loaded:

And when you open suggestions dropdown menu:

Actually Chromium does not change the value of input at that moment. It just insert possible values as many autocomplete featueres are working. While 'change' event fired only after actually selecting the value.
Demo: http://codepen.io/anon/pen/YXOVOW
You can fill the form with any values and reload the page.

Duplicate of the issues mentioned in the report.

Yes, I saw the solutions for those issues. Anyway, I could not kill this two birds with one stone. Although the causes of this issues are the same, initiators are different. In one case it is JS code, in other the browser itself. Seems the general solution is scanning all inputs to detect changes. But it does not completely solve the problem in the case with a browser, even though it is bad idea in itself.
I have found
I have made a temporary workaround (https://gist.github.com/atstek/c3e81724f147010d7de0) that scan inputs of certain form to detect :autofill, :-webkit-autofill, :-moz-autofill pseudo classes only while any of these inputs has focus and notify me. It may be used like so
.visibility--hidden {
    visibility: hidden;
}

var autofillMonitor = AutofillMonitor.scan(form, {
    onAutofill: function(inputs) {
        $(inputs).siblings('label').addClass('visibility--hidden');
    },
    onClear: function(inputs) {
        $(inputs).siblings('label').removeClass('visibility--hidden');
    }
});
...
autofillMonitor.stop();
...
autofillMonitor.start();

I started work with one project using MDL (at my own risk :smile:), so looking forward to solving these issues.


MMPA compile error with Microsoft Visual C++ Compiler for Python 2.7

when building the current tip of the master branch (a783197) on windows using the Microsoft Visual C++ Compiler for Python 2.7, the following error is issued:
C:\Users\riccardo\Anaconda\conda-bld\work\Code\GraphMol\MMPA\MMPA.cpp(206) : error C2039: 'at' : is not a member of 'std::map<_Kty,_Ty>'
with
[
_Kty=unsigned int,
_Ty=unsigned int
]
the 'at' method of std::map is a C++11 feature and I'm afraid it's not supported by msvc 2008.

Nice catch. I had just built with VC++ 2010, which must be one version more modern.

thanks for the quick fix!


FlutterJNI detached from native C++

Hi,
First i would like to appreciate the effort put into developing this plugin and also the patience to respond to users issues. You guys are the best!
I am building a safety app that sends location updates when the phone is shook and that needs to work even while the app is in background.
I tried to use the flutter shake sensor plugin to trigger the location update when the phone is shook but whenever the app goes into background, i get the message:
W/FlutterJNI(27552): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: plugins.flutter.io/sensors/accelerometer. Response ID: 0

i would appreciate any help 🙏
My full code:
import 'dart:async';
import 'dart:isolate';

import 'dart:ui';

import 'package:flutter/material.dart';

import 'package:background_locator/background_locator.dart';
import 'package:background_locator/location_dto.dart';
import 'package:background_locator/location_settings.dart';
import 'package:shake/shake.dart';
import 'package:sentry/sentry.dart';
import 'package:trackamsos/background/SOSHandler.dart';
import 'package:trackamsos/background/ensureAlwaysBackground.dart';
import 'package:trackamsos/core/helpers/getShakeThresholdGravity.dart';

class BackgroundService {
  static final BackgroundService _backgroundService =
      BackgroundService._internal();
  static const String _isolateName = "LocatorIsolate";
  static final SOSHandler sosHandler = SOSHandler();
  static final ReceivePort port = ReceivePort();
  final SentryClient sentry = SentryClient(
      dsn:
          'https://XXXXXXXXXXXXXXXXXXXXX.ingest.sentry.io/xxxx');
  static ShakeDetector shakeDetector;

  factory BackgroundService() => _backgroundService;

  Future<void> start() async {
    if (await isRunning()) {
      return;
    }

    if (IsolateNameServer.lookupPortByName(_isolateName) != null) {
      IsolateNameServer.removePortNameMapping(_isolateName);
    }

    IsolateNameServer.registerPortWithName(port.sendPort, _isolateName);

    await _initPlatformState();

    await ensureAlwaysBackground ();

    _startSOSListener();

    await _startLocationService();
  }

  void stop() async {
    if (!await isRunning()) {
      return;
    }

    _stopSOSListener();

    if (IsolateNameServer.lookupPortByName(_isolateName) != null) {
      IsolateNameServer.removePortNameMapping(_isolateName);
    }

    BackgroundLocator.unRegisterLocationUpdate();
  }

  Future<bool> isRunning() =>
      BackgroundLocator.isRegisterLocationUpdate() /*_isRunning*/;

  void updateShakeThreshold() => _startShakeListener();

  static Future<void> _startSOSListener() async {
    _startShakeListener();
    _startPowerButtonListener();
  }

  static void _stopSOSListener() {
    _stopShakeListener();
    _stopPowerButtonListener();
  }

  static Future<void> _startShakeListener() async {
    if (shakeDetector != null) {
      _stopShakeListener();
    }

    try {
      shakeDetector = ShakeDetector.autoStart(
          shakeThresholdGravity: getShakeThresholdGravity(),
          onPhoneShake: () => sosHandler.run());
    } catch (error, stackTrace) {
      try {
        await _backgroundService.sentry.captureException(
          exception: error,
          stackTrace: stackTrace,
        );
      } catch (error) {
        print(error);
      }
    }
  }

  static void _startPowerButtonListener() {
  }

  static void
      _stopPowerButtonListener() => null;

  static void _stopShakeListener() => shakeDetector?.stopListening();

  Future<void> _startLocationService() =>
      BackgroundLocator.registerLocationUpdate(
        locationCallback,
        //optional
        initCallback: _initCallback,
        disposeCallback: _disposeCallback,
        androidNotificationCallback: _notificationCallback,
        settings: LocationSettings(
          //Scroll down to see the different options
          notificationMsg: "Tap to Open App",
          notificationIcon: '@drawable/ic_notification',
          notificationTitle: "TrackAm SOS Activated",
          notificationIconColor: Colors.redAccent,
          notificationChannelName: 'TrackAm SOS',
          wakeLockTime: 60,
          autoStop: false,
          interval: 1,
          distanceFilter: 1000,
          accuracy: LocationAccuracy.POWERSAVE,
        ),
      ).whenComplete(_disposeCallback);

  static void _initCallback(Map<String, dynamic> args) => _startSOSListener();

  static void _disposeCallback() => _stopSOSListener();

  static void locationCallback(LocationDto locationDto) {
    final SendPort send = IsolateNameServer.lookupPortByName(_isolateName);
    send?.send(locationDto);
  }

  static void _notificationCallback() {
    print('User clicked on the notification');
  }

  Future<void> _initPlatformState() => BackgroundLocator.initialize();

  BackgroundService._internal();
}

I would try not to use static variables for "sosHandler", and not static methods for the "_startSOSListener" and "_stopSOSListener" functions. So also remove "_startSOSListener" and "_stopSOSListener" from the "start" and "stop" functions. they are only in "initCallback" and "disposeCallback". I think SOS initialization should be inside the isolation process (so if "start" and "stop" executions are left out isolation). Since you are currently running it 2 times, maybe you are creating 2 instances of the soslistener method and there is some conflict.

Thanks so much for this.
I've applied the recommendations, I no longer get the error message but the shake sensor doesn't work at all.
I would create a new app and copy the github example code, then test the shake functionality to be sure the issue is not caused by another code in my app.
I would update this thread on progress.
Thanks again

I just tested with the new example app and the shake sensor fired without problems.
I would refactor my code and debug where the issue is coming from.

I later discovered the real issue was that the background locator callbacks need to be in the root of lib folder. I'm not sure that was pointed out anywhere in documentation.
Maybe it should be added as a note in documentation incase someone else faces this issue.

I'm glad it works. I am not aware of this limitation. Maybe I was just lucky. Could you share an example where the code and another and that do not identify the location of the file?

It seems that the issue is solved, I'm closing the issue but feel free to open it anytime;