signal.firls should default to fs=1

signal.firls has been changed to default to fs=2. It previously defaulted to fs=1 (when I contributed it), but at some point firls got significantly rewritten and fs changed.
The convention throughout is fs=1. See signal.bilinear, signal.remez, signal.welch, signal.csd, etc.
This is a behavior-changing difference, but it is undoing what was a behavior-changing difference. I discovered it when it broke previously working code.

Argh, that's not good. @GregoryEAllen when did you notice this behavior change? Possibly when upgrading from <= 0.19 to >= 1.0?A quick look at git blame makes it seem like https://github.com/scipy/scipy/commit/355938450f4e4a72794899f509b83eb1951c84d6 / #7814 was the culprit, but this was in even 1.0 from almost 3 years ago. Other more recent changes are just to make the linalg.solve more robust, so it seems like this change is at least 3 years old.
Given that firls only appeared 4 years ago and this bug was introduced 3 years ago, I'd be hesitant to change its behavior since either way someone's code will be broken, and at least on master hopefully the behavior is consistent with all other functions.

It looks like firls never had fs=1 when it was released. firls was initially released in #5989 with nyq=1, which effectively makes fs=2. #5989 was based off of @GregoryEAllen's PR #4836, which had fs=1 but was never merged.

Ahh okay, so firls in SciPy always had fs=2 effectively, so indeed we shouldn't change it.
Quoting https://github.com/scipy/scipy/pull/7814#issue-138582451:

For the FIR filter design functions firls, firwin and firwin2, the default is nyq=1.0 (equivalent to fs=2), while for remez the default is Hz=1 (i.e. fs=1). The functions that currently already use fs all have the default fs=1. Changing the default for the FIR design functions would be a much more disruptive change.

I think the cost of changing these to all be consistent is probably not worth the deprecation cycle. But if the consensus becomes that we should, we can reopen this and re-title it, or just have a new issue for it.


RHPAM-4271 minimist npm library to 1.2.6

https://issues.redhat.com/browse/RHPAM-4271

Hi @Ginxo ! Please consider this repo is no longer actively maintained. This repo code has been moved here https://github.com/kiegroup/kie-tools.

thanks @yesamer up to you guys to merge.
should we archive this repository?

@Ginxo Yes, our intention was to archive this repo, when all PR were ported in the new one. This condition is now true, so I think we can proceed.

ok @yesamer, please check the same and more dependtabot's alerts in the new one then

@mareknovotny I don't have admin rights for https://github.com/kiegroup/kie-tools repo, but I think @ederign and @tiagobento are taking care of that repo alerts.

Merged. Repository archived and additional description Archived repository. Please go to https://github.com/kiegroup/kie-tools added to About info


refactor: typescript optimizer sidebar

Pull Request

Description

Migrate optimizerSidebar to tsx
Deduplicate display code

Related Issue

Checklist

[x] I have added commit messages that are descriptive and meaningful.
[x] I have tested the changes locally.
[x] I have reviewed the code changes.

Screenshots

Nice, thanks for cleaning this file up


Unlink zipped database after it is closed

dbrwn open pull request https://github.com/neocl/jamdict_data/pull/2

This was made by mistake. It should have stayed in the fork.


fix: use observer for terminal view component

Types

[x] 🐛 Bug Fixes

Background or solution
Changelog

/publish

/publish


Request to Add Pittsburg, CA

To: killings.ci.pittsburg.ca.us<EMAIL_ADDRESS>Subject: FOR PUBLIC COMMENT - NON AGENDA
Dear Mayor Killings and Pittsburg City Council Members,
My name is [YOUR NAME] and I am a resident of Pittsburg. Pittsburg Police Department takes an enormous share of the city’s general fund, taking away 61.53% of needed resources that can be allocated to essential programs and services in our city. I’m writing to you today to demand that Pittsburg support the redirection of significant funds back into the community for the 2020-2021 fiscal year.
Over the past fourteen days, our nation has been seized by protests calling for the systematic upheaval of institutions that promote racism and anti-Blackness, especially the institution that is the police, while also reimagining what community accountability can look like. While other Bay Area cities have been at the forefront of many of these protests, there have also been numerous outcries within Pittsburg. You may have witnessed these outcries through the 24 letters sent during the June 3rd city council meeting, through numerous posts all over social media, and through the peaceful demonstration outside of City Hall on Friday, June 5th.
Our city leaders must prioritize our community’s social programs, health care, housing, small businesses, and education. We must ensure that all students, especially black students and students of color, are equipped with the tools necessary to continue learning and thriving, rather than being stereotyped and heavily policed. Moreover, there is absolutely no reason a teacher must ask a student to bring basic school supplies when the funds distributed to the police department can be allocated to fulfill the needs of PUSD.
In addition to redirecting funds, we need to hold our local leaders accountable. Our Chief of Police, Brian Addington, failed to properly disclose documents in a case involving excessive force in 2014. We demand the resignation of Brian Addington in this formidable role.
As a Pittsburg resident, I demand that you take immediate action to ensure the following:

Reduce PPD’s allocation from the general fund by 50%.
Discontinue use of general fund dollars to pay for settlements due to police murder, misconduct, and negligence.
Invest in housing, jobs, youth programs, restorative justice, and mental health workers to keep the community safe.
Hold local leaders, like Police Chief Addington, and yourselves accountable.

I am urging you to completely revise the budget for the 2020-2021 fiscal year. Public opinion is with me.
Best,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

<EMAIL_ADDRESS>

on it now


Added pisces

Added pisces to the plugins list. I hope it's awesome enough 😄

@laughedelic Thanks! 👍


tiny inverse variance fluxes

Chiara Circosta has reported some objects in Everest whose H-alpha inverse variance fluxes are ludicrously small. Below are some examples to investigate.
# TARGETID HALPHA_FLUX HALPHA_FLUX_IVAR
39633359625782073 1.7956178 1.3840724e-13
39627958805074371 0.95852417 6.534093e-13
39627705649467518 688.64374 3.862764e-06
39627880879096614 29.16282 5.291357e-06
39627862667428236 355.20575 2.4240563e-09
39627685600694941 6.355846 4.061581e-06
39627782325535122 33.610855 2.4780425e-14
39627866903680734 0.74838877 4.0800132e-06
39627927792390212 18.785706 3.1379882e-06
39627987812884188 92.62553 9.880632e-07
39627788738628288 40.82865 3.8366178e-08
39627861195230435 44.267326 1.159232e-13
39627969605405446 32.32011 2.5837508e-08
39628082784502046 0.92380434 3.9609912e-08
39628088669110788 47.643322 6.737523e-07
39632982134233962 172.19397 2.8582872e-10
39627717586453661 11.557639 1.9638706e-10
39628041063762156 51.76572 3.988727e-10
39632941399147100 10.743329 6.2385063e-13
39633087222518744 11.517023 3.159038e-10
39633073167405649 44.98145 2.9247262e-15

Here are some additional examples with the full metadata included and below is the fit to the zeroth object. The line-fits look good. The issue appears to be caused by a handful of pixels in the extracted spectra with very tiny inverse variance. Then, when the inverse variance of the flux is computed, these pixels dominate the quadrature sum of the variance and, therefore, the final inverse variance in the flux.
The solution is to clip the inverse variance not at zero but at a small but non-zero number like 1e-3. Doing so for<PHONE_NUMBER>4198787 changes the HALPHA inverse variance from 1e-13 (or so) to the much more sensible 0.0215.
So, I'm closing this ticket but please reopen if the issue shows up again after #69 is merged.


Timeout exceeded on Travis CI

Description
When running detox on Travis CI, detox test keeps crashing due to timeout. Locally runs it as supposed to.
Below the setup:
package.json
"detox": {
    "specs": "test/e2e",
    "runner-config": "test/e2e/mocha.opts",
    "configurations": {
      "ios.sim.debug": {
        "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/ClassApp.app",
        "build": "xcodebuild -project ios/remy.xcodeproj -scheme remy -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
        "type": "ios.simulator",
        "name": "iPhone 7"
      },
      "ios.sim.release": {
        "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/ClassApp.app",
        "build": "xcodebuild -project ios/remy.xcodeproj -scheme remy -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
        "type": "ios.simulator",
        "name": "iPhone 7"
      }
    }
  }

mocha.opts
--recursive --timeout 120000 --bail
init.js - test setup
require('babel-polyfill');
const detox = require('detox');
const config = require('../../package.json').detox;

before(async () => {
  try {
    await detox.init(config);
  } catch (e) {
    console.log('exception do init', e);
  }
});

after(async () => {
  await detox.cleanup();
});

travis.yml
language: node_js
node_js: 8.9.4

matrix:
  include:
    - language: objective-c
      osx_image: xcode9
      xcode_sdk: iphonesimulator11.0

addons:
  artifacts: true

env:
  global:
  - NODE_VERSION=stable

install:
  - sudo launchctl limit maxfiles 2048 unlimited
  - sudo ulimit -n 10000
  - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
  - export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
  - nvm install $NODE_VERSION
  - nvm use $NODE_VERSION

  - brew install watchman
  - brew install yarn --without-node
  - brew tap wix/brew
  - brew install wix/brew/applesimutils
  - yarn global add react-native-cli
  - yarn global add detox-cli
  - yarn

script:
  - detox build --configuration ios.sim.release > /dev/null 2>&1
  - detox clean-framework-cache && detox build-framework-cache
  - detox test --configuration ios.sim.release -l verbose --cleanup

after_failure:
  - tail -F $HOME/Library/Developer/CoreSimulator/Devices/5BABCDC9-5EAF-4E60-96C0-F78309091348/data/tmp/detox.last_launch_app_log.err

Detox, Node, Device, Xcode and macOS Versions

Detox: 7.00
Node: 8.9.4
Device: Travis CI
Xcode: 9
macOS: Travis
React Native: 0.47.2

Device and verbose Detox logs
detox test --configuration ios.sim.release -l verbose --cleanup
node_modules/.bin/mocha test/e2e --opts test/e2e/mocha.opts --configuration ios.sim.release --loglevel verbose --cleanup

detox info 18:50:20: server listening on localhost:57298...

detox verb ws onOpen [object Object]

detox verb ws send: {"type":"login","params":{"sessionId":"0bf8ae3f-c0dd-c8b7-ff95-46dd214e577a","role":"tester"},"messageId":0}

detox verb ws onMessage: {"type":"loginSuccess","params":{"sessionId":"0bf8ae3f-c0dd-c8b7-ff95-46dd214e577a","role":"tester"},"messageId":0}

detox verb ws

detox verb 1: applesimutils --list "iPhone 7" --maxResults=1

detox info 1: Searching for device matching iPhone 7...

detox verb 7: /usr/bin/xcrun simctl uninstall 5BABCDC9-5EAF-4E60-96C0-F78309091348 com.digniti.ClassApp

detox info 7: Uninstalling com.digniti.ClassApp...

detox info 7: com.digniti.ClassApp uninstalled

detox verb 8: /usr/bin/xcrun simctl install 5BABCDC9-5EAF-4E60-96C0-F78309091348 /Users/travis/build/classapp/remy/ios/build/Build/Products/Release-iphonesimulator/ClassApp.app

detox info 8: Installing /Users/travis/build/classapp/remy/ios/build/Build/Products/Release-iphonesimulator/ClassApp.app...

detox info 8: /Users/travis/build/classapp/remy/ios/build/Build/Products/Release-iphonesimulator/ClassApp.app installed

detox verb 9: /usr/bin/xcrun simctl terminate 5BABCDC9-5EAF-4E60-96C0-F78309091348 com.digniti.ClassApp

detox info 9: Terminating com.digniti.ClassApp...

detox info 9: com.digniti.ClassApp terminated

detox verb 10: /bin/cat /dev/null >$HOME/Library/Developer/CoreSimulator/Devices/5BABCDC9-5EAF-4E60-96C0-F78309091348/data/tmp/detox.last_launch_app_log.out 2>$HOME/Library/Developer/CoreSimulator/Devices/5BABCDC9-5EAF-4E60-96C0-F78309091348/data/tmp/detox.last_launch_app_log.err && SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/travis/Library/Detox/ios/96cff4e280a5ab0f8477cfbc9695c4c593500fbf/Detox.framework/Detox" /usr/bin/xcrun simctl launch --stdout=/tmp/detox.last_launch_app_log.out --stderr=/tmp/detox.last_launch_app_log.err 5BABCDC9-5EAF-4E60-96C0-F78309091348 com.digniti.ClassApp --args -detoxServer ws://localhost:57298 -detoxSessionId 0bf8ae3f-c0dd-c8b7-ff95-46dd214e577a

detox info 10: Launching com.digniti.ClassApp...

detox verb 10: stdout: com.digniti.ClassApp: 10715

detox verb 10: stdout:

detox info 10: com.digniti.ClassApp launched. The stdout and stderr logs were recreated, you can watch them with:

        tail -F $HOME/Library/Developer/CoreSimulator/Devices/5BABCDC9-5EAF-4E60-96C0-F78309091348/data/tmp/detox.last_launch_app_log.{out,err}

detox verb ws send: {"type":"isReady","params":{},"messageId":-1000}

detox verb ws onMessage: {"type":"ready","messageId":-1000,"params":{}}

detox verb ws

  Login

detox verb ws send: {"type":"reactNativeReload","params":{},"messageId":-1000}

detox verb ws onMessage: {"type":"ready","messageId":-1000,"params":{}}

detox verb ws send: {"type":"cleanup","params":{"stopRunner":true},"messageId":12}

detox verb ws onMessage: {"type":"cleanupDone","messageId":12,"params":{}}

detox verb ws

detox verb 11: /usr/bin/xcrun simctl shutdown 5BABCDC9-5EAF-4E60-96C0-F78309091348

detox info 11: Shutting down 5BABCDC9-5EAF-4E60-96C0-F78309091348...

detox info 11: 5BABCDC9-5EAF-4E60-96C0-F78309091348 shut down

  0 passing (3m)

  1 failing

  1) Login

       should not login with email (wrong password):

     Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

child_process.js:614

    throw err;

    ^

Error: Command failed: node_modules/.bin/mocha test/e2e --opts test/e2e/mocha.opts --configuration ios.sim.release --loglevel verbose --cleanup

    at checkExecSyncError (child_process.js:574:11)

    at Object.execSync (child_process.js:611:13)

    at runMocha (/Users/travis/build/classapp/remy/node_modules/detox/local-cli/detox-test.js:72:6)

    at Object.<anonymous> (/Users/travis/build/classapp/remy/node_modules/detox/local-cli/detox-test.js:50:5)

    at Module._compile (module.js:662:30)

    at Object.Module._extensions..js (module.js:673:10)

    at Module.load (module.js:575:32)

    at tryModuleLoad (module.js:515:12)

    at Function.Module._load (module.js:507:3)

    at Function.Module.runMain (module.js:703:10)

tail -F $HOME/Library/Developer/CoreSimulator/Devices/5BABCDC9-5EAF-4E60-96C0-F78309091348/data/tmp/detox.last_launch_app_log.err
2018-02-22 18:51:51.715 ClassApp[10715:28805] Tapping on key: l.

2018-02-22 18:51:51.772 ClassApp[10715:28805] Attempting to type key ..

2018-02-22 18:51:51.773 ClassApp[10715:28805] Tapping on key: ..

2018-02-22 18:51:51.929 ClassApp[10715:28805] Attempting to type key c.

2018-02-22 18:51:51.930 ClassApp[10715:28805] Tapping on key: c.

2018-02-22 18:51:52.020 ClassApp[10715:28805] Attempting to type key o.

2018-02-22 18:51:52.020 ClassApp[10715:28805] Tapping on key: o.

2018-02-22 18:51:52.095 ClassApp[10715:28805] Attempting to type key m.

2018-02-22 18:51:52.098 ClassApp[10715:28805] Tapping on key: m.

2018-02-22 18:53:41.290 ClassApp[10715:29688] XPC connection interrupted

mine is the same error, by the way, me is in local with iPhone 8 simulator, could you run succeed on your local machine?

We've seen many Travis failures due to Travis, not just in Detox projects, but native as well. It's just a flaky system, unfortunately.

The logs don't seem to align, after reloadReactNative the app responds and tell that its ready, and then there's a void, no invocation happens, I can't understand how the device log shows key presses.
  Login

detox verb ws send: {"type":"reactNativeReload","params":{},"messageId":-1000}

detox verb ws onMessage: {"type":"ready","messageId":-1000,"params":{}}

detox verb ws send: {"type":"cleanup","params":{"stopRunner":true},"messageId":12}

detox verb ws onMessage: {"type":"cleanupDone","messageId":12,"params":{}}

It is indeed @LeoNatan. We've tried to increase the timeout on mocha.opts, now it looks like this:
detox info 10: com.digniti.ClassApp launched.  If it exists, adjust the matcher so that it accurately matches element.\"\n}\n\nError Trace: [\n  {\n    \"Description\" : \"Interaction cannot continue because the desired element was not found.\",\n    \"Error Domain\" : \"com.google.earlgrey.ElementInteractionErrorDomain\",\n    \"Error Code\" : \"0\",\n    \"File Name\" : \"GREYElementInteraction.m\",\n    \"Function Name\" : \"-[GREYElementInteraction matchedElementsWithTimeout:error:]\",\n    \"Line\" : \"124\"\n  }\n]"}}

detox verb ws

    1) should not login with email (wrong password)

detox verb ws send: {"type":"cleanup","params":{"stopRunner":false},"messageId":12}

detox verb ws onMessage: {"type":"cleanupDone","messageId":12,"params":{}}

detox verb ws

detox verb 11: /usr/bin/xcrun simctl shutdown 5BABCDC9-5EAF-4E60-96C0-F78309091348

detox info 11: Shutting down 5BABCDC9-5EAF-4E60-96C0-F78309091348...

detox info 11: 5BABCDC9-5EAF-4E60-96C0-F78309091348 shut down

  0 passing (4m)

  1 failing

  1) Login

       should not login with email (wrong password):

     Error: Error: Cannot find UI element.

Exception with Action: {

  "Action Name" : "Type '1235'",

  "Element Matcher" : "(((respondsToSelector(accessibilityIdentifier) && accessibilityID('LoginInputPassword')) && !(kindOfClass('RCTScrollView'))) || (kindOfClass('UIScrollView') && ((kindOfClass('UIView') || respondsToSelector(accessibilityContainer)) && ancestorThatMatches(((respondsToSelector(accessibilityIdentifier) && accessibilityID('LoginInputPassword')) && kindOfClass('RCTScrollView'))))))",

  "Recovery Suggestion" : "Check if the element exists in the UI hierarchy printed below. If it exists, adjust the matcher so that it accurately matches element."

}

but as we can see below, everything works fine locally @lixufei
Login
    ✓ should not login with email (wrong password) (14412ms)
    ✓ should not login with email (wrong email) (12607ms)
    ✓ should not login with phone (wrong phone) (17741ms)
    ✓ should not login with phone (wrong password) (17689ms)
    ✓ should login with phone (17947ms)

here is my matcher: await element(by.id('LoginInputPassword')).typeText(password);
<TextInput
              ref={(c) => { this.input = c; }}
              testID={this.props.testID}
              ...

Hi all, we've encountered this error too (without resolution, yet), and my current hypothesis is that the travis iOS simulator has "Connect hardware keyboard" enabled, basically disabling detox to use software keyboard. I tried
        - rm ~/Library/Preferences/com.apple.iphonesimulator.plist
        - defaults write com.apple.iphonesimulator ConnectHardwareKeyboard 0

in before_script: but that didn't help, unfortunately.

I have same error.
Detox, Node, Device, Xcode and macOS Versions

Detox: 7.0.1
Node: 8.7.0
Device: simulator iphone 7   ios 11.1
Xcode: 9.1
macOS: high sierra 10.13.3

Steps to Reproduce
"before all" hook:      Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
Device and verbose Detox logs

child_process.js:635
throw err;

Error: Command failed: node_modules/.bin/mocha e2e --opts e2e/mocha.opts
at checkExecSyncError (child_process.js:592:13)
at Object.execSync (child_process.js:632:13)
at runMocha (/Users/Kun/jijia_app_reactnative/node_modules/detox/local-cli/detox-test.js:72:6)
at Object. (/Users/Kun/jijia_app_reactnative/node_modules/detox/local-cli/detox-test.js:50:5)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)

I have same error.
Detox, Node, Device, Xcode and macOS Versions

Detox: 7.0.1
Node: 8.7.0
Device: simulator iphone 7   ios 11.1
Xcode: 9.1
macOS: high sierra 10.13.3

Steps to Reproduce
"before all" hook:      Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
Device and verbose Detox logs

child_process.js:635
throw err;

Error: Command failed: node_modules/.bin/mocha e2e --opts e2e/mocha.opts
at checkExecSyncError (child_process.js:592:13)
at Object.execSync (child_process.js:632:13)
at runMocha (/Users/Kun/jijia_app_reactnative/node_modules/detox/local-cli/detox-test.js:72:6)
at Object. (/Users/Kun/jijia_app_reactnative/node_modules/detox/local-cli/detox-test.js:50:5)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.3.0
Time: Thu Aug 04 2016 19:35:13 GMT 0530 (India Standard Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\Bhavik\AppData\Local\GPMDP_3\app-3.3.0\resources\app\build\inject\GPMWebView\interface\customNavigation\mouseButtonNavigation.js:9:1167.
    at BrowserWindow.callIntoRenderer (C:\Users\Bhavik\AppData\Local\GPMDP_3\app-3.3.0\resources\electron.asar\browser\rpc-server.js:186:19)
    at emitTwo (events.js:111:20)
    at BrowserWindow.emit (events.js:191:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #1286


Expressions in sidenav

This PR exposes in the sidenav the new pages on expressions and constants added in https://github.com/cockroachdb/docs/pull/1008. Plus some minor cleanup.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a5ca1115f7bcd71ff9defeaa9fb2cc6499a01f8f/

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Missing tooltips in OSX

Expected behavior
Hovering over any icon should show a tooltip of what it will do.  (eg. I didn't expect the "chat" icon to take me here, it would be nice if the tooltip was "Submit a new issue on github")
Actual behavior
Nothing happens on mouse hover
Information about the Issue
OSX, app v 0.10.2
Steps to reproduce the behavior

Hover over any icon in the UI
nothing happens, no tooltip.  Which makes the user less confident in clicking, because who knows what it will do!

The general idea was that the icons were explicit enough to provide the user with the action behind them.
Feel free to create a PR that will implement all of the tooltip you speak of :)


Adding Edges to previously created Nodes

I am updating the graph from a stream of input data. I am updating the Nodes separately from the Edges.
From what I can see, the supported pattern is that I add the nodes and the edges that connect the nodes in the same commit. I did not see a way to create a node then at a later time add an edge to a node that had already been committed without adding the node to the Node map first. If I do that, it appears as though the node would be pushed to redis again.
Am I correct?

Let's first create two nodes:
graph.query g "create (x1 {n:1})"
graph.query g "create (x2 {n:2})"

Now, let's find these nodes and connect them with a new relationship:
graph.query g "match (x1 {n:1}), (x2 {n:2}) merge (x1)-[r:R]->(x2) return x1,r,x2"


Private worlds

Those worlds won't be shown on the lobby list. Instead you need to enter a special code referencing the world yo join it. Afterwards you won't need the code again.

All worlds will have a working "invite code" to join them. Making a world private will simply ensure it won't show at the public worlds list.

Well need:

[ ] A privileged verb that shows world information, including the world's invitation code.
[ ] Decide which value will be the world invitation code.
[ ] An option at the lobby that allows you to enter a world by invitation code.
[ ] On world creation, a field to specify whether you want the world to be public or private.
[ ] A verb to change a world from public to private or vice versa.
[ ] Modify the lobby so that it only shows public worlds and private worlds previously joined by you.

I consider this issue not essential for considering the game a finished product, so I'll de-schedule it.

This is related to #42. Have it in mind when writing this feature.

Ok, steps to resolve, rethought:

[ ] Add an "invite code" value to worlds.
[ ] Show that invite code in world info for all users.
[ ] Modify world creation so that the user can specify wether the world will be private or public.
[ ] A privileged verb to change a world from private to public and viceversa.
[ ] Add a lobby verb to join a world via invitation code.
[ ] Modify the lobby world list so that it only shows public worlds, worlds created by you and private worlds previously joined.

All above working. But this is not over, there are some not covered use cases regarding private worlds. From the users perspective

I want to make my public world private, but everyone that has entered it will still see it in their list! I want to wipe it from other user's joined worlds list.
My invite code has been made public without my consent. I want to change it.
I have joined too many private worlds, I want to forget some of them so that they won't show up in my list anymore.

1 and 2 won't be supported for now. Users will have to be responsible about their worlds privacy.
3 will have its own issue.


Datetime inconsistency between Qdrant local and remote

Specifying datetime without a TZ works as expected when using a Qdrant server but fails with Qdrant local.
from qdrant_client import QdrantClient, models

client = QdrantClient(":memory:") # client = QdrantClient("http://localhost:6333") works fine

COLLECTION_NAME = "test"

client.recreate_collection(
    COLLECTION_NAME, models.VectorParams(size=384, distance=models.Distance.COSINE)
)

client.upsert(
    COLLECTION_NAME,
    [
        models.PointStruct(
            id=1, vector=[0.1] * 384, payload={"date": "1969-07-21T20:17:40"}
        )
    ],
)

results, _next = client.scroll(
    COLLECTION_NAME,
    scroll_filter=models.Filter(
        must=[
            models.FieldCondition(
                key="date", range=models.DatetimeRange(lte="2000-09-21T20:20:30")
            )
        ]
    ),
)

print(results)

TRACEBACK
Traceback (most recent call last):
  File "/Users/anush/Desktop/qtest/main.py", line 19, in <module>
    results, _next = client.scroll(
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/qdrant_client.py", line 900, in scroll
    return self._client.scroll(
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/qdrant_local.py", line 424, in scroll
    return collection.scroll(
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/local_collection.py", line 938, in scroll
    return self._scroll_by_id(
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/local_collection.py", line 981, in _scroll_by_id
    payload_mask = calculate_payload_mask(
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/payload_filters.py", line 261, in calculate_payload_mask
    if check_filter(payload_filter, payload, ids_inv[i]):
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/payload_filters.py", line 232, in check_filter
    if not check_must(payload_filter.must, payload, point_id):
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/payload_filters.py", line 202, in check_must
    return all(check_condition(condition, payload, point_id) for condition in conditions)
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/payload_filters.py", line 202, in <genexpr>
    return all(check_condition(condition, payload, point_id) for condition in conditions)
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/payload_filters.py", line 171, in check_condition
    return any(check_range_interface(condition.range, v) for v in values)
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/payload_filters.py", line 171, in <genexpr>
    return any(check_range_interface(condition.range, v) for v in values)
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/payload_filters.py", line 94, in check_range_interface
    return check_datetime_range(condition, value)
  File "/Users/anush/.pyenv/versions/3.9.5/lib/python3.9/site-packages/qdrant_client/local/payload_filters.py", line 120, in check_datetime_range
    and (condition.lte is None or dt <= condition.lte)
TypeError: can't compare offset-naive and offset-aware datetimes

thanks for pointing it out
#538

available as of qdrant-client==1.8.1


Borders uneven and too big

Likely due to 1:1 ratio, 16:9 would be a better compromise.

Fix attempt with 762f60f.
Reworked bordered pictures from 1:1 into 16:9. Also borders were made smaller.

Fixed with 762f60f (not documented but also reworked background pictures).
Top-leftmost pixel doesn't color text. I don't know how I took this from rEFInd's docs.
We use solid colors by default regardless.


[Bug] [Tables]

Description
I have a table with custom columns that I changed the names of. If my tables has rows, no problem, but if it has no row, the custom columns show with their IDs rather than with the nice names, in my case it shows customColumn1. As soon as there is a least one row, the problem is solved.

Table widget issues are compiled in #3248

@prapullac Can you verify this issue? I can't see this issue existing anymore in release.

@riodeuno Unable to reproduce the issue on release.

@riodeuno Unable to reproduce the issue on release.


Can operator be expanded to allow for ScyllaDB deployment?

ScyllaDB is a drop-in replacement for Cassandra. Does it require more on the operator side than just a few small changes?

Hey @iandebeer, we have a few parameters that are available in the docker image we built, and we use a Jolokia agent to interact with Cassandra nodes. As long as those variables and the Jolokia agent are available in the scyllaDB image it should not be a problem.
They are also working on a side car in Cassandra 4 which will led us to a replacement of our jolokia call. Could be a problem to support ScyllaDB in the futur. Or we'll need to implement different functions for the pod operations depending on the type of database used.
Take a look at https://github.com/Orange-OpenSource/cassandra-image/blob/master/files/run.sh.
I'm eager to see Cassandra official docker image being released to close that other project.

Hi @iandebeer,
We have changed our architectur and are now using InitContainers to bootstrap our Cassandra docker Image. I've tested it with Scylladb but we need to make use of dedicated bootstrap image i for scylla. This is the bootstrapImage we uses for Cassandra: https://github.com/Orange-OpenSource/cassandra-k8s-operator/tree/master/docker/bootstrap
If you like you can submit a PR for a ScyllaDB Bootstrap image :)


SAK-29247 Previous method code but accessing by gbItemId

The code of method getAssignmentScoreString(final String gradebookUid, final String assignmentName, final String studentUid), but accessing by gbItemId.

How did you get multiple gradebook items in the gradebook with the same name? There is a check for this in the impl already when creating:
if (assignmentNameExists(session, asn.getName(), asn.getGradebook()))
{
throw new ConflictingAssignmentNameException("You cannot save multiple assignments in a gradebook with the same name");
}

I believe external tools can do it through the API. We has some issues like
https://jira.sakaiproject.org/browse/SAK-27494
There might be other ways to do it. Basically the problem there is because there is a column to indicate if the gradebook item is removed. And if you remove the item you can re-use the name, so there's no constraints. Since you could have a constraint on (gradebook_id, name) but not for both allowing removed and not removed that all becomes a problem. You'd have had to have had two tables I guess in the database design?

That is possible with gradebook2. I don't know if this check could be skipped in gradebook importing grade items from assignment tool or tests&quizzes tool.

Yes this is definitely poor database design. There definitely should be a unique constraint on these columns. That would have prevented SAK-27494.
Difficult to add now but with a few modifications to the columns it might be doable.
Interested to know if there are other ways this can be bypassed?

I tried to create gradebook items with duplicated name in a nightly server: importing from excel file, publishing from samigo, publishing from assignments tool,... and I couldn't do it. But you can do it using external tools through the API, for example with Gradebook2 you can easily create different assignments with the same name.
Then, If the gbItemId is unique and assignmentName should be unique but it can actually be duplicated by external tools (i.e.: we have 146 items duplicated) I believe that this patch makes sense, doesn't it?
The code of getAssignmentScoreString that retrieves scores from a gbItemId should query by gbItemId instead of querying by an assignmentName obtained from the gbItemId.
This patch is already working in our local instance of sakai. Any thoughts about it?
Thanks.

We've got this in production for two weeks without any issue.


clear diagnostic after format

DISCLAIMER: It doesn't work for LSP format.  i tried to clear the diagnostics after the "format" but for some reason, guard adds the diagnostics from before the format.
Partially solves: https://github.com/nvimdev/guard.nvim/issues/22
Need to solve the LSP format too

hide just hide the diagnostics. clear should resend request to tool then get result and reset if empty clean right ?

hide just hide the diagnostics. clear should resend request to tool then get result and reset if empty clean right ?

hide just hide the diagnostics. clear should resend request to tool then get result and reset if empty clean right ?

vim.lsp.diagnostic.clear()		Use |vim.diagnostic.hide()| instead.

at Neovim docs

this clear not vim.diagnostic.clear . I mean after you do textchanged or insert leave it should clear diagnostic first . then respawn tool for lint .

test with pylint. when i edit the virtual text will change.. i think  i need test with rubocop.. could you provide some test codes?

test with pylint. when i edit the virtual text will change.. i think i need test with rubocop.. could you provide some test codes?

The ruby setup for you:
https://github.com/otavioschwanck/rubocop_test
Install ruby, run bundle install on the folder, open the file.rb, run the formatter.
OBS: This problem is recent, when i first started using the guard, it was not happening.
After this commit, the diagnostics stops being cleared:
https://github.com/nvimdev/guard.nvim/commit/5a20e74cc828aa019cf323c18a68b95bbc39802f

hmm I think it has been fixed .

hmm I can't reproduce maybe it has been fixed . could you try latest commit

the diagnostics are still not being cleared, even with last commit.


npm update ionic fails

Any ideas why I get this "cordova error" while I'm trying to update my Ionic CLI?
# npm -g update ionic
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
/usr/local/lib
└── (empty)

npm WARN In<EMAIL_ADDRESS>replacing bundled version of semver with<EMAIL_ADDRESS>npm WARN In<EMAIL_ADDRESS>replacing bundled version of ionic-app-lib with<EMAIL_ADDRESS>npm ERR! Linux 4.4.0-38-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "-g" "update" "ionic"
npm ERR! node v6.6.0
npm ERR! npm  v3.10.8
npm ERR! path /usr/local/lib/node_modules/.staging/ansi-392b32ed
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/ansi-392b32ed' -> '/usr/local/lib/node_modules/ionic/node_modules/cordova-lib/node_modules/ansi'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/ansi-392b32ed' -> '/usr/local/lib/node_modules/ionic/node_modules/cordova-lib/node_modules/ansi'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     ./npm-debug.log
npm ERR! code 1

.
The relevant npm-debug log is:
...
54024 silly lifecycle<EMAIL_ADDRESS>no script for preinstall, continuing
54025 silly lifecycle<EMAIL_ADDRESS>no script for preinstall, continuing
54026 silly lifecycle<EMAIL_ADDRESS>no script for preinstall, continuing
54027 silly lifecycle<EMAIL_ADDRESS>no script for preinstall, continuing
54028 silly doReverseSerial remove 0
54029 silly doSerial move 0
54030 silly doSerial finalize 275
54031 silly finalize /usr/local/lib/node_modules/ionic/node_modules/cordova-lib/node_modules/ansi
54032 verbose unlock done using /root/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
54033 silly rollbackFailedOptional Starting
54034 silly rollbackFailedOptional Finishing
54035 silly runTopLevelLifecycles Finishing
54036 silly install printInstalled
54037 warn In<EMAIL_ADDRESS>replacing bundled version of semver with<EMAIL_ADDRESS>54038 verbose If you need help, you may report this error at:
54038 verbose     <https://github.com/npm/npm/issues>
54039 warn In<EMAIL_ADDRESS>replacing bundled version of ionic-app-lib with<EMAIL_ADDRESS>54040 verbose If you need help, you may report this error at:
54040 verbose     <https://github.com/npm/npm/issues>
54041 verbose stack Error: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/ansi-392b32ed' -> '/usr/local/lib/node_modules/ionic/node_modules/cordova-lib/node_modules/ansi'
54041 verbose stack     at destStatted (/usr/local/lib/node_modules/npm/lib/install/action/finalize.js:25:7)
54041 verbose stack     at FSReqWrap.oncomplete (fs.js:123:15)
54041 verbose stack
54041 verbose stack Error: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/ansi-392b32ed' -> '/usr/local/lib/node_modules/ionic/node_modules/cordova-lib/node_modules/ansi'
54041 verbose stack     at Error (native)
54042 verbose cwd /media/zikula/git/gitlab/ionic
54043 error Linux 4.4.0-38-generic
54044 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "-g" "update" "ionic"
54045 error node v6.6.0
54046 error npm  v3.10.8
54047 error path /usr/local/lib/node_modules/.staging/ansi-392b32ed
54048 error code ENOENT
54049 error errno -2
54050 error syscall rename
54051 error enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/ansi-392b32ed' -> '/usr/local/lib/node_modules/ionic/node_modules/cordova-lib/node_modules/ansi'
54052 error enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/ansi-392b32ed' -> '/usr/local/lib/node_modules/ionic/node_modules/cordova-lib/node_modules/ansi'
54052 error enoent This is most likely not a problem with npm itself
54052 error enoent and is related to npm not being able to find a file.
54053 verbose exit [ -2, true ]

.
Thanks in advance!

I guess you should uninstall and install again

When updating global npm dependencies, I think it is better to use the install keyword:
npm i -g ionic

You can use tools like npm-check-updates or updtr to help you monitor your dependencies.

Could you take a look at the upgrade guide for Ionic RC0.  This could provide some steps that you might have missed during the update process. https://github.com/driftyco/ionic/blob/master/CHANGELOG.md#steps-to-upgrade-to-rc0

@jdat82 I did that with the same result :(
@jthoms1 Indeed, I had the beta before and I needed to execute:
npm uninstall -g ionic

Thanks!


Does this have any advantages over https://github.com/RadKod/v-lazy-component ?

It seems https://github.com/RadKod/v-lazy-component supersedes the functionality here, and allows for more flexibility. E.g. specifying type attributes in source.

Also I think a lot of ppl are using this plugin unnecessarily when <img src="image.jpg" alt="..." loading="lazy"> will suffice. I think it should be mentioned in the docs.

The purposes are different. loading="lazy" could be implemented by this lib under the hood, but it's not the only functionality it offers. Feel free to create an issue or PR with proposals


make polymer's build.dart smarter about entrypoints

Now that the information is also in the pubspec.yaml, let's read it from there and not specify it twice.
This should make it very easy to write a build.dart as a single line Dart script:
  export 'package:polymer/builder.dart'

This issue has been moved to dart-lang/polymer-dart#458.


Fix #1448

fixes #1448
@grokys Why do we need formatted text invalidation on SelectionStart and SelectionEnd changes?
Removing this subscription seems to fix the issue.

We need to invalidate the formatted text because we change the foreground color for the selected text. You can see that with this change, the foreground color of the selected text doesn't change to white.

@grokys wow, I totally missed that!


New Feature Request - Disable PCAP download in viewer

It would be helpful to be able to control the ability to download PCAP on a per user basis

Interesting. Would you also want to stop the display of the session/packet contents through the viewer?

If possible yes but if so can we split that out into 2 separate controls?

added to #957


copr: Add vectorized left

Signed-off-by: gauss<EMAIL_ADDRESS>PCP #5751
What have you changed?
Add vectorized left
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?

Unit test
Integration test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No
Does this PR affect tidb-ansible?
No

@sre-bot /run-integration-copr-test copr-test=pr/60

@sre-bot /run-integration-copr-test copr-test=pr/60

@sre-bot /run-integration-copr-test copr-test=pr/60

@sre-bot /run-integration-copr-test copr-test=pr/60

@sre-bot /run-integration-copr-test copr-test=pr/60

/merge


[zsh] fix completion from specified path prefix when set FZF_COMPLEON_TRIGGER=;

Merged as https://github.com/junegunn/fzf/commit/b911af200c4ed4085a76d3e0a12458ccba2d3b3f.
Thanks!


Multi-serve images doesn't seem to be working

Hey,
Really nice plugin and I really want to use it. However I couldn't get the multi-serve images to work so I checked you demo page (http://dinbror.dk/blazy/) and I'm always getting the big bear image regardless of the screen size.
I'm using Windows 7 using Chrome 40.0.2214.111 and version 1.3.1 of bLazy.
Screenshot @ 340px:

Screenshot @ 1260px:

Thanks,
Fitz

Ah, you are looking at the device width in this case my monitor.
My problem is I don't always have my screen maximised to 1920px, so the images won't pick the correct one. I've seen in a previous reply this is how you want it to work, hence why I've closed it.


TypeError: unhashable type: 'list' when importing dask-jobqueue

Describe the issue:
I have access to a computation cluster in my university. I wanted to try SGECluster, so I installed in a fresh virtual environment "dask-jobqueue". When I try to import it, it raises a TypeError.
Minimal Complete Verifiable Example:
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $python3 -m pip install -U pip
(venv) $ python3 -m pip install dask-jobqueue
(venv) $ python3
Python 3.9.1 (default, Aug  3 2021, 10:37:51)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dask_jobqueue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/saas/venv/lib/python3.9/site-packages/dask_jobqueue/__init__.py", line 3, in <module>
    from .core import JobQueueCluster
  File "/home/saas/venv/lib/python3.9/site-packages/dask_jobqueue/core.py", line 19, in <module>
    from distributed.core import Status
  File "/home/saas/venv/lib/python3.9/site-packages/distributed/__init__.py", line 23, in <module>
    from distributed.actor import Actor, ActorFuture, BaseActorFuture
  File "/home/saas/venv/lib/python3.9/site-packages/distributed/actor.py", line 13, in <module>
    from distributed.client import Future
  File "/home/saas/venv/lib/python3.9/site-packages/distributed/client.py", line 117, in <module>
    from distributed.worker import get_client, get_worker, secede
  File "/home/saas/venv/lib/python3.9/site-packages/distributed/worker.py", line 120, in <module>
    from distributed.worker_memory import (
  File "/home/saas/venv/lib/python3.9/site-packages/distributed/worker_memory.py", line 56, in <module>
    WorkerDataParameter: TypeAlias = Union[
  File "/state/partition1/opt/python/3.9.1/lib/python3.9/typing.py", line 262, in inner
    return func(*args, **kwds)
  File "/state/partition1/opt/python/3.9.1/lib/python3.9/typing.py", line 339, in __getitem__
    return self._getitem(self, parameters)
  File "/state/partition1/opt/python/3.9.1/lib/python3.9/typing.py", line 451, in Union
    parameters = _remove_dups_flatten(parameters)
  File "/state/partition1/opt/python/3.9.1/lib/python3.9/typing.py", line 231, in _remove_dups_flatten
    return tuple(_deduplicate(params))
  File "/state/partition1/opt/python/3.9.1/lib/python3.9/typing.py", line 205, in _deduplicate
    all_params = set(params)
TypeError: unhashable type: 'list'

Anything else we need to know?:
Environment:

Dask version: 2024.4.4
Dask-jobqueue version: 0.8.2
Python version: 3.9.1
Operating System: CentOS 7 (from a Rocks cluster)
Install method (conda, pip, source): pip (dask installed automatically as a dependency)

Had this issue with my virtual environment, problem solved after updating environment to python=3.10

Hi, as reported in distributed: https://github.com/dask/distributed/issues/7956, this is a Python 3.9.1 bug. So you'll need to update Python in order to fix it.

Oh, okay. Sorry, didn't see it was from python. Thanks for the heads up


Move notebooks to /notebooks folder

This will make branches cleaner and make it easier to branch and merge. All code is written to be run from root directory so it will take some new code to get the file paths to line up

Implemented changes and merged them into 23-Add-Fractions and 10-2012-PUMS-Exploratory branches


Really looking forward to this, but unfortunately not working on MBA M2 with Sonoma 14.2.1

Hi Brian,
Let's start of by thanking you for making this. I've been looking all over!
Unfortunatly, the software currently isn't working for me. I've installed using Mint and can see both processes (UnmountVolumeAfterTimeMachine & DiskUnmountWatcher) appearing in Activity Monitor after connecting my disk.
After TimeMachine is done, the disk doesn't get unmounted. I've used console to dig up some debugging logs and this is what I found:
`default	21:59:17.459872+0100	kernel	spaceman_iterate_free_extents_internal:3207: disk5 nx_unmount detected while processing dev=0 cib=1 out of 60 cibs
default	21:59:20.596355+0100	mds	openStoresByUUIDArray volume:0x11f1f8bd7 unmounting:0 goingAway:0 shut:0 qos:0x11 count:1
default	21:59:20.627201+0100	UnmountVolumeAfterTimeMachine	No launchd agent set
default	21:59:20.628757+0100	UnmountVolumeAfterTimeMachine	launchd agent written
default	21:59:20.629981+0100	UnmountVolumeAfterTimeMachine	launchd agent startOnMount set
default	21:59:20.651477+0100	UnmountVolumeAfterTimeMachine	status: 0x600000fd80c0ublic(null)
default	21:59:20.651916+0100	UnmountVolumeAfterTimeMachine	[0x6000025d0000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon
default	21:59:20.651989+0100	UnmountVolumeAfterTimeMachine	[0x6000025d4000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.agent
default	21:59:20.779112+0100	backgroundtaskmanagementd	registerLaunchItem: found existing item: uuid=07334784-526E-46D9-BE30-431AF08F998E, name=UnmountVolumeAfterTimeMachine, type=legacy agent, disposition=[enabled, allowed, visible, notified], identifier=ie.BrianHenry.UnmountVolumeAfterTimeMachine, url=file:///Users/bramvandenhoven/Library/LaunchAgents/ie.BrianHenry.UnmountVolumeAfterTimeMachine.plist
default	21:59:20.779154+0100	backgroundtaskmanagementd	registerLaunchItem: checking for an updated legacy agent or daemon item: uuid=07334784-526E-46D9-BE30-431AF08F998E, name=UnmountVolumeAfterTimeMachine, type=legacy agent, disposition=[enabled, allowed, visible, notified], identifier=ie.BrianHenry.UnmountVolumeAfterTimeMachine, url=file:///Users/bramvandenhoven/Library/LaunchAgents/ie.BrianHenry.UnmountVolumeAfterTimeMachine.plist
default	21:59:20.826874+0100	backgroundtaskmanagementd	registerLaunchItem: updated item with same LWCR: uuid=07334784-526E-46D9-BE30-431AF08F998E, name=UnmountVolumeAfterTimeMachine, type=legacy agent, disposition=[enabled, allowed, visible, notified], identifier=ie.BrianHenry.UnmountVolumeAfterTimeMachine, url=file:///Users/bramvandenhoven/Library/LaunchAgents/ie.BrianHenry.UnmountVolumeAfterTimeMachine.plist
default	21:59:20.827419+0100	backgroundtaskmanagementd	effectiveItemDisposition: appURL=(null), type=legacy agent, url=file:///Users/bramvandenhoven/Library/LaunchAgents/ie.BrianHenry.UnmountVolumeAfterTimeMachine.plist, config={
BTMConfigArguments =     (
);
BTMConfigBundleIdentifiers =     (
);
BTMConfigExecutablePath = "/Users/bramvandenhoven/.mint/packages/github.com_BrianHenryIE_UnmountVolumeAfterTimeMachine/build/master/UnmountVolumeAfterTimeMachine";
BTMConfigLabel = "ie.BrianHenry.UnmountVolumeAfterTimeMachine";
}
default	21:59:21.086249+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=361.54, attribution={responsible={TCCDProcess: identifier=UnmountVolumeAfterTimeMachine, pid=1311, auid=501, euid=501, responsible_path=/Users/bramvandenhoven/.mint/packages/github.com_BrianHenryIE_UnmountVolumeAfterTimeMachine/build/master/UnmountVolumeAfterTimeMachine, binary_path=/Users/bramvandenhoven/.mint/packages/github.com_BrianHenryIE_UnmountVolumeAfterTimeMachine/build/master/UnmountVolumeAfterTimeMachine}, accessing={TCCDProcess: identifier=com.apple.timemachine.tmutil, pid=1318, auid=501, euid=501, binary_path=/usr/bin/tmutil}, requesting={TCCDProcess: identifier=com.apple.sandboxd, pid=361, auid=0, euid=0, binary_path=/usr/libexec/sandboxd}, },
default	21:59:21.096177+0100	tccd	AUTHREQ_SUBJECT: msgID=361.54, subject=/Users/bramvandenhoven/.mint/packages/github.com_BrianHenryIE_UnmountVolumeAfterTimeMachine/build/master/UnmountVolumeAfterTimeMachine,
default	21:59:21.098397+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier /Users/bramvandenhoven/.mint/packages/github.com_BrianHenryIE_UnmountVolumeAfterTimeMachine/build/master/UnmountVolumeAfterTimeMachine, type: 1: 0x15a12dcd0 at /Users/bramvandenhoven/.mint/packages/github.com_BrianHenryIE_UnmountVolumeAfterTimeMachine/build/master/UnmountVolumeAfterTimeMachine
default	21:59:21.103827+0100	tccd	Publishing <TCCDEvent: type=Create, service=kTCCServiceSystemPolicyAllFiles, identifier_type=Path, identifier=/Users/bramvandenhoven/.mint/packages/github.com_BrianHenryIE_UnmountVolumeAfterTimeMachine/build/master/UnmountVolumeAfterTimeMachine> to 0 subscribers: {
}
error	21:59:21.259923+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	21:59:21.316117+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	21:59:21.323663+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	21:59:21.325680+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	21:59:21.926613+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	21:59:21.927958+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	21:59:21.928782+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	21:59:21.929429+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	21:59:22.082093+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	21:59:22.201643+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:10.471842+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:10.478337+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:10.574641+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:10.595633+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:11.291917+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:11.322609+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:12.561949+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:12.570943+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:12.572861+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:13.174540+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:13.857530+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:14.067207+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:14.081307+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:14.087635+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:16.828457+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:16.867259+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:17.319103+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:17.322527+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.450134+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.486324+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.516930+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.516997+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.517040+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.517254+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.744609+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.762561+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.815260+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.843914+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.849390+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:18.856254+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:19.342114+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:19.948147+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:19.994831+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:20.999711+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:20.020036+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:20.023021+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:20.093293+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:20.804619+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:22.556375+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:22.556935+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:22.558450+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:22.660784+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:22.664397+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:22.691138+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:23.766680+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:23.766829+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:23.767836+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:23.771585+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:23.774735+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:23.774830+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:29.862929+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:43.806308+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:43.989729+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:44.999042+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:00:52.921618+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:18.195266+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:32.800400+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:32.803100+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:33.646553+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:33.646761+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:33.647341+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:33.720299+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

default	22:01:33.777791+0100	mds	BEGIN diskUnmountApprovalCallback
default	22:01:33.777832+0100	mds	END diskUnmountApprovalCallback - no volume
default	22:01:33.778810+0100	mdsync	diskUnmountApprovalCallback received:838860806
default	22:01:33.778978+0100	photolibraryd	Unmount of this disk is not interesting. Does not match
default	22:01:33.781601+0100	com.apple.CloudPhotosConfiguration	Unmount of this disk is not interesting. Does not match
default	22:01:33.781562+0100	com.apple.CloudPhotosConfiguration	Unmount of this disk is not interesting. Does not match
default	22:01:33.787148+0100	photolibraryd	Unmount of this disk is not interesting. Does not match
default	22:01:33.789962+0100	cloudphotod	Unmount of volume (null) () is not interesting. Does not match
default	22:01:33.790328+0100	diskarbitrationd	unmounted disk, id = /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/EmpreTECH-Macbook/2024-01-08-215354/Data?owner=0, ongoing.
default	22:01:33.794327+0100	kernel	apfs_log_op_with_proc:3110: disk3s5 unmounting volume com.apple.TimeMachine.2024-01-08-215354.local, requested by: diskarbitrationd (pid 330); parent: launchd (pid 1)
default	22:01:33.796799+0100	diskarbitrationd	unmounted disk, id = /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/EmpreTECH-Macbook/2024-01-08-215354/Data?owner=0, success.
default	22:01:33.794352+0100	kernel	apfs_vfsop_unmount:3471: disk3s5 snapshot deletion completed on the livefs
default	22:01:33.794356+0100	kernel	apfs_vfsop_unmount:3537: disk3 nx_num_vols_mounted is 6
default	22:01:33.794358+0100	kernel	apfs_vfsop_unmount:3550: all done.  going home.  (numMountedAPFSVolumes 11)
default	22:01:33.884161+0100	DiskUnmountWatcher	DiskUnmountWatcher: main
default	22:01:33.884340+0100	DiskUnmountWatcher	[0x153904f80] activating connection: mach=true listener=true peer=false name=com.apple.diskarbitration
default	22:01:33.884530+0100	DiskUnmountWatcher	DiskUnmountWatcher: main
default	22:01:33.884522+0100	DiskUnmountWatcher	[0x1539069f0] activating connection: mach=false listener=false peer=true name=com.apple.diskarbitration.peer.0x1539069f0
default	22:01:33.884638+0100	DiskUnmountWatcher	DiskUnmountWatcher: callback
default	22:01:33.884723+0100	DiskUnmountWatcher	DiskUnmountWatcher: callback find and release
default	22:01:33.884809+0100	DiskUnmountWatcher	NAHFindByLabelAndRelease: looking for label
default	22:01:33.885932+0100	DiskUnmountWatcher	[0x152e0af40] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon
default	22:01:33.886025+0100	DiskUnmountWatcher	[0x152e0b210] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.agent
default	22:01:33.894952+0100	DiskUnmountWatcher	[0x152f056d0] activating connection: mach=true listener=false peer=false name=com.apple.GSSCred
error	22:01:33.955313+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:33.956298+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

default	22:01:33.978935+0100	mds	BEGIN diskUnmountApprovalCallback
default	22:01:33.978971+0100	mds	END diskUnmountApprovalCallback - no volume
default	22:01:33.979546+0100	photolibraryd	Unmount of this disk is not interesting. Does not match
default	22:01:33.979674+0100	photolibraryd	Unmount of this disk is not interesting. Does not match
default	22:01:33.979856+0100	mdsync	diskUnmountApprovalCallback received:838860805
default	22:01:33.980010+0100	com.apple.CloudPhotosConfiguration	Unmount of this disk is not interesting. Does not match
default	22:01:33.980145+0100	com.apple.CloudPhotosConfiguration	Unmount of this disk is not interesting. Does not match
default	22:01:33.982522+0100	cloudphotod	Unmount of volume (null) () is not interesting. Does not match
default	22:01:33.982961+0100	diskarbitrationd	unmounted disk, id = /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/EmpreTECH-Macbook/2024-01-08-220018/Data?owner=0, ongoing.
default	22:01:34.000271+0100	diskarbitrationd	unmounted disk, id = /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/EmpreTECH-Macbook/2024-01-08-220018/Data?owner=0, failure.
error	22:01:34.000308+0100	diskarbitrationd	unable to unmount /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/EmpreTECH-Macbook/2024-01-08-220018/Data?owner=0 (status code 0x00000010).
default	22:01:34.013648+0100	backupd	DADisk_callback IntErr=1=0x1 Unmount of unknown blocked by dissenter PID=376 (/usr/libexec/lsd) PPID=1 (/sbin/launchd) status=0x0000c010 (File system reports this error: Resource busy)
default	22:01:34.155205+0100	backupd	waitForDACallBack IntErr=1=0x1 retSuccess=0 inDictToMonitor=now={
    Action = Unmount;
    Dissenter = 1;
    DissenterPID = 376;
    DissenterPPID = 1;
    DissenterStatus = 49168;
    Target = "file:///Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/EmpreTECH-Macbook/2024-01-08-220018/Data/";
}
default	22:01:34.155379+0100	backupd	DMManager(Mount) unmountVolumePath IntErr=1=0x1 retSuccess=0 outDict={
    Action = Unmount;
    Dissenter = 1;
    DissenterPID = 376;
    DissenterPPID = 1;
    DissenterStatus = 49168;
    Target = "file:///Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/EmpreTECH-Macbook/2024-01-08-220018/Data/";
}
error	22:01:34.159199+0100	backupd	Failed to unmount '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/EmpreTECH-Macbook/2024-01-08-220018/Data', Disk Management error: {
    Action = Unmount;
    Dissenter = 1;
    DissenterPID = 376;
    DissenterPPID = 1;
    DissenterStatus = 49168;
    Target = "file:///Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/EmpreTECH-Macbook/2024-01-08-220018/Data/";
}
error	22:01:34.159557+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:34.160515+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:34.191823+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:34.367058+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:35.829694+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:35.829754+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:36.433135+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:36.437072+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:36.438981+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:36.453577+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:37.513942+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:37.532088+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:01:37.532363+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:02:19.010205+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:02:21.244828+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

error	22:02:21.289592+0100	UnmountVolumeAfterTimeMachine	Could not parse line:

default	22:02:21.561573+0100	Console	update collaboration items for activityItems:(
    "default\t21:59:17.459872+0100\tkernel\tspaceman_iterate_free_extents_internal:3207: disk5 nx_unmount detected while processing dev=0 cib=1 out of 60 cibs\ndefault\t21:59:20.596355+0100\tmds\topenStoresByUUIDArray volume:0x11f1f8bd7 unmounting:0 goingAway:0 shut:0 qos:0x11 count:1\ndefault\t21:59:20.627201+0100\tUnmountVolumeAfterTimeMachine\tNo launchd agent set\ndefault\t21:59:20.628757+0100\tUnmountVolumeAfterTimeMachine\tlaunchd agent written\ndefault\t21:59:20.629981+0100\tUnmountVolumeAfterTimeMachine\tlaunchd agent startOnMount set\ndefault\t21:59:20.651477+0100\tUnmountVolumeAfterTimeMachine\tstatus: 0x600000fd80c0ublic(null)\ndefault\t21:59:20.651916+0100\tUnmountVolumeAfterTimeMachine\t[0x6000025d0000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon\ndefault\t21:59:20.651989+0100\tUnmountVolumeAfterTimeMachine\t[0x6000025d4000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.agent\ndefault\t21:59:20.779112+01
default	22:02:21.561671+0100	Console	request collaboration items for activity items:(
    "default\t21:59:17.459872+0100\tkernel\tspaceman_iterate_free_extents_internal:3207: disk5 nx_unmount detected while processing dev=0 cib=1 out of 60 cibs\ndefault\t21:59:20.596355+0100\tmds\topenStoresByUUIDArray volume:0x11f1f8bd7 unmounting:0 goingAway:0 shut:0 qos:0x11 count:1\ndefault\t21:59:20.627201+0100\tUnmountVolumeAfterTimeMachine\tNo launchd agent set\ndefault\t21:59:20.628757+0100\tUnmountVolumeAfterTimeMachine\tlaunchd agent written\ndefault\t21:59:20.629981+0100\tUnmountVolumeAfterTimeMachine\tlaunchd agent startOnMount set\ndefault\t21:59:20.651477+0100\tUnmountVolumeAfterTimeMachine\tstatus: 0x600000fd80c0ublic(null)\ndefault\t21:59:20.651916+0100\tUnmountVolumeAfterTimeMachine\t[0x6000025d0000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon\ndefault\t21:59:20.651989+0100\tUnmountVolumeAfterTimeMachine\t[0x6000025d4000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.agent\ndefault\t21:59:20.779112+01
`

I'm still running 14.1.1 on M1. Thanks for the logs.
My guess at what's happening is the syslog format is slightly different now. I had written a log parsing library, which UnmountVolumeAfterTimeMachine uses, before I learned that there is a supported MacOS API for reading logs now. Hopefully it's a simple to fix as changing to use that instead.
Might be a while before I look at this still.

Hi Brian,
Thanks for the quick reply and looking into this. I understand life gets in the way of stuff like this and appreciate anything you can do.
I’ll also try to have a go at fixing this, but I’m nowhere near your skill-level. If I do manage to fix it, I’ll let you know.
Met vriendelijke groet,
Best regards,
Bram van den Hoven
From: Brian Henry @.>
Date: Monday, 8 January 2024 at 23:56
To: BrianHenryIE/UnmountVolumeAfterTimeMachine @.>
Cc: brahov @.>, Author @.>
Subject: Re: [BrianHenryIE/UnmountVolumeAfterTimeMachine] Really looking forward to this, but unfortunately not working on MBA M2 with Sonoma 14.2.1 (Issue #2)
I'm still running 14.1.1 on M1. Thanks for the logs.
My guess at what's happening is the syslog format is slightly different now. I had written a log parsing libraryhttps://github.com/BrianHenryIE/BHSwiftOSLogStream, which UnmountVolumeAfterTimeMachine uses, before I learned that there is a supported MacOS API for reading logs nowhttps://developer.apple.com/documentation/oslog/oslogstore. Hopefully it's a simple to fix as changing to use that instead.
Might be a while before I look at this still.
—
Reply to this email directly, view it on GitHubhttps://github.com/BrianHenryIE/UnmountVolumeAfterTimeMachine/issues/2#issuecomment-1881951696, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFGLVAE5F2CEBORIKUW5IOTYNR2TJAVCNFSM6AAAAABBSCL56KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRHE2TCNRZGY.
You are receiving this because you authored the thread.Message ID: @.***>


[TACHYON-935] Added the usage of links in the documentation in the tachyon.client.file package

https://tachyon.atlassian.net/browse/TACHYON-935

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7014/
Test PASSed.

LGTM, thanks for the doc improvements!


Design system update - Change the fields' label

Design system update - Change the fields' label (text/area/number/search/checkbox/radio button, etc.) to use "primary-text" instead of "secondary-text"
Check with @mmarsoleta for more info.

The label color is assigned to be changed on the the design system, is not SPAR specific, I raised an issue on their repository.
Moving this to block, for now

[like]  Michelly Beatriz Marsoleta reacted to your message:

From: mgaseta @.>
Sent: Friday, August 18, 2023 2:52:36 PM
To: bcgov/nr-spar @.>
Cc: Michelly Beatriz Marsoleta @.>; Mention @.>
Subject: Re: [bcgov/nr-spar] Design system update - Change the fields' label (Issue #423)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
External Mail: Do not click links or open attachments unless you recognize the sender and know the content is safe.
The label color is assigned to be changed on the the design system, is not SPAR specific, I raised an issuehttps://github.com/bcgov/nr-fsa-theme/issues/78 on their repository.
Moving this to block, for now
—
Reply to this email directly, view it on GitHubhttps://github.com/bcgov/nr-spar/issues/423#issuecomment-1684037059, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX2FIJZG2F5LVRMBOYULPETXV56TJANCNFSM6AAAAAA3UKWE7A.
You are receiving this because you were mentioned.Message ID: @.***>

Also fixed 2 other bugs related to the update to use the nr-fsa-theme: one related to the text-style for checkboxes labels and other related to the accordion component size on the form review.
Since they are small changes we agreed to fix them in this issue.
The fixes can be checked here and here

Updated the issue for the new board of the Design System Team, link here.


dataset not a valid synonym for schema for snapshots when using bigquery

Describe the bug
Running with dbt=0.20.0
Encountered an error:
Compilation Error in snapshot orders_snapshot (snapshots/orders.sql)
  at path []: Snapshots must be configured with a 'strategy', 'unique_key', and 'target_schema'.

Steps To Reproduce
Follow the jaffle_shop tutorial for snapshots. I moved/added models/macros.
With config as per tutorial, run command: dbt snapshot
Success. Change the config as below, replacing:
target_database >> target_project and
target_schema >> target_dataset
{% snapshot orders_snapshot %}

{{
    config(
      target_project='daniel-bartley-sandbox',
      target_dataset='dbt_shop', # target_dataset is not a valid alternate syntax to target_schema
      unique_key='customer_payment_id',

      strategy='timestamp',
      updated_at='created_at',
    )
}}

select * from {{ ref('customer_payments__base_js') }}

{% endsnapshot %}

run command: dbt snapshot
Expected behavior
A clear and concise description of what you expected to happen.
In all other places I've tried project is an accepted synonym for database and dataset is an accepted synonym for schema.
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
System information
Which database are you using dbt with?

[ ] bigquery

The output of dbt --version:
installed version: 0.20.0
   latest version: 0.20.0

Up to date!

 The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.629739 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.631454 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.632980 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.695802 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.697576 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.699177 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.710692 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.712401 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.714228 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.762238 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.763926 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.769989 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.771906 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.774024 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.775780 (MainThread): 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1.
2021-08-05 11:53:48.853323 (MainThread): Sending event: {'category': 'dbt', 'action': 'load_project', 'label': '128fb603-3beb-4f0b-8fee-1cbd9d68c3f6', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10a8d2160>]}
2021-08-05 11:53:48.871220 (MainThread): write_gpickle is deprecated and will be removed in 3.0.Use pickle.dump(G, path, protocol)
2021-08-05 11:53:48.872053 (MainThread): Sending event: {'category': 'dbt', 'action': 'resource_counts', 'label': '128fb603-3beb-4f0b-8fee-1cbd9d68c3f6', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10a8b8250>]}
2021-08-05 11:53:48.872294 (MainThread): Found 14 models, 13 tests, 1 snapshot, 0 analyses, 575 macros, 0 operations, 3 seed files, 4 sources, 0 exposures
2021-08-05 11:53:48.874835 (MainThread):
2021-08-05 11:53:48.875231 (MainThread): Acquiring new bigquery connection "master".
2021-08-05 11:53:48.876035 (ThreadPoolExecutor-0_0): Acquiring new bigquery connection "list_daniel-bartley-sandbox".
2021-08-05 11:53:48.876227 (ThreadPoolExecutor-0_0): Opening a new connection, currently in state init
2021-08-05 11:53:50.692647 (ThreadPoolExecutor-1_0): Acquiring new bigquery connection "list_daniel-bartley-sandbox_dbt_shop".
2021-08-05 11:53:50.693312 (ThreadPoolExecutor-1_1): Acquiring new bigquery connection "list_daniel-bartley-sandbox_dbt_shop_seeds".
2021-08-05 11:53:50.693454 (ThreadPoolExecutor-1_0): Opening a new connection, currently in state closed
2021-08-05 11:53:50.693811 (ThreadPoolExecutor-1_2): Acquiring new bigquery connection "list_daniel-bartley-sandbox_dbt_shop_dbt_test__audit".
2021-08-05 11:53:50.694030 (ThreadPoolExecutor-1_1): Opening a new connection, currently in state init
2021-08-05 11:53:50.694256 (ThreadPoolExecutor-1_0): Client.dataset is deprecated and will be removed in a future version. Use a string like 'my_project.my_dataset' or a cloud.google.bigquery.DatasetReference object, instead.
2021-08-05 11:53:50.694382 (ThreadPoolExecutor-1_2): Opening a new connection, currently in state init
2021-08-05 11:53:50.694516 (ThreadPoolExecutor-1_1): Client.dataset is deprecated and will be removed in a future version. Use a string like 'my_project.my_dataset' or a cloud.google.bigquery.DatasetReference object, instead.
2021-08-05 11:53:50.695321 (ThreadPoolExecutor-1_2): Client.dataset is deprecated and will be removed in a future version. Use a string like 'my_project.my_dataset' or a cloud.google.bigquery.DatasetReference object, instead.
2021-08-05 11:53:51.403238 (MainThread): 21:53:51 | Concurrency: 4 threads (target='dev')
2021-08-05 11:53:51.403564 (MainThread): 21:53:51 |
2021-08-05 11:53:51.407555 (Thread-1): Began running node snapshot.dbt_shop.orders_snapshot
2021-08-05 11:53:51.407954 (Thread-1): 21:53:51 | 1 of 1 START snapshot dbt_shop.orders_snapshot....................... [RUN]
2021-08-05 11:53:51.408414 (Thread-1): Acquiring new bigquery connection "snapshot.dbt_shop.orders_snapshot".
2021-08-05 11:53:51.408580 (Thread-1): Compiling snapshot.dbt_shop.orders_snapshot
2021-08-05 11:53:51.414652 (Thread-1): finished collecting timing info
2021-08-05 11:53:51.439832 (Thread-1): Opening a new connection, currently in state closed
2021-08-05 11:53:51.440186 (Thread-1): Client.dataset is deprecated and will be removed in a future version. Use a string like 'my_project.my_dataset' or a cloud.google.bigquery.DatasetReference object, instead.
2021-08-05 11:53:52.070976 (Thread-1): unclosed <ssl.SSLSocket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('<IP_ADDRESS>', 59472), raddr=('<IP_ADDRESS>', 443)>
2021-08-05 11:53:52.071160 (Thread-1): unclosed <ssl.SSLSocket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('<IP_ADDRESS>', 59474), raddr=('<IP_ADDRESS>', 443)>
2021-08-05 11:53:52.071301 (Thread-1): unclosed <ssl.SSLSocket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('<IP_ADDRESS>', 59477), raddr=('<IP_ADDRESS>', 443)>
2021-08-05 11:53:52.079961 (Thread-1): Client.dataset is deprecated and will be removed in a future version. Use a string like 'my_project.my_dataset' or a cloud.google.bigquery.DatasetReference object, instead.
2021-08-05 11:53:52.805364 (Thread-1): On snapshot.dbt_shop.orders_snapshot: /* {"app": "dbt", "dbt_version": "0.20.0", "profile_name": "dbt_shop", "target_name": "dev", "node_id": "snapshot.dbt_shop.orders_snapshot"} */
create or replace table daniel-bartley-sandbox.dbt_shop.orders_snapshot__dbt_tmp
OPTIONS(
expiration_timestamp=TIMESTAMP_ADD(CURRENT_TIMESTAMP(), INTERVAL 12 hour)
)
as (
with snapshot_query as (
select * from daniel-bartley-sandbox.dbt_shop.customer_payments__base_js
),

snapshotted_data as (

    select *,
        customer_payment_id as dbt_unique_key

    from `daniel-bartley-sandbox`.`dbt_shop`.`orders_snapshot`
    where dbt_valid_to is null

),

insertions_source_data as (

    select
        *,
        customer_payment_id as dbt_unique_key,
        created_at as dbt_updated_at,
        created_at as dbt_valid_from,
        nullif(created_at, created_at) as dbt_valid_to,
        to_hex(md5(concat(coalesce(cast(customer_payment_id as string), ''), '|',coalesce(cast(created_at as string), '')))) as dbt_scd_id

    from snapshot_query
),

updates_source_data as (

    select
        *,
        customer_payment_id as dbt_unique_key,
        created_at as dbt_updated_at,
        created_at as dbt_valid_from,
        created_at as dbt_valid_to

    from snapshot_query
),

insertions as (

    select
        'insert' as dbt_change_type,
        source_data.*

    from insertions_source_data as source_data
    left outer join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key
    where snapshotted_data.dbt_unique_key is null
       or (
            snapshotted_data.dbt_unique_key is not null
        and (
            (snapshotted_data.dbt_valid_from < source_data.created_at)
        )
    )

),

updates as (

    select
        'update' as dbt_change_type,
        source_data.*,
        snapshotted_data.dbt_scd_id

    from updates_source_data as source_data
    join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key
    where (
        (snapshotted_data.dbt_valid_from < source_data.created_at)
    )
)

select * from insertions
union all
select * from updates

);
2021-08-05 11:53:56.763174 (Thread-1): Client.dataset is deprecated and will be removed in a future version. Use a string like 'my_project.my_dataset' or a cloud.google.bigquery.DatasetReference object, instead.
2021-08-05 11:53:57.248557 (Thread-1): Client.dataset is deprecated and will be removed in a future version. Use a string like 'my_project.my_dataset' or a cloud.google.bigquery.DatasetReference object, instead.
2021-08-05 11:53:57.909657 (Thread-1): Adding columns ([]) to table daniel-bartley-sandbox.dbt_shop.orders_snapshot".
2021-08-05 11:53:57.909890 (Thread-1): Client.dataset is deprecated and will be removed in a future version. Use a string like 'my_project.my_dataset' or a cloud.google.bigquery.DatasetReference object, instead.
2021-08-05 11:53:59.301559 (Thread-1): Client.dataset is deprecated and will be removed in a future version. Use a string like 'my_project.my_dataset' or a cloud.google.bigquery.DatasetReference object, instead.
2021-08-05 11:53:59.715680 (Thread-1): Writing runtime SQL for node "snapshot.dbt_shop.orders_snapshot"
2021-08-05 11:53:59.716243 (Thread-1): On snapshot.dbt_shop.orders_snapshot: /* {"app": "dbt", "dbt_version": "0.20.0", "profile_name": "dbt_shop", "target_name": "dev", "node_id": "snapshot.dbt_shop.orders_snapshot"} */
  merge into `daniel-bartley-sandbox`.`dbt_shop`.`orders_snapshot` as DBT_INTERNAL_DEST
using `daniel-bartley-sandbox`.`dbt_shop`.`orders_snapshot__dbt_tmp` as DBT_INTERNAL_SOURCE
on DBT_INTERNAL_SOURCE.dbt_scd_id = DBT_INTERNAL_DEST.dbt_scd_id

when matched
 and DBT_INTERNAL_DEST.dbt_valid_to is null
 and DBT_INTERNAL_SOURCE.dbt_change_type in ('update', 'delete')
    then update
    set dbt_valid_to = DBT_INTERNAL_SOURCE.dbt_valid_to

when not matched
 and DBT_INTERNAL_SOURCE.dbt_change_type = 'insert'
    then insert (`customer_payment_id`, `sales_order_id`, `payment_method`, `payment_status`, `payment_amount`, `created_at`, `_batched_at`, `dbt_updated_at`, `dbt_valid_from`, `dbt_valid_to`, `dbt_scd_id`)
    values (`customer_payment_id`, `sales_order_id`, `payment_method`, `payment_status`, `payment_amount`, `created_at`, `_batched_at`, `dbt_updated_at`, `dbt_valid_from`, `dbt_valid_to`, `dbt_scd_id`)
;

2021-08-05 11:54:02.892644 (Thread-1): On snapshot.dbt_shop.orders_snapshot: /* {"app": "dbt", "dbt_version": "0.20.0", "profile_name": "dbt_shop", "target_name": "dev", "node_id": "snapshot.dbt_shop.orders_snapshot"} */
drop table if exists daniel-bartley-sandbox.dbt_shop.orders_snapshot__dbt_tmp
2021-08-05 11:54:04.853901 (Thread-1): finished collecting timing info
2021-08-05 11:54:04.854511 (Thread-1): Sending event: {'category': 'dbt', 'action': 'run_model', 'label': '128fb603-3beb-4f0b-8fee-1cbd9d68c3f6', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10a7c8520>]}
2021-08-05 11:54:04.855009 (Thread-1): 21:54:04 | 1 of 1 OK snapshotted dbt_shop.orders_snapshot....................... [MERGE (0.0 rows, 13.1 KB processed) in 13.45s]
2021-08-05 11:54:04.855185 (Thread-1): Finished running node snapshot.dbt_shop.orders_snapshot
2021-08-05 11:54:04.856807 (MainThread): Acquiring new bigquery connection "master".
2021-08-05 11:54:04.857217 (MainThread): 21:54:04 |
2021-08-05 11:54:04.857379 (MainThread): 21:54:04 | Finished running 1 snapshot in 15.98s.
2021-08-05 11:54:04.857511 (MainThread): Connection 'master' was properly closed.
2021-08-05 11:54:04.857645 (MainThread): Connection 'snapshot.dbt_shop.orders_snapshot' was properly closed.
2021-08-05 11:54:04.857744 (MainThread): Connection 'list_daniel-bartley-sandbox_dbt_shop_seeds' was properly closed.
2021-08-05 11:54:04.857843 (MainThread): Connection 'list_daniel-bartley-sandbox_dbt_shop_dbt_test__audit' was properly closed.
2021-08-05 11:54:04.875870 (MainThread):
2021-08-05 11:54:04.876044 (MainThread): Completed successfully
2021-08-05 11:54:04.876167 (MainThread):
Done.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/main.py", line 125, in main
results, succeeded = handle_and_check(args)
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/main.py", line 203, in handle_and_check
task, res = run_from_args(parsed)
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/main.py", line 256, in run_from_args
results = task.run()
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/task/runnable.py", line 406, in run
self._runtime_initialize()
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/task/runnable.py", line 122, in _runtime_initialize
super()._runtime_initialize()
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/task/runnable.py", line 79, in _runtime_initialize
self.load_manifest()
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/task/runnable.py", line 66, in load_manifest
self.manifest = ManifestLoader.get_full_manifest(self.config)
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/parser/manifest.py", line 170, in get_full_manifest
manifest = loader.load()
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/parser/manifest.py", line 254, in load
self.parse_project(
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/parser/manifest.py", line 363, in parse_project
parser.parse_file(block)
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/parser/snapshots.py", line 80, in parse_file
self.parse_node(block)
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/parser/base.py", line 385, in parse_node
self.render_update(node, config)
File "/Users/daniel/git/dbrtly/dbt_shop/.venv/lib/python3.9/site-packages/dbt/parser/base.py", line 365, in render_update
raise CompilationException(msg, node=node) from exc
dbt.exceptions.CompilationException: Compilation Error in snapshot orders_snapshot (snapshots/orders.sql)
at path []: Snapshots must be configured with a 'strategy', 'unique_key', and 'target_schema'.

@dbrtly Thanks for opening! It's totally reasonable that you'd expect this to work, and I think it will only take a touch of movie magic to make it so.
Each data warehouse adapter is able to define custom aliases, when that warehouse uses a different word from the one dbt generally uses. To that end, there's a translate_aliases method that dbt already knows how to use when parsing project resources and their configs.
So I think this may be as simple as adding to the existing dbt-bigquery aliases:
https://github.com/dbt-labs/dbt/blob/d2dbe6afe4ecff25e4fa8ba471716bc8bd0ef760/plugins/bigquery/dbt/adapters/bigquery/connections.py#L104-L107
    _ALIASES = {
        'project': 'database',
        'dataset': 'schema',
        'target_project': 'target_database',
        'target_dataset': 'target_schema'
    }

There may be some cleverer way to detect that target_project should really use the project: database alias, and thereby translate to target_database, but I think that may be more trouble than it's worth. Snapshots are fairly unique in dbt, as far as wanting you to use a differently named config for this same basic functionality (explanation here).
In order to test this, I propose we simply adapt an existing snapshot-on-BigQuery test, switching target_database --> target_project and target_schema --> target_dataset:
https://github.com/dbt-labs/dbt/blob/d2dbe6afe4ecff25e4fa8ba471716bc8bd0ef760/test/integration/004_simple_snapshot_test/test-snapshots-bq/snapshot.sql#L5-L6
If my calculations are correct, this is a quite straightforward change, so I'm going to call it a good first issue. Daniel, any interest in contributing the fix for it? :)

Yes please I’ll do it
Thanks,
Daniel

From: Jeremy Cohen @.>
Sent: Saturday, August 14, 2021 7:53:15 AM
To: dbt-labs/dbt @.>
Cc: Daniel Bartley @.>; Mention @.>
Subject: Re: [dbt-labs/dbt] dataset not a valid synonym for schema for snapshots when using bigquery (#3694)
@dbrtlyhttps://github.com/dbrtly Thanks for opening! It's totally reasonable that you'd expect this to work, and I think it will only take a touch of movie magic to make it so.
Each data warehouse adapter is able to define custom aliases, when that warehouse uses a different word from the one dbt generally uses. To that end, there's a translate_aliases method that dbt already knows how to use when parsing project resources and their configs.
So I think this may be as simple as adding to the existing dbt-bigquery aliases:
https://github.com/dbt-labs/dbt/blob/d2dbe6afe4ecff25e4fa8ba471716bc8bd0ef760/plugins/bigquery/dbt/adapters/bigquery/connections.py#L104-L107
_ALIASES = {
    'project': 'database',
    'dataset': 'schema',
    'target_project': 'target_database',
    'target_dataset': 'target_schema',
}

There may be some cleverer way to detect that target_project should really use the project: database alias, and thereby translate to target_database, but I think that may be more trouble than it's worth. Snapshots are fairly unique in dbt, as far as wanting you to use a differently named config for this same basic functionality (explanation herehttps://docs.getdbt.com/faqs/snapshot-target-schema).
In order to test this, I propose we simply adapt an existing snapshot-on-BigQuery test, switching target_database --> target_project and target_schema --> target_dataset:
https://github.com/dbt-labs/dbt/blob/d2dbe6afe4ecff25e4fa8ba471716bc8bd0ef760/test/integration/004_simple_snapshot_test/test-snapshots-bq/snapshot.sql#L5-L6
If my calculations are correct, this is a quite straightforward change, so I'm going to call it a good first issue. Daniel, any interest in contributing the fix for it? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dbt-labs/dbt/issues/3694#issuecomment-898738149, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADLXPTMKLITM3ZQNBLFEBM3T4WH4XANCNFSM5BTWT3LQ.

I've had a stab at this here.
https://github.com/dbrtly/dbt
I can't get any of the integration tests to run. Does it use profiles.yml?
There's no dbt_project.yml. How do I set the project to use bigquery.

@dbrtly You're welcome to open a WIP draft PR against the main dbt repo!
Our integration tests scaffold a lot of dbt project setup, including a python object in place of a real dbt_project.yml file. To get set up to run them, you pass the JSON contents of a BigQuery service account keyfile to an env var named BIGQUERY_TEST_SERVICE_ACCOUNT_JSON.
Then, you can execute a specific integration test using pytest:
# in a virtualenv
pip install -r dev-requirements.txt
python3 -m pytest -s -m profile_bigquery test/integration/004_simple_snapshot_test

(Closed accidentally)


"zopen alt" is not working with perl

After installing curl , which, perl - zopen alt  gives the details of installed version for tools - curl and which, where as running it on perl  says "No currently available version of package 'perl'"

issue is due to -- grep "$needle-[^/]*$" and also when we query with perl5 with alt we get 2 options ,
1: perl5-blead
2: perl5-blead.20230605_161457.zos
But i was expecting only option 2 as o/p similar to curl

I tried it with latest meta , also did zopen init and followed steps below:
[HARITHA@ZOSCAN2B ~/meta_russel/meta]zopen install perl
- Querying remote repo for latest package information
Installing package: perl
- Installing perl...
- Downloading perl5-blead.20230605_161457.zos.pax.Z file from remote to zopen package cache...
- Downloaded perl5-blead.20230605_161457.zos.pax.Z file from remote to zopen package cache.
- Processing perl5-blead.20230605_161457.zos.pax.Z...
After this operation, 78.64 MB of additional disk space will be used.
Do you want to continue? [y/n]
y
- Expanding perl5-blead.20230605_161457.zos.pax.Z
- Expanded

- Integration complete
- Checking for env file
- .env file found, adding to profiled processing
- Sourcing environment to run any setup
Setting up perl5...
Setup completed.
- Checking for runtime dependencies
- No runtime dependencies found
Successfully installed perl
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$ zopen alt perl
No currently available version of package 'perl'
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$ zopen alt perl5
1: perl5-blead.20230605_161457.zos
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$ type perl
perl is /home/haritha/zopen_russel_24aug/usr/bin/perl
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$ perl
CEE3501S The module libperl.so was not found.
         The traceback information could not be determined.
Killed

Am still facing the same issue with zopen alt perl

This issue is fixed in branhc - https://github.com/DevonianTeuchter/meta/tree/use_package_ver_subdirs


Issue with coordinates of variants

Hello, thanks for the great tool and for your support.
I have aligned 2 (not scaffolded) assemblies of Phaseolus vulgaris (about 500 Mb) with minimap2 using this command:
minimap2 --MD -L -2 -ax asm5 -f 0.005 -t 10 -I 4G -K 500M -o  <reference.fasta> <query.fasta>
The alignment file (in sam format) was converted in delta format using a script available at: https://github.com/malonge/RaGOO/blob/master/sam2delta.py
I have used both the online version of Assemblytics and the 1.2.1 version available at https://github.com/MariaNattestad/Assemblytics, using 10,000, 100,000 and 50 as unique sequence length, maximum and minimum variant size respectively.
By visualizing the alignment (resulting from minimap2) with IGV visualizer, I have noticed that sometimes, especially in variants called within the alignment, the coordinates of the variants called by Assemblytics do not correspond.
Here below an example of incongruences between coordinates:

Do you have an explanation for these incongruences?
Thanks for your help,
Giovanni

Hi Giovanni
Have you tried other scripts for converting sam to delta?
Assemblytics calls variants largely by simply parsing the delta file, which I verified extensively with MUMmer show-aligns to see that they were producing the same results, so I'm surprised you saw this problem.
Do you have other ways of verifying that the sam2delta.py script is accurate? I'm guessing the IGV screenshot above is showing the sam file, but maybe there are ways of visualizing the delta file itself to ensure that it matches what is in the sam file?
Maria


[BUG] - VE11 universal loader not working - io_loadspec_twix - Niels Joode

Describe the bug
Data from universal sequence on Siemens is not correctly parsed on ve11. Average dimension is not defined correctly.
To Reproduce
Steps to reproduce the behavior:
Try loading Siemens universal editing MRS data from a ve11 scanner.

Fixed in #760


Document Attachments Publishers

Hi, can you add the following publishers for the Document Attachment functionality?

Table 1173 Document Attachment (new publisher called from beginning of SaveAttachment function)

LOCAL [IntegrationEvent] OnBeforeSaveAttachment(VAR DocumentAttachment : Record "Document Attachment";VAR RecRef : RecordRef;VAR FileName : Text;VAR TempBlob : TEMPORARY Record TempBlob)

Page 1173 Document Attachment Details (new publisher called from end of OpenForRecRef function)

LOCAL [IntegrationEvent] OnAfterOpenForRecRef(VAR DocumentAttachment : Record "Document Attachment";VAR RecRef : RecordRef)

Page 1173 Document Attachment Details

Expose OpenForRecRef as External

[External] OpenForRecRef(RecRef : RecordRef)

Page 1174 Document Attachment Factbox (new publisher called from begging of Documents - OnDrillDown())

LOCAL [IntegrationEvent] OnBeforeDocumentsDrillDown(VAR DocumentAttachment : Record "Document Attachment";VAR RecRef : RecordRef)

We cannot add ask #1 as it use FileName as parameter and this is not available on SaaS. We can do #2 and #3.

@AlexanderYakunin Can you do #1 without FileName parameter?
LOCAL [IntegrationEvent] OnBeforeSaveAttachment(VAR DocumentAttachment : Record "Document Attachment";VAR RecRef : RecordRef;VAR TempBlob : TEMPORARY Record TempBlob)


fix(jwks): update jsrsasign dependency to 10.2.0

Solves security vulnerability in angular-oauth2-oidc-jwks.
Closes #1061.

@manfredsteyer please proceed

@manfredsteyer  please try to review and merge this pr, I'm currently having an error in the build pipeline, this vulnerability causes a block.

This change fixes the critical vulnerability.

@manfredsteyer please, would you review this PR.


Implemented cucumberOpts.compiler for spec files

This fix will register all compilers defined in the cucumberOpts

Maybe something like https://github.com/webdriverio/wdio-mocha-framework/blob/master/lib/adapter.js#L198-L210

Sure thing, I will work something out

Thanks for the fix, please clean it up a bit and we can merge it :)


Changing to xrd rm for the delete method, since there is no NFS mount…

… to rm from anymore. Introduces a dependency on RFCPCERNImpl to steal splitPFN. Functionally tested successfully.

Please don't introduce a dependency on RFCPCERNImpl . If there is code in that plugin that is useful in more than one place it should be factored out and put into some base class somewhere. RFCPCERNImpl will likely go away at some point (whenever I find some free time sigh) since it's a horrible mixed Castor/EOS stageout plugin for a site that only uses EOS these days.