text:
Error when trying to save auth cookie for youtube music

What version of Music Assistant has the issue?
2.3.3
What version of the Home Assistant Integration have you got installed?
2024.12.3
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
When trying to save the cookie the following error pops ups:
ERROR: [youtube] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats
How to reproduce
add youtube music  provider, enter information and press save
Music Providers
youtube music
Player Providers
N/A as i cant add the provider
Full log output
music-assistant.log
Additional information
youtube music stopped working yesterday so i went to add the cookie again thinking that it timed out. But could not save the new cookie.
What version of Home Assistant Core are your running
2024.12.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

With debug log on:
`yt_dlp.utils.DownloadError: ERROR: [youtube] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/venv/lib/python3.12/site-packages/music_assistant/controllers/webserver.py", line 361, in _run_handler
result = await result
^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/controllers/config.py", line 272, in save_provider_config
config = await self._add_provider_config(provider_domain, values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/controllers/config.py", line 836, in _add_provider_config
await self.mass.load_provider_config(config)
File "/app/venv/lib/python3.12/site-packages/music_assistant/mass.py", line 438, in load_provider_config
await self._load_provider(prov_conf)
File "/app/venv/lib/python3.12/site-packages/music_assistant/mass.py", line 616, in _load_provider
await provider.handle_async_init()
File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/ytmusic/init.py", line 184, in handle_async_init
if not await self._user_has_ytm_premium():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/ytmusic/init.py", line 779, in _user_has_ytm_premium
stream_format = await self._get_stream_format(YTM_PREMIUM_CHECK_TRACK_ID)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/ytmusic/init.py", line 761, in _get_stream_format
return await asyncio.to_thread(_extract_best_stream_url_format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/threads.py", line 25, in to_thread
return await loop.run_in_executor(None, func_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/ytmusic/init.py", line 756, in _extract_best_stream_url_format
raise UnplayableMediaError(err) from err
music_assistant_models.errors.UnplayableMediaError: ERROR: [youtube] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats`

So the problem seems to be the inital sync some format change that requires newer yt_dlp?

Possible solution:
Rebuild (and fix any breaking changes) after changing to yt-dlp==2024.12.13 in https://github.com/music-assistant/server/blob/dev/requirements_all.txt
Finally fixed 4 days ago in yt-dlp 2024.12.13 after multiple PRs:
https://github.com/yt-dlp/yt-dlp/pull/11750
https://github.com/yt-dlp/yt-dlp/pull/11751
https://github.com/yt-dlp/yt-dlp/pull/11752
https://github.com/yt-dlp/yt-dlp/pull/11801
Original yt-dlp issue reported 2 weeks ago:
https://github.com/yt-dlp/yt-dlp/issues/11744

The dev is looking at it. Google continues to make changes which make it increasing difficult to come up with a workable solution.

The dev is looking at it. Google continues to make changes which make it increasing difficult to come up with a workable solution.

We're all aware of the neverending game of cat and mouse with Google, unfortunately. 😮💨 Every year, I separate another part of my life from Google's ecosystem. A music divorce may have to be a 2025 goal, at this rate. I really wish they would just let us paying customers have our music the way we want. I guess they just don't want our money bad enough. 🤷♂

The dev is looking at it. Google continues to make changes which make it increasing difficult to come up with a workable solution.

We're all aware of the neverending game of cat and mouse with Google, unfortunately. 😮💨 Every year, I separate another part of my life from Google's ecosystem. A music divorce may have to be a 2025 goal, at this rate. I really wish they would just let us paying customers have our music the way we want. I guess they just don't want our money bad enough. 🤷♂

I agree. 2024 was when I finally broke down and switched from the abysmally bad google speakers for music to a SONOS system. I was hoping to use Music Assistant with my YT Music playlists because the Sonos app truncates YT playlists at some low song count like 100, making me wonder why I was listening to the same 100 songs on repeat from a playlist of thousands of songs. But Sonos doesn't mention that. It's cat-and-mouse all over again and we're the mouse.

As a joke: I can't believe Rick Astley's dQw4w9WgXcQ has let us down.
(Feel free to delete this comment posted only for humor)

Can confirm same error here: ERROR: [youtube] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats

Updated to Home Assistant 2024.12 today and I'm unable to use YouTube Music in Music Assistant now too. That's a bummer. I hope this is soon fixed.
My error:
ERROR: [youtube] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats

Thanks we don’t need any +1s we know the problem

I just tried installing Music Assistant for the first time and got the error.
Wild that the error is the video ID for Never Gonna Give You Up.
Good to see this is a recent thread so it's not a me thing.
GL with the fix and thank you!

ERROR: [youtube] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats
I have the same issue, and I got the cookie the same way as before, but now it doesn't work...

2.3.4 includes the current fix for this. Beta to follow. Expect a 5-10 sec delay before playback commences. If it’s faster that is a bonus.

Updated - working for me. 🔥
Thank you!

authors: Dnny44 Liefxx OzGav TheWebMachine afs5327 cybik kaiserkiwi reyjeevehm small1 szemod wildoracle


text:
note@dots.ges

An attribute dots.ges is needed for gestural durations.
I don't see it in the attributes for notes:
http://music-encoding.org/documentation/3.0.0/note
so it should be added.
Example:

Verovio implements dur/dur.ges, but cannot align the second notes on each staff in the first measure because dots.ges is not available to give a dotted gestural duration.
Test data:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://music-encoding.org/schema/4.0.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://music-encoding.org/schema/4.0.0/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="4.0.0">
    <meiHead>
        <fileDesc>
            <titleStmt>
                <title />
            </titleStmt>
            <pubStmt />
        </fileDesc>
        <encodingDesc>
            <appInfo>
                <application isodate="2017-10-09T18:15:59" version="2.0.0-dev-d484cb6-dirty">
                    <name>Verovio</name>

Transcoded from Humdrum

                </application>
            </appInfo>
        </encodingDesc>
        <workDesc>
            <work>
                <titleStmt>
                    <title />
                </titleStmt>
            </work>
        </workDesc>
    </meiHead>
    <music>

            <mdiv>
                <score>
                    <scoreDef xml:id="scoredef-0000001101442804" midi.bpm="400">
                        <staffGrp xml:id="staffgrp-0000001709012224" symbol="brace" barthru="true">
                            <staffDef xml:id="staffdef-0000000774670143" clef.shape="G" clef.line="2" meter.count="6" meter.unit="8" n="1" lines="5" />
                            <staffDef xml:id="staffdef-0000002129874453" clef.shape="F" clef.line="4" meter.count="6" meter.unit="8" n="2" lines="5" />
                        </staffGrp>
                    </scoreDef>

                        <measure xml:id="measure-L3" n="1">
                            <staff xml:id="staff-L3F2N1" n="1">
                                <layer xml:id="layer-L3F2N1" n="1">
                                    <note xml:id="note-L5F2" dots="1" dur="4" oct="4" pname="c" accid.ges="n" />
                                    <note xml:id="note-L6F2" dots="1" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-L3F1N1" n="2">
                                <layer xml:id="layer-L3F1N1" n="1">
                                    <note xml:id="note-L5F1" dur.ges="4" dots.ges="1" dur="4" oct="3" pname="c" accid.ges="n" />
                                    <note xml:id="note-L6F1" dots="1" dur="4" oct="3" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-L7" right="end" n="2">
                            <staff xml:id="staff-L7F2N1" n="1">
                                <layer xml:id="layer-L7F2N1" n="1">
                                    <note xml:id="note-L8F2" dots="1" dur="2" oct="4" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-L7F1N1" n="2">
                                <layer xml:id="layer-L7F1N1" n="1">
                                    <note xml:id="note-L8F1" dots="1" dur="2" oct="3" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>

                </score>
            </mdiv>

    </music>
</mei>

If @dur.ges allowed the usual power-of-two values, then @dots.ges would make sense.  However, @dur.ges can only be expressed as clicks/ticks per quarter note, Humdrum **recip values, etc. which include any necessary "dots".  For example, in this case, @dur.ges="3b" works; that is, 3 beats of a 6-beat measure.

Thanks, using @dur.ges="3b" will work for me.  I will be checking if verovio supports it, and submit a bug report over there if it does not work :-)
But of course seeing the term "beat" be used for the eighth note in this case will trigger the commentary:  Note that the musical beat is the dotted quarter note, not the eighth note, which seems to be the "MEI beat" :-)   Maybe @dur.ges="3u" would be better, with u standing for the @meter.unit value of the meter.  Also, I wonder how to specify a similar thing when the meter is undefined? If a measure with such information is pulled out from a score, the meter.unit content from a previous point in the score would also have to be extracted as well.

I think you're right -- switching to "u" would be better.  Should we break compatibility now or later?  It's easy to do now.
If the meter is undefined, then values in pulses-per-quarter-note have to be used.  In that case, however, I wouldn't expect just one measure to have different values, but rather the entire piece to use pulses-per-quarter.  Alternatively, one could pretend the measure is in some meter and provide @dur.ges values that match, but then not display the meter signature.

Yes, switching to u to mean meter.unit units would get me to stop whining about that point :-).  Presumably for MEI 4 and not for MEI 3, of course.

source: gharchive/issue

authors: craigsapp pe-ro

repo: music-encoding/music-encoding

license_type: permissive

license_source: github-api


text:
add @ornam on note and chord

From pd...@virginia.edu on March 27, 2012 10:34:27
Encoders often need a method for indicating that a note or chord has an attached ornament with resorting to controlevents, such as <trill>.  See the attached image (inlineTrill.bmp) as an example.
The attached ODD customization file (meiWithOrnam.xml) provides a possible solution. It adds data.ORNAM and data.ORNAMS datatypes for the value of the @-ornam attribute, which is then made available on note and chord elements.
Also attached is an RNG schema and a test file.
Attachment: meiWithOrnam.xml meiWithOrnam.rng ornamTest.mei inlineTrill.bmp
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=59

From pd...@virginia.edu on June 21, 2012 05:44:35
Labels: -Type-Enhancement Type-Bug

From pd...@virginia.edu on June 22, 2012 14:54:40
Status: Started

From pd...@virginia.edu on June 27, 2012 14:17:55
This issue was closed by revision r582 .
Status: Fixed


text:
Issue building the image with ADD run /

Hi thanks for sharing you job.
I having a issue building the image specifically at
Step 2 : ADD run /
lstat run: no such file or directory
do you know why?

NVM, Oh I see, RUN is a sh. sorry

repo: mvertes/docker-alpine-mongo

license: mit

license_source: bigquery


text:
Adds BuilderList widget.

LGTM, just make the color declaration consistent

Comments from the review on Reviewable.io

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.

Comments from the review on Reviewable.io

Done.

Review status: 2 of 3 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.

widgets/builderlist/builderlist.js, line 33 [r1] (raw file):
:tada:

Comments from the review on Reviewable.io

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.

Comments from the review on Reviewable.io

source: gharchive/pull-request

authors: liavkoren mverteuil

repo: mverteuil/widget-party


text:
Make compatible with GHC 8.8

Fixes #4.
Can you please make a release once you merge?

Closed in favor of #3

authors: mvv nikita-volkov

repo: mvv/network-ip


text:
Access to the underlying image in didDisplayPhotoAtIndex delegate?

I supply MWPhotoBrowser with a set of urls, but would like to get access to the UIImage after they are downloaded. In the didDisplayPhotoAtIndex I get the index of the photo, but I don't see a way to get the underlying image.
I also experimented with the MWPHOTO_LOADING_DID_END_NOTIFICATION notification, but that is not always firing correctly for my purpose.
Any suggestions?

@aadjemonkeyrock Have you try underlyingImage property in MWPhoto? Maybe you need to make it public first.

authors: aadjemonkeyrock jiangyancong

repo: mwaterfall/MWPhotoBrowser


text:
Deleting a key from a map does not unobserve calculated values first

When deleting a key from a map, if the value at that key is an object that has a calculated property with the said object as a dependency, the calculation executes after the object is undefined, which throws an error.
import {observable, map, autorun} from 'mobservable';
const myObservable = observable({
    myMap: map()
});
myObservable.myMap.set('myId', {
    myProp: 'myPropValue',
    myCalculatedProp: () => {
        return myObservable.myMap.get('myId').myProp + ' calculated';
    }
});
// the error only happens if the value is observed
autorun(() => {
    console.log(myObservable.myMap.get('myId').myCalculatedProp);
});
myObservable.myMap.delete('myId');

/*[mobservable.view '.myId.myCalculatedProp'] There was an uncaught error during the computation of ComputedObservable[.myId.myCalculatedProp (current value:'myPropValue calculated')] function myCalculatedProp() {
        return myObservable.myMap.get('myId').myProp + ' calculated';
    }*/

/*Uncaught TypeError: Cannot read property 'myProp' of undefined*/

Since myCalculatedProp is no longer observable after its parent object is deleted from the map, shouldn't it be expected that it won't execute?

Sorry, the autorun should be this. Same error, of course.
autorun(() => {
    myObservable.myMap.values().forEach(value => {
        console.log(value.myCalculatedProp);
    });
});

Thanks, gonna look into this to see whether this is a preventable situation. Note btw that using return this.myProp + ' calculated' or first calling map.has('myId') will both solve the situation.

Yes, I solved it by using .has() already. It's not a big deal since the workaround is so easy.
I posted this because my app has a lot of calculated properties. I have a lot of interrelated stores and use calculated properties to essentially cache things that are multiple hops away from whatever object I happen to have at hand. Having to check whether an object has been deleted from the store in every calculated property adds clutter and conceptually there's no reason to, so I thought I'd post here.
Thank you, btw, for making mobservable. I'm moving my app from redux and it's been really great.

I thought about this one but I think its behavior is correct:

the observable expression cannot be cleaned up immediately after removing the object, because you could have references to the same object anywhere in your app, so the expression is potentially still used.
In your example the expression is actually still marked as in use, namely by the autorun.
Once the autorun run's, it will detect that it was previously using your expression but not anymore (since the key has disappeared from the collection), so that is the moment the expression is cleaned up.
However, before that autorun the calculated expression is evaluated once, because mobservable tries to evaluate any dependent expression before running the autorun, to avoid the autorun from running with stale values. The expression is re-evaluated because the map itself changed, so it's value is indeed no longer correct.

This might not be relevant for your real case, but note that in your specific example you could solve it by using this. In general, if your object A has a computed property that depends on another object B which is always the same one, you can also just store a reference to that object B on your object A to avoid the map lookup.
In general you need a lot less maps when you migrate from Redux to Mobservable. Most collection I have just store stuff in observable arrays instead of maps because I hardly need lookups; you can just make real references to other objects in the constructor or after creation. Since you don't need to normalize the data, a lot of lookup caches will disappear.

I'm convinced, thank you. Using this works for the majority of my use cases, that's a great suggestion and something I should've done from the start. I have to use a regular function instead of fat arrow, of course. I'm fairly new to JS still. Here is the updated, working example code if anyone reading this is interested:
import {observable, map, autorun} from 'mobservable';
const myObservable = observable({
    myMap: map()
});
myObservable.myMap.set('myId', {
    myProp: 'myPropValue',
    myCalculatedProp: function () {
        return this.myProp + ' calculated';
    }
});
// the error only happens if the value is observed
autorun(() => {
    myObservable.myMap.values().forEach(value => {
        console.log(value.myCalculatedProp);
    });
});
myObservable.myMap.delete('myId');

I can't see a way to not use maps for my use case, but could be totally wrong. I hope to see mobservable (rivlets?) at a conference in the future or catch you in a more QA format somewhere so I can learn.

I'll be speaking at React Amsterdam conference in april. So feel free to join. Tickets are still available :)

authors: mweststrate tcrognon

repo: mweststrate/mobservable

license: MIT


text:
Not work with CARTHAGE

The following build commands failed:
Ld /Users/rinatmuhamedgaliev/Library/Developer/Xcode/DerivedData/PromiseKit-gjsrfcjglnkexhfxuvrzdcwyboqg/Build/Intermediates/PromiseKit.build/Release-iphoneos/PMKiOSUITestsHost.build/Objects-normal/armv7/PMKiOSUITestsHost normal armv7
Ld /Users/rinatmuhamedgaliev/Library/Developer/Xcode/DerivedData/PromiseKit-gjsrfcjglnkexhfxuvrzdcwyboqg/Build/Intermediates/PromiseKit.build/Release-iphoneos/PMKiOSUITestsHost.build/Objects-normal/arm64/PMKiOSUITestsHost normal arm64
(2 failures)
A shell task (/usr/bin/xcrun xcodebuild -project /Users/rinatmuhamedgaliev/Projects/xxxxxx-client/Carthage/Checkouts/PromiseKit/PromiseKit.xcodeproj -scheme PMKiOS -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
Ld /Users/rinatmuhamedgaliev/Library/Developer/Xcode/DerivedData/PromiseKit-gjsrfcjglnkexhfxuvrzdcwyboqg/Build/Intermediates/PromiseKit.build/Release-iphoneos/PMKiOSUITestsHost.build/Objects-normal/armv7/PMKiOSUITestsHost normal armv7
Ld /Users/rinatmuhamedgaliev/Library/Developer/Xcode/DerivedData/PromiseKit-gjsrfcjglnkexhfxuvrzdcwyboqg/Build/Intermediates/PromiseKit.build/Release-iphoneos/PMKiOSUITestsHost.build/Objects-normal/arm64/PMKiOSUITestsHost normal arm64
(2 failures)

I'm having the same issue.
I checked in the logs, I think the issue could lie in the PMKiOSUITestsHost:
Ld /Users/XXX/Library/Developer/Xcode/DerivedData/PromiseKit-dzbgegkpvalpmqdgfvdnvsgwbmgj/Build/Intermediates/PromiseKit.build/Release-iphoneos/PMKiOSUITestsHost.build/Objects-normal/armv7/PMKiOSUITestsHost normal armv7     cd /XXX/Carthage/Checkouts/PromiseKit     export IPHONEOS_DEPLOYMENT_TARGET=8.3     export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/XXX/.rvm/gems/ruby-2.3.0/bin:/Users/XXX/.rvm/gems/ruby-2.3.0@global/bin:/Users/XXX/.rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/XXX/.rvm/bin"     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Users/XXX/Library/Developer/Xcode/DerivedData/PromiseKit-dzbgegkpvalpmqdgfvdnvsgwbmgj/Build/Products/Release-iphoneos -F/Users/XXX/Library/Developer/Xcode/DerivedData/PromiseKit-dzbgegkpvalpmqdgfvdnvsgwbmgj/Build/Products/Release-iphoneos -filelist /Users/XXX/Library/Developer/Xcode/DerivedData/PromiseKit-dzbgegkpvalpmqdgfvdnvsgwbmgj/Build/Intermediates/PromiseKit.build/Release-iphoneos/PMKiOSUITestsHost.build/Objects-normal/armv7/PMKiOSUITestsHost.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.3 -dead_strip -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/XXX/Library/Developer/Xcode/DerivedData/PromiseKit-dzbgegkpvalpmqdgfvdnvsgwbmgj/Build/Products/Release-iphoneos -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/XXX/Library/Developer/Xcode/DerivedData/PromiseKit-dzbgegkpvalpmqdgfvdnvsgwbmgj/Build/Intermediates/PromiseKit.build/Release-iphoneos/PMKiOSUITestsHost.build/Objects-normal/armv7/PMKiOSUITestsHost.swiftmodule -framework PromiseKit -Xlinker -dependency_info -Xlinker /Users/XXX/Library/Developer/Xcode/DerivedData/PromiseKit-dzbgegkpvalpmqdgfvdnvsgwbmgj/Build/Intermediates/PromiseKit.build/Release-iphoneos/PMKiOSUITestsHost.build/Objects-normal/armv7/PMKiOSUITestsHost_dependency_info.dat -o /Users/XXX/Library/Developer/Xcode/DerivedData/PromiseKit-dzbgegkpvalpmqdgfvdnvsgwbmgj/Build/Intermediates/PromiseKit.build/Release-iphoneos/PMKiOSUITestsHost.build/Objects-normal/armv7/PMKiOSUITestsHost Undefined symbols for architecture armv7:   "type metadata for (extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions", referenced from:       protocol witness for Swift.SetAlgebraType.init <A where A1: Swift.SequenceType, A.Element == A1.Generator.Element> (A1) -> A in conformance (extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions : Swift.SetAlgebraType in PMKiOSUITestsHost in app.o       protocol witness for Swift.ArrayLiteralConvertible.init (arrayLiteral : [A.Element]...) -> A in conformance (extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions : Swift.ArrayLiteralConvertible in PMKiOSUITestsHost in app.o       (extension in PMKiOSUITestsHost):__ObjC.UIViewController.(promiseViewController <A> (__ObjC.UIViewController, animate : (extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions, fulfills : (extension in PMKiOSUITestsHost):__ObjC.UIViewController.FulfillmentType, completion : () -> ()?) -> PromiseKit.Promise<A>).(default argument 1) in app.o       function signature specialization <Arg[2] = Dead> of generic specialization <(extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions with (extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions : Swift.SetAlgebraType in PMKiOSUITestsHost, (extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions> of static (extension in Swift):Swift.SetAlgebraType.element (A.Element, subsumes : A.Element) -> Swift.Bool in app.o       function signature specialization <Arg[2] = Dead> of generic specialization <(extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions with (extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions : Swift.SetAlgebraType in PMKiOSUITestsHost, (extension in PMKiOSUITestsHost):__ObjC.UIViewController.AnimationOptions> of static (extension in Swift):Swift.SetAlgebraType.element (A.Element, isDisjointWith : A.Element) -> Swift.Bool in app.o   "type metadata for (extension in PMKiOSUITestsHost):__ObjC.SLComposeViewController.Error", referenced from:       generic specialization <(extension in PMKiOSUITestsHost):__ObjC.SLComposeViewController.Error with (extension in PMKiOSUITestsHost):__ObjC.SLComposeViewController.Error : Swift.ErrorType in PMKiOSUITestsHost> of (extension in Swift):Swift.ErrorType._domain.getter : Swift.String in app.o   "type metadata for (extension in PMKiOSUITestsHost):__ObjC.UIImagePickerController.Error", referenced from:       generic specialization <(extension in PMKiOSUITestsHost):__ObjC.UIImagePickerController.Error with (extension in PMKiOSUITestsHost):__ObjC.UIImagePickerController.Error : Swift.ErrorType in PMKiOSUITestsHost> of (extension in Swift):Swift.ErrorType._domain.getter : Swift.String in app.o   "type metadata for (extension in PMKiOSUITestsHost):__ObjC.UIViewController.Error", referenced from:       generic specialization <(extension in PMKiOSUITestsHost):__ObjC.UIViewController.Error with (extension in PMKiOSUITestsHost):__ObjC.UIViewController.Error : Swift.ErrorType in PMKiOSUITestsHost> of (extension in Swift):Swift.ErrorType._domain.getter : Swift.String in app.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

It's odd that it is even building PMKiOSUITestsHost since that is a test.

Fixed: https://github.com/mxcl/PromiseKit/commit/78af1260bbf023c13e41b1047a2e34b8fe528c24
3.4.1 tagged.

authors: JeanAzzopardi mxcl rmuhamedgaliev

repo: mxcl/PromiseKit


text:
Missing CFBundleVersion from Info.plist

PromiseKit version: 4.1.5
Xcode version: 8
Carthage version: 0.18.1

As seen here: https://github.com/mxcl/PromiseKit/commit/0918a08be28ff443bd21cf8e70e4c87ee977eb7f#commitcomment-20640590
This commit breaks uploading of the framework to itunes store, as it requires a CFBundleVersion to be set for the framework.

PR please. I cannot fix this this weekend.

Tagged 4.1.6

authors: mcfedr mxcl


text:
🛑 Website Load Balancers is down

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

HTTP code: 522
Response time: 15734 ms

Resolved: Website Load Balancers is back up in aca39a0 after 441 days, 2 hours, 43 minutes.

repo: myavsuper/upptime


text:
🛑 fawong is down

In f0b8580, fawong (https://www.fawong.com) was down:

HTTP code: 403
Response time: 103 ms

Resolved: fawong is back up in f927912.

repo: mymovielist/uptime


text:
The BIGINT option bigNumberStrings=true ignored for results.insertId

For INSERT query the last insertId is not cast to string when the auto-increment column is bigint. The bigNumberStrings is ignored and the result is returned as number.
typeof results.insertId == number

Hi @AgnisLV in the MySQL protocol, the insertId is always returned as a BIGINT no matter the query. The bigNumberStrings is specifically around the typecasting of columns, not of the other aspects of MySQL protocol packets (like the results packet).

Then it follows that the insertId  cannot be fully relied on in all cases, due to potential precision errors. Warning in the docs might be handy.

AFAIK there is no loss in the value. Can you provide a reproduction for the precision loss you are seeing so we can take a look?

Sorry, I was too hasty with my last comment. It seems that if supportBigNumbers  is enabled then insertId will be returned as a String when numbers are large enough. All clear now.

authors: AgnisLV dougwilson

repo: mysqljs/mysql


text:
locust + boomer 压测http2出错

您好，我使用locust + boomer 压测http2 server时，出现如下错误。由于我对go语言了解甚少，暂时解决不了。希望能得到您的回复。
dial tcp 10.129.97.133:9995: connect: cannot assign requested address
下面是我压测的client代码：
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"time"
"crypto/x509"
"crypto/tls"
"github.com/myzhan/boomer"
"golang.org/x/net/http2"
)
func getDemo() {
start := time.Now()
client := &http.Client{}
caCert, err := ioutil.ReadFile("crt-server.crt")
if err != nil {
    log.Fatalf("Reading server certificate: %s", err)
}
caCertPool := x509.NewCertPool()
caCertPool.AppendCertsFromPEM(caCert)
// Create TLS configuration with the certificate of the server
tlsConfig := &tls.Config{RootCAs: caCertPool,}
client.Transport = &http2.Transport{TLSClientConfig: tlsConfig,}

resp, err := client.Get("xxxx")

elapsed := time.Since(start)
if err == nil {
    boomer.RecordSuccess("http2", "getFile", elapsed.Nanoseconds()/int64(time.Millisecond), resp.ContentLength)
    defer resp.Body.Close()
} else {
    boomer.RecordFailure("http2", "getFile", elapsed.Nanoseconds()/int64(time.Millisecond), err.Error())
    fmt.Printf("%s \n", err)
}

}
func main() {
task := &boomer.Task{
Name: "getFile",
// The weight is used to distribute goroutines over multiple tasks.
Fn:     getDemo,
}
boomer.Run(task)

}

这个跟 HTTP2 没关系，应该是你在 getDemo 里面创建 http.Client，连接的创建和销毁太频繁导致，可以考虑用一个全局的 http.Client，参考 example 目录的例子。

感谢建议，问题解决了。

repo: myzhan/boomer


text:
Documented axios.create method missing

Looking through the source, it seems like it has been removed in favor of using global configuration. Is that the case?

Actually, it's in the master, just not on NPM, is all. npm publish !! :smile:

Working on getting a PR merged, then will release.

Hi.
I must be misunderstanding something - this still is the case as of 0.7.0, why would you close the issue?

authors: dnutels guncha mzabriskie

repo: mzabriskie/axios


text:
速度问题

我测试了一下，点击屏幕用时1s左右，截图就需要4s，感觉速度太慢，一些实时性的游戏就适应不了，adb能不能再快一点呢？

我这边试的话，用 adb 命令截图 2S 多吧，点击 1S 以内吧。
实时性的游戏确实适应不了，我以前试过用网易的自动化测试框架 ATX，配合 minicap，能将截图时间缩短到 1S 以内，玩玩回合制游戏阴阳师一类的够用了，比如我和以前同事合作的 yyhelper。
实时性游戏的话，截图的思路我觉得不太适合，走内存分析，截包一类的路子可能靠谱点。

不客气~有新思路欢迎随时交流~

authors: myzcl mzlogin

repo: mzlogin/awesome-adb


text:
Webinterface nicht erreichbar

Hallo,
ich habe dein Programm bei c't entdeckt. Das ist genau was ich schon länger suche. Ich habe Docker installiert und den Container gestartet. Soweit alles ok. Doch ich erreiche das Webinterface unter 127.0.0.1:3000 nicht. Der browser meldet Verbindung abgewiesen. An der Firewall liegt es nicht. Kannst du mir da weiterhelfen (OS ist Win 10 Prof).
Grüße und Danke
Jens

Hi @kobaje,
ich teste die Software auch gerade, nachdem ich in der ct darüber gelesen habe 🙂
Bei mir läuft die Node.js app, sie ist erreichbar unter localhost:3000.
Hast du mal localhost anstatt 127.0.0.1 versucht?
VG Ralph

Moin @kobaje,
kannst du mir mal den Output von docker psschicken, um sicherzustellen, dass die internen Ports des Containers an die des Hostsystem weitergereicht werden?
Habt ihr zufällig einen Link/Heftnummer, wo ihr dieses Projekt gefunden habt? :)

Im aktuellen Heft 7/20. (https://www.heise.de/select/ct/2020/7/2000809370690961974)
PS C:\Users\Heimspeicher> docker ps
CONTAINER ID     IMAGE    COMMAND              CREATED              STATUS              PORTS    NAMES
75f366beba6b   nthumann/iptv-restream:latest   "node dist/app.js"   About a minute ago   Up About a minute       IPTV-ReStream
Sorry, weiss nicht wie ichs besser formatieren soll. Ports ist leer.

Hi @kobaje,
ich teste die Software auch gerade, nachdem ich in der ct darüber gelesen habe 🙂
Bei mir läuft die Node.js app, sie ist erreichbar unter localhost:3000.
Hast du mal localhost anstatt 127.0.0.1 versucht?
VG Ralph

localhost hat auch nicht funktioniert

Du hast den Container - wie von c't beschrieben - mit --network host gestartet, richtig? Anscheinend hat aber diese Option unter nicht-Linux-System keine Wirkung :/ Wenn du es mit Docker nutzen willst, klappt das also nur auf einem Linuxsystem.
Daher würde ich es direkt (ohne Docker) installieren, hier die entsprechende Anleitung :)

Hm, ok. Das stand nicht in der c't ;-) Ich probiers mal mit der anderen Variante.

Hi,
habe den Docker Container auf einem Mac gestartet mit docker run -d --network host --restart always --name IPTV-ReStream nthumann/iptv-restream:latest.
Wenn ich mich auf das CLI im Container verbinde ist zu sehen, dass die Anwendung läuft:
/app $ netstat -atpn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:3000          0.0.0.0:*               LISTEN      1/node
tcp        0      0 0.0.0.0:50365           0.0.0.0:*               LISTEN      -
tcp        0      0 :::111                  :::*                    LISTEN      -
tcp        0      0 :::39237                :::*                    LISTEN      -
/app $ %

Außerhalb des Containers ist sie jedoch nicht zu erreichen.

Jetzt hänge ich bei tsc. Was muss ich da machen?

Du kannst TypeScript entweder über npm install -g typescript global nachinstallieren oder ./node_modules/typescript/bin/tsc ausführen, das nach npm install automatisch heruntergeladen wird :)

ok. Global installiert, ausgeführt. npm start ergibt folgenden Fehler:
C:\IPTV-ReStream-master>npm start

iptv-restream@1.0.0 start C:\IPTV-ReStream-master
node dist/app.js

NodeJS v13.0.2 (or higher) is required!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! iptv-restream@1.0.0 start: node dist/app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iptv-restream@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Heimspeicher\AppData\Roaming\npm-cache_logs\2020-03-15T11_38_43_817Z-debug.log
Oh mann, sorry, aber ich wusste schon warum ich den container favorisiert hatte... Das sind für mich böhmische Dörfer

Hast es fast geschafft 👍 Deine installierte NodeJS Version ist zu alt. Es muss v13.0.2 oder höher installiert sein, also einfach hier die aktuelle Version herunterladen und installieren :)

super, habs grad selber gemerkt. jetzt scheint es zu gehen DANKE

Sehr gut! Dann mache ich diese Issue mal zu ✌

Das ist die Ursache des Problems.
Ergänzt man auf dem Mac ein -e HOST="0.0.0.0" beim Starten des Containers, ist er von außen erreichbar.

Du meinst so:
docker run -d --network host --restart always --name IPTV-ReStream nthumann/iptv-restream:latest -e HOST="0.0.0.0"
Das funktioniert bei mir nicht.

Du meinst so:
docker run -d --network host --restart always --name IPTV-ReStream nthumann/iptv-restream:latest -e HOST="0.0.0.0"
Das funktioniert bei mir nicht. Gleiches Problem.

Nein, sondern so:
docker run -d --restart always -p 3000:3000 -e HOST="0.0.0.0" --name IPTV-ReStream nthumann/iptv-restream:latest

Die Optionen müssen vor der Bezeichnung des image angegeben werden:
ralph@machine ~ % docker run --help

Usage:	docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Habe es mit der js installation zwar hinbekommen auf das webinterface zugreifen zu können, Kanäle werden angezeigt, VLC spielt aber nix ab.

Öffnet dafür bitte einen separaten issue auf GitHub.

Habe es mit der js installation zwar hinbekommen auf das webinterface zugreifen zu können, Kanäle werden angezeigt, VLC spielt aber nix ab.

Öffne dafür bitte einen separaten issue auf GitHub.
Genau :)

authors: kobaje n-thumann purejava

repo: n-thumann/IPTV-ReStream


text:
Cardboard button on Chrome Android working again

This closes #383
See my comment https://github.com/n5ro/aframe-extras/issues/383#issuecomment-1335159873 for a working example.

The fix is in the following build:
https://cdn.jsdelivr.net/gh/n5ro/aframe-extras@258d575/dist/aframe-extras.min.js


text:
module:seed --class Does not seem to work

hi, I use php artisan module:seed User --class=xxx Does not seem to work?

Hello!
It does not seem to work indeed. Did you find a solution?
Regards.

@renanBritz  see #591

hey guys,
i got it my custom seeder class working.
to insert seeded data you'll need to define it in module.json
{
    "name": "Rates",
    "alias": "rates",
    .
    .
    .
    "migration": {
        "seeds": [
            "Modules\\Rates\\database\\seeds\\v1\\DatabaseSeeder"
        ]
    }
}

then run command
php artisan module:seed Rates to seed all the seeders defined there or
php artisan module:seed Rates --class=DatabaseSeeder to seed one single seeder.
the key here is to define your seeder classes in module.json

you are the best, you saved my day

authors: Instanced ghost renanBritz sachinKriss wakjoko

repo: nWidart/laravel-modules


text:
docker-compose构建nacos一直报错

[root@vdaps3 nacos-docker]# docker-compose -f example/standalone-derby.yaml up
Pulling nacos (nacos/nacos-server:latest)...
latest: Pulling from nacos/nacos-server
5ad559c5ae16: Pulling fs layer
152a60b4a0e4: Pulling fs layer
f2b467c6c505: Pulling fs layer
f82f0a6a31a9: Waiting
9e3844de6ce4: Waiting
6d64a4f62bac: Waiting
3da7ef5287a5: Waiting
886be0ec2785: Waiting
ERROR: error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/94/?verify=1585738005-oBM%2FohMveoJNlPHawvAuHw2Uu1M%3D: dial tcp 104.18.124.25:443: i/o timeout

你pull  镜像超时啊，这是你自己的网络的问题

你pull 镜像超时啊，这是你自己的网络的问题

你好，这个问题我弄好了，我用官网给的docker-compose方式安装nacos docker，版本还是1.2.0，是不是还没更新1.2.1呢？
我之后把分支切换到1.2.1 用build文件夹的Dockerfile重新build镜像，之后无法启动。具体是在build文件夹执行命令docker build -t [仓库名]:[tag]. 之后再docker images 我看到生成了none的镜像200M左右，但是我之前把本地镜像nacos都删除过了，不应该出现none，并且我重新换了仓库名build之后还是出现none的镜像。
能否请教下，这个自己build镜像的时候应该怎么做呢？因为1.2.0配置文件版本回退有问题，生产环境急需要更新1.2.1麻烦了。

现在1.2.1的tag已经发布了的，你可以指定1.2.1的tag，我明天会把latest更新到1.2.1

现在1.2.1的tag已经发布了的，你可以指定1.2.1的tag，我明天会把latest更新到1.2.1

你好，我想问下我用docker-compose -f example/standalone-mysql-5.7.yaml up启动nacos的时候报错没有找到表，Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'nacos.config_info' doesn't exist
这个表不会初始化吗？

如果你用自己的数据库，就得你自己初始化

如果你用自己的数据库，就得你自己初始化

我用的是nacos/nacos-mysql:5.7 镜像 就是example/standalone-mysql-5.7.yaml里面配置的

那数据库会自动初始化

那数据库会自动初始化

但是他没有初始化。。。是哪的配置有问题吗？ 我连接那个mysql看到nacos库是空的？

我看下

我看下

我的配置如下
mysql.env
MYSQL_ROOT_PASSWORD=Sailing@123
MYSQL_DATABASE=nacos
MYSQL_USER=root
MYSQL_PASSWORD=Sailing@123
nacos-standlone-mysql.env
PREFER_HOST_MODE=hostname
MODE=standalone
NACOS_AUTH_ENABLE=true
SPRING_DATASOURCE_PLATFORM=mysql
MYSQL_SERVICE_HOST=172.20.32.53
MYSQL_SERVICE_DB_NAME=nacos
MYSQL_SERVICE_PORT=3308
MYSQL_SERVICE_USER=root
MYSQL_SERVICE_PASSWORD=Sailing@123

我这边试了 没有这个问题,还有你为什么要自己配置一个host

我这边试了 没有这个问题,还有你为什么要自己配置一个
这个不用配置mysql连接吗？

我配置的mysql就是连接

然后你可以自己确认下/example/mysql目录下面有没有那几张表存在,如果没有删除掉mysql目录,删除container然后进行连接

然后你可以自己确认下/example/mysql目录下面有没有那几张表存在,如果没有删除掉mysql目录,删除container然后进行连接
我删掉mysql目录重新弄，就创建失败了。。
Version: '5.7.26'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)
mysql         | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
mysql         | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mysql         | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
mysql         | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
mysql         | mysql: [Warning] Using a password on the command line interface can be insecure.
mysql         | mysql: [Warning] Using a password on the command line interface can be insecure.
mysql         | ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'root'@'%'

还有mysql_user不要指定root,root是root mysql_user 是user

对mysql的使用建议参考下Mysql的官方镜像配置

对mysql的使用建议参考下Mysql的官方镜像配置

好的，谢谢 mysql弄好了 是因为用户的原因，现在表也创建了，但是nacos还是起动报错，连不上数据库，但是我用navicat可以连接。
配置如下
nacos-standlone-mysql.env
PREFER_HOST_MODE=ip
MODE=standalone
NACOS_AUTH_ENABLE=true
SPRING_DATASOURCE_PLATFORM=mysql
MYSQL_SERVICE_HOST=mysql
MYSQL_SERVICE_DB_NAME=nacos_dev
MYSQL_SERVICE_PORT=3308
MYSQL_SERVICE_USER=nacos
MYSQL_SERVICE_PASSWORD=nacos

mysql.env
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=nacos_dev
MYSQL_USER=nacos
MYSQL_PASSWORD=nacos
报错信息：
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1036)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:338)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2232)
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2085)
... 194 more
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:213)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:297)
... 196 more

3308是什么端口?

对mysql的使用建议参考下Mysql的官方镜像配置
弄好了，谢谢你。
但是这个配置还是要改成ip用mysql一直连不上，不知道为啥？
MYSQL_SERVICE_HOST=mysql

3308是什么端口?

宿主机端口

重启一次就好了,因为第一次启动的时候数据库并没有初始化完全启动成功nacos就已经启动了,所以重启下就好了

我试了一下对于这个配置MYSQL_SERVICE_HOST要是具体ip那么MYSQL_SERVICE_PORT要用宿主机端口。要是container_name就用3306这个端口，但是我用ip的话好像不用重启的。。
建议，能否把这些配置文件弄个文档描述下，小白看的不太明白。

有配置文档，在readme里面啊，你如果双方在一个docker里面，无需用宿主机ip和端口啊，你如果是宿主机当然需要配置，这个是docker本身的特性

有配置文档，在readme里面啊，你如果双方在一个docker里面，无需用宿主机ip和端口啊，你如果是宿主机当然需要配置，这个是docker本身的特性

好的，谢谢你帮我排查问题。麻烦了

客气

authors: paderlol wxywizard

repo: nacos-group/nacos-docker


text:
关于docker-compose脚本mysql配置的一点疑惑

目前的脚本里面是包含了nacos和mysql的镜像，启一个nacos也就带了个mysql，如果nacos做集群部署，要做到共享数据，mysql是不是要从脚本里面分离出来呢？

我已经把mysql独立出来了，可以参考：https://www.jianshu.com/p/07ad6e817533

本来就可以独立出来啊，我做镜像的目的是为了大家例子使用方便的

本来就可以独立出来啊，我做镜像的目的是为了大家例子使用方便的

怎么独立出来呢，我使用docker-compose -f example/standalone-derby.yaml  up -d
添加了mysql8.0显示报错
ErrCode:500, ErrMsg:Nacos Server did not start because dumpservice bean construction failure :
No DataSource set
是我启动方式不对吗，还是用standalone-mysql-8.yaml启动，但是每次启动都会拉取新的镜像
有排除自动拉取mysql8的教程吗

你用mysql8自己的外置链接就要去掉yaml文件里面的数据库的service配置，然后配置你自己的连接就好了

你用mysql8自己的外置链接就要去掉yaml文件里面的数据库的service配置，然后配置你自己的连接就好了

##这个是我刚才启动报错的文件standalone-derby.yaml
version: "2"
services:
  nacos:
    image: nacos/nacos-server:latest
    container_name: nacos-standalone
    environment:
    - PREFER_HOST_MODE=hostname
    - MODE=standalone
    - NACOS_AUTH_ENABLE=true
    - SPRING_DATASOURCE_PLATFORM=mysql
    - MYSQL_SERVICE_HOST=xxxx
     # - MYSQL_SERVICE_PORT 默认3306
    - MYSQL_SERVICE_DB_NAME=dmp_conf
    - MYSQL_SERVICE_USER=root
    - MYSQL_SERVICE_PASSWORD=Abcd123#
    - MYSQL_DATABASE_NUM=1

    volumes:
    - ./standalone-logs/:/home/nacos/logs
    - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
    ports:
    - "8848:8848"
  prometheus:
    container_name: prometheus
    image: prom/prometheus:latest
    volumes:
      - ./prometheus/prometheus-standalone.yaml:/etc/prometheus/prometheus.yml
    ports:
      - "9090:9090"
    depends_on:
      - nacos
    restart: on-failure
  grafana:
    container_name: grafana
    image: grafana/grafana:latest
    ports:
      - 3000:3000
    restart: on-failure

*连接的数据库是8.0

出现的错误是

rg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'configOpsController' defined in URL [jar:file:/home/nacos/target/nacos-server.jar!/BOOT-INF/lib/nacos-config-1.3.0.jar!/com/alibaba/nacos/config/server/controller/ConfigOpsController.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'externalDumpService': Invocation of init method failed; nested exception is ErrCode:500, ErrMsg:Nacos Server did not start because dumpservice bean construction failure :
No DataSource set
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1308)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1154)

这个是standalone-mysql-8.yaml配置文件

version: "2"
services:
  nacos:
    image: nacos/nacos-server:latest
    container_name: nacos-standalone-mysql
    env_file:
      - ../env/nacos-standlone-mysql.env
    volumes:
      - ./plugins/mysql/:/home/nacos/plugins/mysql/
      - ./standalone-logs/:/home/nacos/logs
      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
    ports:
      - "8848:8848"
      - "9555:9555"
    depends_on:
      - mysql
    restart: on-failure
  mysql:
    container_name: mysql
    image: nacos/nacos-mysql:8.0.16
    env_file:
      - ../env/mysql.env
    volumes:
      - ./mysql:/var/lib/mysql
    ports:
      - "3306:3306"

一、我并不知道从哪除去，是否把 mysql:下面全部删除r
二、然后是否在nacos-standlone-mysql.env配置数据库信息吗
三、我用mysql8的docker启动方式究竟是用那个yaml文件

version: "2"
services:
  nacos:
    image: nacos/nacos-server:latest
    container_name: nacos-standalone-mysql
    env_file:
      - ../env/nacos-standlone-mysql.env
    volumes:
      - ./plugins/mysql/:/home/nacos/plugins/mysql/
      - ./standalone-logs/:/home/nacos/logs
      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
    ports:
      - "8848:8848"
      - "9555:9555"
    depends_on:
      - mysql
    restart: on-failure
## remove those code
 # mysql:
 #   container_name: mysql
 #   image: nacos/nacos-mysql:8.0.16
 #   env_file:
 #     - ../env/mysql.env
 #   volumes:
  #    - ./mysql:/var/lib/mysql
   # ports:
    #  - "3306:3306"

PREFER_HOST_MODE=hostname
MODE=standalone
SPRING_DATASOURCE_PLATFORM=mysql
MYSQL_SERVICE_HOST= your host eg 192.168.1.0
MYSQL_SERVICE_DB_NAME=your db name
MYSQL_SERVICE_PORT=db port
MYSQL_SERVICE_USER=db username
MYSQL_SERVICE_PASSWORD=db password

PREFER_HOST_MODE=hostname
MODE=standalone
SPRING_DATASOURCE_PLATFORM=mysql
MYSQL_SERVICE_HOST= your host eg 192.168.1.0
MYSQL_SERVICE_DB_NAME=your db name
MYSQL_SERVICE_PORT=db port
MYSQL_SERVICE_USER=db username
MYSQL_SERVICE_PASSWORD=db password

是修改nacos-standlone-mysql.env还是nacos-standlone-mysql.env呢

为什么要单独做一个Mysql8的例子,因为Mysql8目前需要自己挂载驱动包的方式,才能使用.
version: "2"
services:
  nacos:
    image: nacos/nacos-server:latest
    container_name: nacos-standalone-mysql
    env_file:
    # mysql properties here
      - ../env/nacos-standlone-mysql.env
    volumes:
        # here mysql plugin for db driver
      - ./plugins/mysql/:/home/nacos/plugins/mysql/

然后自己使用外置数据库请手动先初始化数据库脚本,数据库脚本在nacos官方项目下面可以找到,传送门

nacos-standlone-mysql.env

为什么要单独做一个Mysql8的例子,因为Mysql8目前需要自己挂载驱动包的方式,才能使用.
version: "2"
services:
  nacos:
    image: nacos/nacos-server:latest
    container_name: nacos-standalone-mysql
    env_file:
    # mysql properties here
      - ../env/nacos-standlone-mysql.env
    volumes:
        # here mysql plugin for db driver
      - ./plugins/mysql/:/home/nacos/plugins/mysql/

然后自己使用外置数据库请手动先初始化数据库脚本,数据库脚本在nacos官方项目下面可以找到,传送门

公司的情况只能是在他们现有的数据库操作，我也不想这样搞，直接官网教程简单多了o(╥﹏╥)o

所以你只需要移除mysql服务就好了,然后直接配置外部地址

所以你只需要移除mysql服务就好了,然后直接配置外部地址

我刚刚按照你的配置来配了 .但启动了还是报错
错误信息
ConfigOpsController.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'externalDumpService': Invocation of init method failed; nested exception is ErrCode:500, ErrMsg:Nacos Server did not start because dumpservice bean construction failure :
No DataSource set
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1308)

standalone-mysql-8.yaml文件

services:
  nacos:
    image: nacos/nacos-server:latest
    container_name: nacos-standalone-mysql
    env_file:
      - ../env/nacos-standlone-mysql.env
    volumes:
      - ./plugins/mysql/:/home/nacos/plugins/mysql/
        #    - ./standalone-logs/:/home/nacos/logs
        #  - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
        #  ports:
            #   - "8848:8848"
        #   - "9555:9555"
        #   depends_on:
            #  - mysql
            #    restart: on-failure
    #  mysql:
    # container_name: mysql
    # image: nacos/nacos-mysql:8.0.16
    # env_file:
    # - ../env/mysql.env
    # volumes:
    #   - ./mysql:/var/lib/mysql
    # ports:
    # - "3306:3306"

nacos-standlone-mysql.env配置

PREFER_HOST_MODE=hostname
MODE=standalone
SPRING_DATASOURCE_PLATFORM=mysql
MYSQL_SERVICE_HOST=172.16.xx.11
MYSQL_SERVICE_DB_NAME=dmp_conf
MYSQL_SERVICE_PORT=3306
MYSQL_SERVICE_USER=root
MYSQL_SERVICE_PASSWORD=Abcd123#
~

被这个问题搞了一天┭┮﹏┭┮

第一、172.16.xx.11 这个ip是连的上吗？ 看着像私有Ip 你得用配置外网ip.
第二、/plugins/mysql/目录下有没有配置你们的mysql8的驱动.
第三、数据库脚本有没有初始化.

配置文件是这样的
services:
  nacos:
    image: nacos/nacos-server:latest
    container_name: nacos-standalone-mysql
    env_file:
      - ../env/nacos-standlone-mysql.env
    volumes:
      - ./plugins/mysql/:/home/nacos/plugins/mysql/
      - ./standalone-logs/:/home/nacos/logs
       - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
      ports:
           - "8848:8848"
           - "9555:9555"
      restart: on-failure

第一、172.16.xx.11 这个ip是连的上吗？ 看着像私有Ip 你得用配置外网ip.
第二、/plugins/mysql/目录下有没有配置你们的mysql8的驱动.
第三、数据库脚本有没有初始化.

/plugins/mysql/目录下有没有配置你们的mysql8的驱动  ，这个驱动是什么版本
在哪里下载呢
我再改改

驱动你可以使用我例子里面那个 这个看你们自己数据库的驱动版本版本啊,感觉你需要看下 docker-compose的一些文档吧

驱动你可以使用我例子里面那个 这个看你们自己数据库的驱动版本版本啊,感觉你需要看下 docker-compose的一些文档吧

好，谢谢。我研究下

authors: paderlol taneg yuanyunchu zw201913


text:
error: 4, internalErrorCode=0

getting error: 4, internalErrorCode=0   on joining & starting meeting in android

I found the solution for this issue. We need to use latest android SDK.

Hello @RakshithCodewave can you please explain which android SDK ?

repo: nagarro-dv/react-native-zoom-us-bridge


text:
Add span! macro

The macro uses file!() and line!() to determine the file name and line number to pass to Span::new(...). It also uses a hack to determine the function name, which is the same hack used in stdext::function_name!, since the RFC to add a macro for this to the Rust stdlib is unresolved.
Alternatively, stdext could be added as a dependency, but that's probably overkill.
Also, it might be convenient to support omitting the callstack_depth with a default value of 62, which is the max according to Tracy documentation ("The maximum call stack depth that can be retrieved is 62 frames. This is a restriction at the level of operating system.").

This would be awesome to have!

Also, it might be convenient to support omitting the callstack_depth with a default value of 62

Sounds like a good plan to me.

Would be great if you could add a test that just calls the macro as well as bump the version of rustc in CI files to something like 1.52 or 1.53.

Merged in https://github.com/nagisa/rust_tracy_client/commit/f06d0fdd246fb0c1a8d8a25e246f5080164cf16d
Thanks!

Awesome! Any chance of a patch release with this in it soon?

Yeah I have been meaning to make some other changes too but I guess i can
just split them up.
On Sat, 18 Sep 2021, 20:57 Benjamin Saunders, @.***>
wrote:

Awesome! Any chance of a patch release with this in it soon?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/nagisa/rust_tracy_client/pull/21#issuecomment-922347503,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFFZUWNAFVWNJOSCEZ6IJDUCTHHZANCNFSM5DPR3HTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Looks like we're seeing some SIGSEGVs on Windows in a doctest I added for the macro, which I'll need to investigate before I cut a release.

Could not reproduce the issue locally and I bet its not a new failure mode anyway, so went ahead and published 0.12.5.

authors: Ralith benfrankel nagisa


text:
Icon request: RPG Dices (D4, D8, D10, D12, D20, D100)

It's call RPG awesome, but there is only D6 available. Others usuals dices should be add.

Yes, adding the other dice types would be a welcome addition!

I noticed that on the source site: game-icons.net, that the requested D4, D6, D8, D10, D12, and D20 do exist.

authors: Skilf gmgrigsby ph-il

repo: nagoshiashumari/Rpg-Awesome


text:
v3.4.0 Eevee crash

Issue reported by @waltage80 on the release discussion.
blender_debug_output.txt
blender_system_info.txt
bug.crash.txt

@waltage80, based on your last comment from the discussion page i suspect that the cause of this crash is the "Limit Size" option "Preferences -> Viewport -> Textures" as mentioned it this bug: https://developer.blender.org/T103075 from Blender's bug tracker.
Since you have reset your preferences, can you try turning that option on and see if it causes the crash ?

YES!!! this option is causes the crash of Eevee!

OK. In this case the Blender developers are aware of it, and it will probably be fixed for v3.4.1.

Are you sure that BF know about this?

Yes, the link to the bug report is in the second message of this issue.

3.4.1 do not solve this problem
why they release this?

I am not part of the Blender dev team. Please ask your question on their bug tracker (the report for this issue is at the link in the second comment).

thank you

repo: nalexandru/BlenderCompat


text:
Access environment variable as a non dependency provider

Is it possible to read environment variables passed at runtime from within a service definition? It seems this is only possible as a dependency provider?

Dependency provider is the easiest way to get config values at the moment. It's quite trivial to get it going:
class Config(DependencyProvider):
    def get_dependency(self, worker_ctx):
        return self.container.config.copy()

and then in your service class:
class MyService(object):
    name = "my_service"
    config = Config()

Cheers.
p.s. please use Nameko mailing list for these types of questions:
https://groups.google.com/forum/#!forum/nameko-dev

Thanks @kooba will limit any further queries to the mailing list :)

We should probably add this config DependencyProvider to the library, rather than having it reimplemented everywhere. I'll leave this issue open until we do that.

Thanks to @vmikki, this config DependencyProvider is now included in the library (https://github.com/nameko/nameko/pull/395)

authors: jgericke kooba mattbennett

repo: nameko/nameko


text:
🛑 travelerandco.ch is down

In 544bebc, travelerandco.ch (https://travelerandco.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: travelerandco.ch is back up in dc9e9ef after 32 minutes.

repo: nanhosting/monitoring


text:
Possible to remove androidx.constraintlayout:constraintlayout-compose

First, thanks for this awesome library.
If it can only depend on Column/Box/Row to build the layout, that would be quite nice.

Done. For anyone who does not want import constraintlayout-compose, cuz this dependency increases roughly ~110kb to the release build.
BoxWithConstraints(
    modifier = modifier
        .fillMaxWidth()
) {
    val maxHeightFloat = constraints.maxHeight.toFloat()
    Row(
        modifier = Modifier
            .align(if (rightSide) Alignment.TopEnd else Alignment.TopStart)
            .graphicsLayer(
                translationX = with(LocalDensity.current) { (if (rightSide) displacement.dp else -displacement.dp).toPx() },
                translationY = maxHeightFloat * normalizedOffsetPosition
            )
    ) {

//            val (box, content) = createRefs()
        //  if (indicatorContent != null) {
        Box(
            modifier = Modifier
                .alpha(alpha)

//                        .constrainAs(content) {
//                            top.linkTo(box.top)
//                            bottom.linkTo(box.bottom)
//                            if (rightSide) end.linkTo(box.start)
//                            else start.linkTo(box.end)
//                        }
.testTag(TestTagsScrollbar.scrollbarIndicator),
) {
//indicatorContent(firstVisibleItemIndex.value, isSelected)
Text(text = firstVisibleItemIndex.value.toString())
}
//  }
        Box(
            modifier = Modifier

//                    .align(if (rightSide) Alignment.TopEnd else Alignment.TopStart)
//                    .graphicsLayer(
//                        translationX = with(LocalDensity.current) { (if (rightSide) displacement.dp else -displacement.dp).toPx() },
//                        translationY = maxHeightFloat * normalizedOffsetPosition
//                    )
.padding(
start = if (rightSide) 0.dp else padding,
end = if (!rightSide) 0.dp else padding,
)
.clip(thumbShape)
.width(thickness)
.fillMaxHeight(normalizedThumbSize)
.alpha(alpha)
.background(if (isSelected) thumbSelectedColor else thumbColor)
//                    .constrainAs(box) {
//                        if (rightSide) end.linkTo(parent.end)
//                        else start.linkTo(parent.start)
//                    }
.testTag(TestTagsScrollbar.scrollbar)
)
    }

Will check out

The code you provided removes functionality and is a regression. For know I will keep the ConstraintLayout as I don't want to reinvent the functionality it provides for this case.
In case you provide a full working PR without ConstraintLayout I will merge.

repo: nanihadesuka/LazyColumnScrollbar


text:
Make content_for raise an exception in case of silently overwriting content

This addresses #704

Could you add tests for this, and remove the commented-out code?

OK, done

Thanks!

authors: Fjan ddfreyne

repo: nanoc/nanoc


text:
Update Program.cs

Correct calculation of Period.
Added units to the output prints.

Description

Motivation and Context
To fix the Frequency indication on print outputs. With the original version, frequency printed is 1 and should be around 1234 Hz.

Fixes/Closes/Resolves nanoFramework/Home#NNNN - Not created.

How Has This Been Tested?
Tested by deploy run GpioChangeCounter sample to ESP32 DEV KIT v1
Following the instructions of this sample.

Screenshots
Types of changes

[x] Improvement (non-breaking change that improves a sample)
[x] Bug fix (fixes an issue with a current sample)
[ ] New Sample (adds a new sample)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Signed-off-by: GITHUB_USER <GITHUB_USER_EMAIL>

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

authors: CLAassistant up-streamer

repo: nanoframework/Samples


text:
Issue85 mscprogs compile fail

I have added the subdirectories outlines in issue #85 in order to ensure MSCPROGS compiles without failure.
These subdirectories are in the main branch, but must've got lost somewhere along the way in develop.

Right, these temporary directories are needed by compiling.

Right, these temporary directories are needed by compiling.

Indeed. I think the best approach is to write the makefiles in such a way that these temporary, but necessary, folders are created if they aren't there. But I'm no expert in this and wouldn't know if there are any reasons not to do so.

Right, these temporary directories are needed by compiling.

Indeed. I think the best approach is to write the makefiles in such a way that these temporary, but necessary, folders are created if they aren't there. But I'm no expert in this and wouldn't know if there are any reasons not to do so.

A: Before these directories are not included in GitHub, so the attempt to add them was fail. I can check your updated branch this time.

The compiling using this branch is successfully completed on Fram.

authors: HarryLuyt Jipingnersc

repo: nansencenter/NERSC-HYCOM-CICE


text:
caretRangeFromPoint null

if i set my device language to France or other.
 var range = document.caretRangeFromPoint(android.selection.lastTouchPoint.x, android.selection.lastTouchPoint.y);

range will be return null ,what's wrong?
It  only work on english device success.
Thanks.

But https://github.com/btate/BTAndroidWebViewSelection  work success,
What's the different ?

got it
 String startTouchUrl = String.format(Locale.US, "javascript:android.selection.startTouch(%f, %f);",
                    xPoint, yPoint);

LTNS.
This issue was fixed by #6.
Will be work on v0.1.3.

If you still have any problems, reopen this.

repo: naoak/WebViewMarker


text:
Fix indent errors

Use 4 SPACE as indent prefix since sometimes TAB will be replaced by 2 SPACE rather than 4 SPACE, that will cause some markdown interpreters treat the  different levels list as a same one.
e.g. ,
Expect:
- h1
    -- h2

But returns:
- h1
  -- h2

This change is

Thank you for your PR!!
1.8.0 has been released instead of your fix because it makes impact on other people.
Please upgrade and set default_indent  in your MarkdownTOC.sublime-settings.

OK, I found this new feature.
Thanks for this great package.

authors: YingmingHu naokazuterada

repo: naokazuterada/MarkdownTOC


text:
Use evented dataclass for ViewerModel

Description
This ports the ViewerModel to an evented dataclass with properties (#1475).  Tests are passing, but it's still a work in progress as I had to make a few hacks to get it to initialize.
Type of change

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

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

Almost everything is working ... with one very strange bug that probably hints at some other deeper issue.  If I launch the program (python -m napari), and then click once on the blank canvas... it crashes back to the command line with:
WARNING: Error drawing visual <vispy.visuals.mesh.MeshVisual object at 0x13032c880>
11:50:22 WARNING Error drawing visual <vispy.visuals.mesh.MeshVisual object at 0x13032c880>

(but no traceback)
strange huh??  I can't figure out what MeshVisual it would possibly be trying to draw.  And, if I add a layer and delete it, then it doesn't happen again.  In fact, if I simply open the console window, it doesn't happen.  So there's some sort of vispy initialization that's wonky, and this seems to be exposing it.

If I launch the program (python -m napari), and then click once on the blank canvas... it crashes back to the command line with:

turns out this isn't something from the new dataclass, I was actually getting this in master as well, starting after #1374 ... however if I create a new environment, I don't get it anymore.  So while something funny did happen there, it seems to be specific to my environment.  I'm wiping it but just so I have the details somewhere:

conda list
aiobotocore               0.12.0                   pypi_0    pypi
aiohttp                   3.6.2                    pypi_0    pypi
aioitertools              0.7.0                    pypi_0    pypi
alabaster                 0.7.12                   pypi_0    pypi
appdirs                   1.4.4                    pypi_0    pypi
appnope                   0.1.0                    pypi_0    pypi
asciitree                 0.3.3                    pypi_0    pypi
async-timeout             3.0.1                    pypi_0    pypi
attrs                     19.3.0                   pypi_0    pypi
babel                     2.8.0                    pypi_0    pypi
backcall                  0.2.0                    pypi_0    pypi
black                     19.10b0                  pypi_0    pypi
bleach                    3.1.5                    pypi_0    pypi
botocore                  1.15.15                  pypi_0    pypi
ca-certificates           2020.6.20            hecda079_0    conda-forge
cachey                    0.2.1                    pypi_0    pypi
certifi                   2020.6.20        py38h32f6830_0    conda-forge
cfgv                      3.1.0                    pypi_0    pypi
chardet                   3.0.4                    pypi_0    pypi
check-manifest            0.42                     pypi_0    pypi
click                     7.1.2                    pypi_0    pypi
cloudpickle               1.5.0                    pypi_0    pypi
coiled                    0.0.10                   pypi_0    pypi
commonmark                0.9.1                    pypi_0    pypi
coverage                  5.2                      pypi_0    pypi
cycler                    0.10.0                   pypi_0    pypi
dask                      2.20.0                   pypi_0    pypi
decorator                 4.4.2                    pypi_0    pypi
defusedxml                0.6.0                    pypi_0    pypi
distlib                   0.3.1                    pypi_0    pypi
distributed               2.20.0                   pypi_0    pypi
docutils                  0.15.2                   pypi_0    pypi
entrypoints               0.3                      pypi_0    pypi
fasteners                 0.15                     pypi_0    pypi
filelock                  3.0.12                   pypi_0    pypi
flake8                    3.7.9                    pypi_0    pypi
freetype-py               2.1.0.post1              pypi_0    pypi
fsspec                    0.7.4                    pypi_0    pypi
heapdict                  1.0.1                    pypi_0    pypi
identify                  1.4.21                   pypi_0    pypi
idna                      2.10                     pypi_0    pypi
imageio                   2.9.0                    pypi_0    pypi
imagesize                 1.2.0                    pypi_0    pypi
ipykernel                 5.3.1                    pypi_0    pypi
ipython                   7.16.1                   pypi_0    pypi
ipython-genutils          0.2.0                    pypi_0    pypi
ipywidgets                7.5.1                    pypi_0    pypi
jedi                      0.17.1                   pypi_0    pypi
jinja2                    2.11.2                   pypi_0    pypi
jmespath                  0.10.0                   pypi_0    pypi
jsonschema                3.2.0                    pypi_0    pypi
jupyter-client            6.1.5                    pypi_0    pypi
jupyter-core              4.6.3                    pypi_0    pypi
kiwisolver                1.2.0                    pypi_0    pypi
libcxx                    10.0.0               h1af66ff_2    conda-forge
libffi                    3.2.1             h4a8c4bd_1007    conda-forge
magicgui                  0.1.5                    pypi_0    pypi
markupsafe                1.1.1                    pypi_0    pypi
matplotlib                3.2.2                    pypi_0    pypi
mccabe                    0.6.1                    pypi_0    pypi
mistune                   0.8.4                    pypi_0    pypi
monotonic                 1.5                      pypi_0    pypi
more-itertools            8.4.0                    pypi_0    pypi
msgpack                   1.0.0                    pypi_0    pypi
multidict                 4.7.6                    pypi_0    pypi
mypy                      0.782                    pypi_0    pypi
mypy-extensions           0.4.3                    pypi_0    pypi
napari                    0.3.6.dev37+g4b133241           dev_0    <develop>
napari-plugin-engine      0.1.6                    pypi_0    pypi
napari-svg                0.1.3                    pypi_0    pypi
nbconvert                 5.6.1                    pypi_0    pypi
nbformat                  5.0.7                    pypi_0    pypi
ncurses                   6.1               h0a44026_1002    conda-forge
networkx                  2.4                      pypi_0    pypi
nodeenv                   1.4.0                    pypi_0    pypi
notebook                  6.0.3                    pypi_0    pypi
numcodecs                 0.6.4                    pypi_0    pypi
numpy                     1.19.0                   pypi_0    pypi
numpydoc                  1.1.0                    pypi_0    pypi
open3d                    0.10.0.0                 pypi_0    pypi
openssl                   1.1.1g               h0b31af3_0    conda-forge
packaging                 20.4                     pypi_0    pypi
pandas                    1.0.5                    pypi_0    pypi
pandocfilters             1.4.2                    pypi_0    pypi
parso                     0.7.0                    pypi_0    pypi
pathspec                  0.8.0                    pypi_0    pypi
pep517                    0.8.2                    pypi_0    pypi
pexpect                   4.8.0                    pypi_0    pypi
pickleshare               0.7.5                    pypi_0    pypi
pillow                    7.2.0                    pypi_0    pypi
pip                       20.1.1                     py_1    conda-forge
pluggy                    0.13.1                   pypi_0    pypi
pooch                     1.1.1                    pypi_0    pypi
pre-commit                2.6.0                    pypi_0    pypi
prometheus-client         0.8.0                    pypi_0    pypi
prompt-toolkit            3.0.5                    pypi_0    pypi
psutil                    5.7.0                    pypi_0    pypi
ptyprocess                0.6.0                    pypi_0    pypi
py                        1.9.0                    pypi_0    pypi
pycodestyle               2.5.0                    pypi_0    pypi
pyflakes                  2.1.1                    pypi_0    pypi
pygments                  2.6.1                    pypi_0    pypi
pyopengl                  3.1.5                    pypi_0    pypi
pyparsing                 2.4.7                    pypi_0    pypi
pypcd                     0.1.1                    pypi_0    pypi
pyqt5                     5.14.2                   pypi_0    pypi
pyqt5-sip                 12.8.0                   pypi_0    pypi
pyrsistent                0.16.0                   pypi_0    pypi
pytest                    5.4.3                    pypi_0    pypi
pytest-faulthandler       2.0.1                    pypi_0    pypi
pytest-ordering           0.6                      pypi_0    pypi
pytest-qt                 3.3.0                    pypi_0    pypi
pytest-timeout            1.4.1                    pypi_0    pypi
python                    3.8.3           cpython_hd5f0129_0    conda-forge
python-dateutil           2.8.1                    pypi_0    pypi
python-lzf                0.2.4                    pypi_0    pypi
python_abi                3.8                      1_cp38    conda-forge
pytz                      2020.1                   pypi_0    pypi
pywavelets                1.1.1                    pypi_0    pypi
pyyaml                    5.3.1                    pypi_0    pypi
pyzmq                     19.0.1                   pypi_0    pypi
qtconsole                 4.7.5                    pypi_0    pypi
qtpy                      1.9.0                    pypi_0    pypi
readline                  8.0                  hcfe32e1_0    conda-forge
recommonmark              0.6.0                    pypi_0    pypi
regex                     2020.6.8                 pypi_0    pypi
requests                  2.24.0                   pypi_0    pypi
rope                      0.16.0                   pypi_0    pypi
scikit-image              0.17.2                   pypi_0    pypi
scipy                     1.5.1                    pypi_0    pypi
send2trash                1.5.0                    pypi_0    pypi
setuptools                49.1.0           py38h32f6830_0    conda-forge
six                       1.15.0                   pypi_0    pypi
snowballstemmer           2.0.0                    pypi_0    pypi
sortedcontainers          2.2.2                    pypi_0    pypi
sphinx                    3.0.1                    pypi_0    pypi
sphinx-rtd-theme          0.4.3                    pypi_0    pypi
sphinxcontrib-applehelp   1.0.2                    pypi_0    pypi
sphinxcontrib-devhelp     1.0.2                    pypi_0    pypi
sphinxcontrib-htmlhelp    1.0.3                    pypi_0    pypi
sphinxcontrib-jsmath      1.0.1                    pypi_0    pypi
sphinxcontrib-qthelp      1.0.3                    pypi_0    pypi
sphinxcontrib-serializinghtml 1.1.4                    pypi_0    pypi
sqlite                    3.32.3               h93121df_0    conda-forge
tblib                     1.6.0                    pypi_0    pypi
terminado                 0.8.3                    pypi_0    pypi
testpath                  0.4.4                    pypi_0    pypi
tifffile                  2020.7.4                 pypi_0    pypi
tk                        8.6.10               hbbe82c9_0    conda-forge
toml                      0.10.1                   pypi_0    pypi
toolz                     0.10.0                   pypi_0    pypi
tornado                   6.0.4                    pypi_0    pypi
traitlets                 4.3.3                    pypi_0    pypi
typed-ast                 1.4.1                    pypi_0    pypi
typing-extensions         3.7.4.2                  pypi_0    pypi
typing-inspect            0.6.0                    pypi_0    pypi
urllib3                   1.25.9                   pypi_0    pypi
virtualenv                20.0.25                  pypi_0    pypi
vispy                     0.6.4                    pypi_0    pypi
wcwidth                   0.2.5                    pypi_0    pypi
webencodings              0.5.1                    pypi_0    pypi
wheel                     0.34.2                     py_1    conda-forge
widgetsnbextension        3.5.1                    pypi_0    pypi
wrapt                     1.12.1                   pypi_0    pypi
xarray                    0.15.1                   pypi_0    pypi
xz                        5.2.5                h0b31af3_0    conda-forge
yarl                      1.4.2                    pypi_0    pypi
zarr                      2.4.0                    pypi_0    pypi
zict                      2.0.0                    pypi_0    pypi
zlib                      1.2.11            h0b31af3_1006    conda-forge

This will be superseded by #2005

repo: napari/napari


text:
Fix progress update signature

Description

napari.utils.progress subclasses tqdm, but the signature of update(n) did not match the tqdm's update(n=1).
This prevented for example using Napari's progress together with TqdmCallback for getting progress indication for dask computations.
Type of change

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

References

closes https://github.com/napari/napari/issues/4332
How has this been tested?

[x] additional test case for calling update without arguments
[x] all tests pass with my change

Final checklist:

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

I have included an extra test case for the example code in the linked issue because the example's dependencies are all provided by Napari. Since the changed functionality is already fully covered by test_progress_update, we can also drop the commit of test_progress_with_dask if it is a too specialized case.

Unfortunately, I couldn't figure out how to get the dask progress completely the way I wanted (with thread_worker). In its current state, TqdmCallback seems not to be the optimal solution. I get progress for the dask computation without threading, but it is not very responsive.
So maybe the test test_progress_with_dask is not relevant. Shall I remove it from the PR?
Nevertheless, this PR still makes the update function signature match the one of tqdm.

Oh, I see, that is due to that test_progress_with_dask. When I installed my napari environment it wasn't limited to the min requirements. It seems tqdm.dask was introduced in tqdm=>4.59.0 and is missing from 4.56.0.


text:
feat: Dask multiple partitions

What type of PR is this? (check all applicable)

[ ] 💾 Refactor
[x] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[ ] 🐳 Other

Related issues

Closes #872

Checklist

[x] Code follows style guide (ruff)
[x] Tests added
[x] Documented the changes

If you have comments or can explain your changes, please do so below.

CI Failure is due to a polars==0.20.31 deprecation warning

repo: narwhals-dev/narwhals


text:
Update submodule paths

Problem
The following commands fail to update the Git submodules:
git submodule init
git submodule update

After cloning the project with git clone https://github.com/nasa-jpl/open-source-rover.git we should have the directories that contain the submodules (software/android-app, and software/rover-code), but none of the files within.
Then git submodule init should initialize the local configuration file, and git submodule update should fetch the data from nasa-jpl/osr-android-app and nasa-jpl/osr-rover-code.
More information on Git submodules.
Solution

Update paths in .gitmodules.
Commit the submodules.

If the hardware and software repos are tightly coupled then Git submodules are a great way to go. However, at this stage of development this appears not to be the case.
As the submodule configuration is currently incorrect I think it would be safe to assume that the majority of people are not using submodules and prefer to work without them. If that is the case, I can:

Update #272 to remove both the nasa-jpl/osr-rover-code and nasa-jpl/osr-android-app Git submodules.
For those who are using Git submodules I will provide instructions on how to remove them from their local repo (as a comment on this issue).

Sounds like a plan! Thanks

I have closed #272 and opened #277 .
If installed follow this process to remove local Git submodules:

Merge in nasa-jpl:master to which removes the .gitmodules file.
Delete the following sections from .git/config:

[submodule "Software/android_app"]
        url = https://github.com/nasa-jpl/osr-android-app
        active = true
[submodule "Software/rover-code"]
        url = https://github.com/nasa-jpl/osr-rover-code
        active = true

Run git rm --cached Software/android_app and git rm --cached Software/rover-code.
Delete the now untracked submodule files with rm -r Software/android_app and rm -r Software/rover-code.

authors: Achllle sethfischer

repo: nasa-jpl/open-source-rover


text:
split unit-test files

Is your feature request related to a problem? Please describe.
Using the Eclipse IDE, the large size of the unit test source files triggers the "Scalability mode".
Describe the solution you'd like
There's little reason the source files need to be monolithic, splitting the unit test code (further) into separate files organized by API function or groups of related functions will improve organization, readability and performance.
Describe alternatives you've considered
Leaving the files as-is.
Requester Info
Christopher.D.Knight@nasa.gov

My recommendation is to follow the pattern in OSAL and make a 1:1 relationship between UT files and FSW source units.  Each UT unit should strictly cover the functions in the corresponding FSW unit, nothing else.
This actually makes linking a lot easier....

Hello @CDKnightNASA @jphickey
I'm new to NASA's OpenSource projects, but I'm very interested in the software that runs on satellites, rovers, and other NASA objects in space. Which is why I would like to contribute my part to this repo. I found this issue under "good first issue" and wanted to ask if it is still up to date?
If so, could you please help me get started by telling me exactly what unit tests you are talking about here?
I understood that you would like to split the UTs from "fs/ut-coverage/fs_UT" into different files to match those in "fs/fsw/src/**".
Translated with www.DeepL.com/Translator (free version)

authors: CDKnightNASA jphickey pavll

repo: nasa/cFE


text:
Fix: Overflow behaviour mobile menu open

Body is scrollable when the menu is open - has to be fixed in another release

Solved by @moelp in f5420ecb67a364a5b6512c1dcd5f6e7e77ed653d.

authors: moelp naschidaniel

repo: naschidaniel/fly-tirol


text:
Gk blog exercises

Added three blog exercises.

@gregkorte Is this PR ready for review?

@stevebrownlee Yes, this one is ready for review.

@stevebrownlee Thanks for the review. Changes have been made.

👍

👍

authors: brendalong gregkorte stevebrownlee


text:
Add exprHole and typeHole

This PR fails as exprHole "?help" doesn't count as a valid Name Ident, and using exprHole "help" doesn't print the value with the question mark. Not sure what the best way forward is.

You will likely need to take the same approach I took for symbols.
https://github.com/natefaubion/purescript-tidy-codegen/blob/140c16ec2a30b674603f4d21923b1166ae32e3af/src/Tidy/Codegen/Types.purs#L12-L16
That is, specify an additional newtype, and hook into the conversion rules in Class.purs. The need for additional newtypes is arguably a bug in the CST.

This is also blocked by https://github.com/purescript/spago/issues/855

authors: JordanMartinez natefaubion

repo: natefaubion/purescript-tidy-codegen


text:
Game crush after sometime

http://scratch.mit.edu/projects/228257189
http://phosphorus.github.io/#228257189
Error: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source height is 0.
    at Sprite.touching (https://phosphorus.github.io/phosphorus.js:1643:37)
    at eval (eval at scopedEval (https://phosphorus.github.io/phosphorus.js:4014:14), <anonymous>:2:7)
    at Stage.P.runtime.P.Stage.step (https://phosphorus.github.io/phosphorus.js:3938:15)

did you fix it? i have the same problem

I fix it in my fork https://github.com/scratch2js/scratch2js.github.io

@listopad could you explain me a little bit more, im not an inglish native speaker and not a programer so.....

authors: listopad pinzocl

repo: nathan/phosphorus


text:
add to github page.

I want to add a scratch project to my github page, without the "Scratch Stuff" on it. Your phosphorus works perfectly! Except for one problem, github doesn't let me use iframes! Any suggestions?

This isn't an issue.

Well try <iframe href="<insert link here>"></iframe>

Probably because GitHub pages now forces https and phosphorus explicitly avoids https because it used to cause problems. I'll look into this and see if I can allow it.

phosphorus is now https-only, so if that was the problem it should be fixed now. Let me know if you're still having issues embedding phosphorus

authors: CosmicWebServices GreenBayRules Heath123 nathan


text:
For discussion: $.data() vs $.attr() when querying link_to_add_association data attributes

Curious if you have a reason for using data() when referring to the association insertion options, rather than attr(). https://github.com/nathanvda/cocoon/blob/65eaf1b8028c1236741c15004144a59d77267351/app/assets/javascripts/cocoon.js#L43-L48
I ask because I ran into a little issue that wasn't immediately obvious to debug. I change where cocoon inserts data based on where the user is clicking by modifying the add fields button's data-association-insertion-node attribute.
$(document).on('click', '.insert-field', function() {
  $(this).attr('data-insertion-target', true);
  $cocoonButton.attr('data-association-insertion-node', '[data-insertion-target]');
  $cocoonButton.trigger('click');
  $(this).removeAttr('data-insertion-target');
  $cocoonButton.removeAttr('data-association-insertion-node');
});

However, the next time I click on the actual cocoon button it can't find the insertion node because $addFieldsButton.data('association-insertion-node') still exists as data, even though the attribute no longer exists.
If I remove the attribute and the internal data, it works as expected:
$cocoonButton.removeAttr('data-association-insertion-node')
             .removeData('association-insertion-node');

So... my question is why use data() if these options are dependent on data-attributes specified in the DOM? It may be more appropriate to use $this.attr('association-insertion-node') when assigning the association options.
In any case, thanks for the plugin!

Two remarks:

data attributes clearly indicate they contain "extra" data and it is a kind of convention to allow storing/adding extra data, imho?
the jquery $().data is indeed a pain, it has bitten a few times before as it assumes the data-* fields to be read-only. This is probably for efficiency reasons?

So it is probably a valid argument to use .attr instead of .data (a little more work to write it, but would make the code a little more robust as well).
I understand you also already had a workaround. But if you are still interested in creating a PR, I am more than willing to merge it.

I agree it makes sense to use .attr instead of .data if no additional data is being stored, but I worry about changing the way the plugin handles this as it could have breaking consequences if someone did use the "extra" data in some way. For example, if the problem had been the other way around (using .attr instead of .data) and it was changed, my code would have stopped working.
Perhaps we can close this comment and the paper trail is enough in case anyone else stumbles on this issue.

That sounds like a good idea 😉 :+1:

authors: dylanfisher nathanvda

repo: nathanvda/cocoon


text:
History.md maintenance

I'm upgrading gems and it is bummer to see that History.md stopped being updated 10 versions ago :-/

... and 7 years ago. Agreed: a bummer, but it was mostly a copy of the commit-log anyway. But probably confusing indeed.

Gotcha, change logs that are just commit titles are indeed not as helpful as ones that give context and descriptions to each version.
Thanks for maintaining this gem, it is very helpful for us 😊

authors: brandoncc nathanvda


text:
speed up countries

Rather than parsing a large json file for counties, I made the counties a dart code list.  It now is faster to draw the flag.

Hi @sgehrman thanks for your contribution, it was something I was looking into, I considered using Stream or even hard coding it. Then, to improve the load up speed of the country map, I was looking into using fonts.

Thanks for the merge! I fixed a few other things.  I'll make another PR soon!

authors: natintosh sgehrman

repo: natintosh/intl-phone-number-input


text:
Update tdr-aws-utils to 0.1.46

Updates uk.gov.nationalarchives:tdr-aws-utils from 0.1.41 to 0.1.46.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives", artifactId = "tdr-aws-utils" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "uk.gov.nationalarchives", artifactId = "tdr-aws-utils" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #452.

repo: nationalarchives/tdr-consignment-export