Read Azure Keyvault mounted secrets in a Spring Boot 2.4.x application

What steps did you take and what happened:

Setup the CSI driver on the cluster
Create secrets in Azure key/vault
Connect the K8s cluster to Azure key vault using provided client ID and Secret
Create Secret Storage Class
Add the mount location in deployment.yaml
Verify if the pod has mounted secrets

What did you expect to happen:

Secrets to be loaded in Spring Boot 2.4.x on startup

Which access mode did you use to access the Azure Key Vault instance:
Service Principal,
Environment:

Secrets Store CSI Driver version: (use the image tag):
Azure Key Vault provider version: (use the image tag):
Kubernetes version: (use kubectl version and kubectl get nodes -o wide):
Cluster type: (e.g. AKS, aks-engine, etc):
Spring boot version 2.4.x

Hello @Jatish-Khanna Could you provide env details:

Secrets Store CSI Driver version: (use the image tag):
Azure Key Vault provider version: (use the image tag):
Kubernetes version: (use kubectl version and kubectl get nodes -o wide):
Cluster type: (e.g. AKS, aks-engine, etc):
Spring boot version 2.4.x

Also could you confirm if service principal has valid access permissions for secrets?

Closing this due to inactivity. Please feel free to reopen if you have any questions.

I can't provide the mentioned details due to corporate policies
Secrets Store CSI Driver version: (use the image tag):
Azure Key Vault provider version: (use the image tag):
Kubernetes version: (use kubectl version and kubectl get nodes -o wide):
Cluster type: (e.g. AKS, aks-engine, etc):


Dynamic Api for ApiSelect

Subject of the feature
Describe your issue here.
we use two ApiSelect for two fields in FormSchema,
sometimes,we need change the api prop and params prop of ApiSelect for dynamic,just as we select one option of ApiSelect A,then ApiSelect B will clear all options then fetch data from server with the new param.
but we don't know how to solve it with the api and prop,try and try again,but nothing got.
Problem
If the feature requests relates to a problem, please describe the problem you are trying to solve here.
Expected behaviour
What should happen? Please describe the desired behaviour.
Alternatives
What are the alternative solutions? Please describe what else you have considered?

Can you post your code？

var schema1: FormSchema = {
field: "vsid",
component: "ApiSelect",
label: "VS",
itemProps: {
labelCol: { span: 14 },
wrapperCol: { span: 10 },
},
colProps: {
span: 12,
},
componentProps: {
//api:selListApi1234,//set and dont set here is the same.
labelField: "name",
valueField: "id",
placeholder: "选择VS",
},
};
var schemas:FormSchema[]=[
{
field: "typeid",
component: "ApiSelect",
label: "类型",
componentProps: ({ formModel }) => {
return {
numberToString: false,
api: dicTypeApi,
labelField: "name",
valueField: "id",
placeholder: "选择项目类型",
onChange: (e: number) => {
schema1.componentProps = {
api: selListApi,
params: { id: e },
resultField: "list",
labelField: "name",
valueField: "id",
placeholder: "选择VS",
};
removeSchemaByFiled(schema1.field);//success
  	//updateSchema(schema1);    //fail to fetch,if change label,it will change the label of apiselect
  	appendSchemaByField(schema1, "typeid", false);//fail to fetch
        }
      },
    };
  },
},

schema1,
]

Don't mess with the code format
Make your question clear
What you expect

I will close it first until you can clarify your question

@cugliang 请问你这个问题解决了吗？我现在也遇到这个问题，在 issues 里面都找不到别人问这个问题，难道大家都会？找到你的发现也没有答案


Inconsistent letter spacing

Both sent and received messages in a room are displayed using font consistent with the OS settings.
However, quoted messages have unusually wide spacing between letters. Also, the excerpt from the last message, as displayed in a list of rooms, uses this extended letter spacing. The thing is perfectly functional, it just looks disturbing.
Actually, I am running my OS with default settings, regarding font face, font size, and I am even not aware that letter spacing/kerning is configurable. That said, I have not tested, how the application will respond, after me changing my OS settings.
(seen in foss-signed-31.10.2022-V1.apk running in LineageOS)

admittedly I'm not a font expert and can't say I've noticed a difference, this could be due to your OS fonts :thinking:  from the app side the only difference between the two text fields is the font size is 14sp vs 15sp and some scenarios a the text colour has a 20% alpha applied

LAST MESSAGE
MESSAGE
REPLY

On the other side, I am the one who has no idea how to add inline images. Which would help significantly in this situation. So I sent you DM over Matrix with tiny (6kB) PNG. Please look at it.
The picture contains a screenshot of a message iii mmm nnn | VAVA | ff fi ffi fl ffl | ﬀ ﬁ ﬃ ﬂ ﬄ | r,  F. and a reply to the message, saying the same.
Apparently, the original message is displayed with font size 30px, while the response with font size 32px. That said, spaces between letters inside word should be equal or smaller in the upper text than corresponding spaces in the lower text. Which is NOT the case. The gaps in the upper texts are often (but not always) significantly wider.
My best estimate is that the upper text is rendered with font-kerning switched off. See Wikipedia article on font-kerning for explanation. Perhaps looking at the first image of the article might give you sufficient understanding what it is about, even without reading the article.
If you would like to experiment, to see the subtle differences how font-kerning and letter-spacing influence the rendered text, just fire up any modern internet browser, and let it open the following HTML file:
<!DOCTYPE html>

<meta charset="utf-8"/><title>Font Kerning</title>

Font Kerning

NNN VAVA | r,  F. | ff fi ffi fl ffl | ﬀ ﬁ ﬃ ﬂ ﬄ

NNN VAVA | r,  F. | ff fi ffi fl ffl | ﬀ ﬁ ﬃ ﬂ ﬄ

NNN VAVA | r,  F. | ff fi ffi fl ffl | ﬀ ﬁ ﬃ ﬂ ﬄ

NNN VAVA | r,  F. | ff fi ffi fl ffl | ﬀ ﬁ ﬃ ﬂ ﬄ

NNN VAVA | r,  F. | ff fi ffi fl ffl | ﬀ ﬁ ﬃ ﬂ ﬄ

NNN VAVA | r,  F. | ff fi ffi fl ffl | ﬀ ﬁ ﬃ ﬂ ﬄ

(The difference will be even more pronounced with serif font instead of sans-serif, because of ligatures kicking in.)
BTW, AFAIK, the transparency is not taken into account when rendering font glyphs.

IN APP EXAMPLE
HTML

the examples mentioned above rendered ^^^


where to go to fix this

https://keras.io/api/callbacks/model_checkpoint/
in this url , i wanna change something so could you give me the repository url for pull request
thankyou😁😁😁😁

Hi @epsilon-deltta ,
It seems all these pages are auto generated from internal scripts. It seems for all the callback classes in callbacks module the source link exists but not opening. I will bring this to Doc team attention. Either we may need to remove the source link if the document is auto generated through some internal script or we need to provide URL link for same.I will let you know.
Meanwhile can you share which details you want to modify for what reason?
Thanks!

Hi @epsilon-deltta ,
Now the source link is working and you can click on it to move to the source code here.
If you still have something to work here please feel free to do so or confirm us so that we can have a look into the proposed changes. Thanks!


 I tested running the script as the postgres user on staging. I have not yet tried to restore from the dump.

👍 on ✔

just a few questions i had while reviewing this:

does the backup get saved on an encrypted drive?
what user do we run the command as? seems like https://www.postgresql.org/docs/9.4/static/app-pg-dumpall.html mentions needing to run it as a database superuser
have we tested this out on staging?

@gcapalbo
To answer your questions
The backup is saved on the encrypted drive https://github.com/dimagi/commcarehq-ansible/blob/master/ansible/roles/postgresql/defaults/main.yml#L6
The command is run by the user postgres so we should be fine there.
I tested out deploying the playbook and running the command on staging, as postgres, and it successfully completed but I have not yet tried to restore from that dump file. I also ran it manually so we will have to wait until tomorrow to see if it will run successfully from cron.

:+1: thanks @calellowitz


Update for student experience

Bluemix toolchain: Delivery Pipeline deployed uom-chatbot-catalog to dev, including commit 594e0d4347f74f5d26afed9a7afdc94a2a4cfa42


[bug]: Wagmi sendTransaction doesn't work with Trust Wallet on Android

Description
sendTransaction doesn't work with Trust Wallet on Android but works with MetaMask
When I call sendTransaction redirect happens but modal to confirm transaction doesn't show up
AppKit SDK version
"@reown/appkit-wagmi-react-native": "^1.0.2",
Output of npx react-native info
ystem:
OS: macOS 14.6
CPU: (8) arm64 Apple M3
Memory: 844.20 MB / 24.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
Yarn: Not Found
npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.16.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.0, iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0
Android SDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12071903
Xcode: 16.0/16A242d - /usr/bin/xcodebuild
Languages:
Java: 17.0.12 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.14 => 0.71.14
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Expo Version (if applies)
Expo: 48.0.21
Steps to reproduce
Connect to TrustWallet on Android and try to use sendTransaction function
Snack, code example, screenshot, or link to a repository
sendTransaction({
  to: ethAddress,
  value: ethers.parseUnits('0.01', 18),
  data: '0x',
})

Hey @alpeeff 👋 are you using the latest version of wagmi/viem? Also, can you try using parseEther from viem?
import {useSendTransaction} from 'wagmi';
import {parseEther} from 'viem/utils';

sendTransaction({
  to: ethAddress,
  value: parseEther('0.01'),
  data: '0x',
})

Hey @alpeeff 👋 are you using the latest version of wagmi/viem? Also, can you try using parseEther from viem?
import {useSendTransaction} from 'wagmi';
import {parseEther} from 'viem/utils';

sendTransaction({
  to: ethAddress,
  value: parseEther('0.01'),
  data: '0x',
})

After updating minor versions nothing has changed.
I'll attach videos for trust and metamask:
https://github.com/user-attachments/assets/ed03f0ea-2053-4526-b543-82be4bd622a6
https://github.com/user-attachments/assets/17f203b9-7eb7-48ca-bf4c-3fad7250aeb6

Hey @alpeeff 👋 are you using the latest version of wagmi/viem? Also, can you try using parseEther from viem?
import {useSendTransaction} from 'wagmi';
import {parseEther} from 'viem/utils';

sendTransaction({
  to: ethAddress,
  value: parseEther('0.01'),
  data: '0x',
})

After updating minor versions nothing has changed.
I'll attach videos for trust and metamask:
https://github.com/user-attachments/assets/ed03f0ea-2053-4526-b543-82be4bd622a6
https://github.com/user-attachments/assets/17f203b9-7eb7-48ca-bf4c-3fad7250aeb6

@alpeeff can you check with another network? I think Trust doesnt support testnets

okey, can you provide a minimal reproducible example so i can test it locally?


Support tooltip

Fixes #141.

Hi there. Very nice feature idea. I would also like to use this feature.
I've tried out your PR, but the tooltips are not showing in the right place. They are offset from the mouse point and the offset changes depending on which cell I hover over. Also, I think you forgot to remove the console log on https://github.com/Folyd/svelte-heatmap/blob/30ced085f9d71cc5d583487aebd064507f10c06b/src/views/Tooltip.svelte#L12. It logs out every time I hover over a cell.
Many thanks for you contribution though!


Additions in Issue Template

Description:
I noticed that the repository does not have an appropriate issue template.
Issue Template: I want to add  some more points to your issue template like styling changes etc
Please assign this issue to me under Gssoc'23 @prakhartiwari0

@Anshika-Jain02 can you provide more detail on what change/add you want to make in the issue template?

no response. I am closing this issue.


feat: Update hardhat-circom w/ circom2 support

This is currently a draft because the versions haven't been released yet, but I have been testing and updating locally. I wanted to get everything committed in preparation for the actual releases.

@nalinbhardwaj everything is published to npm and I updated and tested locally!


Move map through marker

I'm submitting a ...
[x] question
[ ] any problem or bug report
[ ] feature request
If you choose 'problem or bug report', please select OS:
[x] Android
[ ] iOS
cordova information:
cordova-background-geolocation-lt 2.8.5 "BackgroundGeolocation"
cordova-plugin-background-fetch 5.1.1 "CDVBackgroundFetch"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-console 1.1.0 "Console"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-googlemaps 2.0.11 "cordova-plugin-googlemaps"
cordova-plugin-request-location-accuracy 2.2.2 "Request Location Accuracy"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
ionic-plugin-keyboard 2.2.1 "Keyboard"

Expected behavior:
I need to move the map like the video of the example, in git comrade has until the example however it is related to the native android and I am using ionic 3.
My doubts are, in your plugin can I make this effect? And the other is what could be the logic to do?
It is not clear in my mind the functioning, for example, when to turn, which event callback I need to hear.
Screen capture or video record:
q

If you want to create like video, you need to manage (1) the marker position and (2) camera position.
(1) marker.setPosition()
(2) map.animateCamera()
There is no feature such as followCamera(marker), and I have no plan to create such a feature.
If you donate $1000USD,  I will consider that. But it's not so difficult. You should try that.
(Please try something before asking)


Update dependencies

This updates the dependencies of gopatch with,
go get -u
go mod tidy

Codecov Report

Merging #23 (d3acf7a) into main (1592705) will decrease coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   86.34%   86.24%   -0.11%
==========================================
  Files          38       38
  Lines        1985     1985
==========================================
- Hits         1714     1712       -2
- Misses        217      218       +1
- Partials       54       55       +1

Impacted Files
Coverage Δ

internal/engine/changelog.go
91.93% <0.00%> (-3.23%)
: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 1592705...d3acf7a. Read the comment docs.


Remove 'New in *' Sandcastle tags.

CC @hpinkos.

@bagnell, thanks for the pull request! Maintainers, we have a signed CLA from @bagnell, so you can review this at any time.
:warning: I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Thanks @bagnell


Add Advertising

https://github.com/cenoura/awesome-ads
A curated list of advertising and programmatic media related content, resources to learn about it and libraries to implement it on your website.
PRs reviewed:
https://github.com/sindresorhus/awesome/pull/1596#issuecomment-530011763
https://github.com/sindresorhus/awesome/pull/1612#issuecomment-530010320
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration.
You have read and understood the instructions for creating a list.
This pull request has a title in the format Add Name of List.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ Adding Swift
❌ Added Swift

Your entry here should include a short description about the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

Your entry should be added at the bottom of the appropriate category.
The suggested Awesome list complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it.
Run awesome-lint on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please report it.
Includes a succinct description of the project/theme at the top of the readme. (Example)

✅ Mobile operating system for Apple phones and tablets.
✅ Prototyping interactive UI designs.
❌ Resources and tools for iOS development.
❌ Awesome Framer packages and tools.

It's the result of hard work and the best I could possibly produce.
If you have not put in considerable effort into your list, your pull request will be immediately closed.
The repo name of your list should be in lowercase slug format: awesome-name-of-list.

✅ awesome-swift
✅ awesome-web-typography
❌ awesome-Swift
❌ AwesomeWebTypography

The heading title of your list should be in title case format: # Awesome Name of List.

✅ # Awesome Swift
✅ # Awesome Web Typography
❌ # awesome-swift
❌ # AwesomeSwift

Non-generated Markdown file in a GitHub repo.
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate. Please search for existing submissions.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
WTFPL and Unlicense are not acceptable licenses.
If you use a license badge, it should be SVG, not PNG.
To verify that you've read all the guidelines, please add comment with just the word unicorn.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.
Doesn't include an Inspired by awesome-foo or Inspired by the Awesome project kinda link at the top of the readme. The Awesome badge is enough.

Go to the top and read it again.

Looks good to me. Followed all the rules and no errors in lint tools also.

Nice project! No awesome-lint errors. Your pull request is missing the "secret" special comment to indicate that you read the guidelines, but it looks like you did everything else correctly. A couple typos: under "Concepts and Fundamentals", do should be does. Under "Contact" the word question should be questions. That's all I have, I think this looks really great!

@CompSciLauren thank you so much for your time reviewing it! I've just fixed the typos you pointed :smile:

unicorn

❯ awesome-lint 'https://github.com/cenoura/awesome-ads'
✖ Linting

  README.md:59:3
  ✖  59:3  Link to https://academy.exceedlms.com/student/path/3132-google-ads-fundamentals is dead  remark-lint:no-dead-urls

  1 error

https://github.com/sindresorhus/awesome-lint

Fixed!

Tweet: https://twitter.com/awesome__re/status/1177088201422278657


⚠ SceneTime has degraded performance

In a846415, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1629 ms

Resolved: SceneTime performance has improved in 488adcb after 7 minutes.


Digispark support for v2.0

I have rewritten support for the Digistump Digispark board according the Duckuino v2 modular design. The module also includes some minor improvements:

Smaller/cleaner generated code due to use of the F macro
Code layout improvements

What does not work is the sketch download, as it seems to hard code inclusion of the Arduino keyboard library. It seems that some abstraction is needed to make this work for boards that have alternative keyboard implementations.

Concerning the sketch download, I didn't noticed that, I'll maybe fix it when I got the time ;)
Thank you @nixublx for the help you provide to the project ^^


BUG: If modbus connection is restored after a modbus failure notification this does not disappear

With the new async modbus connection it is possible to auto restore if the user has manually restarted the charger.
It is not needed to restart V2G Liberty, just setting the charge mode to Automatic will usually reset the connection.
So, then remove the message in the UI and notification.

This is based on the wrong assumption that it would self-restore. Unfortunately this is not the case.


Add strtof for all platforms that have strtod

All platforms that have strtod very likely also have strtof. Having strtof allows for fuzzing of hexf-parse::parse_hexf32 comparing against strtof, which can't (easily) be done with strtod, due to float rounding and over-/underflow behavior.
I'm unsure of whether the strtof declaration in src/unix/mod.rs also needs a link name adjustment for x86 macos. I haven't been able to find anything about this after a rough search in this repo and on Google. I haven't added it for now since only strtod (edit: out of the strtoX functions) seems to have the changed link name (and I don't have a mac handy to test the available symbols with), but feel free to tell me if it's needed and I'll adjust the PR accordingly.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.
Please see the contribution instructions for more information.

Looks good, thanks!
@bors r+

:pushpin: Commit f0dd7a93e9b7f45382dc6d96e9308881a0874ff0 has been approved by JohnTitor

:hourglass: Testing commit f0dd7a93e9b7f45382dc6d96e9308881a0874ff0 with merge 72fdbd8aef23773aedefed23555a9bc77e73c35a...

Should I open a version bump PR after this or is one upcoming already? I'd like to use strtof for the mentioned use case of fuzzing hexf-parse while comparing against it.

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 72fdbd8aef23773aedefed23555a9bc77e73c35a to master...


Make i2c_slave callbacks public in the documentation

Is your feature request related to a problem? Please describe.
Currently, i2c slave callback APIs are marked as hidden in the documentation which I believe is a little restrictive since we would like to
create Zephyr applications handling I2C slave  scenarios.
Describe the solution you'd like
All the code is already in place, but we would like to have  the hidden attributte to be removed @cond INTERNAL_HIDDEN

I don't see any problem in make it public if there are application use cases.


Error exporting database with automatic backup

OrientDB Version, operating system, or hardware.

v2.2.10

Operating System

[x] Linux - Ubuntu 14.04 Digital Ocean virtual instance
[ ] MacOSX
[ ] Windows
[ ] Other Unix
[ ] Other, name?

Expected behavior and actual behavior
At time of execute the automatic backup, the log shows this errors related to an spatial index:
orient-server.log.0.txt
And this is my config:
{
  "enabled": true,
  "mode": "EXPORT",
  "exportOptions": "",
  "delay": "4h",
  "firstTime": "13:00:00",
  "targetDirectory": "/var/orientdbBackups",
  "targetFileName": "${DBNAME}-${DATE:yyyyMMddHHmmss}.zip",
  "dbInclude": "BH",
  "compressionLevel": 9,
  "bufferSize": 1048576
}

The backup file is created, but i get those errors :confused:

hi @alexmm11
do you have manual indexes?

No, all my indexes are automatic, all were created with the schema.

When the export is manual (export database etc etc) i dont get any error

ok @alexmm11
i will try to replicate it.
Thanks

hi @alexmm11
Fixed. It will be available in 2.2.12
Thanks

Thanks man!


--scope teamname option

To enable publishing to a different team than the default.
datasette publish vercel blah.db --project hello --team myteam

I'm going to test this with https://github.com/simonw/til

That worked: https://github.com/simonw/til/runs/3155919032


Genetic Algorithm implementation failure

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[ ] bug report
[V] question about the decisions made in the repository
Action taken (what you did)
root@DESKTOP:~/gekko/web# node max-old-space-size=8192 server.js
Expected result (what you hoped would happen)
Success of Genetic algorithm implementation
Actual result (unexpected outcome)
module.js:549
throw err;
^
Error: Cannot find module '/root/gekko/web/?max-old-space-size=8192'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
I am following the GA(Genetic Algorithm) instruction to implement it.
I typed following command at the gekko/web/ folder.
node –max-old-space-size=8192 server.js
But I have the error message.
How can I solve this problem? Please help me.

node –max-old-space-size=8192 server.js
But I have the error message.

So where is problem? You should add issue on gekkoga github. I usually use node gekko --ui instead node server.js  and all is work fine.

@xFFFFF Many thax!


Hotfix/measurement

Sovles #121 and
https://github.com/formal-methods-mpi/Literature-Research-Pilot/issues/60
Should I add tests as well?

Also solves this:
https://github.com/formal-methods-mpi/Literature-Research-Pilot/issues/59


Improve Look'n'Feel of Previous/Next Lab Links

Improve the look and feel of the previous/next links at the bottom of the labs:

The links to the previous and next labs should be buttons. We're using Bootstrap (3.3.7), so let's use their buttons in the implementation: https://getbootstrap.com/docs/3.3/css/#buttons
Perhaps add a little margin/padding if necessary to make things look nice, and style the buttons a little to match the theme of the site.
Getting Started
The HTML for all labs is at _layouts/lab.html. The CSS comes from assets/css/immersion.scss.

Fixed by #16


Support for KITTI

Hi, it seems that you have implemented KITTI for SSD and have some initial result.
May I know if you could release this part of model?
Best,
Bin

Yeah,  we have achieved the 7th place of kitti car detection right now.
cfenet
But this part is our secret weapon recently.. we still want to get forward.  Maybe we will make it open after we get 1st.


Rate limit invadlid tx

Add rate limiting of transactions based on validy history.

This might means the same?
https://github.com/input-output-hk/cardano-node/issues/2020


Add simple server to use when writing documentation

Since the docs are served via GitHub pages, it might be nice to have a development server available to run locally to preview changes you make before submitting them in a PR.

You can cd into the docs folder and run 'npm install' and then 'npm run start' to run the docs locally.


Pod cannot be deleted due to missing container startup command

What happened?
using pod-config.json and container-config.json to create pod:
# cat pod-config.json
{
    "metadata": {
        "name": "nginx-sandbox",
        "namespace": "default",
        "attempt": 1,
        "uid": "hdishd83djaidwnduwk28bcsb"
    },
    "log_directory": "/tmp",
    "linux": {
    }
}

# cat container-config-nginx.json
{
  "metadata": {
      "name": "nginx-0"
  },
  "image":{
      "image": "docker.io/library/nginx:latest"
  },
  "command": [
      "top"
  ],
  "linux": {
  }
}

Then, we could find the container  was created failed:
# crictl run container-config-nginx.json pod-config.json
FATA[0012] running container: creating container failed: rpc error: code = Unknown desc = create container: create result: internal/proto/conmon.capnp:Conmon.createContainer: Failed: child command exited with: 1: executable file `top` not found in $PATH: No such file or directory

At this point, the container process on the node becomes a zombie process, and the pod cannot be deleted.
      1   15487   15486    2552 pts/1      11037 Sl       0   0:00 /usr/bin/crio-conmonrs --runtime /usr/bin/crio-crun --runtime-dir /var/lib/containers/storage/overlay-containers/7d46c4f2908be02f02465923ca1aca87295e8872231dae236287fe69209fdec9/userdata --runtime-root /run/crun --log-level info --log-driver systemd --cgroup-manager systemd
  15487   15496   15496   15496 ?             -1 Ss       0   0:00  \_ /pause
  15487   15509   15486    2552 pts/1      11037 Z        0   0:00  \_ [3] <defunct>

What did you expect to happen?
Expect the container process to exit normally instead of becoming a zombie process.
How can we reproduce it (as minimally and precisely as possible)?
See what happened.
Anything else we need to know?
No response
CRI-O and Kubernetes version

conmonrs version: v0.6.3

OS version

# On Linux:
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ uname -a
Linux lima-crio 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux

Additional environment details (AWS, VirtualBox, physical, etc.)

nothing else

@Bevisy ah good point, I can reproduce the same with crun but not runc. I was going to find a way to fix it in conmon-rs but found no real solution yet. Maybe it has to be fixed in crun then :thinking:


Dont log imagestream and tags before importing, which is polluting bu…

…ild logs

CLOUDBLD-2261

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates

rn updated: - Dont log imagestream and tags before importing


Update from 20.4.6 to 20.16.2

anaconda-linter needs at least v20.10.0. This version is the latest version that does not require additional dependency updates.
Package info
Home: https://virtualenv.pypa.io/
Doc: https://virtualenv.pypa.io/
Dev: https://github.com/pypa/virtualenv
Change log: https://github.com/pypa/virtualenv/compare/20.4.6...20.16.2

We might want to add the license_family to the meta.yaml file
https://github.com/AnacondaRecipes/virtualenv-feedstock/blob/6d90240d03da8bed774ea7099ce1ebeff922d224/recipe/meta.yaml#L47&L48

Got it, thanks!


Better defaults

Brings n_trees and n_iters defaults into line with UMAP, and fixes #51.

Pull Request Test Coverage Report for Build 81

9 of 9 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 92.58%

Totals

Change from base Build 80:
0.02%

Covered Lines:
1934

Relevant Lines:
2089

💛  - Coveralls


skywalking-python not trace request

Please answer these questions before submitting your issue.

Why do you submit this issue?
Question or discussion

Question

I learn skywalking-python by this page: https://github.com/apache/skywalking-python
after agent.start(),only create instance,but not track any request.
when agent.start(), I also start my django server and request some api, then I view skywalking admin page,only see instance created but not trace any request info.

My fremework info:

Python-3.7
Djano-2.1.3
skywalking-python-0.2.0

@shuguang-dong please set the logging level(config.logging_level) to DEBUG and paste your logs here

Perhaps you just hit the incompatibility of Django plugin, which is fixed in the master branch but not included in the 0.2.0, if possible, please try to build from the master branch codes and tell us whether it helps, or try a newer Django version (> 2.2), thanks

This is my code:
from skywalking import agent, config

config.init(
    service='shenlong-kol',
    instance='dev-local',
    collector='my sky walking address',
)
agent.start()

and I debug it in pycharm ,here is log:
sw_flask                         [MainThread     ] [WARNING ] failed to install plugin sw_flask
sw_kafka                         [MainThread     ] [WARNING ] failed to install plugin sw_kafka
sw_tornado                       [MainThread     ] [WARNING ] failed to install plugin sw_tornado

I will also try a newer Django version(>2.2) again

I tested Django==3.1, apache-skywalking==0.2.0.  it worked well
import sys
import time

from skywalking import agent, config

from django.conf import settings
from django.conf.urls import url
from django.http import JsonResponse

config.service_name = "provider"
config.logging_level = "DEBUG"
agent.start()

settings.configure(
    DEBUG=True,
    ROOT_URLCONF=__name__,
    ALLOWED_HOSTS=['*'],
)

def index(request):
    time.sleep(0.5)
    return JsonResponse({"song": "Despacito", "artist": "Luis Fonsi"})

urlpatterns = (
    url("users", index),
)

if __name__ == "__main__":
    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)

cmd: python3 test_django.py runserver <IP_ADDRESS>:9090

I think the key may be this I will also try a newer Django version(>2.2) again

I tested Django==3.1, apache-skywalking==0.2.0. it worked well @shuguang-dong
import sys
import time

from skywalking import agent, config

from django.conf import settings
from django.conf.urls import url
from django.http import JsonResponse

config.service_name = "provider"
config.logging_level = "DEBUG"
agent.start()

settings.configure(
    DEBUG=True,
    ROOT_URLCONF=__name__,
    ALLOWED_HOSTS=['*'],
)

def index(request):
    time.sleep(0.5)
    return JsonResponse({"song": "Despacito", "artist": "Luis Fonsi"})

urlpatterns = (
    url("users", index),
)

if __name__ == "__main__":
    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)

cmd: python3 test_django.py runserver <IP_ADDRESS>:9090

It's quite expected because we run the test cases over and over in the CI, and I'm pretty sure it's just a version incompatibility issue fixed by @Humbertzhang in https://github.com/apache/skywalking-python/pull/52 in the master branch now(not included in the 0.2.0), I'll close this for now and if you @shuguang-dong have any further question, please comment here

@kezhenxu94 I think python agent should follow the java supported list doc style, add versions there.

@kezhenxu94 I think python agent should follow the java supported list doc style, add versions there.

Versioning the supported libraries as well as the tests is under construction by @Humbertzhang and I, will open another issue to track that


Specify Width and Height dimensions in pixels.

Hello, it would be really great if you could add the feature to specify dimensions in pixels. I want to make a 1080 x 1080 PNG picture but I can't with the current features. Thank you!

Hi. I worked on this issue, and tried editing codes.
I added the size setting item("custom"), and made it enable to set width and height values.
How about this? If you like, please comment.
(I'm sorry for my poor English...)

You can already set the width of the screenshot by dragging the corner of the editor. The height is set by the height of the code itself, plus the padding.

Setting the height explicitly doesn't align with this model for displaying the text.

Oh, I did't know the feature. I got it.


Bug: Back in Shuffled Decks does not restore previous card, and does note respect cardsDrawnPerDeck

If you select the Back button when you have cardsDrawnPerDeck set (say to 2,2,2,2,2,2) say of 16 choices, it will show all 16 choices for each going backward.
Specific to my prototype, I have a 1-card deck "Discuss the next two Settings…", and 36-card deck of Settings, but cardsDrawnPerDeck set to 3, and then a 1-card deck "Collectively pick one of those three Settings and add it to your Story Journal." but the players want to go back to the 3 cards that were previously drawn, they can't — completely different cards are displayed with the Back button.

Fixed with commit db1104e


[ #4 , extract links ] add link extraction

#4
This pull request introduces:
comprehensive tests for the extractWikiLinks function.
taking into account different file extensions, image links, Obsidian-style links, external links.
Test Suite Overview:

Common Mark Links:

Tests cover Common Mark links with different file extensions.
Handles links with non-image and image extensions.
Deals with relative paths and external links.
Ensures proper extraction of image links with and without alt text.

Obsidian Wiki Links (Pending):

Test suite is temporarily commented out due to a pending fix. Once resolved, it will cover various Obsidian-style links, including regular links, links with Obsidian-style shortest paths, and embedded wiki links.

Function Overview:
The extractWikiLinks function has been updated to follow a standardized format for the extracted links. The format includes properties such as from, to, toRaw, text, embed, and internal.
The to property is now formatted based on whether the link is internal or external, and the toRaw property represents the raw link. The function also handles image links, Obsidian-style links, and various edge cases.
Pending:

The Obsidian wiki links test suite is currently commented out due to a pending fix. Once resolved, these tests will be uncommented and included in the test suite.

@mohamedsalem401 if tests are passing let's get this merged and keep moving!


2.0_beta scriptimport function fails to import scripts

Empire Version 2.0_beta
OS: Kail 2 rolling
Screenshot is of interaction with a live Agent and attempting to import PowerUpSQL.ps1 via the scriptimport command:

Note: This is the most recent release of PowerUpSQL being imported as of this post and is PowerShell V2 compliant.  Importing other scripts have also resulted in this error.

this should be fixed now. feel free to re-open if you have issues


Sequest mods broken when >6 mods entered

Search was attempted with >6 mods, Sequest did not use the mods at all, instead ran with default mods.

Multiple fixes added to Sequest mapping code.


Hi, How can I solve this problem

File "C:/Users/Administrator/Desktop/CSGNet-master/train_synthetic.py", line 80, in
imitate_net.load_state_dict(torch.load(config.pretrain_modelpath))
File "D:\anaconda3\envs\cv\lib\site-packages\torch\nn\modules\module.py", line 490, in load_state_dict
.format(name))
KeyError: 'unexpected key "encoder.conv4.weight" in state_dict'

This happened when I used pretrain_model, can I not use pretrain_ model for training?


Impossible to use a net5.0-windows10.... TFW library assembly from a net5.0 TFW application assembly

Describe the bug
I think the the title is clear
To Reproduce
Create two such projects, the .NET 5.0 one referring to the library where the TFW is net5.0-windows10..., you'll see the error.
error NU1201: Project Executable is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Project Library supports: net6.0-windows10.0.19041 (.NETCoreApp,Version=v6.0)
Expected behavior
That it works
Version Info
VS2022, .NET 5.0 or .NET 6.0
Additional context
To be honest, I'm not sure if this is a bug or rather just by design but I haven't been able to find any information about  that scenario.

@YvesDolce, can you confirm what the TargetFramework for the library project and the app project?
If the library is targeting net6.0-windows10.0.19041.0, the app will also need to target net6.0-windows10.0.19041.0 or later.

Thanks @angelazhangmsft. The app is <TargetFrameworks>net6.0</TargetFrameworks> and the library is net6.0-windows10.0.19041.0. From your answer, I understand it's by design. Do you know the reason? I understand that the application could be launched on Linux/iOS and that that Windows specific library (DLL) would prevent its successfull loading/execution but is that the reason?
Is there a workaround? Would Embedded support for WinRT types be a way to solve this then?

@YvesDolce yes that's by design - you could multi-target and add platform guards around OS-specific calls as described in these docs: https://docs.microsoft.com/dotnet/standard/frameworks#net-5-os-specific-tfms
Embedded support is also an option, if the WinRT types you are using are all internal and don't need to be publicly exposed. I believe you can target net6.0 in your library and use embedded support (cc @j0shuams).

Closing this issue as by design.


Added deployment().properties.template.contentVersion property

Added deployment().properties.template.contentVersion property to AzNamespaceType class
Added integration test to cover valid usage

Fixes #3114
Contributing a feature

[X] I have opened a new issue for the proposal, or commented on an existing one, and ensured that the Bicep maintainers are good with the design of the feature being implemented
[X] I have included "Fixes #{issue_number}" in the PR description, so GitHub can link to the issue and close it when the PR is merged
[X] I have appropriate test coverage of my new feature

The 4 errors come from: Unhandled exception. Azure.Identity.CredentialUnavailableException: The ChainedTokenCredential failed to retrieve a token from the included credentials.

I merged changes of @miqm that were conflicting with mine

I merged changes of @miqm that were conflicting with mine

Looks great!


goose: 3.19.2 -> 3.20.0

Description of changes
https://github.com/pressly/goose/compare/v3.19.2...v3.20.0
I updated the version to 3.20.0 and I fixed the version tag to correctly pass the version to goose.
Upstream has changed how they handle integration tests, which means we do not need to disable them in postPatch.
We do not need to run integration tests as it requires docker.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 310792 run on aarch64-darwin 1

1 package built:

goose


help pages - describe FWO API

document (some) graphql api calls

example API call: get rule details for uid+device id

basic API sample calls have been documented
the rest is moved to phase 2


spi-hdlc-adapter: Don't call syslog() or fprintf() from signal handlers

syslog() and fprintf() are not async-signal-safe. They can (and
do) cause deadlocks under various circumstances.
This change replaces the calls to these functions with calls to
write(). It also adds a watchdog of sorts to the signal_critical()
handler to make sure that even if we call some functions that
are not async-signal-safe that we will at least terminate eventually.

LGTM :+1:

Um....  Travis is complaining about me not using the return value from a call to write() which I am explicitly ignoring because I know what I'm doing and I really don't care what the return value is:
    // Can't use syslog() because it isn't async signal safe.
    // So we write to stderr
    (void)write(STDERR_FILENO, message, sizeof(message)-1);

Honestly, it feels like -Werror=unused-result is broken in this circumstance.
Thoughts?

Nevermind, I'm now using a trick I learned from @mszczodrak a while back.

LGTM :+1:

LGTM :+1:


Include lazyload config for gam

https://southcomm.atlassian.net/browse/DEV-12
config.lazyLoad = {
enabled: true, // set to true to enable lazy loading
fetchMarginPercent: 100, // fetch ad when one viewport away
renderMarginPercent: 50, // render ad when half viewport away
mobileScaling: 2, // double these on mobile
};

@Alixers505 If these are all configured the same I would move this to the shared gam.js file located here  below line 47 something like this
// enable & configure default LayzyLoad
config.lazyLoad = {
  enabled: true, // set to true to enable lazy loading
  fetchMarginPercent: 100, // fetch ad when one viewport away
  renderMarginPercent: 50, // render ad when half viewport away
  mobileScaling: 2, // double these on mobile
};

and revert the 38 site overrides.  If there is a single site configure differently you can leave the site override.


Handle Windows Paths in CompileNotifications Tests

On Windows, JSON output creates paths with \\ separators, so pass
--enable-yaml-compatibility to handle it properly.
Additionally, paths are normalized as \\?\C:\...\... on Windows, so update the regex to match.

The changes look good to me, although like @drodriguez said I don't know why you only needed to change one of the uses of SOURCE_DIR.

@swift-ci please smoke test

Re the {{.*}} in type-context-info.swift,  source.request.typecontextinfo resolves the path, were as the others do not:
https://github.com/apple/swift/blob/master/tools/SourceKit/lib/SwiftLang/SwiftTypeContextInfo.cpp#L34


fix doc bug

What's the purpose of this PR
XXXXX
Which issue(s) this PR fixes:
Fixes #
Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Read the Contributing Guide before making this pull request.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit tests to verify the code.
[ ] Run mvn clean test to make sure this pull request doesn't break anything.
[ ] Update the CHANGES log.

Codecov Report

Merging #4579 (d13d203) into master (78aaca1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #4579   +/-   ##
=========================================
  Coverage     53.45%   53.45%
  Complexity     2724     2724
=========================================
  Files           495      495
  Lines         15460    15460
  Branches       1599     1599
=========================================
  Hits           8264     8264
  Misses         6631     6631
  Partials        565      565

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


SSL Issue behind Nginx Reverse Proxy (DOCKER)

Describe the bug
Running Bookstack Docker behind an NGINX Reverse proxy with SSL.. However Bookstack obviously runs non ssl and i have display issues as the other open bugs say.. The problem is if i change it in the env then the next time the docker container updates, i have to do it again.. Any tips?

What docker setup are you using? You should be able to set the APP_URL as either an environment variable or you might be able to mount the container to share the .env file across to the host for safe keeping and manipulation.

HI, i'm running the solidnerd/bookstack:latest container
if i set the APP_URL to the https address you think that should work?

@danmed Awesome! Will therefore close this off.


bug: "dirname: missing operand" from ocm-local-up-for-ingress.sh

Describe the bug
Using a fresh install of Ubuntu 20.04.6 on WSL2 on Windows 11, I tried https://docs.kubestellar.io/unreleased-development/direct/start-from-ocm/ . I also double-checked with the OCM Quick Start page for pre-reqs, and consequently installed kustomize too. Getting back to KubeStellar, when I got to the step of running ocm-local-up-for-ingress.sh, I got the error message shown below.
mspreitz@RedCoast:~$ curl -L https://raw.githubusercontent.com/kubestellar/kubestellar/refs/tags/v0.25.0-rc.2/scripts/ocm-local-up-for-ingress.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3154  100  3154    0     0  16091      0 --:--:-- --:--:-- --:--:-- 16091
dirname: missing operand
Try 'dirname --help' for more information.
Creating cluster "hub" ...
...

As far as I can tell so far, this is not a fatal problem.
Steps To Reproduce
Said above.
Expected Behavior
No spurious error messages.
Want to contribute?

[ ] I would like to work on this issue.

Additional Context
mspreitz@RedCoast:~$ bash --version
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
...

That script has the following line, which will not "work" in a curl-to-bash usage.
cd $(dirname ${BASH_SOURCE})


render function for grid column ran twice

Short description
Custom render function for grid column is run twice instead of once, per row index and col_index.
Affects both master and 1.5 versions.

Check the browser console after loading the page.

ACK, calling w2ui.grid.refresh() calls the render function twice.
Fiddle: http://jsfiddle.net/Lqac1y52/
Needs further investigation.

I do not see it run twice int he fiddle provided above. Here is console.log I see

Which is correct. One time per each row.
May be there is a second refresh call somewhere. For example after it returns from the server?

True, I no longer see it rendering twice either, but it was definitely there.
However, the renderer seems to be executed twice when the grid is initially loaded, so there might be an unnecassry call nonetheless that might be worth investigating.


Project build takes long time after upgrading to .Net Core 3.0

Project build takes a long time after upgrading to .Net Core 3.0 when project contains Migrations folder
I found project build takes a lot longer after upgrading my project to .Net Core 3.0. It feels like a whole rebuild is kicking off after every simple change in the code. This happens when both using Visual Studio 2019 to build or using dotnet build command in the console.
 If I remove that folder from the project, build takes ~1 sec for a simple change, same as before the upgrade.  But with the the Migrations folder (and migration code) in the project, the same code change would take >20 sec to build.
I've tested on both Mac OS and Windows 10, same behavior.
Microsoft.NetCore: 3.0.0
Microsoft.AspNetCore.App 3.0.0
Microsoft.EntityFrameworkCore 3.0.0
Npgsql.EntityFrameworkCore.PostgresSQL 3.0.1

@livarcocc @Pilchie

@ajcvickers

@livarcocc This isn't something we have seen before. /cc @bricelam
@Sally-Xu We're likely going to need a project/solution or some other way to reproduce what you are seeing and determine if this is an EF issue or something else.

@rainersigwald - would a binlog help identify what's going here?  Can you share the guidance on uploading them?

@ajcvickers, thanks for the response.
I have output 2 build log files, one with migrations folder and one without.  If you think that might help I can send you the link to the log file.  Otherwise, is there a good profiler tool you recommend to use to catch what is going on during the build?

@Sally-Xu Profiling the build is not an area I am very familiar with. @livarcocc @rainersigwald Any ideas?

Let's start with binlogs. They may reveal that we need to apply other tools, like evaluation profiling, but they're usually pretty informative.
@Sally-Xu, can you capture and share a binlog using the instructions at https://aka.ms/msbuild/binlog? Please note the warning about the logs containing potentially-private information before sharing them in public.

@rainersigwald ,
I have created 4 build binlog files:

.net2.2-no-migrations.binlog
.net2.2-with-migrations.binlog
.net3.0-no-migrations.binlog
.net3.0-with-migrations.binlog

2 evaluation profile files are also included:

.net3.0-no-migrations.profile
.net3.0-with-migrations.profile

file link: https://1drv.ms/u/s!AqUgraw9MWG6gaIZw_wMAwuS1Qcshg?e=mbGYRq
Let me know if this helps.

Thanks! In net3-with-migrations.binlog, it looks like the time is primarily spent in the C# compiler:
    46676 ms  Csc                                        1 calls

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:48.24

@jaredpar can you help route and advise on next troubleshooting steps?

@agocke
Took a quick look at this and confirmed much of what @Sally-Xu laid out in the bug. The only difference between the compilations is the code in the Migrations folder and that takes the compilation time from 2.6 seconds to 46 seconds.
The code in the Migrations folder though does seem to be generally problematic for the compiler. Looking at the net2 binlog I see compilation still takes 15 seconds with the Migrations folder. So the jump is actually from 15 seconds to 46. Even so 15 is a long time for compilation. My suspicion is that there is something in that folder triggering a pathological case in the compiler that is somehow exacerbated in the move to net3.
Is there any way we can get a copy of the code in that folder? That will probably be the fastest way to track down this bug.

@jaredpar,
I can certainly provide migration code in the Migrations folder which most of them are generated code when we have model changes.
Here is the link: https://1drv.ms/u/s!AqUgraw9MWG6gaIaCCwjfsj27pwirw?e=E7nmW6
The thing I don't understand is that there is no code change in the migrations folder, why the build process needs to recompile them every time.

The thing I don't understand is that there is no code change in the migrations folder, why the build process needs to recompile them every time.

@rainersigwald is probably best to answer that. At a glance looking through the build log I don't see an obivous reason why the compiler would be invoked twice.
Thanks for the link. We'll dig into this.

@Sally-Xu Did you by any chance upgrade to EF Core 3.0 at the same time as NET Core 3.0? It looks like there's an EF analyzer, InternalUsageDiagnosticAnalyzer, which is taking a very long time to run.

@agocke,
Yes, I did upgrade to EF Core 3.0 with the Net Core 3.0.

OK, more detail: the migration code here is pretty heavyweight. A very large number of invocations turn out to be to ModelBuilder.Entity which don't have a lot of overloads, but we still need to do overload resolution with lambda parameters and that's not cheap. Doing it for thousands of calls has significant overhead.
The analyzer here really isn't that unusual, but due to the architecture it requires redoing overload resolution, which basically doubles the total time.
Disabling the analyzer causes the build to go from about 20s -> 8s on my machine, so it's still pretty slow. Unfortunately, overload resolution with lambda type inference is an inherently expensive operation to compile. I verified that there's no regression in that performance -- it's about as slow in Roslyn 2.9 as it is in 3.3.1.
I think the best approach here would be to try and improve the generated code from EF Core.
@ajcvickers is it expected for Migrations to generate many lambdas and calls to ModelBuilder.Entity? Minimizing this pattern would probably heavily improve compilation performance.

@ajcvickers I had an oddly related thought recently. If we add a store model, we could just serialize that into the migration code-behind file. This would avoid using modelBuilder

@Sally-Xu the OneDrive links you provided above are no longer valid, any chance you can re-post with durable links?

@roji,
Here you go:
https://1drv.ms/u/s!AqUgraw9MWG6gaIbETKXQEt9pXcrLA?e=5WS3o0
It does seem the ModelBuilder.Entity() code in the designer.cs and snapshot.cs are the problem.
I have tried to remove all the designer.cs files from the Migrations folder, it cuts down the build time significantly.  If I also remove the snapshot.cs, the build time is the same as when I remove the whole migrations folder.
Is there a way to exclude this folder from the build process unless when running migration such as when running dotnet ef command?

This has already been fixed for 3.1 by @bricelam - the analyzer in 3.0 does not specify GeneratedCodeAnalysisFlags.None and so processes generated code. The 3.1 analyzer specifies it.
See further details and timings in https://github.com/aspnet/EntityFrameworkCore/issues/18618#issuecomment-547465596.


Update social_media_blacklist.csv

This looks not intended. Are you trying to change the blacklist in some way?


Introduce severity

@veelenga could you elaborate? I think I would try to contributes

@wisn cool and thanks for the interest.

[ ] Each rule should have it's own severity

[ ] Severity could be one of error, warning, refactoring

[ ] Severity should be inferred by the name and category by default. For example:

Layout/* - refactoring
Metrics/* - refactoring
Performance/* - refactoring
Style/* - refactoring
Lint/* - warning
Lint/Syntax - error

for now we will have only one rule with error severity but it can be changed later.

[ ] Severity should be customizable via config
[ ] User should be able to run only rules which have some severity: ameba --fail-level SEVERITY

For example:

ameba --fail-level refactoring - default and current behaviour. Fails if at least one rule of severity refactoring, warning or error fails
ameba --fail-level warning - fails if at least one of rule of severity warning or error fails
ameba --fail-level error - fails if at least one rule of severity error fails

Does this makes sense to you?

@veelenga Thanks for the explanation and sorry for the late reply.

Does this make sense to you?

Yes.

@wisn sorry, i have already submitted PR for this #100
will finish that soon

@veelenga no worries :D


vmn-backend

Most of the documentation is completed

Please describe the changes you did and please follow the contribution guidelines!


[TA] Add action types

Fixes: https://github.com/Azure/azure-sdk-for-net/issues/21174
Note: In .NET and Java we decided to re-utilize the xxOptions types in our xxAction types. We understand that showStats doesn't apply per task in analyze, but are ok with the comprise.
Most architects are ok with this idea. If later on, we get different feedback from them, then we will remove that relationship.

LGTM! Can  you also having a diff on the API view with latest release beta. Just want to comfirm

Can you also having a diff on the API view with latest release beta. Just want to comfirm

Thanks for the reminder! Added to the description of the PR


Update zh_cn translation for 2.0.0 (fix [LINK] and [FORMAT])

Fix [LINK] and [FORMAT]

I've now manually added this in commit d4f519e3cf3ade567f83b373af814b46c7705346 so I could add the new Hebrew translation to the credits.
I noticed that there was a nbteditor.lang.zh_cn.version entry, which I removed to keep the files standardized. However, you can see which version the file is updated to by checking https://github.com/mega12345mega/NBT-Editor/commits/dev/src/main/resources/assets/nbteditor/lang/zh_cn.json which shows what commits have modified the file. Click on the last commit including the message "hyplant updated zh_cn", and it will show the oldest version the change is included in.
For example, the commit where it was first added:

Thanks for the translation!


xgboost C api doesn't produce same results as Python

I have a very simple dataset (30 rows, 32 columns).
I wrote a Python program to load the data and train an XGBoost model, then save the model to disk.
I also compiled a C++ program that uses libxgboost (C api) and loads the model for inference.
When using the SAME saved model, Python and C++ give different results for the same input (a single row of all zeros).
xgboost is 0.90 and I have attached all files (including the numpy data files) here:
https://www.dropbox.com/s/txao5ugq6mgssz8/xgboost_mismatch.tar?dl=0
Here are the outputs of the two programs (the source of which are in the .tar file):
#The Python program
$ python3 jl_functions_tiny.py
Loading data
Creating model
Training model
Saving model
Deleting model
Loading model
Testing model
[587558.2]

#The C++ program
$ ./jl_functions
628180.062500

@derrickj12 You set the missing value to 0.0:
    rc = XGDMatrixCreateFromMat(input, 1, xdim, 0.0, &dmat);

Default should be NaN.


Tab title text sometimes becomes invisible when using the Light theme

Windows Terminal version
Commit 72d0566fa6d681291799e59a69168fc0483d8277
Windows build number
10.0.19045.2728
Other Software
No response
Steps to reproduce

Build Windows Terminal from a recent commit.
Start with all default settings (just to confirm that nothing else is a factor).
Switch the application Theme to Light.
Open a couple of cmd tabs (any shell will probably suffice).
Click on the tab titles to switch between the tabs.

Expected Behavior
The tab title should remain visible when switching tabs.
Actual Behavior
As soon as the mouse button is released (after clicking on a tab), the tab title becomes invisible, possibly just rendered as black on black.

If you move the mouse, it should become visible again. But if you move the mouse off the tab fast enough, while it's still invisible, it can remain stuck in that invisible state.
Switching focus to another application also seems make the active tab title invisible.
I don't have this issue in the 1.17.1023 preview build.

I can't help but think this is somehow related to #15150. Somehow.

Theory 2: Something fucky with tab colors post 2.8. Maybe a new resource key. Maybe a different order of application of the .Foreground() property on the tab.
 Interesting.

that ain't right. There's no... Children? for the TabViewItem? That can't possibly be right.


[WFCORE-3123] ManagementXml should distinguish different management e…

…lements parsing and marshaling based on configuration file type.
https://issues.jboss.org/browse/WFCORE-3123
Just add an enum to skip some management elements parsing and marshaling for domain.xml

Thanks! Can this just be a boolean instead of a new type? We're on a big memory efficiency drive.

sure, it's been rebased.

Thanks!


Made some tiny changes.

Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] New extensions support iOS 8 or later.
[x] New extensions are written in Swift 3.
[x] New extensions were created in development branch.
[x] Pull request was created to development head branch.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All comments headears have the word SwifterSwift: before description.

@yhwinnie Thank you!


selinux-policy package is outdated and breaks dependencies

I am unable to update zabbix-agent on Oracle Linux 9 due to the selinux-policy package being outdated.
The latest zabbix-agent is:
https://yum.oracle.com/repo/OracleLinux/OL9/developer/EPEL/x86_64/getPackage/zabbix-agent-6.0.18-1.el9.x86_64.rpm
It requires zabbix-selinux as a dependency:
https://yum.oracle.com/repo/OracleLinux/OL9/developer/EPEL/x86_64/getPackage/zabbix-selinux-6.0.18-1.el9.noarch.rpm
zabbix-selinux requires these dependencies:
selinux-policy >= 38.1.11-2.0.1.el9_2.3
selinux-policy-base >= 38.1.11-2.0.1.el9_2.3
Oracle Linux 9 repositories do not provide these versions. The latest version is:
https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/getPackage/selinux-policy-38.1.11-2.0.1.el9_2.2.noarch.rpm
The difference being el9_2.2 vs el9_2.3.
It's been broken for a few months now. I had hoped that if I just waited it would resolve itself, but it's still broken as of today.
This is not an issue in other RHEL9 based distros e.g. CentOS Stream 9, Rocky Linux 9. How do I get this fixed in Oracle Linux?

We have the same issue, will there anything be done about this?

Apologies. Release is being worked on.

same issue with ipa-4.10.1-8.0.1.el9_2 do you test your pacages on  rhel ;)

https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/getPackage/selinux-policy-38.1.11-2.0.1.el9_2.3.noarch.rpm
It’s been released.

Thank you. The issue is now resolved.


localsearch links are relative to domain root

if your SITE_URL is, for example "http://some.domain/~someuser/", and you have a post at "http://some.domain/~someuser/posts/mypost.html", localsearch will record the location of the post as "/posts/mypost.html", not the correct "/~someuser/posts/mypost.html" (or the full URL, for that matter).
Simple fix, on line 84 of localsearch/__init__.py, just add the keyword argument absolute=True to the call to the permalink method.

I’m just going to apply that fix and hope it works. Thanks!


Fix toolbar button URLs.

Fix regression introduced in 5a8761ac653871e1d0158dda423b27d3866a061b.
Fix indentation and tab expansion to improve readability.
I am sorry I was too fast again and missed a regression. So this is the fix for buttons such as VM --> Migrate.
Hint: use git diff -w when reviewing. Also diff to pre 5a8761ac653871e1d0158dda423b27d3866a061b master branch to see the difference.

tested, looks good. Merging.


Error: Cannot read properties of undefined (reading '_context')

What version of this package are you using?
2.0.4
What operating system, Node.js, and npm version?
I'm running OSX
node -v
v18.7.0
npm -v
8.15.0

What happened?
I'm trying to migrate to use the app-directory. I've created this minimal page to try it out:
import { CarDatabase } from "src/CarDatabase";
import useTranslation from "next-translate/useTranslation";

async function getCars() {
  const cars = await CarDatabase.findAllCars(12);
  return cars;
}

export default async function Page() {
  const cars = await getCars();
  const { t, lang } = useTranslation("common");
  return
Foo bar
;
}

But I'm getting the following error:

Error: Cannot read properties of undefined (reading '_context')

What did you expect to happen?
I expected it to not throw
Are you willing to submit a pull request to fix this bug?
I'm not sure what the error is

Try next-translate-plugin 2.0.4-canary.1

Hey! Thank you, I tried 2.0.5-canary.1 and it worked fine!


Segmentation Fault in PhpLoader

Missing closedir($dirHandle) in line 406 in FtpLoader

Thank you. Fixed in current master


fix auto_gptq layer error device

Fix the device error: RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! mentioned by MekkCyber commented.
test_quantization
RUN_SLOW=1 pytest tests/gptq/test_quantization.py

[x]  cpu tests
[x]  cuda tests

@ZX-ModelCloud Move this PR to draft. May not be needed. This is actually related to deficiency in autogptq unable to pass cpu tests as optimum force move layer to gpu.
Gptqmodel has no such restrictions. We may bypass this by disabling cpu only tests for AutoGPTQ.


Parse error on modulo with cuddling parentheses

Source: https://github.com/ruby/prime/blob/586cbdd2af7a5905121c2c93555cdc0bc3c07b50/lib/prime.rb#L46
MRI parses this code differently from Natalie. Compare these two results:
$ ruby -e 'x=13; y=5; p x%(y)'
3
$ bin/natalie -e 'x=13; y=5; p x%(y)'
13
"y"

MRI interprets %( as a String literal and somehow creates an array of these values and passes that to p.
If we remove the print, or replace it with something like an assignment, Natalie raises a parse error
$ bin/natalie -e 'x=13; y=5; x%(y)'
lib/natalie/parser.rb:32:in `parse': -e#1: syntax error, unexpected dstr '(' (expected: 'end-of-line') (SyntaxError)
x=13; y=5; x%(y)
            ^ here, expected 'end-of-line'

Adding a space between x and % does not change the behaviour (but a space between % and ( does).

Archiving this repo in favor of YARP...


Monthly Chat Agenda August (2020-08-03)

This is the Agenda for the Monthly CRS Chat.
The chat is going to happen on https://owasp.slack.com in the channel #coreruleset on Monday, August 3rd, at 20:30 CET.
Items on the Agenda:  (see previous meetings decisions: here)
PRs

#1848- Permit "version" string in content-type header
#1847 - Suppress rule 200002 when Nextcloud mobile app accesses shares through API
#1846 - feat(ftw): use master to get py3 support (still working through the errors - fgsch)
#1845 - Stop decoding things twice (= revert #578)
#1843 - Added new nextcloud excludes for the "Security & setup warnings" test and session tokens
#1842 - Drop unneeded escapes
#1839 - Update REQUEST-920-PROTOCOL-ENFORCEMENT.conf
#1817 - Fix false positives with rule 942360
#1794 - Fix bypass 942190
#1793 - SQLi using set var at PL1

Other items

Idea to tighten up the monthly project meeting by removing the issues from the agenda and running a separate issue chat once every month; like the 2nd or 3rd Monday or something. We did it that way in July 2020, but the turnout was very low.
OWASP Donation policy (and other policies)

Feel free to add items as you see fit either above, or below as comments.
Open Issues
In January 2020, we decided to look into 10 issues at the chat every month. But only after the Other items. Pick the issues before the meeting and list them

Issue slot 1:
Issue slot 2:
Issue slot 3:
Issue slot 4:
Issue slot 5:
Issue slot 6:
Issue slot 7:
Issue slot 8:
Issue slot 9:
Issue slot 10:

If you are not yet on the OWASP Slack, here is your invite: https://owasp-slack.herokuapp.com/ .
Everybody is welcome to join our community chat.

Decision
#1848 - Assign to @lifeforms, will ask for test, then merge
#1847 - Assign to @fzipitria, who will guide the contributors working on this, then merge
#1845 - Assign to @franbuehler for review
#1843 - Assign to @fzipitria, who will guide the contributor working on this, then merge
#1842 - Merge
#1839 - Assign to @lifeforms to ask for a test, hope the lint error goes away and then merge
#1817 - Give it another month, added the "needs action" label
#1794 - Work in progress, @theMiddle plans to fix it over the weekend
#1793 - Work in progress, @theMiddle will try and fix open issues, shift to PL2 and then have it merged.
Other items

Initiate communication with packagers etc. (Assigned to @dune73: Make a communication plan)
New issue meeting on 3rd Monday in August and September. We'll reassess the situation in October then.
Donation Policy: Spread the word, ask OWASP contacts to sign.
Demo site by @csanders is almost done!


Fix inconsistent between WWW and Ddd

fixed #159, fixed #156

Codecov Report

Merging #181 (0972cf1) into master (91316de) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #181   +/-   ##
=========================================
  Coverage     52.67%   52.67%
  Complexity      630      630
=========================================
  Files           119      119
  Lines          2863     2863
  Branches        350      350
=========================================
  Hits           1508     1508
  Misses         1266     1266
  Partials         89       89

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

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 91316de...0972cf1. Read the comment docs.


Add permanent anchor links in the semver-ts.org site

I love the effort, and am actually looking to link to this whenever I encounter API breaking changes. It would really help to have a site that is a bit easier to pin-point exactly what the breaking changes are. Perhaps we can have this scheme:

publish this doc to semver-ts with versions permanently - interestingly, you'll maybe need a semver principle for the doc itself!
add anchor links

I'm happy to contribute to the 2nd point above, but would love to solicit feedback on this description of an issue first!

Ah, those are great suggestions! I'm actually working (slowly, in the background at present while I'm on a sabbatical) on fairly heavily restructuring the way this is published—turning it into a multi-page document, with separate pages for introduction, appendices, the full spec, etc. Permalinks will come “for free” as part of that work, which will cover (2). However, having versioned infrastructure (outside the git repo) is an interesting thing to ponder. I’d be curious to hear the value prop for that, since it's a non-trivial additional level of effort in terms of publishing infrastructure—not at all opposed in principle, just also not seeing it as obvious right up front what the wins from it would be. 🤔

If you want to see what things look like for the in-progress “make it more like a book” effort, see the bookify-it branch!

Resolved by #18. Thanks again!


Fix version typo in variable name

maybe we can add a spell check ci?
I have added this spell check ci to Redis in the past: https://github.com/redis/redis/blob/unstable/.github/workflows/spell-check.yml


WINGMAN TEST DO NOT MERGE

WINGMAN TEST DO NOT MERGE

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f plugins/salesforce/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f plugins/salesforce/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  plugins/salesforce/src/org/pentaho/di/trans/steps/salesforce/SOQLValuesHighlight.java

Still Broken Tests:
org.pentaho.di.trans.steps.salesforce.SalesforceConnectionIT.testConnect_Encrypted:
:red_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: expected:<[MySamplePassword]> but was:<[Encrypted 2f3e1fca907d79e819b18bd63c99dbdde]>
	at org.pentaho.di.trans.steps.salesforce.SalesforceConnectionIT.testConnect(SalesforceConnectionIT.java:118)
	at org.pentaho.di.trans.steps.salesforce.SalesforceConnectionIT.testConnect_Encrypted(SalesforceConnectionIT.java:92)

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f plugins/salesforce/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f plugins/salesforce/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  plugins/salesforce/src/org/pentaho/di/trans/steps/salesforce/SOQLValuesHighlight.java

Still Broken Tests:
org.pentaho.di.trans.steps.salesforce.SalesforceConnectionIT.testConnect_Encrypted:
:red_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: expected:<[MySamplePassword]> but was:<[Encrypted 2f3e1fca907d79e819b18bd63c99dbdde]>
	at org.pentaho.di.trans.steps.salesforce.SalesforceConnectionIT.testConnect(SalesforceConnectionIT.java:118)
	at org.pentaho.di.trans.steps.salesforce.SalesforceConnectionIT.testConnect_Encrypted(SalesforceConnectionIT.java:92)

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change:  + .15%

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -.17%:small_red_triangle_down:

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f plugins/salesforce/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f plugins/salesforce/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  plugins/salesforce/src/org/pentaho/di/trans/steps/salesforce/SOQLValuesHighlight.java

Still Broken Tests:
org.pentaho.di.trans.steps.salesforce.SalesforceConnectionIT.testConnect_Encrypted:
:red_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: expected:<[MySamplePassword]> but was:<[Encrypted 2f3e1fca907d79e819b18bd63c99dbdde]>
	at org.pentaho.di.trans.steps.salesforce.SalesforceConnectionIT.testConnect(SalesforceConnectionIT.java:118)
	at org.pentaho.di.trans.steps.salesforce.SalesforceConnectionIT.testConnect_Encrypted(SalesforceConnectionIT.java:92)

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -.17%:small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -.14%:small_red_triangle_down:


Project List block

Description
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Screenshots
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

This was our last discussion on Slack @koechkevin:

We can keep the current implementation i.e. separate Donors/Partners collections.
We can combine the two collections but change the collection name to something like Stakeholders. Both donors and partners fields will now link to stakeholders.

Which approach has been taken in this PR?

This was our last discussion on Slack @koechkevin:

We can keep the current implementation i.e. separate Donors/Partners collections.
We can combine the two collections but change the collection name to something like Stakeholders. Both donors and partners fields will now link to stakeholders.

Which approach has been taken in this PR?
I introduced a separate Donors block.

The first approach @kilemensi

Just run this locally @koechkevin, we seem to be using tags but tags are also used by posts. We end up with things like Projects, Initiatives, Stories, Opportunities, etc., instead of something like 👇🏽

I think works should use different tags or should filter tags for existing works only.

@kilemensi I have updated this to get from existing works only

Anything that causes image/title to flip @koechkevin (PR vs dev)

Also @koechkevin :
Title should be rich text

Description text has wrong font size and links should have icons

Anything that causes image/title to flip @koechkevin (PR vs dev)

@kilemensi what should be the intended outcome?
In the main branch code image comes before content. Perhaps an issue on the dev site?

@kilemensi what should be the intended outcome? In the main branch code image comes before content. Perhaps an issue on the dev site?

Could be @koechkevin, source of truth should be Figma. What does it say?

@kilemensi


Issuer is appended to URL after login redirect using keycloack.

Hello.
After logging in and getting redirected to my app, the issuer URL is appended to my URL

This is my setup
bootstrapping the service
const authConfig: AuthConfig = {
  issuer: 'https://localhost:8443/realms/poc-dev-realm',
  redirectUri: window.location.origin,
  clientId: 'poc-dev-client',
  responseType: 'code',
  scope: 'openid profile email offline_access',
  oidc: true,
};

const initializeAuthentication = (oauthService: OAuthService) => () => {
  oauthService.configure(authConfig);
  oauthService.setStorage(sessionStorage);
  return oauthService.loadDiscoveryDocumentAndTryLogin();
}

export const appConfig: ApplicationConfig = {
  providers: [
    provideZoneChangeDetection({ eventCoalescing: true }),
    provideRouter(routes),
    provideHttpClient(),
    provideOAuthClient(),
    {
      provide: APP_INITIALIZER,
      useFactory: initializeAuthentication,
      multi: true,
      deps: [OAuthService]
    }
  ]
};

And just to test, i have a login/logout button in my root component
@Component({
  selector: 'app-root',
  standalone: true,
  imports: [RouterOutlet],
  template: `

Hello, {{email?? "Stranger"}}!

    <button (click)="login()">Login</button>
    <button (click)="logout()">Logout</button>
    <router-outlet></router-outlet>
  `,
  styles: [],
})
export class AppComponent {
  private readonly oauthService = inject(OAuthService);

  public get email() {
    const claims = this.oauthService.getIdentityClaims();
    if (!claims) return null;
    return claims["email"];
  }

  public login() {
    this.oauthService.initLoginFlow();
  }

  public logout() {
    this.oauthService.logOut();
  }
}

I checked my Keycloak terminal logs and don't see it anywhere there
response_type="code", redirect_uri="http://localhost:4200", redirected_to_client="true", response_mode="query"

As for my Keycloak client settings, pretty standard too.

Thanks a lot !

This is not actually appended, its a modified form of the callback with most of the query string stripped out, which the library replaces for "security" reasons (?). See the setting
/**

Normally, you want to clear your hash fragment after
the lib read the token(s) so that they are not displayed
anymore in the url. If not, set this to true. For code flow
this controls removing query string values.
*/
preventClearHashAfterLogin? = false;


HTTPS site and force_ssl_admin

Love wocker! Totally kicked VVV into touch for me...
One issue I've come across migrating my sites over to wocker is https.
I have all my sites set to https and in wp-config.php I set
define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);

This seems to stop wocker from working and I can't login into the site admin either.
Is https not currently supported or have I set something up incorrectly?

Love wocker! Totally kicked VVV into touch for me...

Really glad to hear it!

Is https not currently supported or have I set something up incorrectly?

It's not supported now.
How about just disabling SSL on Wocker (local develop environment)?
Will this occurs some problems?

I got around it by turning SSL off on the hosted site while I work on it and will turn it back on once development is finished.
It would be fantastic to add it to the Wocker roadmap as almost all sites are https now.
Thanks for the quick reply

:+1:

Is this still an issue, and does this help? https://github.com/FiloSottile/mkcert

@ThomasGHenry Thanks. Yes, it'll be great if we can use SSL. I'm not sure mkcert can solve this issue. I installed mkcert, executed mkcert wocker.test <IP_ADDRESS>, and replaced all http://wocker.test to https://wocker.test, but it doesn't work.


Beautify JSX scrambling code and adding random copy paste

Description
Beautify on Save JSX (Javascript beautify disabled) breaks JSX html markup, and copy pastes part of code after the export statement.
Input Before Beautification
This is what the code looked like before (added empty lines after div to make Atom-Beautify beautify the code):
import React from 'react';

export class Body extends React.Component {

	render() {
		return (

                test sans serif

Roboto

3

5

                    <button type="button" className="btn btn-primary btn-lg">Primary</button>
                    <button type="button" className="btn btn-success btn-lg">Success</button>
                    <button type="button" className="btn btn-info btn-lg">Info</button>
                    <button type="button" className="btn btn-warning btn-lg">Warning</button>
                    <button type="button" className="btn btn-danger btn-lg">Danger</button>

		);
	}

}

export default Body;

Expected Output
The beautified code should have looked like this:
import React from 'react';

export class Body extends React.Component {

	render() {
		return (

                test sans serif

Roboto

3

5

                    <button type="button" className="btn btn-primary btn-lg">Primary</button>
                    <button type="button" className="btn btn-success btn-lg">Success</button>
                    <button type="button" className="btn btn-info btn-lg">Info</button>
                    <button type="button" className="btn btn-warning btn-lg">Warning</button>
                    <button type="button" className="btn btn-danger btn-lg">Danger</button>

		);
	}

}

export default Body;

Actual Output
The beautified code  ruins the html markup, when cmd+z undo is issued, the code actually looked like this:
import React from 'react';

export class Body extends React.Component {

	render() {
		return (

                test sans serif

Roboto

3

5

                    <button type="button" className="btn btn-primary btn-lg">Primary</button>
                    <button type="button" className="btn btn-success btn-lg">Success</button>
                    <button type="button" className="btn btn-info btn-lg">Info</button>
                    <button type="button" className="btn btn-warning btn-lg">Warning</button>
                    <button type="button" className="btn btn-danger btn-lg">Danger</button>

		);
	}

}

export default Body;
ton> <
            button type = "button"
            className = "btn btn-danger btn-lg" > Danger < /button> <
            /div> <
            /div>

            <
            /div>

        );
    }

}

export default Body;

Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Beautify Editor (jsx)
HTML markup is broken. Undo the change (cmd+z on mac, ctrl+z on windows)
The code is broken

Debug
Here is a link to the debug.md Gist: https://gist.github.com/Babazon/bd6d37a06c0e6e6a5193d06415cf0483
Checklist
I have:

[+] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[+] Reloaded (or restarted) Atom to ensure it is not a caching issue
[+] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[+] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[+] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

Yeah, this is an Atom Beautify defect where JS Beautify is appending trash at the bottom of a code sample.  We have already ruled out JS Beautify, but we haven't figured out the problem yet.  It is weird because JS Beautify doesn't do this outside of Atom Beautify but only code beautified with JS Beautify gets this error.

Pretty Diff also adds the junk code at the end. But not as many lines, just about 15 characters, a smaller "copy paste" from the end of the code.   (when cmd+z is issued after beautification)
But Pretty Diff doesn't ruin the jsx markup like JS Beautify so there has been less reason to issue cmd+z after beautification and come across the bug.

Thanks, that is good to know.

I think this is the most followed Issue for this bug: https://github.com/Glavin001/atom-beautify/issues/1213


Numeric keyboard Kivy 2.0.0

Software Versions

Python: 3.8.5
OS: android
Kivy:2.0.0
Kivy installation method: pip

How can I display a numeric keyboard using Kivy==2.0.0 and kivyMD? I set input_type:'number', input_filter:'int' and multiline:False in textfield but when I run apk on android device app displays only full character keyboard. Better mention that buildozer couldn't download sdl2 files and I manually replaced them.
sdl2==2.0.9
sdl2_image==2.0.4
sdl2_mixer==2.0.4
sdl2_ttf==2.0.15

You need to use kivy/py4a master.


Feature/fix null values

This PR fixes objects that contain null values. Normally null values would be seen as an type object, and then it would fail on something in the case 'object'. This change will not save the null values, I'm not sure whether this is a correct solution. I could not figure out how to properly save null values. Since we decode the objects back into typescript classes, we don't need the null values.
I also fixed a bug with embedded objects.
The code object.setDictionary(key, object); would create a reference to itself, this does not work, I figured it was a programming error, so I changed it to object.setDictionary(key, nativeObject);

Thanks 😃


/posts page does not show my post

Hi, I recently found my blog: https://butui.me/posts/ does not show my post. However, I could visit percific page via url, say https://butui.me/posts/vlmcsd/. My configure file: https://github.com/hubutui/blog-hugo/blob/master/config.toml. I check your example site in this repo, and do not find anything wrong. Any suggestion?

I recreate it, and fixed.


When will it be merged and updated to M98?

When will it be merged and updated to M98?

Rebased to M108.


Video doesn't play after buffer

Video buffers from tracker, then returns to selection screen. Log is attached. Thanks in advance.
kodi.log
Elementum 0.1.24
Kodi 18.1
Windows 10 Home

There was an issue with that particular file.

You log does not have any information.
You should follow instructions for providing proper log file - http://elementum.surge.sh/contribute/log/

Please, make a proper log file, not piece of log.

@tehnards
I will close the issue if there is no response.

Closing without no response.


drop in recompose replacement?

Is there solution to replace recompose with this library without rewrithing whole project.
We have about ~100K LOC

Hi @JiLiZART!
ProppyJS was inspired by recompose, but not build as a replacement. Recompose creates components with each composed function, while Proppy will create only one component in the tree no matter how many functions you use.
I don't have any plans to write codemods for this, but would welcome any contribution.
Cheers


Custom hover keeps lingering around

Do find all referneces on some term
References view gets opened, hover over an item -> get the custom hover
While the custom hover is shown, press Ctrl + Shift + E -> explorer gets opened and the custom hover keeps lingering around like a zombie 🧟

I can repro 100% on macOS. If you can not repro let me know

@Tyriar is this something that can be solved at the hover layer since the hover layer takes care of hiding?

@alexr00 the terminal fixes this by calling IHoverService.hideHover when the panel should be hidden.
This has some downsides (eg. a hover in the tree view will hide if you hide the panel with the terminal visible) but we could always refine that later. Eventually I think the context view service (that the hover leverages) should support multiple context views with keys, that way we can associate a key for the hover and only hide the hover with the requested key.

Had a chat with @alexr00, created a new issue to solve problem generically: https://github.com/microsoft/vscode/issues/106127

I've also seen this recently with editor debug hovers that seemingly get stuck for many seconds -- though that could be a very different issue

This works as excepted in VS Code insiders -> verified


Running the model in a firewalled environment

Hi! Thank you very much for the model, the pre-print looks fantastic!
I'd like to use your Huggingface model on our A100 GPUs, but unfortunately we have to work in a firewalled environment and therefore it complicates everything. I'm allowed to access the internet through the "submit" machines, that do not have GPUs, and then I have to switch to offline GPU machines to run the model.
For now, I have attempted to split the process in 2:
First, use the submit machine to download the model locally
git clone git@hf.co:togethercomputer/evo-1-131k-base
Cloning into 'evo-1-131k-base'...
remote: Enumerating objects: 134, done.
remote: Counting objects: 100% (131/131), done.
remote: Compressing objects: 100% (130/130), done.
remote: Total 134 (delta 54), reused 0 (delta 0), pack-reused 3
Receiving objects: 100% (134/134), 58.39 KiB | 4.49 MiB/s, done.
Resolving deltas: 100% (54/54), done.

And then switch to my GPU machine and load the model with something like
# load_evo_gpu.py
from transformers import AutoConfig, AutoModelForCausalLM
import torch

if torch.cuda.is_available():
    print('Connected to a GPU\n')
else:
    print('Not connected to a GPU\n')

from psutil import virtual_memory
ram_gb = virtual_memory().total / 1e9
print('Your runtime has {:.1f} gigabytes of available RAM\n'.format(ram_gb))

model_name = 'evo-1-131k-base'

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    local_files_only=True,
)

but this time it fails miserably and spits this error:
Loading checkpoint shards:   0%|                                           | 0/3 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/pasteur/zeus/projets/p01/MDM/Users/ernest/load_evo_gpu.py", line 15, in <module>
    model = AutoModelForCausalLM.from_pretrained(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/pasteur/appa/homes/ermordre/miniconda3/envs/evo/lib/python3.11/site-packages/transformers/models/auto/auto_factory.py", line 556, in from_pretrained
    return model_class.from_pretrained(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/pasteur/appa/homes/ermordre/miniconda3/envs/evo/lib/python3.11/site-packages/transformers/modeling_utils.py", line 3502, in from_pretrained
    ) = cls._load_pretrained_model(
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/pasteur/appa/homes/ermordre/miniconda3/envs/evo/lib/python3.11/site-packages/transformers/modeling_utils.py", line 3903, in _load_pretrained_model
    state_dict = load_state_dict(shard_file)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/pasteur/appa/homes/ermordre/miniconda3/envs/evo/lib/python3.11/site-packages/transformers/modeling_utils.py", line 505, in load_state_dict
    with safe_open(checkpoint_file, framework="pt") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge

Any idea why this might be the case?

I think this is a transformers library issue, not related to Evo

you're absolutely right! I finally managed to fix it by running the following script AFTER running git clone git@hf.co:togethercomputer/evo-1-131k-base
from transformers import AutoConfig, AutoModelForCausalLM

model_name = 'togethercomputer/evo-1-8k-base'

offline = False
use_cache = True
local_files_only = False
model_config = AutoConfig.from_pretrained(model_name, trust_remote_code=True, offline=offline, use_cache=use_cache, local_files_only=local_files_only)
model_config.use_cache = True

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    config=model_config,
    trust_remote_code=True,
    offline=offline,
    use_cache=use_cache,
    local_files_only=local_files_only
)

model.save_pretrained('evo-1-8k-base')

Now it seems to work, looking forward to experiment with it!

Great!