Revert "mm/iob: Replace the critical section with spin lock"

Summary
g_iob_sem.semcount is both manually changed in iob source code and api
nxsem_xxx.
nxsem related API uses critical_section to ensure sem value is modified
correctly. If iob using spin lock and modify sem value in the same time,
it's not safe.
This PR revert the spin lock change and uses critical section to align
with what nxsem uses.
Impact
iob can work correctly.
Testing
Originally tested with iperf2 tool. cc @wangchen61698

[Experimental Bot, please feedback here]
The PR summary is well-written and informative, clearly explaining the "why" and "how" of the change. However, it needs more details to meet all the NuttX requirements.
Here's a breakdown:
Strengths:

Clear problem description: The summary effectively explains the issue of inconsistent synchronization mechanisms between the IOB code and nxsem API, leading to potential race conditions.
Solution well-defined: The proposed solution of reverting to critical sections for consistency is clearly stated.

Areas for improvement:

Missing Information in Summary:

Functional part: Be specific about which part of the IOB code is affected (e.g., buffer allocation, freeing, etc.).
Issue/PR references:  Include links to any related NuttX issues or PRs to provide context and history.

Impact Section Lacks Detail:

Impact on user/build/hardware:  While the PR states "iob can work correctly," it lacks specifics. Are there any user-facing changes? Will build processes or supported hardware be affected? Explain clearly if not.
Other Impacts: Address the remaining impact points (documentation, security, compatibility) explicitly, even if it's to state "NO impact."

Testing Section Needs Improvement:

Insufficient Detail:  Provide more specific information about your testing environment:

Build Host(s):  OS version, compiler version (e.g.,  Linux Ubuntu 20.04, GCC 9.4.0)
Target(s): Architecture, board, and configuration (e.g., ARM Cortex-M4, STM32F4 Discovery board, default configuration)

Missing Logs:  Include relevant portions of the testing logs before and after the change to demonstrate the fix.
Testing Scope: Explain how iperf2 was used to test the change. Did it expose the original issue? How does the behavior differ after the fix?

Recommendations:

Expand the Summary: Provide more specific information about the functional area within IOB and link relevant NuttX issues/PRs.
Detail the Impact: Go through each impact category systematically.  Even if there's no impact, state it explicitly (e.g., "Impact on Build: NO").
Enhance the Testing Section: Provide a complete picture of your testing environment and include relevant log snippets that illustrate the issue and its resolution. Explain how your chosen testing methodology (iperf2) effectively validated the change.

By addressing these points, you can make your PR more comprehensive and easier for reviewers to understand and approve.


tympanic membrane perforation MP:0030414 - amend EQ

The EQ for tympanic membrane perforation MP:0030414 currently uses MPath term perforation MPATH:81
Need to replace MPATH:81 with perforate PATO:0002112 using new pattern:
"'has_part' some ('perforate' and ('characteristic_of' some %s) and ('has_modifier' some 'abnormal'))"

EQ for tympanic membrane perforation MP:0030414 now uses perforate PATO:0002112


Window Controls / close confirmation alert: Close window automatically after timeout

It's good to check with the user that it is okay to close or exit something before that app is allowed to close itself, but sometimes you may want it to automatically close itself when you're away, for example, when using software that exports something.
A good solution for these scenarios is to add a countdown that closes the window automatically when it ends and can be stopped by clicking a cancel button before it ends. Think the alert message that appears when you change your display settings, which has a timer to make sure that if you change something that makes you unable to see the screen, the changes will automatically revert after a short time.
Here's an example:
https://github.com/user-attachments/assets/5de8c1f9-8e57-40d1-a80b-d07dac4435e4
This would also involve replacing the alert() call, which can't time out, with a custom modal (which TurboWarp already has, it just doesn't yet have a specific modal for confirming to close a window and that times out).

Interesting idea. The original behavior was it closes regardless, but before merge Garbo was the one with the non packaged warning pop up. But how would it work with the current setup, because alert() effectively paused the code till dismissed.

I like the alert ui


Better SEO, OpenGraph, schema.org and clean generated code

I have made an html that generates all the information for OpenGraph and also the Schema.org in head.html.
Right now, schema it is intended for personal web use, it would be necessary to add an option if the web is from a laboratory or group to get correct Schema.org.
Schema test (my web).
OpenGraph test (my web).
UPDATE 1:
Added HTML compression to remove blank lines generated by liquid code. Thanks to jekyll-compress-html.
UPDATE 2:

Added: google and bing site verification
Minor corrections

CHANGELOG

SUGGESTION:
Adding:
sass:
  style: compressed

to _config.yml will also make the compiled CSS compressed.
In my testing, the assets/css/main.css file was reduced by about 2 KB.

@rohandebsarkar I'll try it tomorrow and add it.
Thanks!

Added the CSS compression suggested by @rohandebsarkar. Approximately 15% less weight is obtained.
Other suggestion:
I use tinypng to compress the images before uploading to the repository, I am sure that there must be some way to implement the API and that the process is carried out in the build.
Here is some information, we can see it for another pull request or try to implement it in this one.

Added the CSS compression suggested by @rohandebsarkar. Approximately 15% less weight is obtained.
Other suggestion:
I use tinypng to compress the images before uploading to the repository, I am sure that there must be some way to implement the API and that the process is carried out in the build. Here is some information, we can see it for another pull request or try to implement it in this one.

We can rather use the jekyll-webp plugin to compress and convert the images to WebP format.
WebP images are much smaller compared to PNG and JPEG, faster to load and most of the mordern browsers recommend it.
More information about WebP: https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#webp_image

Added the CSS compression suggested by @rohandebsarkar. Approximately 15% less weight is obtained.
Other suggestion:
I use tinypng to compress the images before uploading to the repository, I am sure that there must be some way to implement the API and that the process is carried out in the build. Here is some information, we can see it for another pull request or try to implement it in this one.

We can rather use the jekyll-webp plugin to compress and convert the images to WebP format.
WebP images are much smaller compared to PNG and JPEG, faster to load and most of the mordern browsers recommend it.
More information about WebP: https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#webp_image

I just tried it but I have not been able to convert the images of the blog (my main image already had it on webp).
Have you been able to prove it?
I have also seen a problem with the compression of HTML and the code blocks, I have done several tests and with a code block like the following, it does not display well:
{% highlight c++ linenos %}

int main(int argc, char const \*argv[])
{
    string myString;

    cout << "input a string: ";
    getline(cin, myString);
    int length = myString.length();

    char charArray = new char * [length];

    charArray = myString;
    for(int i = 0; i < length; ++i){
        cout << charArray[i] << " ";
    }

    return 0;
}

{% endhighlight %}

Later I will try this plugin that may work better: https://github.com/digitalsparky/jekyll-minifier

@jmrplens the jekyll-webp plugin is deprecated, we can rather use the jekyll-imagemagick plugin.
I opened a PR #498 to convert all images to WebP format.

Final commit.
Summary:

Added OpenGraph and Twitter Card metadata. (file: _includes/metadata.html)
Added Schema.org metadata. (file: _includes/metadata.html)
Added site verification (Google and Bing). (file: _includes/metadata.html)
Added new layout to parse HTML code. Loaded from default layout. (file: _layouts/parse.html)
Added HTML beautifier, has conflict with code blocks. Set in _config.yml. (Issue: https://github.com/threedaymonk/htmlbeautifier/issues/62). (file: _plugins/beautify.rb).
Added HTML minify. Set in _config.yml. (file: _plugins/minify.rb)
Added SASS compresion in _config.yml.
Small revision to update part of the code and not generate extra white spaces. It may need more changes. Whitespace Control.

this is a tremendous amount of work, thank you for sending this PR!! 🙏
LGTM overall. I left a bunch of inline comments below, most of which are very minor stylistic suggestions. it would be great if you could take a look and address some of them.

Thanks!
I will try to solve all the ideas and doubts soon. I'm doing it bit by bit :)

I have been editing while reviewing the generated HTML code (PR:https://github.com/alshedivat/al-folio/pull/481/commits/3808d418d5890ebfc3050a71754d69e04429c103), I have been able to fix everything except the content block (different for each page), it needs more time, but I think it is quite good.
Google HTML Formatting
W3 HTML Style
Some examples with personal data:
HEAD

BODY/HEADER

BODY/FOOTER & SCRIPTS

In PR: https://github.com/alshedivat/al-folio/pull/481/commits/5438a9a75fcf8c0dae9e5b1c0e6351c8bb470462
From this:

To:

Beautify bib generator. PR: https://github.com/alshedivat/al-folio/pull/481/commits/3fe1f3dd6fb9ff57fcec7230b3f180c796fc2d96
From this:

To:

I have made a new change. On the 'about' page, a subtitle is shown that may have HTML code (links, table, etc), this type of subtitle may be erroneously displayed in search engines. It is better to separate and have a subtitle variable and a description variable for the meta tag.
In the event that the subtitle does not exist, the description will be used.
PR's: https://github.com/alshedivat/al-folio/pull/481/commits/ea2a3963f25e096814abfde1718e7f8f5ea38d3f https://github.com/alshedivat/al-folio/pull/481/commits/f23793b366dd2874aea61b254ec792437ab6957c https://github.com/alshedivat/al-folio/pull/481/commits/964b0eb741054614d5f9cd3cef4fea3532bb44a3

@alshedivat About extra spaces.
The liquid code does not maintain the indents when a file is included, the spaces of the file that includes it must be inserted in the external file so that the HTML code is indented correctly.
For example in default.html when include head.html has 4 indentation spaces:
https://github.com/alshedivat/al-folio/blob/302c8e8c74dcb5120544b0df158f7901ef862850/_layouts/default.html#L12
In head.html the 4 indentation spaces are kept:
https://github.com/alshedivat/al-folio/blob/302c8e8c74dcb5120544b0df158f7901ef862850/_includes/head.html#L3-L18
I have not found another way to maintain the correct indentation. The indentation must be inherited when the external file is included.
Sorry about my English, is the explanation understood?

@jmrplens, thanks for making changes and explaining the reasoning behind indentation. I searched a bit and it looks like there is a related open issue in liquid: https://github.com/Shopify/liquid/issues/925.
I'm trying to understand this better: html beautifier is supposed to take care of white space issues and indentation, correct? are you trying to make html code look nice manually without having to use html beautifier plugin because of the issue with code blocks? or are you trying to achieve something else with these manual adjustments?
relatedly, have you seen jekyll-tidy? would it work better?

@jmrplens, thanks for making changes and explaining the reasoning behind indentation. I searched a bit and it looks like there is a related open issue in liquid: https://github.com/Shopify/liquid/issues/925.
I'm trying to understand this better: html beautifier is supposed to take care of white space issues and indentation, correct? are you trying to make html code look nice manually without having to use html beautifier plugin because of the issue with code blocks? or are you trying to achieve something else with these manual adjustments?

The idea is to reduce the white spaces to reduce the weight of the files (without reaching the extreme, minify) and also with a good indentation improves the analysis carried out by search engines.
As there is the problem with the code blocks, I don't see a good idea to use the htmlbeautifier in a general way, only for those that do not show code blocks on the web.

relatedly, have you seen jekyll-tidy? would it work better?

Jekyll-Tidy use htmlbeautifier, have the same problem :(

anyway, we can undo the extra indentation to improve readability, it's not critical.

@jmrplens, no worries, let's keep the extra indentation that you added (I appreciate the effort!). I'll go ahead an merge.
we should look into getting html beautifier working correctly. once the issue with code blocks is fixed, we should revert all the manual indentation and start using jekyll-tidy instead.


Redesign the CLI to make it more ergonomic.

Goals include (but are not limited to)

[ ] Ensure all stdout output is json
[x] Ensure users don't have to deal with intermediate steps (ex. tla generate-tests)

Stretch goals include

[ ] Add auto-fill functionality for typing commands
[ ] Allow giving model checking config options directly and also by passing a .config.json filename (or similar)

Closed by #93


Roll engine 33ad6757e883..eed16d34bd19 (4 commits)

git@github.com:flutter/engine.git/compare/33ad6757e883...eed16d34bd19
git log 33ad6757e883..eed16d34bd19 --no-merges --oneline
2019-09-19<EMAIL_ADDRESS>[flutter_runner] Explicitly set |trace_skia| to false (flutter/engine#12349)
2019-09-19<EMAIL_ADDRESS>[flutter_runner] Port the new compilation trace from topaz (flutter/engine#12348)
2019-09-19<EMAIL_ADDRESS>[flutter_runner][async] Migrate dart/flutter to new async-loop APIs (flutter/engine#12347)
2019-09-19<EMAIL_ADDRESS>[flutter_runner] Move from runner context to component context (flutter/engine#12346)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


Stuck at Sanity Check

Hi, I'm working on the docker setup and it looks like the sanity check code does not proceed.
This is the code that the document provides.
/isaac-sim/python.sh /isaac-sim/standalone_examples/api/omni.isaac.franka/pick_place.py

After running this, the code does not proceed anymore as below.
root@ubuntu:~# /isaac-sim/python.sh /isaac-sim/standalone_examples/api/omni.isaac.franka/pick_place.py
Starting kit application with the fillowing args:  ['/isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py', '/isaac-sim/apps/omni.isaac.sim.python.kit', '--/app/tokens/exe-path=/isaac-sim/kit', '--/persistent/app/viewport/displayOptions=3094', '--/rtx/materialDb/syncLoads=True', '--/rtx/hydra/materialSyncLoads=True--/omni.kit.plugin/syncUsdLoads=True', '--/app/renderer/resolution/width=1280', '--/app/renderer/resolution/height=720', '--/app/window/width=1440', '--/app/window/height=900', '--/renderer/multiGpu/enabled=True', '--ext-folder', '/isaac-sim/exts', '--ext-folder', '/isaac-sim/apps', '--/physics/cudaDevice=0', '--portable', '--allow-root']
Passing the following args to the base kit application:  []
[Warning] [omni.kit.app.plugin] No crash reporter present, dumps uploading isn't available.
[Info] [carb] Logging to file: /isaac-sim/kit/logs/Kit/Isaac-Sim/2022.1/kit_20240403_095716.log
2024-04-03 09:57:16 [2ms] [Warning] [omni.ext.plugin] [ext: omni.drivesim.sensors.nv.lidar] Extensions config 'extension.toml' doesn't exist '/isaac-sim/exts/omni.drivesim.sensors.nv.lidar' or '/isaac-sim/exts/omni.drivesim.sensors.nv.lidar/config'
[0.111s] [ext: omni.stats-0.0.0] startup
[0.130s] [ext: omni.gpu_foundation-0.0.0] startup
2024-04-03 09:57:16 [128ms] [Warning] [carb] FrameworkImpl::setDefaultPlugin(client: omni.gpu_foundation_factory.plugin, desc : [carb::graphics::Graphics v2.5], plugin : carb.graphics-vulkan.plugin) failed. Plugin selection is locked, because the interface was previously acquired by:
[0.136s] [ext: carb.windowing.plugins-1.0.0] startup
[0.151s] [ext: omni.assets.plugins-0.0.0] startup
[0.152s] [ext: omni.kit.renderer.init-0.0.0] startup

Hi Can you verify vagrant path is set up correctly as indicated in
https://arnold-docs.readthedocs.io/en/latest/tutorial/setup/index.html
part 4.

Hi, yes, I double-checked the vagrant path and found that the two paths are valid.

Hi, What is your driver version?

I tested extensively and a lot of the 525 drivers do not work at all.

I see, then it looks like I need to switch to the exact 525.60.11 or 535.113.01.
Thanks for your help!

Hi, @nikepupu
I tried 525.60.11 but it is still stuck at the beginning of the run.
I used the exact driver version (525.60.11) and ensured valid vagrant paths but it's still not working.
Do you have any thoughts on some possible reasons?
Thanks.

can you try to modify the file to set headless to True?

I tried, but the problem still remains.

what OS version are you using?

I'm using Ubuntu 20.04

maybe you can refer to this: https://forums.developer.nvidia.com/t/isaac-sim-hangs-on-ext-omni-kit-renderer-init-0-0-0-startup/246984/6

uninstall driver
delete:
/usr/share/vulkan
/etc/vulkan
install driver

Thanks! I'll try this.

BTW what GPU are you using?


Add NullableTypeHintForDefaultNullValueFixer

Resolves #3883

@julienfalque All the requested changes have been made (except the one with the tests being run on older php versions) & can be viewed in this commit https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4401/commits/7143e6d009e2c316e0d376a017269eef15401dbe.
Since the fixer's isCandidate method has the following condition, \PHP_VERSION_ID >= 70100, running the tests on older php versions results in the test failing with the messegae Fixer must be a candidate for input code., eg https://travis-ci.org/FriendsOfPHP/PHP-CS-Fixer/jobs/563275126. I don't see how the test can be run on older php versions, any help would be appreciated.

For test cases that expect no change, the arguments passed to doTest() method change: parameter 1 is the input and output code, and parameter 2 is null.
The error you get means parameter 2 is not null and thus treated as input code to be fixed, which requires the isCandidate() method to return true.
I would either:

remove the @requires annotation on the test method and conditionally pass null as parameter 2 to doTest() (when PHP version is lower than 7.1)
add a specific test that runs on PHP lower than 7.1 and always pass null as parameter 2 to doTest().

@HypeMC looking good :+1:
As this is a new feature, could you please edit the PR to target branch master and rebase your work on it?

@julienfalque Done.

Nice MR, great idea :)
The analyzing of the arguments in the fixer is very close to what the ArgumentsAnalyzer does, could we utilize that one (maybe together with the FunctionAnalyzer if that helps)?

@SpacePossum Done, I've used the FunctionAnalyzer.

@HypeMC Rebase against latest master ?

@drupol Done.

Good, nice feature :-)

@kubawerlos Tnx for the test, however, there seem to be some problems with the priority. The NoUnreachableDefaultArgumentValueFixer has a higher priority the NullableTypeDeclarationForDefaultNullValueFixer, but that priority is needed cause of the CompactNullableTypehintFixer. Not sure how to go about this one.

@kubawerlos The only way I was able to make this work was by removing the dependency to the CompactNullableTypehintFixer and adding the white space removal to this fixer instead (as you suggested) https://github.com/HypeMC/PHP-CS-Fixer/pull/2

@kubawerlos Any news on this one, are you ok with the changes suggested in https://github.com/HypeMC/PHP-CS-Fixer/pull/2 ? :smile:

@HypeMC please do not push --force as it hides what is new and what changes since one gave approve. The person who will do the merge will squash commits anyway.

Thank you @HypeMC.


Replace instances of dbt Cloud with a product variable

Contributions

[ ] I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates
You will need to search the repo for mentions of dbt cloud or dbt Cloud or cloud.
What part(s) of the page would you like to see updated?
For more information on how to use product variables, see Using global variables.
Let's use this product variable instead of the product name:

<Var name="dbtCloud" />

Additional information
No response

Closing to icebox and address at a later time


Implement CRT for RSA / BigNum

The rsa calculations can be speed up by using the Chinese remainder theorem instead of just a the straight forward modpow.  In my own library this caused speeds to more then double.  Additionally the inverse of the blind can be calculated more efficiently, switching from something like what you have to the one in bn.js caused performance to more then triple, in other words that one operation was more then twice as costly as all the rest of decryption combined.

asked frank/thai/quan if they are interested

leaving it open for (a)
as per (b) the inverse blind is as-is to keep the algorithm fixed timing.


✨ config.natives Insert native CSS rule text

Description
For example, built-in @master/normal.css with this configuration.
export const config = {
    natives: {
        normal: '*,::before,::after{box-sizing:border-box} ...'
    }
}

Disable it:
export const config = {
    natives: {
        normal: false
    }
}

There are no clear advantages listed.


Prefixes disapear after a zombies game

Hello, im using your plugin on 1.20.2 which works perfect. But after a zombies game (if you leave the game or die) the prefix in the tablist is just white and the prefix on players nametag is white also. They have to rejoin so their prefixes is set to normal, but in chat their prefix wont get temporary deleted, thats on of my plugins i coded by myself where players messageformat is changed if they have a specific permission. So players message gets cancelled and it broadcasts a message with Prefix Playername and their message.
Im using NametagEdit for players nametag format and tablist prefix
I found another way to get their prefix back, i just need to reload the NametagEdit plugin. Maybe is there a way if a zombie game ends the player runs a command? If not this is a suggestion for a new update on the plugin, where players can set a command in the config.yml that gets run when the player leaves a zombies game

I know that chat name changes can affect this plugin, but I haven't heard of this plugin messing with player names. Will have to look at the code for that


[Hub Generated] Review request for Microsoft.DeviceUpdate to add version stable/2023-07-01

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki. Note that this doesn't apply if you are trying to merge a PR that was previously in the private repository.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

@Sedols please fix CI check error.

@v-jiaodi I am left with API readiness check, which is expected because the version is not live yet in code (we are behind RPaaS). The Azure powershell failure I have no clue, I did not change anything for this version just removing the -preview from the version string. I see other RPs also having this pipeline failing.

@v-jiaodi I am left with API readiness check, which is expected because the version is not live yet in code (we are behind RPaaS). The Azure powershell failure I have no clue, I did not change anything for this version just removing the -preview from the version string. I see other RPs also having this pipeline failing.

The azure-powershell error can be ignored. Waiting for ARM team review.

@v-jiaodi is there anything else needed for merge? Thank you!

@Sedols
Do you have schedule when this api-version will be rollout?
We do not want to merge too early (your version is 07-01). Upon merge to main, the API is public, and showed in mslearn, and user may start calling it.

@weidongxu-microsoft we were planning to start the manifest rollout sometime next week, so it would light up in ARM in ~ 2 weeks. Is having a July version an issue for that?

@v-jiaodi is the July issue blocking if the version lights up second part of June, or should I re-name it to 2023-06-01?

@weidongxu-microsoft we were planning to start the manifest rollout sometime next week, so it would light up in ARM in ~ 2 weeks. Is having a July version an issue for that?

@Sedols I think 07-01 should be fine. I don't think it an issue if just off by half a month.
I'm fine if merge to rollout is about 1 or 2 weeks. Ping me again when you are ready to merge.

@weidongxu-microsoft / @v-jiaodi we are ready for the rollout, you can please merge the PR.


JS Version

Please also make JS version

yup! in the roadmap! 😎👉👉

@joaomdmoura, approximately when?


Ignore centerline check for avoidance

Note: Confirm the contribution guidelines before submitting a pull request.
Click the Preview tab and select a PR template:

Standard change
Small change

Do NOT send a PR with this description.

TESTED by Yusuf, OK


Mismatch between sensor state class and device class

Entity sensor.yearly_consumption_xxx (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Same issue as #56

I guess this is the same issue :
Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:506
Integration: Sensor (documentation, issues)
First occurred: 7:25:16 PM (6 occurrences)
Last logged: 7:25:16 PM

Entity sensor.daily_cost_with_subsidy_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.yearly_cost_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.yearly_consumption_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.monthly_consumption_compared_to_last_year_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.monthly_cost_with_subsidy_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Duplicate of https://github.com/Danielhiversen/home_assistant_tibber_data/issues/56


Create osiart

@TheMek0 lib/domains/ru/osiart: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TheMek0 Regrettably, this school does not qualify for this repository. The page https://osiart.ru/sveden/vacant/ that lists all the majors available in the school does not contain any IT-related subjects.
If you study some IT-related course there please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
I have to close the request without merging.
Thank you for your understanding!


Reflected XSS in logger's print function

A reflected XSS may exist due to the logger function not escaping HTML before potentially being displayed in the browser. Although the Content-Type is set to text/plain, some browsers may render as HTML if HTML is detected.
For instance, https://msdn.microsoft.com/en-us/library/gg622940(v=vs.85).aspx mentions the following:
"If Windows Internet Explorer 9 encounters an HTML document delivered with a "text/plain" content-type, the document will be rendered as plain text unless the site is rendering in Compatibility View. "
Expected Behavior

Content that could be displayed in a browser and interpreted as HTML has proper HTML escaping.
Current Behavior

HTML is not escaped in error messages
Possible Solution

Use html.EscapeString() in the logger.print() function
Steps to Reproduce (for bugs)

Browse to /uchiwa/aggregates/<img%20src%3d'vbscript%3aMsgBox%28"XSS"%29'> in a browser that renders HTML on detection

Alternatively,

Browse to /uchiwa/clients/<img%20src%3d'vbscript%3aMsgBox%28"XSS"%29'> in a browser that renders HTML on detection

Context

The instances listed in steps to reproduce above are detected as Reflected XSS in Fortify as a Critical issue
Your Environment

Uchiwa version used: 0.20.0-1
Sensu version used: 0.26.5-2
Operating System and version (e.g. Ubuntu 14.04): Ubuntu 14.04.1

Fixed by https://github.com/sensu/uchiwa/issues/620


Remove the repeated member listings from autosummarized modules

Since our modules list their members in a structured way within their docstring, we do not need a repeated list of members at the bottom.
Unfortunately, we are not able to specify this template per-autosummary, due to the hack in our conf.py to generate autosummary directives recursively. It seems safe to perform the global override.

Readthedocs looks ok, merging...


AttributeError [...]: 'Conda' object has no attribute 'info'

The following doesn't happen with --cores=1 or when using snakemake v5.32.0.
Building DAG of jobs...
Updating job cat_genomes.
Using shell: /usr/bin/bash
Provided cores: 2
Rules claiming more threads will be scaled down.
Singularity containers: ignored
Job counts:
	count	jobs
	3	plot_strains_kallisto
	3	plot_strains_pangolin
	1	test_non_cov2
	7
Select jobs to execute...

[Tue Mar  2 11:11:16 2021]
rule plot_strains_kallisto:
    input: results/test-cases/tables/strain-calls/non-cov2-NC_006213.strains.kallisto.tsv
    output: results/test-cases/plots/strain-calls/non-cov2-NC_006213.strains.kallisto.svg
    log: logs/test-cases/plot-strains-kallisto/non-cov2-NC_006213.log
    jobid: 197
    wildcards: date=test-cases, sample=non-cov2-NC_006213

[Tue Mar  2 11:11:16 2021]
rule plot_strains_pangolin:
    input: results/test-cases/tables/strain-calls/non-cov2-NC_019843.strains.pangolin.csv
    output: results/test-cases/plots/strain-calls/non-cov2-NC_019843.strains.pangolin.svg
    log: logs/test-cases/plot-strains-pangolin/non-cov2-NC_019843.log
    jobid: 194
    wildcards: date=test-cases, sample=non-cov2-NC_019843

[Tue Mar  2 11:11:16 2021]
Error in rule plot_strains_pangolin:
    jobid: 194
    output: results/test-cases/plots/strain-calls/non-cov2-NC_019843.strains.pangolin.svg
    log: logs/test-cases/plot-strains-pangolin/non-cov2-NC_019843.log (check log file(s) for error message)
    conda-env: /home/thomas/repos/snakemake-workflow-sars-cov2/.snakemake/conda/b0c2901e

RuleException:
AttributeError in line 153 of /home/thomas/repos/snakemake-workflow-sars-cov2/workflow/rules/strain_calling.smk:
'Conda' object has no attribute 'info'
  File "/home/thomas/mambaforge/envs/snakemake/lib/python3.9/site-packages/snakemake/executors/__init__.py", line 2326, in run_wrapper
  File "/home/thomas/repos/snakemake-workflow-sars-cov2/workflow/rules/strain_calling.smk", line 153, in __rule_plot_strains_pangolin
  File "/home/thomas/mambaforge/envs/snakemake/lib/python3.9/site-packages/snakemake/deployment/conda.py", line 512, in shellcmd
  File "/home/thomas/mambaforge/envs/snakemake/lib/python3.9/site-packages/snakemake/deployment/conda.py", line 508, in bin_path
  File "/home/thomas/mambaforge/envs/snakemake/lib/python3.9/site-packages/snakemake/deployment/conda.py", line 505, in prefix_path
  File "/home/thomas/mambaforge/envs/snakemake/lib/python3.9/site-packages/snakemake/executors/__init__.py", line 568, in _callback
  File "/home/thomas/mambaforge/envs/snakemake/lib/python3.9/concurrent/futures/thread.py", line 52, in run
  File "/home/thomas/mambaforge/envs/snakemake/lib/python3.9/site-packages/snakemake/executors/__init__.py", line 554, in cached_or_run
  File "/home/thomas/mambaforge/envs/snakemake/lib/python3.9/site-packages/snakemake/executors/__init__.py", line 2357, in run_wrapper
Activating conda environment: /home/thomas/repos/snakemake-workflow-sars-cov2/.snakemake/conda/b0c2901e
[Tue Mar  2 11:11:22 2021]
Finished job 197.
1 of 7 steps (14%) done
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /home/thomas/repos/snakemake-workflow-sars-cov2/.snakemake/log/2021-03-02T111114.848118.snakemake.log

fixed with 6.0.2


Fix error handling in http invoke.

Description
Fix error handling in http invoke.
ITs to validate invoke errors on http and grpc services.
Handle serialization of proto objects.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #461
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[X] Created/updated tests
[ ] Extended the documentation

We need to be really careful on upgrading dependencies ...

We need to be really careful on upgrading dependencies ...


Way to shrink resulting mrwebrtc.aar?

I noticed my mrwebrtc.aar ends up being about 10mb. Since an aar is already zipped that 10mb does get passed straight into the apk. Which is not huge, but a lot apps can be below 100mb, mine included, and this 10mb can add quite a bit of size to the apk in relation to that.
I am wondering, is there any additional settings that could be put into the libwebrtc compile, or the mrwebrtc compile, whether gradle or cmake files, to potentially shrink the resulting .aar down even more?

Not that I know of. libwebrtc is something like 10 millions lines of code if I recall correctly, handling audio and video encoding/decoding with multiple codecs, networking, encryption and secure handshakes, and more. This is a lot of things to do. If someone finds some optimization I am happy to add them, but we're already using all the common ones we know of, and Google is aware of this so I doubt we will find anything they did not already think about, having a dedicated team larger than us, and doing the same kind of optimization for Chromium (which libwebrtc is integrated in). Closing as Won't Fix as we don't have time to do an exploratory investigation without any lead or expectation to find something, and the size is around what is expected from experience on other platforms and from reading around on mailing lists etc. about experiences from other implementations.


aws-exports.js values not generated when using override.ts

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.20.2
Amplify CLI Version
12.12.6
What operating system are you using?
macOS
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
N/A
Describe the bug
When setting OAuth values in amplify/backend/auth/<app>/override.ts, for example:
...
resources.userPoolClient.allowedOAuthFlows = ["code"];
resources.userPoolClient.allowedOAuthScopes = ["openid", "email", "profile"];
...

These values are not added to the aws-exports.js file.
If the values are added to cli-inputs.json, for example:
"oAuthMetadata": "{\"AllowedOAuthFlows\":[\"code\"],\"AllowedOAuthScopes\":[\"email\",\"openid\",\"profile\"],

The values do appear in aws-exports.js:
"oauth": {
        ...
        "scope": [
            "email",
            "openid",
            "profile"
        ],
        "responseType": "code"
        ...
    },

My understanding is these should be equivalent and override.ts is the more modern way of adding these settings.
Expected behavior
aws-exports.js contains OAuth values when set from override.ts file
Reproduction steps

Use amplify/backend/auth/<app>/override.ts to add OAuth properties
a. e.g.resources.userPoolClient.allowedOAuthFlows = ["code"];
resources.userPoolClient.allowedOAuthScopes = ["openid", "email", "profile"];

Perform an amplify push
Notice aws-exports.js does not update

Project Identifier
No response
Log output
No response
Additional information
I may be misunderstanding this, and if using override.ts, there's another way of acccessing the values that are set, instead of using aws-exports.js, but I'm not sure what this process is if it exists.
Thanks!
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Marking as feature request for improvements.


barcodeTypes not working

From my understanding, we define barcodeTypes to only detect specific barcode, right?
I have added this
<Camera
ref={(cam) => { this.camera = cam; }}
barcodeTypes={(Platform.OS === 'android') ? ['qr'] : ['org.iso.QRCode']}
onBarCodeRead={(qrcode) => {
this.props.qrDetected({qrcode: qrcode});
}}
.... >
And in a specific scenario where QR code and barcode (code_128)is both existence, it will still read the barcode. How do I disable reading of anything other than QR?

Did you found any solution working for your to read QR codes?

Not at the moment. It seems like its not working at all?

To read the value of a QRcode, I've added to Camera the listener property like this
onBarCodeRead={this.readQR.bind(this)}
and on top of my class before the render()
readQR(e) {console.log('e',e)}
and you can see the properties of the object, in which you have type and data on Android.

Hi, well, that is simple, except, it still didn't allow you to only read specific type. The best you can from this snippet is to call an error when a wrong type is read, but that's just not good enough if this is a consumer app, and like in my situation, the ticket has two types of codes on it (QR and barcode).

+1

Notice that the property name is barCodeTypes and not barcodeTypes (just got bitten hard by this.)
https://github.com/lwansbrough/react-native-camera#barcodetypes

Please use RNCamera if you still experience these issues open a new issue!


Remove unused configuration

Removing Debug configuration. Most of them are not compiled anyway, and they also not used

For some of the solutions removed irrelevant OS configurations

Sending new PR


add uchar support

@paulelsner started this in 431b6bf1d355a7703045f800e39a7bf2768c8570. This needs to be finished and merged to master.

[ ] resolve the comments attached to the commit
[ ] implement simd_casts
[ ] extend all unit tests to also test uchar_v

Moving to 2.0, because I'm actually implementing it there.

Thanks, currently I have no time available for the project.

@paulelsner Yeah, sorry that it is taking so long and that I wasn't able to merge your effort yet. With Vc 2.0 I'm taking a shot at complete arithmetic types support (i.e. 8 to 64 bit integers and float, double, and long double, though the latter doesn't vectorize for obvious reasons).

uchar support (actually all integer types) is implemented and working in the mkretz/datapar branch


Allow SmartContracts that exist deeper than the top-level src directory

Describe the problem
If you have multiple smart contracts in your project, you may not want all of them to appear at the top of your src folder. However, currently this isn't supported
Notably, you can see from the usage of findSmartContractToDeploy that the zkapp-cli is able to find contracts in sub folders, but then throws away this information by calling path.basename(file)
Describe the proposed solution
Update the findSmartContractToDeploy function so that instead of returning just a filename, it returns the whole path below the src directory needed to find the contract
Alternatives considered
No response
Importance
nice to have
Additional Information
No response

Thanks. We'll look into this.


0.9.10 does not support versions with two digit segments

Version.parse("1.2.34") will fail since 34 is a two digit number.

I am currently on holidays so it won't be fixed before a couple weeks.
But I am open for pull requests! :)


Question: Do I need client.on('error') if I use try/catch?

This basic sample uses client.on('error'):
import { createClient } from 'redis';

const client = createClient();

client.on('error', (err) => console.log('Redis Client Error', err));

await client.connect();

await client.set('key', 'value');
const value = await client.get('key');

When is  client.on('error') called?
Do I need  client.on('error') if I wrap the code in a try/catch?
import { createClient } from 'redis';

try {
    const client = createClient();

    await client.connect();

    await client.set('key', 'value');
    const value = await client.get('key');
} catch (e) {
    console.error(e);
}

the error event is fired when a network error has occurred (which can occur at any point, not just when the code inside this try catch runs).


wg-infra Status Update 2020-02-03

What we did

Updated amp.dev release schedule page
Release tagging is live (PR Use: In Stable / Beta / Experimental)
Updated cherry-pick template with new release channel names
Added a way to build only the core runtime via gulp build | dist | watch --core_runtime_only
Clarified process for adding amphtml dependencies using yarn
Triaged backlog of infrastructure issues
Renaming AMP_CANARY cookie to __Host-AMP_OPT_IN

What's next

Default minified build (gulp dist) will now add config to runtime files
Performance tests as part of CI / release workflow
Make LTS and nightly channel widely available
Take steps to reduce CI flakiness (sauce labs, percy)

Also release automation for most of the AMP GitHub apps

Also lots of copy and editing work on the AMP Release blog post by @nainar and @rsimha

Is --core_runtime_only different than doing --extensions=amp-img?

Is --core_runtime_only different than doing --extensions=amp-img?

Yes, it only builds amp.js.

Any high-level plans for performance tests that can be shared yet? E.g. which metrics and how to manage data noise.
@rcebulko Curious what release automation for our GH apps is. A bit of an overloaded term. 😄

Any high-level plans for performance tests that can be shared yet? E.g. which metrics and how to manage data noise.

@estherkim is meeting with folks from @ampproject/wg-performance this week. We should have more on this in the next update.

@choumx See https://github.com/ampproject/amp-github-apps/issues/664
TL;DR - Previously only the author of each app (owners, bundle-size, test-status, pr-deploy, etc) could deploy an update in most cases, because it relied on manually deploying to GCloud with a .env with secrets and configs that couldn't be checked in and were rarely shared efficiently. Now any of us can push a tag and deploy an app using encrypted secrets and google cloud build.


c_skip, c_out for consistency model are actually not useful?

For the cacluation,
https://github.com/luosiallen/latent-consistency-model/blob/main/LCM_Training_Script/consistency_distillation/train_lcm_distill_sdxl_wds.py#L315-L318
# From LCMScheduler.get_scalings_for_boundary_condition_discrete
def scalings_for_boundary_conditions(timestep, sigma_data=0.5, timestep_scaling=10.0):
    c_skip = sigma_data**2 / ((timestep / 0.1) ** 2 + sigma_data**2)
    c_out = (timestep / 0.1) / ((timestep / 0.1) ** 2 + sigma_data**2) ** 0.5
    return c_skip, c_out

c_skip ~ 0, c_cout ~ 1 for any timestep !=0
here are c_skip, c_out values for timesteps 0,1,2,3 respectly

ipdb> scalings_for_boundary_conditions(torch.tensor([0,1,2,3]))
(tensor([1.0000e+00, 2.4938e-03, 6.2461e-04, 2.7770e-04]), tensor([0.0000, 0.9988, 0.9997, 0.9999]))

They are normalized in a weird way. c_skip + c_out**2 == 1

This is somewhat explained in the Consistency Models paper (p. 3):

For any consistency function f(·,·), we have f(x_ε, ε) = x_ε, i.e., f(·, ε) is an identity function. We call this constraint the boundary condition. All consistency models have to meet this boundary condition, as it plays a crucial role in the successful training of consistency models.

So these formulas are constructed such that for t>1, f(·,·) returns the output of the unet, but for t=0 it just returns the input image.
         | t=0 | t>0 |
+--------+-----+-----+
| c_skip |  1  |  ~0 |
| c_out  |  0  |  ~1 |
+--------+-----+-----+

This is somewhat explained in the Consistency Models paper (p. 3):

For any consistency function f(·,·), we have f(x_ε, ε) = x_ε, i.e., f(·, ε) is an identity function. We call this constraint the boundary condition. All consistency models have to meet this boundary condition, as it plays a crucial role in the successful training of consistency models.

So these formulas are constructed such that for t>0, f(·,·) returns the output of the unet, but for t=0 it just returns the input image.
         | t=0 | t>0 |
+--------+-----+-----+
| c_skip |  1  |  ~0 |
| c_out  |  0  |  ~1 |
+--------+-----+-----+

indeed.

The boundary condition is only specifed at the boundary t=0 IIUC but didn't say c_skip ~0 , c_cout ~ 1 for t>0.
Out of all the functions that satisfiy this boundary condition, a sharp step function like what we used is counter-intuitive to me.
I was expecting something like c_skip = exp(-at), and c_out = sqrt(1-c_skip**2), and a is learnable paramater for instance. The current setup is effectively hard coding a to so large that exp(-a) ~ 0 . Such discontinuity is forced between t=0 and t=1.

I was suspection it's not useful because the probabilty of sample t=0 to as target_unet input is small?

The boundary condition is only specifed at the boundary t=0 IIUC but didn't say c_skip ~0 , c_cout ~ 1 for t>0.

They indirectly do in the paragraph just above that:

I think the essence of this is that you may end up trying to denoise a noiseless image, which is an impossible problem so it needs to be treated as a special case. In my opinion, using the step function above would have been easier to understand.
For visual proof, place a breakpoint here, and you'll see the attempts to denoise an image at timestep 0 every once in a while and that's the exact case where the network output gets replaced with the original image.

Thanks.
I realized, when sampled timestep <k (DDIM step size), start_timestamp wil be zero.
This means if k=20 and num_train_timesteps=1000, theres 1/50 (20/1000) chance of getting input image as output for target_unet.  Previously i thought it was more like 1/1000.
Yes the code effectively implemented the first way of parametrization in the form of second way.
Initially, neither unet or target_unet is good, but we leverage c_skip to switch to noiseless image bypassing target_unet, we can help bootstap the the process.
0/noiseless image ---teaches---> [0, k] unet
[0, k] taget_unet ---teaches----> [k, 2k] unet
...
So the process, albeit discreet, also works, just like Bellman update.

If you take an actual look, $$t \in (0, 1000)$$ during sampling, it is way more larger than $$\sigma_{data} = 0.5$$. So most of the time $$c_{out}$$ is just 1 and $$c_{skip}$$ is 0 (less than $$1e-4$$ empirically).


Unable to remove sticker and wallpaper

I've installed doki theme over vs code and placed a wallpaper and sticker. Now even though I've removed the extension. I'm unable to remove it, could you please show the steps to remove them from my VS Code (also how to switch to different sticker /wallpaper)

I'll try to make the documentation more clear.
To remove assets:

Install Extension.
In the top bar navigate to View -> Command Palette
In the command pallet, type in Remove
Select Doki Theme: Remove Sticker/Background

https://user-images.githubusercontent.com/15972415/143423189-478a5da1-14aa-46b1-baa8-cf88321ea4b7.mp4
I also believe that the extension told you that you had to follow these steps to remove the stuff, the first time you chose to install, did that not happen?

Thanks a lot, Now I got the perfect theme I wanted using doki 😄

Regarding the text to remove a part, Nopes when I installed Doki it directly showed me the various theme options from there I selected. Later on the gifs, I came to use the wallpaper/stickers addon. But later on, got confused!

Very Nice!
I'll make the user experience better, so that way new users are less likely to get confused.

How to remove it from Visual Studio 2022

@Kathbadam in visual studio it is in the content settings Set DrawSticker to false.

can you please tell me the theme you have

@HEALER-PARK-BONG-SU
Ryuko Dark

Rem

Rory Mercury

Jahy

I was planning on re-sizing all the screenshots this weekend because they are super large and in-accessible for folks with slow internet.

@HEALER-PARK-BONG-SU
Ryuko Dark

Rem

Rory Mercury

Jahy

I was planning on re-sizing all the screenshots this weekend because they are super large and in-accessible for folks with slow internet.

thank you


unable to load XML in WMTS in iOS(Swift 4)

Hi,
I am trying to run WMTS sample. i am using this xml for getCapabilities in below URL:
https://api.lantmateriet.se/open/topowebb-ccby/v1/wmts/token/172d422a3e65e5010d95ac5fc27eda/?request=getcapabilities&service=wmts
When i am using this in browser, its giving me proper xml response,BUT in app swift code says invalid XML provided (For Ref: find attached Image below)
Please guide about that how to handle "getcapabilities" in Swift for URL because in sample code for JavaScript its Obvious but not clear for Swift Coding.
We are waiting for early response.
Thank You.

We'll look into this. Possibly a bug on our end

As part of sending out the "getcapabilities" request our code cleans up the URL.  Our experience has been that the clean-up we do makes the URL look more like what the URL standards specify and the examples we've seen.  Unfortunately, in this case our clean-up is causing some problems with the server you are using.  Our API does allow you to omit the "getcapabilities" query from the URL and in this case that works for the service you are using.  Here's what the line in the sample would look like - private let WMTS_SERVICE_URL = URL(string: "https://api.lantmateriet.se/open/topowebb-ccby/v1/wmts/token/172d422a3e65e5010d95ac5fc27eda/")!

Close due to inactivity.


miga get conflict between --file and --db

When passing a --file, the default database (nuccore) is kept regardless of the --db value. A workaround is to include a db column in the file, but this should be resolved.

In fact, all parameters are currently being ignored if --file is passed, it's not specific to --db. This is unexpected behaviour and should be corrected.


Added HR Queries

added 20 more queries
Issue # 📐

I <[your name here](your github profile link)> have worked for #

Guidelines 🔐
I accept the fact that I have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

My pull request closes #

Screenshots 📷
Here are the pictures of changes that I have made 🔽

Created a separate branch, closing this PR.


Request for non-media bypass clarification

Hello,
Can you please clarify what "Pending" for Non-Media Bypass | Media Bypass means for the added SBCs ? Thank you!
-- | --

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

ID: 1b1a1c01-10a9-7f69-1c7b-1a566b0f5112
Version Independent ID: 329ee759-40fc-98fb-b91e-87786c63024b
Content: List of Session Border Controllers certified for Direct Routing
Content Source: Teams/direct-routing-border-controllers.md
Service: msteams
Product: skype-for-business-itpro
GitHub Login: @jambirk
Microsoft Alias: jambirk

I believe that means that official support is currently under investigation but not yet completed.

@eunegut  - Thank you for submitting this feedback.
I was able to get this into the backlog for the Teams team. The team will get this clarification prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@CarolynRowe - this one's yours.

In Skype for Business we have SBC certificated and supported (By Provider), we have the same concept to Teams?

Hi @eunegut thanks for your feedback.
As @jambirk says, Pending means that Microsoft is still working to certify that feature with SBC vendors.
Hope this information has helped you.
Thank you!

@get-itips  Thank you very much for the contribution and sharing this explanation. @eunegut
Hope this comment is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Update minimal dependency version of Django to 4.1

This is in line with the current test matrix. Fixes #875

@bartTC thanks for sending this in and signaling the original issue. I just released 5.0.1, which includes this fix as well as some more fixes (and a note in the release notes to make sure to not miss this in the future)


Merge changes from connectome-neuprint upstream

Tagging @wrgr and @BrockWester FYI.

I still have this open so I'm just gonna merge it haha


Fix config categories and cleanup the config migrations.

Compact the configs migrations into one file (what ever your update you are, this will normalize you).
Compact some of the photos migrations.
Solve the category miss match from PR #350

Codecov Report

Merging #352 into master will increase coverage by 0.34%.
The diff coverage is n/a.

but I guess we could, by renaming the migration...

Yep :laughing:


Writing a for-in loop variable with a proper subtype of string should require a type assertion

🔎 Search Terms

"for-in" loop keyof type assertion

🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about Object.keys (https://stackoverflow.com/questions/55012174/why-doesnt-object-keys-return-a-keyof-type-in-typescript)

⏯ Playground Link
https://www.typescriptlang.org/play?#code/JYOwLgpgTgZghgYwgAgIICEDCyDeBYAKGWOTgC5kQBXAWwCNoBuQk5Oi6+plkhD2hlGYEAvoUIwqIBGGAB7EMhhy5ACjh0+aLAEpcPYgBsIYZAGsKZiAE85MbZmGtlUZKrPJQpTXvxFWvAoAznLGAHSGcgDm6poA2mYAumFgcgBiwAAeEAAmqjo6TiRiouIECMGmGgg5yAC8uOTIAIwANGwUAEztWgDM7TkcEADuyAAicJD5IsLKatU5hcQA9MvIgLwbgKU73ggJyakZ2bXAQZRyVUpSMvKKhEA
💻 Code
interface ABC {
    a: number;
    b: number;
    c: number;
}

function foo(abc: ABC) {
    let k: keyof ABC;
    for (k in abc) {
        console.log(abc[k].toFixed());
    }
}

const abcd = {a: 1, b: 2, c: 3, d: new Date()};
foo(abcd);  // 💥 abc[k].toFixed is not a function

🙁 Actual behavior
TypeScript allows this code without a type assertion on k.
🙂 Expected behavior
TypeScript should require a type assertion on k, whose type really should be string. Something like:
for (const kStr in abc) {
  const k = kStr as keyof ABC;
}

The code it allows is equivalent to a type assertion but does not use the word "as".
Additional information about the issue
This has been the behavior of TS forever, but I had trouble finding an issue requesting that TS be more strict about this, rather than less.
If you want to shoot yourself in the foot, you should at least have to write a type assertion somewhere.
Incidentally, the error you get if you write let k: "a" | "b" is a bit misleading given the behavior:
function foo(abc: ABC) {
    let k: "a" | "b";
    for (k in abc) {
    //   ~ The left-hand side of a 'for...in' statement must be of type 'string' or 'any'. (2405)
        console.log(abc[k].toFixed());
    }
}

string would be sound, but evidently TS only requires something that keyof ABC is assignable to, not string.

You're like the first person I've seen in forever advocating that the key should be typed string.  Everyone else complains that for (const k in abc) is typed string and instead wants it typed as keyof typeof abc (likewise for Object.keys(abc)).  And then when you argue with them, they go "but the excess property check tho" 😛
Anyway, I think this is a duplicate of https://github.com/microsoft/TypeScript/issues/49882, which links to #3500 and suggests that this might be intentional.

Thanks for that issue. This is definitely a dupe of #49882, though I think the title on this one is much clearer ("incorrect type using keyof and for..in" sounds like just another issue requesting the unsound behavior).

You're like the first person I've seen in forever advocating that the key should be typed string

Not quite :P see here (where you also left some comments in the past 😅 )

I also agree the variable should be typed as string but really hope they do not remove the let escape hatch before we have a real solution with exact types 😄

@Andarist -- wow, you have a PR for everything! :)
@ssalbdivad the "escape hatch" would be an explicit type assertion:
for (const kStr in abc) {
  const k = kStr as keyof ABC;
}

One more variable than the current form, yes, but the same number of lines of code and it's at least more honest about what's going on.
let k: keyof ABC;
for (k in abc) {
}

@Andarist -- wow, you have a PR for everything! :)

I do my best 😉

@ssalbdivad the "escape hatch" would be an explicit type assertion:

I also think that this is an acceptable escape hatch. It's at least honest about its nature so the reader can understand better what happens here.

@danvk @Andarist  It's obviously subjective, but the first feels much worse to me:

You have to come up with a second variable name
You're no longer being able to see key reference you should use in the loop declaration
Easy if you're not careful to reference the original key declaration (which is still in scope) and get confusing errors, especially when revisiting old code

It also feels like the upside is very limited:

It would be very hard to run into the current let behavior by accident
There are already many other cases where TypeScript will narrow in ways that aren't consistent with a structural type system e.g.:

type A = {
	a: true
	isA: true
}

type B = {
	b: true
	isB: true
}

const aOrB: A | B = {
	a: true,
	b: true,
	isB: true
}

if ("a" in aOrB) {
	// narrowed to A
	aOrB.isA
	//   ^?
}

Calling this behavior an anomaly in the first place is a bit of a stretch because it's an anomaly consistent with many other existing "anomalies" which are clearly behaving as intended.


Uncaught Error: Cannot read property 'object' of undefinedTypeError: Cannot read property 'objec...

[Enter steps to reproduce:]

...
...

Atom: 1.17.0 x64
Electron: 1.3.15
OS: Mac OS X 10.12.3
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at ObjectsRegistry.get (/Applications/Atom.app/Contents/Resources/electron.asar/browser/objects-registry.js:41:28)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:306:31)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
at WebContents. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:222:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
At /Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:217

Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
    at ObjectsRegistry.get (/Applications/Atom.app/Contents/Resources/electron.asar/browser/objects-registry.js:41:28)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:306:31)
    at emitMany (events.js:127:13)
    at EventEmitter.emit (events.js:201:7)
    at WebContents.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:222:13)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:191:7)
    at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:217:13)
    at undefined.remoteMemberFunction (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:113:18)
    at AtomEnvironment.module.exports.AtomEnvironment.getWindowDimensions (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:663:1)
    at AtomEnvironment.module.exports.AtomEnvironment.storeWindowDimensions (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:697:1)
    at WindowEventHandler.module.exports.WindowEventHandler.handleWindowBlur (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:184:1)
    at /Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:3:1

Commands
     -1:59.2.0 core:save (input.hidden-input)
  2x -1:33.2.0 core:backspace (input.hidden-input)
     -1:32 core:save (input.hidden-input)
  5x -1:19.6.0 core:backspace (input.hidden-input)
     -1:18 core:move-right (input.hidden-input)
     -1:15.1.0 core:save (input.hidden-input)
  9x -0:57.4.0 core:backspace (input.hidden-input)
     -0:55.5.0 core:save (input.hidden-input)
     -0:41.2.0 core:move-left (input.hidden-input)
     -0:22.8.0 autocomplete-plus:confirm (input.hidden-input)
     -0:19.3.0 core:move-left (input.hidden-input)
     -0:19.1.0 core:backspace (input.hidden-input)
     -0:18.8.0 core:save (input.hidden-input)
     -0:12.4.0 core:move-right (input.hidden-input)
     -0:12.2.0 core:backspace (input.hidden-input)
     -0:12 core:save (input.hidden-input)

Non-Core Packages
docblockr 0.9.4
git-plus 7.8.1
indent-guide-improved 1.4.12
indentation-indicator 1.0.0
language-dots 0.0.4
mdn-doc 0.3.0

Thanks for taking the time to contribute!
We noticed that this is a duplicate of #11692. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


[Develop] Missing return

    /**
     * Invoke application
     *
     * This method implements the middleware interface. It receives
     * Request and Response objects, and it returns a Response object
     * after dispatching the Request object to the appropriate Route
     * callback routine.
     *
     * @param  ServerRequestInterface $request  The most recent Request object
     * @param  ResponseInterface      $response The most recent Response object
     *
     * @return ResponseInterface
     */
    public function __invoke(ServerRequestInterface $request, ResponseInterface $response)
    {
        $routeInfo = $this->container->get('router')->dispatch($request);
        if ($routeInfo[0] === \FastRoute\Dispatcher::FOUND) {
            // URL decode the named arguments from the router
            $attributes = $routeInfo[2];
            foreach ($attributes as $k => $v) {
                $request = $request->withAttribute($k, urldecode($v));
            }
            return $routeInfo[1]($request, $response);
        }
        if ($routeInfo[0] === \FastRoute\Dispatcher::NOT_FOUND) {
            $notFoundHandler = $this->container->get('notFoundHandler');
            return $notFoundHandler($request, $response);
        }
        if ($routeInfo[0] === \FastRoute\Dispatcher::METHOD_NOT_ALLOWED) {
            $notAllowedHandler = $this->container->get('notAllowedHandler');
            return $notAllowedHandler($request, $response, $routeInfo[1]);
        }
    }

Looks like it might be just missing a return... but not entirely sure.

I can see where you're coming from, but no, it isn't. Dispatcher can only return three possible values, which match the three constants referenced in the if statements.
It probably would be better to refactor this to always return say, NOT_FOUND as the default return.

I'd be happy enough if an exception was thrown at the end of the method. If an upgrade to the router ever returns something unexpected, at least we'd know!.

:+1:

+1 making Not Found the default response.

I'll attack this later then.


How can I show a message to everyone if anyone join in video broadcast mode ?

Hello @Matrixbirds
My video broadcasting is working fine.
I want to invoke an event if anyone joined in the live broadcast video.
I tried
RtcEngine.sendMediaData('UserX Joined')
inside  RtcEngine.joinChannel method but its not working and give an error.
I am not sure how to do that.

Which platform u cause this error? Please listen on("error") event, and reproduce your case and paste your log here, BTW Can u tell me more about your scenario?

Actually I want to broadcast a message like "OneUser Joined in Live".  If anyone joined in any live broadcast.
After that I found "Agora-RTM" to solve this problem.
Now I cannot implement AGORA-RTM with Agora Video broadcasting.
Would you like to give me give me a better solution to show message like this ? :)

You could try to use agora-react-native-rtm, here is example.


Can Drap & Drop to change position ?

i need to drag and drop element on line up to change the position like forward , CB, CMF

Hi @HusseinElGanzory :

First of all there is a typology of question structure to make these kind of requests, and I took time to realize it, with various questions that help me to better understand how to help you.
Second, please be more discursive to explain the problem and not use acronyms.

Hi @HusseinElGanzory :

First of all there is a typology of question structure to make these kind of requests, and I took time to realize it, with various questions that help me to better understand how to help you.
Second, please be more discursive to explain the problem and not use acronyms.

hi @gaetanozappi
sure you play playstation . and do player or game setting . at plan setting you can move player up down right left when change or drag the player on lineup  dynamically his position changed like pic above

@HusseinElGanzory : This module only serves to show the positions of the players in the football field.
if you saw Usage, then see that two objects are defined, which are football teams.
With the related information which are: the name, the module and the team and _team_events.
Now calmly explain to me, step by step, what would you like this module to do?

for now you have fixed position screen player on left wing another one at right wing so on , my question it applicable to change position by drag and drop player on screen to change position you got me

@HusseinElGanzory :
You have an expo, if you try this and let me know if something like that is what you meant.
Link: Expo

@HusseinElGanzory :
You have an expo, if you try this and let me know if something like that is what you meant.
Link: Expo

great job ,yes exactly  but I need to replace player number with player position  and when move the player on playground change the position automatically based on movement

@HusseinElGanzory :
I'm not sure I understood all that you asked (maybe with drawings it would be more understandable), but what you are asking I don't think I can do it.

you can check image above I explain with picture

@HusseinElGanzory :
I don't know if I understood correctly, initially we assume that we have a: 4-2-3-1

Phase 1: A player (central defender) is moved from the defense to the center field (so he changes role, he becomes a midfielder). The formation becomes: 3-3-3-1
Phase 2: The player just moved (central midfielder) is moved from the midfield to the attack (so he changes role, becomes an attacker). The formation becomes: 3-2-4-1

Do you mean this?

@HusseinElGanzory :
I don't know if I understood correctly, initially we assume that we have a: 4-2-3-1

Phase 1: A player (central defender) is moved from the defense to the center field (so he changes role, he becomes a midfielder). The formation becomes: 3-3-3-1
Phase 2: The player just moved (central midfielder) is moved from the midfield to the attack (so he changes role, becomes an attacker). The formation becomes: 3-2-4-1

Do you mean this?

I don't need to change the plan like 3-3-3-1, 3-2-4-1 I need when drag the player on playground the position will changed like image above

https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&ved=2ahUKEwj18ovjkuzkAhVUAWMBHZNaDVAQjRx6BAgBEAQ&url=https%3A%2F%2Fwww.liveabout.com%2Foffensive-the-4-3-3-formation-3557643&psig=AOvVaw09ihoK1SLD6o6oQAGtdSpQ&ust=1569506828237212

like that image when move player on playground player position changed during movement

@HusseinElGanzory :
In the field there are two home and away teams, so the field space must initially be divided by two teams, with the respective teams lined up.
I can't understand what he wants me to do different from what the example I posted to you does.
If you can show me what you would like based on this image:

How the player's movement must be done
After moving the player, what his position should be and how the position of the players of his team and the players next to him should be
If the player makes a move that exceeds the center of the field (half of the opposing field) what situation must he have and what position must his opponents have?

Then in that case it would be clearer.
If not, you have the example I posted to you and you can modify it as you like, as you wish.

I suppose  to   have one team on playground then I can drag drop player and got the correct position

@HusseinElGanzory :
The module is not made, designed to have only one team in the field.
But let's move on, what position would you like to return, with respect to which point of reference?
Do you want coordinates [x, y]?

@HusseinElGanzory :
The module is not made, designed to have only one team in the field.
But let's move on, what position would you like to return, with respect to which point of reference?
Do you want coordinates [x, y]?

yes I need coordinates firstly  then I need make relation between coordinates  and position . when  I move player at that coordinates position of moved player will changing

sorry for annoying you .any update my friend ?


[Feature]: Implement useShippingProvider composable

How the project can be improved?
VSF 2.4.0 introduced useShippingProvider composable, that provides methods for managing shipping methods during a checkout.
Currently, the theme interacts directly with the API to pull available shipping methods or to save selection.
We should migrate to Vue Storefront's model, to keep it consistent and make use of some other VSF mechanisms (like shipping getters).
What are the acceptance criteria?

[ ] useShippingProvider composable is implemented
[ ] Calls to $spree in /pages/Shipping.vue are replaced with useShippingProvider
[ ] checkoutGetters for shipping are implemented
[ ] Handling multiple shipments works properly
[ ] Shipping cost displays correctly in CartPreview.vue (after it's selected during the checkout)

Additional information
No response
Code of Conduct

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

Hi @rafalcymerys
FYI, In Spree v4.4 we'll be adding some new (better) checkout endpoints:

Create new Payment - https://api.spreecommerce.org/docs/api-v2/b3A6MjYyODA2NTY-create-new-payment
Select Shipping Method - WIP - we'll be merged this week

So it will be easier to manage these during checkout than using the Checkout Update endpoint

Hi @damianlegawiec - this looks good, I know the old endpoint was a bit confusing.
Will Spree 4.4 still support the /checkout update endpoint as well, for updating payment and shipping?

@rafalcymerys new checkout endpoints are supported now in SDK - https://github.com/spree/spree-storefront-api-v2-js-sdk/releases/tag/v4.12.0


Skin of retribution bug | Reopening #2734

I updated to <IP_ADDRESS> and Skin of retribution still doesnt seem to be working when casting it on two characters (using Shared Spell metamagic). I created two new characters and leveled the sorcerer up to 3, went into a custom campaign (a simple room with 1 low level enemy I control) and Skin of retribution still only applies to the sorcerer and not the second character. (Both characters get the Temp HP, but the second character does not get the reflect damage applied to him)
Attached a save with 2 characters
Sorcerer with Shared Spell Metamagic + Skin of Retribution Spell
Cleric 1/ Barbarian 3
Steps to recreate

Cast Skin of Retribution with the sorcerer
2)Use Shared Spell Metamagic that only targets the ally
3)Apply Skin of Retribution to Cleric/Barbarian

Results
Cleric/Barbarian will get the temporary HP but not the Skin of Retribution Buff
Sorcerer will not get Temp HP BUT still will get the Skin of Retribution buff
Also attached UB settings xml file in case there is an issue there
testing chamber.zip
settings.zip

now it's fixed for real, lol.


Please add a license and screen shot

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license or a screen shot.
Please add a screen shot so people can see what the theme will look like without having to install it.
Also, please add a license, some people won't use any code that doesn't have an open source license. If you don't have one in mind, https://choosealicense.com is a good resource to help you pick one.

Hi, I added the license and screenshot. Thanks for the intention of sharing.

Adding in https://github.com/unixorn/awesome-zsh-plugins/pull/672


Avoid polling the Connection thread.

Description
Rather than poll the sqlite thread in the Connection class, asyncio.Futures can be directly used along with call_soon_threadsafe. This means less time is spent blocking the reactor loop. Additionally, the lock in execute() can be removed, allowing tasks to be queued.
Fixes: #14.

Looking at the existing perf tests from master compared to this branch, it actually seems to impact the performance tests by about 25-30% (see https://gist.github.com/jreese/833be89554f780be4d3ad77f6fcce780).  Is there a perf test you can add that would show the appropriate use case that's improved by this change? Perhaps @grigi would like to weigh in, since he has been focused on performance in some of his PR's?

The code looks great, and no more blocking of IO loop! \o/
I did run my set of benchmarks as requested by @jreese:
Before:
Tortoise ORM, A: Rows/sec:    1349.39
Tortoise ORM, B: Rows/sec:   10910.65
Tortoise ORM, D: Rows/sec:  141160.21
Tortoise ORM, E: Rows/sec:  145863.95
Tortoise ORM, F: Rows/sec:   35762.07
Tortoise ORM, G: Rows/sec:    2264.08

After:
Tortoise ORM, A: Rows/sec:    1279.76
Tortoise ORM, B: Rows/sec:    8562.35
Tortoise ORM, D: Rows/sec:  144420.41
Tortoise ORM, E: Rows/sec:  150447.14
Tortoise ORM, F: Rows/sec:   35700.39
Tortoise ORM, G: Rows/sec:    2274.15

The only things that suffered performance is the INSERT statements. Everything else is within margin of error.
Also note that all access here is still essentially serial, and we do no command queueing.  So we never ran into the locking issue that @m-schubert is referring to in #14
This was run with the standard IO loop with CPython 3.6.6
Hmm, I rerun the benchmarks using uvloop:
Before:
Tortoise ORM, A: Rows/sec:     943.22
Tortoise ORM, B: Rows/sec:   13561.98
Tortoise ORM, D: Rows/sec:  159249.75
Tortoise ORM, E: Rows/sec:  160451.04
Tortoise ORM, F: Rows/sec:   39497.91
Tortoise ORM, G: Rows/sec:    2913.24

After:
Tortoise ORM, A: Rows/sec:    1917.87
Tortoise ORM, B: Rows/sec:   14819.30
Tortoise ORM, D: Rows/sec:  166598.63
Tortoise ORM, E: Rows/sec:  167677.77
Tortoise ORM, F: Rows/sec:   41791.51
Tortoise ORM, G: Rows/sec:    2963.39

And here it looks like an all win :+1:
I suspect we are running into some kind of unoptimised case of call_soon_threadsafe but uvloop fixes it.

@grigi Thanks for taking a look!
@m-schubert Thanks for contributing this!


...........

......

Why did you "delete" the bug description? I think you are right.. the last should have count = 3.

Hello @sezooka , @zgabi ,
We also got the issue by email so I can still answer even if the description has been deleted.
Some child nodes are text (newline character). That’s why the count is different. (look to be different from the text in the description than the one provided by email)
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function


[Bug / Feature] stack for commands

Version Information:

Distribution Information ( run uname -a ): Linux 6.4.8-arch1-1
swhkd version ( swhkd -V ): 1.2.1

Describe the bug:
Commands chained by && seem to be executed together, disregarding mode stack changes. Example:
super + d
    @enter display

mode display swallow
b
    @escape && @enter display_selection && @enter brightness_selection && set_brightness.sh
endmode

mode display_selection swallow oneoff
{1,2,3}
    save_selection_to_file.sh {left,middle,right}
endmode

mode brightness_selection swallow oneoff
{1,2,3,4,5}
    save_brightness_to_file.sh {0,25,50,75,100}%
endmode

Expected behavior:
With @escape && @enter display_selection && @enter brightness_selection && set_brightness.sh, we expect when mode display_selection is popped, we continue to the next command @enter brightness_selection.
Actual behavior:
As soon as b fires @escape && @enter display_selection && @enter brightness_selection && set_brightness.sh, everything is executed right away, including the set_brightness.sh script, while we are still in the mode display_selection.
To Reproduce:
See example above.
Additional information:
Since we don't have the syntax like sxhkd as I mentioned in https://github.com/waycrate/swhkd/issues/67 , we can't exactly do a command with more than two expansions, e.g.
{1,2,3}; {b,c,t}; {1,2,3}
    display_setting.sh {left,middle,right} {brightness,contrast,temperature} {low,mid,high}

With the mode design, I can only get around it by temporarily saving a state for later use.
That said, mode actually provides a more clear and reusable design, if this bug/feature is addressed. For example, I can re-use the display_selection mode for not only brightness, but contrast, color temperature, etc., by entering that mode, and then continue with the next action.

@EdenQwQ can you provide your input on this?

@tsankuanglee Could you please check out #220 and let us know if the change meets your request

@EdenQwQ , I have not got a the chance to test the code yet (will probably be a few days before I find time to do that), but from the description of that PR, yes, it addresses exactly the problem I'm describing here. Thank you so much!

@EdenQwQ , I have not got a the chance to test the code yet (will probably be a few days before I can find time to do that), but from the description of that PR, yes, it addresses exactly the problem I'm describing here. Thank you so much!
By the way, the example you gave in your PR is much more concise and clear!

Thanks! We won't merge it without your feedback, but take your time!

Just an update that I'm still on this. I'm getting some weird rust index out of bounds errors:
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is<PHONE_NUMBER>3709551615', swhkd/src/daemon.rs:385:68

I'm also seeing this error with the release version, so I suspect it's something on my end. I'll resolve it and test your PR and report back.

Just an update that I'm still on this. I'm getting some weird rust index out of bounds errors:
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is<PHONE_NUMBER>3709551615', swhkd/src/daemon.rs:385:68

I'm also seeing this error with the release version, so I suspect it's something on my end. I'll resolve it and test your PR and report back.

It's weird because I though I've solved this issue with the latest commit in that PR. Could you run git pull in command_stack_devel branch and confirm that you're synced with the branch? I'm not sure why this also happens with the release version, if that still happens please provide the method to trigger the bug. Sorry for the inconvenience.

By the way, here's an illegal config that I accidentally used (see the last line: no endmode). This same config causes different behavior for the release version and your latest PR commit:

release version: no error given.
your latest PR commit: weird behavior. I had to use another machine to kill the process to regain normal keyboard control.

Not sure whether that's a useful data point for you to debug.
alt + ctrl + shift + super + w
    @enter web

mode web swallow oneoff
c
    @escape && touch /tmp/test
escape

@EdenQwQ can you look into this dear?


 I will try to rewrite it so that it is much easier to read and follow. I will also get rid of the minor errors (that don't prevent runtime) that appear in PyCharm.

Need to add frames to make the layout simpler and to group elements together.

tk.Button is different than Button. I may switch the type before 1.0


Fix links in readme

Coverage remained the same at 83.302% when pulling 3be1e616e71aee0b487a8b556ed2b5f1387a3d91 on arve0:patch-1 into 7cbfe71a798e81c87edfcd8a7d2e12586f119124 on bitpay:master.

Thanks


Use faster endpoint to get followers and followings for profile

@keybase/react-hackers
The endpoint for this uses uid, so this PR also makes changes to bookkeep uids for users as well.

Merge master after this gets pulled to fix CircleCI: https://github.com/keybase/client/pull/3753

👍


Windows 2000/98SE hang on boot.

I want to experiment running some old games using v86.
First I tried using Windows98 Second Edition. I Created an img of the system using qemu and got it to run properly. But when I try using the disk image in v86 It hangs. I've identified it as #250. I don't think there's a solution to this one so I tried windows 2000. Made an img of it in qemu and similarly, it starts to boot then just stops for apparently no reason.

Any help is appreciated

I've not tested Windows 2000, but Windows 98SE (RUS) (with VBE video driver) is working fine for me.

I also have the VBE driver. Do you think it's the language of windows 98 that could cause the issue? I'm using the English version.

Anything in the browser console? Can you check that the computer type is "Standard PC" in device manager?

Windows 98SE: I don't see anything that relates to the PC in the device manager and nothing in the console
Windows 2000: Under computer it says ACPI Uniprocessor PC and it says "Uncaught InternalError: too much recursion" in the console

I don't know what's going on in the 98 image.
In the 2000 image you'll need to change the PC type to "Standard PC".

I have the same issue.


Reconsider repository condition for CI execution

Currently, the CI workflows can only executed from this repository, but not from forks. Relaxing this condition would be useful for local verification using act. See https://github.com/optuna/optuna-examples/pull/1#discussion_r629863685.

Closing, since fixed with #24


Hyphen added

To make clear that it is "human-readable manner" and not "human manner".

@kevin-postman Thanks, changed proposal to "human-readable and machine-readable"


Added LeetCode Contest Solutions using Python

I have added my approach for following leetCode Contest

Biweekly Contest - 89 :: held on 15th October in Online Mode
Weekly Contest - 315 :: held on 16th October in Online Mode

Language Used :: Python for All solutions
Approach :: Brute force using dynamic programming
PS -- I will try to keep this repo updated in future also

great work  @RP2025  please give this repo a star follow me for follow back😊


fix(guides): review comments

Review comments for https://github.com/kumahq/kuma-website/pull/1749 appeared after the guide was merged. This is PR to resolve them.

I think there were a bit more comments in my review. We can chat about this on slack / zoom if you want to.


Test DbtYamlManager

After updating to 0.13.0 it appeared that it doesn't work neither with dbt 1.8, nor 1.7.

LGTM thanks for this. I'll cut a patch tonight.


[Bug]: GHA checkout problem in PRs

What happened?
ref: sa
How to reproduce the bug
https://github.com/luminarix/enum-concern/blob/b0628939d0a3f96e4640ad72cf16394ee830fa41/.github/workflows/fix-php-code-style-issues.yml#L23

Should be fixed in https://github.com/luminarix/enum-concern/pull/9


Feature Request: Show ratio

Please if you can add a field where the current ratio is shown for every torrent.
In my opinion this is all that is missing to be perfect.

The ratio is not available in the torrents info provided by the transmission integration.
Need to be implemented first ...

Yeah, thanks @royto , I was about to write the same.

Thank you, even without it you did a great job, it looks good.


Run shellcheck on all bash code

Signed-off-by: Jim Ramsay<EMAIL_ADDRESS>

@Miciah: This should address all your comments on the kubensenter script from https://github.com/openshift/kubernetes/pull/1327
Once this is merged I'll release v1.1.2 from this repo and import it there.


GUVNOR-2755: Guided Decision Table Editor: View Menu zoom level does not reset to 100% when re-opening Editor

See https://issues.jboss.org/browse/GUVNOR-2755
Moving to @Dependent scoped beans not only ensures the menus are correctly re-initialised but also means they work as expected when multiple Editor instances are open. Win, win!

@Rikkola @karreiro Could you please review when you get a moment.


fix canary ws connection ig

why ¿

(not sure which application use it but why only canary have '/' at the end)

Good spot, thanks!


Sorting Visualizer

Describe the project
This project describes all the sorting algorithm in animation form
Issue Type:

[ ] New Project

Additional context
Tech stack used :- HTML, CSS, JavaScript

Screenshots

If applicable, add screenshots to help explain your problem.

@codeburn12 Explain your idea

@Vanshiii203 Sorting visualizer shows pictorial representation of all the sorting algorithm like merge sort, bubble sort, selection sort, insertion sort, quick sort. The bars given will run and show how any sorting algorithm run when we run it . For example , in merge sort first elements divided in two parts, sorted then combine to form original array. this all will be shown by the bars.

@Vanshiii203 Bassically you can easily configure out how the algorithm run.

@Vanshiii203 Please alligned this project as it is most interesting project of DSA and it uses HTML, CSS, JS as tech stack.

@codeburn12 assigned to you. Make sure you only use html,css and js for your project

@TusharKesarwani please assign me this task.


Fix some typos / wordings

Fixed some typos and wordings while reading the 2.5 docs :)
Thanks for the great release!

Thanks @pstm - merged! Had to take out the Nuxt Module edit because those docs weren't supposed to be live yet anyways. Whoops!

Thanks @pstm - merged! Had to take out the Nuxt Module edit because those docs weren't supposed to be live yet anyways. Whoops!


Align the Semantic API functionality for compiler changes in resource path in resource access action

Purpose
$title
Fixes #38389
Approach
Scenarios are described here https://github.com/ballerina-platform/ballerina-lang/issues/38389#issuecomment-1318239225
Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Invalid


Unable to npm install phaser template due to package-lock pointing to apple npm registry

I'm trying to resolve an issue where setting up and installing from the Phaser template gives me the following error:
npm ERR! network request to https://artifacts.apple.com/api/npm/npm-private/process/-/process-0.11.10.tgz failed, reason: getaddrinfo ENOTFOUND artifacts.apple.com

The changes with the Apple registry were introduced when migrating to Webpack 5: https://github.com/SpringRoll/Springroll-Seed/commit/9ae0063437d85f7910d64372acdd93bd82e25ebd
An easy workaround is to update the address in package-lock from the Apple registry to npmjs.org.

nice catch @edmundito I'll be fixing this in a 1.3.1 release soon, appreciate the work

@edmundito this should be corrected in the 1.3.1 releases. I'm going to close the issue but if, somehow, it persists feel free to re-open