Lockscreen/Switch User Screen Problem

Lockscreen/Switch User Screen is redirecting to a sample/template Users with some template desktop environments. Which is to say not the ones that are on my system.
To reproduce, just type this in a terminal
dm-tool lock
or just switch users.
Edit:
Just in case you might need this since I noticed someone else had this issue:
>sudo pacman -Qi lightdm-webkit2-greeter

Name            : lightdm-webkit2-greeter
Version         : 2.2.2-1
Description     : A webkit2 greeter for LightDM
Architecture    : x86_64
URL             : https://github.com/antergos/lightdm-webkit2-greeter
Licenses        : GPL3
Groups          : system
Provides        : lightdm-webkit2-greeter  lightdm-webkit-greeter
Depends On      : lightdm  webkit2gtk  antergos-wallpapers  accountsservice
Optional Deps   : None
Required By     : lightdm-webkit-theme-material-git  lightdm-webkit2-theme-material2-git
Optional For    : None
Conflicts With  : lightdm-webkit2-greeter  lightdm-webkit-theme-antergos
Replaces        : lightdm-webkit-theme-antergos
Installed Size  : 2.75 MiB
Packager        : Antergos Build Server<EMAIL_ADDRESS>Build Date      : Wed 18 Jan 2017 10:08:55 PM EST
Install Date    : Sat 21 Jan 2017 07:30:03 PM EST
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

Lol, idk why I wasn't watching my own repo. Sorry for the slow response.
I think this is an upstream issue since the mock only gets loaded if the greeter is not found. It's hard for me to debug due to a recent issue with development tools breaking (https://github.com/Antergos/lightdm-webkit2-greeter/issues/109). We'll need to wait until I can get devtools working again unless @lots0logs has the time and is willing to look into this.

+1 in Manjaro (Lockscreen/Switch User Screen is redirecting to a sample/template Users with some template desktop environments. Which is to say not the ones that are on my system)

@internauta2000, that would be the lightdm mock I wrote.
@FallingSnow, did you include the check if lightdm is already defined before assigning the mock to the variable? - Also, version 1.1.0 is up.

Yes sir.
https://github.com/FallingSnow/lightdm-webkit2-material2/blob/master/src/index.js couple of lines down.

That would imply that lightdm has not been initialized when the greeter loads in wake-up or switch-user mode. Maybe this is an issue with the newly created python code on the lightdm-webkit2-greeter repository? I can assume @cperalt06 is using that version, but I'm not sure about the version @internauta2000 uses. All I can say that the mockup I created was back when antergos' repository was in plain C.
I'd love to debug this further, but I'm going to need some more information from internauta2000. What release is he/she on with the webkit2-greeter, and what python version. It might be that the python code written by the antergos developer(s) has not accounted for deprecation and/or skips over some lines that result in the lightdm object not being created.
This is all speculation at this point. You could try to wrap the LightDMMock initialization into a timeout, or listen for a specific set of keypresses instead to see if it's a timing issue.

hunk for future reference

Maybe this is an issue with the newly created python code on the lightdm-webkit2-greeter repository?

This issue predates to move to python and I can only assume it is one of the reasons the greeter is being moved to python. Webkit2gtk had many issues which is why I assume the move to python was made.

I can assume @cperalt06 is using that version

I don't believe anyone is running the prerelease of web-greeter other than the Antergos devs seeing as its not even on the AUR... you would need to manually install it if you wanted to use it.

The issues within the antergos repository are all attributed to bad/outdated documentation and sparse testing last time I checked. (my issue for reference) I don't think that moving to python will fix any of that. But, that's just a thought.
What we can do in the meantime is verify if it is a timing issue on said configurations, and if so try to solve that. -- If not, we can both write issues on their repository's chalking board.

The issues within the antergos repository are all attributed to bad/outdated documentation and maybe even sparse testing last time I checked.

That is completely false. I'd love to know what facts you have used to draw such conclusions. The documentation is 100% up-to-date on the stable branch. You can see it here. It has been up-to-date since the release of version 2.0 last year, btw.
In any case, this issue is most likely one of timing. Using setTimeout() should solve it for now. When version 3.0 of the greeter is released, it will include a GreeterReady event that themes can attach a callback to in order to initialize themselves.

That is completely false. I'd love to know what facts you have used to draw such conclusions.

I must admit, I haven't looked at the documentation since last time I wrote the mock. I based this entirely on the old manual which doesn't even exist anymore.

Using setTimeout() should solve it for now. When version 3.0 of the greeter is released, it will include a GreeterReady event that themes can attach a callback to in order to initialize themselves.

But how would a GreeterReady event help in determining if the lightdm object is available? You would either be calling GreeterReady on null, or call it on the object and always receive true.
Perhaps listening for keypress to initialize the mockup if the lightdm object is not present is the best way to go, let's say <super>+<m>
let sequenced = 0;

document.addEventListener("keydown", function(event) {
    sequenced = sequenced === 0 ? event.keyCode : sequenced + event.keyCode;

    switch(sequenced) {
        case 168: // super+m
            // initialize mockup if(!("lightdm" in window))
            break;
        case 184: // super+shift+m
            // initialize mockup and override lightdm if it exists
            break;
    }
});

document.addEventListener("keyup", function() {
    sequenced = 0;
});

But how would a GreeterReady event help in determining if the lightdm object is available? You would either be calling GreeterReady on null, or call it on the object and always receive true.

The event will be attached to the global window object. When the event fires, the lightdm object is guaranteed to be available.
TBH, I do not think its a good practice for themes to load any mock scripts in production environments. Mock scripts are a development tool. They have absolutely no use in production. An end-user should never see the login screen running a mock script. Period.

Also, might I suggest using a git-flow which replaces the mockup with an error message and fallback text-login in live code?

My point exactly.

This should address your guys concerns: https://github.com/FallingSnow/lightdm-webkit2-material2/commit/e906b512aa404403e86d0703d30a4b21d94352b5

I just fetched that commit and rebuilt, it didn't work, lightdm didnt start at all with the newly built theme.

You got the big red error message on your screen?

No, I just got an option to use the default theme or the fallback theme :/

What do the error logs say, usually found in /var/log/lightdm.

file:///usr/share/lightdm-webkit/themes/material3/bundle.js:59:5862: CONSOLE DEBUG Loading Theme
file:///usr/share/lightdm-webkit/themes/material3/bundle.js:68:27976: CONSOLE ERROR TypeError: undefined is not an object         (evaluating 'lightdm.languages')

Honestly, I have no idea why this is happening. The theme checks if lightdm exists at startup, if it doesn't, it either throws an error that should stop execution or load the mock. The error above suggests neither is happening.
Can you give me some insight into what your doing to reproduce this issue? For example, does this happen only when you lock your session?

The languages aren't loaded when they are accessed? Languages should be an array containing the language objects. -- That's all I can make of the error.

@FallingSnow it happens when I try to use the theme, so for me it doesn't work at all. I'm using lightdm 1:1.20.0-2 and lightdm-webkit2-greeter 2.2.3-1 for arch/antergos repos if that matters.

Can you compile the latest commit and try again please. If this doesn't work it has to be upstream and we are better off just waiting for web-greeter.

I couldn't build it, I got an error with uglifyjs
ERROR in bundle.js from UglifyJs
TypeError: Cannot read property 'file' of undefined

I removed the following in uglifyjs config in webpack file, then I could build it.
collapse_vars: true,
reduce_vars: true

When I restarted lightdm it worked at the first login, but after I locked the screen and tried to login again, lightdm used the fallback theme instead. Error from log file
file:///usr/share/lightdm-webkit/themes/material3/bundle.js:53622:14: CONSOLE DEBUG Loading Theme
file:///usr/share/lightdm-webkit/themes/material3/bundle.js:53632:13: CONSOLE ERROR ReferenceError: Can't find variable: lightdm

** (lightdm-webkit2-greeter:32435): WARNING **: [ERROR] :: A problem was detected with the current theme. Falling back to default theme...

I reinstalled it via yaourt and looked at the log for lightdm and found this:
CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

file:///usr/share/lightdm-webkit/themes/material3/bundle.js:53632:13: CONSOLE ERROR ReferenceError: Can't find variable: lightdm

This could be the problem. lightdm is not defined at this point.

It works for me as well, the only problem I have is the same as @cperalt06 has, when locking screen manually it loads the fallback theme

@crdil Can you try changing this number to something like 10000, recompile, and see if it solves the problem? If that doesn't work maybe try CytoDev's pull request modifications.

@FallingSnow I still get the same error, that lightdm variable can't be found. I tried both with increasing the setTimeout and pull request.

@crdil That's odd... Might I suggest wrapping everything into a temporary try-catch block? I'm really interested in what line this error is spawned from actual non-compiled code. Maybe some file somewhere is still using the lightdm variable before it is defined?
Something like
try {
    // all code from index.js
} catch(excepton) {
    window.console.error("Error occured in index.js", exception);
}

I tried use a try/catch block, but I still get the same error

Can confirm this,
`$ sudo pacman -Qi lightdm-webkit2-greeter
Name            : lightdm-webkit2-greeter
Version         : 2.2.5-1
Description     : LightDM greeter that uses WebKit2 for theming via HTML/JavaScript.
Architecture    : x86_64
URL             : https://github.com/antergos/lightdm-webkit2-greeter
Licenses        : GPL3
Groups          : system
Provides        : lightdm-webkit-greeter
Depends On      : lightdm  webkit2gtk  accountsservice  gnome-backgrounds
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : lightdm-webkit-greeter  lightdm-webkit-theme-antergos
Replaces        : lightdm-webkit-greeter  lightdm-webkit-theme-antergos
Installed Size  : 2.03 MiB
Packager        : Unknown Packager
Build Date      : Tue 30 May 2017 07:16:51 PM CEST
Install Date    : Tue 30 May 2017 07:17:00 PM CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None
`

@0xHM, @crdil, I'm unsure about how the webkit greeter handles "native" js logging, I probably should check that out before suggesting potential error-chasing options... Another option would be to literally write all of it to the screen. Just for debugging purpouses ofcourse! -- Then again, if this is an issue with the actual source package - like I suspect, there is little we can do to fix it...
bytheway, @crdil, apologies for the late reply!

@CytoDev Let me just give few notes,
I'm using https://github.com/FallingSnow/LightDMMock as mock, there is also a bug in there
file:///usr/share/lightdm-webkit/themes/arch/mock/LightDMMock.js:575:7: CONSOLE ERROR ReferenceError: Can't find variable: module
This can be solved by adding above the last
var module = module || {}

@0xHM That is an issue which can be easily resolved, the original branch already has an update compared to the branch @FallingSnow is using as mock.
You can see if replacing the mockup with the original fixes this error. - It probably will, but if it doesn't please don't hesitate to file a bug against my repo!


Refines categories to use UsesTestStreamWithProcessingTime in TestStreamTests

and other minor fixes.
R: @mxm

Run Spark ValidatesRunner

Run Flink ValidatesRunner


[Question] Closing a server without disconnecting sessions

I'm trying to stop any more clients from connecting or the server showing up after a certain point, while keeping existing sessions alive. However, if I just close() the server, it automatically disconnects every session that was created via that server.

You could just listen for new sessions and disconnect them.


_setXHR  for what

This is my  upload image header ：
_setXHR:function (a){a&&(d.__XHR=a,d.xhrFn&&d.xhrFn(a),a.upload.addEventListener("progress",function(a){a.config=d,e.notify?e.notify(a):f.progress_fn&&c(function(){f.progress_fn(a)})},!1),a.upload.addEventListener("load",function(a){a.lengthComputable&&(a.config=d,e.notify?e.notify(a):f.progress_fn&&c(function(){f.progress_fn(a)}))},!1))}

This header is for what?
Thanks!

Do you use other libraries that wrap or modify the XMLHttpRequest?

Thanks for your answer!
I found the reason!
I use this package (https://github.com/HubSpot/pace)
It rewrite the function "window.XMLHttpRequest"
But I  still to know this header's function.
There may be some compatibility problems.

That header function is to allow monitoring progress event on the underlying angular xhr object.

Thanks a lot !


Dependencies updates

add budo to dependencies

Can you submit the PR to the modular branch instead? I'm not ready to merge these changes into master.


Add russian language

Please also add the ability to translate the following UI elements:
screen 1
screen 2

Thank you for the contribution! I'll look into what I need to do to localize those two scenarios.
Want me to wait with merging this until those two can be localized as well?

Thank you for the contribution! I'll look into what I need to do to localize those two scenarios.
Want me to wait with merging this until those two can be localized as well?

Yes, as soon as it is ready, write to me here, I will translate)

I've handled the localization of the quadrum names, you should pull and rebase/merge master into your branch to see it.
As for the window description, you do that with the DefInjected directory
See the directory structure instructions here https://rimworldwiki.com/wiki/Modding_Tutorials/Mod_folder_structure#The_Languages_folder (basically, create a DefInjected directory next to the Keyed directory, and add a MainButtonDef directory inside that, then a MainButtons.xml file inside.
Here's an example from how the main game buttons are translated https://github.com/Ludeon/RimWorld-ru/blob/master/Core/DefInjected/MainButtonDef/MainButtons.xml, the names of the elements in the XML should match the ones here https://github.com/MadaraUchiha/Reminders/blob/master/Defs/MainButtons.xml (eg. <Reminders.description>TEXT</Reminders.description>)

I added it, but I'm not sure what is correct.

It's not correct, take a look at the example https://github.com/Ludeon/RimWorld-ru/blob/master/Core/DefInjected/MainButtonDef/MainButtons.xml

It should work)


Update and enhance inventory plugin

Allow staleness and regsitered_with to be passed as parameters for filtering, plus fix pagination.

Added support for overriding cloud.redhat.com as the endpoint to connect to.
@willtome @SteveHNH ?

Added support for overriding cloud.redhat.com as the endpoint to connect to.
@willtome @SteveHNH ?


WFLY-4969 Update JSF based on Mojarra 2.2.12

https://issues.jboss.org/browse/WFLY-4969

Linux Build 7218 is now running using a merge of 17b59d614e360b5c5b6a577d5c28c8d140892dc8

Linux with security manager Build 2089 is now running using a merge of 17b59d614e360b5c5b6a577d5c28c8d140892dc8

Windows Build 2273 is now running using a merge of 17b59d614e360b5c5b6a577d5c28c8d140892dc8

Linux with security manager Build 2089 outcome was SUCCESS using a merge of 17b59d614e360b5c5b6a577d5c28c8d140892dc8
Summary: Tests passed: 879, ignored: 281 Build time: 0:06:24

Linux Build 7218 outcome was SUCCESS using a merge of 17b59d614e360b5c5b6a577d5c28c8d140892dc8
Summary: Tests passed: 2958, ignored: 354 Build time: 0:46:22

Windows Build 2273 outcome was SUCCESS using a merge of 17b59d614e360b5c5b6a577d5c28c8d140892dc8
Summary: Tests passed: 2956, ignored: 355, muted: 1 Build time: 0:46:59


Add GPU support when running locally

This would be added in the Model Configuration

May also need to consider if extra steps necessary for Nvidia / Cuda vs Metal


copr: Vectorize uncompress.

Signed-off-by: Zhu Zihao<EMAIL_ADDRESS>PCP #5751

What have you changed?
Vectorize uncompress
What is the type of the changes?

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

How is the PR tested?
Please select the tests that you ran to verify your changes:

Unit test

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

/run-unit-test

/run-integration-copr-test copr-test=pr/85

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

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

@shafreeck @tabokie PTAL, thanks!

/run-all-tests

/run-all-tests

@cireu Please fix conflicts. Thank you!

@cireu Please fix conflicts. Thank you!

Done.

/run-integration-copr-test copr-test=pr/85

Looks like your implementation have some issues, please fix it:
https://internal.pingcap.net/idc-jenkins/blue/organizations/jenkins/tikv_ghpr_integration-copr-test/detail/tikv_ghpr_integration-copr-test/1134/pipelin

Close accidentally. I will reopen it

Looks like your implementation have some issues, please fix it:
https://internal.pingcap.net/idc-jenkins/blue/organizations/jenkins/tikv_ghpr_integration-copr-test/detail/tikv_ghpr_integration-copr-test/1134/pipeline

A guess, the rpn function create a lot of ZlibDecoder and runs out of memory.

@cireu you might need this to reopen the PR.


Add Quota, Notes, and Document Uploads to Partner Agencies

Summary
Diaper banks want the ability to enter in notes and request limits on a partner agencies as well as store documents. Request limits won't prevent partners from making requests but we'd like the diaper bank to be notified when a monthly request comes in that is over their partners limit.
There is an active philosophical debate among diaperbank administrators about "tier"-ing or limiting partners. Some diaper banks implement a monthly limit policy, and some do not.
###UI/UX details:
Monthly limits should be optional - a toggle or optional field under partner creation.
In the partner summary page (where all partners are listed) monthly limit should appear as a column only if the user has created a partner with a limit enabled.
In the summary bar on the partner detail page, distribution limit should only appear if the user included the optional distribution limit field during partner creation.
partner notes can be accessible from a button on the partner detail page
UI input welcome, but I think it makes sense to have a "notes" column on the partner summary page that is blank if there are no notes, and is populated with a button that links directly to notes for a particular partner if notes have been stored for that partner.
Criteria for Completion

[ ] Add a partner notes field and distribution limit to the partner model.
[ ] Display these notes and distribution limit on the partner show page.
[ ] Allow the attaching/uploading of multiple documents to be attached to the partner.
[ ] Update the requests page to show the number of items being requested with the limit in parentheses and highlight any requests that are over the limit.
[ ] All relevant tests for this functionality

I did a really rough mock up below for the distribution limit. Use it as guidance and not a definitive idea:

Diaper Power Discussion
Should there be a default? No
View to partner show page where notes show up? No, use your best judgement,
Per request or per partner? by request, partners make one request per month so per request
Just display the limit but don't prevent anything, just information purposes
Partner app similar story for order confirmation story that could eventually link to this work

Hello @designbygia. Attaching some screenshots here for feedback.
Added a quota and notes input in the Partner form.

Quota should show if it is present.

Where are the notes showing up on the show page? Also what happened to the zip codes served button that displays specific zip codes?

@seanmarcia I was thinking a div that toggles or a modal when you click a button. I haven't added that yet.
I think the button is not showing up on the Pawnee Homeless Shelter page because it has 0 zipcodes served.


Document connection creation

Include:

Examples
Recommended practices
Potential pitfalls

2.2.0 will also include a tracing option that may help with this


Implemented one of the scaffolded Unit Test.

Added Another Unit Test for #664

@tonysurma when you get a chance, can you accept this PR?


Why do Azure's default system route tables not contain <IP_ADDRESS>/12 as specified in RFC 1918?

When dealing with Azure VNet routing I was wondering why the default system route tables doesn't contain the <IP_ADDRESS>/12 block as defined in RFC 1918, but only <IP_ADDRESS>/8, <IP_ADDRESS>/16, and some additional <IP_ADDRESS>/10 which is related to Carrier Grade NAT. The documentation doesn't mentioning anything about this. Why is that?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 38bd69ac-a1b5-a401-184d-37b55188a7c4
Version Independent ID: ef976d45-36eb-8a32-4b29-ae03412165d2
Content: Azure virtual network traffic routing
Content Source: articles/virtual-network/virtual-networks-udr-overview.md
Service: virtual-network
GitHub Login: @KumudD
Microsoft Alias: aldomel

@matthiasguentert, Thanks for reaching out. We will investigate and update this thread.

@matthiasguentert, Appreciate your patience. Referencing similar ask #42222. We are working towards updating the document accordingly.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Add usage videos (Fix #17)

Hmm, looks like the videos are not previewing on the README page. Hold on, please.

Seems to preview now! I've added two asciicasts.

A few things. For the first video, the --version flag is redundant, and I'd rather it show usage of at least a few of the other arguments that do matter (-n for hosts and -i for interfaces). Two commands you could run would be get-mac -n <IP_ADDRESS> (replace IP with your Router's IP) and get-mac -i eth0 (or another interface on your machine).
Don't include the "exit" command in either video.
For the second video: Same as the first, show example of a remote host and a local interface.

@GhostofGoes Sure, I'll do that! I'm slightly busy today with life, I'll be sure to make the new videos tomorrow.

@GhostofGoes I've made the changes you've asked for. Although, the "exit" command in the recording seems to be a bug with asciinema (https://github.com/asciinema/asciinema/issues/265), and I could not remove it. I tried out some more tools like ttystudio and showterm, but none of them worked for me.

Oh, this is awesome! Thank you so much 😄


chore: Bump cloud-hypervisor to v30.0

The client code should be re-generated

There is no change since commit 3dd0144, we just want to use the stable release here.


Changed the email template as requested.

Changed the email template as requested.

@itsjeyd , I didnt really think and just pushed the original template directly to the cloudera-upstream-templates. Would a PR against the {{cloudera-upstream-templates}} have been better (for next time)? Also squashed the commits in this branch, and changed the commit meessage according to your suggestion. Thanks for reviewing this. I am now merging the PR and will create a new server, test it out and let you know.

Thanks @afzaledx!

I didnt really think and just pushed the original template directly to the cloudera-upstream-templates. Would a PR against the {{cloudera-upstream-templates}} have been better (for next time)?

Good question :) Looking at the commits in the cloudera-upstream-templates branch it doesn't seem like we're following a PR workflow when adding upstream templates, so it should be fine to keep pushing these types of changes directly in the future. My only suggestion would be to hold off on pushing until it's clear which templates are going to be needed. (There might be cases where, depending on the type and size of a theme change, it's not obvious which templates to change right from the start.)


Add array grow and shrink

Arrays can now grow and shrink akin to using Enumerable.Repeat

Coverage increased (+0.02%) to 95.07% when pulling 7de19b35ea39a5261314c4b34358c1ed075d20a7 on array-repeat into 043f13386fe94d100f1749ddb670f6163b672578 on main.


Official Ready-to-Use Fiddle Template with latest version

Feature Request: Official Ready-to-Use Fiddle Template
Description:
Implement an official, ready-to-use fiddle template for Phaser 3. This template would expedite the process of submitting code examples for new issues, bug reports, and feature requests.
Benefits:

Simplified Contribution: Standardized template streamlines code example setup for contributors.

Consistency: Ensures uniformity across code examples for easier understanding and reproduction.

Lower Barrier to Entry: Facilitates participation from new contributors and those unfamiliar with fiddle setups.

Proposed Implementation:
Host a basic fiddle template on platforms like CodePen or JSFiddle, including:

Boilerplate HTML structure with necessary Phaser 3 scripts and stylesheets.
Placeholder code demonstrating a basic Phaser 3 setup with instructional comments.
Optional sections for additional assets if required.
Clear instructions on customizing and expanding the template.

Conclusion:
Introducing an official fiddle template would enhance contribution experience within the Phaser 3 community, aligning with our goals of collaboration and community engagement.

So far, I found the quickest method to submit a test code is to edit a Phaser example, and past the code into the Issue ticket (with the link to the original example, even if that's not really necessary).
It would be nice to have this (or any other quick way) explained in the Issue template.

Going to close this off as we now have our Phaser Sandbox, and that is by far the easiest way to submit an example to us now.


Reliability -> 200_Labs -> Bidirectional_Replication_for_S3: The selected IAM role for replication is not correct.

Hi ,
In "Reliability/200_Labs/200_Bidirectional_Replication_for_S3/2_configure_replication.md", the following steps will cause replication failed since these two existing roles don't have sufficient permissions.

2.1.11 : For IAM Role select -S3-Replication-Role-us-east-2 from the search results box
2.3.11: For IAM Role select -S3-Replication-Role-us-west-2 from the search results box

These two steps should be changed as following:

2.1.11 : For IAM Role select create new role from search results box
2.3.11 : For IAM Role select create new role from search results box

Thanks.

This should be fixed with merge #672


ValueError: Quantization is not supported for <class 'vllm.model_executor.models.aquila.AquilaForCausalLM'>.

I tried using the following code to test the AquilaChat2-34B-16K-AWQ model launched by vllm, but it failed.
’‘’
from vllm import LLM, SamplingParams
prompts = [
"Tell me about AI",
"Write a story about llamas",
"What is 291 - 150?",
"How much wood would a woodchuck chuck if a woodchuck could chuck wood?",
]
prompt_template=f'''System: A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.
Human: {prompts}
Assistant:
'''
prompts = [prompt_template.format(prompt=prompt) for prompt in prompts]
sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
llm = LLM(model="TheBloke/AquilaChat2-34B-16K-AWQ", quantization="awq", dtype="auto", trust_remote_code=True)
outputs = llm.generate(prompts, sampling_params)
for output in outputs:
prompt = output.prompt
generated_text = output.outputs[0].text
print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")
‘’‘
My system environment was built with reference to the official documentation of vllm.

awq only support llama-2 model right now

Encountered the same problem. Is there any plan to support AWQ for AquilaChat2 models?

same error
run：AquilaChat2-7b

Hi @Edisonwei54 @liyang79 @lonngxiang, this iss fixed in the new version (v0.2.2), which was just released. Please try again with the new release and let us know if the error persists.

Hi @Edisonwei54 @liyang79 @lonngxiang, this iss fixed in the new version (v0.2.2), which was just released. Please try again with the new release and let us know if the error persists.
nice job！！！

Cool! It worked on v0.2.2.

Cool! It worked on v0.2.2.

yes，but i ues api request not success

Cool! It worked on v0.2.2.

yes，but i ues api request not success #1714 https://github.com/vllm-project/vllm/pull/1714

I didn't test vllm openai-compatible server but was able to serve AquilaChat2-34B-16K-AWQ model with fastchat vllm_worker. I am using langchain on the client side.

Cool! It worked on v0.2.2.

yes，but i ues api request not success #1714 https://github.com/vllm-project/vllm/pull/1714

I didn't test vllm openai-compatible server but was able to serve AquilaChat2-34B-16K-AWQ model with fastchat vllm_worker. I am using langchain on the client side.

Can you share how  fastchat vllm_worker commands use awq？

Cool! It worked on v0.2.2.

yes，but i ues api request not success #1714 https://github.com/vllm-project/vllm/pull/1714

I didn't test vllm openai-compatible server but was able to serve AquilaChat2-34B-16K-AWQ model with fastchat vllm_worker. I am using langchain on the client side.

Can you share how fastchat vllm_worker commands use awq？


Add 3 example use-cases to wildfly-camel-examples

I'd like to conribute my example uses-cases to the "official" wildfly-camel-examples, because I hope that they will help others using the camel integration on wildfly.
My use-cases are:

camel-cxf-jaxws-cdi-xml
This example uses a XML route definition while the endpoints and processors are produced with CDI.
For us this example is important for the migration of our current Switchyard applications to wildfly-camel.

camel-cxf-jaxws-security
This example shows how to use http-basic authentication.
It uses XML-DSL route builder with spring configuration.

camel-cxf-jaxws-security-cdi
This example shows how to use client-cert-/tls-mutual-authentication.
It uses Java-DSL route builder with CDI
The test "org.wildfly.camel.test.cxf.CxfWsSecurityCdiExampleTest" will work after https://github.com/wildfly-extras/wildfly-camel/issues/1945 is fixed

should I also move the CLI for creating the login-modules and system properties from the maven build into the test class?

Ideally, yes. I'd prefer to not have it in the pom.xml.

Please review my last commit especially the test class "CxfSecureWsCdiExampleTest".
I moved the CLI commands from pom.xml to that class, but I have difficulties, because there is no blocking "reload" command.
Unfortunately I didn't manage to get Arquillian to do the restart. Perhaps you can help with that, since I don't have a lot of experience with Arquillian.
Thanks

Thanks!
I have some of my own minor tweaks to apply on top of this work, so if it's all good, I'll merge to master  (probably later in the week).
For now, I'm probably going to drop camel-cxf-jaxws-security-cdi until we have a proper resolution to the issues you raised over at the main wildfly-camel project. I'd prefer to not promote hacks and workarounds if possible. We can add it in once we have a better solution.

Sounds good, thank you.
I hope I'll have a good idea when #1945 is fixed.

The solution for the :reload problem after the execution of the CLI scripts can be found here:
https://github.com/wildfly/wildfly/blob/master/testsuite/shared/src/main/java/org/jboss/as/test/shared/ServerReload.java
Used in this example:
https://github.com/wildfly/wildfly/blob/master/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jca/bootstrap/CustomBootstrapContextTestCase.java#L102
https://github.com/wildfly/wildfly/blob/master/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jca/JcaMgmtServerSetupTask.java
https://github.com/wildfly/wildfly/blob/master/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jca/JcaMgmtBase.java
as solution for this issue:
https://issues.jboss.org/browse/WFLY-91
I'll do a solution based on this official Wildfly testcase after my return from my (long) holiday.
Should I put a dependency to wildfly-testsuite-shared in the itests pom or should I copy the class "org.jboss.as.test.shared.ServerReload"?

My preference would be to copy the class (keeping the license attribution), as IIRC, the testsuite-shared dependency pulls in all kinds of extraneous junk.
Keep in mind, I'm not going to merge the camel-cxf-jaxws-security-cdi code until we have fixes for the other CXF issues. So no need to push these changes onto this PR.
I'll try and merge the others later today.

@jochenr Does camel-cxf-jaxws-cdi-xml work for you? I can't get it to deploy without errors.
Maybe I changed something locally that broke it, but everything looks valid....

yes, it works for me.
I only need a workaround (decribed in #1945) for camel-cxf-jaxws-security-cdi
what Exception do you get at deploy time?

@ImportResource seems to be having no affect. There are no messages in the server logs to say that the Camel Context has been started.
If it works ok for you, I'll assume I've changed and broken something locally. I'll dig into it some more.

Did you do the same mistake as I did (and opened https://github.com/wildfly-extras/wildfly-camel/issues/1928) ?
Is the xml file from @ImportResource copied in the classpath of the war? I think I changed the resources part of the pom to get it included...
P.S.: I just changed my profile so that you can see my (private) e-mail adress...if you like to send me a stacktrace...

 My IDE had modified some of the bean ids in the Camel Context XML.

camel-cxf-jaxws-cdi-xml and camel-cxf-jaxws-security have been merged to master with some minor mods.
The CDI security example will have to wait, pending the fixes to the CXF issues you raised over at the main project.
Thanks for contributing :smile:


Support SLSA Provenance

Fix the Docker image run as root
Remove scorecard.yml
Support Provenance

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d11b480) 97.96% compared to head (b2d82db) 97.96%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #118   +/-   ##
=======================================
  Coverage   97.96%   97.96%
=======================================
  Files           7        7
  Lines         246      246
=======================================
  Hits          241      241
  Misses          5        5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ValueError: cannot determine region size; use 4-item box

Highlighting 2 tracks...
Traceback (most recent call last):
File "/usr/local/bin/turkic", line 5, in
pkg_resources.run_script('turkic==0.2.5', 'turkic')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/turkic-0.2.5-py2.7.egg/EGG-INFO/scripts/turkic", line 16, in
turkic.cli.main()
File "/usr/local/lib/python2.7/dist-packages/turkic-0.2.5-py2.7.egg/turkic/cli.py", line 147, in main
handler(args[1:])
File "/usr/local/lib/python2.7/dist-packages/turkic-0.2.5-py2.7.egg/turkic/cli.py", line 47, in init
self(parser.parse_args(args))
File "/home/vagrant/vatic/cli.py", line 494, in call
lambda x: "{0}/{1}.jpg".format(args.output, x))
File "/usr/local/lib/python2.7/dist-packages/pyvision-0.3.1-py2.7-linux-x86_64.egg/vision/visualize.py", line 115, in save
for image, frame in images:
File "/home/vagrant/vatic/cli.py", line 497, in renumber
for count, (im, _) in enumerate(it):
File "/home/vagrant/vatic/cli.py", line 504, in augment
aug.paste("black")
File "build/bdist.linux-x86_64/egg/PIL/Image.py", line 1331, in paste
ValueError: cannot determine region size; use 4-item box

turkic visualize job_id /home/images/job_id  --merge --renumber.Use the above command to report errors as above

My goal is to export the same image number as JSON number, because now the exported image number starts from 0001.jpg and the JSON file content starts from 0, which bothers me a lot.

Did you fix this?
I'm also getting the same error while virtualizing the annotated images.


No PWA update alerts

Description
PWA updates are not being detected by the app; creating stale and outdated apps.
Reproduction steps

Deploy a new change to the app.
Visit the app.
Wait for a few seconds and encounter no update alert dialog.

Expected behavior
There should be an alert dialog which informs the user that there is an available update for the app.
Relevant log output
No response
Affected browsers (if applicable)
Firefox, Chrome, Safari, Microsoft Edge

The fix for this issue is not yet verified. Further testing is required.


Color palette resets to default

Hi! Thanks for pywal! I'm using it in combination with Regolith and it's great!
However, I can't seem to fix this issue with the gnome terminal:
The colors are only applied as long as the terminal isn't reset. E.g. starting neomutt or running certain commands in nnn will reset the colors to the profile palette colors (which oddly still are set to Tango).
See the screenshots below:

Is there a way to prevent this behaviour?

I have noticed resetting palettes with ranger (open a terminal with S, then quit) and weechat (resizing the window is enough for me). After quitting those, I also end up in a terminal with reset colors.

Nothing I can do about this. These programs hard reset the terminal palette to its default. There are many closed issues about this.

Are there no known workarounds?

pywal stores the colors in a text file and loads them through the rc file of the terminal.
Instead of doing that, I figure it must be possible to set the colors of the current palette directly, possibly by generating a new terminal profile?

I recently had to try out some other terminal emulators due to various bugs having appeared a while ago (there is an issue on the alacritty github, although alacritty doesn't seem to be at fault), and it seems that the issue described here might not be caused by some random programs being badly coded: Two of the terminal emulators I tested (rxvt-unicode and terminology) didn't show any issues at all, while all others did. So even though I am still not able to see the common denominator, switching to one of those two terminal emulators appears to be a workaround for the time being.


marathon: don't pull down docker images in advance

this runs on control nodes in most environments and doesn't provide any benefit
obsoletes #1067
fixes #1062

LGTM! The fewer things we can pull during the Ansible run, the better.

Only failure was #1073!

I've just seen this - it was tagged bootstrap for a reason. That being: we want to be able to ship images that can run without requiring a network connection. Not that we test that, but this probably broke it. Should we re-add?

We could start testing that with vagrant CI @sehqlr

How did this run on control nodes? provider == "vagrant" should have prevented that.

that provider was set during packer, I think?

@ChrisAubuchon I believe provider == "vagrant" was only sufficient prior to our switch to multi-node vagrant installs.

@ryane I'm confused by your statement: this runs on control nodes in most environments. Having when: provider == "vagrant" should prevent that.
If, as @BrianHicks mentioned, we want vagrant boxes that don't require network access this needs to be there with the bootstrap tag.

@BrianHicks I didn't realize that was a goal. We can add it back. We only take the unnecessary hit on vagrant installs when the underlying image is not up to date with the latest docker image tags.
Although, isn't the task just going to fail anyway if you try to run vagrant up without a network connection?

Yes, but we also want to be able to publish AMIs (etc) in the future.

@ChrisAubuchon I guess it should read more like on most vagrant installs. They are mutli-node by default now so when this task runs, it downloads updated mantl-api and mesos-consul docker images on the control nodes but they are never actually used on those nodes.

@ryane Ah. Okay. It was really only there to be part of the packer image.


Display logout warning related to cloud debugger sessions only if there is at least one in progress

When users click logout, they are presented a confirmation dialog that allows for adding messages to it. Currently the plugin will add a warning about background debug sessions always which would be weird for a user if she never touched the Cloud Debugger functionality, so let's make it conditional on having at least one debug session listening for events in the background.
This issue addresses https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/395#discussion_r51919400

As long as the message doesn't imply that a session is active now I don't think this is an issue.  It's actually a feature because it  advertises the cloud debugger.

I think that's


Support Sub-Header Verification in Doc-Warden

You may see in the implementation spots where I'm building something like a tree even if it's not necessary. That's because at some point in the past 1.5 days this was absolutely a depth first search implementation. I will clean this up.
This PR extends the "verify sections" logic to allow matching of arbitrary patterns of rules defined in the .docsettings yml.

Here's an example of a failure. Should probably do a tree merge to beautiful the error results a bit more.

/azp run azure-sdk-tools - warden


added alert rule

@rboucher

@nolavime : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@nolavime: I'm sorry - only the author of this article, @rboucher, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

This update appears in master (see Resolve conflicts). We'll close this PR.


Make Dockstore compatible with SevenBridges JSONified CWL

Feature Request
Desired behaviour
Looks like this is an example https://github.com/stevetsa/Metaphlan-SBCGC
It sounds like cwltool simply handles draft-2 workflows (specifically, sbg:draft-2), so we might not have to do much more than just trivially convert from JSON to YAML before feeding it through the rest of our code.
Also reach out to seven bridges to get some more complete examples with parameter files.
┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 2.X
┆Issue Number: DOCK-300
┆Sprint: Backlog
┆Issue Type: Story

https://github.com/KnowEnG/KnowEnG_CWL might be promising since I believe they're in GA4GH-DREAM, but can probably also just look through https://github.com/search?utf8=✓&q="sbg%3Adraft-2"&type=Code

Good news JSON is a subset of YAML so no JSON→YAML conversion should be needed.
Bad news: we dropped support for draft-2 in cwltool a while ago, so you'll either need to do your own upgrading or extend the standalone cwl-upgrader: https://github.com/common-workflow-language/cwl-upgrader

FYI: https://github.com/sbg/sevenbridges-cwl-draft2-upgrader


Add improvements to Gitlab blueprint

Here is the summary:

Leverage the new {install|customize}.command introduced with this PR: https://github.com/apache/incubator-brooklyn/pull/695
AWS (and virtually any cloud) deployment support
Addition of numerous effectors
Addition of numerous sensors + their propagations to the parent node
Valid configuration for postfix email server
Customized configuration for unicorn based on available cores

Looks good; merging. We really need the QA framework so that tests can accompany this kind of thing (e.g. including for the many effectors etc)!
Merging.


Developer documentation on available testing conveniences

🚀 Pull Request
Description

Fixes #4544 - documenting how to get the CMLs to regenerate, and whilst I was there giving a rundown of test tools that are available (whilst not pretending it's a full list that would need maintaining as such, just giving a flavour).
Latest build: https://www-avd/~wbenfold/iris/developers_guide/testing_tools.html

Consult Iris pull request check list

Interest : I tried including the test packages in the documentation.
Had to exclude a few things that were crashing it, but the size of the result was interesting :
The docs build is about 56Mb without the tests (normal), and 570Mb with :open_mouth:

This is a great idea, but the broken links let it down.
Not currently sure about how to fix that.

@pp-mo and I discussed the various problems with using URL links to the relevant lines on GitHub. But I've thought of one more!
I believe Sphinx domains will be covered by most/all automatic refactoring tools, but I'm not so certain when it comes to freetext links, so another opportunity for things to diverge.

Updated latest build (https://www-avd/~wbenfold/iris/developers_guide/testing_tools.html)

Rebased for what's new

Will it need to be updated/added to when the new graphics checking functionality is merged?

It will, but I'll make those changes on that PR

Sorry @wjbenfold just realised I was blocking this with unresolved comment.
And now it needs a rebase 🤦

I've rebased. I think you're still blocking it with a "changes requested" review and you need to submit a new "approving" review @pp-mo


method request: isValid method that returns whether the passed data is valid or not

About the issue:
If you want to check whether the passed data is valid, you have to parse and bind a catch method to it.
In small use cases like checking whether a single input field passes the check, this could be quick and helpful, being a one-liner.

Sure, so related to the above example, I had to write this piece of code
const isValidMail = useMemo(() => {
    try {
      emailSchema.parse(email);
      return true;
    } catch (error) {
      return false;
    }
  }, [email]);

This could easily be turned into a one-liner, making it suitable for small use cases where you just have to validate one state or so, instead of using a solution like react-hook-form, we could just do this:
const isValidMail = useMemo(() => {
    return z.isValid(emailSchema, email);
  }, [email]);

Is this what you are looking for?
const isValidMail = useMemo(() => {
    return  emailSchema.safeParse(email).success
  }, [email]);

Is this what you are looking for?
const isValidMail = useMemo(() => {
    return emailSchema.safeParse(email).success
}, [email])

ah
yes, thanks!
didn't know about that 😅


JBDS-3605 JBDS-3878 fix branding & versioning

JBDS-3605 fix branding (no longer JBoss)
JBDS-3878 fix versioning s/9.1/10.0/g

Replaced by https://github.com/redhat-developer-tooling/developer-platform-install/pull/189


Add MatRipple docs to the documentation website

Bug, feature request, or proposal:
There are so many instances that I'd like to look through MatRipple docs and having them on the website would be such a boon to development

Thanks for your issue. I'm working on getting the ripples into the docs. Should be next minor version of Angular Material.

Docs are finally available for 7.0.0.beta-2.


Files — returning proper content-type/filenames through runtime.File?

Problem statement
What's the proper way to go about handling file downloads in the swagger yaml spec and in the handler code? Attempting to get proper content-types and filenames in the process
This works but returns the file but without any headers, despite explicitly setting 'em
paths:
  /geturl/
    get:
      produces:
        - application/octet-stream
      responses:
        '200':
          description: OK
          schema:
            type: file

f, _ := os.Open("somefile.zip")
h := make(textproto.MIMEHeader)
h.Set("Content-Type", "application-zip")
header := multipart.FileHeader{Filename: "returnfilename.zip", Header: h}
return operations.NewGetDataOK().WithPayload(runtime.File{Data: f, Header: &header})

Tried setting produces to the resulting file type (application/zip), but that did not work at all (no files got passed through)?
Environment
swagger version: 0.10.0
go version: 1.8.1
OS: Mac OS X

You could look at using type: string format: binary and use the content-disposition header to provide the filename

thanks a lot!


mkfs.ext4: Device size reported to be zero.

root@ubuntu:~# sudo time sync
0.00user 0.00system 0:00.01elapsed 10%CPU (0avgtext+0avgdata 2032maxresident)k
0inputs+0outputs (0major+70minor)pagefaults 0swaps
.
root@ubuntu:~# sudo mkfs.ext4 /dev/nbd1
mke2fs 1.44.1 (24-Mar-2018)
mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use.  You may need to reboot
to re-read your partition table.
any idea what is wrong

TIL I get this error when trying to create a filesystem on an Extended Partition. It is necessary to create a Logical Partition within the Extended Partition and the EXT4 filesystem can be created there.
I have no idea if this relates in any way to the reported issue.
OS: RpiOS, 64 bit
root@mb1:/home/hbarta# dpkg -l e2fsprogs
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-====================================
ii  e2fsprogs      1.47.0-2     arm64        ext2/ext3/ext4 file system utilities
root@mb1:/home/hbarta#


BAU Update Canterbury custom branding

Something is up with hooks from travis but it did run the tests and they did pass https://travis-ci.org/alphagov/pay-js-commons/builds/555860617


Docs for VirtualAlloc2 show incorrect Library and DLL information

Describe the bug
The Library and DLL information for VirtualAlloc2 show kernel32.lib and kernel32.dll, respectively, but as of SDK 10.0.17763.0, neither of these appear to be correct.
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.microsoft.com/en-us/windows/desktop/api/memoryapi/nf-memoryapi-virtualalloc2#requirements
See the Library and DLL entries in the table

Expected behavior
The information points to an import library that actually contains a reference to VirtualAlloc2, and the DLL points to a DLL that actually exports VirtualAlloc2.
In my SDK, it appears that VirtualAlloc2 is actually present in mincore.lib, and is actually exported by KernelBase.dll.

Docs also claim Windows Server 2016 support, but KernelBase.dll doesn't export VirtualAlloc2 at least on Windows Server 2016 Datacenter Version 10.0.14393. Windows 10 clients and Windows Server 2019 are supported as described.

Seems like all the new kernel APIs (VirtualAlloc2, MapViewOfFile3, ...) don't have exports in Kernel32.dll but rather only in Kernelbase.dll


rolling back home page

@v-kents,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

globalization/downloads.md
:white_check_mark:Succeeded

globalization/index.md
:white_check_mark:Succeeded

globalization/windows-keyboard-layouts.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Really, really inefficient FizzBuzz method

Still saves 23 lines from console logging everything.

Found a bug, going to fix and repull


Added support for both mapping and anyOf for polymorphy.

Fixes #191
The solution is to remove all anyOf from a model that has a discriminator and mapping defined. Not the prettiest solution but I couldn't see any other without re-thinking the entire approach.

Since there hasn't been any progress here and I'm not part of the Fabrikt-related project anymore, I'm going to unsubscribe from this PR.

Thank you for your contribution @atollk and I apologise it was not accepted.


Opendistro throwing an error on accepting a JWT token from keycloak

https://github.com/opendistro-for-elasticsearch/security-advanced-modules/issues/80#issue-578977249

Duplicate of #417


C#/Mono [Export] List<>variable

Currently using [Export] with a C# List produces nothing on the inspector. Even worse, when it have a initial value (event an empty list), it crashes the editor.
Class CustomNode : Node
{
 [Export]
 List<string> list = new List<string>();
}

Same issue, and even using the "IterateList" method it still crashes as soon as i try to access any property of the Resource(in my case).
If i use a Godot.Collections.Array instead i always get the correct length but the crash when accessing properties persists.

Should have been fixed by #38124


chore: migrate plugin repository class to use Bridge API

Description
Move the Plugin Repository class to the new Bridge API.
Automation
/ok-to-test tags="tag.Datasource"
:mag: Cypress test results

[!WARNING]
Please use /ok-to-test<EMAIL_ADDRESS>to run all specs.
Explore the tags documentation here

Summary by CodeRabbit

Refactor

Improved criteria construction in plugin repository for enhanced query performance and maintainability.

/ok-to-test<EMAIL_ADDRESS>


[Feature] Create a page that summarizes the changes that will be deleted and will be added in v2

Oh, I got it. I didn't see this change in detail and misunderstood it.
However, why don't you state that the opinion you want to add is that it is going to be depreciated rather than deleted from the official document? I think it's okay to delete the export syntax together.
Alternatively, you can create a page that summarizes the changes that will be deleted and will be added!
ref: https://chakra-ui.com/getting-started/migration#5-deprecated-features.
https://nextjs.org/docs/app/api-reference/next-config-js/exportPathMap.
https://react.dev/reference/react/legacy
https://mui.com/material-ui/migration/migration-v3/#button.

Originally posted by @minsoo-web in https://github.com/suspensive/react/pull/346#discussion_r1402893357

@minsoo-web could I know plan for this?

@minsoo-web could I know plan for this?

I forgot. I'll finish the work by today


🐛 Fixed bug where Lance battle goes forever

I have enjoyed playing the game, and it was fun to see how everything worked behind the scenes. :)
When playing against Lance and fainted the first Dragonite, his next Pokemon was the same fainted Dragonite.
When debugging, I noticed that GetNextAvailablePokemon() selects second Dragonite but GetCurrentPokemon() selects fainted Dragonite. I wanted to update GetCurrentPokemon(), but that would change the battle logic, so I changed SetPokemonAsCurrent instead.
The issue is 2 parts:

All Pokemon of the same type are marked as Current
Fainted Pokemon are set as Current

I have added a couple of tests, LanceBattleTests, to test the bug and existing behaviour to ensure I haven't broken any existing logic. The bug was reproduced with the LanceBattleTests.LanceThirdPokemon test.
The fix is to make only 1 non-fainted Pokemon current to avoid any other bugs when multiple Pokemon are current.
Feel free to change the code any way you like. :)

Hello there!
Thanks for making pull requests and playing the game! I did not expect so many people to find this repository, let alone star it. It's one of my first projects (I finished it 4 years ago, I believe), and I don't like its code at all. That said, I am very grateful for what I learned from it and that people are playing it and having fun.
Thank you for fixing this bug!

I have suspected as much, but it was a fun and unique experience to play the game!
The debugging was also interesting. I actually wanted to see if I can create a living dex + select best team for the job but after investigations,  it's really hard. (Combat system is a lot more complex since first gen)

The new Pokémon games have lots of new things. I prefer the older games, though, which makes me realize I'm getting old.
I do plan on making more "side project games" like this, and a new Pokémon clone sounds like a good idea, but with a few tweaks to get out of the ordinary.


Constraint Revisions and Clean up

[x] Clean up stale folders created by ALIGN
[x] Expand constraints to catch SameTemplate constraints yielded by user constraints
[x] Retire subcircuit attribute from select constraints

This PR is ready for review.


Add Endorse action option when the conditions are met

Not sure what this would look like exactly, but I imagine there will be an option to endorse a top card (could have a maximum of 4 top cards that could be endorsed for a given city) if the criteria is satisfied:

A city with a matching icon to the dogma effect of another top card
A card in hand of less than or equal value to the city (symbols on the card are not relevant)
An endorsement hasn't already happened this turn.

This option would be an addition to any meld, dogma, or achievement actions that would be possible.

Maybe they could click on the card and then afterwards they will be prompted with whether they want to endorse it or not?
We'd also need to make sure we make some changes to the tooltips which appear when you hover over before dogma-ing the card.

That's an interesting idea, but kind of late to make that decision perhaps?   The player may not select a card to dogma if they knew another card could be endorsed.

Maybe we will have to provide another visual cue that the card can be endorsed? Maybe by highlighting it with a different color than the usual color used to indicate clickable cards?


Add OpenAICompatibleChatExperiment class for enhanced LLM compatibility

I have introduced a new class called OpenAICompatibleChatExperiment. This class aims to enhance the compatibility of prompttools with a wider range of large language models (LLMs) that support OpenAI-compatible inference endpoints. This enables usage of popular open source models hosted on  Model as API service providers like together.ai, and self hosted models via Huggingface Text Generation Inference/ vLLM/ ollama etc, as they provide openai compatible rest api.
Key features and benefits of the OpenAICompatibleChatExperiment class:
Flexibility: The class allows users to specify the base URL and API key for any OpenAI-compatible inference endpoint, enabling seamless integration with various LLMs.
Ease of use: The class maintains a similar interface to the existing OpenAIChatExperiment class, ensuring a smooth transition for users familiar with prompttools.
Expanded LLM support: By leveraging OpenAI-compatible endpoints, prompttools can now interface with a broader ecosystem of LLMs, empowering users to explore and utilize different models effortlessly.

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


Need a more obvious way to give feedback for occurrence records

Need a more obvious way to give feedback for occurrence records
It's not intuitive to click on the comment box at the top to suggest issues or fixes in occurrence records.  A more obvious link should be provided on such pages to give content feedback

fbitem-occurrence1348214305
Reported by<EMAIL_ADDRESS>System: Chrome 60.0.3112 / Windows 10 0.0.0
Referer: https://www.gbif-uat.org/occurrence/1348214305
Window size: width 1536 - height 735
API log
Site log
datasetKey: 4fa7b334-ce0d-4e88-aaae-2e0c138d049e
publishingOrgKey: e2e717bf-551a-4917-bdc9-4fa0f342c530

It is a shame if the users cannot figure out how to give feedback on occurrences. But this doesn't seem to be only occurrences if so, then it is a sitewide issue. Content in articles, content in datasets, content on species pages etc.
We do get comments on all of them, but could be that most people never realise that the option is there.


Progress on Known limitations

What's the status of the Known Limitations nowadays? According to the docs they should be resolved in July 2019.

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

ID: 98bc6c1c-0814-3b42-25ea-266dfedc394b
Version Independent ID: 95fff52e-d276-37d4-cd67-9406139f9c92
Content: Use Exchange Online and the Security & Compliance Center to comply with SEC Rule 17a-4 - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/use-exchange-online-to-comply-with-sec-rule-17a-4.md
Service: o365-seccomp
GitHub Login: @cabailey
Microsoft Alias: cabailey

@GiantCrocodile - Thank you for submitting feedback.
I will get this issue over to the Microsoft 365 writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.

@cabailey - Can you please share your insights on this issue?
Thank you.
cc: @kenwith

@mypil and @GiantCrocodile :  Investigating … it seems an update is indeed due!  However, I will need to wait for people to come back after the holidays to get an authoritative answer.

Thank you for the short update @cabailey!


Fixed error while trying to serialize empty messages.

Hi @hveiras, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;


Use for(...) dst[c]=src[c] loop on arm due to a JIT bug

On 32-bit ARM Unsafe.ReadUnaligned/Unsafe.WriteUnaligned actually assume that pointer is 4-byte aligned and attempts to do a copy via something like:
            ldr     r3, [r1]
            str     r3, [r0]
            ldr     r3, [r1+4]
            str     r3, [r0+4]
            ldr     r3, [r1+8]
            str     r3, [r0+8]

ldr and str instruction does not support addresses that are not aligned to 4-byte boundary,  so this results in a data misalignment crash.
dotnet/runtime issue: https://github.com/dotnet/runtime/issues/80068
Unsafe.CopyBlockUnaligned is also affected by this issue if data size is known at JIT time (which is our case since we use Unsafe.SizeOf<T>). JIT unrolls the copy loop and assumes that it can just use optimized 4-byte block copy via registers, which it actually can not.
This PR implements a rudimentary memcpy with MethodImplOptions.NoInlining to guarantee that JIT won't mess up.
That memcpy is only used for 32 bit arm platforms.

Should fix https://github.com/AvaloniaUI/Avalonia/issues/9323

You can test this PR using the following package version. 11.0.999-cibuild0027965-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0027967-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Community contributions to check Q level metrics

Engagement in GitHub for Metadata level and Categorical level (let people contribute in it) for defining metrics.

duplicated https://github.com/earthpulse/eotdl/issues/196


Navbar could be improved - Alignment of Nav-links & color of navbar in dark mode.

Alignment & spacing of texts could be improved and all the nav-links could be kept in a uniform straight line manner. It will also improve the consistency of the website.
This is how it looks at the moment:

Also on dark mode the whole website changes to a dark color except the navbar. This could also be improved so as to maintian consistency throughout the website.
This is how it looks at the moment:

I hereby request you to assign this task to me.

Also, I would like to contribute to it under GSSoC'23.


Contribute Oracle Coherence vector store implementation

We added support for vector storage and search in Oracle Coherence CE 24.09, and would like to contribute Spring AI vector store implementation (and Spring Boot Starter) for it.

@markpollack Just a friendly nudge to review this PR... ;-)

@aseovic having some build issues with removing boot deps and installing checkstyle... will merge once done.
A couple things wrt to testing.  Having the automated tests is important as there will always be drift.  I'm not married to test containers, but getting something in place would be useful.
Also, we do have https://github.com/spring-projects/spring-ai-integration-tests where most tests are failing due to lack of API keys, but are in the process of sorting that out.  There is also a contribution for OCI Embedding model, but I can't get oracle cloud to cooperate with me.  See this comment.  Is there something you can do to help me out there?

A couple things wrt to testing. Having the automated tests is important as there will always be drift. I'm not married to test containers, but getting something in place would be useful.

Of course, and we do have tests in the PR. They are just not using TC, but our own distributed testing framework instead.

There is also a contribution for OCI Embedding model, but I can't get oracle cloud to cooperate with me. See this comment. Is there something you can do to help me out there?

I'm not sure. I only have access to resources in Phoenix and Ashburn regions, and that's through my team/org, so not publicly shareable. I'm a bit confused though -- it says you merged it on Sep 26?

@markpollack Any chance we can get this merged soon? Keeping it in sync with the changes in main is pita...

on it

Thanks to the man who brought you the Spring Expression Language!
Merged in f6a648e85c2038a33c6305681e1d848aa226811f
can you add docs in another PR @aseovic ?

Sure, will do.Thanks!Sent from my iPhoneOn Nov 6, 2024, at 3:15 PM, Mark Pollack @.***> wrote:
Thanks to the man who brought you the Spring Expression Language!
Merged in f6a648e
can you add docs in another PR @aseovic ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


how can i add Docker's CMD or RUN instruction

how can i add Docker's CMD or RUN instruction ?

RUN is not supported in Jib for speed/reproducibility reasons. If you need to use RUN, you can try making a custom base image using Docker and then pointing to that base image in Jib; see the FAQ for details.
For CMD, you can actually use the container.args parameter, if you set a custom container.entrypoint. Normally args are used for appending Java main class arguments to the entrypoint, but Jib's args parameter actually corresponds directly to CMD in the container config, so you may be able to use it for your purposes. See jib-gradle-plugin or jib-maven-plugin README for more details. There's also an example in the FAQ that shows what a corresponding Dockerfile would look like, which may make it a bit clearer.


not showing the errors in the code

VSCode Version: Code 1.12.1 (f6868fce3eeb16663840eb82123369dec6077a9b, 2017-05-04T21:26:50.689Z)
OS Version: Windows_NT ia32 6.3.9600
Extensions: none

Steps to Reproduce:

Please, provide more detailed information.

Cannot reproduce given these steps. please provide more detailed steps as descrobed in Submitting-Bugs-and-Suggestions.


Can't be imported by OpenUPM

I have mathematics 1.2.6 in my project. Looks like it required 1.0.0 and can't accept newer versions
openupm add com.utkaka.scale-nine-slicer
WARN 404 package<EMAIL_ADDRESS>is not a valid choice of 0.0.12-preview.2, 0.0.12-preview.5, 0.0.12-preview.8, 0.0.12-preview.10, 0.0.12-preview.11, 0.0.12-preview.13, 0.0.12-preview.17, 0.0.12-preview.19, 0.0.12-preview.20, 1.0.0-preview.1, 1.0.1, 1.1.0-preview.1, 1.1.0, 1.2.1, 1.2.4, 1.2.5, 1.2.6, 1.3.1
notice suggest to install<EMAIL_ADDRESS>or a replaceable version manually
ERR! missing dependencies please resolve thie issue or run with option -f to ignore the warning

Hmmm, it appears that this problem is specific for OpenUMP CLI which i have never used before. Fixed. Try 1.0.3


Prevent Boto3 debug logging

This change prevents any boto3 debug logging by default in secretbox. This is a change from the previous filter which specifically targeted botocore.parse and removed sensitive data pulled from secret store or parameter store.  With this change, logging level of INFO (20) is enforced when a boto3 call is made.
This can be disabled by flipping the hide_boto_debug class variable to False for either of the two AWS handlers. Note, this should never be done in production as boto3 modules will log, in plain text, your secrets and the bearer secrets that boto3 is using for AWS requests.
closes #77

In this change we are disabling debug logging at two points:

When a client is created
When the client is used

see https://github.com/Preocts/secretbox/pull/78/commits/3c37ab2e4ac9b368123e38c44690789693e98eb3 for reasons for reason 1.
This will remain in play to cover the chance that this behavior changes in the future.


community page: events expiration date, do not show irrelevant events

Introduce expiration date for the main banner and per event for the events section.
If event/banner no relevant anymore - don't show it.
If no events to show - do not show the whole events section, show some (nicely done) stub - "No upcoming events"
If no banner - do not show banner.

I've just made a PR to add a new banner about the mailing page. Maybe when an event expires, default to this banner instead of totally removing banner?

I've just made a PR to add a new banner about the mailing page (#1282). Maybe when an event expires, default to this banner instead of totally removing banner?

Sure! I was actually thinking about adding the functionality for having multiple Hero definitions queued up in an array and having the application use the first that isn't expired. This way, we can plan ahead and have these kinds of timed changes apply without worrying about a git merge.
We can also log items that are expired so that we're reminded to remove stale ones and old data doesn't build up in the repo.

@rogermparent @andronovhopf this sounds perfect!


Plan to publish on PyPI?

Hello! First of all, thanks for the work on this library—it's been really useful. Do you have any plans to publish it on PyPI? That would make it much easier to install and manage as a dependency. Let me know if there's anything I can help with in terms of setup or publishing.
Thanks again!

Hi Gabriel, thank you for reaching out. I am very happy to hear that you found my code to be useful.
I fear, that on revisiting that code, I would find it to be horribly bad, e.g. the structure or lack thereof.
Originally I thought of making a package out of it. The thing is, that after a change in the workplace, I am not currently working with Airflow and can't quite afford the time to bring this to a state where it is acceptable to publish to PyPI.
If you have any recommendations, you are very welcome to fork or to send a PR. Even though I'd really like to do this, I currently can't, as also indicated by my super slow reply. (My apologies!)


feat(bulk-model-sync): workaround removed and outdated resolveInfo after import into MPS

In projects, loading all libraries and plugins can take significant time. This workaround enables to sync projects better that do not want to load all libraries and plugins. With this workaround, the name or resolveInfo property of a target is used as the resoleInfo property on a reference even if the concept of the target could not be fully loaded.
To be verified by reviewers

[x] Relevant public API members have been documented
[x] Documentation related to this PR is complete

[x] Boundary conditions are documented
[x] Exceptions are documented
[x] Nullability is documented if used

[x] Touched existing code has been extended with documentation if missing
[x] Code is readable
[x] New features and fixed bugs are covered by tests

This PR ist still a draft, because I want to talk about in our refinment.
See https://issues.modelix.org/issue/MODELIX-813/Avoid-changing-resolveInfo-tags-for-unrelated-children#focus=Comments-4-3611.0-0

:tada: This PR is included in version 8.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ring_log library shows up previously read log

Hi Menhirsys,
Thank you for writing such a nice library.
I am trying to use it to store the data in the flash. But I am facing one issue.
I compiled example.c file from
https://github.com/menhirsys/ring_log/blob/master/example.c
for the ESP32.
But when I run this example first time on the fresh device, It shows correct data(3 data) read as below.
one
two
three
But when I restart this device then it shows incorrect data read(4 instead of 3 data) as below.
three
one
two
three
So basically it remembers last read data "three" after restart/power lost. But actually there is only 3 data which was written and not read yet.
I tried to check this problem but couldn't figure out the exact issue.
Will you please check this?

Hi Mahesh, in fact, I don't really have the time to work on this library lately. Sorry and good luck!

Ok. I got it working. Thanks. It needed flushing write queue.
On Sun 15 May, 2022, 2:20 AM Edmund Huber, @.***> wrote:

Closed #7 https://github.com/menhirsys/ring_log/issues/7.
—
Reply to this email directly, view it on GitHub
https://github.com/menhirsys/ring_log/issues/7#event-6610566621, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKOWWV2QCLS56KBDMAFH33VKAGZ5ANCNFSM5T7EJF6A
.
You are receiving this because you authored the thread.Message ID:
@.***>


AMPBench fails to validate structured data for ImageGallery

Looks like the ampbench is failing to validate valid ld+json structured data for ImageGalleries. The goal is for us to get image gallery news content to show up in the carousel, but it seems as if we have errors that prevent this from happening.
The structured data for our AMP image galleries contains an array with two objects, one for NewsArticle and one for ImageGallery. According the structured data testing tool results this is perfectly valid. But, according to the ampbench results it is not.
I couldn't tell from the source code whether structured data with arrays are supported.
How come AMPBench validation fails for us? Is the AMPBench validation the same one Google uses for the Top News  carousel?
Thanks!

@poscar I will look into this - thanks for reporting!

@poscar Can you verify that we are good now since the following commit?
https://github.com/ampproject/ampbench/commit/efca953c87889bc4bca77000e90c9c6be3638739
Test URL:
https://ampbench.appspot.com/validate?url=http://ap-stag.glamour.com/gallery/how-to-calm-stress/amp

@pietergreyling
I can confirm that it is now working for galleries, for example: https://ampbench.appspot.com/validate?url=http%3A%2F%2Fwww.glamour.com%2Fgallery%2Fbeauty-gift-ideas-sisters%2Famp
But now it is failing to validate regular NewsArticle here: https://ampbench.appspot.com/validate?url=http%3A%2F%2Fwww.glamour.com%2Fstory%2Fsupermodel-joan-smalls-has-gone-after-what-she-wants-in-life-glamour-october-2016%2Famp
It should be able to validate both. Thoughts?

@poscar Will look into it and let you know.
FWIW, I see the following direct SDTT check for that page regularly times out (but not always and looks OK when not):
https://search.google.com/structured-data/testing-tool#url=http://www.glamour.com/story/supermodel-joan-smalls-has-gone-after-what-she-wants-in-life-glamour-october-2016/amp
https://search.google.com/structured-data/testing-tool#url=http%3A%2F%2Fwww.glamour.com%2Fstory%2Fsupermodel-joan-smalls-has-gone-after-what-she-wants-in-life-glamour-october-2016%2Famp

Ok, thanks @pietergreyling
Never seen it time-out, but will keep an eye out for that.

Hi @poscar,
I just rolled out https://github.com/ampproject/ampbench/commit/1609cddfc65ab46cd65544438d7309199406e1ba
and the handling for the following (+ others I tested) looks good:
https://ampbench.appspot.com/validate?url=http://www.glamour.com/gallery/beauty-gift-ideas-sisters/amp
https://ampbench.appspot.com/validate?url=http://www.glamour.com/story/supermodel-joan-smalls-has-gone-after-what-she-wants-in-life-glamour-october-2016/amp
https://ampbench.appspot.com/validate?url=http://www.glamour.com/story/american-music-awards-2016-best-performances/amp
https://ampbench.appspot.com/validate?url=http://www.glamour.com/story/e-kidman-and-hubby-keith-urban/amp

@pietergreyling
Perfect, this looks great! Thanks for looking into this and the fix!
Happy thanksgiving!


Proposal and network metrics endpoints break when network has no predefined DReps

Bug spotted by @johnalotoski - great spot, thank you for raising 💪
Context & versions
When GovTool is run on a network without any stake delegated to the predefined DReps (no confidence and abstain), then the proposal list and networks metrics backend endpoints break.
With GovTool sancho-v1.0.1.
Fix
John has fixed the SQL queries causing this here.
Steps to reproduce
Run GovTool on a network without any stake delegated to predefined DReps.
Actual behavior
Proposal list and network metrics return error 500.
Expected behavior
Proposal list and network metrics work.

Changing this to the last known status before the migration to this project. (In QA)
@MSzalowski Did this one end up on staging env?

Seems like the fix is not working. I'll reopen this issue


exploits

This is to close #94.
I added several other searches and changed a little of the text around it to better talk about the list (minor edits).

I merged this based on @smuellerDD approval (but because I hadn't asked him to review it wasn't showing as acceptable for the merge, so I used admin override).


Adds support for setting model attributes through setters

Some model attributes needs to be set through setter methods, but FactoryMuffin only sets the attributes directly. This fix checks for the presence of a setter method on the model and calls it instead.
I also included a camelize function. It could possibly be refactored to another class.

I'm gonna send this again once I fix the coding style issues :P


Cannot view pending changes of an .ipynb Jupyter notebook

VSCode Version:1.49.0
OS Version:1903

Steps to Reproduce:
1.Open a .ipynb file & make some change to the code
2.Go to the git tab and open the diff
Expected behavior: I see the diff
Actual behavior: the screen flashes (presumably the diff, but too fast to see for sure), then I get the standard Notebook view (NOT side-by-side before & after notebook views, just the after, same as if I open the file directly)

Does this issue occur when all extensions are disabled?: Yes/No

/extPython


Remove duplicate strong tags from UAC example

What is the context of this PR?
This is just a small PR to remove the duplicate strong tags from the UAC census example. Plus a bit of a code tidy removing some whitespace.
Fixes: #1361
How to review
Only one strong tag now appears in example

 Issue #1361: Access codes: Duplicate strong tags in census example warning panel


Credit-Earning Challenges for Players

Implement a system where players can earn credits by completing specific gameplay challenges or quests. These credits can be used to purchase league badges and other merchandise.

[ ] Design different credit-earning challenges and quests.
[ ] Set up the credit tracking system that displays the player’s credits.
[ ] Implement a reward notification system to inform players when credits are earned.
[ ] Test the feature and overall gameplay. Get user feedback.

Code review @jayakumar0812

Code review approved. Good to go to testing.

Moved to testing @JohnKirubaharan


Link duplicate, duplicates, related bugs together

If the bugs are imported sequentially, we could predict BugId <-> issue number mapping, so we could insert cross-references when generating issue markup.

Fixed in 4e57c4c8ce54571b1e47f634d60c3bb0883342c5


Consider accessibility of checkboxes

Do I need to add anything to make sure the checkboxes work well with screenreaders?

Actually I think this is OK as it is:
https://github.com/user-attachments/assets/ed6d6eb2-c6eb-45db-99c0-161250b819f8


Handlers

This PR moves hooks from app.rb into individual, testable classes. No real code changes here, just moving code to new files.
@jdoconnor @st33b @zvkemp

@camertron a big thanks for the refactors!  I'll take a quick looksee after tests run.  I'm finding that Travisci is running very slowly.  Is this your experience too?

Passing test run: https://travis-ci.org/lumoslabs/txgh/builds/101902061

No problem @matthewjackowski! I plan on submitting a few more, is that cool?

lgtm
+1 for swapping out double-quotes for single-quotes

@matthewjackowski I personally haven't noticed travis running slowly. We could try adding sudo: false to the config, which signals travis to run the tests on their new container-based infrastructure. Containerized builds are generally faster.

Note: tests passed on master


[CustomCooldown] Per message in a channel cooldown

Options

[ ] Related to an issue: (Mention the issue)
[ ] Breaking change(s).
[x] Related to a cog. (Tell what cog)

Contents

Cog: CustomCooldown
Description: This idea just came to mind. The only slowmode this cog handles is user slowmode and I'm wondering if we could be able to slow down an entire channel. One message per X time in Y channel for entire server.
[p]slow channel add <channel> <time> [yes_or_no] - Default would be no for per user slowmode.
I don't think it would be plausible for the category aspect.

Archiving repo.


Command failed

I get this error when trying to compile on save
'Command failed: /bin/sh -c node-sass --output-style compressed --indent-type space -- indent-width 2 --precision 5 "../path/styles.sass" "../path/styles.css" /bin/sh: node-sass: command not found'
node-sass is installed globally and I have tried the followings...

running "apm rebuild-module-cache"
set the path to '/usr/local/bin' under Path to 'node-sass' command under Settings
Un-installed and re-installed the package.

I am using version v0.12.6

issue is solved by re-installing sass globally

Good to hear that it works ;)

How can set path in window 10 ? pls


Use of promise

It would be more fluent if you could add promises to the module.
Example:
localStorageService.get('foo').then(function() {resolve});

Just let me know if i can assist you somehow.

I know that the data is stored/retrieved almost instantaneously however I'd like to see promises used as they provide a common/familiar api, and are prettier than if/else.


This scenario is added basically to test if the opal-prd daemon is al…

…ways running
Reference Bug 152351 - LP1671019- PowerNV: Restart opal-prd daemon on any kind of failure
Reference Bug 152350 - RH1430332- PowerNV: Restart opal-prd daemon on any kind of failure
Signed-off-by: Pavaman Subramaniyam<EMAIL_ADDRESS>

This change is

Could you please merge this pull request.

Merged as of 38bfe3347ded


TypeError: 'undefined' is not a function (near '....info({ angularVersion: '...') at bower_components/angular-messages/angular-messages.js

My project is based on AngularJs,Spring & Mongodb.
I was trying to deploy the Application on the server,but build failed.
Relevant parts of my bower file:
"angular": "1.4.9",
"angular-aria": "1.4.9",
"angular-bootstrap": "0.14.3",
"angular-cache-buster": "0.4.3",
"angular-cookies": "1.4.9",
"angular-material": "1.0.3",
"angular-local-storage": "0.2.3",
"angular-loading-bar": "0.8.0",
"angular-resource": "1.4.9",
"angular-sanitize": "1.4.9",
"angular-animate": "1.4.9",
"angular-ui-router": "0.2.15",
"bootstrap": "3.3.5",
"jquery": "2.1.4",
"json3": "3.3.2",
"modernizr": "3.2.0",
"ng-file-upload": "10.0.2",
"ngInfiniteScroll": "1.2.1",
"swagger-ui": "2.1.3",
"moment": "^2.11.2",
"angular-moment": "^0.10.3",
"double-scroll-bars": "przno/double-scroll-bars#^0.1.5",
"ngclipboard": "^1.1.1"
grunt test:

now angular-messages installed by default 1.6.5
If i try to install angular-messages 1.4.9, all 44 phantomjs test fails.
what will be the cause of this issue??
Please help me,I'm new to this field

This indicates a version mismatch between angular.js and one or more optional modules (most probably angular-messages). Regardless of what you bower.json says, ensure that the versions you are using are actually the same.


Fix processing of literal with unit "TB"

This fixes the issue:
oberstet@bvr-sql18:~/scm/3rdparty/pgtune$ sudo ./pgtune --type=dw --connections=200 --version=9.0 /data/adr/postgresql.conf
listen_addresses = '*'
# max_connections = 2000

# shared_buffers = 768GB
temp_buffers = 8GB
# work_mem = 8GB
# maintenance_work_mem = 32GB
autovacuum_work_mem = 32GB
dynamic_shared_memory_type = posix

# effective_cache_size = 2TB
# default_statistics_target = 600
effective_io_concurrency = 1000

fsync = on
wal_sync_method = fdatasync
full_page_writes = off
wal_level = minimal
# wal_buffers = 16MB

max_wal_size = 100GB
min_wal_size = 10GB
#checkpoint_segments = 512 # 16MB * 512 = 8GB
#checkpoint_timeout = 10min
#checkpoint_completion_target = 0.9

log_destination = 'stderr'
logging_collector = on
log_line_prefix = '%t %d %u '
log_timezone = 'posixrules'
# http://www.postgresql.org/docs/9.4/static/runtime-config-logging.html#GUC-LOG-MIN-MESSAGES
#log_min_messages = debug5
#log_min_messages = info
#log_statement = 'all'

track_activities = on
track_counts = on
track_io_timing = on
track_functions = pl
track_activity_query_size = 4096

#autovacuum = off
autovacuum = on
autovacuum_max_workers = 8

datestyle = 'iso, mdy'
#timezone = 'posixrules'
timezone = 'Europe/Vienna'

lc_messages = 'en_US.UTF-8'
lc_monetary = 'en_US.UTF-8'
lc_numeric = 'en_US.UTF-8'
lc_time = 'en_US.UTF-8'
default_text_search_config = 'pg_catalog.english'

max_locks_per_transaction = 1024

shared_preload_libraries = 'pg_stat_statements'

pg_stat_statements.max = 10000
pg_stat_statements.track = all

#------------------------------------------------------------------------------
# pgtune for version 9.0 run on 2015-11-21
# Based on<PHONE_NUMBER> KB RAM, platform Linux, 200 clients and dw workload
#------------------------------------------------------------------------------

default_statistics_target = 500
maintenance_work_mem = 2GB
checkpoint_completion_target = 0.9
effective_cache_size = 2048GB
work_mem = 7680MB
wal_buffers = 16MB
checkpoint_segments = 128
shared_buffers = 704GB
max_connections = 200

Could you please squash the commits into one with a more descriptive message? Thanks!

I think one could use TB in one more place, see https://github.com/andreif/pgtune/commit/03fe4cdff21cb36dc41ad17f53d6507b4b60d385


Set up types/reducers/initial page for Policy

Is your feature request related to a specific problem?
Set up the backend interface portion for Policy, similar to https://github.com/ethyca/fides/pull/686 but for Policy instead of datasets
Describe the solution you'd like
Set up redux, types, and initial page to display Policy data via a GET /api/v1/policy/.
Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Not planned anymore


Crash when removing model with LogicalAudioSensorPlugin

Environment

OS Version: Ubuntu 22.04
Source or binary build?
source build
gz-sim version: 5641ef2cc7bed13e06892d29ffd3663b2f172e76
built with
gcc version: 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
build options: -DCMAKE_BUILD_TYPE=Coverage

Description

Expected behavior: Gazebo doesn't crash
Actual behavior: Gazebo crashes

Steps to reproduce

gz sim a.txt
gz service --timeout 10000 -s /world/world_0/remove --reptype gz.msgs.Boolean --reqtype gz.msgs.Entity --req 'id: 4'

Manually remove the model from GUI could also reproduce the crash
Output
Stack trace (most recent call last):
31   Object "gz sim server", at 0x56552e3911c4, in _start
30   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f698bc34e3f, in __libc_start_main
29   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f698bc34d8f, in
28   Object "gz sim server", at 0x56552e39117e, in
27   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698bedce19, in ruby_run_node
26   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698bed9317, in
25   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c06e33c, in rb_vm_exec
24   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c068cc6, in
23   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c065ff5, in
22   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c063c64, in
21   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698bfafa4e, in
20   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698beda9ac, in rb_protect
19   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c072c91, in rb_yield
18   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c06e33c, in rb_vm_exec
17   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c068cc6, in
16   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c065ff5, in
15   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c063c64, in
14   Object "/usr/lib/x86_64-linux-gnu/ruby/3.0.0/fiddle.so", at 0x7f6987c1144b, in
13   Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f698c0310b8, in rb_nogvl
12   Object "/usr/lib/x86_64-linux-gnu/ruby/3.0.0/fiddle.so", at 0x7f6987c10d6b, in
11   Object "/lib/x86_64-linux-gnu/libffi.so.8", at 0x7f6987c02492, in
10   Object "/lib/x86_64-linux-gnu/libffi.so.8", at 0x7f6987c05e2d, in
9    Object "/data/play/robot/workspace/install/lib/libgz-sim8-gz.so.8.5.0", at 0x7f6986f59d7d, in runServer
8    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f6985669fee, in gz::sim::v8::Server::Run(bool, unsigned long, bool)
7    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f6985695a63, in
6    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f69856c6740, in gz::sim::v8::SimulationRunner::Run(unsigned long)
5    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f69856c755e, in gz::sim::v8::SimulationRunner::Step(gz::sim::v8::UpdateInfo const&)
4    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f69856c38e6, in gz::sim::v8::SimulationRunner::UpdateSystems()
3    Object "/data/play/robot/workspace/install/lib/gz-sim-8/plugins/libgz-sim-logicalaudiosensorplugin-system.so", at 0x7f6964673deb, in gz::sim::v8::systems::LogicalAudioSensorPlugin::PreUpdate(gz::sim::v8::UpdateInfo const&, gz::sim::v8::EntityComponentManager&)
2    Object "/data/play/robot/workspace/install/lib/gz-sim-8/plugins/libgz-sim-logicalaudiosensorplugin-system.so", at 0x7f696467bc53, in gz::sim::v8::systems::LogicalAudioSensorPluginPrivate::DurationExceeded(gz::sim::v8::UpdateInfo const&, gz::sim::v8::logical_audio::SourcePlayInfo const&)
1    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f69856fde64, in std::common_type<std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> >, std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> > >::type std::chrono::operator-<long, std::ratio<1l,<PHONE_NUMBER>l>, long, std::ratio<1l,<PHONE_NUMBER>l> >(std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> > const&, std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> > const&)
0    Object "/data/play/robot/workspace/install/lib/libgz-sim8-gz.so.8.5.0", at 0x7f6986f83ce2, in std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> >::duration(std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> > const&)
Segmentation fault (Address not mapped to object [0x18])

#2232 Has been merged, that resolves this problem.


Vulkan WIP

@lerno Could you put WIP on the vulkan bindings? they do not currently support any extensions so I don't want to give the impression that they are complete (I am working on adding the extensions but it takes a while).

Done now.


Version of SetReplace on ResourceFunction["WolframModel"] is out of date

As described here: https://github.com/maxitg/SetReplace/issues/660
The version of SetReplace on ResourceFunction["WolframModel"] is old and out of date, and suffers from poor performance and scalability.  But this needs to be updated because this is how most people are actually using the WolframModel function.  Can you release a new drop to ResourceFunction please?

Function Repository is not suited for packages, and SetReplace should not be used via function repository. The existence of ResourceFunction["WolframModel"] is a terrible hack. It's unfortunate that most people use the resource function (due to poor communication by the physics project), but the solution for those people is to switch to using SetReplace directly.
In fact, the new API for SetReplace that we are working on right now would not even be technically possible to implement via function repository.
Thus, the correct upgrade path is to go from using WFR to using SetReplace directly.


Support for PyTorch 2.0

Hi Jianfei,
Thanks for sharing the great work. I have a workstation with a 4090 which requires at least cuda 11.8. For cuda 11.8, pytorch only has wheels with versions >= 2.0. I saw you were doing some fixes for pytorch 2.0. I wonder if it is ready so I can start playing with the neuralsim repo?

Update: I cloned the newest nr3d_lib with commit b4c5d81. I experimented with scan 1 in Replica and results look good.
Sorry I just noticed the issue #4 so this one can be closed.

:) Glad it works.


docs(LICENSE): unify license accross all active repositories

This PR aims to unify the licenses accross all active repositories
It

adds a License section to the end of the README.md
updates the package.json to include the correct license and author properties
adds a small boilerplate LICENSE file

This PR is based on hoodie-client-store#77.

merged via f6e5692, thanks :+1:


Full path is no longer being reported

With version 0.47.1 I always got the full path in the command line (via the console reporter):

/Users/niklas/dev/GitHub/vanniktech/app-location-history/src/androidTest/kotlin/com/vanniktech/locationhistory/screenshots/LocationHistoryScreenshotsTest.kt:33:1: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)

That allowed me to directly click on it and open the file. With 0.49.0 this behavior is gone and I only see:

src/androidTest/kotlin/com/vanniktech/locationhistory/screenshots/LocationHistoryScreenshotsTest.kt:33:1: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)

Which isn't clickable since I'm in the /Users/niklas/dev/GitHub/vanniktech/ directory.
Why was this behavior changed? I'd prefer the old behavior.

Duplicate of #1983. Will be fixed in 0.49.1 which is being released today.

Indeed, works with 0.49.1 👍


Would be even cool if we put "terrorists" inside the file.


Add windows build steps and wheel build scripts

@soumith

Codecov Report

Merging #998 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #998   +/-   ##
=======================================
  Coverage   62.69%   62.69%
=======================================
  Files          65       65
  Lines        5080     5080
  Branches      761      761
=======================================
  Hits         3185     3185
  Misses       1678     1678
  Partials      217      217

Continue to review full report at Codecov.

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


docs(operatorhub): Info about auto-releasing the bundle.

Depends on https://github.com/submariner-io/releases/pull/272
Signed-off-by: Steve Mattar<EMAIL_ADDRESS>

Thanks @SteveMattar - I've added a few comments. Please also note that the Markdown needs to be fixed.

As discussed on the PR/Issue scrub today, there are a number of other large tasks that this depends on (subctl split -> Operator SDK upgrades -> fixing the bundle -> releasing the bundle). Closing for now.