Adding / removing rows in a list

Was playing around with lists / maps.
Say you have. List of customers.
The property changer does not work with lists ?
Could you let me know .
Maybe an example along with the counter ?
I like the .net inspired approach.
Will be interesting to bench it as I have also worked with ones that rely on an annotated data class to codegen the models with built in notification.
Ask me if curious

I apologize for the delay in response. Notifications were not turned on in GitHub so I didn't see your message earlier.
Anyway, I have not found a way to auto generate events when the elements/contents of the list are updated. The function that is adding or removing the list item would have to emit the propertyChanged message to ensure that the Binding is notified and a rebuild occurs. I will try and add a simple example of this in the repo to demonstrate.

this is great - thanks for the examples !!


russian translation fix

Im corrected russian translation. There where some strange typos and generaly strange words (like "stage" was translaited like "shooting range")
Im not shure what "critical temperature" mean so left it as is

Thank you so much for your contribution!


Wild Pokemon having ownership with my name

Proof:

All wild pokemon I encounter are owned by me. Because of this I cannot battle them to try to kill or capture them.

Cannot reproduce, open a new ticket if there is any news on this bug.


driftnet: 1.4.0 -> 1.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/deiv/driftnet/releases.
meta.description for driftnet is: Watches network traffic, and picks out and displays JPEG and GIF images for display
meta.homepage for driftnet is: https://github.com/deiv/driftnet
meta.changelog for driftnet is: https://github.com/deiv/driftnet/releases/tag/v1.5.0
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.5.0 with grep in /nix/store/jvj133nhys5rsnz1b25gjg894rpv77az-driftnet-1.5.0
found 1.5.0 in filename of file in /nix/store/jvj133nhys5rsnz1b25gjg894rpv77az-driftnet-1.5.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
driftnet

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jvj133nhys5rsnz1b25gjg894rpv77az-driftnet-1.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A driftnet https://github.com/r-ryantm/nixpkgs/archive/c28c72a2b30a346b0d63cbb0c6f77a6b267733f4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jvj133nhys5rsnz1b25gjg894rpv77az-driftnet-1.5.0
ls -la /nix/store/jvj133nhys5rsnz1b25gjg894rpv77az-driftnet-1.5.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

driftnet

Maintainer pings
cc @offlinehacker for testing.

Result of nixpkgs-review pr 224173 run on aarch64-linux 1

1 package built:

driftnet


Mathematical question about value commitment

Hi!
Why does cv^{old} apply GroupHash instead of FindGroupHash?

As shown below, FindGroupHash would be appropriate if following Sapling's protocol.

Are FindGroupHash and GroupHash equivalent here?
I would also like to know why [v]FindGroupHash^{J(r)*} -> [v_{old} hJ]vb

Thank you for your question. Yes, the specification should use FindGroupHash instead of GroupHash, as in the original. (The code uses FindGroupHash, so this is an error in the document). The difference is that GroupHash does not always succeed, and FindGroupHash repeatedly calls GroupHash (appending an integer counter) and returns the first time GroupHash succeeds (rejection sampling).
For the value base, this is an important change. The value base is no longer a fixed curve point (found by FindGroupHash) but is a dynamically computed value vb. This value base is computed using a PRF in a similar (but not identical) way to GroupHash, and not using FindGroupHash. The main difference between GroupHash and abst_J(PRF_vcg_MASP(t) is that GroupHash includes URS, the result of a random beacon. The value base vb could be outside the prime-order subgroup of Jubjub, so it must always be multiplied by h_J (the cofactor) to put this curve point into the prime-order subgroup.

The specification has been updated. Thanks for your review and let us know if you have further questions!

Thank you!


[BUG] Playwright isn't compatible with java modules

Context:

Playwright Version: 1.16.1
Operating System: all
Browser: all
Extra: using module-path instead of class-path for playwright for example through the gradle application plugin

Describe the bug
At best all playwright jars should contain module-info files describing the modules and the dependencies. But even without any preparation jars could be used on the module path if some simple things are avoided.
Currently the playwright jars playwright, driver and driver-bundle contain classes in the same package "com.microsoft.playwright.impl" which causes the following error:
error: module playwright reads package com.microsoft.playwright.impl from both playwright and driver.bundle error: module playwright reads package com.microsoft.playwright.impl from both playwright and driver module playwright reads package com.microsoft.playwright.impl from both playwright and driver
this could be simply avoided by moving the classes in driver and driver-bundle into different subpackages.

Can you provide more details about your scenario, in particular how to reproduce you setup with modules and how you are launching it. If it can be addressed by simply using different packages for different maven modules that should be doable.


Kortian Crystal

Please add item : 186017 ( korthian crystals ) to the "items" list.

Those are considered tradeskill items since they're used in crafting legendaries, so I would prefer to leave their filtering as is. Thanks for the suggestion, though!


How to make an API secure ?

I'm using mean js as a backend, front end I have ionic.
If have an API that should be callled only when the user is logged in, how do I make sure that the call is being made by that specific user that just logged in ?
Coz there's no any kind of token being sent from mean/ backend which makes sure who is calling the API.   Your suggestions would be appreciated :-)

Your App API should be making a login request and work with cookies, this way you can track who the user is and you basically get a req.user object populated with this information which you can handle in your routes or middlewares.

kinda like this in my API, I'll make a post call to the backend :
var data = { username : $localStorage.username, email: $localStorage.email }
$http.post(url,data)
This will call the backend,
exports.propertiesListByUser = function(req, res, next, id) {
console.log( '130-psc  propertiesListByUser   req.body  = ', req.body);
Property.find({req.body.username: id }).sort('-created').populate('user', 'displayName').exec(function(err, properties) {
// code,
So before it starts searching for the mongodb, it should make sure, who the user is and if the login usename, password is correct and only then it would let it search in the database,

Am i getting it right ?

Rather than doing the whole above process, Or  i can also use jwt tokens to authenticate, who the user is.
I think the first method is easier.

it's called authentication, doesn't matter how you implement it, you'd eventually have a req.user object with this information.


Allow make_query to return multiple items (or the entire scored set)

In certain applications, you might want to know what the top N unlabelled entities are so that a human can go through and do batch labeling offline.  Right now I have a particularly hacky way of getting multiple results out, just assuming the majority class in the update, but it would be great to tweak the make_query function to return arbitrary numbers of ordered results for batch label processing.
for i in range(20):
item_to_investigate = qs.make_query()
libact_ds.update(item_to_investigate, 0)
print item_to_investigate
Happy to contribute code to try to help this happen!

Sure it would be a nice enhancement to do in the future.
The reason that we didn't design interface for batch labeling in the first place is that the algorithms we are implementing are not designed under that kind of setting. Maybe in the future we can start to include some batch-mode active learning algorithms.
Thanks.

+1 for batch query - this can become a game-changer in cases where crowdworkers are involved for labeling. Many if not most of the MTurk tasks are batch oriented.
However, after initial reading of the AAAI15 ALBL paper, I see what @yangarbiter meant by "algorithms [are not] designed under [batch labeling] setting." If I understand the paper correctly, the underlying algorithms model the multi-armed bandit problem (actually contextual bandit) and this formulation restrict the sampling step to choose a single instance of unlabeled example (i.e. the gambler chooses one arm).
This begs the question of other settings for the multi-armed bandit problem where the bandit can choose multiple arms at one time. Given the framing of the problem, I wonder if anyone has considered such variation to the formulation. If not, it would be very interesting to consider such formulation, paired with a simple crowdworker-backed labeling task.
@ecstar : if its not too much trouble for you, do you mind sharing your hack?

Since most of the query strategies are based on calculating a score for each instance and find the instance with the largest score to query.
Thus in theory batch query can be done by selecting n top scored instances to query.
But I don't think this may be a good way of doing batch query.


Change imports and rabbitmq support to be imported at run so the modules are optional.

Quick fix with conditional imports.


当前flipper与Xcode 15.3不兼容

请按以下格式提供问题的相关信息。
按照前面步骤完成后，在启用yarn ios时报错，报错信息如下图所示

System:
OS: macOS 14.4
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 217.02 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.11.1
path: /usr/local/bin/node
Yarn:
version: 1.22.21
path: /usr/local/bin/yarn
npm:
version: 10.2.4
path: /usr/local/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.4
- iOS 17.4
- macOS 14.4
- tvOS 17.4
- visionOS 1.1
- watchOS 10.4
Android SDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>99119
Xcode:
version: 15.3/15E204a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 12.0.2
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.5
wanted: 0.73.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
This is a new React Native project, bootstrapped using @react-native-community/cli.
Getting Started

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Step 1: Start the Metro Server
First, you will need to start Metro, the JavaScript bundler that ships with React Native.
To start Metro, run the following command from the root of your React Native project:
# using npm
npm start

# OR using Yarn
yarn start

Step 2: Start your Application
Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:
For Android
# using npm
npm run android

# OR using Yarn
yarn android

For iOS
# using npm
npm run ios

# OR using Yarn
yarn ios

If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.
This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.
Step 3: Modifying your App
Now that you have successfully run the app, let's modify it.

Open App.tsx in your text editor of choice and edit some lines.

For Android: Press the R key twice or select "Reload" from the Developer Menu (Ctrl + M (on Window and Linux) or Cmd ⌘ + M (on macOS)) to see your changes!
For iOS: Hit Cmd ⌘ + R in your iOS Simulator to reload the app and see your changes!

Congratulations! :tada:
You've successfully run and modified your React Native App. :partying_face:
Now what?

If you want to add this new React Native code to an existing application, check out the Integration guide.
If you're curious to learn more about React Native, check out the Introduction to React Native.

Troubleshooting
If you can't get this to work, see the Troubleshooting page.
Learn More
To learn more about React Native, take a look at the following resources:

React Native Website - learn more about React Native.
Getting Started - an overview of React Native and how setup your environment.
Learn the Basics - a guided tour of the React Native basics.
Blog - read the latest official React Native Blog posts.
@facebook/react-native - the Open Source; GitHub repository for React Native.

解决办法：进去ios文件夹里的profile文件 注释掉所有flipper 相关代码
then：
cd ios
pod install
cd ..
yarn ios

cd ios找到 Podfile 文件，然后删除 :flipper_configuration => flipper_config 这行代码就可以运行了

我写了个 node 脚本用来解决这个问题，脚本可以命名为 fix-flipper.js：
/**
 * 修复 FlipperTransportTypes.h 文件中未包含 "#include <functional>" 的问题。
 *
 * 由于升级到 XCode 15.3 后，FlipperKit 编译会报错，需要经常手动向
 * `ios/Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h` 中引入头文件。
 * 此脚本实现了自动引入头文件的功能，并在 yarn ios 的时候被调用。
 *
 * 参见: https://github.com/facebook/react-native/issues/43335
 */
const fs = require('node:fs');
const path = require('node:path');
const chalk = require('chalk');

// 彩色日志输出函数
const logBlue = (/** @type {string} */ text) => console.log(chalk.blue(text));
const logGreen = (/** @type {string} */ text) => console.log(chalk.green(text));
const logRed = (/** @type {string} */ text) => console.log(chalk.red(text));

// FlipperTransportTypes.h 文件名和相对路径
const FILE_NAME = 'FlipperTransportTypes.h';
const FILE_PATH = `ios/Pods/Flipper/xplat/Flipper/${FILE_NAME}`;

// 要插入的代码
const INSERT_CODE = '#include <functional>';

// 拿到绝对路径
const file = path.resolve(__dirname, '../', FILE_PATH);

if (!fs.existsSync(file)) {
  logRed(`[Error] 文件不存在: ${file}`);
  return;
}

logBlue(`处理文件: ${FILE_NAME}`);

// 读取文件内容并分割成行
let content = fs.readFileSync(file, 'utf8');
const lines = content.split('\n');

// 找到引入头文件的行号
const index = lines.findIndex((line) => line.includes('#include'));

if (index < 0) {
  logRed(`[Error] 文件中未找到 "#include"`);
  return;
}

// 如果已经引入 functional，就不再重复引入
if (lines.findIndex((line) => line.includes(INSERT_CODE)) >= 0) {
  logGreen(`代码已存在: "${INSERT_CODE}"\n无需修复!\n`);
  return;
}

logGreen(`插入代码: ${INSERT_CODE}`);

// 插到其他头文件引入语句后面
lines[index] += `\n${INSERT_CODE}`;
content = lines.join('\n');

fs.writeFileSync(file, content, 'utf8');
logGreen('修复成功!\n');

再加个 run.sh 脚本来替换掉 yarn ios：
"scripts": {
  "android": "./scripts/run.sh android",
  "ios": "./scripts/run.sh ios",
}

run.sh 脚本内容大致如下：
#!/usr/bin/env bash

set -e

if [[ $1 != "android" ]] && [[ $1 != "ios" ]]; then
  echo -e "\033[31m 参数需为 android 或 ios \033[0m"
  exit 1
fi

yarn install

# 用 ESLint 检查代码
echo -e "\033[1;34m **** ESLint 检查 **** \033[0m"
yarn eslint . --ext .js,.jsx,.ts,.tsx

# 运行 Android 应用
if [ $1 == "android" ]; then
  echo -e "\033[1;34m **** 打包 Android 应用 **** \033[0m"
  react-native run-android --verbose --active-arch-only
fi

# 运行 iOS 应用
if [ $1 == "ios" ]; then
   # 修复因升级到 XCode 15.3 导致的 FlipperKit 编译失败问题
   # 参见 https://github.com/facebook/react-native/issues/43335
  echo -e "\033[1;33m \n修复 FlipperKit 需请求权限! \033[0m"
  sudo node ./scripts/fix-flipper.js

  echo -e "\033[1;34m **** 打包 iOS 应用 **** \033[0m"
  react-native run-ios --verbose
fi

这样子，执行 yarn ios 的时候就可以自动修复了


[qt5] Update hashes for qt5-declarative and qt5-winextras

This PR updates out-of-date sha512 for qt5-declarative and qt5-winextras causing (misplaced) regression in #5464

On our CI machine the actual hashes match the ones previous to this PR.
So this should be unnecesary, unless we are facing an issue similar to when downloading from googlesource where the SHA512 changes over time.
I'm not sure why they're causing regressions on #5464.
The last build for #5464 has cached failure tombstones for those qt5 packages; bumping the CONTROL version for those packages should trigger a rebuild for them.

OK the old hashes seem to be working for me now too, not sure what happended the


Add support for object params in persister instance

Discussion here: #33
Simple enough, all the cases were already working :smile: This is just a one line feature....

:+1:

:+1:


ContextMenu: Opens at mouse cursor location, not at caret of focused View

I don't believe this is the correct behavior.
I believe if a View has focus, and a caret, and the user presses ctrl-space, the context menu should be positioned at the caret.

On Windows, if you press shift-F10 the context menu pops up at the caret.

Nevermind. I was confused  about waht ctrl-space does.


Update screen_c.h

The pull request will be closed without any reasons if it does not satisfy any of following requirements:

Make sure you are targeting the master branch, pull requests on release branches are only allowed for bug fixes.
Add new features, please provide the reasons and test code.
Please read contributing guidelines: CONTRIBUTING
Describe what your pull request does and which issue you're targeting (if any and Please use English)
... if it is not related to any particular issues, explain why we should not reject your pull request.
The Commits must use English, must be test and No useless submissions.

You MUST delete the content above including this line before posting, otherwise your pull request will be invalid.
Please provide Issues links to:

Issues: #1

Provide test code:

Description
...

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Open Source Summit North America 2023

GitHub prize draw at Open Source Summit North America 2023!
🎫 To enter the draw, add a comment at the bottom of this issue 👇
🏆 The prize draw will be drawn at the GitHub Table at approximately 10:30am on Friday May 12th
(assuming sessions are still running on time!)
A couple of T&C's:

Entry into this raffle will NOT constitute your consent to be contacted for anything else
We will not be adding you to our marketing database (but if you want to subscribe to our newsletter, you can do so here)
The raffle prize cannot be swapped or changed,
The winner of the prizes at OSS NA 2023 MUST be at the closing of the event when we draw the winners, otherwise we will redraw!

🚀 This site is deployed to GitHub Pages using GitHub Actions. The Actions workflow pulls entrants from commenters of a GitHub Issue.
Good luck and comment below to enter the draw 👇

✅

while(1) print("raffle entry")

😎

😀

Awesome

Boop

🐼

Heyyo

Pick me!

Meeee

I'm built different

❤ GitHub ❤

:)

Love you 😍

👌

🙋🏾♀

😎

👋

🍻

hi

+1 would merge.

LGTM

Hello

👋

👋

👋🏻

🤞

🚀

🙂

GH ♥

Hey!

Paul de Man

.txt
ldr r0,=0xdeadbeef
mov r1, 0x0
loop:
str r0, [r1, #1!]
b loop

👋

🤩

✨

ᕕ( ᐛ )ᕗ

🤞🏻🤞🏻🤞🏻

Awesome

Lakers in 6

I'm in! :)

🥳

Hello!

👍

🎉🎉🎉

Yay!

👋

Pick me

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCWKeCbp2wmZQNWOgzUWwuQyf7FfRV7Ek4Fu0F+VNGIYwdHxNRkvTUXMX26cH/r/t4bwuhRIZY984v7ajQ+bfo3ouD6sMRTXVeRWsDN9KvzTPSc2XwqDaoSJJbXgtnN+A0TMsHviADhlZx4nxj4B7Welk4honz2N2zx/FEkDw5rPLZZH9bjzDRpzV+2j9YgszpLNZ0ZJJ2l1XAATOzIExwGqgg6TuB71a7nrjYZwKSCvX9ZK+gLd0jRrtlGDybB2xU1KgYrylhK8+WyVjPbQ51emmhUALcqyEsB+4ofvzk5GdrMsAidRi0AVUiyNQrbigTQDdD2CXzJhuE5QPP71SCX3oPnJd91lLdFfzGkxMeebjBTmEhotYjlWZTgdiL8u/KDDbt5hRDuz3IKj8onmOYIMaPCKtQC6onKoyaay0TxciaGv1ucj+mo1lOKo6qKLkVICRr/pfK5Zz7/wOfAN5Cq1qI2mehSohkCnfv9ASplQKe2Sz6k4NQXIgn+yePjSps=

😁 hello!

Hi!

Hello

47 4e 55 20 6e 6f 74 20 55 6e 69 78

Hi

👋

+1

Yay prizes!!!!

👍

Yes

Pick me

Can I submit multiple comments to increase my odd?

Thanks everyone for joining our raffle! Congrats to all the winners 🎉
Bags:

@magnologan
@SatanicDrNull
@kyletsang
@cristianfilipe
@mhiland
@ovflowd
@lrusak
@bikramj

GitHub Pro for 1 Year

@jayesh365
@GeoffGodwin
@justin0022
@hochoy
@amyfyliang


LiveError: Only one live display may be active at once

I get this error , rich.live.Live object.

Hi @cat-stack-boop, yes, this is indeed an error. It's mainly because our code is not robust or async safe enough to handle the lousy connection to OpenAI api. I am working on this, thanks for the feedback! @cat-stack-boop

Great thanks for the quick response.

Just made a quick patch release https://github.com/litanlitudan/skyagi/pull/57 @cat-stack-boop
Will file an appropriate fix during the weekend.

Hi @cat-stack-boop the proper fix is through this PR #64 .

@qizheng7  Thanks!


Add extra checks to stop errors that aren't required

Description
Added extra check and an exception.
Type of change
Please delete options that are not relevant.

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

Checklist:

[x] Ran dartfmt -w -l 120 --fix .
[ ] Ran dartanalyzer --options analysis_options.yaml .
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

Please revert also dartfmt commit

Reverted dartfmt @l7ssha


FABN-1224 NodeSDK discovery interest 1.4

Add discovery interest to fabric-network release 1.4.
Setup a new method on Contract to take the dicovery
hint and pass it to the fabric-client channel.sendTransactionProposal.
Signed-off-by: Bret Harrison<EMAIL_ADDRESS>

I guess we need Gari to re-review any doc changes you're making in response to his comments before merging too.

Build just failed on coverage. I'm not sure if this is a genuine coverage issue or just a weirdness in the coverage stats collection.


fix(docs): Fix npm install typo

I'm assuming this should be npm install instead of node install

Thanks for the PR @billyvg !
Actually, our step here is a bit non-standard - we need to run the install.js instead of npm install. I added some details here in the document: https://github.com/onivim/oni2/blob/master/CONTRIBUTING.md#build-the-textmate-service
I hope that helps clarify! Let me know if you have any suggestions - in the meantime I'll close this out.

Thanks for the clarification!


Add tiny keyvault sample and auth

Depends on https://github.com/Azure/go-autorest/pull/273
Thanks for your contribution! Please let us know what problems this PR addresses or what functionality it adds. Please link to other related issues and PRs to speed up review. Thank you!

Closing as stale.


Helm Chart support for imagePullSecrets to counter Dockerhub Rate Limiting

Would be great if the helm chart enabled us to specify registry credentials, so we could avoid the Dockerhub's rate-limitations for free accounts!

Available in 2.4.0 via the PR: https://github.com/openebs/charts/pull/174

Awesome! Thanks for for solving this 👍


@ComponentScan included inside auto configuration classes

an  @ComponentScan annotation is set on the auto config classes without any include.
this makes it impossible to exclude the @Component annotated classes - see ticket 67

The only way i found is to disable the auto config classes as well
infinispan:
embedded:
enabled: false
cache:
enabled: false

I will open a JIRA here too, thank you!

@renierr I'm working on the ticket #67 bug I will see this issue after

@renierr I integrated the #67 that was related. The flags you mentioned above is the way it is supposed to work. Let me know if you see any other issue. Closing this now


How to use split_every and split_out

We've seen a few issues about when/how to use split_every and split_out for Dask DataFrame (e.g. #73, #395). Though efforts have been made to clarify split_out (e.g. here and here) the same hasn't been done yet for split_every. It'd be nice to have some examples that are user-facing/accessible showing what split_every does, when to use it, and how it is related to split_out.
Worth noting Saturn Cloud a nice high level summary in this post:

Dask uses a tree reduction in the implementation of the GroupBy Aggregation. There are 2 parameters you may need to tune, split_out controls how many partitions your results end up in, and split_every helps dask compute how many layers there are in the tree. Both parameters can be tuned based on the size of your data to ensure that you don’t run out of memory.

cc @coiled/dask-community


TS: Add debugging flag and document how to run the debugger

ptal

@xiemaisi I can't seem to merge without your approval


Add JDK9 Module name

Using method described in
https://dzone.com/articles/automatic-module-name-calling-all-java-library-maintainers

Why is this stil open?

Not sure? Is it done properly?

Important Notice
This communication contains information that is considered
confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and
delete the original

On 22 Nov 2018, at 09:10, Martin Diphoorn<EMAIL_ADDRESS>wrote:
Why is this stil open?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

We should probably also add a module-info.java
See below site for a tutorial:
https://blog.codefx.org/java/java-module-system-tutorial/

In middle of Brexit (multiple) deliveries right now...if you could handle
it, it would be great.
Thanks
B
On Wed, 5 Dec 2018 at 08:47, Martin Diphoorn<EMAIL_ADDRESS>wrote:

We should probably also add a module-info.java
See below site for a tutorial:
https://blog.codefx.org/java/java-module-system-tutorial/
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/Appendium/flatpack/issues/32#issuecomment-444405841,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPeaUX2Yw1vVm3QfTp6IKig7uM5oIIiks5u14gugaJpZM4RDPOd
.

I did have a quicklook, but if i try to compile with java 11 i receive an error with osgi. And i don't have the time to look into that.
java.lang.NullPointerException
        at aQute.bnd.header.OSGiHeader.quote(OSGiHeader.java:150)

Also i don't know if i make it a java 11 module it will still work in osgi.
I think it would also be a good thing to cleanup our pom's a little bit. Make sure that the parent contains all the versions in properties. And the modules are using those. Now java version is defined in more then one place.
An other thing i don't know is this parent:
    <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>7</version>
    </parent>

And if it will be a problem with java 11.

That parent Pom allows us to deploy on Maven Central.
Agreed, I’d like to re-.org all our poms for FlatPack, ObjectlabUtil, JTreeMap and nachocalendar....
Every release is painful 😖...

Important Notice
This communication contains information that is considered
confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and
delete the original

On 6 Dec 2018, at 19:20, Martin Diphoorn<EMAIL_ADDRESS>wrote:
I did have a quicklook, but if i try to compile with java 11 i receive an error with osgi. And i don't have the time to look into that.
java.lang.NullPointerException
at aQute.bnd.header.OSGiHeader.quote(OSGiHeader.java:150)
Also i don't know if i make it a java 11 module it will still work in osgi.
I think it would also be a good thing to cleanup our pom's a little bit. Make sure that the parent contains all the versions in properties. And the modules are using those. Now java version is defined in more then one place.
An other thing i don't know is this parent:
<parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
</parent>

And if it will be a problem with java 11.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.


Adding Media Code to Single Comments Template

@matteodem tried to do a pull request but was denied so I am logging an issue for it.
Your commentsSingleComments.html located in

lib/components/commentsSingleComment/commentsSingleComment.html

is missing the media code below in the bootstrap and ionic templates:
{{#if media.content}}
<div class="content-media">
 {{{mediaContent}}}
</div>
{{/if}}

What do you mean by denied?

I cloned your repo, created a branch for this fix, committed it, and then when I tried to push it, it said I was denied for the push. I'll look into it later but this should be a quick fix since it's just adding the media code to the 2 templates.

you need to create a fork and then push it in your fork, after that you can create a pull request over the UI.

Ah, I figured I missed a step. Thanks I'll do this later today.

This is fixed in the latest version 1.1.0, see https://github.com/ARKHAM-Enterprises/meteor-comments-ui/blob/master/GUIDE.md


⚠ ClamAV has degraded performance

In 29b2807, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 119 ms

Resolved: ClamAV performance has improved in 928726a after 7 minutes.


Issue with DFPT phonon band structure

Dear Developers,
To plot the phonon band structure sumo required a FORCE_SETS file. But when we use DFPT approache, it gives us FORCE_CONSTANTS file instead of FORCE_SETS and in such a situation sumo-phonon-bandplot is not working.
Do you have any advice for the same?
Thanks

Hii Dear Jackson, sorry for the late response. With phonopy DFPT it worked but unfortunately, I could not run it with QE DFPT (pw.x and ph.x) as it does not give FOCE_SETS of FORCE_CONSTANTS.

Right, I'm afraid we don't have a native QE interface at this point. I'm not a QE user: what do the band structure outputs look like for ph.x?

Maybe I could not get your point. However, I am trying to answer.
It generates the dynamical matrix files for each q-point.  here is workflow (taken from [https://www.quantum-espresso.org/Doc/ph_user_guide.pdf]:

pw.x
ph.x: Calculates phonon frequencies and displacement patterns, dielectric tensors, effective charges (uses data produced by pw.x).
q2r.x: calculates Interatomic Force Constants (IFC) in real space from dynamical matrices produced by ph.x on a regular q-grid
matdyn.x: produces phonon frequencies at a generic wave vector using the IFC file calculated by q2r.x.

Files produced by step 3 and 4 (along with input files used) are attached here. We used the file matdyn.freq.gp for phonon plot. Frequencies in this file are in cm^-1.
If you give me your email ID, I can share complete directory of my calculations.
sumo.tar.gz
Links for some tutorials:
https://www.afs.enea.it/buonocor/graphane-with-phonon.html

At the moment the sumo-phonon-bandplot workflow is quite VASP-oriented. So while there does seem to be a way to get FORCE_CONSTANTS from q2r.x outputs, there would be other changes needed to handle the structure file etc. And as we don't really support QE at all at the moment this would make more sense as part of a larger project which we currently lack resources for.
Looking at the outputs of matdyn, it would be fairly easy to write a script that plots these in a Sumo-ish-looking way and I could show you how to do that... except that these data files don't have any information about the high-symmetry points. Is there some file that identifies where the labels are supposed to go? It looks like matdyn.freq.gp does handle the transformation to a Cartesian x-axis, but contains no information about special points.

To get the high symmetry points, we run one more script (plotband.x < plotb.in > plotb.out ) for which the input file looks like:
Dispersion.freq
-100   600
GXRZG-Minus.dat
dispersion.ps
-3.8067
0.01   -3.8067
The resultant output is as below:
Input file > Reading   18 bands at    501 k-points
Range:   -0.0012  476.0189eV  Emin, Emax > high-symmetry point:  0.0000 0.0000 0.0000   x coordinate   0.0000
high-symmetry point:  0.5000 0.0000 0.0000   x coordinate   0.5000
high-symmetry point:  0.5000 0.0000 0.1978   x coordinate   0.6978
high-symmetry point:  0.0000 0.0000 0.1978   x coordinate   1.1978
high-symmetry point:  0.0000 0.0000 0.0000   x coordinate   1.3956
output file (gnuplot/xmgr) > bands in gnuplot/xmgr format written to file GXRZG-Minus.dat
output file (ps) > Efermi > deltaE, reference E (for tics) bands in PostScript format written to file dispersion.ps
I have my own script which gives a fairly nice phonon but it would be good if it can be implemented in the SUMO-plotter.
the

It all seems a bit complicated and different from the rest of the Sumo workflow.
My preferred approach if we were to implement QE support for phonons would be to ignore band structure files and generate a plot from force-constants data. It would make sense to do that as part of a much wider program of phonon interoperability, which I have some interest in but is moving slowly.
For now I recommend that if you would like a plot that is consistent with other Sumo outputs, consider using Matplotlib for your script, with the style sheets under sumo/plotting.
Thanks for the information about phonon plotting with QE; it's an interesting code and I hope that over time it will be easier to manage this sort of thing. (Possibly by involving ASE and/or Euphonic...)

Thanks.
On Sat, Jan 1, 2022, 2:32 AM Adam J. Jackson @.***>
wrote:

It all seems a bit complicated and different from the rest of the Sumo
workflow.
My preferred approach if we were to implement QE support for phonons
would be to ignore band structure files and generate a plot from
force-constants data. It would make sense to do that as part of a much
wider program of phonon interoperability, which I have some interest in but
is moving slowly.
For now I recommend that if you would like a plot that is consistent with
other Sumo outputs, consider using Matplotlib for your script, with the
style sheets under sumo/plotting.
Thanks for the information about phonon plotting with QE; it's an
interesting code and I hope that over time it will be easier to manage this
sort of thing. (Possibly by involving ASE and/or Euphonic...)
—
Reply to this email directly, view it on GitHub
https://github.com/SMTG-UCL/sumo/issues/148#issuecomment-1003423892, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZPLTZQSJFXHL4KI5OPSQDUTXSKBANCNFSM5C4XKSOQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Closing for now, people are welcome to comment further or raise a new Issue for further discussion of how QE support might work.


How to download only the captions of an Instagram profile?

Hello, I read the documentation for Instaloader but I couldn't see exactly if there was a way to download all of the captions from an Instagram profile without downloading the pictures. Is this possible? Could someone help me because I'm not sure how to go about doing this.

You should use --no-pictures --no-videos --no-video-thumbnails. See the docs


Black configuration is not used

Consider the following Snakefile:
rule all:
    input:
        foo='bar'

And the following configuration file:
[tool.black]
skip-string-normalization = 1

Then execute snakefmt --compact-diff --config config.toml Snakefile.
I would expect the file to pass formatting without any modifications.
However, it says:
=====> Diff for Snakefile <=====

--- original
+++ new
@@ -1,3 +1,3 @@
 rule all:
     input:
-        foo='bar'
+        foo="bar",

[INFO] All done 🎉

It seems like black does not know about the configuration parameters.
Compare this to executing black --diff --config config.toml test.py where test.py only contains 'fubar'.
The output is (as expected) All done! ✨ 🍰 ✨.

Hmm, that's odd. I'll take a look next week.
Notes for future self:

could be related to https://github.com/psf/black/issues/1667
we definitely pass all of the config options to black https://github.com/snakemake/snakefmt/blob/8cbc95b1bf2ce746f37ab5c568d4c73d697ac7c1/snakefmt/formatter.py#L78

Ok @kpj I have a fix (I think) in https://github.com/mbhall88/snakefmt/commit/1f7ac818edf6d6cab47e858f07c8db134cea6d74
One thing for future reference, it is better to use booleans true rather than 1 in TOML. I found in once version of black that is actually failed if 1 was used.
There were two issues causing this bug:

We weren't passing the config past the CLI parsing if it didn't contain [tool.snakefmt]
When creating the black.FileMode object, it actually uses string_normalization, which is the inverse of the CLI arg --skip-string-normalization (so annoying). So I have added in some stuff to handle both flavours

Feel free to try out and see if you have any problems with it.

Awesome, thanks for taking a look!

One thing for future reference, it is better to use booleans true rather than 1 in TOML. I found in one version of black that it actually failed if 1 was used.

Makes sense, will do. We should also amend this in snakefmt's README.

Feel free to try out and see if you have any problems with it.

If I try the above example again, I get the output [INFO] All done 🎉
It seems to work nicely :)


Bug setting base URL that does not end with a slash.

It appears that setting a base URL that does not end in a "/" will cause the last URI segment to be omitted from requests.
Steps to reproduce
Create a client with a base URL that doesn't terminate in a slash:
$client = new GuzzleHttpClient([
    'base_url' => 'http://www.web-service.com/api'
]);

Perform a request to a relative endpoint:
$response = $client->get('users');

Actual request URL will be missing the last URI segment from the base URL (e.g. "http://www.web-service.com/users" instead of "http://www.web-service.com/api/users")

If you want to request the base uri, but without a trailing slash, you can use ..:
So if your base uri is http://foo.bar/baz/ (as we learned: you need the trailing slash), but at one point, you want to just request http://foo.bar/baz (without the trailing slash), then you can request ../baz to get there.


Questions about Logging

This article and related API reference explain about a custom logger (Microsoft.Graph.Communications.Common.Telemetry.GraphLogger class).
Q1. Why does this class exist? Am I correct that application code should log here because SDK library code logs here and both logs should be in a single location?
Q2. What is the downside if my application which uses Graph SDK library logs to custom location and does not use GraphLogger?
Q3. Where does this log physically exist? I understand that we may read the log programmatically by subscribing with observer, but I wonder if it is as easy as using EventLog Viewer for development purpose?
Q4. What is the best practice to collect this log and store in Azure Monitor or similar, so that production service operators can view for diagnostic purpose?

Hi @hohno-panopto ,
Thank you for opening this issue.
I have been racking mu brains to read where the IGraphLogger class logs.
It would be kind if you could suggest how we can do  the Q3 part programmatically.
Regards,
Aarushi

@aarushi-mittal I ran this sample and I saw SampleObserver class actually working.
The observer is instantiated here and it's used here to read the logs.

Hello @hohno-panopto ,
I have deployed my sample to a cloud service.
I do have access to https://.com/logs/ from Audio Video Bot
But I cannot view any logs from the $logger statements for the IGraphLogger instance.
Regards,
Aarushi

@aarushi-mittal I don't have bandwidth to play with other examples, but I found from the example I used that only error level log is displayed from logs endpoint of the samples. I guess there is a mechanism to change the level, but I have not figured out.

https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/a06becf2ac4f981c6ef1be9d4386501989808658/Samples/Common/Sample.Common/Logging/SampleObserver.cs#L99-L113

@ksikorsk Thank you for the information. I changed it and observed more logging now.
Note that my original questions are not about the sample implementation.
I would appreciate if you or you team may answer my questions in the initial message of this entry.

Joining @hohno-panopto's questions.
Would love to get more clarity on whether GraphLogger logs can be persisted somewhere beyond the lifetime of the deployed service.


Bug when exporting Reports related to CVE-2021-4104

hello,
I just noticed that .jar files that are vulnerable to CVE-2021-4104 seem to have a problem when exporting out to .csv or .json.
I run log4j-scan.exe with the parameter --fix --Report-csv --report-json. The console shows that there are findings and that they have been fixed. This is also written to the log file.
If I then run the scan again to check whether everything is OK, the console shows that the files were found but have already been mitigated. However, a different status is written in the report, namely "Potentially vulnerable". This only happens with files that are affected by CVE-2021-4104. All other files are correctly written in the log with "Mitigated".
I can reproduce this on any computer with this CVE.
Thanks for all your work!
Regards, Markus

@markus8899 Would you test new v2.5.3 release?

It now works perfectly. Thank you very much!

@markus8899 Happy to hear that. :D

Sorry, I just noticed that CVE-2021-42550 still behaves as described above. Could you please check / fix this?

@markus8899 Scanner does not fix logback. I cannot ensure that it is safe to remove ch/qos/logback/classic/util/JNDIUtil.class. If you do it manually, you would see mitigated report.

oh, i see. thanks

Hello, thank you for your great work.
i think the bug appears again in version 3.0.1. Anyway, when we check the exported .logs, the classes from CVE-2021-4104 are again marked as vulnerable although the classes have already been deleted from the archives via Logpresso. maybe this can be fixed again.
Thank you!


[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

We shouldn't be packaging either perllocal.pod or .packlist files. Both are only really useful outside of package management. They get automatically generated whenever you install a Perl module.
Debian, Arch, MacPorts & others remove them and we should have been as well really; keeping them causes completely unnecessary conflicts between formulae.

Going to ninja merge this because I've an incoming PR in core that needs it, but raise any objections as desired & I'll fix 'em later today.


"bookmark" star shading get out of sync sometimes

When you click to bookmark/unbookmark a Kata the little "star" becomes shaded/unshaded respectively and the counter increments/decrements.
But sometimes the shading is out of sync with reality. (e.g. star shows unshaded when in fact it IS bookmarked, and then so clicking the star makes counter goes down instead of up).
Sorry I cannot give exact scenarios to reproduce this but I have seen it happen enough times to know I am not dreaming. [Am using Chrome browser if that makes any difference]

This is bug is present to these days, just to remind. (Experienced this before too). I mainly have this bug when I navigate through my bookmark button on the codewars website panel (obviously), and then after completing a bookmarked item, trying to remove bookmark. (shows inverted state for me).


modify incorrect grpcConstants.

What is the purpose of the change
the grpc constans value is wrong.
public static final String MAX_INBOUND_METADATA_SIZE = "grpc.maxInboundMetadataSize";
Brief changelog

modify incorrect grpcConstants.

Verifying this change
GrpcConstants.java is saved with file which line sperator with CRLF .
我本地的格式应该是合理的。然后就是那条 Grpc 的分支应该不怎么用了。
但是这个静态变量 还是改一下。

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[x] Add some description to dubbo-website project if you are requesting to add a feature.
[x] GitHub Actions works fine on your own branch.
[x] If this contribution is large, please follow the Software Donation Guide.

Please check in 3.2 branch. Master (2.7) branch is only for security fix now.
好哒


Svelte example broken

The Codesandbox for Svelte integration currently errors with

Error Function called outside component initialization

Hey, I have the same issue- any idea how to solve this?

@janosh , @niazangels  - In the svelte example the svelte is used as a dependency, try using it as a devDependency
(ref: https://github.com/sveltejs/sapper/issues/592#issuecomment-469924549).


UI Table - row stays highlighted after click / select

Description
This pull request introduces a UI enhancement to the v-data-table component used within our application. Specifically, it addresses the need to visually highlight the selected row to improve user interaction and clarity. When a user selects a row in the data table, the background color of that row changes, providing clear feedback on the selection. This change aims to enhance the user experience by making data navigation and interaction more intuitive.
Related Issue(s)
#734
Checklist

[X] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

[ ] Upgrade instructions
[X] Configuration details
No additional configuration is required for this change. The highlighting is applied automatically when a row is selected.
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Backport needed? -> add the backport label
[ ] Includes a DB migration? -> add the area:migration label

I've added Joe as reviewer, the review from my side is mostly preliminary as my JS skills are no-where near Joe's.

@joepavitt That's my fault: https://github.com/FlowFuse/node-red-dashboard/pull/740#pullrequestreview-1979762781

That test failure is fine - unreliable websocket-based test


kubectl logging stats

Is your feature request related to a problem? Please describe.
I want to be able to get stats rapidly without any additional tools from a running logging-operator deployment
Describe the solution you'd like
I would like a kubectl logging stats command that can summarize the stats of  fluentbit agents and fluentd or syslog-ng aggregators

@pepov I stripped down the kubectl-curl plugin to a minimal version and added some example in the README how to access Prometheus database or metric endpoints.
It's more like a PoC, for a real kubectl logging plugin, some more parameter could be added like -label <logging-operator> to discover endpoints in this way instead the explicit POD name. Just as an idea.


Fix conversion warning

Description
Fixes a little compiler error that is currently breaking CI.
Tasks

[x] Tested on Linux
[x] Tested on Windows
[x] Tested on macOS
[x] Tested on iOS
[x] Tested on Android

SFMLBuildMaster: Build this please.


[SVN] removed %b identifier to fix color encoding

This is a workaround for https://github.com/bhilburn/powerlevel9k/issues/312 I've just added custom svn prompts instead of using our primary ones. The problem is the %b-identifier. When we use the %b-identifier for svn it seems to break our color-encoding. I guess they use some chars in there or some custom color encoding that will  break ours. The %b-identifier will give for SVN the following output:
<branch-name>:<revision number of branch>
When I use %b everything after <branch-name> will be yellow..I tried to fix the color with it. But maybe someone else has more luck.
It's sad that we lose the branch-name for this feature. But I think most people use only one branch with svn and we still display the revision-number. So it shouldn't be that bad. Let's focus on git. :)
The only thing what I would still miss for SVN is a nicer icon. I thought about using the VCS_BRANCH_ICON for this or we wait for nerdfonts-support.. I guess they have some cool icon for svn.
tl;dr: The svn colors are fixed now, I just removed the%b-identifier from the svn-bar.

Nice work, @shibumi! #312 has been around for a while, now, and when I looked at it my head imploded.
Thanks for the great contribution =)


Dumpsc needs resync, was updated recently

https://github.com/Galaxy1036/Dumpsc/commits/master

I see, it did work for clashofclans though. https://github.com/Statscell/Dumpsc/actions/runs/8065699985/job/22032069381

Still functional for clash of clans though. However, I'll update.

you can make a PR with the fix.


Persist repository URL in project settings

Fixes: https://github.com/sourcegraph/sourcegraph/issues/56948
Additionally: I've removed the line stating that leaving the address empty would result in an inferred URL from the Git repository. This statement is not true: the dialog does not allow you to leave it blank.
Test plan

./gradlew :runIde
Open project.
(optional) Expect new value <option name="remoteUrl" value="github.com/user/repo"/> in .idea/cody_project_settings.xml.
Open repository dialog. Change address and click OK.
Restart IDE.
Verify that the repository address remains the same as it was before the restart.

@olafurpg, I noticed during testing that when repository is private (or just not published anywhere) then inferred address from Git is not an valid URL:

It's just repo name. I assume this original logic is not intentional, but this, in turn, causes such "URL" to be saved in the configs.
Perhaps we should leave it empty when link can't be inferred?

@olafurpg, another usability issue: text field is not initially validated when dialog appears. In my opinion I shouldn't be able to click OK in this case. Currently URL is validated only after gaining focus on text field.

Note that these two commented issues (https://github.com/sourcegraph/jetbrains/pull/6#issuecomment-1755125064, https://github.com/sourcegraph/jetbrains/pull/6#issuecomment-1755139200) are not related to my PR and exists on main branch.

@exigow Those are both good UX problems! Please keep this kind of feedback coming especially while you have a fresh eye 😄 Can you add the details to this issue here? https://github.com/sourcegraph/jetbrains/issues/7
We should follow up on those but it might take a few weeks until we prioritize it, unless you feel the fix is obvious and doesn't take too much effort to implement.

@mkondratek, could you please review this brief PR?


Improve build

Coverage remained the same at 82.699% when pulling 48f5ab003565b987d552abd0b33f34a2f6dab7ea on improve-build into 9ef83ffde5e0f84ebc0d5caefc7420669129c83a on main.


don't forget to pass args kwargs to solver

@galbramc any ideas on this error we're seeing? Is it possible a very old version of cvxopt is somehow installed on the Windows 7 machine? It's odd that the kktsolver argument works on all machines except that one.

Ok, I know what's going on, and it's gross.
Python x,y, which we currently recommend for Windows 7 users, includes cvxopt 1.1.7, instead of the latest 1.1.8. And 1.1.7 did not have a *args, **kwargs pass-thru from gp to cp.
@galbramc, have we tried the cvxopt build instructions (http://cvxopt.org/install/index.html#building-cvxopt-for-windows) instead of Python x, y on the Windows 7 CI machine?
I wonder if @martinandersen has a way to ping the Python x,y folks to update their cvxopt version.
And meanwhile, I'll see if I can implement a local patch for our windows users.

@martinandersen, the above is probably out of context since you can't see our continuous integration messages. The issue here is that we're passing the keyword arg kktsolver="ldl" to cvxopt's solver.gp method, and this didn't work for cvxopt 1.1.7, which our Windows 7 python x,y users have.

I recall trying unsuccessfully to compile cvxopt, but I don't know if those were the exact instructions I was following. If it's cumbersome, then it will be tough on your users to have to compile cvxopt.

Unfortunately I do not have a way to ping the Python x,y folks.
The solvers.gp routine is a wrapper for solver.cp which did not include the kktsolver option until 1.1.8.

Planning to merge this in about an hour unless anyone disagrees.


Template charset seems to be not handled

Hello, I'm studing Pebble engine, I'm testing if it keeps the charset of my template.
Please consider this test. I prepared a simple template with just one byte: hex 80 or dec 128

I run this template, without any placeholder or logica, with a with a standard code:
PebbleEngine engine = new PebbleEngine.Builder().build();
PebbleTemplate compiledTemplate = engine.getTemplate(file.getAbsolutePath());
Writer writer = new StringWriter();
compiledTemplate.evaluate(writer, model);
String data=writer.toString();
byte[] stampa=data.getBytes();

but the output byte has been changed:

I tried to force a charset in file loader of the engine:
FileLoader fl=new FileLoader();
fl.setCharset("US-ASCII");
PebbleEngine engine = new PebbleEngine.Builder().loader(fl).build();

whitout any success. What I'm missing?
Thanks

Sorry, I solved using
new OutputStreamWriter(new ByteArrayOutputStream(),"US-ASCII");
as Writer

Sorry, I solved using
new OutputStreamWriter(new ByteArrayOutputStream(),"US-ASCII");
as output Writer

Sorry, I solved using
new OutputStreamWriter(new ByteArrayOutputStream(),"US-ASCII");
as output Writer


ssmAutomation is not sharing documents with other accounts

Describe the bug
ssmAutomation is not sharing documents created by LZA, despite configuring it to do so.
Documentation (https://awslabs.github.io/landing-zone-accelerator-on-aws/latest/typedocs/latest/classes/_aws_accelerator_config.DocumentSetConfig.html#shareTargets) says it should share.
The document is found in the Audit account.
Configuration snippet:
ssmAutomation:
    documentSets:
      - shareTargets:
          organizationalUnits:
            - Workloads
        documents:
          # Calls the AWS CLI to enable access logs on a specified ELB
          - name: SSM-ELB-Enable-Logging
            template: ssm-documents/ssm-elb-enable-logging.yaml

To Reproduce
Configure ssmAutomation as above, run pipeline
Expected behavior
SSM Automation document should be shared with shared account(s)
Please complete the following information about the solution:

[x] Version: 1.6.1

[x] Region: eu-north-1

[ ] Was the solution modified from the version published on this repository?

[ ] If the answer to the previous question was yes, are the changes available on GitHub?

[x] Have you checked your service quotas for the services this solution uses?

[ ] Were there any errors in the CloudWatch Logs?

This seems to be an issue with some resources and "deploymentTargets". I have tested on ssmAutomation and ssmParameters, and at least for these two nested OUs are not working as targets. If I set OU Target as Workloads/Prod (for example) it works.

Hi @senyberg , thank you for identifying this! We have an action item to review the PR submitted to remediate the behavior, I will update this ticket as we incorporate the change into our code base.


Fix installation instruction

You shouldn't specifiy the version number when requiring a composer package on the command line.

Not sure about this one. In light of semantic versioning, one should always define a version, not? The composer documentation also specifies a version when running composer require

Not specifying a version will result in the last stable release being required. For things that are installed globally I find that kinda handy.
If you want to specify a version you'll have to update
composer global require bramus/mixed-content-scan ~2.1 to composer global require bramus/mixed-content-scan:~2.1 in your current documentation.

It also works by with space instead of a semicolon :-)

You're right. For some reason it fails in my zsh configuration, in regular bash it works.


Run multiple commands?

Sometimes it is useful to run multiple commands. For example, doc and test (to make sure the doctests still work). Is there a good way to do this?
Running multiple instances of cargo watch in different terminals doesn't work, because they interfere with each other.

Yep! This is in the usage examples: cargo watch doc test.


AuthRetryableFetchError with Supabase and Flutter

Discussed in https://github.com/orgs/supabase/discussions/23326

Originally posted by BaHithBENON April 27, 2024
Hello everyone !
I'm trying to implement authentication in my application, but when I start the process I have two problems:

AuthRetryableFetchError is returned and I don't know what it means, its statusCode is null
Sometimes I get the following error: AuthException(message: Email rate limit exceeded, statusCode: 429). However, my limit is 30 per hour, and no emails have been initiated.

Can anybody help me? I'm starting to get pretty frustrated

I finally found some solution...
I went into the server level logs, and saw that my user creation was failing due to type conversion. So, I modified my create function which is called when sending data in order to make the conversions more explicit.
    (new.raw_user_meta_data->>'is_active')::boolean,
    (new.raw_user_meta_data->>'is_deleted')::boolean

Postgres kept my boolean in text form (I don't know why).
And in my code, I send 0 or 1 instead of true or false.
      data: {
          'username': username,
          'email': email,
          'firstname': firstname,
          'lastname': lastname,
          'phone_number': phone,
          'phone_number_code': phoneCode,
          'updated_at': DateTime.timestamp().toIso8601String(),
          'created_at': DateTime.timestamp().toIso8601String(),
          'token': null,
          'is_active': 0,
          'is_deleted': 0,
      }

Hi @BaHithBENON.
It looks like you have managed to solve your case, so I'm going to close this issue.

@awalias @dshukertjr Thanks !!!


Support collection logo image through Native API

Hello
Currently, it is possible to customize collection (Dataverse) logo images through the UI under "Theme + Widgets".
We want this option to also be possible through Native API so we can automate customization using Ansible.
Also, new SPA UI should retain option to customize collection (Dataverse) logo images.

@Asbjoedt thanks, we'll definitely need this.
This is the frontend repo, but we'll also need the ability to upload logos for collections (dataverses) via the API. If you are so moved, please feel free to create an issue for this over in the backend repo at https://github.com/IQSS/dataverse/issues


feat(v2.11): DeFiChain Node v2.11 Release

What this PR does / why we need it:

[ ] Add Hard Fork Flags

Which issue(s) does this PR fixes?:

Fixes #
Additional comments?:

@thedoublejay FYI on the recently added flags that should be reflected for playground deployment:
See https://github.com/JellyfishSDK/jellyfish/pull/1751/commits/3f2d17cfe17a6e89d635118ae123a7f899b5e6bf

too many breaking tests...


[WIP] Use explicit list of variables to pass to test tasks

@bot-gradle test RfM

@bot-gradle test RfM


Add GRPC fallback test

Description of the Change
In order to slowly and safely introduce redirecting calls to the new federation service, a first step should be to dual write a subset of requests to the current and new services simultaneously.  In the initial commit presented here we see a couple tests illustrating the proposed approach.  Thanks to @corindwyer for originally suggesting this "fallback" style.  The core rx.java primitive used to implement the fallback is the onErrorResumeNext method.
Today the new service returns an UNIMPLEMENTED status code for all JobService methods and will continue to do so until it takes over responsibility for portions of the interface.  So the unimplementedFallback test demonstrates that a federation service returning UNIMPLEMENTED falls back to the current cellular interface.
The timeoutFallback test illustrates the case in which a new federation service instance becomes either slow or entirely unresponsive to API calls.  Again we demonstrate fallback to the cellular interface.
Essentially the proposal is that for create, update, and delete calls on Jobs, dual writes will occur, with fallback to the cellular interface being the primary execution path.  The new federation service will perform operations on FederatedJobDescriptor CRDs, but will always return UNIMPLEMENTED to ensure that the current code path is executed.
In this way we can start to observe the performance characteristics of the new federation service as well as determine what it would have done to ensure functional correctness in comparison to the current system.
Before I make the rest of the changes to plumb in communication with the new federation service, I wanted to make sure we're aligned on the core "dual write" primitive.

LGTM, I think that while we experiment with the new service it would be better to hedge the request (concurrently to both implementations), instead of serializing it through them to avoid the latency penalty to users while we get more data on the new service.
This is fine though, my only request is that you add a feature toggle to quickly disable the double write.
One thing that is not clear is if you intend to merge this test, or if it was only used to illustrate your proposal.

Thank you for having a look and giving some feedback @fabiokung.

I will add a feature toggle to enable/disable
I don't intend this PR as something to merge.  I'll be putting out a real PR incorporating the method presented here.  Was just hoping for early feedback on something small before a bigger PR.


[rpc/grpc] Actually use maxFrameSize option

There was already an option maxFrameSize in the Grpc module, but it
wasn't being honoured. Now it is.

Codecov Report

Merging #289 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #289      +/-   ##
============================================
+ Coverage     47.65%   47.65%   +<.01%
  Complexity     2559     2559
============================================
  Files           610      610
  Lines         16145    16146       +1
  Branches       1200     1200
============================================
+ Hits           7694     7695       +1
  Misses         8002     8002
  Partials        449      449

Impacted Files
Coverage Δ
Complexity Δ

...a/com/spotify/heroic/rpc/grpc/GrpcRpcProtocol.java
83.2% <100%> (+0.12%)
9 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Verified to work as intended.

@parmus, @zalenski

!merge


Update build.gradle - Added namespace for gradle 8.0

Thanks for your contribution, @ettaegbe .
Hopefully, I'll get a new version published in a couple of days.

Version 3.0.4 with AGP 8.0 support is released: https://pub.dev/packages/fast_contacts/changelog#304


Support "code_challenge" with OAuth2 Auth Code

Support of "code_challenge" with OAuth2
Hi, does Insomia support the Pkce "Code Challenge" Machanism with OAuth2 and the Auth Code Flow?
An error is returned, when Pkce is activated, without Pkce insomia can get the token.
Greetings
sdc4

I was looking for this as well. But if I'm not mistaken, this is already addressed in https://github.com/Kong/insomnia/issues/1653?


ContractFactory::deploy should return deployment address

To get the deployment address, currently one needs to either extract from the event emitted by the UDC, or manually calculate using the get_udc_deployed_address utility function. It would be better UX if this was available right away.

Agree that this is a good feature, only one issue... We currently return an Execution upon calling deploy(), which is an Account-related struct that doesn't come with the context of contract deployment.
To allow extracting the contract address from the deploy() result, we need to add one more layer of abstraction here. Maybe change to return something new like ContractDeployment, which:

wraps Execution
implements Execution API to make it look like the Execution (so you can still call .deploy().send() like you do now)
can be converted to Execution via the Into trait

Then we can implement additional methods on this type, including pre-computing the resulting contract address.


Computing Jacobian w.r.t. parameters used in lax.associative_scan is unexpectedly slow

Description
Thanks for considering this issue. My research requires me to compute the jacobian of a recurrent neural network with respect to a set of quantities. The minimal example below considers a linear recurrence $x_t = \lambda \odot x_{t-1} + B u_t$ as found in recent deep state-space models such as S5. Here, $x_t, \lambda \in\mathbb{C}^n, u_t\in\mathbb{R}^m, B\in\mathbb{C}^{n\times m}$.
Problem Description
Since recursion relations can be formulated as associative operators, they can be parallelized using lax.associative_scan.
def binary_operator(element_i, element_j):
    # Binary operator for parallel scan of linear recurrence.
    a_i, bu_i = element_i
    a_j, bu_j = element_j
    return a_j * a_i, a_j * bu_i + bu_j

My issue arises when using AD to compute the following quantities

$\frac{\partial x_t}{\partial x_0}$
$\frac{\partial x_t}{\partial u_s}$ for $s=1,\dots,t$
$\frac{\partial x_t}{\partial B}$
$\frac{\partial x_t}{\partial \lambda}$

I would expect these operations to

consume similar amounts of GPU time
parallelize with associative_scan as the forward pass is also parallelized

When measuring the compute time on A100 (40GB), I find that particularly the derivative $\frac{\partial x_t}{\partial \lambda}$ is much slower than the other ones. The compute time of all derivatives increases linearly with sequence length (measured many different specifications, but the example below does it from $t=32,\dots,512$). Yet, the derivative $\frac{\partial x_t}{\partial \lambda}$ has much steeper slope as shown in the image below.
The parameter $\lambda$ is fed to the binary_operator as a_i, a_j. If I replace the return statement with return jax.numpy.ones_like(a_j) * jax.numpy.ones_like(a_i), a_j * bu_i + bu_j such that AD doesn't need to trace the value of $\lambda$ through the first argument of the binary_operator, the severe differences in compute times vanish.
For completeness, the example below contains forward and backward mode AD results for networks with 1 and 2 layers.
I am now wondering

Why is this particular jacobian so slow in contrast to the others?
Why it appears not to parallelize the computation along sequence length despite applying associative_scan (guessing from linearly increasing compute times with large slope)

Figure: Note the slope of the linear fits in brackets is an order of magnitude larger for the jacobian (scan), i.e. w.r.t. the parameter iteratively used in the scan: $\lambda$

Code to reproduce the measurement
The code below also allows to measure the same program implemented with lax.scan and a simple python for loop. These are commented out below. Just uncomment them to also measure these quantities. Compile times for the python for loop will be quite significant for larger sequence length.
import jax
import jax.numpy as jnp
from timeit import timeit
from time import time
from functools import partial
import pandas as pd

def scan(weight, input_sequence, init_state, unroll=1):
    # input sequence has shape (T, state_size)
    def scan_fn(h_t, x_t):
        h_t = weight * h_t + x_t
        return h_t, h_t
    carry, ys = jax.lax.scan(scan_fn, init=init_state, xs=input_sequence, unroll=unroll)
    return carry, ys

def for_loop(weight, input_sequence, init_state):
    # input sequence has shape (T, state_size)
    h_t = init_state
    ys = []
    for x_t in input_sequence:
        h_t = weight * h_t + x_t
        ys.append(h_t)
    return h_t, jnp.stack(ys)

def binary_operator(element_i, element_j):
    # Binary operator for parallel scan of linear recurrence.
    a_i, bu_i = element_i
    a_j, bu_j = element_j
    return a_j * a_i, a_j * bu_i + bu_j
    #return jnp.ones_like(a_i) * jnp.ones_like(a_j), a_j * bu_i + bu_j

def associative_scan(weight, input_sequence, init_state):
    sequence_length, state_size = input_sequence.shape
    W_elements = jnp.repeat(weight[None, ...], sequence_length + 1, axis=0)
    elements = (W_elements, jnp.concatenate([init_state[None, ...], input_sequence], axis=0))
    _, ys = jax.lax.associative_scan(binary_operator, elements, axis=0)
    return ys[-1], ys[1:]

def single_layer_model(fun, params, params_scan, input_sequence, init_state):
    x = jnp.einsum('ij,lj->li', params['weight1'], input_sequence) + params_scan['bias1']
    return fun(params_scan['lambda1'], x, init_state)

def two_layer_model(fun, params, params_scan, input_sequence, init_state):
    state1, state2 = init_state
    lambda1, lambda2 = params_scan['lambda1'], params_scan['lambda2']
    x = jnp.einsum('ij,lj->li', params['weight1'], input_sequence) + params_scan['bias1']
    state1, x = fun(lambda1, x, state1)
    x = jnp.einsum('ij,lj->li', params['weight2'], x) + params_scan['bias2']
    state2, x = fun(lambda2, x, state2)
    return state2, x

def jacobian(fun, mode='backward'):
    if mode == 'backward':
        return jax.jacrev(fun)
    elif mode == 'forward':
        return jax.jacfwd(fun)
    else:
        raise NotImplementedError

def state_jacobian_fun(fun, params, params_scan, input_sequence, init_state, mode):
    return jacobian(lambda h: fun(params, params_scan, input_sequence, h)[0], mode=mode)(init_state)

def param_jacobian_fun(fun, params, params_scan, input_sequence, init_state, mode):
    return jacobian(lambda p: fun(p, params_scan, input_sequence, init_state)[0], mode=mode)(params)

def param_scan_jacobian_fun(fun, params, params_scan, input_sequence, init_state, mode):
    return jacobian(lambda p: fun(params, p, input_sequence, init_state)[0], mode=mode)(params_scan)

def input_jacobian_fun(fun, params, params_scan, input_sequence, init_state, mode):
    return jacobian(lambda x: fun(params, params_scan, x, init_state)[0], mode=mode)(input_sequence)

def measure_base(fun, params, params_scan, input_sequence, init_state, num_iterations=100):
    # jit the function over a batch jit->vmap->fun
    jit_fn = jax.jit(jax.vmap(fun, (None, None, 0, 0)))

    # measure compilation time
    start = time()
    out = jax.block_until_ready(jit_fn(params, params_scan, input_sequence, init_state))
    t_compile = time() - start

    # measure run time
    t_run = timeit(lambda: jax.block_until_ready(jit_fn(params, params_scan, input_sequence, init_state)), number=num_iterations) / num_iterations * 1000

    return t_run, t_compile

def main(T, state_size, batch_size):
    key = jax.random.PRNGKey(0)
    x_key, init_key, w1_key, w2_key, l1_key, l2_key, l3_key = jax.random.split(key, 7)
    xs = jax.random.normal(x_key, (batch_size, T, state_size))
    params = {
        'weight1': jax.random.normal(w1_key, (state_size, state_size)),
        'weight2': jax.random.normal(w2_key, (state_size, state_size)),
    }
    params_scan = {
        'lambda1': jax.random.uniform(l1_key, (state_size,)),
        'lambda2': jax.random.uniform(l2_key, (state_size,)),
        'bias1': jax.random.normal(w1_key, (state_size,)),
        'bias2': jax.random.normal(w2_key, (state_size,))
    }

    experiments = {
        #'for loop': for_loop,
        #'scan  (1)': partial(scan, unroll=1),
        #'scan  (8)': partial(scan, unroll=8),
        #'scan (64)': partial(scan, unroll=64),
        'associative scan': associative_scan
    }
    results = []
    for mode in ['backward', 'forward']:
        for tag1, base_fun in experiments.items():
            for tag2, forward_fun, init in zip(
                [1, 2],
                [single_layer_model, two_layer_model],
                [jax.random.normal(init_key, (batch_size, state_size)),
                 (jax.random.normal(init_key, (batch_size, state_size)),
                  jax.random.normal(init_key, (batch_size, state_size)))]
            ):
                measure = partial(
                    measure_base,
                    params=params,
                    params_scan=params_scan,
                    input_sequence=xs,
                    init_state=init
                )
                model_fun = partial(forward_fun, base_fun)

                forward, _ = measure(model_fun)
                state_jac, _ = measure(partial(state_jacobian_fun, model_fun, mode=mode))
                param_jac, _ = measure(partial(param_jacobian_fun, model_fun, mode='backward'))
                param_scan_jac, _ = measure(partial(param_scan_jacobian_fun, model_fun, mode=mode))
                inout_jac, _ = measure(partial(input_jacobian_fun, model_fun, mode='backward'))
                results.append([tag1, mode, tag2, T, forward, state_jac, param_jac, param_scan_jac, inout_jac])

    df = pd.DataFrame(data=results, columns=[
        'func', 'mode', 'layers', 'steps', 'forward [ms]',
        'jacobian (state) [ms]', 'jacobian (params) [ms]', 'jacobian (scan) [ms]',
        'input-output [ms]'])
    df = df.sort_values(by=['layers', 'func', 'mode']).reset_index(drop=True)
    return df

if __name__ == '__main__':
    pd.options.display.float_format = '{:,.2f}'.format

    data = []
    for T in range(1, 17):
        T = T * 32
        print(40 * "*")
        print("Evaluating T =", T)
        df = main(T, state_size=64, batch_size=16)
        data.append(df)
    df = pd.concat(data, ignore_index=True)
    df = df.sort_values(by=['layers', 'func', 'mode']).reset_index(drop=True)
    df.to_csv('measurements/jacobian_minimal_example.csv')

What jax/jaxlib version are you using?
jax v0.4.20 jaxlib v0.4.20+cuda12.cudnn89
Which accelerator(s) are you using?
GPU
Additional system info?
Python 3.10.8, Linux
NVIDIA GPU info
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.23.08              Driver Version: 545.23.08    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA A100-SXM4-40GB          On  | 00000000:0B:00.0 Off |                    0 |
| N/A   43C    P0              65W / 400W |  39830MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA A100-SXM4-40GB          On  | 00000000:11:00.0 Off |                    0 |
| N/A   43C    P0              64W / 400W |  19151MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   2  NVIDIA A100-SXM4-40GB          On  | 00000000:3B:00.0 Off |                    0 |
| N/A   44C    P0              64W / 400W |  19151MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   3  NVIDIA A100-SXM4-40GB          On  | 00000000:40:00.0 Off |                    0 |
| N/A   42C    P0              66W / 400W |  19151MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   4  NVIDIA A100-SXM4-40GB          On  | 00000000:8B:00.0 Off |                    0 |
| N/A   41C    P0              60W / 400W |  19151MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   5  NVIDIA A100-SXM4-40GB          On  | 00000000:90:00.0 Off |                    0 |
| N/A   43C    P0              64W / 400W |  19151MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   6  NVIDIA A100-SXM4-40GB          On  | 00000000:BB:00.0 Off |                    0 |
| N/A   43C    P0              63W / 400W |  19151MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   7  NVIDIA A100-SXM4-40GB          On  | 00000000:C1:00.0 Off |                    0 |
| N/A   42C    P0              63W / 400W |   8255MiB / 40960MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+

Just to mention, I am already happy about helpful comments how I can try to debug this myself. In the process of debugging, I'd like to inspect the XLA HLO results to see if it is compiled into a serial computation or if XLA recognizes the scan as a parallel operation. Therefore, I specify the flags
XLA_FLAGS="--xla_dump_to=my/file/path --xla_dump_hlo_as_dot=true --xla_dump_fusion_visualization=true"

Is there a way to make XLA print human readable function names? Currently, the output reads for example module_0012.jit__unnamed_function. From the operations, I can guess which kernel this refers to, but it would make debugging much easier if the operations could be named.

Looking into the HLO output, I am quite sure about the correspondence between graphs and functions in the code.
HLO for T=4 recurrence steps

Forward pass: module_0009.jit__unnamed_function_.sm_8.0_gpu_after_optimizations.pdf
$\frac{\partial h_4}{\partial \lambda}$ backward (VJP) module_0010.jit__unnamed_function_.sm_8.0_gpu_after_optimizations.pdf

HLO for T=128 recurrence steps

Forward pass module_0009.jit__unnamed_function_.sm_8.0_gpu_after_optimizations.pdf
$\frac{\partial h_{128}}{\partial W}$ module_0010.jit__unnamed_function_.sm_8.0_gpu_after_optimizations.pdf
$\frac{\partial h_{128}}{\partial \lambda}$ module_0011.jit__unnamed_function_.sm_8.0_gpu_after_optimizations.pdf

For T=128, the striking difference between $\frac{\partial h_{128}}{\partial W}$ and $\frac{\partial h_{128}}{\partial \lambda}$  with VJP is the much larger number of operations that seem to be required to compute the vjp.


Control webviews with an event emitter helper rather than explicit st…

…ate changes with redux actions. r=linclark
@linclark @ncalexan So this is a bit what I was talking about. I think it'll make more sense as a side effect once we have explicit state changes from history/navigation events.

Coverage decreased (-2.6%) to 44.357% when pulling 4a05a6615283f3bb930668783448d86b8a269ec2 on jsantell:webview-refactor into 4635efaf2cc90fe758e22243eef293a9c3fbc7f0 on mozilla:master.

I posted some nits and code style comments inline.  This looks good overall, but I don't feel I really understand the benefit of this approach.  The diff churn looks about equal (similar + lines to - lines), after you forget the test files, so it's not syntactically simpler.  If you're happy with it being semantically simpler, rock on!

Oooh, speaking of semantics: it would be instructive to see a follow-up patch to change how page title's are surfaced, since that would flow through the controller and out into a Redux action (and then out to the UA service).

@ncalexan this breaks out the webview interactions out of the redux loop; a page title changing is unaffected, this just no longer uses actions/action semantics when they aren't actions, and trigger empty reducers

I like it. r+ if CI comes back green

Coverage decreased (-2.6%) to 44.677% when pulling bd62380614c52f5251192538614c21fc034914f9 on jsantell:webview-refactor into f61019c60ed56c390ca98cccab4526490d720f72 on mozilla:master.

Coverage decreased (-1.6%) to 29.159% when pulling c081179396913ce8096fdce7c4e0e62427d42a59 on jsantell:webview-refactor into 25ac25d102caa69dcfe8bb9c59cf658c77832fba on mozilla:master.


missing image

change samuel bryan to Tom Zarebczan as person who make a Pr

This update is now a group effort, so the author should be Samuel-lbryian


Suitability for non-human and non-model organisms?

Apologies for the very general question, but before I start really digging into bcbio-nexgen I really want to know...
How suitable is it for non-model organisms or even just non-human?
I find myself re-inventing the wheel too often, and would like to use more-or-less standardized tools and pipelines.  But very often find that there are embedded (often implicit) assumptions which restrict their applicability.

Travis;
Absolutely, we'd love to have more contributors using bcbio on non-human/non-model organisms. Practically most of the work our group does is on human, mouse, rat so tools definitely gets the most attention and testing on those genomes. However, there is no attempt to limit analyses to human only and we'd be happy to merge fixes if you find issues on other genomes. We include several other genomes as well as a script to add new organisms:
https://bcbio-nextgen.readthedocs.org/en/latest/contents/code.html#adding-new-organisms
and I know have users doing processing on non-human samples.
Thanks for considering using bcbio. It's great to have a diversity of contributors and makes the analysis tools better.

Hi Travis,
I've used bcbio with Mfascicularis for which there is basically just the assembly (with thousands and thousands of unlocalised etc contigs that can give you a headache in some of the tools) and snpeff. To make bcbio work I had to forge a false, empty dbsnp vcf file and that was pretty much it. I also of course built the bwa and STAR indices and for the STAR index I downloaded the gene gtf that's available.

@travc, you can install any genome and annotation and use it with bcbio-nextgen, though there may be some trickiness with the genome like @mjafin mentioned. You can make the indices and install the genomes with the bcbio_setup_genome.py script here:
http://bcbio-nextgen.readthedocs.org/en/latest/contents/configuration.html#adding-custom-genomes

Thanks for the info.  It looks promising enough to dig into.
That said... I'm not expecting to be able to just 'turn the crank'.
We done even have gene annotations in some cases, so obviously that rules out snpEff and a lot of other analyses.  To run those species, I'll probably have to disable big chunks of the workflow and tweak other bits to run in a more naive mode.  Also, our 'good' reference is actually from a hybrid of two species, and portions map much better to one or the other but not both.  It is pretty much a mess.

Hi @travc,
Thanks, hope this got you started. Closing this for now just to clean up our issue list. Feel free to reopen if you run into any issues.


Protocol 1a: 384-well plate organization (maybe part of #1)

Do 4x:

[ ] Scan 1 384-well plate RACK barcode (this specifies the primer set)
[ ] Scan 1 384-well PLATE barcode
[ ] Scan 4x 96-well plates record which quadrant each will go in?

Seems like this is done with Excel separately from the actual pipetting. Why? And then how do they actually remember later which quadrant they picked for each 96-well plate when they are doing the pipetting?

I have a few files that show:

the .csv file that comes off the barcode scanner (the TS file)
the 384-well plate map (users could upload something like this to define the 96->384 mapping?)

3 other files that are used by UCLA to create the platemap from multiple uploaded TS files. These are for reference, not to be used in this LIMS.
I'm unable to attach these to this issue for some reason. Just mentioning for when we need them for testing.


Option to disable translation creation for a kata

There is a checkbox for "allow contributors" for katas in kata editor. I think there should be one for "allow translations" too. Here's why:
The translation system right now is too inclined on letting translations be created and approved. What if I don't want translations to a kata because it only makes sense in that language, or because I plan to add more languages myself at some point? What if I want to prevent other people from shitposting translations (like, making CoffeeScript/TypeScript translations of advanced JS feature katas)? If I don't reject the translations, someone will come and approve them one day; but if I reject them, now I might have to answer a million questions why I rejected the translations, and that still doesn't stop someone from forking/writing one from scratch again. (Not to mention the elephant in the room that if a translation is faulty, the inquiries are mostly directed to the kata author instead.) It's a continuous nuisance for some of the katas around. And if I really want to add a language to my kata, I can do it from the kata editor anyway.

Perhaps one possible approach could be to filter the "Choose Language" list at the translation page so it only includes languages that are approved by the author (or, alternatively, languages that have not been blacklisted by the author).
In order to do that, however, you'd then likely have to make some UI changes to the Kata editor page (and then some) so the author can check off their approved languages.

@docgunthrop Yeah, that would be helpful for some kata, but for most, the "Allow translations" should be enough. Plus, that would be a lot less work. :smile:

I think preventing people from making translations because the author MIGHT in the future add them himself is a VERY bad reason to prevent translation being added. In that way authors can 'hoard' translation points, or prevent others from gaining points. Especially for new languages, it is useful to be able to at least start translating some simple existing Katas.


Codesize exclude psa wrapper

Description
When psa_crypto_driver_wrappers.c is created from psa_crypto_driver_wrappers.c.jinja but neither PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT nor PSA_CRYPTO_DRIVER_TEST are set, it should be possible to omit the entire wrapper function.
This PR will provide one prototype which can omit some wrapper functions, such as 2~3 functions.
PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")

[x] changelog provided, or not required (Part of the epic code size)
[x] backport done, or not required (Refine of code, 2.28 no needed)
[x] tests provided, or not required(current test cases are enough)

Notes for the submitter
Please refer to the contributing guidelines, especially the
checklist for PR contributors.

The target of this commit is wrong, we should merge it to Mbedtls/development. Discard this and create another one: https://github.com/Mbed-TLS/mbedtls/pull/7980


Block systems from submitting topics to users that the user already has seen

We should not allow systems to submit topics that are already returned by the /user_feedback/topics API call.
Possibly also extend the /user_feedback/topics API call to return topics added by user.

also add the possible user_topic states to the user_topic_feedback api endpoint and document these states in in the documentation


modify e1000 driver

The 64 bit number has been changed to 32 bit. And modify the warning

You have worked hard! Thank you for your contribution to xbook!


Enforce column casing in SQLCheckExtractors

Uses the parent extractor's _is_uppercase_names property to determine if the column should be upper cased in the SQLColumnCheckExtractor's _get_input_facets() method. These methods have also been moved from util to the extractors directly as they were not utils to be used across extractors.
Signed-off-by: Benji Lampel<EMAIL_ADDRESS>Problem
Column casing is not enforced by the SQL Column Check operator, meaning case-sensitive databases like Snowflake may get the wrong-cased column passed into data quality facets, which will not render in the UI.
Closes: https://github.com/OpenLineage/OpenLineage/issues/1156
Solution
Uses the parent extractor's _is_uppercase_names property to determine if the column should be upper cased in the SQLColumnCheckExtractor's _get_input_facets() method. These methods have also been moved from util to the extractors directly as they were not utils to be used across extractors.
Checklist
You've signed-off your work
Your pull request title follows our guidelines
Your changes are accompanied by tests (if relevant)
Your change contains a small diff and is self-contained
You've updated any relevant documentation (if relevant)
You've updated the CHANGELOG.md with details about your change under the "Unreleased" section (if relevant, depending on the change, this may not be necessary)
You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
You've added a header to source files (if relevant)

@JDarDagran would appreciate a review :)

@denimalpaca can you rebase? The mypy errors have been fixed on the main branch

Oh, you've done this just as I was writing.


Dynamic zIndex popup management

When clicking on a popup, or focusing a widget inside it, the popup is now brought to the front.

@divdavem  this change is fine for me. Build is :ok:  you can deliver.

@benouat Thank you for your review


homebrew package ?

might make life easier than curl..

Yea. I wanted to do that. And got lost in documentation whenever I started to do it.
Sometime soon, I need motivation.

sure I know what you mean ...
I guess wait to see if anyone else wants it by voting on this issue. I can live without it.
Maybe do a chocolate for Windows people too.

Yea, one think about home brew I dislike is it takes longer to finish all updates. Curl is sweet and simple.
anyways let’s see if someone else lands on this issue In future.

I think the main problem we will face here is the location of the binary file. Gobrew is located in a separate directory in the home space. While brew places all binary files in one common directory in which links are created.
I haven't figured out how to solve this problem yet. If only to untie from the current location. And remove the possibility of updating from the program itself?

Good point. Thanks.
And I think curl will always be the fastest way to install this binary, homebrew often has long long update times.


Warnings, Errors and Orientation fixed.

Dependencies, Browserlists, Proxies and Orientation issues of Resume Builder Form
Issue No: #102
Follwing issues were fixed:

Deprecated stable dependencies were updated.
Caniuse-lite package used by Browserslist was updated.

Proxy settings changed.

Orientation of Resume builder form perfected.

Could you please add a screen recording about your change in project.


4.4 Cards layout - multiple columns and gray box

I'm trying to get the same layout as in the youtube demo of version 4.4.
The problem is that I can't get several columns and the grey background text box (card?) like in the video.
(Although they have the same image, they are 4 duplicate notes changing the name for testing purposes)

You can change backgrounds and borders in Style Settings. Make sure you are using the latest version of the snippet.


[hotfix] Update NOTICE files to reflect year 2023

superceded by https://github.com/apache/flink-connector-hive/pull/6


1KW: Network settings implementation

Implement Network settings.
JIRA: https://jsw.ibm.com/browse/PFEBMC-1851

Signed-off-by: Nikhil <“Nikhil-Ashoka”> and Nabil <"nabilpandiyalayil">


The name 'WebApplication' does not exist in the current context

When updating the Program.cs file to include the seeded records, receiving an error "The name 'WebApplication' does not exist in the current context.

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

ID: a0a4022c-7ef1-3c30-4f9d-cf521a57a44a
Version Independent ID: a0b5e15c-d747-8710-95fb-a55c09861a1e
Content: Part 5, work with a database in an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/working-with-sql.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

That's usually because the project file is missing  <ImplicitUsings>enable</ImplicitUsings>

I'm not exactly sure where I would correct this, could you give me some direction? :)

Edit the project file.


Giphy attribution looks slightly out of place when Collapsible image preview is enabled

Describe the bug
The Giphy attribution (introduced in v2.1.0) looks slightly out of place (bottom image) when it is placed on the right of the image URL. As shown by the top image, this only occurs when the URL is also shown.
It may look better to put the attribution on the left or wrap it it down to the next line.

To Reproduce
Steps to reproduce the behavior:

Install and enable v2.1.0
Set Display the GIF as: to Collapsible image preview
Set provider to GIPHY
Save
Post a gif

Expected behavior
It may look better to put the attribution on the left or wrap it it down to the next line.

Thanks for the report.
Fix is available in version 2.1.1 of the plugin (not yet available in the marketplace, refer to this PR to know when it is officially released in the marketplace).


Fix incorrect handling of nested quantifier

This is a fix for issue #8.

Any issues with this PR? It fixes a significant bug in the module.

Bump.

@davisjam Almost looks like this package is no longer being maintained. Wish project owners would post something in the README if it's no longer being maintained or archive it or something.

I am seeing if I can get publish rights on npm...