text:
[docs-infra] Make the "Show code" button more accessible

Duplicates

[X] I have searched the existing issues

Related page
https://mui.com/material-ui/react-card/
Kind of issue
Unclear explanations
Issue description
Hello, thanks for making this great library.
I use the documentation of Mui a lot (like many others 😄 ), but this recent Show code looks like a label. When I first see it, I thought now I only had possibility to open the code in other tools (CodeSandbox, StackBlitz,...) but not inline inside the docs anymore. Turns out Show code is clickable.
I think we have a UX issue there: Show code follow by other icons, but will make people think that the inline code doesn't exist. AFAIK inline code is still very useful
https://github.com/mui/material-ui/assets/18528548/ddc04a53-7c11-4855-b1d6-36bbcc6ae061
Context 🔦
No response

@danilo-leal

Hey @trungutt, thanks for opening the issue; appreciate it! This is interesting feedback! At one point in the design process for this, I had the "Show code" button in blue to improve its affordance. But given that all the demo toolbar icons are also gray, I felt that stood out too much, especially considering that it's a label repeated multiple times across the page.
One possibility I'm visualizing here, other than playing with colors, is tweaking positioning. Maybe if we place the "Show code" button on the toolbar's left edge, the affordance will be higher? It's tricky as we need to account for the buttons the appear after the code block is expanded (e.g., JS/TS toggles, and in the Base UI docs, the style engine menu).
I'll experiment with this and will report back here. In the meantime, let me know if you have any suggestions; I'm all ears!

@danilo-leal Thanks for coming back to me.

Maybe if we place the "Show code" button on the toolbar's left edge

I would recommend agains doing that, for the reason that we should have that one functionality in one place (should be tied to button groups on the right)

It's tricky as we need to account for the buttons the appear after the code block is expanded

Ya it would be very tricky for different reaons.
Here is my two cents:

In addition to Show code label issue, it's a bit inconsistent in some place that we have Expand code (I understand more Expand code though, "Expand" means code will open to the bottom, I usually see "Show" followed by a Toggle, but I wouldn't recommend to put any toggle there). Example with Card

I'd like to know the issue the team encountered with the code tag <> icon? I think it's very common to folks that it opens code inline. By making this issue, I realized that it might be my most used buttons in Mui Doc 😄 (and probably others as well)

If for some reason the team wants to stick to Show code, I'd vote for an outline button Show code, that will make it less label-y

Just to explain the "Show/Expand" labels: we have demos where the code block is hidden and others where there's a small portion of it, the most important part, visible. "Show" is the label for the former case, and "Expand" is for the latter. I reckon they could be the same label, but I personally think that it's a bit more accurate this way, even though it looks like an inconsistency at a glance.
About switching away from the <> icon, we received numerous feedback from folks not knowing that they could expand or see the code block at all. Even though it is the most triggered event on the docs, many people were still confused. I dig your suggestion about the outlined variant ⎯ I've tried that but felt it looked inconsistent with the other plain icon buttons, but I can always try again! 🤙

@danilo-leal oh all that is really good to know, thank you.
I think I can differentiate Show code vs Expand code, but only after I realise that part of code is already shown. Not because Show/Expand (the language itself) gives me that sense :)
I can't wait to see the upcoming resolution for it

Expend events https://analytics.google.com/analytics/web/#/analysis/p353089763/edit/SN2KZJduRPe_uMeLklJvAQ over time

The button was released Aug 24.

Thanks for pulling the data up!

to have both the icon and label?

I did try that out, yeah, but given there's a very limited space in the demo toolbar, that would make responsiveness a bit trickier. Maybe outlining the button, as suggested above, might suffice!

to show a fake partially expended code below the demo toolbar with an expand code CTA?

I have considered it but didn't prototype it. I see that's a common design pattern used across some docs (e.g., Atlassian's design system) but always found the interaction to be a bit inconvenient (if you expand the code, you need to scroll and move the cursor down to collapse it). Additionally, all of our demo-related actions are in the toolbar, and this route would mean that just this option is outside of it. But, either way, definitely something to test further!

Thanks for pulling the data up!

The drop could be explained by the removal of the annoying tooltip that you had to click to hide. But it's only first first-time sessions, I doubt it would have this scale of impact.

here's a very limited space in the demo toolbar

Since we renamed JS / TS, the densest I can reach is

https://mui.com/base-ui/react-autocomplete/#introduction

authors: brijeshb42 danilo-leal oliviertassinari trungutt


text:
[Slider] Don't ignore isRtl prop.

Signed-off-by: Shayan Toqraee Shayan.To@Hotmail.com

[X] I have followed (at least) the PR section of the contributing guide.

@michaldudak Would you please comment on this PR? This is really annoying, as I want to have a strictly LTR slider in my app, and isRtl prop is completely ignored.
Is there anything I can do to speed things? (I didn't know what to do about the error in the failed CI.)

No, there is no issue. I thought that ignoring a prop entirely is an obvious enough problem to be solved.
I don't know how I can write a test about this. I don't have a lot of time, but am willing to help move this forward. Could you please tell me what things I should do to?

The PR needs a description so that we know what it's about when we look at it in a couple of months.
As for the test, you can create a slider with the isRtl prop set, set its value close to its range end, and verify if the thumb position is close to the right side.

This PR seems stale, is there any progress on getting this resolved and through?

isRtl is an internal prop and shouldn't be used directly. The docs fail to mention this, and I'm going to update them so it's clear. All the components check the theme to determine the direction and Slider should not be an exception.

@michaldudak Then is there a way to change the direction of slider? I want to use a slider that works from left to right (like how we write numbers) instead of right to left.

It's used in SliderUnstyled, and our docs generation scripts incorrectly included it in the Slider docs. It's corrected now.
The Slider, like many other components, can be configured to use the RTL mode with a theme setting:
const theme = createTheme({
  direction: 'rtl',
});

return (
  <ThemeProvider theme={theme}>
    <Slider ... />
  </ThemeProvider>

source: gharchive/pull-request

authors: ChaseMarcum Shayan-To michaldudak

repo: mui/material-ui

license: MIT

license_type: permissive

license_source: github-api


text:
[docs][joy] Build API documentations

[x] I have followed (at least) the PR section of the contributing guide.

Closes https://github.com/mui/material-ui/issues/35813
Summary of this PR:

Export Autocomplete, AutocompleteListbox, AutocompleteOption, ScopedCssBaseline
Typography: Add default value to levelMapping
Correct the default values of props in interfaces in multiple components
Create docs/translations/api-docs-joy where all JSON files for api docs of Joy components are located
Generate API docs for Joy (located in docs/pages/joy-ui/api)

Preview: https://deploy-preview-36008--material-ui.netlify.app/joy-ui/api/alert/ -> Alert API

@siriwatknp @mnajdova I will review the PR myself 1 more time and let you know. Don't review more yet please!

@siriwatknp @mnajdova I think this is ready for review now!
Summary of this PR:

Export Autocomplete, AutocompleteListbox, AutocompleteOption, ScopedCssBaseline
Typography: Add default value to levelMapping
Correct the default values of props in interfaces in multiple components
Create docs/translations/api-docs-joy where all JSON files for api docs of Joy components are located
Generate API docs for Joy (located in docs/pages/joy-ui/api)

The CSS section is missing from the Joy's API pages, for e.g. this is how it looks for the Material UI's components: https://mui.com/material-ui/api/accordion/#css

Wouldn't it be more helpful for Joy package users if we release this PR and we work on CSS section in a separate PR?

Wouldn't it be more helpful for Joy package users if we release this PR and we work on CSS section in a separate PR?

That works too, I mentioned it so that it's not overlooked. Apart from that I can't find anything else that's missing. Great work Benny! I will let the last review to Jun, to validate that we have everything in place.

TODOs for separate PRs

https://github.com/mui/material-ui/pull/36008#discussion_r1098568534
CSS Section in API documentation

@siriwatknp I added the "Component Name" section for Joy API docs: https://deploy-preview-36008--material-ui.netlify.app/joy-ui/api/alert/#component-name

@mnajdova The CSS documentation will be done in a follow up PR

Forgot to update you. Jun and I discussed yesterday and we will do the same for Joy as done in this PR (https://github.com/mui/material-ui/pull/36104) for Base instead of CSS documentation.

@hbjORbj looks good to me, let's wait #36104 to be merged and update this PR one last time!

authors: hbjORbj mnajdova siriwatknp


text:
[material-ui][docs] Fix sign in side image

[x] I have followed (at least) the PR section of the contributing guide.

closes https://github.com/mui/material-ui/issues/42649
Replace the outdated Unsplash image with a static image.

old
new

@siriwatknp could you help me with the failing tests here?


text:
setup hardware filtering on MEA2100 using matlab

Hi this not a bug, but more of question. I am trying to get control over the built in filters of the MEA2100 device. I am not sure which function class to use and what route to take to activate butterworth filtering:
CMeaFeedbackFunctionNet Class e.g. FeedbackSetMkFilter()
or
device.ButterworthFilterHighPassNet (numCoefSets, order, sampleRate, cutoffFrequency, scale)?
or
filterDevice=CFilterConfigurationNet()?
the CHM documentation does give a lot of hints there. Or maybe I don't understand how to interpret the documentation.
kind regards
Gerco

Hi Gerco,
this depends on your use case... There are two hardware filters on the MEA2100, one on the headstage that can be used to filter the acquired electrode data, and one on the IFB that filters the datastream to the DSP. Let me know which one you want to use and we can send you some example code.
Kind regards
Armin

Hi Armin,
Yes good point,
As I understand the headstage hardware filter is analog not? From the manual:
“Hardware Filter Settings
While the MEA2100-System in principle can measure DC signals, this is for most purposes very impractical, as the baseline would constantly drift. Therefore, the system is equipped with software configured hardware filters. By default, a second order high pass filter with a cut off frequency of 1 Hz is used to prevent a baseline drift. The upper cut off frequency is 3.3 kHz. It is possible to change the settings of these filters without modification of firmware or hardware. “
@.***
And the one IFB is a digital one where you can set butterworth, Chebyshef etc?
@.***
Actually we normally modify only the second one, assuming the first one remains what it is if left untouched. But it might be good to have at least a report for the log of the experiment of also the filter setting of the headstage. But recently we got interested in local field potentials and therefore unfiltered signals become more interesting to us as well.
So short answer : We prefer to have at least access to the IFB filter settings but if not too difficult we would also like to have access to the headstage filter.
Gerco
From: armwal @.>
Sent: dinsdag 10 mei 2022 14:59
To: multichannelsystems/McsUsbNet_Examples @.>
Cc: Hassink, Gerco (UT-TNW) @.>; Author @.>
Subject: Re: [multichannelsystems/McsUsbNet_Examples] setup hardware filtering on MEA2100 using matlab (Issue #8)
Hi Gerco,
this depends on your use case... There are two hardware filters on the MEA2100, one on the headstage that can be used to filter the acquired electrode data, and one on the IFB that filters the datastream to the DSP. Let me know which one you want to use and we can send you some example code.
Kind regards
Armin
—
Reply to this email directly, view it on GitHubhttps://github.com/multichannelsystems/McsUsbNet_Examples/issues/8#issuecomment-1122356623, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYVFLOJEFTKWK54HMWKUERDVJJMP3ANCNFSM5VOVLDIQ.
You are receiving this because you authored the thread.Message ID: @.@.>>

Hi Gerco,
actually both filters are digital filters and are applied after analog-digital conversion. The DSP only come into play if you are interested in real-time feedback experiments, so I think changing the (digital) filter on the headstage is what you want to do. The recommended way to do this is with our MCS Filter Config Tool: https://www.multichannelsystems.com/software/mcs-filter-config
This tool sets Butterworth low pass filters and Bessel high pass filters for the headstage. Would this be sufficient for you?
Kind regards
Armin

Hi Armin,
Indeed MCS-filter-config works well enough as a basic filtering in combination with our matlabscript, since we can always apply additional filtering offline using matlab functions on the recorded raw signal from the MEA-device. What would be nice then is to have a “getFilterSettings” function to log the current filter settings of the headstage  (and maybe also for other filters that might be in the data line) in our recorded data file, to be able to make sure that the right head stage filter settings were used at the time of the experiment.
We have e.g. discovered that if we run a MC-rack instance and subsequently close the MC-rack, but do not reboot MEA2100 and run the Matlab script directly after, that parameters like filtersettings and stimulation settings are still in the MEA2100 memory. Since we probably run the different software alternately, depending on our needs, we want to prevent the likelihood of errors like these future, and more importantly, to be able to detect them at least.
Gerco
From: armwal @.>
Sent: donderdag 12 mei 2022 11:17
To: multichannelsystems/McsUsbNet_Examples @.>
Cc: Hassink, Gerco (UT-TNW) @.>; Author @.>
Subject: Re: [multichannelsystems/McsUsbNet_Examples] setup hardware filtering on MEA2100 using matlab (Issue #8)
Hi Gerco,
actually both filters are digital filters and are applied after analog-digital conversion. The DSP only come into play if you are interested in real-time feedback experiments, so I think changing the (digital) filter on the headstage is what you want to do. The recommended way to do this is with our MCS Filter Config Tool: https://www.multichannelsystems.com/software/mcs-filter-config
This tool sets Butterworth low pass filters and Bessel high pass filters for the headstage. Would this be sufficient for you?
Kind regards
Armin
—
Reply to this email directly, view it on GitHubhttps://github.com/multichannelsystems/McsUsbNet_Examples/issues/8#issuecomment-1124732555, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYVFLOI3XEM74HH3J5HOQVTVJTEAFANCNFSM5VOVLDIQ.
You are receiving this because you authored the thread.Message ID: @.@.>>

Thanks Armin,
This works. I can read from 3 filters (1-3) 2 and 3 being the software filters programmable via the MCS filterconfiguration tool and filter 1 seems to be a lowpass hardware filter:
The filters are initially of the Bessel type. However as soon as change the Lowpass cut-off frequency to something else than 3500, it changes to butterworth. If I change it back to 3500 it remains butterworth until I do  a clear coefficients. This does not happen to the highpass filter it remains of the Bessel type. I am not sure if it is just the name or also the real filter and if this would have serious consequences (I am not filter expert). But seems a bit strange to me.
Kind regards,
Gerco
From: armwal @.>
Sent: maandag 16 mei 2022 17:24
To: multichannelsystems/McsUsbNet_Examples @.>
Cc: Hassink, Gerco (UT-TNW) @.>; Author @.>
Subject: Re: [multichannelsystems/McsUsbNet_Examples] setup hardware filtering on MEA2100 using matlab (Issue #8)
Hi Gerco,
correct, filters are set on the firmware level and typically not reset when a software closes, so they stick around until you reboot the device.
you can use the GetFilterProperties function of the CMcsUsbDacqNet class to retrieve the current filter settings. Typically, you would invoke this from the meaDevice object that you are using for data acquisition:
filters = meaDevice.GetFilterProperties(Mcs.Usb.DacqGroupChannelEnumNet.HeadstageElectrodeGroup);
This returns an array of CFilterPropertyNet objects that describe the headstage filters for the electrode data. You can read out other filters using other entries of the DacqGroupChannelEnumNet enum.
Kind regards,
Armin
—
Reply to this email directly, view it on GitHubhttps://github.com/multichannelsystems/McsUsbNet_Examples/issues/8#issuecomment-1127811628, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYVFLOPKHMGC4XWXUDJH243VKJSANANCNFSM5VOVLDIQ.
You are receiving this because you authored the thread.Message ID: @.@.>>

Hi Gerco,
thanks for bringing this up! We've had a closer look at the code of the McsFilterConfig tool because this behaviour doesn't sound correct, and there is indeed a bug in the tool!
Currently, when you set a lowpass filter with the Filter Config tool, it creates filter coefficients for a Bessel filter and writes them to the firmware, but it labels it as a Butterworth filter. So the lowpass filter is always a Bessel filter, but it's got the wrong name and identifies as a Butterworth filter. Fortunately this is only cosmetic, because only the coefficients are relevant for the actual filtering.
Please ignore the "Butterworth" label at the moment when you use the Filter Config tool, this is wrong and we are working on an update for the tool that fixes this in the near future.
Kind regards and thanks!
Armin

Ok that is solved for the timebeing then, thanks till next time
From: armwal @.>
Sent: donderdag 19 mei 2022 14:54
To: multichannelsystems/McsUsbNet_Examples @.>
Cc: Hassink, Gerco (UT-TNW) @.>; Author @.>
Subject: Re: [multichannelsystems/McsUsbNet_Examples] setup hardware filtering on MEA2100 using matlab (Issue #8)
Hi Gerco,
thanks for bringing this up! We've had a closer look at the code of the McsFilterConfig tool because this behaviour doesn't sound correct, and there is indeed a bug in the tool!
Currently, when you set a lowpass filter with the Filter Config tool, it creates filter coefficients for a Bessel filter and writes them to the firmware, but it labels it as a Butterworth filter. So the lowpass filter is always a Bessel filter, but it's got the wrong name and identifies as a Butterworth filter. Fortunately this is only cosmetic, because only the coefficients are relevant for the actual filtering.
Please ignore the "Butterworth" label at the moment when you use the Filter Config tool, this is wrong and we are working on an update for the tool that fixes this in the near future.
Kind regards and thanks!
Armin
—
Reply to this email directly, view it on GitHubhttps://github.com/multichannelsystems/McsUsbNet_Examples/issues/8#issuecomment-1131653063, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYVFLOIUID4EZTPOGK7EIB3VKY2X3ANCNFSM5VOVLDIQ.
You are receiving this because you authored the thread.Message ID: @.@.>>

source: gharchive/issue

authors: armwal gchassink


text:
feat: add missing validations in the database

Resolves #387

add supported versions of mariadb on both azure and aws;
check username & password;
check if dbsize is not set to unknown;
some minor validation structure refactor (use Validator interface);

Note: Couldn't really find any other strict restrictions for username&password for all of the databases; these datafields can be anything that is utf-8 encoded really, only restricted in maximum length;

repo: multycloud/multy


text:
redirection to the admin

Hi and thanks for the very nice project, I was trying to use it though but no luck so far, using Django 1.4.13.
I followed the instructions but every time I go to
http://localhost:8000/dowser/
my browser redirects automatically to (even after I'm logged in as admin):
http://localhost:8000/adminiu0Roojo/?next=/dowser/
I've also seen an error once
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/andrea/.virtualenvs/depop_backend/lib/python2.7/site-packages/django_dowser/__init__.py", line 37, in start
    self.tick()
  File "/Users/andrea/.virtualenvs/depop_backend/lib/python2.7/site-packages/django_dowser/__init__.py", line 47, in tick
    typename = objtype.__module__ + "." + objtype.__name__
TypeError: unsupported operand type(s) for +: 'property' and 'str'

Which I guess depends on some unhandled type and I thought that this was the issue maybe, it still doesn't work even if I handle the exception.
Any ideas? Thanks

@AndreaCrotti I'm closing the issue as I can't reproduce it and there is no update from you. Keep us posted if you have any further problems with it.

authors: AndreaCrotti munhitsu

repo: munhitsu/django-dowser

license: mit

license_source: bigquery


text:
fix batch generator in a task

fix #42 by reusing a generator object in a task
also making the batch_generator method in a curriculum consistent with that in a task

I've made suggested changes.
However, some deprecations expired in the most recent numpy 1.24, causing tests for python 3.8 to fail.

repo: murraylab/PsychRNN


text:
Update Browser Console table to render properly

See rich diff for the difference

Fixed in https://github.com/muses-code-js/js-intro-workshop/pull/41

authors: linda-lai thomasin

repo: muses-code-js/js-intro-workshop


text:
Getting errors for cargo whatfeatures tokio

Cargo whatfeatures fails for me when ran it with just tokio:
$ cargo whatfeatures tokio
ERROR: cannot find a crate matching 'tokio'. maybe it was yanked?

And it is there
$ cargo search --limit 1 tokio
tokio = "1.12.0"    # An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.
... and 2016 crates more (use --limit N to see more)
$ cargo ssearch --limit 1 tokio
Displaying 1 crates from page 1 out of the 2017 found.

tokio = "1.12.0"    	(downloads: 34139399)
 -> An event-driven, non-blocking I/O platform for writing asynchronous I/O
backed applications.
    docs: https://docs.rs/tokio/1.12.0/tokio/
    home: https://tokio.rs

Even though other crates work fine:
$ cargo whatfeatures cargo-whatfeatures
cargo-whatfeatures = "0.9.7"
└─ features
  ├─ default
  │ └─ native-tls
  ├─ native-tls (default)
  └─ rustls

even if they do not use any features
$ cargo whatfeatures tokio-context
tokio-context = "0.1.3"
└─ no features

I tried updating to v0.9.7, but no matter what I try cargo install only sees v0.9.6 and I was too lazy to test this from git, sorry =)

I filed an issue here: https://github.com/rust-lang/cargo/issues/9987

repo: museun/cargo-whatfeatures


text:
Music Assistant doesn't load with 2022.12 core update

What version of Music Assistant has the issue?
2022.12
The problem
Music Assistant doesn't load with 2022.12 core update.
Logs:
Logger: homeassistant.util.package
Source: util/package.py:98
First occurred: 8:34:14 PM (3 occurrences)
Last logged: 8:34:20 PM
Unable to install package music-assistant==1.8.7: ERROR: Cannot install music-assistant==1.8.7 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip available: 22.3 -> 22.3.1 [notice] To update, run: pip install --upgrade pip
How to reproduce
Upgrade to the last core release and restart.
Relevant log output
Logger: homeassistant.util.package
Source: util/package.py:98
First occurred: 8:34:14 PM (3 occurrences)
Last logged: 8:34:20 PM
Unable to install package music-assistant==1.8.7: ERROR: Cannot install music-assistant==1.8.7 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip available: 22.3 -> 22.3.1 [notice] To update, run: pip install --upgrade pip
Logger: homeassistant.setup
Source: setup.py:202
First occurred: 8:34:26 PM (1 occurrences)
Last logged: 8:34:26 PM
Setup failed for custom integration mass: Requirements for mass not found: ['music-assistant==1.8.7'].
Additional information
No response
What version of Home Assistant Core are your running
2022.12
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Seriously? The excuse is that something working, something people used, broke because you where busy working on something that's not released, that's no one is currently using?
Thanks, it's extremely logical thinking. Bye bye Music Assistant.

You are free to contribute to this FREE component any time you like. Bye.

Free is an excuse to be delayed, but free doesn't give you the excuse to have the attitude you have. Which is proof that you shouldn't be making this to begin with, you should delete it and live with the fact that your rationale and logic isn't suited to be in charge of a project, any project.
The delay isn't the problem, obviously. It's your mental state and attitude. Free or paid, you should not be in charge, the logic and reasoning is a huge warning sign for all the millions of problems that are going to pop up in the future (On top of the ton of bugs that already exists).
And yes, bye.

@fjeddy I have filed an official report against you for offensive behavior. You clearly have no idea how open source software works and you do not belong on Github. You have really hurt my feelings. Do notice that I have been working on Music Assistant in the last 3 years in my own free spare time which I could have spent with my family or other hobbies. And yes, there are bugs and issues. They will be fixed by me or any other open source volunteer who wants to get the hands dirty. We do not have a huge pile of software developers and you are the tester as user of open source / free software. With positive feedback you drive us to to make it better and better and correct issues, implement new features. Feedback like this makes me think I should just pull the plug and make it private again for my own selfish use.
There is a choice. You could have gone to a store and buy a ready made product there with a support department you pay for and some good level quality control. Another choice you had was just restoring a backup of HA and wait a few days until MA is compatible with the version that came out just hours ago.
But no instead you decide to troll the very people that make this possible in their free time, besides me that also includes @OzGav who gives this endless and patient support to users.
You should be really ashamed of yourself!

@marcelveldt I think everyone here loves being able to use Music Assistant. I know I make good use of it and love it. For me personally at the moment it is more important than Matter, as I do not have any Matter devices. But in the bigger picture, for the future of Home Assistant, Matter is a bigger thing.
Kudos for spending so much time in making a nice product. Take the time you need and please don't feel rushed, having enough mental rest is more important than any software product.

@marcelveldt No, and just no... It's called critical, constructive feedback, on your priorities. Where your response is "Sorry we broke your entire music and speaker related setup, just wait a couple of days while we priortize putting our name on something else that's not even remotely urgent in the meantime".
I've been in the opensource community for 20 years, and I work as a developer, 12 hours a day, every day. I know exactly how it works, down to the core. And that's the problem. Your attitude.
"Developers" these days have this idea in their head that they can release anything they want, and as long as it's open source, then they can care as little or as much as they want. That's not true. The moment you decided to release this as a plugin, release it as a module for the public to use, then you also committed to actually maintaining it. The arguement "It's free, deal with it", simply doesn't cut it, and that's literally what I'm here telling you. Having the system break down because the developers don't care, is just enough for me to not use it. That's an issue, an issue for you, who released it.
There are thousands of opensource projects where the maintainer has the same attitude you have, and they all slowly die and wither into nothing. Why? Because people can't use something that's not actively being maintained. Opensource or not, it doesn't matter.
Let me just make it crystal clear! My problem is not that it broke down, my problem is not that I have to wait a couple of days. My problem is your initial response, where you whole heartedly claim, without any hesitation. I don't care enough about Music Assistant to make sure it works when there are other more exciting projects I can do instead, that, and that alone, is the problem, your attitude towards your own project.
You are actively choosing to work on a project that no-one is using, a project that is under no circumstances vital or used by a single person in the entire world. And as a consequence, every single install of Music Assistant, every single person who is using it, now has a completely, utterly broken system. Does that sound like some clever use of your time? No.
And seriously, you really need to get of your horse, if you can't deal with the critism I am giving, not towards the code, but towards you as a dev and how you chose to spend the time you spend on opensource projects, then you are just proving my initial point.

For all other people reading this: I will of course provide a fix but the solution is a little less straightforward as I hoped so it takes bit longer. If your life depends on Music Assistant, I'd advice to just wait a few days updating your HA instance.
I've given a more detailed explanation on discord btw for all who care.

@marcelveldtM thanks for everything you have done and continue to contribute. If I can help in a non coding way, please let me know. Take a much time as you need!

@marcelveldt Thank you and appreciate your work.  I will buy you more coffee!  Should we roll back to a previous version of HA first or will the patch fix the current broken state?  No rush but I could go ahead and roll back HA now if that would be the path forward.  Thanks again

@marcelveldt Thank you for all your hard work.  I would like you to know that YOUR labor helps put 2 of my children to sleep every night.  As an embedded SW engineer myself, I understand how challenging a project like this is and you have my respect.  I would love to learn how to be an assistant developer if it would be useful.  My experience is rusty, but very willing to learn if you have a lieutenant that could point me in the right direction.

@marcelveldt Thank you and appreciate your work. I will buy you more coffee! Should we roll back to a previous version of HA first or will the patch fix the current broken state? No rush but I could go ahead and roll back HA now if that would be the path forward. Thanks again

Just roll back to 2022.11 is enough. I will install the patch release as 2022.12 to make it clear it belongs to HA 2022.12.
The patch release will btw also fix a broken situation

@marcelveldt Thank you very much for your effort. Do you know if the integration has problems again?
Since this month's update it doesn't load

Please see the pinned issue https://github.com/music-assistant/hass-music-assistant/issues/1104

authors: AvdWerfhorst Diverjim84 OzGav aschwalb fjeddy kksligh marcelveldt otistarda

repo: music-assistant/hass-music-assistant


text:
Squeezelite player constantly goes to idle state

What version of Music Assistant has the issue?
2023.6.0b3
The problem
Squeezelite player goes to idle state after couple of seconds. It still continues to play and plays all the music from the queue, but the state changes to Idle after couple of seconds. If I do any operations on the player (like next song, increase / decrease volume, etc.) it moves back to state Playing and after couple of seconds moves back to state Idle again. This has an affect on my media player in Home Assistant as it doesn't show the correct song (the current song is shown as currently playing even though the player plays the net song in the queue). Same player normally works with LMS server and shows the correct status.
Squeezelite version is Squeezelite v1.9.9-1432, running on Raspberry Pi4 with DietPi v8.22.3.
How to reproduce
This happens constantly, don't know how to reproduce it.
Relevant log output
No errors in the log file that I could connect with this issue.
Additional information
No response
What version of Home Assistant Core are your running
2023.10.2
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Raspberry Pi

Please confirm you are looking at the MA entity in HA not a native HA one. I just tried this with Squeezelite running on Windows and it worked fine?

Yes, I am looking at MA entity. I also checked on the MA web interface directly as well and it shows the same behaviour. It starts and shows state 'Playing', after couple of seconds state switches to 'Idle'. If I do anything with the player, for example increase volume, it changes state to 'Playing' and then couple of seconds later, shows 'Idle' again.

Also, to make sure it's not caused by some networking issue, I installed shairport-sync on the same device where I run squeezelite and configured Airplay provider. I didn't have any issues with airplay provider, it never changes it's state to 'Idle' and works correctly.

Sounds like it might be a problem with that version of squeezelite then

I don't think that is the case since the same squeezelite client works normally with Logitech Media Server. It always shows correct state there.

All I could add to that is Marcel has in the past said LMS has a number of hacks within that to make things work that shouldnt according to the specs. What have you got this running on? If it is a Pi try running picoreplayer on it and see what happens.

I'll try with picoreplayer for testing, but I can't change my setup permanently. Unfortunately, I'll have to revert back to my old LMS setup which is too bad as I really like MA. Thanks for the help.

Yeah I have just tried picoreplayer and it also is working fine. So if yours isnt you could try different versions of whatever software you are using. Just confirm you have got the LMS shutdown on your network while trying to do this?

Yes, LMS is turned off.

Im running out of ideas then. If picoreplayer works then defintiely points to something with the software you are using

Possibly. What version of picoreplayer you tested? I'll try to use the same one.

I just updated it to see if that made any difference. It is now on 1.9.9-1430 and working fine

How did you go with picoreplayer?

Yes, you were right. pCP works. Unfortunately, I was never able to make pCP work for me. I use FanShim to cool of my device and their python library just doesn't want to install due to some dependencies. But since my RPi4 sits in the closed cabinet with other equipment, it gets very hot, over 75C so I can't run it without fan. Anyhow, thank a lot for your help, this is clearly something with the squeezelite client.

Thanks.

Hi @OzGav,
opening this again as after upgrade of my Music Assistant server to 2.0.0b74, the same issue appears with piCorePlayer. Any ideas? I run pCP 8.2.0 with Squeezelite v1.9.9-1430-pCP.
Thanks

Where are you seeing the idle state? I see playing in the MA player list as well as the HA entity. Are you seeing idle everywhere?

I see idle state in both the HA entity as well as MA player in MA web interface. This started to happen after the upgrade for MA server. It worked before with pCP (but didn't work with my custom installation).

See if you can think of something else that is different with your setup. Maybe this is a networking issue? No one else has so far reported this type of issue.

Hi @OzGav, seems I found the issue but have no clue why is this causing squeezelite player to go to idle state. I was using internal stream and output buffer size switch (-b 1048576:1048576) for my squeezelite command. When I remove it, everything works ok and player correctly shows the status and never goes to idle state. I can reproduce the issue since it happens every time I start squeezelite player with -b switch.

Cool. Thanks for the fault finding. Hopefully this will help someone else in the future

authors: OzGav dukicn


text:
schema: fix schematron phys desc ancestors

closes #1276

Thanks everyone!

authors: bwbohl musicEnfanthen

repo: music-encoding/music-encoding


text:
Open Local Page

Hello
So you add an option for open URL, good :D but can you add an other option for open a Locale Page, it's more optimized ^^
example : f-/page.php or f-/Img/video/donald.png
^^

It should be able to handle local pages now. You would simply specify them the way you suggested if the link should be relative to the root of the site. Otherwise you may need to lose the preceding slash as I did in the demo.
If you try and it doesn't work I would right-click on the iframe Chrome and inspect element to see what the src attribute is and make sure it is the right path.
Let me know if that still doesn't do it.

just need add / for racine :)
He work

ust need add /login.html for racine :)
He work

Just need add /login.html for racine :)
He work

authors: Karlingue musocrat

repo: musocrat/jquery-video-lightning


text:
UI Update for iPhone 6

Hello All,
Is someone planning to update the drawer UI for iPhone6 and iPhone6 Plus ?
The UI looks kind of weird on iPhone6 Plus
Thanks

Can you describe what looks weird to you? Maybe a screenshot would be best!

@legalimpurity is this for the KitchenSink example, or MMDrawerController in general? Yes, a screenshot would help.

It's strange. I have released several apps with iPhone 6/6+ support using MMDrawerController and didn't meet any issues.

Sorry, guyz. You can close the issue, I had not optimized app for
iphone6plus, and thought somehow that the library is suppose to be updated.
Sorry about that.
On 14-May-2015 10:47 pm, "Alex Sherbakov" notifications@github.com wrote:

It's strange. I have released several apps with iPhone 6/6+ support using
MMDrawerController and didn't meet any issues.
—
Reply to this email directly or view it on GitHub
https://github.com/mutualmobile/MMDrawerController/issues/370#issuecomment-102106591
.

authors: danmurrelljr eytanbiala legalimpurity mkll

repo: mutualmobile/MMDrawerController


text:
UMD wrap

Can you add an UMD wrap for the dist files.

The fix is coming for this, along with #136

authors: aurri popomore

repo: muut/riotjs


text:
Incorrect dependency version declared in

In data-media3 0.7.0 release, there's an incorrect dependency version declared in the pom.xml (line 31) for data-media3-custom - https://muxinc.jfrog.io/artifactory/default-maven-release-local/com/mux/stats/sdk/muxstats/data-media3/0.7.0/data-media3-0.7.0.pom

Thank you for your report. I think I've found the issue and we expect to have a fix out today.

This should be fixed in v0.7.1, which is now available on our maven. Thanks again for your report!

authors: daytime-em egor-n


text:
Implementation of the CalendarController.

Adding an HTTP status code
build.gradle.kts adjusted

I think that's fine for now. Some revisions might be necessary later.

authors: kryezleo mormeli

repo: mvoemel/studyflow


text:
Websocket installation without enabling secure connection

I have been trying to install the latest websocket plugin on a dev server using simple http and unsecured ws connection.
I get lots of errors that I have not seen before. Here is my config doc:
#start websocket settings
WEBSOCKET_PORT=8080
WEBSOCKET_PROXY_BACKEND_HOST=127.0.0.1
WEBSOCKET_PROXY_BACKEND_PORT=80
WEBSOCKET_REDIRECT_PORTS=80
#username used for server-side operations (e.g. agent signer)
WEBSOCKET_USER=websocket
WEBSOCKET_PASSWORD=****
#debug/test settingg
WEBSOCKET_DEBUG=false
WEBSOCKET_TEST_MODE=false
WEBSOCKET_MAX_MSG_SIZE=15977336
#security settings
#WEBSOCKET_FILTER=com.tc.websocket.filtrestart serverer,com.tc.websocket.filter.AllowedCharsFilter
WEBSOCKET_ALLOW_ANONYMOUS=false
WEBSOCKET_THREAD_COUNT=1
WEBSOCKET_EVENT_LOOP_THREADS=2
WEBSOCKET_MAX_CONNECTIONS=8000
WEBSOCKET_ALLOWED_ORIGINS=127.0.0.1, 128.165.134.208, cktest.lanl.gov
#network encryption settings
WEBSOCKET_ENCRYPT=false
#WEBSOCKET_KEYSTORE_PATH=C:/domino/websocket.jks
#WEBSOCKET_KEY_PASSWORD=*****
#WEBSOCKET_KEYSTORE_PASSWORD=*****
#WEBSOCKET_KEYSTORE_TYPE=JKS
WEBSOCKET_COMPRESSION_ENABLED=true
WEBSOCKET_SEND_BUFFER=16384
WEBSOCKET_RECEIVE_BUFFER=16384

See attached log and error files:
console.log.txt
error-log-0.xml.txt
startup.log.txt
trace-log-0.xml.txt

Update 1:
I removed everything from the config document and the server started up nicely, albeit with lot of warnings.
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Opening trusted session to gain access to the config document.
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Config session is CN=csaba/O=home
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Loading websocket configuration from notes.ini
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: ****WARNING: WEBSOCKET_USER and WEBSOCKET_PASSWORD are not setup.  xockets.io will run under a trusted session.****
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Send buffer is 8192 bytes
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Receive buffer is 8192 bytes
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: ****WARNING: All origins are allowed. Not recommended****
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Loading 2 event loop thread(s).
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Loading 1 other background thread(s).
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Purge interval is 900 seconds.
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Compression disabled
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: Maximum connections 200
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: ****WARNING: Websocket connections not encrypted.****
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: ****WARNING: Anonymous access is allowed.****
[20E8:0002-1CE8] 07/11/2016 04:12:24 PM  HTTP JVM: xockets.io service: No websocket filter registered.
[20E8:0002-1CE8] 07/11/2016 04:12:25 PM  HTTP JVM: xockets.io service: xockets.io ready and listening on 8889 running version 2.0.6
[20E8:0002-1CE8] 07/11/2016 04:12:25 PM  XSP Command Manager initialized
[20E8:0002-1CE8] 07/11/2016 04:12:27 PM  HTTP Server: Started

I will investigate further

Update 2:
It works now. I had to use the full user name in my config document such as
websocket websocket/home
with the short name it did not work.
I still get one error message

but it does not seem to effect the server.
Can you please clarify, if these security settings are correct and if I need to add the websocket user anywhere else:

Looks like you have it covered.  Just make sure the id you are using has
appropriate ACL settings to websocket.nsf and any other .nsf it will
interact with.
On Monday, July 11, 2016, Csaba Kiss notifications@github.com wrote:

Update 2:
It works now. I had to use the full user name in my config document such as
websocket websocket/home
with the short name it did not work.
I still get one error message
[image: image]
https://cloud.githubusercontent.com/assets/2583367/16750610/d9062a6c-4787-11e6-8fa7-3f0fc261c106.png
but it does not seem to effect the server.
Can you please clarify, if these security settings are correct and if I
need to add the websocket user anywhere else:
[image: image]
https://cloud.githubusercontent.com/assets/2583367/16750643/1037ba3c-4788-11e6-9973-6f648df65431.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mwambler/xockets.io/issues/18#issuecomment-231899945,
or mute the thread
https://github.com/notifications/unsubscribe/AEI46RjGUFXlAjNQmv4QrvgYB3MeN2_eks5qUteqgaJpZM4JJsIe
.

--
Mark Ambler

Just to make sure.
What ACL does the websocket user need for websocket.nsf (I use: Manager with delete) and for websocketupdate.nsf?

On Jul 11, 2016, at 6:10 PM, mwambler notifications@github.com wrote:
Looks like you have it covered. Just make sure the id you are using has
appropriate ACL settings to websocket.nsf and any other .nsf it will
interact with.
On Monday, July 11, 2016, Csaba Kiss notifications@github.com wrote:

Update 2:
It works now. I had to use the full user name in my config document such as
websocket websocket/home
with the short name it did not work.
I still get one error message
[image: image]
https://cloud.githubusercontent.com/assets/2583367/16750610/d9062a6c-4787-11e6-8fa7-3f0fc261c106.png
but it does not seem to effect the server.
Can you please clarify, if these security settings are correct and if I
need to add the websocket user anywhere else:
[image: image]
https://cloud.githubusercontent.com/assets/2583367/16750643/1037ba3c-4788-11e6-9973-6f648df65431.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mwambler/xockets.io/issues/18#issuecomment-231899945,
or mute the thread
https://github.com/notifications/unsubscribe/AEI46RjGUFXlAjNQmv4QrvgYB3MeN2_eks5qUteqgaJpZM4JJsIe
.

--
Mark Ambler
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mwambler/xockets.io/issues/18#issuecomment-231902356, or mute the thread https://github.com/notifications/unsubscribe/ACdrR-YrZp3tqsojywIN5diU1XWVTtBeks5qUtthgaJpZM4JJsIe.

Editor with deletion should do... Designer or higher on target nsf for
rhino / ssjs scripts
On Monday, July 11, 2016, Csaba Kiss notifications@github.com wrote:

Just to make sure.
What ACL does the websocket user need for websocket.nsf (I use: Manager
with delete) and for websocketupdate.nsf?

On Jul 11, 2016, at 6:10 PM, mwambler <notifications@github.com
<javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:
Looks like you have it covered. Just make sure the id you are using has
appropriate ACL settings to websocket.nsf and any other .nsf it will
interact with.
On Monday, July 11, 2016, Csaba Kiss <notifications@github.com
<javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Update 2:
It works now. I had to use the full user name in my config document
such as
websocket websocket/home
with the short name it did not work.
I still get one error message
[image: image]
<
https://cloud.githubusercontent.com/assets/2583367/16750610/d9062a6c-4787-11e6-8fa7-3f0fc261c106.png

but it does not seem to effect the server.
Can you please clarify, if these security settings are correct and if I
need to add the websocket user anywhere else:
[image: image]
<
https://cloud.githubusercontent.com/assets/2583367/16750643/1037ba3c-4788-11e6-9973-6f648df65431.png

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/mwambler/xockets.io/issues/18#issuecomment-231899945>,
or mute the thread
<
https://github.com/notifications/unsubscribe/AEI46RjGUFXlAjNQmv4QrvgYB3MeN2_eks5qUteqgaJpZM4JJsIe

.

--
Mark Ambler
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <
https://github.com/mwambler/xockets.io/issues/18#issuecomment-231902356>,
or mute the thread <
https://github.com/notifications/unsubscribe/ACdrR-YrZp3tqsojywIN5diU1XWVTtBeks5qUtthgaJpZM4JJsIe
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mwambler/xockets.io/issues/18#issuecomment-231902728,
or mute the thread
https://github.com/notifications/unsubscribe/AEI46WUGqZMV2cxqjvYsO7ZnF55u8x7mks5qUtwCgaJpZM4JJsIe
.

--
Mark Ambler

authors: csakis mwambler


text:
gulp sourcemaps doens't generate external map file

I love generator-m-ionic so much! Thank you guys for this amazing workflow tooling.
I have been trying to generate sourcemaps for Sentry like this:
if (options.minify) {
stream
.pipe(jsFilter)
.pipe($.ngAnnotate({
add: true,
sourcemap: true
}))
.pipe(stripDebug())
.pipe(sourcemaps.init())
.pipe($.uglify())
.pipe(sourcemaps.write('./map'))
.pipe(jsFilter.restore)
.pipe(cssFilter)
.pipe($.csso())
.pipe(cssFilter.restore);
}
However, I can't find anywhere the generated map file although the url gets appended to the app.js.
If I do it incline, then it works:
.pipe(sourcemaps.write())
Can you please give me some hint how can I achieve my goal? many thanks
-lola

@lolaswift having the same issue here. who did you manage  to get it done?

@ionut-tanasa I couldn't get it work. I am using incline map

authors: ionut-tanasa lolaswift

repo: mwaylabs/generator-m-ionic


text:
UI/UX Improvements

Change requests from Jon.

Here are the changes:
Few changes at the create swap trade screen 1

Swap list:
the tab name.
swap initial time instead of time interval for this tab only.

All Swap review info has Rate now

Verified, hence closing this ticket.

repo: mwcproject/mwc-qt-wallet


text:
Tools update

Updated tools layout
Closes #517

Falta el ícono para los que tienen links: web en los metadatos

@carlosmaya listo

authors: carlosmaya chuckcfs

repo: mxabierto/dgm


text:
Can't archive build with Xcode 7.3.1

The compiler is crashing when it tries to archive NSNotificationCenter+Promise.swift While emitting IR SIL function @_TZFE10PromiseKitCSo20NSNotificationCenter4oncefSSCS_19NotificationPromise for 'once' at /Users/dtartaglia/Projects/atticus-ios/Pods/PromiseKit/Categories/Foundation/NSNotificationCenter+Promise.swift:22:12

Thanks. Currently tracking at #415.

authors: dtartaglia nathanhosselton

repo: mxcl/PromiseKit


text:
Gradle project sync failed

同步时提示CONFIGURE SUCCESSFUL in 0s，但没有debug configulations生成。提示Gradle project sync failed。
环境：
Android Studio Bumblebee | 2021.1.1 Patch 2
Build #AI-211.7628.21.2111.8193401, built on February 17, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0

您好，我最近比较忙，我会尽快给你回复。

您好，您的邮件已收到，我会尽快拜读，谢谢！

是android studio版本的问题，换成旧版本就好了

您好，我最近比较忙，我会尽快给你回复。

authors: 994108345 liumw-git obweix

repo: mxdldev/android-mvp-mvvm-flytour


text:
🛑 Website Load Balancers is down

In 485d8ca, Website Load Balancers ($WEB_SERVER) was down:

HTTP code: 522
Response time: 15705 ms

Resolved: Website Load Balancers is back up in c678531.

repo: myavsuper/upptime


text:
🛑 Video CDN is down

In 7792193, Video CDN ($VOD_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Video CDN is back up in 35c5ded after 38 minutes.


text:
-fobjc-arc

target ios5,add -fobjc-arc,run is ok,
but target ios 4,runtime report error:
"dyld: lazy symbol binding failed: Symbol not found: _objc_retain"

Here is how to do it: https://github.com/myell0w/MTStatusBarOverlay/issues/34#issuecomment-2548375

@coneybeare thanks for pointing to the solution. You have to link your target to the ARC-runtime under iOS 4, which can bet done by adding -fobjc-arc to "other linker flags".

@myell0w how to link my target to arc -runtime?
add libarc.dylib?

you have to add "-fobjc-arc" to "Other Linker Flags" of your project
very goog!!

@myellow, may I suggest to edit README to point that, since apparently -fobjc-arc just set on MTStatusOverlay.m is not enough. (has to be in other linked flags, otherwise that builds, but crash on iOS4)

@vguerci It's all in there

@myell0w ah my bad, I missed the introduction, was expecting that point on step 3. thanks :)

np :)


text:
Fix Sale, Sale Rule attributes

ch550

ch550

:shipit: released on version 1.3.0

repo: myfreecomm/myfinance-client-ruby


text:
🛑 Loyola New Orleans Enterprise is down

In b7e2dd9, Loyola New Orleans Enterprise (https://loyno.ent.sirsi.net/client/en_US/loyola/search/results?te=) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Loyola New Orleans Enterprise is back up in 18369e4 after 16 minutes.

repo: myqua/LOUIS-upptime


text:
Multilingual cloning？

How to make adjustments to other languages such as Japanese, such as emotions, accents, rhythms, pauses, and introductions?

You will need a flexible base speaker model for Japanese and replace the current base speaker model in this repo

Is emotion related to the base speaker model? If the base speaker model does not include multiple emotions, is it possible to set any emotions?

Is emotion related to the base speaker model? If the base speaker model does not include multiple emotions, is it possible to set any emotions?

Where do I get models for other languages? Also, why not build multi-language conversion into the gradio gui. What's the point of a demo if the code has to be customized anyway

Any updates on this?

repo: myshell-ai/OpenVoice


text:
尝试用 edge-tts 和 openvoice 做的同声传译预告片，和真人配音版本打个有来有回！

感谢开源如此优秀的项目
【网飞三体最新预告！真人配音与AI同声传译同台竞技，谁厉害-哔哩哔哩】 https://b23.tv/EuIV7Zz
尝试用 edge-tts 和 openvoice 做的同声传译预告片，和真人配音版本打个有来有回！

咋不用xtts 感觉效果比这两个好

authors: AIFSH CHIHHSIANGLI


text:
Error: Callback was already called.

Error: Callback was already called.
at root/project/node_modules/async/dist/async.js:966:32
at root/project/node_modules/async/dist/async.js:3885:13
at Query. (root/project/index.js:267:17)
at Query. (root/project/node_modules/mysql/lib/Connection.js:502:10)
at Query._callback (root/project/node_modules/mysql/lib/Connection.js:468:16)
at Query.Sequence.end (root/project/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
at Query._handleFinalResultPacket (root/project/node_modules/mysql/lib/protocol/sequences/Query.js:139:8)
at Query.OkPacket (root/project/node_modules/mysql/lib/protocol/sequences/Query.js:72:10)
at Protocol._parsePacket (root/project/node_modules/mysql/lib/protocol/Protocol.js:278:23)
at Parser.write (root/project/node_modules/mysql/lib/protocol/Parser.js:76:12)
**Node version:8.15.0
Mysql package version:2.15.0**
Callback is calling twice after execution of query.

@Jeeva0104 kindly paste your code logic here, to help u debug.

Closing due to no response.

authors: Jeeva0104 dougwilson marcus-hiles

repo: mysqljs/mysql


text:
App will not start properly on Windows 10

Describe the bug
User is having trouble using the VPN. One day no locations showed up, so user updated to the latest version, and now it is just stuck at "starting daemon" and never starts up.

To Reproduce
Steps to reproduce the behavior:

Install app
Open it up

Expected behavior
App should open up as expected

OS: Windows 10
Desktop app version (if applicable): 4.2.1

Additional context
Logs:
[2021-06-13 13:00:51.832] [info] Supervisor version bundled: 0.47.1 running: 0.47.1
[2021-06-13 13:00:51.833] [info] Running supervisor version matches, skipping the upgrade
[2021-06-13 13:00:51.851] [info] No ghosts found on port 4050
[2021-06-13 13:00:51.856] [info] No ghosts found on port 44050
[2021-06-13 13:00:51.870] [info] myst supervisor tequilapi port set to: 44050
[2021-06-13 13:00:51.931] [info] Server: ok
[2021-06-13 13:01:13.438] [info] Connecting to the supervisor...
[2021-06-13 13:01:13.449] [info] Connected to:  \.\pipe\mystpipe
[2021-06-13 13:01:13.450] [info] Stopping myst
[2021-06-13 13:01:13.451] [info] Shutting down node gracefully on port 44050
[2021-06-14 00:08:09.077] [info] Checking for update
[2021-06-14 00:08:09.909] [info] Pushy device token: 3d91ad8416a6d26884873d
[2021-06-14 00:08:10.012] [info] Update for version 4.2.1 is not available (latest version: 4.2.1, downgrade is disallowed).
[2021-06-14 00:08:10.016] [info] Connecting to the supervisor...
[2021-06-14 00:08:10.019] [info] Connected to:  \.\pipe\mystpipe
[2021-06-14 00:08:10.063] [info] Server: ok: 0.47.1
[2021-06-14 00:08:10.064] [info] Supervisor version bundled: 0.47.1 running: 0.47.1
[2021-06-14 00:08:10.065] [info] Running supervisor version matches, skipping the upgrade
[2021-06-14 00:08:10.076] [info] No ghosts found on port 4050
[2021-06-14 00:08:10.080] [info] No ghosts found on port 44050
[2021-06-14 00:08:10.097] [info] myst supervisor tequilapi port set to: 44050
[2021-06-14 00:08:10.104] [info] Server: ok
[2021-06-14 00:08:24.754] [info] Connecting to the supervisor...
[2021-06-14 00:08:24.764] [info] Connected to:  \.\pipe\mystpipe
[2021-06-14 00:08:24.766] [info] Stopping myst
[2021-06-14 00:08:24.767] [info] Shutting down node gracefully on port 44050
[2021-06-15 23:38:57.030] [info] Checking for update
[2021-06-15 23:38:57.885] [info] Pushy device token: 3d91ad8416a6d26884873d
[2021-06-15 23:38:57.968] [info] Update for version 4.2.1 is not available (latest version: 4.2.1, downgrade is disallowed).
[2021-06-15 23:38:57.973] [info] Connecting to the supervisor...
[2021-06-15 23:38:57.976] [info] Connected to:  \.\pipe\mystpipe
[2021-06-15 23:38:57.997] [info] Server: ok: 0.47.1
[2021-06-10 21:18:03.756] [info] Supervisor version bundled: 0.47.1 running: 0.47.1
[2021-06-10 21:18:03.757] [info] Running supervisor version matches, skipping the upgrade
[2021-06-10 21:18:03.772] [info] No ghosts found on port 4050
[2021-06-10 21:18:03.776] [info] No ghosts found on port 44050
[2021-06-10 21:18:03.792] [info] myst supervisor tequilapi port set to: 44050
[2021-06-10 21:18:03.935] [info] Server: ok

Duplicate of #144

authors: isaackielma tadaskay

repo: mysteriumnetwork/mysterium-vpn-desktop


text:
Windows: Updating template.yaml does not update .build/root/template.yaml

On windows if you update the template.yaml file, it does not update the .build/root/template.yaml

This bug has been fixed by pull request
214c682

repo: mytaptrack/samtsc


text:
master 使用 --host 参数，boomer能支持么？

boomer 替代slave是否也能够支持 master中的 --host参数

boomer 没有自带 HTTP 压测，参考例子自己实现即可，https://github.com/myzhan/boomer/blob/master/examples/http/client.go

@myzhan 你好，我对Go语言没接触，看了下这个例子，你的意思是不是可以通过启动boomer时传url方式实现

boomer 只是一个框架，没实现具体的，你压测时的协议。但是我在 examples 目录下放了一些具体的使用例子，可供参考。
使用 boomer 需要有 Go 基础，因为 Task 部分需要用户自行实现，虽然有例子可以参考。

嗯，确实使用Boomer后，测试用例的task都必须要用go来实现了，我自己做工具集成，使用locust发现rps瓶颈太明显了，相同的接口使用wrk测试有 5w rps , locust只有不到1000rps。昨天晚上发现你写的这个boomer，研究测试了下，确实突破了rps这个瓶颈。 但是往下普及，确实得案例编写人员学习Go语言。

如果是通用的 http 协议，用 wrk 其实也够了。一些特殊协议的场景，例如请求要签名，要加密，这些每个项目都不同的，用 boomer 就比较合适。

authors: myzhan radiateboy

repo: myzhan/boomer


text:
Fill in the middle syntax request

Hello,
I have been trying to get the inline coding suggestions to work. However, I keep getting an error (Status code: 422, Unprocessable entity). Would you be able to share the format of the request (with JSON payload)?
Thanks

Here is the code that sends the fill in the middle request -> https://github.com/mzbac/wizardCoder-vsc/blob/main/src/WizardCoderInlineCompletionItemProvider.ts#L56

Thanks for sharing the line - I had checked that. But for some reason it still doesn't seem to work. But one thing to point is that I am not running the API locally, instead I am pointing at HF API - https://huggingface.co/WizardLM/WizardCoder-Python-34B-V1.0 model.

repo: mzbac/wizardCoder-vsc


text:
Is this project still being maintained?

No update in 2 years, a lot of outstanding issues... what is the status?

I've asked @mzgoddard to make me a repo admin so we can knock out a few of the long-outstanding pieces, @sarink , and he's given me those perms as of today. We could probably use some help though so if you're able to help test or maintain this, please let me know!

I see a flurry of PR merges on May 19, and then none since then, and no releases.  I guess the question remains, is this project under active maintenance?

authors: IanVS kadamwhite sarink

repo: mzgoddard/hard-source-webpack-plugin

license: isc


text:
Where is MatcherEventType.CANCEL?

Hi,
I'm trying to update gateway-exchange-rest code to the latest version, but it seems a lot of things have changed.
I wish there were some sort of documentation explaining how the system works?
Is there some sort of draft that I can work on? In #62 you mentioned you are working on one.
Thanks.

Hello,
gateway-exchange-rest is very outdated.
There is no need for CANCEL event, only REDUCE that contains unmatched size of cancelled order.

Hello,
gateway-exchange-rest is very outdated.
There is no need for CANCEL event, only REDUCE that contains unmatched size of cancelled order.

So you suggest I abandon gateway-exchange-rest project and write a new one?
Thanks.
So If an order is partially filled, reduce event contains number of unfilled lots? and if reduce lots are equal to original order lots, order is not filled at all?
Also there was a part that checked if activeOrderId === cmd.orderId to determine if it's taker or maker order.
How is that determined here?

So you suggest I abandon gateway-exchange-rest project and write a new one?
Thanks.
So If an order is partially filled, reduce event contains number of unfilled lots? and if reduce lots are equal to original order lots, order is not filled at all?
Also there was a part that checked if activeOrderId === cmd.orderId to determine if it's taker or maker order.
How is that determined here?

So you suggest I abandon gateway-exchange-rest project and write a new one?
You can check basic principles from there.

So If an order is partially filled, reduce event contains number of unfilled lots? and if reduce lots are equal to original order lots, order is not filled at all?
Exactly. Reduce event contains size that will subtracted  from the order. For example:

Orignal GTC order size was 10.
Then it was matched with another order so that now its remaining size is 4 - you will get Trade event with size=6
Then if trader decides cancel that order, you will get reduce event with size=4. If it was never traded, you would receive 10.

Also there was a part that checked if activeOrderId === cmd.orderId to determine if it's taker or maker order.
How is that determined here?
Because taker is always the one who sent the command that triggeed a trade (no matter if it is was placing new order, or moving existing one) - you can just get orderId from the command. This was just an optimisation for reduce memory footprint for latency-critical scenarios (because all events had same Taker OrderId and same Taker UID).

authors: mzheravin pooyakn

repo: mzheravin/exchange-core


text:
🛑 mziyut.com is down

In 0355746, mziyut.com (https://mziyut.com) was down:

HTTP code: 500
Response time: 90 ms

Resolved: mziyut.com is back up in 05a7aec after 14 minutes.

repo: mziyut/upptime


text:
Resolver update

I rewrote the Resolver interface. Again. :D
This implementation should be clearer and easier to implement by future resolvers.
Furthermore, the ADAP Resolver now supports resolving mobility dimension.
@robinschmid For this to work properly, i had to adapt the implementation of the FeatureDataAccess to allow copying of all RT and intensity values into external arrays, so please have a look. I know it's not what we wanted to use the accesses for, but making another implementation that allows it is questionable. And for the resolvers it's nice to have all values available.
Still need to test fi the ADAP resolver produces the same results as in MZmine 2.

                   ADAP Chrom Building        ADAP Resolving

#MZMine 3                9457                                 11111
#MZmine 2                9453                                  11103
Since the results of chrom building differ a bit, it's hard to say if it had an influence on the resolving, but it looks like its pretty much the same.
Screenshot of a randomly selected peak:

Not sure if I like the use of FeatureDataAccess... its meant to be a memory efficient way to iterate over all data points in all features / scans.
Giving access to the underlying mz and intensity arrays is inconsistent and involves additional copies.

authors: SteffenHeu robinschmid


text:
tags help text is incorrect

in iroh v0.6.0:
$ iroh --help
...
Commands:
  console  Start the Iroh console
  start    Start a Iroh node
  get      Fetch data from a provider
  doctor   Diagnostic commands for the derp relay protocol
  doc      Manage documents
  author   Manage document authors
  blob     Manage blobs
  node     Manage a running Iroh node
  tag      Manage a running Iroh node                                  <---- incorrect
  help     Print this message or the help of the given subcommand(s)

Manage tags?
We can't possibly have a 1 line explanation of what tags are here, but maybe we can have it in the extended help text?


text:
Add a CORS middleware

Fixes https://github.com/n0-computer/iroh/issues/512
This uses the headers from the gateway config. access-control-allow-headers and access-control-expose-headers are usually the same so we allow omitting the second, less known one. Without it, headers specified in access-control-allow-headers are not visible in fetch() responses even if they are sent back.

cc @Arqu


text:
🛑 rasp.n1l.dev is down

In e034054, rasp.n1l.dev (https://rasp.n1l.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rasp.n1l.dev is back up in f1247d1 after 25 minutes.


text:
🛑 rasp.n1l.dev is down

In add728e, rasp.n1l.dev (https://rasp.n1l.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rasp.n1l.dev is back up in bde966c after 32 minutes.


text:
Disabling > Enabling modules generate exception (Bug Report)

Even though the module gets enabled technically an exception is generated when enabling modules.
Version
7.0.0-dev+230818.7f346a
To Reproduce

Go to admin > addons / modules page
Select a module and click Edit Module
Uncheck Enabled checkbox and click Save (Disable the module)
Now go back to the same page by clicking Edit Module again
Check enabled checkbox and click Save (Enable the module)
Click Save to see the error (or check your logs)

Just go back to admin dashboard and then visit addons / modules, it will be enabled and working
Expected behavior
It should not generate the exception about migrations (which are already applied during module install and update phases)
Screenshots

I can't replicate this, is it happening for you with the acars module?

Yes, happens with vmsAcars module too.

[2023-08-23 18:54:37] production.ERROR: The command "module:migrate VMSAcars" does not exist. {"userId":1,"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): The command \"module:migrate VMSAcars\" does not exist. at /home/turksim.org/flightops/vendor/laravel/framework/src/Illuminate/Console/Application.php:159)
[stacktrace]

Weird, this isn't happening for me

Happens to me and lots of users always, this is why I added a note for this
in my readme files and advising people via discord when they face this
during disable/enables.
Sent from mobile device / Mobil cihaz ile gönderildi
29 Ağu 2023 Sal 20:53 tarihinde Nabeel S. @.***> şunu
yazdı:

Weird, this isn't happening for me
—
Reply to this email directly, view it on GitHub
https://github.com/nabeelio/phpvms/issues/1591#issuecomment-1697890130,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXKVMOCIHOQLXIAIXYCK43XXYUA7ANCNFSM6AAAAAA3WVIBXY
.
You are receiving this because you authored the thread.Message ID:
@.***>

@nabeelio re-producable at demo.phpvms.net too...

Installed my own module to your demo site (by add modules > select release zip file > proceed), it directly generated the error...
Then disabled it from addons, cleaned application cache etc and then re-enabled from same page (by visiting it again)

So why it is not happening on your local development environment but effecting live sites (including the very basic demo) I have no idea, but this error is still live.

This could be a cache thing

authors: FatihKoz nabeelio

repo: nabeelio/phpvms


text:
🛑 Ecoshower is down

In 2f53144, Ecoshower (https://ecoshower.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ecoshower is back up in df4c7b2 after 12 minutes.

repo: nacionvirtualchile/WebMonitor


text:
purge the cache so the new splats appear when we update the databse

Reference: https://github.com/orgs/vercel/discussions/1025

Fixed it in this commit: https://github.com/naga-k/3D_Portfolio/commit/31be765decc2d0a81d81778e84418d15b9621ae9


text:
LanguageTranslations are obviously wrong

Hi.
LanguageTranslations are obsiously wong, e.g. SlovakLanguageTranslation for sk should be "slovenčina" and not "SlovenskejL. What is your source? Can you fix it?
It looks like most of language translations are wrong.
Thanks.

Thank you very much for the hint. We are very grateful for any support from any pull requests.

@marmiskeje The language translations are from a PR https://github.com/nager/Nager.Country/pull/3/files

authors: marmiskeje samtrion tinohager


text:
How to add cover background?

Hi,
I am a beginner of pelican, and like pelican-alchemy very much. I've successfully applied pelican-alchemy for my website. However, I would like to make my current SITEIMAGE as the cover background, and make the SITENAME and links white color. Does anyone have any idea how to do that? Any suggestions are welcome. Thank you.
p.s.: I tried to SITEIMAGE = '/images/profile.jpg width=2000 height=200', but didn't work.

Hi! pelican-alchemy doesn't support that out of the box ☹, but you could try this:

Comment out SITEIMAGE in pelicanconf.py:
# SITEIMAGE = '/images/profile.jpg width=2000 height=200'

Add to themes/pelican-alchemy/alchemy/static/css/style.css:
/* ------------------------------------------------------------------------- */

.header {
  background-image: url('/images/profile.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.header a {
  color: #fff;
}

.header .text-muted {
  color: #bbb !important;
}

Hope this is what you're trying to do:

@ChihHsuLin, you can add extra stylesheets via THEME_CSS_OVERRIDES configuration variable and/or specify whole custom template for base.html if you want to change the layout significantly: see Pelican documentation

authors: ChihHsuLin rwanyoike sio

repo: nairobilug/pelican-alchemy


text:
Use latest version instead of the specific one

Github has a useful URL shortcut to download the latest version of a file:
https://github.com/<user>/<repo>/releases/latest/download/<file>

This could be used to link to the latest release, instead of always linking to the old one.  The only (big) limitation is that it will not work if the filename itself contains the version number, but it will work for projects like sqlite-compressions. For projects that publish releases without the version, you may want to add a auto_latest: true or some other magical JSON key to use this pattern.

The sqlpkg CLI tool supports the latest version, but the website does not — so I don't use latest in the package specs. Unfortunately, I don't see an easy way to support latest on the website, so I'll pass for now.

authors: nalgeon nyurik

repo: nalgeon/sqlpkg


text:
Fixing row height on browser scaling

609
Items get misaligned from their row on browser scaling
Overview of PR
Items get misaligned from their rows as the timeline gets scrolled down when the browser scale is different than 100%
This is happening because on some zoom levels, the row is 30px height (default value), and for other % it gets to 29.98px.
This undesired behaviour is fixable by replacing content-box by border-box for box-sizing property on .rct-sidebar-row and .rct-horizontal-lines.
Now, the subtraction of 1px from the height in GroupRow and Sidebar components is no longer needed as the border-bottom is included in the element dimensions.
Demo
Before 👎
Scrolling down

Scrolled down and scaling

Row height on browser scaled drops to 29.98px

After 👍
Scrolling down

Scrolled down and scaling

Row height on browser scaled remains 30px

I think is related to #414 as well. When I tried to solve this one. I ended up with problems where items had the wrong top positions. So many things changed since that PR though.
What I would ask you is to test with set itemHeightRatio to 1 and with a lot of rows and make sure there is no overlapping between rows in the 20th+ rows please.

Hi @Ilaiwi thanks for reviewing, I've scrolled over around 1500 rows and tested with different zoom levels (100, 90, 80, 75, 67, 50, 33 and 25%) and looks fine with itemHeightRatio = 1. Also seems to fix the related issue #414

@gaston-niglia I will work on this tomorrow and hopefully release it

@gaston-niglia I know this took a while and sorry for that. I am gonna take another look at it next week

No worries @Ilaiwi, let me know if you need help or have any questions. Thanks :)

@Ilaiwi any updates on this please? Thank you

authors: Ilaiwi gaston-niglia

repo: namespace-ee/react-calendar-timeline


text:
panics cause shell to no longer echo input nor show commands

After panic noted in #1100 the shell no longer echos keyboard input nor shows the command that would be executed if [Enter] is pressed.
This occurred for me on Ubuntu 22.04 x86_64 in both Code and Terminal apps when running in Unity window manager.
Expectation is that the shell should not be affected after a program crash.
Screencast from 02-07-2023 12:42:37 PM.webm

Note to us: The challenge here is that terminal restoration is done by bubbletea. Which does perform cleanup on panics. But the panic is not observed by its goroutine.

authors: hugosantos kriswuollett

repo: namespacelabs/foundation


text:
MSBuild Scripts for Submodules

Make submodules developing as

SatelliteSite.SomeModule
SatelliteSite.Host

And publish the SomeModule to the nuget source, we can build the final application with downloading the module only.

Now the modules included the core nupkg will produce

[assembly: RazorDebugPath("C:\\Users\\tlylz\\Source\\Repos\\SatelliteSite\\src\\SatelliteSite")]
[assembly: GitVersion("91fbfa965e7b902b39c748834dfa6c12bc0af109", "master")]

This also forbids the project from packing in debug mode.
When the nupkg is produced, the RazorDebugPathAttribute does not exists.

repo: namofun/uikit


text:
Empty body crashes application

If you send a POST request with an empty request body, it causes the application to crash with an error
req.body = buffer.toString('utf8').replace(SPACE_TRIM_REGEX, ''); TypeError: Cannot read property 'toString' of undefined
My way to fix this
req.body = buffer ? buffer.toString('utf8').replace(SPACE_TRIM_REGEX, '') : null;

PR is welcome.
Thanks for report

No PR.
As library provided as-is, currently no-support

repo: nanoexpress/pro


text:
custom function onError

is it possible to add?
I want to delete data or redirect the user if entered incorrectly several times
Now it is not possible to implement

Thanks for the great suggestion.
Add an implementation that calls the error function according to the specified number of times.

@twocolors Supported in v1.2.7.

@naoki0719 thank you for supporting max retry , but the onError method is needed.
This will help send “notifications”, add vibration on error, and many request items

When the maximum number of retries is reached, didMaxRetries will be called.
You should be able to use this function to solve the problem.

I want to show a lot of retreats now, and notify “you have 3 ... 1 attempts”

So you want to run an event every time it fails?

yes

Now that we understand the functionality we are looking for, we will close this issue and add a new one.

@twocolors #14  Supported in v1.2.8.


text:
Add text in title bar

🚀 Feature
Add function to set title-bar text.
Motivation
Sometimes I forget what I'm doing, and need to be reminded.
Pitch
viewer.add_title('click all the cells')
Additional context

This feature has been added with #237

authors: gregjohnso sofroniewn

repo: napari/napari


text:
Adding points in 3D is wacky

🐛 Bug
In #3508, the mode guard in 3D was removed in order to be able to select points, but the ability to add points was inadvertently added, and it's completely broken.
To Reproduce
from skimage import data
from scipy import ndimage as ndi
import napari

blobs = data.binary_blobs(
        length=128, volume_fraction=0.1, n_dim=3
        )[::2].astype(float)
labeled = ndi.label(blobs)[0]

viewer = napari.Viewer(ndisplay=3)
viewer.add_image(blobs, name='blobs', scale=(2, 1, 1))
viewer.add_labels(labeled, name='blob ID', scale=(2, 1, 1))
pts = viewer.add_points()

viewer.camera.angles = (0, -65, 85)
pts.mode = 'add'

napari.run()

Now click on a point and you should see behaviour like the below:
https://user-images.githubusercontent.com/492549/154223487-99da4922-107b-4682-8a75-f8b64870f1fe.mov
Expected behavior
Adding a point in 3D without context is undefined, so one of two things should happen imho:

you would need two clicks with parallax to define a point, or
use another layer such as an image or labels layer to define a point in 3D, as done in zarpaint (though that appears to be a bit broken at the moment, still investigating)

Environment
napari: 0.4.13rc1.dev59+g79ef36175
Platform: macOS-11.4-x86_64-i386-64bit
System: MacOS 11.4
Python: 3.9.7 | packaged by conda-forge | (default, Sep  2 2021, 17:58:46)  [Clang 11.1.0 ]
Qt: 5.15.2
PyQt5: 5.15.6
NumPy: 1.20.3
SciPy: 1.7.1
Dask: 2021.09.0
VisPy: 0.9.6

OpenGL:
  - GL version:  2.1 ATI-4.5.14
  - MAX_TEXTURE_SIZE: 16384

Screens:
  - screen 1: resolution 2304x1296, scale 2.0
  - screen 2: resolution 1792x1120, scale 2.0

Plugins:
  - animation: 0.0.2
  - console: 0.0.4
  - explode-view: 0.0.1
  - napari-midi: 0.1.dev5+g16c91f6.d20210914
  - napari-skeleton-curator: 0.1.dev17+gd073290.d20211212
  - nd2-reader: 0.0.6
  - platelet-unet-watershed: 0.0.3
  - scikit-image: 0.4.13rc1.dev59+g79ef36175
  - svg: 0.1.5
  - tracks: 0.0.2

Thanks for flagging this, @jni . This used to work (points got added at the intersection of the view ray and the camera plane), but there has clearly been a regression.
Should we return to a behavior where the point is added on the camera plane (defined by the camera center and the view direction vector) or should we disable adding in 3D altogether? I don't have a strong preference, but maybe it's less confusing if adding points in 3D is disabled.

I don't love the plane idea because it's totally invisible. As a user there should be some kind of visual intuition about where the click is going to go. What do you think about the parallax idea? (Click to make a ray, rotate, click to turn the ray to a point.)?

Hey @jni . Sorry for the late reply. Things have been busy here.
I was looking into the issue and I think the problem is when the points layer has an ndim of 2. We currently don't have a well defined behavior for changing the dimensionality of layers. For example, if you try to add a 3D point to a points layer with ndim == 2, you will get an error. Adding 3D points to a 2D layer through the GUI doesn't raise an error because it is taking the "displayed dims" of the coordinate (i.e., 0 and 1 axis).  I am not sure what the correct behavior should be, but we can disable this for now.
If you try examples/nD_points.py the point addition "works" in 3D for when the points ndim > 2. However, it is adding the points to the invisible camera plane, which I can see how that is not ideal. We could add a flag to disable the "add" button on the layer controls when rendering in 3D.

I don't love the plane idea because it's totally invisible. As a user there should be some kind of visual intuition about where the click is going to go. What do you think about the parallax idea? (Click to make a ray, rotate, click to turn the ray to a point.)?

I like this idea. I would be up to try to make this in 0.1.16

I've made a PR here with a couple of options for disabling interactive point adding in 3D: #4184

Just add this link here for future me (for adding points along a ray): https://en.wikipedia.org/wiki/Skew_lines#Nearest_Points

I merged #4184, which fixes the main issue here. Thus, I will close this issue and open a new one for improving the 3D points adding UI.

authors: jni kevinyamauchi


text:
Try to close dask threads after usage.

Try to close dask threads after usage.
This tries to make sure that dask thread worker is closed after each test.
This is not in it's own an issue, but from some of the mac failures I
have the impression there there are thread problems (one of the recent
failure was in IPython's history saving thread), so one of the things
I'd like to enable in pytest fixture is that the number of thread
before/after tests has not changed, unless the test if flagged
specifically.
This ensure that the above is true – at least from the dask scheduler.
We make sure the threaded scheduler is not setup.
Later, once other threads have been cleaned up as well,
we can make sure that the number of thread before/after is unchanged.
In addition this also make IPython history saving in-memory to save a
thread on having to write to disk, and put a reminder that widgets leaks
detection has strong false positive if some other errors happen, and I
caught myself forgetting this several times.

Converting to draft, while this work as is, there is an ordering issue if I try to make sure that the number of threads stays 1 in make napari viewer.

@tlambert03 any idea why this would suddenly cause failure in magicgui related code ?

no, very strange.  does it repeat locally? or only on CI?

Only CI, there is this message that xvfb can't open display, which may be related.

the only thing i can think of is perhaps these few lines in shutdown, that join all threads.
It's conceivable that the ThreadPoolExecutor is hanging on shutdown, and it might just be a coincidence that the next qtbot.waitSignal call happens to be in a magicgui test?  Really not sure though.  maybe try shutdown(wait=False)?

this is still relevant even with mac tests passing right?

this is still relevant even with mac tests passing right?

I don't know. At least if dask properly closes threads, then I can try to hunt other leaking threads.
My hope is to have a fixture that assert the number of threads don't change between before/after the tests.
Plus the mac tests still take 15+ seconds each for screenshot, and I'm unsure why, they should be much faster.

Let's merge then.


text:
Restore "show all key bindings" shortcut

Description

This PR restore "show all key bindings" shortcut and adds an option to edit it from preferences dialog
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

fix  #4625
How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change
[ ] example: I check if my changes works with both PySide and PyQt backends
as there are small differences between the two Qt bindings.

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

on Ubuntu nothing happens when I press Ctrl+Alt+/

Strange. I develop this on ubuntu. Did you test it on napari plugi or it is possible that some plugin overwritten it?

Did you test it on napari plugi or it is possible that some plugin overwritten it?

I tested in a brand new conda env so I don't think it's a plugin overwrite - especially since even after I changed the shortcut it still didn't work. I tried other shortcuts and they did work. It could just be something with my machine though so it would be good if someone else could try on Ubuntu.

This is my napari --info:
napari: 0.4.16rc2.dev79+gddafd39c
Platform: Linux-5.4.0-113-generic-x86_64-with-glibc2.31
System: Ubuntu 20.04.4 LTS
Python: 3.9.12 (main, Jun  1 2022, 11:38:51)  [GCC 7.5.0]
Qt: 5.15.2
PyQt5: 5.15.6
NumPy: 1.22.4
SciPy: 1.8.1
Dask: 2022.05.2
VisPy: 0.10.0

OpenGL:
  - GL version:  4.6 (Compatibility Profile) Mesa 21.2.6
  - MAX_TEXTURE_SIZE: 16384

Screens:
  - screen 1: resolution 1920x1080, scale 1.0
  - screen 2: resolution 1920x515, scale 1.0

Plugins:
  - console: 0.0.4
  - napari-svg: 0.1.6
  - scikit-image: 0.4.16rc2.dev79+gddafd39c

in the console:
from napari.utils.action_manager import action_manager
action_manager.trigger("napari:show_shortcuts")

did this show shortcuts in preferences?
And what desktop environment do you have on ubuntu? Gnome?

If I run the above in console or ipython I get:
>>> from napari.utils.action_manager import action_manager
>>> action_manager.trigger("napari:show_shortcuts")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/draga/napari/napari/utils/action_manager.py", line 376, in trigger
    return self._actions[name].injected()
KeyError: 'napari:show_shortcuts'

I am indeed using gnome.

Hm.
I think that we found the core of the problem. If the action manager does not know the action then we have a problem
what happens if you call
$ pytest napari/_qt/menus/_tests/test_file_menu.py

did it collect 2 rest and both pass?

@Czaki yeah oddly enough, when I run pytest on that file in that environment, the tests pass fine...
(napari-edit) draga@DragaZenBook:~/napari$ python -m pytest napari/_qt/menus/_tests/test_file_menu.py
============================================================ test session starts =============================================================
platform linux -- Python 3.9.12, pytest-7.1.2, pluggy-1.0.0
PyQt5 5.15.6 -- Qt runtime 5.15.2 -- Qt compiled 5.15.2
rootdir: /home/draga/napari, configfile: pyproject.toml
plugins: napari-0.4.16rc2.dev79+gddafd39c, qt-4.0.2, hypothesis-6.47.0, napari-plugin-engine-0.2.0
collected 2 items

napari/_qt/menus/_tests/test_file_menu.py ..                                                                                [100%]

============================================================ slowest 10 durations ============================================================
0.89s call     napari/_qt/menus/_tests/test_file_menu.py::test_sample_data_triggers_reader_dialog
0.45s call     napari/_qt/menus/_tests/test_file_menu.py::test_show_shortcuts_actions
0.21s setup    napari/_qt/menus/_tests/test_file_menu.py::test_sample_data_triggers_reader_dialog
0.14s teardown napari/_qt/menus/_tests/test_file_menu.py::test_sample_data_triggers_reader_dialog
0.04s setup    napari/_qt/menus/_tests/test_file_menu.py::test_show_shortcuts_actions
0.03s teardown napari/_qt/menus/_tests/test_file_menu.py::test_show_shortcuts_actions
============================================================= 2 passed in 2.23s ==============================================================

Do you know why it was removed ? Could it be that it conflict with something else on some keyboard layouts ?

authors: Carreau Czaki DragaDoncila


text:
Allow layers control section to resize to contents

Description

Set min-height and min-width to the empty widget used by the layers controls container widget instead of the widget itself to allow it to resize dependending on the controls being shown
Preview

Type of change

[x] Bug-fix (non-breaking change which fixes an issue)

References

closes #2337
closes #5472
How has this been tested?

[x] all tests pass with my change
[x] I check if my changes works with both PySide and PyQt backends
as there are small differences between the two Qt bindings.

Final checklist:

[x] My PR is the minimum possible work for the desired functionality

Not sure what's up with Windows CI, but I've re-run it twice and it's the same, so I think it's not random?
https://github.com/napari/napari/actions/runs/3905492648/jobs/6674079073#step:8:221
napari\_qt\_tests\test_qt_viewer.py .........................ss......... [ 80%]
  ss...Windows fatal exception: access violation

I tried bumping windows CI to python 3.9 (maybe we should do that anyways, since that's the version we suggest in installation?) but it didn't help.
https://github.com/psobolewskiPhD/napari/actions/runs/3919686014/jobs/6700847765
Can we assume from the 3 dots after skip:

That the last 3 tests completed, so it's the first of the next test file?
I'ma try that that in my branch.

could you try to run a verbose test (to find failing job).
It will be also nice to try to run only napari\_qt\tests\test_qt_viewer.py to check if fils are related only to these tests.

I got pyqt to pass with +1 skip (def test_surface_mixed_dim(make_napari_viewer):
https://github.com/psobolewskiPhD/napari/actions/runs/3920033829/jobs/6701406395
But now pyside is still cranky 😡

Ok, I ended up having to skip 3 tests plus the octree.
https://github.com/psobolewskiPhD/napari/actions/runs/3920450156/jobs/6702331229
The octree one fails and gives a similar error from the subprocess, so I think it's related, but 🤷♂

Should I try checking if reverting the min-height change in the qss file helps with the failing checks?

Should I try checking if reverting the min-height change in the qss file helps with the failing checks?

I guess? hard to imagine that being the culprit, but your commit before mu suggestion seems to have flown by. However, my fork branch is using the 295 value and still shows the same CI issues.

We also have some flaky tests that w're slowly gettin grid of, so some failures are unfortunately fake :/

Note: Re-runs of the bundle workflow jobs for failures to upload artifacts probably due to GitHub Actions degradation status. See https://github.com/actions/upload-artifact/issues/383 and https://www.githubstatus.com/incidents/n18j5g7wpg0s

Note: seems like the skipped tests are failing due to an access violation error on Windows when Vispy code is creating/managing the OpenGL related context/objects?

Yeah those failures are familiar... Very annoying, sorry about that :/

Before merging, how do others feel about these skipped tests? Should we be more responsible and try to solve the problem instead of shoving it under the rug, or are we happy like this? @Czaki @andy-sweet tagging you since the three of us particularly have fought with these flaky tests before...

I do not understand how these changes may reuires so many changes in tests.

I do not understand how these changes may reuires so many changes in tests.

My assumption is that the skipped tests have underlying issues that are independent of the implementation changes in this PR that mean they fail sometimes. The implementation changes here affect the layout, which in turn affects drawing the widgets, which is something that could be relatively slow on CI runners. My other more speculative guess is that the Windows runners might be a bit slower in this regard and that's the reason we often skip on Windows CI only rather than there being an actual Windows issue.
We already have quite a lot of skips, so I have no issue with the ones added here, especially given the fix is simple and desirable.

Ok, I guess I'll merge then. Let's hope that as these issues keep showing up, we can figure out exactly how to prevent them :)

authors: Czaki andy-sweet brisvag dalthviz psobolewskiPhD


text:
Fix #2538, table transaction initial implementation

Checklist (Please check before submitting)

[x] I reviewed the Contributing Guide.
[x] I signed and emailed the appropriate Contributor License Agreement to GSFC-SoftwareRelease@mail.nasa.gov and copied cfs-program@lists.nasa.gov.

Describe the contribution
Initial implementation of transaction concept for table API calls. The basic transaction object wraps all of the relevant pointers and state information for the request being processed.
Fixes #2538
Testing performed
Build and run all tests
Expected behavior changes
Internal code structure more manageable.
Behavior of external/public API calls should remain the same.
System(s) tested on
Debian
Additional context
Does not really "fix" the problem of race conditions alone, needs more work to actually move/reorg the problem areas.  But this doesn't break anything that wasn't already broken (i.e. race conditions in here were there before).  They are just more evident (and fixable) now.
Unit and functional tests (mostly) did not need to change for this, aside from a few minor details.
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Documentation updates should be resolved now, pending successful workflow run.

repo: nasa/cFE


text:
issue 396: optimizing instance types. using c6i.2xlarge and c6a.2xlarge

Refs #396

Looks good. Merging now.

authors: chrisjrd philipjyoon

repo: nasa/opera-sds-pcm


text:
Techborn patch 1

Changes to allow for elements in compact mode to be expressed as a primitive value without requiring the textKey attribute when no other attributes are present. Undefined and null elements are skipped unless the fullEmptyTag option is passed. This change only affects the js->xml conversion
So, this (in yaml):
example:
  __text: 'value'

is allowed to be expressed like this:
example: 'value'

@techborn Your work is merged and published in v1.5.1.
Thanks for your contribution.

authors: nashwaan techborn

repo: nashwaan/xml-js


text:
(Windows) Permission errors when removing plugins

$ amp plugin remove amp-plugin

Initializing the website...
Removing plugin 'amp-plugin'
[WinError 5] Access is denied: 'C:\\path\\to\\website\\_plugins\\amp-plugin\\.git\\objects\\[continued]'
Couldn't remove plugin. You may need to delete it manually.

It seems that one of the drawbacks of using Github as a plugin manager is that we get stuck with Git's commit history. Worse, permissions make these plugins difficult to remove once downloaded. Assuming Ampersand sticks with the non-global, website-specific plugin modal, a workaround should be found for this.
The error seems to only have an effect on Windows, as I couldn't reproduce it under Linux.

It seems like the best option here would be to just get people to host plugins on PyPI instead of Github. Cloning repositories was overly complicated anyway.

repo: natejms/ampersand


text:
Add code view to example pages

Example pages like https://nateplusplus.github.io/pushin/examples/simple/ could use an easy way to see the source code, so that they can be used as code examples.

[ ] Add sub-navigation to example pages
[ ] Options for subnav: Result, Vanilla, React

[ ] Clicking on Result should show the example as a demo
[ ] Clicking on Vanilla should show plain HTML and vanilla JS code used to create the example
[ ] Clicking on React should show a React code snippet that can be used to create the example

hi @nateplusplus I am interested in this one.

Hi @Dhananjay-12 that's great to hear! Are you interested in working on this?
I recently moved the documentation site over to a separate repository in an effort to clean up the plugin code a little better.
If you want to work on this as a contribution, I've copied this issue over to the new repo here: https://github.com/nateplusplus/pushin-docs/issues/2

I'm closing this issue since it is now moved to the pushin-docs repo.
You can continue following progress on this enhancement here: https://github.com/nateplusplus/pushin-docs/issues/2

repo: nateplusplus/pushin


text:
Adventure game

https://scratch.mit.edu/projects/152323981/
https://phosphorus.github.io/#152323981
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
The "change color" effect doesn't work with my game (the score top left cycles through colours). Also when birds poo on the flowers it often doesn't detect collision.

In addition to the above, as can be seen on the score, the white cloud around the word score is in wrong place. Vector graphics.

repo: nathan/phosphorus