Load from/to caldav server

Hi everybody
Is there a way to load the calendar from the caldav server and also to change/add events to a caldav server and how would you go about it?

This is a an application question about your caldav server ("How do I get calendar data from my caldav server?"), not an ical.net question. I recommend you figure out what software your caldav server is running, and then re-phrase the question on StackOverflow.


Companion Selection Choices Changing After Patching Selection Blueprint

So I'm finding a weird interaction where companions default features that stem from a selection blueprint are getting changed when that selection blueprint is patched. Saved games where the companion has already been recruited are unaffected, but for example:
{
"m_Features": [
    "!bp_621e1bb8e1d5e114da5a107351f5c7b3",
    "!bp_5214a43c0169c654b9ca456e296cdd7c",
    "!bp_9da9faf5f0ef4904db4a59a22dafbb06
  ],
  "m_AllFeatures": [
    "!bp_621e1bb8e1d5e114da5a107351f5c7b3",
    "!bp_5214a43c0169c654b9ca456e296cdd7c",
    "!bp_9da9faf5f0ef4904db4a59a22dafbb06
  ]
}

This patches the BackgroundsStreetUrchinSelection and removes the original Mugger option and replaces it with a modified one. Pickpocket and Acrobat are untouched. However, both companions with the Pickpocket background (Seelah and Woljiff) are now being recruited as Acrobats. I would have thought I'd need to patch/recreate the companion's FeatureList to have an effect on that. Anyone have any insight on this one?

I've been unable to replicate your problem, both with your blueprint and a blueprint I've corrected. Seelah is given the pickpocket background in both cases.
In any case, you are missing closing quotes on both references to the pickpocket blueprint, which is breaking your patch.

That appears to have somehow gotten dropped in copying over to github for some reason, they're there in my patch file.
I imagine it takes more of the mod to cause the issue, so it's not just the mere act of patching the selection choice. It doesn't make any sense, because all the companions' feature lists contain an explicit blueprint reference to their original background, not a one of which is getting touched in any way.

Hi -
I’ve read you guys back and forth on a few threads and believe you can help me. Since you two are clearly super smart.
I finished the game and would like to edit dialog.  “
Is there a place that holds all of this text that allows for easy modification? I want to rewrite the whole script.
thanks!

That's nothing I've even come close to messing with. I am guessing there are blueprints that direct all the dialogue and options using strings, and if you identify the strings you're looking for you can then patch them in the localization to whatever you want. I couldn't begin to tell you where to look though, you'd have to really dig through the blueprint dumps.

If it's just editing dialogue and not adding new lines and choices, it's as simple as editing Wrath_Data/StreamingAssets/Localization/enGb.json (Or your own language json).
Otherwise adding new lines and choices requires editing the blueprints for conversations, which isn't too hard compared to any other blueprint, just a matter of finding the right one. I created a patch to modify the dialogue in Sosiel's final companion quest to give me a new choice because I did some events out of sequence and screwed myself out of the good ending. So it's definitely doable.


cuelang.org: Hugo client-side redirects don't work for pages that have sub-pages

What page were you looking at?
https://alpha.cuelang.org/docs/tour/
What version of the site were you looking at?
https://github.com/cue-lang/cuelang.org/commit/e64dd477a75a056c3ef853b722c56c05d82021e1
What did you do?
I tried to use Hugo/client-side redirects to push users from /foo/bar/ to /foo/bar/baz/, but they didn't work.
Background
In https://github.com/cue-lang/cuelang.org/commit/e64dd477a75a056c3ef853b722c56c05d82021e1 we established a better UX across the tour's sections, by establishing 2 chained redirects in this flow:

/docs/tour/basics/folding-structs/'s "Next" lozenge loads ..
/docs/tour/basics/next/, which is a Hugo/client-side redirect to the next section of the tour ...
/docs/tour/types/, which is a Netlify redirect to the "Types and Values" section's first content page,
/docs/tour/types/types/, which contains content.

The client-side redirects have some slight SEO disadvantages, but shouldn't significantly impact the search performance of the site as they're only pointers and don't contain content. I believe we should prefer them as they're visible to authors inside the content/ tree, as opposed to being hidden away inside netlify.toml/.cue.
The less visible Netlify redirects are needed because the technique that redirects /next/ requests (in the above chain) doesn't work when the page being redirected from is a page that has sub-pages. Which is the case for every /docs/tour/foo/ to /docs/tour/foo/first-page/ redirect.
What did you expect?
I expected to be able to use https://github.com/cue-lang/cuelang.org/tree/alpha/hugo/layouts/redirect to redirect a page to a sub-page of itself.
What did you see instead?
The redirection logic simply didn't activate, showing a page indexing its sub-pages.

Is this still having an impact for the launched site? i.e. how important is this to fix?

Is this still having an impact for the launched site?

We have redirects split across Netlify and Hugo, with different levels of visibility into those redirections, for authors.
There's no active problem, right now, but I can definitely see it biting someone who doesn't know that we have two, disjoint, sources of truth for which page a reader ends up seeing.
This issue is a blocker to achieving a single source of truth - regardless of it they're encoded as Netlify/server-side or Hugo/client-side redirects.


error when compiling

I get the following when compiling:
/usr/local/share/dotnet/sdk/8.0.201/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): error NU5019: File not found: '/Users/XXX/git/NullableReferenceTypes.StrictMode/NullableReferenceTypes.StrictMode.Package/bin/Debug/net6.0/NullableReferenceTypes.StrictMode.CodeFixes.dll'. [/Users/XXX/git/NullableReferenceTypes.StrictMode/NullableReferenceTypes.StrictMode.Package/NullableReferenceTypes.StrictMode.Package.csproj

Thanks for mentioning this.
I somehow forgot to remove this reference to the code fix project in commit 5505c623d16708f4a550750cc1593378ddf44258.
The project that was failing (the package project) isn't that important since it's only used for packaging the project. I mostly build the analyser project itself or the testing project.


Self dependent batch write

Is it possible to Get a key that has just been added to a batch?
batch := new(leveldb.Batch)
// ...
batch.Put(key1, data1)
// ...
db.Get(key1, nil)
// ...
err = db.Write(batch, nil)

This naive code does not work because key1 is not found

Nope. Batch is kind of bucket where you can collect entries to be inserted into database in batch. So it's not in database yet.


Add scan function replacement

Add ScanReplacementData or external object scanning. Each external scan should provide a scan_replace_func_t that can return its own scan (table) function.

This was merged in #3058


SnapKit Library

I see that you are using SnapKit to apply auto layout for custom views. Could you tell me any reason why you didn't apply it for screens (Login, SurveyList, Forgot...) instead of .storyboard?

I like to visualize everything on the storyboard/xib files. This way I can easily imagine how the view looks like, especially when the view contains complex subviews. And also I don't have to connect unnecessary outlets/constraints that will not be updated ever so that the code base will be cleaner.
SnapKit is very useful with its syntactic sugar, reliable functionality. This specific custom view is quite simple and doesn't have to associate with a xib file, so I use SnapKit to layout the view to make it faster and easy to read.
Also, I usually use SnapKit to create/edit constraints that don't appear on the initial state of the view.


No tooltip created for gap states in timegraph views

Gap states are created to indicate that there are actual under a pixel, but not more details are available because of the zoom level. User can then zoom-in into that area to fetch more details.
What I have noticed is that there is no tooltip generated at that pixel location. Even though the tooltip can provide details of every state under the pixel (number of states could be huge). However, the tooltip can provide some information, e.g. the state under start time of the gap state and show that to the user. Using the start time would allow for predictable information to be shown.
The flame chart is one example, that has gap states (grey ones), and no tooltip is shown for this:

It turns out that there is no mouse-interactions registered for gap states that would trigger the tooltip creation and fetching the information from the back-end. This needs to be fixed in the timeline-chart library.

Requesting tooltip at the start time of the state instead of the middle of the state is tracked in issue #757


Sizeresponsible grid within grid

@jcmoore @dlasky @shuwen This addresses the immediate recycler-within-recycler gotchas. Merge-able, but since this touches critical infrastructure, figured I'd PR.

looks like you need to update the tests as well 😜

so as this stands now we will effectively be leaking iframes if you add the listener to teh same target more than once.
We should probably add some really basic state to just not init the iframes again if its already been done.
I'm not sure if you guys think we should destroy the iframes as well when removed?

The failing test lead me to take another look at this in FF - the performance is "less than optimal". I think we need to spend some more time looking at the solution. So far, I've been unable to positively identify the source of the problem. @jcmoore @dlasky


[ feature ] Automating Mid-Install Temporary Directory Cleanup

This PR enables the removal of temporary directories that used to linger after a mid-install Ctrl+C.
To accomplish this, the idris2-async library is utilized to race two threads within the withTmpDir function:

SigINT listener thread.
Runner via finally thread.

This PR closes #288.

Thank you for taking the initiative here. I'll be happy to look into this once async becomes more stable. Right now, I'm still experimenting with different threadpool / runner implementations, and it is not yet clear how signal handling will work out.
On Linux, I'm planning to use epoll for timers, signal handlers, and asynchronous IO, but epoll only exists on Linux. For other Unix systems, there is kqueue but I have no experience with that.
tl,dr: It is too early to make async a dependency of a central tool such as pack. I'm currently spending a lot of my free time with async, but it is definitely a non-trivial library.

Not a problem, excited to help out in this direction!
Looking forward to seeing where the idris2-async library goes, it looks really solid already.  Will be excited to hop back on this when the time is right (idris2-async is in a more stable place).


Context Relevancy v2

What
Added support for new context relevancy metrics
Why
The earlier used context_relevancy metric was found to have a poor correlation with actual results.
How
New paradigm leverages candidate sentence extraction with self-consistency checks to ensure far better results even with larger context lengths.
Screenshots

@jjmachan  Added the required changes.


A two sorter example.

The leaf component I want to use for a recursive Batcher's bitonic merger/sorter.
The two sorter works in Verilog simulation.
However, I expected the proof of the two sorter's correctness to be easy, but it unfolds in a complicated way.
The next step is to define riffile, but the dependent Vector.t types need to be ironed out.

Yes, I shall leave the proof for later (I'll probably need your help). Thank you!


Stardardizing option initialization using lambdas

Standardizing ConfigureOptions to lambda https://github.com/aspnet/Coherence-Signed/issues/144

:shipit:


IDP response status is Responder not Success and not getting ADFS claim in response

I have setup onelogin saml with  ADFS as IDP, in ADFS i have setup claim for mail but i am not getting this in response. Here is the ADFS response
samlp:Status
<samlp:StatusCode
Value="urn:oasis:names:tc:SAML:2.0:status:Responder" />
</samlp:Status>
what can be the issue

Hi,
ADFS is using two different certificate for Signing and Encrypting SP request. How can i add two SP certi for sign and encryption in One Login setting builder.

java-saml toolkit only supports the same private key/certificate for the SP.
IdP multi certificate is supported

thanks

Surender,
I think I am getting the  same issue. Were you able to resolve your issue and can you share your solution?

@poidog68 you may ask ADFS admin to review their error log to figure out the real reason for rejecting the AuthNRequest and sending a SAMLResponse with no Success status.

@poidog68 yes, I fixed the issue.  I was getting the this error because of certificate mismatch between ADFS and SAML client.

Is there any way that we can get the error message in SAML response? so that if anything goes wrong, we need not check the logs of AD FS.


Make sprite and widget sprite overrides more flexible

Expose NodeCache interface in RuneLite
Expose Client.getWidgetSpriteCache and reset method on it
Change setters for sprite and widget overrides to be getters

Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>

Probably not that one, because it is quite related to interface styles and it's resource folder. But I think in my original iteration where I actually needed this change I extracted the imageSpritePixels outside of the plugin. But, it probably do not has place in this change as it would be used at only at 1 place atm in master, and it is also very trivial to extract whenever you would need it (I decided to implement the not clearing of everything to the interface styles already here because it was not so trivial).


Start of docker-toolbox-portable.exe interrupted

Behaviour
Steps to reproduce this issue

Run docker-toolbox-portable.exe

Expected behaviour

A Docker-Toolbox-GUI

Actual behaviour

A commandline-window opens with following message: "Looks like something went wrong in step ´Looking for VBoxManage.exe´... Press any key to continue..."

Configuration
App release / arch (ex. 1.0.0-2 win64) : 19.03.1-6 win64
Operating system (ex. Windows 10 Pro 64 bits) : Windows 10 Pro 64 bits
Winver screenshot : Version 1909 (Build 18.363.476)
docker-toolbox-portable.log

Open a command prompt and type winver then take / save the screenshot of the window and drag the image file in this issue. For example: http://bit.ly/2vA5sxR

Screenshots

If applicable, add screenshots to help explain your problem.

Logs
Join the log file log\[appname]-portable.log to this issue.

@m5m5k As stipulated in documentation:


[Deadline 2019/03/20] Support rcfile format in hdfs, file input ,output

From QQ

Close this feature due to lack of feedback


vite:html-fallback : Get 'HTTP error 404' when reloading page in debug mode because the path includes a dot (.) character

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
When ng serve send a page reload to the browser, if the current path contains a dot (.) character, I get a HTTP ERROR 404.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Application bundle generation complete. [5.722 seconds]
Page reload sent to client(s).
  vite:html-fallback Not rewriting GET /test/path.with.dot because the path includes a dot (.) character. +23s
  vite:time 3.32ms /test/path.with.dot +21s

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 17.0.10
Node: 18.18.2
Package Manager: npm 10.2.5
OS: win32 x64

Angular: 17.0.9
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.10
@angular-devkit/build-angular   17.0.10
@angular-devkit/core            17.0.10
@angular-devkit/schematics      17.0.10
@angular/cdk                    17.0.5
@angular/cli                    17.0.10
@angular/flex-layout            15.0.0-beta.42
@angular/material               17.0.5
@schematics/angular             17.0.10
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2

Anything else?
No response

Duplicate of #26881


redis的相关配置没有生效

配置参数如下:
-Dturms.gateway.redis.session.uri-list[0]=redis://<IP_ADDRESS>:6379
-Dturms.gateway.redis.location.uri-list[0]=redis://<IP_ADDRESS>:6379
-Dturms.gateway.redis.ip-blocklist.uri=redis://<IP_ADDRESS>:6379
-Dturms.gateway.redis.user-blocklist.uri=redis://<IP_ADDRESS>:6379
启动报错。。。连接的是代码里面写死的地址，令我很费解

启动报错

If I tell you it's funny, can you guess what it refer to? So do I.

连接的是代码里面写死的地址，令我很费解

It's a thing that I don't know even though I have developed Turms for years.
Please read the doc for Turms configuration so that you can know how to configure it correctly:
English: https://turms-im.github.io/docs/server/deployment/config.html
Chinese: https://turms-im.github.io/docs/zh-CN/server/deployment/config.html


[pcl] Qhull is disabled in pcl_config.h, causes pcl::ConvexHull to not compile or (with workaround) to link

Host Environment

OS: Windows 10 Pro 1909
Compiler: v142 (Visual Studio 2019)

To Reproduce

.\vcpkg install pcl:x64-windows
Examine .\vcpkg\installed\x64-windows\include\pcl\pcl_config.h for /* #undef HAVE_QHULL */. Expected: #define HAVE_QHULL

Additional context
Using yesterday's Revision 95836f4883ffb481b7dd5f89569bc6ef55c31a7e of Vcpkg the problem occurs. Two weeks ago it worked fine with 807a7987612bbd702be9d9b8069124be62aff857. In the meantime issue https://github.com/microsoft/vcpkg/issues/13881, that addressed a related problem, was resolved and PR https://github.com/microsoft/vcpkg/pull/17437 was merged to master. Maybe a new bug was introduced?
.\vcpkg\installed\x64-windows\bin\pcl_surface.dll does not export any pcl::ConvexHull symbols or anything with hull.
Creating a test project with the environment set to the .\vcpkg\installed\x64-windows\include and .\vcpkg\installed\x64-windows\lib directories, linking all *.lib files in the latter.
Naively using pcl::ConvexHull gives compiler errors:
// ConvexHull Test.cpp

#include "pcl/point_types.h"
#include "pcl/point_cloud.h"
#include "pcl/surface/convex_hull.h"

int main() {
    pcl::PointCloud<pcl::PointXYZ> pc;
    pcl::ConvexHull<pcl::PointXYZ> hull;

    hull.reconstruct(pc);
}

Build log:
1>C:\ConvexHull Test\ConvexHull Test.cpp(12,10): error C2039: 'ConvexHull': is not a member of 'pcl'
1>C:\ConvexHull Test\ConvexHull Test.cpp(12,20): error C2065: 'ConvexHull': undeclared identifier
1>C:\ConvexHull Test\ConvexHull Test.cpp(12,26): error C2275: 'pcl::PointXYZ': illegal use of this type as an expression
1>C:\ConvexHull Test\ConvexHull Test.cpp(12,36): error C2065: 'hull': undeclared identifier
1>C:\ConvexHull Test\ConvexHull Test.cpp(14,5): error C2065: 'hull': undeclared identifier

Workaround (kinda)
Manually defining HAVE_QHULL before including pcl_config.h (happens in any PCL header), compilation succeeds, but linking fails:
// ConvexHull Test.cpp

#define HAVE_QHULL

#include "pcl/point_types.h"
#include "pcl/point_cloud.h"
#include "pcl/surface/convex_hull.h"

int main() {
    pcl::PointCloud<pcl::PointXYZ> pc;
    pcl::ConvexHull<pcl::PointXYZ> hull;

    hull.reconstruct(pc);
}

Build log:
1>ConvexHull Test.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl pcl::ConvexHull<struct pcl::PointXYZ>::performReconstruction(struct pcl::PolygonMesh &)" (?performReconstruction@?$ConvexHull@UPointXYZ@pcl@@@pcl@@MEAAXAEAUPolygonMesh@2@@Z)
1>ConvexHull Test.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl pcl::ConvexHull<struct pcl::PointXYZ>::performReconstruction(class std::vector<struct pcl::Vertices,class std::allocator<struct pcl::Vertices> > &)" (?performReconstruction@?$ConvexHull@UPointXYZ@pcl@@@pcl@@MEAAXAEAV?$vector@UVertices@pcl@@V?$allocator@UVertices@pcl@@@std@@@std@@@Z)
1>ConvexHull Test.obj : error LNK2001: unresolved external symbol "public: void __cdecl pcl::ConvexHull<struct pcl::PointXYZ>::reconstruct(class pcl::PointCloud<struct pcl::PointXYZ> &)" (?reconstruct@?$ConvexHull@UPointXYZ@pcl@@@pcl@@QEAAXAEAV?$PointCloud@UPointXYZ@pcl@@@2@@Z)
1>C:\ConvexHull Test\x64\Release\ConvexHull Test.exe : fatal error LNK1120: 3 unresolved externals

Broken by PR https://github.com/microsoft/vcpkg/pull/17437.

Upstream PR https://github.com/PointCloudLibrary/pcl/pull/4540.
Waiting for upstream fix this.

Update:
After getting inconsistent results i kept on aimlessly testing various combinations of Vcpkg version and build configuration. Turns out, it also depends on whether the build emits static or dynamic libraries. Static Qhull seems to behave differently than dynamic Qhull. Following this text I will provide an overview of two Vcpkg revisions, each using custom triplets to build once static and once dynamic libraries. As a measure for success i take the HAVE_XXX compiler flags in pcl_config.h and the presence of the surface/convex_hull.h header.
Vcpkg https://github.com/microsoft/vcpkg/commit/807a7987612bbd702be9d9b8069124be62aff857

x64-windows-v142
pcl_config.h:
// #undef HAVE_QHULL
#define HAVE_QHULL_2011 1
surface/convex_hull.h:
not present

x64-windows-v142-static
pcl_config.h:
#define HAVE_QHULL 1
#define HAVE_QHULL_2011 1
surface/convex_hull.h:
present

Vcpkg https://github.com/microsoft/vcpkg/commit/95836f4883ffb481b7dd5f89569bc6ef55c31a7e

x64-windows-v142
pcl_config.h:
// #undef HAVE_QHULL
// #undef HAVE_QHULL_2011
surface/convex_hull.h:
present

x64-windows-v142-static
pcl_config.h:
// #undef HAVE_QHULL
// #undef HAVE_QHULL_2011
surface/convex_hull.h:
present

There are many more points of data, e.g. other present / non-present headers, and lib / dll files or differing build output, but since I am not exactly knowing what to look out for, I will leave it at those examples.
Build output and logs seem inconsistent*, depending on the Vcpkg root directory. So I do not provide it until explicitly asked for it - I would have to rerun 3 hrs of buils under identical conditions.
*) (From memory)

Differing warning messages when Qhull gets built.
Command line Freezes up to 30 minutes, then build aborts before PCL.
Command line Freezes for over 15 minutes -> continues as if nothing happened after user input of Strg+C, and successfully builds PCL.

The problem with pcl in vcpkg is that when deleting FindQhull.cmake, set(HAVE_QHULL_2011 ON) and set(HAVE_QHULL ON) are not added, and the macro qh_dllimport is not added, and I get a link error after finishing these:
LNK2001: couldn't find symbol __imp__qh_qh.

Upstream PR PointCloudLibrary/pcl#4540.
Waiting for upstream fix this.

@JackBoosY  The upstream has been merged, maybe there will be new developments here?

I think we should wait for the next release, fix this issue by updating pcl.

18855

After testing, this problem still exists in the master branch, but qhull can be used in pcl normally by using the following recovery scheme (the test convex hull calculation function is normal)
https://github.com/microsoft/vcpkg/pull/18855#issuecomment-961480058

I use the PCL-1.11.1-AllInOne package. When I include <pcl/surface/convex_hull.h>, the compiled program will need vtk'dll, but now the PCL of vcpkg does not have vtk. I don't know if the two are related.

@Yourbee Can you please provide the failure logs?

I'm facing the same problem. Any solution or workaround?

I'm facing the same problem. Any solution or workaround?

Failure logs please.

At concave_hull.h for example, HAVE_QHULL isn't defined
#ifdef HAVE_QHULL

Please point me to the logs you're looking for.

@yoavmil Can you please provide all logs in directory VCPKG_ROOT/buildtrees/pcl?

pcl.zip
here you go. anything else

Will try to fix this tomorrow.

BTW, while you take a look, note that also the visualizer doesn't complie, maybe it's related.
include\pcl\visualization\point_cloud_geometry_handlers.h(49,10): fatal error C1083: Cannot open include file: 'vtkSmartPointer.h': No such file or directory (compiling source file ConvertPngToCloud.cpp)

Confirmed.
In pcl_config.h:
...
/* #undef HAVE_QHULL */
...
#ifdef DISABLE_QHULL
#undef HAVE_QHULL
#endif
...

@yoavmil Can you please test PR https://github.com/microsoft/vcpkg/pull/22995?
Thanks.

Yes! It works.
Just to be sure, I cloned your fork, installed all the dependecies I needed, and vcpkg integrate install, then compiled and it's ok.
It took a few hours though.


Do you support official plugins

Do you support official plugins，I don't see any relevant introductions and examples.

@sdcxzx As far as I understand, plugins are not supported in the API. It's only available in the UI.


VisualTest init broken: IntelliJ Idea robotframework-languageserver can't import DocTest.VisualTest

I'm on MacOs 12.3 using IntelliJ Idea. When I import DocTest.VisualTest,
IntelliJ Idea (with the newest languageserver plugin) tells me the following:
Unresolved library: DocTest.VisualTest. Error generating libspec: Initializing library 'DocTest.VisualTest' with no arguments failed: OSError: [Errno 30] Read-only file system: '/screenshots'
The Problem has to do with VisualTest.__init__(), because, when I outcomment both the os.makedirs() statements in there in my site package, everything works as expected - minus the screenshots, sadly.
For me, it looks like the library needs another way of handling the screenshot directory, but i'm not apt enough to make that into a sensible pull request right now.

Oh wow, thanks a lot for reporting that. Unfortunately I have no access to any MacOS here. Need to think about how to test that properly.
I'll look into it how other libraries solve similar cases on MacOS and come back to you.
Does it help if you start the test execution from a folder for which you have write access?
Or create the screenshots folder there before manually?

I'm sure we'll find a solution together and you can do the pull request.
I believe my problem is, trying to create that screenshot folder in the current directory. I should ensure to create it inside the output directory of Robot Framework...

The tests were all in a folder where I had write access - I started them via a gradle task that starts a python script though, maybe the problem lies somewhere there.
I got it to run on my machine by importing it with the Import Library keyword instead of in the resources file's settings section. Maybe creating the screenshot directory - if it doesn't exist yet - when a screenshot is actually produced would be the solution here.
Selenium does it that way it seems.


using fragmentation problem

Hello,
I want to test a websocket server for fragmentation compliance using this library.
As I can read from rfc 6455:
"
A fragmented message consists of a single frame with the FIN bit
clear and an opcode other than 0, followed by zero or more frames
with the FIN bit clear and the opcode set to 0, and terminated by
a single frame with the FIN bit set and an opcode of 0
"
So I tried doing the following:
ws.sendFragmentedFrame(Opcode.BINARY, ByteBuffer.wrap(new byte[]{1,2,3}), false);
ws.sendFragmentedFrame(Opcode.CONTINUOUS, ByteBuffer.wrap(new byte[]{4,5,6}), false);
ws.sendFragmentedFrame(Opcode.CONTINUOUS, ByteBuffer.wrap(new byte[]{7,8,9}), true);
where ws is an instance of a class that extends WebSocketClient.
but got the following error:
"Only Opcode.BINARY or  Opcode.TEXT are allowed".
Any ideas what I am doing wrong?
Thanks

Nevermind.
It seems that if you do the following:
ws.sendFragmentedFrame(Opcode.BINARY, ByteBuffer.wrap(new byte[]{1,2,3}), false);
ws.sendFragmentedFrame(Opcode.BINARY, ByteBuffer.wrap(new byte[]{4,5,6}), false);
ws.sendFragmentedFrame(Opcode.BINARY, ByteBuffer.wrap(new byte[]{7,8,9}), true);
internally it sends the frames as rfc 6455 dictates.


Ubuntu 20.04 MySQL service start attempt failure

Description
I have been using MySQL in my Github Actions workflows, I use the following command to start the service:
sudo /etc/init.d/mysql start
But since a few hours ago, it started to fail.
Here is a screenshot of it in a sample project.

Currently I fixed this issue by running  sudo service mysql start to start the service.
Virtual environments affected

[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Environment: ubuntu-20.04
Version: 20211209.3
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20211209.3/images/linux/Ubuntu2004-README.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20211209.3
Is it regression?
No
Expected behavior
The following screenshot shows a previous workflow run in a sample project.

Actual behavior
The following screenshot shows the current workflow.

Repro steps
run: |
     sudo /etc/init.d/mysql start

Hi
Try sudo systemctl start mysql instead.

Hello @n3rdkid. Thanks for reporting, we'll take care about the issue investigation. At the first sight sudo /etc/init.d/mysql start doesn't look like correct approach, please try to use sudo systemctl start mysql as was suggested.

@wojsmol Thank you. It is working.
@nikolai-frolov For your reference, we had been using the command as suggested in the following article.
Ubuntu virtual environments will no longer start the MySQL service automatically

@n3rdkid it looks like the behavior changed after this PR https://github.com/actions/virtual-environments/pull/4674 since the installation method has changed. We will take a look if it is possible to return sudoless service start.
Sorry for the inconvenience.

@miketimofeev This looks like init.d vs systemd not sudo vs non-sudo.

Hello @n3rdkid!
/etc/init.d/ scripts are the canonical-provided ones to keep backward compatibility with old sysVinit systems. This approach is long ago deprecated and should not be used. In our recent ubuntu20.04 images we have downgraded canonical-provided mysql-8.0.27 to 8.0.26 as the former one has bugs. We used oracle-supplied deb packages for the images and they surely do not have that legacy bit. As was said, the best thing to do is to switch to the systemctl command so you do not depend on legacy stuff anymore.
As there is nothing for us to do I am going to close the issue now, feel free to ping us if you have questions left.

@mikhailkoliada Thank you for the quick response. :bow:

Hi @mikhailkoliada!
Just FYI, this change is likely to cause far more problems than it solved. It broke any of our actions that use ubuntu-latest and simply try to install the mysql-{client, server} packages via apt-get. Installing either one now exits with:
The following packages have unmet dependencies:
 mysql-client : Depends: mysql-client-8.0 but it is not going to be installed
 mysql-server : Depends: mysql-server-8.0 but it is not going to be installed

For an example that's failing:

source: https://github.com/vitessio/vitess/blob/main/.github/workflows/check_make_parser.yml#L31
run: https://github.com/vitessio/vitess/runs/4510817416?check_suite_focus=true

So I'm unsure how you would even get to the point where you try to start mysqld?
Should I open a new ticket for this?
Thank you!

We have restored the old init script for Ubuntu 20.04. It should be available for everyone by the end of this week (expect Thursday).

The newer image has been just released, and the fix is available to anyone.


Update huggingface.py

Added quantization support using bitsandbytes in application/llms/huggingface.py using simple q parameter for quantization support as in #409

What kind of change does this PR introduce? Feature Addition

Why was this change needed? Since the model is too large, quantization support is needed

Other information: Added bitsandbytes support for loading quantized model

Perfect, thank you! Just make sure you import torch in the if q: section please

I have done that just now, please check

@holopin-bot @Archit-Kohli


[XMLHttpRequest] Sending file using XHR

I tried to send files using XHR to Amazon S3 and I noticed that the file is getting corrupted with added text
var url = "some_local_path/test.mp4"
var s3_url = "https://mybucket.s3.amazonaws.com/test.mp4"
xhr.open('PUT', s3_url, true)
xhr.setRequestHeader('Key', 'test.mp4')
xhr.setRequestHeader('Content-type', 'video/mp4')
xhr.setRequestHeader('X-Amz-Credential', 'credentials')
xhr.setRequestHeader('X-Amz-Signature', 'signature')
xhr.setRequestHeader('Date', 'Some Date')
xhr.setRequestHeader('X-Amz-Algorithm', 'AWS4-HMAC-SHA256')
xhr.setRequestHeader('X-Amz-Acl', 'public-read')

var formData = new FormData();
formData.append("test.mp4", {uri: url});

xhr.send(formData)

Can you clarify what you mean by "adding text?"

If I cat the test.mp4 it's containing extra characters
--zWGdmuxl4sxXXXXXXXXXXXXXXXxQjaHYwaodP7.FWOAa_-s7
content-disposition: form-data; name="test.mp4"

file:///myPath
--zXXdmuxl4sxqXSTnilUXXXXXXXXXXXXwaodP7.FWOAa_-s7--

Cc: @philikon

This is not corruption, this is the intended result. FormData is the appropriate body for a multipart/form-data POST request. The REST API you're talking to seems to not support multipart/form-data, which makes sense, since it's a PUT request you're issuing. Lose the FormData and you should be fine:
xhr.open('PUT', s3_url);
... // setRequestHeader calls
xhr.send({uri: url});

Keep in mind that you'll still have to write an RCTURLRequestHandler implementation to handle whatever url you want to actually upload. React Native doesn't currently ship with a resolver for file:// URIs out of the box (though we should probably add one, right @nicklockwood). It shouldn't be too hard to write one.

@philikon actually the default RCTHTTPRequestHandler handles file:// urls as well as http(s). It's probably not optimal, and I've been considering providing a separate file request handler, but it should do the job.

Ah, I stand corrected. Sweet!

That works great thanks @nicklockwood and @philikon

@philikon, @nicklockwood , i trying to upload video with youtube v3 api, i fix my code like in your example, but xhr.upload.onprogress is not working with it. But when i use FormData it works. What i need to do to handle upload progress? Sorry for my english.


Not possible to test using attributes

I'm just trying out your library and have found that its not possible to set attributes on components, some of our components don't map properties to attributes so can't be tested.
I've created a very small patch to fix this if you are interested in pulling it in.

@rstoneIDBS Awesome, would be great!

@rstoneIDBS Awesome, would be great!

I'm not entirely sure how to get this to you - do I need to fork this repo?

Yeah, you will need to:

Fork the repo
Create a branch
Commit the changes (using conventional commit) eg. fix: render attributes
Go to the PR section in GitHub and you are able to create the PR there


Make it possible to launch CUDA kernels from CPU JIT code regions.

Once https://github.com/numba/numba/issues/7742 is complete, most of the work necessary to make it possible to launch CUDA kernels from CPU JIT code regions will be done. The remaining task is to (probably, as it's not entirely clear how this will work yet):

Create a configurable dispatcher (ABC or similar?) that extends from the numba.core.dispatcher class as an identifier that this type of dispatcher needs configurable launch configuration support (i.e. the kernel[x, y, z](*args) __getitem__ overloaded syntax).
Make the CUDA dispatcher inherit from the above.
Implement the __getitem__ overloads for the CUDA dispatcher type as CPU JIT code.
Make sure the type system/lowering understands the above.

For reference, the types currently involved:
In [16]: from numba import cuda

In [17]: @cuda.jit
    ...: def foo():
    ...:     pass
    ...:

In [18]: type(foo)
Out[18]: numba.cuda.dispatcher.CUDADispatcher

In [19]: launcher = foo[1, 1]

In [20]: type(launcher)
Out[20]: numba.cuda.dispatcher._LaunchConfiguration

In [21]: launcher() # this executed the kernel

In [22]: foo.overloads
Out[22]: OrderedDict([((), <numba.cuda.dispatcher._Kernel at 0x7f22c44182e0>)])

In [23]: foo.overloads[foo.signatures[0]]
Out[23]: <numba.cuda.dispatcher._Kernel at 0x7f22c44182e0>

In [24]: kernel = foo.overloads[foo.signatures[0]]

In [25]: type(kernel)
Out[25]: numba.cuda.dispatcher._Kernel


JuliaLab GPU CI

Codecov Report

Merging #9 (bf8e2f3) into main (7141c20) will increase coverage by 2.38%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
+ Coverage   50.00%   52.38%   +2.38%
==========================================
  Files           2        2
  Lines          22       21       -1
==========================================
  Hits           11       11
+ Misses         11       10       -1

Impacted Files
Coverage Δ

src/LIKWID.jl
71.42% <0.00%> (+8.92%)
:arrow_up:

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 7141c20...bf8e2f3. Read the comment docs.

(Disclaimer: I have never worked with buildkite before.)
Alright, it seems like step 1, installing LIKWID, finishes just fine (likwid-topology etc. seem to work). However, in step 2, the Julia tests, liblikwid can't be found. AFAICT, the major reason for this is that both steps seem to be executed on different machines, e.g. p6000.gpuci3.julia.csail.mit.edu and rtx4000.gpuci4.julia.csail.mit.edu, despite the fact that I indicated that step 2 depends_on step 1. Is there a way to enforce the same machine here?
Another route may be to merge both steps, i.e. put the LIKWID install commands as a command block into the julia step. For this case, I couldn't yet figure out how to have the command executed before the plugin actions, i.e. the julia tests run before LIKWID is installed.
@maleadt you seem to have worked on the julia buildkite plugin. Can you help me here?

(Hopefully) Final issue: I can't run sudo modprobe msr (sudo not found and modprobe not found).

Output of cat /proc/version: Linux version 5.4.0-80-generic (buildd@lcy01-amd64-028) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #90~18.04.1-Ubuntu SMP Tue Jul 13 19:40:02 UTC 2021

@vchuravy Any idea how to load msr?

Apart from the msr issue we need to figure out a way to install CUDA. AFAICS, we can't use CUDA_jll alone since to compile LIKWID with NVIDIA_INTERFACE=true CUDA needs to be available. In particular we also need header files like cupti.h which CUDA_jll doesn't ship.

If you need to compile against CUDA, you need CUDA_full_jll. We haven't figured out yet how CUDA_jll needs to load a correct version of CUDA, but the CUDA CI runners are also using a GPU docker image so a CUDA run-time environment is present there (i.e. without needing CUDA_jll).
About the modprobe: that's not possible, since you're running in a Docker container.

About the modprobe: that's not possible, since you're running in a Docker container.

Docker container might be a showstopper. Given that we now also have the GPU CI at FAU / Erlangen I've deactivated the buildkite webhook for now.

If you need to compile against CUDA, you need CUDA_full_jll.

Out of curiosity, I figured that I might need something like this and even found CUDA_full_jll but it seems to only support windows? At least that's what https://github.com/JuliaBinaryWrappers/CUDA_full_jll.jl says.

Out of curiosity, I figured that I might need something like this and even found CUDA_full_jll but it seems to only support windows? At least that's what https://github.com/JuliaBinaryWrappers/CUDA_full_jll.jl says.

Where do you see that? Maybe it was just in the processes of uploading the other artifacts when you had a look, I released it a couple of hours ago.

Oh, I see, I didn't check src/wrappers explicitly but just looked at the README.md. There it only mentions >Windows.

CUDA_full_jll.jl is available for the following platforms:
Windows x86_64 (x86_64-w64-mingw32)

Given that we have the NHR@FAU infrastructure I'll close this for now. (Feel free to revive.)


How to shift the central meridian?

My data are in this form, and this is the form I load them, so it can't be changed.
using GeoMakie, Makie, Proj4
lons = 0.5:1:359.5
lats = -89.5:1:89.5
field = [sind(l)^2 + (y/90)^2 for l in lons, y in lats, i in 1:5] # not my actual data, but this will do

my plotting code is:
points = GeoMakie.transform.(WGS84(), dest, GeoMakie.gridpoints(lons, lats))
faces  = GeoMakie.grid_triangle_faces(lons, lats)
colorfunc(i) = vec(field[:, :, i])
scene = poly(points, faces; color = colorfunc(1), show_axis = false)
geoaxis!(scene, -180, 180, -90, 90; crs = (dest = dest,))

which, when run as is gives

Now, apparently the way to solve this is to simply do lons .-= 180 because I guess this is what Proj4 prefers (???), which gives correct result:

But unfortunately the central meridional (the grinwich one, at 0 longitude) is not at the center of the screen but at the edge. I've tried many different things, but nothing made this possible. How do I "shift" things around, preferably without altering my data, so that the plot turns out as I want it?

In summary: though there are several ways to achieve something similar to this with projection parameters such as lon_0 and lon_wrap, the easiest way to do it is to set your longitudes to be in the range (-180, 180).

Yes, but this is still quite sub-optimal and ideally we should fix it on the GeoMakie.jl side, using @visr function. I couldn't do it so far though, there was no way for me to make it work with that function. I'll try a bit more.

Oh man, the problems really just never stop. I got this code that with @asinghvi17 we made it "work":
using GeoMakie, Makie, Proj4
lats = -89.5:1:89.5
lons = 0.5:1:359.5
lons = lons .- 180 # this command MUST be done for things to work

field = [exp(cosd(l)) + 3(y/90) for l in lons, y in lats]

lon0 = 90

source = Projection("+proj=lonlat")
dest = Projection("+proj=moll +lon_0=$lon0")
xs, ys = xygrid(lons, lats)
Proj4.transform!(source, dest, vec(xs), vec(ys))
scene = surface(xs, ys, zeros(size(xs)); color = field, shading = false, show_axis = false)

geoaxis!(scene, lon0-180, lon0+180, -90, 90; crs = (src = source, dest = dest,))
coastlines!(scene, 1; crs = (src = source, dest = dest,))

but it only works for lon0 = 0:

change lon0 to 90 and you get:

See the problem at the right-hand side?

the key I guess is to make the above work for any lon0. If we understand this, we have solved this issue.

BTW Cartopy circumvents all of these problems by establish an association between an existing axis and a destination transformation. I.e. dest and axis are one and the same and one only needs to specify the input structure of your data.:
using PyCall, PyPlot
ccrs = pyimport("cartopy.crs")

projection = ccrs.Robinson()
data_crs = ccrs.PlateCarree()

ax1 = subplot(111, projection=projection)

ax1.contourf(lons, lats, field', lvls, transform=data_crs)

this extremely simple code, with only 4 commands, always worked for me out of the box, without having to do hacks or anything. It just worked for any transformation I've checked. I also didn't have to do any modification to my lons.
How do they do it? DO they still use Proj4 in the background? I am wondering, because using Proj4 directly is only bringing problem after problem...

Cartopy does use Proj4 in the backend, but they hook into Matplotlib's transformation mechanism.  I'm not sure how they deal with longitudes, but the code is sufficiently complex that I don't think I can figure it out.

I'd advise against using stuff like +lon_0 in the proj4 string. This effectively changes the projection, and in ways we don't quite understand at the moment. The longitude wrapping is something simple that we can hide from users easily by applying it in our functions right before sending it off to PROJ. Are there any issues when applying longitude wrapping and not using +lon_ things?

The primary issue is that you can't guarantee its presence for all functions, at least until I change the geo axis to behave more like MakieLayout's LAxis (custom struct, etc.)

+1 to what visr said, but I just can't figure out yet what is the transformation I have to do before passing to PROJ...

Hm, I believe that internally we use the warp_lon function, then do sortperm on the result and create a new lon vector that has the wrapped lons sorted, and use the same sorting on the first dimension on the input array field. I am travelling today but I wll test it in two days!!!!!!!!!! If this works I will probably go into ecstasy mode.


Built-in Themes Should Live in App Bundle

This way, built-in themes can’t be removed or customized, and they’re always up-to-date.
The Themes folder is for user themes (whether they made them or downloaded them).
There’s no need to track installation of themes in the Themes folder now — which simplifies our code.

This has been implemented for iOS and macOS in the candidate branches.


Paypal response mapper

Implemented ResponseMapper according to #3

Coverage decreased (-5.7%) to 94.262% when pulling ccbf1055d8afaa2c7c4f393cad80677c621abf26 on JuEger:paypal-response-mapper into 58be8991f0635c65ce169b8f83abeaf971f9a2ba on wirecard:03-paypal-init.

Coverage decreased (-5.7%) to 94.262% when pulling fe1f23bbcc953ebeae8e9b9a3edcef2a1ccf8144 on JuEger:paypal-response-mapper into 58be8991f0635c65ce169b8f83abeaf971f9a2ba on wirecard:03-paypal-init.

Coverage remained the same at 100.0% when pulling 89bd494f3889172bfe217b97e591b0a1f6a1d226 on JuEger:paypal-response-mapper into 58be8991f0635c65ce169b8f83abeaf971f9a2ba on wirecard:03-paypal-init.

Coverage remained the same at 100.0% when pulling 6dd51449af92ec20954852693915ac7a95bfbda9 on JuEger:paypal-response-mapper into 58be8991f0635c65ce169b8f83abeaf971f9a2ba on wirecard:03-paypal-init.

Coverage remained the same at 100.0% when pulling 196eafb2c82b50b25490c64b945f9f12f50c7f51 on JuEger:paypal-response-mapper into 58be8991f0635c65ce169b8f83abeaf971f9a2ba on wirecard:03-paypal-init.


[Bug] VIP Pokemon doesn't use best ball all the time.

Expected Behaviour
VIP Pokemon should use the best ball all the time.
Actual Behaviour
Found a case where it did not use the best ball possible. Had about 100 ultra balls but used a poke ball instead.d
Steps to Reproduce
Not quite sure. Might be because using an ultra in this case would cause the catch % to go over 100?.
Other Information
Log:
[14:55:20]  A Wild Abra appeared! [CP 81] [Potential 0.38]
[14:55:20] IV [Attack/Defense/Stamina] = [12/1/4]
[14:55:24]  [-] Abra is a VIP Pokemon! [CP 81] [Potential 0.38] Nice! Try our best to catch it!
[14:55:24] Catch Rate with normal Pokeball is low (62.29%). Thinking to throw a Razz Berry... (18 left!)
[14:55:24] Threw a berry! Catch Rate with normal Pokeball has increased to 93.43%
[14:55:24] Using Pokeball (chance: 93.43%)... (29 left!)
[14:55:25]  Oh no! Abra vanished! :(

VIP pokemon make the bot want at least 90%, not necessarily 100.

Is there a reason why you wouldn't want 100%?

Most people would consider 90% a safe bet.

did you really just write that? ...
"point in case" I would say


[WIP, don't merge] Update MKL-DNN to fix LSTM perf regression

Description
Fix the bug in MKL-DNN to avoid un-necessary creation time
ISSUE:  #13369
@TaoLv

@mxnet-label-bot add [pr-awaiting-review, MKLDNN]

@mxnet-label-bot update [pr-work-in-progress, ONNX]

Ran benchmarks and it looks good.

@TaoLv could you help merge the PR? Thanks.


reload the students on participation delete

      // TODO check reload the students -> maybe the deleted student must be shown in the list

https://github.com/SELab-2/OSOC-4/blob/3ef225f3af165c9775f5ed0dd66c512515b34e80/frontend_nextjs/Components/students/StudentListAndFilters.js#L208

Maybe the deleted participation student must be shown in the users list


PLAT-113850: Fixed broken logic covering edge cases of an invalid data-index value

getNumberValue returns -1 for invalid data-index attribute of an item DOM node. So we can check the validity of a converted value to decide whether we take our focus and scroll logic or leave a behavior up to Spotlight.
Enact-DCO-1.0-Signed-off-by: Seungcheon Baek<EMAIL_ADDRESS>

I'm not sure we should add "index >= 0 " condition on VirtualListBase.js likes sandstone.

Closed as we don't actually need to accept this change for now.


fix: Update workflow commands table for env files

Why:
No issue since it's essentially a typo.
In workflow-commands-for-github-actions.md some rows in toolkit functions/workflow commands table, some rows had "Accessible using environment variable" but should have "Accessible using environment file" as others doing so already had (specifically core.addPath and core.exportVariable).
What's being changed (if available, include any code snippets, screenshots, or gifs):
Row description from "Accessible using environment variable ..." to "Accessible using environment file ...".
Changed table rows:

core.summary
core.saveState
core.setOutput

Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

@amis92 Thanks so much for opening a PR! I'll get this triaged for review :zap:


Plotting Model Accuracy/Loss Plots

Hello,
In Keras, we can access the "History" object and plot the model accuracy/loss plots to assess how it progresses. These plots help us infer the overfitting/underfitting aspects of the model.
Similarly, is there a way in Ktrain where we can plot the training history in terms of Loss/Accuracy? I would be grateful if you could guide me.
Ref: https://machinelearningmastery.com/display-deep-learning-model-training-history-in-keras/
Please see the ref article.
Thanks

This is answered in the FAQ.
All *fit* method in ktrain return training history similar to Keras.  ktrain also has a convenience method to plot training vs. validation loss automatically: learner.plot('loss').  This is explained in the FAQ

Thank you so much.


Added support for Eventlet to async module

A new setting is added: async_module, which defaults to 'gevent'. If gevent is not found eventlet is tried in turn, and if 'eventlet' is set explicitly, gevent will not be used.
Example to use eventlet:
from requests.config import settings
settings.async_module = 'eventlet'
from requests import async
....

Thanks a ton for this! Very exciting ;)
I'll try to push this out in a release this evening.

From http://www.gevent.org/

gevent is inspired by eventlet but features more consistent API, simpler implementation and better performance.

Do we really need to support eventlet considering the above?

No. The only reason to have Eventlet support is because it's pure-python, and therefore works in PyPy.

I'd like to add it in as a fallback, but not a configurable one.


NVRHand DeregisterInteractable can hit a null error

Thanks for making this asset, here is my contribution!  In our game we make an object have different intractable parts depending on game conditions.  Either the lid of a box is active, or the whole object is active.  To do this we register and deregister the appropriate colliders and NVRInteractables at different times.  We hit an error with that that required a simple fix to NVRHand.  It is just a null check on CurrentlyHoveringOver, in line 463 of NVRHand.  Please include!
        public void DeregisterInteractable(NVRInteractable interactable)
        {
            if (CurrentlyInteracting == interactable)
                CurrentlyInteracting = null;
          if(CurrentlyHoveringOver !=null)
            CurrentlyHoveringOver.Remove(interactable);
        }

Sorry, this was fixed on June 3rd build.


we renamed the file but did not update the baseline file. Fix it.

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/azp run python - hdinsight - ci

CI run for this PR: https://dev.azure.com/azure-sdk/public/_build/results?buildId=1524529&view=results

Looks like the warning is still being raised despite the name update in the baseline file. @sima-zhu, do you know why that is?
@xiangyan99 if the package owners are okay with us making a change on their behalf, could we move the fake secret that's raising the error into our fake credential store instead, and import it in the test file? We could then remove the baseline suppression entirely, which is the eventual goal anyway. We could probably name the secret value MGMT_HDINSIGHT_FAKE_KEY

Looks like the warning is still being raised despite the name update in the baseline file. @sima-zhu, do you know why that is?
@xiangyan99 if the package owners are okay with us making a change on their behalf, could we move the fake secret that's raising the error into our fake credential store instead, and import it in the test file? We could then remove the baseline suppression entirely, which is the eventual goal anyway. We could probably name the secret value MGMT_HDINSIGHT_FAKE_KEY

I am ok to move it into our fake cred store. But we still want to know why it failed? @sima-zhu

Looks like the warning is still being raised despite the name update in the baseline file. @sima-zhu, do you know why that is?
@xiangyan99 if the package owners are okay with us making a change on their behalf, could we move the fake secret that's raising the error into our fake credential store instead, and import it in the test file? We could then remove the baseline suppression entirely, which is the eventual goal anyway. We could probably name the secret value MGMT_HDINSIGHT_FAKE_KEY

I am ok to move it into our fake cred store. But we still want to know why it failed? @sima-zhu

Right, the baseline file is using hash somehow. Rename directly does not fix the error.

Python has guideline of fixing this. It is better to fix as @mccoyp suggested.

@mccoyp could you help to move those fake secrets into our fake credential store?

Close this one as we will use #24274 instead.


Module not found: Error: Can't resolve 'stream' in node_modules\csv-parse\lib\es5

After update from Angular 5 to 6, I have this compile error.
ERROR in ./node_modules/csv-parse/lib/es5/index.js Module not found: Error: Can't resolve 'stream' in '<projectPath>\node_modules\csv-parse\lib\es5'
Package version 4.14.0
What am I doing wrong? Please help

You seem to be in a browser environnement. You need to use sth like webpack.

You seem to be in a browser environnement. You need to use sth like webpack.

I'm staring it by ng serve from angular

Try to use a tool like browserify

Angular has a preconfigured build system that is not to be tampered with in most cases. If it won't work with the default builder then this package is practically unusable in Angular.

I agree, just stumbled upon this issue as well. Such a good library that comes up in search results but it's practically unusable in Angular or anything that doesn't require custom webpack modifications, and the workaround of using browserify is just laughable.

No wait! I made it worked for csv-stringify. Give me an hour and I will publish a working version with a demo.

I just published version v4.15.2, you can have a look at this demo. It uses the HTML <script> tag without any external code and it gives access to the parse function. Let us know if it works for you with angular.

Another issue-reply mentioned to use es5 - that did not work
Assuming node issues. Hard to track down any recent workarounds with this or in general for Angular projects
lib/browser seems to get past the initial prototype etc resolution issues with csv; however, it does not have a declaration file for poor importability?
Angular TypeScript
may be better to use one of the many angular csv packages around

Adding here as a faster workaround to get up and running from a search engine search -
I used Papa Parse - explicitly advertised for in-browser parsing
npm i papaparse
It just works. 600k weekly downloads. Simple single dependency. Seems extremely fast. Decent intellisense usage with documented comments and the documentation first page overview easy to use.
Would have preferred to use something well-supported like csv, 300k weekly downloads with a great name; however, the hours saved for a simple import into web app usage in this personal use case are indisputable.
May come back to csv for node-specific usage

You can also help by providing a simple angular repository reproducing the problem, from there, I can work on it to better understand what the problem is and fix it.


[3525] Fix back links on User/Provider tab going to the wrong page

Context
https://trello.com/c/BP9QKYrl/3525-back-links-on-user-tab-going-to-the-wrong-page
Changes proposed in this pull request
I explored using PageTracker, but decided not to fiddle with it to work with non-trainee pages. The simpler solution for now is to just add some context to the lead school and provider links so the backlink knows how to get back to the users page.
Guidance to review

Visit system admin page
Click on a lead school within the users tab
Click back link
Should go back to the users tab

Repeat for provider.

 Back links on User tab going to the wrong page


Gzip compression support

Gzip compression support
Edit README to show how to turn compression on
Add test cases for compression

@gadicc Could you take a look at this PR?

@nlhuykhang!  Thanks for the bump and for another great PR!  With README, tests and same API.
I think in the future we can make gzip the default; Meteor did the same without too much trouble.  We can keep it opt-in for now and make sure there are no problems, but I can't imagine anything going wrong.
Do you have any other work on this planned? :)  As I guess you noticed, I'm struggling to maintain this, especially since I'm not currently using it in any projects (Meteorpedia is locked on a much older version of Meteor).  I would love to add you as a maintainer if you're game.

@gadicc
I have one project currently using this package. I think it will come to require sitemap index sooner or later so I will work on that feature too, so there will be a PR for that feature soon.
About being maintainer, I am not so sure. All my projects are now using Meteor 1.3 and higher, not sure if I could handle issues related to older versions.

Haha ok no worries.  Any future PRs from you will be very welcome.  Thanks!


Change AuroraController.appendAuroraCommandOptions to private

This method is not used outside of this class. Changing to private.

Should we change it into protected so later we can use it in Unit test?

I prefer making methods as closed-scoped as possible and opening scope when needed. So once we write a test we can change it to protected and annotate it @VisibleForTesting.

👍

:+1:


Uncaught Error: Disallowed operation called within global scope with hono/jwt in CloudflareWorkers

What version of Hono are you using?
4.0.2
What runtime/platform is your app running on?
Cloudflare Workers
What steps can reproduce the bug?
import { Hono } from 'hono'
import { sign } from 'hono/jwt'

const app = new Hono()

app.get('/', async (c) => {
  const payload = {
    sub: 'user123',
    role: 'admin',
  }
  const secret = 'mySecretKey'
  const token = await sign(payload, secret)
  return c.json({ token }, 200)
})

export default app

The above code calls the sign function of hono/jwt and creates an endpoint that creates and returns a JWT token.
Run a local environment for CloudflareWorkers.
The package manager is pnpm.
What is the expected behavior?
Ability to create JWT tokens by calling the sign function within Hono's handler.
What do you see instead?
I ran the above code in the local environment of CloudflareWorkers and got the following error.
⎔ Starting local server...
[wrangler:inf] Ready on http://localhost:8787
✘ [ERROR] service core:user:carcharhinus: Uncaught Error: Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or connect()), setting a timeout, and generating random values are not allowed within global scope. To fix this error, perform this operation within a handler. https://developers.cloudflare.com/workers/runtime-apis/handlers/

    at null.<anonymous> (index.js:27321:29)

✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.

It is suggested to use it in the handler instead of the global scope, but I am getting an error even though I am using it in a Hono handler.
Additional information
The error about hono/jwt confirms that there is also an error about the JWT Auth Middleware.
I confirmed the same error as above when I run it in Cloudflare Workers local environment using jwt Middleware as per the official documentation.
import { Hono } from 'hono'
import { jwt } from 'hono/jwt'

const app = new Hono()

app.use(
  '/auth/*',
  jwt({
    secret: 'it-is-very-secret',
  })
)

app.get('/auth/page', (c) => {
  return c.text('You are authorized')
})

export default app

Same problem here.
The same in versions 20 and 21 of Node.js.
Other versions have not been tested.

I've tested with the same code and it seems that this issue occurs starting from version 4.0.2 onwards. Versions 4.0.1 and below worked correctly.

It's weird, but it works by removing import syntax in node_modules/hono/src/adapter/deno/ssg.js

This error is most probably caused by a change in Wrangler's behavior, not Hono's code, but it works fine on the Bun.

Hi @yamato0211 @hayatocodejp @Kurichi @ryuapp
This might be fixed by #2238 . Cookie Helper was not imported correctly in the JWT middleware.
I'll release the next patch version that includes the change maybe tomorrow. Thanks!

Hi @yusukebe, Is this issue really fixed, I am still getting the same error when I tried to call sign method of JWT. or do I miss anything else.
Hono Version used : 4.2.0

@yusukebe , thanks for quick support, it is working now

@yusukebe, thank you man, working fine

Thanks @yusukebe. Can someone tell me which issue was due to which reason, I am newbie to this ?

@yusukebe  Still getting the error

Unrelated, but if anyone ever has this issue and it persists, really look deep in your code for any hidden randomly generated values that are initialized right when the server runs. I looked hard and realized I had a hidden nanoid() call at the top level:
const DEFAULT_PAGE_VALUES = {
	id: nanoid(),
	...
}

moving forward, you can still use nanoid, just be sure to do so inside a function rather than in the top level.


datetime issue (DST?) in Indian Standard Time

see report here: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/enketo-users/QlL6b77X7Xk/qK0uuYypBwAJ
The user only sees this when loading a draft record in Enketo Express, but we should try to reproduce in Enketo Core (unlikely caused by code in Enketo Express).

Set computer to IST
Collect datetime in test form (single question form). Check how it is stored in model
Load record with that the value from 2. Check how it is displayed in form.

Hi @MartijnR
I am interested in working on the issue and I would like guidance on how to work on the issue;
like files to check

Hi @p-netm,
That's great. I think the first step is to see if the issue is caused by some conversion in enketo-core (or enketo-xpathjs). The way to do that is follow the steps above (you can get the current state of the record with form.model.getStr() in the console. And use that record during instantiation (by temporarily editing app.js).
If the issue turns out to be caused by enketo-xpathjs, I would be less interested in a fix, because that whole library is in the process of being replaced.
It may also be good to turn off the datetime widget (in widgets.js) to see if the cause lies there.
Have fun!

Hi @MartijnR
So i havent really had any sort of progress other than replicate the issue:
Looking into the local storage: for a simple form with only a time question; this is the saved draft during set, after filling in 7:00 PM
{draft: true, xml: "<timetest xmlns:jr="http://openrosa.org/javarosa" …instanceID>↵          </meta>↵        </timetest>", name: "timetest - 5", instanceId: "uuid:43300a16-ec8d-4866-aa1a-d8e35a377bbb", deprecateId: "", …}
deprecateId: ""
draft: true
enketoId: "phrdF0lH"
files: []
instanceId: "uuid:43300a16-ec8d-4866-aa1a-d8e35a377bbb"
name: "timetest - 5"
xml: "<?xml version="1.0" encoding="UTF-8"?>
<timetest xmlns:jr="http://openrosa.org/javarosa" xmlns:odk="http://www.opendatakit.org/xforms" xmlns:orx="http://openrosa.org/xforms" id="timetest" version="201907311209">
   ↵
   <formhub>
      ↵
      <uuid>a4d96ea10a7b43688036288d4bca4467</uuid>
      ↵
   </formhub>
   ↵
   <wakeup>19:00:00.000+06:30</wakeup>
   ↵
   <meta>
      ↵
      <instanceID>uuid:43300a16-ec8d-4866-aa1a-d8e35a377bbb</instanceID>
      ↵
   </meta>
   ↵
</timetest>"

After reloading the same record from drafts and then resaving it again : the saved instance looks like this:
deprecateId: ""
draft: true
enketoId: "phrdF0lH"
files: []
instanceId: "uuid:43300a16-ec8d-4866-aa1a-d8e35a377bbb"
name: "timetest - 5"
xml: "

<?xml version="1.0" encoding="UTF-8"?>
<timetest xmlns:jr="http://openrosa.org/javarosa" xmlns:odk="http://www.opendatakit.org/xforms" xmlns:orx="http://openrosa.org/xforms" id="timetest" version="201907311209">
   ↵
   <formhub>
      ↵
      <uuid>a4d96ea10a7b43688036288d4bca4467</uuid>
      ↵
   </formhub>
   ↵
   <wakeup>19:00:00.000+06:30</wakeup>
   ↵
   <meta>
      ↵
      <instanceID>uuid:43300a16-ec8d-4866-aa1a-d8e35a377bbb</instanceID>
      ↵
   </meta>
   ↵
</timetest>

"

What i think is peculiar is that in between reloading the draft and resaving the draft, the time value is decreased by an hour however the resaved draft xml is similar to the original draft, specifically the wakeup node value.
Another flag is the value of the wakeup node: 19:00:00.000+06:30, given that IST is +05:30 could this be a pointer to where the problem lies or is this the expected behaviour
Am hoping this information can help you help me zero down to what could be the cause of the issue

Thanks! That's interesting. Good to know that the model value is consistent at least. So 2 issues:

time value displayed in the widget after loading the record is inconsistent with the original data entry (model value is the same)

IST is getting the wrong timezone offset

For 1, it would be good to know if that issue is occurring when you disable the time widget (comment out the line in widgets.js).
For 2, Enketo is using this code which uses the browser engine's native Date object. Does the offset differ between FF/Chrome/Safari perhaps?

Sorry, for the huge time gaps within the response, And also thanks for the quick replies.
Soo just inspecting no 2. from now, and i found this, which explains the the wrong timezone offset.
// timezoneOffset = -330;
Math.floor( -330 / 60 )  // -6

I believe the intention here was to round off this to -5 but the result is -6.

If the issue turns out to be caused by enketo-xpathjs, I would be less interested in a fix, because that whole library is in the process of being replaced.

Should i write a fix for this, in the enketo-xpathjs

Oh my... :sweat_smile:
Thank you for finding this! Yes, this embarrassing bug should actually be fixed in enketo-xpathjs, so a PR is very welcome after all!


npm start errors

hi,
the code looks great, but when i try to start the app ("npm start") i got the following errors:

[14:07:39] Starting 'build.js.dev'...
src/blog/post/post.component.ts(19,17): error TS2315: Type 'Subscription' is not generic.
src/blog/posts/posts.component.ts(21,17): error TS2315: Type 'Subscription' is not generic.
src/blog/services/wp/terms.ts(27,14): error TS2415: Class 'CategoryModel' incorrectly extends base class 'WpModel'.
Types of property 'parent' are incompatible.
Type 'number' is not assignable to type 'WpCollection'.
src/blog/services/wp/terms.ts(40,56): error TS2344: Type 'CategoryModel' does not satisfy the constraint 'WpModel'.
Types of property 'parent' are incompatible.
Type 'number' is not assignable to type 'WpCollection'.
[14:07:43] TypeScript: 4 semantic errors
[14:07:43] TypeScript: emit succeeded (with errors)

what am I doing wrong?

This is a duplicate of #4
You're not doing anything wrong :-)


deposition form - Server error when trying to save

While trying to save after entering solvent details, I got this error message (09:00 23/11-2023)
500 error
Trying again at 09:04 it appeared to have saved…

This is likely related to a previously observed error that occurs for incompletely filled objects.  The cause appears to be that partially filling certain elements results in the frontend returns an array instead of an object  which gives rise to a json schema validation error (example error):
"PUT /api/mbdb-mst/7tsz3-ss856/draft HTTP/1.1" 500 -
.
.
.
jsonschema.exceptions.ValidationError: [{'inchikey': 'something long ', 'molecular_weight': {'unit': 'kDa', 'value': 7.0}, 'name': 'long name', 'type': 'Chemical'}] is not of type 'object'

Getting a 500 here is odd. If the frontend deposited invalid data, the backend should catch it report it back with a 400 (?) error code. Solvent is supposed to be a list of Entity items so having an array here seems correct.

A working minimal example to provoke this error is to post the following:
{
  "metadata": {
    "general_parameters": {
      "depositors": {
        "principal_contact": {
          "family_name": "d",
          "given_name": "e"
        }
      },
      "entities_of_interest": [
        {
          "type": "Polymer",
          "name": "l"
        }
      ]
    }
  }
}

Note that the following (also incomplete) example that gives the intended behaviour is:
{
  "metadata": {
    "general_parameters": {
      "depositors": {
        "principal_contact": {
          "family_name": "d",
          "given_name": "e"
        }
      }
    }
  }
}

This was fixed the affected dependency, see https://github.com/oarepo/oarepo-runtime/pull/172


Add repo name argument to 'create'

It'd be nice to say hub create foo in cases where the repo name shouldn't match the name of the current directory.

Adding this argument would likely let you create a repository under another organization you're a member of, not just under your own user, as well, since the API supports creating a repo with a name 'other-user/repo'. That would be extremely useful, in my opinion, in addition to the case where the current directory name doesn't match the repo name.

@avdi and @kergoth you can do a little dance now!
$ brew upgrade hub --HEAD

Yay!


Error shows when viewing cadence with imports ("textDocument/documentSymbol failed")

Problem
An error shows in contracts/transactions which have imports in them.  On the bottom right, an alert pops up saying "textDocument/documentSymbol failed" and there is more information in the console.
Steps to Reproduce
A good example is to open kitty-items & try to view the FlowToken.cdc contract.  This error will then appear, whereas other contracts like FungibleToken.cdc are fine (no imports).

Flow CLI Version: v1.0.2
Acceptance Criteria
Doesn't show this error + fixes whatever side effects this error has.

Some testing has revealed that this broke at<EMAIL_ADDRESS>Will try to see if this issue is on our end or VSCode's end.

Currently blocked until Flow CLI release.  This will be fixed when the changes to the LS are pushed to the next Flow CLI version.  At that time we will update vscode-languageclient & set the minimum supported version of vscode-cadence to whatever that version is.


Passwords for MySQL users are being logged

It seems that #62 broke the filtered logging:

==> default: [2014-11-18T18:40:33+00:00] INFO: mysql_database_user[nrpe_check]: granting access with statement [GRANT all ON nrpe_check_db.* TO nrpe_check@localhost IDENTIFIED BY 'the_password'[FILTERED]]

I think line 70 of provider_database_mysql_user.rb should be removed, and the db.query call updated to append the password and REQUIRE SSL statement.

Even after version 3, which made a lot of changes, the passwords are still be logged. See line 130, since it just logs SQL used.

This has been fixed & merged. Versions 4.0.5+ include the security fix.


JavaScript: Documentation review for new query UnvalidatedDynamicMethodCall.

https://github.com/Semmle/ql/pull/555 was (deliberately) merged without doc review to facilitate testing.

@xiemaisi - apologies, I wasn't well yesterday and called in sick. Will review this now.

Thanks, @mc-semmle! Fixed.

Thanks for your last commit @xiemaisi
This is good to go from my perspective.

Are you happy for me to merge?

Yes, please do; no point in waiting for the language tests.


ArgumentException: Value does not fall within the expected range.

I am trying to record video using VideoKit in an empty project but when I click the start button I get this error
I am not exactly sure why is it not able to get the width of the screen
this is my recorder component

I did try all the options in Resolution
It would be nice if anyone can tell what am I missing here
Thanks
Full Stack -
ArgumentException: Value does not fall within the expected range.
VideoKit.Internal.VideoKit.Throw (VideoKit.Internal.VideoKit+Status status) (at ./Library/PackageCache/ai.natml.videokit@0.0.18/Runtime/Internal/VideoKit.cs:851)
VideoKit.MediaRecorder.get_width () (at ./Library/PackageCache/ai.natml.videokit@0.0.18/Runtime/MediaRecorder.cs:94)
VideoKit.Sources.CameraSource..ctor (VideoKit.MediaRecorder recorder, VideoKit.Clocks.IClock clock, UnityEngine.Camera[] cameras) (at ./Library/PackageCache/ai.natml.videokit@0.0.18/Runtime/Sources/CameraSource.cs:59)
VideoKit.VideoKitRecorder.CreateVideoInput () (at ./Library/PackageCache/ai.natml.videokit@0.0.18/Runtime/Components/VideoKitRecorder.cs:647)
VideoKit.VideoKitRecorder.StartRecording () (at ./Library/PackageCache/ai.natml.videokit@0.0.18/Runtime/Components/VideoKitRecorder.cs:478)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at <51fded79cd284d4d911c5949aff4cb21>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <834804db60ae4eb981294088cf979056>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <834804db60ae4eb981294088cf979056>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <834804db60ae4eb981294088cf979056>:0)

Hey @RajParab , can you share the Editor.log? To get the editor logs, open the Console tag and in the top-right, there is an expander menu (three dots). Click it and open the editor logs. Try reproducing this error then share the logs once the exception is raised. Thanks.

Also, are you on the macOS or Windows editor?

I am windows user
Will share the console exceptions in some time

Hello @olokobayusuf
Here is the editor Log file that you asked for
Editor-log.txt

Fix coming in 0.0.19.

Fixed in 0.0.19.

Would like to know what was the issue and fix

After updating the application now the entire Unity App seems to be crashing

After updating the application now the entire Unity App seems to be crashing

I've reopened the issue. If you face errors or a crash, always include logs. It's impossible to know what the cause is from only stating that a crash happens.

Yes I should have attached the log
I missed that as I was busy with some other tasks
Here are the files that are being sent with the bug report to Unity
crash-report.zip

@olokobayusuf  Any update on this issue??

@RajParab not yet, should have some news on Monday.

@RajParab can you try out VideoKit 0.0.21? We haven't been able to reproduce this issue.


lib.evalModules: module order is reversed

Issue description
After playing around with lib.evalModules I noticed that the modules are applied in reverse order.
This is because of the reverseList call when merging the modules.
https://github.com/NixOS/nixpkgs/blob/410650c1283b3a7127e38109fbc7cccfac568210/lib/modules.nix#L64
The real problem is however that for each submodule (lib.types.submodule) the module list gets reversed again!
My thoughts:

The reverseList should be removed from evalModules
Why was it in there in the first place?
What would be the impact on a users configuration.nix?

Steps to reproduce
(import <nixpkgs/lib>).evalModules {
  modules = [
    # this defines the options:
    #   list         (no submodules)
    #   sub.list     (one submodule)
    #   sub.sub.list (two nested submodules)
    ({ lib, ...}: with lib; with types; {
      options.list = mkOption { type = listOf str; };

      options.sub = mkOption {
        type = (submodule {
          options.list = mkOption {
            type = listOf str;
          };

          options.sub = mkOption {
            type = (submodule {
              options.list = mkOption {
                type = listOf str;
              };
            });
          };
        });
      };
    })

    {
      config.list = [ "1" ];
      config.sub.list = [ "1" ];
      config.sub.sub.list = [ "1" ];
    }

    {
      config.list = [ "2" ];
      config.sub.list = [ "2" ];
      config.sub.sub.list = [ "2" ];
    }

    {
      config.list = [ "3" ];
      config.sub.list = [ "3" ];
      config.sub.sub.list = [ "3" ];
    }
  ];
}

No submodules -> one call tolib.reverseList -> reversed
$ nix eval -f default.nix config.list
[ "3" "2" "1" ]

One submodule -> two calls to lib.reverseList -> not reversed
$ nix eval -f default.nix config.sub.list
[ "1" "2" "3" ]

Two submodules -> three calls to lib.reverseList -> reversed
$ nix eval -f default.nix config.sub.sub.list
[ "3" "2" "1" ]

When removing the reverseList from lib/modules.nix I get the expected result: [ "1" "2" "3" ] for config.list, config.sub.list and config.sub.sub.list.
Technical details

system: "x86_64-linux"
host os: Linux 4.14.102, NixOS, 19.09.git.80812af (Loris)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.2
channels(root): "nixos-19.09pre170705.1233c8d9e9b"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

I just noticed that this has been here since the introduction of evalModules in 0e333688cea468a28516bf6935648c03ed62a7bb:
https://github.com/NixOS/nixpkgs/blob/0e333688cea468a28516bf6935648c03ed62a7bb/lib/modules.nix#L13-L16


[WFCORE-3372] Await close of connection to HC during reload to avoid …

…races where the old connection gets incorrectly reused
https://issues.jboss.org/browse/WFCORE-3372

Full integration - Windows Build 4445 outcome was FAILURE using a merge of f36b15d80ef7a446257283c795a1059a346be4bc
Summary: Tests failed: 1 (1 new), passed: 4203, ignored: 96 Build time: 02:27:46
Failed tests
org.wildfly.test.integration.elytron.audit.UDPSyslogAuditLogTestCase.testFailedAuthWrongPassword: java.lang.AssertionError: Failed authentication with wrong password was not logged
	at org.wildfly.test.integration.elytron.audit.AbstractSyslogAuditLogTestCase.testFailedAuthWrongPassword(AbstractSyslogAuditLogTestCase.java:87)


Hue dimmer (rwl020) off short press

Hi,
I have Hue Dimmer controller integrated in Hass Core via ZHA and Bellows (zigpy). The quirk is set to a long press of the Off button as show here. However it seems device is sending this on the short press and not sending any long press for the Off button. The event on Hass is:
{
    "event_type": "zha_event",
    "data": {
        "unique_id": "xx:xx:xx:xx:xx:1:0x0006",
        "device_ieee": "xx:xx:xx:xx",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "off_with_effect",
        "args": [
            0,
            0
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2020-03-05T05:49:25.119524+00:00",
    "context": {
        "id": "xxxxxxxxxxxx",
        "parent_id": null,
        "user_id": null
    }
}

Based on quirk code, it should be long press with no args but it is short press with args [0,0].
This hue dimmer is with latest firmware (upgraded using Hue bridge before paring dimmer with ZHA).
Thanks.

whoops... thanks for the report!


The plugin prevents follow the backlink standart obsidian behaviour

Steps to reproduce:

Open some note with backlinks.
Click on backlink.

Best if the backlinked note is long enough to span multiple screens. Last cursor position in  backlinked note should be near end of file. The link from the "backlinked note" to the "some note" should be in the middle of the note.
Expected Behavior:

Obsidian opens backlink-note, scroll down to the corresponding link and highlight it.

Actual behaviour:

Obsidian opens backlink-note, scroll down to the corresponding link and highlight it.
Cursor moves down to the last position, so highlighted corresponding link fly-away upper.

I unfortunately still observe the same behavior (when in the list of backlinks, clicking on an entry first goes to it, but then Remember Cursor Position unfortunately goes to where the cursor was during the last edit).
I did try all the possible time lag settings, to no avail.
Any solution to this crippling problem (trying to reach a specific place in a note—through a backlink—is impossible) would be much welcome! 😀

this problem indeed stops me use backlinks normally. So I am considering remaining this plugin or not.

I would know how to help in debugging this point or, at least, to know what prevent the plugin to avoid to switch to the last restored position when the file is opened using a backlink.
I'm asking it because I was discussing obsidian people about including this functionality into the core but they will not take into account if it is achievable for a plugin developer and a plugins lready exist... 😊


Fix sort order: using 'ascending' and 'descending'

Fixes: #2397
Now listing blocks can order items with "reverse" using latest plone.restapi's rules.
Using a listing block ordered by title, in Edit mode when selecting "Reverse order" you can see contents with titles starting with Z or W, while finding the ones starting with A or B deselecting "Reverse order".
This PR uses two approaches:

fix in the action which prevents us to migrate blocks to fix it, working with existing listing blocks
ListingData saves correctly new blocks

I like that this is backwards compatible.
I am wondering if we should (in a separate PR is fine) add a deprecation warning in the action, if the old behavior is detected. Then we could plan removing that fix in the action and only keep the updated ListingData with the updated onChange in che CheckboxWidget.
Thoughts?

@sneridagh Seems fine to me.

@pnicolli So it's a fix of the current version, and like this is fine to me if it covers the previous values, although it's not elegant.
So, as I planned to include the listing refactor in 13, using schemas, let's see if we can deal with it (and also the previous value), if not, include a breaking change.

@nzambello prettier! :)

@sneridagh so will you replicate or check this with the new refactored QuerystringWidget and we'll have a 12.x branch with this?
I think should keep trace of this in the changelog of master anyway, or we'll have a release on npm without changelog.

@pnicolli btw, I think the solution in this PR is enough elegant :) Do you think we should provide a proper dropdown choices "ascending/descending"? or continue with the boolean? I think it's a boolean because in classic it's a boolean.
/cc @plone/volto-team

@sneridagh I'm fine with the boolean, it's always been clear to users afaik. I'm also fine with the PR, it's a good fix for the situation.
My proposal was just to plan a moment in the future where the change to the querystringsearch action is removed, since it will be useless code at some point, maybe 3-4 majors from now. The deprecation warning, if we want to do this, should be logged when that code is run, and an upgrade guide should be written about this, of course. This is why I suggested to do that in a separate PR :)
Two years from now, I wouldn't want to see a bunch of BBB code like this stuck in Volto core, it's a big enough project to maintain 😬
Of course, all of this does not take your QuerystringWidget rework into consideration, I haven't looked into it yet, so maybe all of what I'm saying is useless 😛


Hey joey, yes sorry we use it in some other way and I hit pull request per accident ;) But this is quite custom and I did close it. Sorry! ;)

No worries, and if you'd ever like something added to the library don't hesitate to ask.


Drag-and-Drop Not Working with RibbonWindow and DockControl

Issue Description
Summary:
When using RibbonWindow from Avalonia.Ribbon in combination with DockControl from the Dock library, the drag-and-drop functionality of DockControl does not work as expected. Specifically, the UI that shows dockable areas during a drag operation is not displayed.
Steps to Reproduce:
1.	Create an Avalonia application using RibbonWindow.
2.	Add a DockControl inside the RibbonWindow.
3.	Attempt to drag a dockable tool window within the DockControl.
4.	Notice that the dockable area UI is not displayed during the drag operation.
Environment:
•	Operating System: macOS (M3)
•	Avalonia Version: 11.2.3
•	Dock Library: Dock GitHub
Additional Details:
•	If the RibbonWindow is replaced with the default Window, the drag-and-drop functionality works as expected.
•	The issue may be related to RibbonWindow’s StyleKeyOverride or its OnApplyTemplate logic interfering with DockControl’s drag-and-drop event handling.
•	Potential conflicts between RibbonWindow’s custom behaviors and DockControl’s event handlers (e.g., PointerPressed, PointerMoved) might be the root cause.
Visual References:
•	Non-working scenario (RibbonWindow):

•	Working scenario (default Window):

OK，I know


Website email newsletter form

Add email newsletter form popup when the user comes onto thenewboston for the very first time
Add email newsletter form to the footer of the website as well. Must be on every pages footer
Please make sure to store the emails in the backend. We eventually want to be able to collect the emails so we can start doing email campaigns.

https://www.figma.com/file/cOHTkvpRXzPIQGjCotrP4y/Email-Newsletter?node-id=0%3A1

@thesanjeevsharma is there an endpoint to which we can send the email?

@whitelionx I'll ask BE team about this. Meanwhile, contibutors can start with the FE part of it.  API can be added later, before merging!

Then I will grab this issue and prepare the frontend side of things and after you get the endpoint we can do an easy post request to store it 👍 @thesanjeevsharma

Is there any feedback from the BE, the FE is almost done, just optimizing stuff for other device widths as well @thesanjeevsharma

It's not available yet! You can submit a PR. We'll merge once the endpoint is ready.

Thanks for the feedback, will push it soon @thesanjeevsharma

I also prepared the mobile layout since it wasn't in the design, is this okay for mobile @kristykjlee

Closing in place of the new sign up flow which will already require the users email.


[kie-issues#511] Migrate from jboss-parent to apache parent pom.

This is part of an effort from issue https://github.com/kiegroup/kie-issues/issues/511.

Changes root parent pom from jboss-parent to apache parent pom.xml.
Aligns version property names with apache parent pom.
Adds missing version properties.

Rebased with latest main to trigger PR check again.


extension Sample should have a readme

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
The extension sample should have a readme file that discusses how to build, modify and test.
C:\Users\kevinla\source\repos\devhome\extensions\SampleExtension
Expected result
No response
Actual result
nada.
Included System Information
No response
Included Extensions Information
No response

Will add this next time I update the sample.


Waffle is failing

Version details - Python v3.5.2, Django v1.10.2, Waffle v0.11.1
Added waffle to installed apps and middlewares as per docs. And I am getting this following error:
  Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x10dc60488>
  Traceback (most recent call last):
    File "/Users/avi/.virtualenvs/della/lib/python3.5/site-packages/django/utils/autoreload.py", line 226, in wrapper
      fn(*args, **kwargs)
    File "/Users/avi/.virtualenvs/della/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 142, in inner_run
      handler = self.get_handler(*args, **options)
    File "/Users/avi/.virtualenvs/della/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 27, in get_handler
      handler = super(Command, self).get_handler(*args, **options)
    File "/Users/avi/.virtualenvs/della/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 64, in get_handler
      return get_internal_wsgi_application()
    File "/Users/avi/.virtualenvs/della/lib/python3.5/site-packages/django/core/servers/basehttp.py", line 49, in get_internal_wsgi_application
      return import_string(app_path)
    File "/Users/avi/.virtualenvs/della/lib/python3.5/site-packages/django/utils/module_loading.py", line 20, in import_string
      module = import_module(module_path)
    File "/Users/avi/.virtualenvs/della/lib/python3.5/importlib/__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 986, in _gcd_import
    File "<frozen importlib._bootstrap>", line 969, in _find_and_load
    File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 665, in exec_module
    File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
    File "/Users/avi/Documents/code/della/della/wsgi.py", line 16, in <module>
      application = get_wsgi_application()
    File "/Users/avi/.virtualenvs/della/lib/python3.5/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
      return WSGIHandler()
    File "/Users/avi/.virtualenvs/della/lib/python3.5/site-packages/django/core/handlers/wsgi.py", line 153, in __init__
      self.load_middleware()
    File "/Users/avi/.virtualenvs/della/lib/python3.5/site-packages/django/core/handlers/base.py", line 82, in load_middleware
      mw_instance = middleware(handler)
  TypeError: object() takes no parameters

I believe this is a duplicate of #223.
@jsocol Perhaps you should make a release to prevent more people from running into this on Django 1.10?

Any update on a release? This is failing on Django 1.10.3 too.

@joeyespo Undoubtedly it'll keep failing in future version of Django until there's a new release of waffle.

Closing as a duplicate of #223—please reopen if there are still issues!


x86 Mac with Apple Clang 14 and cmake v3.21.0 build failed

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)
3. What did you see instead (Required)
Target "cmTC_25dd8" requires the language dialect "CXX23" (with compiler  extensions), but CMake does not know the compile flags to use to enable it.

4. What is your TiFlash version? (Required)

close by #9164


Add pie/doughnut chart to NMR widget list

Please do not merge this until the widget is released to the marketplace. I will respond here when this is done. I would add a label unfortunately I don't have the permissions to do this.


[Bug] Connected to the live room and no data was received after that

In: tiktokLiveConnection.on('connected', state => {...
User is live and "console.log(state)" prints in " tiktokLiveConnection.on('connected', state => {...":
{
isConnected: true,
upgradedToWebsocket: true,
roomId: '7349550387122588448',
roomInfo: { prompts: '' },
availableGifts: undefined
}
Any idea?
Thanks

User (example): kingsleague

Now it's happening again...

Now it's happening again... user (example): queensleague

Now it's happening again... doesn't anybody have this problem?

You using the newest version? 1.1.5

Hi! I'm using 1.1.4 (the newest). It also happened randomly in previous versions

Hi! I'm using 1.1.4 (the newest). It also happened randomly in previous versions (only with some users)

try with version 1.1.5

Where is 1.1.5? The last one I can see is: 1.1.4 (https://github.com/zerodytrash/TikTok-Live-Connector/releases/)
Thanks!

Thanks. I'll try it!

It happens to me again. Version: 1.1.5

I'm in version 1.1.5 and sometimes got the same issue...

I really don't want it happens

am getting the same issue


Upload tests timeout with caddy server

Hello.
I was trying to use caddy as reverse proxy in front of OST. The download tests work fine, but uploads behave weirdly.

It seems, that the first few packages are sent from browser to server, and the rest of transmission is not taken into account. Or fails. Or timeouts. I don't even know anymore. As graph shows overall average, there are 5-6 spikes at the beginning when xhr-connections are initiated, and then it approaches 0 as more 0-speed measurements are taken.
I have tried every trick I could find online:

setting reverse_proxy > transport > compression off
limiting connections to HTTP 1.1

via reverse_proxy > transport > versions 1.1
via tls > alpn http/1.1

increasing buffer size

via reverse_proxy > max_buffer_size 100MiB
via request_body > max_size 100MiB
via reverse_proxy > transport > max_response_header 100MiB (just to be sure)

forcing buffering with reverse_proxy > buffer_requests and/or reverse_proxy > buffer_responses
disabling buffering with reverse_proxy > flush_interval -1
increasing timeouts with  reverse_proxy > transport > dial_timeout 10m

I've tried all of the above in different combinations, and yet, upload won't work.
I know this is caddy-specific issue, but in another issue you've mentioned that you're interested in making caddy work with OST. The configs at #44 didn't work for me, and the author there didn't confirm them to work either.
I have also tried to serve files directly via caddy's built-in file_server, and I tried to mimic the Nginx's configs taken from here, to no avail either. Exact same results.
Interestingly, when I proxied OST via caddy-l4 instance, without terminating TLS, everything worked fine.
I hope you will have a better luck configuring caddy. If you know anything else I can try, please let me know.

@Mikle-Bond
Delete everything and try
         reverse_proxy http://localhost:3000 {
         buffer_requests
         buffer_responses
        }

         reverse_proxy http://localhost:3000 {
         buffer_requests
         buffer_responses
         flush_interval -1
         max_buffer_size 35MiB
        }

Adding flush_interval may help reduce memory usage.
max_buffer_size I didn't see a difference when tested with and without max buffer. Still, I think it's better to specify a number.

Tested 10GbE with Caddy -> https://www.youtube.com/watch?v=0pD8fen2nNg
It was also tested with SSL on a Public Cloud.
I think it's working fine.

@openspeedtest out of curiosity, did you check HTTP/3 ?

@bt90 Yes https://github.com/openspeedtest/Speed-Test/issues/52#issuecomment-1404451368
It was tested using Caddy.
HTTP2 & 3 have Not yet been added to the Docker image.
I need to run more tests.
HTTP3 Nginx still in beta?.

Caddy enables HTTP/3 by default. That's why i'm asking. Note that you need an explicit binding for 443/udp if you're using their docker container.
As for nginx, it's still in development.

Oh, I Installed it without using Docker https://caddyserver.com/docs/install#debian-ubuntu-raspbian

That should work. Is a firewall involved?

@bt90
No, It was a Direct connection between M1 MacMini and My VMware ESXi Server.
Tested on a Public Cloud, and HTTP3 using Caddy worked fine.

Are you sure? I don't think that their HTTP/3 implementation is able to saturate a 10G link (yet).
https://github.com/quic-go/quic-go/issues/3670

@bt90 I thought you asked about HTTP3 handshake https://youtu.be/_QQX0Ezpq8U?t=1235 over firewall.
I tested Caddy with Internal TSL on localhost., it is not touching 10Gbps.
with TSL - H3 7000+ Download and 980+ Upload
without TSL H 1.1 9400+ Download and 9400+ Upload
I think this was because of the consumer-grade hardware. I used.
I tested NPM & Traefik Proxy on the same device using HTTP1/2 last year using TSL.
Found similar performance degradation when using behind a reverse proxy.
Ether this is because of the hardware I used or reverse proxy limitation by Design.

To people who end up here because of unrealistic upload speeds.
Instead of
         reverse_proxy http://localhost:3000 {
         buffer_requests
         buffer_responses
         flush_interval -1
         max_buffer_size 35MiB
        }

use this
         reverse_proxy http://localhost:3000 {
         request_buffers 35MiB
         response_buffers 35MiB
         flush_interval -1
        }

It seems "buffer_requests", "buffer_responses" and "max_buffer_size" are deprecated.