Convert baseline markdown files to text and HTML

🗣 Description
This PR converts the existing baseline files that are in Markdown to both HTML and text format.  It saves them to the baselines folder and then makes that folder available as an artifact.
💭 Motivation and context
Closes: #1376
🧪 Testing
Wrote and tested original workflow in an alternate repository.
Once workflow was working, moved to SG repo and modified accordingly.
Verified expected results were found in the artifact.

✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] PR targets the correct parent branch (e.g., main or release-name) for merge.
[x] Changes are limited to a single goal - eschew scope creep!
[x] Changes are sized such that they do not touch excessive number of files.
[x] These code changes follow the ScubaGear [content style guide]
[x] Related issues these changes resolve are linked preferably via [closing keywords]
[x] All relevant type-of-change labels added.
[x] All relevant project fields are set.
[x] All automated checks (e.g., linting, static analysis, unit/smoke tests) passed.

✅ Pre-merge checklist

[ ] PR passed smoke test check.

[ ] Feature branch has been rebased against changes from parent branch, as needed

[ ] Resolved all merge conflicts on branch

[ ] Notified merge coordinator that PR is ready for merge via comment mention

[ ] Demonstrate changes to the team for questions and comments.
(Note: Only required for issues of size Medium or larger)

✅ Post-merge checklist

[ ] Feature branch deleted after merge to clean up repository.
[ ] Verified that all checks pass on parent branch (e.g., main or release-name) after merge.

I don't disagree with the idea of a loop, @buidav , but given that we don't really understand what Drupal needs at this point, I was reluctant to spend more time on this task.  I will put this on my personal backlog.  If/when we get clarification, I will look at moving this into code (.ps1 function), where we can use a loop and add unit testing.

@nanda-katikaneni


goctl can't show protobuf version

GOCTL_OS=darwin
GOCTL_ARCH=arm64
GOCTL_HOME=/Users/xwg/.goctl
GOCTL_DEBUG=False
GOCTL_CACHE=/Users/xwg/.goctl/cache
GOCTL_VERSION=1.5.0
PROTOC_VERSION=
PROTOC_GEN_GO_VERSION=v1.28.1
PROTO_GEN_GO_GRPC_VERSION=1.3.0

Please make sure your protoc is installed and PATH is set


[TF] Simplify tensorflow_osx_base build preset.

Previously, the tensorflow_osx_base preset duplicated all options from from the buildbot_osx_package preset. This was not ideal: tensorflow_osx_base was not robust against changes to buildbot_osx_package and broke when changes were not copied.
Now, tensorflow_osx_base directly uses buildbot_osx_package as a mixin.
Resolves TF-941.

Verified that swift/utils/build-toolchain-tensorflow --pkg continues to pass on macOS.
Updating update-checkout-config.json was necessary to make it pass.

Merging this patch to unblock progress. Happy to address comments later!
Skipping CI since it doesn't test the tensorflow_osx_base preset. @swift-ci Please test tensorflow happens to be down, too.


Please add "ounce" to "Gold" model

Hi, In the data that can be taken from end point: "https://www.bonbast.com/json" , there is also an property for "ounce". If possible, add this to "Gold" model.

Added in the latest version along bitcoin


Fix SBK-GEM Javadoc warnings

Describe the Issue (Bug/Feature)
Fix the Javadoc warning of sbk-gem module of SBK
To Reproduce
Just run :  ./gradlew javadoc
you will get lots of javadoc warnings on sbk-api, sbk-ram, sbk-gem and sbk-gem-yal
Expected behavior
fix the warnings of sbk-gem module;
the command "./gradlew javadoc" should not yield any warnings on sbk-gem module/folder
Additional context
Fixing the Javadoc warning helps you to understand SBK framework internals

@Amartya-Mahato  thank you very much

it was my pleasure. Happy I could help


ERROR: Condition "!windows.has(p_window)" is true. Returning: ObjectID()

Tested versions
Redot Engine v4.3.stable.official.a06b0a021
System information
CachyOS Linux vulkan
Issue description
res://3D/zardis/studio_space.jpg: Texture detected as used in 3D. Enabling mipmap generation and setting the texture compression mode to VRAM Compressed (S3TC/ETC/BPTC).
ERROR: Condition "!windows.has(p_window)" is true. Returning: ObjectID()
at: window_get_attached_instance_id (platform/linuxbsd/x11/display_server_x11.cpp:1881)
Steps to reproduce
I was dragging and dropping a texture onto a material, and this error occurred.
Minimal reproduction project (MRP)
it's 167 mb i can't upload here this is my demo project in redot engine

The first part is just informational.
The second part is a internal exception with the editor UI.  or better put its a Wayland compatibility problem.  Likely caused by the editor trying to open a dialog in a way that is unexpected.
Wayland support is still pretty early.  and there are still a lot of behaviors that need proper handling for Wayland.
Godot appears to be tracking this here

https://github.com/godotengine/godot/issues/95282

We will keep an eye on this for a bit.

cool but i use x11 not Wayland


Update concepts.md

DCO keeps failing despite the sign-off being included in the commit message

DCO keeps failing despite the sign-off being included in the commit message

cc @zhzhuang-zju to take a look at the DCO.
/assign @windsonsea
I'm not sure if we need a blank here.

DCO keeps failing despite the sign-off being included in the commit message

@LavredisG The error mssg of DCO is 'Commit sha: 92f02a2, Author: LavredisG, Committer: GitHub; Expected "LavredisG<EMAIL_ADDRESS>but got "LavredisG<EMAIL_ADDRESS>which looks like a mailbox problem

How to fix it?

How to fix it?

The DCO check should be fine, so @LavredisG need to set github settings related to email address, which can be found at https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/adding-an-email-address-to-your-github-account

Normally we only need to commit again like:
git commit -s --amend
git push -f

If it doesn't work, you may need to follow https://github.com/karmada-io/website/pull/594#issuecomment-2068387241

DCO keeps failing despite the sign-off being included in the commit message

@LavredisG The error mssg of DCO is 'Commit sha: 92f02a2, Author: LavredisG, Committer: GitHub; Expected "LavredisG<EMAIL_ADDRESS>but got "LavredisG<EMAIL_ADDRESS>which looks like a mailbox problem

Thanks a lot! I never noticed it.

Hi @LavredisG Looks like the DCO failed for the same reason. Have you tried the methods mentioned in https://github.com/karmada-io/website/pull/594#issuecomment-2068387241 and https://github.com/karmada-io/website/pull/594#issuecomment-2068406126? Looking forward to your feedback~

Hi @LavredisG Looks like the DCO failed for the same reason. Have you tried the methods mentioned in #594 (comment) and #594 (comment)? Looking forward to your feedback~

I did changed the email settings, the issue due to the fact that I had enabled privacy email. My guess is that DCO has kept the mail that initiated the PR as the one it expects, so I will close this and retry once I am available.

@LavredisG Glad to see you solved the DCO issue. Would you be able to tell how you solved the problem? That way if other contributors run into the same problem in the future, they'll have a good example of how to fix it!

@LavredisG Glad to see you solved the DCO issue. Would you be able to tell how you solved the problem? That way if other contributors run into the same problem in the future, they'll have a good example of how to fix it!

Sure, I have already written it in the PR's description, but I will add it here for readability too:
"Error: DCO keeps failing despite the sign-off being included in the commit message.
Fix: after removing privacy option from github email, git cache (not github) had to be updated to reflect the changes."


Adding Pace Calculator for athletes

Description
Pace Calculator is designed to help athletes and fitness enthusiasts accurately calculate their pace and total time for swimming, cycling, and running activities. It can be used to plan training sessions, races, or track progress over time.
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 can you please assign me this issue

@Nihal4777 can you please assign me this task untill my pr get merged, so that i can start working on this issue

@Nihal4777 can you please assign me this task untill my pr get merged, so that i can start working on this issue

@jessicachawla

Go ahead and create the PR, Rakesh will assign the issue and merge your PR soon.

Go ahead and create the PR, Rakesh will assign the issue and merge your PR soon.

kindly add labels on PR raised and and also tomorrow is last day for pr to be merged


Update maud

This is a big one!
Maud switched to String instead of fmt::Write internally so quite a few things had to be thrown around.

You didn't update master to the latest crate version, I will rebase once you do.

Whoops, looks looks like I must have pushed the tag but forgot to push master. Should be updated now.

Interesting, I wanted to see if I could rebase and retain your signature somehow, but git just strips it without any comment. I'll let you do it so it'll match.

retain signature

Yeah, that hopefully doesn't work :sweat_smile: the signature is for the whole commit, which also includes its parents.

@home r+

@homu r+

:pushpin: Commit caffa5c has been approved by Nemo157

:zap: Test exempted - status


Add Man0sh-r0y

What Changes does this PR do?
Adding My GitHub Man0sh-r0y to the README.md
ScreenShots (If Any)

@Panquesito7 @RakeshSangem I made a pull request in this repository. Would You please review my code if possible and merge this into main repository Or any suggestion you want to suggest me whenever you are free.

Okay Thank you❤ . So Can you merge it to main branch?


GH scripts

Is your feature request related to a problem? Please describe.
In the docs there is no clear indication on what to do for app CI, aka installing rust tools and running npm run tauri build and how to do matrix builds for multiple platforms as each has their own dependencies
Describe the solution you'd like
A section in the docs on making a github actions script that downloads the code for your app, installs the rust and npm dependencies then does npm run build and then npm run tauri build which creates the builds
Additional context
Maybe add a section for other CI software?

See https://github.com/tauri-apps/tauri-action. We are working on polishing this up and then will add it to the docs site.


[region-isolation] Make store_borrow a store operation that does not require

store_borrow is an instruction intended to be used to initialize temporary alloc_stack with borrows. Since it is a temporary, we do not want to error on the temporaries initialization... instead, we want to error on the use of the temporary parameter.
This is achieved by making it so that store_borrow still performs an assign/merge, but does not require that src/dest be alive. So the regions still merge (yielding diagnostics for later uses).
It also required me to make it so that PartitionOp::{Assign,Merge} do not require by default. Instead, we want the individual operations to always emit a PartitionOp::Require explicitly (which they already did).
One thing to be aware of is that when it comes to diagnostics, we already know how to find a temporaries original value and how to handle that. So this is the last part of making store_borrow behave nicely.
rdar://129237675

@swift-ci smoke test

@swift-ci smoke test


Touch tip is slower in 5.0

From a user:

Hi, I’m running a protocol using transfer with touch_tip=True. I didn’t set any extra parameters for the touch tip.
Using 5.0.0-beta.4, I found touch_tip is much slower (3-5 sec. for example) from 4.x.x (1 sec. or so.). Is it an expected behavior (possibly with updated API) or a bug? I rather expect the same behavior with the same program if the API version is the same.

I suspect this is the same underlying cause as #9133.

Closing as a presumed duplicate of #9133.


Window EXE icon

Embed the MailSlurper icon in the Window build of MailSlurper. Look into https://github.com/akavel/rsrc

When compiling on 64-bit Windows 10 I get the following error information:

See https://github.com/akavel/rsrc/issues/11

If you have time, could you please try if the newest version of rsrc, with a new -arch option, would allow you to resolve this error? Suggested usage:
cd your_project
rsrc -ico your_project.ico -arch amd64 -o rsrc_windows_amd64.syso
rsrc -ico your_project.ico -arch 386 -o rsrc_windows_386.syso
go build .

I've made an attempt at fixing this, after getting some helpful suggestions, but I can't easily verify if it works OK myself. Thanks in advance.

Sorry I haven't given it a try again. Would you still like me to, or shall I wait for a newer build?

Yes, it would be great if you could try now! (only please make sure to use go get -u, the .exe files published as the "v1 release" are older)


Returned TRX transaction when token specified

http://localhost:4444/v1/tron/TFFriedwRtWdFuzerDDtkoQTZ29smDZ1MB?token=1002000 returns TRX transfer transaction https://tronscan.org/#/transaction/3ef5e225ce5bdd01333286e4ab4413ae3da8b80c24b26c5811ae78962940a8ca

I didn't found any problem here. I think the APIs return the right response


Background color for code snippet is subtly different

See attachment —

There seem to be 2 colors there subtly different, but noticeable to the naked eye.
#292929 for .pre
#272822 for .highlight .w
This seems to have been caused by this change which causes the styles in the <style/> tag to override those specified in screen.scss.
The "fix" seems to be to to change the ordering of stylesheets in layout.erb to the following —
    <style>
      <%= Rouge::Themes::Base16::Monokai.render(:scope => '.highlight') %>
    </style>
    <%= stylesheet_link_tag :screen, media: :screen %>
    <%= stylesheet_link_tag :print, media: :print %>

Ooh, great catch! Thanks for documenting a fix too, much appreciated.

Should be fixed now in master thanks for reporting!


Add core OP support for CRC validation, with extra support for Volkswagen MQB

Fourth of five PRs to upstream the Volkswagen, Audi, SEAT, and Škoda community port. This one reduces the size and scope of the final OP PR by giving you a look at the core CRC stuff separated from the traditional vehicle port.
This code teaches OP generally about the signal name "CRC", like it knows "CHECKSUM" today. It also teaches OP about the specific algorithm used by Volkswagen MQB, which is CRC-8/AUTOSAR with a twist. It enables OP to do CRC and counter validation on all Volkswagen MQB received messages it relies on, similar to Honda and Toyota, and to set the CRC on transmitted messages.
I wrote the overarching CRC signal stuff with extension to other vehicle ports in mind. It could see use for Pedal, Hyundai, Mazda, and Nissan at a minimum. The wrapper function init_crc_lookup_tables() exists for the purpose of adding other CRC lookup tables as needed. In the beginning I had them embedded as static lookup tables, but switched to computing them at startup on informal feedback from @rbiasini.
Note: this code requires the CRC signal be named exactly "CRC", just as CHECKSUM and COUNTER work today. OP would need some nontrivial refactoring to support magic signal names that vary by message. As such, our PR commaai/opendbc#191 changes those signal names to CRC and COUNTER respectively for select Volkswagen MQB messages we rely on. I do not like this and would much prefer to keep the signal names canonical, and am willing to talk more about it if you see a reasonable path to fix it.

Nice. I would like to merge this in. 3 things:

see comment https://github.com/commaai/openpilot/pull/836#discussion_r333847419
there are some conflicts
Rename CRC with CHECKSUM so it's compatible with the dbc file we already merged in?

As we discussed, I agree I don't like canonicalizing the dbc files. On the other hand, we can come back to this after we have a MVP VW port. Thanks!

Thanks for the review.
Per our DM discussion I will push a commit to rename things to CHECKSUM for now, and we'll follow up later with support for the correct MSG_NAME_[CRC|BZ] scheme later. I already have the conflicts fixed, and I will look at adopting the start bit generalization from your comment.
It may be a few days until I can follow up, because my CAN bus implodes when I try to run 0.6.5 for reasons I have not yet identified, and I don't have cycles to hack on it further today.

Nice. I would like to merge this in. 3 things:
Rename CRC with CHECKSUM so it's compatible with the dbc file we already merged in?

Done per our discussion.

there are some conflicts

The PR has been brought current with OP 0.6.5-devel.

see comment
...
What about defining both counter_start_bit and checksum_start_bit as well? Basically after this line there should be no reference to car_type, except for the call to template.render.

I've refactored parser_dbc.py to be cleaner, hopefully in the way you were thinking. We can't really verify exact start bits per se, because those messages move around for at least some cars. Honda seems to do this a lot. The existing code was really just checking alignment for the most part.
The refactor doesn't check it in precisely the same way (it will allow a Honda checksum to start on bit 7, or a Honda counter to start on any odd bit) but I trust it complies with the spirit of your request. There's really no other way to do this in a manufacturer-generic way.
The refactored code does the alignment check based on endianness, and along the way it checks the DBC for correctness. It found two issues in the 2016 Accord Touring DBC, and you'll notice the Travis build for this PR fails at that point. I've submitted commaai/opendbc#193 to fix it properly.

Two final comments:
First, my 0.6.5 merge for conflict resolution seems to have added some new-in-0.6.5 files to the PR. My git-fu is not that strong and I'm not sure of the right way to pull them out, I wonder if deleting them might make things worse? Let me know if you can fix this, or if I should withdraw and resubmit the PR from a clean 0.6.5 fork.
Second, you'll notice some extra instrumentation to print the name of the DBC when a fault occurs. Depending on when and why process_dbc.py runs, you may get no information at all about which DBC failed to process, or worse, something extremely misleading if there's more than one file with problems.
Here's an example of two files broken, Honda and VW. The make is triggered by the Honda DBC change, but the process_dbc failure is actually from the VW file:

Example of a situation where you'd normally have no context at all, but the refactored code tells you what DBC it's working with now:

ew: added files: yeah, just delete them. You also want to add the opendbc changes to this PR (at least the accord fix), so tests won't fail.
Don;t worry about the cleanless of the PR, I'll squash all your commits before merging. As long as the diffs are good and there are no conflicts reported, we are good.

RE: added files: yeah, just delete them.

Done.

You also want to add the opendbc changes to this PR (at least the accord fix),

Done.

so tests won't fail.

Looks good now.

Don't worry about how clean is the history of commits of the PR, I'll squash all your commits before merging.

Hulk squash!

As long as the diffs are good and there are no conflicts reported, we are good.
And nice addition printing the dbc file that fails.

Thank you for your support through this process!

Hello! Thank you for your interest to my message.
I adapt VAG assistants to CAN bus Runault.
The protocol of VAG MQB messages is similar to specification AUTOSAR CRC8H2F E2E Profile 2.
https://www.autosar.org/fileadmin/user_upload/standards/classic/4-3/AUTOSAR_SWS_E2ELibrary.pdf
Here’s an interesting file, have a look at it:
https://android.googlesource.com/kernel/msm/+/c1aabdf379bc2feeb0df7057ed5bad96f492133e/net/can/gw.com
In order to make right messages with correct CRC I need hex-dumps of tires Gateway MBQ, like:
GW MQB Extended
00000117 75 0C 00 40 68 00 00 FF C2 00 08
000003DC FF 01 00 00 00 01 00 00 CF 00 08
00000117 11 0D 00 40 68 00 00 FF D6 00 08
0000030C 71 FF 3F FF 63 30 00 00 D7 00 08
000003DB FF 03 00 00 80 00 00 FE E3 00 08
00000117 BD 0E 00 40 68 00 00 FF EA 00 08
00000324 37 0F 00 00 04 00 00 00 EB 00 08
000003DF FF 00 01 38 15 00 00 00 ED 00 08
00000117 D9 0F 00 40 68 00 00 FF FE 00 08


Make python2-urllib2 compatible with more Python 2.7 versions

Try to catch ssl.CertificateError: only if ssl.CertificateError is defined. Otherwise bail out by effectively doing a dummy catch ():.
Update: Commit 261ba6478ca3c4027b81b418ba772ed458e26ef6 expands the fix by passing in the cafile argument only when needed, preparing to catch the TypeError if the used urllib2.urlopen doesn't support cafile yet.
Python 2.7.9 added the cafile argument support to urllib2.urlopen, but some distributions have also backported the support to nominally earlier versions so a basic version number check won't (probably) be sufficient. Another option (that is not included in this pull request) would be to use inspect.getargspec to examine the arguments urlopen accepts, something along these lines:
if "cafile" in inspect.getargspec(urllib2.urlopen).args:
    ...

In the end these changes accidentally (whoops!) make the stub compatible with all Python 2.6 & 2.7 versions.

This does not fix the other Errors:

Traceback (most recent call last):
  File "run.py", line 13, in
    urllib2.urlopen("https://" + host + ":" + port, cafile=cafile)
TypeError: urlopen() got an unexpected keyword argument 'cafile'

Thanks. Added a workaround for the cafile problem and updated the pull request title and description.


Adds setFieldData Utility

This commit adds a setFieldData Utility function. This function will allow portalData to be set on the client’s create and edit methods.
the setFieldData will stringify objects and numbers in the portalData’s properties.
Signed-off-by: Lui de la Parra<EMAIL_ADDRESS>

Coverage remained the same at 100.0% when pulling 08f92ff61ecdd781c04e0485fd87c5b2064b0258 on data-update into 4bb2b3525ed2b6e43bc78855f9e2b6a71a9c1dae on master.


Dont use https://www.jsonstore.io/

Is your feature request related to a problem? Please describe.
I noticed that you use jsonstore.io as storage. It’s an insecure place to store data.
Describe the solution you'd like
To use a private storage method.
Describe alternatives you've considered
Maybe Firebase

Migrating endpoint from jsonstore to Firebase is one of our top priorities. After running some tests, I'll update endpoint.

I could help 😉

I would love to see a PR then ✨💫

In the interim, you could remove the jsonstore.io url from the src/head.js file. That way, it's not as easily visible? A malicious user might break your live demo by running:
curl -X DELETE -H "Content-Type: application/json" https://www.jsonstore.io/6b6e3cd07f3aaecd8df25ab95875eb2462f00a7614f7205c2d5dc5229896ea98

continually in a shell script.

It will be visible in the Network tab, in the Developer Tools :sad:
El sáb., 13 de jul. de 2019 12:14 AM, Carl Corder<EMAIL_ADDRESS>escribió:

In the interim, you could remove the jsonstore.io url from the src/head.js
file. That way, it's not as easily visible? A malicious user might break
your live demo by running:
curl -X DELETE -H "Content-Type: application/json" https://www.jsonstore.io/6b6e3cd07f3aaecd8df25ab95875eb2462f00a7614f7205c2d5dc5229896ea98
continually in a shell script.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/liyasthomas/mnmlurl/issues/26?email_source=notifications&email_token=AEONCDCXSKC2OMIX67QVCKDP7FQCZA5CNFSM4ICSBZFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3JYYA#issuecomment-511089760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEONCDHYZGCYI5OBOZYZJQLP7FQCZANCNFSM4ICSBZFA
.

--
Este correo no representa opinión o consentimiento oficial de la
Universidad del Norte, por lo que esta no adquiere ninguna responsabilidad
por su contenido, salvo en el caso de funcionarios en ejercicio de
atribuciones reglamentarias. Puede provenir de una cuenta ofrecida a
funcionarios o estudiantes, como parte del ejercicio educativo, evento en
el cual tanto el mensaje como sus anexos son estrictamente confidenciales.
Ha sido analizado con software antivirus; no obstante, no se garantiza que
sea seguro o no contenga errores o virus, por lo que la Universidad del
Norte no se hace responsable de su transmisión.

I'm starting migrating to Firebase. Need help.
https://firebase.google.com/docs/reference/rest/database

Im on it

should we use Realtime DB or Firestore? I dont find the way to disable updates in the Realtime DB rules.

Firestore is in public beta I think. Anyway stable for production. I recommend firestore

Reference here:
https://firebase.google.com/docs/firestore/use-rest-api
https://firebase.google.com/docs/firestore/reference/rest

Any updates?

Firebase doesn't seems to have CORS support.

Firebase doesn't seems to have CORS support.

It does, I just tested it. As this test uses the realtime database API I did other test: I set up a Cloud Firestore and tested again: no issues.

@qgustavor thanks for the update and quick tests. Actually, I'm too busy with other projects that I've v.little gime to spend on this project. Anyway, i would love to see having realtime or firestore integrated in this project. I'm open PRs and contributions.


this has broken my sound

-2

Concerning

won't fix

Try linux

Maybe try not buying into microsoft scams next time, next

Microsoft bootlickers running away smh

Did you finally try arch


Set can_copy and copy_button of CodeBlock in Markdown

The Markdown component uses CodeBlock, but, you cannot pass the can_copy and copy_button arguments to the Markdown component. It would be useful if this was possible, in order to show a copy button when a code block is shown via markdown.

Possible now with custom component maps in rx.markdown.


(bug) fix incorrect message about compatibility check error

Before this PR this log was continuously printed in the add-on controller:
"failed to collect ResourceSummaries from cluster: mgmt/mgmt compatibility checks failed"

reason was the following:

ResourceSummary CRD is installed in the management cluster when Sveltos is deployed. While in other cluster that is deployed only when drift-detection-manager is deployed.
So while fetching the ResourceSummary from the management cluster, ResourceSummary CRD was found but then the ConfigMap with drift-detection-manager was not (obviously because drift-detection-manager was not deployed).

This PR fixes this by checking the presence of the drift-detection-manager
Fixes #715

Closing this as it won't work when sveltos is deployed in agent less mode. The correct fix is to not deploy ResourceSummary CRD in the management cluster by default. Let add-on controller eventually deploy it along drift-detection-manager if a ContinuosWithDriftDetection profile matches the management cluster


Show how to split on a composite primary key

Fixes #2769

Thanks LGTM

Maybe worth mentioning that you can also split at prefix of the PK columns. In this case, you could split at /3 (which means that there is a split before all keys that start with 3)

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

Maybe worth mentioning that you can also split at prefix of the PK columns. In this case, you could split at /3 (which means that there is a split before all keys that start with 3)

Fixed in latest push - thanks!

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


wiremock urlPattern

Dear marco and Sudharsan,
I was gratefully using protractor-http-client for a front-end application test to talk with a wiremock instance  running on the same server.  I noticed that, when trying to post an urlPattern, the escaped characters ('\d' for instance) are not transformed properly. Here's a dummy example.
wiremock.getHttpClient().post('mappings', '{ "urlPattern": "\\d" }', headers);
will work and results in 'Received request to /mappings with body { 'urlPattern': \d }', but
let stub = { 'urlPattern': '\\d' };     wiremock.getHttpClient().post('mappings', stub, headers);
fails and results in 'Received request to /mappings with body {"urlPattern":"\d"}'
note the double backslash.
Obviously the workaround could be to enter the entire stub (which is more complex than the dummy example) as a string, but JSON.stringify is also useless and shows the same behaviour and will prove to be quite the fiddle.
I'm not sure if this is a bug, but if fixed it would open many possibilities for using your package together with wiremock.
Regards,
Ernst Stam

Hi Ernst! what would be the expected behavior?
Have you tried to pass the non-double-backslashed character, like
let stub = { urlPattern: '\d' }

Marco,
You're absolutely right. In my noobishness, I forgot that the Json, I send to wiremock, itself needs an escaped backslash too.
Anyway, thanks for the quick reply. And good luck with the project. I got the wiremock connection with my protractor test working, by the way.
Kind regards,
Ernst Stam
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday 19 December 2018 15:23, Marco Dalla Vecchia<EMAIL_ADDRESS>wrote:

Hi Ernst! what would be the expected behavior?
Have you tried to pass the non-double-backslashed character, like
let stub = { urlPattern: '\d' }
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


how to get the mapping.csv file in cfg

hello, how to get the mapping.csv file in cfg?

sorry,This is a simple question!

Hi, I`m having the same question now, can you please clarify how it was solved?


Remove govendor

This removes vendoring using govendor in order to make stern go gettable. Instead vendored dependencies are fetched using git submodules.
This is basically the same as https://github.com/wercker/stern/pull/7 except addressing all dependencies.
closes #6

Now we have no predictable builds as almost all dependencies just uses master. Are you certain that go get will respect submodules, and not just fetch all depdencies?

urfave/cli and kubernetes/client-go have a branch set so git will only pull those (rather than master). The other ones didn't have a specific release we could grab on to. The alternative is to not have go get at all which i think is a worse solution.
I'd say the non-versioned dependencies (color, errors etc) are less critical or less likely to change in a non-backwards compatible way so i think this tradeoff is worth it.

Closing in favor of using govendor with instructions in #10


Pure Go implementation?

I know SRT is still evolving, but is there a plan for pure-go version?

Please check out https://github.com/datarhei/gosrt


Fix a typo

Thanks @MehmetFiratKomurcu! Can you fix DCO please?

Hey @tomkerkhove, I don't know what DCO and LGTM mean actually but I found these commands, are these correct commands?

Hey @tomkerkhove , I think I fixed the DCO.  Thank you.

Thanks a ton!


adding the id of the job's parent template to the job json representation

[finishes #87152008]

jobs#index and #show use this serializer, right? If so :+1:

:+1:


long filename breaks save dialog

skip this for https://github.com/twosigma/beaker-notebook/issues/3818

how does our current dialog handle this?

save dialog looks good

but long filenames break control panel

i find the really wide column and the vanishing of the other fields kind of confusing.
not sure what the right solution is though.   wrap?  ellipsis?


Add summary reports

As a user
I want to receive recommendations on how to manage my email
So that I can make good decisions based on the information in my email

E.g. send a summary of unread emails by sender to know what to unsubscribe from. Daily, weekly or monthly. Concept being that if I have 10 unread email from the same sender, it's time to unsubscribe.


Added board definition for upcoming Pimoroni motor driver

With any luck we'll be launching this week

Note if you want this to make 1.3.1 it needs to be ready soon

Thanks for the head's up @kilograham. I'll look at getting it finalised

@lurch I've just pushed a change that addresses both of the suggestions you raised. If the one about the #ifdef's looks good to you here, then I'll raise a separate PR that applies that to our past boards.


Update pom.xml to explicitly prevent cleaning during release:prepare

Update pom.xml to configure the maven-release-plugin to not perform and clean when doing a release:prepare to allow build artifacts from other platform builds to be incorporated into the final Jar for publishing to the maven artifact repositories.

Coverage increased (+8.8%) to 73.861% when pulling b50c00e547ecb65982d0db46e807f40b25b05bef on geoffreyblake:update_pom into 47b625c2bd13a101e3a7ca0c003dd78e28535a4a on apache:master.

Any comments on this?  If building by hand, this seems to be a way for making the combined jar.  I've come across another example: https://github.com/theopenlab/leveldbjni shows a way to build all the artifacts and then combine them, but it requires major surgery to the pom files.

Any opinion on this PR? Or do we need something more sophisticated to publish and release the jar for multi-arch?

Gary didn't comment, and I'm ok with it, so merging.


Using OrbitControls  makes object clicking not work on Android (at least)

I tried the native orbitcontrols sample app, and when the OrbitControls are activated clicking on the individual cubes does not work. Removing the OrbitControls from the scene entirely as well as from the useControls() assignment makes clicking work again.
Saw this functionality on physical Android device.

Im not sure that is correct way but these changes solved that problem
events: {
        ....
        onStartShouldSetResponder(event: GestureResponderEvent) {
          // On some devices this fires only for 2+ touches.
          if (!scope.enabled) return false

          return functions.onTouchStart(event)
        },

        onMoveShouldSetResponder(event: GestureResponderEvent) {
          // And on the same devices this fires only for 1 touch.
          if (!scope.enabled) return false

          return functions.onTouchStart(event)
        },
       ....
}

and here are onTouchStart changes (so you have to add moveStart: Vector3 to internals)
onTouchStart(event: GestureResponderEvent) {

        let state = event.nativeEvent.touches.length;

        if (state === STATE.ROTATE)
        {
            const x = event.nativeEvent.touches[0].locationX;
            const y = event.nativeEvent.touches[0].locationY;
            const t = event.nativeEvent.touches[0].timestamp;

            const dx = (x - internals.moveStart.x);
            const dy = (y - internals.moveStart.y);
            const dt = (t - internals.moveStart.z);

            internals.moveStart.set(x, y, t);

            // prevent state changing
            if (Math.abs(dx/dt) <= 0.5 && Math.abs(dy/dt) <= 0.5)
            {
                state = STATE.NONE;
            }
        }

        switch (state) {
          case STATE.ROTATE:
            if (!scope.enableRotate) return false;
            this.handleTouchStartRotate(event)
            internals.state = STATE.ROTATE
            return true

          case STATE.DOLLY:
            if (!scope.enableZoom && !scope.enablePan) return false;
            this.handleTouchStartDollyPan(event)
            internals.state = STATE.DOLLY
            return true

          default:
            internals.state = STATE.NONE
            return false
        }
      },

@creativedrewy Thanks for reporting the issue, I hadn't noted it in the devices I tested. Sorry for the delay in checking it, but it should be fixed now with 1.0.9.
@a-jb02 thanks for the code!

Thanks for fixing this!


Create inactive_users_for_integrated_apps.pt

Created policy for Managed SaaS Applications which have Integrated Applications with Inactive Users
Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

          3 Errors

:no_entry_sign:
Please add a CHANGELOG.md file

:no_entry_sign:
A README.md is required for new templates

:no_entry_sign:
Please add a 'default_frequency' property field and value. saas/fsm/inactive_users_for_integrated_apps/inactive_users_for_integrated_apps.pt

          1 Warning

:warning:
Should this include readme changes

          1 Message

:book:
Checking saas/fsm/inactive_users_for_integrated_apps/inactive_users_for_integrated_apps.pt

  Generated by :no_entry_sign: Danger


"could not load model: rpc error: code = Unavailable desc = error reading from server: EOF","type":""

LocalAI version:
1.25.0
Environment, CPU architecture, OS, and Version:
Intel Xeon E5-2670v2. Window 11. latest
Describe the bug
 I followed the guide here:https://docs.flowiseai.com/embeddings/localai-embeddings. But got error when tryin embedding "could not load model: rpc error: code = Unavailable desc = error reading from server: EOF","type":""
To Reproduce

Expected behavior

Logs
huytr@DockerAI MINGW64 ~/OneDrive/Desktop/LocalAI/examples/query_data (master)
$ curl http://localhost:8080/v1/embeddings -H "Content-Type: application/json" -d '{
"input": "Test",
"model": "text-embedding-ada-002"
}'
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   198  100   134  100    64     57     27  0:00:02  0:00:02 --:--:--    85{"error":{"code":500,"message":"could not load model: rpc error: code = Unavailable desc = error reading from server: EOF","type":""}}
Additional context

Hi @noblerboy2004 , thanks for your feeding back.
The document on https://docs.flowiseai.com/embeddings/localai-embeddings lacks some details of downloading the model from the gallery. And here you should follow below:
Add GALLERIES to your local environment.
Here is a .env in the root folder of localAI, and you can un-commnet the line GALLERIES='[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}]
Tips
If you get bash: export: url:github:go-skynet/model-gallery/index.yaml}]': not a valid identifier`, try the command below in the Linux/macOS(maybe) Terminal.
export GALLERIES='[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}]'
Check if the it set up correctly
And run localAI, if the gallery set up correct, you will not see anything. Otherwise, I can see below,
@Aisuko ➜ /workspaces/LocalAI (master) $ make run
go mod edit -replace github.com/nomic-ai/gpt4all/gpt4all-bindings/golang=/workspaces/LocalAI/gpt4all/gpt4all-bindings/golang
go mod edit -replace github.com/go-skynet/go-ggml-transformers.cpp=/workspaces/LocalAI/go-ggml-transformers
go mod edit -replace github.com/donomii/go-rwkv.cpp=/workspaces/LocalAI/go-rwkv
go mod edit -replace github.com/ggerganov/whisper.cpp=/workspaces/LocalAI/whisper.cpp
go mod edit -replace github.com/go-skynet/go-bert.cpp=/workspaces/LocalAI/go-bert
go mod edit -replace github.com/go-skynet/bloomz.cpp=/workspaces/LocalAI/bloomz
go mod edit -replace github.com/mudler/go-stable-diffusion=/workspaces/LocalAI/go-stable-diffusion
go mod edit -replace github.com/mudler/go-piper=/workspaces/LocalAI/go-piper
go mod edit -replace github.com/mudler/go-ggllm.cpp=/workspaces/LocalAI/go-ggllm
go mod download
touch prepare
CGO_LDFLAGS="" go run ./
1:55AM ERR failed loading galleries: invalid character 'n' looking for beginning of object key string
1:55AM INF Starting LocalAI using 4 threads, with models path: /workspaces/LocalAI/models
1:55AM INF LocalAI version:  ()

Download the model  from gallery again
curl $LOCALAI/models/apply -H "Content-Type: application/json" -d '{"id": "model-gallery@bert-embeddings"}'
Checking the models folder, and it should include similar like below
@Aisuko ➜ /workspaces/LocalAI (master) $ ls -la models/
total 14212
drwxrwxrwx+  2 codespace root          4096 Sep 22 02:00 .
drwxrwxrwx+ 28 codespace root          4096 Sep 22 01:45 ..
-rw-rw-rw-   1 codespace root             0 Sep 22 01:18 .keep
-rw-rw-rw-   1 codespace codespace 14536015 Sep 22 01:58 bert-MiniLM-L6-v2q4_0.bin
-rw-r--r--   1 codespace codespace      111 Sep 22 01:58 bert-embeddings.yaml
-rw-r--r--   1 codespace codespace      118 Sep 22 02:00 text-embedding-ada-002.yaml

Run the command
@Aisuko ➜ /workspaces/LocalAI (master) $ curl http://localhost:8080/v1/embeddings -H "Content-Type: application/json" -d '{"input": "Test","model": "text-embedding-ada-002"}'
{"object":"list","model":"text-embedding-ada-002","data":[{"embedding":[0.009794451,0.025233647,-0.030652339,0.049976226,0.00060352444,-0.016961304,0.057168704,0.040345185,0.0049206,0.0062199696,0.0112329535,-0.006422204,-0.052636802,0.027765067,-0.011874737,-0.06641837,-0.03504632,-0.023078337,-0.046203017,-0.06723776,0.0415467,-0.022584759,0.018209456,0.05247386,0.0545743,0.054174423,0.0071699973,0.047122065,0.0912816,-0.0067009167,0.0077590174,0.019550426,0.06151075,-0.024220366,-0.007664941,-0.13538025,0.06711042,-0.0287357,043102365,-0.046691485,0.019611616,-0.036851883,-0.02893464,-0.036686588,-0.04995581,-0.012328798,0.0044862507,-0.0057770717,0.0045684106,0.05781866,0.07386673,0.04405747,-0.04252,0.014422377,-0.0035878534,-0.040765695,-0.047999077,-0.031220946,-0.0006110305,0.008372485,0.013731053,0.082618885,0.080272496,0.0022632913,-0.016037494,-0.06123375,0.06307059,-0.013220338,0.020869208,0.030042997,0.11140887,0.13764521,0.018567853,-0.10539311,0.0048948466,0.04123295,0.032958206,-0.051163062,0.015735762,-0.03232726,0.016187007,0.01453379.045940023,0.017109625,0.0025593978,-0.006755319,-0.057964433,-0.044806987,-0.0064437715,-0.06391058,0.022258837,0.003288434,-0.05353514,-0.00067069323,0.022117011,0.033361703,0.6726501,0.014127695,0.0140484655,0.058380667,0.012646213,-0.0086575495,0.011512361,0.021736648,-0.024252865,0.056584492,-4.2065627e-33,0.012902781,-0.09714889,0.037843373,0.093457207,0.07282815,0.0066725793,0.07195803,0.02414018,-0.02952085,-0.013277646,0.014608584,0.06696623,0.083929405,-0.024828196,0.0074623167,-0.07762984,0.049159434,-0.004357168,-0.077711575,-0.063926645,-0.04017431,-0.03981924,0.024196543,0.004066373,-0.057582565,-0.010881982,-0.049290832,0.08750097,-0.025341742,0.01974973,0.0047418983,-0.015407911,0.001951735,0.0020715687,0.0072169844,0.021691801,-0.03408934,-0.05324055,-0.025525,0.063053705,-0.009270767,-0.012982492,0.018980013,-0.079040915,-0.0478784,-0.022035161,0.053105198,0.065044,0.054119006,0.022074318,-0.029071452,0.07902639,-0.02255057,-0.012630121,-0.03982624,-0.12389691,0.07073705,0.053818762,-0.032300014,-0.06735284,0.0033382315,0.023810307,-045538433,-0.01870993,-0.07704327,0.079012826,-0.031281907,0.02178305,-0.0145581355,-0.0022138099,-0.030613845,-0.044252023,-0.09389515,0.0119382115,-0.077033915,-0.048977047,0.04186,4.1751157e-33,-0.049862593,0.041092817,-0.021426447,0.13354272,-0.0058348347,-0.037973218,0.12152487,0.02237059,-0.06747321,0.12199945,0.034916777,-0.042790215,0.07689159,0.0769053,-0.059488386,-0.05583156,-0.0015040624,-0.06760822,0.06904252,0.00094517844,-0.01733727,-0.10127397,0.029499305,0.037161477,-0.04330855,0.030127238,-0.03147561,0.07862891,239468,0.0324741,0.16189496,-0.00097633246,-0.021511294,0.05943427,0.07858113,0.081191175,0.011995542,0.1076277,-0.020478807,0.0827142,0.056920063,-0.029817786,0.06242322,0.07241,-0.006797553,-0.036756437,-0.046707954,-0.0466414,0.015287991,-0.057798613,-0.00941298,-0.07641374,0.0683819,-0.060288154,0.07136964,-0.059040148,-0.050588124,-0.04164462,0.07630.009676021,-0.03591903,-0.03910269,0.04135193,-0.01957466,-0.094523855,0.0081073465,0.0021852443,-0.04244632,-0.074514315,-0.08060708,-0.07060752,0.05702184,-0.048133984,0.059387,0.0077545494,0.044888306,0.0062233256,-0.041222535,-0.063529044,-0.0132918665,-1.4602025e-8,-0.043611955,-0.106504634,0.036152616,0.023948327,-0.020474663,-0.015646355,-0.0275632,0.005399213,-0.00754478,-0.035107613,0.072717324,0.0016576999,-0.07591442,-0.048113957,0.01810086,-0.004108331,0.028773928,-0.07611522,0.023479847,0.027703092,0.036676258,-0.0305,-0.019708978,0.00379691,0.08808157,0.046173863,-0.011677472,-0.09076068,-0.0017467594,0.059464883,0.0004912727,0.022558358,0.04580795,0.054454822,-0.045448568,-0.007723019,0.83387,-0.017431762,-0.03261399,-0.031123897,-0.10039791,-0.06680895,0.034433704,0.0073757926,-0.006804914,0.042208076,-0.017471561,0.029443573,0.03805507,-0.10784109,0.050765432,

Hi @noblerboy2004 , thanks for your feeding back.
The document on https://docs.flowiseai.com/embeddings/localai-embeddings lacks some details of downloading the model from the gallery. And here you should follow below:
Add GALLERIES to your local environment.
Here is a .env in the root folder of localAI, and you can un-commnet the line GALLERIES='[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}]
Tips
If you get bash: export: url:github:go-skynet/model-gallery/index.yaml}]': not a valid identifier, try the command below in the Linux/macOS(maybe) Terminal.
export GALLERIES='[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}]'
Check if the it set up correctly
And run localAI, if the gallery set up correct, you will not see anything. Otherwise, I can see below,
@Aisuko ➜ /workspaces/LocalAI (master) $ make run
go mod edit -replace github.com/nomic-ai/gpt4all/gpt4all-bindings/golang=/workspaces/LocalAI/gpt4all/gpt4all-bindings/golang
go mod edit -replace github.com/go-skynet/go-ggml-transformers.cpp=/workspaces/LocalAI/go-ggml-transformers
go mod edit -replace github.com/donomii/go-rwkv.cpp=/workspaces/LocalAI/go-rwkv
go mod edit -replace github.com/ggerganov/whisper.cpp=/workspaces/LocalAI/whisper.cpp
go mod edit -replace github.com/go-skynet/go-bert.cpp=/workspaces/LocalAI/go-bert
go mod edit -replace github.com/go-skynet/bloomz.cpp=/workspaces/LocalAI/bloomz
go mod edit -replace github.com/mudler/go-stable-diffusion=/workspaces/LocalAI/go-stable-diffusion
go mod edit -replace github.com/mudler/go-piper=/workspaces/LocalAI/go-piper
go mod edit -replace github.com/mudler/go-ggllm.cpp=/workspaces/LocalAI/go-ggllm
go mod download
touch prepare
CGO_LDFLAGS="" go run ./
1:55AM ERR failed loading galleries: invalid character 'n' looking for beginning of object key string
1:55AM INF Starting LocalAI using 4 threads, with models path: /workspaces/LocalAI/models
1:55AM INF LocalAI version:  ()

Download the model from gallery again
curl $LOCALAI/models/apply -H "Content-Type: application/json" -d '{"id": "model-gallery@bert-embeddings"}'
Checking the models folder, and it should include similar like below
@Aisuko ➜ /workspaces/LocalAI (master) $ ls -la models/
total 14212
drwxrwxrwx+  2 codespace root          4096 Sep 22 02:00 .
drwxrwxrwx+ 28 codespace root          4096 Sep 22 01:45 ..
-rw-rw-rw-   1 codespace root             0 Sep 22 01:18 .keep
-rw-rw-rw-   1 codespace codespace 14536015 Sep 22 01:58 bert-MiniLM-L6-v2q4_0.bin
-rw-r--r--   1 codespace codespace      111 Sep 22 01:58 bert-embeddings.yaml
-rw-r--r--   1 codespace codespace      118 Sep 22 02:00 text-embedding-ada-002.yaml

Run the command
@Aisuko ➜ /workspaces/LocalAI (master) $ curl http://localhost:8080/v1/embeddings -H "Content-Type: application/json" -d '{"input": "Test","model": "text-embedding-ada-002"}'
{"object":"list","model":"text-embedding-ada-002","data":[{"embedding":[0.009794451,0.025233647,-0.030652339,0.049976226,0.00060352444,-0.016961304,0.057168704,0.040345185,0.0049206,0.0062199696,0.0112329535,-0.006422204,-0.052636802,0.027765067,-0.011874737,-0.06641837,-0.03504632,-0.023078337,-0.046203017,-0.06723776,0.0415467,-0.022584759,0.018209456,0.05247386,0.0545743,0.054174423,0.0071699973,0.047122065,0.0912816,-0.0067009167,0.0077590174,0.019550426,0.06151075,-0.024220366,-0.007664941,-0.13538025,0.06711042,-0.0287357,043102365,-0.046691485,0.019611616,-0.036851883,-0.02893464,-0.036686588,-0.04995581,-0.012328798,0.0044862507,-0.0057770717,0.0045684106,0.05781866,0.07386673,0.04405747,-0.04252,0.014422377,-0.0035878534,-0.040765695,-0.047999077,-0.031220946,-0.0006110305,0.008372485,0.013731053,0.082618885,0.080272496,0.0022632913,-0.016037494,-0.06123375,0.06307059,-0.013220338,0.020869208,0.030042997,0.11140887,0.13764521,0.018567853,-0.10539311,0.0048948466,0.04123295,0.032958206,-0.051163062,0.015735762,-0.03232726,0.016187007,0.01453379.045940023,0.017109625,0.0025593978,-0.006755319,-0.057964433,-0.044806987,-0.0064437715,-0.06391058,0.022258837,0.003288434,-0.05353514,-0.00067069323,0.022117011,0.033361703,0.6726501,0.014127695,0.0140484655,0.058380667,0.012646213,-0.0086575495,0.011512361,0.021736648,-0.024252865,0.056584492,-4.2065627e-33,0.012902781,-0.09714889,0.037843373,0.093457207,0.07282815,0.0066725793,0.07195803,0.02414018,-0.02952085,-0.013277646,0.014608584,0.06696623,0.083929405,-0.024828196,0.0074623167,-0.07762984,0.049159434,-0.004357168,-0.077711575,-0.063926645,-0.04017431,-0.03981924,0.024196543,0.004066373,-0.057582565,-0.010881982,-0.049290832,0.08750097,-0.025341742,0.01974973,0.0047418983,-0.015407911,0.001951735,0.0020715687,0.0072169844,0.021691801,-0.03408934,-0.05324055,-0.025525,0.063053705,-0.009270767,-0.012982492,0.018980013,-0.079040915,-0.0478784,-0.022035161,0.053105198,0.065044,0.054119006,0.022074318,-0.029071452,0.07902639,-0.02255057,-0.012630121,-0.03982624,-0.12389691,0.07073705,0.053818762,-0.032300014,-0.06735284,0.0033382315,0.023810307,-045538433,-0.01870993,-0.07704327,0.079012826,-0.031281907,0.02178305,-0.0145581355,-0.0022138099,-0.030613845,-0.044252023,-0.09389515,0.0119382115,-0.077033915,-0.048977047,0.04186,4.1751157e-33,-0.049862593,0.041092817,-0.021426447,0.13354272,-0.0058348347,-0.037973218,0.12152487,0.02237059,-0.06747321,0.12199945,0.034916777,-0.042790215,0.07689159,0.0769053,-0.059488386,-0.05583156,-0.0015040624,-0.06760822,0.06904252,0.00094517844,-0.01733727,-0.10127397,0.029499305,0.037161477,-0.04330855,0.030127238,-0.03147561,0.07862891,239468,0.0324741,0.16189496,-0.00097633246,-0.021511294,0.05943427,0.07858113,0.081191175,0.011995542,0.1076277,-0.020478807,0.0827142,0.056920063,-0.029817786,0.06242322,0.07241,-0.006797553,-0.036756437,-0.046707954,-0.0466414,0.015287991,-0.057798613,-0.00941298,-0.07641374,0.0683819,-0.060288154,0.07136964,-0.059040148,-0.050588124,-0.04164462,0.07630.009676021,-0.03591903,-0.03910269,0.04135193,-0.01957466,-0.094523855,0.0081073465,0.0021852443,-0.04244632,-0.074514315,-0.08060708,-0.07060752,0.05702184,-0.048133984,0.059387,0.0077545494,0.044888306,0.0062233256,-0.041222535,-0.063529044,-0.0132918665,-1.4602025e-8,-0.043611955,-0.106504634,0.036152616,0.023948327,-0.020474663,-0.015646355,-0.0275632,0.005399213,-0.00754478,-0.035107613,0.072717324,0.0016576999,-0.07591442,-0.048113957,0.01810086,-0.004108331,0.028773928,-0.07611522,0.023479847,0.027703092,0.036676258,-0.0305,-0.019708978,0.00379691,0.08808157,0.046173863,-0.011677472,-0.09076068,-0.0017467594,0.059464883,0.0004912727,0.022558358,0.04580795,0.054454822,-0.045448568,-0.007723019,0.83387,-0.017431762,-0.03261399,-0.031123897,-0.10039791,-0.06680895,0.034433704,0.0073757926,-0.006804914,0.042208076,-0.017471561,0.029443573,0.03805507,-0.10784109,0.050765432,

Hi Aisuko,
Thank you for your reply. I tried with your guideline. I'm facing problem.

Would you please help to solve it?
Thank you.

This is log in execute terminal of docker.

Hi, according to the https://localai.io/howtos/easy-setup-full/index.html. Git bash will not working on Windows. I suggest you use docker https://localai.io/howtos/easy-setup-docker-cpu/. If you have GPU environment, check the easy-setup-docker-GPU

Hi, according to the https://localai.io/howtos/easy-setup-full/index.html. Git bash will not working on Windows. I suggest you use docker https://localai.io/howtos/easy-setup-docker-cpu/. If you have GPU environment, check the easy-setup-docker-GPU

Hi Aisuko,
I did try both option: Bash on windows with linux embedded install and docker. Both show same error.
Then, I tried other model and working normal.

I could be problem with bert model :(
Thank you.

Hi, according to the https://localai.io/howtos/easy-setup-full/index.html. Git bash will not working on Windows. I suggest you use docker https://localai.io/howtos/easy-setup-docker-cpu/. If you have GPU environment, check the easy-setup-docker-GPU

@Aisuko  (For the use of the program I made to help with setup, it does not work under git bash, I am not sure about localai stuff when running locally)
@noblerboy2004 can you post a photo of your nodes from flowise?

Hi, according to the https://localai.io/howtos/easy-setup-full/index.html. Git bash will not working on Windows. I suggest you use docker https://localai.io/howtos/easy-setup-docker-cpu/. If you have GPU environment, check the easy-setup-docker-GPU

@Aisuko (For the use of the program I made to help with setup, it does not work under git bash, I am working on a fix for that, I am not sure about localai stuff when running locally)
@noblerboy2004 can you post a photo of your nodes from flowise?

Here you are

Hi, according to the https://localai.io/howtos/easy-setup-full/index.html. Git bash will not working on Windows. I suggest you use docker https://localai.io/howtos/easy-setup-docker-cpu/. If you have GPU environment, check the easy-setup-docker-GPU

@Aisuko (For the use of the program I made to help with setup, it does not work under git bash, I am working on a fix for that, I am not sure about localai stuff when running locally)
@noblerboy2004 can you post a photo of your nodes from flowise?

Noticed and thanks.

Hi, according to the https://localai.io/howtos/easy-setup-full/index.html. Git bash will not working on Windows. I suggest you use docker https://localai.io/howtos/easy-setup-docker-cpu/. If you have GPU environment, check the easy-setup-docker-GPU

Hi Aisuko,
I did try both option: Bash on windows with linux embedded install and docker. Both show same error. Then, I tried other model and working normal.
I could be problem with bert model :(
Thank you.

Do you have some environments like WSL2? Maybe try again in the WSL2 environment.

@noblerboy2004 and @Aisuko I think its the way that flowise does embeds. I can not seem to get them to work on my end too...

Hi, according to the https://localai.io/howtos/easy-setup-full/index.html. Git bash will not working on Windows. I suggest you use docker https://localai.io/howtos/easy-setup-docker-cpu/. If you have GPU environment, check the easy-setup-docker-GPU

Hi Aisuko,
I did try both option: Bash on windows with linux embedded install and docker. Both show same error. Then, I tried other model and working normal.
I could be problem with bert model :(
Thank you.

Do you have some environments like WSL2? Maybe try again in the WSL2 environment.

Hi Aisuko,
The log I provided is on WSL2 Machine. Windows server 2022.

⚠⚠⚠⚠⚠
Hi! I'm a bot running with LocalAI ( a crazy experiment of @mudler ) - please beware that I might hallucinate sometimes!
but.... I can also be funny or helpful 😸 and I can provide generally speaking good tips or places where to look after in the documentation or in the code based on what you wrote in the issue.
Don't engage in conversation with me, I don't support (yet) replying!
⚠⚠⚠⚠⚠
It seems like there is an issue with the model or the LocalAI installation. Here are some possible solutions to try:

Check if the model is compatible with LocalAI by looking at the documentation for the specific model and checking the minimum requirements. You can also use the localai models command to list all available models and their compatibility information.
Ensure that the installation of LocalAI is up-to-date by running localai update or reinstalling the container image if necessary.
Check the network connectivity between the client and server, as the error suggests a problem with communication between the two. You can try restarting the LocalAI server or checking the network settings on the client.
If the issue persists, you can open an issue on the LocalAI GitHub repository with the details of the problem and any logs or additional context that may be helpful in debugging the issue further.

Sources:

https://github.com/go-skynet/LocalAI/tree/master/.github/ISSUE_TEMPLATE/bug_report.md
https://localai.io/model-compatibility/exllama/index.html
https://github.com/go-skynet/LocalAI/tree/master/.env

Thanks localai-bot.
I tried as in the picture above and this working now. Thank you for your support.

Hi @noblerboy2004 thanks for your feedback. I'm going to close this now.


Calling a C-runtime library function with an invalid parameter crashes Dolphin

From MSDN.
"The behavior of the C Runtime when an invalid parameter is found is to call the currently assigned invalid parameter handler. The default invalid parameter invokes Watson crash reporting, which causes the application to crash and asks the user if they want to load the crash dump to Microsoft for analysis."
This is inconvenient, since a small mistake crashes the dev image or app, and inconsistent with the usual behavior when calling other external APIs from Dolphin, which is generally that a the error is detected and a Smalltalk exception gets raised. The parameter validation errors should be translated to a Smalltalk exception (perhaps a CRTError), so that the issue can be handled in Smalltalk in an appropriate way.
The simplest fix for this would be to replace the standard parameter validation function with one that does nothing, which will cause the called CRT function to perform old-style C-runtime error reporting (typically set errno to EINVAL, and return whatever form of error return value it uses). This could be done in the VM, or the image. This fix will require that any call sites detect and handle the error appropriately, although they need to do this anyway for other potential error conditions.
A better fix might be to fail the external library call and override #invalidCall on CRTLibrary so as to translate the invalid parameter information into an appropriate Smalltalk exception in a standard way. the advantage of this would be consistent and automatic behaviour for invalid parameter errors. This will require both VM and image side modifications.

As it's always fun to show off Dolphin's powerful external interfacing capabilities, here is a demo of how this can be fixed on the Smalltalk side alone. First file in this:
!CRTLibrary methodsFor!

_set_invalid_parameter_handler: anExternalCallback
	<cdecl: void _set_invalid_parameter_handler ExternalCallback*>
	^self invalidCall! !
Smalltalk at: #CrtInvalidParameterHandler put: (ExternalCallback block: [:exp :func :file :line :rsvd | CRTError signal] argumentTypes: 'LPWSTR LPWSTR LPWSTR sdword uintptr')!
CRTLibrary default _set_invalid_parameter_handler: CrtInvalidParameterHandler asParameter!

Now test it out by evaluating this:
CRTLibrary default _close: -1

You should get a "Bad File Descriptor" walkback. Essentially the above has registered a Smalltalk block as the error handler for invalid parameters, where the block just throws a CRTError pulling the errno that the CRT _close function has just set to EBADF.
You can set a breakpoint in the callback block, but note that all the diagnostic params will be null unless you are running on a debug CRT (i.e. with a debug VM build).
However, on further investigation I think the best fix for this is to handle it like access violation faults, and to register an invalid parameter handler early on in the VMs startup, and then to send an interrupt from the VM into Smalltalk when the handler is called. This will leave the bad call on the stack, without a load of extra callback frames on top to confuse matters.

Fixed as of e89c445


drop old ruby support on CI

CI time is too long to wait. I'm happy to reduce test matrix.
ruby 2.3.0 was already EOL.
https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/
ruby 2.3 is left bacause of Rails4.x testing.
I think Rails4.x can also drop support from next release.

No code are exist that is not working old ruby version.
But adding required_ruby_version to gem spec is better for compatibility for old ruby users.
https://guides.rubygems.org/specification-reference/#required_ruby_version

Good call. I think we should keep Rails 4.2 testing. Apparently Rails 4.2 supports Ruby 2.4.5.

Sorry, reading between my lines, let's keep Rails 4.2 but drop Ruby 2.3.

@brendon Do you mean drop Rails v4.1 support on this PR?

Yes I think so. 4.2 is the only one currently supported by Rails. I'm happy to keep Rails 4.2 support for a year or two after Rails drops support though as I've been in that position where I've been stuck on a slightly out of date version before.

https://github.com/mixonic/ranked-model/blob/master/ranked-model.gemspec#L16 activerecord dependency should be upgrade to 4.2?

Yes that's a good idea :)

@brendon CI passed!

Choice! :)


clients - disable add need until saved

When we have a new client, make sure it is saved before we can add a need

Done


Your project has been added to a list of copyfree works.

http://copyfree.org/resources/works#Flask
Please let me know if there are any inaccuracies to be corrected or
improvements to be made in the listing.

i think you have the wrong project? this is bottle not flask :P or am i mistaken?>

Sorry, I evidently made a copypasta mistake.  It should indeed be: http://copyfree.org/resources/works#Bottle

Thanks for the notice

Thanks for the notice


Broken link to IDE Support page in Rust FAQ

Hi,
The link in https://www.rust-lang.org/en-US/faq.html#what-ide-should-i-use is broken.

Looks like they deleted the page a year ago:
https://github.com/rust-lang-nursery/rust-forge/commit/aa1688d544c042f4d1024eba5efeb15012fbb2c8

https://www.rust-lang.org/en-US/contribute-tools.html likewise has a broken link to the same page.


Download Grist document as SQLite without any meta

We can download a document containing all the metadata, please consider adding the ability to download in SQLite format only tabular information in accordance with acl, with attachments, similar to xlsx.
For transfer and use immediately for reports and use in third-party projects.

I want to get only the data of tables with attachments, the fact is that fields like Attachment have links to _grist_Attachments. Also other service fields (gristHelper_Display). It is necessary to get the data in SQLite exactly in the format as the user sees on the screen without the service _grist* tables. I'm trying to connect SQLite to MS Visio, I also have to write queries for a long time. And a user who is not familiar with SQL will just leave this idea.


Windows builds slow

The Windows builds in the new pipelines are several times slower than the Linux and MacOS ones. This needs to be investigated.

The two tests which appear to be devouring time on Windows are:
test_text_classification_unified_information
test_explain_model_BERT_seq_classification
see, e.g.:
https://dev.azure.com/responsibleai/interpret-text/_build/results?buildId=7329&view=ms.vss-test-web.build-test-results-tab&runId=78160&resultId=100015&paneView=debug


Update dbt_utils dependency to v0.9.x

Describe the feature

This package has a dependency on dbt_utils that restricts its version to <0.9.0. dbt_utils recently released compatibility release v0.9.x in preparation for their v1.0.0 release. It would be nice to be able to test against that release in preparation for the 1.0 release. Slack announcement
Describe alternatives you've considered

I suppose it's not mission critical to be compatible with v0.9.x, but there are some breaking changes in v1.0 (they moved certain macros into dbt-core) that it would be nice to prepare for.
Additional context

Who will this benefit?

dbt_utils is one of the most popular dbt packages. It seems compatibly with that package is more or less a necessity.

Bumping this to see if there's any chance this is going to get updated.

@cooley-hi Sorry for the slow response. Is this still an issue you are experiencing? In all honesty, this project should probably be archived, as I believe the integration it was built for no longer exists. Unless I hear back by the end of January, I play to close this issue and archive the repository.

@QMalcolm we're not using the package anymore, so I don't know.


Richer color picker experience

I've just moved away from using ColorSnapper2, and I think this app should implement some of the extra features that ColorSnapper2 provides for its color picker, as they improve the user experience significantly.
Features

Being able to resize the loupe with the scroll wheel. This is pretty useful as the current size of the loupe feels very small to me, it feels a bit disorienting, as if I can't see enough of the surrounding to orientate myself easily, I'd like to make it bigger.
Current color tooltip. I like this a lot because it allows the color picker to be used for more things, for example I can check if something is pure black or if two things are of the same color super quickly, currently doing the same with this app involves opening the window, which just breaks the workflow for me.
Close-up mode. When pressing ctrl on ColorSnapper2 the loupe sort of zooms in into the screen, showing a bigger loupe, much bigger pixels,  a pixels grid and importantly also the loupe moves more slowly. Those are pretty useful features IMO as picking a precise pixel currently with the app is not a smooth as it should be, it's just too easy to move the cursor accidentally to a neighbor pixel and I find that I physically get closer to the screen just to have a better view of the pixels.

Demo
https://user-images.githubusercontent.com/1812093/141295302-d8fcfd2c-ad11-4d8b-9d1d-ef9434d821f7.mov

Yup, all of these are good suggestions and already planned. However, it requires making the color loupe from scratch, which is quite a lot of work.
Related issue: https://github.com/sindresorhus/System-Color-Picker/issues/16

Tip: You can press Space to show the RGB color in the picker. It's not configurable though.

Nice! That improves the tool a lot for me.

Another vote for the close-up mode. This feature is vital for those who use a graphic tablet like me.
The reason is that a click with a tablet is most of the time a short stroke, which means that with a tablet it's really difficult to "pick a pixel," so to say. So the ability to slow down the mouse cursor is indispensable.


Fix ABI mismatch involving Sendable-refining non-resilient protocols and deployment targets

A change to the way we determined whether a protocol conformance is "dependent" for marker protocols caused an ABI break for Sendable-refining protocols built with pre-6.0 Swift compilers. The fix for this issue (https://github.com/swiftlang/swift/pull/75769) gated the change on deployment target.
The deployment target change fixed the original problem, then caused a related issue when a project mixes deployment targets (pre-6.0 and 6.0+) with non-resilient protocols. Exempt non-resilient protocols from this change so we get consistent behavior.
Fixes rdar://134953989.

@swift-ci please smoke test


[New Feature]: Implementation and deployment of WPS-T execute() and status() methods

Acceptance Criteria:
o Demonstrated triggering of a CWL workflow using the WPS-T execute method (via CURL or better via unity-py)
o CI/CD pipeline for automatic execution of nightly test

Update from Drew: Here is the starting point for our Processes API which conforms to the OGC API — Processes Standard. The endpoints are currently stubbed but what I want to highlight is that the response models of the endpoints are tied to Pydantic models which are autogenerated from the OpenAPI Spec provided by OGC. This enables us to be able to verify (using unit tests) that our API response models conform to the spec to ensure we have an accurate implementation of the standard. Please note that the repo’s docs are currently in work. (edited)

The OGS Processes API Pod is now deployed as part of the standard SPS deployment

This is a great start, but it doesn't include the processes-transactional endpoints; that's the PUT/POSt and delete on a process endpoint itself.
@app.post("/processes/{process_id}", response_model=StatusInfo)
async def execute(process_id: str, process: Deploy = Body(...)):
    raise HTTPException(status_code=501, detail="Not Implemented")

@app.delete("/processes/{process_id}", response_model=StatusInfo)
async def execute(process_id: str, process: Undeploy = Body(...)):
    raise HTTPException(status_code=501, detail="Not Implemented")

we'd need to create a 'deploy' class if we want to do it that way


Ossm merge

There are a few things unaddressed still, @didierofrivia could you please have a look? You can either push one (or more) commits to this branch or just advise what you think might be best on moving forward… Thanks 🙏


[Debug] Add config for default sorting in database panel grid

There is no way to set default sorting for GridView in Database panel of Debug toolbar. Please add such config, so we can sort by "Time" by default, for example.

Please report to https://github.com/yiisoft/yii2-debug/issues. Thanks!


Update docs

Modify Backend-Chat-Entry.md to be more server framework-agnostic and include CancelChat Fabric

Waiting on Modrinth approval.

Ready!


403 Resource protected by organization SAML enforcement

Describe the bug
I followed the steps here to add a scorecard action to microsoft/msquic with this PR. The Action passed on the PR.
After I merged the PR, the action failed though:
Event file: /github/workflow/event.json
Event name: push
Ref: refs/heads/main
Private repository: false
Publication enabled: true
Format: sarif
Policy file: /policy.yml
2022/01/20 20:05:01 repo unreachable: GET https://api.github.com/repos/microsoft/msquic: 403 Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization. []
panic: repo unreachable: GET https://api.github.com/repos/microsoft/msquic: 403 Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization. []

I just double checked my PAT and it exactly matches what is required per the setup instructions. What am I doing wrong? Is the Microsoft organization doing something special on push runs to prevent this from working?
The only difference on my end is that publication is disabled for PRs, but enabled on push to main. Does the above only execute when publication is enabled?

Thanks for bringing this to our attention @nibanks. Is it possible that SAML authentication is enabled on you GitHub organization? If so, you'll need to follow the instructions here to give the right access to your PAT.
Let me know if that works. I did some preliminary digging to find this info.
@laurentsimon this is an interesting corner case. We should look into it and document it for the users.

Ah, yes. The Microsoft org does use SSO. I just enabled that for the PAT and reran the latest workflow and it passed. So I'd definitely update the PAT instructions to note this edge case and how to fix for it.
Thanks!

cc @olivekl

Thanks for confirming @nibanks. @olivekl @laurentsimon assigning this to you both. Let's update the documentation before closing this issue.


Neptune dependencies -- possibility of moving to optional/extras?

Is your idea related to a problem? Please describe.
The addition of Neptune support in #1085 introduced 3 direct dependencies in the
pyproject.toml. These expand out to 14 additional dependencies when installed.
The main concern is rdflib, as a transitive dep of SPARQLWrapper, which has a SSRF issue.  It doesn't seem like this would cause issues in the context of wrangler (seems mostly related to json). Just having the dependency listed/installed can cause issues/extra work for some users in controlled environments.  The additional deps are also starting to become a concern for those using wrangler in a docker image (starting to bloat).
A possible workaround would be to manually uninstall the additional deps and the transitives but this cases import errors due to the import structure with everything in __init__. All deps and their transitives are imported by import awswrangler (1225 imports) . Might be worth looking in to this in a separate issue, since the import time is pretty high.
Would consideration be given to moving these to extras/optional dependencies? Similar to how pyodbc is handled.
That would give users the ability to opt in to these extra dependencies being installed.
2.14.0
python -m pip freeze | wc -l
35

2.15.0
Added the following:
gremlinpython = "^3.5.2"
backoff = "^1.11.1"
SPARQLWrapper = "^1.8.5"

python -m pip freeze | wc -l
49

Describe the solution you'd like
Optional dependencies for neptune support? Possible rework of the import structure?
P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.

Hi @jmahlik - done in release 1.15.1. To install the optional dependency run pip install with sparql extra e.g.:
> pip install awswrangler[sparql]

This will install SPARQLWrapper and all it's dependencies including rdflib


Support for using the default principal from platform GSS integration for Kerberos

Driver version or jar name
Tested with 6.3.6.jre8-preview
SQL Server version
Tested with 12.0.5207
Client operating system
Tested with RHEL (3.10.0-693.5.2.el7.x86_64)
Java/JVM version
>java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

Table schema
N/A
Problem description
I was trying to use the platform GSS integration (as described in "Native platform GSS integration" at https://docs.oracle.com/javase/8/docs/technotes/guides/security/jgss/jgss-features.html), and noticed that the code in com.microsoft.sqlserver.jdbc.KerbAuthentication#intAuthInit assumes the use of only JAAS. It also has support for impersonated credentials, but not for the use of the default initiator principal as defined in org.ietf.jgss.GSSManager#createContext(org.ietf.jgss.GSSName, org.ietf.jgss.Oid, org.ietf.jgss.GSSCredential, int)
If we define a means for allowing the use of this default principal (from the platform GSS), we can let the GSSManager create the appropriate GSSCredential for us.
Expected behavior and actual behavior
Expected behavior
When the sun.security.jgss.native system property is set to true, the platform GSS implementation should be used for GSSCredential creation and JAAS configuration files are not necessary.
Actual behavior
When the sun.security.jgss.native system property is set to true, mssql-jdbc doesn't use the platform GSS implementation, but rather still goes down the JAAS path and expects credentials to be provided.
Repro code
Try with any MS-SQL server that uses Kerberos for authentication and whose client attempts to use the platform GSS integration by setting -Dsun.security.jgss.native=true. I have added a sample project in https://github.com/kilokahn/mssql-jdbc/blob/default-principal-usage-java-kerberos/src/samples/platform-gss/src/main/java/PlatformGSS.java
Possible fix and contributing code
IMO, there are 2 options:

We can try to model the platform GSS authentication as a new AuthenticationScheme and introduce an implementation of com.microsoft.sqlserver.jdbc.SSPIAuthentication that specifically addresses this scheme where the GSSManager delegates the creation of the GSSCredential to the platform (host)
Introduce an additional flag with the JavaKerberos AuthenticationScheme (say useDefaultPrincipal) that will be used to have the GSSManager delegates the creation of the GSSCredential to the platform (host). EDIT: in hindsight the flag is better named as usePlatformGssCredential?

I took a shot at approach 2 here. Can you please see if this makes sense? Thanks!

Hi @kilokahn ,
Please note that the driver already provides a default JAAS configuration, JAAS configuration files are used only if a user wants to request a different configuration. You should be able to create a Kerberos ticket with kinit and connect without providing JAAS files. Please let me know if you need help with that.
As far as I understand, you would still need to create a Kerberos ticket for native GSS Integration and I don't see how it is different from the current behavior of the driver.

Thanks for the reply @ulvii .

You should be able to create a Kerberos ticket with kinit and connect without providing JAAS files. Please let me know if you need help with that.

Can you please point to some code that demonstrates this? Maybe that will help me understand this better.

As far as I understand, you would still need to create a Kerberos ticket for native GSS Integration and I don't see how it is different from the current behavior of the driver.

For native GSS integration, if the GSSCredential in the call to org.ietf.jgss.GSSManager#createContext(org.ietf.jgss.GSSName, org.ietf.jgss.Oid, org.ietf.jgss.GSSCredential, int) (i.e. the 3rd param) is left blank, as per the GSSManager javadoc (and tracing through the code), the external (non-java) GSSAPI is queried to obtain the credential. With this, there is no need for the Java code to create any kerberos ticket and it will reuse the credential from the external (or platform) GSSAPI. This is the same logic that happens in the jtds driver code  - see this snip from one of the clones of jtds source code.
Thanks!

Kerberos ticket is created externally, using kinit tool.
On Windows, it comes with JDK, on RHEL you can try to install krb5-workstation package.  See "To install packages for a Kerberos client" section here.
Once you have kinit installed, follow the instructions of the tool to create a Kerberos ticket. You can verify the ticket with klist tool.
After creating a proper Kerberos ticket, remove the following lines from your repro code and you should be able to connect.
driverProperties.setProperty("useDefaultPrincipal", "true"); // Additional property to be added
System.setProperty("sun.security.jgss.native", "true");

The driver will use the ticket to authenticate. You can also run your application with sun.security.krb5.debug=true  option to see the debug trace.

Thanks again @ulvii for the reply. The point of using setting sun.security.jgss.native to true was that we need not create the ticket ourselves and reuse credentials provided by the platform GSS implementation.

From the link you have posted above:
Unlike the default Java GSS implementation, which relies on the JAAS KerberosLoginModule for initial credential acquisition, when using native GSS, the initial credential should be acquired beforehand. That is, call kinit prior to calling JGSS APIs.
Am I missing something?

The kinit call is indeed done but not part of the java code corresponding to the jdbc driver usage. It is done much before (say as part of shell logon and the TGT is refreshed periodically) and it is hence available to the platform GSS when the createContext call is made.
I was suggesting the introduction of the flag (say usePlatformGssCredential) which will automatically use the credential from the platform GSS, if available, or will error out if unavailable.

@kilokahn , kinit call is not "part of the java code corresponding to the jdbc driver usage", you are not required to have any JDBC specific configuration when creating a ticket ( standard Kerberos ticket ). You can create them as part of shell logon or use the existing tickets. The driver will look for the ticket in the default credential cache and use it to authenticate.
Please try the steps  above.

Thanks for your patience (and apologies for misinterpreting your directions in creating the kerberos ticket) @ulvii :slightly_smiling_face:
As per the steps above, when we don't set the sun.security.jgss.native to true, the JDK Kerberos implementation (in package sun.security.jgss.krb5) will be used, which is not what I am looking for. Rather I am looking for the JGSS API (in package sun.security.jgss) to delegate the credential fetch implementation to the platform kerberos implementation (like MIT Kerberos, etc. which might be installed on the RHEL box, and hence native). There are subtle differences between the two implementations (like referrals mechanism for multiple realms, support for different ciphers, etc.) which cause the ccaches to not be trivially interoperable.
The point was to be able to set the sun.security.jgss.native to true, and have no use of the JDK Kerberos implementation whatsoever. I will try to convert the changes on https://github.com/kilokahn/mssql-jdbc/tree/default-principal-usage-java-kerberos into a PR.
Again, I appreciate the help you are providing here :+1:

@cheenamalhotra / @ulvii  - is there an update on this one? Thanks!

Closing the issue as the driver already provides this functionality via gsscredential connection property.
GSSCredential credential = GSSManager.getInstance().createCredential(null, GSSCredential.DEFAULT_LIFETIME, new Oid("1.2.840.1135<IP_ADDRESS>"), GSSCredential.ACCEPT_ONLY);
SQLServerDataSource ds = new SQLServerDataSource();
ds.setGSSCredentials(credential);

Please let us know if you have any questions.

@ulvii How should we use this? in tyhe connection string? Could you please give an example connection string?

ok. I tried it but getting "no valid creds" error :(

please reopen this request. I don't think the given solution is working.

hello, writing this for those who face issues like me:
The solution @ulvii provides work. :)
below is the data source creation code

 @Bean
  DataSource dataSource() throws SQLException, GSSException {
        GSSCredential credential = GSSManager.getInstance().createCredential(null, GSSCredential.DEFAULT_LIFETIME, new Oid("1.2.840.1135<IP_ADDRESS>"), GSSCredential.ACCEPT_ONLY);
        SQLServerDataSource dataSource = new SQLServerDataSource();
        dataSource.setURL("jdbc:sqlserver://servername;databaseName=dbname;integratedSecurity=true;authenticationScheme=JavaKerberos;");
        dataSource.setGSSCredentials(credential);
        dataSource.getConnection();
        return dataSource;
    }

apart from that we need to set 3 jvm params:

-Dsun.security.jgss.native=true
-Dsun.security.jgss.lib=/usr/local/libexec/libjgssfix.so
-Djavax.security.auth.useSubjectCredsOnly=false


Alerts for unstaffed airports with pilot traffic

This feature makes use of scheduled repeating jobs, VATSIM online controller and pilot data, and DB airport lat/long to determine if there is an airport that is (1) in the app config, (2) has nearby pilots over the configured threshold, and (3) is uncontrolled.
This feature is very config-driven with an overall enabled/disabled flag and requiring each airport to be monitored to have an entry with top-down covering controllers. There may be a way to better determine controlled/uncontrolled for an airport.
I have the scheduled job to repeat every 15 minutes, so as to not be intrusive to the facility's controllers.
Sample config addition
traffic_alerts:
  enabled: true
  entries:
  - airport: KDEN
    threshold: 1
    coveredBy:
    - DEN_.*TWR
    - DEN_.*APP
    - DEN_.*CTR

Example Discord message
It's pretty plain right now, which is partly by design - an airport having pilot traffic is not a compulsion to controllers.

This will get very noisy/annoying to repeat every 15 minutes... For example, if no one logs in even just during office hours.. and there's consistent traffic to an airport, you're getting 32 messages just for that one airport. If you have 3 airports configured, that's 96 messages in 8 hours. At that point, it's useless noise.


Override Icons used in Backstage App

There are always use cases to make the backstage app theming fit to the company design guidelines, one of which is the icon set that is used. At the moment backstage use heavily on material ui icons. Some of the components had the option to override the icons, some are not.
Some examples of the icon that can be changed:

sidebar item

Some example of the icon that cannot be changed are:

sidebar item search
sidebar item settings

Feature Suggestion
Add props to override the icons instead of hardcoding them in the core components.
Possible Implementation
Expose props to override the icons, so that the backstage app can decide which icons they want to use.
Context
Adding options to override icons in several backstage components, in order to fit the theming that users/company wants.

I am creating this issue first before making the PR, checking if you guys are aligned with this or not? The PR that I am planning to create is for the sidebar items first, and maybe other core components, that are possible to override.
Or the backstage team already had the plan to make the theming (especially on icons), to be more customizable?


When loading and saving the png image it gets truncated

Description
When loading and saving the png image it gets truncated. The size
### Steps to Reproduce
            using (var imageFactory = new ImageFactory(FrameProcessingMode.First, MetadataMode.All))
            {
                Logger.WriteToLog("Loading image");
                imageFactory.Load(imageStream);
                imageFactory.Save("d:\\test.png");
                Logger.WriteToLog("Image loaded");
....

System Configuration
Windows 2012 R2 development server

ImageProcessor version: 3.0

Original image:

Truncated image:

ImageProcessor 3.0 as in the unreleased code in the https://github.com/JimBobSquarePants/ImageProcessor/tree/release/3.0.0 branch?

Yes

I'm only seeing color loss when quantizing the image to 8bit output. Looks like the old Wu Quantizer doesn't use enough precision for the RGB components.
32bit

24bit

16bit

8bit

It's highly likely that you and I are the only people looking at this code.
I'm not really actively maintaining the library anymore with all my focus shifted to my other far superior ImageSharp library. I would recommend moving to that unless you have specific limitations that prevent you from doing so.


Change wording to "Pin to Favorites"

Suggestion: change the terminology slightly to more closely relate "Favorites" to pinning.
At present the commands to pin are (depending on what right-click menu is used):

"Pin to sidebar"
"Pin directory to sidebar"

Suggested alternative:

"Pin to Favorites"

Note that Favorities is capitalised as its the name of part of the UI.
Describe alternatives you've considered
Also considered "Add to Favorites", but Windows Explorer uses the term "Pin" so I went with that.
Additional comment
Windows Explorer calls the area "Quick access" which is an OK alternative name. One advantage of that term is that it avoids the 2 spellings of "favorites" and "favourites", but that is not a big issue.

Pin to Favorites sounds good.

This issue should be resolved with #5370.


std.experiment.allocator: use Allocator.expand when available for expandArray

Some allocators may have optimized calls for expanding the memory
block instead of the classic reallocation, so expandArray will use
Allocator.expand instead of Allocator.reallocate.

That should be a function, rather than 3 duplicated sections of code.

@thewilsonator, excuse me, is unittest necessary for any fix, enhancement or adjustment? Or when we all think we don't need unittest, we don't need to write it? thanks.

This change is essentially a fast path optimisation, but one that is provided by the user (or library allocator)in the form of an explicit expand capability (rather than simply reallocate with a larger buffer). The individual components should already be tested and assuming they perform to spec, this change should only result in a performance difference.
So, TL;DR its difficult to test, and a test doesn't provide much value in this case.

Thanks, I see  :)


DS-2490: adds org.dspace.identifier.VersionedDOIIdentifierProvider

Don't merge this PR until the problems concerning handles described in DS-1348 are resolved!

I have to test this again now, after service api was introduced.

Rebased to resolve merge conflict.

Hi @KevinVdV,
I added a commit following all your suggestions except one. With Java's autoboxing it is no problem to compare an Integer and an int using == as long as the Integer is not null. I'm not 100% sure, but IIRC the field resource type is set null during the creation of a DOI. So I didn't wanted to change it to int.
I added every other suggestion you made. Thank you for the review!
Pascal

I forgot to mention, that I rebased the PR against the current master...

@pnbecker : this looks to need a rebase

@tdonohue thanks for pinging me, done.

I took another look at the code and all my issues have been resolved (haven't tested it).


Fix advanced search for list

Fix advanced search for list type with one selection

Unfortunately this is only half the problem. Search happens, stored but not displayed in the search form (for a given "URL"). Value is assigned, albeit on a key, but is assigned, and then erased, can not find what the problem is.

I did it:) Perhaps there is a more elegant solution, but it works.

Please help me understand what exactly fix does. I see that it relates to enum and list field types and if I understand correctly, instead of only checking the id of the selected item, you added logic to check for its text too. Can you please give me a use case. As I see it, we should only search by id, not by text, and in fact you can have id and text be the same and then it will search for both.

Try "searches" element type "list" and in the options assign a "url" and get json. The problem is visible immediately, you have a static list without ids in demos, and its working, I need to get data from the database.

First commit solves the problem of finding, the second commit solves the problem of display.


Invalid http_response_status_code reported

I'm running Beyla 1.6.2 as a DaemonSet in a Kubernetes cluster and I'm seeing some weird response codes in my metrics, e.g. 4770:

Seeing this for our internal services written in Java, as well as for ingress-nginx ingress controller.

Thanks for reporting this @dimunech! We'll look into this. Just to confirm, these are rare, correct? Once in a while there's a bad request recorded?

Hi @dimunech, we just released 1.6.3 to include this fix. It would be great if you can confirm it's resolved. Thanks again!

Thank you for the quick fix @grcevski! I'll update our installation and let you know if I see any more invalid status codes.


New release

Could you possibly be so kind and create a new release based on your latest changes? I am not requesting any changes just the most recent ones in a release 1.0.1 or something. This would make it easier including udpreplay in builds. Thanks!

Sure, I just cut a new release!


Feature/v3 theming

Closing for now as we won't be moving forward with this approach (but keeping the branch around for reference)


'near' keyword is ignored in attrs.Time

attrs.Time allows for a near kwarg such that, within the range specified by start and end, only the observation nearest that time specified to near is returned. When passing a Time attr with near, sunpy_soar ignores this keyword and returns every result in the start,end range.
As an example,
import sunpy_soar
from sunpy.net import attrs, Fido
from sunpy_soar import attrs as soar_attrs

q = Fido.search(
    attrs.Time('2021-04-21 18:03:19', end='2021-04-21 21:04:04', near='2021-04-21 19:33:41'),
    attrs.Level(2),
    attrs.Instrument('EUI'),
    soar_attrs.Identifier('EUI-FSI174-IMAGE'),
)

returns 48 results, not 1. A similar query to the VSO for AIA 171 data would return a single result close to '2021-04-21 19:33:41'.
This may not be a bug per se as I'm not sure if the SOAR API supports this at all so feel free to close this if that is the case.

Thanks for opening - should be possible to implement this at least on the sunpy-soar side by filtering the results we get back.

Would a post_search_hook be the right approach here?

With https://github.com/dstansby/sunpy-soar/pull/8#issuecomment-955744946 for context, I think this should be implemented as a more general solution upstream in sunpy, so other clients benefit that don't support near in the server query. As such I'm going to close this as won't fix, but I've added a note about this to the README here: https://github.com/dstansby/sunpy-soar/pull/14


Problem with xref to topic which has abbreviated-form in shortdesc [DITA OT 2.3.2]

This bug seems to have appeared in DITA OT 2.3.2 and possibly it was caused by this fix: https://github.com/dita-ot/dita-ot/issues/1599
I'm attaching some samples:
abbrev-form-problems.zip
If you publish to XHTML the console complains at some point:
        [topicpull] Recoverable error on line 584 of topicpullImpl.xsl:
        [topicpull]   FODC0002: I/O error reported by XML parser processing
        [topicpull]   file:/D:/projects/eXml/frameworks/dita/DITA-OT2.x/xsl/preprocess/bubu.dita:
        [topicpull]   D:\projects\eXml\frameworks\dita\DITA-OT2.x\xsl\preprocess\bubu.dita (The system cannot
        [topicpull]   find the file specified)

so the "bubu.dita" file which is the glossentry file is searched relative to the XSLT location.
This seems to happen because when the "WORKDIR" param is computed, the processing 'workdir-uri' cannot be found anymore as the templates are applied only on a nodeset and not on an entire document.

In the first example the processing at least finishes but I modified the example a little bit (still valid) and now the publishing fails completely:
abbrev-form-problems-worse.zip

This issue is tricky and I would really like to refactor the topicpull code first to be cleaner, and then fix this issue. However, we can't do that for patch release, so either this needs a quick fix or will need to be pushed to next proper release.

The only quick fix I found was to disable the initial fix from https://github.com/dita-ot/dita-ot/issues/1599.

Fix looks good to me, running with both samples I attached and after making some patches to remove the problems introduced in: https://github.com/dita-ot/dita-ot/issues/2486#issuecomment-249129598
I will try to run all our DITA OT automated tests with the fixes in place, see if they report anything, I will update the issue tomorrow if I find anything.


(docs) Use puppet.com for docs links

Supersedes PR #6303

@joshcooper I have a review going, but I might close this PR and rework it. All of our updated docs going forward are at puppet.com/docs now, not at docs.puppet.com/docs. tickets.puppetlabs.com is still the canonical domain for Jira. Lots of docs URLs still have /references/ in the path that need removal. Some links point to things like the Puppet auth.conf doc with a big deprecation notice on them.
Also, we don't seem to have documentation for running Puppet from source since 3.8.

@gg sounds good, I'll go and close. and create a separate PR to update the CI badges.


Support EVAL_RO and EVALSHA_RO

Notice when porting EVAL_RO tests for Kvrocks.
This may be implemented almost as EVAL and EVALSHA.

:+1: Something for v9

@vmihailenco thanks for confirming the value. If we're not in hurry, you can give me one week to try to implement it :)


Issue on Cancel in 1.0.4

It can be reproduced in the
demo , in the example: A warning message, with a function attached to the "Confirm"-button
If you press cancel, the callback is executed anyway.

Workaround (swal function, line 20):
	if (typeof (arg2) === 'function') {
		var functionAsStr = String(arg2).replace(/\s/g, '');
		var functionHandlesCancel = functionAsStr.substring(0, 9) === "function(" && functionAsStr.substring(9, 10) !== ")";

		var doneFn;
		if (functionHandlesCancel) {
			doneFn = function (isConfirm) {
			    $timeout(function () {
			        arg2(isConfirm);
			    });
			};
		} else {
			doneFn = function () {
			    $timeout(function () {
			        arg2();
			    });
			};
		}
		swal(arg1, doneFn, arg3);
	} else {
		swal( arg1, arg2, arg3 );
	}

@afibanez could you retry and see if my last commit fixes the issue you had before? http://oitozero.github.io/ngSweetAlert/#/home
thanks

Hi,
Now the function "A warning message, with a function attached to the "Confirm"-button" does nothing in confirm or cancel button :/
And the function " ... and by passing a parameter, you can execute something else for "Cancel"." works buggy if you press cancel and fast open again and press confirm, the confirm dialog dont show.
Thanks and good job with the wrapper ;)

@afibanez
For the example "A warning message, with a function attached to the "Confirm"-button", added closeOnConfirm: false.
For the example " ... and by passing a parameter, you can execute something else for "Cancel".", tested several times and wasn't able to reproduce it. If you are still having issues, please share some code and will try to take a look asap.