Fix issue where ecdsa and other key types are not synced from LDAP (#5092)

Implements #5092
Currently LDAP sync support only ssh prefixed keytypes, so other keytypes are simply ignored. This PR improves the check by using the native parsing of the public authorized key line. I tried to find out to add a test ecdsa key but not sure where to place it.
I think this are only the calculated fingerprints:
https://github.com/go-gitea/gitea/blob/master/integrations/auth_ldap_test.go#L43-L46
Based on this
https://github.com/go-gitea/gitea/blob/master/integrations/api_admin_test.go
or this
https://github.com/go-gitea/gitea/blob/master/integrations/api_keys_test.go
I would like some advice on the test, as it is highly valuable.

Codecov Report

Merging #5094 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #5094      +/-   ##
=========================================
- Coverage   37.41%   37.4%   -0.01%
=========================================
  Files         306     306
  Lines       45374   45375       +1
=========================================
- Hits        16976   16974       -2
- Misses      25946   25947       +1
- Partials     2452    2454       +2

Impacted Files
Coverage Δ

models/user.go
43.85% <100%> (+0.05%)
:arrow_up:

models/repo_indexer.go
50.84% <0%> (-1.28%)
:arrow_down:

Continue to review full report at Codecov.

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

Could somebody help me out how to test this case?

@xor-gate drone CI has LDAP service by @lafriks, maybe you can test with it.

Yes I understand, I had a look at the CI some time ago. We should add at least an ecdsa key to the LDAP server test image then. At here https://github.com/go-gitea/test-openldap/blob/master/bootstrap/data/10_people_hermes.ldif#L24

I have added an ecdsa key to the test-openldap image as PR.

@xor-gate feel free to submit PR to add key to that test ldap server

I updated the PR with the latest changes from master https://github.com/go-gitea/gitea/commit/e2292c7a1c42e024ed6da313fac91228c2a31746 seems master has broken CI build: https://drone.gitea.io/go-gitea/gitea/3652/10

@xor-gate you need to update tests as more ssh keys are now returned from ldap in test TestLDAPUserSSHKeySync

@lafriks finaly the ldap integration test passes now horay 👍 gives me more trust with the added test key


[d3d9] Early return D3D_OK on present with a NULL m_window

Tenatively fixes #3894.
Creating a device with NULL hFocusWindow and hDeviceWindow already works, so does getting the backbuffers. However, Present crashes because  m_wctx is uninitialized when m_window is nullptr.
Moving the return a bit earlier makes it work just fine however. Haven't checked if this messes with anything else, but I doubt any of the m_wctx stuff is relevant for this use case.
I have yet to check if rendering to the backbuffer works in this situation, but I think it will. Drafting until I actually check on that bit.

Wrote a test that fully works with this PR: https://github.com/WinterSnowfall/d8vk-tests/blob/da4c2a1b9cdecb6b915f60e4aad1587ad06fa8cd/d3d9/d3d9_triangle.cpp#L671 and checks:

device creation with null hFocusWindow/hDeviceWindow
getting the back buffer
drawing to the back buffer
presenting

As a side-note the back buffer dimensions are the ones set in the present params, even if in this case, so rendering and everything else should work just as it normally would.

P.S.: Unfortunately can't confirm that this fixes the crash in the d3d9 Wine visual tests, because those have regressed on master with: b4ed1081058be5361784f686aa07b194057dd8a6. Namely it will now hang during fog_test following:
visual.c:2412: Test failed: Untransformed vertex with vertex fog and z = 1.0 has color 00ff0000

While the above test passes on WineD3D and dxvk with this PR, WinXP actually fails straight up on device creation. I've asked @Blisto91 to check what happens on modern Windows.

I'll undraft, because it technically does solve a crash on Present in this scenario. Remains to be seen at a later date if we want to support it at all, but things should be fine in null window territory with this minor fix.

I've asked @Blisto91 to check what happens on modern Windows.

And ofc it passes on modern Windows. Guess the Wine tests were right after all.


Integrated dependency manager

I have integrated all dependencies with govendor and also updated the travis configuration since we don't need to download the dependencies anymore. This also fixes #29.

You forgot to vendor test packages. See the Trivis output:
models/models_test.go:10:2: cannot find package "github.com/smartystreets/goconvey/convey" in any of:
	/home/travis/gopath/src/github.com/go-gitea/gitea/vendor/github.com/smartystreets/goconvey/convey (vendor tree)
	/home/travis/.gimme/versions/go1.6.linux.amd64/src/github.com/smartystreets/goconvey/convey (from $GOROOT)
	/home/travis/gopath/src/github.com/smartystreets/goconvey/convey (from $GOPATH)

You forgot to vendor test packages. See the Trivis output

Working on it.

Ready for review/merge

LGTM

Rebased

LGTM


Tekton Approval Task Yaml apply failed

Expected Behavior
Yaml file should be   applied
Actual Behavior
Not Able to apply yaml file
Steps to Reproduce the Problem
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
  name: stage-approval-task
spec:
  inputs:
    params:
      - name: approvalDecision
        description: "Approval decision (approve/reject)"
        type: string
  steps:
    - name: stage-approval-task
      image: my-approval-image
      command: [sh, -c]
      args: ["echo 'Approval decision: $(inputs.params.approvalDecision)'"]

Additional Info

Kubernetes version:
Output of kubectl version: 1.26

(paste your output here)

Tekton Pipeline version:
Output of v0.48.0 or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

kubectl apply -f stage-approval-task.yaml
Error from server (BadRequest): error when creating "stage-approval-task.yaml": admission webhook "webhook.pipeline.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "inputs"

@tppalani Thanks for raising an issue, however this is not a bug.

unknown field "inputs"

inputs is not a valid field in a v1beta1 Task, see https://tekton.dev/docs/pipelines/pipeline-api/#tekton.dev/v1beta1.Task
The correct format is:
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
  name: stage-approval-task
spec:
  params:
    - name: approvalDecision
      description: "Approval decision (approve/reject)"
      type: string
  steps:
    - name: stage-approval-task
      image: my-approval-image
      command: [sh, -c]
      args: ["echo 'Approval decision: $(inputs.params.approvalDecision)'"]

/remove-kind bug

thanks for the support


Update CMIP6_required_global_attributes.json

On 11/24/16, 6:33 AM, "Heinz-Dieter Hollweg" wrote:

Dear Paul,

according to Appendix 3 of
   CMIP6 Global Attributes, DRS, Filenames, Directory Structure, and CV’s
on
   https://drive.google.com/file/d/0B-X2uY_FGt7XM0JRRjQwNGhFRjQ/view

the required attribute 'grid_resolution' was changed to
'nominal_resolution'.

Unfortunately, this change didn't make it into
   CMIP6_required_global_attributes.json

Thanks,
Cheers,
hdh

______
Dr. Heinz-Dieter Hollweg
Abteilung Datenmanagement
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstraße 45a • D-20146 Hamburg • Germany

Phone: +49 40 46009
FAX:   +49 40 46009
Email:
URL:   www.dkrz.de

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784

@dnadeau4 I wonder why CMOR tests didn't pick this issue up?

Fixed by #158 and @dnadeau4


Quiver: after proxying you appear offline to friends and can't proxy again

Seen with Quiver 0.0.3 (still need to test this in latest version).  After proxying you appear offline to friends and can't proxy again without restarting

This appears to be fixed (testing with code from https://github.com/uProxy/freedom-social-quiver/pull/2)


Not compatible with Twig 2.*

class AsseticFilterFunction extends \Twig_SimpleFunction, which is final class since Twig 2.0
https://github.com/kriswallsmith/assetic/blob/e911c437dbdf006a8f62c2f59b15b2d69a5e0aa1/src/Assetic/Extension/Twig/AsseticFilterFunction.php#L14
I have no idea why this didn't fail on travis before

Possible Duplicate of #835


Function execution took ****** ms, finished with status: 'connection error'

This code gives me this error:
Function execution took 11879 ms, finished with status: 'connection error'
How can I fix this?
Code:
exports.businessUpdated = functions.firestore.document('businesses/{uid}').onCreate(event => {
// Get the note document
const note = event.data.data();

// Add an 'objectID' field which Algolia requires
note.objectID = event.params.noteId;

// Write to the algolia index
const index = client.initIndex(ALGOLIA_INDEX_NAME);
return index.saveObject(note);

 });

i got same problem, have you solved it?

@aryayudha is it possible you're trying to access an external service but are still using the free plan?


lower mem fraction for pax tests to avoid OOM

Similar to https://github.com/NVIDIA/JAX-Toolbox/pull/431, this PR reduces the amount of memory preallocated to JAX in the nightly Pax tests to prevent NCCL OOM errors.

All Rosetta Pax and ViT tests passed in the presubmit: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/7464961228. @yhtang are we good to merge?

LGTM


Continuation of "How to Use This Tool" issue

I was asked to create another issue, so here it is, continuing from https://github.com/game-ci/unity-activate/issues/77#issuecomment-1210511875
I have filled them all:

This is for personal license if that helps with any context.

The code you're hitting literally checks if the value is passed or not
https://github.com/game-ci/unity-activate/blob/33cd3ea96f11f3a1ddcf8fa9d8d265d5ea81e240/dist/entrypoint.sh#L13
The env variable is (directly) passed from the action into the docker image here:
https://github.com/game-ci/unity-activate/blob/33cd3ea96f11f3a1ddcf8fa9d8d265d5ea81e240/src/model/docker.ts#L26
I don't see any reason why that would suddenly stop working.
Could you try echoing your UNITY_LICENSE variable from secrets?

OK I figured it out. It looks like we are supposed to pass the contents of the .ulf file and not the .alf file to UNITY_LICENSE secret. It is working now. Thank you.

To keep it factual: it would have given a different error if you had provided the .alf file.
And you're correct, the contents of the .ulf file are what are needed for the activation using this action.

I did pass the contents of the .alf file to UNITY_LICENSE secret before starting to write the workflow for the manual activation. That was the output I got when I first executed it. The second and third executions (without changing the secrets, mind you) gave a different output:
Requesting activation (personal license)
###########################
#         Failure         #
###########################

Please note that the exit code is not very descriptive.
Most likely it will not help you solve the issue.

To find the reason for failure: please search for errors in the log above.

Exit code was: 1
Error: The process '/usr/bin/docker' failed with exit code 1

Requesting activation (personal license)

Sounds right.
I'm unable to explain why the secrets didn't pass the second and third execution. The code in this action doesn't have any conditional code beyond checking if the variable being set or not. If you didn't change the secret then I would go as far as to say that GitHub may not have propagated the change to all machines somehow.

Possible, maybe there is an undocumented delay in when the secrets are made available to the jobs after creation, or maybe I have hit an edge case.


relative image path ?

Sorry I was not able to handle by myself...
Have a markdown containing an image tag:
![My image](./images/gravity-book-fr.jpg "My image")

I was assuming, the mdx-loader would resolve the picture from the markdown document file, and then let webpack do the regular job (take the picture, move it to the static dist, hash...) .
But it looks it's not the case...  Is it something I can achieve (I mean with regular markdown, without  import './img.jpg')
Have you any thoughts ? Thanks

I'd really like to have support for this, but don't have time to implement it right now.
Would you be interested in doing this as a PR?

Same time situation for me, but I would love too... Let's see.

As a workaround, I am using the components prop to modify an img tag with a relative src to an absolute path:
imageFactory = ({ src, ...props }) => {
  const imgSrc = src.startsWith('http')
    ? src
    : <construct-absolute-url>

  return <img {...props} src={imgSrc} />;
};

// ...

<Document components={{ img: this.imageFactory }}


Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[ ] I have performed a search and couldn't find this package.
[ ] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: KDE e.V.
Publisher Url: http://kde.org
Package Name: KDE.Connect.Release
Description: http://apps.kde.org/kdeconnect
Package Version: master-821
Installer URL: http://binary-factory.kde.org/view/Windows 64-bit/job/kdeconnect-kde_Release_win64/lastSuccessfulBuild/artifact/kdeconnect-kde-21.12.0-821-windows-msvc2019_64-cl-sideload.appx
Current Package Identifier (for new versions): master-821

This already exists as KDE.KDEConnect.


Write polymorphic get method for accessing tabs via TabsManager instance.

For the initial version accessing tabs by ids and url patterns will be sufficient.


Tests/update testing pipeline

What?
Update the CI testing pipeline to run all Jax and TF tests when merging into feature/jax-systems, develop or main.
Why?
We were currently only running the tf tests.
How?
Rename bash_scripts/tf_tests.sh to bash_scripts/tests.sh and run all tests in the tests directory.
Extra
Kept the lightweight bash_scripts/jax_tests.sh for now, but we can delete it.
There are some Jax and TF tests that are faulty and break the current testing pipeline I have skipped these tests using @pytest.mark.skip these tests need fixing and can be fixed in separate PRs.

Thanks @RuanJohn! Confirmed that make run-tests works on my side after make build. I think that this is why all the warnings are showing up.
It's not a breaking issue, since we don't put our tests within classes, but the warnings are frustrating. Calling the classes TestSomething causes pytest to try test them, so we can solve this by either renaming the offending classes or adding __test__ = False to the class (see the bottom of this page). I.e.:
# Will not be discovered as a test
class TestClass:
    __test__ = False

Incorporated these changes @mmorris44 :+1:

Just had to resolve an adders merge conflict. I also ran make run-tests locally and all looks good (240 passed, 17 skipped in 50.47s ). Happy to merge 😄

@AsadJeewa please run make run-integration-tests as well to see if it works.


Setup Push and Pull Pipelines using GitLab?

Is it possible to setup the Push and Pull Pipelines in GitLab? Basically, both pipelines just use a docker image. Can we reproduce this in GitLab?

It absolutely should be possible. As long as you have the pre-reqs on the runner/agent this should work.
Checkout these pipelines here in the AzOps Accelerator for examples of what you'll need to do: https://github.com/Azure/AzOps-Accelerator/tree/main/.github/workflows
Required software (from the top of my head):

PowerShell Core
PowerShell Az module
PowerShell AzOps module
PowerShell PSFramework module
JQ


How to view the predicted and ground truth bboxes after training ?

Please refer to the examples in the doc.


NPE invoking ProviderInfo.loadXmlMetaData(PackageManager, String)

Goal: capture image via camera.
Device: Google Nexus 6P
OS: Android 7.1.1, API 25
Exception at line #95.
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference
                                                                       at android.support.v4.content.FileProvider.parsePathStrategy(FileProvider.java:583)
                                                                       at android.support.v4.content.FileProvider.getPathStrategy(FileProvider.java:557)
                                                                       at android.support.v4.content.FileProvider.getUriForFile(FileProvider.java:399)
                                                                       at com.kbeanie.multipicker.core.ImagePickerImpl.takePictureWithCamera(ImagePickerImpl.java:144)
                                                                       at com.kbeanie.multipicker.core.ImagePickerImpl.pick(ImagePickerImpl.java:120)
                                                                       at com.kbeanie.multipicker.api.CameraImagePicker.pickImage(CameraImagePicker.java:74)

Any clues are greatly appreciated.

Do you have an xml file named paths.xml in your resources folder? Could you give some more logs?

Can you post the code where you initialize the picker?

Yes, I have res/paths.xml. Also, the only calling logic is takeVideo() and I init right there just like the demo.

Lower API devices behave correctly with my logic, whether retrieving image or video, from gallery or capturing via camera.
API 24+ devices are able to pick image or video from gallery however they NPE crash when I attempt to capture image or video via camera.

Can you post the contents of the res/paths.xml file please. And also, a detailed log report.

Here are both files.

The XML seems to be an issue. For now, can you just rename this XML
file(paths.XML) to something else and see if it solves the problem. If it
does, I will fix this bug in the library, and you can go back to the paths
file name.
On Dec 13, 2016 2:07 AM, "Eric"<EMAIL_ADDRESS>wrote:

Here are both files
https://gist.github.com/es0329/c4cce002d5100196db76f50a2c2b5d14.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/coomar2841/android-multipicker-library/issues/69#issuecomment-266545572,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOdKXgwAS0LAkP2H9SVAkgjuNFzcNXUks5rHbCYgaJpZM4LJZX3
.

Ok, cool. Tried a couple different names for that file just now but I get same crash result.

As I understand you have your own file provider? Are you using
tools:override in the declaration?
On Dec 13, 2016 2:28 AM, "Eric"<EMAIL_ADDRESS>wrote:
Ok, cool. Tried a couple different names for that file just now but I get
same crash result.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/coomar2841/android-multipicker-library/issues/69#issuecomment-266550591,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOdKTNtsL8jhzqy0n76pw8g58wl6jEeks5rHbVfgaJpZM4LJZX3
.

I've updated the Gist with to show my provider's declaration AndroidManifest.xml.

Can you try this? Create a class extending FileProvider. And use that class name here? If that solves the issue for you, I will update the library to use a custom FileProvider.

Subclassing FileProvider to have a custom name seems to fix the issue on my end. Thanks for looking at this with me.

Great. Thanks for your bug report. In the next version, I will add a custom FileProvider so that the applications don't have to use a custom one.


Add RoverScience Revisited from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of theSpeare, to add RoverScience Revisited to CKAN.
Mod details:
name = /mod/948/RoverScience%20Revisited
author = theSpeare
abstract = RoverScience is a KSP plugin that attempts to add more interactive functionality to the science system FOR rovers. You drive rovers to search for science spots which you may then decide to investigate and analyze for science gain.
license = Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License
Homepage = http://forum.kerbalspaceprogram.com/index.php?/topic/67979-113-roverscience-revisted-212-better-interactive-science-for-rovers/
description = RoverScience is a KSP plugin that attempts to add more interactive functionality to the science system FOR rovers. You drive rovers to search for science spots which you may then decide to investigate and analyze for science gain.
Please see forum thread at http://forum.kerbalspaceprogram.com/index.php?/topic/67979-113-roverscience-revisted-212-better-interactive-science-for-rovers/.   For more details.
Please direct questions about this pull request to theSpeare.

Is there anyone who can help me out with this?


Fix typos and encoding issues

"Untitled.txt" had been jammed in the nuclear license
The section symbol had been corrupted in OSL 2.1
The French characters had been corrupted in RPSL 1.0

these issues have been fixed in the new XML repo. thanks!


LogReceiverWebServiceTarget.CreateLogReceiver()  should be virtual

IWcfLogReceiverClient LogReceiverWebServiceTarget.CreateLogReceiver() should be virtual
fixes #1050
bug as it was a non intended breaking change.

Current coverage is 72.92%

Merging #1054 into master will not affect coverage as of c0f865c

@@            master   #1054   diff @@
======================================
  Files          263     263
  Stmts        14875   14875
  Branches      1618    1618
  Methods          0       0
======================================
  Hit          10847   10847
  Partial        416     416
  Missed        3612    3612

Review entire Coverage Diff as of c0f865c

Uncovered Suggestions

+0.08% via ...argets/FileTarget.cs#1918...1930
+0.08% via ...argets/FileTarget.cs#1555...1567
+0.08% via ...c/NLog/LogFactory.cs#180...191
See 7 more...

Powered by Codecov. Updated on successful CI builds.

NLog 4.2.1 has been released! https://www.nuget.org/packages/NLog/4.2.1


Update csv for single deployment with 3 controllers (#314)

Addresses: https://github.com/stolostron/multicloud-operators-subscription/issues/926
Signed-off-by: Jonathan Marcantonio<EMAIL_ADDRESS>

/lgtm


Make torchmetrics PEP 561 compatible

Closes #201

I think this is all that's necessary? I admit I'm not super familiar with Python packaging, so I wouldn't be surprised if I missed something.


Add support for scalar product operator

We need a scalar product operator for calculating the enstrophy in the domain. The CUDA kernel can be implemented in a more performant way, there are lots of examples out there, but the current implementation is not bad. We only need to run this once in maybe 100/1000 iterations for post-processing so not worried too much.

We'll probably have padding in our data structure when the grid size not a multiple of SZ and then if we use a library to calculate the dot product it'll be hard to eliminate the padded entries.


Dehradun ⤋ Call Girls ᐄ in 𝔻𝕖𝕙𝕣𝕒𝕕𝕦𝕟 750551-5O38 𝔹𝕪 𝕁𝕠𝕪𝕒

Dehradun Call Girls +750551-5O38 Vip escorts Cleo is the embodiment of allure and sophistication, a captivating brunette with a figure that commands attention. Her long, graceful legs seem to go on forever, adding to her already striking presence. Cleo's plump lips and model-like features give her an air of elegance that is simply irresistible. Her style and image have an innate magnetism that leaves no man untouched.
Hi gorgeous guy! I’m Leyla a delightful girlfriend experience escorts in Dehradun. Have you been looking for long? Hope not. I’d want to help you with that- just stop and look at my photos again? Do you see what I see. A beautiful baby doll that is full of fun and feminine energy ! It’s hard to come along but it’s all I love for you to feel a soft touch and a sensual but a quiet smart and witty company @tanukiti1987 ⭐7O788*926O1
A good laugh,a good dinner and bouquet of flowers even better pink roses ,pink champagne and I’ll be a happy one! Dehradun escorts are great but how many of them know about secret city locations ,as I do know many so please ask me anytime . I speak english of course and my accent is the most charming as is my sweet voice. I’m so playful humorous and smiley a real treasure for your pleasure buds. Make yourself feel pampered in so man
Niky is as serene and naturally beautiful as the garden of the same name. Fresh, smiling and friendly premium escorts Dubai, she is indeed a sight for sore eyes when you are in dire need of relaxation
Confident and playful, Niky is also caring and loving. Her incredible looks and innate sexiness have not done anything to dull her extremely modest nature, and she is someone you can feel a real connection with.
Gorgeous figure, gorgeous face, gorgeous personality. The perfect choice! No more need be said really, you just have to meet her, she’s amazing

Dehradun ⤋ Call Girls ᐄ in 𝔻𝕖𝕙𝕣𝕒𝕕𝕦𝕟 750551-5O38 𝔹𝕪 𝕁𝕠𝕪𝕒 #27610
Dehradun ⤋ Call Girls ᐄ in 𝔻𝕖𝕙𝕣𝕒𝕕𝕦𝕟 750551-5O38 𝔹𝕪 𝕁𝕠𝕪𝕒 #27610
Dehradun ⤋ Call Girls ᐄ in 𝔻𝕖𝕙𝕣𝕒𝕕𝕦𝕟 750551-5O38 𝔹𝕪 𝕁𝕠𝕪𝕒 #27610
Dehradun ⤋ Call Girls ᐄ in 𝔻𝕖𝕙𝕣𝕒𝕕𝕦𝕟 750551-5O38 𝔹𝕪 𝕁𝕠𝕪𝕒 #27610
Dehradun ⤋ Call Girls ᐄ in 𝔻𝕖𝕙𝕣𝕒𝕕𝕦𝕟 750551-5O38 𝔹𝕪 𝕁𝕠𝕪𝕒 #27610


⚠ Bofrost.lu has degraded performance

In 0da425c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1453 ms

Resolved: Bofrost.lu performance has improved in 3014642 after 9 minutes.


Fixes and improvements for SAP HANA

pass HANA-specific properties to the Docker image
add support for specifying a separate schema

Nice !!


FOREGROUND_SERVICE_MICROPHONE doesn't show any prompt. This is a new permission for android 14 and above.

 private fun requestPermissions() {
        val perms = mutableListOf(
            ACCESS_FINE_LOCATION,
            RECORD_AUDIO, // Add microphone permission
        )
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
            perms.add(POST_NOTIFICATIONS)
        }
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
            perms.add(FOREGROUND_SERVICE_MICROPHONE)
        }
        val permsToRequest = mutableListOf<String>()
        val rationaleMessages = mutableListOf<String>()

        // Check which permissions are missing and need to be requested
        for (perm in perms) {
            if (!EasyPermissions.hasPermissions(this, perm)) {
                permsToRequest.add(perm)
                // Add rationale messages for missing permissions
                when (perm) {
                    ACCESS_FINE_LOCATION -> rationaleMessages.add(getString(R.string.permission_location_rationale))
                    RECORD_AUDIO -> rationaleMessages.add(getString(R.string.permission_record_audio_rationale))
                    POST_NOTIFICATIONS -> rationaleMessages.add(getString(R.string.permission_notifications_rationale))
                    FOREGROUND_SERVICE_MICROPHONE -> rationaleMessages.add(getString(R.string.permission_record_audio_in_background_rationale))
                }
            }
        }

I think this is as designed. and you can use either one: RECORD_AUDIO  or FOREGROUND_SERVICE_MICROPHONE , it has the same prompt, no need to use both.


[UPDATE ALGORITHM] Square os sorted array

Description:
I would like to add any function which give square od sorted array
Checklist:

[X] Contributor in GSSoC-ext
[X] Want to work on it

Affected Algorithm:
Mention which algorithm you want to update and the specific directory where you want to change.
Additional Information:
Any extra details or suggestions related to the update.

Do not create new issues until your previous one complete, wait until you’re assigned.


Add unit tests for generate/generate.go

Partially completes #6 by adding unit tests for the generate package. These unit tests verify that given a pwlen = N you get a generated password that is at least length N. Uses the utf8.RuneCountInString so it should be safe on multi-byte characters.
You can verify that is passes by running:
go test -v generate/generate_test.go

Problem is for small values this will fail, right? Like the test for 5 character passwords?

Seems to work fine when I test locally, why would it fail? Should generate.go make 24 the lowest length a password could be? It doesn't do that right now.

I see. I didn't read the code when I was on my phone. The test is a good start.


Ranges between arbitrary width integer constants

We reject ranges like 1..10 between two arbitrary width integers. This is what the spec seems to say, but there are tests in the test suite that do it anyway (e.g., examples/checker_tests/good/table-entries-range-bmv2.p4).

Filed a spec bug p4lang/p4-spec#842 for this.

Unless I missed it, the range issue was not mentioned in p4lang-p4-spec#842

Oops, mixed it up with masks &&& since they're basically the same problem. I added a comment over there.


Response not displaying returned data format

Response not displaying returned data format:

But there is a reference in the data:

closed with https://github.com/Informatiqal/qlik-api-browser/commit/0ac496e75da98bf0c10ee7fd5d079c1e1171fd04


Hover effect on navbar of homepage

The hovering effect on navbar of homepage is making the visibility of navbar icons difficult, the color is looks very blended to the background image.

Please assign this task to me.

@sunny0625 @khushi-joshi-05 please assign me this issue

I'm looking forward to work on this issue @khushi-joshi-05  under GSSoC'24. It would be a pleasure for me to work in this issue. Kindly assign this issue to me.


Remove allow backup from manifest

Thanks for the pull request. I will release this for you sometime tomorrow afternoon.

Available in:
dependencies {
    compile 'com.github.sundeepk:compact-calendar-view:1.8.2'
}


GUI interface for option specification

At the moment all configuration is done through editing a JSON file. This tool should be usable by non-programmers, so a GUI interface will eventually be needed.
Ideally, such a tool should also provide quick feedback about the effects of altered options - showing one or more example tiles immediately rather than writing all the tileset images.
It may also be nice to have the tileset example application (#10) accessible from or integrated with the GUI editor. But it would be OK to wait for full tileset generation before using that.

[ ] GUI option editor
[ ] Integrated example tile generator
[ ] Access/integrate with landscape viewer (#10)

This will be low-priority until the options specification becomes less volatile, or a solution is found that autogenerates the GUI from the options schema.

How do you feel about using Qt for this? It will be a nice learning opportunity for me 😄. We could discuss input options during this week and I think I'll be able to start around the coming weekend.

Qt would be a good choice for this.

Closed in #159. There are still points here to resolve, but they can be split into separate issues now.


SHA256 for LSH instead of np.packbits

Hi @tornikeo! I did some work related to your pull request (https://github.com/pluskal-lab/DreaMS/pull/1) and just want to let you know that I’ve updated the method for handling LSH binary arrays (1fdffa2361c32f6536a2a9064f2e7719f77482c3 and 9e346ce0ac2c99e6ec2a4f0b57a32dda77b145d5). Instead of converting the arrays to integers using np.packbits, they are now converted to strings and hashed with SHA256. This allows for using an arbitrary number of hyperplanes (not necessarily divisible by 64) and should result in fewer collisions without affecting computation time.

@roman-bushuiev Hey. That's neat. I tried something similar in my own project:
@lru_cache
def _random_kernel(n_elem, n_planes):
    random_state = np.random.RandomState(42)
    # Generate the random normal matrix
    random_matrix = random_state.normal(size=(n_elem, n_planes))
    return random_matrix

def hash_spectrum(
    peaks_mz,
    peak_intensities,
    num_planes=512,
    min_mz=1e-4,
    max_mz=1e3,
    num_bins=2048,
):
    kernel = _random_kernel(
        num_bins,
        num_planes,
    )
    b_peaks = bin_spectrum(
        peaks_mz, peak_intensities, min_mz, max_mz, num_bins
    ).reshape(1, -1)
    proj = b_peaks @ kernel >= 0
    proj_signs_u64 = np.packbits(proj, axis=1).view(np.uint64) # N, (n_hyp//8)
    buffer = proj_signs_u64[0].data.tobytes()
    hash_ = np.int64(int(hashlib.md5(buffer).hexdigest(), 16) % (2**62))
    return hash_

It's basically a functional-style hashing for spectrum.  I have yet to test it out "in the wild" though. Also the last bit % (2**62)) is a bit questionable, but I don't want any overflows in np.int64 :sweat_smile:


GUVNOR-2582 : Verification & Validation: Document range checks and single hit [fixes]

Please merge https://github.com/droolsjbpm/kie-docs/pull/109 first!

@mrietveld https://github.com/droolsjbpm/kie-docs/pull/109 merged. Can you resolve the conflicts here, please, then I can merge this as well. Thanks.

Closing, because the fixes have already been applied in another commit.

@mrietveld Are you sure? I fetched and built the latest master and @Rikkola mistakes are still present.

(and mine)


[ENHANCEMENT] Align response-header-size options and bump it higher

Describe the use case:
It's been pretty common that we've heard of people running into issues when they try to log in, and the token in the response header is so large that it exceeds the max size of the buffer.  There are application-side reasons that this can occur, such as a web component having a default value. But there is also the ingress-side configuration which often appears as a 500 without a stacktrace.
These configuration options should be unified, and we should make sure this option is sufficiently large.
Currently, the options for the ingress is
      nginx.ingress.kubernetes.io/proxy-buffer-size: '128k'

And the option for the web components is the default 8KB  for Jetty:
https://docs.spring.io/spring-boot/appendix/application-properties/index.html#application-properties.server.server.jetty.max-http-response-header-size
server.jetty.max-http-response-header-size
The following should be the env variable representation:
SERVER_JETTY_MAX_HTTP_RESPONSE_HEADER_SIZE
However, it's important to note that Optimize sets this value explicitly and uses their own variable for it. I'll try to find a link to it.

Describe the enhancement/feature:

Desired outcome and acceptance tests:

The env for optimize would be:
CAMUNDA_OPTIMIZE_CONTAINER_MAX_RESPONSE_HEADER_SIZE_BYTES = 32768


Neon Glass Button

Fixes Issue
Closes #1133

Changes proposed
Added a Neon Glass Button

Screenshots

Checklist

[X] You've linked this PR to the correct issue.
[X] You have checked that the code is working correctly.
[X] You ⭐ the repository!

Note to reviewers

Please check #1346

@Spyware007 hey, will my pr gonna merge as i have sent them before 20 June only!

check the data.js file. The data of others were compromised. revert the changes for us to approve the PR.

@adity2911 Hey, sorry about it. I've tried my best to retrieve the latest data and then again pushed my changes on it!
Can you please check now!


How can I use webcam(IntelRealsense) as input instead of mp4 file

To Author:
I am currently using recorded mp4 file as input to do the vehicle detection on Windows 10. However, if I want to use your IntelRealsense camera D430i as the input. Do you have any idea? In Linux we use dev/video0 as input. How about Windows?
I use -i cam but the error occured.

Jonathan Sung

Hi @laifuchicago  It looks as though you are trying to access a video stream (RGB), using the RealSense camera as a video webcam instead of using an mp4 file as the video source.  Is that correct, please?
Before we carry on, it is also important to confirm which model of camera you are using.   Your model is stated as D430i.  I wonder though if you actually have a D435i that is being mis-identified as a D430i (suggesting that the RGB sensor inside the camera is not being detected by the camera's firmware driver).
If you do have a D435i and the RGB sensor was not detected then you would not be able to access the RGB video stream.

To Author:
My device is D435i , and my computer can detect that by using Intel Realsense Viewer like the figure below, its RGB

Jonathan Sung

I found a similar looking case about object_detection_demo_ssd_async.py on the Intel OpenVINO forum where it was recommended to pass cpu_extension.dll with the -l condition, like you did with vehicle-detection-adas-binary-0001.xml -l
https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/python3-object-detection-demo-ssd-async-py-not-working/m-p/1157608/highlight/true#M13608

To Author:
Actually I can run with mp4, my problem is how to replace the input with realsense camera.
Jonathan Sung

I ran tests with RealSense cameras in ordinary non-RealSense RGB video programs such as Skype on two different Windows PCs.  On one PC the RealSense RGB stream worked instantly when plugged in without having to change any settings, like an ordinary USB webcam.  On the other PC the camera was detected but refused to show the RGB video.
I ran the tests both with the RealSense SDK (librealsense) installed and with it not installed.   On the PC that it worked on, the results were the same.   So long as the PC is able to show the RGB then it is enough just to have the RealSense drivers showing as present in the Device Manager - the presence of the RealSense SDK is not necessary.
So it may just be that the Windows PC that you are using is one of the ones where the stream does not work immediately when the camera is plugged in, and a different Windows PC may have different results.   There may be nothing that the RealSense support team can do to correct this if it is a Windows related problem.

Hi @laifuchicago   Do you require further assistance with this case, please?   Thanks!

Hi @laifuchicago   Do you require further assistance with this case, please?   Thanks!

Case closed due to no further comments received.

Case closed due to no further comments received.


ProductDomain -> VcatDomain

The notion of a product of domains is really about concatenation of the inputs. Renaming it to VcatDomain makes this clear, and opens up the possibility of HcatDomain and HvcatDomain, so that:
[1; 2] in VcatDomain(1..2, 2..3)
[1 2] in HcatDomain(1..2, 2..3)
[1 2; 3 4] in HvcatDomain([1..2 1...2; 3..4 3..4])

Wait, I got it: all we need is ApplyDomain and BroadcastDomain which will replace ProductDomain, MappedDomain, etc.
So x in ApplyDomain(f, A, B, ...) if there exists a in A and b in B such that x == f(a,b). So [1,2] in ApplyDomain(vcat, 0..1, 1..2).

This is a neat idea and I've used it partially in #55. The current implementation is such that a lazy domain implements its in method in terms of the domains it contains: it can (1) map the point x to something else, (2) distribute the result over the composing domains, and finally (3) combine the outcomes. This is governed by the functions preprocess, composition and combine.

The VcatDomain now exists, a flexible "broadcast" way of constructing domains does not exist yet.


Teams Update Size

On average, how large is a desktop Teams update? Is it drawing down the whole ~80MB client again or just a portion?  This is useful to know for enterprise deployment, especially when bandwidth is a big consideration.

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

ID: 905e2c09-ef3e-07cc-0809-6ff171157c47
Version Independent ID: c0d33162-183d-fff8-32e9-a999f391ea51
Content: Limits and specifications for Microsoft Teams
Content Source: Teams/limits-specifications-teams.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@officedocsbot assign @scanum

Hi @thedrum808
Thanks for reaching out! We are not able to find the mentioned issue details on the "Content Source" link. Kindly let us know the link which you are referring to now. It would help us to clarify your query.
Thank you.

@thedrum808  We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@officedocsbot close


CLI womp womp

CLI is broken
I run
npx pockethost serve

and get a response of
npm ERR! could not determine executable to run

npm ERR! A complete log of this run can be found in: /Users/USER REMOVED/.npm/_logs/2024-04-06T09_42_48_668Z-debug-0.log

Hardware/software

Mid 2015 Macbook Pro - MacOS Monterey 12.7.4 - NodeJS 21.5.0 (log mentioned)
Raspberry Pi 4 (for compatibility checking) - Ubuntu 22.04 LTS - NodeJS 21.5.0
Virtualbox VM - Windows 10 - 22H2 - NodeJS 21.5.0

WSL
Powershell
Git bash

Closing til next release.


AST filter for "a"

A parser for "a" has been made. Maybe we need to put limits on where it can be used?

There are definitely places where filters are needed.
Consider the following: "toki a!". Either "a" emphasizes just "toki" or the whole sentence, which is also "toki". Filters are definitely necessary here.

Parsing "toki a" results in 4 AST's! This is bad, it should be just one.


Updates Gradle to v8.7

Closes #31.

This PR also switches the "normal" build process of the variant images (e.g., python or gradle) to self-hosted runners via this commit because of disk space limitations on the GitHub-hosted runners.


Getting weird behavior when trying to RDP: "The object invoked has disconnected from its clients" after disconnecting from RDP

Lately when I try to RDP into a client, it will connect and show me the login screen.  If I try to log in, the moment I click login, the RDP connection is dropped (most of the time).  Sometimes it will log me in, but when it does, it only works one time.
Whether I try to log in or not, whether I manage to log in or not, the moment the connection is ended (whether because it broke, I logged out, or I closed the window before logging in), the remote client login screen becomes completely borked.  If the remote computer user locks their terminal or logs out and then tries to log back in (or unlock the terminal), they get the message, "The object invoked has disconnected from its clients," and are kicked back to the login screen.  The only solution is a hard reboot.
If I uninstall RDP wrap, everything goes back to normal.  (Except, obviously, with the normal RDP behavior.)
Any ideas what is causing this?

Any ideas what is causing this?

RDPConf screenshot, please!
What is your Windows edition (Do not try RDP Wrapper on Enterprise multi-session :) and with RDS role )
Are you using custom credentials providers (multiOTP, etc)
Try sfc /scannow

On latest windows update, I am having I think the same problem.  RDP into same machine different user account, it starts the login and then abruptly disconnects.   OP didn't upload his Conf scrnshot but here is mine.  OP didnt mention logs.  In my log I have APPCRASH on LoginUI.exe now.  Before updates had no problem.  Tried latest ini for my ver.  Tried sfc/scannow and dsim.  It looks like win update updated TermSrv.
Fault bucket<PHONE_NUMBER>879167324, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: LogonUI.exe
P2: 10.0.22621.1
P3: cf0f816d
P4: combase.dll
P5: 10.0.22621.1485
P6: a8be94cc
P7: 8001010e
P8:<PHONE_NUMBER>09200b


Add Brittany Donowho to Contributors List

Hi  @BrittWho, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

This was so great! I have had a lot of experience coding in a university setting but haven't really learned how to actually contribute to opensource/use github. Thanks a lot!

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


Add brightness to output (range 1-255)

Add brightness output to node.

the output still stops at 100 even it is set to 255

Of course.  I haven't implemented this code yet.

There is now a brightness key in the output object that will give you a 1-255 value.


Prerequisites

[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.

Criteria

[X] Reasonably well-known and widely used (e.g. if it's a GitHub project, it should have at least 100 stars and/or 50 forks)
[X] English interface (or at least English documentation)
[X] Latest stable version
[X] Full version (i.e. not a trial version)
[X] Fairly standard install (e.g. uses a version-specific download URL, no elaborate pre/post install scripts)

Name
pkg-config-lite
Description
pkg-config for windows without the glib dependency
Homepage
https://sourceforge.net/projects/pkgconfiglite/
Download Link(s)
https://sourceforge.net/projects/pkgconfiglite/files/0.28-1/pkg-config-lite-0.28-1_bin-win32.zip
Some Indication of Popularity/Repute
Download counts visible here: https://sourceforge.net/projects/pkgconfiglite/files/
Commonly recommended for pkg-config on widows as it is easier to setup (no glib dependency) and newer than the version of pkg-config (with glib dependency) available at https://download.gnome.org/binaries/win32/dependencies/

I have already added a manifest for this and opened #13058
My apologies for not opening an issue first. I seem to have missed that part of the contributing guide.
As mentioned in the PR, I feel this belongs in extras not main as it is a "fork" of pkg-config


Can i select only cities around the worlds.

http://plnkr.co/edit/il2J8qOI2Dr7Ik1KHRm8?p=preview
Please check the second example of this plnkr.
I need to set up specific country wise city or all cities around the world.
Help me

@dilip-borad the example you've provided is using a different autocomplete directive to this.
Still I'd suggest you check out the API spec for the relevant options: https://developers.google.com/maps/documentation/javascript/reference#AutocompletionRequest


Remove as_dir=False option from EntitySet.to_pickle()

EntitySet used to have two options for saving to disk

as_dir=False was supposed to save to a single pickle file. This was broken.
as_dir=True saved to a directory containing several pickle files of metadata about each Entity, and CSV files with the data for each Entity.

This PR removes the as_dir=False option.

Codecov Report

Merging #20 into master will increase coverage by 0.84%.
The diff coverage is 94.73%.

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   86.83%   87.67%   +0.84%
==========================================
  Files          73       73
  Lines        6768     6776       +8
==========================================
+ Hits         5877     5941      +64
+ Misses        891      835      -56

Impacted Files
Coverage Δ

featuretools/entityset/entityset.py
87.58% <100%> (+0.73%)
:arrow_up:

featuretools/entityset/serialization.py
96.82% <100%> (+77.98%)
:arrow_up:

featuretools/tests/entityset_tests/test_es.py
96.36% <92.3%> (-0.58%)
:arrow_down:

Continue to review full report at Codecov.

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

Looks good to me


Fix all version numbers

Close #343
Urgent right now because xml-rs 0.2 has been published and it created a huge mess.

Looks like there were some changes in rustc that make our tests fail because of the #![deny(warnings)].
I'll merge anyway and publish all this.


No such file or directory: './exps/refnpr/flower_colorful/exp_out/ckpt.npz/ckpt.npz'

I have successfully run Step 1 and 2. But when I run Step 3:bash ./exps/refnpr/run_single.sh ./data/ref_case/flower_colorful/, I meet the error that: "FileNotFoundError: [Errno 2] No such file or directory: './exps/refnpr/flower_colorful/exp_out/ckpt.npz/ckpt.npz'.
I found that in Step 2, I have got the file "./exps/base_pr/ckpt_svox2/llff/flower/ckpt.npz"
BUT in Sep 3, I need the file './exps/refnpr/flower_colorful/exp_out/ckpt.npz/ckpt.npz', which is not generated before.

I have successfully run Step 1 and 2. But when I run Step 3:bash ./exps/refnpr/run_single.sh ./data/ref_case/flower_colorful/, I meet the error that: "FileNotFoundError: [Errno 2] No such file or directory: './exps/refnpr/flower_colorful/exp_out/ckpt.npz/ckpt.npz'.
I found that in Step 2, I have got the file "./exps/base_pr/ckpt_svox2/llff/flower/ckpt.npz" BUT in Sep 3, I need the file './exps/refnpr/flower_colorful/exp_out/ckpt.npz/ckpt.npz', which is not generated before.

Hi, can you provide your log info when running step 3? The run_single.sh has multiple steps. The rendering step needs the optimized checkpoint ( './exps/refnpr/flower_colorful/exp_out/ckpt.npz/ckpt.npz'). It seems the optimization step has some errors and unable to store the checkpoint file.

I have no optimized checkpoint in my fold. If possible, please tell me the optimization command. Thank you very much !!!!!!!!!

I have no optimized checkpoint in my fold. If possible, please tell me the optimization command. Thank you very much !!!!!!!!!

Hi, usually, if you run the run_single.sh in step 3, it will automatically run the optimization step at
https://github.com/dvlab-research/Ref-NPR/blob/main/exps/refnpr/run_single.sh#L13
If you still have problems finding the optimization checkpoint, I will check the whole pipeline tonight.

Thanks for your kind response!!!! I have got it.
Additionally, I found that ARF developed their method based on plenoxels, NeRF and TensoRF. Ref-NPR seems to be based on plenoxels. That is because plenoxels is easy to train. I wonder Instant-NGP performs faster convergence speed, if it possible that apply artistic rendering to Instant-NGP is able to result in faster speed?

Yes, as a conceptual method, our approach can also perform well on other representations. I believe it is possible to apply rendering to Instant-NGP for faster optimization speed. If I have time, I will try to implement it! 😊
BTW, I will temporally close this issue, you are welcome to reopen it if you have any further questions!


Update dominikh's tools to point to go-tools

https://github.com/dominikh/go-tools
Should actually be updated in https://github.com/bradleyfalzon/gopherci-env

Installed deps via https://github.com/gopherci/gopherci-env/commit/0cec19da0979002111ed0180940df150cca0e379


[BEAM-13434] Upgrade to pubsublite <IP_ADDRESS> on the release branch.

Dependency bump to pick up: https://github.com/google/flogger/releases/tag/flogger-0.7.3

@aaltay

Run Java_Examples_Dataflow PreCommit

Run Java_Examples_Dataflow PreCommit

Run Java_Examples_Dataflow PreCommit


Can't add printer

I have a CUPS server on a Raspberry Pi with a NRG DSm622 printer.
The connector seems to run correctly:
E1218 15:29:39.478513    5967 gcp-cups-connector.go:34] Google Cloud Print CUPS Connector version 2015.10.05-linux
Google Cloud Print CUPS Connector version 2015.10.05-linux
E1218 15:29:40.389836    5967 gcp-cups-connector.go:148] Ready to rock in local-only mode
Ready to rock in local-only mode

But when I try to add the printer on chrome://devices, it gets stuck on the "You must confirm registration on the printer, check it now" message.

No need to register the printer. Just print to it.
Chrome sees local-only printers as needing to be registered, but it shouldn't. It's a bug, related to https://crbug.com/540847
When I click "register" at chrome://devices the attached modal dialog appears. Apparently this is different for you. What platform are you running Chrome on?

I get this (in French, sorry):

It is the same on Ubuntu and Mac OS.
But you're right, I can print to it, I thought it needed to be registered first.

Alright, please ignore the Chrome bug. Or better, add a comment to that crbug.com link.

thank

thank you!


Text shadow

Hi,
no matter what terminal theme I choose, a shadow always appear around the text.
Is is something that can be removed? I'm on OSX. I don't see such text shadow in system shells such as Terminal.app or iTerm2.app.
Thanks!

@daducci Can you please provide a screen shot? I do not apply a text shadow to the text at any point.

Sure!

 I started yesterday to play with Atom plugins and I'm trying to implement a sort of cell-mode like in Matlab. If you want, I can share the code for that..

Well, that is definitely a text shadow. Do you see this in your default shell? It seems you are using something else.

No, it appears only within the term in Atom. Here is a screenshot from the other two system terminals on OSX: iTerm2.app (left) and Terminal.app (right):

May I ask what theme you are using for Atom?

It was Atom Light, and indeed that was the problem generating the shadow.. Sorry for that, I didn't know it might related to the main theme..
Thanks a lot!
By the way, are you interested in having a "cell mode" into your package? I use it mainly to inetract with ipython, but it is customizable.

No problem, glad you were able to solve the issue.
It sounds like a great addition but I do not think I will be able to get to it anytime soon since there are a lot of fixes and enhancements that I have to get to.


go-access log format for custom logs [HELP!]

Thank you so much for your dedication!
But after checking the manual for a whole day, I still can't learn the secrets in the 'log format'. I am very grateful for help.
1、I still don't get these important metrics: average response time, total response time, and top response time.

Here is my configuration:
nginx: (help with a conversion)
 log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '                           '$status $body_bytes_sent "$http_referer" '                           '"$http_user_agent" "$http_x_forwarded_for"'                           '"$connection" "$upstream_addr" "$upstream_status"'                           '"$upstream_http_content_type"  "$upstream_response_time" "$request_time"'                           '$http_host:$server_port';
goaccess:
time-format %H:%M:%S
date-format %d/%b/%Y
log-format  %h %e [%d:%t %^] "%r" %s %b "%R" "%u" ~h{," } %^ %^ %^ %T %^
log-format COMBINED
Here is the output log:

<IP_ADDRESS> - user007 [11/Apr/2022:01:32:56 +0700] "GET /api/v1.0/server/config HTTP/1.1" 200 1128 "https://XXXXX.tk/test" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36" "XXX.XXX.XXX.XXX""192" "<IP_ADDRESS>:8080" "200""application/config"  "0.000" "1.584""XXXXX.tk" : 443

2、X-Forwarded-For field not parsing ?

Sorry for the delay on my response, I missed this post. Could you please post a few more lines from your access log? It's not very clear the 192 in here  "XXX.XXX.XXX.XXX""192" "<IP_ADDRESS>:8080" "200".  Thanks

Hi
I have the same issue with Apache, is it resolved?


Gradle build fails: impossible to deploy

As you can see here, it's currently impossible to deploy the new package version because gradle build is failing
https://github.com/meilisearch/meilisearch-java/actions/runs/7555131703

Any help from community will be welcome 🙏

Fixed! #708
https://central.sonatype.com/artifact/com.meilisearch.sdk/meilisearch-java/overview


brew: add GITHUB_STEP_SUMMARY to allowlist

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

This just adds another GitHub Actions specific environment variable to the allowlist in bin/brew; we hit this one while trying to get GITHUB_STEP_SUMMARY generation working in a brew ruby invoked script (for brew-pip-audit).

(cc @alex since he's the one who debugged this)

More generally this could be rewritten to allow all GITHUB_ variables in the same way that all HOMEBREW_ variables are allowed, but I figured I'd avoid that more invasive change unless others think it's reasonable.

Thanks @woodruffw and for review @alex!

More generally this could be rewritten to allow all GITHUB_ variables in the same way that all HOMEBREW_ variables are allowed, but I figured I'd avoid that more invasive change unless others think it's reasonable.

@woodruffw if you have to add more than say 1-2 more after this PR: I'm coming around to that idea, at least when CI or GITHUB_ACTIONS are set.

at least when CI or GITHUB_ACTIONS are set.

I think this is a good idea, though I'd err on wanting them both set, and we should probably also clear GITHUB_TOKEN.


bpf: improve some trace notifications to report the correct ifindex

Use NATIVE_DEV_IFINDEX to report the ifindex for a few trace notifications:

the to-netdev case is trivial
the nodeport ingress path is used by from-netdev / from-overlay / XDP. All of those programs include NATIVE_DEV_IFINDEX as needed.

/test

/test


RightWindowCommands no more visible when ShowTitleBar is False

Starting from MahApps 1.6.2, setting ShowTitleBar to False along with RightWindowCommands does not work anymore. The RightWindowCommands is not shown whereas it should be.
Expected outcome
The RightWindowCommands should always be visible, like it was before and behave the same than WindowButtonCommands.
Environment

MahApps.Metro v1.6.2
Windows OS 16299
Visual Studio 2017
.NET Framework 4.7.1

@bbougot It's more a combination with a feature and a bug (which I fixed now). Normally if you set the ShowTitleBar to false then all window commands except the button window commands should be collapsed. If you don't want this, then you can set then LeftWindowCommandsOverlayBehavior and RightWindowCommandsOverlayBehavior to HiddenTitleBar or Always to force it to shown.

In version 1.6.4, if I set ShowTitleBar to false, and RightWindowCommandsOverlayBehavior to Always, then a white background title bar would appear. Previously, in older version, the commands overlay blend into the window.

As programatix say, even with that overlay behavior set, the buttons didn't overlay into the window like it happens for the WindowButtonCommands, they actually restore the entire title bar that was supposed to be hidden having set ShowTitleBar to false.

I confirm what programatix say, the behavior didn't work as expected, when the behavior is set the title bar is simply show even if the ShowTitleBar is set to false


search.exclude option

Hi, im working at #2115, this is still WIP, and i have some doubts, like how can i acess the configuration state at Feature_Search and in what file should i edit to findInFiles dont search the excluded paths

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @joseeMDS ,
This looks like a great start - thank you for taking this on!
I'll take a look through and leave some feedback / address your questions.

Hi @joseeMDS ,
This looks like a great start - thank you for taking this on!
I'll take a look through and leave some feedback / address your questions.

Thanks for all comments @bryphe, i thinks it is all okay now, except that search.exclude should inherit from files.exclude, i think we can do it at let subscriptions = ... using it ~config param, but im not sure what function should i use, and i if you leave search.exclude: [""] it will just ignore all the paths and show nothing, so now im thinking in how to fix this, any suggestion in welcome

Thanks for all comments @bryphe, i thinks it is all okay now, except that search.exclude should inherit from files.exclude, i think we can do it at let subscriptions = ... using it ~config param, but im not sure what function should i use, and i if you leave search.exclude: [""] it will just ignore all the paths and show nothing, so now im thinking in how to fix this, any suggestion in welcome

Thanks for all your work here, @joseeMDS ! The changes are looking good to me - I like your approach for merging the two settings for search 👍
Just had a question about the documentation, but after that, ready to bring this in!

Thanks for all your work here, @joseeMDS ! The changes are looking good to me - I like your approach for merging the two settings for search 👍
Just had a question about the documentation, but after that, ready to bring this in!

Latest iteration looks good; just pushed up a fix for the hygiene checks (running esy format) - I'll merge when it's green.
@joseeMDS - I assume you're joseeMDS on twitter that DM'd me - is it ok if I DM you your license key?

Latest iteration looks good; just pushed up a fix for the hygiene checks (running esy format) - I'll merge when it's green.
@joseeMDS - I assume you're joseeMDS on twitter that DM'd me - is it ok if I DM you your license key?

Hey, Yes its me,I will try to contribute more, will keep learning and come back soon, and yes you can DM me with the key

Hey, Yes its me,I will try to contribute more, will keep learning and come back soon, and yes you can DM me with the key


Exiting the world when fishing rod is cast causes crash on reload

A friend of mine got his save corrupted this way.
In CE v 1.0 this bug didn't exist, so it got broken somewhere after that version.

Not a corruption, just a missing mapping. The world will be fine once the mapping is added, will get a fix in.

Ended up being entirely different from what I thought, and potentially even a vanilla issue. Regardless, fixed for next release.
As a temporary fix for your friend to be able to play in their world again, open the world in MCEdit, and there will be a red box where the fish hook is. Select that area and in the menu on the left delete all entities in the selection, and the world should load fine.

Thank you.


docs: prefix gatsby command with npx

What do you think about prefixing gatsby with npx?
I don't personally install the gatsby CLI globally, but much prefer to use npx.
Perhaps it lowers the barrier for others too?
Feel free to close if this is not of any interest.

Hey @notrab, thanks for this PR!
It certainly will lower the barrier for others to start with the project.
Could you please open a PR on our main repository? This one just replicates the code hosted there.
Also, could you update other places where the gatsby new command are used? I think they are on README files.


Empty tables, even when returned from queries on empty datasets, should always have their columns

I'm writing a bunch of "update or create" functions. The update part gets the ids to be updated first, if they exist.
I'm using a pattern not unlike this one, for cases where Arrow filters alone aren't expressive enough
def iter_table():
    for d in ParquetDB("table").read(filters=filters, columns=["id"])["id"]:
        if condition(d):
            yield d

But it doesn't really work, because if the table happens not to have been created yet (rather than merely not having any rows in it) then ParquetDB gives me a KeyError.
I think the empty table returned by queries with no matches should still have all the columns that a match does.

Hey Clayote,
I attempted to reproduce the error you're encountering and I think I’ve figured it out. If no tables exist in the dataset yet, calling read results in an error saying the id field doesn’t exist. Since id is a special column name, I believe it should always be present, even when no tables have been created. How I currently have it, it just produces `KeyError: 'Field "id" does not exist in schema'.
Does that sound accurate to you?

I made a change where it will always return the id column:
db = ParquetDB(dataset_name='dev')

table=db.read(columns=['id'])

print(f"Table shape: {table.shape}")
print(f"Table: {table}\n")
print(f"Empty Chunked Array: {type(table['id'])}" )
print(f"Empty Chunked Array: {table['id']}")

Output:
Table shape: (0, 1)
Table: pyarrow.Table
id: int64
----
id: [[]]

Empty Chunked Array: <class 'pyarrow.lib.ChunkedArray'>
Empty Chunked Array: [
  []
]

Is this what you wanted?
Logan Lang

Yeah, that's correct.
Cheers!


Migrate common module to Junit5

Description of what I changed
Fixes #1103

E2E test

TESTED:
Please replace this with a description of how you tested your PR beyond the
automated e2e/unit tests.
Checklist: I completed these to help reviewers :)

[x] I have read and will follow the review process.

[x] I am familiar with Google Style Guides for the language I have coded in.
No? Please take some time and review Java and Python style guides.

[x] My IDE is configured to follow the Google code styles.
No? Unsure? -> configure your IDE.

[x] I have added tests to cover my changes. (If you refactored existing code that was well tested you do not have to add tests)

[x] I ran mvn clean package right before creating this pull request and added all formatting changes to my commit.

[x] All new and existing tests passed.

[x] My pull request is based on the latest changes of the master branch.
No? Unsure? -> execute command git pull --rebase upstream master

This PR solve some of the test cases based on the Issue #1103
@chandrashekar-s

cc @bashir2

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

Project coverage is 51.67%. Comparing base (b03c2c7) to head (b209ce2).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1135      +/-   ##
============================================
- Coverage     51.76%   51.67%   -0.09%
+ Complexity      669      668       -1
============================================
  Files            95       95
  Lines          5612     5612
  Branches        731      731
============================================
- Hits           2905     2900       -5
- Misses         2425     2430       +5
  Partials        282      282

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

@chandrashekar-s can you please review this PR

Hi @meetmehta1198, just a reminder to look into the build issue. Please let me know if you face any issues while accessing the build logs.

I will take a look into it! Thanks

@chandrashekar-s I have updated the code and the build is successful. Can you please approve this PR?

Thanks @chandrashekar-s for all the feedback and approval. Great experience working with you!

Only those with write access to this repository can merge pull requests.

I do not have necessary permissions to merge code!

Thanks @meetmehta1198 for this and congratulations on your first contribution to this repo. Just one minor comment: It seems to me that from #1103 you are fixing tests under the common module only, correct? Then I guess we should change the PR description as it currently says it fixes that bug (and will close that bug upon merge).

Thanks @meetmehta1198 for this and congratulations on your first contribution to this repo. Just one minor comment: It seems to me that from #1103 you are fixing tests under the common module only, correct? Then I guess we should change the PR description as it currently says it fixes that bug (and will close that bug upon merge).

I have updated the PR description, so that it does not close the main issue.


Enable simpler docking workflow using composable parts

Description
Provide a brief description of the PR's purpose here.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] TODO 1

Questions

[ ] Question1

Status

[ ] Ready to go

Codecov Report

Merging #594 (c6c7d5d) into main (3839851) will decrease coverage by 24.89%.
The diff coverage is n/a.

Additional details and impacted files

@apayne97 large scale docking WF inputs should also subclass WorkflowInputsBase, ill make a seperate PR.


Symphony 2.7: Add calendar widget

This pull request tracks the progress of fixing the calendar widget initially introduced in Symphony 2.6.0-beta1 but removed due to timezone isses (see #2325).

[ ] Date field: Check if the date field has to store the date twice in the database (local date + GMT). If possible only store once.
[ ] Date field: Make the field default to the system timezone.
[ ] Date field: Make the field display the used timezone in the interface (maybe as a floating label).
[ ] Date field: Allow the user to change the date display to his local time (optional).
[ ] Date field: Make the field UI respect the correct timezone.
[x] Calendar: Add widget.
[ ] Calendar: Fix day display, see #2312.

Just a heads up with Timezones that I'm not sure we should start displaying the time relative to current user. For example, think of music festival across a country with different timezones. The 9pm headliner should always appear as 9pm. Just because I'm on the east coast doesn't mean I want to see it in the backend as starting at 11:30pm. I might think this is wrong and change it to 9pm (which has actually changed it to 6:30pm).

Date field: Make the field default to the system timezone.
Date field: Make the field UI respect the correct timezone.

We do respect the timezone that is set in the Symphony configuration. Every time a date is formatted, that timezone is applied. The whole Symphony instance runs in that timezone actually.

Just a heads up with Timezones that I'm not sure we should start displaying the time relative to current user. For example, think of music festival across a country with different timezones. The 9pm headliner should always appear as 9pm. Just because I'm on the east coast doesn't mean I want to see it in the backend as starting at 11:30pm. I might think this is wrong and change it to 9pm (which has actually changed it to 6:30pm).

Ah, no, this isn't what I meant because this is – as you pointed out – quite confusing for the user.
My idea was to show a floating label that displays the timezone the field is using (the one from the system preferences):

Of course, this is only needed, if my local timezone is different from the one the system uses.
Especially if you think of cross-timezone scenarios, it would be a nice optional feature, if the user could just click that label to convert it to his local time. This wouldn't change the way the date is stored, it would just be converted to the system timezone on save.

We do respect the timezone that is set in the Symphony configuration. Every time a date is formatted, that timezone is applied. The whole Symphony instance runs in that timezone actually.

I understand that this is true for the PHP/DB part – it's just that the UI doesn't take care of timezones at all yet. We just didn't notice until we added date visualisations with the calendar widget.

From the other thread:

Symphony supports timezones and the date field saves two values for as long as I can remember. The value is just a string which includes the timezone set in the Symphony configuration. The date is the UTC timestamp. We use this for filtering. We could exclusively use it. There was a reason why we don't exclusively use it, but it alludes me at the moment.

It doesn't make sense to store the value with a hardcoded timezone in my eyes, because if the system timezone is changed all displayed dates need to change and this will not be reflected in the DB.
My guess is that Symphony needed to store this twice because of the poor date and time support in earlier PHP versions.

that I'm not sure we should start displaying the time relative to current user.

We should never do this in the frontend. Dates and times must be timezone-less, unless opt-in by the user.

My guess is that Symphony needed to store this twice because of the poor date and time support in earlier PHP versions.

Yeah that's true.

Dates and times must be timezone-less, unless opt-in by the user.

That's not possible because Symphony stores them with a timezone and adjust them if the system timezone changes.

That's not possible because Symphony stores them with a timezone and adjust them if the system timezone changes.

Yeah I meant the display part. It should never uses the javascript (client) timezone, only the global one in Symphony's config.

The underlying issue has been solved by https://github.com/symphonycms/symphony-2/commit/57fda1f7e7b3ccd8a472f56747d60b82b03e29ec#commitcomment-9540637. The only thing we should consider is to highlight the system timezone in a label, if the user is located in a different timezone. Symphony will always use the system locale and not the user one.

@brendo: Is it worth removing the double date storage in 2.x or is this something you'd like to handle for 3.0?

The date field now displays a lable, if the user's timezone differs from the system timezone:
Input

Calendar widget

Brendan, I'll close this pull request now that it is obsolete.
Feel free to decide how and when to handle the two date fields in the database.


TextBox FontStyle = Italic has no effect on some Font Family

The question is just what looks like the title.
For example:
<TextBlock FontFamily="Microsoft YaHei,Simsun,苹方-简,宋体-简" FontStyle="Italic">       Hello, 你好 </TextBlock>

0.9 or 0.10-preview6?
cc: @Gillibald

Not all fonts have a italic variant. We currently don't emulate anything. If no italic variant is found the closest match is used.

0.9 or 0.10-preview6?
cc: @Gillibald

0.10-preview6

Not all fonts have a italic variant. We currently don't emulate anything. If no italic variant is found the closest match is used.

maybe its due to the font itself


[SYNC] Sync with CentML/hidet -> hidet-org/hidet

As a follow up for https://github.com/hidet-org/hidet/pull/485 make a sync to have all changes related to torch.
PS by some reason here also appeared 2 old commits 5d50e5b2e36c84a9191950d360a84663648aa3fe, de474126c8c07a6e1f0216b932dd29193022a3e4
plus empty commit 06d903b2df16dbe164a5ba8e7fbd6d07f4223c8d
TO be honest don't know why they are here. Maybe I did wrong resolving of conflicts.

still not satisfied. New rebase brings the same commits


Scan for available Devices doesn't work on iOS

Describe the bug
Finally I managed to test the app on a hardware device. But unfortunately when I'm clicking on "Scan for available devices" the app crashes.
To Reproduce
Steps to reproduce the behavior:

Build the App on your iOS Hardware Device
Open the App
Open the Menu
Go to 'Devices'.
Click on 'Scan for available devices'
See the app crashing

Expected behavior
Scan for available devices, as shown by @Chippelius in our last Sprint Review
Smartphone (please complete the following information):

Device: Iphone 8
OS: iOS 15.4.1

Additional context
Already talked to @Chippelius and he thinks that it was missed to ask for permissions using Bluetooth and GPS:
https://support.apple.com/en-us/HT210578
Then I talked to @NicoStellwag and he confirmed that it's not asked yet for permissions on iOS
Additional information for android >= 12: https://developer.android.com/guide/topics/connectivity/bluetooth/permissions

Addition: When clicking on the 'Scan for available devices' Button in the iOS Simulator, nothing happens.


Put releases on a timeline manner

I don't believe that a year has passed, and we don't have a single freaking word about node16 on lambdas. #14 & #33.
I feel bad for the devs waiting on Python 3.10 #31 or Java 17 #29.

While I can condone the wording, I definitely understand the frustration. Hell, I'm frustrated.
As for constructive criticism.
I almost feel that when they offered layers, updating runtimes became a secondary backburner.
Unfortunately, rolling your own marks against you in the 250 meg max limitation. Where base images did not count.
And it amazes me that AWS is touted as the automation king for services, doesn't have this automated in such a way that it just spits something out a week after release with only intervention when there is an error.

They didn't produced a concrete answer after a full year of that release, I remember with node 12 was the same.
People are trusting their companies to AWS and they can't release software in a timely manner, we're not even talking about days but a full blown year.

I almost feel that when they offered layers, updating runtimes became a secondary backburner.
Yeah but theirs solution is "serverless", I shouldn't be worrying about layers and base images unless I really want to. Even more, Layers are not supported on Lambda@Edge (which we use for Cloudfront), adds some cold start time and are a burden to maintain

Yeah I believe Node 12 was released last February. But I agree, I mean I keep hearing how much money they are pulling in from AWS on the News all the time.
Personally, I'd like them to open up the source on the branches they've created here so people can submit new ones. Similar to how you can contribute to the SDKs.  I'm not sure why its not done here.

The base image has 34 critical vulnerabilities published several months ago, but the latest base image was published like 3 days ago without patching them. @carlzogh @krk Can you look into it ?


When will the fine-tuning code be available

This is a great work and thanks in advance. When will the fine-tuning code be available

Thanks for your attention to our work! We are still testing the fine-tuning code on baseline and this will be finished this month. Sorry for the delay!

@t1101675 if the fine_tuning code is has been released,please let me know,thanks.

Thanks for your attention to our work! We are still testing the fine-tuning code on baseline and this will be finished this month. Sorry for the delay!

@t1101675 if the fine_tuning code is has been released,please let me know,thanks.

@GongMingGithub Hi, the finetuning code is ready. Please let me know if you have any questions :)


Fix mesh instance disappearing when shadow caster

See https://forum.babylonjs.com/t/difference-between-instanced-non-instanced-with-alpha-materials-and-shadows/10949/5

2 problems in the visual tests, but I don't understand:

first one, the texture of the plane is the "missing" texture, so it seems it could not be read?
second one, it seems ok, the picture seems to mach the model

Both tests are working on my local computer.

there is a crash with webgl2


use fixtures to properly test the db

currently, the only test for the database is the end-to-end test, where a lot of components are included beside the database.
to properly have unit tests for the database alone, we could have test fixtures, maybe using this. this way database results could be easily predicted and tested.

nuse yabasha

6-11-2024
I worked on a database insertions fixture
Started using fixtures to test db on getnode

7-11-2024
I worked on making setup test to load a fresh version of the fixture database
Started using fixtures to test db on GetFarm and agreed on a file structure

12-11-2024
I worked on writing test functions for the remaing database functions ( now all of server getters - indexer utils - indexer upserters are tested)

13-11-2024
Work completed on a database fixture that test all database getters and indexers


react-addons-shallow-compare missing after upgrading to 2.3.1

Just upgraded to the latest version of the repo, after clearing node modules and running npm install I get this error when the react native package manager is bundling my app:
error: bundling: UnableToResolveError: Unable to resolve module `react-addons-shallow-compare` from `/Applications/XAMPP/xamppfiles/htdocs/SiequenceRNApp/node_modules/react-native-snap-carousel/index.js`: Module does not exist in the module map or in these directories:
  /Applications/XAMPP/xamppfiles/htdocs/SiequenceRNApp/node_modules
,   /Applications/XAMPP/xamppfiles/htdocs/node_modules

{
  "name": "Test",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "react-native-scripts start",
    "test": "jest"
  },
  "dependencies": {
    "expo": "^18.0.3",
    "native-base": "~2.1.4",
    "react": "16.0.0-alpha.12",
    "react-native": "0.45.1",
    "react-native-circular-slider": "^1.0.1",
    "react-native-fetch-blob": "^0.10.5",
    "react-native-image-crop-picker": "^0.13.1",
    "react-native-router-flux": "^3.39.1",
    "react-native-snap-carousel": "^2.3.1"
  },
  "devDependencies": {
    "babel-jest": "20.0.3",
    "babel-preset-react-native": "1.9.2",
    "jest": "20.0.3",
    "jest-expo": "~18.0.0",
    "react-test-renderer": "16.0.0-alpha.6",
    "react-native-scripts": "0.0.40"
  },
  "jest": {
    "preset": "react-native"
  }
}

I'm running on a Mac, node version 7.7.1 & npm version 5.0.4
Any ideas?

I've spent the afternoon on this, tried many attempts at fixing it.
I had to add react-addons-shallow-compare to my package.json to get this to work, however doing this then lead to the same UnableToResolve error being thrown for 'lodash.debounce' package.
I'm about to downgrade to the previous version 2.3.0 and run a fresh npm install, after removing react-addons-shallow-compare from my project's package.json, i'll report back with what happens.

I can confirm that downgrading back to 2.3.0, clearing node modules, then running npm install results in both lodash.debounce and react-addons-shallow-compare being installed as expected.
Please let me know if you need any help with this, happy to lend a hand where I can.

Hi @fendorio,
Thank you for your investigation! I'm surprised because I've been using version 2.3.1 on miscellaneous projects without any issue. Moreover, there wasn't any update linked to dependencies in 2.3.1...
Would you mind clearing your nodes_modules folder and try to install your dependencies with Yarn instead of npm?

Hey @bd-arc  thanks for the swift response.
Absolutely no worries, your carousel is going to form a major element in an app my team have been commissioned to develop, with that i'm happy to contribute where and when I can.
I will try and reproduce this tomorrow, I did have a day of scratching my head unexpectedly today though so it may not be until Thursday that I get the time to properly go through this process again.
I will report back here by Thursday PM (GMT) with my findings.

Hi @fendorio,
Any further feedback regarding your issue?

Closing as no further feedback was provided.
Feel free to reopen if needed.


bug fix: unused parameter in the constructor

Thanks for proposing this!
For now I'd like to leave this file unchanged, because it's actually copied from https://github.com/aspnet/Razor/blob/ff40124594b58b17988d50841175430a4b73d1a9/src/Microsoft.AspNetCore.Razor.Language/CodeGeneration/CodeWriterExtensions.cs, and at some stage it might be possible to reuse the existing implementation without copying it (so it's useful to know they are identical).
If you wanted to submit a PR for the original file at https://github.com/aspnet/Razor/blob/ff40124594b58b17988d50841175430a4b73d1a9/src/Microsoft.AspNetCore.Razor.Language/CodeGeneration/CodeWriterExtensions.cs that would be great though!

ok! 👍

https://github.com/aspnet/Razor/pull/2044


python312Packages.homeassistant-stubs: 2024.4.2 -> 2024.4.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.homeassistant-stubs is: Typing stubs for Home Assistant Core
meta.homepage for python312Packages.homeassistant-stubs is: https://github.com/KapJI/homeassistant-stubs
meta.changelog for python312Packages.homeassistant-stubs is: https://github.com/KapJI/homeassistant-stubs/releases/tag/2024.4.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2024.4.2 with grep in /nix/store/nww4h6ia1i7i50p5bqr9dxr00s99kq5c-python3.12-homeassistant-stubs-2024.4.2
found 2024.4.2 in filename of file in /nix/store/nww4h6ia1i7i50p5bqr9dxr00s99kq5c-python3.12-homeassistant-stubs-2024.4.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
python312Packages.homeassistant-stubs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nww4h6ia1i7i50p5bqr9dxr00s99kq5c-python3.12-homeassistant-stubs-2024.4.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/7eef6dc8f2e02a36a1eb1642dea628dc947ced07#python312Packages.homeassistant-stubs

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nww4h6ia1i7i50p5bqr9dxr00s99kq5c-python3.12-homeassistant-stubs-2024.4.2
ls -la /nix/store/nww4h6ia1i7i50p5bqr9dxr00s99kq5c-python3.12-homeassistant-stubs-2024.4.2/bin

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

2 packages built:

python312Packages.homeassistant-stubs
python312Packages.homeassistant-stubs.dist

Maintainer pings
cc @fabaff @mweinelt @Mic92 for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.homeassistant-stubs is: Typing stubs for Home Assistant Core
meta.homepage for python312Packages.homeassistant-stubs is: https://github.com/KapJI/homeassistant-stubs
meta.changelog for python312Packages.homeassistant-stubs is: https://github.com/KapJI/homeassistant-stubs/releases/tag/2024.4.3
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2024.4.3 with grep in /nix/store/v15kzg7bdqayncqfnbnagzgkjkyabqij-python3.12-homeassistant-stubs-2024.4.3
found 2024.4.3 in filename of file in /nix/store/v15kzg7bdqayncqfnbnagzgkjkyabqij-python3.12-homeassistant-stubs-2024.4.3

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
python312Packages.homeassistant-stubs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/v15kzg7bdqayncqfnbnagzgkjkyabqij-python3.12-homeassistant-stubs-2024.4.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/0bfee06dec55aa1c6360ba779902602fe1afb3f0#python312Packages.homeassistant-stubs

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/v15kzg7bdqayncqfnbnagzgkjkyabqij-python3.12-homeassistant-stubs-2024.4.3
ls -la /nix/store/v15kzg7bdqayncqfnbnagzgkjkyabqij-python3.12-homeassistant-stubs-2024.4.3/bin

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

2 packages built:

python312Packages.homeassistant-stubs
python312Packages.homeassistant-stubs.dist

Maintainer pings
cc @fabaff @mweinelt @Mic92 for testing.

Already on master.


[GSSoC '23] Adding Algorithms Of every Sorting Techniques

Hi @aaryahjolia, The Repo currently don't have algorithms for the sorting techniques, so can add them, could you please assign that to me?

HI @aaryahjolia, Can you please assign me this issue, i think i can contribute here with different algos for sorting!

Hi can I work on this.

hi i previously  solved questions in gfg.I am intrested to take part in this issue.I am gssoc 23 contributor

Hiii sir please assign this issues to me.
I'm familiar such type  of questions i solved this type of questions on gfg
Please check gfg - https://auth.geeksforgeeks.org/user/vaishali231305/practice


Feature: Socials section design

Fixes Issue #2182
Closes #2182
Changes proposed
New design for social section

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

note: we might need to take this into a temporary branch and allow multiple templates, as some people will want list and not tiles

does the current project have some other branch available for this?

not yet, either way you don't need to close this, the destination branch for it can be updated later

ok :)

@ManishBisht777 I am thinking before then, we could use this design on the "popular" page to get more people to display, what do you think? Then later port it over to here when we have the template option

Great idea @eddiejaoude, but how are we going to do this? because there is a little HTML change also but for the CSS part we can do that by collecting them in a stylesheet and applying them by @apply this way the html will look more clean as well

I think update this PR for the "popular" page and later the "profile" page can be done.
I think the "apply" improvements can come later in another PR

ok @eddiejaoude  I am creating an issue addressing the same

I have added a blocked label to this PR, I think it would be better to have this as an optional template option - so this design would come in later after the templating options system is in place (separate PR)

These color combinations need checking for contrast issues.

@krishstwt I marked this as blocked, so there are no changes from @ManishBisht777 to be done.
Now forms are almost done, we are now going to have more layout options for the profile page, for example https://github.com/EddieHubCommunity/LinkFree/issues/7310
@ManishBisht777 I suggest you create a new Issues and PR, from the latest code, so I will close this.


Prototype Selection: num_prototypes

What do you think is the optimal way to select the number of prototypes to select? Will this be constant, say...5% of the total number of samples?
It could also vary based on the variance of the total sample set. We could write a while loop that just keeps picking more and more prototypes until the variance in the prototype set is within some cut off of the variance in the entire dataset.
Or should it be more informed by the binning approach?
Are there other things we should consider?

Prototype selection is a relatively lightweight task once the DMs are computed; the algorithm Stefan wrote was made to handle 100s of 1000s of genomes. So a valid strategy might be to by default compute a few levels for each sample set, which could then be used as inputs to downstream analyses depending on desired resource expenditures.

Ok, great! That makes sense.
I know I won't have much time to work on this for a while, but as I sit here holding a sleeping baby, I was curious how one would go about using the prototype selection python script (or any other piece of software that isn't available as a wrapper or in conda) in a snakemake workflow.
Do you write a rule that just uses wget or something to download it off github? Or do you have to somehow put it into a conda repository, so that the link is more permanent?

I think we've addressed this now as well. The pipeline outputs every number of prototypes, and each user can simply select a number that works for them.


Question about the nnclr.py

Thanks for making this SSL benchmark public, it's amazing!!
I just want to know about the detail of the nnclr.py implementation.
Why do we need to define the queue as the static class variable in pl.LightningModule ?

Hi! Thank you for using the library.
In our implementation it is not a static class variable, it is a buffer registered in the method class. AFAIK this is the best method to ensure:

gradients are not propagated to the queue and it is not added to the optimizer even by mistake
the queue is saved in the checkpoint
the queue is on the right device

Thanks for your reply.
Actually, I try to implement the nnclr method alone. However, the nnclr can not converge (only got 2% Top1 ACC). When I compare with the nnclr.py in solo-learn, I found that I forgot to declare the queue as the static variable at the begin of class (then wrap it into the self.regist_buffer).
Although the performance is still not good (maybe caused by pretrain on cifar100), but it can achieve about "20% Top-1" ACC in pre-training on cifar100 with 100 epochs and batch size 256.
So,  i wonder why this (declare as static variable) help so much
class NNCLR(BaseMethod):
    # define as static var here with type annotation..
    queue: torch.Tensor

    def __init__(
        self,
        proj_output_dim: int,
        proj_hidden_dim: int,
        pred_hidden_dim: int,
        temperature: float,
        queue_size: int,
        **kwargs
    ):
        super().__init__(**kwargs)

        self.temperature = temperature
        self.queue_size = queue_size

        # projector
        self.projector = nn.Sequential(
            nn.Linear(self.features_dim, proj_hidden_dim),
            nn.BatchNorm1d(proj_hidden_dim),
            nn.ReLU(),
            nn.Linear(proj_hidden_dim, proj_hidden_dim),
            nn.BatchNorm1d(proj_hidden_dim),
            nn.ReLU(),
            nn.Linear(proj_hidden_dim, proj_output_dim),
            nn.BatchNorm1d(proj_output_dim),
        )

        # predictor
        self.predictor = nn.Sequential(
            nn.Linear(proj_output_dim, pred_hidden_dim),
            nn.BatchNorm1d(pred_hidden_dim),
            nn.ReLU(),
            nn.Linear(pred_hidden_dim, proj_output_dim),
        )

        # queue, also in here overwrite the self.queue with regist-buffer
        self.register_buffer("queue", torch.randn(self.queue_size, proj_output_dim))
        self.register_buffer("queue_y", -torch.ones(self.queue_size, dtype=torch.long))
        # normlize
        self.queue = F.normalize(self.queue, dim=1)
        self.register_buffer("queue_ptr", torch.zeros(1, dtype=torch.long))

It's cool that remove the static declaration drop the accuracy of the model..

Hi! Thank you for using the library.
In our implementation it is not a static class variable, it is a buffer registered in the method class. AFAIK this is the best method to ensure:

gradients are not propagated to the queue and it is not added to the optimizer even by mistake
the queue is saved in the checkpoint
the queue is on the right device

Thanks for your reply~