Extending Menu component with more than one MenuItem gives "Element type is invalid..."

As can be seen in this sandbox, I have extended the Menu component by cloning its children and passing those through. I have two MenuItems and I get the error:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of `ForwardRef(Menu)`.

This does not occur when I have just one MenuItem, so I think there's some bug in the Menu component causing this.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
You get an error when extending the Menu component to clone its children and pass them through when you have more than one MenuItem in the extended Menu.
Expected Behavior 🤔
I'd expect no error, just as when we only have MenuItem in the extended Menu.
Steps to Reproduce 🕹
https://codesandbox.io/s/floral-feather-vr2kg?file=/src/App.js
Steps:

See error when there are two MenuItems in the custom Menu
Remove one of the MenuItems and see there is no error.

Context 🔦
I am trying to customize the onClick handlers in the children of the Menu component and for this I need to clone the children and change their props.
Your Environment 🌎

Tech
Version

Material-UI
v4.11.0

React
17.0.0

Browser
Chrome 87.0.4280.67

tip: cloneElement expects a React element, you have provided a React node https://codesandbox.io/s/gifted-minsky-oe9rd.

@oliviertassinari thanks! didn't realize it. Wish the react error was a bit more specific in that regard. Mapping over the children works: https://codesandbox.io/s/zen-volhard-73on9


Float input setting doesn't support decimals

Geode Issue

[X] I confirm that this bug is NOT related to a mod but directly to Geode Loader itself.

Platform
Windows
SDK commit
No response
Geode Version
2.0.0
Mods Installed
No response
Expected Behavior
be able to type decimals
Actual Behavior
no decimals
Steps to Reproduce

create a float type setting in a mod without a slider
write a number with a decimal
no decimal

Additional Information
No response

fixed in beta.15


K8S-240 Rename secret for neo4j dataset secret

@enys  Do we agree that i will not do any change on prod ? there is no kyverno policy to add for this one and we accept to have a different name for the secret ? same for saas

@enys Do we agree that i will not do any change on prod ? there is no kyverno policy to add for this one and we accept to have a different name for the secret ? same for saas

Good catch, agreed.


Fix geocoder: true

Fixes #6826

Thanks for the pull request @hpinkos!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Do all of the other widgets already handle this case?

@mramato yes, geocoder was the only one we were overloading this option for

Thanks @hpinkos!


🐞 - App loads just on incognito

Which @codeimage/* package(s) are the source of the bug?
codeimage
Please provide a screenshot or a video to a minimal reproduction of the bug
https://app.codeimage.dev/
Description

App doesn't load but loads on incognito, using Brave on Windows.
Which browsers have you used?

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[ ] macOS
[X] Windows
[ ] Linux
[ ] iOS
[ ] Android

Hi, i'm not able to reproduce this issue using Brave on windows 🤔 Do you have some extension installed that may cause conflicts? I did the test with the latest brave version (v1.48.171)

Yes, it was my first guess so I disabled plenty of them but I still get the problem. Will debug disabling some more.

Effectively, it was caused by Apollo Client Devtools for some reason. Disabling it makes the app load correctly

Thanks 🙏
Anyway I will try to debug this using the extension you mentioned and fix the issue 😃


Skip input values with empty tags - wmagent branch

Fixes #11168
From the agent side at least, by ignoring wrongly created entries in the XML framework job report (with empty tags) from some 12.x CMSSW releases but still accounting for the good ones.
Status
ready
Tested on vocms0283 which uses 2.0.2.patch1
Description
If input.source has inputs with empty tags (produced by CMSSW releases without this patch: https://github.com/cms-sw/cmssw/pull/38019), we ignore those keys, but continue with the good ones.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
https://github.com/cms-sw/cmssw/pull/38019
This is the final fix from CMSSW. These are applied by CMSSW releases CMSSW_12_2_4_patch1 and older and they don't present this bug in the XML job reports. The work around here is for earlier releases when used.
External dependencies / deployment changes
<Does it require deployment changes? Does it rely on third-party libraries?>

@amaltaro Is this the right branch to apply the PR against?

@khurtado Kenyi, I just patched vocms0283 and restarted ArchiveDataReporter, but I see that it is still failing to convert the FJR document. Here is a fresh traceback from the component:
2022-07-07 15:30:36,428:140211705796352:INFO:ArchiveDataPoller:Found 1000 not archived documents from FWRJ db to upload to WMArchive.
2022-07-07 15:30:36,622:140211705796352:ERROR:ArchiveDataPoller:Error occurred, will retry later:
2022-07-07 15:30:36,622:140211705796352:ERROR:ArchiveDataPoller:more than one input value ['source', 'ce']
2022-07-07 15:30:36,623:140211705796352:ERROR:ArchiveDataPoller:Trace back:
Traceback (most recent call last):
  File "/data/srv/wmagent/v2.0.2.patch1/sw/slc7_amd64_gcc630/cms/wmagentpy3/2.0.2.patch1/lib/python3.8/site-packages/WMComponent/ArchiveDataReporter/ArchiveDataPoller.py", line 53, in algorithm
    doc = createArchiverDoc(job)
  File "/data/srv/wmagent/v2.0.2.patch1/sw/slc7_amd64_gcc630/cms/wmagentpy3/2.0.2.patch1/lib/python3.8/site-packages/WMCore/Services/WMArchive/DataMap.py", line 399, in createArchiverDoc
    newfwjr = convertToArchiverFormat(fwjr)
  File "/data/srv/wmagent/v2.0.2.patch1/sw/slc7_amd64_gcc630/cms/wmagentpy3/2.0.2.patch1/lib/python3.8/site-packages/WMCore/Services/WMArchive/DataMap.py", line 325, in convertToArchiverFormat
    newFWJR["steps"] = convertSteps(newFWJR["steps"])
  File "/data/srv/wmagent/v2.0.2.patch1/sw/slc7_amd64_gcc630/cms/wmagentpy3/2.0.2.patch1/lib/python3.8/site-packages/WMCore/Services/WMArchive/DataMap.py", line 314, in convertSteps
    stepItem.update(convertStepValue(value))
  File "/data/srv/wmagent/v2.0.2.patch1/sw/slc7_amd64_gcc630/cms/wmagentpy3/2.0.2.patch1/lib/python3.8/site-packages/WMCore/Services/WMArchive/DataMap.py", line 281, in convertStepValue
    raise Exception("more than one input value %s" % list(stepValue['input']))
Exception: more than one input value ['source', 'ce']

2022-07-07 15:30:36,645:140211705796352:INFO:BaseWorkerThread:ArchiveDataPoller took 1.471 secs to execute

maybe it's a variation of the error you solved here (ce key instead of empty key)?
Could you please look into this and update this patch once you have an extra fix? Before patching the other agents (other than vocms0283), I will wait for your feedback here. Thanks

It definitely is a variation that I didn't see in the other agent. I will take a look

Thanks for updating this patch, Kenyi.
It was only vocms0283 that was still failing to upload to WMArchive, with this patch applied and some tweaks to the component to speed up uploads to the server, it still took almost 2 days (likely a few million documents) to upload them all.
I think we can merge it and come back to this in case it's also needed for WMAgents in 2.0.4 series. Thanks


docs: introducing LanceDB Guru on Gurubase.io

Hello team,
I'm the maintainer of Anteon. We have created Gurubase.io with the mission of building a centralized, open-source tool-focused knowledge base. Essentially, each "guru" is equipped with custom knowledge to answer user questions based on collected data related to that tool.
I wanted to update you that I've manually added the LanceDB Guru to Gurubase. LanceDB Guru uses the data from this repo and data from the docs to answer questions by leveraging the LLM.
In this PR, I showcased the "LanceDB Guru", which highlights that LanceDB now has an AI assistant available to help users with their questions. Please let me know your thoughts on this contribution.
Additionally, if you want me to disable LanceDB Guru in Gurubase, just let me know that's totally fine.

That's so cool @kursataktas !!! I tried it out. Wondering can we integrate with our discord channel to help us answer questions

Hi everyone,
I’d like to update you on the release of the Maintainer Panel feature on Gurubase. With this panel, you can add, remove, or update data sources, as well as change the logo and more. You can find the details here.
In the near future, I’m planning to include analytics insights in this panel, such as the number of questions asked, the most frequently asked ones, and more. I’ll be sure to update this thread once it’s available. However, in case I miss it, I highly recommend joining our Discord channel to stay updated.
If you’d prefer that I don’t update this thread anymore, please let me know.


DrivingAssertion in new EarlyShift error

Reproduce bug as follows:

add a new (early) shift to app
add a driving assertion for the next day and for the early shift

click on "Save"

Expectation:
This should not lead to an error but be persisted to the database.

This is a double-error:

the error message is not coreect
if a shiftType is added to the database, then
this shift(Type) shall be appended to all working days from today .. planning horizon.

Fixed issue.
Example: Frühschicht (red-eye shift):

Fix Part 1: improved error message, if shift isn't available.

Fix Part 2: automatically add shifts (for new shiftTypes), viewed in Production Plan.

Allocate vehicles and driving assertions manually, then red-eye orders can be serviced:


otpilot: add banner generation

"make build localtests" did run to completion with exit status zero.

Unfortunately, this PR is actually broken. The git describe will always show it as dirty, because cargo runs inside a sandbox that hides elf2tab's Cargo.lock.
The best solution to this is to have a fix for rust-lang/cargo#8504 to eliminate need for the sandbox hackery, but in the meantime we'll have to move the git describe call into Build.mk.

Thanks for your help last week.  I've just updated this PR with a workaround along the lines you suggested, but I still use a build.rs to assemble the banner.   The 'git describe' call is now in Build.mk and leaves the result in a .gitlongtag file in the top directory which is read in by build.rs.   I also preserved the call to 'git describe' in build.rs in a comment in the hopes that someday we won't need this workaround.

I think the use of build.rs is completely overkill. If your purpose is to document your previous approach for future use, then I think you should do that by putting it in the doc/ folder or by referring to this commit (which would require that this PR is not rebased past this commit).
I believe something like this should work for defining the banner:
const BANNER: &'static str = concat!(
    env!("CARGO_PKG_NAME"), ' ',
    env!("CARGO_PKG_VERSION"), ' ',
    include_str!("../../build/gitlongtag")
);

Yes, that was much easier and cleaner.  The build.rs is gone now.   Needed one more level of ../ to make what you suggested work right.    See latest push to this PR.


10 add header to cov3 output file

Summary :memo:
Add newline after header (forgot in original PR)
Checks
If this is for a release:

[ ] I have updated the version number in src/pycov3/__init__.py
[ ] I have updated the README with any appropriate documentation
[ ] I have updated tests with any appropriate tests

Codecov Report
All modified lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/pycov3/File.py
86.04% <100.00%> (+0.10%)
:arrow_up:

:loudspeaker: Thoughts on this report? Let us know!.


[Bug]: Error: AggregatedResult must be present after test run is complete

Version
29.0.3
Steps to reproduce

clone https://github.com/repobuddy/jest
git checkout ts-cjs-err
pnpm install
pnpm build
pnpm ts-cjs test

Expected behavior
Able to run tests
Actual behavior
Failed with:
Error: AggregatedResult must be present after test run is complete
    at runCLI (D:\code\repobuddy\jest\node_modules\.pnpm\@jest+core@29.3.1\node_modules\@jest\core\build\cli\index.js:208:11)
    at async Object.run (D:\code\repobuddy\jest\node_modules\.pnpm\jest-cli@29.3.1\node_modules\jest-cli\build\run.js:124:37)

Debug log
No logs. It fails before start
Additional context
It works in Linux, but not in Windows.
Environment
System:
    OS: Windows 10 10.0.22621
    CPU: (16) x64 AMD Ryzen 7 5800X 8-Core Processor
  Binaries:
    Node: 16.18.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: ^29.3.1 => 29.3.1

Please open this for Jest repo. This error is not transformer error therefore it's unrelated to ts-jest.


Custom Properties cant be deleted.

I want to be able to delete a custom property I have set on a user, it that property is no longer relevant.
Expected Behavior
As per the API;  https://api.count.ly/reference#section-user-details  "If you set value as null, you will delete the property."
however, currently in ly.count.sdk.internal.UserEditorImpl, if the value is null it is deleted from the request, and not sent to the countly server.
Possible Solution
Change  ly.count.sdk.internal.UserEditorImpl.perform  so that if null is passed in for a custom property, that null is  kept, and sent to the api, so that the property can be removed.

default:
if (value == null || value instanceof String || value instanceof Integer || value instanceof Float || value instanceof Double || value instanceof Boolean
|| value instanceof String[] || value instanceof Integer[] || value instanceof Float[] || value instanceof Double[] || value instanceof Boolean[] || value instanceof Object[]) {
if (!changes.has(CUSTOM)) {
changes.put(CUSTOM, new JSONObject());
}
changes.getJSONObject(CUSTOM).put(key, value);
if (value == null) {
user.custom.remove(key);
} else {
user.custom.put(key, value);
}
} else {
L.wtf("Type of value " + value + " '" + value.getClass().getSimpleName() + "' is not supported yet, thus user property is not stored");
}

Your Environment
I am using
core-19.09-sdk2-rc.jar
java-19.09-sdk2-rc.jar

Hello, this should be solved now

Oh excellent. I left the company where I had the problem 2 years ago ..but nice to see my change go in!--Sent from my Android phone with mail.com Mail. Please excuse my brevity.On 25/01/2024, 20:33 "Artūrs Kadiķis" @.***> wrote:
Hello, this should be solved now
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


As an employer, I want to access a section in the dashboard that displays all candidates who have applied for my job postings.

Dashboard displaying all candidates is in progress state.

dashboard is displaying all the candidates


Add String-based overloads for flattened methods using resource name types

@garrettjonesgoogle since this is a P1 - can you provide a few more details?  @JesseLovelace can take a look if we know what to do :)


[WIP] Add an ANSI SQL parser mode

What changes were proposed in this pull request?
This WIP is just to show how to add a SQLConf in the parser module.
How was this patch tested?
N/A

@gatorsmile, thanks! I am a bot who has found some folks who might be able to help with the review:@rxin, @cloud-fan and @hvanhovell

cc @dilipbiswal @dongjoon-hyun

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1496/
Test PASSed.

Test build #93798 has started for PR 21922 at commit 5049255.

what are the actual changes?

Test build #93798 has finished for PR 21922 at commit 5049255.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93798/
Test PASSed.


Use the public class/keyword instead of internal to allow customized HttpClient

Motivation
Customers want to use a customize httpClient (with proxy) when creating a managementCient.
Proposed solution
Replace internal by public for the following classes:

ActionInvoker
EndpointUrlBuilder
ManagementHttpClient
MessageCreator
ModelProvider

hello and thank you for your submission. could you share some more details on what exactly you're trying to achieve? I see the classes you mentioned are all related to the following interface: https://github.com/kontent-ai/management-sdk-net/blob/366e496a171f876c2382c5f875461b024c8fd732/Kontent.Ai.Management/Modules/HttpClient/IManagementHttpClient.cs#L11
Is your goal to use the internal implementation for implementing this interface, with the exception of httpClient, which should be your custom one?
if that is the case, I think we could add a paramater to ManagementClient constructor or ManagementOptions, which, if present, would make use of the overloaded constructor for ManagementHttpClient that accepts a custom IHttpProvider parameter.
would the above solution work in your scenario?

The Management client creates a ManagementHttpClient which creates a new HttpClient, but this is your internal HttpClient type.
There is no option to inject a System.Net.Http.HttpClient into this (with in our case configured proxy settings).
We currently forked the code to make this possible for us.
Our suggestion would be to remove the internally specified/created HttpClient and IHttpClient type (as they conflict with the existing HttpClient), and allow a registered IHttpClient on the ManagementClient.
 builder.Services.AddHttpClient<IManagementClient, ManagementClient>()                  .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler() { Proxy = webProxy });


closes #8

Let's talk about this... Why will we need access to the schema? (Side note: I think we can get access to it via the model object.)


This sample does not compile after making change specified in Step 7

Error	CS0029	Cannot implicitly convert type 'ConsoleApp_FirstApp.GType.Type' to 'ConsoleApp_FirstApp.GType'	Galaxy ConsoleApp
referring to the four case statements below.
switch (type)
{
case 'S':
MyGType = Type.Spiral;
break;
case 'E':
MyGType = Type.Elliptical;
break;
case 'l':
MyGType = Type.Irregular;
break;
case 'L':
MyGType = Type.Lenticular;
break;
default:
break;
}

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

ID: c335a864-b746-4322-7543-16ff56594ba3
Version Independent ID: 587465fb-8267-99b5-8cbe-282ade499f7c
Content: Debugging code for absolute beginners - Visual Studio (Windows)
Content Source: docs/debugger/debugging-absolute-beginners.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@WhiskeyRomeoLima Hi, thanks for the feedback. I can reproduce the CS0029 error if I change the original source code, from:
 public object MyGType { get; set; }
to:
 public GType MyGType { get; set; }
However, the line of code that needs to change is this one (should be around line 47):
 public GType GalaxyType { get; set; }
The doc mentions this correctly, but it's probably a little too easy to edit the wrong line of code. I will consider a possible edit.

Thanks. I did finally see my error.  Line numbers would have helped, but I don’t know how you make them so that they do no copy over.
Bill Lucas

On Jan 6, 2022, at 5:17 PM, Mike Jones @.***> wrote:

@WhiskeyRomeoLima Hi, thanks for the feedback. I can reproduce the CS0029 error if I change the original source code, from:
public object MyGType { get; set; }
to:
public GType MyGType { get; set; }
However, the line of code that needs to change is this one (should be around line 47):
public GType GalaxyType { get; set; }
The doc mentions this correctly, but it's probably a little too easy to edit the wrong line of code. I will consider a possible edit.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.


[Discussion] Strip formatting and lint tools to a collection repo ?

More and more formatting and lint tools are added to guard. The number of these tools will increase exponentially. But the tools you use may only have very few. Then the rest of these tool configurations still exist locally. It doesn't seem to matter. Because maybe one day in the future you can easily enable it when you need it. But for some tools you may never use them. Even get bored with collections of these configurations. So I want to strip them into a guard-collection repo. Consider the following points

If you don't care about these. Just want to simply configure the tool you can use guard and guard-collection
if you want to keep everything as simple as possible. Then you can copy the tool configuration you need to your own configuration and register it through the filetype module.

any thought?

+1 on this, currently this repo has 700 something lines of functionality code, null-ls has nearly 10k LOC for builtin tools.

+1. null-ls is always a great example to point to for what goes right and what goes wrong, @xiaoshihou514 is absolutely correct.
Reference guard-collection in the readme and extract all tools there sounds like a good idea.

yes, readme maybe a good idea, If you think it is difficult to manage, you can directly open discussions
Obtaining can refer to a method similar to mason, which provides an additional registration library, and then downloads the configuration file

@xiaoshihou514 when will we finalize this change into main repo

@barrett-ruth depends on when would @glepnir approve #94 . It's been working for me locally, you can try out my fork to test out for bugs.

#100

@xiaoshihou514 please use "!" w/ commits that have breaking changes


feat: JWT proof of Verifiable Presentation

JWS and unsecured JWT external proofs of Verifiable Presentation.
test suite stats:

passes : 67
failures: 8

prior to this PR:

passes : 61
failures: 14

closes #483
Signed-off-by: Dima<EMAIL_ADDRESS>

@llorllale  I had to refactor existent JWT support for Verifiable Credentials in order to keep the code DRY.


Too frequent stream quality switching from SD to HD dynamically.

@rishigohil commented on Mon May 22 2017
Description
The original recordings are in WEBM container (VP9 video Codec and AAC audio Codec). The issue we are facing is our streams are bouncing back and forth between HD and SD without any network fluctuations.

Is there any way I can fix this or can log when the player changes the source quality?

@gesinger commented on Mon May 22 2017
Hey @rishigohil , how are you playing the webm files? Would you be able to put together a reduced test case using our starter template? Thanks.

@rishigohil commented on Tue May 23 2017
http://jsbin.com/zidelo/edit?html,js,output
Here you go. You can also check here.
https://cobweb1.fau.edu/Demos/VideoJs.html

@rishigohil commented on Wed May 24 2017
@gesinger Any luck?

http://dashif.org/reference/players/javascript/v2.5.0/samples/dash-if-reference-player/index.html?url=https://cobweb1.fau.edu/LCVS/QMB3600-201701-003/Videos/ITGROUP_Testing_05_23_2017_1HD/VP9/manifest.mpd
looks like same problem with upstream dash component

Oh, that's interesting. So it means the player is not the issue?

That means it is probably an issue with Dash.js or the content itself. videojs-contrib-dash just does the videojs integration. All the work for loading segments and selecting quality is done within Dash.js. I'd suggest opening an issue in the Dash.js project

Ah okay. I'll reference this issue in their repo.


Stop showing duplicate version with version command

The version is no longer being displayed for other commands, such as ./emissary server

I corrected this. I was checking the list of all commands if a command existed and not the args that were given.


Avahi demon dead after startup, service needs to be restarted manually

After startup on the newest v1.4.0 .local DNS does not work.
systemctl start avahi-daemon.service have to be executed manually in order to start it up.
HypriotOS/armv7: root@pi-k8s-node02 in ~
$ systemctl status avahi-daemon.service -l
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled)
   Active: inactive (dead) since Tue 2017-04-18 08:27:09 UTC; 9h ago
  Process: 402 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=0/SUCCESS)
 Main PID: 402 (code=exited, status=0/SUCCESS)
   Status: "avahi-daemon 0.6.31 starting up."

Logs before manual start:
HypriotOS/armv7: root@pi-k8s-node02 in ~
$ journalctl --no-pager -u avahi-daemon.service
-- Logs begin at Tue 2017-04-18 18:33:36 UTC, end at Tue 2017-04-18 18:35:57 UTC. --
Apr 18 18:33:39 pi-k8s-node02 systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Apr 18 18:33:39 pi-k8s-node02 avahi-daemon[354]: Found user 'avahi' (UID 105) and group 'avahi' (GID 111).
Apr 18 18:33:39 pi-k8s-node02 avahi-daemon[354]: Successfully dropped root privileges.
Apr 18 18:33:39 pi-k8s-node02 avahi-daemon[354]: avahi-daemon 0.6.31 starting up.
Apr 18 18:33:39 pi-k8s-node02 avahi-daemon[354]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Apr 18 18:33:39 pi-k8s-node02 avahi-daemon[354]: Successfully called chroot().
Apr 18 18:33:39 pi-k8s-node02 avahi-daemon[354]: Successfully dropped remaining capabilities.
Apr 18 18:33:39 pi-k8s-node02 avahi-daemon[354]: No service file found in /etc/avahi/services.
Apr 18 18:33:39 pi-k8s-node02 avahi-daemon[354]: Network interface enumeration completed.
Apr 18 18:33:39 pi-k8s-node02 avahi-daemon[354]: Registering HINFO record with values 'ARMV7L'/'LINUX'.
Apr 18 18:33:40 pi-k8s-node02 avahi-daemon[354]: Server startup complete. Host name is pi-k8s-node02.local. Local service cookie is<PHONE_NUMBER>.
Apr 18 18:33:40 pi-k8s-node02 systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Apr 18 18:33:40 pi-k8s-node02 systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
Apr 18 18:33:40 pi-k8s-node02 avahi-daemon[354]: Got SIGTERM, quitting.
Apr 18 18:33:41 pi-k8s-node02 systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Process 354 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid)
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Found user 'avahi' (UID 105) and group 'avahi' (GID 111).
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Successfully dropped root privileges.
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: avahi-daemon 0.6.31 starting up.
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Successfully called chroot().
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Successfully dropped remaining capabilities.
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: No service file found in /etc/avahi/services.
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::ba27:ebff:fe12:f42a.
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: New relevant interface eth0.IPv6 for mDNS.
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Network interface enumeration completed.
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Registering new address record for fe80::ba27:ebff:fe12:f42a on eth0.*.
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Registering HINFO record with values 'ARMV7L'/'LINUX'.
Apr 18 18:33:41 pi-k8s-node02 systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Apr 18 18:33:41 pi-k8s-node02 avahi-daemon[402]: Server startup complete. Host name is pi-k8s-node02.local. Local service cookie is<PHONE_NUMBER>.
Apr 18 18:33:42 pi-k8s-node02 avahi-daemon[402]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::ba27:ebff:fe12:f42a.
Apr 18 18:33:42 pi-k8s-node02 avahi-daemon[402]: Joining mDNS multicast group on interface eth0.IPv6 with address 2a02:bf0:1102:5f00:ba27:ebff:fe12:f42a.
Apr 18 18:33:42 pi-k8s-node02 avahi-daemon[402]: Registering new address record for 2a02:bf0:1102:5f00:ba27:ebff:fe12:f42a on eth0.*.
Apr 18 18:33:42 pi-k8s-node02 avahi-daemon[402]: Withdrawing address record for fe80::ba27:ebff:fe12:f42a on eth0.
Apr 18 18:33:45 pi-k8s-node02 avahi-daemon[402]: Joining mDNS multicast group on interface docker0.IPv4 with address <IP_ADDRESS>.
Apr 18 18:33:45 pi-k8s-node02 avahi-daemon[402]: New relevant interface docker0.IPv4 for mDNS.
Apr 18 18:33:45 pi-k8s-node02 avahi-daemon[402]: Registering new address record for <IP_ADDRESS> on docker0.IPv4.
Apr 18 18:33:48 pi-k8s-node02 avahi-daemon[402]: Joining mDNS multicast group on interface eth0.IPv4 with address <IP_ADDRESS>.
Apr 18 18:33:48 pi-k8s-node02 avahi-daemon[402]: New relevant interface eth0.IPv4 for mDNS.
Apr 18 18:33:48 pi-k8s-node02 avahi-daemon[402]: Registering new address record for <IP_ADDRESS> on eth0.IPv4.
Apr 18 18:33:48 pi-k8s-node02 systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
Apr 18 18:33:48 pi-k8s-node02 avahi-daemon[402]: Got SIGTERM, quitting.
Apr 18 18:33:48 pi-k8s-node02 avahi-daemon[402]: Leaving mDNS multicast group on interface docker0.IPv4 with address <IP_ADDRESS>.
Apr 18 18:33:48 pi-k8s-node02 avahi-daemon[402]: Leaving mDNS multicast group on interface eth0.IPv6 with address 2a02:bf0:1102:5f00:ba27:ebff:fe12:f42a.
Apr 18 18:33:48 pi-k8s-node02 systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.

And after:
Apr 18 18:35:56 pi-k8s-node02 systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Process 402 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid)
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Found user 'avahi' (UID 105) and group 'avahi' (GID 111).
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Successfully dropped root privileges.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: avahi-daemon 0.6.31 starting up.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Successfully called chroot().
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Successfully dropped remaining capabilities.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: No service file found in /etc/avahi/services.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Joining mDNS multicast group on interface veth18a1bfd4.IPv6 with address fe80::fcc7:3aff:feb6:2b8e.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: New relevant interface veth18a1bfd4.IPv6 for mDNS.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Joining mDNS multicast group on interface veth32d68a48.IPv6 with address fe80::9043:2cff:fe02:bdf0.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: New relevant interface veth32d68a48.IPv6 for mDNS.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Joining mDNS multicast group on interface cni0.IPv6 with address fe80::3872:c9ff:feec:6692.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: New relevant interface cni0.IPv6 for mDNS.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Joining mDNS multicast group on interface cni0.IPv4 with address <IP_ADDRESS>.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: New relevant interface cni0.IPv4 for mDNS.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Joining mDNS multicast group on interface flannel.1.IPv6 with address fe80::48f0:c1ff:fec5:3a2a.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: New relevant interface flannel.1.IPv6 for mDNS.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Joining mDNS multicast group on interface flannel.1.IPv4 with address <IP_ADDRESS>.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: New relevant interface flannel.1.IPv4 for mDNS.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Joining mDNS multicast group on interface docker0.IPv4 with address <IP_ADDRESS>.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: New relevant interface docker0.IPv4 for mDNS.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Joining mDNS multicast group on interface eth0.IPv6 with address 2a02:bf0:1102:5f00:ba27:ebff:fe12:f42a.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: New relevant interface eth0.IPv6 for mDNS.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Joining mDNS multicast group on interface eth0.IPv4 with address <IP_ADDRESS>.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: New relevant interface eth0.IPv4 for mDNS.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Network interface enumeration completed.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering new address record for fe80::fcc7:3aff:feb6:2b8e on veth18a1bfd4.*.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering new address record for fe80::9043:2cff:fe02:bdf0 on veth32d68a48.*.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering new address record for fe80::3872:c9ff:feec:6692 on cni0.*.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering new address record for <IP_ADDRESS> on cni0.IPv4.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering new address record for fe80::48f0:c1ff:fec5:3a2a on flannel.1.*.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering new address record for <IP_ADDRESS> on flannel.1.IPv4.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering new address record for <IP_ADDRESS> on docker0.IPv4.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering new address record for 2a02:bf0:1102:5f00:ba27:ebff:fe12:f42a on eth0.*.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering new address record for <IP_ADDRESS> on eth0.IPv4.
Apr 18 18:35:56 pi-k8s-node02 avahi-daemon[2115]: Registering HINFO record with values 'ARMV7L'/'LINUX'.
Apr 18 18:35:56 pi-k8s-node02 systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Apr 18 18:35:57 pi-k8s-node02 avahi-daemon[2115]: Server startup complete. Host name is pi-k8s-node02.local. Local service cookie is<PHONE_NUMBER>

Sorry, I don't know the proper fix, so no PR for this one.

Where you able to find a fix? Seeing the same issue here.

Closing due to inactivity

I'm having the same issue with avahi-daemon, anybody found a solution?


Sass: remove redundant stylelint inline suppressions.

selector-max-universal is set to 1 in our stylelint config  upstream BTW.
-rd works fine as long as one clears the local cache folder. But perhaps we should enable it anyway?

What is -rd?

    --report-needless-disables, --rd

      Also report errors for stylelint-disable comments that are not blocking a lint warning.
      The process will exit with code 2 if needless disables are found.

    --report-invalid-scope-disables, --risd

      Report stylelint-disable comments that used for rules that don't exist within the configuration object.
      The process will exit with code 2 if invalid scope disables are found.

selector-max-universal is set to 1 in our stylelint config upstream BTW.

Any idea why stylelint isn't failing with the current scss than? We do have more than one universal selector.

We do have more than one universal selector.
In the same selector?

Ok, never mind, the documentation states:

Limit the number of universal selectors in a selector.

I thought it was about the global number of universal selectors, now I get it why that statement was moot.

-rd works fine as long as one clears the local cache folder.

What happens if the local cache folder isn't cleared? Can we get false results?

Yeah, I definitely get false results. I mean, stuff that can be removed but are not flagged as such. But on CI this will fail properly.


issue #9 : added if statement to disable user input/submit if remaningGuesses ===0

Hey I added an if statement that disabled user input/submit if they were out of guesses! for issue #9.

@KaceyGambill Hey thanks for the PR!


_next/* not found

Hey guys, I have a custom express server and on production builds, it's trying to serve some content from _next/*. I have also a custom defined route to capture all URL's for client side routing:
app.get('*', headers, (req, res) => {
    res.sendFile(path.resolve(__dirname, '..', 'build', 'index.html'));
  });

but I can get around this by setting another app.get to route _next/* routes. The only thing is that where is this serving from? the build folder doesn't have any structure like
- app.js
- pages
     -page1.js
     -page2.js

And this is what it looks like it's trying to serve from.

Okay, I added
app.get('/_next/*', (req, res) => {
    console.log('in here next');
    return handle(req, res);
  });

Like in the custom next.js example, but now getting a buildId error when trying to get _next/fec067be-d3f2-4267-b999-38ee031bfc02/page/ReaderPage.js

    window.__NEXT_REGISTER_PAGE('/ReaderPage', function() {
      var error = {"message":"500 - Internal Server Error.","buildIdMismatched":true}
      return { error: error }
    })

Nevermind, looks like the file changed too, so the buildid is indeed correct.
For anyone else stumbling upon an issue like this with a custom server, the solution is:
app.get('/_next/*', (req, res) => {
    console.log('in here next');
    return handle(req, res);
  });


silx view: Added --slice option

This PR adds the option to pass multiple integers for displaying slices with silx view through a --slice option.
To do so, it adds a DatasetSlice class to expose the opened slice as a dataset and makes the necessary changes to make it work.
The content of this PR is adapted from PR #3677 (which was hard to rebase).
It is a simpler version of PR #3677 since it only provides --slice and not URL #fragment support which could be added later if needed.

CI fails a lot on Windows with python3.7 and pyside6, with exceptions like:
    def tearDown(self):
        self.qapp.processEvents()

        if len(self.__class__._exceptions) > 0:
            messages = "\n".join(self.__class__._exceptions)
>           raise AssertionError("Exception occured in Qt thread:\n" + messages)
E           AssertionError: Exception occured in Qt thread:
E           Traceback (most recent call last):
E             File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\data\DataViewer.py", line 290, in __setDataInView
E               if (self.__previousSelection.slice != self.__displayedSelection.slice or
E           AttributeError: 'NoneType' object has no attribute 'slice'
E           Traceback (most recent call last):
E             File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\data\DataViewer.py", line 290, in __setDataInView
E               if (self.__previousSelection.slice != self.__displayedSelection.slice or
E           AttributeError: 'NoneType' object has no attribute 'slice'
E           Traceback (most recent call last):
E             File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\data\DataViewer.py", line 290, in __setDataInView
E               if (self.__previousSelection.slice != self.__displayedSelection.slice or
E           AttributeError: 'NoneType' object has no attribute 'slice'
venv_test\lib\site-packages\silx\gui\utils\testutils.py:188: AssertionError

    def tearDown(self):
        self.qapp.processEvents()

        if len(self.__class__._exceptions) > 0:
            messages = "\n".join(self.__class__._exceptions)
>           raise AssertionError("Exception occured in Qt thread:\n" + messages)
E           AssertionError: Exception occured in Qt thread:
E           Traceback (most recent call last):
E             File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\data\DataViewer.py", line 287, in __setDataInView
E               self.__currentView.setData(self.__displayedData)
E             File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\data\DataViews.py", line 657, in setData
E               self.__updateDisplayedView()
E             File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\data\DataViews.py", line 635, in __updateDisplayedView
E               w = self.__currentView.getWidget()
E             File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\data\DataViews.py", line 351, in getWidget
E               self.__widget = self.createWidget(self.__parent)
E             File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\data\DataViews.py", line 1347, in createWidget
E               widget = RecordTableView(parent)
E           AttributeError: __init__
venv_test\lib\site-packages\silx\gui\utils\testutils.py:188: AssertionError

Fixed CI: Updated python used to test with pyside6 in order not to restrict matplotlib version.
Changed option from --slice to --slices

Finally ready for review/merge


EGP Parented Lines on HUD not rendering correctly

Describe the bug
Parented lines on EGP HUDs don't render correctly, after more testing I see the line pop on the middle of my screen before disappearing. It sometimes happen on screens randomly
To Reproduce
Run this code with an EGP screen and HUD and notice the difference
@inputs EGP:wirelink

if (~EGP & EGP) {
    EGP:egpClear()
    EGP:egpCircle(3, vec2(200, 200), vec2(50, 50))
    EGP:egpColor(3, vec(255, 0, 0))

    EGP:egpLine(4, vec2(-20, 20), vec2(20, -20))
    EGP:egpSize(4, 5)
    EGP:egpParent(4, 3)
}

Expected behavior
Screenshot taken from Wiremod from 2022

Observed behavior
Taken from most recent version

Do you mind testing this and seeing if it still happens on the latest Github version? I just tested this again and it seems to work as expected.


4405-raster aggregation

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[x] Automated Testing

[x] Sufficient User and Developer Documentation

[x] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Create a resource
Upload a tif file (use the tif file available in issue #4405)
Verify that a raster aggregation is created and you can see the metadata for the raster aggregation.

METRIC
VALUE

NEW BUGS
0

NEW VULNERABILITIES
0

NEW CODE SMELLS
0

NEW DUPLICATED LINES DENSITY
0.0

NEW SECURITY HOTSPOTS
0

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4407

@sblack-usu It's ready for another review.


Create v0.2.0 Docker image

Should go here: https://hub.docker.com/repository/docker/interledger4j/java-ilpv4-connector

0.2.0 image pushed to docker hub: https://hub.docker.com/layers/interledger4j/java-ilpv4-connector/0.2.0/images/sha256-1c36c194a1e7e58b24af9f02a00c960aa8f7aaa944535a2e00b763716f4b02c8


Type family Normalize does not always reach fix point

In Servant.Hateoas.Layer there is below type-family for normalizing an API to a shared prefix form:
type family Normalize api where
  Normalize ((prefix :> a) :<|> (prefix :> b)) = Normalize (prefix :> (Normalize a :<|> Normalize b))
  Normalize (a :<|> b)                         = Normalize a :<|> Normalize b
  Normalize ((prefix :> a) :>   (prefix :> b)) = Normalize (prefix :> (Normalize a :>   Normalize b))
  Normalize (a :> b)                           = a :> Normalize b
  Normalize a                                  = a

Normalize (a :<|> b) = Normalize a :<|> Normalize b may lead to a common prefix and therefore needs to be applied again.
However just applying Normalize (Normalize a :<|> Normalize b) obviously results in a loop.
We need a better way to apply Normalize until a fix-point is reached.

I wonder if we need the normalization at all.
We already apply MergeLayers from Servant.Hateoas.Layer.Merge which gets rid of the multiple Layers for the same endpoint problem.


Add specs for TracePoint#callee_id

TracePoint#callee_id Feature #12747
Related issue https://github.com/ruby/spec/issues/473

@eregon There is no any spec for TracePoint. Do we need to test this class or it's ignored intentionaly?

I am not sure why we are missing TracePoint, it's definitely not intentional.
TracePoint exists since 2.2 I think, but I only tracked changes actively since 2.3.
I filed #513.


Problems with install instructions on OS X fly binaries

When I follow the installation instructions under "Installing from the Concourse UI for Project Development" on OS X, I see the following error.
○ → fly
-bash: /usr/local/bin/fly: cannot execute binary file

Mac also thinks the file is a TextEdit document. It's not obviously the Linux version of the binary-- I downloaded both and they're different sizes.
Could be that there's something odd about the workstation I'm trying this on, but I finally successfully installed with:
brew install caskroom/cask/fly

so that might be a better instruction for general use.

That's a really weird one, going to have the team investigate. Thanks for reporting!

Hey @njbennett ,

Thanks for submitting the issue!
This problem you face was probably due to the right permission bits not being set (in this case, the executable bit).
# Check out the default permission bits that are set
stat ./fly_darwin_amd64
[...] -rw-r--r-- 1  ...

# Set the executable bit
chmod +x ./fly_darwin_amd64

# Check the new permission bits and verify
# that `x` is now set.
stat ./fly_darwin_amd64
[...] -rwxr-xr-x 1 [...]

Regarding brew, that's something that is no longer supported (see https://github.com/concourse/homebrew-tap). I'm not aware of reasons though - @vito might be able to provide some more context.
Maybe we could document that? Wdyt @jama-pivotal ?

Thanks!

The issue is related to concourse/concourse#963. Closing.


Add more items to filetypes_denylist.

IMHO, it should be by default,

@WIttyJudge bumping this. If left stale it'll be close within a week or two.

Closing due to inactivity.


Mobile web: Small bugs in the three buttons on viewing a message

In mobile web, there are two small bugs in the three buttons on the right of a message view in the message list (adding a reaction, viewing a menu with more actions, and starring/unstarring). They can probably be fixed in a single PR, which is why I'm opening a single issue (but let me know if it should have been two).

[x] First bug (fixed in #26283)
First is that these buttons, when visible, overlap with the message itself without any opaque or near-opaque background that would make them more readable (this happens with or without night mode enabled):

Adding an opaque or near-opaque background to these buttons would probably be sufficient. It will obscure a small part of the message, but the user can always click away and it will disappear.

[ ] Second bug
(Discovered while writing https://github.com/zulip/zulip-mobile/issues/3593#issuecomment-572766234.) This bug comes from the absence of a "hover" gesture on touch-screen devices. The three buttons are invisible until you tap on the message, which is fine. But if you happen to tap in the area where the three buttons will show, it treats the same tap as an interaction with the buttons, which might be undesirable. If you tap that empty area once, thinking nothing will happen, you could end up starring a message by mistake, for example, or opening a menu you didn't know was available and didn't want to see.

It probably makes sense to require two taps: one from anywhere on the message, that causes the buttons to be visible, and then a second tap (on whichever button you want) is only possible when the buttons are visible.
It's unlikely, but I suppose this bug may currently be exploited as a "power user" feature where you can perform actions on a message with a single tap, if you know exactly where the invisible buttons are.

@zulipbot claim

Hi,
I am trying to contribute to zulip. As a first time contributor I started
working on an issue that was already claimed so I stopped working on the
issue and selected a new one to contribute to. It would be really helpful
if I could know where will I get the code to work on the issue :
https://github.com/zulip/zulip/issues/9446
This is my first attempt, please kindly help me.
Regards,
Kasthuri A S Nair
Amrita vishwa vidyapeetham
GitHub https://github.com/kasthuri28
On Sat, 11 Jan 2020 at 07:44, zulipbot<EMAIL_ADDRESS>wrote:

Hello @kasthuri28 https://github.com/kasthuri28!
Thanks for your interest in Zulip! You have attempted to claim an issue
without the labels "help wanted", "good first issue". Since you're a new
contributor, you can only claim and submit pull requests for issues with
the help wanted
https://github.com/zulip/zulip/issues?q=is%3Aopen+is%3Aissue+no%3Aassignee+label%3A"help+wanted"
or good first issue
https://github.com/zulip/zulip/issues?q=is%3Aopen+is%3Aissue+no%3Aassignee+label%3A"good+first+issue"
labels.
If this is your first time here, we recommend reading our guide for new
contributors
https://zulip.readthedocs.io/en/latest/overview/contributing.html
before getting started.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/13642?email_source=notifications&email_token=AMTGIBH5TNVL2UYMRLHWBK3Q5G5MPA5CNFSM4KE7RPJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWBGGQ#issuecomment-573313818,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMTGIBEW423V5KYG4HYU2WLQ5G5MPANCNFSM4KE7RPJA
.

@zulipbot still working on it

@chrisbobbe please take a look at it. Thanks

@zulipbot claim

@hashirsarwar a PR for this issue is already ready. So please pick some other issue. Thanks.

@ab1nash it looks like your PR doesn't cover the second bug mentioned here (i.e. tapping the empty area triggers the action). So, I think I can work on that. Meanwhile, you can focus on your existing PR. Does this sound okay? :)

Sure! Go ahead then. If you wish you can build on top of my PR too

Closing, but with the touchscreen issue tracked now at #27018


Should we remove the ".lock" file?

We are thinking about removing (or not) the .lock file of this package.
Since this discussion concerns all the JS tools of the MeiliSearch organization, we created a centralized issue: https://github.com/meilisearch/integration-guides/issues/53.
If you are interested in this topic, please read it and feel free to share your (professional or not) experience with us on this main issue. Every opinion would be really helpful! 😁

It has been determined that it was usefull for the contributors


Automatic name mapping

Is there a way to automatically map all properties of a POJO with CsvBeanReader and CsvBeanWriter? Examples in docs laboriously enumerate all properties in the code. If this feature does not exist, would it be possible to add it? Ideally, CSV should be as easy to read/write as JSON.

Hi that sounds like an easy task to create a reflectionwriter. Feel free to submit a PR

I am currently using a little helper class that uses reflection to accomplish this, but the code is too hacky to publish and I currently don't have time to do a high-quality PR. Let's leave this issue open and perhaps someone will find time to do it (maybe even myself some time later).

Clear mapping, which can be partially writting  and also knows the order relationship between properties  and columns. if get all properties  by reflection , how to map the processors in order , any suggestion?

@robertvazan feel free to submit a low level pr. Maybe some one will pick it up ;)
@dota17 i don't understand

@kbilsted json is key-value map. but csv is list. in super-csv the headers and columns and processors must has the same num and order so you can read and write. I could not know how to order the filed   reflect from bean to map the  columns and processors .

Hi, @robertvazan
POJO is the form of key-value, so is json. But Csv is the list of key or value, super-csv map properties through header.
So how to automatically all properties? Can you give me some idea?

Here's a (very lazy and dirty) way to automatically configure names and processors:
private static StreamEx<Field> fields(Class<?> clazz) {
	return StreamEx.of(clazz.getDeclaredFields());
}
private static String[] names(Class<?> clazz) {
	return fields(clazz)
		.map(f -> StringUtils.capitalize(f.getName()))
		.toArray(String[]::new);
}
@SuppressWarnings("unchecked") private static CellProcessor processor(Class<?> type) {
	/*
	 * More types will likely have to be added here in the future.
	 */
	if (type.isEnum())
		return new ParseEnum((Class<Enum<?>>)type);
	if (type == Double.TYPE)
		return new ParseDouble();
	if (type == Integer.TYPE)
		return new ParseInt();
	if (type == Long.TYPE)
		return new ParseLong();
	if (type == Instant.class)
		return new ParseInstant();
	return null;
}
private static class ParseInstant extends CellProcessorAdaptor implements StringCellProcessor {
	@SuppressWarnings("unchecked") public Object execute(Object value, CsvContext context) {
		validateInputNotNull(value, context);
		Instant result;
		if (value instanceof Instant)
			result = (Instant)value;
		else if (value instanceof String)
			result = Instant.parse((String)value);
		else
			throw new SuperCsvCellProcessorException(value.getClass().getName(), context, this);
		return next.execute(result, context);
	}
}
private static CellProcessor[] processors(Class<?> clazz) {
	return fields(clazz)
		.map(f -> processor(f.getType()))
		.toArray(CellProcessor[]::new);
}
@SneakyThrows public static <T> byte[] encode(Class<T> clazz, Iterable<T> items) {
	var names = names(clazz);
	ByteArrayOutputStream buffer = new ByteArrayOutputStream();
	Writer writer = new OutputStreamWriter(buffer);
	try (CsvBeanWriter csv = new CsvBeanWriter(writer, CsvPreference.STANDARD_PREFERENCE)) {
		csv.writeHeader(names);
		for (T item : items)
			csv.write(item, names);
	}
	return buffer.toByteArray();
}
@SneakyThrows public static <T> List<T> decode(Class<T> clazz, byte[] bytes) {
	var names = names(clazz);
	var processors = processors(clazz);
	List<T> list = new ArrayList<>();
	ByteArrayInputStream buffer = new ByteArrayInputStream(bytes);
	try (CsvBeanReader csv = new CsvBeanReader(new InputStreamReader(buffer), CsvPreference.STANDARD_PREFERENCE)) {
		csv.getHeader(true);
		while (true) {
			T item = csv.read(clazz, names, processors);
			if (item == null)
				break;
			list.add(item);
		}
	}
	return list;
}

This could use a lot of improvements, including support for inherited fields, more supported field types, tolerance of field reordering (if that is not done already), perhaps taking into account what is in the CSV header, and maybe annotations to customize how fields are serialized if there are multiple options.


docker-buildx: 0.10.5 -> 0.11.0

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

10 packages built:

apx
docker (docker-client ,docker_20_10)
docker-buildx
docker.man (docker-client.man ,docker_20_10.man)
docker-gc
fn-cli
python310Packages.jupyter-repo2docker
python310Packages.jupyter-repo2docker.dist
python311Packages.jupyter-repo2docker
python311Packages.jupyter-repo2docker.dist


add encode and test for double, boolean, int, long and null

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

assign to bookjiang

assign to VaderKai

The new plan is to implement fastcodec for Hessian2, more details: https://github.com/kitex-contrib/codec-dubbo/issues/28


code error

code in train_distill.py line 37:
 def p_sample(self, denoise_fn, data, t, noise_fn, clip_denoised=False, return_pred_xstart=False):
        """
        Sample from the model
        """
        model_mean = self.p_mean(denoise_fn, data=data, t=t)

        return sample

return is wrong

fixed, thanks!


Multiple script entries in ui

After adding a script and selecting it I noticed in the lower right corner under the pause the section there was multiple script drop down controls. Restarting the engine it fixed itself but this seemed like bug.
Godot version:
3.2.2
OS/device including version:

Issue description:

Steps to reproduce:
Not sure. After restart I was able to add a script and it was fine.
Minimal reproduction project:

Can you take a screenshot when it happens?

Reading OP again, I suppose they're referring to this section of the Inspector:

Has anyone else been able to reproduce this on Godot 3.2.3 or later?

Correct. I had multiple controls under that section. I was following this
tutorial on youtube.
https://www.youtube.com/watch?v=Y_2oiLjOx54&t=1098s
Happened after adding the second script.
On Thu, Oct 1, 2020 at 5:28 PM Hugo Locurcio<EMAIL_ADDRESS>wrote:

Reading OP again, I suppose they're referring to this section of the
Inspector:
[image: Pause and Script sections in the editor inspector]
https://user-images.githubusercontent.com/180032/94869705-27fc4c80-0446-11eb-8b26-80b18927a85d.png
Has anyone else been able to reproduce this on Godot 3.2.3 or later?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/41958#issuecomment-702430376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALUW6JHNFMGGU356AQ7ANSLSIT7BRANCNFSM4RFWS2DA
.


bug: hummock error NoSuchKey

Describe the bug
Namespace: rwc-3-longevity-20230106-065737
Pod: risingwave-compute-1
2023-01-06T07:02:32.250276Z ERROR risingwave_storage::monitor::monitored_store: Failed in iter: Hummock error: ObjectStore failed with IO error Internal error: read \""rls-apse1-eks-a-rwc-3-longevity-20230106-065737/240/54.data\"" in block Some(BlockLocation { offset: 14477472, size: 65902 }) failed, error: NoSuchKey: The specified key does not exist."
cn-1.csv
To Reproduce
No response
Expected behavior
No response
Additional context
compute-node-0 hits #7002 meanwhile.

Another case where s3 write error is ignored
https://github.com/risingwavelabs/risingwave/blob/58f340c67bf14061cb020fcab88d8d436a644862/src/storage/src/hummock/sstable_store.rs#L535
Similar to #5220

This issue is not a kernel bug.
It's caused by

The driving test script (test_runner.sh) fails due to create mv timeout.
subprocess.TimeoutExpired: Command '['psql', 'postgres://dev:dev@rls-apse1-eks-a.risingwave-cloud.xyz:4566/dev?options=--tenant%3Drwc-3-longevity-20230107-045111', '-a', '-f', './nexmark/queries/q101.sql']' timed out after 89.999904184 seconds
It does clean up: rwc delete tenant, which will shutdown risingwave cluster and empty S3 bucket.

So I think what happens is after calling rwc delete tenant, risingwave cluster is still alive while S3 is being emptying. @mikechesterwang Can you help to confirm if this will happen in rwc delete tenant?
To confirm my guessing, I run other tests that increasing kernel's S3 connection timeout to workaround #7002.

If I use the original test script, this issue is reproduced every time.
If I tune the test script to not delete tenant after failing, this issue doesn't appear anymore.


Updated to Julia 1.8

+fixed "access denied" on bootstrap-file during lambda init on AWS side

I've tried building the Docker image/container using the provided file, but I encounter an error:
Step 8/14 : RUN /usr/local/julia/bin/julia --project=. -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
 ---> Running in 9034edzy412f
ERROR: fatal: error thrown and no exception handler available.
ErrorException("`ccall` requires the compiler")
copy at array.jl:369
IdDict at iddict.jl:45
copy at iddict.jl:153
#show_full_backtrace#882 at errorshow.jl:580
show_full_backtrace##kw at errorshow.jl:576
show_backtrace at errorshow.jl:781
#showerror#861 at errorshow.jl:90
showerror##kw at errorshow.jl:86
show_exception_stack at errorshow.jl:878
display_error at client.jl:103

Did you encounter anything like this?

Right, so I can test everything locally by running the image via:
docker build -t julia-lambda:latest . && docker run -it --rm -p 9000:8080 julia-lambda:latest
And posting requests via:
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '10000'
This works fine. But when I try to use the same image on AWS Lambda, I get this error:
/usr/local/julia-1.8.2/lib/julia/sys.so: failed to map segment from shared object```

Any ideas?

I couldn't reproduce this problem. I did mostly what you did but with Julia 1.8.4 and a slightly different chmod command (which shouldn't matter). Can you try the branch from PR #5?

Sure, I'll give that a try. To be clear, you're still able to deploy this repo to AWS Lambda itself? I was also just wondering if AWS Lambda has changed something about how the custom containers are supposed to be setup (and that would be the cause for the failed to map segment from shared object error).

Right. I have no problem deploying to AWS Lambda and running a test there.


Access contents of terminal session after tea.ExecProcess

From the example here https://github.com/charmbracelet/bubbletea/tree/master/examples/exec I see that you can retrieve and handle an error, but not much else from the executing process.
I want to exec into a shell session, but then be able to access the content of the session back in my bubble tea app. So if the shell session looks like:
❯ uname
Darwin
❯ whoami
robinovitch61
❯ exit

I'd like my bubble tea app to have access to the string:
`❯ uname
Darwin
❯ whoami
robinovitch61
❯ exit`

Any ideas on how this might be possible?
Thanks!
Leo

I think you can actually =>
https://github.com/charmbracelet/bubbletea/blob/master/exec.go#L22
Just use the override that excepts the full process which has a stdoutput

Ok so i was working on something similar, this would give you the output.
`func getGitBranch() tea.Msg {
out, err := exec.Command("git", "rev-parse", "--abbrev-ref", "HEAD").Output()
if err != nil {
	return errMsg{err}
}
branchName := string(out)
branchName = strings.Replace(branchName, "\n", "", 1)

return gitBranchMsg{branchName}

}`
Now that said, if someone knows a better way of sending the 'stream' of the output over as message other then storing the program on start

and sending messages:

https://stackoverflow.com/questions/72808811/golang-exec-command-stream-output-to-stdout-and-capture-output-in-variable


Fixed 2 typos in blob_sidecars.yaml

Oops https://github.com/ethereum/beacon-APIs/pull/323 already addresses them


Disable posts, responses and comments for blacked out discussions

Description
MA-3156
This PR disables posts, responses and comments for discussions that have been blacked out for the current date and time.

Codecov Report

Merging #916 into master will decrease coverage by <.01%.
The diff coverage is 37.97%.

@@            Coverage Diff            @@
##           master    #916      +/-   ##
=========================================
- Coverage   43.51%   43.5%   -0.01%
=========================================
  Files         385     385
  Lines       26267   26315      +48
=========================================
+ Hits        11429   11448      +19
- Misses      14838   14867      +29

Impacted Files
Coverage Δ

QLearnSDK/DiscussionObjectModel.swift
35.23% <0%> (-5.88%)
:arrow_down:

Source/DiscussionResponsesViewController.swift
1.18% <0%> (-0.02%)
:arrow_down:

Source/OEXRouter+Swift.swift
17.25% <0%> (-0.09%)
:arrow_down:

Source/Core/Code/OEXDateFormatting.m
95.65% <100%> (+0.3%)
:arrow_up:

Source/DiscussionBlockViewController.swift
60.71% <100%> (ø)
:arrow_up:

Source/DiscussionTopicsViewController.swift
72.15% <50%> (-0.04%)
:arrow_down:

Source/PostsViewController.swift
59.2% <70.58%> (+0.45%)
:arrow_up:

Source/DiscussionAPI.swift
21.21% <80%> (+2.66%)
:arrow_up:

Source/RemoteImage.swift
68.69% <0%> (-1.74%)
:arrow_down:

Continue to review full report at Codecov.

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

If we make the api calls dependent they won't be async anymore. And I think it is being cached at the moment.

They can be async even if they are dependent on each other. If topics loading is not dependent on discussion info then user can navigate to discussions screen before the response of discussion info response and blackedout discussion can be considered a normal post.
DiscussionInfo is not being cached.

@saeedbashir Ready for another review pass

@saeedbashir Ready for another review


langchain_openai: [URGENT REGRESSION FIX] Don't fail if tool message already doesn't contain name

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change
Twitter handle: if your PR gets announced, and you'd like a mention, we'll gladly shout you out!

[ ] Add tests and docs: If you're adding a new integration, please include

a test for the integration, preferably unit tests that do not rely on network access,
an example notebook showing its use. It lives in docs/docs/integrations directory.

[ ] Lint and test: Run make format, make lint and make test from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:

Make sure optional dependencies are imported within a function.
Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
Most PRs should not touch more than one package.
Changes should be backwards compatible.
If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17.

Not sure why this got into a release - it completely prevents any calls to ChatOpenAI that involve tools?

Thank you for reporting, fixing, and adding unit tests!!
You are indeed correct this was a regression, which prevented passing ToolMessage as part of the input to ChatOpenAI.
Some integration tests also added in #19460 and one for structured output (wasn't affected by this regression but was missing as well) in #19459


Something went wrong when viewing payment information of type SWIFT

I was trying out the desktop app, works fine for all but one of the payments I tried to view.
This one seems special, every time I try to view details it gives the "Something went wrong" error.
I'm guessing the type "SWIFT" makes this special, having certain values null which are expected to be there?
The error gives:
Something went wrong!
TypeError: Cannot read property 'length' of null
    at b (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/bunqDesktop.js:6:3648)
    at A.value (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/paymentinfo.bundle.js:132:7239)
    at Aa (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/vendor.bundle.js:3120:62919)
    at Ia (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/vendor.bundle.js:3120:67803)
    at di (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/vendor.bundle.js:3120:77380)
    at pi (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/vendor.bundle.js:3120:77687)
    at Gi (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/vendor.bundle.js:3120:81235)
    at Ki (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/vendor.bundle.js:3120:80747)
    at zi (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/vendor.bundle.js:3120:80573)
    at Vi (file:///C:/Users/BenV/AppData/Local/Programs/bunqdesktop/resources/app.asar/app/react/vendor.bundle.js:3120:79946)

Q/A:

Were you doing anything specific when the error occured?
Viewing payment details of an incoming SWIFT payment
Which page is the error dispalyed on
Payment details page
Include the error displayed on the error screen if possible
See above
Provide screenshots if a visual bug is involved
n.a.
List which versions you are using. For example Windows 10 and bunqDesktop 0.6.4.
Windows 8.1 bunqDesktop 0.9.6

Thanks for reporting
After having a quick look, I'm guessing that SWIFT payments sometimes don't have a description and thus the description.length > 0 check is failing.

Went into debug mode, seems like the description is there, here's a somewhat redacted screenshot.
If there's anything I can check out for you let me know:

Ah found it, the IBAN number formatting function was the cause.
for (let i = 0, len = iban.length; i < len; i += 4) {
    ret.push(iban.substr(i, 4));
}


Padding / margin issue on 2.0 RC17

Hey,
after upgrading from RC15 to RC17 all pages of my app got a wrong padding / margin. Some content is hidden behind the title bar on Android. It happens on every page with a title bar. Are there any changes (f.e. a new content wrapper) between RC15 and RC17?

Nope, I'm using it without renderToolbar. I'll check later if it fixes the issue.

@dnish Since one of the early versions we used renderToolbar, you can look in the tutorials. We forgot to update some documents. Because of some changes in the core I believe now you have to use renderToolbar, since its put in some position of the DOM that is not exposed.
I am closing the issue right now, but if it does not work for it, feel free to open it again.


Compiling profile files in libbpf-bootstrap/examples/c/

Hi,
I like to see the stacktrace using ebpf. I see some example code under profile.c file under libbpf-bootstrap/examples/c. But it's not included in the Makefile. What is the reason for it? I tried to include them. But including it caused blaze library is not linked. Is blaze part of your docker or has to be built?
Thanks,
Deepak

Did you check the Makefile? The program is very much part of the build process, but you need a Rust toolchain installed.
https://github.com/libbpf/libbpf-bootstrap/blob/2dffae1fca82fd9ef4ba15df67606cbfd2eb5412/examples/c/Makefile#L30-L38

For Docker specifically, I am not really familiar with the infra we have there. It's possible that the container does not come with a Rust toolchain and so it would suffer from the aforementioned problem. Feel free to open a pull request if you have a fix.

With installing rustc and cargo in my ubuntu docker, I'm able to build and run profile program now.
Followint are the steps.
curl https://sh.rustup.rs -sSf | sh -s -- -y
PATH="/root/.cargo/bin:${PATH}"
cargo --version && rustc --version
cargo build --release <--- From blazesym directory.
But I got following error when executed profile. Are there any limitation in doing perf from docker. I'm running in a mac system?
root@c1da7c025d63:/src/libbpf-bootstrap/build# ./profile
Fail to set up performance monitor on a CPU/Core err: No such file or directory fd: -1 cpu: 0
In file profile.c, of libbpf-bootstrap, I get this error while calling perf_event_open.
    for (cpu = 0; cpu < num_cpus; cpu++) {
            /* skip offline/not present CPUs */
            if (cpu >= num_online_cpus || !online_mask[cpu])
                    continue;

            /* Set up performance monitoring on a CPU/Core */
            pefd = perf_event_open(&attr, pid, cpu, -1, PERF_FLAG_FD_CLOEXEC);
            if (pefd < 0) {
                    fprintf(stderr, "Fail to set up performance monitor on a CPU/Core err: %s fd: %d cpu: %d\n", strerror(errno), pefd, cpu);
                    fprintf(stderr, "Cpu cycles: %lld", attr.config);
                    err = -1;
                    goto cleanup;
            }

Thanks,
Deepak

I guess this has been solved as evidenced by the progress here. Can we close it?

Sure. I'll close it. Do you see adding a Docker file to run bpf into this repository so that, it's easy for users to do tinkering in libbpf.

May be a good idea. Feel free to open a PR.


quantity elements should not be input field

With input fields, we have to wrestle with the user agent styling of text and number inputs.

Interesting idea! A fallback would be more difficult.

A fallback would be more difficult

In what way?

If it falls back to an input field, the users can still add quantities without requiring JS. Maybe that doesn't matter though, what were you thinking the replacement would be?

Good point, I mostly don't like it being a number field. User agent styling on some browsers has not been reset and you get the up and down buttons. But it also shouldn't really be a text field/editable.


chore(): modify read me doc

[ delivers  #121454813]

Coverage remained the same at 100.0% when pulling 65fc50bc294bbfd6810bbdbb4cbe5af759bce597 on ch-add-read-me-121454813 into 6a451628f8f7d3026f8863ec978d7a4d4e5ae562 on master.


Add Amazon Marketplace listing to 2.7 docs

When https://github.com/rancher/rancher-docs/pull/421 was submitted, it was noticed that the documentation link[1] being added mentioned Rancher Setup is designed to deliver the current stable version of Rancher. At the time of this writing, Rancher 2.6.10 is deployed. Given this is the case, the proposed changes were instead applied to the 2.6 version of the page and any references to the marketplace listing were removed from the 2.7 docs.
The references removed in #421 should be added back when the docs/marketplace offering has been updated for Rancher 2.7,
[1] https://documentation.suse.com/trd/kubernetes/single-html/gs_rancher_aws-marketplace/

This has to wait until we get explicit go-ahead to add.


Compiling current FR code with MSVC 2019 fails

When I try to build FR with wxWidgets 3.1.4 under MSVC 2019 for 32-bits static debug, I get a number of warnings, but also one error
1>DataGridRows.cpp
1>D:\pkg\wx\MSVC2019_3.1.4_2019\flamerobin-git\src\gui\controls\DataGridRows.cpp(1269,53): error C2440: 'type cast': cannot convert from 'DataGridRowBuffer' to 'unsigned char'
1>D:\pkg\wx\MSVC2019_3.1.4_2019\flamerobin-git\src\gui\controls\DataGridRows.cpp(1269,25): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>Done building project "flamerobin_flamerobin.vcxproj" -- FAILED.
The warnings I can either live with or fix, but this error, is a show stopper for me.

Hi, could please test under VS2015?
Thanks

No, in the latest code from your Github,  is is in the block 1221 - 1237
else    // binary (show as hexadecimal)
{
for (int i=0; i<size; i+=8)
{
int last = 8;
if (i+last >= size)
last = size - i;
for (int j=0; j<last; j++)
{
result += wx2std(wxString::Format("%02X",
(unsigned char)(buffer[i+j])));   <<<<<<<<<<<<<<<<<<<<<
}
result += " ";
if (((i + 8) % 32) == 0)
result += "\n";
}
}
I have compiled the latest code from this site using SVC 2015 and wxWidgets 3.1.1 and many of the warnings in the code I have are fixed, though some are still there and others are new.
Still it all compiles with MSVC 2015.
Will give 2019 a try; the MSVC's compilers get fussier with every release ;-)

Some of the warnings for MMSVC 2019 & wxWidgets 3.1.4 can be avoided
StartStyling(0, 0);  ==>         StartStyling(0);
font.SetWeight(wxBOLD);    ==>     font.SetWeight(wxFONTWEIGHT_BOLD );
wxFont font(frlayoutconfig().getEditorFontSize(), wxMODERN, wxNORMAL, wxNORMAL);     ==>
wxFont font(frlayoutconfig().getEditorFontSize(),wxFONTFAMILY_MODERN,  wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, wxFONTFLAG_DEFAULT );
along with some unused args, such as wxString Package::getAlterSql(bool WXUNUSED(full))

The question about wxWidgets 3.1.4 warnings... it's not fixed yet to keep compatibility with 3.0, and to migrate directly to 3.2 (or something like that)

About VS2019, I just downloaded and prepared with CMake and was able to build normally without errors
Did you used CMake too?
Thanks

No, I converted the older MSVC .sln file
I only use CMake if I have to :-)
Yes.  upgrading even in wxWidgets does cause some issues.
Getting rid of warnings just makes it easier to spot 'real' problems, though most warnings can be suppressed with compiler /wdxxxx options
Still, I am very happy to see FR is not dead :-)

Hi. I'm closing this issue as I can compile Flamerobin with VS2022. Also now you need to use CMake to create the project now


Use qt5's mkDerivation in packages that otherwise crash

This attempts to fix several Qt applications that crash on startup with:
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

A crude script was used to find packages that:

are called with libsForQt5.callPackage from top-level/all-packages.nix, and
use stdenv.mkDerivation, but
are not marked as broken nor do they refer to wrapQtAppsHook, and
have binaries that crash with the message above.

This was followed with manual steps:

Modify package file to use mkDerivation from argument list instead of stdenv, and
build the package and check that some sort of window appears.

Motivation for this change
#65399
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Ensured that relevant documentation is up to date
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 84673 1

3 package marked as broken and skipped:

bonfire
swiften
swiftformat

34 package built:

aqemu
awesomebump
bibletime
bomi
calaos_installer
candle
caneda
colord-kde
dfasma
enyo-doom
firebird-emu
glogg
httraqt
iannix
ipe
kdeApplications.okteta
luckybackup
mindforger
mpc-qt
openbrf
phototonic
pro-office-calculator
qcomicbook
qmediathekview
qstopmotion
qt-box-editor
ricochet
rocket
swift-im
tensor
traverso
valentina
write_stylus
yabause

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/please-fix-all-packages-which-were-broken-by-the-qt-wrapping-changes/6444/28

@das-g thank you for your attention! I've dropped stdenv from the arguments - looks better to me, not sure what's the right thing here, if there is such thing.

The part around here in the manual should be useful to you https://nixos.org/nixpkgs/manual/#qt-default-nix-co-3

@worldofpeace good point! In all three cases the hook ended up wrapping the .foo-wrapped binary so things worked out somewhat fine. Nevertheless having multiple levels of wrappers is ugly so I added dontWrapQtApps = true;, changed the wrapping function to the qt one and removed makeWrapper from nativeBuildInputs since it was no longer needed.
bomi remains broken though, as documented in https://github.com/NixOS/nixpkgs/issues/57532

But there's no way I could even test this manually. Perhaps our other reviewer did this.

Me? I didn't test anything, I only looked at the diff and commit messages. I could run nixpkgs-review pr if that helps, but I guess whether stuff builds can also be tested by @GrahamcOfBorg, can't it?
The functionality of the build results I can't really test either, as I don't know the packaged applications. Maybe ping the respective package maintainers?

I still think Qt's mkDerivation does more harm than good and should not have been introduced. Adding the dependencies (and wrapQtAppsHook for programs) should be sufficient. (There is also one minor improvement in debug flag handling but it does not outweigh the loss of compositionality. We should finish https://github.com/NixOS/nixpkgs/pull/71089 to get the debug flag handling to other qt setup hooks.)

@jtojnar I personally don't see much benefit in telling people to commit to something that isn't a committed practice, when it's mentioned in detail in our official documentation.
For what it's worth, I think any user of these commits would appreciate them committed right away.
@mmilata Can you rebase?

@worldofpeace rebased

I've backported this to 20.03, but I've yet to do it for 19.09 because there's conflicts.

Did the 19.09 in #85805 - gonna try building it now.

Just to have it on the record, copying my rant from IRC:

the fact that qt's mkDerivation should be removed was acknowledged by Thomas
since it does not bring almost any benefits compared to wrapQtAppsHook I see no reason to continue using it, especially if it is to be deprecated
the fact that documentation promotes it is unfortunate but it is a documentation bug that can be rectified

but since you already did the work and we do not want to make you redo it, I agreed with merging this for now:

I guess we can merge it now and then do a removing sprint

Yep, thank you so much @mmilata for taking initiative to get these last fixes, I know people will appreciate it.

No need to merge this just to not upset me, I'm not too invested, just wanted to see if it's possible to fix some of the broken packages using a simple script:)
Anyway, #85805 built for me - had to drop bibletime and write_stylus since they'd require backporting more commits which is probably out of scope. Also luckybackup was added after 19.09 was forked and according to git log it probably never worked??


Setup has detected that setup is currently running

Issue Type: Bug
Unexpected since I did not run any setup myself. Shortly before that the (1) badge showed up on the gear icon.

VS Code version: Code - Insiders 1.29.0-insider (220bff273eed39013f24b6d26fc17f2a742ce10f, 2018-11-02T06:18:20.695Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (4 x 2195)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
5.98GB (2.91GB free)

Process Argv
--inspect-extensions=51039

Screen Reader
no

VM
100%

Extensions (15)

Extension
Author (truncated)
Version

remotehub
eam
0.2.0

EditorConfig
Edi
0.12.5

vscode-azureappservice
ms-
0.9.1

vscode-azurefunctions
ms-
0.12.0

vscode-azurestorage
ms-
0.4.2

vscode-cosmosdb
ms-
0.8.0

azure-account
ms-
0.4.3

azurecli
ms-
0.4.2

csharp
ms-
1.17.0

github-issues-prs
ms-
0.9.1

vscode-node-azure-pack
ms-
0.0.4

azurerm-vscode-tools
msa
0.4.2

debugger-for-chrome
msj
4.10.2

vscode-docker
Pet
0.3.1

vscode-open-in-github
sys
1.7.0

This also happens to me. There's only one instance running.

This is happening regularly for me. Definitely an annoyance. Any updates?

Seems to have solved it for me. I had two windows open and the second one was waiting on a restart.

I have the same issue message but the problem comes when running VSCode under two user accounts simultaneously in the same Windows session.  If either instance is closed the issue goes away. -- is this a separate issue that the one discussed here?

Same problem

Same issue

Same issue

Same issue.

Also happens when opening very large 3.5GB JSON file, memory already set at 8192MB, open file, editor says restart with memory set to 8192, ok, wait, popup that says setup already running.

Also happens when opening very large 3.5GB JSON file, memory already set at 8192MB, open file, editor says restart with memory set to 8192, ok, wait, popup that says setup already running.

I copied the "Code.exe" file from where my program was installed and pasted it to the temp map: C:\Users\YOUR_USERNAME\AppData\Local\Programs\Microsoft VS Code I reran the update and it fixed the problem for me.

well, this is lost between 5k+ issues. Maybe this needs to be brought back to life.

I have the same thing. I tried uninstalling code and reinstalling it but during install it gives me Setup has detected setup is running and I feel like I f'd myself.

Getting the same error - Possibly because I manually moved Code.exe to another directory

I also experience this issue:

fix this !!!

I'm also running into this issue. It pops up every 5 minutes or so and I can't figure out how to fix it.

same here

same

perhaps 'Extension host' is the culprit. I had to click away the 'Setup has detected that Setup is currently running.' message 3 times.

Same issue :(

I have the same issue too at VS code start up. Sometimes it doesn't happen immediately after startup, but a few minutes after the startup, the same window pops up. Clicking cancel makes it go away but it would come back after one hour or so. I am not sure what is causing this. I'm using the newest version of VS code as for now.

Suggestions to fix?
I would love to see this either fail silently or perhaps just become a notification rather than a popup that has to be dismissed. Additionally if setup does find that setup is running, could it maybe wait a little longer before trying setup again?

Additionally, surely there would be some way of indicating that this is related to VSC. I got randomly prompted for this. I had no idea what it was.

same issue here.

same issue !!!

Guys, Don't worry about. Try this type of path : Users\yourfoldername\AppData\Local\Programs\Microsoft VS Code
This path will show after you create your VS shortcode icon and then right click the icon and go to the file path and you are able to see this type of path.  it's working for me:)

I can same popup very frequently in Win 10 now, very annoying.
@Hiren547  I cannot fully understand what its means (no offense)
do you mean create a new short cut in desktop??

I've been using vs code for years just fine without seeing this. The past few days, this has popped up every hour. I have one instance of vs code open. I'm not doing anything wacky. I haven't updated vs code recently.  Is this issue really over 4 years old?

Lis of extensions:

+1 here since this morning. VSC was running mostly fine yesterday, then this morning this issue showed up. I did not do anything during the night.

Same issue. Hitting "OK" just makes the dialog pop back up again. Super frustrating/annoying

Same issue.

Getting this as well, every day it pops up even with no VSCode instances open.

this happens to me all the time. cant believe this bug is 5 years old and still not fixed.

still getting it and come to this place...

Same issue here

5 years no fix LMAO

Mine just started doing this today. You can click 'cancel' on the pop up and it will go away... temporarily.

Every time I power off my PC I get this. FIVE YEARS. And I'm not the only one. Wild...
Anybody have any ideas on the cause or the solution?

For me, there were some files in, IIRC, %HOME%/AppData/Roaming/Code that were not writeable. Once I accidentally it found, I just reset the permissions and everything worked again.

I think I fixed it by deleting all old instances of VS code on my hard drives

In my case it was because there was a process called CodeSetupStable.exe running that was hung somehow and never exited even when VSCode was terminated. Killing it in task manager fixed it. Presumably rebooting might have fixed it too but it is possible that CodeSetupStable.exe might restart if it thought it hadn't finished yet?

If it's any help to Microsoft or anyone else, def happening on my Windows 11 desktop with two VSCode windows open, one running Python code  launched with a Conda virtual environment and one running C++ launched via PowerShell for VS 2022.  I could happily run 2 VSCode windows launched from the TaskBar.

We definitely need attention!

+1

Just had this out of nowhere. Had to google it to find that it was VSCode.
Could somebody at least just change the ridiculous message?

Just happened here as well. Please change the message or handle it differently 👍

Hi I am 95% sure that i have this problem for the following reason:
My VS Code is super fresh. I have barely anything installed, no files, pretty clean (except that I couldn't find the installed MS Python Interpreter in my files). So me being quite the newbie tried to set the Python Interpreter manually and in the process of trying things out i kind of set the VS Code Installer exe as the Interpreter. i know. please don't judge. I got the preobem immediately after and deleting vs code and reinstalling didnt solve the problem. i also still cant find the interpreter.

Hey all, for anyone who is encountering this error, we were able to solve it in a few steps.

Go to your downloads, delete every instance of the VS Code setup exe
Empty your recycling bin to completely delete these files
End every instance of VS code and setups in the task manager
Restart your computer
Launch VS Code
Voila

had it today , most funny error message i have seen , thx devs.

still happening in 2024. what an embarrassing bug for such a major Microsoft product

This is happening for me in December 2024 - normally I'm a Mac user and I've never seen this before, so it must be part of my penance for using Windows on my current project


Formatting Documents does not fix indentation, leaves null values

When the compose file looks like this

Pressing shift alt F gives me this

Also, a weird quirky bug, but after I format the document, sometimes when hitting control Z (undo)
I get null on some of the attributes. This may be because I hadn't put a value there yet but I'm not totally sure

All of this is working as designed. In your above example, dockerfile is a value in the context map. That it's an incorrect compose document is not really relevant to formatting; the job of formatting is to fix spacing on an already-syntactically correct document.
null will show up when a map has no values; this is also by-design.

and after Ctrl + Shift + F the document still looks the same

After hovering over the next red line, it is giving a corrective error, but our document formatter doesn't fix this. It was my assumption that this document formatter would be a mix of Prettify with Format. I haven't been able to understand where I can use the Ctrl + Shift + F, because it hasn't really done much besides closing down spaces yet.

Is format document not our code? Does it have a different job than what I'm thinking? I was thinking you wrote in some kind of Prettify for Compose files?


Sylk: 3.0.0 -> 3.0.1

Motivation for this change
Simple version bump.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Please base your branches off the current master.

Apologies, fixed.


fix(dashboard): fixing implementation of feat #167

there was an error on implementation that was breaking links to tree details.
Closes #167

The ticket is giving the wrong impression of the task goal, I fixed in a comment
https://github.com/kernelci/dashboard/issues/167#issuecomment-2310103313

The ticket is giving the wrong impression of the task goal, I fixed in a comment
#167 (comment)

This was already mentioned on
https://github.com/kernelci/dashboard/pull/177/files#r1729153055


whener i try to tun my code it says permission denied

ADD ISSUE DESCRIPTION HERE
Version: 1.87.2
Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

The issue description is missing.
If this is for GitHub Codespaces, could you please start a discussion about it here: https://github.com/orgs/community/discussions/categories/codespaces

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


⚠ Bofrost.be has degraded performance

In 5793adc, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2229 ms

Resolved: Bofrost.be performance has improved in 399b947.


Add FanMenu

Add FanMenu iOS control in Menu section
Project URL
github.com/exyte/fan-menu
Description
Menu with a circular layout based on Macaw library
Why it should be included to awesome-ios (optional)
FanMenu is a good example what control you could build with Macaw.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

:no_entry_sign:
Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

2597
301
http://swiftweekly.github.io/ redirects tohttps://swiftweekly.github.io/

  Generated by :no_entry_sign: Danger

Thank you!


Fixed problem with generated constructor for live-data type

Table of Contents
Link to GitHub issues it solves
closes #7
Description
Fixed problem with generated constructor for live-data type
Contributing has more information and tips for a great pull request.

@zeobot set lc to pass


question about coco_unseen_ids

Hi, I want to know what's the meaning of the  coco_unseen_ids_train, coco_unseen_ids_test in the file class_name.py. It seems that it is different from the popular (17+48) zero-shot setting. eg. The coco_unseen_ids_test list contains 15 items.
Thanks!

Hi, I want to know what's the meaning of the coco_unseen_ids_train, coco_unseen_ids_test in the file class_name.py. It seems that it is different from the popular (17+48) zero-shot setting. eg. The coco_unseen_ids_test list contains 15 items. Thanks!

Hi, it means the removed classes during test phase. We need to remove 17+15 classes during training and 15 classes during testing. So the 15 classes are removed all the time. Here, 'unseen' means 'removed', sorry for causing the confusion.

Thank you for your quick reply!   Looks like you also conduct experiments on COCO zero-shot setting? Could you share the config file for this? It will help me a lot.

@dyabel  Hi, I think the implementation of StandardRoIHeadTEXTPrompt is related to the VILD-text part. I run experiments with this ROI head on coco zero setting, but get a bad result. (the all classes mAP50=44.9 but novel classes mAP50=0.384)
Other configs are consistent with  this file 'configs/transfer/faster_rcnn_r50_fpn_sample1e-3_mstrain_voc_pretrain.py'
The AP in the figure below means AP50.

Have you tried the only vild-text experiments during your research? I don't know if the results are normal now or if I haven't tuned the hyperparameters properly.

@dyabel Hi, I read your code and really think it is a clear implementation. Now I want to ask another question. I think the implementation of StandardRoIHeadTEXTPrompt is related to the VILD-text part. I run experiments with this ROI head on coco zero-shot setting but get a bad result. (the all classes mAP50=44.9 but novel classes mAP50=0.384) Other configs are consistent with this file 'configs/transfer/faster_rcnn_r50_fpn_sample1e-3_mstrain_voc_pretrain.py' The AP in the figure below means AP50.  Have you tried the only vild-text experiments during your research? I don't know if the results are normal now or if I haven't tuned the hyperparameters properly.

@dyabel Hi, I read your code and really think it is a clear implementation. Now I want to ask another question. I think the implementation of StandardRoIHeadTEXTPrompt is related to the VILD-text part. I run experiments with this ROI head on coco zero-shot setting but get a bad result. (the all classes mAP50=44.9 but novel classes mAP50=0.384) Other configs are consistent with this file 'configs/transfer/faster_rcnn_r50_fpn_sample1e-3_mstrain_voc_pretrain.py' The AP in the figure below means AP50.  Have you tried the only vild-text experiments during your research? I don't know if the results are normal now or if I haven't tuned the hyperparameters properly.

@Feobi1999 Hi，did you fix this issue?