REST framework 3.4 - Schema generation.

Opening this up in order to start the conversation...
So, I'm working towards a 3.4 release. The headline features here are schema generation and client libraries.
Pull request: https://github.com/tomchristie/django-rest-framework/pull/4179
Upcoming new tutorial section: https://github.com/tomchristie/django-rest-framework/blob/schema-support/docs/tutorial/7-schemas-and-client-libraries.md
I think the client library support in particular is a big deal, and using Core API as the internal representation format is a necessary part of that.
Essentially we'll have a single built-in method for handling introspection, that returns a Core API Document object representing the schema. Various different renderers can then be built in order to translate the Core API Document into either a rendered set of documentation, or into a rendered schema, such as a swagger document.

django-rest-swagger could move away from providing it's own introspection, and rely on what's in core, instead just handling the rendering of a Core API document, and URLs/views for serving the documentation templates that swagger provides.
There will very likely be a coreapi-openapi package, that provides a Document<->Swagger/OpenAPI codec. (right now the coreapi package has swagger decoding built-in, but I'd really like to pull out the individual schema formats, with the exception of corejson, which serves as a canonical representation format), so django-rest-swagger could additionally rely on that for the rendering, providing just the wrapping for a REST framework renderer that uses the codec, plus the URLs/views for serving the documentation templates that swagger provides.

There's also some provisos that this introduces...
Core API can be mapped pretty well onto a swagger document, but there will be a few places where we might need to smooth things over a bit. Eg. we don't represent the expected status codes of a response in a link, because it's not actually behaviorally necessary in order to drive a dynamic client. We can consider how to best handle these aspects as we come to them.
Anyways, I'll leave it at that for now. Any thoughts/feedback welcome. The django-rest-swagger could just stay exactly as it is of course and all would be fine, but this is an interesting oppurtunity for us to make it much easier for developers to support a wide range of schema formats and documentation styles, and it might be worth considering if we could transition django-rest-swagger to leveraging the built-in schema support.

Aside: don't treat the current implementation of the schema generation as anything more than a proof of concept - I needed something I could use against which to write the tutorial section. The final implementation is almost certainly going to be much more similar to how django-rest-swagger works.

@tomchristie Thanks for this. As it turns out, I have started a rewrite/refactor of the project; it would be great to leverage a common API for inspection or even roll up this functionality / project completely into the DRF core. The high-level objectives are listed in #443.
I really like the direction of generating library agnostic specs and see lots of potential in both docs, and in the OPTIONS metaclasses.
Would be great to connect and coordinate the effort!

and in the OPTIONS metaclasses.

Agreed. This will certainly make its way into OPTIONS metadata classes too, tho I'm not sure yet if that'll be as part of 3.4 or 3.5. (The sooner we can get the core bits of this out the better)

Oops fat fingers

Schema documentation now roughly complete: https://github.com/tomchristie/django-rest-framework/blob/schema-support/docs/api-guide/schemas.md
Ideally would be good to see Swagger package alongside the 3.4 release, as it'd be a good test of if the schema implementation is sufficient for your package's requirements. I may be able to put some work in there, tho I'll start of with tackling remaining stuff on the schema ticket.

@tomchristie Closing this out as the release is complete. Congratulations on 3.4!
I am doing a triage of open tickets in this project to come up with a feature list for the schema generator.


Circular dependencies detection problem

I got exception about circular dependencies, but there are no circular dependencies just same property types and same object.
Just show code instead of 1000 words
using ExtendedXmlSerializer;
using ExtendedXmlSerializer.Configuration;

var sameInnerObject = new InnerObject { Id = 100 };
var testRootObject = new RootObject
{
    Item1 = sameInnerObject,
    Item2 = null,
    List = new List<InnerObject>
    {
        sameInnerObject
    }
};

var serialized = new ConfigurationContainer().Create().Serialize(testRootObject);
Console.WriteLine("Success");

public class RootObject
{
    // This is the same object type as Item2 but can have other value
    public InnerObject? Item1 { get; set; }

    // This is the same object type as Item1 but can have other value
    public InnerObject? Item2 { get; set; }

    //Should have the same object as Item1 or Item2
    public List<InnerObject> List { get; set; } = new();
}

public class InnerObject
{
    public int Id { get; set; }
}

Thank you for reporting this @UladimirLameyko I can confirm I am seeing the same thing here.   It's weird too as if I remove Item2 the error goes away. 🤔
I will take a look into it.  However, I am not sure how much of a priority I can make it ATM with both the holidays here and the fact that the last time we deployed something was over a year ago. 😬

@Mike-E-angelo Thanks for your response
It is strange, why only by having empty field is enough to create a problem.
It is ok that it can take a while to fix, just want to help others do not face this definitely unique situation on production.😎

OK I've managed to take a look at this.  There are a few issues here:

Before we run an instance (reference) graph check on the provided instance, we run a static type check.  The static type check looks at all the properties on the type and determines if any of the properties can contain a circular reference.  If this is true then the instance reference graph check is added to the serializer when instances are serialized.  We check for member properties, but collections should be checked as well.  This is a bug.
The way we are doing circular reference checks here seems to be inaccurate.  As your graph clearly shows, there is no danger with serializing objects that appear more than once.  However, our reference extension optimizes this process and will only emit the reference once in the graph, and then reference back to it whenever it does occur again.

#1 is tricky but I was able to fix it pretty quickly.  #2 is a bit of a problem.  There are two scenarios here conflated into one:

Circular references
Multiple occurrences of the same reference

This is tricky because one (the first) is really bad and will cycle forever (hence the exception).  The second isn't as bad but our reference extension optimizes the serialization/deserialization process by writing/reading the reference once and using "pointers" for subsequent occurrences. As such, it is a recommendation to do this rather than having the serializer/deserializer write/read the same instance multiple times in the graph.
Unfortunately, it does not appear that our circular reference detector actually checks for circular references 😭  It appears to only detect the same instance being found in a graph more than once.
I am currently eyeballing how much work it would take to make a true circular reference detector in a short amount of time.  If I can do that then I will attempt this.  Otherwise, I am a bit perplexed on how to handle this one. 🤔

OK @UladimirLameyko this was sort of involved but I landed on a solution I am happy with.  We now check to see if both Cyclical References are encountered as well as Multiple References.
These still both throw exceptions by default to stay with current design.  However, if you would like to utilize multiple references without enabling references, you can do so with the new AllowMultipleReferences configuration method as demonstrated here:
https://github.com/ExtendedXmlSerializer/home/blob/master/test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue583Tests.cs#L46-L61
Now is the tricky part... to get this deployed.  All sorts of expected values are broken in such regard ATM because keys and the like have expired.
However, in the meantime you can try the latest preview version as outlined here:
https://github.com/ExtendedXmlSerializer/home/pull/586#issuecomment-1365446421
Please let me know if you have any questions/issues and I will do my best to assist. 👍

It is actually incredible to see your fix so fast. Thank you very much.😎

Thank you @UladimirLameyko it is appreciated.  I barely have enough time to spend on this project now but there just so happened to be a window here with the holidays, so took advantage of it.  I also figure that since it's been over a year now since anything has been reported it's better to attend to this now than never. 😄

Will you create a new release with that fix?

I will attempt to brush off the dust here with the deployments today and see if I can get something going here.  I will let you know where if/when it is ready. 👍

Alright @UladimirLameyko you should be able to get the latest NuGet with this change here:
https://www.nuget.org/packages/ExtendedXmlSerializer
Thank you for improving ExtendedXmlSerializer.  Happy Holidays out there 🎄⛄🌟


Take into account consumer price indices

EXIOBASE relies on numbers from the past. The data we're currently using is from 2011.
To improve the accuracy of our carbon equivalent numbers, we should take into account changes in prices since 2011, and then the currency exchange from 2011 as EXIOBASE is in €.
Steps to get the adjusted price:

Use index from the proper country (fallback:OECD average data)
Use index from the latest available date
Use index from the most precise COICOP category (fallback: total CPI index)
Convert the price adjusted by the indexes to EUROS

Development priority

Convert prices to Euros
CPI from the proper country from 2019

Structure of files:
exchangerate.yml:

currency pair
--- year
---- month

consumerpriceindices.yml

country (ISO2)
-- COICOP category
--- year
---- month

Current data available:

2011 exchange rates to Euros (Source EUROSTAT)
2011_euro_exchange_rates.xlsx

CPI by country by month by COICOP category (Source: OECD)
CPI_indices_OECD.xlsx

@pierresegonne: @martincollignon and I wrote a brief here to specify better the task:
https://www.notion.so/tmrow/CPI-brief-a125471890544282a657b42b11a2bf21

@martincollignon do you know from where exactly you obtained the OECD excel file? I'll add it to the PR once I have the link :)

https://stats.oecd.org/Index.aspx?DataSetCode=PRICES_CPI#
Without knowing which numbers you have in the PR, I've pulled the latest ones just to make sure here.
6cbdd8cd-f015-448f-a1c4-54a9cb63c987.xlsx


bug:应用程序无法正常启动，以下是详细的错误信息，希望能够解决，谢谢

D:\下载\umamusume_voice_text_extractor_executeable>.\umamusume_voice_text_extractor\umamusume_voice_text_extractor.exe
Traceback (most recent call last):
File "D:\chinosk_source\sdk_v2.6.5\umamusume_project\umamusume voice extractor\gui_main.py", line 3, in
File "gui\guimain.py", line 445, in ui_run_main
File "gui\guimain.py", line 442, in show_main_window
File "gui\guimain.py", line 283, in init_main_window
File "voiceex\live_music\live_music_ex.py", line 14, in init
File "voiceex\resource.py", line 27, in init
File "voiceex\database.py", line 14, in init
sqlite3.OperationalError: unable to open database file
[1320] Failed to execute script 'gui_main' due to unhandled exception!

已有相同 Issue #6
进一次游戏即可解决


Durability of integrity checks at startup

I wonder whether the integrity checks - from readme:

Integrity checks at startup, erasing incomplete writings (old values are not lost) and checking which sector is in use.

are themself also durable - i.e. any random power outage during the startup integrity check is guaranteed to not worsen the situation.
Any insights? Thanks!

These questions almost turned into philosophical or logical problems. They are not easy to resolve. Really, in startup, there's no way to know what happened before. I preferred, in this way, to have actions that I consider safe:

evaluate the sector in use and, only at the end of the routine, try to invalidate what is not in use. A failure in this procedure does not cause problems in the solution.
evaluate each data recorded in the sector. I also understand that deleting the old entry is relatively safe but has a risk. A possible case is when the deletion does not complete and generates a new key, for example. Or worse, a key that equals an existing one. Honestly, I don't see how to handle this easily. It could be mitigated with a list of expected keys and deletion of keys that shouldn't be there but I see this as an application behavior (out of kved scope).

Honestly, I don't see how to handle this easily. It could be mitigated with a list of expected keys and deletion of keys that shouldn't be there but I see this as an application behavior (out of kved scope).

I will give it a thought. In the meantime, could you document this behavior (in the API documentation) and the expectation that the application will handle this case and perhaps add TODO strings to the relevant parts of the source code of kved?
Thanks!


Prepare for 0.10.1 release

Can we also update the version in globus_action_provider_tools/init.py? I don't think it's used anywhere but since it's there it would be good to keep it up to date.

Done. I'll have to get used to making the update there as well. Thanks for letting me know.


Inconsistent implementation of F811 with respect to submodule imports

Ruff emits no F811 diagnostics for this snippet:
import ctypes
import ctypes.wintypes

However, it emits an F811 diagnostic for this snippet:
import importlib

ctypes = importlib.import_module("ctypes")
import ctypes.wintypes

I think Ruff should either emit a diagnostic for both of these, or neither of these, since they're equivalent in terms of what happens with respect to symbol definitions:

A ctypes symbol is defined. For the first snippet this is defined via an import statement, and for the second it is defined via a function call, but this difference shouldn't really be relevant.
The import ctypes.wintypes statement causes:

The ctypes variable to be reassigned in the global namespace (but to the same object, which is just looked up in the sys.modules cache)
The ctypes.wintypes submodule to be loaded and stored as a wintypes attribute on the ctypes module object

I would lean towards not emitting a diagnostic on either of these, because although the submodule import of ctypes.wintypes is strictly-speaking a redefinition of the ctypes variable in both cases, many people consider it unidiomatic to access top-level members from ctypes in a module that only has import ctypes.wintypes in it. (It's sort-of an "implicit import" of the top-level ctypes module.)
This came up in https://github.com/python/cpython/pull/124384.
Terms I searched for before filing the issue:

F811
redefined-while-unused

I agree we should probably not emit in the second case.


Increased minimum PHP version to 8.1

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
✔

Fixed issues
#61

Thanks!


Change BlobStore so records can have a lifeVersion rather than -1

BlobStore doesn't support operations where the lifeVersion is not -1. It always assume those operations are from frontend. This PR extends support to replication.
After this PR, BlobStore will be able to put, ttl update, delete and undelete a blob that should have a higher lifeVersion.

Codecov Report

Merging #1444 into master will increase coverage by 0.07%.
The diff coverage is 86.95%.

@@             Coverage Diff              @@
##             master    #1444      +/-   ##
============================================
+ Coverage     73.13%   73.20%   +0.07%
- Complexity     7648     7734      +86
============================================
  Files           552      552
  Lines         42385    42486     +101
  Branches       5318     5336      +18
============================================
+ Hits          30998    31103     +105
+ Misses         9841     9837       -4
  Partials       1546     1546

Impacted Files
Coverage Δ
Complexity Δ

...om.github.ambry.replication/BlobIdTransformer.java
86.76% <60.00%> (-2.47%)
24.00 <1.00> (+2.00)
:arrow_down:

...hub.ambry.messageformat/ValidatingTransformer.java
84.44% <66.66%> (-5.56%)
7.00 <1.00> (+2.00)
:arrow_down:

...main/java/com.github.ambry.store/IndexSegment.java
87.56% <80.00%> (+0.04%)
133.00 <0.00> (+1.00)

...rc/main/java/com.github.ambry.store/BlobStore.java
89.11% <89.18%> (-0.64%)
113.00 <0.00> (+3.00)
:arrow_down:

.../main/java/com.github.ambry/store/MessageInfo.java
89.65% <100.00%> (+0.24%)
26.00 <1.00> (+1.00)

.../java/com.github.ambry.protocol/AmbryRequests.java
85.60% <100.00%> (+0.08%)
80.00 <0.00> (ø)

...va/com.github.ambry.replication/ReplicaThread.java
87.71% <100.00%> (+1.89%)
95.00 <0.00> (+3.00)

...c/main/java/com.github.ambry.store/IndexValue.java
95.07% <100.00%> (ø)
55.00 <2.00> (ø)

...n/java/com.github.ambry.store/PersistentIndex.java
90.32% <100.00%> (+0.35%)
245.00 <3.00> (+2.00)

...ithub.ambry.commons/LoggingNotificationSystem.java
25.80% <0.00%> (-19.36%)
6.00% <0.00%> (-3.00%)

... and 32 more

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 1c4c360...29908cf. Read the comment docs.


Fix relative url rewrite with same parent directory.

Source path: assets/css/prx_media_48.css
body {
    background-image:url("../../../files/xyz/startseite/bg/BG_Start-Koblenz.jpg");
}

Target path: assets/theme-plus/proxy.php/css/d6cc649c/prx_media_48.css
File location: files/xyz/startseite/bg/BG_Start-Koblenz.jpg
Expected result: ../../../../../files/xyz/startseite/bg/BG_Start-Koblenz.jpg
Current result: : ../../../files/xyz/startseite/bg/BG_Start-Koblenz.jpg
The problem is, that both have the same parent directory.
The while loop remove the deepest directory from the path, if the source url start with ../, but this will also remove leading ../ from the path, but ../ parts must be stacked!

Sry for the late response, I missed the notification :-\
Writing the test case I find out that there are more conditions required to reach this issue:

there must at least one identical parent directory, e.g. css/
the target path must at least two levels deeper than the source path, e.g. css/body.css -> css/my/target/main.css

Running the test line without my patch will fail.

:+1:

Having a similar issue. Is there a workaround?


Make all assemblies CLS compliant

Please add [assembly: CLSCompliant(true)] to the CommonAssemblyInfo.cs as recommended by code analysis in Visual Studio.
All our code is CLS compliant but we have to add [CLSCompliant(false)] everywhere we use FluentValidation:
    [CLSCompliant(false)]
    public class ProductValidator : AbstractValidator<CatalogProduct>
    {
        ...
    }

This was already done in 7.1.1 - please make sure you're running the latest build.

Oh, I'm sorry.

No problem. Let me know if you run into any other issues.


Build from a list of root module filenames?

I'm unable extrapolate from the arithmetic examples to determine if there is way to supply list of module files which will be recursively imported to build a bundle.
I wonder if it might be possible to create a SFX file for traceur?

Yes all modules passed into the build function have their dependencies traced in turn.
It may well be possible to do an SFX bundle for Traceur. Note that the runtime errors in SFX bundles are not debug-friendly, so it is advisable to start by doing a normal load through SystemJS.

Closing for now, just let me know if you want to discuss this further at all.


Add frame global perspective.

This PR implements a frame global perspective. Any buffer that is a member of the frame global perspective is available for selection when using a perspective aware buffer switcher. Every frame gets its own frame global perspective.
I have been using something like this in my config for a while. It is useful to me because I like to have shell-mode buffers open named *SHELL-{1,5}* that I always want to be able to switch to regardless of what perspective I am in
The way I implemented this is by modifying persp-current-buffers so that it takes an optional arg include-global that if non-nil includes buffers that are members of the perspective named persp-frame-global-perspective-name. Naturally this requires that I also had add the same optional arg to persp-current-buffer-names, persp-is-current-buffer, persp-buffer-filter, and persp-buffer-list-filter. I then modified all of the buffer switchers to use this new option.
I also added wrappers, persp-add-frame-global-buffer, persp-set-frame-global-buffer, persp-remove-frame-global-perspective, and persp-forget-frame-global-perspective. These all work like their generic counterparts but for the frame global perspective.
The name for the frame global perspective is set by the variable persp-frame-global-perspective-name, which defaults to "GLOBAL".

Hmm failed the tests for emacs 24.4. I'll have to figure that out.

Fixed it :)
Turns out the problem was that persp-current-buffers is also used as a place in setf expressions. So I had to slightly rework the implementation.
I also realized I forgot to modify the ido buffer switcher so I got that to work as well.

I added a keybinding for persp-add-frame-global-buffer and prevented the GLOBAL perspective from being created implicitly.
As for your request to automatically delete the GLOBAL perspective if it is empty, here are some ideas that all have their own problems:

Adding a kill-buffer-hook like you suggested will not work because of the possibility of a buffer being a member of both the GLOBAL perspective and some other perspective.

I could modify persp-switch so that it checks if the GLOBAL perspective is empty and if so kills it. Then when the user calls persp-switch or any buffer switcher (they all call persp-switch at some level of their call stack because of the modifications I made to make them check the GLOBAL perspectives buffers), the GLOBAL perspective will be deleted. The problem with this is that the GLOBAL perspective will not immediately be killed after it's last buffer is removed. I also think it is just strange to add this behavior to persp-switch as switching perspectives should have nothing to do with killing a perspective.

Make a new function persp-remove-frame-global-buffer that is not defined in terms of persp-remove-buffer so it can implement correct logic for deleting the GLOBAL perspective if it is empty. Then document to the user that the only correct way to remove GLOBAL buffers is with this function. I can't see this being a good idea.

Would you merge this PR even if the GLOBAL perspective is not deleted automatically? I think it makes more sense to make it clear in the documentation that the GLOBAL perspective is just another perspective and behaves the same as any other. If this is not acceptable then I think the whole PR should be reimplemented by using a frame-parameter instead of a "special" perspective.

Upon reflection, I'm fine with the global perspective not being deleted automatically. It's an opt-in feature, so users who want it can wrangle with it. (It can be automatically cleaned up with a sufficiently sophisticated kill-buffer-hook, but the needed checks are complicated and potentially slow because that hook runs very frequently.)
I added a bit more documentation, and renamed the main entry point function to persp-add-buffer-to-frame-global, which sounds to me a bit less cryptic. I also had to move some code around to make the byte compiler not issue macro order warnings.
Thank you for contributing to Perspective!


Hover on entity segment to change color on map

When user hover over city and date result for each entity, the corresponding segment should change the color.

Done.


feat(excel column number)

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

Comparison is base (9f251c8) 97.89% compared to head (9f51c0c) 97.97%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   97.89%   97.97%   +0.07%
==========================================
  Files          21       22       +1
  Lines         476      494      +18
==========================================
+ Hits          466      484      +18
  Misses         10       10

Files
Coverage Δ

source/excel_column_name.cpp
100.00% <100.00%> (ø)

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

Approved


[Tabs] Scrollable tabs don't work on RTL mode

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Hi guys I'm currentlly using v4 and when i switch to rtl scroll doesnt work when i click on the arrow i even noticed that same issue happening with the offecial doc of material
you can just switch to rtl and see the issue
https://v4.mui.com/components/tabs/

is there any way to fix this ? i even tried to switch to v5 and same issue
Expected behavior 🤔
No response
Steps to reproduce 🕹
Steps:

2.s
3.
4.
s
Context 🔦
No response
Your environment 🌎
No response

Hey! Thanks for opening the issue. That is weird, to me is working fine (video attached). To better investigate, I think it's useful for you to leave more info about your setup (browser version, OS, etc)
https://user-images.githubusercontent.com/67129314/146061858-9c91f9fe-b634-4195-aa83-1098b8101b98.mov

Hey! Thanks for opening the issue. That is weird, it's working fine to me (video attached). To better investigate it, I think it's useful for you to leave more info about your setup (browser version, OS, etc)
tabs-scroll.mov

Hi man thank you so much for replying on me
I just recorder this video and you can see it clearly this is exactly what is happening with me inside my project in LTR mode it's woking fine but in RTL it's not as you see
I'm going to show you a video and my code in another reply
https://user-images.githubusercontent.com/63562308/146266331-8f3b679d-f067-45fb-a0c2-b6c125c39a4c.mp4

https://user-images.githubusercontent.com/63562308/146267647-e7e41831-5f72-43ec-9313-8004e3565002.mp4
here is a video inside my project you can see same thing is happening here but arrows are flipping their direction
this is my tab component

and here my work to add rtl to the jss

i hope everything is clear to you i really tried to solve this issue so hardly but i couldnt i even tried to use many other tabs libs but no one of them served what i want as material ui did and i really hope i can fix this issue because i'm so tired of it and i need it in my project

@mnajdova or @siriwatknp any ideas on what's happening?!

@Mood-al looks like you are using v4. We do not actively work on it anymore. Can you try to reproduce with v5 (as far as I can see it works as expected)?
Also, looks like it works with v4 too (at least on the documentation - https://v4.mui.com/components/tabs/#scrollable-tabs) Make sure you follow this guide when configuring RTL - https://v4.mui.com/guides/right-to-left/
If this didn't help, please provide a codesandbox illustrating the issue.

@Mood-al looks like you are using v4. We do not actively work on it anymore. Can you try to reproduce with v5 (as far as I can see it works as expected)?
Also, looks like it works with v4 too (at least on the documentation - https://v4.mui.com/components/tabs/#scrollable-tabs) Make sure you follow this guide when configuring RTL - https://v4.mui.com/guides/right-to-left/
If this didn't help, please provide a codesandbox illustrating the issue.

Hi Marija thank you so much for replying on me
I'm going to try v5 but my issue is i have to convert my entire project to v5 plus v5 it has no styled component ssr support and my project is built on next js ssr and there is no jss rtl support like v4 so if i wanted to use it i have to use emotion and i really have no use for it i mean i will just use it for material ui so i really dont know how to use v5 without using emotion
about the v4 version i tried the website you gave me and i took this video same thing happening 😢
https://user-images.githubusercontent.com/63562308/147137366-ff9f6450-cba5-455b-8599-f722f607b2a1.mp4
thank you so much for helping me out ..
you guys are the best <3

Hi again
i created a new project in codesandbox using next js and mui v5 you can see it here
https://codesandbox.io/s/stupefied-borg-7u66f
as you see same issue is appearing now
do you have any idea how i can fix it?

Unfortunately, I cannot reproduce both in v4 and v5, and neither on the CodeSandbox. Do you have some system language settings different than English? Can you post the output from npx @mui/envinfo here?

I just wanted to say that in mui v5 tabs are working just fine at RTL mode
https://mui.com/components/tabs/#main-content
so i just did as you mentioned at mui v5 docs in my codesandbox example
as you see here https://codesandbox.io/s/stupefied-borg-7u66f
but it's not working at all as it expected i mean the scroll at rtl doesnt work at all
could you just check out my example at codesandbox and you can see that everything i did was exactly like the docs i really dont know what i did wrong this issue is tiring me i have trying to fix it a month ago and it seems it wont e fixed 😢

Are you using Edge? If yes, this is why we need more context to what you use. I will take a look tomorrow again if the is is the case

No I'm not I'm using chrome but when i ran npx @mui envinfo on vscode it showed edge because maybe they built it on tob of it

Why did you close it and so far the bug is in the library??
So far i didnt get any kind of solution from you and i dont even know how to fix this issue!!!

Please do not open new issues on the same matter. If you have a reproduction that we can take a look, or steps of how to reproduce it, leave a comment and re-open the issue.
So far, I haven't been able to reproduce it with any of the code snippets that you've shared. @hbjORbj can you re-validate too?

Hi again
I have noticed that the scroll works fine on RTL mode in firefox but in any chromium core browsers like Chrome or edge it doesnt
i really dont know why this happening but if you tried the deployed example on firefox it will work just fine on both RTL and LTR modes

@mnajdova @Mood-al I can confirm that (1) tab scroll works well on v5 in RTL mode and (2) tab scroll doesn't work well on v4 in RTL mode. As Marija already mentioned, we do not work on v4 anymore. I suggest you to migrate to v5. Here is a migration guide from v4 to v5: https://mui.com/guides/migration-v4/

@mnajdova @Mood-al I can confirm that (1) tab scroll works well on v5 in RTL mode and (2) tab scroll doesn't work well on v4 in RTL mode. As Marija already mentioned, we do not work on v4 anymore. I suggest you to migrate to v5. Here is a migration guide from v4 to v5: https://mui.com/guides/migration-v4/

Hey there
I migrated to v5 as you see in this codesandbox example I'm using v5
https://codesandbox.io/s/stupefied-borg-7u66f
And here a deployed version of this example
https://mui-v5-rtl-tabs.vercel.app/
There is something i noticed that Tabs are working just fine on Firefox but once i use any kind of chromium core based browsers like chrome or edge it stops working on RTL
I'm using the latest version of chrome and edge
Is there any explanation why this is happening??

Hi, I am using Chrome.
You can see in the recording that it works fine on v5.
https://user-images.githubusercontent.com/32841130/147562278-f29af6fb-0516-41be-8bff-72a6b4bd9104.mov

It's really odd i dont know why this is happening on my device
here is a video that i just recoded and as you see it doenst working
https://user-images.githubusercontent.com/63562308/147563333-be32013a-61bf-4644-83d5-8c6920b3b256.mp4

Hi there I'm facing the same issue with scrollable tabs on RTL
I tried @Mood-al example and it doesnt work on my device too I'm using window 10 pro with latest version of chrome
here is a video on my device.
Uploading New-Recording-12_28_2021_-11_37_52-PM.mp4…
have anyone found any solution for this bug??

No, it's difficult for Marija or myself to find a fix for this because we can't reproduce this. Would you be able to spend some time on figuring out the source of the error?

Here is the problem i couldn't find the error and why this is happening

No, it's difficult for Marija or myself to find a fix for this because we can't reproduce this. Would you be able to spend some time on figuring out the source of the error?

I'm wondering on what OS did you try the codesandbox example ??
I have tried the example on 2 windows devices with diffrent specs and it doesn work on both

I'm wondering on what OS did you try the codesandbox example ??
@mnajdova  @hbjORbj
I have tried the example on 2 windows devices with diffrent specs and it doesnt work on both of them,
have you tried it on windows device or just macOS??

@Mood-al It works fine in windows( chrome, edge, and firefox). Please try it in Private mode,
Thank you

@abhinav-22-tech Thanks for confirming.
@Mood-al Each of us uses Windows and Mac respectively, so I think this bug is specific to your device or environment.

Hey again guys
@hbjORbj
I noticed something when i sat my portview to 110% on chrome and then refreshed the page the tabs worked just fine on RTL mode like this video
https://user-images.githubusercontent.com/63562308/147795338-04605bf0-eb80-47c0-ba88-675a42567e04.mp4
do you have any thoughts about that?
about my device well i tried it on 5 devices the tabs worked on 3 of them on RTL mode and on my device and on another one it didnt all of them have windows 10 installed
i tested it on mac but it worked fine
@abhinav-22-tech  I tested it on private mode but same thing happened to me it didnt work

Hey, @hbjORbj I tried in my brother's PC it doesn't work properly.
https://user-images.githubusercontent.com/66718489/147828758-7bccbc28-d2d8-400b-8868-cbabe39c0283.mp4
There is a bug in this. I request you please re-open this issue.

Could you please reopen this issue? @hbjORbj?
There are three of us having this issue so it's a bug

Hey, @hbjORbj I tried in my brother's PC it doesn't work properly.
Screen.Recording.12-31-2021.7-57-55.PM.mp4
There is a bug in this. I request you please re-open this issue.

Could you try my example too on your brother device? The bug is so weird i dont know what is the thing that makes it appear on some device and disappear on others

@hbjORbj Hey man have anyone found a solution for this issue?

@Mood-al Hey, I do not currently have the time to investigate into this as I have more important other tasks, and so does the other team members. This is relatively not a high-priority issue. We will look into it when we can for sure.

Hi,
I'm having the exact same issue:
https://user-images.githubusercontent.com/66024037/150659223-8821dc9d-5869-4749-9963-656eb68a9688.mp4
I'm using chrome with windows 10 OS.
I've also tried on Firefox, works just fine.
Like mentioned above, it seems to only break on chromium based browsers.
Are there any updates on this?

Hi, I'm having the exact same issue:
React.Tabs.component.-.MUI.-.Google.Chrome.2022-01-23.01-51-35.mp4
I'm using chrome with windows 10 OS. I've also tried on Firefox, works just fine. Like mentioned above, it seems to only break on chromium based browsers. Are there any updates on this?
I opened this issue 3 months ago i guess and despite many users have the same issue but it seems the Mui team didn't put this issue as priority I hope they start to debugg it the issue is there on all Material ui versions i tested them all and same thing is happening

If you tried to put your page zoom on 110% and then you refreshed the page the tabs will work fine on RTL mode

Hey guys did anyone find a solution for this bug ??
I'm having this issue too, the tabs work on firefox but on chrome or opera they dont as it's shown in the video
I have tried all material versions and same issue is appearing on scrollable tabs in rtl
my device is working on window 10 but i tried it on my friend's macbook and it works good
https://user-images.githubusercontent.com/99055170/152618349-8f58d066-177a-41e7-add2-5f8c15423622.mp4

@hbjORbj  @mnajdova @Mood-al   can you reopen it again??

@hbjORbj  Hey man thank you for reopen it.
I was wondering why there is no custom prev / next click functions so we can add our own buttons and I think this would solve the whole issue
Like adding new api to the tabs with two new functions one for prev and the another one for next and using them we can add some custom button with diffrent style

Sorry for late response. I shared this issue with the team as I cannot reproduce the issue on my Mac.

I was wondering why there is no custom prev / next click functions so we can add our own buttons and I think this would solve the whole issue
Like adding new api to the tabs with two new functions one for prev and the another one for next and using them we can add some custom button with diffrent style

This seems to deserve a new issue.

Sorry for late response. I shared this issue with the team as I cannot reproduce the issue on my Mac.

I was wondering why there is no custom prev / next click functions so we can add our own buttons and I think this would solve the whole issue
Like adding new api to the tabs with two new functions one for prev and the another one for next and using them we can add some custom button with diffrent style

This seems to deserve a new issue.

I see this issue is really tricky and odd i tried it on many windows devices on some of them it works and on others it doesnt
I think if I could just get the click event of the previos and the next button everything would be sloved so i can disable Mui scroll buttons and use mine as i suggested if you could add a new Api to tabs with prev and next click events we can use our own buttons and it can be more flexible
because as you see the issue is when you are on RTL mode the prev button gets disabled
and Thank you so much for your reply 👍

I have the same issue in RTL mode and this issue is just in chrome for me and in edge it works well.

I have the same issue in RTL mode and this issue is just in chrome for me and in edge it works well.

Can you reproduce it and maybe record a video showing it.
I tried so much to fix it but it seems it doesn't work and the Mui couldnt do anything because they can't reproduce it on their devices it just happens on some windows devices and that what makes it so tricky i hope they just provide us with new api of the prev and next button event click with that we can avoid that and use our own btn i think the issue is with their calculations on rtl mode.
However I'm building a new react component just to replace the mui tabs with fully support of RTL mode
You can see it here so far i didnt puplish it on Npm
https://react-nav-tabs.vercel.app/
So far it has many small bugs i hope i can fix them and publish it on npm soon i just don't have that much time for it

Hey guys, I'm facing the same issue, I managed to overlook this issue when it came to mobile responsive as dragging will compensate this issue (in my case), but for full screen is a must, does anyone find a solution to this?

@Mood-al Since you can reproduce the error, would you be willing to work on this further and open a PR?

Hey guys I'm going to close this issue
I built a react component and published it on npm if there anyone having the same problem
the component is fully customizable with many features
you can see the demo of it here https://react-tabs-scrollable.vercel.app
and here is the npm link of it https://www.npmjs.com/package/react-tabs-scrollable

I encountered a strange issue with tabs. In RTL, the arrows appeared in the opposite direction. I spent an entire day looking for a fix, as the tabs were displaying correctly in MUI examples. I solved the problem by changing the theme provider import from emotion to mui, which completely resolved the issue.
Before:
import { ThemeProvider } from "@emotion/react";
After:
import { ThemeProvider } from "@mui/material";


Shortcut for Reopen Document work (CTRL+SHIFT+T) is already used by Go To Files

For me the current key chord CTRL+SHIFT+T, CTRL+SHIFT+T for the Reopen Document command doesn't work because as soon as the first CTRL+SHIFT+T is pressed, the Go To dialog opens set to Go To Files:

CTRL+T, CTRL+T is available as is CTRL+R, CTRL+D which is actually more intuitive for Reopen Document.
I'm happy to create a pull request that changes the shortcut to either of the suggested chords (or something else) if you also find that the current shortcut doesn't work, if you'd like me to go ahead and do that.

I was just going to open the same issue. what I think is that there should be an option to modify the shortcuts of this extension.

@bilalmehrban unfortunately extensions can't provide their own option for a user-selectable shortcut, but Visual Studio provides the UI to do so manually.
Click on Tools | Options | Environment | Keyboard, search for File.ReOpenClosedFile, remove the CTRL+SHIFT+T shortcut currently added by the extension, and assign whatever shortcut you prefer.
Actually I don't know why CTRL+SHIFT+Z (Edit.UndoClose) doesn't seem to reopen a document/tab that's been closed. So I wonder why there's both Edit.UndoClose and File.ReopenDocument and what the difference between them  is supposed to be.
@madskristensen do you know?
An already built-in way is CTRL+T, R and then select the file you want to reopen. You can select the file you want using the keyboard (using Up or Down arrow) and pressing ENTER, or clicking on a file in the list.
Also ALT+F, F (or ALT+F, ALT+F - just don't let go of the ALT key in between) is a quick way to jump to recent files list in the File menu.
So maybe this Tweaks command isn't even necessary? Or I guess it's a faster way of reopening the last closed document, as the built-in ways require selecting from a list. I think I might be using CTRL+T, R now that I've discovered it.

Thank you for the clarification 😊🤞


Fix request url image

Summary
Addresses #312. Tested locally and it seems to work. I'm not sure if there was just something wrong with the image file itself?
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

Seems like it. Working now, thanks :)


Run scenario_app's Android tests with API version < 29

At API Version 29+, we use ImageReader instead of SurfaceTexture.
However, many devices will continue to use the older SurfaceTexture-based APIs for a long time, and we've historically broken external texture support here.
My suggestion is to:

Add a Skia variant with API version 28 to ci/builders/linux_android_emulator.json
Do the same thing for Impeller + OpenGLES
Migrate the "plugins" in scenario_app/android/* (example) to the SurfaceProducer pattern

With these steps, we'll be running:

Skia + OpenGLES (Implicit) + ImageReader
Skia + OpenGLES (Implicit) + SurfaceTexture
Impeller + OpenGLES (Explicit) + ImageReader
Impeller + OpenGLES (Explicit) + SurfaceTexture
Impeller + Vulkan (Explicit) + ImageReader

/cc @johnmccutchan @gaaclarke @jonahwilliams for FYI, I'll be sending a PR but chime in if you disagree.

Closed by https://github.com/flutter/engine/commit/215d55f4f82df91d5c8080bd5140ba929013feda.


Overwriting Authenticators

Hi,
I've been trying to overwrite Ember Simple Auth torii Authenticator, and I've tried many ways (including creating a custom one, and copying/pasting the content). However, I haven't been successful. What's the best way to overwrite a method or two of an existing authenticator?
Thanks so much!
Cheers,
Jorge

You shouldn't try overriding any authenticators at all but extend one and use the extended one then.


openjdk8-jre 8.201.08-r0 breaks kinesis client

It looks like the openjdk8-jre version was updated from 8.191.12-r0 on the 15th and this now breaks amazon kinesis client < 2.0.x. Why is this not only in the edge release and backported to prior versions? We have to use 3.9 since that is the only version pulls in libcouchbase 2.9.x. Is there a way to pull the older version in since this is a breaking change? We cannot continue to use this image in this state.

Subscribing Same issue while installing justb4/jmeter stuff it's not getting nss libraries which you have to install in addition.

Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so
at sun.security.pkcs11.Secmod.initialize(Secmod.java:193)
at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:218)
... 91 more
Having the same issue. This is a breaking change!

@geleman
Workaround is proposed here: https://github.com/docker-library/openjdk/issues/289
Make sure, that you remove this as soon as it got fixed!

i'm pulling the openjdk image that has the 8.119.12-r0 version specifically at this point. I will continue to check on this to see if it gets resolved

@geleman may you point out how I can do the same? Getting the same issue with my Tomcat image.
For the moment, I was able to fix the issue changing line 85 of the Dockerfile to match the expected java version. The container is running and the service seems to be working as expected, but honestly, I have no real idea of the impact this change is causing.

@esantiagovieira I'm using this image  openjdk:8u191-alpine3.9


Missing critical step

After step 10, this article should refer the reader to install Skype For Business Server 2019 before proceeding with the "Verify pilot pool..." step.

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

ID: 1ec4d122-ff87-2c4b-6caa-299795190dc5
Version Independent ID: de2481bd-8b21-b5d7-3898-1a4b40d0bfd2
Content: Deploy pilot pool
Content Source: Skype/SfBServer2019/migration/deploy-pilot-pool.md
Product: skype-for-business-itpro
GitHub Login: @kenwith
Microsoft Alias: kenwith

@officedocsbot assign @scanum

Hello @oldkingcolemsscna
Thanks for your feedback, we really appreciate it.
I created a Pull Request to improve the article adding the missing step.
Thank you

@oldkingcolemsscna Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.
@officedocsbot close


Release minor version bump 0.7.1

I just cherry-picked a couple important fixes into the testing branch, and pushed it as version 0.7.1-rc.
The two fixes were

@mucaho's changes to the release process that should help fix bower
@matthijsgroen changes that properly unregister WebGL entities when they're destroyed

Are there any other fixes that should definitely be merged in?

The versions and dist files in the testing branch look good to me. However, there is a src/version.js file which is probably a remnant from the old src hierarchy, which should probably be removed.

Voting to include #989 in that release, which currently prevents linking online snippets with Crafty v0.7.

I added a release candidate for 0.7.1.

Thanks, I tested both bower and jsfiddle - both displayed correct version using the new build artifacts :+1:

@mucaho Should I go ahead and release this, or are there some additional tests we should run for bower?

Ran another simple demo game using bower, seems to work fine. Remember that only the browser version of crafty is shipped via bower. If you use bower programmatically from node, you won't get Crafty's server version (but you probably use npm on the server anyway):

Install crafty via bower

bower init
bower install crafty#0.7.1-rc2 --save
bower list -p

Use crafty via bower
<script src="bower_components/crafty/dist/crafty.js"></script>

Jsfiddle seems to work fine too. However, I don't get any error messages for using the storage functionality. Could you try using the embed feature of that jsfiddle and see if any errors pop-up?
Other than that, looks good for release in those aspects.

As long as there are no regressions, and it fixes a couple of errors, lets just go ahead and do the release?

(I pushed the release, just need to update the website now.)

Updated the site, so closing this now.  (AFAIK no docs needed updating, so I didn't regenerate them from api.json)

JSFiddle works with the new version, however the new release didn't go that well for bower.
dist/crafty.js and dist/crafty-min.js are missing from the repository, so the 0.7.1 release is broken again for bower :(. If I remember correctly we didn't gitignore those files so that they would be pushed to GitHub with next release.

JSFiddle works with the new version, however the new release didn't go that well for bower.

dist/crafty.js and dist/crafty-min.js are missing from the repository, so the 0.7.1 release is broken again for bower :(. If I remember correctly we didn't gitignore those files so that they would be pushed to GitHub with next grunt release.

@mucaho  I think what happened is that I tagged the wrong commit through the UI -- those files are in the release branch, but it looks like when I created the 0.7.1 release it tagged the develop branch instead.  :|

I might have fixed the tagging issue -- I deleted the tag, which seemed to put the release back into the "DRAFT" state on github.  Then I pointed it at the correct branch and published it again.
It's possible that bower will have cached some info and this will screw things up.

JSFiddle is still working.
Bower worked also! Anyone that already downloaded 0.7.1 will have to do bower cache clean though, to be able to install fresh version (I had to do it too).
Nice, we can treat this issue as properly closed now :)

Well, we forgot node :) I published the new version.
Seems to work for both the server version
npm install craftyjs
node
>> var Crafty = require('craftyjs')();
>>Crafty.getVersion(); //prints 0.7.1

and client version
<html>
  <head>
  </head>
  <body>
    <script src="https://wzrd.in/bundle/craftyjs@latest"></script>
    <script>
    var Crafty = require("craftyjs");
    Crafty.init();
    Crafty.background('rgb(127,127,127)');
    </script>
  </body>
</html>


Japan: substitute holidays and citizens' holidays calculation

I'm not sure, but maybe "substitute holidays" is observed? Or it's just holidays of special type?

Coverage: 100.0%. Remained the same when pulling 3581817f0bf0460d55c908509f9ed3a4eea6bcab on KJhellico:upd-japan into 1a2e5ee81c934352a3c0c6387a0978c1f8b8915f on dr-prodigy:beta.

My understanding is that "substitute holiday" is a direct translation of "振替休日". And the meaning of that seems to be equal to "observed holiday" term.

I think so too. So make it self.observed depended now.

Great refactoring 👍, thank you!


Add PHPUnit

See https://github.com/sebastianbergmann/phpunit/commit/4634e702b5f05f5e948e531eb8b4fc19be40610c

@sebastianbergmann :+1:
It would be cool if you can also include a banner (or a badge at least) in your README.md:


[tflite] fix calculating of output pixels

fix an issue reported by issue #22310

Can u quickly fix the clang format?
https://source.cloud.google.com/results/invocations/2f645f3a-19b6-4ef3-a028-6629e673cae8/targets/%2F%2Ftensorflow%2Ftools%2Fci_build:gen_ci_clang_format_out/log
diff --git a/tensorflow/contrib/lite/examples/label_image/bitmap_helpers_impl.h b/tensorflow/contrib/lite/examples/label_image/bitmap_helpers_impl.h
index 7e09d4bc79..21ad39a6bf 100644
--- a/tensorflow/contrib/lite/examples/label_image/bitmap_helpers_impl.h
+++ b/tensorflow/contrib/lite/examples/label_image/bitmap_helpers_impl.h
@@ -80,8 +80,7 @@ void resize(T* out, uint8_t* in, int image_height, int image_width,
interpreter->Invoke();
auto output = interpreter->typed_tensor(2);

auto output_number_of_pixels =

 wanted_height * wanted_width * wanted_channels;

auto output_number_of_pixels = wanted_height * wanted_width * wanted_channels;
for (int i = 0; i < output_number_of_pixels; i++) {
if (s->input_floating)

@qlzh727 thanks. clang-format done


Refactor path modification to use CORPORA_HOME

Export an environment variable CORPORA_HOME used to set the repo top level dir in test files enabling selective test runners. Context

@Bento007 - Can you provide more context on this issue? @tihuan and I looked at Calvin's "context" but it was not enlightening.

@Bento007 indicated that this issue was resolved. Closing.


select files with checkboxes

What's the Problem?
Since you already have the ability to open/launch file by single click, its now difficult or even nearly impossible to select file(s) with a left click.
Solution/Idea
Please add checkbox in the left side of the file to select it, when user turn on single click to launch/open.
Explorer already has this.
Alternatives
none comes to mind at the moment.
Priorities

Capability
Priority

Add checkboxes to select one or more files
Should

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.526
Windows Version
Microsoft Windows [Version 10.0.22000.526]
Comments
No response

@arlandi1974 you can toggle the multi select feature from the toolbar.

thank you

After I tried enabling Multiselect, it automatically disable single click to open.
In Explorer you can enable both 'multiselect' and 'single click to open'

@arlandi1974 we're tracking that in a separate issue 👍


GH-40377: [Python][CI] Fix install of nightly dask in integration tests

Rationale for this change
Use a proper (non-deprecated) way of installing from git with an "extra", which also fixes the currently failing installation.

GitHub Issue: #40377

@github-actions crossbow submit test-conda-python-3.11-dask-upstream_devel


Updated ApplicationDeployer to conditionally delete published applica…

…tion folder
@JunTaoLuo

Why?
Also, why make it an environment variable rather than a DeploymentParameter?

Why?
Also, why make it an environment variable rather than a DeploymentParameter?

Basically when a test fails/succeeds we currently delete the published folder which prevents from diagnosing the issue if I want to look at the published output and then run the app. I chose environment variable as other approaches (ex: deployment parameter) would require code to be changed to start debugging.
Yeah, I know that having an environment variable reduces discoverability but this would be the same with other approaches too?

Are there any other places in the deployers that directly read environment variables? I'd still favor code-first.

No, there are no other places reading environment variables.

Instead of reading the environment variable in the deployers, maybe have the test projects read/parse it and then pass it along as a deployment parameter?

Yeah, I considered that but since all test projects need to do this wanted to avoid it. Anyways, I guess I will just use deployment parameters and each test project can read the environment variable and set it as needed.

The rest of the change looks good, some minor comments on the parsing of environment variables that will be moved to the tests.

:up: :date:

Changes looks good but the exception message looks wrong. With that fixed: :shipit: .


page jump

i submit a request in the page login and do not see any response through network ,but the page jump to login with query parameters , including account and password .I have no idea. It is danger!

A little more context could probably be helpful.. is this your app, github, forum or something else?

Hi!
Please make sure to ask the question on the forums or the gitter chat. We keep questions out of issues :smile:


fix: Avoid invalid SQL for updating structs with relation pointers

What did this pull request do?
fix: Avoid invalid SQL for updating structs with relation pointers
Previously update attempts on structs which contained pointers to other models would fail to build SQL, attempting to cast the pointer relation struct to SQL. This PR fixes that issue by not attempting to build SQL for fields that don't have a DB field name.
To give more specifics about the issue, the test case failed with the following error until the fix was introduced:
$ go test ./... -run TestEmbed
=== RUN   TestEmbed

optimisticlock/version_test.go:208 sql: converting argument $1 type: unsupported type optimisticlock.User, a struct
[0.300ms] [rows:0] UPDATE `accounts` SET ``="{{1 2023-04-27 00:34:08.533310929 -0700 PDT 2023-04-27 00:34:08.533310929 -0700 PDT {0001-01-01 00:00:00 +0000 UTC false}} bob 20 {1 true}}",`amount`=1000,`created_at`="2023-04-27 00:34:08.534",`deleted_at`=NULL,`ext`="{\"CreditCard\":[\"123456\",\"456123\"]}",`id`=1,`user_id`=1,`version`=`version`+1,`updated_at`="2023-04-27 00:34:08.534" WHERE `accounts`.`deleted_at` IS NULL AND `accounts`.`version` = 1 AND `id` = 1
    version_test.go:208:
                Error Trace:    version_test.go:208
                Error:          Expected nil, but got: &errors.errorString{s:"sql: converting argument $1 type: unsupported type optimisticlock.User, a struct"}
                Test:           TestEmbed
--- FAIL: TestEmbed (0.00s)
FAIL
FAIL    gorm.io/plugin/optimisticlock   0.008s
FAIL

User Case Description
I'm hoping to use optimisticlock in a project where structs are preloaded with many relations, modified, and then saved.

Thanks for the quick merge! Would you mind cutting a release with this change?

see https://github.com/go-gorm/optimisticlock/releases/tag/v1.1.1

Amazing, thanks again!


Release > 1.4

There is not yet any released version containing a Semigroup for Render (5d34ac07bc1f8ea515bbca4773b8bb56f449be9b).

Ah, apologies for the oversight, I think I missed that change and thought I could just do a revision on Hackage for version bounds.  I've released 1.4.1 to Hackage now.

Thank you!


Updating gonum/matrix/mat64 dependency to gonum/gonum/mat

Interested in using this implementation for sparse linear algebra! Noticed that the current underlying matrix type is deprecated, so I went ahead and updated to the current gonum standard.

Nice, thanks!


aql / http api - update root object ignores mergeObjects:false

The document:
{
  _key: 123
   a : 4
}

aql:
FOR t IN test
FILTER t._key == '123'
UPDATE t WITH {} IN test OPTIONS { mergeObjects: false }

does not remove a:4
If its intended this should be documented:
mergeObjects:false does not apply for the document root.

If you want to wipe all existing attributes, then there is REPLACE.
UPDATE will really update the individual attributes in the object specified after the WITH clause. It works on a per-attribute basis, and in the above example, it won't update any attribute as none was specified. So it is intended.
I have added the documentation label for this issue so the docs can be updated if non-appropriate.

From the documentation:
"The REPLACE keyword can be used to completely replace documents in a collection."
"An update operation will only update the attributes specified in document and leave other attributes untouched"
In my opinion that should be enough! :)

To get rid of attributes in an update operation, set them to null and provide the keepNull option:
FOR t IN test
FILTER t._key == '123'
UPDATE t WITH { t: null } IN test OPTIONS { keepNull: false }


Azure function support

Azure functions are basically Websites, Why is the tooling (debug menu UI) not available on azure function projects? Would be of so much use there.

Can you share more on the scenarios where you believe this would be useful?

DevTunnels appears for me for an Azure Functions v1 SDK style project. After manually configuring the port number it seems to work fine. Some automation there to hook it all up would be nice.
It's useful for eg. testing webhooks.

Thanks for the feedback. At this time, we don't plan on changing the experience here. However, the tunnel can manually be created in VS and also via the devtunnel CLI.


LinuxArm64 support

Can we add support for LinuxArm64 also? Getting the following error
:shared:linuxArm64Main: Could not resolve io.arrow-kt:suspendapp:0.4.1-alpha.5.

Hey @sureshg,
Thank you for the ticket, and interest in SuspendApp. We certainly can! I'll see if I can do a release asap with the extra target.

This will be released in the next minor version soon-ish. Thank you for the report 🥳


prepare a KG2.7.3 build for medikanren and send to Unsecret Agent

@acevedol informed me that this has been done, so I am taking myself off the assigned list for this issue. Thank you Lili!


Can't update color once the ProgressStepView is loaded

I can't set another color when the ProgressStepView is already loaded and initialized.
I need to start it pink and complete it in green (descriptionColor and circleTintColor)
Is there a method to achieve this?

Ei @AndrexOfficial thanks for the comment. Today we do not support dynamic color change. The color is only affected when the component is initialized.
But we can make this improvement for a next version, thanks for the feedback


[feature] 啟動伺服器程序改用讀寫鎖

Codecov Report

Merging #16 (bc59f1b) into main (2a72762) will increase coverage by 0.32%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   95.63%   95.96%   +0.32%
==========================================
  Files          23       23
  Lines        1008     1015       +7
==========================================
+ Hits          964      974      +10
+ Misses         32       30       -2
+ Partials       12       11       -1

Impacted Files
Coverage Δ

mizugos/mizugo.go
100.00% <100.00%> (+4.00%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix: do not set legacy proxy from maven or env (#7072)

Fixes Issue
#7072
Description of Change
The Apache HTTPClient based downloader supports http(s).proxy* properties, so we do not need to use legacy logic. In legeacy mode http.nonProxyHosts is not honored, so setting both leads to issues due to missing proxy selectors.
Omit populating legacy properties resolves this issue. In addition we have to move the password decryption from Maven settings up, so it actually works.
Have test cases been added to cover the new functionality?
no

@stklcode Thanks for the PR


PR overlaps other content

On smaller screens PR overlaps onto other text:

Hey @Jambrose777! The projector view assumes a horizontal full-width screen, it is not optimised for smaller screens, it is specifically designed for displaying results on TVs or wall projectors at the competition; we even hide that option on mobile.


Add compress function?

Can you add a new function to compress the DLL file after decompressing to add the DLL again to the apk?

@NickstaDB APKs now have assemblies.blob file in the assets folder which can be unpacked with https://github.com/jakev/xamarin-assembly-store-unpack
This produces the LZ4 compressed assemblies which can be decompressed with this script. It needs to be compressed back to LZ4 and finally into assemblies.blob. It would be very helpful if you can add a compress function.


HBASE-26598 Fix excessive connections in MajorCompactor

MajorCompactor creates excessive connections: once every time MajorCompactionRequest.getConnection is called. Can do better by using the Connection object created in MajorCompactor.
Testing:
Ran mvn -D test="org.apache.hadoop.hbase.util.compaction.TestMajorCompactor" test -pl hbase-server -am
Before:
% grep 'ipc.RpcConnection' hbase-server/target/surefire-reports/org.apache.hadoop.hbase.util.compaction.TestMajorCompactor-output.txt | grep -c 'ClientMeta'
17

After:
% grep 'ipc.RpcConnection' hbase-server/target/surefire-reports/org.apache.hadoop.hbase.util.compaction.TestMajorCompactor-output.txt | grep -c 'ClientMeta'
2

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 26s
Docker mode activated.


chain in a matcher keeps instance variables on other asserts

I've got a matcher for enumerations using enumerate it like this:
module ActiveRecordMatchers

  RSpec::Matchers.define :have_enumeration_for do |enum|

    chain :with do |custom_class|
      @custom_class = custom_class
    end

    match do |subject|
      if @custom_class
        @enum_class = @custom_class
      else
        @enum_class = enum.to_s.camelize.constantize
      end
      subject.class.enumerations[enum.to_sym].should == @enum_class
    end

    failure_message_for_should do |subject|
      "#{subject.class} should have an enumeration on #{enum}. Enumerations: #{subject.class.enumerations.inspect}"
    end

    description do |enum|
      "have an enum for #{enum}"
    end
  end
end

On 2.8.0.rc1 and before, this work like intended:
  it { should have_enumeration_for(:capacity).with(ChipCapacity) } # @enum_class is ChipCapacity
  it { should have_enumeration_for(:state) } #@enum_class is State

After 2.8.0.rc1, the behavior has changed:
  it { should have_enumeration_for(:capacity).with(ChipCapacity) } # @enum_class is ChipCapacity
  it { should have_enumeration_for(:state) } #@enum_class is ChipCapacity

Is this a bug? Is this intended?

Please report this to http://github.com/rspec/rspec-expectations/issues

I always create the issue on the wrong place. My bad! Just created it there.

No worries - thanks for the quick move.


CMS for Events

Notes from discussion with @esot321c
maketing needs to

[ ] spin up a whiltelist
[ ] export CSV from the whitelist for emails/airdrops
[ ] spin up purchase pages
[ ] dynamically populate purchase page with data by updating with CMS
[ ] make sure the dates are understandable
.. for example, if the IDO is on the 10th, and emissions are daily, then smart contract may need value of the 9th

Net: the events CMS is likely a good proving ground for Paideia.  It doesn't need to be perfect for now, and any code that works well will be valuable and save time when using for Paideia


GPG Commit Signatures from Gitea 1.12.0

Gitea version (or commit ref): 1.12.0
Git version: 2.26.2
Operating system: Synology
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
I have a question about setting [repository.signing] i app.ini.
On my account I have GPG set and working - I can sign commits and push it to gitea and they are marked as signed. But Im more intrested of signing merges from PR and other actions made from gitea level.
My app.ini conf looks like this:
[repository.signing]
SIGNING_KEY = default
INITIAL_COMMIT = pubkey
CRUD_ACTIONS = pubkey
WIKI = never
MERGES = pubkey

After setting this, it shows

As it is said here click this configuration should

The  default  option will interrogate  git config  for  commit.gpgsign  option - if this is set, then it will use the results of the  user.signingkey ,  user.name  and  user.email  as appropriate.

So, I edited config file inside selected repository in /gitea-repositories/ and added:
[commit]
    gpgsign = true
[user]
    signingkey = D8CC0A720BA8380B

This signkey matches my GPG user key, that works with commits. After this, there is information:

If I select Merge PR, I get error 500 and nothing happens.

I can't edit files inside this repo too, as I get

I made some changes in another Test repo (where I didnt change any configuration) and there I can add and edit files from gitea, ofc. they wont be signed. I cloned it and checked git log --show-signature and commits from gitea have author with my user name (correct) and email set as<EMAIL_ADDRESS>I assume, that this is because I have my email address set as private. But there is NO WAY to add GPG signature containing @noreply address, as Gitea says that this email address is not connected with my profile!
So, I set my email as visible. Now, commits from gitea are marked with my correct username and email. Still, wont get signed. I've set up everything as mentioned above and then I can't add file, or merge PR as some kind of GPG error.
What am I doing wrong? There must be something wrong with GPG key, but instructions provided are unclear to me. I thought that Gitea would use my user GPG key attached to my accound from which I try to do some action and signature from repo config matches my key. But it doesnt work that way.
I've seen here github.com/go-gitea/gitea/pull/9784 that he uses email address as key(?) but I have no idea how to set that.

ping, I think we need more check.

From https://docs.gitea.io/en-us/signing/
The default option will interrogate git config for commit.gpgsign option - if this is set, then it will use the results of the user.signingkey, user.name and user.email as appropriate.
If you want the default to sign you need to set commit.gpgsign in your .gitconfig

@Wuszek Is this still a problem?

closing. please re-open if still an issue


Can't compile test project (undefined reference)

I have very little experience with CMake, so there is probably a problem with my config, however I can't find where I am wrong. I'm using Ubuntu.
I've followed the steps in the docs about downloading FindOsmium and including it in CMakeLists, but when I try to compile, this error happens:
Scanning dependencies of target map_game
[ 50%] Building CXX object CMakeFiles/map_game.dir/main.cpp.o
[100%] Linking CXX executable map_game
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::detail::throw_bzip2_error(void*, char const*, int)':
/usr/local/include/osmium/io/bzip2_compression.hpp:95: undefined reference to `BZ2_bzerror'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::Bzip2Compressor::Bzip2Compressor(int, osmium::io::fsync)':
/usr/local/include/osmium/io/bzip2_compression.hpp:114: undefined reference to `BZ2_bzWriteOpen'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::Bzip2Compressor::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/include/osmium/io/bzip2_compression.hpp:130: undefined reference to `BZ2_bzWrite'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::Bzip2Compressor::close()':
/usr/local/include/osmium/io/bzip2_compression.hpp:139: undefined reference to `BZ2_bzWriteClose'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::Bzip2Decompressor::Bzip2Decompressor(int)':
/usr/local/include/osmium/io/bzip2_compression.hpp:168: undefined reference to `BZ2_bzReadOpen'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::Bzip2Decompressor::read[abi:cxx11]()':
/usr/local/include/osmium/io/bzip2_compression.hpp:188: undefined reference to `BZ2_bzRead'
/usr/local/include/osmium/io/bzip2_compression.hpp:196: undefined reference to `BZ2_bzReadGetUnused'
/usr/local/include/osmium/io/bzip2_compression.hpp:201: undefined reference to `BZ2_bzReadClose'
/usr/local/include/osmium/io/bzip2_compression.hpp:205: undefined reference to `BZ2_bzReadOpen'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::Bzip2Decompressor::close()':
/usr/local/include/osmium/io/bzip2_compression.hpp:224: undefined reference to `BZ2_bzReadClose'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::Bzip2BufferDecompressor::Bzip2BufferDecompressor(char const*, unsigned long)':
/usr/local/include/osmium/io/bzip2_compression.hpp:253: undefined reference to `BZ2_bzDecompressInit'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::Bzip2BufferDecompressor::read[abi:cxx11]()':
/usr/local/include/osmium/io/bzip2_compression.hpp:276: undefined reference to `BZ2_bzDecompress'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::Bzip2BufferDecompressor::close()':
/usr/local/include/osmium/io/bzip2_compression.hpp:295: undefined reference to `BZ2_bzDecompressEnd'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::detail::throw_gzip_error(gzFile_s*, char const*, int)':
/usr/local/include/osmium/io/gzip_compression.hpp:94: undefined reference to `gzerror'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::GzipCompressor::GzipCompressor(int, osmium::io::fsync)':
/usr/local/include/osmium/io/gzip_compression.hpp:111: undefined reference to `gzdopen'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::GzipCompressor::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/include/osmium/io/gzip_compression.hpp:127: undefined reference to `gzwrite'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::GzipCompressor::close()':
/usr/local/include/osmium/io/gzip_compression.hpp:136: undefined reference to `gzclose'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::GzipDecompressor::GzipDecompressor(int)':
/usr/local/include/osmium/io/gzip_compression.hpp:157: undefined reference to `gzdopen'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::GzipDecompressor::read[abi:cxx11]()':
/usr/local/include/osmium/io/gzip_compression.hpp:173: undefined reference to `gzread'
/usr/local/include/osmium/io/gzip_compression.hpp:179: undefined reference to `gzoffset64'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::GzipDecompressor::close()':
/usr/local/include/osmium/io/gzip_compression.hpp:186: undefined reference to `gzclose'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::GzipBufferDecompressor::GzipBufferDecompressor(char const*, unsigned long)':
/usr/local/include/osmium/io/gzip_compression.hpp:210: undefined reference to `inflateInit2_'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::GzipBufferDecompressor::read[abi:cxx11]()':
/usr/local/include/osmium/io/gzip_compression.hpp:236: undefined reference to `inflate'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::GzipBufferDecompressor::close()':
/usr/local/include/osmium/io/gzip_compression.hpp:258: undefined reference to `inflateEnd'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::detail::zlib_uncompress_string(char const*, unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/osmium/io/detail/zlib.hpp:106: undefined reference to `uncompress'
/usr/local/include/osmium/io/detail/zlib.hpp:109: undefined reference to `zError'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::xml_error::xml_error(XML_ParserStruct* const&)':
/usr/local/include/osmium/io/detail/xml_input_format.hpp:89: undefined reference to `XML_GetErrorCode'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:89: undefined reference to `XML_ErrorString'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:87: undefined reference to `XML_GetCurrentColumnNumber'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:85: undefined reference to `XML_GetCurrentLineNumber'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:90: undefined reference to `XML_GetCurrentLineNumber'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:91: undefined reference to `XML_GetCurrentColumnNumber'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:92: undefined reference to `XML_GetErrorCode'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:93: undefined reference to `XML_ErrorString'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::detail::XMLParser::ExpatXMLParser<osmium::io::detail::XMLParser>::ExpatXMLParser(osmium::io::detail::XMLParser*)':
/usr/local/include/osmium/io/detail/xml_input_format.hpp:210: undefined reference to `XML_ParserCreate'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:214: undefined reference to `XML_SetUserData'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:215: undefined reference to `XML_SetElementHandler'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:216: undefined reference to `XML_SetCharacterDataHandler'
/usr/local/include/osmium/io/detail/xml_input_format.hpp:217: undefined reference to `XML_SetEntityDeclHandler'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::detail::XMLParser::ExpatXMLParser<osmium::io::detail::XMLParser>::~ExpatXMLParser()':
/usr/local/include/osmium/io/detail/xml_input_format.hpp:227: undefined reference to `XML_ParserFree'
CMakeFiles/map_game.dir/main.cpp.o: In function `osmium::io::detail::XMLParser::ExpatXMLParser<osmium::io::detail::XMLParser>::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
/usr/local/include/osmium/io/detail/xml_input_format.hpp:231: undefined reference to `XML_Parse'
collect2: error: ld returned 1 exit status
CMakeFiles/map_game.dir/build.make:94: recipe for target 'map_game' failed
make[3]: *** [map_game] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/map_game.dir/all' failed
make[2]: *** [CMakeFiles/map_game.dir/all] Error 2
CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/map_game.dir/rule' failed
make[1]: *** [CMakeFiles/map_game.dir/rule] Error 2
Makefile:118: recipe for target 'map_game' failed
make: *** [map_game] Error 2

This is my CMakeLists:
cmake_minimum_required(VERSION 3.9)
project(map_game)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1z")

list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
find_package(Osmium REQUIRED COMPONENTS io gdal proj sparsehash)

include_directories(${OSMIUM_INCLUDE_DIRS})

add_executable(map_game main.cpp)

if(NOT OSMIUM_FOUND)
    message(WARNING "Libosmium not found!\n")
endif()

It was autogenerated with CLion, and I added the links to FIndOsmium.

http://osmcode.org/libosmium/manual.html

2. Dependencies
zlib is needed for reading and writing OSM PBF files and for GZip support when reading and writing XML files.
bz2lib is needed for BZip2 support when reading and writing OSM XML files.

and

Libraries needed for specific functionality
If you want to read or write compressed XML files you need ZLib and BZ2lib.

If you don't need ZLib or BZ2lib support, just do not include related headers (AFAIR, osmium/io/any_compression.hpp, osmium/io/gzip_compression.hpp, osmium/io/bzip2_compression.hpp`).

The problem is that I already have all the dependencies installed in my system.

@zoulock I have this problem.
What you mean? I must install something or remove?


Get required

I have a schema with conditionals "allOf" where one is required if a condition is set, for example Name starts with "A".
    {
      "if": {"properties": {"name": {"pattern": "^A"}}},
      "then": {"required": ["age"]}
    },

I want to show a "*" on the label of all required. I would like to avoid to have same logics implemented twice, both on the form and then on the schema.
Can I get if something is required from AJV matching schema to validation?
for example something like this:
const isAgeRequired = checkIsRequired(mySchema, data, 'age')
....
<label>Age {isAgeRequired && '*'}</label>

Can I get if something is required from AJV matching schema to validation?

I don't understand the problem. Ajv performs validation according to the spec. You can define custom validation logic using custom keywords. Then you can process errors (that have all the information about the reasons of failure) how your application needs. You problem fits in one of these.

I think I understand now that you want some schema analysis - to traverse the schema and to see if a particular field is required anywhere. It's definitely out of scope of Ajv. To traverse the schema you can use json-schema-traverse package.


Add, update and delete Rasa intents

AS A Trainer
I WANT TO add, update and delete Rasa intents
SO THAT I could manipulate training data and models based on it

See temporary list of related API endpoints

Acceptance Criteria

List of intents - https://koodivaramu.eesti.ee/buerokratt/plug-and-play/rasa-ilmateenused/-/tree/main/data/nlu

Sample YAML file with intents and their examples - https://koodivaramu.eesti.ee/buerokratt/plug-and-play/rasa-ilmateenused/-/blob/main/data/nlu/common_teenus_ilm_nlu.yml

Adding new intents

[ ] New Rasa intents are added by using intent name + _nlu.yaml.tmp suffix as a file name
[ ] Duplicate intents can not be added
[ ] When new intents are added to the model, the rules of #76 apply

Updating existing intents

[ ] When the intent's name changes, the Rasa YAML file name also changes accordingly

When the intent's name changes, intent's new name applies in multiple files
When changing .yml files

[ ] intent's YAML, see example
[ ] /data/rules.yml
[ ] /data/stories.yml
[ ] /domain.yml

When changing .yml.tmp files

[ ] intent's YAML, see example
[ ] /domain.yml

Deleting existing intents

[ ] When intents are deleted via GUI, such intents are moved to a configurable (for example /deleted) directory
[ ] When the intent is defined in /data/rules.yml, intent can not be deleted
[ ] When the intent is defined in /data/stories.yml, intent can not be deleted

i added endpoint for fetching examples from files.
sample input for /intents/add
{
    "intent": "test_intent"
}

sample input for /intents/update
{
    "intent": "common_tervitus",
    "new_name": "common_teretus"
}

sample input for /intents/delete
{
    "intent": "common_tervitus"
}

@RaulAltmae please link this issue with an appropriate pull request.

Pull request https://github.com/buerokratt/Training-Module/pull/180

Work hours include all the onboarding tasks.

PR: https://github.com/buerokratt/Training-Module/pull/270
This pull request finalizes the add, update, and delete intents functionality in the training module.
On any one of those processes, the request sent from the front-end remains relatively simple while Ruuter will have to work through a relatively long DSL that makes several different calls between the file system, OpenSearch, and Database, all of which need to remain in the same state to avoid errors.
To accomplish this, most processes are also checked and validated before happening, which adds to the complexity of the request. This also means that, depending on the server load, requests will usually take between 1 to 5 seconds and front-end is not updated instantly until they are completed, which is why some changes were made in the GUI, particularly the optimization of the page as well as changing the order of things happening on the screen between the start, load, and completion of requests. Additionally, added a small new component, LoadingDialogue, a simpler derivative of the regular Dialogue (no new imports used), which can be used anywhere in the application.
In addition to that, fixed some console inconsistencies and bugs regarding file deletion without changing the processes already working elsewhere in the module.

Simplified and optimized front-end
Added a separate delete-intent script
Added a LoadingDialogue component
Added OpenSearch checks & calls in DSL files
Added Database checks & calls in DSL files
Fixed a bug with empty Intent (without examples)
Fixed several deletion and file check bugs

BUG -

Can't see or open existing intents, can't add new intents.
When trying to open right now:
How it should look like:

@ffrose there were major updates today, please see if they helped in this case as well.

@turnerrainer still unable to edit, save, add or delete intents. status code 300

@ffrose Should be fixed now, I'm opening and testing it on dev and see it working.

@KasparMinn As of right now, when adding a new topic (creating a new nlu file) the minimum amount for the title is 6 characters, it should be 3.

Should be fixed as of https://github.com/buerokratt/Training-Module/pull/316

Short summary: when changing the examples in an intent then you need to refresh the page to see the change.
Expected result: after changing the examples you should see the change right away
Real result: after making a change in an example you need to refresh the page or look at another intent and then go back.
How to reproduce: go to https://admin.dev.buerokratt.ee/training/training/intents after logging in and select one of the intents with examples. Then change one of the examples.

Same bug as #79

Short summary: When you delete an intent then you need to refresh the page to see the change.
Expected result: After deleting an intent you should see the change immediately.
Real result: You need to refresh the page for the intent to disappear that has been deleted.
How to reproduce: login and go to https://admin.dev.buerokratt.ee/training/training/intents and then add an intent and the delete an intent.
Pic:

Pull request with fixing  refetching data

BUG - able to add, update and delete intents, yet if intents include single ' or double " quatation marks, it replaces it with: &#x27;
Not sure about this but when adding multiple intents with previously named symbols, it hides/deletes all the other intents. Can not repeat this everytime.

Pull request.
Added support for single quotations for intent examples, entities, responses.
Currently we don't need double quotations support

Works as intended.


Removes Bower

Overview
Unlike most, I develop behind a corporate proxy which makes NPM just about bearable but Bower completely out of the question. Having inspected what libraries Bower was being used for, I realised NPM could fulfil all of these. This PR removes Bower from the equation completely which obviously helps me :smile: but also should simplify things slightly.
Details

Bower dependencies now fulfilled with npm.
Dev demo now runs from app/build instead of app/src. I'm not sure if this was meant to run from app/src but please let me know and I can put back. app/build seems to make more sense.
Some JSCS violations fixed.

Tests?
All unit tests run and pass in Phantom and browsers:
INFO [PhantomJS 1.9.8 (Mac OS X 0.0.0)]: Connected on socket fwFKhGTNB3hshgt-WldZ with id 50528167
..............................
PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 30 of 30 SUCCESS (0.029 secs / 0.049 secs)

..............................
Chrome 46.0.2490 (Mac OS X 10.7.5): Executed 30 of 30 SUCCESS (0.132 secs / 0.119 secs)
INFO [Firefox 13.0.0 (Mac OS X 10.7.0)]: Connected on socket htFpZITc4Nchg53BWtrs with id 5745251

..............................
Firefox 13.0.0 (Mac OS X 10.7.0): Executed 30 of 30 SUCCESS (0.109 secs / 0.098 secs)
TOTAL: 60 SUCCESS

This looks good. Thanks for the PR.

Merging this PR I realise we don't really need a lot of the dependencies we have so I removed them here:
https://github.com/wongatech/angular-multimocks/pull/32

Awesome. Thanks @nabil-boag

@paulreeve I just realised that the README.md needs to be updated from your PR. It still mentions bower and bower_components.

ok i'll take a look.


RigidBody2D continuous collision detection non-functional under Cast Shape setting

Godot version
v4.0.beta17.official [c40020513]
System information
Windows 10
Issue description
I'm hesitant to create this ticket because I was under the impression it was a known issue, but the only reference I could find in the physics tracker (https://github.com/godotengine/godot/issues/45334) was marked as resolved, and I couldn't find any recent open issue referencing the problem, so I suspect it might have been checked off incorrectly. Apologies if I'm mistaken and this is a duplicate - I promise I really did perform a rigorous search.
Summary: RigidBody2D CCD is non-functional under the Cast Shape setting. The Cast Ray setting works fine. Hell, CharacterBody2D's move_and_slide works fine. Cast Shape, however, doesn't appear to do anything - recreating a tunneling scenario is trivial. Even scenarios that Cast Ray would catch, Cast Shape does not.
Steps to reproduce
Throw a small fast-moving RigidBody2D at a thin wall and watch it phase right through in confident defiance of its settings.
Here, have a script that makes a RigidBody2D aggressively follow the mouse:
extends RigidBody2D

func _ready():
	continuous_cd = RigidBody2D.CCD_MODE_CAST_SHAPE

func _physics_process(delta):
	linear_velocity = (get_global_mouse_position() - global_position) / delta

Minimal reproduction project
N/A

I've also experienced going from v3 to v4, my rigidbody2D bullets with CastShape are going through walls more.
However CastShape isn't totally non-functional. It's still working better than ContinuousCD set to Disabled

For me, in Godot 4 both modes are broken. Cast ray is completely unusable, it causes weird collisions and damping effects. Cast shape seems to be better than nothing, but there is still quite a bit of tunneling.
Not that this would fix it, but for your sample code, shouldn't setting the linear velocity be done in _integrate_forces()?

Also a bit of an update: in 4.0 I've been get unreliable behaviour when using CastShape or CastRay in a RigidBody2D with more than one CollisionShape2D. I have to reduce it to one shape, and use CastRay to reduce tunnelling to an acceptable level

Has anyone tried ShapeCast2D to workaround this problem?
https://github.com/godotengine/godot/pull/54803

Has anyone tried ShapeCast2D to workaround this problem?
#54803

I tried using shape cast to make my own physics system and I'm losing sleep just trying to implementing it. Physics and the math behind it hurts my head I'm here looking for solutions

Has anyone tried ShapeCast2D to workaround this problem?
#54803

I tried using shape cast to make my own physics system and I'm losing sleep just trying to implementing it. Physics and the math behind it hurts my head I'm here looking for solutions

I suffer through the same right now. I have been working on this for a few days now and i just can not get ShapeCast2D to work. My Rigidbodies still escape the boundaries (StaticBody2D) and i have literally no idea what to do about it. Extremely Frustrating issue and one of the few things i like more in Unity.

Is this perchance related to the constant_linear_velocity property?
I noticed some of my issues seem to have vanished after unsetting that (to null, I'm guessing?) and applying a velocity through a script to any colliding objects.


Image being deleted after stitched/splited?

Hello, i was giving a try to this app but i got a problem after stitching or spliting because the image is being deleted of the output folder, i dont know if this only happens to me. :/

Can you list the steps that you did (and the options you chose) which caused the image to be deleted?

1: i selected 2 images in a folder
2: denoise disabled
3: stitch option and vertical
4: run
after this i get 2 warn box

after the image of above i get another box about stitching complete and the image its automatically deleted of the output folder

Fixed in v3.3.8. Let me know if you find something like this again


fix(controllers): Remove controller global init

What this PR does / why we need it:
Add your description
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @your-reviewer

Release note:

NONE

/assign @gaocegege @FogDong

ping @gaocegege @FogDong


Url Encode in /view

Need to url encode / url decode the base64 string to avoid url unpacking errors.

 Url encode in /view

Fixed in 187b7c2


Set points for features in PT

When creating a new card in PR (if it is a feature), please set it to 3 story points

This feature is now implemented, any story_type can have an estimated points number


Using Postgres in production breaks deployment (Payload Cloud)

Link to reproduction
No response
Describe the Bug
Hello, I've setup a Cloud project using the Blank CMS template.
I then used the mongoose adapter to setup a db.
From this moment, every merges into the main branch got successfully deployed in production.
Then I wanted to give postgres adapter a try.
I set it up, created a pull request that got merged, and from this moment, no new merge got deployed. The deployed version of the app was the one prior to using postgres.
Either its a bug, or this is some configuration stuff I didn't catch in the docs (which I carefully read...) ?
To Reproduce

Create a Payload cloud project
Use mongodb (mongooseAdapter) in this project
Deploy it, see if your changes got deployed
If yes and your project works :
switch to using postgres (postgresAdapter)
Deploy
Apps stays at the pre-postgres commit

Payload Version
2.0.13
Adapters and Plugins
db-postgres, plugin-cloud, bundler-webpack, richtext-slate

Hey @Davidvision — Payload Cloud does not provide a Postgres database (yet) so this is expected.
If you would like to deploy on Payload Cloud in the meantime, you need to make sure to provide your own Postgres connection string.
Does that make sense? Note - we will be adding Postgres support to Payload Cloud in the future. But until then, you'll have to manually provide your own.
Thank you for bringing this up!


always npm error when i execute "npm run lint"

when i type "npm run lint",   then  lint result is ok,   but at the end always show the npm Errors errors were link this:
/Users/xxxx/account/src/vuex/getters.js
  2:20  error  Extra semicolon  semi

/Users/xxxxx/account/src/vuex/store.js
  6:2  error  More than 1 blank line not allowed  no-multiple-empty-lines

✖ 45 problems (45 errors, 0 warnings)

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lint"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>lint: `eslint --ext .js,.vue src test/unit/specs test/e2e/specs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>lint script 'eslint --ext .js,.vue src test/unit/specs test/e2e/specs'.
npm ERR! This is most likely a problem with the account package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     eslint --ext .js,.vue src test/unit/specs test/e2e/specs
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs account
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls account
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/cuiyongjian/Code/tencent/account/npm-debug.log

it does not  effect  the eslint result， but it disturbing...
===========以下是中文翻译========
你好，我用webpack脚手架创建的项目，在执行npm run lint进行代码检测的时候，总是在最后出现npm报错。
这个报错并不影响上面显示的lint错误，但是一大串的报错很令人心烦，请问是bug吗？

npm run lint -s

that's ok, thank you very much


How to span fields of blitz list form to multiple row ?

Current Arrangement :
[ a, b, c ],
[ a, b, c ],
[ a, b, c ],
Required Layout :
[
a, b,
c
],
[
a, b,
c
],
[
a, b,
c
],

Yes it's possible with { span }I'll come back here late tonight to give more info.

@mesqueeb Have you got time to see on this ?

@sanjaygyawali Sorry I had forgotten about it.
I have created an example for you of how this can be done.
Please check the new documentation:
https://blitzar.cycraft.co/docs/blitz-list-form#multirow-example


TCP Connect taking much time

Hello,
last days i was testing the TCP Client from DBC
i was not sure if it is a bug or not, but i had to ask
here is the params
FUNCTION RandomNum 8123 8131 -> VAR "RandPort"
TCP Connect "api.dbcapi.me" "" UseSSL=FALSE
try it

Can confirm -
I checked it with nc and they just don't answer anything when you are connected.
So there is waited till timeout
                    // Read the stream to make sure we are connected                     if (UseSSL) bytes = ssl.Read(buffer, 0, buffer.Length);                     else bytes = net.Read(buffer, 0, buffer.Length);

some "inspiration" from the DBC Socket Client
public bool Connected
{
get
{
return null != tcpClient && tcpClient.Connected;
}
}
    protected bool Connect()
    {
        if (!this.Connected) {
            this.Log("CONN");
            TcpClient tcpClient = new TcpClient();
            tcpClient.ReceiveTimeout = tcpClient.SendTimeout =
                Client.DefaultTimeout * 1000;
            tcpClient.Connect(SocketClient.ServerHost,
                              new Random().Next(SocketClient.ServerFirstPort,
                                                SocketClient.ServerLastPort + 1));
            if (tcpClient.Connected) {
                this.tcpClient = tcpClient;
            }
        }
        return this.Connected;
    }


UI Header is not responsive in mobile view

UI Header is not responsive in mobile view
The header items are not aligned as per mobile responsive view. screenshot attached

@Mgranfie Can you confirm the UX for mobile header

Closing this issue as this is no longer relevant to planner.


Propagate trace context to webhook and upload requests

If the request to /predict contains headers traceparent and tracestate defined by w3c Trace Context^1 then these headers are forwarded on to the webhook and upload calls.
This allows observability systems to link requests passing through cog.

Okay, nice, I'll refactor the code.

Hmm, @nickstenning the ContextVar doesn't seem to propagate across the threads, does this need to be handled manually?

I've now rebased on main and run the python directory through ruff:
 python -m ruff check python --fix

I'm leaving that as the canonical whitespace.


CI: Ensure SSH daemon is not OOM-killed in VMs

This is a stab in the dark...
We sometimes see mystery timeouts and this may happen if SSH is
OOM-killed, locking the test suite out. This change ensures that SSH
isn't selected, hopefully allowing the suite to continue, fail, and
successfully collect data from within the VM.

This change is

test-me-please

Coverage decreased (-0.005%) to 41.962% when pulling 00d1f3b97500488b45cc2478dd535f0193dc6546 on raybejjani:ci-no-oom-ssh into 6a7ab35e27afbc0cf5decfa491915be3fb8fdfd7 on cilium:master.


Adding dotnet-core-education, awesome-dotnet-async, awesome-dotnet-architecture Lists

Hi,
Add https://github.com/mehdihadeli/awesome-dotnet-architecture
Add https://github.com/mehdihadeli/awesome-dotnet-core-education
Add https://github.com/mehdihadeli/awesome-dotnet-async
Thanks.

Thank you Mehdi!