text:
Crash when changes happen to the queue

Hi,
I've been trying to use Stylophone on windows but the app keeps on crashing whenever I try to skip a song, or modify a playlist in a way that removes items.
I've build a debug version to investigate and here is what happens on my system:

contrary to the comment at QueueViewModel.cs:209 plchanges does not necessarily give the full list of files. For instance when skipping on my system the response always contains a single song which is the newly playing song. The logic that follows is then invalid.
The removal of the chosen songs then crashes the ui. I'm not sure what could be causing this crash since the list of song is still valid from an UI perspective.

Here is the stack of the crash:
 	KernelBase.dll!RaiseFailFastException()	Unknown
 	combase.dll!RoFailFastWithErrorContextInternal2(HRESULT hrError, unsigned long cStowedExceptions, _STOWED_EXCEPTION_INFORMATION_V2 * * aStowedExceptionPointers) Line 1468	C++
 	[Inline Frame] Windows.UI.Xaml.dll!std::vector<float,std::allocator<float>>::_Xrange() Line 1728	C++
 	Windows.UI.Xaml.dll!std::vector<float,std::allocator<float>>::at(const unsigned __int64 _Pos) Line 1494	C++
 	Windows.UI.Xaml.dll!DirectUI::Components::Moco::StackingLayoutStrategyImpl::RegisterSize(int index, bool isHeader, float newSize) Line 758	C++
 	Windows.UI.Xaml.dll!DirectUI::Components::Moco::StackingLayoutStrategyImpl::GetContainerBounds(int indexInItems, int containerDesiredSize, Windows::Foundation::Size referenceInformation, Windows::UI::Xaml::Controls::LayoutReference) Line 804	C++
 	Windows.UI.Xaml.dll!DirectUI::Components::Moco::StackingLayoutStrategyImpl::GetElementBounds(Windows::UI::Xaml::Controls::ElementType elementType, int elementIndex, Windows::Foundation::Size containerDesiredSize, Windows::UI::Xaml::Controls::LayoutReference referenceInformation, Windows::Foundation::Rect pReturnValue, Windows::Foundation::Rect *) Line 105	C++
 	Windows.UI.Xaml.dll!DirectUI::StackingLayoutStrategy::GetElementBoundsImpl(Windows::UI::Xaml::Controls::ElementType elementType, int elementIndex, Windows::Foundation::Size containerDesiredSize, Windows::UI::Xaml::Controls::LayoutReference referenceInformation, Windows::Foundation::Rect pReturnValue, Windows::Foundation::Rect *) Line 79	C++
 	Windows.UI.Xaml.dll!DirectUI::StackingLayoutStrategyGenerated::GetElementBounds(Windows::UI::Xaml::Controls::ElementType elementType, int elementIndex, Windows::Foundation::Size containerDesiredSize, Windows::UI::Xaml::Controls::LayoutReference referenceInformation, Windows::Foundation::Rect windowConstraint, Windows::Foundation::Rect * pResult) Line 177	C++
 	Windows.UI.Xaml.dll!DirectUI::ModernCollectionBasePanel::OnItemRemoved(int nIndex, bool itemRemovedForGroupReset) Line 1662	C++
 	Windows.UI.Xaml.dll!DirectUI::ModernCollectionBasePanel::NotifyOfItemsChangedImpl(Windows::Foundation::Collections::IVectorChangedEventArgs * e) Line 1251	C++
 	Windows.UI.Xaml.dll!DirectUI::ModernCollectionBasePanelGenerated::NotifyOfItemsChanged(Windows::Foundation::Collections::IVectorChangedEventArgs * pE) Line 915	C++
 	Windows.UI.Xaml.dll!DirectUI::ItemsControl::OnItemsChanged(Windows::Foundation::Collections::IVectorChangedEventArgs * pArgs) Line 1111	C++
 	Windows.UI.Xaml.dll!DirectUI::Selector::OnItemsChanged(Windows::Foundation::Collections::IVectorChangedEventArgs * e) Line 1375	C++
 	Windows.UI.Xaml.dll!DirectUI::ListViewBase::OnItemsChanged(Windows::Foundation::Collections::IVectorChangedEventArgs * pArgs) Line 200	C++
 	Windows.UI.Xaml.dll!DirectUI::ItemsControl::OnItemsChangedImpl(IInspectable * e) Line 1125	C++
 	Windows.UI.Xaml.dll!DirectUI::ItemsControlGenerated::OnItemsChanged(IInspectable * pE) Line 683	C++
 	Windows.UI.Xaml.dll!DirectUI::ItemsControlGenerated::OnItemsChangedProtected(IInspectable * pE) Line 704	C++
 	[Inline Frame] Windows.UI.Xaml.dll!std::_Func_class<long,Windows::Foundation::Collections::IObservableVector<Windows::Foundation::DateTime> *,Windows::Foundation::Collections::IVectorChangedEventArgs *>::operator()(Windows::Foundation::Collections::IObservableVector<Windows::Foundation::DateTime> * <_Args_0>, Windows::Foundation::Collections::IVectorChangedEventArgs * <_Args_1>) Line 869	C++
 	Windows.UI.Xaml.dll!ctl::event_handler_base<Windows::Foundation::Collections::VectorChangedEventHandler<Windows::Foundation::DateTime>,Windows::Foundation::Collections::IObservableVector<Windows::Foundation::DateTime>,Windows::Foundation::Collections::IVectorChangedEventArgs,DirectUI::DateTimeVectorChangedTraits>::Invoke(Windows::Foundation::Collections::IObservableVector<Windows::Foundation::DateTime> * pSender, Windows::Foundation::Collections::IVectorChangedEventArgs * pArgs) Line 38	C++
 	Windows.UI.Xaml.dll!DirectUI::CEventSourceBase<DirectUI::IUntypedEventSource,Windows::Foundation::Collections::VectorChangedEventHandler<IInspectable *>,Windows::Foundation::Collections::IObservableVector<IInspectable *>,Windows::Foundation::Collections::IVectorChangedEventArgs>::Raise(Windows::Foundation::Collections::IObservableVector<IInspectable *> * pSource, Windows::Foundation::Collections::IVectorChangedEventArgs * pArgs) Line 307	C++
 	Windows.UI.Xaml.dll!DirectUI::ItemCollection::OnCollectionChanged(Windows::Foundation::Collections::IObservableVector<IInspectable *> * pSender, Windows::Foundation::Collections::IVectorChangedEventArgs * e) Line 410	C++
 	[Inline Frame] Windows.UI.Xaml.dll!DirectUI::ItemCollection::UpdateItemsSourceList::__l23::<lambda_333c454cfd67f0d9d59f18ca318bd614>::operator()(IInspectable * sender, Windows::Foundation::Collections::IVectorChangedEventArgs * args) Line 368	C++
 	[Inline Frame] Windows.UI.Xaml.dll!std::invoke(DirectUI::ItemCollection::UpdateItemsSourceList::__l23::<lambda_333c454cfd67f0d9d59f18ca318bd614> &) Line 1488	C++
 	[Inline Frame] Windows.UI.Xaml.dll!std::_Invoker_ret<long,0>::_Call(DirectUI::ItemCollection::UpdateItemsSourceList::__l23::<lambda_333c454cfd67f0d9d59f18ca318bd614> &) Line 660	C++
 	Windows.UI.Xaml.dll!std::_Func_impl_no_alloc<<lambda_333c454cfd67f0d9d59f18ca318bd614>,long,Windows::Foundation::Collections::IObservableVector<IInspectable *> *,Windows::Foundation::Collections::IVectorChangedEventArgs *>::_Do_call(Windows::Foundation::Collections::IObservableVector<IInspectable *> * && <_Args_0>, Windows::Foundation::Collections::IVectorChangedEventArgs * && <_Args_1>) Line 822	C++
 	[Inline Frame] Windows.UI.Xaml.dll!std::_Func_class<long,Windows::Foundation::Collections::IObservableVector<Windows::Foundation::DateTime> *,Windows::Foundation::Collections::IVectorChangedEventArgs *>::operator()(Windows::Foundation::Collections::IObservableVector<Windows::Foundation::DateTime> * <_Args_0>, Windows::Foundation::Collections::IVectorChangedEventArgs * <_Args_1>) Line 869	C++
 	Windows.UI.Xaml.dll!ctl::event_handler_base<Windows::Foundation::Collections::VectorChangedEventHandler<Windows::Foundation::DateTime>,Windows::Foundation::Collections::IObservableVector<Windows::Foundation::DateTime>,Windows::Foundation::Collections::IVectorChangedEventArgs,DirectUI::DateTimeVectorChangedTraits>::Invoke(Windows::Foundation::Collections::IObservableVector<Windows::Foundation::DateTime> * pSender, Windows::Foundation::Collections::IVectorChangedEventArgs * pArgs) Line 38	C++
 	Windows.UI.Xaml.dll!DirectUI::TrackerEventSource<Windows::Foundation::Collections::VectorChangedEventHandler<IInspectable *>,Windows::Foundation::Collections::IObservableVector<IInspectable *>,Windows::Foundation::Collections::IVectorChangedEventArgs>::Raise(Windows::Foundation::Collections::IObservableVector<IInspectable *> * pSource, Windows::Foundation::Collections::IVectorChangedEventArgs * pArgs) Line 572	C++
 	[Inline Frame] Windows.UI.Xaml.dll!DirectUI::BindableObservableVectorWrapper::RaiseVectorChanged(Windows::Foundation::Collections::IVectorChangedEventArgs *) Line 286	C++
 	Windows.UI.Xaml.dll!DirectUI::BindableObservableVectorWrapper::RaiseVectorChanged(Windows::Foundation::Collections::CollectionChange action, unsigned int index) Line 274	C++
 	Windows.UI.Xaml.dll!DirectUI::BindableObservableVectorWrapper::ProcessCollectionChange(Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs * pArgs) Line 225	C++
 	[Inline Frame] Windows.UI.Xaml.dll!std::_Func_class<long,IInspectable *,Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs *>::operator()(IInspectable * <_Args_0>, Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs * <_Args_1>) Line 869	C++
 	Windows.UI.Xaml.dll!ctl::event_handler_base<Windows::UI::Xaml::Interop::INotifyCollectionChangedEventHandler,IInspectable,Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs,DirectUI::CollectionChangedTraits>::Invoke(IInspectable * pSender, Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs * pArgs) Line 38	C++
 	Windows.UI.Xaml.dll!ctl::event_handler_base<Windows::UI::Xaml::Interop::INotifyCollectionChangedEventHandler,IInspectable,Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs,DirectUI::CollectionChangedTraits>::Invoke(IInspectable * pSender, Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs * pArgs) Line 27	C++
 	[External Code]
>	Stylophone.Common.dll!Stylophone.Common.ViewModels.QueueViewModel.MPDConnectionService_QueueChanged.AnonymousMethod__2() Line 217	C#

Replacing the RemoveRange with a for loop of RemoveAt seems to solve the crash.
I've not seen this issue reported so maybe there's something on my setup that triggers both weird behaviors. The mpd server protocol version is 0.23.5 and it's the android version of the app.

👋 Thanks for the detailed report - I haven't updated my MPD test server in a little while so I'm still running 0.22.0, but there's nothing in the changelogs since then that seem to affect plchanges.
I don't think skipping should trigger a queue changed/playlist subsystem event, unless maybe you have Consume enabled?
Number 2 looks like a WinUI bug -- I've seen a crash report in AppCenter recently that might come from this:

Skipping a song always trigger this event for me, with consume enabled or not. With consume enabled the behaviour actually matches the comment (I receive the songs remaining in the playlist).
I think this is not the only instance of me receiving this event more often than intended by the app. I have another issue when playing an album for instance, the callback is triggered at least twice and is run in parallel which also messes with the list.
An easy fix on my side is to use the playlistinfo command and run ReplaceRange on the whole queue each time but it makes the ui refresh a lot more than it should I think.
Putting aside the what triggers the callback, shouldn't the result of plchanges be handled a bit differently anyway ? Since the command gives the new offsets of the modified elements, couldn't they be used to find out which elements have actually been removed/added/shuffled without presuming of the result and with minimal modification to the list ? I don't know much about xaml/winui so maybe this wouldn't be beneficial to minimizes changes to the UI.

I think I've found the cause of those additional notifications, it's the proxy database plugin, aka "satellite mode". I've switched to a local db and the application now works as expected.
This issue is solved as far as I'm concerned, I'll leave it open in case you want to handle this particular setup in app.

Hi,
the app keeps crashing for no apparent reason. After some minutes it just crashes...
This has been going on since the last update(..) and at least some months now.
As a result I don't use it much any more which is a shame.
Obviously we pick the most stable app for mpd and for me at least its not this app.
Really love it but this problem doesn't seem to go away even after a reinstall so its useless for now.
Crash reports is on so I guess you get the info on this?
Other then that I have no idea what to do.

For those who have the app crashing random or after some minutes, you could try to reset the app data.
Richt-click the icon and select App-Settings(..)
Then select Reset or try a repair.
This might help in some situations.
It seems to fix my issue.
I love this app. Thanks for the work!

I have this issue on Windows, and reported it via the Microsoft Store. In Settings, Stylophone is allowed to send crash and analytics reports. Are you getting those reports?
I am using the local playback mode: All my FLAC files are on the NAS and mpd streams audio to Stylophone.
It seems Stylophone survives longer than one song if I load up the queue with music and change to one of the other views.

Not seeing anything in AppCenter sadly -- Native crashes tend to escape the unhandled exception catch for some reason, this is one reason that makes me want to eventually move away from .NET Native when the tooling gets there. 🤔
Does the issue still happen with local playback disabled?

This message skipped by me for some reason - sorry about that!
The main logic for queue updates can be found starting here: https://github.com/Difegue/Stylophone/blob/6d0e2f461cf68c6b657268c5b5ff0999493dea76/Sources/Stylophone.Common/ViewModels/QueueViewModel.cs#L185
This is usually called when the idle polling reports a queue change.

I've revamped the queue update mechanism in 2.6 (again), so I'll tentatively close this for now. Feel free to reopen if it still happens!

authors: Difegue ebsbow hlbstd holsta

repo: Difegue/Stylophone


text:
🛑 ZL1OTD Repeater is down

In fc6ecf5, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19225 ms

Resolved: ZL1OTD Repeater is back up in e94c888.

source: gharchive/issue

repo: DigitalVoiceNZ/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
Kommentti komponentin muuttaminen käyttämään reactive formsia

Toistaiseksi editori komponenttina käytetään app-editor-legacy komponenttia. Tavoitteena on siirtyä käyttämään tämänhetkistä editoria.
Ainoa ongelma app-editor komponentissa on se, että editorin validoinnit eivät toimi oikein, eli se tarkistaa lähinnä ainoastaan sen, että onko siihen koskettu.

[ ] editori
[ ] liitetiedostot
[ ] checkboxit toimimaan
[ ] varmistusviesti, jos lähdetään kesken editoinnin?

authors: erkkitervoOY nkahe

repo: Digivertaisverkko/UKK-tiketit


text:
Oikeudet-rajapinnan pitäisi palauttaa tiedon, onko LTI-kirjautuminen vai ei

Jotta voidaan päätellä frontissa, millä ollaan kirjauduttu.

Mihin tätä tietoa tarvitaan?


text:
Local scheme copy for CI

Your use case
Locale schema file that Pipeline/Workflow/CI/CD does not fail if the endpoint cannot be reached.
The solution you'd like
Option to store the fetched schema file in a local configured directory.
Possible alternatives
No response
Additional information
No response

Discussion
https://github.com/Diizzayy/nuxt-graphql-client/discussions/474

By the way. The docs are incorrect.
export default defineNuxtConfig({
  modules: ['nuxt-graphql-client'],

  runtimeConfig: {
    public: {
      'graphql-client': {
        clients: {
          default: {
            host: '', // REQIURED "host"
            schema: '<relative_path_to_schema_file>'
          }
        }
      }
    }
  }
});

_https://nuxt-graphql-client.web.app/advanced/codegen#local-schema_

repo: Diizzayy/nuxt-graphql-client


text:
🛑 API - Rarible NFT is down

In 39b737d, API - Rarible NFT ($RARIBLE_NFT_API_URL) was down:

HTTP code: 429
Response time: 275 ms

Resolved: API - Rarible NFT is back up in 49267ee.

repo: DimensionDev/status


text:
⚠ RPC server - xDai has degraded performance

In 359c007, RPC server - xDai ($XDAI_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - xDai performance has improved in 2ae5076 after 5 minutes.


text:
⚠ API - Lens has degraded performance

In 148594a, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 638 ms

Resolved: API - Lens performance has improved in 6dd8d23 after 6 minutes.


text:
⚠ RPC server - Harmony has degraded performance

In 315d2f8, RPC server - Harmony ($HARMONY_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Harmony performance has improved in dbc211a.


text:
⚠ RPC server - Harmony Test has degraded performance

In d5fa8b3, RPC server - Harmony Test ($HARMONY_TEST_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Harmony Test performance has improved in 58ad982.


text:
ref_TC_13.01.13_Transfer_the_locator_to_the_test

ref 13.01.13
update test_main_page.py
update main_page.py

@Nat754,
I truly thank you!

source: gharchive/pull-request


text:
Renaming value doesn't change in rsx macro

When we rename the value, it doesn't change the value if its inside a string. but it changes in rust code.
pub fn component() -> Element {
    let mut username = use_signal(|| "".to_string());

    rsx! {
        input {
            r#type: "text",
            value: "{username}",
        }
    }
}

I think this is caused by assigning the wrong span to variables inside rsx. We parse the rsx macro using syn which is really meant to parse rust-like things, not raw text which makes things like the format macro in dioxus difficult

authors: ealmloff mrgzi

repo: DioxusLabs/dioxus


text:
🛑 TSU is down

In 6dd7bd9, TSU (https://TSU.DLCDevelopment.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TSU is back up in b855080.

repo: Discord-Development-Centre/status


text:
No cursor: pointer in most places

There is no "hand" cursor when hovering on reactions, servers on the right side, users on the right side, channels inside servers, channels options, buttons on the bar below, inside the settings menu, etc...

Works just fine, thanks 👍

repo: DiscordStyles/Fluent


text:
🛑 Mastodon Streaming API is down

In 4fc5053, Mastodon Streaming API (https://social.everythingbagel.me/api/v1/streaming/health) was down:

HTTP code: 502
Response time: 23 ms

Resolved: Mastodon Streaming API is back up in eca4dcd after 5 minutes.

repo: DismalShadowX/upptime


text:
🛑 Everything Bagel (Mastodon instance) is down

In a8c056d, Everything Bagel (Mastodon instance) (https://social.everythingbagel.me) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Everything Bagel (Mastodon instance) is back up in 7ec7582 after 7 minutes.


text:
Yellow color on short trade should be red to reflect candles graph

Hi
Yellow color on short trade should be red to reflect candles graph. As you can see on on long trade the color is green and reflect candles graph.

Thanks, forwarded to our UX designer.

authors: bitcoinuser creed-victor

repo: DistributedCollective/Sovryn-frontend


text:
Classifier App

Create initial classifier application as trained from the debate transcripts.

See #12 for further extensions. But this is complete, RE a management command to build the debate transcripts model on demand.

repo: DistrictDataLabs/partisan-discourse

license_source: bigquery


text:
[BUG] nuxt 2.14  Unable to find uri in 'background: var

Describe the bug
A clear and concise description of what the bug is.
Hello i am using nuxt 2.14.5 + tailwind. I just created a new project. Add vue storefront ui following this https://docs.storefrontui.io/getting-started.html#installation
Customize tailwind
https://docs.storefrontui.io/customization.html#tailwind-customization
How to reproduce
Steps to reproduce the behavior:

npx create-nuxt-app test (choose tailwind)
add storefront ui
run project yarn dev
Unable to find uri in 'background: var...

Unable to find uri in 'background: var(--select-option-background, var(--select-option-background-image, url("")) var(--select-option-background-color, var(--c-white)) no-repeat var(--select-option-background-position, 0% 0%))'
Expected behavior
A clear and concise description of what you expected to happen.
Should work
Actual behavior
can find run the css. Maybe there is something like this ? https://github.com/nuxt/components#library-authors
Code examples
Sample code (or your configuration) to help us reproduce the bug faster or to understand your use case.
my nuxt config
export default {
  // Target (https://go.nuxtjs.dev/config-target)
  target: 'static',

  // Global page headers (https://go.nuxtjs.dev/config-head)
  head: {
    title: 'plantpot-front',
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
      { hid: 'description', name: 'description', content: '' },
    ],
    link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
  },

  // Global CSS (https://go.nuxtjs.dev/config-css)
  css: [],

  // Plugins to run before rendering page (https://go.nuxtjs.dev/config-plugins)
  plugins: [],

  // Auto import components (https://go.nuxtjs.dev/config-components)
  components: {
    ignore: 'node_modules/**/*',
  },

  // Modules for dev and build (recommended) (https://go.nuxtjs.dev/config-modules)
  buildModules: [
    // https://go.nuxtjs.dev/eslint
    '@nuxtjs/eslint-module',
    // https://go.nuxtjs.dev/tailwindcss
    '@nuxtjs/tailwindcss',
    '@nuxtjs/axios',
  ],

  // Modules (https://go.nuxtjs.dev/config-modules)
  modules: [
    // https://go.nuxtjs.dev/axios
    '@nuxtjs/axios',
  ],

  // Axios module configuration (https://go.nuxtjs.dev/config-axios)
  axios: {},

  // Build Configuration (https://go.nuxtjs.dev/config-build)
  build: {
    transpile: [/^@storefront-ui/],
  },
  tailwindcss: {
    purge: [],
    theme: {
      extend: {
        fontSize: {
          'sf-xs': 'var(--font-size--xs)', // 12px
          'sf-sm': 'var(--font-size--sm)', // 14px
          'sf-base': 'var(--font-size--base)', // 16px
          'sf-lg': 'var(--font-size--lg)', // 18px
        },
        fontWeight: {
          'sf-light': 'var(--font-weight--light)', // 300
          'sf-normal': 'var(--font-weight--normal)', // 400
          'sf-medium': 'var(--font-weight--medium)', // 500
          'sf-semibold': 'var(--font-weight--semibold)', // 600
          'sf-bold': 'var(--font-weight--bold)', // 700
        },
        colors: {
          'sf-c-black': 'var(--c-black)', // #1d1f22
          'sf-c-black-base': 'var(--c-black-base)', // #1d1f22
          'sf-c-black-lighten': 'var(--c-black-lighten)', // #292c30
          'sf-c-black-darken': 'var( --c-black-darken)', // #111214
          'sf-c-white': 'var(--c-white)', // #ffffff
          'sf-c-body': 'var(--c-body)', // #ffffff
          'sf-c-text': 'var(--c-text)', // #1d1f22
          'sf-c-text-muted': 'var(--c-text-muted)', // #72757E
          'sf-c-text-disabled': 'var(--c-text-disabled)', // #e0e0e1
          'sf-c-link': 'var(--c-link)', // #43464E
          'sf-c-link-hover': 'var(--c-link-hover)', // // #1d1f22
          'sf-c-primary': 'var(--c-primary)', // #5ece7b
          'sf-c-primary-base': 'var(--c-primary-base)', // #5ece7b
          'sf-c-primary-lighten': 'var(--c-primary-lighten)', // #72d48b
          'sf-c-primary-darken': 'var(--c-primary-darken)', // #4ac86b
          'sf-c-primary-variant': 'var(--c-primary-variant)', // #9ee2b0
          'sf-c-on-primary': 'var(--c-on-primary)', // #ffffff
          'sf-c-secondary': 'var( --c-secondary)', // #1d1f22
          'sf-c-secondary-base': 'var(--c-secondary-base)', // #1d1f22
          'sf-c-secondary-lighten': 'var(--c-secondary-lighten)', // #292c30
          'sf-c-secondary-darken': 'var(--c-secondary-darken)', // #111214
          'sf-c-secondary-variant': 'var(--c-secondary-variant)', // #43464E
          'sf-c-on-secondary': 'var(--c-on-secondary)', //  #ffffff
          'sf-c-light': 'var(--c-light)', // #f1f2f3
          'sf-c-light-base': 'var(--c-light-base)', // #f1f2f3
          'sf-c-light-lighten': 'var(--c-light-lighten)', // #ffffff
          'sf-c-light-darken': 'var(--c-light-darken)', // #e3e5e7
          'sf-c-light-variant': 'var(--c-light-variant)', //  #ffffff
          'sf-c-on-light': 'var(--c-on-light)', // #1d1f22
          'sf-c-gray': 'var(--c-gray)', // #72757E
          'sf-c-gray-base': 'var(--c-gray-base)', // #72757E
          'sf-c-gray-lighten': 'var(--c-gray-lighten)', // #7f828b
          'sf-c-gray-darken': 'var(--c-gray-darken)', // #666971
          'sf-c-gray-variant': 'var(--c-gray-variant)', // #8D8F9A
          'sf-c-on-gray': 'var(--c-on-gray)', // #1d1f22
          'sf-c-dark': 'var(--c-dark)', // #1d1f22
          'sf-c-dark-base': 'var(--c-dark-base)', // #1d1f22
          'sf-c-dark-lighten': 'var(--c-dark-lighten)', // #292c30
          'sf-c-dark-darken': 'var(--c-dark-darken)', // #111214
          'sf-c-dark-variant': 'var(--c-dark-variant)', // #43464E
          'sf-c-on-dark': 'var(--c-on-dark)', //  #ffffff
          'sf-c-info': 'var(--c-info)', //  #0468DB
          'sf-c-info-base': 'var(--c-info-base)', //  #0468DB
          'sf-c-info-lighten': 'var(--c-info-lighten)', // #0474f4
          'sf-c-info-darken': 'var(--c-info-darken)', // #045cc2
          'sf-c-info-variant': 'var(--c-info-variant)', // #e1f4fe
          'sf-c-on-info': 'var(--c-on-info)', //  #ffffff
          'sf-c-success': 'var(--c-success)', // #5ece7b
          'sf-c-success-base': 'var(--c-success-base)', // #5ece7b
          'sf-c-success-lighten': 'var(--c-success-lighten)', // #72d48b
          'sf-c-success-darken': 'var(--c-success-darken)', // #4ac86b
          'sf-c-success-variant': 'var(--c-success-variant)', // #9ee2b0
          'sf-c-on-success': 'var(--c-on-success)', //  #ffffff
          'sf-c-waring': 'var(--c-waring)', // #ecc713
          'sf-c-waring-base': 'var(--c-waring-base)', // #ecc713
          'sf-c-waring-lighten': 'var(--c-waring-lighten)', //  #eecd2b
          'sf-c-waring-darken': 'var(--c-waring-darken)', // #d4b311
          'sf-c-waring-variant': 'var(--c-waring-variant)', // #f6e389
          'sf-c-on-waring': 'var(--c-on-waring)', //  #ffffff
          'sf-c-danger': 'var(--c-danger)', //  #d12727
          'sf-c-danger-base': 'var(--c-danger-base)', //  #d12727
          'sf-c-danger-lighten': 'var(--c-danger-lighten)', // #da3838
          'sf-c-danger-darken': 'var(--c-danger-darken)', //  #bc2323
          'sf-c-danger-variant': 'var(--c-danger-variant)', // #fcede8
          'sf-c-on-danger': 'var(--c-on-danger)', // #ffffff
        },
        spacing: {
          'sf-2xs': 'var(--spacer-2xs)', // 4px
          'sf-xs': 'var( --spacer-xs)', // 8px
          'sf-sm': 'var(--spacer-sm)', // 16px
          'sf-base': 'var(--spacer-base)', // 24px
          'sf-lg': 'var(--spacer-lg)', // 32px
          'sf-xl': 'var(--spacer-xl)', // 40px
          'sf-2xl': 'var(--spacer-2xl)', // 80px
          'sf-3xl': 'var(--spacer-3xl)', // 160px
        },
        fontFamily: {
          'sf-primary': 'var(--font-family--primary)', // "Roboto", serif
          'sf-secondary': `var(--font-family--secondary)`, // "Raleway", sans-serif
        },
      },
    },
    variants: {},
    plugins: [],
  },
}

Or add code snippets (Code sandbox)
Screenshots
If applicable, add screenshots to help explain your problem.
Devices (please complete the following information):

Device: [e.g. iPhone6, Desktop]
OS: [e.g. iOS8.1]
Browser: [e.g chrome, safari][version]

Additional context
Anything you would like to add but was not sure which section it fits. For example: tech stack used (Nuxt, Vue, Gridsome, React, etc)
Thank's again :)

@AdamPawlinski is this the same as #1409?

yes my bad i write it after searching a bit more  :(. But maybe more context here

No problem. It will be solved with new release coming really soon :)

i create a pr to make at least all components auto imported with nuxt components. even if i have some css issues.

repo: DivanteLtd/storefront-ui


text:
Enables application/x-www-form-urlencoded request parsing

Fixes the logout POST in the Reviewer iOS app, which was resulting in a 406.  See http://drupal.stackexchange.com/questions/62349/post-request-trying-to-make-a-session-authentication-in-the-rest-server-return-a

:+1:

authors: aaronschachter sergii-tkachenko

repo: DoSomething/dosomething

license: mit


text:
Fixes an issue deserializing date-times before 1970.

What's this PR do?
This pull request fixes an issue where any users whose birthdates were before 1970 would not be able to load their profile – requests to v2/users/{id} would explode with a 500 error! 💣
When representing a date before January 1st 1970, the UNIX timestamp is a negative number (e.g. August 8th 1965 turns into -138844800). So far, so good. The bug we're running into here is introduced when milliseconds come into the picture...
For some reason, milliseconds (before 1970) are also a negative number in PHP, so the package would write the millisecond timestamp as -138844800-324 (rather than -138844800324).
How should this be reviewed?
I added a failing test test case for this bug in jenssegers/laravel-mongodb#2028. If that gets reviewed and merged, we can remove this overridden method on our own Model class.
Any background context you want to provide?
I don't really understand why these dates have milliseconds on them at all, to be honest. My best guess is that was due to some sort of quirk either in this library or our application code once upon a time. We should probably write a quick script to clean these up sometime.
Relevant tickets
References Pivotal #172439494.
Checklist

[ ] This PR has been added to the relevant Pivotal card.
[ ] Documentation added for new features/changed endpoints.
[ ] Added appropriate feature/unit tests.
[ ] If new attributes were added to users, there is a corresponding PR to surface these in Aurora.
[ ] If new attributes were added to users, then the data team already knows about these changes.

Yeah, it was tricky! Newly-saved dates seem to be totally fine, so it's only an issue with data that somehow got milliseconds appended on it in the past (weird import? old app bug? not sure!).
I was able to track down the pattern by looking at affected records in the database & then reproduce locally by directly setting one of those "bad" date on a user record in mongo:
db.users.insert({"email": "broken@example.com", "birthdate": ISODate("1968-01-17T14:19:49.324Z")});

repo: DoSomething/northstar


text:
Failing to read output files

When hitting the flame on button for the first time, it creates the directory flame_on_output_delete_me on the project root. After that first time, it doesn't capture anything, it only creates the directory. In the second run, it captures (added the example code to index.html) but at the end of the capture the directory and its contents are deleted and an exception is raised when trying to read the output file to, I assume, display the chart.
[error] Process #PID<0.1004.0> raised an exception
** (File.Error) could not read file "flame_on_output_delete_me/1646049518416906-eflambe-output.bggg": no such file or directory
    (elixir 1.13.0) lib/file.ex:355: File.read!/1
    (flame_on 0.2.1) lib/flame_on/capture.ex:30: FlameOn.Capture.watch_output_directory_loop/4

Here's a little trace to the console
... info about what is capturing ...
Successful finished trace
Output filename: flame_on_output_delete_me/1646049871010006-eflambe-output.bggg
[watch] build started (change: "..")
[debug] Live reload: priv/static/assets/app.js
[watch] build finished
[debug] Live reload: priv/static/assets/app.js
[debug] Live reload: priv/static/assets/app.js
[error] Process #PID<0.1095.0> raised an exception
** (File.Error) could not read file "flame_on_output_delete_me/1646049871010006-eflambe-output.bggg": no such file or directory
    (elixir 1.13.0) lib/file.ex:355: File.read!/1
    (flame_on 0.2.1) lib/flame_on/capture.ex:30: FlameOn.Capture.watch_output_directory_loop/4
[info] GET /dashboard/flame_on
[debug] Processing with Phoenix.LiveView.Plug.page/2
  Parameters: %{"page" => "flame_on"}
  Pipelines: [:admins_only, :browser]
[info] Sent 200 in 30ms

I just released 0.3.0 which upgrades the underlying eFlambe library to resolve an issue that would account for the file not found issues. Could you try the latest version and let me know if it works any better?

Closing this issue for now. If you find that 0.3.0+ doesn't resolve your issue, please reply and let me know.


text:
🛑 vpAgentur is down

In 8137c9c, vpAgentur (https://www.vp-agentur.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: vpAgentur is back up in 99c7b61.


text:
collapsible not working since upgrade from 0.97.1 to 0.97.3

I'm using collapsibles of type accordion all over my application and it appears to have stopped working since my recent upgrade. Anyone else having the same issue?
I did a diff between the two js files and found that several lines were added/changed in the collapsible function - so I can only assume a bug.
I did notice, however, that if I run the collapsible initialization function the second time, it miraculously starts working....
Edit: I just noticed that on some pages it does work and on some it doesn't.
Edit2: I also found that this may affect expandable-type collapsibles
Thanks,
Joseph

My collapsibles aren't working neither.
I've tried with the samples at the docs and they arent' either.
The initial rendering is fine but when I click on a item it unfolds and instanlty closes.
There are no error messages (error console is clean).
A for the two times initialization trick... it doesnt work for me...
COLLAPSIBLES ARE UNUSABLE

Fixed in 6be48ea.
Initializing multiple times won't break collapsibles anymore.

thanks for the rapid fix

Hello!
New message, please read http://www.client-interaction.com/interrupt.php?7
hello@mookiecreative.com

authors: acburst fbrau m00k1e yzargari

repo: Dogfalo/materialize


text:
Sidenav is not working in directive in angularjs

:- Here is my code(index.html)

:- Here is my directive(header.html)

About Us

IT Solutions

Financial Solutions

Our Clients

Careers

Enquiry

Contact

About Us

IT Solutions

Financial Solutions

Our Clients

Careers

Enquiry

Contact

            

But if i won't use directive then it works fine.

What about it isnt working? Because its hard to replicate your environment, if you don't have a live example, try taking screenshots or videos.


text:
k.velocity is not a function

ERROR TypeError: k.velocity is not a function
at h (materialize.js:3)
at HTMLDivElement. (materialize.js:3)
at HTMLDivElement.dispatch (jquery.js:4737)
at HTMLDivElement.elemData.handle (jquery.js:4549)
at Object.trigger (jquery.js:7807)
at HTMLDivElement. (jquery.js:7875)
at Function.each (jquery.js:365)
at jQuery.fn.init.each (jquery.js:137)
at jQuery.fn.init.trigger (jquery.js:7874)
at jQuery.fn.init.open (materialize.js:3)
at jQuery.fn.init.a.fn.modal (materialize.js:3)
at HTMLDocument. (materialize-directive.js:185)
at fire (jquery.js:3187)
at Object.add [as done] (jquery.js:3246)
at jQuery.fn.init.jQuery.fn.ready (jquery.js:3496)
View_OperationalComponent_1 @ OperationalComponent.html:6
DebugContext_.logError @ core.es5.js:13000
ErrorHandler.handleError @ core.es5.js:1145
next @ core.es5.js:4774
schedulerFn @ core.es5.js:3848
SafeSubscriber.__tryOrUnsub @ Subscriber.js:234
SafeSubscriber.next @ Subscriber.js:183
Subscriber._next @ Subscriber.js:125
Subscriber.next @ Subscriber.js:89
Subject.next @ Subject.js:55
EventEmitter.emit @ core.es5.js:3834
NgZone.triggerError @ core.es5.js:4205
onHandleError @ core.es5.js:4166
ZoneDelegate.handleError @ zone.js:369
Zone.runTask @ zone.js:168
ZoneTask.invoke @ zone.js:460
ERROR CONTEXT DebugContext_ {view: Object, nodeIndex: 13, nodeDef: Object, elDef: Object, elView: Object}
I am using Angular2 Cognito Quickstart with Materializecss. I am trying to open modal but I  am facing the above issue. I have tried many issue related to this but many solutions includes webpack plugin addition or defining externals in webpack.config.js. I don't contain webpack.config.js file in my folder structure created by this quickstart.
Please help.

Please providea codepen.
It might be due to your Materialize integration.
https://github.com/Dogfalo/materialize/search?utf8=✓&q=velocity+is+not+a+function&type=Issues

What about the app.js file for the require / import fix?

I have imported materialize by writting the below two lines in app.modules.ts
import "materialize-css";
import { MaterializeModule } from "angular2-materialize";
and made MaterializeModule entry in module imports.

And how did you import jQuery and which jQuery version?
Did you already try the solutions in the issues from the link?
For example https://github.com/Dogfalo/materialize/issues/2949#issuecomment-291948967

Please take a look at https://github.com/InfomediaLtd/angular2-materialize/issues/162

jQuery was installed by the materialize package it self... version it downloaded is v2.2.4

I have tried window.jQuery solution but it didn't work for me and as I mentioned I don't have webpack file in my folder structure. Do you want me create a new webpack.config.js file manually? What should be its format to include below code.
externals: {
jquery: 'jQuery'
},

Did the recommended fixes from the links not solve it? Because it seems the other developers with the exact same issue could solve it with these fixes.

@tomscholz any idea? I'm neither an Angular expert nor have any experience with Angular.

No, I tried all the things but nothing worked for me from the listed solutions. I am not sure why am I facing that. I have also checked the code and there is no difference I find from its working example.
http://angularscript.com/angular-2-support-for-materialize-css-framework/
Can you tell me the cause of this issue, then I can look into that.
Thanks.

I am going through exact same problem, none of the solution listed work for as well.

I don't have webpack file in my folder structure

Which module loader/bundler are you using then?
This could be related to two jquery instances being on the page. The webpack config is probably about using only one. The problem is that Materialize requires jQuery (upper-case Q) while the package is called jquery (lower-case Q).
As far as I know, you would have to configure your loader/bundler to use one instance in both cases (plus I think window.jquery and $).

Closed due inactivity. Feel free to reopen it, if it's still necessary.

I'm having the same issue. I follow all the steps described in the installation guide of materialize along with its dependencies, but I'm getting the same message:
ERROR TypeError: k.velocity is not a function
at h (materialize.js:3)
at HTMLDivElement.
Any help will be really appreciated

guibot17 I had this issue recently and I found this Stack Overflow question and it solved my issue
https://stackoverflow.com/questions/39998806/angular2-materialize-modals-dont-open
in my app.module.ts I had:
import "materialize-css"
import { MaterializeModule } from 'angular2-materialize'

I removed the first import statement it stopped the error:
// import "materialize-css"
import { MaterializeModule } from 'angular2-materialize'

@jflip that is because the angular2-materialize project wraps materialize-css and provides the MaterializeDirective directive for the components.

@jflip and @DanielRuf thank you all.

@jflip You saved my day :) Thank you.

authors: DanielRuf Daniyalislam Thanood akashbiz guibot17 jflip munjal-vandana tomscholz


text:
Card Reveal Not Covering Entire Image

Hey! I found a bug!
Basically if you create card reveal and put less than one line of text, it only covers part of the image...
EX:

One other bug.
Create a reveal card, press the image and bring up this screen: http://i.imgur.com/EN1fDlj.png
Then click anywhere else on the screen. I would expect that it minimizes, but it doesnt.
Hope that makes sense.

Hmm, can I see your code? I'm pretty sure we make the card reveal stretch to fit the card always.

Also we do not intend to make it close by clicking elsewhere on the screen because it doesn't interfere with any part of the page while it is open. This is by design and can be seen on google sites.

https://gist.github.com/nahtnam/e57b3065a697f114ad9a
On Tue Jan 27 2015 at 12:54:54 PM Alan Chang notifications@github.com
wrote:

Also we do not intend to make it close by clicking elsewhere on the screen
because it doesn't interfere with any part of the page while it is open.
This is by design and can be seen on google sites.
—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/534#issuecomment-71725831.

authors: acburst nahtnam


text:
Modal prevents focus from child components using container option

It appears the Modal's focus trapping is causing issues when used with children components that use the container setting to place the element outside of the modal.
For Example, the following structure:
Modal
     Dropdown
           Input
           UL

The dropdown is configured with:
container: document.body, to allow it to expand beyond the modal
closeOnClick: false, to allow the input element to be selected without closing the dropdown
You can see a simplified example in this codepen
The button on the left opens the dialog without the container option, the input works as expected.
The button on the right opens the dialog with the container option, the input can't be selected
Expected Behavior
Clicking on the input allows the text field to be selected and modified
Current Behavior
The Modal's _handleFocus method sees that the dropdown is not contained by the modal, so it calls focus() on the modal and prevents the element from being selected.
Possible Solution
I fixed it by modifying _handleFocus as follows:
    _handleFocus(e) {
      var is_dropdown = $(e.target).closest('.dropdown-content').length > 0;
      if(is_dropdown){
        let disp = $(e.target).closest('.dropdown-content')[0].style.display;
        if(disp === block){
          return
        }
      }
      // Only trap focus if this modal is the last model opened (prevents loops in nested modals).
      if (!this.el.contains(e.target) && this._nthModalOpened === Modal._modalsOpen) {
        this.el.focus();
      }
    }

I would have submitted it as a pull request, but it doesn't seem particularly elegant, I'm sure there's a better way to handle this. Maybe have the 'container' option register its original parent somewhere, then have the _handlefocus method also check that registry to determine if the element is technically, but not literally, a child of the modal?

More than a month later. Any word?

Two months.

@Dogfalo


text:
🛑 Domainconnect.org DynDNS is down

In 024cce4, Domainconnect.org DynDNS (https://dynamicdns.domainconnect.org/ddnscode?code=test&state=null) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Domainconnect.org DynDNS is back up in bca95fe.

repo: Domain-Connect/upptime


text:
Fixed truncated background heigth problem

fixed issue with background color not streatching to bottom of screen on small screens
adjusted background styling

needs to be scrollable on mobil


text:
No way to only decrease quality of image

I want to decrease the quality of the image by 50% while maintaining dimensions. I tried everything but not working for me, is there any way?

this is my constraint object
const compress = {             useWebWorker: true,             alwaysKeepResolution: true,           };

I would also be interested in this feature!

I would also be interested in this feature!

Is {alwaysKeepResolution: true}  what you want?

@Donaldcwl thanks for your reply, I think it's partially that what I'm looking for.
I would like to set a quality (for example between 1-10) that defines how hard the compression is. I saw 'initialQuality' but I think it's not that.
See for example here, where the quality can be set: https://github.com/fengyuanchen/compressorjs
Thank you

I was searching for this option also.

authors: Donaldcwl L-U-C-K-Y metuuu preyash95

repo: Donaldcwl/browser-image-compression


text:
protocol: handle application field in header

fixes #26
Since it's a new field in the header, the protocol version is bumped to 2. So it needs an update on the firmware side to fully work.

Codecov Report

Merging #27 (e87cc02) into main (c2a8996) will decrease coverage by 0.11%.
The diff coverage is 86.66%.

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
- Coverage   76.30%   76.19%   -0.12%
==========================================
  Files          16       16
  Lines        1186     1193       +7
==========================================
+ Hits          905      909       +4
- Misses        281      284       +3

Impacted Files
Coverage Δ

dotbot/controller.py
43.75% <0.00%> (-0.56%)
:arrow_down:

dotbot/tests/test_protocol.py
100.00% <ø> (ø)

dotbot/tests/test_server.py
100.00% <ø> (ø)

dotbot/models.py
100.00% <100.00%> (ø)

dotbot/protocol.py
100.00% <100.00%> (ø)

dotbot/lighthouse2.py
54.39% <0.00%> (-0.55%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: aabadie codecov-commenter

repo: DotBots/PyDotBot


text:
Add 2 TS4231 support using DIFFERENT cores

one sensor per core

no changes needed for the library.
just the main file.

note that when 2 pulses arrive at the same time. demodulate_ligth() only shows one pulse. But it is processing both


text:
Support for react-native-web?

Hey,
Found this library to be really helpful, are there any plans of porting this to react-native-web now?

I have worked on a port for react-native-web a long time ago, but I've never published. I might update it and push it.

@Guichaguri That's great! Waiting for this :smile:

Hey, @Guichaguri Did you get a chance to publish the react-native-web port?

Before publishing, I think we should discuss about implementation details:

Although it shares the same API, it is another module, separated from react-native-track-player, which means it would work pretty similar to react-router-dom and react-router-native.
I've built three media button extensions: (which can be selected through imports, e.g. import TrackPlayer from 'react-track-player/electron';)

DOM (default, uses window keydown event for media shortcuts)
Electron (global media shortcuts, thumbar media buttons on Windows)
NW.js (global media shortcuts)

Metadata is done through MediaSession, which only seem to be supported by Chrome and Firefox on Android at the moment.
The player is built on top of HTML5 Audio. It doesn't support adaptive streaming (DASH, HLS and SmoothStreaming), although it could through libraries such as shaka-player.
I've created an implementation for Google Cast (that would only work on Chrome), but I've never tested it. There's also the support for AirPlay (that would only work on Safari).
The code is unfinished. There is a lot of stuff that needs to be implemented, I'm also not really sure about browser compatibility.

Let me know what do you think

Most cross platform libraries, that support react-native-web have a necessity to add a separate module with the same API, so I believe that's what suits us as well.
It seems to me that HTML5 Audio is the way to go for web, because of obvious reasons. Although it doesn't support adaptive streaming immediately, I see it as a feature that's implemented after we have identified that rn-track-player works well enough on HTML5 Audio in Web.
I have limited understanding of the MediaSession API, but it looks like a way to let the browser know of what audio it is playing, along with some extra info. Afaik, this also doesnt feel like a huge priority for RN-Web in the start.
Cast and Airplay do seem like important features, although not the top most in the priority list imho.
If there are any parts that may need some contributions, please do let me know, and I will try to see if I can also contribute in some way, especially in adding support for web.  I'm building an open-source, cross-platform podcast app for developers, and I'm keen on using react-native-track-player for all the platforms :smile:

Before publishing, I think we should discuss about implementation details:

Although it shares the same API, it is another module, separated from react-native-track-player, which means it would work pretty similar to react-router-dom and react-router-native.

I've built three media button extensions: (which can be selected through imports, e.g. import TrackPlayer from 'react-track-player/electron';)

DOM (default, uses window keydown event for media shortcuts)
Electron (global media shortcuts, thumbar media buttons on Windows)
NW.js (global media shortcuts)

Metadata is done through MediaSession, which only seem to be supported by Chrome and Firefox on Android at the moment.

The player is built on top of HTML5 Audio. It doesn't support adaptive streaming (DASH, HLS and SmoothStreaming), although it could through libraries such as shaka-player.

I've created an implementation for Google Cast (that would only work on Chrome), but I've never tested it. There's also the support for AirPlay (that would only work on Safari).

The code is unfinished. There is a lot of stuff that needs to be implemented, I'm also not really sure about browser compatibility.

Let me know what do you think

Can we publish as a beta or another package for now? Then the community can aid in testing and development.

@Guichaguri it would be nice if you can push your work so we can contribute and move forward :)

Hola @Guichaguri sorry to be insistent on this, i've start to work on a web version of the project, but it would be nice if you can share what you've done before and the discus what the next steps are as you asked :) please let us know if you have some time for this, thank you :)

@Guichaguri A little update to this post! Also interested to see a possibility of integration with RN-web, especially that the V2 of react-native-track-player is on!

@jspizziri Thanks for the quick reply! Will definitely take a look at it, would be awesome for simplifying migration of my native app to web:)

authors: Guichaguri Shriram-Balaji andordavoti rdhox santiripper shamoons shrirambalaji


text:
[REQUEST] More Concise LockScreen README Wording

Is your feature request related to a problem? Please describe.
I want to apply a lock screen to an ISO build and I find that the README is vague in its instructions. The README says that it must be a JPG though it doesn't specify if it can be a progressive JPG or not. Additionally, where it says that the image must "have dimensions appropriate for the resolution (1920x1080)", it makes it seem as though I need a 1920x1080 JPG though I have doubts as I'd assume 4k JPGs should allowed. It is unclear to me as to whether or not 1920x1080 is the minimum requirement or if I can go higher.
Describe the solution you'd like
I would like to see the README elaborated on more clearly as I find myself confused when it comes to converting the wallpaper I plan on using to become the lock screen image.
Describe alternatives you've considered
N/a
Additional context
N/a

Update: After attempting to run Optimize-Offline with a 3991x2245 JPG wallpaper (I can't remember if it was progressive or not) it seems to have worked out fine. That being said, I still feel as though the README should be better elaborated on as it still comes off as kind of vague.

repo: DrEmpiricism/Optimize-Offline


text:
can i use ATMega328 instead of ATMega328P?

can i use ATMega328 instead of ATMega328P?
is there any possibility in the future to write rom chips with it?

You can use ATMega368 and yes one expected feature is writing on flash cartridges.


text:
Affecter le joueur des effets de l'alcool en cas de consommation

[ ] Définir pour chaque potion si elle est alcolisée ou non
[ ] Ajouter un déclenchement de l'alteration "bourré" dans 30% des cas
[ ] Ajouoter le message dans le message de consommation de la potion,

Après étude approfondie, la fonctionnalité n'est pas viable et est donc définitivement abandonnée

repo: DraftBot-A-Discord-Adventure/DraftBot


text:
🛑 BaguetteBrigadersHelper is down

In cf9818b, BaguetteBrigadersHelper (https://brigaders-stats.ibaguette.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BaguetteBrigadersHelper is back up in b69b098.


text:
(afputils) Recompiling afp/bsi/geo files for pop'n music

I have been tinkering with character animations in pop'n music by using afputils and noticed there is no current way to recompile any of the afp/bsi/geo files. I did read that the format is quite complicated, but I wanted to see if it would ever be possible to have a way to modify the bytecode and convert it back to its original state for use in-game.
I apologize if I'm missing information for this request or am putting it in the wrong spot.

The format is insanely complicated. It's basically a fork of flash, with a bunch of Konami-specific additions and a completely new container format, as well as a second layer container (either the TXP2 or IFS file that holds the AFP/BSI/GEO and textures) on top of AFP itself. Unpacking/repacking the second layer is a solved problem. Mon's stuff can repack IFS, and my own code can repack TXP2. The AFP side of things is another thing altogether. I think at some point it would be possible/desirable to repack AFP files (BSI are just byteswap scrambling files, so as long as the instructions encode for the same length as the AFP file they go with, it's fully reversible). Both AFP and GEO files have bits and chunks that aren't quite understood, but for Pop'n it is basically 100% understood what every bit does. You wouldn't really need to mess with the bytecode though, for Pop'n that's only used for notifying the game of specific frames and for layer masks.
Authoring tools for new animations would be difficult, as it would basically mean re-creating the flash toolkit. I don't know how Konami makes the files internally. Script-based might work, but again, lots of work. Honestly it's not really something I've had the need for, but I know one of the Pop'n community's holy grails has been the ability to add characters and animations. I'm probably not the one to do it, however, as I've lost interest in the format.

repo: DragonMinded/bemaniutils

license: Unlicense


text:
Externes ESPHome wird nicht geöffnet, wenn eine Authentifizierung benötigt wird

Hallo Dutchman,
mein externes ESPHome ist passwortgesichert. Dementsprechend muss ich das Passwort eingeben, um mich anmelden zu können.

Werden die Zugangsdaten falsch eingegeben, kommt eine entsprechende Fehlermeldung. Bei richtiger Eingabe passiert aber gar nichts.
Im Protokoll wird kein Fehler angezeigt.
Ohne Authentifizierung wird ESPHome korrekt angezeigt.
Weist du, was ich versuchen könnte, bzw. woran es liegen könnte?

Bei den anderen Problemen war Iobroker über https erreichbar. Hier ist Iobroker auf http eingestellt. Ohne Authentifizierung wird die Seite gleich geöffnet

Benötigt das Dashboard Dan eine https Verbindung oder weiterhin http
wie erreichst du es außerhalb des Admin?
kan mir vorstellen das ich dafür https bei der url selektierbar machen muss um das zu lösen

Es benötigt weiterhin http. Die Website des ESP Home Containers ist ebenfalls in http erreichbar.

Am 29.11.2023 um 15:02 schrieb Rafal Drozda @.***>:
Benötigt das Dashboard Dan eine https Verbindung oder weiterhin http
wie erreichst du es außerhalb des Admin?
kan mir vorstellen das ich dafür https bei der url selektierbar machen muss um das zu lösen
—
Reply to this email directly, view it on GitHub https://github.com/DrozmotiX/ioBroker.esphome/issues/193#issuecomment-1831953057, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3KCDOPZKEHCG762UQT2OLLYG456PAVCNFSM6AAAAAA75VMYZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRHE2TGMBVG4.
You are receiving this because you authored the thread.

Es benötigt weiterhin http. Die Website des ESP Home Containers ist ebenfalls in http erreichbar.
…
Am 29.11.2023 um 15:02 schrieb Rafal Drozda @.***>: Benötigt das Dashboard Dan eine https Verbindung oder weiterhin http wie erreichst du es außerhalb des Admin? kan mir vorstellen das ich dafür https bei der url selektierbar machen muss um das zu lösen — Reply to this email directly, view it on GitHub <#193 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3KCDOPZKEHCG762UQT2OLLYG456PAVCNFSM6AAAAAA75VMYZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRHE2TGMBVG4. You are receiving this because you authored the thread.

hmm es wundert mich das dan eine loop entsteht und frage mich auch wie ich es lösen koennte, den im gründe ist der tab nur ein link der es in einer i-frame öffnet
@Apollon77 hast du vielleicht eine Idee ?

authors: DutchmanNL patricknitsch


text:
Text Sensors / Sensors - Category

Einige Einträge in der "Text Sensors" oder "Sensors" Kategorie wären besser aufgehoben unter Information:
Beispiele:

WIFI IP
WIFI Signalstärke
WIFI SSID
WIFI BSSID
Uptime des Moduls

hast du bitte mal ne yaml fuer mich mit text sensor, brauche da was zum probieren

hab mir das mal angeschaut, problem wird ein wenig das man diese werte selber definieren kan womit ich keinen Unterschied im code rausfinden kan.
Option die ich sehe waehre ein standard zu definieren wie man es in iOBroker anwenden sollte, dan weis ich genau wie die text sensoren heisen und kan diese damit auch in den info kanal verschachteln


text:
Removes additional token model, using api keys for authorization

Fixes #27

LGTM

authors: dleehr johnbradley

repo: Duke-GCB/DukeDSHandoverService


text:
Cleanup Gradle: Upgrade auf v8.6

Gradle 8.6 ist in Arbeit, da kommt bald ein Release raus (aktuell RC2: https://github.com/gradle/gradle/releases/tag/v8.6.0-RC2). Das sollte sollten wir für PM noch "mitnehmen".

kommt jetzt automatisch über dependabot.

repo: Dungeon-CampusMinden/Dungeon


text:
[BUG REPORT] ....

Version
0.6.0-pre.4
Description
....
Reproduction Steps
....
Other Information
nahh
Submitter Information
Discord Tag: Darkmatter#7321
Discord ID: 196282885601361920
Date/Time Submitted: 7/21/2020, 2:08:15 PM
Disclaimer: PLEASE READ
This issue was NOT written by the author of the repository OR the account that posted this issue. This issue was submitted through the program hosted in this repository, via Github's API, by someone that uses the program ("user"). The user can be found above.

thanks for the test

repo: DungeoneerExalt/ZeroRaidBot


text:
singbox安卓分享配置启动失败

配置来自分享，把订阅地址改了，免费节点删了，其他不变
app为singbox puernya最新版1.9.3

sfa-1.9.3-912b7619-arm64-v8a

啥机型，之前也看到有人反映这个问题，但我这边没有头绪。再更新一下 app 试试。

啥机型，之前也看到有人反映这个问题，但我这边没有头绪。再更新一下 app 试试。

红米k70，试了sfa-1.9.3-140eda53，还是一样的问题，删掉inbounds能启动，但是无法正常进行代理工作，vpn也没开启

啥机型，之前也看到有人反映这个问题，但我这边没有头绪。再更新一下 app 试试。

红米k70，试了sfa-1.9.3-140eda53，还是一样的问题，删掉inbounds能启动，但是无法正常进行代理工作，vpn也没开启

把你的配置贴出来看看。

啥机型，之前也看到有人反映这个问题，但我这边没有头绪。再更新一下 app 试试。

红米k70，试了sfa-1.9.3-140eda53，还是一样的问题，删掉inbounds能启动，但是无法正常进行代理工作，vpn也没开启

把你的配置贴出来看看。

  "log": { "level": "info", "timestamp": true },
  "dns": {
    "servers": [
      { "tag": "dns_block", "address": "rcode://success" },
      { "tag": "dns_direct", "address": [ "https://1.12.12.12/dns-query", "https://223.5.5.5/dns-query" ], "detour": "DIRECT" },
      { "tag": "dns_proxy", "address": [ "https://8.8.8.8/dns-query", "https://1.1.1.1/dns-query" ] }
    ],
    "rules": [
      { "outbound": "any", "server": "dns_direct" },
      { "clash_mode": "Direct", "server": "dns_direct" },
      { "clash_mode": "Global", "server": "dns_proxy" },
      { "rule_set": [ "ads" ], "server": "dns_block", "disable_cache": true, "rewrite_ttl": 0 },
      { "rule_set": [ "cn", "proxy" ], "query_type": [ "A", "AAAA" ], "server": "dns_fakeip", "rewrite_ttl": 0 },
      { "fallback_rules": [ { "rule_set": [ "cnip" ], "server": "dns_direct" }, { "match_all": true } ], "server": "dns_proxy" }
    ],
    "final": "dns_proxy",
    "strategy": "prefer_ipv4",
    "independent_cache": true,
    "reverse_mapping": true,
    "mapping_override": false,
    "fakeip": { "enabled": false }
  },
  "inbounds": [
    { "tag": "tun-in", "type": "tun", "interface_name": "sing-box", "inet4_address": "172.19.0.1/30", "inet6_address": "fdfe:dcba:9876::1/126", "auto_route": true, "strict_route": true, "stack": "mixed", "sniff": true }
  ],
  "outbounds": [
    { "tag": "🚀 节点选择", "type": "selector", "outbounds": [ "🇭🇰 香港节点","🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "🐟 漏网之鱼", "type": "selector", "outbounds": [ "🚀 节点选择", "🎯 全球直连" ] },
    { "tag": "📈 网络测试", "type": "selector", "outbounds": [ "🎯 全球直连", "🇭🇰 香港节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "🤖 人工智能", "type": "selector", "outbounds": [ "🚀 节点选择", "🇭🇰 香港节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "🎮 游戏服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🪟 微软服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🇬 谷歌服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🍎 苹果服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🇨🇳 直连域名", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🇨🇳 直连 IP", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🪜 代理域名", "type": "selector", "outbounds": [ "🚀 节点选择", "🎯 全球直连" ] },
    { "tag": "📲 电报消息", "type": "selector", "outbounds": [ "🚀 节点选择" ] },
    { "tag": "🔒 私有网络", "type": "selector", "outbounds": [ "🎯 全球直连" ] },
    { "tag": "🛑 广告拦截", "type": "selector", "outbounds": [ "REJECT" ] },
    { "tag": "🎯 全球直连", "type": "selector", "outbounds": [ "DIRECT" ] },
    { "tag": "REJECT", "type": "block" },
    { "tag": "DIRECT", "type": "direct" },
    { "tag": "GLOBAL", "type": "selector", "outbounds": [ "DIRECT", "REJECT", "🇭🇰 香港节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "dns-out", "type": "dns" },

    { "tag": "🇭🇰 香港节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇭🇰|香港" ] },
    { "tag": "🇯🇵 日本节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇯🇵|日本" ] },
    { "tag": "🇸🇬 新加坡节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇸🇬|新加坡" ] },
    { "tag": "🇺🇸 美国节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇺🇸|美国" ] }
  ],
  "outbound_providers": [
    {
      "tag": "laomao",
      "type": "remote",
      "download_url": "地址不给看",
      "path": "./laomao.yaml",
      "download_interval": "24h",
      "download_ua": "clash.meta",
      "healthcheck_url": "https://www.gstatic.com/generate_204",
      "healthcheck_interval": "10m"
    }
  ],
  "route": {
    "rules": [
      { "protocol": [ "dns" ], "outbound": "dns-out" },
      { "clash_mode": "Global", "outbound": "GLOBAL" },
      { "clash_mode": "Direct", "outbound": "DIRECT" },
      { "rule_set": [ "ads" ], "outbound": "🛑 广告拦截" },
      { "rule_set": [ "private" ], "outbound": "🔒 私有网络" },
      { "rule_set": [ "microsoft-cn" ], "outbound": "🪟 微软服务" },
      { "rule_set": [ "apple-cn" ], "outbound": "🍎 苹果服务" },
      { "rule_set": [ "google-cn" ], "outbound": "🇬 谷歌服务" },
      { "rule_set": [ "games-cn" ], "outbound": "🎮 游戏服务" },
      { "rule_set": [ "ai" ], "outbound": "🤖 人工智能" },
      { "rule_set": [ "networktest" ], "outbound": "📈 网络测试" },
      { "rule_set": [ "proxy" ], "outbound": "🪜 代理域名" },
      { "rule_set": [ "cn" ], "outbound": "🇨🇳 直连域名" },
      { "rule_set": [ "telegramip" ], "outbound": "📲 电报消息", "skip_resolve": true },
      { "rule_set": [ "privateip" ], "outbound": "🔒 私有网络", "skip_resolve": true },
      { "rule_set": [ "cnip" ], "outbound": "🇨🇳 直连 IP" }
    ],
    "rule_set": [
      {
        "tag": "ads",
        "type": "remote",
        "format": "binary",
        "path": "./ads.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/ads.srs"
      },
      {
        "tag": "private",
        "type": "remote",
        "format": "binary",
        "path": "./private.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/private.srs"
      },
      {
        "tag": "microsoft-cn",
        "type": "remote",
        "format": "binary",
        "path": "./microsoft-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/microsoft-cn.srs"
      },
      {
        "tag": "apple-cn",
        "type": "remote",
        "format": "binary",
        "path": "./apple-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/apple-cn.srs"
      },
      {
        "tag": "google-cn",
        "type": "remote",
        "format": "binary",
        "path": "./google-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/google-cn.srs"
      },
      {
        "tag": "games-cn",
        "type": "remote",
        "format": "binary",
        "path": "./games-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/games-cn.srs"
      },
      {
        "tag": "ai",
        "type": "remote",
        "format": "binary",
        "path": "./ai.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/ai.srs"
      },
      {
        "tag": "networktest",
        "type": "remote",
        "format": "binary",
        "path": "./networktest.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/networktest.srs"
      },
      {
        "tag": "proxy",
        "type": "remote",
        "format": "binary",
        "path": "./proxy.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/proxy.srs"
      },
      {
        "tag": "cn",
        "type": "remote",
        "format": "binary",
        "path": "./cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/cn.srs"
      },
      {
        "tag": "telegramip",
        "type": "remote",
        "format": "binary",
        "path": "./telegramip.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/telegramip.srs"
      },
      {
        "tag": "privateip",
        "type": "remote",
        "format": "binary",
        "path": "./privateip.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/privateip.srs"
      },
      {
        "tag": "cnip",
        "type": "remote",
        "format": "binary",
        "path": "./cnip.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/cnip.srs"
      }
    ],
    "final": "🐟 漏网之鱼",
    "auto_detect_interface": true,
    "override_android_vpn": true,
    "concurrent_dial": true
  },
  "experimental": {
    "cache_file": { "enabled": true },
    "clash_api": {
      "external_controller": "127.0.0.1:9090",
      "secret": "",
      "default_mode": "Rule"
    }
  }
}

啥机型，之前也看到有人反映这个问题，但我这边没有头绪。再更新一下 app 试试。

红米k70，试了sfa-1.9.3-140eda53，还是一样的问题，删掉inbounds能启动，但是无法正常进行代理工作，vpn也没开启

把你的配置贴出来看看。

  "log": { "level": "info", "timestamp": true },
  "dns": {
    "servers": [
      { "tag": "dns_block", "address": "rcode://success" },
      { "tag": "dns_direct", "address": [ "https://1.12.12.12/dns-query", "https://223.5.5.5/dns-query" ], "detour": "DIRECT" },
      { "tag": "dns_proxy", "address": [ "https://8.8.8.8/dns-query", "https://1.1.1.1/dns-query" ] }
    ],
    "rules": [
      { "outbound": "any", "server": "dns_direct" },
      { "clash_mode": "Direct", "server": "dns_direct" },
      { "clash_mode": "Global", "server": "dns_proxy" },
      { "rule_set": [ "ads" ], "server": "dns_block", "disable_cache": true, "rewrite_ttl": 0 },
      { "rule_set": [ "cn" ], "server": "dns_direct" },
      { "rule_set": [ "proxy" ], "server": "dns_proxy" },
      { "fallback_rules": [ { "rule_set": [ "cnip" ], "server": "dns_direct" }, { "match_all": true } ], "server": "dns_proxy" }
    ],
    "final": "dns_proxy",
    "strategy": "prefer_ipv4",
    "independent_cache": true,
    "reverse_mapping": true,
    "mapping_override": false,
    "fakeip": { "enabled": false }
  },
  "inbounds": [
    { "tag": "tun-in", "type": "tun", "interface_name": "sing-box", "inet4_address": "172.19.0.1/30", "inet6_address": "fdfe:dcba:9876::1/126", "auto_route": true, "strict_route": true, "stack": "mixed", "sniff": true }
  ],
  "outbounds": [
    { "tag": "🚀 节点选择", "type": "selector", "outbounds": [ "🇭🇰 香港节点","🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "🐟 漏网之鱼", "type": "selector", "outbounds": [ "🚀 节点选择", "🎯 全球直连" ] },
    { "tag": "📈 网络测试", "type": "selector", "outbounds": [ "🎯 全球直连", "🇭🇰 香港节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "🤖 人工智能", "type": "selector", "outbounds": [ "🚀 节点选择", "🇭🇰 香港节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "🎮 游戏服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🪟 微软服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🇬 谷歌服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🍎 苹果服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🇨🇳 直连域名", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🇨🇳 直连 IP", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🪜 代理域名", "type": "selector", "outbounds": [ "🚀 节点选择", "🎯 全球直连" ] },
    { "tag": "📲 电报消息", "type": "selector", "outbounds": [ "🚀 节点选择" ] },
    { "tag": "🔒 私有网络", "type": "selector", "outbounds": [ "🎯 全球直连" ] },
    { "tag": "🛑 广告拦截", "type": "selector", "outbounds": [ "REJECT" ] },
    { "tag": "🎯 全球直连", "type": "selector", "outbounds": [ "DIRECT" ] },
    { "tag": "REJECT", "type": "block" },
    { "tag": "DIRECT", "type": "direct" },
    { "tag": "GLOBAL", "type": "selector", "outbounds": [ "DIRECT", "REJECT", "🇭🇰 香港节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "dns-out", "type": "dns" },

    { "tag": "🇭🇰 香港节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇭🇰|香港" ] },
    { "tag": "🇯🇵 日本节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇯🇵|日本" ] },
    { "tag": "🇸🇬 新加坡节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇸🇬|新加坡" ] },
    { "tag": "🇺🇸 美国节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇺🇸|美国" ] }
  ],
  "outbound_providers": [
    {
      "tag": "laomao",
      "type": "remote",
      "download_url": "地址不给看",
      "path": "./laomao.yaml",
      "download_interval": "24h",
      "download_ua": "clash.meta",
      "healthcheck_url": "https://www.gstatic.com/generate_204",
      "healthcheck_interval": "10m"
    }
  ],
  "route": {
    "rules": [
      { "protocol": [ "dns" ], "outbound": "dns-out" },
      { "clash_mode": "Global", "outbound": "GLOBAL" },
      { "clash_mode": "Direct", "outbound": "DIRECT" },
      { "rule_set": [ "ads" ], "outbound": "🛑 广告拦截" },
      { "rule_set": [ "private" ], "outbound": "🔒 私有网络" },
      { "rule_set": [ "microsoft-cn" ], "outbound": "🪟 微软服务" },
      { "rule_set": [ "apple-cn" ], "outbound": "🍎 苹果服务" },
      { "rule_set": [ "google-cn" ], "outbound": "🇬 谷歌服务" },
      { "rule_set": [ "games-cn" ], "outbound": "🎮 游戏服务" },
      { "rule_set": [ "ai" ], "outbound": "🤖 人工智能" },
      { "rule_set": [ "networktest" ], "outbound": "📈 网络测试" },
      { "rule_set": [ "proxy" ], "outbound": "🪜 代理域名" },
      { "rule_set": [ "cn" ], "outbound": "🇨🇳 直连域名" },
      { "rule_set": [ "telegramip" ], "outbound": "📲 电报消息", "skip_resolve": true },
      { "rule_set": [ "privateip" ], "outbound": "🔒 私有网络", "skip_resolve": true },
      { "rule_set": [ "cnip" ], "outbound": "🇨🇳 直连 IP" }
    ],
    "rule_set": [
      {
        "tag": "ads",
        "type": "remote",
        "format": "binary",
        "path": "./ads.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/ads.srs"
      },
      {
        "tag": "private",
        "type": "remote",
        "format": "binary",
        "path": "./private.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/private.srs"
      },
      {
        "tag": "microsoft-cn",
        "type": "remote",
        "format": "binary",
        "path": "./microsoft-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/microsoft-cn.srs"
      },
      {
        "tag": "apple-cn",
        "type": "remote",
        "format": "binary",
        "path": "./apple-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/apple-cn.srs"
      },
      {
        "tag": "google-cn",
        "type": "remote",
        "format": "binary",
        "path": "./google-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/google-cn.srs"
      },
      {
        "tag": "games-cn",
        "type": "remote",
        "format": "binary",
        "path": "./games-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/games-cn.srs"
      },
      {
        "tag": "ai",
        "type": "remote",
        "format": "binary",
        "path": "./ai.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/ai.srs"
      },
      {
        "tag": "networktest",
        "type": "remote",
        "format": "binary",
        "path": "./networktest.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/networktest.srs"
      },
      {
        "tag": "proxy",
        "type": "remote",
        "format": "binary",
        "path": "./proxy.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/proxy.srs"
      },
      {
        "tag": "cn",
        "type": "remote",
        "format": "binary",
        "path": "./cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/cn.srs"
      },
      {
        "tag": "telegramip",
        "type": "remote",
        "format": "binary",
        "path": "./telegramip.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/telegramip.srs"
      },
      {
        "tag": "privateip",
        "type": "remote",
        "format": "binary",
        "path": "./privateip.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/privateip.srs"
      },
      {
        "tag": "cnip",
        "type": "remote",
        "format": "binary",
        "path": "./cnip.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/cnip.srs"
      }
    ],
    "final": "🐟 漏网之鱼",
    "auto_detect_interface": true,
    "override_android_vpn": true,
    "concurrent_dial": true
  },
  "experimental": {
    "cache_file": { "enabled": true },
    "clash_api": {
      "external_controller": "127.0.0.1:9090",
      "secret": "",
      "default_mode": "Rule"
    }
  }
}

复制完整了吗？开头缺一个 {

啥机型，之前也看到有人反映这个问题，但我这边没有头绪。再更新一下 app 试试。

红米k70，试了sfa-1.9.3-140eda53，还是一样的问题，删掉inbounds能启动，但是无法正常进行代理工作，vpn也没开启

把你的配置贴出来看看。

  "log": { "level": "info", "timestamp": true },
  "dns": {
    "servers": [
      { "tag": "dns_block", "address": "rcode://success" },
      { "tag": "dns_direct", "address": [ "https://1.12.12.12/dns-query", "https://223.5.5.5/dns-query" ], "detour": "DIRECT" },
      { "tag": "dns_proxy", "address": [ "https://8.8.8.8/dns-query", "https://1.1.1.1/dns-query" ] }
    ],
    "rules": [
      { "outbound": "any", "server": "dns_direct" },
      { "clash_mode": "Direct", "server": "dns_direct" },
      { "clash_mode": "Global", "server": "dns_proxy" },
      { "rule_set": [ "ads" ], "server": "dns_block", "disable_cache": true, "rewrite_ttl": 0 },
      { "rule_set": [ "cn" ], "server": "dns_direct" },
      { "rule_set": [ "proxy" ], "server": "dns_proxy" },
      { "fallback_rules": [ { "rule_set": [ "cnip" ], "server": "dns_direct" }, { "match_all": true } ], "server": "dns_proxy" }
    ],
    "final": "dns_proxy",
    "strategy": "prefer_ipv4",
    "independent_cache": true,
    "reverse_mapping": true,
    "mapping_override": false,
    "fakeip": { "enabled": false }
  },
  "inbounds": [
    { "tag": "tun-in", "type": "tun", "interface_name": "sing-box", "inet4_address": "172.19.0.1/30", "inet6_address": "fdfe:dcba:9876::1/126", "auto_route": true, "strict_route": true, "stack": "mixed", "sniff": true }
  ],
  "outbounds": [
    { "tag": "🚀 节点选择", "type": "selector", "outbounds": [ "🇭🇰 香港节点","🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "🐟 漏网之鱼", "type": "selector", "outbounds": [ "🚀 节点选择", "🎯 全球直连" ] },
    { "tag": "📈 网络测试", "type": "selector", "outbounds": [ "🎯 全球直连", "🇭🇰 香港节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "🤖 人工智能", "type": "selector", "outbounds": [ "🚀 节点选择", "🇭🇰 香港节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "🎮 游戏服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🪟 微软服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🇬 谷歌服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🍎 苹果服务", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🇨🇳 直连域名", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🇨🇳 直连 IP", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
    { "tag": "🪜 代理域名", "type": "selector", "outbounds": [ "🚀 节点选择", "🎯 全球直连" ] },
    { "tag": "📲 电报消息", "type": "selector", "outbounds": [ "🚀 节点选择" ] },
    { "tag": "🔒 私有网络", "type": "selector", "outbounds": [ "🎯 全球直连" ] },
    { "tag": "🛑 广告拦截", "type": "selector", "outbounds": [ "REJECT" ] },
    { "tag": "🎯 全球直连", "type": "selector", "outbounds": [ "DIRECT" ] },
    { "tag": "REJECT", "type": "block" },
    { "tag": "DIRECT", "type": "direct" },
    { "tag": "GLOBAL", "type": "selector", "outbounds": [ "DIRECT", "REJECT", "🇭🇰 香港节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
    { "tag": "dns-out", "type": "dns" },

    { "tag": "🇭🇰 香港节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇭🇰|香港" ] },
    { "tag": "🇯🇵 日本节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇯🇵|日本" ] },
    { "tag": "🇸🇬 新加坡节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇸🇬|新加坡" ] },
    { "tag": "🇺🇸 美国节点", "type": "urltest", "tolerance": 50, "use_all_providers": true, "includes": [ "🇺🇸|美国" ] }
  ],
  "outbound_providers": [
    {
      "tag": "laomao",
      "type": "remote",
      "download_url": "地址不给看",
      "path": "./laomao.yaml",
      "download_interval": "24h",
      "download_ua": "clash.meta",
      "healthcheck_url": "https://www.gstatic.com/generate_204",
      "healthcheck_interval": "10m"
    }
  ],
  "route": {
    "rules": [
      { "protocol": [ "dns" ], "outbound": "dns-out" },
      { "clash_mode": "Global", "outbound": "GLOBAL" },
      { "clash_mode": "Direct", "outbound": "DIRECT" },
      { "rule_set": [ "ads" ], "outbound": "🛑 广告拦截" },
      { "rule_set": [ "private" ], "outbound": "🔒 私有网络" },
      { "rule_set": [ "microsoft-cn" ], "outbound": "🪟 微软服务" },
      { "rule_set": [ "apple-cn" ], "outbound": "🍎 苹果服务" },
      { "rule_set": [ "google-cn" ], "outbound": "🇬 谷歌服务" },
      { "rule_set": [ "games-cn" ], "outbound": "🎮 游戏服务" },
      { "rule_set": [ "ai" ], "outbound": "🤖 人工智能" },
      { "rule_set": [ "networktest" ], "outbound": "📈 网络测试" },
      { "rule_set": [ "proxy" ], "outbound": "🪜 代理域名" },
      { "rule_set": [ "cn" ], "outbound": "🇨🇳 直连域名" },
      { "rule_set": [ "telegramip" ], "outbound": "📲 电报消息", "skip_resolve": true },
      { "rule_set": [ "privateip" ], "outbound": "🔒 私有网络", "skip_resolve": true },
      { "rule_set": [ "cnip" ], "outbound": "🇨🇳 直连 IP" }
    ],
    "rule_set": [
      {
        "tag": "ads",
        "type": "remote",
        "format": "binary",
        "path": "./ads.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/ads.srs"
      },
      {
        "tag": "private",
        "type": "remote",
        "format": "binary",
        "path": "./private.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/private.srs"
      },
      {
        "tag": "microsoft-cn",
        "type": "remote",
        "format": "binary",
        "path": "./microsoft-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/microsoft-cn.srs"
      },
      {
        "tag": "apple-cn",
        "type": "remote",
        "format": "binary",
        "path": "./apple-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/apple-cn.srs"
      },
      {
        "tag": "google-cn",
        "type": "remote",
        "format": "binary",
        "path": "./google-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/google-cn.srs"
      },
      {
        "tag": "games-cn",
        "type": "remote",
        "format": "binary",
        "path": "./games-cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/games-cn.srs"
      },
      {
        "tag": "ai",
        "type": "remote",
        "format": "binary",
        "path": "./ai.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/ai.srs"
      },
      {
        "tag": "networktest",
        "type": "remote",
        "format": "binary",
        "path": "./networktest.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/networktest.srs"
      },
      {
        "tag": "proxy",
        "type": "remote",
        "format": "binary",
        "path": "./proxy.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/proxy.srs"
      },
      {
        "tag": "cn",
        "type": "remote",
        "format": "binary",
        "path": "./cn.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/cn.srs"
      },
      {
        "tag": "telegramip",
        "type": "remote",
        "format": "binary",
        "path": "./telegramip.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/telegramip.srs"
      },
      {
        "tag": "privateip",
        "type": "remote",
        "format": "binary",
        "path": "./privateip.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/privateip.srs"
      },
      {
        "tag": "cnip",
        "type": "remote",
        "format": "binary",
        "path": "./cnip.srs",
        "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box-ruleset/cnip.srs"
      }
    ],
    "final": "🐟 漏网之鱼",
    "auto_detect_interface": true,
    "override_android_vpn": true,
    "concurrent_dial": true
  },
  "experimental": {
    "cache_file": { "enabled": true },
    "clash_api": {
      "external_controller": "127.0.0.1:9090",
      "secret": "",
      "default_mode": "Rule"
    }
  }
}

复制完整了吗？开头缺一个 {
是完整的，但是手滑没打回车，没渲染出来

"stack": "mixed" 改成 "stack": "system" 试试呢？

@DustinWin 好，我现在把所有模式都试一遍

@DustinWin 好，我现在把所有模式都试一遍

还有把 "interface_name": "sing-box" 配置项删掉。

@DustinWin 好，我先把interface_name这个键值删了，再试tun各种模式

@DustinWin 老哥眼光毒辣，确实是stack模式的问题，换成system解决了

@DustinWin stack为gvisor可以，在我这网速比system快。stack为gVisor就不行，一样的弹窗报错，估计是大小写判断问题？
这应该是为什么mixed不行的原因。晕。

@DustinWin stack为gvisor可以，在我这网速比system快。stack为gVisor就不行，一样的弹窗报错，估计是大小写判断问题？
这应该是为什么mixed不行的原因。晕。

多看文档，很明显没有 gVisor 这样的写法。

@DustinWin 可文档就是这么写的，那就是文档有误
https://sing-box.sagernet.org/zh/configuration/inbound/tun/#route_exclude_address_set

@DustinWin 可文档就是这么写的，那就是文档有误 https://sing-box.sagernet.org/zh/configuration/inbound/tun/#route_exclude_address_set

@DustinWin 可文档就是这么写的，那就是文档有误 https://sing-box.sagernet.org/zh/configuration/inbound/tun/#route_exclude_address_set

@DustinWin 可文档就是这么写的，那就是文档有误 https://sing-box.sagernet.org/zh/configuration/inbound/tun/#route_exclude_address_set

神奇

authors: DustinWin suikastar


text:
REFACT: Project build to pyproject.toml

updated project build to use pyproject.toml instead of setup.py;
transferred previous build parameters from setup.py to pyproject.toml;
added versioning via https://setuptools-git-versioning.readthedocs.io/en/stable/index.html;

base development version is currently 0.3.0 while testing the release process;
the development version scheme is based on: https://setuptools-git-versioning.readthedocs.io/en/stable/schemas/file/version_file.html;
using a variation of this to create development versions for PyPI Test: https://setuptools-git-versioning.readthedocs.io/en/stable/schemas/file/dev_release_file.html;
the version template for the dynamic version is "{tag}.dev{env:GITHUB_RUN_NUMBER:{ccount}}", see https://setuptools-git-versioning.readthedocs.io/en/stable/substitutions/index.html for template details;

added LICENSE file with Apache 2.0 license for reference from pyproject.toml;
removed setup.py; and
added .vscode/ to .gitignore.

@carlwilson
I have tried checking out the code on a shorter path in Windows.
It seems to be problems with the colon ":" character under tests, as this is a prohibited char in win.
Can we do something about this?
z6scf@A51845 MINGW64 /c/E-Ark
$ git clone https://github.com/carlwilson/py-eark-ip-validator.git
Cloning into 'py-eark-ip-validator'...
remote: Enumerating objects: 931, done.
remote: Counting objects: 100% (931/931), done.
remote: Compressing objects: 100% (351/351), done.
remote: Total 931 (delta 548), reused 899 (delta 516), pack-reused 0
Receiving objects: 100% (931/931), 615.25 KiB | 3.38 MiB/s, done.
Resolving deltas: 100% (548/548), done.
z6scf@A51845 MINGW64 /c/E-Ark
$ cd py-eark-ip-validator/
z6scf@A51845 MINGW64 /c/E-Ark/py-eark-ip-validator (main)
$ git branch -a

main
remotes/origin/HEAD -> origin/main
remotes/origin/app/corpus-validator
remotes/origin/feat/autospec
remotes/origin/feat/corpus-reporting
remotes/origin/feat/gh-actions-build
remotes/origin/main
remotes/origin/refact/cli
remotes/origin/refact/model
remotes/origin/refact/python-build
remotes/origin/refact/typesafety
remotes/origin/refact/validators

z6scf@A51845 MINGW64 /c/E-Ark/py-eark-ip-validator (main)
$ git checkout --track origin/refact/python-build
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:3c0e58e4-e76e-4029-8625-c7fb20985933.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:3e281637-0499-4a75-898d-a0495ec482cd.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:3f415e20-5148-4d09-850b-5dcfb5c524f5.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:771e6d74-ce9e-40cc-8b8b-18e1f792397f.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:a7826c53-cf4b-4e93-baa4-9e74cdc159fc.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:a9399785-fbdc-43a5-b3fc-b0a9826e2082.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:c6308cdb-2696-4431-9572-4322ae9f1bdc.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:e476189a-3403-426f-9a8b-5823e3850f83.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:f01528c6-0a01-40d3-abcf-bdbf611837da.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/metadata/preservation/urn:roda:premis:event:f6cae1e0-2c38-408c-a31a-8854118bd77b.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/representations/rep1/metadata/preservation/urn:roda:premis:file:RODA-in.png.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031-bad/representations/rep1/metadata/preservation/urn:roda:premis:representation:cfb449b3-ca41-3f81-ba06-bb8f57ee601e.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:3c0e58e4-e76e-4029-8625-c7fb20985933.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:3e281637-0499-4a75-898d-a0495ec482cd.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:3f415e20-5148-4d09-850b-5dcfb5c524f5.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:771e6d74-ce9e-40cc-8b8b-18e1f792397f.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:a7826c53-cf4b-4e93-baa4-9e74cdc159fc.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:a9399785-fbdc-43a5-b3fc-b0a9826e2082.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:c6308cdb-2696-4431-9572-4322ae9f1bdc.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:e476189a-3403-426f-9a8b-5823e3850f83.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:f01528c6-0a01-40d3-abcf-bdbf611837da.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/metadata/preservation/urn:roda:premis:event:f6cae1e0-2c38-408c-a31a-8854118bd77b.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/representations/rep1/metadata/preservation/urn:roda:premis:file:RODA-in.png.xml'
error: invalid path 'tests/resources/ips/unpacked/733dc055-34be-4260-85c7-5549a7083031/representations/rep1/metadata/preservation/urn:roda:premis:representation:cfb449b3-ca41-3f81-ba06-bb8f57ee601e.xml'
z6scf@A51845 MINGW64 /c/E-Ark/py-eark-ip-validator (main)

I think that I should be able to do something about this, it's a far from reliable/elegant solution. Will refactor the tests and push to this branch.

Can we do something about this?

I've pushed a fix up @scfkmd that's purged the colons for now.

I have a few findings based on testing on Windows and a Linux env.
Maybe we should consider supporting just Linux for the moment being and focus on Windows later on?
Testing on Linux I get the following error from ip-check when running against a .zip and a directory (similar results):
(venv) scf@ark-eark01:~/py-eark-ip-validator$ ip-check ../mets-xml_metsHdr_agent_note_NOTETYPE_valid.zip
Traceback (most recent call last):
  File "/home/UVD/scf/py-eark-ip-validator/venv/bin/ip-check", line 5, in <module>
    from ip_validation.cli.app import main
  File "/home/UVD/scf/py-eark-ip-validator/venv/lib/python3.10/site-packages/ip_validation/cli/app.py", line 34, in <module>
    import ip_validation.infopacks.structure as STRUCT
ModuleNotFoundError: No module named 'ip_validation.infopacks.structure'

Testing on Windows I had to setup and run the virtual environment in a different way:
pip install virtualenv
virtualenv --python C:\Path\To\Python\python.exe venv
.\venv\Scripts\activate

Running the ip-check on Windows gave me this error:
(venv) [path to validator]\py-eark-ip-validator>ip-check mets-xml_metsHdr_agent_note_NOTETYPE_valid.zip
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "[path to validator]\py-eark-ip-validator\venv\Scripts\ip-check.exe_main.py", line 4, in
File "[path to validator]\py-eark-ip-validator\venv\Lib\site-packages\ip_validation\cli\app.py", line 34, in
import ip_validation.structure as STRUCT
File "[path to validator]\py-eark-ip-validator\venv\Lib\site-packages\ip_validation\structure.py", line 32, in
from ip_validation.rules import Severity
File "[path to validator]\py-eark-ip-validator\venv\Lib\site-packages\ip_validation\rules.py", line 33, in
from ip_validation.specifications.specification import EarkSpecifications, Specification
File "[path to validator]\py-eark-ip-validator\venv\Lib\site-packages\ip_validation\specifications\specification.py", line 33, in
from ip_validation.xml.schema import METS_PROF_SCHEMA
File "[path to validator]\py-eark-ip-validator\venv\Lib\site-packages\ip_validation\xml\schema.py", line 35, in
'csip': etree.XMLSchema(file=str(files(SCHEMA).joinpath('mets.csip.local.v2-0.xsd'))),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src\lxml\xmlschema.pxi", line 89, in lxml.etree.XMLSchema.init
lxml.etree.XMLSchemaParseError: Failed to locate the main schema resource at '[path to validator]\py-eark-ip-validator\venv\Lib\site-packages\ip_validation\xml\resources\schema\mets.csip.local.v2-0.xsd'.

@scfkmd Sorry, I should have seen this earlier. Don't get too concerned about those results, I know that some of that is broken after I brutally refactored for unit testability. I have further PR branches stacked that will fix these as we go sorry. For now you should only worry if the build and pytests fail.
Apologies.

authors: carlwilson scfkmd

repo: E-ARK-Software/py-eark-ip-validator


text:
Benchmarks after pip install candle_lib

It picks up candle from pip, which is a good thing, but there are bugs that we need to fix for it work:
(base) jain @ jain ~/projects/Benchmarks/Pilot1/NT3 (develop)
└─ $ ▶ python nt3_baseline_keras2.py
Importing candle utils for keras
Traceback (most recent call last):
  File "nt3_baseline_keras2.py", line 16, in <module>
    import nt3 as bmk
  File "/home/jain/projects/Benchmarks/Pilot1/NT3/nt3.py", line 61, in <module>
    class BenchmarkNT3(candle.Benchmark):
AttributeError: module 'candle' has no attribute 'Benchmark'

this is fixed. set CANDLE_DATA_DIR in your env and try again.

Yes. It works. Thanks. Will add noise tests soon

authors: hyoo rajeeja


text:
Better dashboard

Dashboard that knows the sites, their domains/aliases, current state, and can run common commands against it.

Looking at Laravel as possible system for this.

repo: EHLOVader/VVV


text:
Suggestion: Minimize all windows option on taskbar menu

An option to minimize all windows would be fantastic in the right click menu on the task bar.

Ooh, I'll see about getting this added.

Awesome! Please also add an option to restore when that function is used as well!

Yeah, if I can get it working, it'll be a toggle.

I'm going to merge this suggestion with #33, just so that it's easier to keep them in mind when working on each other.
It's gonna take a bit to get to it, as I've got to figure a couple things out.

authors: EJWellman chiefscott

repo: EJWellman/QuarmTool


text:
[#140290941] move after_success to own script

Moves the after_success clause of .travis.yml to a separate
ci/after_success.sh script for easier editing, maintenance, and
portability.

Coverage decreased (-94.4%) to 0.0% when pulling 6d8b47d3bb78159de7d60b83aa308ac6f83b1bf3 on 140290941-move-ci-scripts into 634b872daf3507fd71876a7dae90063a5f47b9d2 on master.

Coverage decreased (-94.4%) to 0.0% when pulling e51d3e910e28768c35f18ea87a163db9d76be6a6 on 140290941-move-ci-scripts into 634b872daf3507fd71876a7dae90063a5f47b9d2 on master.

authors: ELD coveralls

repo: ELD/Aluminum-rs


text:
add import onnx in example

add import onnx in example

hi @seriousran,
Thanks for your contribution!


text:
Why don't we stop unix_server from listening in shutdown stage as well?

https://github.com/EOSIO/eos/blob/59626f1e6361df3b715e926ee13a9a8e84d177af/plugins/http_plugin/http_plugin.cpp#L550
add

      if(my->unix_server.is_listening())
         my->unix_server.stop_listening();

Which should also unlink the socket file.  Pull requests gratefully accepted.  Please branch from the develop branch.

We should also unlink the socket file

Already does that

https://github.com/EOSIO/eos/blob/59626f1e6361df3b715e926ee13a9a8e84d177af/plugins/http_plugin/include/eosio/http_plugin/local_endpoint.hpp#L205

oh and here too, so it looks like stop_listenting() should remove it
https://github.com/EOSIO/eos/blob/59626f1e6361df3b715e926ee13a9a8e84d177af/plugins/http_plugin/include/eosio/http_plugin/local_endpoint.hpp#L435

I think the destructor is not enough.  The shutdown stage need explicit call.

Fix merged

authors: evsward jgiszczak spoonincode

repo: EOSIO/eos


text:
Improve Error message on Transaction Class

The Transaction object keeps returning errors with the reason self does not exist
It is very hard to debug given this error message.
Could we have better description on the errors?

Hi Mau. Thanks for your request. Logging this as an enhancement so that we can look into improving these error messages.

I understood what was causing this error.
The reason was because the Transaction object was out of the scope when the event loop would call the sign function, hence the self does not exist.
I think this error message should be changed to self does not exist. object left scope. Consider instantiating object outside the current scope.
But I agree that now that I understand the problem and the data flow of the library, this is a very minor improvement and the current error message is OK. It helps if you know what you are doing as a concise remainder , but it is not friendly towards new users.

Closing; we will work to improve error messages. But this appears to be related to the application's code, not the SDK's code.

Hi @brandonfancher I stuck with this bug, I follow the example but the error self does not exist happen. How Can i fix it
Thanks you so much!

Hi @quochuynh67. Do you have any example code you can post here? Could it be that your Transaction object is also leaving scope?

authors: brandonfancher mauhcs quochuynh67

repo: EOSIO/eosio-swift