Missing code examples for Python

https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview?tabs=python
Python is supported for Durable Functions and has those HTTP functions, however they are not documented here.

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

ID: a29097a2-e7ac-f8ae-c8b9-65dd9707d089
Version Independent ID: b4d2634f-9551-5851-a3f3-a134ac1cf722
Content: HTTP features in Durable Functions - Azure Functions
Content Source: articles/azure-functions/durable/durable-functions-http-features.md
Service: azure-functions
GitHub Login: @cgillum
Microsoft Alias: azfuncdf

@iMicknl thanks for opening this issue. You are right that we're missing the Python-specific documentation here. We unfortunately didn't get around to updating all the docs yet with Python samples.
@davidmrdavid would you be willing to take a crack at this?
FYI @anthonychu

Hi @iMicknl,
I'm actively working to update the docs and samples, so you'll see those grow in scope in the coming days. I also saw you raising the need for a callHttp example here: https://github.com/Azure/azure-functions-durable-python/issues/134. So it's in the works!
I'll try to get something out today, at least in the samples directory. If I don't get to it today, it should be out early next week. Thanks!
@cgillum , of course, I'll take on this!

Thanks for the quick responses @cgillum / @davidmrdavid! And congrats with shipping Durable Functions for Python in preview.
My scenario was focused on consuming the Form Recognizer API, which delivers a 202 response. They offer an Python SDK, however that will keep polling during an Activity function execution which I don't really like. I would like to see if I can call the endpoint in my orchestrator via callHttp, where Durable Functions will take care of the Location header and 202 polling. (if I understood correctly).

@iMicknl
Thanks for clarifying. I have personally not used the callHttp functionality too much in Python Durable, thus the lack of samples, so I'll need to test that it is working as expected, especially considering that you seem to have had issues getting it to work correctly.
Just so I can try to base the sample on your scenario, are you trying to build an orchestrator that polls the Form Recognizer API in a while-loop? Some pseudocode would help me get you something as close as what you're looking for! Thanks! ⚡ ⚡

Let’s sync up next week. Been trying to find help with this. Joseph from DevDiv is willing to help as well (was talking to him about the tutorials).

https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-features?tabs=csharp#http-202-handling
My scenario is related to the described 202 handling part. I can easily work around this by doing a request to the service myself in an activity function, passing the URL from the location header to a new activity that runs in a while loop.

Blob trigger triggers orchestrator.
Orchestrator calls Form Recognizer API with image URL, API will return HTTP 202 with Location header
Orchestrator calls new URL to retrieve result, if not 200 and =! > 400 then retry retrieve result
Orchestrator returns result and saves to blob storage

However, I am not very experienced with Azure (Durable) Functions yet, thus some parts require a bit more efforts. I am currently able to find workarounds around the HTTP 202 handling and dynamic blob input bindings, but in the end I would like to keep it as close to the natively supported functionality. So I am not in a hurry for those examples.

I believe these features have been documented by now, are we good to close this issue @iMicknl?

I believe these features have been documented by now, are we good to close this issue @iMicknl?


Integrating with Visual Studio 2015

I'm very interested to see an example that explains how to integrate stealjs with ASP.NET MVC6, gulp, bower, babel and react and run the app on IIS Express like it exists on a production server.
An ASP.NET MVC6 application can be created with Visual Studio 2015 Community Edition. Using a gulpfile.js, the compilation can be done. This is important because, in production it is better to use the compiled JS files rather than using JSX to compile every time.

There is no specific integration with with MV6 or IIS, its just js you host on IIS that behaves the same in mostly any browser.

To compile the JS, you would just use Steal-tools. But I am curious what exactly you are looking for with this title of Visual Studio. Are you saying you want to see a .NET application that has react on the front end and which tools to use OR do you want to see a react single page application with a .NET API? There are many ways to build examples for that and this repo seems to be just a simple example of react with steal to prove that it can be done and very easily especially in development. When you start getting to production is when people have to find their own balance of how to render the screens/js/application.
Just to let you know, I am working for a company where I am building a .NET API with a React single page application using IIS to server it, and it is great, almost done in fact.


Set up a deployment that all members of your team can see to view the progress of the sprint

User Story: As product owner, I want code to flow through my pipelines in a manner that ensures quality and reliable output for my users.

this issue is the same as enabling GitHub pages?

This was resolved with enabling GitHubPages. Also resolved with enabling Actions, and refining the Docker deployment.


Some minor fixes for docs

While reading through docs, I noticed some minor problems with SQL queries and a typo, this PR fixes them.

Missing groupby
The last query is not valid for most DB engines, you need an alias for the subquery
typo componet

Hmm I think because this is a fork it doesn't have access to secrets, which is causing the tests to fail.
Since this is a docs-only change, it shouldn't actually need to run the tests. Will investigate


Spam accept

Not sure how much of a issue this really is.
But for servers with no cool down on WonderTrade, players can select the pokemon they want to trade & when the chat message pops up, instead of clicking on the accept button, if they click slightly above it, they can just keep spamming the wt trade command over & over without having to re-select the pokemon they want to trade.
Essential it spams chat but also gives players advantages over others as they don't need to go through the selection process again.

Yeah that's true, that's kind of a sideeffect of not using cooldowns, isn't it?
All the clicking does is run the following command: /wt <slot> --confirm which can be "spammed" even without a chat prompt in theory, but that's why the cooldown is in place, so player's can't abuse it to the extend you described, unless I missed something.


cagebreak: 1.4.3 -> 1.4.4

Motivation for this change
Update Cagebreak to 1.4.4

Cagebreak up to and including release 1.4.3 sometimes had null pointer dereferences on view destroy.

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/marvin opt-in
/status needs_reviewer


store: batch txn mutations in single Record

Fixes #93
The main intention of this PR is making #93 real. Apart from necessary changes for that issue, I took advantage and did others all under the mantra of simplifying things and make code more coherent.
The PR was bigger than expected, but I'm satisfied with all the changes. Some things in the code were a bit weird, but now all seem to fit more correctly.
I'll add many comments to help review.
This PR is still a draft since depends on merging a go-textile-core PR. When merged, a further go.mod change will be necessary.

mark


Chests Wiping Inventory

I doubt this is intentional, but it seems like if chunks are unloaded, chests will clear. This seemingly happens with player made chests as well as loot chests. Been quite frustrating.
Present as of 1.0-a9.2

Don't rub it in. It'll hopefully get resolved somehow.

Fixed in 1.0-a9.3, at least with a quick and dirty fix with disabling chunk unloading in singleplayer for the time being.

Didn't notice it was a duplicate of #27


Add basic support for '--targets/-t'

Fixes #16
This is just a quick draft, but I wanted to share early for visibility.

It uses a variant mask, since we will need one anyway for overlap queries. (Some of the code is inspired by https://github.com/sgkit-dev/vcf-zarr-publication/blob/52428c97822a35a7c29f150f35ec6bd7a29dad37/src/zarr_afdist.py)
I haven't thought about efficiency. The most glaring is that chunks that are masked out are not skipped - perhaps that should be done here. The linked issues in #16 could be looked at later.
It only handles a very limited part of the -t syntax - still needs to handle missing start/end, multiple targets, and the ^ syntax (for exclude).
I only implemented it for the C implementation branch. It would be easy enough to add for Numba, but perhaps we could drop that branch soon if the C branch has feature parity now?
It needs tests and perhaps a bit more doc.
We should add linting to the repo.

This is great, thanks! I think skipping fully masked out chunks is good enough in the first instance perf wise - otherwise I don't think this will be practical for looking bits of large datasets.

This addresses most of the things discussed above (skipping fully masked out chunks, adding numba, region start/end, multiple regions).
I also introduced pyranges and found that it made things simpler even for the --targets case, and will make the --regions option straightforward from here. I had a look at bioframe too, and it is very similar, but I noticed it has a dependency on matplotlib I'd rather avoid if possible.
Still need to add support for the ^ exclude syntax, and more tests for edge cases, but I think these can be added later. (I'm away for the first half of next week BTW.)

Thanks @tomwhite, this is great.
I'd be pretty slow to add external dependencies here, and I'm sceptical about whether we're really getting much value out of pyranges and pandas here for what we're currently doing. But, I'd vote we merge this and use it as a data point, and see if doing things with a simpler approach can achieve as good or better performance.

So, I'm happy to merge this now, if you are?

So, I'm happy to merge this now, if you are?

Yes, please go ahead! (Sorry for slow response, I was away for a few days.)

No worries, I knew you were away


Added DOOM | Update README.md

Doom Flipper Zero edition. https://github.com/p4nic4ttack/doom-flipper-zero

Gah, I meant to add this ages ago but completely forgot! Thanks for opening this PR.

Reopening so I can mark this as merged.


[FR] Ability to use specific database in Redis

Redis uses 16 databases in default Debian version.
This feature would be useful for avoiding mess up different kinds of data if the user use Redis for other than DNS caching.

This would be really helpfull, there are too many applications about which cannot set the DB and thus all collide in DB 0.

It seems logical databases do not have their own configuration but they share the same options as the redis instance.
By reading this and this it seems that having dedicated instances is the better approach.
So if configuration/performance/monitoring is not a concern, as it is not solved by logical databases, the only think left is key collisions I guess?
What is a current problem that this feature would solve? :)


Alfoa/opt features

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #111
What are the significant changes in functionality due to this change request?
This PR addresses issue #111. The normalization of the gradient and feature space is always done.
In addition, it adds an initial implementation of an adaptive stepping approach (line search using a surrogate model). This approach is not optimal yet but gives better performances than before.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?

@PaulTalbot-INL It is ready to be reviewed.


Apply Rebel coding style

A good coding style makes the code easier to read and troubleshoot. This PR defines and applies the Rebel coding style.
clang-format is used to standardise the coding style used. Although it does an amazing job, it is not bug-free, and sometimes clang-format does not apply the coding style as expected. Many of these issues can be resolved by modifying (simplifying!) the code, but not always. /* clang-format off */ can be used to disable clang-format in a particular section of code, but it should be used sparingly. It should not be used to "fix" a bug in clang-format, because, when the bug is fixed, it will continue to disable clang-format. If the unexpected application of the coding style cannot be fixed by modifying the code, but it is tolerable, it is better not to use /* clang-format off */.
This PR splits the application of the Rebel coding style into multiple commits. This makes it easier to see the changes that clang-format has made. This is especially relevant when the application of a clang-format rule has made some noticeably unexpected changes.
The application of the Rebel coding style revealed some hidden bugs. These have also been addressed.

Thank you!


Android Install Error on ubuntu 2204 images

Description
In the last couple of days, building ubuntu2204 images has started failing with error message:
==> build_vhd: Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
==> build_vhd: 	java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
We build this image ourselves based on runner version ubuntu22/20230724.1 on both Azure and AWS (AWS has slight modifications of the provided packer template) and both began erroring sometime around July 30.
Is it regression?
This exact version (ubuntu22/20230724.1) previously built without issues
Expected behavior
The android setup script to pass successfully.
Actual behavior
Above error
Repro steps
Run the ubuntu2204 packer script using up-to-date ubuntu on either AWS or Azure's current images

This seems similar to previous issues #7015, #6989 and #6985.

I confirm similar failure in our nightly builds

We are also facing the issue in ubuntu20.04 OS version.
==> amazon-ebs.shared-services: Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
==> amazon-ebs.shared-services: 	java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Hey @samjarrett, @mnr3395. The issue should be fixed now. Please sync you code with main branch before retrying.

@vpolikarpov-akvelon have also been experiencing this issue for the last 2 days.  I tried again right now and got the same error.

@vpolikarpov-akvelon working for me now, thank you so much!

Hey @jeanhipages. Could you please ensure that you build image using the latest commit from the main branch?

@samjarrett, thank you for your feedback. Feel free to reach out again when you have other questions.

Hey @jeanhipages. Could you please ensure that you build image using the latest commit from the main branch?

@vpolikarpov-akvelon we're using github agents not pulling code and building locally.  i've tried ubuntu-latest and ubuntu-22.04 but neither work.  I'm not sure how else to make sure I get an agent with the pinned cmdline-tools version?

@jeanhipages, this thread is about image generation problems that have been already resolved. As your issue is different please start a new thread and provide some steps how to reproduce it. We'll be glad to help you if it's in our hands.


Add full tags support for posts

Posts now contain a tag object instead of a simple string. The object provides
a tag name as a string and build a url for tag. We patch the posts with those
objects before the documents are built.
Fixed #93

Coverage increased (+0.78%) to 76.19% when pulling aff89b46b217ee9675c0ab9ebbcb526e08d3e517 on tags_for_posts into fd5ae3ec3bb3ee357cd40035a020b4efe22b50f4 on master.

Coverage increased (+0.56%) to 75.97% when pulling ce76a365ca9988536d1765b85236ef367dec6dbf on tags_for_posts into fd5ae3ec3bb3ee357cd40035a020b4efe22b50f4 on master.

Coverage increased (+0.44%) to 75.85% when pulling 777bd41b608eb2edc9924dbf1cec670fcbab2f9a on tags_for_posts into fd5ae3ec3bb3ee357cd40035a020b4efe22b50f4 on master.

Coverage increased (+0.73%) to 76.14% when pulling f16fb744e813dcf45ec470b0dea97a2a3229c1ac on tags_for_posts into fd5ae3ec3bb3ee357cd40035a020b4efe22b50f4 on master.


[Feature] Improve google_maps_flutter performance with large datasets by allowing imperative map updates

Use case
Hello, here is my use case below around a performance issue I have encountered, that this new feature would resolve.
An app displaying a map with thousands of elements (markers, polylines, polygons, circles) on it, where the user can select filters to make elements show / hide / change while keeping a continuous 60 FPS smooth UX.
This is not possible today in the current state of the google_maps_flutter library, for example:

for markers, you need to use the markers parameter of the GoogleMap widget
if you go from 0 markers on the map to 3000, then you need to update the markers parameter from an empty list to a 3000 items list, which will consequently freeze the UI for a noticeable amount of time (over a full second on some devices)
if you have 3000 markers on the map and want to modify just one marker (e.g. change its color/icon when clicked to visually "select" it), then the update of that one marker takes a significant amount of time (more than a few frames on most devices) because even though you updated a single marker, you still need to pass the list of 3000 and those lists need to be re-compared to make a smart delta update of a single marker

Even though declarative handling is very well implemented google_maps_flutter, the declarative approach has its limits in use cases like this one, where having the ability to imperatively update the map objects is needed.
Proposal
I would like the google_maps_flutter library to allow updating map objects imperatively, through the GoogleMapController for example.
I have addressed my use case by implementing a modified version of google_maps_flutter where it is possible to update map objects imperatively instead of declaratively, you can find the code here - in this alternative implementation:

map object updates are throttled and queued to no more than a few per frame so the UI thread is never frozen by map updates
updating 3000 markers might take several seconds where you'll see markers pop on the screen gradually rather than in one shot
this is slower than updating all 3000 at once, but the UI remains smooth and responsive the whole time
the UI state is eventually consistent
from a user's perspective, this almost looks like an animation of markers appearing / loading

I have been using this in my production app with over ~30k daily active users since about March 2023 and so far it has been working great - note that I was using a closed source modified version of google_maps_flutter: 2.2.4, I've open-sourced this link above recently while upgrading my Google Maps library dependencies, I'll be using that github fork for now as a dependency in the meantime.
This works for my use case, but it is a minimal implementation just for me so it no longer allows to declaratively update markers / polylines / polygons / circles - a full implementation would allow both declarative and imperative, reserving the imperative approach for specific use cases requiring it.
I might be interested to invest more into this implementation if it has a chance of being merged back to the main google_maps_flutter library, please let me know if this is a feature you might want to add in - but if it is deemed too much of an edge case I would understand.
Thanks.

High-object-count use cases is definitely something we do want the plugin to support. Doubling the API surface for all objects is a potential concern though, so we would want to evaluate options to see if the new API surface is the best way to get reasonable performance on that.

if you go from 0 markers on the map to 3000, then you need to update the markers parameter from an empty list to a 3000 items list, which will consequently freeze the UI for a noticeable amount of time (over a full second on some devices)

This part could still be handled with the current declarative system by just iteratively adding to the declarative set, using the same queue/throttle system, right?

the update of that one marker takes a significant amount of time (more than a few frames on most devices) because even though you updated a single marker, you still need to pass the list of 3000 and those lists need to be re-compared to make a smart delta update of a single marker

This sounds like we may need to improve the delta calculation; that seems surprisingly slow. I think the next step here would be to see why this is taking so long and if we can improve it; ideally the delta calculation to convert to imperative on the SDK side should be fast. If it can't be made fast, exposing an alternate API does seem like something we should consider.
Thanks for raising the issue and bringing us a proposal for an option to address it!

Hello, thanks for taking a look, I'll add to what you wrote below.

if you go from 0 markers on the map to 3000, then you need to update the markers parameter from an empty list to a 3000 items list, which will consequently freeze the UI for a noticeable amount of time (over a full second on some devices)

This part could still be handled with the current declarative system by just iteratively adding to the declarative set, using the same queue/throttle system, right?

Yes, maybe. The only extra thing I can think of that you'd get from the imperative approach would be a more granular control over the queuing itself.
For example: all markers on the map can be appearing over time slowly, but when I tap a marker, I want that marker to change appearance immediately, I don't want its update to get queued like the others, that's what the realTime  boolean parameter is for in the alternative code I linked.
But I'm guessing this could probably be mostly addressed in the declarative implementation by adding a realTime parameter to markers, polygons, polylines and circles.

the update of that one marker takes a significant amount of time (more than a few frames on most devices) because even though you updated a single marker, you still need to pass the list of 3000 and those lists need to be re-compared to make a smart delta update of a single marker

This sounds like we may need to improve the delta calculation; that seems surprisingly slow.

To be fair, I made that assessment between mid-2022 and early 2023, things could have changed since then...
If it helps, I could build a quick proof of concept app sample to demonstrate the limitations I'm trying to address with this feature idea?

A minimal demo app that demonstrates the performance problem would definitely be useful, to make it easier for someone to jump in on profiling.

I created this minimal demo app to showcase the performance problem of updating a single marker when there are thousands of markers:
https://github.com/androidseb/sample_google_maps_flutter_performance_problem_demo
I have also recorded a video showcasing the issue from this project:
Screencast from 13-04-2024 19:36:45.webm
Note that I ran this in debug mode in my emulator because it was easier to record the video, but the performance is much worse on a real device, even running in profile mode, clicking a marker can take over 10 seconds to respond visually.

This is a very common use case, I have experienced the same issue since 2019 from version 0.5.19, my users seem to put up with it but it is definitely slow and makes our app look poorly coded, if we could achieve a similar performance as to the web, it would be highly appreciated by the community.
Just to clarify, you don't need 3000 markers for the performance to start being an issue, it happens even with 100-200 markers already. This also applies to polygons, lines, etc. Updating a polygon's state, could take a full second depending on the number of objects you have in the map.

Any news on this?

Any news?


Escape character notation for unicode and escape characters does not work

Steps to reproduce
"`u{2195}"

The following command outputs Green text.
$fgColor = 32 # green
"`e[${fgColor}mGreen text`e[0m"

Expected behavior
"`u{2195}" should output the character '↕':
"e[${fgColor}mGreen texte[0m" should produce the ANSI escape sequence for Green Text.
Actual behavior
u{2195}

e[32mGreen texte[0m

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.15063.674
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.15063.674
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

I don't think PowerShelll has Unicode literals support. Closest would be something like this
"Some $([char]0x2195) Text"

Some ↕ Text

@sdwheeler I see that. Maybe that is new to 6.0 and somehow that was added to the older docs. When I look at get-help about_special_characters on my local system for 5.1 the  `u{} usage is not listed.

I don't see these in the 5.1 docs.  Are you sure you have the version filter set to 6?

@rkeithhill I see them in 3.0, 4.0, 5.0, 5.1, and 6.0

Yes, for about_special_characters.  Something got screwed up there.  But the about_escape_characters topic looks correct - 6 only, right?

OK, this appears to be new in v6. The  about_Escape_Characters and about_Special_Characters are duplicate articles. I am consolidating them into one.

Yup, about_escape_characters looks fine.
@sdwheeler can you create an issue in PowerShell-Docs?

@markekraus I am already working on this topic via https://github.com/PowerShell/PowerShell-Docs/issues/1370.


Support CI_JOB_STATUS in after_script

Minimal .gitlab-ci.yml illustrating the issue
---
job:
  script:
    - echo "Heya"
  after_script:
    - echo $CI_JOB_STATUS

=> CI_JOB_STATUS is empty
Expected behavior
Variable CI_JOB_STATUS should be set with "success" here (or "failed" if main script failed)
See doc
Host information
Ubuntu 20.04
gitlab-ci-local 4.1.33

Nice, i wasn't aware of this variable 😁


Update tooltip custom label example

The canvas.getBoundingClientRect()

returns the size of an element and its position relative to the viewport

So the tooltip should also reflect that as fixed positioning and not absolute

@jung35  can you build a jsfiddle with this change?

I also added pointerevent none because you can't hover over data points with the tooltip blocking from hovering over data point
here is example with
absolute https://jsfiddle.net/r3Lz7371/ .
vs .
fixed https://jsfiddle.net/r3Lz7371/1/

With position: fixed, if we scroll while the tooltip is displayed, the tooltip doesn't follow the chart but stays under the mouse (which is also a valid use case). With position: absolute, we need to take in account the x/y scroll position:
var pos = this._chart.canvas.getBoundingClientRect();
var x = pos.left + window.pageXOffset;
var y = pos.top + window.pageYOffset;

// ...

el.style.left = x + tooltipModel.caretX + 'px';
el.style.top = y + tooltipModel.caretY + 'px';

// ...

https://jsfiddle.net/r3Lz7371/16/
I think I prefer the absolute behavior because it works better if the tooltip always stay visible, but since it's an example and thus a matter of taste, I don't really mind.
@benmccann @etimberg?

I agree @simonbrunel @benmccann. Absolute is better to me

@jung35 can you update to use absolute?


[fuzz] Added validations for WeightedCluster and AdaptiveConcurrency

Commit Message: Added validations for WeightedCluster and AdaptiveConcurrency
Additional Description:
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

/assign @asraa


roboticsgroup_gazebo_plugins: 0.1.0-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository roboticsgroup_gazebo_plugins to 0.1.0-1:

upstream repository: https://github.com/roboticsgroup/roboticsgroup_gazebo_plugins.git
release repository: https://github.com/roboticsgroup/roboticsgroup_gazebo_plugins-release.git
distro file: melodic/distribution.yaml
bloom version: 0.9.7
previous version for package: null

roboticsgroup_gazebo_plugins
* Added DisableLink Model Plugin
* Added sensitiveness parameter to MimicJointPlugin
* Added maxEffort parameter to MimicJoint plugin
* Added PID control capability to mimic joint plugin
* Move catkin_package macro so it is called before targets are defined.
  Fixes plugins not getting found when doing isolated builds
* Add missing setForce() call (otherwise PID option doesn't do anything)
* Support of Gazebo 7 was added
* Support all PID gain parameters, dynamic_reconfigure
  This change does the following:
  * the PID controllers will read all PID gain parameters (p, i, d, i_clamp, antiwindup, publish_state, ...)
  * a warning will be printed if none of those parameters could be found
  * it's possible to adjust the parameters using dynamic_reconfigure
* Adjust to Gazebo 8 API
  Note about the DisconnectWorldUpdateBegin: This function was deprecated
  in favor of resetting the ConnectionPtr, see here:https://bitbucket.org/osrf/gazebo/pull-requests/2329/deprecate-event-disconnect-connectionptr/diff
* Add fix for gazebo_ros_pkgs#612
  This issue also affects the mimic joint plugin:https://github.com/ros-simulation/gazebo_ros_pkgs/issues/612The commit here fixes that issue for Gazebo 9. We should change the
  GAZEBO_MAJOR_VERSION check to >= 7 if the following PR gets backported
  to Gazebo 7 and 8:https://bitbucket.org/osrf/gazebo/pull-requests/2814/fix-issue-2111-by-providing-options-to/diff
* Add warning when triggering gazebo_ros_pkgs#612
* Update parameters
  * Default max effort to limit from sdf model
  * Default namespace to empty string
  * Fix sensitiveness calculation
* Add option to change the namespace of the pid
* Set CMP0054 for building with Gazebo9
* Use SetParam for effort limit

Thank you for the comments. Yes, it's annoying, but I cannot really blame you :smiley:
I'm closing this, and the sibling PR, since I'm gonna have to release again under the new name.


build: use rules_cc

Description:
Partially address #9488. Almost generated change by applying buildifier -lint=fix.
Risk Level: Low
Testing: local
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Lizan Zhou<EMAIL_ADDRESS>

@lizan can you do a distinct PR with the buildifier linting and add that check to CI? That will make this PR much faster to review.

@htuch I tried to add that to check format but it doesn't play nice with the envoy_build_fixer.py (around load/license order etc).

@htuch FYI only bazel/repositories.bzl and bazel/repository_locations.bzl are manual change.

@lizan envoy_build_fixer.py is using Buildozer. Is this not compatible with buildifier? Are there CLI flags to better align them? We could always add a buildifier pass at the end of envoy_build_fixer.py.


Support for rxjs Observables.

Has this been considered? I've been using the library and it's great, but everything is promise-based when angular tries to promote the use of Observables.

There is an observable events that informs you about things that are going on.


crash w/ latest 1.18.2 version, can't even start the game

here's log
https://paste.ee/p/vMCPz

The latest 1.18.2-<IP_ADDRESS> needs Forge 40.0.47+

thanks


Update icon.rb

Hello Andy!
I am slowly figuring this GitHub thing out and am fairly new to Ruby as well, so let me know if I'm going about this the wrong way. :)
I have added the modify method to icon.rb, which implements most of the options available on the game-icons.net studio. You can now use the color presets, or add a frame, stroke, gradients, shadow, etc. to your icon.
It will also accept all the same color strings as Squib does!
Here are a few test lines you can drop into Squib to see what it does:
svg data: GameIcons.get('spiral-lollipop').modify(preset: 'candy', shape: 'star7').string, layout: 'art', width: 400, height: 400, x: 200, y: 200
svg data: GameIcons.get('chocolate-bar').modify(shape: 'rounded-square', cr: 128, bg_gradient: 'o', bg: 'light_brown', bg2: 'dark_brown', fg_gradient: '/', fg: :chocolate, fg2: :chestnut).string, layout: 'art', width: 400, height: 400, x: 200, y: 600
I hope you find it useful!

Coverage decreased (-38.06%) to 61.0% when pulling 267b92c1fceef51230f1553c08fb83f63799e1e1 on YoungWillem:modify into f108e7211e4b860292487bcbee79ce1640a3ec02 on andymeneely:master.

This is really interesting - thank you for the PR! I don't think I'm going to integrate it - I want to keep this library simple and if people want to do more custom modifications they can on their own. I'm going to go over this and document some snippets, though, so that people can adapt to their liking.


Dependency test issue within test_imports.py

When implementing sequence annotations, we created ga4gh/gff3.h as a parsing library for the gff3 file format. It is being used within the codebase for ga4gh/datamodel/sequenceAnnotations.py - but as such, it fails the dependency checks in tests/unit/test_imports.py:
PolicyException: module 'ga4gh/datamodel/sequenceAnnotations.py' in moduleGroup 'datamodel' has dependency on module 'ga4gh/gff3.py' in moduleGroup 'libraries'

Now, as far as I understand it, a library contains code that is used in higher application layers, so I thought this was just an accidental mis-ordering of dependencies. But when I reversed that part of the dependency graph (so that datamodel can use code from libraries but not vice versa), I got this:
PolicyException: module 'ga4gh/converters.py' in moduleGroup 'libraries' has dependency on module 'ga4gh/datamodel/reads.py' in moduleGroup 'datamodel'

Which breaks my understanding of what a code library is meant to be here, and prevents me from writing actual library-like modules for use within datamodel code.

@macieksmuga please comment this out until @dcolligan can resolve this.

I agree with @diekhans.

@saupchurch proposed a simple workaround for now, placing the gff3 parser in the datamodel module group until the underlying issue is resolved.

@macieksmuga can you point me to a branch where you see this error so I can reproduce it?
The moduleGroup name libraries is just a name... we can rename it to whatever we want.  The first error seems to be a correct operation of test_imports.  The second error you listed seems incorrect: converters.py should be able to call into reads.py since libraries is in a layer above datamodel.  Indeed, this is the case in the code in the master branch and no error is thrown.  Of course, there could be a bug in the test somewhere...

I think this got "fixed" here:
https://github.com/ga4gh/server/pull/924
@dcolligan @macieksmuga ?

I just re-enabled the test in that PR.  If the test is actually failing elsewhere, they're two different issues.  If one can point me to a branch where it is failing (if one exists), I can attempt a fix.

Looks like this is not an issue anymore


Regarding the Issue with Chinese Input Method in Web UI:

Description
Bug Summary:
When using the Zhuyin input method on a MAC in the Web UI, pressing the enter key once to confirm character selection results in the immediate sending of the text, causing incorrect input. A similar issue occurs with the Japanese input method.
Steps to Reproduce:
Open the Web UI on a MAC.
Switch to the Zhuyin input method for Chinese (or Japanese input method).
Start typing a Chinese (or Japanese) sentence.
Press the enter key to confirm the character selection.
Expected Behavior:
The input method should allow confirming the character selection first and only send the text when the enter key is pressed a second time.
Actual Behavior:
The system sends the text as soon as the enter key is pressed the first time to confirm character selection, leading to premature submission and incorrect input.
Environment
Open WebUI Version: latest version
Ollama (if applicable): latest version
Operating System: macOS Sonoma 14.5
Browser (if applicable): Chrome 125.0.6422.113
Confirmation:

[ ] I have read and followed all the instructions provided in the README.md.
[ ] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.

Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Docker
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

I'm having the same issue. I had to revert to version v0.1.125 to use my input method normally.

Taking a look!

Unable to test this on my end, but should be fixed on dev branch now! Let me know if the issue persists!

I've confirmed that the issue with Japanese input has been fixed in v0.2.3. Thank you!


Use @Inject instead of static get parameters()

Ionic 2 starter projects currently uses static get parameters() in esnext code as a workaround for the lack of parameter decorators in Babel. See e.g. Adding Pages in the tutorial.
Parameters decorators should now work using the babel-plugin-angular2-annotations: see https://github.com/shuhei/babel-plugin-angular2-annotations/issues/19
So it should be possible to write
constructor(@Inject(NavController) nav, @Inject(NavParams) navParams) { /*...*/ }

Just noticed that the latest ionic-cli only supports typescript. So this doesn't matter any more.

@mirkonasato yeah! we took the decision to drop js support, since TS is a superset of JS it's up to developers to use the new features introduced.
This way we can concentrate our efforts of documentation, demos and testing.

@manucorporat good decision 👍

@manucorporat, what a shame that you guys took that decision.
TypeScript is simply too slow for me, so from the start I decided to use ES6.
I learned to write Angular 2 ES6 code using Ionic's templates. Not anywhere else in the web there was another starting point as good as Ionic.
And, to complete.. the official Angular docs are just poor in terms of ES6 support.


I can't run scrcpy

1.process
(scrawler) root@slave97:/data1/hgq/scrcpy# adb devices

daemon not running; starting now at tcp:5037
daemon started successfully
List of devices attached
5TR855HY99999999        device
CI9TWWPJ99999999        device
L7INNR6999999999        device

(scrawler) root@slave97:/data1/hgq/scrcpy# scrcpy -s CI9TWWPJ99999999
INFO: scrcpy 1.12 https://github.com/Genymobile/scrcpy

daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.0.log
Server had pid: 19486
--- adb starting (pid 19486) ---
adb I 04-10 09:11:43 19486 19486 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 04-10 09:11:43 19486 19486 main.cpp:57] Version 1:8.1.0+r23-5~18.04
adb I 04-10 09:11:43 19486 19486 main.cpp:57] Installed as /snap/scrcpy/211/usr/lib/android-sdk/platform-tools/adb
adb I 04-10 09:11:43 19486 19486 main.cpp:57]
error: could not install smartsocket listener: Permission denied

failed to start daemon
adb: error: failed to get feature set: cannot connect to daemon
ERROR: "adb push" returned with value 1

2.png

It seems something on your computer is killing your adb daemon.
If you execute adb devices, wait few seconds, and execute adb devices again, do you see daemon not running; starting now at tcp:5037?

It seems something on your computer is killing your adb daemon.
If you execute adb devices, wait few seconds, and execute adb devices again, do you see daemon not running; starting now at tcp:5037?

Thanks for your reply.
I followed your instructions and I didn't see "daemon not running; starting now at tcp:5037". I think it's the environmental variables that make the mistake but I don't know how to solve.
Here is the png.

It seems something on your computer is killing your adb daemon.
If you execute adb devices, wait few seconds, and execute adb devices again, do you see daemon not running; starting now at tcp:5037?

There was an error when I run scrcpy.adb

It seems something on your computer is killing your adb daemon.
If you execute adb devices, wait few seconds, and execute adb devices again, do you see daemon not running; starting now at tcp:5037?

There was an error when I run scrcpy.adb

It seems that you need run the command under root permission, or some necessary components in your system have not been set to "executable".
Maybe you should find who is using the port 5037 first. Search for "adb smartsocket" and you could learn more about this problem.

It seems something on your computer is killing your adb daemon.
If you execute adb devices, wait few seconds, and execute adb devices again, do you see daemon not running; starting now at tcp:5037?

There was an error when I run scrcpy.adb

~It seems that you need run the command under root permission, or some necessary components in your system have not been set to "executable".~
Maybe you should find who is using the port 5037 first. Search for "adb smartsocket" and you could learn more about this problem.

Thanks for your reply.
I'm sure that no process is using the port 5037 and the bug also exists, I can't fix it up finally.
I have to build the app manually but it works.


model.show_result(img, result, out_file='result.jpg') does not work

model.show_result(img, result, out_file='result.jpg') does not work

faster-rcnn
Traceback (most recent call last):
File "", line 1, in
File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1131, in getattr
type(self).name, name))
AttributeError: 'FasterRCNN' object has no attribute 'show_result'

@unique-chan Please use the latest main branch code

I'd tried to use the latest code by cloning dev-3.x, but still I encountered the same issue... Besides, I'd tried to use the newest main-branch code today, but the same problem occurred. (I did not change any DockerFile settings and used 3090.)

@unique-chan Please use the latest main branch code

I'd tried to use the latest code by cloning dev-3.x, but still I encountered the same issue... Besides, I'd tried to use the newest main-branch code today, but the same problem occurred. (I did not change any DockerFile settings and used 3090.)

same error i met waitng for an answer

same error

same error

same here.
One way to visualize the results would be to follow the demo/inference_demo.ipynb:
# build the model from a config file and a checkpoint file
model = init_detector(config_file, checkpoint_file)

image = mmcv.imread(some_img)
result = inference_detector(model, image)

# init the visualizer(execute this block only once)
visualizer = VISUALIZERS.build(model.cfg.visualizer)
# the dataset_meta is loaded from the checkpoint and
# then pass to the model in init_detector
visualizer.dataset_meta = model.dataset_meta

# show the results
visualizer.add_datasample(
    'result',
    image,
    data_sample=result,
    draw_gt=False,
    wait_time=0,
    out_file='outputs/result.png' # optionally, write to output file
)
visualizer.show()

Same error!! Could we please reopen the issue @hhaAndroid

same here. One way to visualize the results would be to follow the demo/inference_demo.ipynb:
# build the model from a config file and a checkpoint file
model = init_detector(config_file, checkpoint_file)

image = mmcv.imread(some_img)
result = inference_detector(model, image)

# init the visualizer(execute this block only once)
visualizer = VISUALIZERS.build(model.cfg.visualizer)
# the dataset_meta is loaded from the checkpoint and
# then pass to the model in init_detector
visualizer.dataset_meta = model.dataset_meta

# show the results
visualizer.add_datasample(
    'result',
    image,
    data_sample=result,
    draw_gt=False,
    wait_time=0,
    out_file='outputs/result.png' # optionally, write to output file
)
visualizer.show()

so good my man !

same here. One way to visualize the results would be to follow the demo/inference_demo.ipynb:
# build the model from a config file and a checkpoint file
model = init_detector(config_file, checkpoint_file)

image = mmcv.imread(some_img)
result = inference_detector(model, image)

# init the visualizer(execute this block only once)
visualizer = VISUALIZERS.build(model.cfg.visualizer)
# the dataset_meta is loaded from the checkpoint and
# then pass to the model in init_detector
visualizer.dataset_meta = model.dataset_meta

# show the results
visualizer.add_datasample(
    'result',
    image,
    data_sample=result,
    draw_gt=False,
    wait_time=0,
    out_file='outputs/result.png' # optionally, write to output file
)
visualizer.show()

you should add
from mmdet.registry import VISUALIZERS
to import VISUALIZERS

Thank you. I have added the imports.


ESP console command help text with newline does not print as desired (IDFGH-8443)

I registered some commands with esp_console_cmd_register.
I want to print the help text with some newlines.
When I invoke the help command, the line wrapping in the help text of each command seems to not work correctly.
Example:
This help text is set to this in code:
"Reset to Factory Settings\r\nThis resets the accessory to factory settings and reboots it."
Output I get:
  Reset to Factory Settings
This resets the accessory to factory settings and
  reboots it.

Output I would like:
  Reset to Factory Settings
  This resets the accessory to factory settings and reboots it.

The line wrapping inserts a newline after 80 characters even if there is a newline already in these 80 characters.
Also the second line of the output is not indented.

Will do, thanks.

Hi @ph2355 ,
If you want to split the long lines in your own way, you should use the arg_rem function. For example, in the ls.c example, you can see the following code snippet:
timesty = arg_str0(NULL, "time-style","STYLE", "show times using style STYLE:"),
          arg_rem (NULL,                       "  full-iso, long-iso, iso, locale, +FORMAT"),
          arg_rem (NULL,                       "FORMAT is interpreted like `date'; if FORMAT is"),
          arg_rem (NULL,                       "FORMAT1<newline>FORMAT2, FORMAT1 applies to"),
          arg_rem (NULL,                       "non-recent files and FORMAT2 to recent files;"),
          arg_rem (NULL,                       "if STYLE is prefixed with `posix-', STYLE"),
          arg_rem (NULL,                       "takes effect only outside the POSIX locale"),

When you run ./ls --help, you will see the following output:
  --time-style=STYLE        show times using style STYLE:
                              full-iso, long-iso, iso, locale, +FORMAT
                            FORMAT is interpreted like `date'; if FORMAT is
                            FORMAT1<newline>FORMAT2, FORMAT1 applies to
                            non-recent files and FORMAT2 to recent files;
                            if STYLE is prefixed with `posix-', STYLE
                            takes effect only outside the POSIX locale

Hi, this issue has been resolved in argtable3 through this commit
This commit is not a release, so I don't know if you integrate non-release commits.
Just so you know, that in the next release, this issue will probably be resolved.


fix: improve error messages

- Violation: response.query should be equal to one of the allowed values
+ Violation: request.query /status/0 should be equal to one of the allowed values: available, pending, sold

Bad idea, better-ajv-errors does not work in the browser. Will find another way.


Insulin delivery not disabled despite bg below 65 (3.6mmols/dL)

We have observed insulin delivery continuing via high basal delivery (above programmed) if iAPS has a prediction of high BG even if current BG is below 65/3.6.  This problem is amplified in very low BG situations as are evident in the logs, where BG was below 48 but high temp basals were being delivered.
crawford_log_prev.txt
crawford_log.txt

A timestamp would help a lot when going through the logs, please 🙏🏻.

I've answered in Discord regarding this issue. The OpenAPS code isn't always suspending temp basal insulin when under threshold by design.


Contact Details

Hi Theo,
We are a cybersecurity consultancy based in Johannesburg, South Africa.
We wanted to chat to you about potentially using your tool as part of our consultancy services.
Is there an email address that we can contact you on?
Thanks so much,
Andrew
<EMAIL_ADDRESS>

Certainly. Please feel free to email me at<EMAIL_ADDRESS>


JSX fragments support

JSX has a new syntax for fragments:
render() {
  return (
    <>
      <ChildA />
      <ChildB />
      <ChildC />
    </>
  );
}

Is this something you want to support in Buble?

Yes, I'd love to see this, as Babel supports it and Preact is hoping to support it.

I started working on this, but I think there is a bug in the acorn-jsx implementation, see https://github.com/RReverser/acorn-jsx/pull/83#issuecomment-349726310.


letsencrypt-win-simple v1.9.1 no compiled release

Is there a reason there is no compiled version for 1.9.1?

Thanks


FontFile: unexpected behaviour when setting up glyphs manually

Godot version
4.0-beta17
System information
Fedora Workstation 36
Issue description
As per this question on the Godot subreddit, I've noticed some odd behaviour when using FontFile's set_texture_image and set_glyph_* functions. This may be intended, but it isn't really explained in the docs from what I can see.
Most (but not all) of these functions expect a Vector2i for their size parameter. In these cases, having y set to anything other than 0 causes glyphs to not display. So, when setting up glyphs, I had to do eg.
var size := Vector2i(1, 0)

font.set_texture_image(0, size, 0, image)

for glyph in glyphs:
	font.set_glyph_uv_rect(0, size, glyph, rect)
	font.set_glyph_texture_idx(0, size, glyph, 0)
	font.set_glyph_offset(0, size, glyph, Vector2.ZERO)
	font.set_glyph_size(0, size, glyph, rect.size)

	# ...and set_glyph_advance takes an int rather than a Vector2i
	font.set_glyph_advance(0, size.x, glyph, Vector2(advance, 0))

Is this an intended design? I think I might be missing the point, but seeing as we'll soon be in RC, I wanted to make sure.
Steps to reproduce
See the reproduction project; try changing size.y to 1 and note the glyphs disappear.
Minimal reproduction project
bug.zip

from what I can understand bitmap fonts has to be pre-mapped for the specific size you are going to use, if you change the size.x from 1 to 2 that is going to be the size mapped to the glyph set, as a consequence the size requested with add_theme_font_size_override("font_size", 1) will not longer be found.
Need to say the documentation in general would need more love for niche fields and methods, it's just frustrating to see one-line comments that adds no information but repeats the code, it worsen mostly when there are large portion of API rewrite that radically changes the workflow.

size in all of these functions is Size2i(font_size, oultine_size) not x, y.

Size2i doesn't seem to be exposed, in its place there is Vector2I, doesn't change much as it needs two integer fields anyway, good to know that the second one is the outline.

Size2i doesn't seem to be exposed, in its place there is Vector2I, doesn't change much as it needs two integer fields anyway, good to know that the second one is the outline.

Size2i (like Point2i) is a typedef (alias) for Vector2i in Godot's C++ codebase. It is 100% equivalent.


Data should come from '?' and '#?'

We should allow both those URL to load the data:
https://zakodium-oss.github.io/analysis-ui-components/?filelist=https://zakodium-oss.github.io/analysis-dataset/jdx.json
https://zakodium-oss.github.io/analysis-ui-components/#?filelist=https://zakodium-oss.github.io/analysis-dataset/jdx.json
The idea of adding '#' is to prevent the browser to send the URL to the server and therefore the server is not aware where are the data coming from. This ensure security for the users.

new URLSearchParams(new URL(...).hash)

new URLSearchParams(new URL(...).hash)

This won't work because url.hash starts with #.

I think we should only allow #? like we do in NMRium. There is no need to send this parameter to the server.

Ok this is indeed the safest way.

We still need to change it.


Uc10   manter_dgo

Changes Unknown when pulling 01190914c2010ff8548b958efc0345dc782d870c on uc10---manterdgo into ** on master**.

Coverage remained the same at 100.0% when pulling c1fcbf2946e8699902f3339d4c80083f08d1dff4 on uc10---manterdgo into d74ec9b4a9cecc4c029df22d46cc9a4444594d9f on master.


Upgrade twig/twig to fix "Possible sandbox bypass" CVE

Twig/twig had a CVE reported on 2024-09-09 about a possible sandbox bypass. Although the circumstances for this CVE to be applicable are specific, we should update twig/twig to mitigate this.
Link: https://symfony.com/blog/twig-security-release-possible-sandbox-bypass
Current twig/twig version constraint: <3.9
Fix twig/twig version: 1.44.8, 2.16.1, and 3.14.0.

@mjauvin are there any remaining incompatibilities with 3.14 and Winter?

@LukeTowers no, we're already using latest version of twig 3.X
The incompatibllities are with 4.x

@nmiyazaki-chapleau yes, we'll be making a new release soon


Bump axios

Bump axios for extensions that use it, and removing the actions folder since we don't use that anymore.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.186%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
27856

Relevant Lines:
61752

💛  - Coveralls


2.04: filer.sync errors

I've started two filers on two different hosts with -peers=filerhostA:8888,filerhostB:8888 (other options are -defaultReplicaPlacement=001 -encryptVolumeData) then
weed filer.sync -a=filerhostA:8888 -b=filerhostB:8888.
filerhostA had some existing data and filerhostB is new (started from scratch for the first time).
At first everything worked well but soon the following error was reported:
I1013 22:58:34 88551 filer_sync.go:137] start sync filerhostA:8888(-1884818033) => filerhostB:8888(-681971884) from 2020-10-09 17:48:11.937192272 +1100 AEDT(1602226091937192272)
I1013 22:58:34 88551 filer_sync.go:137] start sync filerhostB:8888(-681971884) => filerhostA:8888(-1884818033) from 1970-01-01 10:00:00 +1000 AEST(0)
I1013 22:58:34 88551 filechunk_manifest.go:107] read http://<IP_ADDRESS>:9335/1,06ea8d1d333c1e failed, err: fetch http://<IP_ADDRESS>:9335/1,06ea8d1d333c1e: http://<IP_ADDRESS>:9335/1,06ea8d1d333c1e: 404 Not Found
I1013 22:58:34 88551 filechunk_manifest.go:107] read http://<IP_ADDRESS>:9334/1,06ea8d1d333c1e failed, err: fetch http://<IP_ADDRESS>:9334/1,06ea8d1d333c1e: http://<IP_ADDRESS>:9334/1,06ea8d1d333c1e: 404 Not Found
I1013 22:58:34 88551 filechunk_manifest.go:114] sleep for 1s before retrying reading
I1013 22:58:35 88551 filechunk_manifest.go:107] read http://<IP_ADDRESS>:9335/1,06ea8d1d333c1e failed, err: fetch http://<IP_ADDRESS>:9335/1,06ea8d1d333c1e: http://<IP_ADDRESS>:9335/1,06ea8d1d333c1e: 404 Not Found
I1013 22:58:35 88551 filechunk_manifest.go:107] read http://<IP_ADDRESS>:9334/1,06ea8d1d333c1e failed, err: fetch http://<IP_ADDRESS>:9334/1,06ea8d1d333c1e: http://<IP_ADDRESS>:9334/1,06ea8d1d333c1e: 404 Not Found
I1013 22:58:35 88551 filechunk_manifest.go:114] sleep for 1.5s before retrying reading
I1013 22:58:37 88551 filechunk_manifest.go:107] read http://<IP_ADDRESS>:9335/1,06ea8d1d333c1e failed, err: fetch http://<IP_ADDRESS>:9335/1,06ea8d1d333c1e: http://<IP_ADDRESS>:9335/1,06ea8d1d333c1e: 404 Not Found
I1013 22:58:37 88551 filechunk_manifest.go:107] read http://<IP_ADDRESS>:9334/1,06ea8d1d333c1e failed, err: fetch http://<IP_ADDRESS>:9334/1,06ea8d1d333c1e: http://<IP_ADDRESS>:9334/1,06ea8d1d333c1e: 404 Not Found
I1013 22:58:37 88551 filechunk_manifest.go:114] sleep for 2.25s before retrying reading

I tried stopping filer on filerhostB and deleting its data directory (filerldb2) but after restart the error returned...
What went wrong and how to recover? Thanks.

In weed shell, volume.fsck reported the following:
> volume.fsck
volume:1        entries:99140   orphan:98554    99.41%<PHONE_NUMBER>B
volume:2        entries:99837   orphan:99251    99.41%<PHONE_NUMBER>B
volume:4        entries:99616   orphan:99025    99.41%<PHONE_NUMBER>B
volume:3        entries:99068   orphan:98492    99.42%<PHONE_NUMBER>B

Total           entries:397661  orphan:395322   99.41%<PHONE_NUMBER>3B
This could be normal if multiple filers or no filers are used.

Problem with filer.sync did not go away even after volume.fsck -reallyDeleteFromVolume in weed shell...

This has been addressed with https://github.com/chrislusf/seaweedfs/commit/3f7d1d1bf146eaeac3ddcd96e3d8de088bdf97ce
The replication will replay the transaction history. Some entries, 1,06ea8d1d333c1e for example, may have already been deleted in the source cluster. No need to retry.


Can i disable beep sound which is associated with voice recognition?

Can i disable beep sound which is associated with voice recognition?

This api doesn't currently provide that functionality, but I am planning to add this feature. If this is very urgent you can do it by muting the audio when speech recognition is running. An example to mute audio can be found here

+1 I need this. All the solutions that are muting the sounds failed

Just call  mAudioManager.setStreamMute(AudioManager.STREAM_MUSIC, true);
on Oncreate of your activity. This will mute the media volume, preventing the delay of beep sound!

any Update on this issue? not able to mute the sound..

The solution is already build in the library but the delay between sound on and sound off is to short, if the maker of Droidspeech make this variable so we can set our own delay then it is fixed. The maker promised me weeks ago that he was releasing a new version, but he did not and is not answering on my questions anymore..

I am thinking to ditch the Android's built in library and start using pocket sphinx.

I did some test with Pocket sphinx but it was not usable in our project

how was your experience with it?

My experience was negative for our projects because for pocket sphinx you have to build your own library with words, and the documentation on how to use was not clear on many points. Droidspeech in combination with the Google works very good in our robots, but the annoying beep is terrible.

I am also considering to add DroidSpeech as a module and then change some of the source code to mute the beep.


Modified Monitor plugin to return operational state even if there are no memory measurements.

https://jenkins.code.rdkcentral.com/job/github-triggered/2073/ started


Statistic associated with tuple ASM score

I computed ASM scores for tuples in three samples.
I'm interested in knowing whether ASM is detected consistently across these replicates.  Can you recommend a way to compute a test statistic for ASM in addition to the ASM score (rather than subsequently testing for gain or loss of ASM with find_dames)?

@amvondras
I don't know what statistical test you would want to do here, because even if replicates, you expect variability.
But, would a plot be useful, like a pairs() plot of the ASM scores across your replicates?
Mark


AllowsTransparency= "True"

If the window is added
AllowsTransparency= "True"
"WindowStyle= None"
when playing can not see the screen

I have the same issue. Audio however is played.

You can see my project https://github.com/higankanshi/xZune.Vlc .
This has no airspace issue, because we provide a native WPF control, not a HwndHost.

I think it's a VlcDotNet problem because the problem does not exist with 'Vlc.DotNet-2.0-Twoflower' (same Vlc player , same wpf-aplication).


Clarify the install documentation to use pnpm

The doc of swarmion/swarmion propose to check the template repository in which the command yarn create swarmion-app is proposed to install the project... but in fact only pnpm package manager can be used.
It should be great to :

update the doc
explain how to install pnpm (and maybe why it is the only package manager available): npm install --global pnpm
deprecate swarmion/template repository if it is no more used

Thank you for the issue @guiyom-e
You are right, we need to deprecate the https://github.com/swarmion/template repository and tell users to go to https://www.swarmion.dev.
And we need to update the doc to only reference pnpm create swarmion-app.
@fargito WDYT?


Problem with word wrap over several years

Hello
When I use a language such as Arabic other than English in vscode, word wrap does not work. (Windows 7 64bit , Version 1.70.3)
https://drive.google.com/file/d/1hOKPYZbXwLHWLp-vcrGG58L25Ff64_9I/view?usp=sharing
I know that there is no more update for Windows 7, but I said that you should check for those who have Windows 10 and 11 and are using the latest version, see if this problem exists in the latest version as well? And if there is, fix it.
Thank you

I'm not familiar with arabic, however I copied and pasted an arabic character and this does not appear to be an issue. It has likely been fixed since 1.70.


Anchor syntax incorrectly formatted

yaml files with anchors are not correctly formatted.

@xnox thanks! any chance you could add an example? Like steps to reproduce and how that differs from what we want it to look like?

Running yam on following YAML
public: &public_bucket
    type: "amazon-s3"
    url: "%env(CDN_URL)%"
    visibility: "public"
    config:
        bucket: "%env(AWS_PUBLIC_FILESYSTEM_BUCKET)%"
        region: "%env(AWS_REGION)%"
        endpoint: "%env(AWS_ENDPOINT_URL)%"
        use_path_style_endpoint: true

theme: *public_bucket
asset: *public_bucket

generates invalid yaml to:
public:
  type: "amazon-s3"
  url: "%env(CDN_URL)%"
  visibility: "public"
  config:
    bucket: "%env(AWS_PUBLIC_FILESYSTEM_BUCKET)%"
    region: "%env(AWS_REGION)%"
    endpoint: "%env(AWS_ENDPOINT_URL)%"
    use_path_style_endpoint: true
theme:
*public_bucket
asset:
*public_bucket

Thanks @shyim, that's helpful. 🙏
This is most likely a bug in the underlying YAML library, gopkg.in/yaml.v3. My medium-term plan is to swap that out with a better YAML library.
Any ideas for shorter-term fixes are welcome, too.

Thanks @shyim, that's helpful. 🙏
This is most likely a bug in the underlying YAML library, gopkg.in/yaml.v3. My medium-term plan is to swap that out with a better YAML library.
Any ideas for shorter-term fixes are welcome, too.

it's difference of parsing expanded yaml versus unexpanded. Note that because it is references, one has to take special care when parsing them "literary" or not. It does have support for anchor types, and how to print them. I haven't looked at yam code if it checks for anchors or not.
None theless, I think @stormqueen1990 mentioned one of the better maintained forks of yam.v3..... was it a hashicorp fork? or something else?

None theless, I think @stormqueen1990 mentioned one of the better maintained forks of yam.v3..... was it a hashicorp fork? or something else?

The one I know about is https://github.com/kubernetes-sigs/yaml, though I'm unsure if it would fix the issue at hand 🤔

Some food for thought:
https://github.com/google/yamlfmt/blob/main/README.md
https://github.com/google/yamlfmt/discussions/149
https://github.com/google/yamlfmt/discussions/148
https://github.com/braydonk/yaml/blob/v3/README.md


Cds 44872 git ops repositories certificates api

Adding GitOps repositories cert TF resource

Just update the go sdk version, i think thats why the pipeline is failing


Fix-Authentication-Parsers

Required items, please complete
Change(s):

Added EquivalentBuiltInParser parameter in Template, EventUid column and fixed formatting where needed

Reason for Change(s):

Missing EquivalentBuiltInParser  parameter, EventUid column and cleaned formatting

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hi @KustoKing,
Thanks for your contribution.
We will provide you an update shortly, meanwhile can you please resolve branch conflicts.

Hi @KustoKing,
Can you please resolve branch conflicts. We will review the Pull Request internally and get back to you shortly.
Thanks

Hi @KustoKing,
There are still branch conflicts and kql validation is failing. Below are some suggestions for resolving the KQL validation issue.

A comma (,) is missing in line 33 yellow marked.
The comma should be removed from line no 42 red marked

Referenc

Thanks for your feedback. It should be sorted now

Hi @KustoKing,
Thank you for accommodating the suggested changes! You will receive an update shortly.
Thanks

ETA for this review is 14th Aug

Hi @KustoKing,
Thank you for accommodating the suggested changes! We will review the Pull Request internally and get back to you by shortly.


onnx::GlobalAveragePool

hello! In the bound_general.py, you don't care abount nodesOP[n].op == 'onnx::GlobalAveragePool'

@Kozon2015 Thanks for reporting this issue. We will try to add GlobalAveragePool in the next release.
If you have a specific network for your task, you can post it here so we can try to make sure it is working in the next release. Thanks!

@Kozon2015 Thanks for reporting this issue. We will try to add GlobalAveragePool in the next release.
If you have a specific network for your task, you can post it here so we can try to make sure it is working in the next release. Thanks!

@Kozon2015 We have just made a new release with better pooling layer support. You can try the latest version of auto_LiRPA and see if the issue has been fixed or not. Thanks!


[feat] Postgres Datastore

Codecov Report

Merging #23 into master will decrease coverage by 1.89%.
The diff coverage is 78.74%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   83.01%   81.11%   -1.90%
==========================================
  Files           2        3       +1
  Lines         159      286     +127
  Branches       54       86      +32
==========================================
+ Hits          132      232     +100
- Misses         27       54      +27

Impacted Files
Coverage Δ

src/server/datastore/postgres.ts
78.74% <78.74%> (ø)

Continue to review full report at Codecov.

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

Codecov Report

Merging #23 into master will increase coverage by 1.01%.
The diff coverage is 89.39%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
+ Coverage   87.17%   88.19%   +1.01%
==========================================
  Files           2        3       +1
  Lines         156      288     +132
  Branches       36       61      +25
==========================================
+ Hits          136      254     +118
- Misses         20       34      +14

Impacted Files
Coverage Δ

src/server/datastore/postgres.ts
89.39% <89.39%> (ø)

Continue to review full report at Codecov.

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


Proposal: Be able to "translate" the default language

If I have "en_US" as the default language for my site I cannot translate the en_US t()-strings. This is an issue when you need to change some copy and don't want to update all the string in many different languages.
i.e. to change t("Good bye!") to "See you soon!" in en_US we need to change the code, which means all translations in other languages needs to be redone. If we can instead translate "Good bye!" in en_US to "See you soon!" in en_US.
This would also enable the possibility to use "tokens" as t()-strings. i.e. t("!address_to_office") and then "translate" it for locales.
What do you think?

If you set the concrete.misc.enable_translate_locale_en_us option to true I thinkyou should be able to translate en_US

Oh so it's configurable, that's nice! However when I try that out it doesn't seems to work. en_US is still not translatable for me.

What do you mean exactly with "en_US is still not translatable for me": what are you not able to do?

Could you try to apply these changes? They should allow you editing en_US...

@mlocati What's the reason for having this disabled by default?

Historical, IMHO

Maybe we can update this value in the next minor release then. I'll have to run some tests and see what kind of impact this has on performance some time this weekend.

@KorvinSzanto I'm pretty sure that Andrew didn't want to enable this by default due to performance reasons. I think there was a discussion on github about this.

https://github.com/concrete5/concrete5-legacy/pull/885#issuecomment-13019737


ft: edit ModelVersion usage of property uid on buckets

Bucket property uid is added to all buckets, updating ModelVersion.md to reflect the change

PR has been updated. Reviewers, please be cautious.

PR has been updated. Reviewers, please be cautious.

CONFLICT (add/add): Merge conflict in package.json


Avoid allocating new arenas per thread when caching is disabled

Motivation:
Even when thread-local caching is disabled, the PooledBufferAllocator still needs to return a PoolThreadCache instance that contain an arena from the pool.
This is how allocation calls generally access arenas in the pool, regardless of thread-local caching.
This means if the PoolThreadCache has no arena, then the allocation will fall back to the unpooled path.
In other words, if thread-local caching failed, then all pooling and caching would be disabled for the allocator.
This is clearly suboptimal behaviour.
Modification:
The PoolThreadCache now acquires a reference to the least-used arena at the time of initialisation.
Since buffers and leak detection rely on cleaners and phantom references to the memory, the PoolThreadCache will have to only hold a weak reference to the arena and its memory regions.
Otherwise, the thread-local caches would hold strong references to the memory, and prevent it from being reclaimed.
The arenas should only be held live by the central pool for caching, or by buffers for use.
Result:
The new Buffers are pooled and cached more effectively, when the allocating thread does not support FastThreadLocals, or when caching is turned off.

@normanmaurer I think this is only relevant for the new buffer API. ByteBuf does leak detection differently, so I don't think it applies there.


Normalise Scan response shape when using "RawAWSFilter"

Problem
When using a raw AWS filter to Scan the returned Item shape is not consistent with a regular Scan.
Instead of:
NewModel {
    name: 'Snoopy',
    details: { timeWakeUp: '8am', timeSleep: '8pm' },
    ownerId: 19,
    color:  ['black', 'white'],
    cartoon: 'true',
    breed: 'Beagle'
}

We get:
NewModel {
    name: 'Snoopy',
    details: { timeWakeUp: '8am', timeSleep: '8pm' },
    ownerId: 19,
    color: Set { values: ['black', 'white'], type: 'String' },
    cartoon: 'true',
    breed: 'Beagle'
}

This is happening because AWS.DynamoDB.DocumentClient creates Set instances for attributes of type StringSet etc. These aren't native instances of Set but rather a custom AWS Class which isn't exposed.
Solution
When mapping over the returned objects within Scan.js I iterate over each items properties and check for such instances to convert them to regular array instances.

Coverage increased (+0.08%) to 82.314% when pulling 2aa7b0750185ebaf6c997473951d716d99817640 on DanielBoa:master into 8f5c192cd50c96728494cb5fa615be8a3d9d7e44 on automategreen:master.

@brandongoode I created an issue #322, to track maybe adding tests for this PR in the future. For now we can approve it and add them later on.

Thanks for this @DanielBoa!!


didSelectDayView not called anymore

I've updated the CVCalendar pod yesterday, and now the didSelectDayView method isn't being called anymore. Has anything changed lately that could cause this?

Somehow, when I add "animationDidFinish: Bool" to the didSelectDayView method, it just doesn't get called anymore. It works again after I remove it.

I had same problem and did exactly same thing. I guess they changed overload for that method. It was little bit unnecessary i think.

Docs / example needs to be updated. Will submit a PR soon.


[LAB-10] Add HTTPS support for ZAT

:koala:
Add HTTPS support for ZAT
$ zat serve --ssl-cert /opt/boxen/config/nginx/ssl/zendesk.dev.crt --ssl-key
/opt/boxen/config/nginx/ssl/zendesk.dev.key
== Sinatra/1.4.5 has taken the stage on 4567 for development with backup from Thin
Thin web server (v1.6.2 codename Doc Brown)
Maximum connections set to 1024
Listening on localhost:4567, CTRL+C to stop
== ZAT Server is running
You may now start using ZAT by appending ?zat=https://localhost:4567/app.js to your Zendesk URL
^CStopping ...
Stopping ...
== Sinatra has ended his set (crowd applauds)

/cc @zendesk/quokka
References

Jira link: https://zendesk.atlassian.net/browse/LAB-10

Risks

None

:haircut: /cc @zendesk/quokka

Let me teach you how to be a jerk in code review.

@princemaple I agree, any ideas how I can refactor some of this code into a separate module?

you could take commands out and have a separate module for every command. and more separate modules for helper methods

Any updates on this? I would give it a try myself but Ruby is not my strong suite.

Closing due to low activity.


C++: docs for AllocaInLoop

@zlaski, please review, especially for technical accuracy and clarity. We have some internal guidelines for qhelp files at https://wiki.semmle.com/display/IN/Writing+queries+and+query+help and the pages linked from there. You can see the rendered qhelp by clicking Show all checks, then "Details" on Pull-Request-Check/QHelp-Preview, then AllocaInLoop.html. VPN needed.
@semmledocs-ac, please review for clarity and house style.

Not sure if I'm in the reviewers group, but I'll opine anyway.
The stylistic part of the qhelp looks good and renders nicely in Jenkins.  But I do have a suggestion regarding content.
When you say 'the alloca allocates memory...', perhaps we should say something 'the __builtin_alloca or _alloca functions (usually accessed via the alloca macro) allocate memory...'?  The _alloca comes from Visual C++; perhaps we should check for _alloca in the query also?


Auto register/unregister annotation types

Annotation types are not really designed to be shakeable, so it makes sense to automatically register them as elements when the plugin is registered.
This is one step towards removing the automatic registration from UMD build, for consistency.

Thanks, changed the export to default for the plugin.
I'm not sure if there is anything private in the types, so did not touch the other exports.
The failing test made me realize the plugin would need to be registered to work now. Eg. the plugins: [Annotation] use case might not work.

Thanks, changed the export to default for the plugin.
I'm not sure if there is anything private in the types, so did not touch the other exports.
The failing test made me realize the plugin would need to be registered to work now. Eg. the plugins: [Annotation] use case might not work.

The failing test made me realize the plugin would need to be registered to work now. Eg. the plugins: [Annotation] use case might not work as expected (missing defaults).

If I understand your point, it looks like this issue impacts all plugins. Actually, the fact that the plugin defaults are now part of the plugin object breaks the possibility to register a plugin locally.

The failing test made me realize the plugin would need to be registered to work now. Eg. the plugins: [Annotation] use case might not work as expected (missing defaults).

If I understand your point, it looks like this issue impacts all plugins. Actually, the fact that the plugin defaults are now part of the plugin object breaks the possibility to register a plugin locally.


Show email address on sign in code page

Description:
When user has given email address on sign in page he is shown code page with instructions to fill in code.
Sometimes user has made typo and is waiting on this page for long time.
Let's show email address on this page.

Android card: https://github.com/ruuvi/com.ruuvi.station/issues/1132
iOS card: https://github.com/ruuvi/com.ruuvi.station.ios/issues/1700

@io53 looks like some bolded text has slipped to wrong location.

@io53 I believe this is done. I see correct bolded text on prod.


Is there a way to only download image with specific resolution?

Hello! If I only want images with resolution greater or equal than 512x512, is there a way to do it?

yes, https://github.com/rom1504/img2dataset#filtering-the-dataset
however I advise you to instead pre filter the dataset if your metadata has the resolution (for example laion5B does, and you can filter it with a script like https://github.com/rom1504/laion-prepro/blob/main/laion5B/high_resolution/high_resolution.py )

yes, https://github.com/rom1504/img2dataset#filtering-the-dataset
however I advise you to instead pre filter the dataset if your metadata has the resolution (for example laion5B does, and you can filter it with a script like https://github.com/rom1504/laion-prepro/blob/main/laion5B/high_resolution/high_resolution.py )

Thanks for reply. It helps a lot!


realm: allow overcommit of memory resources

The need to guess (correctly) the values for -ll:csize and friends is problematic (or at least scary) to
some folks, so it might be nice to have a mode where memories can be made very large and we only
map/pin/etc. memory that's actually used for instances.
There's a bunch of details to work out though:

Which memories can this be done for?
What performance guarantees to we want to maintain?  For example, should the allocations always be in real memory, or do we allow use of swapping?
How aggressively to we need to release memory back to the OS (since, once claimed, this memory still won't be available for normal heap allocations).

Is this still something we want?

I think the dynamic memory (even though we do not have it now for the system memory) can solve the large memory issue. However, from the description, looks like what needed in this issue is a dynamic memory pool?


[storage] OSD superblock read error

Indicates possibly a bad disk/sector that needs replacing.
Signed-off-by: Ponnuvel Palaniyappan<EMAIL_ADDRESS>

These errors can happen in other cases.
I would modify the error message not to assume it's a bad disk but suggest that they check the log for messages before the superblock fail to determine the cause of the failure to open the block device. While also keeping the note that checksum failures could be caused by disk corruption or failing disk / check SMART.
Specifically it can also happen if

there is corruption due to a bug, there was a couple of those
If permissions on the block device are wrong for some reason (theres a udev rule that changes them) and it can't open the device you get the same error about the superblock nto opening, but no checksum error.

Hi @lathiat,
Those two cases slightly different. Although the error messages look similar, the messages are
different (won't be caught by the filter here) and this is specifically about catching fault-but-working kind of situations.
In those two cases, the OSD won't start at all. So I thought it'be hard to miss that. What I was aiming to catch is that there are errors but it somehow starts (after restarting the OSD or the host, for example). If so, warn about it.
If you think the other 2 would be useful as well, I could add similar filters to catch them.


Unable to index into tuple on link property

EdgeDB Version: 2.7+ad94380
EdgeDB CLI Version: 2.2.6+7eabbf9
OS Version: macOS 13.0.1

Steps to Reproduce:
Simplified schema
type Org {}

type User {
    multi link orgs -> Org {
        property roles -> tuple<role1: bool, role2: bool>;
    }
}

I am able to select the entire tuple, but not its members. select User.orgs@roles; works, but select<EMAIL_ADDRESS>or select<EMAIL_ADDRESS>fail with:
edgedb error: InternalServerError: cannot find scope statement for (default::User).>orgs[IS default::Org]

Full trace:
Server traceback:
      Traceback (most recent call last):
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/__init__.py", line 120, in compile_ir_to_sql_tree
          qtree = dispatch.compile(ir_expr, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/expr.py", line 60, in compile_Set
          _compile_set_impl(ir_set, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/expr.py", line 114, in _compile_set_impl
          _compile_set(ir_set, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/expr.py", line 677, in _compile_set
          relgen.get_set_rvar(ir_set, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 162, in get_set_rvar
          return _process_toplevel_query(ir_set, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 265, in _process_toplevel_query
          rvars = _get_set_rvar(ir_set, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 304, in _get_set_rvar
          rvars = process_set_as_subquery(ir_set, stmt, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 1396, in process_set_as_subquery
          dispatch.visit(expr, ctx=newctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/dispatch.py", line 44, in visit
          compile(ir, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/stmt.py", line 89, in compile_SelectStmt
          outvar = clauses.compile_output(stmt.result, ctx=ictx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/clauses.py", line 213, in compile_output
          dispatch.visit(ir_set, ctx=newctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/expr.py", line 85, in visit_Set
          _compile_set_impl(ir_set, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/expr.py", line 114, in _compile_set_impl
          _compile_set(ir_set, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/expr.py", line 677, in _compile_set
          relgen.get_set_rvar(ir_set, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 209, in get_set_rvar
          rvars = _get_set_rvar(ir_set, ctx=subctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 422, in _get_set_rvar
          rvars = process_set_as_tuple_indirection(ir_set, stmt, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 2018, in process_set_as_tuple_indirection
          rvar = get_set_rvar(tuple_set, ctx=subctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 209, in get_set_rvar
          rvars = _get_set_rvar(ir_set, ctx=subctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 426, in _get_set_rvar
          rvars = process_set_as_path(ir_set, stmt, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 1128, in process_set_as_path
          srvars = process_set_as_link_property_ref(ir_set, stmt, ctx=ctx)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relgen.py", line 807, in process_set_as_link_property_ref
          source_scope_stmt = relctx.get_scope_stmt(
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/relctx.py", line 1221, in get_scope_stmt
          raise LookupError(f'cannot find scope statement for {path_id}')
      LookupError: cannot find scope statement for (default::User).>orgs[IS default::Org]

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/server/compiler_pool/worker_proc.py", line 55, in worker
          res = meth(*args)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/server/compiler_pool/worker.py", line 160, in compile
          units, cstate = COMPILER.compile(
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/server/compiler/compiler.py", line 2277, in compile
          unit_group = self._compile(ctx=ctx, source=source)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/server/compiler/compiler.py", line 1807, in _compile
          return self._try_compile(ctx=ctx, source=source)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/server/compiler/compiler.py", line 1871, in _try_compile
          comp, capabilities = self._compile_dispatch_ql(
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/server/compiler/compiler.py", line 1781, in _compile_dispatch_ql
          query = self._compile_ql_query(ctx, ql, script_info=script_info)
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/server/compiler/compiler.py", line 672, in _compile_ql_query
          sql_text, argmap = pg_compiler.compile_ir_to_sql(
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/__init__.py", line 152, in compile_ir_to_sql
          qtree = compile_ir_to_sql_tree(
        File "/Users/dustinpomerleau/Library/Application Support/edgedb/portable/2.7/lib/python3.10/site-packages/edb/pgsql/compiler/__init__.py", line 135, in compile_ir_to_sql_tree
          raise errors.InternalServerError(*args) from e
      edb.errors.InternalServerError: cannot find scope statement for (default::User).>orgs[IS default::Org]

As a workaround, it seems that select (select User.orgs@roles).role1  works...

Awesome - thanks for getting to this so quickly :)


CK editor instance initializing many time.

When I am populating value from other sources on CK editor than it is initializing on every value update.

But when I am typing then it is working properly.

Here is Demo Link

Please share the code you are using to import CKEditor in your project

import CKEditor from 'react-ckeditor-component';

<CKEditor
       scriptUrl="/static/JS/ckeditor/ckeditor.js"
       content={this.props.value}
       config={{height: 50, autoGrow_minHeight: 50, bottom: 0}}
        events={{
              blur: this.onBlur,
               afterPaste: this.afterPaste,
              change: this.onChange
        }}
 />


LICENSE not match

https://github.com/js-cool/leader.js.cool/blob/master/LICENSE
what i use in the project is Attribution-NonCommercial-ShareAlike 4.0 International
but project page shows: CC-BY-SA-4.0

@willin license detection on GitHub is handled by licensee please add your report to https://github.com/benbalter/licensee/issues/116. Thanks!


clang-format formatting based on global vim settings

Feature description
I was wondering if there is a way to configure clang-format so that it looks for the file first, and, if not present, it does not only apply a preferred style but also sets indentation and tabs vs. space for Vim configurations? If so, could you make an example in the documentation?

"File not present", meaning this is a temp buffer that's not saved yet?

I apologize. I needed clarification in the first place. I was referring to the -style=file option, which makes the command search for a .clang-format file (making it possible to have project-specific formatting rules)

I think that's the default behavior given that the cwd is correct (:pwd)

Yes, indeed it is. Nevertheless, the style accepts a list of options that follow the file content structure. Unfortunately, there is no example of how to set them (and re-use the values of indents and tabs vs spaces that you can set with vim).
Moreover, the command accepts a --fallback-style=<string> option that should fall back to a specific style when the file is missing. Although useful, <string> can only be a default style and not a more complex configuration as in the -style version. Thus, I was wondering if your plugin can handle it using an algorithmic approach...

I guess I can create an example... That might take a while.
Note that ft("foo"):fmt can take a function, check out the tests.
https://github.com/nvimdev/guard.nvim/blob/cc8df48248eb795b71be21f7a30f08fc47a2c22d/spec/format_spec.lua#L71
If you managed to achieve what you wanted I am just going to put your solution as an example :)

https://github.com/user-attachments/assets/d98219be-19c9-47b8-8ce9-c12cbc640143
@xavier7179
local ft = require("guard.filetype")

ft("c"):fmt(function()
	---@diagnostic disable-next-line: undefined-field
	if vim.uv.fs_stat(".clang-format") then
		return {
			cmd = "clang-format",
			stdin = true,
		}
	else
		return {
			cmd = "clang-format",
			args = {
				("--style={BasedOnStyle: llvm, IndentWidth: %d, TabWidth: %d, UseTab: %s}"):format(
					vim.bo.shiftwidth,
					vim.bo.tabstop,
					vim.bo.expandtab and "Never" or "Always"
				),
			},
			stdin = true,
		}
	end
end)

Thanks for the help! You are the first to support something like this. I really appreciate it (as I'm doing for your plugin, which is very unique if you program in C/C++)


Changing Uglifier.new parameters does nothing if I dont clean manually the assets files first

Doing
bundle exec rake assets:precompile RAILS_ENV=production
and then changing some params on this line:
config.assets.js_compressor = Uglifier.new(:harmony=> true, :mangle => false)
and doing
bundle exec rake assets:precompile RAILS_ENV=production
again, does nothing. do i need to manually erase the assets files before doing the last command?

In addition, when i change the mangle to be false or true nothing changes...

In addition, when i change the mangle to be false or true nothing changes...

The solution is to change something in the .js files. there is apparently some caching of the asset pipeline process

The solution is to change something in the .js files. there is apparently some caching of the asset pipeline process


collapse byDate and byDateWithLogs views

these two views (and corresponding design doc) can be collapsed to one, with additional values emitted with the keys: _rev, hasLogs, isSequence for example. That one less index to update, and also less space to consume.

I misread the view - the filtering done in the log deletion view predicate the key emit on the existence of logs and the deletion script relies on this to quiesce. I'm not sure if the views can be consolidate in that case, although I wonder if editing the views while also iterating over it is the best way to do the deletion.


Decimals should be able to be unsigned

According to the schema builder docs, ->unsigned() will "Set INTEGER to UNSIGNED". Trying to chain this to a ->decimal() call does nothing, but decimals should be able to be unsigned as well.

I'm on Laravel 5.4 and do not see convenience methods for unsignedDecimal. Presumably if we call ->unsigned() in our schema builder, it will work? I'm actually having trouble verifying where in the code Laravel does this, if it works for Decimal. I only see unsigned relating to integer types.


FIXED

Maps-master (2).zip
*Fixed bug with error "EMPTY SEARCH"

Please close this one and create a fresh clean pull request.  It shouldn't have any zip files in it.

Please follow the suggested workflow that is used at Haikuports, it would be similar here.
https://github.com/haikuports/haikuports/wiki/DevelopmentModel

@scottmc ok, i'll close this PR.


improved console output

as discussed in #11
output via debug module
verbose option to show all entries, otherwise single line showing number of entries.

support for additional sitemap info in frontmatter #14


Entering Remote Jupyter Url shoudl behave same as Remote Repositories in VS Code

Create an entry in the quick pick based on what has been entered
This way user does not need to explicitly select the item Enter the Url of the running jupyter ...

l

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/13892


Virus?

My Windows Defender keeps saying the skin changer is a virus, to be exact, Trojan:Win32/Wacatac.H!ml.
Is this normal? If so, an explanation as to why that happens?

google > what is a false positive

check this closed issue: #660


Add buildargs

Add $APP_TARGET and $MVN_ARGS env var
Fix tests for Mac when running make test

Thanks for @miklosbarabas for changes

Wow, very nice! I'll need some time to test this change with my demo app. Thank you!

I just added target dir to default value

I Just run make test, that command build the image and run test-app

I Just run make test, and the tests are passing.
I ran your command and image built successfully

Thank you!


HTTP source improvement

Support more scenarios like wsdl, auth etc

Already support oAuth in 1.9. We won't support wsdl in the roadmap, so close this.