text:
Integration - Main into RB-2.2 - Adsk Contrib

Integration PR
The first commit is the version release type name to empty. Each subsequent commit was cherry-picked from the main branch.
These commits correspond to the following PRs:
Replace texture2D function with texture for GLSL 1.3
CheckSupportSSE2: Fix sse flags unexpected propagation
Adsk contrib - Fix issue with minizip build
Adsk contrib - Processor cache does not detect changes in cccid
Adsk contrib - Configure the OpenColorIO.pc file on Windows
Adsk contrib - Hiding minizip-ng symbols on Mac
Adsk contrib - Fix issue with is colorspace linear
Adsk Contrib - Improve naming of ICC-based displays on Windows
Fix Python ARM wheel
Adsk Contrib - Fix inverse Lut1D optimization issue
Update documentation for 2.2 release
Adsk Contrib - OCIO cmake improvements

Closing in favour of PR #1750. (to fix DCO problems)


text:
new attribute needed to detail exact physical dimensions corresponding to display window

Various packages that reconstruct camera position and orientation from image sequences require their users to enter the position and dimensions of the rectangle on the sensor or film plane that corresponds to the display window. Alternatively the dimensional specification is in pixels and the package requires the user to enter a pixel dimension (almost always a single pixel dimension, although OpenEXR is so old that it makes provision for non-square pixels).
Several camera systems provide enough metadata in their output to determine the dimensions and offset from optical sensor of this rectangle, or provide enough that when combined with static pixel dimensions from the manufacturer allow both dimensions and offset to be computed. Depending on the sophistication of the VFX artist or facility this can be easy or very tedious.
Defining a standard optional attribute to carry this rectangle's position and dimensions would encourage camera vendors and vendors of systems transcoding camera output to OpenEXR to properly populate it.
Note that this corresponds to the ActiveSensorPhysicalDimensions metadatum defined in SMPTE's camdkit.

Apologies to OpenEXR, my comment about it being "so old that it makes provision for non-square pixels" was out of line. The provision is for anamorphic acquisition and isn't some pre-digital-television non-square pixel thing.
Nick's comment in the TSC meeting yesterday about "just divorce yourself from the existing coordinate systems" [paraphrased] is correct, or at least mostly so. I think we want to retain the data window / display window convention of how you move when you increase either x or y when we talk about centering offset and about what part of the sensor is being used.
Proposal:
sensorPhotositePitch, µm, as a float
sensorOverallDimensions, mm, v2f
sensorCenterOffset, mm, v2f
sensorAcquisitionRectangle, photosites, Box2i
Will start work on a PR.

Mr Edge Case here again: would the sensorCenterOffset be relative to the optical center of the lens or is just the relationship between the camera body lens mount and which part of the sensor contributes to the final image? So if a shift lens  is used (or just a badly aligned one), the sensorCenterOffset should change? Or is there already sufficient additional metadata that describes the lens properties relative to the lens mount?
Most digital cameras offer a choice of aspect ratios and resolutions. I believe some cameras do resolution changes on the sensor itself using something like hardware pixel binning which might make the term 'photosite' ambiguous. Should those cameras adjust the sensorAcquisitionRectangle and sensorPhotositePitch accordingly if they aren't capturing the full sensor at full resolution? Also, what happens to all of these if there's a post-process "optical" effect, such as an aspect ratio change, or a pan or zoom? Should these parameters refer to the values "at capture time" or is image processing software expected to update these accordingly? With the philosophy that wrong metadata is worse than no metadata, I wonder if those attributes could be tagged as "not safe to preserve if the image geometry is modified" via some new API, so software that reads/modifies/writes OpenEXR images knows to drop them.
(I think all of these parameters are a good idea, and wouldn't suggest adding any more to handle the above cases, but I think a certain amount of pedantry may be required in defining them to ensure they are interpreted consistently)

Echoing Peter's comment, Is the term "photosite" right? I think of hardware sensors when I think of photosite, but maybe I'm thinking about that wrong. Is photopitch vs a Bayer green, red or blue? Or does "photosite" mean the resampled/regularized data we've got in the EXR file? Pedantically is it correct in both cases? I guess I'm unclear if photosite refers to final sampled output, or if it refers to a hardware characteristic. Since the term is being used with respect to the sensor I'm unable to work out what's right.
My understanding is that sensorCenterOffset is relative to the lens optical center, otherwise how are we to understand the direction light was coming from when it hit the sensor?
With regards sensorAcquisitionRectangle, I assume the box itself is in the coordinate system defined by the with an origin of sensorCenterOffset and the euclidean metric is defined by sensorPhotositePitch. With that information, and an unambiguous definition for sensorPhotositePitch, for any pixel I can work out any interesting fact I can think of that doesn't involve further knowledge about the lens.

I will try and take these comments in order. But before I do that I should say that I am copying concepts from SMPTE RDD 55, "Material Exchange Format — Carriage of ARRI Camera System Metadata", because I worked on that document with some very smart people and mostly I think we got things right. Mostly (see below).
sensorCenterOffset is relative to the optical center of the camera's lens mount. I have asked (and have a couple more people to ask) but have yet to find anyone tracking an offset between the optical axis of a lens relative to the center of the lens mount on the lens side, nor any sort of provision for a too-heavy lens mounted on a camera with a weak lens mount and too-weak support rods.
Regarding tilt lenses, I would not say they are never used, but as far as I know, they are almost never used for motion picture or television work. Moreover, looking at the lenses on the Wikipedia page to which you linked, the weirdness is solely on the lens side. I don't believe any of those cameras had their film gate or their sensor displaced in any way. Thus I think that if the industry cried out for metadata supporting tilt or shift lenses, we would support them by adding additional metadata beyond what is proposed here, with no need to change what this proposal provides.
I do need to come up with an exact definition relating signs of the offset components to the contents of the data window, e.g. positive x and y offsets would shift the contents of the data window up and to the left.
sensorAcquisitionRectangle refers, roughly speaking, to those photosites that contribute to the image, even if the image that is recorded does not comprise an image where the number of image rows and image columns match the number of photosite rows and photosite array columns. For example, when shooting for HD delivery on the original ALEXA EV, a 2880 x 1620 photosite array contributed sensel data [the read-out-contents of photosites] to a debayer algorithm that simultaneously downsized to a recorded 1920 x 1080 array of RGB pixel data.
In light of Nick's comments it's worth my explicitly adding a comment block saying that photosites are the rectangular (typically square) sites where the photon-induced charge is registered; sensels are the data read out of those sites; and pixels are the data that are stored in OpenEXR files. In the RGB case, the pixels result from feeding sensel data and a description of the color filter array into a demosaicing algorithm and possibly linearly scaling and/or converting an integer image to float; in the monochrome case, there is only the possible linear scaling and/or conversion from image to float.
Here is the wording from SMPTE RDD 55: "...the rectangular region of the sensor containing the photosites from which the captured image is read".
Guess what? That's incorrect. It's incorrect because most debayering algorithms work by examining adjacent pixels on either side of the pixel being reconstructed. When the debayer is working with a 5x5 array of sensel data, in the example above, technically, the examined region is 2884 x 1624.
Therefore in the next revision of RDD 55 we are going to change the language to be something like this: "...representing the rectangular region of the sensor containing photosites the contents of which are in one-to-one correspondence with the captured senseless, fora. monochrome sensor, or with the reconstructed pixels, for an RGB sensor." Thought I might change "RGB sensor" to "sensor covered with an RGB color filter array arranged in a Bayer pattern".
(The Sony F65 has the duck-billed platypus of CFA-covered sensors in that it is tilted at a 45º angle)
What RDD 55 calls SensorPixelPitch I propose to call sensorPhotositePitch. The definition is "Distances between centers of sensor photosites, in microns".
What RDD 55 calls OverallSensorDimensions I propose to call sensorOverallDimensions. The description can be almost copied one-for-one; I would go with "Dimensions of the light-sensitive area of the sensor, in mm, independent of the subset of that region from which image data are obtained."
If I maintain the order of attributes in the file to be as it was in the original message here, then I would add just above the center offset wording to the effect that for the purposes of center offset, the origin of the coordinate system in which the offsets are given is, as with the data and display windows, in the upper left; and that the directions in which the row and column indices of that same coordinate system increase are the same directions as those found in the data and display windows.
In re: pedantry, apologies if I've used this setup before; It really should be on my gravestone:
DEVIL: ...and this is the lake of lava you will be spending eternity in
ME: Actually, since we're underground, it would be magma
DEVIL: You do understand this is why you're here, right?

Submitted as PR #1489 .
n.b. running locally, the added standard attribute tests passed, but two compression tests failed when I ran make test on my late-2021 MacBook Pro (i.e. Apple Silicon, if that matters) — OpenEXRCore.testDWAACompression and OpenEXRCore.testDWABCompression.

Thanks for all the explanatory notes, very much appreciated.
The test failures are unrelated to adding attributes ~ Kimball has a separate fix up for that.

source: gharchive/issue

authors: JGoldstone meshula peterhillman

repo: AcademySoftwareFoundation/openexr

license_type: permissive

license_source: github-api


text:
{doc} Fix NanoVDB README links

Files moved in fb95b366343603d8824fe477541d07342dba9901.
Also removes link to non-existent file (Grid cells vs grid nodes PDF).
Signed-off-by: Andy Maloney asmaloney@gmail.com

Hi Andy, thanks for fixing this! However, it looks like you either forgot to "--signoff" during the commit or sign a CLA (or both). I can offer to add your changes in a separate PR.

Since the CLA was not signed this PR is closed and replaced by #1488

source: gharchive/pull-request

authors: asmaloney kmuseth

repo: AcademySoftwareFoundation/openvdb


text:
[problem] “param[1].used_in_call_before()“ method has something wrong

When I write the rule like this：
(not param[0].used_in_call_before(['__imp_wcscat_s']) and not param[0].is_constant())

it is not valid when i add like this：
(not param[0].used_in_call_before(['__imp_wcscat_s','wcscat_s']) and not param[0].is_constant())

how can i construct gramma

and when i use
 (not param[0].used_in_call_before(['__imp_wcscat_s']) and not param[0].is_constant())

or

(not param[0].used_in_call_before(['wcscat_s']) and not param[0].is_constant())

He didn't filter out the current buffer being used as a parameter of wcscat_s for me

even i choose GetSystemDirectoryW()

Neither can it

Is there an error or the rule just fails to detect the occurance that you are expecing?

yes，I hope to filter out the parts of the buffer that were used by GetSystemDirectoryW() before being used as a parameter in a function, but obviously, he cannot

It is possible to give an example with or without checking strlen， but im not sure

Can you share the binary file?

C:\Windows\System32\InkEd.dll is a simple binary

you can try to
[
    {
        "name": "aaaa",
        "function_names":[
            "__imp_LoadLibraryW"

        ],
        "wrappers":false,
        "mark_if":{
            "High":"(not param[0].used_in_call_before(['__imp_GetSystemDirectoryW']) and not param[0].is_constant())",
            "Medium":"False",
            "Low": "False"
        }
    }

]

This should be fixed with: https://github.com/Accenture/VulFi/commit/03df8fb1c89251fbf1ef75258abb2648fb13cfa6
Please verify that it behaves as expected.

You are so awesome, it looks like you can do it

Another question I have is that when I check whether the current parameter is called by the specified function, can I also judge whether the parameter of the check function is equal to or not equal to the specified value?

You can get .number_value() or .string_value() for any parameters that are constants in the current XREF. Parameters that are checked for calls with .used_in_call_<before|after>() can only be in form of a variable and thus cannot be checked for any specific value.

repo: Accenture/VulFi


text:
Add capital I at the start of every interface

Describe your changes
added I at the start of every interface
Screenshots - If Any (Optional)
Link to issue

Closes #232
Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] Followed the repository's Contributing Guidelines.
[x] I ran the app and tested it locally to verify that it works as expected.
[x] I have checked my code with an automatic accessibility tool such as Axe Dev Tools or Wave
and it shows no errors.

Additional Information (Optional)
Any additional information that you want to give us.

@EmmaDawsonDev why we are adding capital I at the start of every interface? is this some kind of convention?

Good job @hariscs, thank you!

@EmmaDawsonDev why we are adding capital I at the start of every interface? is this some kind of convention?

Yes, it's a convention. In this way, we can easily identify that the props are coming from an interface because it's prefixed with I.

@ctoffanin thank you.

authors: ctoffanin hariscs

repo: AccessibleForAll/AccessibleWebDev

license: MIT


text:
How to install/use/run?

I'm missing instructions on how to install/use/run the Tdk, especially how to produce the binary tools (e.g. tclchecker) included in the (now obsolete?) commercial Tdk package.

I can't get it to run.
Using Msys2, ran 'export MAKE_MODE=unix' in mingw64 shell, then ran 'autoconf' then 'configure' then 'make' it barfs because SHLIB_LD is undefined (?). Defining SHLID_LB as 'gcc' gets this:
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain'
I thought this would be resolvable by -lmingw32, but no luck.
gcc -DPACKAGE_NAME="win32" -DPACKAGE_TARNAME="win32" -DPACKAGE_VERSION="1.1" -DPACKAGE_STRING="win32\ 1.1" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DNO_SYS_WAIT_H=1 -DNO_DLFCN_H=1 -DHAVE_SYS_PARAM_H=1 -DBUILD_win32=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  -I"/mingw64/include" -I"/mingw64/include"     -pipe -O2 -Wall -Wno-implicit-int   -c echo ./win/winTrans.c -o winTrans.o
gcc -DPACKAGE_NAME="win32" -DPACKAGE_TARNAME="win32" -DPACKAGE_VERSION="1.1" -DPACKAGE_STRING="win32\ 1.1" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DNO_SYS_WAIT_H=1 -DNO_DLFCN_H=1 -DHAVE_SYS_PARAM_H=1 -DBUILD_win32=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_LSEEK64=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  -I"/mingw64/include" -I"/mingw64/include"     -pipe -O2 -Wall -Wno-implicit-int   -c echo ./win/winUtils.c -o winUtils.o
rm -f libwin321.1
gcc -v -o libwin321.1 winCmds.o winEventLog.o winIco.o winInit.o winSendMessage.o winSvc.o winTrans.o winUtils.o -mwindows -lmingw32 -L/mingw64/lib -ltclstub86 -L/mingw64/lib -ltkstub86
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-8.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=ada,c,lto,c++,objc,obj-c++,fortran --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev3, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld
Thread model: posix
gcc version 8.2.0 (Rev3, Built by MSYS2 project)
COMPILER_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/;C:/msys64/mingw64/bin/../lib/gcc/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/
LIBRARY_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/;C:/msys64/mingw64/bin/../lib/gcc/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../
COLLECT_GCC_OPTIONS='-v' '-o' 'libwin321.1' '-mwindows' '-LC:/msys64/mingw64/lib' '-LC:/msys64/mingw64/lib' '-mtune=generic' '-march=x86-64'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/collect2.exe -plugin C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/liblto_plugin-0.dll -plugin-opt=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\msys64\tmp\ccECm3sr.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lgdi32 -plugin-opt=-pass-through=-lcomdlg32 -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -m i386pep --subsystem windows -Bdynamic -o libwin321.1 C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtbegin.o -LC:/msys64/mingw64/lib -LC:/msys64/mingw64/lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0 -LC:/msys64/mingw64/bin/../lib/gcc -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../.. winCmds.o winEventLog.o winIco.o winInit.o winSendMessage.o winSvc.o winTrans.o winUtils.o -lmingw32 -ltclstub86 -ltkstub86 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -lpthread -lgdi32 -lcomdlg32 -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtend.o
winCmds.o:winCmds.c:(.text+0x26): undefined reference to __imp_CoUninitialize' winCmds.o:winCmds.c:(.text+0x444): undefined reference to GetFileVersionInfoSizeA'
winCmds.o:winCmds.c:(.text+0x467): undefined reference to GetFileVersionInfoA' winCmds.o:winCmds.c:(.text+0x4b5): undefined reference to VerQueryValueA'
winCmds.o:winCmds.c:(.text+0x983): undefined reference to __imp_CoCreateInstance' winCmds.o:winCmds.c:(.text+0xdbd): undefined reference to __imp_CoCreateInstance'
winCmds.o:winCmds.c:(.text+0x14ff): undefined reference to __imp_CoInitializeEx' winCmds.o:winCmds.c:(.rdata$.refptr.IID_IShellLinkW[.refptr.IID_IShellLinkW]+0x0): undefined reference to IID_IShellLinkW'
winCmds.o:winCmds.c:(.rdata$.refptr.IID_IPersistFile[.refptr.IID_IPersistFile]+0x0): undefined reference to IID_IPersistFile' winCmds.o:winCmds.c:(.rdata$.refptr.IID_IShellLinkA[.refptr.IID_IShellLinkA]+0x0): undefined reference to IID_IShellLinkA'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o): In function main': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:18: undefined reference to WinMain'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:228: libwin321.1] Error 1

The above is for the pkg-src/win32 directory, which it looks like is required to build the starkit on windows (?)

Can some one help to get this run on the windows?

Can some one help to get this run on the windows?
I just take a few days to make it works on windows, please refer to this link.

authors: cyangy flopp trayres vbogach1

repo: ActiveState/tdk


text:
fix(versions): update Activiti/activiti-cloud-acceptance-scenarios versions into master

UpdateBot pushed maven dependency: org.activiti.cloud.acc:activiti-cloud-acceptance-tests-dependencies to: 7.1.106

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.acc:activiti-cloud-acceptance-tests-dependencies 7.1.106


text:
update org.activiti.cloud.app:activiti-cloud-app-dependencies to 7.0.18

UpdateBot pushed maven dependency: org.activiti.cloud.app:activiti-cloud-app-dependencies to: 7.0.17

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.app:activiti-cloud-app-dependencies 7.0.17

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.app:activiti-cloud-app-dependencies 7.0.18

Will push this change manually

authors: jx-activiti-cloud ryandawsonuk

repo: Activiti/activiti-cloud-dependencies


text:
fix(versions): update Activiti/activiti-cloud-dependencies versions

UpdateBot pushed maven dependency: org.activiti.cloud.api:activiti-cloud-api-dependencies to: 7.0.35

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.api:activiti-cloud-api-dependencies 7.0.35

/test this
/approve

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.acc:activiti-cloud-acceptance-tests-dependencies 7.0.24

/test this
/approve

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.common:activiti-cloud-service-common-dependencies 7.0.59

/test this
/approve

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.query:activiti-cloud-query-dependencies 7.0.69

/test this
/approve

/test this
/approve

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.audit:activiti-cloud-audit-dependencies 7.0.50

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.app:activiti-cloud-app-dependencies 7.0.37

/test this
/approve

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.connector:activiti-cloud-connectors-dependencies 7.0.44

/test this
/approve

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.query:activiti-cloud-query-dependencies 7.0.70

/test this
/approve

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies 7.0.65

/test this
/approve


text:
space - Nora

React Tic Tac Toe
Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.
Reflection

Prompt
Response

How are events / event handlers and useState connected?
Events are typically an action prompted by a user, examples include onClick or onButtonClick. An event handler tells the program what to do when that happens after that event. And the 'useState' lets us set a 'state' that will consistently hold until reset.

What are two ways to do "dynamic styling" with React? When should they be used?
You can use inline or external style sheets to create dynamic styling in React. Typically inline styling is discouraged as external style sheets are cleaner, more consistent, and easier for other developers or designers to find your styles. You can also use classes and conditional statements to dynamically change the way that content displays on a page.

Much like Rails works with the HTTP request->response cycle, React works with the browser's input->output cycle. Describe React's cycle from receiving user input to outputting different page content.
React components are updated when a user triggers an event (square clicked), a callback function handles the event and passes information from a parent to child components, sets a new state with the setState hook, and the app outputs JSK to update the page as is relevant.

CS Fundamentals Questions

Question
Answer

What do you think is the BigO complexity of the method you use to compute a winner?
Mine was broken... but if it had worked I'd guess a time complexity of O(n) and a space complexity of O(n^2) because I make a copy of the squares.

Consider what happens when React processes a state change from setState -- it must re-render all of the components that now have different content because of that change.What kind of data structure are the components in, and what sort of algorithms would be appropriate for React's code to "traverse" those components?Speculate wildly about what the Big-O time complexity of that code might be.
React is in a tree data structure with components made up of child components. A binary search should work and have a time complexity of O (log n) base don the number of nodes.

I never got wave 3 working, but I wanted to turn something in rather than get too far behind.

React Tic Tac Toe

Major Learning Goals/Code Review

Criteria
yes/no, and optionally any details/lines of code to reference

Demonstrates proper JavaScript coding style.
✔

Correctly passes props to child components.
✔

Correctly passes callback functions to child components and calls them to respond to user events.)
✔

Maintains the status of the game in state.
✔

Practices git with at least 6 small commits and meaningful commit messages
✔

Uses existing stylesheets to render components
✔

Functional Requirements

Functional Requirement
yes/no

The Square component renders properly and executes the callback on a click event.
✔

The Board component renders a collection of squares
✔

The App component renders a board and uses state to maintain the status of the game.
✔

Utilizes callbacks to UI events to update state
✔

Overall Feedback

Overall Feedback
Criteria
yes/no

Green (Meets/Exceeds Standards)
5+ in Code Review && 3+ in Functional Requirements
✔

Yellow (Approaches Standards)
4+ in Code Review && 2+ in Functional Requirements, or the instructor judges that this project needs special attention

Red (Not at Standard)
0-3 in Code Review or 0,1 in Functional Reqs, or assignment is breaking/doesn’t run with less than 5 minutes of debugging, or the instructor judges that this project needs special attention

Code Style Bonus Awards

Was the code particularly impressive in code style for any of these reasons (or more...?)

Quality
Yes?

Perfect Indentation
✅

Elegant/Clever
(A little too clever.)

Descriptive/Readable
✅

Concise

Logical/Organized
✅

authors: kaidamasaki thenora


text:
html5test - Different results

Sometimes, with the same cloned device, there are different results in http://html5test.com/
Maybe this is related with #11 because there is a message in the javascript console:
IndexedDB: error, could not delete database

Related to #11 .

Fixed with release https://github.com/AdaptiveMe/adaptive-tools-nibble/releases/tag/1.0-alpha.4

authors: carloslozano fnva

repo: AdaptiveMe/npm-adaptiveme-nibble

license_source: bigquery


text:
How to set selected index from js

hi  get the data from API and want to set select index on runtime

Is that what you want to achieve?
dropdownRef.current.selectIndex(2)

....
....

<SelectDropdown ref={dropdownRef} >

but the thing is not working bro i want to reset my dropdown when i select first the other dropdown should be reset the value because it is connected to above or first dropdown

dropdownRef.current.reset()


text:
Crash on filter validating

isRuleValid crashes with empty string

Marshaling error - "" marhals as NULL, not IntPtr to (char[]){0}

duplicate of https://github.com/AdguardTeam/CoreLibs/issues/815

authors: adbuker northis sfionov

repo: AdguardTeam/CoreLibs


text:
Is Adldap2-laravel compatible with laravel 5.3? Are there instructions for 5.3?

I'm new to Laravel and Adldap2. Im using Laravel 5.3. When I go to homestead.local/login and try to login, the page simply refreshes. Obviously, the login is failing, but there is no error to indicate what might be wrong.
How can I get more information on what is not working?
If I run php artisan adldap:import, it seems to find the users, but does not import them:
vagrant@homestead:~/laravel/hdapps$ php artisan adldap:import
Found 2530 user(s). Importing...
 2467/2467 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
Successfully imported / synchronized 0 user(s).

After the import attempt, 2530 lines like this one were added to laravel.log:
[2016-11-18 17:33:51] local.ERROR: Unable to import user Guest. Object of class Adldap\Models\User could not be converted to string
Here are the settings that seem relevant:
adldap_auth.php
<?php
return [
    'connection' => env('ADLDAP_CONNECTION', 'default'),
    'username_attribute' => ['username' => 'samaccountname'],
    'limitation_filter' => env('ADLDAP_LIMITATION_FILTER', ''),
    'login_fallback' => env('ADLDAP_LOGIN_FALLBACK', false),
    'password_key' => env('ADLDAP_PASSWORD_KEY', 'password'),
    'password_sync' => env('ADLDAP_PASSWORD_SYNC', false),
    'login_attribute' => env('ADLDAP_LOGIN_ATTRIBUTE', 'samaccountname'),
    'windows_auth_attribute' => ['samaccountname' => 'AUTH_USER'],
    'bind_user_to_model' => env('ADLDAP_BIND_USER_TO_MODEL', true),
    'sync_attributes' => [
        'name' => 'cn',
    ],
    'select_attributes' => [],
];

adldap.php
<?php
return [
    'connections' => [
        'default' => [
            'auto_connect' => true,
            'connection' => Adldap\Connections\Ldap::class,
            'schema' => Adldap\Schemas\ActiveDirectory::class,
            'connection_settings' => [
                'account_prefix' => 'MYCOMPANY, // correct in actual file
                'account_suffix' => '@mycompany.local',  // correct in actual file
                'domain_controllers' => ['xxx.xx.x.xx'], // correct in actual file
                'port' => 389,
                'timeout' => 5,
                'base_dn' => 'dc=mycompany,dc=local',
                'admin_account_suffix' => '',
                'admin_username' => env('ADLDAP_ADMIN_USERNAME', 'username'), // correct in actual file
                'admin_password' => env('ADLDAP_ADMIN_PASSWORD', 'password'), // correct in actual file
                'follow_referrals' => false,
                'use_ssl' => false,
                'use_tls' => false,
            ],
        ],
    ],
];

app.php
<?php

return [
    'name' => 'Laravel',
    'env' => env('APP_ENV', 'production'),
    'debug' => env('APP_DEBUG', true),
    'url' => env('APP_URL', 'http://localhost'),
    'timezone' => 'UTC',
    'locale' => 'en',
    'fallback_locale' => 'en',
    'key' => env('APP_KEY'),
    'cipher' => 'AES-256-CBC',
    'log' => env('APP_LOG', 'single'),
    'log_level' => env('APP_LOG_LEVEL', 'debug'),
    'providers' => [
        /*
         * Laravel Framework Service Providers...
         */
        Illuminate\Auth\AuthServiceProvider::class,
        Illuminate\Broadcasting\BroadcastServiceProvider::class,
        Illuminate\Bus\BusServiceProvider::class,
        Illuminate\Cache\CacheServiceProvider::class,
        Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
        Illuminate\Cookie\CookieServiceProvider::class,
        Illuminate\Database\DatabaseServiceProvider::class,
        Illuminate\Encryption\EncryptionServiceProvider::class,
        Illuminate\Filesystem\FilesystemServiceProvider::class,
        Illuminate\Foundation\Providers\FoundationServiceProvider::class,
        Illuminate\Hashing\HashServiceProvider::class,
        Illuminate\Mail\MailServiceProvider::class,
        Illuminate\Notifications\NotificationServiceProvider::class,
        Illuminate\Pagination\PaginationServiceProvider::class,
        Illuminate\Pipeline\PipelineServiceProvider::class,
        Illuminate\Queue\QueueServiceProvider::class,
        Illuminate\Redis\RedisServiceProvider::class,
        Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
        Illuminate\Session\SessionServiceProvider::class,
        Illuminate\Translation\TranslationServiceProvider::class,
        Illuminate\Validation\ValidationServiceProvider::class,
        Illuminate\View\ViewServiceProvider::class,
        /*
         * Package Service Providers...
         */
        /*
         * Application Service Providers...
         */
        App\Providers\AppServiceProvider::class,
        App\Providers\AuthServiceProvider::class,
        // App\Providers\BroadcastServiceProvider::class,
        App\Providers\EventServiceProvider::class,
        App\Providers\RouteServiceProvider::class,
        Chrisbjr\ApiGuard\Providers\ApiGuardServiceProvider::class,
        Adldap\Laravel\AdldapServiceProvider::class,
        Adldap\Laravel\AdldapAuthServiceProvider::class

    ],
    'aliases' => [

        'App' => Illuminate\Support\Facades\App::class,
        'Artisan' => Illuminate\Support\Facades\Artisan::class,
        'Auth' => Illuminate\Support\Facades\Auth::class,
        'Blade' => Illuminate\Support\Facades\Blade::class,
        'Bus' => Illuminate\Support\Facades\Bus::class,
        'Cache' => Illuminate\Support\Facades\Cache::class,
        'Config' => Illuminate\Support\Facades\Config::class,
        'Cookie' => Illuminate\Support\Facades\Cookie::class,
        'Crypt' => Illuminate\Support\Facades\Crypt::class,
        'DB' => Illuminate\Support\Facades\DB::class,
        'Eloquent' => Illuminate\Database\Eloquent\Model::class,
        'Event' => Illuminate\Support\Facades\Event::class,
        'File' => Illuminate\Support\Facades\File::class,
        'Gate' => Illuminate\Support\Facades\Gate::class,
        'Hash' => Illuminate\Support\Facades\Hash::class,
        'Lang' => Illuminate\Support\Facades\Lang::class,
        'Log' => Illuminate\Support\Facades\Log::class,
        'Mail' => Illuminate\Support\Facades\Mail::class,
        'Notification' => Illuminate\Support\Facades\Notification::class,
        'Password' => Illuminate\Support\Facades\Password::class,
        'Queue' => Illuminate\Support\Facades\Queue::class,
        'Redirect' => Illuminate\Support\Facades\Redirect::class,
        'Redis' => Illuminate\Support\Facades\Redis::class,
        'Request' => Illuminate\Support\Facades\Request::class,
        'Response' => Illuminate\Support\Facades\Response::class,
        'Route' => Illuminate\Support\Facades\Route::class,
        'Schema' => Illuminate\Support\Facades\Schema::class,
        'Session' => Illuminate\Support\Facades\Session::class,
        'Storage' => Illuminate\Support\Facades\Storage::class,
        'URL' => Illuminate\Support\Facades\URL::class,
        'Validator' => Illuminate\Support\Facades\Validator::class,
        'View' => Illuminate\Support\Facades\View::class,
        'ApiGuardAuth' => \Chrisbjr\ApiGuard\Facades\ApiGuardAuth::class,
        'Adldap' => Adldap\Laravel\Facades\Adldap::class

    ],
];

auth.php

<?php
return [
    'defaults' => [
        'guard' => 'web',
        'passwords' => 'users',
    ],
    'guards' => [
        'web' => [
            'driver' => 'session',
            'provider' => 'users',
        ],
        'api' => [
            'driver' => 'token',
            'provider' => 'users',
        ],
    ],
    'providers' => [
        'users' => [
            'driver' => 'adldap', // Changed from 'eloquent'
            'model' => App\User::class,
        ],
    ],
    'passwords' => [
        'users' => [
            'provider' => 'users',
            'table' => 'password_resets',
            'expire' => 60,
        ],
    ],
];

login.blade.php
@extends('layouts.app')
@section('content')

Login

                    <form class="form-horizontal" role="form" method="POST" action="{{ url('/login') }}">
                        {{ csrf_field() }}

has('username') ? ' has-error' : '' }}">
                            Username

                                <input id="username" type="text" class="form-control" name="username" value="{{ old('username') }}" required autofocus>
                                @if ($errors->has('username'))

                                        {{ $errors->first('username') }}

                                @endif

has('password') ? ' has-error' : '' }}">
                            Password

                                <input id="password" type="password" class="form-control" name="password" required>
                                @if ($errors->has('password'))

                                        {{ $errors->first('password') }}

                                @endif

                                        <input type="checkbox" name="remember"> Remember Me

                                <button type="submit" class="btn btn-primary">
                                    Login
                                </button>

                    </form>

@endsection

I found https://github.com/Adldap2/Adldap2-Laravel/blob/master/quick-start.md and tried to follow that. I got to this step 13 Inside the generated app/Http/Controllers/Auth/AuthController.php, you'll need to add the protected $username property if you're logging in users by username. Otherwise ignore this step however, no AuthController.php was generated in my project.

Are you sure? I should have already been created in
app->Http->Auth->AuthController.php when you preformed the php artisan make:auth command.
2016-11-18 19:33 GMT+01:00 Wesley Smith notifications@github.com:

I found https://github.com/Adldap2/Adldap2-Laravel/blob/master/
quick-start.md and tried to follow that. I got to this step 13 Inside the
generated app/Http/Controllers/Auth/AuthController.php, you'll need to
add the protected $username property if you're logging in users by
username. Otherwise ignore this step however, no AuthController.php was
generated in my project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Adldap2/Adldap2-Laravel/issues/213#issuecomment-261606060,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQc9wX7zY8O1fawbrZaAlDBvI6lVWKATks5q_e9mgaJpZM4K2v_j
.

@annajeanine  Yeah, that's what I was thinking too but no, it doesnt seem to be created, see below. Maybe I have something wrong that's causing it to not be created?
vagrant@homestead:~/laravel/hdapps$ php artisan make:auth
Authentication scaffolding generated successfully.
vagrant@homestead:~/laravel/hdapps$ cd app/Http/Controllers/Auth/
vagrant@homestead:~/laravel/hdapps/app/Http/Controllers/Auth$ ls
ForgotPasswordController.php  RegisterController.php
LoginController.php           ResetPasswordController.php

@annajeanine
I found this article https://laravel-news.com/2016/08/authentication-enhancements-in-laravel-5-3-sponsor/ that has this to sayL

#6. App Authentication Skeleton ships with four controllers: In Laravel 5.2, only two authentication controllers are shipped out of the box, AuthController (handles user registration and authentication) and PasswordController (handles resetting users forgotten passwords). In Laravel 5.3, there are now four authentication controllers:
ForgotPasswordController – handles e-mailing links for resetting passwords,
LoginController – handles authentication,
RegisterController – handles new user registration,
ResetPasswordController – handles resetting user passwords

Ah that explains why! I am working with Laravel 5.2 myself. I think that @stevebauman and other issues which are closed with regards to Laravel 5.3 can help you the best!

Hi @DelightedD0D, that's correct, Laravel 5.3 generates separate controllers for each function for authentication now.
Also thanks @annajeanine for helping! Much appreciated :).
If you're using 5.3 and are authenticating users with a username instead of email, you actually need to insert the method:
// LoginController.php

public function username()
{
    return 'username';
}

This is described in the docs:
https://github.com/Adldap2/Adldap2-Laravel#username-attributes
However it's not described in the quick start (which was written before 5.3 was out), so it will be updated, thanks for pointing that out!
For your error you mention first for importing:
[2016-11-18 17:33:51] local.ERROR: Unable to import user Guest. Object of class Adldap\Models\User could not be converted to string

This is due to you using the bind_user_to_model option. You must have not inserted the Adldap\Laravel\Traits\AdldapUserModelTrait onto your User model as described in the docs:
https://github.com/Adldap2/Adldap2-Laravel#binding-the-adldap-user-model-to-the-laravel-user-model
You'll receive this error if you have not inserted the trait.
Try and make the changes I've suggested above and let me know the result!

@stevebauman Those things did fix my issue, thank you

authors: DelightedD0D annajeanine stevebauman


text:
Testing Question

Laravel Version: 5.5
Adldap2-Laravel Version: ^3.0
PHP Version: 7.1

Question:
What is the recommended way to generate users in tests with this package when using the NoDatabaseProvider?

Hi @jasonlbeggs, great question! I haven't documented this at all currently, so after I go through this here I'll create some docs for this scenario. I also need to modify Adldap2 to make this easier.
You'll need to create mock users using the Adldap\Models\User model.
This model adheres to the UserContract supplied in Laravel's test cases, so you can use the actingAs() method in test cases:
/**
 * Set the currently logged in user for the application.
 *
 * @param  \Illuminate\Contracts\Auth\Authenticatable  $user
 * @param  string|null  $driver
 * @return $this
 */
public function actingAs(UserContract $user, $driver = null)
{
    $this->be($user, $driver);

    return $this;
}

Here's an example implementation:
public function test_ad_user()
{
    $c = Mockery::mock(ConnectionInterface::class);

    $g = new Grammar();

    $b = new Builder($c, $g);

    $user = new User([
        'objectsid' => [
            hex2bin('010500000000000515000000dcf4dc3b833d2b46828ba62800020000')
        ],
        'cn' => ['Bauman, Steve'],
    ], $b);

    $this->actingAs($user);

    dd(auth()->user()); // Returns instance of \Adldap\Models\User
    dd(auth()->id()); // Returns "S-1-5-21-1004336348-1177238915-682003330-512"
}

You can then create a helper method in your testing to simply construct and sign in users for test cases that require authentication.
Remember, you'll need to construct dummy data for the signed in user if you require it for testing.
For example, if you checking groups on the authenticated LDAP user, you will need to provide a memberof attribute when creating mock users.
If you need any more information or assistance, comment back and I'll re-open this.
Thanks!

Thanks for the help! I'll be sure to watch out for the changes on the upgrade.
I ended up just going ahead and making an AdldapUserFactory class instead of a function. This will make it easier for me to add on different states and extend the functionality. It functions pretty well as a drop in replacement for what I was already doing.
<?php

use Adldap\Connections\ConnectionInterface;

class AdldapUserFactory
{
    public static function create($overrides = [])
    {
        $c = Mockery::mock(ConnectionInterface::class);

        $g = new \Adldap\Query\Grammar();

        $b = new \Adldap\Query\Builder($c, $g);

        $user = new \Adldap\Models\User(array_merge([
            'objectsid' => [
                hex2bin('010500000000000515000000dcf4dc3b833d2b46828ba62800020000')
            ],
            'cn' => ['User, Test'],
        ], $overrides), $b);

        return $user;
    }
}

The only thing that is kind of weird is all my tests that use this are returning null in the terminal when I run them now. Do you have any ideas what could be causing that by chance?

authors: jasonlbeggs stevebauman


text:
Cannot upgrade from adoptopenjdk-8-openj9-8u252_b09.openj9_0.20.0-1.x86_64 to adoptopenjdk-8-openj9-8u262_b10.openj9_0.21.0-1.x86_64

Please raise an issue at https://github.com/AdoptOpenJDK/openjdk-installer or https://github.com/AdoptOpenJDK/homebrew-openjdk if it's an issue with our brew casks
Resolving Dependencies
--> Running transaction check
---> Package adoptopenjdk-8-openj9.x86_64 0:8u252_b09.openj9_0.20.0-1 will be updated
---> Package adoptopenjdk-8-openj9.x86_64 0:8u262_b10.openj9_0.21.0-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================================================================================
 Package                                                               Arch                                                   Version                                                                      Repository                                                    Size
==============================================================================================================================================================================================================================================================================
Updating:
 adoptopenjdk-8-openj9                                                 x86_64                                                 8u262_b10.openj9_0.21.0-1                                                    AdoptOpenJDK                                                 109 M

Transaction Summary
==============================================================================================================================================================================================================================================================================
Upgrade  1 Package

Total size: 109 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
  file /usr/lib/jvm/adoptopenjdk-8-openj9/man/ja from install of adoptopenjdk-8-openj9-8u262_b10.openj9_0.21.0-1.x86_64 conflicts with file from package adoptopenjdk-8-openj9-8u252_b09.openj9_0.20.0-1.x86_64

Error Summary
-------------

A Gradle bug leads to a RPM bug, yay! To quote https://rpm.org/user_doc/faq.html:

How can I replace a directory with a symlink or vice-versa?
You dont. If you are desperate, it can be achieved with a %pretrans scriptlet written with the embedded Lua interpreter, but this is fragile at best. The Fedora project has examples and further guidance you might be helpful.

So let's see if I can get a scriptlet into FPM.

Scriptlets must be written in lua but FPM does not allow that, see https://github.com/jordansissel/fpm/issues/1666. There's no fast way around that.
The best workaround I can think of:
rm -rf /usr/lib/jvm/adoptopenjdk-8-openj9/man/ja
yum upgrade

We're in an awkward place:

People that already have the newest versions (8u262, 11.0.8) have the symlink, people with the old versions have the directory. So even if we go back to the directory, we break the people with the symlink.
Replacing fpm right now is not really an option (lot of work, risk of other breakages is high).
Patching fpm is not really an option (would require fork, testing facilities do not seem to be in good shape).
Pretrans is only possible with a shell script, would break people in Kickstart scenarios.
Creating the symlinks in the post install script does not work because the removal of the old package during an update would remove the symlink.

So, the best option (read: lowest impact) I've come up with: Remove the offending directory/symlink man/ja entirely from the package. This works for everyone, the Japanese man pages are still there (but in a different directory) and aren't included in 14 and newer anyway. We can still bring them back in the future.
There's an open PR that fixes the problem. As soon as it's merged, we'll publish new packages.

The new packages for 8u262 are in. 11.0.8 is currently being uploaded. Might need yum update --refresh to get the -2 package.

I can confirm this has resolved my issue. Thank you for the quick turnaround
`[lcollins@uk-lon01-vps001 ~]$ sudo yum update
Loaded plugins: changelog, elrepo, fastestmirror, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile

base: mirror.sov.uk.goscomb.net
centos-sclo-rh: mirror.sov.uk.goscomb.net
centos-sclo-sclo: mirror.sov.uk.goscomb.net
elrepo: ftp.nluug.nl
extras: uk.mirror.nsec.pt
remi: mirror.netweaver.uk
remi-php72: mirror.netweaver.uk
remi-safe: mirror.netweaver.uk
rpmforge: mirrors.ircam.fr
updates: mirror.as29550.net
AdoptOpenJDK                                                                                | 1.4 kB  00:00:00
CodeIT                                                                                | 2.9 kB  00:00:00
CodeITmainline                                                                                | 2.9 kB  00:00:00
ansible                                                                                | 2.9 kB  00:00:00
as-repo-centos7                                                                                | 2.9 kB  00:00:00
base                                                                                | 3.6 kB  00:00:00
centos-sclo-rh                                                                                | 3.0 kB  00:00:00
centos-sclo-sclo                                                                                | 3.0 kB  00:00:00
copr:copr.fedorainfracloud.org:jdoss:wireguard                                                                                | 3.3 kB  00:00:00
cr                                                                                | 2.9 kB  00:00:00
datadog                                                                                | 2.5 kB  00:00:00
digitalocean-agent                                                                                | 3.3 kB  00:00:00
docker-ce-stable                                                                                | 3.5 kB  00:00:00
elrepo                                                                                | 2.9 kB  00:00:00
epel                                                                                | 4.7 kB  00:00:00
extras                                                                                | 2.9 kB  00:00:00
jenkins                                                                                | 2.9 kB  00:00:00
lynis                                                                                | 2.5 kB  00:00:00
mysql-connectors-community                                                                                | 2.5 kB  00:00:00
mysql-tools-community                                                                                | 2.5 kB  00:00:00
mysql57-community                                                                                | 2.5 kB  00:00:00
nodesource                                                                                | 2.5 kB  00:00:00
remi                                                                                | 3.0 kB  00:00:00
remi-php72                                                                                | 3.0 kB  00:00:00
remi-safe                                                                                | 3.0 kB  00:00:00
remi-test-debuginfo                                                                                | 3.0 kB  00:00:00
rpmforge                                                                                | 1.9 kB  00:00:00
rundeck-release-bintray                                                                                | 1.3 kB  00:00:00
updates                                                                                | 2.9 kB  00:00:00
yarn                                                                                | 2.9 kB  00:00:00
(1/5): epel/x86_64/updateinfo                                                                                | 1.0 MB  00:00:00
(2/5): remi-safe/primary_db                                                                                | 1.7 MB  00:00:00
(3/5): remi/primary_db                                                                                | 2.7 MB  00:00:00
(4/5): epel/x86_64/primary_db                                                                                | 6.9 MB  00:00:00
(5/5): AdoptOpenJDK/7/x86_64/primary                                                                                |  34 kB  00:00:01
AdoptOpenJDK                                                                                138/138
[elrepo]: 46 kmod packages excluded due to dependency errors
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.9.11.23-1.el7.remi will be updated
---> Package ImageMagick.x86_64 0:6.9.11.24-1.el7.remi will be an update
---> Package ImageMagick-libs.x86_64 0:6.9.11.23-1.el7.remi will be updated
---> Package ImageMagick-libs.x86_64 0:6.9.11.24-1.el7.remi will be an update
---> Package adoptopenjdk-8-openj9.x86_64 0:8u252_b09.openj9_0.20.0-1 will be updated
---> Package adoptopenjdk-8-openj9.x86_64 0:8u262_b10.openj9_0.21.0-2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved
======================================================================================================================================================================================================
Package                                             Arch                                 Version                                                    Repository                                  Size
Updating:
ImageMagick                                         x86_64                               6.9.11.24-1.el7.remi                                       remi                                        90 k
ImageMagick-libs                                    x86_64                               6.9.11.24-1.el7.remi                                       remi                                       2.4 M
adoptopenjdk-8-openj9                               x86_64                               8u262_b10.openj9_0.21.0-2                                  AdoptOpenJDK                               109 M
Transaction Summary
Upgrade  3 Packages
Total download size: 112 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for remi
No Presto metadata available for AdoptOpenJDK
(1/3): ImageMagick-6.9.11.24-1.el7.remi.x86_64.rpm                                                                                |  90 kB  00:00:00
(2/3): ImageMagick-libs-6.9.11.24-1.el7.remi.x86_64.rpm                                                                                | 2.4 MB  00:00:00
(3/3): adoptopenjdk-8-openj9-8u262-b10.openj9-0.21.0-2.x86_64.rpm                                                                                | 109 MB  00:00:30
Total                                                                                3.7 MB/s | 112 MB  00:00:30
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating   : ImageMagick-libs-6.9.11.24-1.el7.remi.x86_64                                                                                1/6
Updating   : ImageMagick-6.9.11.24-1.el7.remi.x86_64                                                                                2/6
Updating   : adoptopenjdk-8-openj9-8u262_b10.openj9_0.21.0-2.x86_64                                                                                3/6
Cleanup    : ImageMagick-6.9.11.23-1.el7.remi.x86_64                                                                                4/6
Cleanup    : ImageMagick-libs-6.9.11.23-1.el7.remi.x86_64                                                                                5/6
Cleanup    : adoptopenjdk-8-openj9-8u252_b09.openj9_0.20.0-1.x86_64                                                                                6/6
Verifying  : ImageMagick-6.9.11.24-1.el7.remi.x86_64                                                                                1/6
Verifying  : adoptopenjdk-8-openj9-8u262_b10.openj9_0.21.0-2.x86_64                                                                                2/6
Verifying  : ImageMagick-libs-6.9.11.24-1.el7.remi.x86_64                                                                                3/6
Verifying  : adoptopenjdk-8-openj9-8u252_b09.openj9_0.20.0-1.x86_64                                                                                4/6
Verifying  : ImageMagick-libs-6.9.11.23-1.el7.remi.x86_64                                                                                5/6
Verifying  : ImageMagick-6.9.11.23-1.el7.remi.x86_64                                                                                6/6
Updated:
ImageMagick.x86_64 0:6.9.11.24-1.el7.remi                  ImageMagick-libs.x86_64 0:6.9.11.24-1.el7.remi                  adoptopenjdk-8-openj9.x86_64 0:8u262_b10.openj9_0.21.0-2
Complete!
[lcollins@uk-lon01-vps001 ~]$`

authors: aahlenst lcollins

repo: AdoptOpenJDK/openjdk-installer


text:
The generic.scale attribute and the Size tag of phantoms are not taken into account

Right now the dimensions of every entity type is fixed with the exception of slimes and magma cubes for which we scale the entity width and height. This should also be done with phantoms (who are also scalable with a Size NBT tag). Furthermore the entity dimensions should be scaled if it the entity is living and has a non-default generic.scale attribute.

Thinking back on this one, the current released version of Iris is supposed to support Minecraft 1.20.3, which doesn't have the generic.scale attribute. If I do implement scaling with this attribute, it should most likely be its own version.
I should be able to fix the Size issue on phantoms though.

repo: Aeldrion/Iris


text:
Merge linear control-flow before reconstruction

This PR does several cfg-related things:

Makes some ullbc terminators be statements instead; this reduces terminators to be the bare minimum needed for control flow: goto, switch, return and abort;
Adds a pass that merges linear goto chains into a single block. This happens particularly in bodies with lots of function calls; this lightens the work for the control-flow reconstruction pass;
These two transformations made the llbc output slightly worse, so this PR also adds a pass that improves the cfg.

There's too high a risk of breaking libcrux because eurydice relies on specific control-flow shapes to detect loops. I'll remove the last pass added in this PR and keep it for when libcrux is fixed.

There's too high a risk of breaking libcrux because eurydice relies on specific control-flow shapes to detect loops. I'll remove the last pass added in this PR and keep it for when libcrux is fixed.

I guess we should open an issue for this, then?
For the loops: you mean to generate for and while loops, right?

I guess we should open an issue for this, then?

I mean I've got the branch ready for whenever it's fixed

For libcrux: you mean to generate for and while loops, right?

yes

I guess we should open an issue for this, then?

I mean, I've got the branch ready for whenever it's fixed, no need

As long as we don't forget it, I'm fine with that.

authors: Nadrieril sonmarcho

repo: AeneasVerif/charon


text:
Retry ElasticSearch queries on timeout

We've been having some transient issues where Cabot alerts time out connecting to ES. Reading through the docs, timeouts are considered a special case and do not retry by default. This PR turns on retries.
This could have bad effects - if ES is down, this could leave a ton of tasks hanging...maybe lower the timeout from 30s to 15s?

trigger build

I talked to @elainearbaugh about this, and she had a few concerns:

This is a client-side timeout, so queries don't get cancelled on retry. If the cause of the timeout is a bad query that is taking forever to finish, this will just put triple the load on the ES cluster as it tries again.
The problem might just be that the timeout isn't long enough. We can bump this through the Django admin panel.

For now, we just increased the timeout for the problem ES cluster. If that doesn't fix the problem, we'll revisit this PR.

repo: Affirm/cabot

license: mit


text:
Black-box functionality test

Al fine di consentire alla Suite di Black Box Test di verificare in autonomia (senza la necessità di molteplici interventi umani da parte del MIMIT e dei fornitori pubblici e privati delle PA) la conformità di una componente informatica di Front-office  SUAP, Back-office SUAP ed Enti Terzi  rispetto alle specifiche  tecniche  predisposte dal Gruppo tecnico di  cui al comma 3 dell'articolo 5, si suggerisce l'eliminazione dei casi test che prevedono esito TEST_ERROR_500 e TEST_ERROR_503 dalle tabelle dei paragrafi 8.6.1, 8.6.2, 8.6.3 delle sopra citate Specifiche Tecniche.

Sono da eliminare i casi di test che prevedono esito TEST_ERROR_500 e TEST_ERROR_503 anche nel file 08_06.md (https://github.com/AgID/specifiche-tecniche-DPR-160-2010/blob/mantaince001/specifiche_navigabili/08_e-service del SSU/08_06/08_06.md) alla tabella 30 e vanno eliminate le tabelle dalla 42 alla 51

authors: AnaclerioRiccardo luigi-colella-IC


text:
DB Migrations Setup with Alembic & DataStore Updates

[x] I have added the tests to cover my changes.
[x] I have updated the documentation and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

Notes
Temporarily removed processing uploads, deletes during db session but can be added back when we tackle this in the future (see the commit).
Using Workflow DB Session
from sqlalchemy import select
from covalent._data_store.datastore import workflow_db
import covalent._data_store.models

with workflow_db.session() as session:
    statement = select(models.Lattice)
    all_lattices = session.execute(statement).all()

Running migrations
To run migrations which have not yet run
alembic upgrade head

To view history of migrations
alembic history

See more documentation around migrations

how often do the versions get committed to source? is there a strategy for this?

authors: AlejandroEsquivel scottwn

repo: AgnostiqHQ/covalent


text:
Video is not showing on an ios device

I'm running the basic example with the  component. The 5 control buttons are displayed at the bottom, but the video is not displayed & the camera is not turned on.

Here's what I see on the log:
2020-09-12 13:12:53.592 xcodebuild[12337:2070883] [MT] PluginLoading: Required plug-in compatibility UUID C80A9C11-3902-4885-944E-A035869BA910 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs

2020-09-12 13:12:53.592 xcodebuild[12337:2070883] Failed to load plugin at: /Users/trisianto/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin, skipping.  Reason for failure: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]

#Video is not showing on android device also..
##It's showing a black screen.

Sorry for the delayed response. I just tested out the application, it works fine and I'm able to see the video etc. I have updated the Readme to add more info around steps to run. Please let me know if this fixes your issue.
If not, Can you please fill out this template:
Target device: (Note: simulators are not supported for running the UIKit)

Device: [e.g. iPhone6]
OS:

[X] IOS
[ ] Android

OS Version: [e.g. 22, 14.1]

App Info (Note: Expo CLI managed workflow is not supported by the UIKit)

Type:

[X] React Native CLI
[ ] Expo CLI - bare workflow

CLI Version: [e.g. 22]

Describe the issue
A clear and concise description of what the issue is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
See error

Screenshots
If applicable, add screenshots to help explain your problem.

@bdsumon4u did you find a solution

@bdsumon4u did you find a solution

@technophilic I'm also getting a black screen , Any solution

@technophilic I'm also getting a black screen , Any solution

@bdsumon4u did you find a solution

I haven't tried it again.

@bdsumon4u did you find a solution

I haven't tried it again.

@bdsumon4u did you find a solution

I haven't tried it again.

O okay thanks, did you find any new service to implement the video call or you tried something elsee

@bdsumon4u did you find a solution

I haven't tried it again.

O okay thanks, did you find any new service to implement the video call or you tried something elsee

@bdsumon4u did you find a solution

I haven't tried it again.

O okay thanks, did you find any new service to implement the video call or you tried something elsee

Fortunately I got rid of video calling service from that project. So, I hadn't try anything else.

@bdsumon4u did you find a solution

I haven't tried it again.

O okay thanks, did you find any new service to implement the video call or you tried something elsee

Fortunately I got rid of video calling service from that project. So, I hadn't try anything else.

If anybody else is facing the blank screen problem, please raise a new GitHub issue and fill up the issue template that helps us in debugging your issues. A blank screen can happen because of a number of reasons and without all the right information it is not possible to point out the problem.

Yes video is not showing on an ios device.

authors: ShadyStego asadadams bdsumon4u bipin-sakariya technophilic

repo: AgoraIO-Community/ReactNative-UIKit


text:
Error (Xcode): There is no XCFramework found

agora_rtc_engine: ^6.2.2 版本
已试过
flutter clean
cd ios
删除Podfile文件夹和podfile.lock
pod install
结果 依旧报错
日志：
Automatically signing iOS for device deployment using specified development team in Xcode project: GA5Y9FST86
Running pod install...                                             13.9s
Running Xcode build...
Xcode build done.                                           13.3s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): There is no XCFramework found at '/Users/sven/mtworkspace/yunphone/yunphone_controller/ios/Pods/AgoraRtcEngine_iOS/AgoraDav1d.xcframework'.
Error (Xcode): There is no XCFramework found at
'/Users/sven/mtworkspace/yunphone/yunphone_controller/ios/Pods/AgoraRtcEngine_iOS/AgoraSuperResolutionExtension.xcframework'.
podsfile:
Uncomment this line to define a global platform for your project
platform :ios, '11.0'
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(FILE))
target 'ShareScreen' do
use_frameworks!
use_modular_headers!
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
# Temporary exclude simulator arm64 to allow run app on simulator
# https://developer.apple.com/forums/thread/656509
target.build_configurations.each do |config|
config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "i386"
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
## dart: PermissionGroup.camera
'PERMISSION_CAMERA=1',
    ## dart: PermissionGroup.microphone
    'PERMISSION_MICROPHONE=1'
  ]
end

end
end

Maybe you can try deleting the ios/Pods directory too.

try
flutter clean
cd ios
delete ios/Pods directory and ios/podfile.lock file
pod install
but result is error alive

Can you try running our example to see if the error exists?
https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/tree/main/example

authors: littleGnAl sven-xie

repo: AgoraIO-Extensions/Agora-Flutter-SDK


text:
I2C OLED Demo

I2C OLED Demo to show text and .bmp images

thanks !! I'll test it


text:
设置selectedItemPosition不起作用

如下代码设置，选择项没有选中到当前秒上，请问如何解决？
for (i in 0..59) {
minutelist.add(i)
}
dataBinding!!.pickerSecond.data = minutelist
    dataBinding!!.pickerSecond.selectedItemPosition = TimeUtils.getNowDate().seconds

dataBinding!!.pickerSecond.setSelectedItemPosition(TimeUtils.getNowDate().seconds, false)
已解决。需要设置setSelectedItemPosition(TimeUtils.getNowDate().seconds, false)

repo: AigeStudio/WheelPicker


text:
适配评论插件

后台设置中的评论设置是打开的，文章的评论也是打开的。
开启其他主题，有评论框。
开始 chirpy 主题没有评论框。
http://gpio.me/

@CheneyWong 感谢您喜欢 halo-theme-chirpy😊
目前主题还没有适配评论插件，我将尽快适配🫡
预计三天内完成适配。到时候这条Issues下会有消息提醒。

@CheneyWong 当前问题已经合并代码但还没有发布 如果您想体验的话可以在 https://github.com/AirboZH/halo-theme-chirpy/actions/runs/6120040806 这里下载主题包

评论功能已验证可用。
在夜间模式显示良好。在日间模式，字的颜色还是白色，优点看不清。

评论功能已验证可用。 在夜间模式显示良好。在日间模式，字的颜色还是白色，优点看不清。

目前可能需要换完颜色刷新一下
我是写了模式兼容的代码的，但是有些情况不生效，我再看看吧。

重新打开我再优化优化

thanks for your idea, @all-contributors will add @CheneyWong for ideas

经过排查，您反馈的

在日间模式，字的颜色还是白色，有点看不清。

这个问题应该已经解决了，但是js文件缓存更新不及时。
问题会在今天发布的v1.0.6中得到解决。升级版本即可~

fix bug in https://github.com/AirboZH/halo-theme-chirpy/commit/5dc063cb1683d8a62cbf4edec128eea8fc3b947e

authors: AirboZH CheneyWong

repo: AirboZH/halo-theme-chirpy


text:
Add some kind of favorite color list to highlighted users

Requested: http://hup.hu/cikkek/20161128/hupper_2?comments_per_page=9999#comment-2043707

Not favorite but user can apply same color from another user if she clicks on the color name.

repo: Ajnasz/hupper


text:
🎉 Upgrade Meteor package parser, stub validation and add Vitest

This fork has its own release!
This fork of the Meteor-Vite bundler has been published as jorgenvatle:vite-bundler.

Changes
I've replaced most of the Regex we used to parse Meteor packages with a JavaScript parser to extract the data we need to build up Meteor stubs for Vite, this addresses most of the syntax-based edge cases caused by Meteor's package format.
It also makes it a lot easier to traverse through the bits of the package source we need to build up a good stub, all without having to worry about debugging and refactoring long lines of ungodly regex statements from the last PR. 😅
Testing 🧪

Tests can finally run server-side now, and using Vitest, they are blazingly fast.
Added GitHub workflows and tests validating application builds as well as mocktests for packages with known issues from the current version of Meteor-Vite.
Meteor package stubs are now validated on the client at runtime. So non-working packages won't just silently fail when you least expect it. Though, that shouldn't happen anymore. Not foolproof, as it will emit false-positive warnings for packages that export undefined. Warnings can be ignored per-package through the Meteor settings.json file.
Debug mode added to Vite plugin - captures all incoming Meteor package code and outgoing stubs into a mock file format for tests.

Maintainability ℹ

The Vite plugin has been moved into its own package to make it a little easier to work on, particularly for managing dependencies and testing!
Package parser has been re-written parsing module exports through language tokens rather than Regex - regardless of the format of the Meteor bundle, as long as the methods remain the same, stubs will work the same.
Converted Vite plugin and workers to TypeScript.
The Vite bundler and worker packages are versioned using changesets

Fixes ✅

Re-exports for modules nested under package subdirectories are now imported correctly within Meteor stubs.
[x] #27
[x] #26
[x] #21
[x] #8
[x] Closes #28
[x] Closes #29
[x] Closes #30

Added 🎊

Added Svelte example application
Vite server startup splash screen

Hey @JorgenVatle could you add me to the meteor-vite package on npm? Thanks!

I certainly can. 👍
Though, this pull request has become a little dated since it was undrafted earlier this summer.
If it isn't too much work to review on your part, I would like to pull in the latest changes and fixes from the release branch of the fork. 😅

We can do that after I merge this one

@JorgenVatle Are you on Discord by any chance? I also invited you the repo if you want to contribute to it directly. :cat2:

Thank you for trusting me with this! 🙌
Yeah, I'm on Discord every now and then.

Would you mind sending me an friend invite? Or send me your discord username by email

authors: Akryum JorgenVatle

repo: Akryum/meteor-vite


text:
💡[FEATURE]: Predicting COVID-19 from Chest X-Ray Images

Is your feature request related to a problem? Please describe.
The prediction of COVID-19 from chest X-ray images using Convolutional Neural Networks (CNNs) has several critical use cases in the healthcare sector. Firstly, it enhances diagnostic accuracy and speed in clinical settings, especially in regions with limited access to PCR testing facilities. By rapidly analyzing X-ray images, CNNs can assist radiologists in identifying COVID-19-related abnormalities, enabling timely isolation and treatment of infected individuals. Secondly, CNN-based models can serve as valuable tools in emergency departments, where quick decision-making is essential. They help in triaging patients, determining the severity of lung involvement, and prioritizing those needing immediate medical attention.
Describe the solution you'd like
Built and trained a convolutional neural network in Keras with TensorFlow as backend from scratch to predict patients if they were infected with COVID-19 or not using their chest X-ray images. Matplotlib was used for data visualization. Data preprocessing and data augmentation was carried out using tensorflow 2.0 The model used was sequential with a combination of convolutional layers, pooling layers, dropout layers, dense layers with relu activation and output layer with sigmoid activation. The dataset contained the lungs X-ray images of both groups i.e non-covid and covid infected patients. The dataset was obtained from kaggle. Metrics chosen for model evaluation were Training set, test set and validation set accuracy. Adam optimizer with learning rate of 0.001 was choosed for gradient descent The entire project was carried out on the Google Colab environment Results of the model were following:
Training Set Accuracy : 98.41 %
Training Set Loss : 0.0490
Validation Set Accuracy : 97.51 %
Validation Set Loss: 0.0759
Test Set Accuracy : 94.83 %
Test Set Loss : 0.1141
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context

@Akshat111111 please assign it to me

this is a  financial repo


text:
Solved #820- Analyzing the Impact of User Demographics on Financial Metrics

🛠 Related Issue

Closes #[issue_number]
#820

📝 Description

[Provide a concise description of the changes. Include the purpose and any relevant context or details.]
🔍 Type of PR

[ ] 🐛 Bug fix
[x] ✨ Feature enhancement
[ ] 📚 Documentation update
[ ] 🛑 Other (specify): _______________

📸 Screenshots / 🎥 Videos (if applicable)

[Attach screenshots or videos]
✅ Checklist

[x] I have performed a self-review of my code.
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

ℹ Additional Context

[Include any additional context or information that might assist reviewers in understanding the changes]

@Akshat111111
Kindly review and merge my PR


text:
Parallel sources downloads

Hi !
I understand aur sync can parallelize getting the AUR packages through AUR_QUERY_PARALLEL=1, however once all AUR packages are downloaded, it goes and processes one by one.  For the build, install and such parts of the PKGBUILD, that's fine, and actually I wouldn't want several packages building at the same time, given I'm using MAKEFLAGS="-j$(nproc --ignore 1)" in "/etc/makepkg.conf" already.
However, when fetching all sources specified on source, source_<arch>, and corresponding signature files if specified, for all PKGBUILDs being synced, I see doing one by one being inconvenient.  I'm wondering if all those fetches/downloads could be done in parallel as well.

This is a makepkg question and so likely out of scope for aur utils.  I don't believe makepkg has a way to download things in parallel outside of setting custom DLAGENTS.  See makepkg.conf(5)

AUR packages/repositories are still retrieved sequentially -
AUR_QUERY_PARALLEL only sets if AUR requests (that is, requests to the
API for dependencies and other information) are done in parallel.
In aurutils 1.5 there was an option to retrieve repositories in
parallel, but it only worked well for tar snapshots, see e.g. commit
5e2b0c3f243e5f4131da02f52ea513fe93087d98.
Downloading the actual sources in parallel is actually not too
difficult: you run env -C <package directory> makepkg --verifysource  -o in parallel. It's not difficult to implement this by yourself with
aur sync -o:
#!/bin/sh
aur sync -o "$@" | while read -r path; do
  env -C "$path" makepkg --verifysource -o &
done
aur sync --continue "$@"
You might limit the amount of background jobs with wait -n, see
https://github.com/AladW/aurutils/blob/master/lib/aur-srcver#L73-L85.
Javier wrote:

Hi !
I understand |aur sync| can parallelize getting the AUR packages
through |AUR_QUERY_PARALLEL=1|, however once all AUR packages are
downloaded, it goes and processes one by one. For the build, install
and such parts of the PKGBUILD, that's fine, and actually I wouldn't
want several packages building at the same time, given I'm using
|MAKEFLAGS="-j$(nproc --ignore 1)"| in "/etc/makepkg.conf" already.
However, when fetching all sources specified on |source|,
|source_|, and corresponding signature files if specified, for
all PKGBUILDs being synced, I see doing one by one being inconvenient.
I'm wondering if all those fetches/downloads could be done in parallel
as well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AladW/aurutils/issues/777, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKASJG3N5GSKKYABFXUSADSNSML7ANCNFSM4TGFDCCA.

Hi @AladW !  Looking at your last answer, that sounds like it, :)  Though not sure if would be wise to incorporate that into aur-sync eventually...  And I misunderstood the AUR_QUERY_PARALLEL then, :(  It would have been nice to download the AUR packages in parallel as well, but I guess as they're small in size it doesn't matter much, the packages sources would be the ones benefiting the most...
Thanks a lot !

authors: AladW Earnestly je-vv

repo: AladW/aurutils

license: isc


text:
List of Error Messages

Do you have a list of the error messages you throw back if the request fails?
this for example
Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={NSUnderlyingError=0x174845370 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=https://app-measurement.com/config/app/1:581104381739:ios:7c52dceae6c38413?platform=ios&app_instance_id=CF122423165645C389B26CC220830354&gmp_version=3402, NSErrorFailingURLKey=https://app-measurement.com/config/app/1:581104381739:ios:7c52dceae6c38413?platform=ios&app_instance_id=CF122423165645C389B26CC220830354&gmp_version=3402, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=50, NSLocalizedDescription=The Internet connection appears to be offline.}

There's no real list of all possible underlying network errors like the one you posted. Those errors don't come from Alamofire but the underlying URLSession networking APIs. You can take a look at URLError to see all of the cases possible, but Apple doesn't provide a simple list that I know of. Alamofire's errors all live in AFError.swift.

Ohhh. I thought that came from Alamofire, Thank's I'll be looking into URLError

authors: jshier kuyazee

repo: Alamofire/Alamofire


text:
Urgent query regarding PublicKeysTrustEvaluator

I am using PublicKeysTrustEvaluator for ssl pinning. My ssl certificate is going to expire in few days so need to renew my ssl certificate. My question is, Do I need to upload new iOS build after certificate renewal or not?

As long as your new certificate uses the same public key it should work fine. The usual best practice is to generate and ship the new cert before it's valid and bundle it alongside the current cert. Then, once the old cert expires, you can remove it at your leisure.

@pcjangir  Were you able to solve the issue with the solution provided by @jshier . We are also in similar situation - our ssl certificate is going to expire in a weeks time.

authors: janakirampalepu jshier pcjangir


text:
'Method' is ambiguous for type lookup in this context

Hi guys,
There is an issue when i try to use 'Method' enum as parameter of an function, gives me error 'Method' is ambiguous for type lookup in this context. If i use it as argument of  Alamofire.request() function there is no problem. What could cause such an error?

XCode: 6.4v
Cocoapods: 0.38.2v
Swift: 1.2v

import UIKit
import Alamofire

class ServerManager: NSObject {

    let ServerPath = "BaseURL"

    class var instance:ServerManager {
        struct Singleton {
            static let instance = ServerManager()
        }
        return Singleton.instance
    }

    func request(method: Method, identifier: String, parameters: [String: AnyObject]? = nil) -> Void{
        Alamofire.request(Method.GET, ServerPath, parameters: nil, encoding: ParameterEncoding.URL, headers: nil)
    }
}

Hi @Elmundo,
Instead of creating a support issue in Github, please open a question on Stack Overflow and tag Alamofire. The Alamofire community is very helpful and supportive. Stack Overflow is the best place to get your question answered quickly and correctly.
Best of luck!

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.

You've to use Alamofire.Method to resolve name conflic

authors: Elmundo InderKumarRathore cnoon


text:
Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)

Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)
My alamofire version is 4.8.2

It means you're getting a 404 response from the server, most likely because the image isn't at the path you specified.

authors: ismailtosun jshier

repo: Alamofire/AlamofireImage


text:
[wip] Swift 2.3

I don't expect this to be merged into master, though it would be nice if a swift2.3 branch was made from it in the same way as https://github.com/Alamofire/Alamofire/pull/1313#issuecomment-227199039.

CC: @kcharwood

Hi @brentleyjones...thanks for putting this together and apologies for it taking us so long to get around to this. I just pushed up a new swift2.3 branch that's all updated and ready to go. We'll do a much better job keeping things up-to-date from here on out to the official Xcode 8 GM.
Cheers. 🍻

authors: brentleyjones cnoon


text:
auro-menu: multiselect

Is your feature request related to a problem? Please describe.
As a business I want to give users the ability to select multiple options from menu items
So that users can select multiple options in the UI.
Blueprint:
https://www.figma.com/file/yMshXAiKZrkLDdiX8N4GKQ/Multi-Select-Combo-Box?type=design&node-id=114-3745&mode=design&t=R007FIBn8d6HGOOY-11
Describe the solution you'd like
A menu with checkboxes so users can select as many as they want.
Describe alternatives you've considered
No response
Additional context
No response
Exit criteria

Auro-menu feature matches the blueprint.
Create refinement meeting team on next step to align on implementation of next step.
As an outcome of the refiement a new issue is created to implement this as either <auro-multiselect> or <auro-combobox multiselect>
When Menu is Multiselect, value is an Array containing all selected menu options.

This work has been moved to auro-formkit and will be completed in https://github.com/AlaskaAirlines/auro-formkit/issues/123

repo: AlaskaAirlines/auro-menu


text:
fix: remove extra spacing on nested menu option when selected #228

Alaska Airlines Pull Request
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Bug Fixes:

Remove extra spacing on nested menu option when selected by hiding the 'nestingSpacer' element.

:tada: This PR is included in version 3.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: AlaskaAirlines/auro-select


text:
API improvement

commander.start().await;
for message in &mut commander {
}

Might be able to become:
for message in commander.start().await {
}

Not applicable anymore

repo: AldaronLau/whisk


text:
AnnotationProcessor doesn't process annoations...

I use AndroidAnnotations and added all dependencies you mentioned, but the class MainFragmentPermissionsDispatcher as described here: https://github.com/hotchemi/PermissionsDispatcher
is not generated if I use it on an EFragment called MainFragment...
Any idea why this doesn't work?
Other dependencies (e. g. lombok) do work with apt xxx :|
I use the current gradle plugin version.
Code sample:
app gradle
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'

android {
    compileSdkVersion 24
    buildToolsVersion "$androidBuildVersion"
    defaultConfig {
        applicationId "xx.xxxxx"
        minSdkVersion 21
        targetSdkVersion 24
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    repositories {
        maven {
            url "https://jitpack.io"
        }
    }
    dataBinding {
        enabled = true
    }
}

dependencies {
    // Android permissions
    compile 'com.github.hotchemi:permissionsdispatcher:2.1.3'
    apt 'com.github.hotchemi:permissionsdispatcher-processor:2.1.3'
    compile 'org.androidannotations:androidannotations-api:4.0.0'
    apt 'org.androidannotations:androidannotations:4.0.0'
    apt 'com.github.AleksanderMielczarek:AndroidAnnotationsPermissionsDispatcherPlugin:0.1.0'
}

project gradle
ext {
    //dependencies
    androidAnnotationsVersion = '4.0.0'
    androidSupportVersion = '25.0.1'
    androidBuildVersion = '25.0.1'
    couchbaseVersion = '1.3.1'
    lombokVersion = '1.16.8'
}

buildscript {
    repositories {
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.3'
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
    }
}

allprojects {
    repositories {
        jcenter()
        mavenCentral()
        maven { url "https://jitpack.io" }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

OneMediaFragment
import android.content.Intent;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.View;
import android.widget.Toast;

import com.couchbase.lite.CouchbaseLiteException;
import com.squareup.picasso.Picasso;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.Bean;
import org.androidannotations.annotations.EFragment;
import org.androidannotations.annotations.FragmentArg;
import org.androidannotations.annotations.ViewById;
import org.androidannotations.annotations.res.StringRes;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;

import java.io.File;
import java.io.FileNotFoundException;

import eu.eatable.PersistentEatableManager;
import eu.eatable.R;
import eu.eatable.events.ChangeBackgroundEvent;
import eu.eatable.events.ErrorEvent;
import eu.eatable.events.GetMediaEvent;
import eu.eatable.events.MediaEvent;
import eu.eatable.persistence.Media;
import eu.eatable.persistence.OneMediaField;
import permissions.dispatcher.NeedsPermission;
import permissions.dispatcher.OnNeverAskAgain;
import permissions.dispatcher.OnPermissionDenied;
import permissions.dispatcher.RuntimePermissions;
import pl.aprilapps.easyphotopicker.DefaultCallback;
import pl.aprilapps.easyphotopicker.EasyImage;

@RuntimePermissions
@EFragment(R.layout.fragment_onemedia)
public class OneMediaFragment extends Fragment {
    @FragmentArg
    OneMediaField oneMediaField;
    @Bean
    PersistentEatableManager eatableManager;

    @StringRes(R.string.error_camera_denied)
    String cameraDenied;
    @StringRes(R.string.error_storage_denied)
    String storageDenied;
    @StringRes(R.string.error_never_ask)
    String NeverAsked;
    @StringRes(R.string.error_image_loading)
    String ImageLoading;

    @ViewById
    View camera;
    @ViewById
    View gallery;
    @ViewById
    View document;
    @ViewById
    View mediaDelete;

    @AfterViews
    public void setup() {
        this.camera.setOnClickListener(event -> {
            openMedia(EasyImage.ImageSource.CAMERA);
        });
        this.gallery.setOnClickListener(event -> openMedia(EasyImage.ImageSource.GALLERY));
        this.document.setOnClickListener(event -> openMedia(EasyImage.ImageSource.DOCUMENTS));
        this.mediaDelete.setOnClickListener(event -> onImageDeleted());
    }

    @Override
    public void onActivityResult(final int requestCode, final int resultCode, final Intent data) {
        super.onActivityResult(requestCode, resultCode, data);

        EasyImage.handleActivityResult(requestCode, resultCode, data, this.getActivity(), new DefaultCallback() {
            @Override
            public void onImagePickerError(final Exception e, final EasyImage.ImageSource source, final int type) {
                //Some error handling
                Toast.makeText(OneMediaFragment.this.getContext(), getString(R.string.error_image_loading), Toast.LENGTH_SHORT).show();
            }

            @Override
            public void onImagePicked(final File imageFile, final EasyImage.ImageSource source, final int type) {
                //Handle the image
                try {
                   ;
                } catch (CouchbaseLiteException e) {
                    e.printStackTrace();
                } catch (FileNotFoundException e) {
                    e.printStackTrace();
                }
            }

            @Override
            public void onCanceled(final EasyImage.ImageSource source, final int type) {
                //Cancel handling, you might wanna remove taken photo if it was canceled
                if (source == EasyImage.ImageSource.CAMERA) {
                    final File photoFile = EasyImage.lastlyTakenButCanceledPhoto(getContext());
                    if (photoFile != null) photoFile.delete();
                }
            }
        });
    }

    @NeedsPermission(value = {Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE})
    public void openMedia(final EasyImage.ImageSource media) {
        switch (media) {
            case CAMERA:
                EasyImage.openCamera(this, 0);
                break;
            case GALLERY:
                EasyImage.openGallery(this, 0);
                break;
            case DOCUMENTS:
                EasyImage.openDocuments(this, 0);
                break;
        }
    }

    @OnPermissionDenied(Manifest.permission.CAMERA)
    public void showDeniedForCamera() {
        EventBus.getDefault().post(new ErrorEvent(this.cameraDenied));
    }

    @OnNeverAskAgain(Manifest.permission.CAMERA)
    public void showNeverAskForCamera() {
        EventBus.getDefault().post(new ErrorEvent(this.NeverAsked));
    }

    @OnPermissionDenied(Manifest.permission.WRITE_EXTERNAL_STORAGE)
    public void showDeniedForStorage() {
        EventBus.getDefault().post(new ErrorEvent(this.storageDenied));
    }

    @OnNeverAskAgain(Manifest.permission.WRITE_EXTERNAL_STORAGE)
    public void showNeverAskForStorage() {
        EventBus.getDefault().post(new ErrorEvent(this.NeverAsked));
    }
}

I've deleted all irrelevant stuff and some AndroidAnnotations stuff because of overhead - it works, even with apt and lombok.

Hi,
can you provide code example: Gradle build files and fragment using Android Annotations and Permissions Dispatcher.

Here is what I've found:

Last working version of lombok is 1.16.0
Lombok in version 1.16.12 is working if project is also using Retrolambda

It's Lombok issue. Therefore I'm closing this one.


text:
[Bug] Slow RPC response times

🐛 Bug Report

Since latest updates (1.3.16, maybe 1.3.15 too), RPC calls to node sometime take way longer to get response from.
Specifically method "getblockcount".
Steps to Reproduce

Get your node running
Run following calls (in .sh script preferably)
curl -s --data-binary '{"jsonrpc": "2.0", "id":"documentation", "method": "getpeerinfo", "params": [] }' -H 'content-type: application/json' http://:3030$1/   | jq '.[].peers?';
echo "NODE INFO:";
curl -s --data-binary '{"jsonrpc": "2.0", "id":"documentation", "method": "getnodeinfo", "params": [] }' -H 'content-type: application/json' http://:3030$1/ | jq '.result?';
printf "CONNECTION COUNT:\t";
curl -s --data-binary '{"jsonrpc": "2.0", "id":"documentation", "method": "getconnectioncount", "params": [] }' -H 'content-type: application/json' http://:3030$1/ | jq '.result?';
printf "BLOCK COUNT:\t\t";
curl -s --data-binary '{"jsonrpc": "2.0", "id":"documentation", "method": "getblockcount", "params": [] }' -H 'content-type: application/json' http://:3030$1/ | jq '.result?';
echo "BLOCKS MINED:";
curl -s --data-binary '{"jsonrpc": "2.0", "id":"documentation", "method": "getnodestats", "params": [] }' -H 'content-type: application/json' http://:3030$1/ | jq '.[].misc?.blocks_mined?';
echo "OVERALL:";
curl -s --data-binary '{"jsonrpc": "2.0", "id":"1", "method": "getnodestats" }' -H 'content-type:application/json' http://:3030$1/ | jq '.result?';
Sometimes its instant, sometimes it takes 30+ seconds to respond

Expected Behavior

Expected to be instant
Your Environment

 1.3.16

 1.24.3, 1.55.0

 Ubuntu 20.04

I can confirm this :+1:

It can happen when the node is currently aggressively syncing blocks - this can cause many storage-related requests to get queued, meaning the RPC is waiting its turn.
This behavior is currently expected, and we don't want to prioritize RPCs over network operations, but this can certainly be improved.
Cc https://github.com/AleoHQ/snarkOS/issues/1176, which is a related issue

I confirmed that this applies to other storage-related requests as well.

authors: heavyweapon00 ljedrz zosorock

repo: AleoHQ/snarkOS