Persisting searchParams on swithch locale

Description
I am building a nexts app using the app router. I followed the same setup as in https://next-intl-docs.vercel.app/examples/app-router
Everything is working fine untill i wanted to persist the searchParamas (i use the paramas to persist some state)
I modified the LocaleSwitcher in the example with the following code

"use client";
import { useLocale, useTranslations } from "next-intl";
import { usePathname, useRouter } from "next-intl/client";
import { useTransition } from "react";
import { useSearchParams } from "next/navigation";

export default function LocaleSwitcher() {
  const t = useTranslations("LocaleSwitcher");
  const [isPending, startTransition] = useTransition();
  const locale = useLocale();
  const router = useRouter();
  const pathname = usePathname();

  // Get the current query parameters
  const searchParams = useSearchParams();

  const allParams = searchParams.toString();

  function onSelectChange(event) {
    const nextLocale = event.target.value;

    let newPathname = pathname + "?" + allParams;

    startTransition(() => {
      router.replace(newPathname, { locale: nextLocale });
    });
  }

  const locales = ["en", "ar" /* other languages */];
  return (

{t("label")}

      <select
        className="inline-flex appearance-none bg-transparent py-3 pl-2 pr-6"
        defaultValue={locale}
        disabled={isPending}
        onChange={onSelectChange}
      >
        {locales.map((cur) => (
          <option key={cur} value={cur}>
            {t(cur)}
          </option>
        ))}
      </select>
      ⌄

  );
}

Now if i am on this page http://localhost:30002/?location=test&city=Beirut&currency=USD and switch to Arabic i am routed normally to http://localhost:30002/ar?location=test&city=Beirut&currency=USD
But if i want to switch back to english i am routed to http://localhost:30002/en?location=test&city=Beirut&currency=USD
and the page give
This page isn’t working localhost redirected you too many times
I tried removing the page.jsx outside the locale router that has a redirect but i get same results
Also please note that http://localhost:30002/?location=test&city=Beirut&currency=USD works fine
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://github.com/advanced-digital-technologies/lokalee-new-web/tree/staging
Reproduction description
Steps to reproduce:

Open reproduction npm run dev
Add some searchParams to the url ex: location=test&foo=bar
Switch to arabic
Switch back to english

Expected behaviour
http://localhost:30002/en?location=test&city=Beirut&currency=USD should redirect to http://localhost:30002/?location=test&city=Beirut&currency=USD

Thank you for the bug report! I've just fixed this in<EMAIL_ADDRESS>(see the 3.0 RC announcement)

Thank you for an amazing library <3

Thanks @madaher-dev, this comment just helped me solve how to correctly handle query params in my LocaleSwitcher component. I'm just wondering if this should be added to some of the examples.
@amannn would you like me to make a PR to update the example here or somewhere else in the repo? More than happy to do so 🤗

Sounds like a good idea, thanks!
Would you mind updating the corresponding expandable section in the useRouter docs as well?

Hello, your job is really amazing.
However I'm facing an issue. I actually have nested route params "/store/[storeId]/products/[id]", and the locale switcher does not work as excepted. I tried this
     router.replace(         // @ts-expect-error -- TypeScript will validate that only knownparams        // are used in combination with a givenpathname. Since the two will         // always match for the current route, we can skip runtime checks.         {pathname, params},         {locale: nextLocale}       );
But it does not redirect me well. Have you got solution ?

With component Link:
`import { LanguagesIcon } from 'lucide-react'
import { useSearchParams } from 'next/navigation'
import { useLocale } from 'next-intl'
import { Link, usePathname } from '@/i18n/routing'
import { Button } from './ui/button'
export function LocaleSwitcher() {
const locale = useLocale()
const otherLocale = locale === 'en' ? 'pt' : 'en'
const pathname = usePathname()
const searchParams = useSearchParams()
const allParams = searchParams.toString()
const newPathname = ${pathname}?${allParams}
return (

)
}
`

with component link:
`import { LanguagesIcon } from 'lucide-react'
import { useSearchParams } from 'next/navigation'
import { useLocale } from 'next-intl'
import { Link, usePathname } from '@/i18n/routing'
import { Button } from './ui/button'
export function LocaleSwitcher() {
const locale = useLocale()
const otherLocale = locale === 'en' ? 'pt' : 'en'
const pathname = usePathname()
const searchParams = useSearchParams()
const allParams = searchParams.toString()
const newPathname = ${pathname}?${allParams}
return (

)
}`


Shibboleth - <IP_ADDRESS>. Shibboleth login with persistent-id header and email available

Expectation
Use idp2 and “anon” as the username; the user should be logged in successfully, be in the “Authenticated” and “IDP2” groups (there’s no mapping for the unscoped-affiliation with value “student”), the netid column should be filled in.
Actual
the netid column should be filled in. -> it's not. No mention of config; but when netid-header = eppn,persistent-id...
(other parts not tested, yet)

@kosarko
I managed to sign in successfully as the 'anon' user, but the user was only assigned to the 'Authenticated' group and not to 'IDP2'. The netid of the anon user after login looks like this: anon@example.org[https://idptestbed/idp/shibboleth]
Is it OK?
I tested it on our our dev5 testing environment.

@milanmajchrak the entityId of idp2 is https://someother/idp/shibboleth (https://github.com/ufal/dockerized-idp-testbed/blob/b3d95d05bcfd8a6080699051df7e85942493cfd3/idp2/shibboleth-idp/conf/idp.properties#L5). So it seems you've logged in through idp1

tracked as https://github.com/dataquest-dev/DSpace/issues/771


IPsec errors after upgrade to 15.7.19

Just updated from 15.7.16-amd64 to 15.7.19-amd64.
I've noticed the following errors in ipsec.log:
Nov 23 22:29:43 opnsense charon: 09[IKE] <con1-000|4> no shared key found for 'A.A.A.A'[A.A.A.A] - 'B.B.B.B'[B.B.B.B]

Due to this error the affected IPsec tunnel could not be established. I was able to fix this error by editing the Phase 1 configuration and clicking on Save.
And I've noticed another error:
Nov 23 22:27:16 opnsense charon: 11[KNL] unable to query SAD entry with SPI 8ccac7f9: No such file or directory (2)

I'm not sure about this one. Some phase 2 tunnel(s) seem unstable or not working bidirectional. This error was logged 85 times during the last hour.
(It seems to me that only one connection is affected by these issues.)

Looks like a one-time error or specific to 15.7.19. No longer an issue in 15.7.20 and pre-15.7.21.


Registering Team BlockCoder

Application for Registering Team to CODE CAMP 1.0
This pull request template helps you complete an application to the CODE CAMP 1.0 HACKATHON. Use the checklist below to verify that you have followed the instructions correctly.
(Put x inside [] like [x])
Select the type of Pull Request

[x] Registration Pull request.

[] Submission Pull request.
Checklist ✅

[x] I have read the instructions on the README file before submitting my application and gone through CODE_OF_CONDUCT.
[x] I have Submitted my team's details by making a folder of my team as instructed in How to send Pull Request page.
[x] I have used the Markdown file template to add my information for the Hackathon.
[x] I have given all the necessary details as mentioned in template index.md file and the details are correct and best to my knowledge.
[x] I understand that a reviewer will merge my pull request after examining it or ask for changes in case needed.
[x] I understand I should not tag or add a reviewer to this Pull Request.
[x] I understand the Details added to the template will be used as a means of communication at the time of result declaration.
[x] I have added the event to my calendar.

@ajinkyabrahmankar , Please mention your Quotes ASAP. or have to close it,.

@ajinkyabrahmankar , please join the group and text [we are team team_name, we are in]


provide link to built-in role for minimum permissions needed to run deployment script

Hello. The section Configure the minimum permissions lists the minimum permissions needed to run a deployment script (that will be calling az cli or powershell). What would be very helpful, if this exists, is to reference a built-in role, or multiple built-in roles if a single such one doesn't exist, such as the ones listed here, that could be used to provide the necessary permissions. This would be particularly useful, since the creation/maintenance, etc. of roles, while doable, is not trivial. I myself have not yet found built-in roles that fit the bill, but still looking.

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

ID: b5c4c8c5-7757-a969-5800-17f2f2312649
Version Independent ID: 9ced8dd5-43ca-6d1f-c054-842299db8327
Content: Use deployment scripts in templates - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/deployment-script-template.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@roalexan Thanks for your comment! We will review and provide an update as appropriate.

@roalexan - Thank you for your comments.  We have created a task for adding a built-in role.
#please-close


Fix generating incomplete Windows command in air-gapped

Patch the AGENT_IMAGE env back to the command when the setting side
agent image isn't equal to the resolved side.
Issue:
https://github.com/rancher/rancher/issues/23040

@loganhz @gitlawr @thxCode So the agent command looks like
PowerShell -NoLogo -NonInteractive -Command "& {docker run -v c:/:c:/host -e AGENT_IMAGE=fake-registry.rancher.io:443/rancher/rancher-agent:test fake-registry.rancher.io:443/rancher/rancher-agent:test bootstrap --server %s --token %s%s | iex}"`

I don't understand why we need to specify the AGENT_IMAGE environment variable if the correct image is specified as the image.
Like, it seems like the agent should be intelligent enough to handle this scenario without needing AGENT_IMAGE set. Why doesn't Linux need to set the AGENT_IMAGE when using a private regirsty?

@cjellick ,
For Linux command, it is still one docker run command:
sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run fake-registry.rancher.io:443/rancher/rancher-agent:test --server %s --token %s%s

but for Windows command, we could separate it to 2 part:
PowerShell -NoLogo -NonInteractive -Command "& {

docker run -v c:/:c:/host %s%s bootstrap --server %s --token %s%s // **the docker run command**

| iex // **the powershell command**

}"

the docker run command would create some new directories on the host, put some util files into the host and generate an entry point PowerShell script
the powershell command would execute the above entry point script to detect some prerequisites, if everything is ok, it would docker run the agent container like that single Linux command: https://github.com/rancher/rancher/blob/58e0a2faf07eef2e104c9e4e2a941c1f86c1f064/package/windows/bootstrap.ps1#L269-L273

The starting point of the agent container is that powershell command, so the real question is how to query its Docker image name/ID inside a container? I found that we could use this to query the image ID on Linux: https://github.com/rancher/rke-tools/blob/8be3757c440e013a7049bfc64143aeb504684559/share-root.sh#L3-L4, but there is no Cgroup on Windows.
Maybe I could try to modify the bootstrap.ps1 to query all container and compare each command with itself, I will ping you later.

@cjellick , If we modify the bootstrap.ps1 to query all container and compare each command with itself, it looks like guess the image ID, as we could not ensure there is not another container with the same command. Although the chance is very low. So I think this works, but it is not very reliable. I prefer to use env to indicate image name not guess the image ID.

OK @thxCode I agree


Docs: use auto-generated header links

README.md header currently uses custom anchor links, for example:
- [About Globalize](#about)
...

## About Globalize

We should replace them for auto-generated header links:
- - [About Globalize](#about)
+ - [About Globalize](#about-globalize)
...
-
## About Globalize

The auto-generated header links can be deduced from the title or by observing the links at the live page https://github.com/jquery/globalize/blob/master/README.md.

@ManrajGrover I've updated the description with more information. Feel free to ask on any question.


support for Django websockets/channels/asgi

There may be some opportunities to integrate with lambda's websocket configuration, but I don't thing asgi fits the lambda model, since the advantage with asgi is running concurrent functions in the same process/instance.
Lambda spins a new instance each time executed, so we can't take advantage of asgi.

Yes, makes sense. I was thinking the same thing. Suppose I'd want to implement a chat/live location server with websockets. Following the lambda behaviour, if there are 100 users using the server for 1 hour, then lambda would spin up 100 instances, and pricing would be calculated based on execution time.
Rather stay away from lambda for this xD. Thanks for the reply.


Display collection aliases

Milvus aliases are great for migrating indices without changing client code/config.
It would be nice if Attu could:

display them
use them in the dropdown in the vector search screen.

@mausch
Thanks for your suggestion.
The showcollections api in Milvus grpc server does not provide alias information.
Collection has no way to associate with alias in Attu ui right now.
Attu will support it when Milvus support.

Milvus doesn't include aliases in the /api/v1/collections endpoint.
But it does show them in the endpoint for each collection e.g. /api/v1/collections/my_collection :
{
    "data": {
        "virtual_channel_names": [
            "by-dev-rootcoord-dml_0_436142118549261633v0",
            "by-dev-rootcoord-dml_1_436142118549261633v1"
        ],
        "physical_channel_names": [
            "by-dev-rootcoord-dml_0",
            "by-dev-rootcoord-dml_1"
        ],
        "aliases": [
            "some_alias"
        ],
        "start_positions": [],
        "status": {
            "error_code": "Success",
            "reason": ""
        },
        "schema": {
            "fields": [...],
            "name": "my_collection",
            "description": "some description",
            "autoID": false
        },
        "collectionID": "436142118549261633",
        "created_timestamp": "436142118549061636",
        "created_utc_timestamp": "1663750147053",
        "shards_num": 2,
        "consistency_level": "Strong",
        "collection_name": "my_collection"
    },
    "statusCode": 200
}

oh, we will add alias soon. thanks.


[Flaky E2E] Deployment should admit workloads after change queue-name if AvailableReplicas = 0

What happened:
End To End Suite: kindest/node:v1.28.9: [It] Deployment should admit workloads after change queue-name if AvailableReplicas = 0
{Expected success, but got an error:
    <*errors.StatusError | 0xc000996960>:
    workloads.kueue.x-k8s.io "pod-deployment-6d47d84db6-89fv2-c7e95" not found
    {
        ErrStatus: {
            TypeMeta: {Kind: "", APIVersion: ""},
            ListMeta: {
                SelfLink: "",
                ResourceVersion: "",
                Continue: "",
                RemainingItemCount: nil,
            },
            Status: "Failure",
            Message: "workloads.kueue.x-k8s.io \"pod-deployment-6d47d84db6-89fv2-c7e95\" not found",
            Reason: "NotFound",
            Details: {
                Name: "pod-deployment-6d47d84db6-89fv2-c7e95",
                Group: "kueue.x-k8s.io",
                Kind: "workloads",
                UID: "",
                Causes: nil,
                RetryAfterSeconds: 0,
            },
            Code: 404,
        },
    } failed [FAILED] Expected success, but got an error:
    <*errors.StatusError | 0xc000996960>:
    workloads.kueue.x-k8s.io "pod-deployment-6d47d84db6-89fv2-c7e95" not found
    {
        ErrStatus: {
            TypeMeta: {Kind: "", APIVersion: ""},
            ListMeta: {
                SelfLink: "",
                ResourceVersion: "",
                Continue: "",
                RemainingItemCount: nil,
            },
            Status: "Failure",
            Message: "workloads.kueue.x-k8s.io \"pod-deployment-6d47d84db6-89fv2-c7e95\" not found",
            Reason: "NotFound",
            Details: {
                Name: "pod-deployment-6d47d84db6-89fv2-c7e95",
                Group: "kueue.x-k8s.io",
                Kind: "workloads",
                UID: "",
                Causes: nil,
                RetryAfterSeconds: 0,
            },
            Code: 404,
        },
    }
In [It] at: /home/prow/go/src/sigs.k8s.io/kueue/test/e2e/singlecluster/deployment_test.go:202 @ 11/25/24 10:17:18.844
}

What you expected to happen:
No errors.
How to reproduce it (as minimally and precisely as possible):
https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_kueue/3615/pull-kueue-test-e2e-main-1-28/1860988860012433408
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Kueue version (use git describe --tags --dirty --always):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/assign @mbobrovskyi
PTAL

@mbobrovskyi the test fails pretty often, if the fix is not simple I propose to rollback the previous PR and work on it more

another: https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_kueue/3630/pull-kueue-test-e2e-main-1-29/1861011169054035968

/kind flake


[Task]

Description
Add sshd server when build hertzbeat docker image.
We need sshd service to connect other server without password when use hertzbeat docker container.
Dockerfile is here. https://github.com/dromara/hertzbeat/blob/master/script/docker/server/Dockerfile
Task List

[ ] Add sshd server when build hertzbeat docker image.

I am on it currently doing it now!


Inclusion of tvOS as supported platform

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Even though Fastlane is working quite well with tvOS Applications, the fact is that tvOS is not yet part of the supported platforms
We have been actually using Fastlane in our tvOS App, for months already, without any mayor issue. But the point is that we still lack the possibility to define tvOS as platform, as a first class citizen.
might it be, after a lot of work in actions and modules during the last months to support tvOS, the right moment to include it as one of the supported platform?  💪📺

Are there any updates on this?

Unfortunately we haven't had the time yet to go through the whole process and ensure tvOS works everywhere. We've had some contribution here and there around this recently, but never looked at the bigger picture for tvOS so far.

Hey everyone, thanks for submitting this issue, great idea 🚀
Right now we’re super focused on making the best experience possible for iOS and Android mobile apps, so support for tvOS isn't on the immediate roadmap.
I'll close this issue for now, and will re-open it if that changes 👍

Thanks for the reply Felix. Do you know what the remaining pieces left to do are, so that adding tvOS to the supported platforms would be a reasonable step?
As @dcordero says, it's working well and seems to be a valid platform already, it just can't be targeted by platform name


setParams blurs currently focused TextInput in screen

While I am typing in a TextInput which is part of my screen and not the header, I use setParams to update a button in the header.
Current Behavior

TextInput is blurred after typing one letter

Expected Behavior

TextInput is not blurred

Your Environment

software
version

react-navigation
beta.19

react-native
0.49.3

Thanks for reporting, this is quite weird.
Some followup questions:

does it happen only on Android/iOS?
does it happen on both Debug and Release modes?
does it happen with Debugger On or Off? Both?
Can you provide a repo or a snack to reproduce this issue?

Both
Both
Both
I can't provide a repo but an extra info, the TextInput is a password input

are you using a Tab Navigator by any chance?

1 . my guess is that the setParams causes your screen to re-render and the textInput somehow loses focus
2 . calling setParams in every onChangeText seems kind of weird to me

If @vonovak 's guess is right, maybe you can try using redux. Just use a component that subscribed to redux change, instead of changing it manually.
static navigationOptions = {
  headerRight: <SomeReduxComponent/>
}

onChangeText() {
  // Send change to redux
}

Thank you I will look into this option

Similar thing happened to me but I was just using redux. Turned out that multiple components were updating at the same time which was interfering with my TextInput.

For anyone currently encountering this, upgrade to 2.0.1 or greater, which seems to resolve this.
Snack: https://snack.expo.io/By4wG7zkm
(on 2.0.0-rc.7 the TextInput loses focus on change, but by switching to 2.0.1, the focus is retained).


Play Store: Select languages for deploy

Feature Request
Motivation Behind Feature
The app has several flavor. Each flavor is registered separately in stores and has a different set of supported languages.
Feature Description
Add parameter 'language' in upload_to_play_store()
Example:
language: ['ru-RU','en-CA']

What is the current behavior regarding languages when uploading an app? Does this get changed at all? Or is this configured when creating the app initially (manually)?


Need coordinate functionality for the field class

We basically need each field to have an x and y coordinate representing the top left corner so we know where to visualize them with graphics

Done - introduced an inner x.y coordinate class for the Field which must now be given as a parameter upon field instantiation

Done - introduced an inner x.y coordinate class for the Field which must now be given as a parameter upon field instantiation


Dark Theme Support Needed

Received a few requests for Dark Theme support. Will follow up as time allows...
Community:
 https://developercommunity.visualstudio.com/content/problem/756930/extension-controls-not-adjusting-to-a-dark-theme.html
Guidance:
 https://developer.microsoft.com/en-us/azure-devops/develop/extensions

Will apply dark theme now. Issue still exists only when toggling (reload fixes)


Add "touching edge" and tight bounding box functionality

This is necessary for implementing #114.
There are a few changes to the renderer I made here:

Replace the SkinCache class with a WeakMap of Costumes to Skins

The reason that the SkinCache existed was to associate renderer-specific Skin data (which holds a costume's WebGL texture and other rendering stuff) with corresponding Costumes. We don't want to hold onto that data if those costumes are deleted, which is why I created a deletion mechanism. However, we can just use a WeakMap instead.

Replace _setSkinUniforms with _renderSkin

This is mostly incidental, and was done because I noticed a WebGL warning in the console when we tried to render skins without a texture. By unifying the setting of uniforms (preparing to render a skin) and actually rendering the skin, we can return early from rendering if no texture exists. Previously, we were only returning from the "prepare to render" part, and rendering unconditionally.

Cache sprite-specific data in Drawable class

This is the big change that makes the rest of this possible. Much as we have Skins associated with Costumes, we now have Drawables associated with Sprites. The transformation matrix is now stored here, and only recalculated when a sprite's transform-related properties change. Ideally, the sprite would signal this itself by setting a flag whenever its position, size, or rotation change, but I'm not sure about whether we want that sort of cross-cutting here, so I just added diff checking for all the properties that cause the transformation matrix to be recalculated.
This is important because tight bounding boxes need convex hulls. While a transform matrix isn't that expensive to recalculate every frame, convex hulls would definitely be, so we need a way to cache them.

Implement tight bounding box and "touching edge"

Add getImageData method to skins

This gives us a way to get the texture data for a skin at a given scale, CPU-side. This will be important for calculating the convex hull.

Add effectTransformPoint function, which replicates the whirl, fisheye, pixelate, and mosaic effects in JavaScript

These effects change the convex hull of a sprite, so when we calculate the convex hull, we need to take them into account. Unfortunately, this means reimplementing their shader code in JavaScript, as Scratch's rendering engine does.

Add convex hull calculation

Now that we have all the pieces in place, we can actually calculate the convex hull of a sprite. This is a port of the scratch-render convex hull code and my Rust version of it.

Add a function to get the tight bounding box of a sprite, and use that to implement "touching edge"

This function basically transforms each convex hull point by the sprite's current transformation matrix, then creates a bounding box from all those points.

There's still no "touching edge" support for the sb-edit Leopard code generator--that needs to be implemented separately.

I should say, by the way, that this update is absolutely amazing and way above my pay grade. Thank you for the amazing work @adroitwhiz! 🤩

Whoops, fixed those issues. I'm definitely in support of converting stuff over to TypeScript now that we have a build step.

BTW, I tested these changes with the ifOnEdgeBounce implementation from #114 and it works very well -- see my most recent post in that PR for screenshots of improved performance.  Excellent work!!


[Feature] Create a website using basic html/css/js for inference

Goal : The goal of this task is to create a website that takes an image and finally able to integrate with the trained models and perform inference.
Todo tasks :

[ ] Create a basic screen that has a button and will be able to upload a file.
[ ] Look for a way to integrate javascript and python.
[ ] Able to apply inference from javascript
[ ] Display the results

@lcskrishna

@meghanalolla7  Try to create a screen using html/css/js that is useful for integration into the python code later.


Seems, that mask rejection isn't working

Looked through examples, located here http://candreoliveira.github.io/bower_components/angular-mask/examples/#/.
All date examples with restrict set to reject are not working as far as I can tell. Maybe I'm missing something?
If mask is MASK: 19/39/9999 and RESTRICT: REJECT, then I would assume, that nothing beside this 19/39/9999 shoud be allowed to be inserted.

The rejection is applied to invalid characters. Those chars aren't inserted with selection to show the user mistake according mask.


AttributeError when resizing Editor window

From<EMAIL_ADDRESS>on 2010-07-17T12:11:01Z
What steps will reproduce the problem?

Resize the editor using mouse 2. 3. What is the expected output? What do you see instead? The window resizes as expected. However, the interactive console shows the following error repeatedly while resizing:

Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/spyder-1.1.2-py2.6.egg/spyderlib/widgets/qscieditor/qscieditor.py", line 227, in resizeEvent
super(QsciEditor, self).resizeEvent(event)
AttributeError: 'super' object has no attribute 'resizeEvent' What version of the product are you using? On what operating system? The "About" window shows:
Spyder 1.1.2
and
Python 2.6.2, Qt 4.5.0, PyQt 4.4.4, QScintilla 2.3.2 on Linux
The operating system is: crunchbang-9.04.01.amd64
Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=252

From<EMAIL_ADDRESS>on 2010-07-17T10:15:39Z
Further, when I start the program, the error message is already shown several times in the console.

From pierre.raybaut on 2010-07-20T08:01:21Z
This bug is very weird considering the fact that QsciEditor's ancestor (QScintillaBase) has a method called 'resizeEvent', so 'super' should be able to find it. However on certain versions of PyQt, 'super' may not work as accepted. In an attempt to fix this issue, I've replaced the use of 'super' by the direct call of parent class method: https://code.google.com/p/spyderlib/source/detail?r=1245230589fc71f30d7957cadc0a0dbc2201df26&repo=v11
Status: Accepted

From pierre.raybaut on 2010-10-17T13:02:24Z
Status: Duplicate
Mergedinto: 398


Opportunities to earn

Hi,
I hope all is well. I am looking for opportunities to earn WorldCoin. Is the project team currently offering any such opportunities for OSS developers?
Thanks,
Brian

Hello and thank’s for the interest!
All our open positions can be found here. I’d encourage you to apply to anything you see that might be of interest to you.

Ok, thank you.


Use LLVM_READONLY instead of attribute((pure))

https://github.com/apple/swift-llvm/blob/e44c29ad5d92878e5d60b4bea39f4af6977846ef/include/llvm/Support/Compiler.h#L170

@swift-ci please smoke test

Seems like we can't import the LLVM file in shims - not sure why... investigating

@jrose-apple I got errors (no such file "llvm/Support/Compiler.h"). I couldn't explain them, but I thought they were perhaps related to the fact that the shims don't include any LLVM paths... I tried including them and got some errors (module LLVMSupport requires feature cplusplus)

SwiftShims get installed, they can't reference LLVM headers.

SwiftShims get installed, they can't reference LLVM headers.

Installed where? I understand they're being copied from code in the runtime. However, could it be a good idea to also copy Compiler.h (and llvm-config.h)
Might be overkill, but let me know what you think - could let us clean up some stuff in swiftShims

Ah, elaborating: SwiftShims are headers needed to properly import the Swift standard library. As such, they should be standalone. Including llvm-config.h in particular would be incorrect, since that's configured for the host system rather than the target system, but even without that we need to be able to define a single, self-contained module that doesn't import anything else (or else we get circularity issues due to the Platform overlay).

Got it, cheers


Bug Fix function for cast string as date/datetime (#35637)

Issue Number: close #35635

Cast rules：Consistent with mysql.
String：Date
The first part is 1-digit x: 000x-month-day
The first part is 2-digit xy: 20xy-month-day / 19xy-month-day The first part is 3-digit xyz: 20xy-0z-day / 19xy-0z-day The first part is 4-digit xyzw: xyzw-month-day
Proposed changes
Issue Number: close #xxx

run buildall


navbar height increased

👷 Deploy Preview for waterfrontiers processing.

Name
Link

🔨 Latest commit
e702778e5049791f865769954a47d5f732bd5590

🔍 Latest deploy log
https://app.netlify.com/sites/waterfrontiers/deploys/653943f31c2a6200082637f7


Update private-endpoint-dns.md

Added clarity on AVD

@asudbring
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Update generate-config.js

Current images have lots of layers, we can squash most of the layers to allow quick installation. This will also reduce the image size.
This is an intermediate step before rewriting docker files to use intermediate build layers, which would be more of a long term solution and a docker best practice. https://docs.docker.com/engine/reference/builder/#from
Squash docs are here https://docs.docker.com/engine/reference/commandline/image_build/

@wildone could you describe more in detail what the purpose of this change would be? Maybe attach a link to the Docker docs on it?

@wildone could you describe more in detail what the purpose of this change would be? Maybe attach a link to the Docker docs on it?

Is that ok?

@wildone thanks for documenting this. We'll take a look and test it out.

@wildone , thanks for the pr!
However we've recently reworked how we generate dockerfiles which makes this pr no longer applicable.


when support conda environment?

just wait a moment, we're working on it now.

Supported now, please view the readme.md


Error when executing d

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.clue
Description
After updating to version 0.10, and executing the new functionality for viewing diagnostics (<C-w>d), I get the following error:
E5108: Error executing lua: .../.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua:1552: Invalid 'window': Expected Lua number
stack traceback:
	[C]: in function 'nvim_win_call'
	.../.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua:1552: in function 'window_scroll'
	.../.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua:1321: in function 'state_advance'
	.../.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua:1277: in function <.../.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua:1260>

Neovim version
0.10
Steps to reproduce

Update to version 0.10
Install mini.clue
Place cursor over LSP diagnostic location
Hit <C-w>d

Expected behavior
Show diagnostic popup.
Actual behavior
Above error message.

Thanks for the issue!
Unfortunately, I can not reproduce: neither with my own full config nor with minimal one containing only 'mini.clue' and 'nvim-lspconfig'.
Would you mind posting a more detailed reproduction setup? With minimal config with which you can reproduce this.

Thank you for looking into this. As a minimal example, I was able to reproduce the bug with this being the only file in my nvim directory:
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
  "echasnovski/mini.clue",
  version = '*',
  config = function()
    local miniclue = require('mini.clue')
    require('mini.clue').setup {
      triggers = {
        { mode = 'n', keys = '<C-w>' },
      },
      clues = {
        miniclue.gen_clues.windows(),
      },
    }
  end
})

Also, it appears I misspoke earlier. I didn't get an error when hitting <C-w>d, but I did get the error when hitting <C-w><C-d>.

Also, it appears I misspoke earlier. I didn't get an error when hitting d, but I did get the error when hitting .

Ah, that is more like it. Yes, I can reproduce now.
The reason seems to be because <C-d> is a default mapping to scroll inside clue window. I'll take a look.

This should now be fixed on latest main.
Important note: scroll keys (<C-d> and <C-u> by default) are still treated as special keys (same as <CR>, <BS>, and <C-c>) but only when clue window is visible. So even if they can advance key state, they will work like this:

If window is visible - scroll it.
If window is not yet visible - advance state.

So to use <C-w><C-d> (which is built-in on Neovim>=0.10), press <C-d> before clue window is shown. Or configure other scrolling keys.

Thank you for taking care of this!


Update image path

Codecov Report

Merging #29 (cc28d96) into master (f3cc624) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #29   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 f3cc624...cc28d96. Read the comment docs.


Show validation error messages on edits

Currently a pending version is created even if there is validation errors. This hopefully puts an end to that.
A matter was brought up by @synthtech that Twitter image links have an odd file ending :orig/:large. This causes Paperclip to throw a validation error due to their content type spoof system. Seems we can support them by adding the content type mappings manually but unsure if its worth it due to V3 development.
/cc @NuckChorris

In V3 I'm hoping to completely obliterate the original-filename portion and preferably do something like https://static.hummingbird.me/anime/1000/poster/large.png or maybe even explicitly name the styles after sizes like https://static.hummingbird.me/anime/1000/poster/100h.png
It's just so much cleaner of a URL going forward, but I have to write a migration script.

:+1: sounds good.
On Sun, Jun 12, 2016 at 5:25 AM Peter Lejeck<EMAIL_ADDRESS>wrote:

In V3 I'm hoping to completely obliterate the original-filename portion
and preferably do something like
https://static.hummingbird.me/anime/1000/poster/large.png or maybe even
explicitly name the styles after sizes like
https://static.hummingbird.me/anime/1000/poster/100h.png
It's just so much cleaner of a URL going forward, but I have to write a
migration script.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hummingbird-me/hummingbird/pull/731#issuecomment-225388861,
or mute the thread
https://github.com/notifications/unsubscribe/AACPJhLDEnjD_NFDCtyEKF57pS2uzRhoks5qKwutgaJpZM4Iw5Io
.


[FLINK-12958] Integrate AsyncWaitOperator with mailbox (preserving compatibility with legacy sources)

What is the purpose of the change
This PR integrates AsyncWaitOperator with task's mailbox, by coordinating AsyncWaitOperator with it's Emitter thread via mailbox (the Emitter now delegates the execution of the element processing to the main task thread).
Brief change log

the AsyncWaitOperator may execute letters from the task's mailbox if the elements queue is full;
the Emitter thread is delegating elememnt processing and pop up from the StreamElementQueue to the main task thread (via mailbox).

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc @pnowojski, @zhijiangW, @AHeise
this is the rebased branch of @StefanRRichter work.

@pnowojski, thanks for the review. I opened this PR mostly as quick alternative/unblocker for further work for checkpoints triggers and timers to be migrated to mailbox. Also, it should give some approach ideas for @AHeise.
Besides what you have mentioned, I think this PR needs additional work to be done (wrt to checkpoint lock).
I'm closing this PR, as I think the common agreement that @AHeise would continue working on this and I'd build checkpoints triggers migration upon his work.


Are you getting datetime of when the user favorites or the tweet created date for liked tweets?

Hi, I just tried both tweepy and the twitter api (v2) and noticed an interesting discrepancy.
On tweepy, I used this:
api = tweepy.API(auth)
User = "StackOverflow"
tweepy.Cursor(api.favorites, id=User).items(20)

And I believe I used v1.
When I got the liked tweets by the user, the dates were different than when I tried to get the same tweets using v2 like so:
import requests
import os
import json
from types import SimpleNamespace

def convert_json_to_python_object(data):

    # Parse JSON into an object with attributes corresponding to dict keys.
    x = json.loads(data, object_hook=lambda d: SimpleNamespace(**d))
    return x

username = 'Stackoverflow'
bearer_token = 'BEARER'
headers = {
    'Authorization': f"Bearer {bearer_token}",
}
max_results = 5
tweet_fields = 'created_at'
user_fields = 'username,description'
expansions = 'author_id'

response = requests.get(f'https://api.twitter.com/2/users/{get_ids_from_usernames(username)}/liked_tweets?max_results={max_results}&tweet.fields={tweet_fields}&expansions={expansions}&user.fields={user_fields}', headers=headers)
results.append(response.content)
response_as_object = convert_json_to_python_object(response.content)

When I then do this to the object:
response_as_object.data[0].created_at

I noticed that the created date differs from the date that I get when I use tweepy.
So I'm wondering what tweepy does here, because I actually want to get the dates that tweepy gets (if they are the date that the tweet was liked, but the documentation does not say anything about how to do that: https://developer.twitter.com/en/docs/twitter-api/tweets/likes/api-reference/get-users-id-liked_tweets#tab1 )
Or at least I dont see where or how to do so.
Would love any help whatsoever on how to do this with the twitter v2 api!

The GET /2/users/:id/liked_tweets endpoint was only just released a few weeks ago and support for it hasn't been added yet (see #1472), but using an implementation I have in a stash and haven't pushed yet, I'm unable to reproduce this:
>>> favorites = api.get_favorites(screen_name="StackOverflow")
>>> favorites[0].created_at
datetime.datetime(2021, 6, 2, 16, 40, 36, tzinfo=datetime.timezone.utc)

>>> client.get_user(username="StackOverflow")
Response(data=<User id=128700677 name=Stack Overflow username=StackOverflow>, includes={}, errors=[], meta={})
>>> response = client.get_liked_tweets(id=128700677, tweet_fields=["created_at"])
>>> response.data[0].created_at
datetime.datetime(2021, 6, 2, 16, 40, 36)

Both of these match with the most recent liked Tweet at https://twitter.com/StackOverflow/likes currently being https://twitter.com/spolsky/status/1400130239573942274.
As for getting when a Tweet was favorited/liked, that's not something Twitter's API supports.

I cannot thank you enough for what you just posted. You made me realize that the problem actually has nothing to do with any discrepancy between the two, but rather that when I received the data from twitter, I didn't correctly parse it so that the dates match the correct tweets.
"As for getting when a Tweet was favorited/liked, that's not something Twitter's API supports."
Also thank you for that, was wondering whether that was even a feature!

This is what I was doing:
for favorite, user_data in zip(one_hundred_favorites.data, one_hundred_favorites.includes.users):

I was assuming that for every tweet, there was a username in the corresponding index of that tweet.
But it seems that is not the case.


[ENHANCEMENT] Get FLEET_ENROLLMENT_TOKEN

First this is really a wonderful project. Thanks for it!
Is your feature request related to a problem? Please describe.
When automating the deployment it is always a small hassle to get the enrollment token for the fleet, as it involves connecting the UI.
Describe the solution you'd like
There would be serveral solutions:
a) A way to get it via the API. I did not find the correct APIs to talk to to get them. This seems only to work for Cloud?
https://www.elastic.co/guide/en/cloud-enterprise/current/get-enrollment-tokens.html
b) Define the FLEET_ENROLLMENT_TOKEN via an ENV Variable in the docker-compose / .env
As this is only a test system this might be fine
c) Get it somewhere else and log or print it during the setup / start phase
I am talking about this Token:

Thanks for checking out the project, @PfiatDe
Because there are a lot of nuance in what policy someone might want and for what OS, I think it'd be best to not build that into the script, but provide it in the README as a way to do it. I'll do that and I think it's a great idea.
I haven't tried it yet, but I think this will work that way? I'm going to try it in a bit.
curl -k -u elastic --request GET \
  --url 'https://kibana:5601/api/fleet/enrollment_api_keys' \
  --header 'Content-Type: application/json' \
  --header 'kbn-xsrf: xx'

Ref: https://www.elastic.co/guide/en/fleet/current/fleet-api-docs.html#get-enrollment-token-api

This is working great, thanks!
Created a PR with some documentation. Feel free to edit or adjust as you want.
https://github.com/peasead/elastic-container/pull/40
Thanks for keeping this project up :)

#40 merged.
Thanks for the contribution!


code exited before exploration is finished.

Hello,
I encountered an issue where the code exits unexpectedly before the exploration is completed. I suspect this might be due to the absence of  frontier in the local area around the drone. However, there are still unexplored areas further away.
Thank you for your assistance. Looking forward to your reply.
Best regards

How to use Nvidia GPU in Docker containers? After the program runs, it cannot call the graphics card, resulting in very slow and crashing

@haotongluo you probably need to adjust the "ENV LD_LIBRARY_PATH=/usr/lib/nvidia:$LD_LIBRARY_PATH" in the dockerfile to wherever 'libnvidia-ml.so*' and 'libcuda.so*' are located.

@ning-zelin I am experiencing the same issue, were you able to find a reson why this is happening and how to fix it?

@ning-zelin我遇到了同样的问题，您能找到发生这种情况的原因以及如何解决它吗？

Thank you, I have already resolved the issue with the Nvidia GPU before, but I have also encountered the same situation where after the drone exploration, the message "/errt_node die" appears

Hi @sherrypixel and @haotongluo,
Thank you for your interest in our work. The E-RRT framework is a local planner and therefore does not have a global path planner strategy. We will provide a more suitable example environment where the local planner could be sufficient to demonstrate the continuous exploration.
Thanks,
Akash

@aakapatel thanks for your response. I was also wondering if we can use a camera like d435i instead of a Lidar?

Hi, @sherrypixel,
Yes as long as you have PointCloud2 input and a stable odometry, it should work. You may need to change the input topic for UFOMap. The computation for the information gain would be slightly off if you use the package as it is with camera point cloud. The current configuration computes information gain based on frustum field of view (usually for 3D LiDARs). If you want more accurate estimate, you can modify the information gain calculation to take into accound cone like FOV for the camera.
Thanks,
Akash

Thanks @aakapatel, I shall give this a shot.


Surface vulnerabilities in package detail page

First steps in addressing https://github.com/NuGet/NuGetGallery/issues/7650
In this PR we have:

the feature flag
initial changes to the view model
initial changes to the view--we'll iterate on this in consultation with PM (for example, we don't yet have the distinction between a customer view and an owner view of the vulnerability expander, we will need to discuss tooltip and other language used, etc)--but we're under a feature flag in order to do this iteratively
test coverage will need to be augmented (refactored, actually) and I want to do this in a different PR, as some class renames will affect vulnerability ingestion code--it will be noisy, so I'll separate it out for reviewing

Here is the current state of the view, highlights in red boxes:

Because deprecations and vulnerabilities share the same bang, you'll see a combining of the logic in the view, and combination messages in the tooltip. These can be sweetened later as well, of course.

FYI @JonDouglas

@drewgillies , this PR is pretty big. Please split.

Thanks for all of your feedback, everyone. I'll close this PR and create separate ones per Svetlana's request. I've answered the questions asked here.


Fixed UsingFilterOptions rendering in EF Core 3.0

Could you create and issue explaining what doesn't work?

In my app after migration from .NET Core 2.2 to .NET Core 3.0 (and from EF Core 2.2 to EF Core 3.0)
I recieved many exceptions:
An unhandled exception occurred while processing the request. InvalidOperationException: Null TypeMapping in Sql Tree Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor+SqlTypeMappingVerifyingExpressionVisitor.VisitExtension(Expression node)
in columns with this filtering method:
grid.Columns.Add(m => m.Year).Titled("Year").Css("align-middle").UsingFilterOptions();
Without UsingFilterOptions() everything works fine, so based on that I found that problem is inside that method.
I found out that EF Core 3.0 throws exceptions when it can't translate expression to SQL, so I adjusted LINQ expresions to be translatable to SQL.

Merged in 1a530eb621dc1b97745b4ea8a05cea7e11870c43.

I found that this statement in my last commit
Select(x => x?.ToString() ?? "")
can be simplified with that:
.Select(x => x!.ToString())


Unable to set default boolean USER_INPUTS value to YES

Description
We set up some template with some boolean USER_INPUTS like explained in the documentation but sunstone eith:

always ask to select a value
freeze with the following error in the consoleUncaught Error: Syntax error, unrecognized expression: :radio[name="bool_one98" value="]
    jQuery 4
        error
        tokenize
        Sizzle
        find
    validateRadio foundation.js:2162
    validateInput foundation.js:2043
    validateForm foundation.js:2098
    jQuery 2
        each
        each
    validateForm foundation.js:2097
    _events foundation.js:1824
    jQuery 8
        dispatch
        handle
        trigger
        trigger
        each
        each
        trigger
        name
    _submitFormPanel sunstone.js:1085
    setTimeout handler*_submitFormPanel sunstone.js:1082
    _insertButtonsInTab sunstone.js:545
    jQuery 2
        dispatch
        handle
jquery.js:1468
    jQuery 4
    validateRadio foundation.js:2162
    validateInput foundation.js:2043
    validateForm foundation.js:2098
    jQuery 2
    validateForm foundation.js:2097
    _events foundation.js:1824
    jQuery 8
    _submitFormPanel sunstone.js:1085
    (Async: setTimeout handler)
    _submitFormPanel sunstone.js:1082
    _insertButtonsInTab sunstone.js:545
    jQuery 2

To Reproduce

Download the Ubuntu-20.04 App
Update the template to add the following USER_INPUTS, Sunstone produce the following:USER_INPUTS=[
  DEFTRUE="M|boolean|try default to yes| |YES" ]

Instanciate the VM

Expected behavior
The VM should instanciate without any issue and the DEFTRUE context valiable should be set to YES
Details

Affected Component: Sunstone
Hypervisor: KVM
Version: <IP_ADDRESS>-1.ce

Additional context

Everything is working fine when the default value is NO like:USER_INPUTS=[
  DEFTRUE="M|boolean|try default to yes| |YES" ]

There is an issue in the documentation, a | seems to be missing between <desc> and <default>  since it describe the boolean as:<VAR>=”M|boolean| <desc>|<default>|”

Regards.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Note that I manually patched Sunstone to fix #4946, it may be related.
Regards.

I have a different behaviour between the cloud view and the user view:

in cloud view, sunstone wants me to select NO for the input, when NO is selected, the YES is displayed as selected too
in user view, sunstone just display Submitting at the top level and nothing more than what I described in the issue.

Regards.

PRs to merge:

one: https://github.com/OpenNebula/one-ee/pull/274
doc: https://github.com/OpenNebula/docs/pull/1307

That will be fixed in the next release, you can patch manually:
diff --git a/src/sunstone/public/app/utils/user-inputs.js b/src/sunstone/public/app/utils/user-inputs.js
index 8c83f8029..b70b12099 100644
--- a/src/sunstone/public/app/utils/user-inputs.js
+++ b/src/sunstone/public/app/utils/user-inputs.js
@@ -855,7 +855,7 @@ define(function(require) {
         var id = UniqueId.id();
         if(value == "YES"){
           input = "
" + Locale.tr("YES ") + "<input style='margin-right: 20px' checked type='radio' name='bool_" +id + "' value='YES'" + wizard_field + " " + required + "/>";
-          input += Locale.tr("NO ") + "<input type='radio' name='bool_" + id + "\" value='NO'" + wizard_field + " " + required + "/>";
+          input += Locale.tr("NO ") + "<input type='radio' name='bool_" + id + "' value='NO'" + wizard_field + " " + required + "/>";
         } else if(value == "NO"){
           input = "
" + Locale.tr("YES ") + "<input style='margin-right: 20px' type='radio' name='bool_" + id + "' value='YES'" + wizard_field + " " + required + "/>";
           input += Locale.tr("NO ") + "<input checked type='radio' name='bool_" + id + "' value='NO'" + wizard_field + " " + required + "/>"

Thanks a lot @sbbarragan, @tinova.
I patched my Sunstone and it's working.


Define a reason for applying @ApiIgnore

When you annotate a service @ApiIgnore, there is always a good reason for this and you might want to explain it in your code for the developers that will come after you. This can be done currently with a comment, but it would be even better you have reason attribute in the annotation to have something like that:
@ApiIgnore(reason = "A very good reason why ignore this API.")

Thanks for the suggestion!


[TimePicker] Ref is accessed just after being removed

Problem Description
This bug is hard to reproduce and only happens sometimes: when selecting a time, I get this:

TypeError: Cannot read property 'getSelectedTime' of undefined
File "webpack:///./~/material-ui/TimePicker/TimePickerDialog.js" line 68 col 1 in r.handleTouchTapOK
_this.props.onAccept(_this.refs.clock.getSelectedTime());
File "webpack:///./~/material-ui/TimePicker/Clock.js" line 111 col 1 in [anonymous]
onChangeMinutes(time);

I believe it could be because the Clock is sometimes unmounted just before it is accessed through its ref: https://github.com/callemall/material-ui/blob/a76c0889055fbc7cc854b391f915cd477f3687a8/src/TimePicker/TimePickerDialog.js#L60
Maybe calling this.dismiss(); at the end of the function would help?
Versions

Material-UI: 0.15.0-beta.2
React: 15.0.1
Browser: Chrome 49 on Windows & Chrome Mobile 50 on Android

@antoinerousseau : I know you mentioned this:

This bug is hard to reproduce and only happens sometimes

I tried a lot to reproduce this, but I was not able to generate this behavior. Are you trying to emulate a mobile browser on chrome?

It happened in a real Android phone (Moto G).
I'll let you know if it happens again.

@antoinerousseau : I have a question (forgive my naivety) . How did you enable developer tools on phone?
Appreciate your input here.

@tintin1343 I'm using Rollbar.com to report JS errors

I am closing this issue for now as its not reproducible. If you find anything further do leave a comment below and I wlll reopen it. Thanks!


LL components vs. avg. pooling

Hi,
in the original paper equivalence between avg. pooling and the LL-component of the decomposition are claimed. However, in your code the L-component evaluates to [[0.5, 0.5], [0.5, 0.5]], which contradicts this statement. Am I missing something?

Hi, we did not mean to say that LL is exactly the average pooling. We are saying that it is giving a similar effect (extracting a DC component of an image) to what average pooling does, and it actually is with a constant factor of 1/2 in that the average pooling is 1/2 * [[0.5,0.5], [0.5,0.5]]. The constant factor can be ignored since this operation is combined with the learned weights.

Thanks for the quick answer, that makes sense!


use "unknown-python-service" as default service name

closes #1425

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Reason: Aborted from #2

Start Time: 2021-12-21T10:28:13.086+0000

Duration: 5 min 51 sec

Commit: f4506a1593c537c886cf87e5a261738b8cc258c1

Steps errors
Expand to view the steps failures

Show only the first 10 steps failures

Restore files previously stashed

Took 0 min 0 sec . View more details here
Description: coverage-pypy-3-mysqlclient-newest

Restore files previously stashed

Took 0 min 0 sec . View more details here
Description: coverage-pypy-3-pymemcache-newest

Restore files previously stashed

Took 0 min 0 sec . View more details here
Description: coverage-pypy-3-graphene-2

Restore files previously stashed

Took 0 min 0 sec . View more details here
Description: coverage-pypy-3-httpx-newest

Restore files previously stashed

Took 0 min 0 sec . View more details here
Description: coverage-pypy-3-httplib2-newest

Restore files previously stashed

Took 0 min 0 sec . View more details here
Description: coverage-pypy-3-prometheus_client-newest

Restore files previously stashed

Took 0 min 0 sec . View more details here
Description: coverage-3.7-none

Restore files previously stashed

Took 0 min 0 sec . View more details here
Description: coverage-3.8-none

Restore files previously stashed

Took 0 min 0 sec . View more details here
Description: coverage-3.9-none

Shell Script

Took 0 min 0 sec . View more details here
Description: python3 -m coverage combine && python3 -m coverage xml

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

/test linters : Run the Python linters only.

/test full : Run the full matrix of tests.

/test benchmark : Run the APM Agent Python benchmarks tests.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


[nominal-lcf] have one choice sequence per sort

Currently, we're threading a single choice sequence of atoms through the refiner, but in fact, this will lead to trouble as you might bind a symbol of one sort, but have it be used elsewhere as if it were another sort. The right thing to do is, I think, to send around a family of name stores, and have symbol binding in Nominal LCF scripts elaborate to pushing a symbol onto the appropriate choice sequence.

This will need to be dealt with in the nominal lcf lib itself


Game crash from OpenAL buffer unqueue - invalid value

May be difficult to analyze, but maybe we can improve the logging.
Happened to @arpan98 and I think I've seen another OpenAL crash in the recent few months, but it seems so vague and inconsistent I'm not sure what to do with it. Maybe it relates to having a large amount of concurrent audio sources? We were in multiplayer with several players around, a ton of deer walking (triggering footstep sfx), and so on.
Full log at: https://pastebin.com/qDrWbMkG
Snippet:
23:59:13.518 [main] INFO  o.t.logic.console.ConsoleImpl - [CHAT] Cervator: sometimes we make tweaks but then later completely overhaul a system which then changes everything
23:59:18.013 [main] ERROR o.terasology.engine.TerasologyEngine - Uncaught exception, attempting clean game shutdown
org.terasology.audio.openAL.OpenALException: OpenAL Error (40963) at Buffer unqueue - Invalid Value
    at org.terasology.audio.openAL.streamingSound.OpenALStreamingSoundSource.update(OpenALStreamingSoundSource.java:80)
    at org.terasology.audio.openAL.BaseSoundPool.lambda$update$360(BaseSoundPool.java:114)
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
    at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1548)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
    at org.terasology.audio.openAL.BaseSoundPool.update(BaseSoundPool.java:114)
    at org.terasology.audio.openAL.OpenALManager.update(OpenALManager.java:263)
    at org.terasology.engine.subsystem.lwjgl.LwjglAudio.postUpdate(LwjglAudio.java:64)
    at org.terasology.engine.TerasologyEngine.tick(TerasologyEngine.java:438)
    at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:394)
    at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:370)
    at org.terasology.engine.Terasology.main(Terasology.java:153)
23:59:18.014 [main] INFO  o.terasology.engine.TerasologyEngine - Shutting down Terasology...
23:59:18.167 [main] INFO  o.t.n.internal.NetworkSystemImpl - Network shutdown

Happened a second time, for @0shine0 this time - so probably a game issue rather than OpenAL itself.
https://pastebin.com/vVQ1nDgs
It happened after a bunch of dwarf hall requests to Gooey. That causes particle effects each time for sure, I am not sure if maybe it causes sfx? Or maybe just some heavy processing for a moment

Noticed this was reported during Alpha 7 testing as well (by me, no wonder it seemed familiar) as well: https://github.com/MovingBlocks/Terasology/issues/2766#issuecomment-284208798
So maybe it is an issue we can try to find a way to address.

Still happening, random report via IRC. Unclear what the user was doing but supposedly just standing around not moving, maybe in JS with skill training going.
This seems to be a rare but not very picky issue about environment. Maybe just a rare bug in OpenAL itself? Or a rare game condition the related logic can't handle.
No real reason this should be a fatal issue, we could probably try to catch that specific exception and attempt to gracefully recover and continue.
11:33:42.722 [main] ERROR o.terasology.engine.TerasologyEngine - Uncaught exception, attempting clean game shutdown
org.terasology.audio.openAL.OpenALException: OpenAL Error (40963) at Buffer unqueue - Invalid Value
    at org.terasology.audio.openAL.streamingSound.OpenALStreamingSoundSource.update(OpenALStreamingSoundSource.java:80)
    at org.terasology.audio.openAL.BaseSoundPool.lambda$update$65(BaseSoundPool.java:114)
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
    at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
    at java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)
    at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
    at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
    at java.util.stream.ReferencePipeline.forEach(Unknown Source)
    at org.terasology.audio.openAL.BaseSoundPool.update(BaseSoundPool.java:114)
    at org.terasology.audio.openAL.OpenALManager.update(OpenALManager.java:278)
    at org.terasology.engine.subsystem.lwjgl.LwjglAudio.postUpdate(LwjglAudio.java:64)
    at org.terasology.engine.TerasologyEngine.tick(TerasologyEngine.java:444)
    at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:400)
    at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:376)
    at org.terasology.engine.Terasology.main(Terasology.java:153)
11:33:42.724 [main] INFO  o.terasology.engine.TerasologyEngine - Shutting down Terasology...

A slight variant of this just happened to me while merging entirely unrelated PRs locally in a mega-workspace. Even on just loading the game during OpenAL initialization my Java hard crashed. I had music running off Soundcloud in a Chrome window, no other known sound sources at the moment. It may have also happened right around as I moved focus away from IntelliJ but that seems less likely to matter.
Next game execution with no changes at all worked fine. I wonder if these intermittent issues would go away with a later version of OpenAL
...
18:27:23.020 [main] INFO  o.t.audio.openAL.OpenALManager - Initializing OpenAL audio manager
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000226e1066, pid=7060, tid=0x0000000000002d68
#
# JRE version: Java(TM) SE Runtime Environment (8.0_112-b15) (build 1.8.0_112-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.112-b15 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [OpenAL64.dll+0x11066]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Dev\Terasology\Git\ModuleMegaWorkspace\Terasology\hs_err_pid7060.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
AL lib: (EE) alc_cleanup: 1 device not closed

Process finished with exit code 1

The dump file that came along with it is embedded at https://gist.github.com/Cervator/9a85f1630a61920d63fa391466fcab63

Happened to me during Omega multiplayer test.
https://pastebin.com/8qjdWCwP

Fixed or otherwise no longer relevant, you say?
https://drive.google.com/uc?id=1tfnO7-fKyFVoKDmIb7_7AOwBPpwP8nqv&export=download

Heya @keturn - yeah the "no longer relevant" part within the context of notable Alpha 9 issues, yes :-)
Good part is that this seems relatively rare, but is a definite issue. Hoping a later upgrade of underlying libraries will make it go away.
Just hit it once more myself. Had two different games running and Terasology with music active on a multiplayer session.
14:11:33.427 [main] ERROR o.terasology.engine.TerasologyEngine - Uncaught exception, attempting clean game shutdown
org.terasology.audio.openAL.OpenALException: OpenAL Error (40963) at Buffer unqueue - Invalid Value
	at org.terasology.audio.openAL.streamingSound.OpenALStreamingSoundSource.update(OpenALStreamingSoundSource.java:80)
	at org.terasology.audio.openAL.BaseSoundPool.lambda$update$1(BaseSoundPool.java:114)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
	at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)
	at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
	at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at org.terasology.audio.openAL.BaseSoundPool.update(BaseSoundPool.java:114)
	at org.terasology.audio.openAL.OpenALManager.update(OpenALManager.java:278)
	at org.terasology.engine.subsystem.lwjgl.LwjglAudio.postUpdate(LwjglAudio.java:64)
	at org.terasology.engine.TerasologyEngine.tick(TerasologyEngine.java:467)
	at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:421)
	at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:397)
	at org.terasology.engine.Terasology.main(Terasology.java:156)
14:11:33.427 [main] INFO  o.terasology.engine.TerasologyEngine - Shutting down Terasology...

Still happens - usual play test today
13:28:01.888 [main] INFO  o.t.logic.console.ConsoleImpl - [CONSOLE] Message sent
13:28:06.282 [main] INFO  o.t.musicdirector.MusicDirectorImpl - Removed ShootingStars
13:28:06.282 [main] INFO  o.t.musicdirector.MusicDirectorImpl - Removed OrcFortress
13:28:06.282 [main] INFO  o.t.musicdirector.MusicDirectorImpl - Removed PeacefulWorld
13:28:29.322 [main] ERROR o.terasology.engine.TerasologyEngine - Uncaught exception, attempting clean game shutdown
org.terasology.audio.openAL.OpenALException: OpenAL Error (40963) at Buffer unqueue - Invalid Value
	at org.terasology.audio.openAL.streamingSound.OpenALStreamingSoundSource.update(OpenALStreamingSoundSource.java:80)
	at org.terasology.audio.openAL.BaseSoundPool.lambda$update$1(BaseSoundPool.java:114)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
	at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)
	at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
	at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at org.terasology.audio.openAL.BaseSoundPool.update(BaseSoundPool.java:114)
	at org.terasology.audio.openAL.OpenALManager.update(OpenALManager.java:271)
	at org.terasology.engine.subsystem.lwjgl.LwjglAudio.postUpdate(LwjglAudio.java:63)
	at org.terasology.engine.TerasologyEngine.tick(TerasologyEngine.java:471)
	at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:425)
	at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:401)
	at org.terasology.engine.Terasology.main(Terasology.java:156)
13:28:29.322 [main] INFO  o.terasology.engine.TerasologyEngine - Shutting down Terasology...
13:28:29.331 [main] INFO  o.t.n.internal.NetworkSystemImpl - Network shutdown
13:28:29.333 [main] INFO  o.t.musicdirector.MusicDirectorImpl - Song 'PeacefulWorld' ended
``

Still there but I wonder if this might go away after we merge #3969 which seems imminent 🤔

Still there, although a shorter log this time. Was testing out Lost, activated an angel statue, and subsequently died from fall damage, then the game crashed on trying to respawn. Unsure if that crashed quietly and caused the OpenAL issue on the way down or if it just coincidentally played some SFX that caused the crash:
15:50:05.639 [main] ERROR o.terasology.engine.TerasologyEngine - Uncaught exception, attempting clean game shutdown
org.terasology.audio.openAL.OpenALException: OpenAL Error (40963) at Setting listener orientation - Invalid Value
	at org.terasology.audio.openAL.OpenALManager.updateListener(OpenALManager.java:284)
	at org.terasology.audio.openAL.OpenALManager.updateListener(OpenALManager.java:266)
	at org.terasology.audio.system.AudioSystem.update(AudioSystem.java:113)
	at org.terasology.engine.modes.StateIngame.update(StateIngame.java:171)
	at org.terasology.engine.TerasologyEngine.tick(TerasologyEngine.java:479)
	at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:442)
	at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:418)
	at org.terasology.engine.Terasology.main(Terasology.java:182)
15:50:05.639 [main] INFO  o.terasology.engine.TerasologyEngine - Shutting down Terasology...

This happens when the location is nan or infinite.

@pollend

This happens when the location is nan or infinite.

You think that could be the cause here? In the case of respawning maybe it could be a timing issue of playing sfx before the player has a valid position to deal with positional audio or something?
Right off the top of my head I don't remember the past cases well enough to wonder if it could be the same issue every time, but at least it could be plausible. I wonder if we could harden related usages of LocationComponent to check the value ahead of time and log a better reason if invalid than just crash.

I was just looking at the code, I don't think its a null problem case umm.

Caught a similar error today while testing #4454 - although this log again differs, yet happens both times I tried my test run.

Bare workspace, with just TutorialMinimalEngineDemo present as a module
Run two clients
Host multiplayer with one, join the other
Joining client crashes back to the main menu due to https://github.com/Terasology/TutorialMinimalEngineDemo/issues/3
On then trying to close the game in the semi-crashed client I get the second error in the following snippet

No idea if the original error reported in this issue went away with LWJGL 3, but it does seem like OpenAL gets caught up in an abnormal game termination quite frequently. The game also failed to fully close in at least one case, had to terminate its orphan process manually.
22:03:39.552 [main] INFO  o.t.i18n.TranslationSystemImpl - Discovered engine:menu_ru
22:03:39.579 [main] INFO  o.t.l.p.ThirdPersonRemoteClientSystem - Somehow ended up in the else during linkHeldItemLocationForRemotePlayer - current item was EntityRef{id=0} and new item EntityRef{id=0}
22:03:39.829 [main] ERROR o.t.engine.modes.StateLoading - Error while loading org.terasology.engine.modes.loadProcesses.PrepareWorld@736b21ee
java.lang.ArrayIndexOutOfBoundsException: -13
        at org.terasology.world.chunks.remoteChunkProvider.RemoteChunkProvider.createWorldView(RemoteChunkProvider.java:228)
        at org.terasology.world.chunks.remoteChunkProvider.RemoteChunkProvider.getLocalView(RemoteChunkProvider.java:202)
        at org.terasology.world.internal.WorldProviderCoreImpl.getLocalView(WorldProviderCoreImpl.java:154)
        at org.terasology.world.internal.AbstractWorldProviderDecorator.getLocalView(AbstractWorldProviderDecorator.java:78)
        at org.terasology.world.internal.AbstractWorldProviderDecorator.getLocalView(AbstractWorldProviderDecorator.java:78)
        at org.terasology.rendering.world.RenderableWorldImpl.pregenerateChunks(RenderableWorldImpl.java:175)
        at org.terasology.rendering.world.WorldRendererImpl.pregenerateChunks(WorldRendererImpl.java:263)
        at org.terasology.engine.modes.loadProcesses.PrepareWorld.step(PrepareWorld.java:46)
        at org.terasology.engine.modes.StateLoading.update(StateLoading.java:237)
        at org.terasology.engine.TerasologyEngine.tick(TerasologyEngine.java:496)
        at org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:459)
        at org.terasology.engine.TerasologyEngine.runMain(TerasologyEngine.java:435)
        at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:401)
        at org.terasology.engine.Terasology.main(Terasology.java:174)
22:03:40.884 [main] WARN  org.terasology.nui.WidgetUtil - Contents of org.terasology.rendering.nui.layers.mainMenu.MainMenuScreen@5c1b89ac missing button with id 'storageServiceAction'
22:03:40.904 [main] WARN  o.t.engine.internal.TimeBase - Delta too great (1100), capping to 1000
22:03:40.909 [o.t.r.n.l.m.a.AdvancedGameSetupScreen-0] INFO  o.t.e.module.ModuleListDownloader - Downloading modules ..
22:03:41.161 [o.t.r.n.l.m.a.AdvancedGameSetupScreen-0] INFO  o.t.e.module.ModuleListDownloader - Parsing content ..
22:03:41.994 [o.t.r.n.l.m.a.AdvancedGameSetupScreen-0] INFO  o.t.e.module.ModuleListDownloader - Retrieved 185 entries
22:04:49.039 [main] INFO  o.terasology.engine.TerasologyEngine - Shutting down Terasology...
22:04:49.076 [Thread-4] INFO  o.t.e.s.d.DiscordRPCSubSystem - Discord RPC >> Disconnected!
22:04:53.128 [nioEventLoopGroup-3-1] ERROR org.terasology.assets.AssetType - Asset instances remained loaded after disposal - [engine:messagePopup!instance]
22:04:53.140 [nioEventLoopGroup-3-1] WARN  o.t.network.internal.ClientHandler - Unexpected exception from client
org.terasology.audio.openAL.OpenALException: OpenAL Error (40964) at Stop playback - null
        at org.terasology.audio.openAL.BaseSoundSource.stop(BaseSoundSource.java:76)
        at org.terasology.audio.openAL.streamingSound.OpenALStreamingSoundSource.stop(OpenALStreamingSoundSource.java:51)
        at java.util.HashMap$KeySet.forEach(HashMap.java:932)
        at org.terasology.audio.openAL.BaseSoundPool.stopAll(BaseSoundPool.java:109)
        at org.terasology.audio.openAL.OpenALManager.playMusic(OpenALManager.java:206)
        at org.terasology.audio.openAL.OpenALManager.loopMusic(OpenALManager.java:234)
        at org.terasology.audio.openAL.OpenALManager.loopMusic(OpenALManager.java:224)
        at org.terasology.engine.modes.StateMainMenu.playBackgroundMusic(StateMainMenu.java:186)
        at org.terasology.engine.modes.StateMainMenu.init(StateMainMenu.java:122)
        at org.terasology.engine.TerasologyEngine.switchState(TerasologyEngine.java:584)
        at org.terasology.engine.TerasologyEngine.changeState(TerasologyEngine.java:567)
        at org.terasology.network.internal.ClientHandler.channelInactive(ClientHandler.java:48)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
        at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:389)
        at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:354)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
        at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:389)
        at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:354)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
        at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:389)
        at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:354)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
        at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901)
        at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:819)
        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:497)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Thread.java:745)

@Cervator
I can reproduce original problem in any moment, before lwjgl3 and after.
Just wait second track in main menu.
Really i think problem in stop current music. idk why.

similar issues:
https://github.com/MovingBlocks/Terasology/issues/4392
https://github.com/MovingBlocks/Terasology/issues/3984
https://github.com/MovingBlocks/Terasology/issues/3927
https://github.com/MovingBlocks/Terasology/issues/4551


Running vitest with rakkasjs and @hattip/adapter-test fails because of vavite-vite-dev-server

vitest+@hattip/adapter-test cannot test rakkasjs entrypoint.
$ npm run test

FAIL  tests/index.test.ts [ tests/index.test.ts ]
ReferenceError: VAVITE_VITE_DEV_SERVER_259b24b2b62d29e1a0e553484dd9d864340a9d69 is not defined
 ❯ virtual:vavite-vite-dev-server:1:32
 ❯ node_modules/rakkasjs/dist/server.js:13:32
     11|   RouteParamsContext,
     12|   ServerSideContext,
     13|   composableActionData,
       |                                ^
     14|   createNamedContext,
     15|   createQueryClient,

Environment:

OS: Windows11, Ubuntu(WSL2)
Nodejs: 20.15.1
Packages<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Reproduction:
see https://github.com/tkamenoko/rakkas-with-test-handler

Oooh, this is a great use case that I haven't yet thought about. I know why it's not working, I'll have a look this weekend.


Ionic 3 Text at Fab item

Ionic version:  (check one with "x")
[ ] 1.x
[ ] 2.x
[X ] 3.x
I'm submitting a ...  (check one with "x")
[ ] bug report
[X ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
can you please add a option to add a text to a ion-fab item like at google inbox
Now:

expected:

This issue was moved to driftyco/ionic-feature-requests#168

thank you @jgw96 but i cant open that issue anymore got a 404


Give more user control over fit guesses and fit limits

The code works well for cases with good SNR and relatively normal RBC chemical shifts. However, some of our sicker patients have very low RBC signal, and low RBC shift. Obtaining good dynamic spectroscopy on these cases, often requires significant tinkering with the initial fit guesses as well as constraints on how far the algorithm can take certain parameters (like RBC shift). Currently these constraints and guesses are "under the hood." They need to be made more visible and easier for users to manipulate proactively when needed.

This is no longer required by the customer. Closing to be resurrected later if needed.


debugger: Allow disassembly even if the scope can not be converted

It is sometimes impossible to convert an EvalScope immediately after
starting the program but disassembly can still proceed.

Merged.


About the coordinates

First of all, thanks for your sharing.
The crop coordinats means [x0,y0,w,h],  but I find sometimes x0+w-1> image.width or y0+h-1>image.height, for example,
{
"url":"https://farm6.staticflickr.com/5666/21745708903_38eb372588_c.jpg",
"flickr_photo_id":21745708903,
"crop":[
7,
254,
793,
330
]
},
the image size is 799*582, but 254+330-1=583>582
how could I handle this? assign the y1 as h directly?

You can do like this.
x1 = min (x0 + w, image_width)
y1 = min(y0 + h, image_height)

You can do like this.
x1 = min (x0 + w, image_width)
y1 = min(y0 + h, image_height)

Hello,guys.
I want to ask whether the same format of the sliding_window.json file.

Hello,guys.
I want to ask whether the same format of the sliding_window.json file.

The sliding windows have the same format.


Sentence casing

Gui strings need to be lower cased. @humdingerb wanna take a stab?

My pleasure, see #13 . :)


Where is the registered server list stored? I keep saving "trust server certificate" but it is never saved and always fails connection due to the certificate.

[Enter feedback here]

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

ID: 24fc57a8-b76c-7c1c-87d4-e9d8364572cc
Version Independent ID: 12c95704-ea0f-17ce-b6b1-5feb3a7b04f1
Content: View Registered Servers - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/register-servers/view-registered-servers-in-sql-server-management-studio.md
Service: sql
Sub-service: ssms
GitHub Login: @markingmyname
Microsoft Alias: maghan

SQL Server Management Studio	<IP_ADDRESS>
Operating System	10.0.19045
Microsoft .NET Framework	4.0.30319.42000

Hi @ben9tamu - This is a known limitation with registered servers and there's a feedback item already that folks can upvote (
Get SSMS to save the Registered Servers - Trust Server Certificate setting
).  When using Central Management Servers (CMS), that information is stored in msdb.  Registered server information (not CMS) is stored locally.  We are planning to address this for registered servers in SSMS 20 with the new connection dialog, but note that changing behavior in CMS is separate, and requires engine work because of where the information is stored.

Thanks, @erinstellato-ms.
I'm closing this issue as resolved.

Hi I am using a central management server, but the information is still not saved.

When using Central Management Servers (CMS), that information is stored in msdb.
Can you tell me where that information is saved in msdb?

Thanks,
Ben Kim | Database Administrator III
Technology Services
Texas A&M University
3602 TAMU | College Station, TX 77843-3602
<EMAIL_ADDRESS>IT.tamu.edu
From: Erin Stellato @.>
Sent: Wednesday, January 10, 2024 11:43 AM
To: MicrosoftDocs/sql-docs @.>
Cc: Kim, Ben @.>; Mention @.>
Subject: Re: [MicrosoftDocs/sql-docs] Where is the registered server list stored? I keep saving "trust server certificate" but it is never saved and always fails connection due to the certificate. (Issue #9595)
Hi @ben9tamu - This is a known limitation with registered servers and there's a feedback item already that folks can upvote ( Get SSMS to save the Registered Servers - Trust Server Certificate setting ). When using Central Management Servers
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Hi @ben9tamuhttps://urldefense.com/v3/__https:/github.com/ben9tamu__;!!KwNVnqRv!B1uoQWiOlesuvG1AlBcCSKrBBBCFhKbWXZ4Xzqrl1mcOqzAzHuEwDd3VDp0E6O-eoBEdTWeXIdYXTGF4Gn3bkKs$ - This is a known limitation with registered servers and there's a feedback item already that folks can upvote (
Get SSMS to save the Registered Servers - Trust Server Certificate settinghttps://urldefense.com/v3/__https:/feedback.azure.com/d365community/idea/329a3193-0a98-ee11-a81c-0022484c92b1__;!!KwNVnqRv!B1uoQWiOlesuvG1AlBcCSKrBBBCFhKbWXZ4Xzqrl1mcOqzAzHuEwDd3VDp0E6O-eoBEdTWeXIdYXTGF4lJxrdY8$
). When using Central Management Servers (CMS), that information is stored in msdb. Registered server information (not CMS) is stored locally. We are planning to address this for registered servers in SSMS 20 with the new connection dialog, but note that changing behavior in CMS is separate, and requires engine work because of where the information is stored.

Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/MicrosoftDocs/sql-docs/issues/9595*issuecomment-1885328232__;Iw!!KwNVnqRv!B1uoQWiOlesuvG1AlBcCSKrBBBCFhKbWXZ4Xzqrl1mcOqzAzHuEwDd3VDp0E6O-eoBEdTWeXIdYXTGF4ZCaTnWs$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BAQKF4QWGZ5NASQYFCSISSTYN3HLFAVCNFSM6AAAAABBTV7DP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGMZDQMRTGI__;!!KwNVnqRv!B1uoQWiOlesuvG1AlBcCSKrBBBCFhKbWXZ4Xzqrl1mcOqzAzHuEwDd3VDp0E6O-eoBEdTWeXIdYXTGF4xhvwd04$.
You are receiving this because you were mentioned.Message ID: @.***>

@ben9tamu You'll find information in dbo.sysmanagement_shared_registered_servers and msdb.dbo.sysmanagement_shared_server_groups.  Depending on permissions for your login, you may not be able to view information in those tables.

thanks
Ben Kim | Database Administrator III
Technology Services
Texas A&M University
3602 TAMU | College Station, TX 77843-3602
<EMAIL_ADDRESS>IT.tamu.edu
From: Erin Stellato @.>
Sent: Friday, January 12, 2024 11:34 AM
To: MicrosoftDocs/sql-docs @.>
Cc: Kim, Ben @.>; Mention @.>
Subject: Re: [MicrosoftDocs/sql-docs] Where is the registered server list stored? I keep saving "trust server certificate" but it is never saved and always fails connection due to the certificate. (Issue #9595)
@ben9tamu You'll find information in dbo. sysmanagement_shared_registered_servers and msdb. dbo. sysmanagement_shared_server_groups. Depending on permissions for your login, you may not be able to view information in those tables. —Reply
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
@ben9tamuhttps://urldefense.com/v3/__https:/github.com/ben9tamu__;!!KwNVnqRv!DKhy15Np7qyZkSiPaWWHfhY0rtXKNcPMsngdKU1xCBPvJTtL4TwQiTlHxCBWhm2FYDnhacjH4XC4GU3skzABPBc$ You'll find information in dbo.sysmanagement_shared_registered_servers and msdb.dbo.sysmanagement_shared_server_groups. Depending on permissions for your login, you may not be able to view information in those tables.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/MicrosoftDocs/sql-docs/issues/9595*issuecomment-1889697675__;Iw!!KwNVnqRv!DKhy15Np7qyZkSiPaWWHfhY0rtXKNcPMsngdKU1xCBPvJTtL4TwQiTlHxCBWhm2FYDnhacjH4XC4GU3skqtwhJc$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BAQKF4QVDAIA5WXHDQ6KNXLYOFXXJAVCNFSM6AAAAABBTV7DP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZGY4TONRXGU__;!!KwNVnqRv!DKhy15Np7qyZkSiPaWWHfhY0rtXKNcPMsngdKU1xCBPvJTtL4TwQiTlHxCBWhm2FYDnhacjH4XC4GU3sL46iYq0$.
You are receiving this because you were mentioned.Message ID: @.***>


Refactor to use ember-modifier's modify hook and fix deprecation

fixes #452

Hi @alexlafroscia - is this addon still maintained?
It would be great if this PR could be merged and released to resolve the ember-modifier deprecation warnings.

@st-h thanks for that. I actually don't depend on this addon directly, but via ember-bootstrap. Hopefully ember-bootstrap can make the switch to a maintained addon.

@alexlafroscia Ember Bootstrap depends on this. I would love landing support for ember-modifier@^4 in Ember Bootstrap soon. This requires an ember-popper-modifier version, which supports ember-modifier@^4 itself. First step would be migrating to modify hook as that one is supported by both<EMAIL_ADDRESS>and ember-modifier@^4. I can support you on landing all that changes.

@jelhan sorry, I no longer use this addon. Please feel free to make any needed adjustments to this PR.


[DO NOT MERGE]fix: switch linefeed by platform

⚠ THIS IS AN EXPERIMENTAL PULL REQUEST ⚠

Why

What

How to test

Checklist

[ ] Read CONTRIBUTING.md
[ ] Updated documentation if it is required.
[ ] Added tests if it is required.
[ ] Passed yarn lint and yarn test on the root directory.

I will try fixing this test when I have much time.


api: Replace mgo with mongo-go-driver

Since mgo is unmaintained consider using official mongo driver: https://github.com/mongodb/mongo-go-driver

can i help on this one ?

@Ravi19967 sure. Please prepare a pull request for it :-)

#36


Empty props_file

Even though props_file exists, it is sometimes empty:
https://github.com/AMP-SCZ/eeg-qc-dash/blob/44b1b65babb7600e6c46032bc11e9dc810341255/app.py#L331-L337
Hence the following error:
  File "/home/tb571/eeg-qc-dash/./app.py", line 354, in render_table
    if f'{sub}_{ses}' not in props:
  TypeError: argument of type 'NoneType' is not iterable

The issue is probably stemming from experimental flask server's sudden process killing. One solution would be to insert the following after line 337:
if not props:
  props={}

Dealt with by removing complex initial rendering logic:
https://github.com/AMP-SCZ/eeg-qc-dash/commit/bb06d02952cba27a4181c3b7d54a20daf09cf5e7
And also by combining render_table and avg_render_table:
https://github.com/AMP-SCZ/eeg-qc-dash/commit/46275acaf134b7d280a1916c286170f8df1118b3

https://stackoverflow.com/questions/24133315/fixing-broken-pipe-error-in-uwsgi-with-python
https://stackoverflow.com/questions/34768527/uwsgi-ioerror-write-error
https://github.com/unbit/uwsgi/issues/1623
The above have advised extending Nginx-uWSGI timeout, uwsgi program timeout, and uwsgi_ignore_client_abort on;

uwsgi_connect_timeout 180;
uwsgi_read_timeout 180;
uwsgi_send_timeout 180;

We inserted the above in nginx.conf. Now, instead of 60 seconds, the webpage reached 404 Not Found screen after 180 seconds. So there should be something not right with how the production instance is launched and which folders it traverses during initialization. Remember that the mock instance launches almost immediately having nearly the same number of EEGs. So I don't think the above timeouts were the reason for our failure.

uwsgi_read_timeout 300; in Nginx.conf allowed browser to render website after 2 mins 15 secs!

I am most positive that the empty .scores.pkl gets written only when the code gets past this line without any filtered data:
https://github.com/AMP-SCZ/eeg-qc-dash/blob/a399a3874c68207a8eedb29846d00ecf97db5a3b/app.py#L275
So the solution should be to pickle dump only when len(props_file)>0:
https://github.com/AMP-SCZ/eeg-qc-dash/blob/a399a3874c68207a8eedb29846d00ecf97db5a3b/app.py#L555

Also, we need to revisit the scenario of what happens in render_table() and save_date() when filtered data is empty.

If the dashboard is empty like this and SAVE is pressed, then the current empty state gets written i.e. empty .scores.pkl file.

Can we write
if not props:
  props={}

after this line?
https://github.com/AMP-SCZ/eeg-qc-dash/blob/a399a3874c68207a8eedb29846d00ecf97db5a3b/app.py#L368-L371


Fix Tic Tac Toe Game

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #2179

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have specified the respective issue number for which I have requested the new game

Thank you soo much for contributing to our repository 💗

Thank you @MisterMickey ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀


Updates to Spanner documentation

A guide to migrating to 2.0 with all the breaking changes I'm aware of
Updates to the connection string documentation
A guide to configuration, including details of session pool options

The way you use a custom SessionPoolManager is really awkward, but I
don't know what would be better right now. We should definitely
revisit it.

(Will merge on green.)


Various error reporting improvements

Firstly, thanks for sharing your library with the world! It's a great fit for providing a nice experience to both API developers and consumers. I made a few small changes to better adapt checkeasy to my use-case, and thought I'd put up a PR in case you thought any of those changes might benefit the library as a whole. Please feel free to cherry pick any changes you like with or without attribution.
The big ticket item is a ValidationError subclass that all validators now throw. Because they use a shared subclass, consumers can easily detect validation errors like so:
import {ValidationError} from "checkeasy";

try {
    // validate something
} catch(err) {
    if(err instanceof ValidationError) {
        // do something
    } else {
        throw err;
    }
}

Since I already had the fork, I also (subjectively!) improved the error messages for min/max, alternatives, oneOf, and exact violations. You can check the test cases to see those in action.

Thank you @joshuafcole for your changes
I will merge them soon with some minor changes and publish new version


Creating a basic HTML renderer

I'm thinking of using this library to create a basic html renderer, just for fun. Instead of writing to a file, is it possible to output to a window? Should I use a library like SDL2 to do this?

Hi Avrame,
It is possible to output to a window. Instead of writing the image to a file directly, you write it to memory and access that memory in your windowing library.
I actually do this in my own project, using CrSFML instead of SDL2. I assume SDL2 has something similar.
examples/image_data.cr shows you how to write the image to memory.
# write_to_data returns a Blend2D::BLArray that gets converted to a slice
as_bytes = img.write_to_data(Blend2D::ImageCodec::BMP).to_slice

# write_to_io writes the image to the IO and returns the IO
as_io = img.write_to_io(IO::Memory.new, Blend2D::ImageCodec::PNG)

Then you access that memory in your GUI library. In CrSFML I do it like this:
bytes = image.write_to_data(Blend2D::ImageCodec::PNG).to_slice
texture = SF::Texture.from_memory bytes
sprite << SF::Sprite.new texture

I hope that helps you.

Thanks for the detailed reply @aramvisser . Do you think this would be fast enough to handle animations?

I'm not sure how well animations would work. Simple animations should be fine, but complex or big animations might take too long? I don't know.
Blend2D itself does have some sample applications that animate. You could try to look how that works.