Add Support for elliptic curve discrete logarithm post-processing

I believe it is already basically included, since the two register mosca-ekert version can be used for it (not 100% sure), but it is likely another reference and good to document which method to use.
https://arxiv.org/pdf/quant-ph/0301141 (Appendix A likely most important for you)

So Quaspy is basically agnostic to which group you use: It does not actually simulate the quantum circuit for the arithmetic. Rather it simulates the high-level quantum algorithms — and the only thing that matters then is what the order of the group is, what the logarithm is, how parameters are selected, etc. So support for what you ask for is already included.
Quaspy gives you the choice of using a concrete group for the arithmetic, or a simulated cyclic group. There is support built-in for short Weierstrass curves defined over prime fields. There is already an example included for elliptic curve discrete logarithms, that uses the analysis and post-processing in [E19p]. It is accessible from the examples directory.

As soon as I had asked the question, I found the example :P. I must say this package is incredible, is there anyway I can cite this piece of software (with an official DOI, else I will just link to your repository)? This has saved me a lot of head scratches for my implementation of ECDLP solving. Perhaps Zenodo or something similar?
Also, got a better understanding for the post-processing thanks to this library, honestly thank you for creating a good reference.

Thank you for your positive feedback. I am glad that you found Quaspy useful. I have not (yet) created a DOI for this repository. Perhaps I should do so, but for now, you can link to it by its URL here on GitHub. Feel free to also cite the relevant papers, and also to write me an e-mail if you are doing work related to Quaspy that you wish to share.
I will close the issue with this reply, since it has now been resolved.


Prepend package path to AMENT_PREFIX_PATH

Signed-off-by: Chen Bainian<EMAIL_ADDRESS>
Bug fix
Fixed bug
#59

Fix applied

Fixed applied described in https://github.com/ros-infrastructure/rosdep/issues/724#issuecomment-643015997.
Please let me know your thoughts on this, if this is ok, I can submit the fix to the remaining 3 repos.

Hi, Bainian, thanks for bringing this to our attention!
It's unfortunate that these extra steps are necessary for plain cmake packages to be recognized by rosdep, but until plain cmake packages have better support, I suppose we'll have to add these items to the build script.
Thanks for the contribution, and it would be great if you have time to add it to the other repos!

@mxgrey  Thanks for review!

Thanks for the contribution, and it would be great if you have time to add it to the other repos!

I will submit the fix to the other repos.
I am not familiar with the history policy here. Do you want me to do a rebase? Or it is ok as it is?

No need to do anything for the history. We use squash merging, which takes care of rebasing :+1:


animations rework

par 1 (as I see it) of different handling of animations (relying on ngAnimate fully)
as discussed in https://github.com/zurb/foundation-apps/issues/313#issuecomment-67163343, this one tackles states only

removed the animation
augmented uiState directive
tweaked the state augmentation with animations property

@stryju I'm gonna go ahead and pull this locally and try to do some work on it. I'm not sure how I can work on this collaboratively since this is off your repo but I'll give it a shot.
Just some notes and todos:

[ ] absolute positioning of parents
[ ] backface visibility in animation
[ ] testing on various browsers
[ ] move absolute positioning to utilities (this is my fault, I've no idea why i didn't move it)

well, since it's OS, just branch of my branch? :D

That's what I'll do! :) I've no idea if I'll have to open up a PR for it on your project or what. This stuff is pretty confusing.
I guess we'll deal with that as we go.

:+1:

Closing in favor of #386.


consistency: read_buffering for read but sync for write

While helping on this question: https://www.reddit.com/r/crystal_programming/comments/fxbkly/help_interacting_with_a_serial_port/
I noticed that read/write buffering controls are inconsistent:
io.read_buffering = false # disable buffering for read
io.sync = true            # disable buffering for write

I think it would be better to have:
io.read_buffering = false  # disable buffering for read
io.write_buffering = false # disable buffering for write
io.sync = true # disable buffering for read and write

Crystal version: 0.34.0

I would just remove sync and keep the longer names.


docs: fix references for the JOSS paper

I could not find DOIs for three papers:

ModelingToolkit: A Composable Graph Transformation System For Equation-Based Modeling
On the stability of inverse problems by A. N. Tikhonov
Lectures on elementary mathematics, by Joseph Louis Lagrange; tr. by Thomas J. McCormack

Rest of them have been fixed.

ModelingToolkit: A Composable Graph Transformation System For Equation-Based Modeling is just on arxiv

Ok, I am not familiar with the system, papers in arxiv don't assign DOI?

Arxiv has a DOI on the website, for example that one is https://doi.org/10.48550/arXiv.2103.05244

Ok, I have added the DOI for the MTK paper.

The other two don't have DOIs.


Publish multi-arch images

I'm trying to migrate from ferdi-server. Ferdi-server published multi-arch images that included linux/amd64 and linux/arm64. The ferdium-server images only contain linux/amd64 so I'm unable to run the image on my ARM arch hardware.
Any chance you could start publishing multi-arch images that support ARM, like Ferdi did?

Sounds like something we should do. Don't have a timeline on it, but it's coming in the future.

Thanks for the quick response @cino. Would the team be open to a contribution from me on this? I have experience setting this up and it looks like things are already really well setup in the existing docker GitHub Actions workflow.
https://github.com/ferdium/ferdium-server/blob/main/.github/workflows/docker.yml

@cino I took a closer look at the workflow and saw that this is probably as simple as a configuration change. I went ahead and made a PR. I'll move the rest of my thoughts to the convo over there.

follow on this issue - want to know when arms linux server can work with ferdium-server. thanks


Ability to remove X-Forwarded-* headers

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
Hello Traefik Team,
I'm opening this feature request to address a situation with the handling of X-Forwarded-* headers in Traefik. Currently, these headers are added after the middlewares have been processed, which makes it impossible for custom middlewares (plugins) to remove or alter these headers. While I understand that these headers are vital for proper functioning of many architectures, giving the users an option to control these headers can provide additional flexibility and can be crucial in certain scenarios.
Use Cases:

In some scenarios, we might want to fully control the headers passed on to the downstream services, and these automatic headers may conflict with the control.

It might be a security concern for some users. While X-Forwarded-* headers are generally harmless and useful, there might be cases where users don't want to expose certain information about the request's path.

It provides more flexibility in terms of header management, which could be useful in complex architectures and during debugging.

Proposed Solution:
Introduce a configuration option that enables users to choose whether to include these headers or not. This option can be true by default to maintain the current behavior, which is adding these headers.
Please note that this feature request is not about disabling these headers completely, but about giving users a choice. If a user doesn't specify anything, the default behavior should remain intact, that is, the headers should be added as they are now.
P.S. ChatGPT wrote this, did way better job than I would be able to. :pray:

Hello,
there is existing option to handle this header: https://doc.traefik.io/traefik/routing/entrypoints/#forwarded-headers

Hey @erkexzcx!
Thanks for your suggestion.
We are interested in this issue but are unsure about the use case and the traction it will receive, so we are going to leave the status as "kind/proposal" to give the community time to let us know that they would like this.

I don't believe this is resolved yet. in #10132 only X-Forwarded-For is fixed, but the other X-Forwarded-* headers (like X-Forwarded-Host) are still not removable..?

Hello @bartlaarhoven,
Thanks for your feedback.
We tested the removal of other X-Forwarded-* headers and could not reproduce the problem you are describing.
Can you please open a new issue and share a minimal reproducible case with us?

Hello @bartlaarhoven,
Thanks for your feedback. We tested the removal of other X-Forwarded-* headers and could not reproduce the problem you are describing. Can you please open a new issue and share a minimal reproducible case with us?

I believe my reproducible case was documented in https://community.traefik.io/t/can-not-remove-x-forwarded-headers-anymore/19474?
I don't have a Kubernetes cluster available right now with Traefik v3; because of this issue I'm still on v2 so I can't create a reproducible case easily.

Hello @bartlaarhoven,
Can you please open a dedicated issue for v3?


Unity and WebGL compatible

Hi.
Just wondering if anyone has had any luck getting the Unity Package to work on a Unity WebGL build for reading data from a database in streaming assets? Trying to get it working currently and can read the bytes, convert to memory stream and then use this to open the database. I am then able to view collection names but whenever i try and get data out i hit a memory error.

Just ran into the same problem, from the StackTrace it looks like the "BsonMapper_BuildEntityMapper" is calling a CreateGenericGetter method and somewhere there crashes:
exception thrown: RuntimeError: memory access out of bounds,RuntimeError: memory access out of bounds
    at __ZN16VirtFuncInvoker0IP6Type_tE6InvokeEjP12Il2CppObject (wasm-function[30944]:18)
    at _LightLambda_MakeRunDelegateCtor_m34176183E3A928A397721E889331C32DF9C556C1 (wasm-function[43248]:1487)
    at dynCall_iii (wasm-function[73889]:16)
    at Object.dynCall_iii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:26549:38)
    at invoke_iii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:17870:31)
    at _LightLambda_GetRunDelegateCtor_m802F474EE5F98CB221B2E24609A743536CFF4517 (wasm-function[43246]:389)
    at _LightLambda_MakeDelegate_m5BF4647527466A602E0339000CBE3382BB98B4C0 (wasm-function[43245]:75)
    at _LightDelegateCreator_CreateDelegate_mAD897B269ED0186D1E2CEA54BFBD550375E072F6 (wasm-function[43243]:76)
    at _LightDelegateCreator_CreateDelegate_m1B6E2A2E3D20D75EB586A04B9F248208272329CC (wasm-function[43242]:7)
    at _Expression_1_Compile_m5F2BD4EE3DA1F051DDD2D1CF6B3467390FE06A39_gshared (wasm-function[65389]:68)
    at _Expression_1_Compile_m32BD954CB112E9E0054156346964AB1E410377CF_gshared (wasm-function[65388]:34)
    at __Z62Expression_1_Compile_m1FB0D36180E1B6DC47F68802D34167D780A5C338P54Expression_1_tB37C50B4E4CE8A441B6834EB04541A9B3D7EFF8DPK10MethodInfo (wasm-function[60469]:5)
    at _Reflection_CreateGenericGetter_mC38804D663E3223CEF6762889203F957811673B8 (wasm-function[72626]:427)
    at dynCall_iiii (wasm-function[73900]:18)
    at Object.dynCall_iiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:26604:39)
    at invoke_iiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:17958:32)
    at _BsonMapper_BuildEntityMapper_m055071F8F04E659DE2B52B5852F47798F4C2F590 (wasm-function[60532]:1104)
    at __ZN16VirtFuncInvoker1IbP12Il2CppObjectE6InvokeEjS1_S1_ (wasm-function[30956]:48)
    at dynCall_iiii (wasm-function[73900]:18)
    at Object.dynCall_iiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:26604:39)
    at invoke_iiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:17958:32)
    at _BsonMapper_GetEntityMapper_m0C474FAF7688D187B4A4C9ECDDBFD316A1729965 (wasm-function[60531]:250)
    at _LiteCollection_1__ctor_m25D52BEE978AA25FB6B787BB512AE456077A5226_gshared (wasm-function[64305]:578)
    at _LiteDatabase_GetCollection_TisRuntimeObject_mD2C4F0C29AC37244D24FAE47715543CF7AFB541A_gshared (wasm-function[59983]:79)
    at __Z122LiteDatabase_GetCollection_TisTreeElem_t579B24F7FB101E94ABCD2E1175E0C3399C797413_m32746F82B701BF9203CD9584A4926A96E750CB19P54LiteDatabase_t86EAC381EB5D0F5A34618932319926C1C0EC5E50P8String_tPK10MethodInfo (wasm-function[58913]:7)
    at dynCall_iiii (wasm-function[73900]:18)
    at Object.dynCall_iiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:26604:39)
    at invoke_iiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:17958:32)
    at _LiteDbTests_ExampleUsage1_m75B4E8F376215CD0E3119246D60C06609E3E24A3 (wasm-function[58919]:307)
    at __Z65RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017PFvvEPK10MethodInfoPvPS4_ (wasm-function[55538]:17)
    at dynCall_iiiii (wasm-function[73908]:20)
    at Object.dynCall_iiiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:26644:40)
    at invoke_iiiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:18022:33)
    at __ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException (wasm-function[51544]:175)
    at __ZN6il2cpp2vmL17InvokeConvertThisEPK10MethodInfoPvPS4_PP15Il2CppException (wasm-function[51562]:46)
    at __ZN6il2cpp2vm7Runtime17InvokeConvertArgsEPK10MethodInfoPvPP12Il2CppObjectiPP15Il2CppException (wasm-function[51561]:632)
    at __ZN6il2cpp2vm7Runtime11InvokeArrayEPK10MethodInfoPvP11Il2CppArrayPP15Il2CppException (wasm-function[51560]:37)
    at __ZN6il2cpp6icalls8mscorlib6System10Reflection10MonoMethod14InternalInvokeEP22Il2CppReflectionMethodP12Il2CppObjectP11Il2CppArrayPS8_ (wasm-function[52712]:357)
    at _MonoCMethod_InternalInvoke_m114B2C342EE10E62D405951BB8F4549D9E54A690 (wasm-function[46958]:9)
    at dynCall_iiiiii (wasm-function[73914]:22)
    at Object.dynCall_iiiiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:26674:41)
    at invoke_iiiiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:18070:34)
    at _MonoMethod_Invoke_mD791F247764DAE0188BA06FD1DA51525E8F2F394 (wasm-function[47017]:211)
    at __ZN16VirtFuncInvoker5IP14PropertyInfo_tiP60PropertyInfoU5BU5D_tAD8E99B12FF99CA4F2EA37B612DE68E112B4CF7EP6Type_tP52TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5FP65ParameterModifierU5BU5D_t63EC46F14F048DC9EF6BF1362E8AEBEA1A05A5EAE6InvokeEjP12Il2CppObjectiS3_S5_S7_S9_ (wasm-function[32140]:56)
    at _MethodBase_Invoke_m471794D56262D9DB5B5A324883030AB16BD39674 (wasm-function[46908]:15)
    at dynCall_iiiii (wasm-function[73908]:20)
    at Object.dynCall_iiiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:26644:40)
    at invoke_iiiii (blob:http://localhost:65257/532ec541-0fd6-42a4-b305-8302f3ffefcb:18022:33)
    at _XunitTestRunner_RunTestOnMethod_m50DA79C9DE437775F551C88420E80681FDF4D0C9 (wasm-function[50344]:66)
    at _U3CU3Ec__DisplayClass2_1_U3CGetIteratorOverAllTestsU3Eb__1_m53D657F42CDD0EAA56CE4F82509FCD7462379005 (wasm-function[50356]:78)

@mbdavid any hints if this is on some sort of roadmap to make LiteDB more compatible with Unity and WebGL builds?

Hi @cs-util, I will take a look on this problem in v5 build.

@mbdavid  I saw you removed the v5 label, is there any news why the AOT platforms like WebGL have currently problems with LiteDB?

Hi @cs-util, I remove because master branch are current v5 version and all updates will be run over master. You still have problems with LiteDB in unity (final v5 version)? If true, please open an bug issue with an example (I'm not Unity programer - so if you create a simple project in unity with your error will be best). I'm very interested in resolve any Unity compatibility problem

@cs-util, sorry, I read "branch" not "label". But my anwser still same: I remove v5 label from all issues because I will identify only v4 because all others must be about v5.

I took a shot at porting LiteDB v5 to Unity, and the mapper getter/setter stuff is probably fixable, but I stopped working on it because it seems that in v5, nearly every query runs through C#'s compiled lambda expression code, which will never work with IL2CPP.
If you're interested in using LiteDB under Unity, take a look at the branch of LiteDB v4 that I'm working on. I'm gradually working v5 features into it, and is intended for use in Unity so I'm only adding things that can work in AoT environments.
https://github.com/rejemy/UltraLiteDB

@rejemy I just add in README a link for UltraLiteDB, thanks for this version!

CPP。
如果您对在 Unity 下使用 LiteDB 感兴趣，请查看我正在开发的 LiteDB v4 分支。我正在逐渐将 v5 功能加入其中，并且打算在 Unity 中使用，所以我只添加了可以在 AoT 环境中工作的东西。
https://github.com/rejemy/UltraLiteDB
Hello,

We're seeing the LiteDB  same exception in our mobile app (both iOS and Android) using the latest version (4.2.0):
LuaException: c# exception:System.InvalidCastException: Specified cast is not valid.
at (wrapper castclass) System.Object.__castclass_with_cache(object,intptr,intptr)
at UltraLiteDB.PageService.GetPage[T] (System.UInt32 pageID) [0x0005a] in <95098536942a47358422eb3173b6b3d5>:0
at UltraLiteDB.CollectionService.Get (System.String name) [0x00013] in <95098536942a47358422eb3173b6b3d5>:0
at UltraLiteDB.UltraLiteEngine.GetCollectionPage (System.String name, System.Boolean addIfNotExits) [0x00005] in <95098536942a47358422eb3173b6b3d5>:0
at UltraLiteDB.UltraLiteEngine.Transaction[T] (System.String collection, System.Boolean addIfNotExists, System.Func2[T,TResult] action) [0x0004d] in <95098536942a47358422eb3173b6b3d5>:0    at UltraLiteDB.UltraLiteEngine.Insert (System.String collection, System.Collections.Generic.IEnumerable1[T] docs, UltraLiteDB.BsonAutoId autoId) [0x00041] in <95098536942a47358422eb3173b6b3d5>:0
at UltraLiteDB.UltraLiteCollection1[T].Insert (System.Collections.Generic.IEnumerable1[T] docs) [0x00026] in <95098536942a47358422eb3173b6b3d5>:0

@IceFrogx Based on your stack trace it looks like you're using UltraLiteDB, so you might want to report that error over on the UltraLiteDB page (https://github.com/rejemy/UltraLiteDB), since it's not an official LiteDB port and is not supported here. It looks like some kind of corrupted DB (loaded the wrong page type), but without some kind of repro steps or attached database file, I don't know if there's much I can figure out about it.

@IceFrogx根据您的堆栈跟踪，您似乎正在使用 UltraLiteDB，因此您可能希望在 UltraLiteDB 页面 ( https://github.com/rejemy/UltraLiteDB )上报告该错误，因为它不是官方的 LiteDB 端口并且这里不支持。它看起来像是某种损坏的数据库（加载了错误的页面类型），但没有某种重现步骤或附加的数据库文件，我不知道我是否可以弄清楚它。

thank. I use the BsonDocument of UltraLiteDB as a generic.

Hi everyone! So, I tried to use the latest version of LiteDB (in its source form) with Unity, and I got it working and querying just fine in a Windows Desktop IL2CPP build. Had to apply the link.xml hint from this thread: https://forum.unity.com/threads/are-c-expression-trees-or-ilgenerator-allowed-on-ios.489498/page-2 to make the linker add the required assembly to the build, but that's about it... Unity seems to be actively improving in supporting the required features.
I can't check what is it about iOS, but this asset was referred to in the same thread, and it was said that it allows to compile the expressions for AOT.
What do you think about all this? Is this some new info that validates the usage of the latest LiteDB version within Unity? Or am I missing something?

I used this link.xml https://gist.github.com/TigerHix/f270f2dc48222d17419bd46651926679 with the 5.0.11 and can confirm this version is working with unity 2020.3.33 LTS. I just copied the .dll from releases into my project along with the link.xml and everything is working.


Local serialization performance tweaks

I wonder what if add some method has_changed() to lif_object. The method should check actual date of last change of the object (and compare it to given param). This method can be called then in get_files_local loop - unchanged objects will be just skipped without reserializing.
This would make page switching faster and also might help #280 (folder view)

I don't know if all objects has easily accessible changed date and time in particular.

dont think all objects have changed date and time
I think we should try to do a performance trace, to see where most of the time is spent, that way we can decide where to focus

Optimizing most common ones would work well as well, I guess. I'm a bit worried about CLAS - it has many components to check.
Performance: well, here is one. I think it's quite representative :) (top lines are page global methods so I scrolled them down)

perhaps we should make a small test program that just calls the serialization, so eg. the time of HTTP_READ_SC is not included.
But as far as I remember, the most of the time is typically spent in READ REPORT functions inside the CLAS serialization. So perhaps we can just build a buffering mechanism inside the CLAS and PROG classes?

I think I can implement some caching for basic dictionary object and prog, maybe clas too. fugr maybe ... seems like it takes a lot of time in my case. It will be in a separate branch so we can check how it works then.
small test program can be useful for some tests. But I think it is quite clear from the log that lcl_objects=>serialize takes a lot. 45% of execution. http takes 33%. Well, for smaller programs it will be opposite I guess. Serialization has linear growth. HTTP has high initial bias.
Here is the log for abapGit serialization

Draft. Needs some critical review ...
Also I've found that it is not actually repo->get_files_local which delays page switching but file_status->status. So will think on it too.
P.S. imho. refresh refreshes only remote part and "requests" local update on next get_files_local call via super->refresh. That was really confusing logic for me. Although it is unified for on and off line repos this took some time to understand. Maybe it worth calling local serialization directly in online refresh for clarity.

added status results cache - no unnesessary re-status each page switch. I hope I didn't break anything :)

we need to take care it works with time zones, wondering what time zone the date and time stored in dd04l uses

good point. get time stamp produces UTC. dd04l seems to keep local time. However cl_abap_tstmp=>systemtstmp_syst2utc converts it to UTC also. So at the end the comparison is correct. At least it seems so.

Test prog (yeap that was a good idea indeed)
https://github.com/sbcgua/ZGITHUB_TEST/blob/master/zabapgit_perf_test.prog.abap
Current stats

test order was wring - here is more proper result

For basic objects:
get_files_local()                      5,665213
get_files_local() cached               4,487249

DOMA  24
DTEL 110
ENQU   1
SHLP  11
TTYP  26
TABL  44 ??? (probably bug, it is 14)
VIEW   4

get_files_local()                      5,575876
get_files_local() cached               1,803491

Not completely confident in PROG and FUGR checks though.

get_files_local()                      5,232372
get_files_local() cached               1,721740

PROG  72
FUGR  21
CLAS  33

For CLAS also not too confident.

any thoughts on the non-PROG objects in a CLAS? eg. it also contains a textpool

texts ... I'm not sure about the table. Is it REPOTEXT ? Looks like the one.

READ TEXTPOOL, https://github.com/larshp/abapGit/blob/master/src/zabapgit_object_clas.prog.abap#L578
I think it is not easily accessible via a database table

Well, seems like it is REPOTEXT :) Time and content is changed there when texts are updated and SQL trace also suggest some inserts. So I guess I'll add this table check

So ... shell I PR this ? I'd add a couple of more objects ... but maybe later - these are the most frequent and long to serialize.

yea, please do, small PRs are good

some of the DDIC object XML files include information for other DDIC objects, I've tried clearing some extra fields, see todays commits

@sbcgua can we close this one?

I think yes. Most heavy types are cached. There is still that text issue to fix and to stabilize what is done. If required a new ticket can be opened.

closing, text issue = https://github.com/larshp/abapGit/issues/404


Expected NULL SHA-256 for pep-514?

Installing 'python' (3.8.3) [64bit]
Downloading https://www.python.org/ftp/python/3.8.3/python-3.8.3-amd64.exe (26.5 MB)...
Checking hash of python-3.8.3-amd64.exe ... ok.
Downloading https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/install-pep-514.reg (555 B)...
Checking hash of install-pep-514.reg ... ok.
Downloading https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/uninstall-pep-514.reg (86 B)...
Checking hash of uninstall-pep-514.reg ... ERROR Hash check failed!
App:         main/python
URL:         https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/uninstall-pep-514.reg
First bytes: 57 69 6E 64 6F 77 73 20
Expected:    e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Actual:      d9309423b693ed63aea6b1fbfc0c34f16842cdca22a1b3edef283b87567a53b9
Please try again or create a new issue by using the following link and paste your console output:
https:////
Command exited with code 1

Btw. e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 is SHA-256 of an empty string, so is it really expected?
Build which fails with this error: 32881103 which is basically doing scoop install ruby python.

Fixed with https://github.com/ScoopInstaller/Main/commit/fd21c0fd9e985211019428e0ca92679ed4f9e257


Add: robot_return_to_origin

Codecov Report

Merging #134 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #134   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          57     58    +1
  Lines         653    666   +13
=====================================
+ Hits          653    666   +13

Impacted Files
Coverage Δ

...s/robot-return-to-origin/robot_return_to_origin.go
100% <100%> (ø)

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 351e23c...10a05a4. Read the comment docs.


Android. Namespace not specified

When synchronizing a project with gradle files, an error occurs in your plugin:
A problem occurred configuring project ':gt4_flutter_plugin'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

flutter 3.24.4

Find gt4_flutter_plugin-0.1.1 in Flutter Plugins in External Libraries, click build.gradle in the android directory, add namespace "com.geetest.captcha.flutter.gt4_flutter_plugin" in android{}, and delete package="com.geetest.captcha.flutter.gt4_flutter_plugin" in AndroidManifest.


Export deleted transactions to desktop

Hi!
I've recently started using the mobile Gnucash companion.
I see that all new transactions can be exported to GoogleDrive and the imported on the desktop.
However, I've noticed that if I delete transactions on the mobile app, the actions cannot be exported (included in the qif files) to be later imported in the desktop application. Which means that I cannot sync my "delete" actions with the desktop app, only new entries.
Is there a way to change this?

No, sorry. You cannot sync delete actions. You can only export newly
created transactions.
On Sep 21, 2015 01:47, "andrewculda"<EMAIL_ADDRESS>wrote:

Hi!
I've recently started using the mobile Gnucash companion.
I see that all new transactions can be exported to GoogleDrive and the
imported on the desktop.
However, I've noticed that if I delete transactions on the mobile app, the
actions cannot be exported (included in the qif files) to be later imported
in the desktop application. Which means that I cannot sync my "delete"
actions with the desktop app, only new entries.
Is there a way to change this?
—
Reply to this email directly or view it on GitHub
https://github.com/codinguser/gnucash-android/issues/387.


How to use modeselect cluster (CON-839)

Describe the question/query that you have
How to use the supported_mode attribute in modeselect cluster, when I created the modeselect cluster using mode_select::create, In the source code we will use attribute::create_supported_modes(cluster, NULL, 0, 0); Create the supported_mode attribute, but it does not fill in the actual parameters, I want to know what the parameters should be filled in, I can not use the chip-tool tool to read the relevant information of the supported_mode attribute when I fill in an integer array.
Additional context
...

@KEEPHEADU We have documented the usage of mode select cluster for the supported_modes attribute. Please take a look at https://docs.espressif.com/projects/esp-matter/en/latest/esp32/developing.html#mode-select

@KEEPHEADU We have documented the usage of mode select cluster for the supported_modes attribute. Please take a look at https://docs.espressif.com/projects/esp-matter/en/latest/esp32/developing.html#mode-select

thanks for your reply，I will close this issue


visual studio git

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

VS Code Version: 1.74.1
OS Version: Win x64 11 10.0.22621
Steps to Reproduce:

Install Visual Studio with Git
Clone repo from GitHub/gitlab using clone button

Observed:
Asks to download Git
Expected:
Using Visual Studio Git bundle

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

@SergMariaDB, could you please elaborate on what you mean by "Visual Studio with Git"?
Also have you installed Git for Windows on the machine? It seems that you might not have Git for Windows installed.

Hi @lszomoru,
Visual Studio installer has the "Git for Windows" optional in bundle.
If skip its installation, the Visual Studio has additional fully functional git located at "$ENV{ProgramFiles}/Microsoft Visual Studio///Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/Git/cmd/".
Probably, VSCode should be aware of it and use it when no Git for Windows installed.

@SergMariaDB, VS Code would use a git installation that can be found on the PATH. Are you able to use the git.exe from that location from a Terminal window? If there is indeed a fully functional git in that location I would follow up with the Visual Studio team to understand why it is not being added to the PATH.

git in that location I would follow up with the Visual Studio team to understand why it is not being added to the PATH.

It should not be added to path to exclude undesired interference with "Git for Windows" installation.
Anyway, its not about workarounds.
Its about VSCode support of Visual Studio Git.

@SergMariaDB, please use the git.path setting to enable VS Code to use any git installation.

ok, it doesn't work somewhy

Could you share the contents of the git output window? That should contain the information of where git.exe is.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


print null if the passed array was actually nullptr

Fixes #815

CI gfxreconstruct build queued with queue ID 2544.

CI gfxreconstruct build # 1966 running.

CI gfxreconstruct build # 1966 passed.


Branch edit class command tests

Codecov Report

Merging #253 (d04fe46) into master (55ec730) will increase coverage by 2.47%.
The diff coverage is 85.71%.

@@             Coverage Diff              @@
##             master     #253      +/-   ##
============================================
+ Coverage     59.68%   62.16%   +2.47%
- Complexity      676      699      +23
============================================
  Files           129      129
  Lines          2587     2590       +3
  Branches        308      310       +2
============================================
+ Hits           1544     1610      +66
+ Misses          956      893      -63
  Partials         87       87

Impacted Files
Coverage Δ

.../logic/commands/classcommands/AddClassCommand.java
0.00% <0.00%> (ø)

...commands/classcommands/RemoveFromClassCommand.java
0.00% <0.00%> (ø)

...logic/commands/classcommands/EditClassCommand.java
95.31% <90.90%> (+28.09%)
:arrow_up:

...ogic/commands/classcommands/AddToClassCommand.java
86.27% <100.00%> (ø)

...er/classcommandparsers/EditClassCommandParser.java
100.00% <100.00%> (+100.00%)
:arrow_up:

...du/address/model/tuitionclass/UniqueClassList.java
82.75% <100.00%> (+3.44%)
:arrow_up:

...itionclass/exceptions/DuplicateClassException.java
100.00% <100.00%> (ø)

...ionclass/exceptions/OverlappingClassException.java
100.00% <100.00%> (ø)

.../seedu/address/model/tuitionclass/ClassTiming.java
93.24% <0.00%> (+2.70%)
:arrow_up:

... and 7 more

Continue to review full report at Codecov.

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


This feature is implemented using reflection

device: OnePlus ONEPLUS A6010, API 29

method: carbon.widget.EditText.setCursorColor(...)
cause: java.lang.NoSuchFieldException: No field mCursorDrawable in class Landroid/widget/Editor; (declaration of 'android.widget.Editor' appears in /system/framework/framework.jar!classes3.dex) at getDeclaredField(Class.java:-2)

This method was removed from Carbon a long time ago. You seem to be using the version that is still available on Maven. I recommend just building the master branch of this repository either manually or with JitPack - it's stable and contains plenty of fixes.

Duplicate of #424


As a vendor I want to add a task by specifying task description only

@Kang-Quan @dreammac3816547290 If got any issue with TaskStorage please ping me.


Failed to create folder Operation failed

Just after the pre-checks, the installer throws the following error:
ERROR :Failed to create folder Operation failed 'NoneType' object has no attribute 'vmFolder' AVI configuration failed {'responseType': 'ERROR', 'msg': "Failed to create resource pool and folder Failed to create folder Operation failed 'NoneType' object has no attribute 'vmFolder'", 'STATUS_CODE': 500}

No other info available.

you should enable VMWare DRS on your cluster to be able to create ressoure pool in the vcenter


Re-Console modpack, Moderner Beta mod fork does not properly generate TU31+ biomes when using 1.12.2/1.17.1 toggles

Feedback channel for the Re-Console modpack directs issues to be reported here, but this is mainly to do with the fork of the Modern Beta mod used for the Re-Console modpack, which does not have a way to report bugs. (If you know where I should report this issue, please let me know and I can close this and move it to the proper reporting spot).
The 1.12.2 and 1.17.1 experimental toggles used to generate TU31+ terrain in the re-console modpack has several issues, the temperature zones are all over the place. Hills do not scale properly with the biome size option that can be configured
The biome map on the right comes from using Moderner Beta 1.12.2/1.17.1 and changing biome size from 4 to 2. The biome map left comes from a modded 1.17.1 client where I changed a single line of code to make a numerical value scalable & added a special zoom layer to replicate Mutated biomes from pre 1.12.2 to match LCE (Mutated/Modified biomes use a 0 seed & 0 salt to generate).
TU31 on Legacy Console does not scale biomes between Biome 1:256 and Hills 1:64, but is configurable after TU54.

How the game should generate biomes:

From the Re-Console modpack using Modern Beta:

How it generates on Legacy Console Edition:

Re-Console has a page for issues actually. https://github.com/ViolaFlower/Re-Console/issues
But this is not a proper "issue". You cant expect there to be 100% parity for LCE considering Moderner Beta doesnt go for LCE, rather beta-early release minecraft


[Feature Request] Biome Condition

additional condition for recipe

Yes, this 100%

+1!  This is a feature I'd love to see for a modpack that I'm working on!


Link 404 in readme

in https://github.com/sencha/extjs-reactor/blob/master/packages/reactor-rest-example/README.md
signing up for a trial of ExtReact. is a 404

Thanks for the report, I have submitted a fix with #240.


Create surroundedbydata.netlify.app.json

Hi @veerlevanson !
Thank you for submitting your blog to our list.
Could you please remove all the strings of //required in the json file, they are not intended to remain in the file.
thanks!
--Mo

Thank you for exposing an error in our magic link for file creation. We have now made sure it is pointing to the right spot!

Thank you for adding your blog to the list and for making free and open R content 😊 🥳 🎉


Minimap region color is hard to see

Godot 3.2 ccf294b92f02af6e60206e220dcf4a8474f73f0a
Maybe that's related to my syntax theme, but I can hardly see it:

It uses the color of the current line, but I believe it should have its own?

It would make sense to reuse a translucent variant of the accent color, so that it can be visible even if the user uses a syntax theme where the current line color is barely visible:
// Accent color with 40% opacity
Color selection_color = get_color("accent_color", "Editor") * Color(1, 1, 1, 0.4);


hasModifier("...") only evaluates true when "Modifier"

In 6.x, modifiers were extensions of Modifier, so having the stream -> anyMatch -> getClass -> simpleName worked; now in 7.x that Modifier Type is an enum, this same logic causes the getClass -> getSimpleName to evaluate to just Modifier.
No obligation to merge this / keep the tests / keep the implementation, etc., as they're just included to show what I mean.
As a sidenote, it may be better to either replace hasModifier with a typesafe implementation (hasModifier(Collection<J.Modifier>, J.Modifier), or just... removing it? As in, having to pass an actual J.Modifier.Type.{Private,Public,etc.}, etc., since in most other cases where we're checking Kind, Type, etc., we don't use hasModifier("string")-- we use getKind() == ThingToCheck -- such as here in spring-rewrite https://github.com/openrewrite/rewrite-spring/blob/92a023ee9ceabea911036bbc61134c40f35ca264/src/main/java/org/openrewrite/java/spring/BeanMethodsNotPublic.java#L50 where we're using getType

I agree with using a type-safe version or possibly removing the method outright

Instead of removing outright, swapped this to accept a Modifier.Type for convenience. Added some (albeit not especially amazing) unit tests on locations in J we call hasModifier


error: can't start new thread

During the training of the model, I frequently encounter the error error: can't start new thread which occurs after  <stderr>:BlockingIOError: [Errno 11] Resource temporarily unavailable. I also notice that the CPU usage is incredibly high during the training process.
I am currently following what zoe did in #32, changing the n_workers to 0, however this drastically increases the training time, is there any workaround for this problem?
Here is a more complete error output:
[1,3]<stderr>:Traceback (most recent call last):
[1,3]<stderr>:  File "src/tasks/run_video_retrieval.py", line 829, in <module>
[1,3]<stderr>:  File "src/tasks/run_video_retrieval.py", line 509, in start_training
[1,3]<stderr>:    model_saver.save(step=global_step, model=model)
[1,3]<stderr>:  File "/opt/conda/lib/python3.6/site-packages/torch/autograd/grad_mode.py", line 15, in decorate_context
[1,3]<stderr>:    return func(*args, **kwargs)
[1,3]<stderr>:  File "src/tasks/run_video_retrieval.py", line 238, in validate
[1,3]<stderr>:    for val_step, batch in enumerate(val_loader):
[1,3]<stderr>:  File "/clipbert/src/datasets/dataloader.py", line 97, in __iter__
[1,3]<stderr>:    loader_it = iter(self.loader)
[1,3]<stderr>:  File "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 279, in __iter__
[1,3]<stderr>:    return _MultiProcessingDataLoaderIter(self)
[1,3]<stderr>:  File "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 719, in __init__
[1,3]<stderr>:    w.start()
[1,3]<stderr>:  File "/opt/conda/lib/python3.6/multiprocessing/process.py", line 105, in start
[1,3]<stderr>:    self._popen = self._Popen(self)
[1,3]<stderr>:  File "/opt/conda/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
[1,3]<stderr>:    return _default_context.get_context().Process._Popen(process_obj)
[1,3]<stderr>:  File "/opt/conda/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
[1,3]<stderr>:    return Popen(process_obj)
[1,3]<stderr>:  File "/opt/conda/lib/python3.6/multiprocessing/popen_fork.py", line 19, in __init__
[1,3]<stderr>:    self._launch(process_obj)
[1,3]<stderr>:  File "/opt/conda/lib/python3.6/multiprocessing/popen_fork.py", line 66, in _launch
[1,3]<stderr>:    self.pid = os.fork()
[1,3]<stderr>:BlockingIOError: [Errno 11] Resource temporarily unavailable
[1,1]<stderr>:Traceback (most recent call last):
[1,1]<stderr>:  File "src/tasks/run_video_retrieval.py", line 829, in <module>
[1,1]<stderr>:  File "src/tasks/run_video_retrieval.py", line 509, in start_training
[1,1]<stderr>:    model_saver.save(step=global_step, model=model)
[1,1]<stderr>:  File "/opt/conda/lib/python3.6/site-packages/torch/autograd/grad_mode.py", line 15, in decorate_context
[1,1]<stderr>:    return func(*args, **kwargs)
[1,1]<stderr>:  File "src/tasks/run_video_retrieval.py", line 238, in validate
[1,1]<stderr>:    for val_step, batch in enumerate(val_loader):
[1,1]<stderr>:  File "/clipbert/src/datasets/dataloader.py", line 97, in __iter__
[1,1]<stderr>:    loader_it = iter(self.loader)
[1,1]<stderr>:  File "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 279, in __iter__
[1,1]<stderr>:    return _MultiProcessingDataLoaderIter(self)
[1,1]<stderr>:  File "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 733, in __init__
[1,1]<stderr>:    pin_memory_thread.start()
[1,1]<stderr>:  File "/opt/conda/lib/python3.6/threading.py", line 846, in start
[1,1]<stderr>:    _start_new_thread(self._bootstrap, ())
[1,1]<stderr>:RuntimeError: can't start new thread
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[32362,1],1]
  Exit code:    1

Hi @Tangolin, We did not meet this issue when we develop this code, so not sure how it happens, you can search around to see what could cause BlockingIOError error?

Okay! Also for the high CPU usage, is there any way to lower it?

I see, thanks a lot!

Hi @jayleicn, so sorry for reopening this issue, however I would like to know whether running this script you provided will reduce the overall performance of the model?


Proposal

Hi,
I don't know if it can be useful for you but I want to share with you my work about log4shell:

https://github.com/righettod/log4shell-analysis
https://github.com/righettod/log4shell-payload-grabber

Cheers 😃

@righettod seems like it would fit well under "Examples & Proofs of Concept"
Feel free to drop it in a PR :D

Thank you very much. I proposed the PR #80 😃


Various dev cleanup stuff

Remove all vestigates of pylint
Fix import sorting
Fix unused imports for decksite and enable flake8 checking
This was clearly fixed before but the rule wasn't re-enabled
Remove unused rule suppression
Consistent spacing
Remove old print statement
Go back to checking bad module imports, this time with flake8

Test failure here relates to https://github.com/kevin1024/vcrpy/issues/688


acorn: 0.5.0 -> 0.5.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/acorn-io/acorn/releases.
meta.description for acorn is: A simple application deployment framework for Kubernetes
meta.homepage for acorn is: https://docs.acorn.io
meta.changelog for acorn is: https://github.com/acorn-io/acorn/releases/tag/v0.5.1
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.5.1 with grep in /nix/store/0inqpkqymkg87swijx0qrx3md3ncpq1g-acorn-0.5.1
found 0.5.1 in filename of file in /nix/store/0inqpkqymkg87swijx0qrx3md3ncpq1g-acorn-0.5.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
acorn

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0inqpkqymkg87swijx0qrx3md3ncpq1g-acorn-0.5.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A acorn https://github.com/r-ryantm/nixpkgs/archive/34e001078aa15dde4ca58f10d4b4cb02a90d02b5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0inqpkqymkg87swijx0qrx3md3ncpq1g-acorn-0.5.1
ls -la /nix/store/0inqpkqymkg87swijx0qrx3md3ncpq1g-acorn-0.5.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

acorn

Maintainer pings
cc @urandom2 for testing.

Result of nixpkgs-review pr 214102 run on aarch64-darwin 1

1 package built:

acorn


TST: allow for unknown platforms

Assume that the library filename suffix is ".so" on all platforms not otherwise accounted for. This fixes the tests on FreeBSD, and probably other BSDs.
Fixes #514.

@rgommers Would you like to review this? The fixes are straightforward so I'm going to merge in a couple of days unless you object


SSO support

Hi, is it somehow possible to use SSO instead on username & pwd? Thanks

Sign into Safari Books with your SSO and copy all the cookies to cookies.json file. If you don't provide the --auth option, the program will search/use the cookies stored in that file.
See the format on #2.

here is the cookie i get from university proxy
s_fid=3CD8FE139675B736-1E7433589B0A1B8A; s_v17=%5B%5B%27ENG%27%2C%271536847875593%27%5D%5D; s_nr2=1536847875596-New; MuseProxySessionID=017z3fpmoazevv


Test: download and upload in explorer in web

Refs: https://github.com/microsoft/vscode/issues/83037

[x] any os @eamodio
[ ] any os @connor4312

Complexity: 2

Using the web UI, right click on file(s) from the explorer and verify you can trigger a download and that the contents are OK.
Also verify that you can drag multiple files from your desktop to the web UI. Make sure that they get uploaded properly and that the content is correct. Make sure that you get a confirmation dialog in case of a name clash.
Drag a file onto the desktop and verify it gets downloaded there

Dragging multiple files into the vscode explorer works fine on Windows, although if there name conflicts in the set of files you are dragging, you will get a confirmation dialog for each of them, but there isn't any way to tell which file conflicted so at first I thought the confirmation dialog wasn't working, but in reality it was, I was just cancelling each of the conflicts one by one. We probably should add the file name in that confirmation dialog.

Like @connor4312 above, dragging multiple files to the desktop on Windows doesn't work. Only the first file is downloaded.

Again same as @connor4312, dragging folders in or out on Windows doesn't do anything.

I tried dragging a file into the editor area (like you can on desktop) and expected the file to be opened in a new tab. But nothing happens. If this isn't going to be supported we maybe should disable the drop target.

@connor4312 @eamodio can you maybe coordinate and report a bunch of individual issues? Then we can continue from there. Quick feedback:

multiple file download is nothing we can support currently when using drag and drop, at least I am not aware of a way to do this with Chromes DownloadURL type

I think being able to drop a file into the editor area to open it would be nice, but not sure how to do that because we would almost have to create a temporary file on the remote to open it. Not sure if disabling the drop target is possible either because we still want the DND feedback when dragging from the file explorer inside VSCode.

multiple file download is nothing we can support currently when using drag and drop, at least I am not aware of a way to do this with Chromes DownloadURL type

Erg, yea, that's a pain. It's possible to attach multiple Files to the drag event, but these object must be created with some binary sequence--they don't support streams--so you'd need to have the file contents at hand, loaded into memory, to actually support that. I'm guessing that's why Chrome implemented the non-standard downloadUrl 😛  I'll work with Eric to get some issues opened for the other points.

I think its fine, for multi-download we offer a command in the file explorer context menu that works with multi-select.


Need Automatic way to find more-recent Windows Build Tools

With the change to the ways Visual Studio is deployed, it is no longer possible to find an environment variable that locates the particular edition(s) installed.  This means the VCbind technique can't locate anything more recent than Visual Studio 14.0 (2015).
I want to see if I can get past this blockage with the VS 2019 build tools.   Otherwise, I have to resort to the developer providing an environment variable, as ugly as that will be.

I installed Visual Studio Build Tools 2019 version 16.6.0.
There are still no top-level environment variables to locate Visual Studio or the Visual Studio Build Tools 2019.
However, there is an installed application folder on "All apps" on the Windows 10 start screen.  This folder has a "Developer Command Prompt" command-line console session that locates the installation location of the VS Build Tools 2019 and also sets the environment.
Inside that session, %VC160COMNTOOLS% is set to a location within the VS 2019 Build Tools install on the PC.  And %VCINSTALLDIR% is already set.  Also, %VisualStudioVersion% is already set to 16.0.
This will lead to an error (FAIL4) in VCBind.bat 0.1.9.  However, the "Developer Command Prompt" has not run one of the architecture setups, presumably.  This needs to be checked.  There are some hairy batch scripts that operate with the Developer Command Prompt and we need to cope.

The goal here has to do with relying on minimal tooling for individuals to replicate builds on their own.  The idea is to have a minimal on-ramp that provides enough automation using freely-available or even already-installed tools (such as cmd.exe on Windows).
This is not what hot-shot developers might want to optimize their own efficiency.  It is about novices having guard rails and an on-ramp that lets them start by confirming build replication.
It is also about accountability and transparency and observers being able to confirm a software tool/component that they want to know is dependable and the producer is trustworthy.
Note to self: This needs to be documented with regard to the overall thrust of nfoTools as well as nfoWorks/nfoWare.

The question I have is whether two things need to be done when Visual Build Tools 2019 or later are installed.

The user needs to invoke "Developer Command Prompt" and invoke a build procedure script (some .bat file) that relies on VCbind, in the case of WinDev setups.
VCbind musst be organized to detect that the envronment created via "Developer Command Prompt" has been established.

A difficult aspect of this is having any way to detect that a recent Visual Studio installation (including one of the free Visual Studio Build Tools) is present but "Developer Command Prompt" is not in effect.

These techniques have been worked out in VCrayApp.bat and will be retrofitted to VCbind for historical reasons.


running backups, checkbox not selectable

at ../virtual-server/list_running.cgi you cannot select the running backup. clicking the checkbox opens the backup (instead of checking the box), which makes it impossible to stop running backups.

Could you please provide a screenshot?

This seems to happen only if the destination column wraps, if it is a short destination on one line I can select the checkbox just fine.

the same seems to happen on the scheduled backups page, so maybe it is a general problem with wrapped columns.
this is chrome btw.

Please be kind upgrading to 18.00 - it should fix your issue. This version has a lot of improvements and security issue fixing. Also upgrade Webmin to 1.801.

looks good, thanks!
On Tue, Jun 7, 2016 at 10:38 AM Ilia Rostovtsev<EMAIL_ADDRESS>wrote:

Closed #482 https://github.com/qooob/authentic-theme/issues/482.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/qooob/authentic-theme/issues/482#event-684043337, or mute
the thread
https://github.com/notifications/unsubscribe/AAmB9IgbPSD7xoSHNHKsNwpw8sRxbvbAks5qJS39gaJpZM4IuTvD
.

--


Add support for downgrading violations dynamically

It also includes a commit about removing an unused parameter of the internal function computeSuccesses.
Fixes: #2025
Ref: EC-894

Not too keen on the term "downgrade", also not sure if this works only one way, e.g. could a warning be changed into a failure? I'd rather go with something like override_severity that can have values failure or warning. This should work though...

Hmm. This seems like a more flexible approach. Let me play with it.

Updated to use the severity metadata annotation. I decided to use this instead of override_severity as it's a little bit more succinct but still clearly conveys the message.

I'm too slow, but nice patch.


set metadata on room connect

seems like this was missing and lead to metadata always being undefined when connecting.

great catch!


US: 7-Eleven

Brand : 7-Eleven
Opening rule : shops open with adjusted hours
Wikipedia / Wikidata : https://www.wikidata.org/wiki/Q259340
Opening hours :  05:00 - 24:00
Source :  (https://www.7-eleven.com/coronavirus-safety)

This is integrated, thank you :+1:


Topic param in on_offline_message function has delimiters removed

Environment

VerneMQ Version: 1.92.
OS: Ubuntu 18.04
Erlang/OTP version (if building from source): 20
VerneMQ configuration (vernemq.conf) or the changes from the default
Cluster size/standalone: standalone

Expected behavior

Topic string in the param of on_offline_message function is expected to have / hierarchy delimiter, i.e. if the offline message is published to a topic say a/b/c the topic received inside the function should be a/b/c.

Actual behaviour

If the message is published to topic a/b/c, the topic received inside the function is abc.

It can be reproduced by simply logging the topic param inside the on_offline_message function.

Hi,
The topic passed to the on_offline_message is as expected. For example the topic a/b/c is passed in as [<<"a">>, <<"b">>, <<"c">>] and is specified by the topic() type (https://github.com/vernemq/vernemq_dev/blob/master/src/on_offline_message_hook.erl#L8) defined here https://github.com/vernemq/vernemq_dev/blob/master/include/vernemq_dev.hrl#L12.
Hope this helps.

Ok. Thanks for the help. Will check this.


Add Embrace to vendors list

Adds Embrace to the list of vendors who natively support OpenTelemetry.

IMHO your entry would fit more approriately under integrations, not a vendor (see the vendor page for details). But I'll let the other maintainers comment on this when they back from PTO.
Also note that I've submitted some minor suggested copyedits to your Getting started page: embrace-io/embrace-apple-sdk#3

From the website embrace.io this looks like a vendor providing observability/monitoring capabilities, so I think this is the right spot.


Tests to confirm increasing disputeFee

Description:
Tests to confirm that disputeFee is increasing proportionally
Definition of Done:

https://github.com/zapproject/hardhat-bsc/commit/b764bb14d277b97599152cf022a4e49b9edefa4d
completed


Multiline for InputDialog

in MetroDialogSettings, i did like
 CustomResourceDictionary =                         new ResourceDictionary                         {                             {"TextWrapping", "Wrap"},                             {"AcceptsReturn", "True"}                         }
but not work

@ryuuc The ´InputDialogalready acceptsReturn` as commit and the inner TextBox wraps the Text if it's too long.

thanks


virt-launcher securityContext.Selinux.level is not picked by what is set in project(namespace) scc.mcs

What happened:
On OCP with kubevirt version v1.0.0, the virt-launcher pod assigns new selinuxcontext everytime it starts. This voids the RWO accessMode policy of k8s.
Al thought it seems a security feature, but ti causes the VM to go in to paused state if any other pods mounts the same PVC.
The only way to recover from the paused state is restart the VM or reset the securitylevls that VMI was using. However, this workflow causes disruption to VM.
Please note, RWO accessMode allows multiple pods to access the volume from same node. So kubevirt seem to deviating from this k8s behaviour and causes disruption to itself if another pod launched while the VM is running, and disrupts the other container APP if VM was started while the container App is running.
Why we need other containers to access the VM volumes? well there are many reasons, auditlogs, sidecars, backup/restore etc to name a few.
What you expected to happen:
The virt-launcher pod should set selinuxcontext that is specified for the namespace.
How to reproduce it (as minimally and precisely as possible):
On OCP with Selinux enforced cluster, run the VM.. Stop and start the vm and notice the  .status.selinuxContext
> k get vmi testvm-data  -n inplace -o json | jq .status.selinuxContext
"system_u:object_r:container_file_t:s0:c603,c752"
> v stop testvm-data -n inplace
VM testvm-data was scheduled to stop
> k get vm -n inplace
NAME          AGE   STATUS    READY
testvm-data   38d   Stopped   False
> v start testvm-data -n inplace
VM testvm-data was scheduled to start
> k get vmi testvm-data  -n inplace -o json | jq .status.selinuxContext
"system_u:object_r:container_file_t:s0:c172,c536"

Additional context:
This will reset selinux levels in the mounted volumes. When any other pods mounts the volume, then the security context changes to the default scc.mcs set on the namespace. This causes the VM to go into indefinite paused state.
Environment: OCP 4.12 Running on RHEL8.6

KubeVirt version (use virtctl version): v1.0.0
Kubernetes version (use kubectl version): 1.27.2
VM or VMI specifications: N/A
Cloud provider or hardware configuration: RWO Volumes
OS (e.g. from /etc/os-release):
NAME="Red Hat Enterprise Linux CoreOS"
ID="rhcos"
ID_LIKE="rhel fedora"
VERSION="412.86.202309101149-0"
VERSION_ID="4.12"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux CoreOS 412.86.202309101149-0 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::coreos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://docs.openshift.com/container-platform/4.12/"
BUG_REPORT_URL="https://access.redhat.com/labs/rhir/"
REDHAT_BUGZILLA_PRODUCT="OpenShift Container Platform"
REDHAT_BUGZILLA_PRODUCT_VERSION="4.12"
REDHAT_SUPPORT_PRODUCT="OpenShift Container Platform"
REDHAT_SUPPORT_PRODUCT_VERSION="4.12"
OPENSHIFT_VERSION="4.12"
RHEL_VERSION="8.6"
OSTREE_VERSION="412.86.202309101149-0"
Kernel (e.g. uname -a): 4.18.0-372.71.1.el8_6.x86_64
Install tools: N/A
Others: N/A

k get project inplace -o json | jq .metadata.annotations {   "openshift.io/sa.scc.mcs": "s0:c26,c20",   "openshift.io/sa.scc.supplemental-groups": "1000690000/10000",   "openshift.io/sa.scc.uid-range": "1000690000/10000" }

/cc @xpivarc @jean-edouard  maybe you have an idea what is going on here

Hi @vsundarraj-px !
Assigning random MCS to every new pods is standard k8s (well CRI) behavior.
KubeVirt does not support the OpenShift-specific namespace annotation mentioned above.
Please feel free to open a PR to add support for that annotation.
Considering the important security implications however, I would consider using an explicit flag or feature gate to enable it.
When all the VMIs/pods of a given namespace run under the same MCS, SELinux just stops protecting the resources of those pods from each other, and a VM/container escape gives an attacker full access to the entire namespace.

@jean-edouard are you saying this is protection other pods in the namespace from rogue VM/Container ? Or the other way round? Either ways the current behaviour is neither protecting the pods nor the VM. VM start causes the existing pods to loose access to the Volumes(disruption) and vise-e-versa too Pod start causes existing VMs to indefinite pause. I dont see any protection in play. Unless I'm missing something.
But, for hotplug volumes, we read from the selinuxContext set in the VMI and apply the same.
I'm not very equipped to understand the CRI in depth, but what I notice is, all pods on the same namespace gets the mcs from the namespace assigned selinuxLevels. And a pod from a different namespace has different levels. So essentially protecting cross namespace violation(if such a thing is possible). But how is that virt-launcher is behaving differently than the other native apps?
I tried deployment and job, and both gets selinuxContext from namespaec scc.mcs..
Just wondering is this incomplete here?
https://github.com/kubevirt/kubevirt/blob/main/pkg/virt-controller/services/template.go#L1261

In recent versions, KubeVirt sets SELinux options on virt-launcher only when specific SELinux options are set in the KubeVirt CR (selinuxType or the dockerSELinuxMCSWorkaround feature gate). In all other cases, we do not touch the pods SELinuxOptions and let the CRI do its thing.
We do however, as you noticed, force the same categories as virt-launcher on disk-hotplug pods, to allow communication between the two (if k8s supported dynamically adding containers to pods, the disk-hotplug container would definitely be created under virt-launcher).
I am unfortunately not familiar with the OpenShift annotation you mentioned, nor its implementation, so I'm not sure why it has no effect on virt-launcher...
It'd probably be best to reach out to the maintainers of said annotation and ask them about this.

Hi, this is not Kubevirt problem per se. The Openshift does fill this value according to the annotation when a MustRunAs is specified by the SCC but we do specify RunAsAny.

@xpivarc can elaborate more? I am unable to find why virt-launcher is not honouring the openshift webhook for setting the mcs. Instead of levels set on the namespace, the virt-launcher pod gets random labels on every restart. Whats the reason for that? Is it done at kubevirt level or at openshift level? I doubt its at openshift, unless kubevirt is sending some marker to bypass the default behaviour.

It depends on SCC used by Pod. In our case, we define an SCC with SelinuxContext = RunAsAny, In this case, Openshift does not use the namespace defined mcs.

I don't see any quick workaround possible.  I think we'd need a kubevirt design proposal to introduce this new security mode.  I suspect this would need to be off by default (to preserve the current VM isolation semantics) and controlled by either a feature gate or configuration option on the kubevirt CR.  If you are looking for a general change in the semantics I don't think it's realistic at this time.  If you want to address some specific use cases then we should look at them individually.


DCS-909: first commit - GET journey

User presented with the new page when selecting the View removal request link (if available) from the view-statements page. The new page displays the involved staff member details and their current caseload.
Images of new pages.
Only the first page needed validation.

cypress specs need adding  too


Manufacturer ID is not working if not Intel?

Great tool! Exactly what I was searching for at InstLatx64.
The CPUID Dump format is slightly different, so an alignment between the two projects would be nice to have. Maybe even with a link between them, so that user doesn't have to copy-paste.
Now, about web-cpuid:

Manufacturer ID - doesn't work, I have to keep it "GenuineIntel" in order for all the rest to load
Processor Brand String and Manufacturer ID - would be good also to show the full text combined in a human readable form, in addition to the chunks on separate lines.
MPX/AVX512 state - 00h [green] instead of false (0) [red] ?

AMD decoding is WIP; I've got a partial implementation of it locally but it's not finished yet.
Grouped metadata is something I'm planning, but requires some overhaul of the frontend presentation logic so it'll take a bit of effort. Displaying things like the full brand string hinges on this.
Good point on the XCR0 state colours. This happens because multi-bit fields are just seen as numbers in the rendering code, so 0 is "valid" and therefore green. Searching the InstLatX64 data, it looks like the only correct values are all-0 or all-1 (presumably because if MPX/AVX512 state is available it always consumes 2 and 3 subleaves respectively) so that should be easy to implement as an enum.

The XCR0 state data, among other things, has been fixed in 341a15e.

Vendor and brand string summary decoding is added in #7809e7f.
I've opened #3 to track the AMD CPUID decoding work.

Those are currently out of scope for this project; I just don't have time to work on them.


Update _factual_correctness.py

The recall metric  formula should change to tp/(tp+fn)

hey @yousoferfani thanks a lot for catching this #1650 this also fixes the same thing so closing this in favor of that
the fix will be released now

Sure
Thanks
On Tue, Nov 12, 2024 at 10:54 AM Jithin James @.***>
wrote:

hey @yousoferfani https://github.com/yousoferfani thanks a lot for
catching this #1650
https://github.com/explodinggradients/ragas/pull/1650 this also fixes
the same thing so closing this in favor of that
the fix will be released now
—
Reply to this email directly, view it on GitHub
https://github.com/explodinggradients/ragas/pull/1656#issuecomment-2471320208,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADUD2LZNFKJZWQHSQ5XB3ZL2AJFG3AVCNFSM6AAAAABRS6GRKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZRGMZDAMRQHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

but we really appreciate time time you took to fix it, thanks a million 🙌🏽


Spyder (merge master)

This should help get PR ( https://github.com/conda-forge/staged-recipes/pull/477 ) moving again.

Thanks a lot @jakirkham!


how i can redirect user to 404 page instead of this admin page

hi , thankyou for this package , i want to ask you how by this code , redirect user to 404 page , when anyone write /admin in the domain, its show this

:
actually i try to add a code you answered it someone ask same question, but when i add it , its give me ERR:500 , and some functionality in website stop work like report button
actually I am beginner for that I  hope you understand my question, hope to help me to resolve this problem 👍
this is the code :
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
//
];
/**
 * A list of the inputs that are never flashed for validation exceptions.
 *
 * @var array
 */
protected $dontFlash = [
    'password',
    'password_confirmation',
];

/**
 * Report or log an exception.
 *
 * @param  \Throwable  $exception
 * @return void
 *
 * @throws \Exception
 */
public function report(Throwable $exception)
{
    parent::report($exception);
}

/**
 * Render an exception into an HTTP response.
 *
 * @param  \Illuminate\Http\Request  $request
 * @param  \Throwable  $exception
 * @return \Symfony\Component\HttpFoundation\Response
 *
 * @throws \Throwable
 */
public function render($request, Throwable $exception)
{
    return parent::render($request, $exception);
}

}

500 error is too general. Look at your laravel.log to see what the actual error is.

i know that , but about the problem (in image ) what should i change in the code ?


Fix type definitions for promises

Summary
When calling mockResolvedValue (-Once), the argument should be
the expected return value unwrapped from its Promise. Likewise,
when mocking a rejected value, the passed argument needs not
necessarily be of the same type as the expected successful return
value.
Test plan
Without this change, the following code will cause TypeScript to complain:
    const mockFetch = jest.fn(window.fetch).mockResolvedValue(new Response());

Argument of type 'Response' is not assignable to parameter of type 'Promise<Response>'.
  Type 'Response' is missing the following properties from type 'Promise<Response>': then, catch, [Symbol.toStringTag], finally

That error will disappear with this PR.

Thanks! Could you add some tests that fails without this change to https://github.com/facebook/jest/blob/999ee461262c217db2827db79296129a13d6e23a/test-types/top-level-jest-namespace.test.ts as well?

@SimenB Thanks for the pointer, done: 65b5a1f5de9eb578f151293b0050d1edbb27a44f

I'll make a release with the fix as soon as both #10598 and #10599 lands, btw

https://github.com/facebook/jest/releases/tag/v26.5.2

Just tested the new release in my code, works perfectly. Thanks for the speedy turnover!


shellcraft for i386 and amd64

implement shellcraft.(i386|amd64).linux.sh
create x86/ for common shellcodes of i386 and amd64

This change is

There's duplicate between i386 and amd64's shellcodes, should I merge them into one files or make codeclimate ignore duplicate of these files?

I think it make sense to merge larger blocks, while also raise the mass threshold so smaller block are ignored?
We can try to merge larger blocks, see how it looks, and revert to blacklist shellcraft directory if it looks bad / unreadable.

now remain 8 issues are duplicate between i386.mov and amd64.mov QQ

Reviewed 1 of 47 files at r3, 15 of 30 files at r9, 1 of 7 files at r10, 3 of 13 files at r11, 7 of 9 files at r13.
Review status: 31 of 51 files reviewed at latest revision, 21 unresolved discussions.

lib/pwnlib/shellcraft/templates/amd64/mov.rb, line 1 at r13 (raw file):

require 'pwnlib/shellcraft/registers'

Add # encoding: ASCII-8BIT

lib/pwnlib/shellcraft/templates/amd64/pushstr.rb, line 1 at r13 (raw file):

require 'pwnlib/util/fiddling'

Add # encoding: ASCII-8BIT

lib/pwnlib/shellcraft/templates/amd64/pushstr.rb, line 10 at r13 (raw file):

  extend ::Pwnlib::Util::Lists
  extend ::Pwnlib::Util::Packing
  # This will not effect callee's +str+.

affect

lib/pwnlib/shellcraft/templates/amd64/ret.rb, line 2 at r13 (raw file):

::Pwnlib::Shellcraft.define(__FILE__) do |return_value = nil|
  cat shellcraft.amd64.mov('rax', return_value) unless return_value.nil?

if return_value should be enough, since it would never be a boolean?

lib/pwnlib/shellcraft/templates/i386/mov.rb, line 8 at r13 (raw file):

::Pwnlib::Shellcraft.define(__FILE__) do |dest, src, stack_allowed: true|
  extend ::Pwnlib::Shellcraft::Registers
  extend ::Pwnlib::Util::Packing

sort these

lib/pwnlib/shellcraft/templates/i386/mov.rb, line 46 at r13 (raw file):

    if src.zero?
      cat "xor #{dest}, #{dest} /* #{src} */"
    elsif stack_allowed && [32].include?(dest.size) && src == 10

dest.size == 32

lib/pwnlib/shellcraft/templates/i386/mov.rb, line 50 at r13 (raw file):

      cat "pop #{dest}"
      cat "inc #{dest}"
    elsif stack_allowed && [32].include?(dest.size) && (-2**7 <= srcs && srcs < 2**7) && okay(srcp[0, 1])

srcp[0]

lib/pwnlib/shellcraft/templates/i386/pushstr.rb, line 10 at r13 (raw file):

  extend ::Pwnlib::Util::Lists
  extend ::Pwnlib::Util::Packing
  # This will not effect callee's +str+.

affect

lib/pwnlib/shellcraft/templates/i386/pushstr.rb, line 15 at r13 (raw file):

  padding = str[-1].ord >= 128 ? "\xff" : "\x00"
  cat "/* push #{str.inspect} */"
  group(4, str, underfull_action: :fill, fill_value: padding).reverse.each do |word|

reverse_each

lib/pwnlib/shellcraft/templates/x86/setregs.rb, line 25 at r13 (raw file):

#
#   puts setregs({rax: -1}, stack_allowed: false)
#   # mov rax, -1

an extra space.

Comments from Reviewable

Reviewed 1 of 13 files at r11, 1 of 23 files at r12.
Review status: 33 of 51 files reviewed at latest revision, 25 unresolved discussions.

lib/pwnlib/shellcraft/templates/x86/linux/syscalls/execve.rb, line 15 at r13 (raw file):

#   If +Integer+, take it as a pointer adrress. (same as +nil+ if zero is given.)
#   If +nil+, use NULL pointer.
# @param [String, Hash{Symbol => String}, Integer, nil] envp

Hash{#to_s => #to_s} seems more accurate.

lib/pwnlib/shellcraft/templates/x86/linux/syscalls/syscall.rb, line 13 at r13 (raw file):

  else
    syscall_repr = 'syscall(%s)'
    args = [syscall.nil? ? '?' : syscall.inspect]

[syscall ? syscall.inspect : '?']

lib/pwnlib/shellcraft/templates/x86/linux/syscalls/syscall.rb, line 17 at r13 (raw file):

  # arg0 to arg5
  1.upto(6) do |i|
    args.push(arguments[i].nil? ? '?' : arguments[i].inspect)

Same as above.

lib/pwnlib/util/fiddling.rb, line 270 at r13 (raw file):

      # Find two strings that will xor into a given string, while only using a given alphabet.
      #
      # @param [String] data

[String, Integer]

Comments from Reviewable

Review status: 33 of 51 files reviewed at latest revision, 26 unresolved discussions.

lib/pwnlib/util/fiddling.rb, line 290 at r13 (raw file):

          return nil if c2.nil?
          res1 += c2.chr
          res2 += (c1 ^ c2).chr

<<

Comments from Reviewable

Review status: 7 of 51 files reviewed at latest revision, 26 unresolved discussions.

lib/pwnlib/abi.rb, line 13 at r10 (raw file):
Previously, peter50216 (Peter Shih) wrote…
Only used for x86, to specify ...

Done.

lib/pwnlib/shellcraft/registers.rb, line 43 at r11 (raw file):
Previously, peter50216 (Peter Shih) wrote…
Join with following line.

Done.

lib/pwnlib/shellcraft/registers.rb, line 105 at r11 (raw file):
Previously, peter50216 (Peter Shih) wrote…
.freeze

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 8 at r11 (raw file):
Previously, peter50216 (Peter Shih) wrote…
sort imports.

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 48 at r11 (raw file):
Previously, peter50216 (Peter Shih) wrote…

   return super unless add_method(method) # +return super+ when file not found
    # method must be defined now.
    public_send(method, *args)

Change these to
return public_send(method, *args) if add_method(method)
super

so it's consistent to respond_to_missing?

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 48 at r11 (raw file):
Previously, peter50216 (Peter Shih) wrote…
Or maybe the whole function can be changed to
return public_send(method, *args) if add_module(method) || add_method(method)
super

and change respond_to_missing? to add_module(method) || add_method(method)

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 81 at r11 (raw file):
Previously, peter50216 (Peter Shih) wrote…
File.file?

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 144 at r12 (raw file):
Previously, peter50216 (Peter Shih) wrote…
Why is the reject needed?

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 153 at r12 (raw file):
Previously, peter50216 (Peter Shih) wrote…
New line after this.

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 158 at r12 (raw file):
Previously, peter50216 (Peter Shih) wrote…
method = list.pop, use list instead of list[0...-1] in next line, and use method instead of list.last.

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 160 at r12 (raw file):
Previously, peter50216 (Peter Shih) wrote…
cur[key] ||= {}

Done.

lib/pwnlib/shellcraft/templates/amd64/mov.rb, line 1 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
Add # encoding: ASCII-8BIT

Done.

lib/pwnlib/shellcraft/templates/amd64/pushstr.rb, line 1 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
Add # encoding: ASCII-8BIT

Done.

lib/pwnlib/shellcraft/templates/amd64/pushstr.rb, line 10 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
affect

Done.

lib/pwnlib/shellcraft/templates/amd64/ret.rb, line 2 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
if return_value should be enough, since it would never be a boolean?

Done.

lib/pwnlib/shellcraft/templates/i386/mov.rb, line 8 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
sort these

Done.

lib/pwnlib/shellcraft/templates/i386/mov.rb, line 46 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
dest.size == 32

Done.

lib/pwnlib/shellcraft/templates/i386/mov.rb, line 50 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
srcp[0]

Done.

lib/pwnlib/shellcraft/templates/i386/pushstr.rb, line 10 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
affect

Done.

lib/pwnlib/shellcraft/templates/i386/pushstr.rb, line 15 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
reverse_each

Done.

lib/pwnlib/shellcraft/templates/x86/setregs.rb, line 25 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
an extra space.

Done.

lib/pwnlib/shellcraft/templates/x86/linux/syscalls/execve.rb, line 15 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
Hash{#to_s => #to_s} seems more accurate.

Done.

lib/pwnlib/shellcraft/templates/x86/linux/syscalls/syscall.rb, line 13 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
[syscall ? syscall.inspect : '?']

Done.

lib/pwnlib/shellcraft/templates/x86/linux/syscalls/syscall.rb, line 17 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
Same as above.

Done.

lib/pwnlib/util/fiddling.rb, line 270 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
[String, Integer]

Done.

lib/pwnlib/util/fiddling.rb, line 290 at r13 (raw file):
Previously, peter50216 (Peter Shih) wrote…
<<

Done.

Comments from Reviewable

This is stale branch. Could you merge from master?

Should we also support using Symbol for registers?

Reviewed 2 of 47 files at r3, 1 of 39 files at r5, 1 of 20 files at r7, 2 of 30 files at r9, 11 of 23 files at r12, 1 of 9 files at r13, 33 of 35 files at r14, 3 of 3 files at r15.
Review status: all files reviewed at latest revision, 40 unresolved discussions.

pwntools.gemspec, line 4 at r15 (raw file):

$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pwnlib/version'
require 'date'

Wrong require order.

lib/pwnlib/shellcraft/registers.rb, line 6 at r15 (raw file):

  module Shellcraft
    # Define register names and methods for shellcode generators.
    module Registers

Add TODO for not only String but also Symbol.

lib/pwnlib/shellcraft/registers.rb, line 7 at r15 (raw file):

    # Define register names and methods for shellcode generators.
    module Registers
      X86_BASEREGS = %w(ax cx dx bx sp bp si di ip).freeze

Why is bx in the fourth order?

lib/pwnlib/shellcraft/registers.rb, line 112 at r15 (raw file):

      #   If +name+ is already a {Register} object, +name+ itself will be returned.
      #
      # @return [Register, nil]

Register?

lib/pwnlib/shellcraft/shellcraft.rb, line 99 at r15 (raw file):

        # If method not presents in current arch, ignore it.
        filepath = glob(method)
        return false unless filepath

return false unless glob(method) ?

lib/pwnlib/shellcraft/shellcraft.rb, line 139 at r15 (raw file):

AsmMethods.call('./amd64/linux', :syscall, ['SYS_read', 0, 'rsp', 10])

AsmMethods.call('./amd64/linux/syscalls', :syscall, ['SYS_read', 0, 'rsp', 10]) ?

lib/pwnlib/shellcraft/shellcraft.rb, line 141 at r15 (raw file):

require 'templates/amd64/linux/syscall'

syscalls/syscall

lib/pwnlib/shellcraft/templates/amd64/mov.rb, line 11 at r15 (raw file):

  extend ::Pwnlib::Shellcraft::Registers
  extend ::Pwnlib::Util::Packing
  extend ::Pwnlib::Util::Fiddling

sort these

lib/pwnlib/shellcraft/templates/amd64/pushstr.rb, line 13 at r15 (raw file):

  extend ::Pwnlib::Util::Packing
  # This will not affect callee's +str+.
  str += "\x00" if append_null && !str.end_with?("\x00")

<<

lib/pwnlib/shellcraft/templates/i386/mov.rb, line 82 at r15 (raw file):

      cat "mov #{dest}, #{a}"
      cat "xor #{dest}, #{b} /* #{hex(src)} == #{a} ^ #{b} */"
    end

raise unless stack_allow

lib/pwnlib/shellcraft/templates/i386/pushstr.rb, line 13 at r15 (raw file):

  extend ::Pwnlib::Util::Packing
  # This will not affect callee's +str+.
  str += "\x00" if append_null && !str.end_with?("\x00")

<<

test/shellcraft/registers_test.rb, line 22 at r15 (raw file):

    assert_equal(false, register?('xdd'))
    assert_equal(false, register?(''))
  end

Use assert and refute might be clearer?

Comments from Reviewable

Review status: 45 of 51 files reviewed at latest revision, 41 unresolved discussions.

pwntools.gemspec, line 4 at r15 (raw file):
Previously, hanhanW wrote…
Wrong require order.

Done.

lib/pwnlib/shellcraft/registers.rb, line 7 at r15 (raw file):
Previously, hanhanW wrote…
Why is bx in the fourth order?

https://en.wikibooks.org/wiki/X86_Assembly/X86_Architecture

lib/pwnlib/shellcraft/registers.rb, line 112 at r15 (raw file):
Previously, hanhanW wrote…
Register?

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 99 at r15 (raw file):
Previously, hanhanW wrote…
return false unless glob(method) ?

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 139 at r15 (raw file):
Previously, hanhanW wrote…

AsmMethods.call('./amd64/linux', :syscall, ['SYS_read', 0, 'rsp', 10])

AsmMethods.call('./amd64/linux/syscalls', :syscall, ['SYS_read', 0, 'rsp', 10]) ?

Done.

lib/pwnlib/shellcraft/shellcraft.rb, line 141 at r15 (raw file):
Previously, hanhanW wrote…

require 'templates/amd64/linux/syscall'

syscalls/syscall

Done.

lib/pwnlib/shellcraft/templates/amd64/mov.rb, line 11 at r15 (raw file):
Previously, hanhanW wrote…
sort these

Done.

lib/pwnlib/shellcraft/templates/amd64/pushstr.rb, line 13 at r15 (raw file):
Previously, hanhanW wrote…
<<

No, we should not change the arguments

lib/pwnlib/shellcraft/templates/i386/mov.rb, line 82 at r15 (raw file):
Previously, hanhanW wrote…
raise unless stack_allow

why

lib/pwnlib/shellcraft/templates/i386/pushstr.rb, line 13 at r15 (raw file):
Previously, hanhanW wrote…
<<

nope

lib/pwnlib/util/lists.rb, line 18 at r15 (raw file):
Previously, hanhanW wrote…
[:ignore, :drop, :fill]

Done.

test/shellcraft/registers_test.rb, line 22 at r15 (raw file):
Previously, hanhanW wrote…
Use assert and refute might be clearer?

No, refute is for checking falsey values(false / nil), while I want to check register? do return false

Comments from Reviewable

Review status: 44 of 51 files reviewed at latest revision, 41 unresolved discussions.

lib/pwnlib/shellcraft/registers.rb, line 6 at r15 (raw file):
Previously, hanhanW wrote…
Add TODO for not only String but also Symbol.

Supported

Comments from Reviewable

LGTM

Reviewed 4 of 5 files at r16, 3 of 3 files at r17.
Review status: all files reviewed at latest revision, 28 unresolved discussions.

Comments from Reviewable


Function overloading of generic functions allows for invalid code

🔎 Search Terms
function overloading generic functions invalid code
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about "function overloading generic"

⏯ Playground Link
https://tsplay.dev/N5Y35N
💻 Code
/* overload #1 */ function f0(fn: () => void): (() => void);
/* overload #2 */ function f0<P1 extends {}>(fn: (p1: P1) => void): ((p1: P1) => void);
/* overload #3 */ function f0<P1 extends {}, P2 extends {}>(fn: (p1: P1, p2: P2) => void): ((p1: P1, p2: P2) => void);

function f0(fn: (...args: unknown[]) => void): (...args: unknown[]) => void {
  fn(); // Creates a bug in overloads #2 and #3, given both p1 and p2 will be undefined, even though P1 and P2 do not allow it.
  fn(1);  // Should only be valid if P1 extends number; in addition p2 will be undefined, even though P2 does not allow it.
  fn(1, 2);  // Should only be valid if P1 and P2 both extend number.

  return () => {};
}

f0((a: string) => { console.log('a: ', a, 'typeof a: ', typeof a)}) // Prints: "a: ",  undefined,  "typeof a: ",  "undefined"

🙁 Actual behavior
TS compiles the code above as if it were correct, even though the following code correctly triggers an error for i and j:
const h: ((...args: unknown[]) => void) = (() => {})
const i: ((...args: unknown[]) => void) = ((p1: string) => {})
const j: ((...args: unknown[]) => void) = ((p1: string, p2: boolean) => {})

🙂 Expected behavior
TS should warn about the potencial error.
Notice how TS detects an error in a similar situation, when the functions are NOT generic:
/* overload #1 */ function f0(fn: () => void): (() => void);
/* overload #2 */ function f0(fn: (p1: string) => void): ((p1: string) => void);
/* overload #3 */ function f0(fn: (p1: string, p2: boolean) => void): ((p1: string, p2: boolean) => void);

But fail to detect it in the presence of generic functions.
Additional information about the issue
In the following similar code, but using a single tuple parameter, TS does detect the potencial error, triggering the "This overload signature is not compatible with its implementation signature" message:
function f1(fn: (a: []) => boolean): number;
function f1<P1>(fn: (a: [P1]) => boolean): string;
function f1<P1, P2>(fn: (a: [P1, P2]) => boolean): boolean;
function f1(fn: (a: unknown[]) => boolean): any {
  fn([1, 2, 3]);
}

It makes sense, since these expressions are all invalid:
const f: ((a: unknown[]) => boolean) = ((a: []) => true)
const g: ((a: unknown[]) => boolean) = ((a: [number]) => true)
const h: ((a: unknown[]) => boolean) = ((a: [number, string]) => true)

Overloads are checked more loosely than they "should" be, see #13235 among others. You'll probably always be able to find some inconsistency in exactly what is allowed versus rejected.

Joe, I agree that it's virtually impossible for TS to cover all use cases. However, as TS already detects the error in the case below (Playground):
/* overload #1 */ function f0(fn: () => void): (() => void);
/* overload #2 */ function f0(fn: (p1: string) => void): ((p1: string) => void);
/* overload #3 */ function f0(fn: (p1: string, p2: boolean) => void): ((p1: string, p2: boolean) => void);

function f0(fn: (...args: unknown[]) => void): (...args: unknown[]) => void {
  // ...
}

I don't see why it fails to detect the same situation when generic types are present, like the similar code below (Playground):
/* overload #1 */ function f0(fn: () => void): (() => void);
/* overload #2 */ function f0<P1>(fn: (p1: P1) => void): ((p1: P1) => void);
/* overload #3 */ function f0<P1, P2>(fn: (p1: P1, p2: P2) => void): ((p1: P1, p2: P2) => void);


⚠ Jenkins Plugins Artifactory has degraded performance

In 2ff56a3, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1168 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 5a01b6d after 12 minutes.


Improve Sentry and logging config

This makes logging work again in production and turns on Sentry for staging and dev.
(Django docs suggest not setting disable_existing_loggers to True, despite it being in the Sentry docs.)

Codecov Report

Merging #261 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #261   +/-   ##
========================================
  Coverage    93.35%   93.35%
========================================
  Files           56       56
  Lines         2032     2032
  Branches       189      189
========================================
  Hits          1897     1897
  Misses         114      114
  Partials        21       21

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 e47cde1...d2e1267. Read the comment docs.


Updated day22 learnings

/lgtm @Nawaz027 Keep learning !! You are making great PR with consistency.

/lgtm @Nawaz027 Keep learning !! You are making great PR with consistency.


Fix datetime name collision in cast_test

After #6311 test_cast_timestamp_to_integral_ansi_overflow was failing on Spark 3.3+ due to:
module `datetime` has no attribute `fromtimestamp`

This was occurring because an import datetime was added that clobbered the from datetime import datetime above it.  This removes the import datetime so we pick up the correct datetime in the test.

build


chore! remove JUnit 4 from module dependencies

Just some housekeeping.
I have not yet confirmed that we've removed the JUnit 4 imports from all the modules.
Missing Module Migrations

[ ] ModuleTestingEnvironment
[ ] FlexiblePathfinding
[ ] Genome
[ ] HumanoidCharacters
[ ] Inventory
[ ] MarkovChains
[ ] WeatherManager

With all the PRs running gradlew compileTestJava again. Please have a look and review of those PRs to get this through :wink:


Upgrade PowerToys from 0.51.1 to 0.55.2 gives error

Microsoft PowerToys version
0.55.2
Running as admin

[ ] Yes

Area(s) with issue?
Installer
Steps to reproduce
Upgrade PowerToys from 0.51.1 to 0.55.2 gives error message: Kan PowerToys niet starten als gebruiker.
This is Dutch for: Cannot start PowerToys as a user.
After clicking the OK button, the message pops up again.
The only way to stop this is to uninstall PowerToys.
A clean installation of PowerToys version 0.55.2 results in the same problem.
First install version 0.53.1 and than upgrade to 0.55.2 from the PowerToys settings works fine.
I also tried upgrading from version 0.53.1 to 0.55.2 using the .exe file, but that gives the same problem.
I am running Windows 10 using a regular user account.
✔ Expected Behavior
See above.
❌ Actual Behavior
See description above.
Other Software
None.

actually seems to be more of a /dup https://github.com/microsoft/PowerToys/issues/16043


Map Vote

No matter how hard we try to get rid of %STATION_NAME%lovers, they will always be there. Take away Map A - now everyone picks an Map B. Take away Map B - everyone will pick a different station and so on down the list.
I'm suggesting two ways:
1. Instead of choosing a single map, choose 1-2 stations that you definitely don't want to see in the round. The rest of the stations will be chosen randomly.
2. To choose a map randomly, but with a certain chance depending on the number of people who voted for it. For example, if 75 people voted for map A and 25 people voted for map B, then map A will be chosen with a 75% chance and map B with a 25% chance. Minorities need to be happy sometimes too!
People who vote for a certain map often do it because they are used to it and know it almost by heart, which affects the robustness of the game and actually leads game to WINWINWIN. And of course it also affects the fact that people just don't want to get confused by the pointers on a new map again.
These two solutions can help people to evaluate gameplay on different stations in practice and expand their horizons of choice.
Additional context
I'll be honest, I'm a fan of picking one map myself, but sometimes people really miss out on good stations that fit different conditions (online, RP level) and just vote what they're always used to vote.

And of course admin of the server can choose vote modes.

for me it's the mario kart wii roulette wheel

#16933


IWA without Preauthentication?

I'm publishing some anonymous / public pages (SharePoint 2016) and therefore need to use Passthrough in AAD App Proxy.
However when users click "Sign in" I'd like for them to be sent to the AAD IWA page to log them in with KCD... is there any way? i.e. I can't use Preauthentication. Surely there's a URL that I could redirect users to?
I'd rather not have a second AAD App Proxy that is set to preauthentication on a different URL, and then hack the "Sign in" button on the first site if possible, that's messy.
Many thanks!

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

ID: 880bd7f3-dda8-43b3-6409-e9a660ff0845
Version Independent ID: 54b5ee3a-8748-9795-cb4c-01b2e94c7e6c
Content: Single sign-on with Application Proxy | Microsoft Docs
Content Source: articles/active-directory/active-directory-application-proxy-sso-using-kcd.md
Service: active-directory
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@stevep4 Thanks for the feedback! We are currently investigating and will update you shortly.

@stevep4 Assigning the issue to the author to investigate and update as appropriate.

@stevep4 If this is a product or support question, we should route this question to the appropriate channel for those questions. Since this isn't a documentation issue, please remove the assignment to the author @MarkusVi. Thanks.

@mtillman I don't know how to remove the assignment to the author (I didn't assign it in the first place). However, my question does relate to the documentation, section "Configure single sign-on" covers KCD with preauthentication, and my question is if the same can be achieved without preauthentication. It's not strictly a "documentation issue", but it is still a valid and relating question, no?

I apologize Steve. I meant to address my comments to @azure-cxp-triage, so that they would reroute your request. You question is a good one about an undocumented scenario. The best way to get an answer to go through our support options. See https://docs.microsoft.com/en-us/azure/active-directory/active-directory-troubleshooting-support-howto.

#please-close

@stevep4 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


A few more Swedish translations

@TropicSapling
Thank you for the update!
If you need some explanation about the context of some strings, just ask :smile:

@LaChal I understand the strings, but some are a bit harder to translate due to the Swedish language being structured in a different way. Some words don't really exist in Swedish and some sentences I need more information about to translate.
Then there's also a lot of words I just haven't started translating yet :)

I understand that pretty well :smile:
All the same for French language. E.G: English "chunk" can be translated with the French "morceau", "gros morceau", "part", "partie", "bille", etc. In English, "morceau" can be "cut", "piece","morcel", etc.
The official French Minecraft Wiki uses the word "tronçon". (I shall revise the French MCEdit translation...)
Badly, no Swedish official Wiki :confused:
Personally, I also use online translation and dictionaries to find what word can fit.
By the way, a string is missing: https://github.com/Khroki/MCEdit-Unified/blob/3186e7b73bcb4e5147df29ba30b85859a464b5e8/lang/sv_SE.trn#L738
Since you did not yet translatd it, just don't bother with, I'll resore it!

Ok :)